@clickview/library-editor 1.1.20 → 1.1.21-rc.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 (425) 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 +4 -0
  26. package/dist/css/33.chunk.css.map +1 -0
  27. package/dist/css/34.chunk.css +21 -0
  28. package/dist/css/34.chunk.css.map +1 -0
  29. package/dist/css/35.chunk.css +20 -0
  30. package/dist/css/35.chunk.css.map +1 -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 +2 -0
  43. package/dist/css/48.chunk.css.map +1 -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 +2 -0
  47. package/dist/css/51.chunk.css.map +1 -0
  48. package/dist/css/52.chunk.css +66 -0
  49. package/dist/css/52.chunk.css.map +1 -0
  50. package/dist/css/55.chunk.css.map +1 -0
  51. package/dist/css/56.chunk.css.map +1 -0
  52. package/dist/css/58.chunk.css.map +1 -0
  53. package/dist/css/59.chunk.css +2 -0
  54. package/dist/css/59.chunk.css.map +1 -0
  55. package/dist/css/6.chunk.css.map +1 -0
  56. package/dist/css/60.chunk.css.map +1 -0
  57. package/dist/css/62.chunk.css +2 -0
  58. package/dist/css/62.chunk.css.map +1 -0
  59. package/dist/css/63.chunk.css +170 -0
  60. package/dist/css/63.chunk.css.map +1 -0
  61. package/dist/css/67.chunk.css +78 -0
  62. package/dist/css/67.chunk.css.map +1 -0
  63. package/dist/css/68.chunk.css +17 -0
  64. package/dist/css/68.chunk.css.map +1 -0
  65. package/dist/css/69.chunk.css +17 -0
  66. package/dist/css/69.chunk.css.map +1 -0
  67. package/dist/css/7.chunk.css.map +1 -0
  68. package/dist/css/70.chunk.css +23 -0
  69. package/dist/css/70.chunk.css.map +1 -0
  70. package/dist/css/71.chunk.css +40 -0
  71. package/dist/css/71.chunk.css.map +1 -0
  72. package/dist/css/72.chunk.css +16 -0
  73. package/dist/css/72.chunk.css.map +1 -0
  74. package/dist/css/73.chunk.css +37 -0
  75. package/dist/css/73.chunk.css.map +1 -0
  76. package/dist/css/74.chunk.css +29 -0
  77. package/dist/css/74.chunk.css.map +1 -0
  78. package/dist/css/75.chunk.css +6 -0
  79. package/dist/css/75.chunk.css.map +1 -0
  80. package/dist/css/76.chunk.css +6 -0
  81. package/dist/css/76.chunk.css.map +1 -0
  82. package/dist/css/8.chunk.css.map +1 -0
  83. package/dist/css/library-editor-app.css.map +1 -0
  84. package/dist/en.json +1 -1
  85. package/dist/projects/library-editor/src/polyfills.d.ts +2 -0
  86. package/dist/scripts/0-ca679202dc.chunk.js +1 -0
  87. package/dist/scripts/0.chunk.js +1034 -0
  88. package/dist/scripts/0.chunk.js.map +1 -0
  89. package/dist/scripts/1-e99f6a4b40.chunk.js +1 -0
  90. package/dist/scripts/1.chunk.js +442 -0
  91. package/dist/scripts/1.chunk.js.map +1 -0
  92. package/dist/scripts/10-db266215e5.chunk.js +1 -0
  93. package/dist/scripts/10.chunk.js +820 -0
  94. package/dist/scripts/10.chunk.js.map +1 -0
  95. package/dist/scripts/11-51ab13cf04.chunk.js +11 -0
  96. package/dist/scripts/11.chunk.js +4091 -0
  97. package/dist/scripts/11.chunk.js.map +1 -0
  98. package/dist/scripts/12-a8ad430f3a.chunk.js +1 -0
  99. package/dist/scripts/12.chunk.js +555 -0
  100. package/dist/scripts/12.chunk.js.map +1 -0
  101. package/dist/scripts/13-107ba2526f.chunk.js +1 -0
  102. package/dist/scripts/13.chunk.js +373 -0
  103. package/dist/scripts/13.chunk.js.map +1 -0
  104. package/dist/scripts/14-4ba74c2937.chunk.js +1 -0
  105. package/dist/scripts/14-d19ac2872e.chunk.js +1 -0
  106. package/dist/scripts/14.chunk.js +2386 -0
  107. package/dist/scripts/14.chunk.js.map +1 -0
  108. package/dist/scripts/15-979015a718.chunk.js +1 -0
  109. package/dist/scripts/15.chunk.js +314 -0
  110. package/dist/scripts/15.chunk.js.map +1 -0
  111. package/dist/scripts/16-2a8bfb08cb.chunk.js +1 -0
  112. package/dist/scripts/16.chunk.js +1290 -0
  113. package/dist/scripts/16.chunk.js.map +1 -0
  114. package/dist/scripts/17-b7d5d41f7e.chunk.js +1 -0
  115. package/dist/scripts/17.chunk.js +381 -0
  116. package/dist/scripts/17.chunk.js.map +1 -0
  117. package/dist/scripts/18.chunk.js +393 -0
  118. package/dist/scripts/18.chunk.js.map +1 -0
  119. package/dist/scripts/{19-affb19e639.chunk.js → 19-fdfbfb15d9.chunk.js} +1 -1
  120. package/dist/scripts/19.chunk.js +364 -0
  121. package/dist/scripts/19.chunk.js.map +1 -0
  122. package/dist/scripts/2-4e0702e404.chunk.js +1 -0
  123. package/dist/scripts/2.chunk.js +519 -0
  124. package/dist/scripts/2.chunk.js.map +1 -0
  125. package/dist/scripts/{20-5dcf516232.chunk.js → 20-2a3852f248.chunk.js} +1 -1
  126. package/dist/scripts/20-3c3507043d.chunk.js +1 -0
  127. package/dist/scripts/20.chunk.js +317 -0
  128. package/dist/scripts/20.chunk.js.map +1 -0
  129. package/dist/scripts/21-e1b652cbbd.chunk.js +1 -0
  130. package/dist/scripts/21.chunk.js +531 -0
  131. package/dist/scripts/21.chunk.js.map +1 -0
  132. package/dist/scripts/22-6ff4c8acc9.chunk.js +1 -0
  133. package/dist/scripts/{22-77a9f00273.chunk.js → 22-fe55249d75.chunk.js} +1 -1
  134. package/dist/scripts/22.chunk.js +354 -0
  135. package/dist/scripts/22.chunk.js.map +1 -0
  136. package/dist/scripts/23-84f6d42051.chunk.js +1 -0
  137. package/dist/scripts/23.chunk.js +604 -0
  138. package/dist/scripts/23.chunk.js.map +1 -0
  139. package/dist/scripts/24-71d0e5af84.chunk.js +1 -0
  140. package/dist/scripts/24-d315d1f63e.chunk.js +1 -0
  141. package/dist/scripts/24.chunk.js +318 -0
  142. package/dist/scripts/24.chunk.js.map +1 -0
  143. package/dist/scripts/25-63e55b94d1.chunk.js +1 -0
  144. package/dist/scripts/25.chunk.js +365 -0
  145. package/dist/scripts/25.chunk.js.map +1 -0
  146. package/dist/scripts/26-03148e2beb.chunk.js +1 -0
  147. package/dist/scripts/26.chunk.js +442 -0
  148. package/dist/scripts/26.chunk.js.map +1 -0
  149. package/dist/scripts/27-4c1566e168.chunk.js +1 -0
  150. package/dist/scripts/27.chunk.js +3565 -0
  151. package/dist/scripts/27.chunk.js.map +1 -0
  152. package/dist/scripts/28-8b6147f186.chunk.js +1 -0
  153. package/dist/scripts/28.chunk.js +3173 -0
  154. package/dist/scripts/28.chunk.js.map +1 -0
  155. package/dist/scripts/29-ab744bc76f.chunk.js +1 -0
  156. package/dist/scripts/29.chunk.js +3088 -0
  157. package/dist/scripts/29.chunk.js.map +1 -0
  158. package/dist/scripts/3-948dad23b7.chunk.js +1 -0
  159. package/dist/scripts/3.chunk.js +833 -0
  160. package/dist/scripts/3.chunk.js.map +1 -0
  161. package/dist/scripts/30-ca11897c8c.chunk.js +1 -0
  162. package/dist/scripts/30.chunk.js +1852 -0
  163. package/dist/scripts/30.chunk.js.map +1 -0
  164. package/dist/scripts/31-c52013832c.chunk.js +1 -0
  165. package/dist/scripts/31.chunk.js +958 -0
  166. package/dist/scripts/31.chunk.js.map +1 -0
  167. package/dist/scripts/32-800ff7a3d2.chunk.js +1 -0
  168. package/dist/scripts/32.chunk.js +1235 -0
  169. package/dist/scripts/32.chunk.js.map +1 -0
  170. package/dist/scripts/33-a78c3eebd5.chunk.js +1 -0
  171. package/dist/scripts/33.chunk.js +792 -0
  172. package/dist/scripts/33.chunk.js.map +1 -0
  173. package/dist/scripts/34-3c4c65d69b.chunk.js +1 -0
  174. package/dist/scripts/34.chunk.js +990 -0
  175. package/dist/scripts/34.chunk.js.map +1 -0
  176. package/dist/scripts/35-8f001c740f.chunk.js +1 -0
  177. package/dist/scripts/35.chunk.js +518 -0
  178. package/dist/scripts/35.chunk.js.map +1 -0
  179. package/dist/scripts/36-3aeb2db7b1.chunk.js +1 -0
  180. package/dist/scripts/36.chunk.js +335 -0
  181. package/dist/scripts/36.chunk.js.map +1 -0
  182. package/dist/scripts/37-f837b37da6.chunk.js +1 -0
  183. package/dist/scripts/37.chunk.js +236 -0
  184. package/dist/scripts/37.chunk.js.map +1 -0
  185. package/dist/scripts/38-96a70abc7e.chunk.js +1 -0
  186. package/dist/scripts/38.chunk.js +315 -0
  187. package/dist/scripts/38.chunk.js.map +1 -0
  188. package/dist/scripts/39-2c91ed5792.chunk.js +1 -0
  189. package/dist/scripts/39.chunk.js +116 -0
  190. package/dist/scripts/39.chunk.js.map +1 -0
  191. package/dist/scripts/4-47a1458dff.chunk.js +1 -0
  192. package/dist/scripts/4.chunk.js +335 -0
  193. package/dist/scripts/4.chunk.js.map +1 -0
  194. package/dist/scripts/40-f3651a4572.chunk.js +1 -0
  195. package/dist/scripts/40.chunk.js +1782 -0
  196. package/dist/scripts/40.chunk.js.map +1 -0
  197. package/dist/scripts/41-908d353ede.chunk.js +1 -0
  198. package/dist/scripts/41.chunk.js +2347 -0
  199. package/dist/scripts/41.chunk.js.map +1 -0
  200. package/dist/scripts/42-7de5d85207.chunk.js +1 -0
  201. package/dist/scripts/42.chunk.js +2116 -0
  202. package/dist/scripts/42.chunk.js.map +1 -0
  203. package/dist/scripts/43-f1361f956d.chunk.js +1 -0
  204. package/dist/scripts/43.chunk.js +2243 -0
  205. package/dist/scripts/43.chunk.js.map +1 -0
  206. package/dist/scripts/44-50769e406b.chunk.js +1 -0
  207. package/dist/scripts/44.chunk.js +1024 -0
  208. package/dist/scripts/44.chunk.js.map +1 -0
  209. package/dist/scripts/45-9a434a5bd6.chunk.js +1 -0
  210. package/dist/scripts/45.chunk.js +1065 -0
  211. package/dist/scripts/45.chunk.js.map +1 -0
  212. package/dist/scripts/46-a9ca193eb7.chunk.js +1 -0
  213. package/dist/scripts/46.chunk.js +656 -0
  214. package/dist/scripts/46.chunk.js.map +1 -0
  215. package/dist/scripts/47-a919e008e6.chunk.js +1 -0
  216. package/dist/scripts/47.chunk.js +735 -0
  217. package/dist/scripts/47.chunk.js.map +1 -0
  218. package/dist/scripts/48-8b8ad444c6.chunk.js +1 -0
  219. package/dist/scripts/48.chunk.js +994 -0
  220. package/dist/scripts/48.chunk.js.map +1 -0
  221. package/dist/scripts/49-1060332c94.chunk.js +1 -0
  222. package/dist/scripts/49.chunk.js +759 -0
  223. package/dist/scripts/49.chunk.js.map +1 -0
  224. package/dist/scripts/5-cbac37484e.chunk.js +1 -0
  225. package/dist/scripts/5.chunk.js +15 -0
  226. package/dist/scripts/5.chunk.js.map +1 -0
  227. package/dist/scripts/50-421fc85bef.chunk.js +1 -0
  228. package/dist/scripts/50.chunk.js +528 -0
  229. package/dist/scripts/50.chunk.js.map +1 -0
  230. package/dist/scripts/51-7677f7ff70.chunk.js +1 -0
  231. package/dist/scripts/51.chunk.js +932 -0
  232. package/dist/scripts/51.chunk.js.map +1 -0
  233. package/dist/scripts/52-d4c61c1996.chunk.js +1 -0
  234. package/dist/scripts/52.chunk.js +408 -0
  235. package/dist/scripts/52.chunk.js.map +1 -0
  236. package/dist/scripts/53-8ae575251b.chunk.js +1 -0
  237. package/dist/scripts/53.chunk.js +754 -0
  238. package/dist/scripts/53.chunk.js.map +1 -0
  239. package/dist/scripts/54-6068a4d6c5.chunk.js +1 -0
  240. package/dist/scripts/54.chunk.js +681 -0
  241. package/dist/scripts/54.chunk.js.map +1 -0
  242. package/dist/scripts/55-989847d37e.chunk.js +1 -0
  243. package/dist/scripts/55.chunk.js +645 -0
  244. package/dist/scripts/55.chunk.js.map +1 -0
  245. package/dist/scripts/56-1215f5b596.chunk.js +1 -0
  246. package/dist/scripts/56.chunk.js +346 -0
  247. package/dist/scripts/56.chunk.js.map +1 -0
  248. package/dist/scripts/57-862310acde.chunk.js +1 -0
  249. package/dist/scripts/57.chunk.js +422 -0
  250. package/dist/scripts/57.chunk.js.map +1 -0
  251. package/dist/scripts/58-15786678f5.chunk.js +1 -0
  252. package/dist/scripts/58.chunk.js +437 -0
  253. package/dist/scripts/58.chunk.js.map +1 -0
  254. package/dist/scripts/59-0eaa35b612.chunk.js +1 -0
  255. package/dist/scripts/59.chunk.js +342 -0
  256. package/dist/scripts/59.chunk.js.map +1 -0
  257. package/dist/scripts/6-c9648df42d.chunk.js +1 -0
  258. package/dist/scripts/6.chunk.js +484 -0
  259. package/dist/scripts/6.chunk.js.map +1 -0
  260. package/dist/scripts/60-fd82862934.chunk.js +1 -0
  261. package/dist/scripts/60.chunk.js +254 -0
  262. package/dist/scripts/60.chunk.js.map +1 -0
  263. package/dist/scripts/61-51fca2bf0e.chunk.js +1 -0
  264. package/dist/scripts/61.chunk.js +409 -0
  265. package/dist/scripts/61.chunk.js.map +1 -0
  266. package/dist/scripts/62-2a372f4810.chunk.js +1 -0
  267. package/dist/scripts/62.chunk.js +142 -0
  268. package/dist/scripts/62.chunk.js.map +1 -0
  269. package/dist/scripts/63-3efa945b24.chunk.js +1 -0
  270. package/dist/scripts/63.chunk.js +147 -0
  271. package/dist/scripts/63.chunk.js.map +1 -0
  272. package/dist/scripts/64-eafdec6ee2.chunk.js +1 -0
  273. package/dist/scripts/64.chunk.js +439 -0
  274. package/dist/scripts/64.chunk.js.map +1 -0
  275. package/dist/scripts/65-7de035024e.chunk.js +1 -0
  276. package/dist/scripts/65.chunk.js +582 -0
  277. package/dist/scripts/65.chunk.js.map +1 -0
  278. package/dist/scripts/66-b42ac9bb08.chunk.js +1 -0
  279. package/dist/scripts/66.chunk.js +442 -0
  280. package/dist/scripts/66.chunk.js.map +1 -0
  281. package/dist/scripts/67-07f4863ec4.chunk.js +1 -0
  282. package/dist/scripts/67.chunk.js +295 -0
  283. package/dist/scripts/67.chunk.js.map +1 -0
  284. package/dist/scripts/68-6c49662638.chunk.js +1 -0
  285. package/dist/scripts/68.chunk.js +165 -0
  286. package/dist/scripts/68.chunk.js.map +1 -0
  287. package/dist/scripts/69-30f7b9bd2b.chunk.js +1 -0
  288. package/dist/scripts/69.chunk.js +248 -0
  289. package/dist/scripts/69.chunk.js.map +1 -0
  290. package/dist/scripts/7-06de2dc87e.chunk.js +1 -0
  291. package/dist/scripts/7.chunk.js +309 -0
  292. package/dist/scripts/7.chunk.js.map +1 -0
  293. package/dist/scripts/70-9a7afc7f7c.chunk.js +1 -0
  294. package/dist/scripts/70.chunk.js +207 -0
  295. package/dist/scripts/70.chunk.js.map +1 -0
  296. package/dist/scripts/71-8b092d42ed.chunk.js +1 -0
  297. package/dist/scripts/71.chunk.js +237 -0
  298. package/dist/scripts/71.chunk.js.map +1 -0
  299. package/dist/scripts/72-f1b9669186.chunk.js +1 -0
  300. package/dist/scripts/72.chunk.js +331 -0
  301. package/dist/scripts/72.chunk.js.map +1 -0
  302. package/dist/scripts/73.chunk.js +404 -0
  303. package/dist/scripts/73.chunk.js.map +1 -0
  304. package/dist/scripts/74.chunk.js +301 -0
  305. package/dist/scripts/74.chunk.js.map +1 -0
  306. package/dist/scripts/75.chunk.js +231 -0
  307. package/dist/scripts/75.chunk.js.map +1 -0
  308. package/dist/scripts/76.chunk.js +157 -0
  309. package/dist/scripts/76.chunk.js.map +1 -0
  310. package/dist/scripts/77.chunk.js +307 -0
  311. package/dist/scripts/77.chunk.js.map +1 -0
  312. package/dist/scripts/78.chunk.js +249 -0
  313. package/dist/scripts/78.chunk.js.map +1 -0
  314. package/dist/scripts/79.chunk.js +282 -0
  315. package/dist/scripts/79.chunk.js.map +1 -0
  316. package/dist/scripts/8-7a1c9219fe.chunk.js +1 -0
  317. package/dist/scripts/8.chunk.js +307 -0
  318. package/dist/scripts/8.chunk.js.map +1 -0
  319. package/dist/scripts/80.chunk.js +308 -0
  320. package/dist/scripts/80.chunk.js.map +1 -0
  321. package/dist/scripts/81.chunk.js +366 -0
  322. package/dist/scripts/81.chunk.js.map +1 -0
  323. package/dist/scripts/82.chunk.js +314 -0
  324. package/dist/scripts/82.chunk.js.map +1 -0
  325. package/dist/scripts/83.chunk.js +328 -0
  326. package/dist/scripts/83.chunk.js.map +1 -0
  327. package/dist/scripts/84.chunk.js +313 -0
  328. package/dist/scripts/84.chunk.js.map +1 -0
  329. package/dist/scripts/85.chunk.js +291 -0
  330. package/dist/scripts/85.chunk.js.map +1 -0
  331. package/dist/scripts/86.chunk.js +119 -0
  332. package/dist/scripts/86.chunk.js.map +1 -0
  333. package/dist/scripts/87.chunk.js +219 -0
  334. package/dist/scripts/87.chunk.js.map +1 -0
  335. package/dist/scripts/88.chunk.js +194 -0
  336. package/dist/scripts/88.chunk.js.map +1 -0
  337. package/dist/scripts/89.chunk.js +522 -0
  338. package/dist/scripts/89.chunk.js.map +1 -0
  339. package/dist/scripts/9-5bc6861938.chunk.js +1 -0
  340. package/dist/scripts/9.chunk.js +222 -0
  341. package/dist/scripts/9.chunk.js.map +1 -0
  342. package/dist/scripts/90.chunk.js +337 -0
  343. package/dist/scripts/90.chunk.js.map +1 -0
  344. package/dist/scripts/91.chunk.js +131 -0
  345. package/dist/scripts/91.chunk.js.map +1 -0
  346. package/dist/scripts/92.chunk.js +266 -0
  347. package/dist/scripts/92.chunk.js.map +1 -0
  348. package/dist/scripts/{bundle-11b849726e.min.js → bundle-59190acd1d.min.js} +1 -1
  349. package/dist/scripts/bundle-d83d171bc0.min.js +1 -0
  350. package/dist/scripts/bundle.js +60670 -0
  351. package/dist/scripts/bundle.js.map +1 -0
  352. package/dist/scripts/bundles.json +1 -1
  353. package/dist/scripts/polyfills-cf8a15183c.min.js +1 -0
  354. package/dist/scripts/polyfills.js +14844 -0
  355. package/dist/scripts/polyfills.js.map +1 -0
  356. package/package.json +1 -1
  357. package/dist/scripts/14-1c1b7086df.chunk.js +0 -1
  358. package/dist/scripts/24-5ca282f342.chunk.js +0 -1
  359. package/dist/scripts/bundle-185116e7ce.min.js +0 -1
  360. package/dist/scripts/bundle-4e8076626a.min.js +0 -1
  361. package/dist/scripts/bundle-ce2fb238f9.min.js +0 -1
  362. /package/dist/scripts/{0-2be1201a7f.chunk.js → 0-5cfd81c5b7.chunk.js} +0 -0
  363. /package/dist/scripts/{1-d3c96b4670.chunk.js → 1-02900e91c8.chunk.js} +0 -0
  364. /package/dist/scripts/{10-2cebec08a5.chunk.js → 10-2558a4f6a6.chunk.js} +0 -0
  365. /package/dist/scripts/{12-b168953b47.chunk.js → 12-b3c8af1fb7.chunk.js} +0 -0
  366. /package/dist/scripts/{13-8e3a8d1629.chunk.js → 13-8fd33f0d33.chunk.js} +0 -0
  367. /package/dist/scripts/{15-6df8e05fe9.chunk.js → 15-3fb1369b8b.chunk.js} +0 -0
  368. /package/dist/scripts/{16-19085b3dd0.chunk.js → 16-5f7d89367f.chunk.js} +0 -0
  369. /package/dist/scripts/{17-b7c4c476aa.chunk.js → 17-63ee1b2529.chunk.js} +0 -0
  370. /package/dist/scripts/{21-782b1e8947.chunk.js → 21-748e54dbc1.chunk.js} +0 -0
  371. /package/dist/scripts/{23-c380087827.chunk.js → 23-1b0f859ba9.chunk.js} +0 -0
  372. /package/dist/scripts/{25-a595940248.chunk.js → 25-50bf24f2e7.chunk.js} +0 -0
  373. /package/dist/scripts/{26-52d8ede81f.chunk.js → 26-9209dc4006.chunk.js} +0 -0
  374. /package/dist/scripts/{27-00d6b5a4bd.chunk.js → 27-cfaaee855b.chunk.js} +0 -0
  375. /package/dist/scripts/{28-58cc01c876.chunk.js → 28-92c8346c07.chunk.js} +0 -0
  376. /package/dist/scripts/{29-552493a7ad.chunk.js → 29-d28a7e6dd4.chunk.js} +0 -0
  377. /package/dist/scripts/{3-a32cc1fdf4.chunk.js → 3-4a530a333c.chunk.js} +0 -0
  378. /package/dist/scripts/{30-3b0ed0fdaa.chunk.js → 30-fbad88a9f4.chunk.js} +0 -0
  379. /package/dist/scripts/{31-d46eb161fa.chunk.js → 31-d20a063f74.chunk.js} +0 -0
  380. /package/dist/scripts/{32-728cc1e053.chunk.js → 32-83c288277a.chunk.js} +0 -0
  381. /package/dist/scripts/{33-9f130fa663.chunk.js → 33-d18ea4d876.chunk.js} +0 -0
  382. /package/dist/scripts/{34-45ad8a1808.chunk.js → 34-091c786dce.chunk.js} +0 -0
  383. /package/dist/scripts/{35-38b73094a5.chunk.js → 35-0c6586952b.chunk.js} +0 -0
  384. /package/dist/scripts/{36-6cc9b2e1f9.chunk.js → 36-1ccd0972c3.chunk.js} +0 -0
  385. /package/dist/scripts/{37-18f74bd058.chunk.js → 37-8f42bceb45.chunk.js} +0 -0
  386. /package/dist/scripts/{38-ca9a95b14a.chunk.js → 38-d7d62322f5.chunk.js} +0 -0
  387. /package/dist/scripts/{39-21e6ce932e.chunk.js → 39-bb9b360909.chunk.js} +0 -0
  388. /package/dist/scripts/{4-7f5573ad9d.chunk.js → 4-8113cd5e5f.chunk.js} +0 -0
  389. /package/dist/scripts/{40-040a76d3cb.chunk.js → 40-3a2bc3efb5.chunk.js} +0 -0
  390. /package/dist/scripts/{41-ea0bd0118f.chunk.js → 41-ed440ed238.chunk.js} +0 -0
  391. /package/dist/scripts/{42-ede0513e1c.chunk.js → 42-ebc7055bff.chunk.js} +0 -0
  392. /package/dist/scripts/{43-512f52a709.chunk.js → 43-e51537033a.chunk.js} +0 -0
  393. /package/dist/scripts/{44-2b494ad559.chunk.js → 44-6723137d3c.chunk.js} +0 -0
  394. /package/dist/scripts/{45-74c1071058.chunk.js → 45-3facb92251.chunk.js} +0 -0
  395. /package/dist/scripts/{46-fa6537374c.chunk.js → 46-3c1d18537f.chunk.js} +0 -0
  396. /package/dist/scripts/{47-4fbd9bf958.chunk.js → 47-e0da14a863.chunk.js} +0 -0
  397. /package/dist/scripts/{48-de58133c08.chunk.js → 48-b85bc015f4.chunk.js} +0 -0
  398. /package/dist/scripts/{49-4035147a3b.chunk.js → 49-b483eef74a.chunk.js} +0 -0
  399. /package/dist/scripts/{5-08ffe0918e.chunk.js → 5-60fc8800ea.chunk.js} +0 -0
  400. /package/dist/scripts/{50-c2be46fa7e.chunk.js → 50-b6cc483c00.chunk.js} +0 -0
  401. /package/dist/scripts/{51-beb5c51318.chunk.js → 51-4f6a060651.chunk.js} +0 -0
  402. /package/dist/scripts/{52-773e36d3f9.chunk.js → 52-b230866888.chunk.js} +0 -0
  403. /package/dist/scripts/{53-a5d949340b.chunk.js → 53-75167bdab5.chunk.js} +0 -0
  404. /package/dist/scripts/{54-4083e51a52.chunk.js → 54-271ff9bc1f.chunk.js} +0 -0
  405. /package/dist/scripts/{55-622f7871d6.chunk.js → 55-28eb6e9490.chunk.js} +0 -0
  406. /package/dist/scripts/{56-b48e08b8ef.chunk.js → 56-ad15cf3a24.chunk.js} +0 -0
  407. /package/dist/scripts/{57-1feff40a08.chunk.js → 57-4ee38f6dfb.chunk.js} +0 -0
  408. /package/dist/scripts/{58-46d9ab3567.chunk.js → 58-db8bd0b196.chunk.js} +0 -0
  409. /package/dist/scripts/{59-4f532af025.chunk.js → 59-06fe04a841.chunk.js} +0 -0
  410. /package/dist/scripts/{6-0aba54255e.chunk.js → 6-034525045d.chunk.js} +0 -0
  411. /package/dist/scripts/{60-b977e9f98a.chunk.js → 60-65b9e3c4cc.chunk.js} +0 -0
  412. /package/dist/scripts/{61-a08050a033.chunk.js → 61-04a4402586.chunk.js} +0 -0
  413. /package/dist/scripts/{62-2d7c9575cd.chunk.js → 62-ecf68acb5b.chunk.js} +0 -0
  414. /package/dist/scripts/{63-1b5541b59d.chunk.js → 63-40f1a00059.chunk.js} +0 -0
  415. /package/dist/scripts/{64-5802c4c4a1.chunk.js → 64-10490dd130.chunk.js} +0 -0
  416. /package/dist/scripts/{65-a5583b77b5.chunk.js → 65-e21cf6afee.chunk.js} +0 -0
  417. /package/dist/scripts/{66-e6cbf6eff1.chunk.js → 66-48ec3bc2f0.chunk.js} +0 -0
  418. /package/dist/scripts/{67-147f6e38b8.chunk.js → 67-710816f12f.chunk.js} +0 -0
  419. /package/dist/scripts/{68-09d43f4bf6.chunk.js → 68-1492219d83.chunk.js} +0 -0
  420. /package/dist/scripts/{69-730a9f6e1b.chunk.js → 69-124ee4f3d9.chunk.js} +0 -0
  421. /package/dist/scripts/{7-3a6b348c77.chunk.js → 7-a85b66b657.chunk.js} +0 -0
  422. /package/dist/scripts/{70-99fa48a87e.chunk.js → 70-b92e3565a7.chunk.js} +0 -0
  423. /package/dist/scripts/{71-e6e4debb3b.chunk.js → 71-31882a2ab7.chunk.js} +0 -0
  424. /package/dist/scripts/{8-e6e81f44e1.chunk.js → 8-5470e85f17.chunk.js} +0 -0
  425. /package/dist/scripts/{9-350230f5b4.chunk.js → 9-3b8d8fb294.chunk.js} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/shared/components/typeahead-input/Typeahead.hbs","webpack://@clickview/library-editor/./src/shared/components/typeahead-input/typeahead.scss?3563"],"names":[],"mappings":"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","file":"scripts/25.chunk.js","sourcesContent":["import * as _ from 'underscore';\r\nimport { Radio, Validation, ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { DevError } from 'libs/common/backbone/errors/DevError';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\nimport { TypeaheadConfigHandler, TypeaheadSourceItem } from 'libs/shared/apps/search/interfaces';\r\nimport { TypeaheadHelper } from 'libs/shared/apps/search/utils/TypeaheadHelper';\r\n\r\nimport { RadioChannelHelper } from 'shared/utils';\r\n\r\nimport TypeaheadTemplate from './Typeahead.hbs';\r\nimport styles from './typeahead.scss';\r\n\r\ninterface TypeaheadCallbacks {\r\n onRender?: Function;\r\n onInput?: Function;\r\n onBlur?: Function;\r\n}\r\n\r\ninterface TypeaheadActionOptions {\r\n clearOnSelect?: boolean;\r\n}\r\n\r\ninterface SearchTypeaheadComponentOptions<TSearchType> extends Core.ComponentOptions {\r\n parentChannelName: string;\r\n inputId: string;\r\n selectEvent: string;\r\n typeaheadConfigs: TypeaheadSourceItem<TSearchType> | TypeaheadSourceItem<TSearchType>[];\r\n stickItProperty?: string;\r\n inputName?: string;\r\n placeholderText?: string;\r\n callbacks?: TypeaheadCallbacks;\r\n typeaheadOptions?: ObjectHash;\r\n actionOptions?: TypeaheadActionOptions;\r\n editable?: boolean;\r\n additionalClasses?: string;\r\n removeEvent?: string;\r\n forceShowRemoveButton?: boolean;\r\n}\r\n\r\nexport class SearchTypeaheadComponent<TSearchType> extends Core.Component {\r\n public options: SearchTypeaheadComponentOptions<TSearchType>;\r\n private parentChannel: Radio.Channel;\r\n\r\n constructor(options?: SearchTypeaheadComponentOptions<TSearchType>) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'SearchTypeaheadComponent';\r\n }\r\n\r\n public get template(): any {\r\n return TypeaheadTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return `search-container ${styles.typeaheadContainer} mb-2`;\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n input: `#${this.options.inputId}`\r\n };\r\n }\r\n\r\n public get defaults(): ObjectHash {\r\n return {\r\n inputId: 'search-typeahead',\r\n placeholderText: 'Search',\r\n stickItProperty: 'name',\r\n selectEvent: 'select:result',\r\n additionalClasses: '',\r\n editable: true\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'submit': 'onSubmit',\r\n 'click .remove': 'onClickRemove'\r\n };\r\n }\r\n\r\n public initialize(): void {\r\n if (!this.model && !this.options.parentChannelName)\r\n Core.ErrorHelper.throw(new DevError('Either pass a model or a channelName to access the typeahead selection'));\r\n\r\n if (!this.model)\r\n this.model = new Core.Model();\r\n\r\n /**\r\n * By default, set the input name to user the same name as our el id.\r\n * As soon as we need to add validation, this will need to be swapped out for the stickItProperty.\r\n * Or alternatively, we update the Validation cbs to not match on the model attribute name - Mike\r\n */\r\n if (!this.options.inputName)\r\n this.options.inputName = this.options.inputId;\r\n\r\n this.bindListeners();\r\n }\r\n\r\n protected bindListeners(): void {\r\n if (this.options.parentChannelName)\r\n this.parentChannel = Radio.channel(this.options.parentChannelName);\r\n\r\n this.listenTo(this.channelName, 'typeahead:set:input', this.setInput);\r\n this.listenTo(this.channelName, 'typeahead:clear:input', this.clearInput);\r\n }\r\n\r\n public get bindings(): ObjectHash {\r\n const inputName = `[name=${this.options.inputName}]`;\r\n return {\r\n [inputName]: {\r\n observe: this.options.stickItProperty,\r\n setOptions : { validate: true },\r\n }\r\n };\r\n }\r\n\r\n public clearInput(): void {\r\n this.getUI(`input`).typeahead('val', null);\r\n }\r\n\r\n public setInput(newVal: string): void {\r\n this.getUI(`input`).typeahead('val', newVal);\r\n }\r\n /**\r\n * TODO: Add submit on enter support\r\n */\r\n protected onTypeaheadSelect(event: any, suggestion: string | ObjectHash, source: any): void {\r\n event.preventDefault();\r\n\r\n let queryString;\r\n if (typeof suggestion === 'string')\r\n queryString = suggestion;\r\n else\r\n queryString = suggestion.title || suggestion.name || suggestion.query;\r\n\r\n this.model.set(this.options.stickItProperty, queryString);\r\n\r\n // Pass the entire suggestion object back up to the parent\r\n if (this.parentChannel && this.options.selectEvent)\r\n this.parentChannel.trigger(this.options.selectEvent, suggestion);\r\n\r\n this.onSubmit(event);\r\n this.toggleRemove();\r\n }\r\n\r\n private onSubmit(event: JQuery.Event): boolean {\r\n event.preventDefault();\r\n\r\n if (this.isDestroyed())\r\n return;\r\n\r\n const { clearOnSelect } = this.getTypeaheadActionOptions();\r\n\r\n if (!clearOnSelect)\r\n return;\r\n\r\n this.getUI(`input`).typeahead('close');\r\n\r\n /**\r\n * Clear the current query after closing the typeahead.\r\n * We need to clear out all the existing suggestions too, so wait until the\r\n * next tick to ensure that the close event had properly finished.\r\n */\r\n setTimeout(() => {\r\n this.model.clear();\r\n this.clearInput();\r\n }, 0);\r\n\r\n return false;\r\n }\r\n\r\n private onClickRemove(): void {\r\n this.model.clear();\r\n this.parentChannel.trigger(this.options.removeEvent, this.model);\r\n this.toggleRemove();\r\n }\r\n\r\n protected getSources(): TypeaheadConfigHandler<TSearchType>[] | Twitter.Typeahead.Dataset<TSearchType>[] {\r\n if (!_.isArray(this.options.typeaheadConfigs))\r\n return TypeaheadHelper.getSearchSources<TSearchType>([this.options.typeaheadConfigs]);\r\n\r\n const sources = TypeaheadHelper.getSearchSources<TSearchType>(this.options.typeaheadConfigs);\r\n\r\n return sources;\r\n }\r\n\r\n private getTypeaheadOptions(): ObjectHash {\r\n const defaults = { minLength: 1, highlight: true };\r\n\r\n if (!this.options.typeaheadOptions)\r\n return defaults;\r\n\r\n return _.extend({}, defaults, this.options.typeaheadOptions);\r\n }\r\n\r\n private getTypeaheadActionOptions(): TypeaheadActionOptions {\r\n const baseOptions: TypeaheadActionOptions = { clearOnSelect: false };\r\n\r\n if (!_.isObject(this.options.actionOptions))\r\n return baseOptions;\r\n\r\n return _.extend({}, baseOptions, this.options.actionOptions);\r\n }\r\n\r\n private bindOptionalCallbacks(): TypeaheadActionOptions {\r\n if (!_.isObject(this.options.callbacks))\r\n return;\r\n\r\n if (_.isFunction(this.options.callbacks.onRender))\r\n this.getUI(`input`).on('typeahead:render', _.bind(this.options.callbacks.onRender, this));\r\n\r\n if (_.isFunction(this.options.callbacks.onInput))\r\n this.listenTo(this.model, `change:${this.options.stickItProperty}`, this.options.callbacks.onInput);\r\n\r\n if (_.isFunction(this.options.callbacks.onBlur))\r\n this.getUI(`input`).on('blur', _.bind(this.options.callbacks.onBlur, this, this.channelName, this.options.stickItProperty));\r\n }\r\n\r\n protected initTypeahead(): void {\r\n (this.getUI(`input`) as any).typeahead(this.getTypeaheadOptions(), this.getSources());\r\n }\r\n\r\n protected initTypeaheadListeners(): void {\r\n this.getUI(`input`).on('typeahead:select', _.bind(this.onTypeaheadSelect, this));\r\n this.bindOptionalCallbacks();\r\n }\r\n\r\n private toggleRemove(): void {\r\n if (this.shouldShowRemove())\r\n this.$el.find('.remove').show();\r\n else\r\n this.$el.find('.remove').hide();\r\n }\r\n\r\n /**\r\n * Show the remove button if:\r\n * \r\n * Content is editable \r\n * We have a value\r\n * We have a remove event to trigger\r\n * \r\n * OR\r\n * \r\n * We're being force to show the remove button (Used by PPDD)\r\n */\r\n private shouldShowRemove(): boolean {\r\n if (!this.options.editable)\r\n return false;\r\n\r\n if (this.options.forceShowRemoveButton)\r\n return true;\r\n\r\n return this.options.removeEvent && !!this.model.get(this.options.stickItProperty);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n ...this.options,\r\n showRemove: this.shouldShowRemove(),\r\n svgRemove: SvgHelper.getSvg(cvSvgLibrary.Close)\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.stickit();\r\n this.initTypeahead();\r\n this.initTypeaheadListeners();\r\n Validation.bind(this);\r\n\r\n this.toggleRemove();\r\n }\r\n\r\n public onClose(): void {\r\n this.getUI('input').off();\r\n this.unstickit();\r\n Validation.unbind(this);\r\n }\r\n}\r\n","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.disabled : stack1), depth0));\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"autofocus\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n return \"disabled\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<input\\r\\n name=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.inputName : stack1), depth0))\n + \"\\\"\\r\\n type=\\\"text\\\"\\r\\n class=\\\"form-control \"\n + ((stack1 = helpers.unless.call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" \"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.additionalClasses : stack1), depth0))\n + \"\\\"\\r\\n id=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.inputId : stack1), depth0))\n + \"\\\"\\r\\n autocomplete=\\\"off\\\"\\r\\n placeholder=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.placeholderText : stack1), depth0))\n + \"\\\"\\r\\n \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.autofocus : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n \"\n + ((stack1 = helpers.unless.call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n></input>\\r\\n<span class=\\\"svg-container mb-2 \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svg : stack1), depth0))\n + \" remove\\\" style=\\\"display: none;\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.svgRemove : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\";\n},\"useData\":true});","// extracted by mini-css-extract-plugin\nmodule.exports = {\"svg\":\"cv--svg--1iL3O\",\"typeaheadContainer\":\"cv--typeaheadContainer--1SWXc\",\"disabled\":\"cv--disabled--3C2O8\"};"],"sourceRoot":""}
@@ -0,0 +1 @@
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[26],{1010:function(t,e,n){t.exports={dragItem:"_2TIZ7",svgContainer:"_3JzEU",dragText:"_1Kdwj"}},1011:function(t,e,n){var r=n(9);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return'<span class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.svgContainer:i,e))+' mr-2">'+(null!=(i=a(null!=(i=null!=e?e.options:e)?i.svg:i,e))?i:"")+'</span>\r\n<span class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.dragText:i,e))+'">'+c(a(null!=(i=null!=e?e.options:e)?i.text:i,e))+"</span>"},useData:!0})},1017:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(1),o=n(2),i=n(277);function a(t){return(a="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 c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(s,t);var e,n,o,a=l(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),a.call(this,t)}return e=s,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"center:dropdown",this.centerSelectedItem)}},{key:"getExtraClasses",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.alignment,n=void 0===e?"left":e,r=t.extraClasses,o="dropdown-menu-".concat(n);return r&&(o="".concat(o," ").concat(r)),o}},{key:"centerSelectedItem",value:function(){var t=this.$el.find(".active");if(t.length){var e=this.$el.scrollTop()+t.position().top,n=.5*this.$el.height()+.5*t.height();this.$el.scrollTop(e-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 t={channelName:this.options.channelName,analyticsHelper:this.options.analyticsHelper};return r.extend(t,this.options.childOptions)}}])&&c(e.prototype,n),o&&c(e,o),s}(o.a.ComponentCollection)},1025:function(t,e,n){"use strict";var r=n(1010),o=n.n(r),i=n(1011),a=n.n(i);function c(t){return(c="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 u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(c,t);var e,n,r,i=s(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),i.call(this,t)}return e=c,(n=[{key:"viewOptions",value:function(){return Object.assign({styles:o.a},this.options)}},{key:"name",get:function(){return"DraggableItemComponent"}},{key:"template",get:function(){return a.a}},{key:"className",get:function(){return"".concat(o.a.dragItem," p-3")}}])&&u(e.prototype,n),r&&u(e,r),c}(n(2).a.Component),d={delay:150,cursorAt:{left:-20,top:10},refreshPositions:!0};n.d(e,"c",(function(){return o.a})),n.d(e,"b",(function(){return y})),n.d(e,"a",(function(){return d}))},1031:function(t,e,n){"use strict";n.d(e,"a",(function(){return R}));var r=n(1),o=n(7),i=n(2),a=n(18),c=n(14),u=n(0),l=n(12),s=n(3),f=n(1025),p=n(179),y=n(1033),d=n.n(y);function h(t){return(h="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 b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=O(t);if(e){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var R=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(w,t);var e,n,y,h=v(w);function w(){return b(this,w),h.apply(this,arguments)}return e=w,(n=[{key:"initialize",value:function(){this.options.model||i.a.ErrorHelper.throw(new a.a("DraggableVideoBehavior must be passed a Video model")),this.listenTo(u.w.VIDEO_DRAG_DROP,"drag:style:".concat(this.options.model.id),this.styleDragStart),this.listenTo(u.w.VIDEO_DRAG_DROP,"drag:stop",this.styleDragStop)}},{key:"helper",value:function(){var t=this.getVideoModels();return new f.b({text:t.length>1?s.a.getPhrase(this.lang,"videos",{videoCount:t.length}):t[0].get("name"),svg:c.a.getSvg(c.b.Play)}).render().el}},{key:"getSelector",value:function(){return this.view.getUI(this.options.selector)}},{key:"styleDragStart",value:function(){this.getSelector().addClass(d.a.draggingVideo)}},{key:"styleDragStop",value:function(){this.getSelector().removeClass(d.a.draggingVideo)}},{key:"start",value:function(){var t=this.getVideoModels(),e=o.Radio.channel(u.w.VIDEO_DRAG_DROP);e.trigger("drag:start",t,this.options.collectionIdentifier),r.each(t,(function(t){return e.trigger("drag:style:".concat(t.id))}))}},{key:"stop",value:function(){o.Radio.channel(u.w.VIDEO_DRAG_DROP).trigger("drag:stop")}},{key:"getVideoModels",value:function(){var t=this,e=l.a.GetSelectedModels({key:this.options.collectionIdentifier.toString(),type:p.a.VIDEO_LIST,collection:this.view.model.collection});return r.any(e,(function(e){return e.id===t.view.model.id}))||(e=[this.view.model]),e.length?e:[this.view.model]}},{key:"getClassMappings",value:function(){return{"ui-draggable":f.c.draggable,"ui-draggable-disabled":f.c.disabled,"ui-draggable-handle":f.c.handle,"ui-draggable-dragging":f.c.dragging}}},{key:"onRender",value:function(){var t=this.getSelector(),e={helper:r.bind(this.helper,this),start:r.bind(this.start,this),stop:r.bind(this.stop,this)};e.classes=this.getClassMappings(),t.draggable(r.extend({},f.a,e))}},{key:"onBeforeDestroy",value:function(){var t=this.getSelector();t.draggable("instance")&&t.draggable("destroy")}},{key:"lang",get:function(){return"libraryEditor.behaviors"}}])&&g(e.prototype,n),y&&g(e,y),w}(i.a.Behavior)},1033:function(t,e,n){t.exports={draggingVideo:"_3cCHx"}},1065:function(t,e,n){"use strict";var r=n(183),o=n(1),i=n(181),a=n(0),c=n(130),u=n(274);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(l,t);var e,n,r,i=d(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=i.call(this,{collectionPrefix:"".concat(a.f.RECENT_VIDEOS,":collection"),cursor:t.cursor,sort:t.sort})).setAdditionalData(t),e}return e=l,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString,r=t.subjects;e&&(this.libraryIds=e),r&&(o.isArray(r)&&r.length&&(this.subjects=r),o.isArray(r)||(this.subjects=[r]));var i=o.findWhere(u.g,{queryString:n})||u.e;this.dateOption=new c.b(i)}},{key:"toString",value:function(){var t=this.subjects&&this.subjects.length&&this.subjects.map((function(t){return escape(t.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat(s(t),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),this.subjects&&(t.subjectIds=o.flatten(this.subjects.map((function(t){return t.get("subjectIds")})))),this.cursor&&(t.cursor=this.cursor),t}}])&&p(e.prototype,n),r&&p(e,r),l}(i.a);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 v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function O(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_(t);if(e){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(l,t);var e,n,r,i=O(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=i.call(this,{collectionPrefix:"".concat(a.f.RECENT_SUBJECTS,":collection"),sort:t.sort})).setAdditionalData(t),e}return e=l,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString;e&&(this.libraryIds=e);var r=o.findWhere(u.g,{queryString:n})||u.e;this.dateOption=new c.b(r)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),t}}])&&v(e.prototype,n),r&&v(e,r),l}(i.a);function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function P(t,e){return(P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function D(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C(t);if(e){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return j(this,n)}}function j(t,e){return!e||"object"!==S(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var I=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P(t,e)}(n,t);var e=D(n);function n(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return E(this,n),e.call(this,{collectionPrefix:a.f.LIBRARY_FOLDERS,id:t,sort:r,cursor:o})}return n}(i.a);n.d(e,"d",(function(){return r.a})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return k})),n.d(e,"a",(function(){return I}))},1067:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(1),o=n(7),i=n(2),a=n(138);function c(t){return(c="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 u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(p,t);var e,n,i,c=f(p);function p(){return u(this,p),c.apply(this,arguments)}return e=p,(n=[{key:"getDroppableElement",value:function(){return this.options.ui?this.view.getUI(this.options.ui):this.$el}},{key:"drop",value:function(){var t=this;r.each(this.options.channelNames,(function(e){o.Radio.channel(e).trigger("drag:drop",t.view.model,t.options.analyticsOptions)}))}},{key:"accept",value:function(){var t=this,e=!1;return r.each(this.options.channelNames,(function(n){!0===o.Radio.channel(n).request("accept",t.view.model)&&(e=!0)})),e}},{key:"over",value:function(){var t=this;this.isHoveringOver=!0,window.setTimeout((function(){t.isHoveringOver&&t.view.trigger("open:sub:folders",a.active)}),500)}},{key:"out",value:function(){this.isHoveringOver=!1}},{key:"onRender",value:function(){var t={tolerance:"pointer",drop:r.bind(this.drop,this),accept:r.bind(this.accept,this),over:r.bind(this.over,this),out:r.bind(this.out,this)};t.classes={"ui-droppable":a.droppable,"ui-droppable-active":a.active,"ui-droppable-hover":a.hover},this.getDroppableElement().droppable(t)}},{key:"onBeforeDestroy",value:function(){this.getDroppableElement().droppable("instance")&&this.getDroppableElement().droppable("destroy")}}])&&l(e.prototype,n),i&&l(e,i),p}(i.a.Behavior)},1070:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(1),o=n(7),i=n(2),a=n(14),c=n(0),u=n(1025),l=n(1076),s=n.n(l);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(f,t);var e,n,i,l=h(f);function f(){return p(this,f),l.apply(this,arguments)}return e=f,(n=[{key:"getClassMappings",value:function(){return{"ui-draggable":u.c.draggable,"ui-draggable-handle":u.c.handle,"ui-draggable-disabled":u.c.disabled,"ui-draggable-dragging":u.c.dragging}}},{key:"helper",value:function(){return new u.b({text:this.view.model.get("name"),svg:a.a.getSvg(a.b.Folder)}).render().el}},{key:"start",value:function(){o.Radio.channel(c.w.FOLDER_DRAG_DROP).trigger("drag:start",this.view.model),this.view.$el.addClass(s.a.draggingFolder)}},{key:"stop",value:function(){o.Radio.channel(c.w.FOLDER_DRAG_DROP).trigger("drag:stop"),this.view.$el.removeClass(s.a.draggingFolder)}},{key:"onRender",value:function(){var t={helper:r.bind(this.helper,this),start:r.bind(this.start,this),stop:r.bind(this.stop,this)};t.classes=this.getClassMappings(),this.view.$el.draggable(r.extend({},u.a,t))}},{key:"onBeforeDestroy",value:function(){this.view.$el.draggable("instance")&&this.view.$el.draggable("destroy")}}])&&y(e.prototype,n),i&&y(e,i),f}(i.a.Behavior)},1074:function(t,e,n){"use strict";var r=n(2),o=n(14),i=n(78),a=n(4),c=n(40),u=n(1017),l=n(0),s=n(3),f=n(1077),p=n.n(f);function y(t){return(y="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 d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=m(t);if(e){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(f,t);var e,n,o,i=b(f);function f(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),i.call(this,t)}return e=f,(n=[{key:"regions",value:function(){return{items:{el:".items-region",replaceElement:!0}}}},{key:"getFolderActions",value:function(){return[{title:s.a.getPhrase(this.lang,"addSubfolder"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Create,entity:a.e.Folder,workflowPhase:a.r.Start}),appLink:{application:l.b.LIBRARY_EDITOR,action:l.a.LibraryEditor.NEW_SUB_FOLDER,args:[this.model.get("id")]}},{title:s.a.getPhrase(this.lang,"rename"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Rename,entity:a.e.Folder,workflowPhase:a.r.Start}),appLink:{application:l.b.LIBRARY_EDITOR,action:l.a.LibraryEditor.RENAME_FOLDER,args:[this.model.get("id")]}},{title:s.a.getPhrase(this.lang,"move"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Move,entity:a.e.Folder,workflowPhase:a.r.Start}),appLink:{application:l.b.LIBRARY_EDITOR,action:l.a.LibraryEditor.MOVE_FOLDER,args:[this.model.get("id")]}},{title:s.a.getPhrase(this.lang,"editImages"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.EditAssoc,entity:a.e.Folder,workflowPhase:a.r.Start,descriptor:a.a.Image}),appLink:{application:l.b.LIBRARY_EDITOR,action:l.a.LibraryEditor.EDIT_FOLDER_IMAGES,args:[this.model.get("id")]}},{title:s.a.getPhrase(this.lang,"generatePdf"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Create,entity:a.e.PDF,workflowPhase:a.r.Start}),appLink:{application:l.b.LIBRARY_EDITOR,action:l.a.LibraryEditor.GENERATE_PDF,args:[this.model.get("id")]}},{title:s.a.getPhrase(this.lang,"remove"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Delete,entity:a.e.Folder,workflowPhase:a.r.Start}),classes:"text-danger",appLink:{application:l.b.LIBRARY_EDITOR,action:l.a.LibraryEditor.DELETE_FOLDER,args:[this.model.get("id")]}}]}},{key:"onRender",value:function(){this.showChildView("items",new u.a({analyticsHelper:c.a,displayOptions:{alignment:"right"},channelName:this.channelName,collection:new r.a.Collection(this.getFolderActions()),childOptions:{isDisabled:function(){return this.model.get("disabled")}}}))}},{key:"name",get:function(){return"FolderActionsDropdownComponent"}},{key:"template",get:function(){return p.a}},{key:"lang",get:function(){return"libraryEditor.folderActionsDropdown"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}])&&d(e.prototype,n),o&&d(e,o),f}(r.a.Component),w=n(1078),O=n.n(w),R=n(1079),_=n.n(R);function k(t){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=j(t);if(e){var o=j(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D(this,n)}}function D(t,e){return!e||"object"!==k(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function j(t){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return C}));var C=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(c,t);var e,n,r,a=P(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,t)}return e=c,(n=[{key:"events",value:function(){return{"click @ui.dropdownToggle":"onClickDropdownToggle","click @ui.dropdownItem":"onClickDropdownItem"}}},{key:"regions",value:function(){return{items:{replaceElement:!0,el:".items-region"}}}},{key:"onClickDropdownToggle",value:function(){this.model instanceof i.a&&this.showChildView("items",new v({model:this.model,analyticsOptions:this.options.analyticsOptions}))}},{key:"onClickDropdownItem",value:function(t){t.stopPropagation(),t.preventDefault(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"viewOptions",value:function(){return{hasActions:this.model instanceof i.a,dropdownClass:"".concat(_.a.dropdownButton," ").concat(this.options.buttonClass),svg:o.a.getSvg(o.b.More)}}},{key:"name",get:function(){return"VideoCollectionActionsComponent"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){if(this.model instanceof i.a)return"position-absolute ".concat(_.a.dropdownContainer," ").concat(this.options.extraClasses," ")}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",dropdownItem:".dropdown-item"}}},{key:"template",get:function(){return O.a}}])&&S(e.prototype,n),r&&S(e,r),c}(r.a.Component)},1076:function(t,e,n){t.exports={dragging:"_2wBn3",draggingFolder:"_1r3AS"}},1077:function(t,e,n){var r=n(9);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){return'<div class="items-region"></div>'},useData:!0})},1078:function(t,e,n){var r=n(9);t.exports=(r.default||r).template({1:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda;return'<span data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="'+t.escapeExpression(a(null!=(i=null!=e?e.options:e)?i.dropdownClass:i,e))+' d-inline-block ui-dropdown-toggle">\r\n '+(null!=(i=a(null!=(i=null!=e?e.options:e)?i.svg:i,e))?i:"")+'\r\n</span>\r\n<div class="items-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.hasActions:i,{name:"if",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:""},useData:!0})},1079:function(t,e,n){t.exports={dropdownContainer:"_2F3Cz",dropdownButton:"_2TdId"}},1099:function(t,e,n){"use strict";n.d(e,"a",(function(){return w}));var r=n(2),o=n(14),i=n(4),a=n(40),c=n(1017),u=n(0),l=n(3),s=n(1100),f=n.n(s),p=n(1101),y=n.n(p);function d(t){return(d="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 h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(d,t);var e,n,s,p=g(d);function d(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),p.call(this,t)}return e=d,(n=[{key:"events",value:function(){return{"click @ui.dropdownToggle":"onClickDropdownToggle","click @ui.dropdownItem":"onClickDropdownItem"}}},{key:"regions",value:function(){return{dropdownItems:{replaceElement:!0,el:".items-region"}}}},{key:"onClickDropdownToggle",value:function(){this.showChildView("dropdownItems",new c.a({analyticsHelper:a.a,displayOptions:{alignment:"right"},channelName:this.channelName,collection:new r.a.Collection([{title:l.a.getPhrase(this.lang,"addFolder"),analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:i.q.Create,entity:i.e.Folder,workflowPhase:i.r.Start}),appLink:{application:u.b.LIBRARY_EDITOR,action:u.a.Shared.NEW_FOLDER,args:[this.model.get("id")]}},{title:l.a.getPhrase(this.lang,"rename"),analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:i.q.Rename,entity:i.e.Library,workflowPhase:i.r.Start}),appLink:{application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.RENAME_LIBRARY,args:[this.model.get("id")]}},{title:l.a.getPhrase(this.lang,"remove"),analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:i.q.Delete,entity:i.e.Library,workflowPhase:i.r.Start}),appLink:{application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.DELETE_LIBRARY,args:[this.model.get("id")]},classes:"text-danger"}])}))}},{key:"onClickDropdownItem",value:function(t){t.stopPropagation(),t.preventDefault(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"viewOptions",value:function(){return{dropdownClass:"".concat(y.a.dropdownButton," ").concat(this.options.buttonClass),svg:o.a.getSvg(o.b.More)}}},{key:"name",get:function(){return"LibraryActionsComponent"}},{key:"template",get:function(){return f.a}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"lang",get:function(){return"libraryEditor.libraryActions"}},{key:"className",get:function(){return"position-absolute ".concat(y.a.dropdownContainer," ").concat(this.options.extraClasses," ")}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",dropdownItem:".dropdown-item"}}}])&&h(e.prototype,n),s&&h(e,s),d}(r.a.Component)},1100:function(t,e,n){var r=n(9);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda;return'<span data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="'+t.escapeExpression(a(null!=(i=null!=e?e.options:e)?i.dropdownClass:i,e))+' d-inline-block ui-dropdown-toggle">\r\n '+(null!=(i=a(null!=(i=null!=e?e.options:e)?i.svg:i,e))?i:"")+'\r\n</span>\r\n<div class="items-region"></div>'},useData:!0})},1101:function(t,e,n){t.exports={dropdownContainer:"_293SV",dropdownButton:"_23YxG"}},1178:function(t,e,n){var r=n(9);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a,c=t.lambda,u=t.escapeExpression;return'<a\r\n class="d-block cursor-pointer no-decoration '+u(c(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.folder:i,e))+'"\r\n style="background-image: url(\''+u(c(null!=(i=null!=e?e.options:e)?i.imageUrl:i,e))+'\')"\r\n>\r\n <h3 class="position-absolute text-white text-center m-0">'+u("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:t.hooks.helperMissing)?a.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:o}):a)+'</h3>\r\n</a>\r\n<div class="actions-region"></div>'},useData:!0})},1179:function(t,e,n){t.exports={folder:"_1MHyt",actions:"_3-hwy"}},1180:function(t,e,n){var r=n(9);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return'<h1 class="h3">'+t.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=e?e.name:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:o}):i)+'</h1>\r\n<div class="folders-region"></div>\r\n<div class="actions-region"></div>'},useData:!0})},1181:function(t,e,n){t.exports={actions:"_3vCmp"}},1439:function(t,e,n){"use strict";n.r(e);var r=n(1),o=n(2),i=n(5),a=n(3),c=n(4),u=n(14),l=n(275),s=n(35),f=n(180),p=n(0),y=n(6),d=n(1065),h=n(1178),b=n.n(h),g=n(1179),m=n.n(g),v=n(12),w=n(1070),O=(n(1031),n(1067)),R=n(1074);function _(t){return(_="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,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function E(t,e,n){return e&&S(t.prototype,e),n&&S(t,n),t}function P(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e)}function D(t,e){return(D=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function j(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=I(t);if(e){var o=I(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return C(this,n)}}function C(t,e){return!e||"object"!==_(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function I(t){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var T=function(t){P(n,t);var e=j(n);function n(t){return k(this,n),e.call(this,t)}return E(n,[{key:"initialize",value:function(){this.listenTo(this.model,"change:name",this.render)}},{key:"regions",value:function(){return{actions:{el:".actions-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){var t=v.g.createFolderThumbnailUrl(this.model.thumbnail,{fallbackBaseUrl:this.options.imageCdnUrl,fallbackCategoryName:this.model.get("name"),type:y.f.Thumbnails});return{styles:m.a,imageUrl:t}}},{key:"onRender",value:function(){this.showChildView("actions",new R.a({model:this.model,extraClasses:"".concat(m.a.actions," rounded-circle"),buttonClass:"text-light",analyticsOptions:{location:c.k.LibraryTiles}}))}},{key:"name",get:function(){return"LibraryFolderItemComponent"}},{key:"template",get:function(){return b.a}},{key:"className",get:function(){return"col-3 p-2"}},{key:"appLinks",get:function(){return{a:{application:p.b.LIBRARY_EDITOR,action:p.a.LibraryEditor.FOLDER,args:[this.model.get("id")]}}}},{key:"behaviors",get:function(){return[{behaviorClass:O.a,channelNames:[p.w.VIDEO_DRAG_DROP,p.w.FOLDER_DRAG_DROP],analyticsOptions:{location:c.k.LibraryTiles}},{behaviorClass:w.a}]}}]),n}(o.a.Component),x=function(t){P(n,t);var e=j(n);function n(t){return k(this,n),e.call(this,t)}return E(n,[{key:"name",get:function(){return"LibraryFolderListComponent"}},{key:"className",get:function(){return"row"}},{key:"childView",get:function(){return T}},{key:"childViewOptions",get:function(){return this.options.childOptions}}]),n}(o.a.ComponentCollection),L=n(1099),A=n(1180),F=n.n(A),B=n(1181),N=n.n(B);function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function U(t,e){return(U=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=G(t);if(e){var o=G(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q(this,n)}}function q(t,e){return!e||"object"!==V(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function G(t){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"LibraryView",(function(){return H}));var H=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U(t,e)}(b,t);var e,n,o,h=Y(b);function b(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,b),h.call(this,t)}return e=b,(n=[{key:"initialize",value:function(){var t=this;this.libraryDataService=i.a.getInstance(p.g.Library,this),this.listenTo(p.e.LIBRARY,"clear:library:folder:cache",(function(){t.folders=null,t.render()}))}},{key:"regions",value:function(){return{folders:{el:".folders-region",replaceElement:!0,partialLoading:y.j.LibraryFolders},actions:{el:".actions-region",replaceElement:!0}}}},{key:"renderFolders",value:function(){this.showChildView("folders",new x({collection:this.folders,childOptions:{imageCdnUrl:this.config.get("imageCdnUrl")}}))}},{key:"renderActions",value:function(){this.showChildView("actions",new L.a({model:this.model,extraClasses:"".concat(N.a.actions," rounded-circle mr-2 mt-2"),analyticsOptions:{location:c.k.Banner}}))}},{key:"bindScrollListener",value:function(){var t=this;if(!this.scrollBound){this.scrollBound=!0;var e=$(window),n=r.debounce((function(){if(e.scrollTop()+e.height()>t.$el.offset().top+t.$el.height()&&t.currentIdentifier){var n=t.libraryDataService.getLibraryFoldersCursors(t.currentIdentifier);n&&n.next&&t.libraryDataService.getLibraryFolders(t.getNewCollectionIdentifier(n.next),(function(e){t.folders.add(e.toJSON())}))}}),333);e.scroll(n),window.setTimeout(n,100)}}},{key:"getNewCollectionIdentifier",value:function(t){return this.currentIdentifier=new d.a(this.model.categoryTree.get("id"),s.a.AtoZ,t)}},{key:"onBeforeRender",value:function(){var t=this;if(this.model)return this.folders||this.libraryDataService.getLibraryFolders(this.getNewCollectionIdentifier(),(function(e){t.folders=e,t.render()})),!!this.model&&!!this.folders;this.libraryDataService.getLibraries((function(e){t.model=e.get(t.options.libraryId),t.listenTo(t.model,"change:name",t.render),t.render()}))}},{key:"onRender",value:function(){this.renderFolders(),this.renderActions(),this.bindScrollListener()}},{key:"name",get:function(){return"LibraryView"}},{key:"title",get:function(){return!!this.model&&this.model.get("name")}},{key:"lang",get:function(){return"libraryEditor.library"}},{key:"template",get:function(){return F.a}},{key:"className",get:function(){return"bg-white px-3 pt-3 pb-2 position-relative ".concat(N.a.library)}},{key:"behaviors",get:function(){var t=this;return[{behaviorClass:l.a,region:"folders",type:y.c.Library,shouldRender:function(){return t.model&&!t.model.children.length},componentOptions:{libraryId:this.options.libraryId,moreSvg:u.a.getSvg(u.b.More),heading:a.a.getPhrase(this.lang,"emptyStateHeading"),description:a.a.getPhrase(this.lang,"emptyStateInfo",{moreSvg:'<span class="d-inline-block svg-container align-top">\n '.concat(u.a.getSvg(u.b.More),"</span>")})},emptyStateComponents:p.h}]}},{key:"requiredResources",get:function(){return{config:f.b.config}}}])&&M(e.prototype,n),o&&M(e,o),b}(o.a.View)}}]);
@@ -0,0 +1,442 @@
1
+ (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[26],{
2
+
3
+ /***/ "./src/shared/components/video-basic-info/VideoBasicInfo.hbs":
4
+ /*!*******************************************************************!*\
5
+ !*** ./src/shared/components/video-basic-info/VideoBasicInfo.hbs ***!
6
+ \*******************************************************************/
7
+ /*! no static exports found */
8
+ /***/ (function(module, exports, __webpack_require__) {
9
+
10
+ var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
11
+ module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
12
+ var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
13
+
14
+ return "<div class=\"position-relative\">\r\n <h5 class=\"d-inline-block\">"
15
+ + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,"basicInfo",{"name":"lang","hash":{},"data":data}))
16
+ + "</h5>\r\n"
17
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showPublisherVideoDetails : stack1),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
18
+ + "</div>\r\n";
19
+ },"2":function(container,depth0,helpers,partials,data) {
20
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
21
+
22
+ return " <a class=\"float-right cursor-pointer applink-publisher-video\">\r\n <span class=\"d-inline-block align-middle "
23
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.icon : stack1), depth0))
24
+ + "\">"
25
+ + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.publisherArchiveSvg : stack1), depth0)) != null ? stack1 : "")
26
+ + "</span> "
27
+ + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"viewInPublisherArchive",{"name":"lang","hash":{},"data":data}))
28
+ + "\r\n </a>\r\n";
29
+ },"4":function(container,depth0,helpers,partials,data) {
30
+ var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing;
31
+
32
+ return " <div class=\"col-3 "
33
+ + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.columnNames : stack1), depth0))
34
+ + "\">"
35
+ + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,"videoTitle",{"name":"lang","hash":{},"data":data}))
36
+ + "</div>\r\n <p class=\"col-9\">"
37
+ + alias2(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias4),(typeof helper === "function" ? helper.call(alias3,{"name":"name","hash":{},"data":data}) : helper)))
38
+ + "</p>\r\n";
39
+ },"6":function(container,depth0,helpers,partials,data) {
40
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
41
+
42
+ return " <div class=\"col-3 "
43
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.columnNames : stack1), depth0))
44
+ + "\">"
45
+ + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"series",{"name":"lang","hash":{},"data":data}))
46
+ + "</div>\r\n <div class=\"col-9 "
47
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.seriesContainer : stack1), depth0))
48
+ + "\"><div class=\"series-region\"></div></div>\r\n";
49
+ },"8":function(container,depth0,helpers,partials,data) {
50
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
51
+
52
+ return " <div class=\"col-3 "
53
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.columnNames : stack1), depth0))
54
+ + "\">"
55
+ + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"rating",{"name":"lang","hash":{},"data":data}))
56
+ + "</div>\r\n <p class=\"col-9\"><span class=\"p-1 badge text-white tool-tip "
57
+ + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.ratingClass : stack1), depth0))
58
+ + " "
59
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.rating : stack1), depth0))
60
+ + "\" title=\""
61
+ + alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.name : stack1), depth0))
62
+ + "\">"
63
+ + alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1), depth0))
64
+ + "</span></p>\r\n";
65
+ },"10":function(container,depth0,helpers,partials,data) {
66
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;
67
+
68
+ return " <div class=\"col-3 "
69
+ + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.columnNames : stack1), depth0))
70
+ + "\">"
71
+ + alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"description",{"name":"lang","hash":{},"data":data}))
72
+ + "</div>\r\n <div class=\"col-9\">\r\n <div class=\"description-region\"></div>\r\n </div>\r\n";
73
+ },"12":function(container,depth0,helpers,partials,data) {
74
+ var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing;
75
+
76
+ return " <div class=\"col-3 "
77
+ + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.columnNames : stack1), depth0))
78
+ + "\">"
79
+ + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,"productionYear",{"name":"lang","hash":{},"data":data}))
80
+ + "</div>\r\n <p class=\"col-9\">"
81
+ + alias2(((helper = (helper = helpers.productionYear || (depth0 != null ? depth0.productionYear : depth0)) != null ? helper : alias4),(typeof helper === "function" ? helper.call(alias3,{"name":"productionYear","hash":{},"data":data}) : helper)))
82
+ + "</p>\r\n";
83
+ },"14":function(container,depth0,helpers,partials,data) {
84
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
85
+
86
+ return " <div class=\"col-3 "
87
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.columnNames : stack1), depth0))
88
+ + "\">"
89
+ + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias4,"producers",{"name":"lang","hash":{},"data":data}))
90
+ + "</div>\r\n <div class=\"col-9 "
91
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.citationValues : stack1), depth0))
92
+ + "\">\r\n <p>\r\n"
93
+ + ((stack1 = helpers.each.call(alias4,(depth0 != null ? depth0.producers : depth0),{"name":"each","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
94
+ + " </p>\r\n </div>\r\n";
95
+ },"15":function(container,depth0,helpers,partials,data) {
96
+ var helper, alias1=container.propertyIsEnumerable;
97
+
98
+ return " <span>"
99
+ + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"name","hash":{},"data":data}) : helper)))
100
+ + "</span>\r\n";
101
+ },"17":function(container,depth0,helpers,partials,data) {
102
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
103
+
104
+ return " <div class=\"col-3 "
105
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.columnNames : stack1), depth0))
106
+ + "\">"
107
+ + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias4,"directors",{"name":"lang","hash":{},"data":data}))
108
+ + "</div>\r\n <div class=\"col-9 "
109
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.citationValues : stack1), depth0))
110
+ + "\">\r\n <p>\r\n"
111
+ + ((stack1 = helpers.each.call(alias4,(depth0 != null ? depth0.directors : depth0),{"name":"each","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
112
+ + " </p>\r\n </div>\r\n";
113
+ },"19":function(container,depth0,helpers,partials,data) {
114
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
115
+
116
+ return " <div class=\"col-3 "
117
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.columnNames : stack1), depth0))
118
+ + "\">"
119
+ + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias4,"productionCompanies",{"name":"lang","hash":{},"data":data}))
120
+ + "</div>\r\n <div class=\"col-9 "
121
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.citationValues : stack1), depth0))
122
+ + "\">\r\n <p>\r\n"
123
+ + ((stack1 = helpers.each.call(alias4,(depth0 != null ? depth0.productionCompanies : depth0),{"name":"each","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
124
+ + " </p>\r\n </div>\r\n";
125
+ },"21":function(container,depth0,helpers,partials,data) {
126
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
127
+
128
+ return " <div class=\"col-3 "
129
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.columnNames : stack1), depth0))
130
+ + "\">"
131
+ + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias4,"distributors",{"name":"lang","hash":{},"data":data}))
132
+ + "</div>\r\n <div class=\"col-9 "
133
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.citationValues : stack1), depth0))
134
+ + "\">\r\n <p>\r\n"
135
+ + ((stack1 = helpers.each.call(alias4,(depth0 != null ? depth0.distributors : depth0),{"name":"each","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
136
+ + " </p>\r\n </div>\r\n";
137
+ },"23":function(container,depth0,helpers,partials,data) {
138
+ var stack1, alias1=container.propertyIsEnumerable;
139
+
140
+ return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.channel : depth0),{"name":"if","hash":{},"fn":container.program(24, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
141
+ },"24":function(container,depth0,helpers,partials,data) {
142
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
143
+
144
+ return "\r\n <div class=\"col-3 "
145
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.columnNames : stack1), depth0))
146
+ + "\">"
147
+ + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"channel",{"name":"lang","hash":{},"data":data}))
148
+ + "</div>\r\n <p class=\"col-9\">"
149
+ + alias3(alias2(((stack1 = (depth0 != null ? depth0.channel : depth0)) != null ? stack1.name : stack1), depth0))
150
+ + "</p>\r\n ";
151
+ },"26":function(container,depth0,helpers,partials,data) {
152
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
153
+
154
+ return " <div class=\"col-3 "
155
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.columnNames : stack1), depth0))
156
+ + "\">"
157
+ + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"broadcastDate",{"name":"lang","hash":{},"data":data}))
158
+ + "</div>\r\n <p class=\"col-9\">"
159
+ + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.broadcastDate : stack1), depth0))
160
+ + "</p>\r\n";
161
+ },"28":function(container,depth0,helpers,partials,data) {
162
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
163
+
164
+ return " <div class=\"col-3 "
165
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.columnNames : stack1), depth0))
166
+ + "\">"
167
+ + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"subtitles",{"name":"lang","hash":{},"data":data}))
168
+ + "</div>\r\n <p class=\"col-9\">"
169
+ + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.subtitles : stack1), depth0))
170
+ + "</p>\r\n";
171
+ },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
172
+ var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
173
+
174
+ return ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.showHeading : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
175
+ + "<div class=\"row mb-0\">\r\n"
176
+ + ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.name : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
177
+ + "\r\n"
178
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.series : depth0)) != null ? stack1.name : stack1),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
179
+ + "\r\n"
180
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
181
+ + "\r\n"
182
+ + ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.description : depth0),{"name":"if","hash":{},"fn":container.program(10, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
183
+ + "\r\n"
184
+ + ((stack1 = helpers["if"].call(alias2,(depth0 != null ? depth0.productionYear : depth0),{"name":"if","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
185
+ + "\r\n"
186
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.producers : depth0)) != null ? stack1.length : stack1),{"name":"if","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
187
+ + "\r\n"
188
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.directors : depth0)) != null ? stack1.length : stack1),{"name":"if","hash":{},"fn":container.program(17, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
189
+ + "\r\n"
190
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.productionCompanies : depth0)) != null ? stack1.length : stack1),{"name":"if","hash":{},"fn":container.program(19, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
191
+ + "\r\n"
192
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.distributors : depth0)) != null ? stack1.length : stack1),{"name":"if","hash":{},"fn":container.program(21, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
193
+ + "\r\n "
194
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.channel : depth0)) != null ? stack1.name : stack1),{"name":"if","hash":{},"fn":container.program(23, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
195
+ + "\r\n\r\n"
196
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.broadcastDate : stack1),{"name":"if","hash":{},"fn":container.program(26, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
197
+ + "\r\n"
198
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.subtitles : stack1),{"name":"if","hash":{},"fn":container.program(28, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
199
+ + "</div>";
200
+ },"useData":true});
201
+
202
+ /***/ }),
203
+
204
+ /***/ "./src/shared/components/video-basic-info/VideoBasicInfoComponent.ts":
205
+ /*!***************************************************************************!*\
206
+ !*** ./src/shared/components/video-basic-info/VideoBasicInfoComponent.ts ***!
207
+ \***************************************************************************/
208
+ /*! exports provided: VideoBasicInfoComponent */
209
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
210
+
211
+ "use strict";
212
+ __webpack_require__.r(__webpack_exports__);
213
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoBasicInfoComponent", function() { return VideoBasicInfoComponent; });
214
+ /* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
215
+ /* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
216
+ /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ "moment");
217
+ /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);
218
+ /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
219
+ /* harmony import */ var _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/utils/UrlHelper */ "../../libs/common/src/backbone/utils/UrlHelper.ts");
220
+ /* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
221
+ /* harmony import */ var _libs_shared_src_legacy_behaviors_tooltip_TooltipBehavior__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../libs/shared/src/legacy/behaviors/tooltip/TooltipBehavior */ "../../libs/shared/src/legacy/behaviors/tooltip/TooltipBehavior.ts");
222
+ /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../constants */ "./src/shared/constants/index.ts");
223
+ /* harmony import */ var _enums__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../enums */ "./src/shared/enums/index.ts");
224
+ /* harmony import */ var _video_description_VideoDescriptionComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../video-description/VideoDescriptionComponent */ "./src/shared/components/video-description/VideoDescriptionComponent.ts");
225
+ /* harmony import */ var _video_item_video_item_metadata_video_item_series_VideoItemSeriesComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../video-item/video-item-metadata/video-item-series/VideoItemSeriesComponent */ "./src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeriesComponent.ts");
226
+ /* harmony import */ var _apps_library_editor_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../apps/library-editor/utils */ "./src/apps/library-editor/utils/index.ts");
227
+ /* harmony import */ var _video_basic_info_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./video-basic-info.scss */ "./src/shared/components/video-basic-info/video-basic-info.scss");
228
+ /* harmony import */ var _video_basic_info_scss__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_video_basic_info_scss__WEBPACK_IMPORTED_MODULE_11__);
229
+ /* harmony import */ var _VideoBasicInfo_hbs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./VideoBasicInfo.hbs */ "./src/shared/components/video-basic-info/VideoBasicInfo.hbs");
230
+ /* harmony import */ var _VideoBasicInfo_hbs__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_VideoBasicInfo_hbs__WEBPACK_IMPORTED_MODULE_12__);
231
+ /* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
232
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
233
+
234
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
235
+
236
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
237
+
238
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
239
+
240
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
241
+
242
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
243
+
244
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
245
+
246
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
247
+
248
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
249
+
250
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
251
+
252
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+ var VideoBasicInfoComponent = /*#__PURE__*/function (_Core$Component) {
269
+ _inherits(VideoBasicInfoComponent, _Core$Component);
270
+
271
+ var _super = _createSuper(VideoBasicInfoComponent);
272
+
273
+ function VideoBasicInfoComponent(options) {
274
+ _classCallCheck(this, VideoBasicInfoComponent);
275
+
276
+ return _super.call(this, options);
277
+ }
278
+
279
+ _createClass(VideoBasicInfoComponent, [{
280
+ key: "regions",
281
+ value: function regions() {
282
+ return {
283
+ description: {
284
+ el: '.description-region',
285
+ replaceElement: true,
286
+ partialLoading: _enums__WEBPACK_IMPORTED_MODULE_7__["PartialLoading"].VideoBasicInfo
287
+ },
288
+ series: {
289
+ el: '.series-region',
290
+ replaceElement: true
291
+ }
292
+ };
293
+ }
294
+ }, {
295
+ key: "getBroadcastDate",
296
+ value: function getBroadcastDate() {
297
+ if (!this.model.get('dateBroadcast')) return '';
298
+ return moment__WEBPACK_IMPORTED_MODULE_1__(this.model.get('dateBroadcast')).format(_enums__WEBPACK_IMPORTED_MODULE_7__["TimeType"].FULL_YEAR);
299
+ }
300
+ }, {
301
+ key: "getSeriesUrl",
302
+ value: function getSeriesUrl() {
303
+ if (!this.options.externalSeriesLink || !this.model.series) return;
304
+ return _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_3__["UrlHelper"].safeUrlConcat(this.options.config.get('onlineUrl'), "series/".concat(this.model.series.id));
305
+ }
306
+ }, {
307
+ key: "renderSeries",
308
+ value: function renderSeries() {
309
+ if (!this.model.series || !this.model.series.get('name')) return;
310
+ this.showChildView('series', new _video_item_video_item_metadata_video_item_series_VideoItemSeriesComponent__WEBPACK_IMPORTED_MODULE_9__["VideoItemSeriesComponent"]({
311
+ model: this.model,
312
+ highlight: false,
313
+ seriesUrl: this.getSeriesUrl(),
314
+ styleUppercase: false
315
+ }));
316
+ }
317
+ }, {
318
+ key: "renderDescription",
319
+ value: function renderDescription() {
320
+ if (!this.model || !this.model.get('description')) return;
321
+ var view = new _video_description_VideoDescriptionComponent__WEBPACK_IMPORTED_MODULE_8__["VideoDescriptionComponent"]({
322
+ model: this.model,
323
+ linkify: true,
324
+ size: _video_description_VideoDescriptionComponent__WEBPACK_IMPORTED_MODULE_8__["VideoDescriptionTruncationSize"].Large,
325
+ truncate: this.options.truncateDescription,
326
+ allowExpand: true
327
+ });
328
+ this.showChildView('description', view);
329
+ }
330
+ }, {
331
+ key: "getSubtitleLanguage",
332
+ value: function getSubtitleLanguage() {
333
+ var _this = this;
334
+
335
+ if (!(this.model.subtitles && this.model.get('subtitles').length)) return '';
336
+ return underscore__WEBPACK_IMPORTED_MODULE_0__["uniq"](this.model.get('subtitles').map(function (subtitle) {
337
+ var _a;
338
+
339
+ var code = subtitle.get('language');
340
+ var fullName = CVLanguages.getFullEnglishName(code);
341
+ return ((_a = subtitle.get('metadata')) === null || _a === void 0 ? void 0 : _a.autoGenerated) ? _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_13__["LanguageService"].getPhrase(_this.lang, 'autoGenerated', {
342
+ name: fullName
343
+ }) : fullName;
344
+ })).join(', ');
345
+ }
346
+ }, {
347
+ key: "getCitationHeading",
348
+ value: function getCitationHeading(type, single, plural) {
349
+ if (!this.model.get(type)) return '';
350
+ return this.model.get(type).length > 1 ? plural : single;
351
+ }
352
+ }, {
353
+ key: "getCitationHeadings",
354
+ value: function getCitationHeadings() {
355
+ return {
356
+ productionCompaniesText: this.getCitationHeading(_enums__WEBPACK_IMPORTED_MODULE_7__["CitationType"].ProductionCompany, 'Production Company', 'Production Companies'),
357
+ producersText: this.getCitationHeading(_enums__WEBPACK_IMPORTED_MODULE_7__["CitationType"].Producer, 'Producer', 'Producers'),
358
+ disributorsText: this.getCitationHeading(_enums__WEBPACK_IMPORTED_MODULE_7__["CitationType"].Distributor, 'Distributor', 'Distributors'),
359
+ directorsText: this.getCitationHeading(_enums__WEBPACK_IMPORTED_MODULE_7__["CitationType"].Director, 'Director', 'Directors')
360
+ };
361
+ }
362
+ }, {
363
+ key: "viewOptions",
364
+ value: function viewOptions() {
365
+ return Object.assign({
366
+ styles: _video_basic_info_scss__WEBPACK_IMPORTED_MODULE_11___default.a,
367
+ ratingClass: this.model.rating && _apps_library_editor_utils__WEBPACK_IMPORTED_MODULE_10__["VideoDetailsHelper"].mapRatingToClass(this.model.rating.get('value')),
368
+ broadcastDate: this.getBroadcastDate(),
369
+ showHeading: this.options.showHeading,
370
+ subtitles: this.getSubtitleLanguage(),
371
+ publisherArchiveSvg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["cvSvgLibrary"].PublisherArchive),
372
+ showPublisherVideoDetails: this.options.showPublisherVideoDetails
373
+ }, this.getCitationHeadings());
374
+ }
375
+ }, {
376
+ key: "onRender",
377
+ value: function onRender() {
378
+ this.renderSeries();
379
+ this.renderDescription();
380
+ }
381
+ }, {
382
+ key: "name",
383
+ get: function get() {
384
+ return 'VideoBasicInfoComponent';
385
+ }
386
+ }, {
387
+ key: "template",
388
+ get: function get() {
389
+ return _VideoBasicInfo_hbs__WEBPACK_IMPORTED_MODULE_12___default.a;
390
+ }
391
+ }, {
392
+ key: "lang",
393
+ get: function get() {
394
+ return 'shared.videoBasicInfo';
395
+ }
396
+ }, {
397
+ key: "defaults",
398
+ get: function get() {
399
+ return {
400
+ truncateDescription: true
401
+ };
402
+ }
403
+ }, {
404
+ key: "behaviors",
405
+ get: function get() {
406
+ return [{
407
+ behaviorClass: _libs_shared_src_legacy_behaviors_tooltip_TooltipBehavior__WEBPACK_IMPORTED_MODULE_5__["TooltipBehavior"],
408
+ selector: '.tool-tip'
409
+ }];
410
+ }
411
+ }, {
412
+ key: "appLinks",
413
+ get: function get() {
414
+ return {
415
+ '.applink-publisher-video': {
416
+ application: _constants__WEBPACK_IMPORTED_MODULE_6__["AppChannels"].LIBRARY_EDITOR,
417
+ action: _constants__WEBPACK_IMPORTED_MODULE_6__["Actions"].LibraryEditor.SHOW_PUBLISHER_VIDEO,
418
+ args: [this.model.get('id')]
419
+ }
420
+ };
421
+ }
422
+ }]);
423
+
424
+ return VideoBasicInfoComponent;
425
+ }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].Component);
426
+
427
+ /***/ }),
428
+
429
+ /***/ "./src/shared/components/video-basic-info/video-basic-info.scss":
430
+ /*!**********************************************************************!*\
431
+ !*** ./src/shared/components/video-basic-info/video-basic-info.scss ***!
432
+ \**********************************************************************/
433
+ /*! no static exports found */
434
+ /***/ (function(module, exports, __webpack_require__) {
435
+
436
+ // extracted by mini-css-extract-plugin
437
+ module.exports = {"columnNames":"cv--columnNames--1N_VT","seriesContainer":"cv--seriesContainer--4pk2s","icon":"cv--icon--3SoBV","citationValues":"cv--citationValues--1nYZg"};
438
+
439
+ /***/ })
440
+
441
+ }]);
442
+ //# sourceMappingURL=26.chunk.js.map