@clickview/library-editor 1.1.19-rc.2 → 1.1.19-rc.3

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 (455) hide show
  1. package/dist/css/12.chunk.css +17 -7
  2. package/dist/css/13.chunk.css +7 -7
  3. package/dist/css/14.chunk.css +10 -4
  4. package/dist/css/16.chunk.css +1 -1
  5. package/dist/css/17.chunk.css +1 -1
  6. package/dist/css/19.chunk.css +34 -0
  7. package/dist/css/20.chunk.css +15 -7
  8. package/dist/css/21.chunk.css +14 -8
  9. package/dist/css/22.chunk.css +13 -5
  10. package/dist/css/23.chunk.css +12 -6
  11. package/dist/css/24.chunk.css +7 -7
  12. package/dist/css/25.chunk.css +9 -5
  13. package/dist/css/26.chunk.css +5 -5
  14. package/dist/css/27.chunk.css +6 -4
  15. package/dist/css/29.chunk.css +4 -4
  16. package/dist/css/3.chunk.css +2 -15
  17. package/dist/css/30.chunk.css +5 -3
  18. package/dist/css/31.chunk.css +3 -3
  19. package/dist/css/42.chunk.css +1 -1
  20. package/dist/css/43.chunk.css +1 -1
  21. package/dist/css/44.chunk.css +1 -1
  22. package/dist/css/45.chunk.css +1 -1
  23. package/dist/css/46.chunk.css +1 -1
  24. package/dist/css/47.chunk.css +1 -1
  25. package/dist/css/49.chunk.css +1 -34
  26. package/dist/css/5.chunk.css +3 -13
  27. package/dist/css/50.chunk.css +1 -1
  28. package/dist/css/53.chunk.css +2 -0
  29. package/dist/css/54.chunk.css +1 -1
  30. package/dist/css/55.chunk.css +1 -1
  31. package/dist/css/56.chunk.css +1 -1
  32. package/dist/css/57.chunk.css +1 -1
  33. package/dist/css/58.chunk.css +1 -1
  34. package/dist/css/60.chunk.css +1 -17
  35. package/dist/css/61.chunk.css +1 -1
  36. package/dist/projects/library-editor/src/app.d.ts +1 -0
  37. package/dist/scripts/0-2be1201a7f.chunk.js +1 -0
  38. package/dist/scripts/1-d3c96b4670.chunk.js +1 -0
  39. package/dist/scripts/10-2cebec08a5.chunk.js +1 -0
  40. package/dist/scripts/{11-805aab3b80.chunk.js → 11-f6440b4817.chunk.js} +1 -1
  41. package/dist/scripts/12-b168953b47.chunk.js +1 -0
  42. package/dist/scripts/13-8e3a8d1629.chunk.js +1 -0
  43. package/dist/scripts/14-1c1b7086df.chunk.js +1 -0
  44. package/dist/scripts/15-6df8e05fe9.chunk.js +1 -0
  45. package/dist/scripts/16-19085b3dd0.chunk.js +1 -0
  46. package/dist/scripts/17-b7c4c476aa.chunk.js +1 -0
  47. package/dist/scripts/19-affb19e639.chunk.js +1 -0
  48. package/dist/scripts/2-adb587d50b.chunk.js +1 -0
  49. package/dist/scripts/20-5dcf516232.chunk.js +1 -0
  50. package/dist/scripts/21-782b1e8947.chunk.js +1 -0
  51. package/dist/scripts/22-77a9f00273.chunk.js +1 -0
  52. package/dist/scripts/23-c380087827.chunk.js +1 -0
  53. package/dist/scripts/24-5ca282f342.chunk.js +1 -0
  54. package/dist/scripts/25-a595940248.chunk.js +1 -0
  55. package/dist/scripts/26-52d8ede81f.chunk.js +1 -0
  56. package/dist/scripts/27-00d6b5a4bd.chunk.js +1 -0
  57. package/dist/scripts/28-58cc01c876.chunk.js +1 -0
  58. package/dist/scripts/29-552493a7ad.chunk.js +1 -0
  59. package/dist/scripts/3-a32cc1fdf4.chunk.js +1 -0
  60. package/dist/scripts/30-3b0ed0fdaa.chunk.js +1 -0
  61. package/dist/scripts/31-d46eb161fa.chunk.js +1 -0
  62. package/dist/scripts/32-728cc1e053.chunk.js +1 -0
  63. package/dist/scripts/33-9f130fa663.chunk.js +1 -0
  64. package/dist/scripts/34-45ad8a1808.chunk.js +1 -0
  65. package/dist/scripts/35-38b73094a5.chunk.js +1 -0
  66. package/dist/scripts/36-6cc9b2e1f9.chunk.js +1 -0
  67. package/dist/scripts/37-18f74bd058.chunk.js +1 -0
  68. package/dist/scripts/38-ca9a95b14a.chunk.js +1 -0
  69. package/dist/scripts/39-21e6ce932e.chunk.js +1 -0
  70. package/dist/scripts/4-7f5573ad9d.chunk.js +1 -0
  71. package/dist/scripts/40-040a76d3cb.chunk.js +1 -0
  72. package/dist/scripts/41-ea0bd0118f.chunk.js +1 -0
  73. package/dist/scripts/42-ede0513e1c.chunk.js +1 -0
  74. package/dist/scripts/43-512f52a709.chunk.js +1 -0
  75. package/dist/scripts/44-2b494ad559.chunk.js +1 -0
  76. package/dist/scripts/45-74c1071058.chunk.js +1 -0
  77. package/dist/scripts/46-fa6537374c.chunk.js +1 -0
  78. package/dist/scripts/47-4fbd9bf958.chunk.js +1 -0
  79. package/dist/scripts/48-de58133c08.chunk.js +1 -0
  80. package/dist/scripts/49-4035147a3b.chunk.js +1 -0
  81. package/dist/scripts/5-08ffe0918e.chunk.js +1 -0
  82. package/dist/scripts/50-c2be46fa7e.chunk.js +1 -0
  83. package/dist/scripts/51-beb5c51318.chunk.js +1 -0
  84. package/dist/scripts/52-773e36d3f9.chunk.js +1 -0
  85. package/dist/scripts/{54-8df01312cc.chunk.js → 53-a5d949340b.chunk.js} +1 -1
  86. package/dist/scripts/54-4083e51a52.chunk.js +1 -0
  87. package/dist/scripts/55-622f7871d6.chunk.js +1 -0
  88. package/dist/scripts/56-b48e08b8ef.chunk.js +1 -0
  89. package/dist/scripts/57-1feff40a08.chunk.js +1 -0
  90. package/dist/scripts/{59-cc8e184cce.chunk.js → 58-46d9ab3567.chunk.js} +1 -1
  91. package/dist/scripts/59-4f532af025.chunk.js +1 -0
  92. package/dist/scripts/6-0aba54255e.chunk.js +1 -0
  93. package/dist/scripts/60-b977e9f98a.chunk.js +1 -0
  94. package/dist/scripts/61-a08050a033.chunk.js +1 -0
  95. package/dist/scripts/62-2d7c9575cd.chunk.js +1 -0
  96. package/dist/scripts/63-1b5541b59d.chunk.js +1 -0
  97. package/dist/scripts/64-5802c4c4a1.chunk.js +1 -0
  98. package/dist/scripts/65-a5583b77b5.chunk.js +1 -0
  99. package/dist/scripts/66-e6cbf6eff1.chunk.js +1 -0
  100. package/dist/scripts/67-147f6e38b8.chunk.js +1 -0
  101. package/dist/scripts/68-09d43f4bf6.chunk.js +1 -0
  102. package/dist/scripts/69-730a9f6e1b.chunk.js +1 -0
  103. package/dist/scripts/7-3a6b348c77.chunk.js +1 -0
  104. package/dist/scripts/70-99fa48a87e.chunk.js +1 -0
  105. package/dist/scripts/71-e6e4debb3b.chunk.js +1 -0
  106. package/dist/scripts/8-e6e81f44e1.chunk.js +1 -0
  107. package/dist/scripts/9-350230f5b4.chunk.js +1 -0
  108. package/dist/scripts/bundle-11b849726e.min.js +1 -0
  109. package/dist/scripts/bundles.json +1 -1
  110. package/package.json +4 -4
  111. package/dist/css/1.chunk.css.map +0 -1
  112. package/dist/css/10.chunk.css.map +0 -1
  113. package/dist/css/11.chunk.css +0 -137
  114. package/dist/css/11.chunk.css.map +0 -1
  115. package/dist/css/12.chunk.css.map +0 -1
  116. package/dist/css/13.chunk.css.map +0 -1
  117. package/dist/css/14.chunk.css.map +0 -1
  118. package/dist/css/16.chunk.css.map +0 -1
  119. package/dist/css/17.chunk.css.map +0 -1
  120. package/dist/css/18.chunk.css +0 -2
  121. package/dist/css/18.chunk.css.map +0 -1
  122. package/dist/css/2.chunk.css +0 -4
  123. package/dist/css/2.chunk.css.map +0 -1
  124. package/dist/css/21.chunk.css.map +0 -1
  125. package/dist/css/22.chunk.css.map +0 -1
  126. package/dist/css/23.chunk.css.map +0 -1
  127. package/dist/css/25.chunk.css.map +0 -1
  128. package/dist/css/26.chunk.css.map +0 -1
  129. package/dist/css/28.chunk.css.map +0 -1
  130. package/dist/css/29.chunk.css.map +0 -1
  131. package/dist/css/3.chunk.css.map +0 -1
  132. package/dist/css/30.chunk.css.map +0 -1
  133. package/dist/css/31.chunk.css.map +0 -1
  134. package/dist/css/32.chunk.css.map +0 -1
  135. package/dist/css/33.chunk.css +0 -16
  136. package/dist/css/33.chunk.css.map +0 -1
  137. package/dist/css/34.chunk.css +0 -21
  138. package/dist/css/34.chunk.css.map +0 -1
  139. package/dist/css/35.chunk.css +0 -20
  140. package/dist/css/35.chunk.css.map +0 -1
  141. package/dist/css/36.chunk.css.map +0 -1
  142. package/dist/css/37.chunk.css.map +0 -1
  143. package/dist/css/38.chunk.css.map +0 -1
  144. package/dist/css/4.chunk.css +0 -6
  145. package/dist/css/40.chunk.css.map +0 -1
  146. package/dist/css/41.chunk.css.map +0 -1
  147. package/dist/css/42.chunk.css.map +0 -1
  148. package/dist/css/43.chunk.css.map +0 -1
  149. package/dist/css/44.chunk.css.map +0 -1
  150. package/dist/css/45.chunk.css.map +0 -1
  151. package/dist/css/46.chunk.css.map +0 -1
  152. package/dist/css/47.chunk.css.map +0 -1
  153. package/dist/css/48.chunk.css +0 -2
  154. package/dist/css/48.chunk.css.map +0 -1
  155. package/dist/css/49.chunk.css.map +0 -1
  156. package/dist/css/50.chunk.css.map +0 -1
  157. package/dist/css/51.chunk.css +0 -2
  158. package/dist/css/51.chunk.css.map +0 -1
  159. package/dist/css/52.chunk.css +0 -66
  160. package/dist/css/52.chunk.css.map +0 -1
  161. package/dist/css/55.chunk.css.map +0 -1
  162. package/dist/css/56.chunk.css.map +0 -1
  163. package/dist/css/58.chunk.css.map +0 -1
  164. package/dist/css/59.chunk.css +0 -2
  165. package/dist/css/59.chunk.css.map +0 -1
  166. package/dist/css/6.chunk.css.map +0 -1
  167. package/dist/css/60.chunk.css.map +0 -1
  168. package/dist/css/62.chunk.css +0 -2
  169. package/dist/css/62.chunk.css.map +0 -1
  170. package/dist/css/63.chunk.css +0 -170
  171. package/dist/css/63.chunk.css.map +0 -1
  172. package/dist/css/67.chunk.css +0 -78
  173. package/dist/css/67.chunk.css.map +0 -1
  174. package/dist/css/68.chunk.css +0 -17
  175. package/dist/css/68.chunk.css.map +0 -1
  176. package/dist/css/69.chunk.css +0 -17
  177. package/dist/css/69.chunk.css.map +0 -1
  178. package/dist/css/7.chunk.css.map +0 -1
  179. package/dist/css/70.chunk.css +0 -23
  180. package/dist/css/70.chunk.css.map +0 -1
  181. package/dist/css/71.chunk.css +0 -40
  182. package/dist/css/71.chunk.css.map +0 -1
  183. package/dist/css/72.chunk.css +0 -16
  184. package/dist/css/72.chunk.css.map +0 -1
  185. package/dist/css/73.chunk.css +0 -37
  186. package/dist/css/73.chunk.css.map +0 -1
  187. package/dist/css/74.chunk.css +0 -29
  188. package/dist/css/74.chunk.css.map +0 -1
  189. package/dist/css/75.chunk.css +0 -6
  190. package/dist/css/75.chunk.css.map +0 -1
  191. package/dist/css/76.chunk.css +0 -6
  192. package/dist/css/76.chunk.css.map +0 -1
  193. package/dist/css/8.chunk.css.map +0 -1
  194. package/dist/css/library-editor-app.css.map +0 -1
  195. package/dist/scripts/0-8cdf48d69e.chunk.js +0 -1
  196. package/dist/scripts/0.chunk.js +0 -1034
  197. package/dist/scripts/0.chunk.js.map +0 -1
  198. package/dist/scripts/1-a197f0efeb.chunk.js +0 -1
  199. package/dist/scripts/1.chunk.js +0 -442
  200. package/dist/scripts/1.chunk.js.map +0 -1
  201. package/dist/scripts/10-48aa375ebe.chunk.js +0 -1
  202. package/dist/scripts/10.chunk.js +0 -820
  203. package/dist/scripts/10.chunk.js.map +0 -1
  204. package/dist/scripts/11.chunk.js +0 -4091
  205. package/dist/scripts/11.chunk.js.map +0 -1
  206. package/dist/scripts/12-57671136e8.chunk.js +0 -1
  207. package/dist/scripts/12.chunk.js +0 -555
  208. package/dist/scripts/12.chunk.js.map +0 -1
  209. package/dist/scripts/13-46bc40cc23.chunk.js +0 -1
  210. package/dist/scripts/13.chunk.js +0 -373
  211. package/dist/scripts/13.chunk.js.map +0 -1
  212. package/dist/scripts/14-556e982a73.chunk.js +0 -1
  213. package/dist/scripts/14.chunk.js +0 -2386
  214. package/dist/scripts/14.chunk.js.map +0 -1
  215. package/dist/scripts/15-2edbad42a0.chunk.js +0 -1
  216. package/dist/scripts/15.chunk.js +0 -314
  217. package/dist/scripts/15.chunk.js.map +0 -1
  218. package/dist/scripts/16-60b9a789b4.chunk.js +0 -1
  219. package/dist/scripts/16.chunk.js +0 -1290
  220. package/dist/scripts/16.chunk.js.map +0 -1
  221. package/dist/scripts/17-d6083dbd9b.chunk.js +0 -1
  222. package/dist/scripts/17.chunk.js +0 -381
  223. package/dist/scripts/17.chunk.js.map +0 -1
  224. package/dist/scripts/18-31ce9284d0.chunk.js +0 -1
  225. package/dist/scripts/18.chunk.js +0 -393
  226. package/dist/scripts/18.chunk.js.map +0 -1
  227. package/dist/scripts/19.chunk.js +0 -364
  228. package/dist/scripts/19.chunk.js.map +0 -1
  229. package/dist/scripts/2-33fcca96e3.chunk.js +0 -1
  230. package/dist/scripts/2.chunk.js +0 -519
  231. package/dist/scripts/2.chunk.js.map +0 -1
  232. package/dist/scripts/20-3c2f3fb166.chunk.js +0 -1
  233. package/dist/scripts/20.chunk.js +0 -317
  234. package/dist/scripts/20.chunk.js.map +0 -1
  235. package/dist/scripts/21-9497f03cd8.chunk.js +0 -1
  236. package/dist/scripts/21.chunk.js +0 -531
  237. package/dist/scripts/21.chunk.js.map +0 -1
  238. package/dist/scripts/22-22cd929ad4.chunk.js +0 -1
  239. package/dist/scripts/22.chunk.js +0 -354
  240. package/dist/scripts/22.chunk.js.map +0 -1
  241. package/dist/scripts/23-16b02d09f5.chunk.js +0 -1
  242. package/dist/scripts/23.chunk.js +0 -605
  243. package/dist/scripts/23.chunk.js.map +0 -1
  244. package/dist/scripts/24-24699f9007.chunk.js +0 -1
  245. package/dist/scripts/24.chunk.js +0 -318
  246. package/dist/scripts/24.chunk.js.map +0 -1
  247. package/dist/scripts/25-7a210f731b.chunk.js +0 -1
  248. package/dist/scripts/25.chunk.js +0 -365
  249. package/dist/scripts/25.chunk.js.map +0 -1
  250. package/dist/scripts/26-263cf0ebce.chunk.js +0 -1
  251. package/dist/scripts/26.chunk.js +0 -437
  252. package/dist/scripts/26.chunk.js.map +0 -1
  253. package/dist/scripts/27-707d8b29f0.chunk.js +0 -1
  254. package/dist/scripts/27.chunk.js +0 -3565
  255. package/dist/scripts/27.chunk.js.map +0 -1
  256. package/dist/scripts/28-d748f747fa.chunk.js +0 -1
  257. package/dist/scripts/28.chunk.js +0 -3129
  258. package/dist/scripts/28.chunk.js.map +0 -1
  259. package/dist/scripts/29-ef4aaa5fd8.chunk.js +0 -1
  260. package/dist/scripts/29.chunk.js +0 -3088
  261. package/dist/scripts/29.chunk.js.map +0 -1
  262. package/dist/scripts/3-9ac062f7ab.chunk.js +0 -1
  263. package/dist/scripts/3.chunk.js +0 -782
  264. package/dist/scripts/3.chunk.js.map +0 -1
  265. package/dist/scripts/30-1b84ae2ac7.chunk.js +0 -1
  266. package/dist/scripts/30.chunk.js +0 -1809
  267. package/dist/scripts/30.chunk.js.map +0 -1
  268. package/dist/scripts/31-b51d47f02b.chunk.js +0 -1
  269. package/dist/scripts/31.chunk.js +0 -958
  270. package/dist/scripts/31.chunk.js.map +0 -1
  271. package/dist/scripts/32-3f5cffb858.chunk.js +0 -1
  272. package/dist/scripts/32.chunk.js +0 -1235
  273. package/dist/scripts/32.chunk.js.map +0 -1
  274. package/dist/scripts/33-bd5b8ad402.chunk.js +0 -1
  275. package/dist/scripts/33.chunk.js +0 -792
  276. package/dist/scripts/33.chunk.js.map +0 -1
  277. package/dist/scripts/34-16c6ce9391.chunk.js +0 -1
  278. package/dist/scripts/34.chunk.js +0 -990
  279. package/dist/scripts/34.chunk.js.map +0 -1
  280. package/dist/scripts/35-f0ff6077b5.chunk.js +0 -1
  281. package/dist/scripts/35.chunk.js +0 -518
  282. package/dist/scripts/35.chunk.js.map +0 -1
  283. package/dist/scripts/36-6d5df4dbb0.chunk.js +0 -1
  284. package/dist/scripts/36.chunk.js +0 -335
  285. package/dist/scripts/36.chunk.js.map +0 -1
  286. package/dist/scripts/37-1aedf84774.chunk.js +0 -1
  287. package/dist/scripts/37.chunk.js +0 -236
  288. package/dist/scripts/37.chunk.js.map +0 -1
  289. package/dist/scripts/38-9411624870.chunk.js +0 -1
  290. package/dist/scripts/38.chunk.js +0 -315
  291. package/dist/scripts/38.chunk.js.map +0 -1
  292. package/dist/scripts/39-f46d2f69b1.chunk.js +0 -1
  293. package/dist/scripts/39.chunk.js +0 -116
  294. package/dist/scripts/39.chunk.js.map +0 -1
  295. package/dist/scripts/4-2bf2f1b864.chunk.js +0 -1
  296. package/dist/scripts/4.chunk.js +0 -335
  297. package/dist/scripts/4.chunk.js.map +0 -1
  298. package/dist/scripts/40-2134ac47ae.chunk.js +0 -1
  299. package/dist/scripts/40.chunk.js +0 -1782
  300. package/dist/scripts/40.chunk.js.map +0 -1
  301. package/dist/scripts/41-38841ce7ed.chunk.js +0 -1
  302. package/dist/scripts/41.chunk.js +0 -2347
  303. package/dist/scripts/41.chunk.js.map +0 -1
  304. package/dist/scripts/42-06cb96ddaf.chunk.js +0 -1
  305. package/dist/scripts/42.chunk.js +0 -2111
  306. package/dist/scripts/42.chunk.js.map +0 -1
  307. package/dist/scripts/43-164d1aaf84.chunk.js +0 -1
  308. package/dist/scripts/43.chunk.js +0 -2243
  309. package/dist/scripts/43.chunk.js.map +0 -1
  310. package/dist/scripts/44-234dd1aac7.chunk.js +0 -1
  311. package/dist/scripts/44.chunk.js +0 -1024
  312. package/dist/scripts/44.chunk.js.map +0 -1
  313. package/dist/scripts/45-26c33d7856.chunk.js +0 -1
  314. package/dist/scripts/45.chunk.js +0 -1065
  315. package/dist/scripts/45.chunk.js.map +0 -1
  316. package/dist/scripts/46-07c390591d.chunk.js +0 -1
  317. package/dist/scripts/46.chunk.js +0 -613
  318. package/dist/scripts/46.chunk.js.map +0 -1
  319. package/dist/scripts/47-6a9c70d236.chunk.js +0 -1
  320. package/dist/scripts/47.chunk.js +0 -735
  321. package/dist/scripts/47.chunk.js.map +0 -1
  322. package/dist/scripts/48-ee3bf3e841.chunk.js +0 -1
  323. package/dist/scripts/48.chunk.js +0 -994
  324. package/dist/scripts/48.chunk.js.map +0 -1
  325. package/dist/scripts/49-73ebbe96d0.chunk.js +0 -1
  326. package/dist/scripts/49.chunk.js +0 -759
  327. package/dist/scripts/49.chunk.js.map +0 -1
  328. package/dist/scripts/5-19ce45d023.chunk.js +0 -1
  329. package/dist/scripts/5.chunk.js +0 -40
  330. package/dist/scripts/5.chunk.js.map +0 -1
  331. package/dist/scripts/50-a1439e0fa7.chunk.js +0 -1
  332. package/dist/scripts/50.chunk.js +0 -528
  333. package/dist/scripts/50.chunk.js.map +0 -1
  334. package/dist/scripts/51-cad32e2046.chunk.js +0 -1
  335. package/dist/scripts/51.chunk.js +0 -932
  336. package/dist/scripts/51.chunk.js.map +0 -1
  337. package/dist/scripts/52-1d3e8eb21e.chunk.js +0 -1
  338. package/dist/scripts/52.chunk.js +0 -408
  339. package/dist/scripts/52.chunk.js.map +0 -1
  340. package/dist/scripts/53-5e80e33e98.chunk.js +0 -1
  341. package/dist/scripts/53.chunk.js +0 -754
  342. package/dist/scripts/53.chunk.js.map +0 -1
  343. package/dist/scripts/54.chunk.js +0 -681
  344. package/dist/scripts/54.chunk.js.map +0 -1
  345. package/dist/scripts/55-4c8d7b57f9.chunk.js +0 -1
  346. package/dist/scripts/55.chunk.js +0 -645
  347. package/dist/scripts/55.chunk.js.map +0 -1
  348. package/dist/scripts/56-1d96fdfcd3.chunk.js +0 -1
  349. package/dist/scripts/56.chunk.js +0 -346
  350. package/dist/scripts/56.chunk.js.map +0 -1
  351. package/dist/scripts/57-c17cdf728f.chunk.js +0 -1
  352. package/dist/scripts/57.chunk.js +0 -422
  353. package/dist/scripts/57.chunk.js.map +0 -1
  354. package/dist/scripts/58-ce34e558f4.chunk.js +0 -1
  355. package/dist/scripts/58.chunk.js +0 -437
  356. package/dist/scripts/58.chunk.js.map +0 -1
  357. package/dist/scripts/59.chunk.js +0 -342
  358. package/dist/scripts/59.chunk.js.map +0 -1
  359. package/dist/scripts/6-e9685801b5.chunk.js +0 -1
  360. package/dist/scripts/6.chunk.js +0 -484
  361. package/dist/scripts/6.chunk.js.map +0 -1
  362. package/dist/scripts/60-8d73b65e4e.chunk.js +0 -1
  363. package/dist/scripts/60.chunk.js +0 -254
  364. package/dist/scripts/60.chunk.js.map +0 -1
  365. package/dist/scripts/61-bd804db13e.chunk.js +0 -1
  366. package/dist/scripts/61.chunk.js +0 -318
  367. package/dist/scripts/61.chunk.js.map +0 -1
  368. package/dist/scripts/62-827229b727.chunk.js +0 -1
  369. package/dist/scripts/62.chunk.js +0 -142
  370. package/dist/scripts/62.chunk.js.map +0 -1
  371. package/dist/scripts/63-7251ac44d0.chunk.js +0 -1
  372. package/dist/scripts/63.chunk.js +0 -147
  373. package/dist/scripts/63.chunk.js.map +0 -1
  374. package/dist/scripts/64-33ca5259e4.chunk.js +0 -1
  375. package/dist/scripts/64.chunk.js +0 -439
  376. package/dist/scripts/64.chunk.js.map +0 -1
  377. package/dist/scripts/65-50d52bf3df.chunk.js +0 -1
  378. package/dist/scripts/65.chunk.js +0 -582
  379. package/dist/scripts/65.chunk.js.map +0 -1
  380. package/dist/scripts/66-fe41a3b54a.chunk.js +0 -1
  381. package/dist/scripts/66.chunk.js +0 -442
  382. package/dist/scripts/66.chunk.js.map +0 -1
  383. package/dist/scripts/67-1508455eb9.chunk.js +0 -1
  384. package/dist/scripts/67.chunk.js +0 -295
  385. package/dist/scripts/67.chunk.js.map +0 -1
  386. package/dist/scripts/68-21e8520126.chunk.js +0 -1
  387. package/dist/scripts/68.chunk.js +0 -165
  388. package/dist/scripts/68.chunk.js.map +0 -1
  389. package/dist/scripts/69-4d26485024.chunk.js +0 -1
  390. package/dist/scripts/69.chunk.js +0 -248
  391. package/dist/scripts/69.chunk.js.map +0 -1
  392. package/dist/scripts/7-d0085fdf2e.chunk.js +0 -1
  393. package/dist/scripts/7.chunk.js +0 -309
  394. package/dist/scripts/7.chunk.js.map +0 -1
  395. package/dist/scripts/70-8e1d03a7d8.chunk.js +0 -1
  396. package/dist/scripts/70.chunk.js +0 -207
  397. package/dist/scripts/70.chunk.js.map +0 -1
  398. package/dist/scripts/71-b835514c89.chunk.js +0 -1
  399. package/dist/scripts/71.chunk.js +0 -237
  400. package/dist/scripts/71.chunk.js.map +0 -1
  401. package/dist/scripts/72-23d6083900.chunk.js +0 -1
  402. package/dist/scripts/72.chunk.js +0 -331
  403. package/dist/scripts/72.chunk.js.map +0 -1
  404. package/dist/scripts/73.chunk.js +0 -404
  405. package/dist/scripts/73.chunk.js.map +0 -1
  406. package/dist/scripts/74.chunk.js +0 -301
  407. package/dist/scripts/74.chunk.js.map +0 -1
  408. package/dist/scripts/75.chunk.js +0 -231
  409. package/dist/scripts/75.chunk.js.map +0 -1
  410. package/dist/scripts/76.chunk.js +0 -157
  411. package/dist/scripts/76.chunk.js.map +0 -1
  412. package/dist/scripts/77.chunk.js +0 -307
  413. package/dist/scripts/77.chunk.js.map +0 -1
  414. package/dist/scripts/78.chunk.js +0 -249
  415. package/dist/scripts/78.chunk.js.map +0 -1
  416. package/dist/scripts/79.chunk.js +0 -282
  417. package/dist/scripts/79.chunk.js.map +0 -1
  418. package/dist/scripts/8-0ebd446b65.chunk.js +0 -1
  419. package/dist/scripts/8.chunk.js +0 -307
  420. package/dist/scripts/8.chunk.js.map +0 -1
  421. package/dist/scripts/80.chunk.js +0 -308
  422. package/dist/scripts/80.chunk.js.map +0 -1
  423. package/dist/scripts/81.chunk.js +0 -366
  424. package/dist/scripts/81.chunk.js.map +0 -1
  425. package/dist/scripts/82.chunk.js +0 -314
  426. package/dist/scripts/82.chunk.js.map +0 -1
  427. package/dist/scripts/83.chunk.js +0 -328
  428. package/dist/scripts/83.chunk.js.map +0 -1
  429. package/dist/scripts/84.chunk.js +0 -313
  430. package/dist/scripts/84.chunk.js.map +0 -1
  431. package/dist/scripts/85.chunk.js +0 -291
  432. package/dist/scripts/85.chunk.js.map +0 -1
  433. package/dist/scripts/86.chunk.js +0 -119
  434. package/dist/scripts/86.chunk.js.map +0 -1
  435. package/dist/scripts/87.chunk.js +0 -219
  436. package/dist/scripts/87.chunk.js.map +0 -1
  437. package/dist/scripts/88.chunk.js +0 -194
  438. package/dist/scripts/88.chunk.js.map +0 -1
  439. package/dist/scripts/89.chunk.js +0 -522
  440. package/dist/scripts/89.chunk.js.map +0 -1
  441. package/dist/scripts/9-0476e7c063.chunk.js +0 -1
  442. package/dist/scripts/9.chunk.js +0 -222
  443. package/dist/scripts/9.chunk.js.map +0 -1
  444. package/dist/scripts/90.chunk.js +0 -337
  445. package/dist/scripts/90.chunk.js.map +0 -1
  446. package/dist/scripts/91.chunk.js +0 -131
  447. package/dist/scripts/91.chunk.js.map +0 -1
  448. package/dist/scripts/92.chunk.js +0 -266
  449. package/dist/scripts/92.chunk.js.map +0 -1
  450. package/dist/scripts/bundle-1efd9147e1.min.js +0 -1
  451. package/dist/scripts/bundle-486bb6fa60.min.js +0 -1
  452. package/dist/scripts/bundle-511dc1956b.min.js +0 -1
  453. package/dist/scripts/bundle-8468900bf9.min.js +0 -1
  454. package/dist/scripts/bundle.js +0 -57527
  455. package/dist/scripts/bundle.js.map +0 -1
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[25],{1083:function(e,t,n){"use strict";n.r(t);var i=n(1),o=n(7),r=n(2),a=n(16),s=n(24),l=n(3),c=n(10),u=n(5),h=n(68),d=n(0),f=n(185),p=n(86),v=n(11),m=n(61),y=n(134),g=n(183),b=n(6),w=n(4),k=n(31),S=n(118),T=n(89),E=n(655),C=n(791),O=n(798),R=n(794),x=n(793),D=n(891),N=n.n(D);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=I(e);if(t){var o=I(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return V(this,n)}}function V(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var L=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(a,e);var t,n,i,r=j(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){var e=this;this.listenTo(this.model,"change",(function(){return e.options.viewModel.validate()}))}},{key:"regions",value:function(){return{textArea:{el:".text-area-region",replaceElement:!0}}}},{key:"onRender",value:function(){this.showChildView("textArea",new x.a({name:"value",class:"form-control",placeholder:this.model.get("placeholder"),id:"admin-notes"})),this.stickit(),o.Validation.bind(this)}},{key:"onDestroy",value:function(){this.unstickit(),o.Validation.unbind(this)}},{key:"template",get:function(){return N.a}},{key:"name",get:function(){return"ExtraInfoItemComponent"}},{key:"bindings",get:function(){return{"[name=value]":{observe:"value",setOptions:{validate:!0}}}}}])&&P(t.prototype,n),i&&P(t,i),a}(r.a.Component),U=n(892),B=n.n(U);function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function z(e,t,n){return t&&J(e.prototype,t),n&&J(e,n),e}function H(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q(e,t)}function q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=W(e);if(t){var o=W(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return Y(this,n)}}function Y(e,t){return!t||"object"!==A(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function W(e){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var X=function(e){H(n,e);var t=G(n);function n(e){return F(this,n),t.call(this,e)}return z(n,[{key:"name",get:function(){return"ExtraInfoComponentCollection"}},{key:"childView",get:function(){return L}},{key:"childViewOptions",get:function(){return{viewModel:this.options.viewModel}}}]),n}(r.a.ComponentCollection),K=function(e){H(n,e);var t=G(n);function n(e){return F(this,n),t.call(this,e)}return z(n,[{key:"regions",value:function(){return{fields:{el:".fields-region",replaceElement:!0}}}},{key:"onRender",value:function(){this.showChildView("fields",new X({collection:this.model.fields,viewModel:this.model}))}},{key:"name",get:function(){return"ExtraInfoComponent"}},{key:"template",get:function(){return B.a}},{key:"className",get:function(){return"border-top pt-3"}}]),n}(r.a.Component),Z=n(59),Q=n(180),$=n(689),ee=n(692),te=n(105),ne=n(893),ie=n.n(ne);function oe(e){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function re(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ae(e,t){return(ae=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function se(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=ce(e);if(t){var o=ce(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return le(this,n)}}function le(e,t){return!t||"object"!==oe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ae(e,t)}(s,e);var t,n,i,o=se(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),o.call(this,e)}return t=s,(n=[{key:"regions",value:function(){return{tagList:{el:".tag-list-region",replaceElement:!0},tagSelector:{el:".tag-selector-region",replaceElement:!0}}}},{key:"initialize",value:function(){this.options.behavior!==te.c.Edit||this.options.parentId||r.a.ErrorHelper.throw(new a.a("parentId is required to edit tags."))}},{key:"getTypeaheadConfigs",value:function(){var e=Q.a.getTypeaheadConfig(),t=Q.a.getBloodhoundConfig(),n={newType:d.v.TagsRaw},i={newType:d.v.TagsRaw,footerTemplate:Z.a.getConfirmSelectionTemplate()};return[{name:d.v.TagsRaw,typeaheadConfig:e,bloodhoundConfig:t,options:{hideEmptyResults:!0}},{name:"add-new",typeaheadConfig:e,bloodhoundConfig:t,options:n},{name:"empty-suggestion",typeaheadConfig:e,bloodhoundConfig:t,options:i}]}},{key:"viewOptions",value:function(){var e;return this.showEmptyStateText()&&(e=this.options.emptyStateText),{headerText:this.options.headerText,editable:this.options.behavior===te.c.Edit,emptyStateText:e}}},{key:"showEmptyStateText",value:function(){return this.options.behavior!==te.c.Edit&&!this.collection.length&&!!this.options.emptyStateText}},{key:"renderTagSelector",value:function(){this.options.behavior===te.c.Edit&&this.showChildView("tagSelector",new $.a({model:this.model,parentChannelName:this.options.channelName,inputId:"tag-select",selectEvent:"add:tag",typeaheadConfigs:this.getTypeaheadConfigs(),placeholderText:l.a.getPhrase(this.lang,"placeholder"),callbacks:{onRender:Z.a.selectFirstResult,onBlur:Z.a.clearInputOnBlur},typeaheadOptions:{hint:!1},actionOptions:{clearOnSelect:!0}}))}},{key:"renderTagList",value:function(){this.showEmptyStateText()||this.showChildView("tagList",new ee.a({collection:this.collection,channelName:this.options.channelName,behavior:this.options.behavior,orientation:this.options.orientation,removeEvent:this.options.removeEvent}))}},{key:"onRender",value:function(){this.renderTagSelector(),this.renderTagList()}},{key:"name",get:function(){return"TagsComponent"}},{key:"template",get:function(){return ie.a}},{key:"lang",get:function(){return"libraryEditor.tags"}},{key:"defaults",get:function(){return{headerText:l.a.getPhrase(this.lang,"heading"),orientation:te.d.Flex}}}])&&re(t.prototype,n),i&&re(t,i),s}(r.a.Component),he=n(159),de=n(894),fe=n.n(de),pe=n(895),ve=n.n(pe);function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ge(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function be(e,t){return(be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function we(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=Se(e);if(t){var o=Se(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return ke(this,n)}}function ke(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Se(e){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Te=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&be(e,t)}(s,e);var t,n,i,a=we(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),a.call(this,e)}return t=s,(n=[{key:"getParentChannel",value:function(){return o.Radio.channel(this.options.channelName)}},{key:"getSaveChannelName",value:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"regions",value:function(){return{save:{el:".save-region",replaceElement:!0}}}},{key:"events",value:function(){return{"click .undo":"onUndo"}}},{key:"initialize",value:function(){var e;this.model||(this.model=new r.a.Model((ye(e={},he.c.ShowSpinner,this.options.showSpinner),ye(e,he.c.Disabled,this.options.isDisabled),e)));var t=this.options.channelName;this.listenTo(t,S.d.DisableSave,this.onDisableSave),this.listenTo(t,S.d.EnableSave,this.onEnableSave),this.listenTo(t,S.d.CancelSave,this.onCancelSave);var n=o.Radio.channel(this.getSaveChannelName());this.listenTo(n,S.d.Save,this.onSave),this.options.allowUndo&&(this.options.hasChanges&&this.model.set("showUndo",!0),this.listenTo(this.model,"change:showUndo",this.render))}},{key:"onCancelSave",value:function(){this.model.set(he.c.ShowSpinner,!1)}},{key:"onEnableSave",value:function(){this.model.set(he.c.Disabled,!1),this.options.allowUndo&&this.model.set("showUndo",!0)}},{key:"onDisableSave",value:function(){this.model.get(he.c.ShowSpinner)&&this.model.set(he.c.ShowSpinner,!1,{silent:!0}),this.model.set(he.c.Disabled,!0),this.options.allowUndo&&this.model.set("showUndo",!1)}},{key:"onUndo",value:function(e){e.stopPropagation(),this.getParentChannel().trigger(S.d.Undo)}},{key:"onSave",value:function(){this.model.set(he.c.ShowSpinner,!0),this.getParentChannel().trigger(S.d.Save)}},{key:"viewOptions",value:function(){return{allowUndo:this.options.allowUndo&&this.model.get("showUndo"),styles:ve.a}}},{key:"renderSaveButton",value:function(){var e=new he.a({saveEvent:S.d.Save,channelName:this.getSaveChannelName(),model:this.model,buttonText:l.a.getPhrase(this.lang,"save"),extraButtonClass:"btn-primary ".concat(ve.a.saveButton),spinnerOptions:{size:v.r.Small,type:v.s.Light,extraClasses:"mx-auto"}});this.showChildView("save",e)}},{key:"onRender",value:function(){this.renderSaveButton()}},{key:"name",get:function(){return"SaveComponent"}},{key:"template",get:function(){return fe.a}},{key:"className",get:function(){return"save-component ".concat(this.options.extraClasses)}},{key:"lang",get:function(){return"libraryEditor.save"}}])&&ge(t.prototype,n),i&&ge(t,i),s}(r.a.Component),Ee=n(123),Ce=n(124),Oe=n(175),Re=n(896),xe=n.n(Re);function De(e){return(De="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ne(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=je(e);if(t){var o=je(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return Me(this,n)}}function Me(e,t){return!t||"object"!==De(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function je(e){return(je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_e(e,t)}(r,e);var t,n,i,o=Pe(r);function r(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),o.call(this,e)}return t=r,(n=[{key:"initialize",value:function(){this.viewModel=s.a.get("image:storage")}},{key:"regions",value:function(){return{thumbnail:{el:".thumbnail-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{editable:this.options.editable,dimensions:d.m[b.f.Thumbnails]}}},{key:"onRender",value:function(){this.showChildView("thumbnail",new Ee.a({model:this.model,thumbnailOptions:{size:Ce.a.Medium}}))}},{key:"name",get:function(){return"EditThumbnailComponent"}},{key:"lang",get:function(){return"libraryEditor.editThumbnail"}},{key:"template",get:function(){return xe.a}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:Oe.c,channelName:this.options.channelName,buttonSelector:".upload-thumbnail",imageType:b.f.Thumbnails,appLink:{application:d.b.LIBRARY_EDITOR,action:d.a.LibraryEditor.UPLOAD_THUMBNAIL,args:[this.options.model.id]},saveImage:function(t){return e.viewModel.set({dataUrl:t})}}]}},{key:"defaults",get:function(){return{editable:!0}}}])&&Ne(t.prototype,n),i&&Ne(t,i),r}(r.a.Component),Ie=n(897),Le=n.n(Ie),Ue=n(898),Be=n.n(Ue);function Ae(e){return(Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ze(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=qe(e);if(t){var o=qe(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return He(this,n)}}function He(e,t){return!t||"object"!==Ae(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ge=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Je(e,t)}(r,e);var t,n,i,o=ze(r);function r(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),o.call(this,e)}return t=r,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"update:tags",this.renderCustomerTags)}},{key:"regions",value:function(){return{topSave:{el:".top-save-region",replaceElement:!0},bottomSave:{el:".bottom-save-region",replaceElement:!0},thumbnail:{el:".thumbnail-region",replaceElement:!0},basicInfo:{el:".basic-info-region",replaceElement:!0},additionalInfo:{el:".additional-details-region",replaceElement:!0},productionInfo:{el:".production-info-region",replaceElement:!0},fields:{el:".fields-region",replaceElement:!0},clickViewTags:{el:".cv-tags-region",replaceElement:!1},customerTags:{el:".customer-tags-region",replaceElement:!0}}}},{key:"renderSave",value:function(){this.options.editable&&this.showChildView("topSave",new Te({channelName:this.options.channelName,allowUndo:!0,isDisabled:this.options.isSaveDisabled,hasChanges:this.options.hasChanges,extraClasses:"float-right"})),this.showChildView("bottomSave",new Te({channelName:this.options.channelName,allowUndo:!0,isDisabled:this.options.isSaveDisabled,hasChanges:this.options.hasChanges,extraClasses:"float-right"}))}},{key:"renderBasicInfo",value:function(){this.showChildView("basicInfo",new C.a({model:this.model,ratings:this.options.ratings,channelName:this.options.channelName,editable:this.options.editable,showingSaveButton:this.options.editable,showPublisherVideoDetails:this.options.showPublisherVideoDetails}))}},{key:"renderThumbnail",value:function(){this.showChildView("thumbnail",new Ve({model:this.model,channelName:this.options.channelName,editable:this.options.editable}))}},{key:"renderAdditionalInfo",value:function(){this.showChildView("additionalInfo",new R.a({model:this.model,channelName:this.options.channelName,libraries:this.options.libraries,hostedLibraries:this.options.hostedLibraries,editable:this.options.editable}))}},{key:"renderProductionInfo",value:function(){this.showChildView("productionInfo",new O.a({model:this.model,channelName:this.options.channelName,editable:this.options.editable}))}},{key:"renderFields",value:function(){this.showChildView("fields",new K({model:this.model,channelName:this.options.channelName}))}},{key:"renderClickViewTags",value:function(){if(!this.options.editable){var e=v.j.filterObjectsByOwnerType(this.model.tags,te.b.ClickView,this.options.currentUser.get("customerId"));this.showChildView("clickViewTags",new ue({parentId:this.model.get("id"),collection:e,orientation:te.d.Flex,behavior:te.c.Disabled,channelName:this.options.channelName,headerText:l.a.getPhrase(this.lang,"clickviewTags"),emptyStateText:l.a.getPhrase(this.lang,"clickviewTagsEmpty")}))}}},{key:"renderCustomerTags",value:function(){var e=v.j.filterObjectsByOwnerType(this.model.tags,te.b.Customer,this.options.currentUser.get("customerId"));this.showChildView("customerTags",new ue({parentId:this.model.get("id"),collection:e,channelName:this.options.channelName,behavior:te.c.Edit,headerText:l.a.getPhrase(this.lang,"customerTags"),removeEvent:"remove:tag"}))}},{key:"renderTags",value:function(){this.renderClickViewTags(),this.renderCustomerTags()}},{key:"viewOptions",value:function(){return{styles:Be.a,editable:this.options.editable,suggestEditClasses:"info-link text-underline suggest-edit",isExchange:v.x.isExchangeVideo(this.model)}}},{key:"onRender",value:function(){this.renderSave(),this.renderBasicInfo(),this.renderThumbnail(),this.renderAdditionalInfo(),this.renderProductionInfo(),this.renderFields(),this.renderTags()}},{key:"name",get:function(){return"EditVideoDetailsComponent"}},{key:"className",get:function(){return"edit-video-detail py-3"}},{key:"lang",get:function(){return"libraryEditor.editVideoDetails"}},{key:"template",get:function(){return Le.a}},{key:"appLinks",get:function(){return{".suggest-edit":{application:d.b.LIBRARY_EDITOR,action:d.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.id]}}}}])&&Fe(t.prototype,n),i&&Fe(t,i),r}(r.a.Component),Ye=n(705),We=n(181),Xe=n(182),Ke=n(899),Ze=n.n(Ke);function Qe(e){return(Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=it(e);if(t){var o=it(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return nt(this,n)}}function nt(e,t){return!t||"object"!==Qe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function it(e){return(it=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"EditVideoView",(function(){return ot}));var ot=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&et(e,t)}(R,e);var t,n,C,O=tt(R);function R(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,R),(t=O.call(this,e)).editable=!1,t}return t=R,(n=[{key:"regions",value:function(){return{tabs:{el:".tab-region",replaceElement:!0,partialLoading:b.j.EditVideoTabs},content:{el:".edit-content-region",replaceElement:!0,partialLoading:b.j.EditVideoDetails}}}},{key:"initialize",value:function(){this.navLock=u.a.getInstance(d.x.NavLock,this),this.initDataListeners(),v.u.initBackButton(),this.initServices()}},{key:"initServices",value:function(){this.videoDataService=u.a.getInstance(d.g.Video,this),this.tagDataService=u.a.getInstance(d.g.Tags,this),this.libraryDataService=u.a.getInstance(d.g.Library,this),this.seriesDataService=u.a.getInstance(d.g.Series,this),this.ratingsDataService=u.a.getInstance(d.g.Ratings,this),this.migrationVideoDataService=u.a.getInstance(d.g.MigrationVideo,this),this.fieldsDataService=u.a.getInstance(d.g.Fields,this),this.alertService=u.a.getInstance(d.x.Alerts,this),this.personDataService=u.a.getInstance(d.g.Person,this),this.companyDataService=u.a.getInstance(d.g.Company,this)}},{key:"initDataListeners",value:function(){this.listenTo(c.a.SHELL,r.a.EventNames.NAV_UNLOCKED_BY_USER,this.onNavigateAway),this.listenTo(d.e.VIDEO,"videos:".concat(this.options.videoId,":sync"),this.render),this.listenTo(d.e.VIDEO,"videos:".concat(this.options.videoId,":error"),this.onError),this.listenTo(d.e.RATINGS,"".concat(d.f.RATINGS,":sync"),this.render),this.listenTo(d.e.VIDEO,"".concat(d.f.UPDATE_VIDEO_THUMBNAIL,":").concat(this.options.videoId,":sync"),this.onThumbnailUpdated),this.listenTo(d.e.LIBRARY,"hosted:libraries:sync",this.render),this.listenTo(this.channelName,"select:rating",i.partial(this.onTypeaheadSelection,i,"rating")),this.listenTo(this.channelName,"select:channel",i.partial(this.onTypeaheadSelection,i,"channel")),this.listenTo(this.channelName,"select:series",this.onSelectSeries),this.listenTo(this.channelName,"add:season",this.onSelectSeason),this.listenTo(this.channelName,"add:distributors",this.onSelectDistributor),this.listenTo(this.channelName,"add:productionCompanies",this.onSelectProductionCompany),this.listenTo(this.channelName,"add:directors",this.onSelectDirector),this.listenTo(this.channelName,"add:producers",this.onSelectProducer),this.listenTo(this.channelName,"add:tag",this.onAddTag),this.listenTo(this.channelName,"remove:distributors",this.onRemoveDistributor),this.listenTo(this.channelName,"remove:productionCompanies",this.onRemoveProductionCompany),this.listenTo(this.channelName,"remove:directors",this.onRemoveDirector),this.listenTo(this.channelName,"remove:producers",this.onRemoveProducer),this.listenTo(this.channelName,"remove:tag",this.onRemoveTag),this.listenTo(this.channelName,S.d.Save,this.onSave),this.listenTo(this.channelName,S.d.Undo,this.onUndo),this.listenTo(this.channelName,S.d.DetectInput,this.onTypeaheadInput),this.listenTo(this.channelName,"image:load",this.onBeforeThumbnailUpload)}},{key:"onError",value:function(e){switch(e.type){case h.a.NotFound:r.a.ErrorHelper.throw(new Xe.a);break;case h.a.Forbidden:r.a.ErrorHelper.throw(new We.a)}}},{key:"onTypeaheadSelection",value:function(e,t,n){if(n){var o=this.viewModel.get(t),r=o.filter({name:e.name});i.each(r,(function(e){return o.remove(e)})),o.add(e)}else this.viewModel.set(t,e);this.onModelChange(e,{manualUpdate:!0})}},{key:"onTypeaheadInput",value:function(e,t,n){e.get("name")||(n&&n.isCollection?this.viewModel.get(t).remove(e.get("id"),{silent:!0}):this.viewModel.get(t).clear({silent:!0}),this.onModelChange(null,{manualUpdate:!0}),"series"===t&&(this.validateSeries(),o.Radio.channel(this.channelName).trigger("clear:series")))}},{key:"onSelectSeries",value:function(e){var t=this;e.id?this.seriesDataService.getSeries(e.id,(function(e){t.viewModel.unset("season"),t.viewModel.set("episodeNumber",null),t.onTypeaheadSelection(e.toJSON(),"series")})):e.name&&this.seriesDataService.createSeries(e.name,(function(e){t.viewModel.unset("season"),t.viewModel.set("episodeNumber",null),t.onTypeaheadSelection({id:e.id},"series")}))}},{key:"onSelectSeason",value:function(e){var t=this;if(i.isNull(e))return this.viewModel.get("season").clear({silent:!0}),this.viewModel.set("episodeNumber",null),v.c.deselectAll(this.viewModel.get("series.seasons")),void this.onModelChange(null,{manualUpdate:!0});if(e.id)return this.viewModel.set("season",e),v.c.setSelected(e.id,this.viewModel.get("series.seasons")),void this.onModelChange(e,{manualUpdate:!0});if(e.number){var n=this.viewModel.get("series.id");this.seriesDataService.createSeason(e,n,(function(e){t.viewModel.set("season",e.toJSON()),!t.viewModel.get("series.seasons")&&t.viewModel.get("series").set("seasons",new f.a),t.viewModel.get("series.seasons").add(e.toJSON()),v.c.setSelected(e.id,t.viewModel.get("series.seasons")),t.onModelChange(e.toJSON(),{manualUpdate:!0}),t.render()}))}}},{key:"onSelectDistributor",value:function(e){var t=this;e.id?this.onTypeaheadSelection(e,"distributors",!0):e.name&&this.companyDataService.createCompany(e.name,(function(e){t.onTypeaheadSelection(e.toJSON(),"distributors",!0)}))}},{key:"onSelectProductionCompany",value:function(e){var t=this;e.id?this.onTypeaheadSelection(e,"productionCompanies",!0):e.name&&this.companyDataService.createCompany(e.name,(function(e){t.onTypeaheadSelection(e.toJSON(),"productionCompanies",!0)}))}},{key:"onSelectDirector",value:function(e){var t=this;e.id?this.onTypeaheadSelection(e,"directors",!0):e.name&&this.personDataService.createPerson(e.name,(function(e){t.onTypeaheadSelection(e.toJSON(),"directors",!0)}))}},{key:"onSelectProducer",value:function(e){var t=this;e.id?this.onTypeaheadSelection(e,"producers",!0):e.name&&this.personDataService.createPerson(e.name,(function(e){t.onTypeaheadSelection(e.toJSON(),"producers",!0)}))}},{key:"onRemoveDistributor",value:function(e){this.removeFromCollection(e,"distributors")}},{key:"onRemoveProductionCompany",value:function(e){this.removeFromCollection(e,"productionCompanies")}},{key:"onRemoveDirector",value:function(e){this.removeFromCollection(e,"directors")}},{key:"onRemoveProducer",value:function(e){this.removeFromCollection(e,"producers")}},{key:"removeFromCollection",value:function(e,t){e&&e.id&&t&&(this.viewModel.get(t).remove(e.id),this.onModelChange(null,{manualUpdate:!0}))}},{key:"onAddTag",value:function(e){var t=this;if(e&&e.name){var n=e.name.trim().toLowerCase();if(n&&!v.c.findModelByName(n,this.viewModel.tags)){var i=new y.a({name:n});this.viewModel.tags.add(i),this.tagDataService.createTag(n,this.model.get("id"),(function(e){i.set(e.toJSON()),o.Radio.channel(t.channelName).trigger("update:tags")}))}}}},{key:"onRemoveTag",value:function(e){var t=this;e instanceof y.a&&e.id&&this.tagDataService.dissociateTag(e.id,this.model.get("id"),(function(){t.viewModel.tags.remove(e),o.Radio.channel(t.channelName).trigger("update:tags"),t.logDissocAction(t.model.get("id"),e,w.e.Tag)}))}},{key:"saveFields",value:function(e,t){var n=this,o=0;e.updatedVideo=i.extend({},e.updatedVideo||{});var r=function(){++o===e.dataChanges.fields.length&&t(e)};i.each(e.dataChanges.fields,(function(e){if(e.id&&!e.value)return n.viewModel.fields.remove(n.viewModel.fields.findWhere({id:e.id})),void n.fieldsDataService.deleteField(e.id,r);!e.id||e.id>0?n.fieldsDataService.updateField(e,r):n.fieldsDataService.addField(n.options.videoId,e,(function(t){n.viewModel.fields.findWhere({id:e.id}).set("id",t.id),r()}))}))}},{key:"bulkDissoc",value:function(e,t){this.videoDataService.bulkDissoc(this.model.id,e.pendingDissocs,(function(){t(e)}))}},{key:"saveVideo",value:function(e,t){var n=this,o=i.omit(e.dataChanges,"fields");if(i.isEmpty(o))t(e);else{var r=i.omit(e.dataChanges,"fields");this.videoDataService.updateVideo(this.model.get("id"),this.folder.get("id"),r,(function(o){(e.dataChanges.series&&e.dataChanges.series.id||e.dataChanges.episodeNumber||e.dataChanges.season)&&n.videoDataService.clearVideoCache(),e.updatedVideo=i.extend({},e.updatedVideo||{},o),t(e)}))}}},{key:"afterSave",value:function(e,t){if(this.viewModel){e.updatedVideo&&this.updateState(e.updatedVideo),this.unlockNav(),this.updateSaveButton(S.d.DisableSave),this.logEditAction(e.dataChanges,w.r.Save);var n=g.a.updatedVideoAlert(this.viewModel.get("name"));this.alertService.success(n||"Video was successfully updated")()}}},{key:"onSave",value:function(){if(this.viewModel.validate(),!1===this.viewModel.isValid())return this.updateSaveButton(S.d.CancelSave),!1;this.validateSeries();var e=E.a.getChanges(this.model,this.viewModel),t=E.a.getRemovedObjectIds(this.model,this.viewModel);if(!e&&!i.keys(t).length)return this.updateSaveButton(S.d.CancelSave),!1;var n=new r.a.Middleware;return e&&e.fields&&n.use(i.bind(this.saveFields,this)),t&&i.keys(t).length&&n.use(i.bind(this.bulkDissoc,this)),this.editable&&n.use(i.bind(this.saveVideo,this)),n.use(i.bind(this.afterSave,this)),n.go({dataChanges:e,pendingDissocs:t},null),!1}},{key:"onUndo",value:function(){var e=this;new v.d({title:l.a.getPhrase(this.lang,"undoTitle"),text:l.a.getPhrase(this.lang,"undoBody",{videoName:this.model.get("name")}),buttons:[{text:l.a.getPhrase(this.lang,"undo"),className:"btn btn-danger",success:!0},{text:l.a.getPhrase(this.lang,"cancel"),className:"btn btn-secondary",close:!0}]}).render().done((function(){e.logEditAction({},w.r.Discard),e.revertState({undo:!0}),e.render()}))}},{key:"updateState",value:function(e){this.stopListening(this.viewModel),E.a.updateModelState(this.model,this.viewModel,e),s.a.clear(this.viewModelName),this.getViewModel(),this.renderContent()}},{key:"onNavigateAway",value:function(){this.revertState()}},{key:"revertState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.undo;this.stopListening(this.viewModel),s.a.clear(this.viewModelName),delete this.viewModel,this.unlockNav(),t&&this.getViewModel()}},{key:"lockNav",value:function(){this.navLock.lock({title:l.a.getPhrase(this.lang,"navLockHeading"),text:l.a.getPhrase(this.lang,"navLockBody")})}},{key:"unlockNav",value:function(){this.navLock.unlock()}},{key:"onBeforeThumbnailUpload",value:function(){this.navLock.isLocked()&&(this.navLock.unlock(),s.a.get("upload:thumbnail:options").set("lockNav",!0))}},{key:"onModelChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.stickitChange||t.manualUpdate)if(this.viewModel.validate(),!1!==this.viewModel.isValid()){var n=E.a.getChanges(this.model,this.viewModel)||i.keys(E.a.getRemovedObjectIds(this.model,this.viewModel)).length;if(!n)return this.unlockNav(),void this.updateSaveButton(S.d.DisableSave);this.lockNav(),this.updateSaveButton(S.d.EnableSave)}else this.updateSaveButton(S.d.DisableSave)}},{key:"updateSaveButton",value:function(e){var t=o.Radio.channel(this.channelName),n=S.d.EnableSave,i=S.d.DisableSave,s=S.d.CancelSave;switch(e){case n:return void t.trigger(n);case i:return void t.trigger(i);case s:return void t.trigger(s)}r.a.ErrorHelper.throw(new a.a("Save action type is not valid."))}},{key:"onThumbnailUpdated",value:function(){var e=this;this.videoDataService.clearCacheAndGetVideo(this.options.videoId,(function(t){e.model=t,e.viewModel.set("thumbnail",e.model.thumbnail.toJSON())}))}},{key:"logEditAction",value:function(e,t){var n=Object.assign({id:this.model.get("id")},e);k.a.logUserAction(n,{actionType:w.q.Edit,entity:w.e.Video,location:w.k.EditVideoDetails,workflowPhase:t})}},{key:"logDissocAction",value:function(e,t,n){var i=Object.assign({videoId:e},t.pick("id","name"));k.a.logUserAction(i,{actionType:w.q.Dissociate,entity:n,location:w.k.EditVideoDetails})}},{key:"onValidation",value:function(e){this.viewModel.set("disabled",!e)}},{key:"getViewModel",value:function(){this.model.fields&&this.model.fields.length||this.model.set("fields",Object(E.d)()),this.viewModel=s.a.get(this.viewModelName,this.model.toJSON(),{ctor:m.a}),this.editable&&(this.viewModel.addValidation(E.k),this.viewModel.addValidation(E.e)),this.viewModel.addValidation(E.b),this.listenTo(this.viewModel,"validated",this.onValidation),this.listenTo(this.viewModel,"change",this.onModelChange),this.listenTo(this.viewModel,"change:dateBroadcast",i.partial(this.onModelChange,i,{manualUpdate:!0})),this.viewModel.fields&&(this.viewModel.fields&&this.viewModel.fields.each((function(e){return e.addValidation(E.c)})),this.listenTo(this.viewModel.fields,"change",this.onModelChange))}},{key:"validateSeries",value:function(){this.viewModel.get("series.id")||(this.viewModel.unset("season"),this.viewModel.set("episodeNumber",null))}},{key:"fetchData",value:function(){var e=this;this.model=this.videoDataService.getVideo(this.options.videoId),this.ratings=this.ratingsDataService.getAllRatings(),this.hostedLibraries=this.libraryDataService.getHostedLibraries(),this.migrationVideoDataService.getCustomerVideoByMasterId(this.options.videoId,(function(t){var n=!!e.publisherVideo;e.publisherVideo=t,n&&e.isRendered()&&e.renderContent()})),this.model&&(this.editable=v.j.canEditVideo(this.model),this.folder=this.model.categories.first(),this.ratings&&this.hostedLibraries&&(this.viewModel instanceof m.a||this.getViewModel()))}},{key:"onBeforeRender",value:function(){return this.fetchData(),!!this.model&&!!this.ratings&&!!this.viewModel}},{key:"renderContent",value:function(){var e=E.a.getChanges(this.model,this.viewModel)||i.keys(E.a.getRemovedObjectIds(this.model,this.viewModel)).length;this.showChildView("content",new Ge({model:this.viewModel,ratings:this.ratings,libraries:this.libraries,hostedLibraries:this.hostedLibraries,channelName:this.channelName,isSaveDisabled:!e,hasChanges:!!e,editable:this.editable,currentUser:this.currentUser,showPublisherVideoDetails:!!this.publisherVideo}))}},{key:"renderTabs",value:function(){this.showChildView("tabs",new Ye.a({tabs:v.u.getEditVideoTabs(this.options.videoId,{hideChaptersTab:!this.editable}),activeTab:".edit-video-applink",goBackTab:v.u.getBackButton(this.options.videoId)}))}},{key:"onRender",value:function(){this.renderTabs(),this.renderContent()}},{key:"name",get:function(){return"EditVideoView"}},{key:"title",get:function(){return this.model&&this.model.get("name")}},{key:"lang",get:function(){return"libraryEditor.editVideo"}},{key:"className",get:function(){return"bg-white p-3"}},{key:"channelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.options.videoId)}},{key:"template",get:function(){return Ze.a}},{key:"requiredResources",get:function(){return{libraries:T.b.libraries,currentUser:p.b.currentUser}}}])&&$e(t.prototype,n),C&&$e(t,C),R}(r.a.View)},677:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n(1),o=n(2),r=n(678),a=n.n(r),s=n(679),l=n.n(s);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(s,e);var t,n,o,r=d(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),r.call(this,e)}return t=s,(n=[{key:"viewOptions",value:function(){var e=this.options.tabs.map((function(e){return Object.assign(Object.assign({},e),{link:e.link.selector.replace(".","")})}));return{styles:a.a,tabs:e}}},{key:"setActiveTab",value:function(){var e=this,t=!1;if(this.options.tabs.forEach((function(n){n.active=!1,n.link.selector===e.options.activeTab&&(n.active=!0,t=!0)})),!t){var n=i.first(this.options.tabs);n&&(n.active=!0)}}},{key:"onBeforeRender",value:function(){this.setActiveTab()}},{key:"name",get:function(){return"TabsView"}},{key:"className",get:function(){var e="bg-white py-2 border-bottom";return this.options.className&&(e+=" ".concat(this.options.className)),e}},{key:"template",get:function(){return l.a}},{key:"appLinks",get:function(){var e={};return this.options.tabs.forEach((function(t){return e[t.link.selector]=t.link.appLink})),e}}])&&u(t.prototype,n),o&&u(t,o),s}(o.a.Component)},678:function(e,t,n){e.exports={link:"_5idZs",active:"_3Ty4M"}},679:function(e,t,n){var i=n(8);e.exports=(i.default||i).template({1:function(e,t,n,i,o,r,a){var s;e.propertyIsEnumerable;return null!=(s=n.unless.call(null!=t?t:e.nullContext||{},null!=t?t.hide:t,{name:"unless",hash:{},fn:e.program(2,o,0,r,a),inverse:e.noop,data:o}))?s:""},2:function(e,t,n,i,o,r,a){e.propertyIsEnumerable;var s,l=e.lambda,c=e.escapeExpression;return' <a class="'+c(l(null!=(s=null!=(s=null!=a[1]?a[1].options:a[1])?s.styles:s)?s.link:s,t))+" p-2 "+c(l(null!=t?t.link:t,t))+" "+(null!=(s=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.active:t,{name:"if",hash:{},fn:e.program(3,o,0,r,a),inverse:e.noop,data:o}))?s:"")+'">'+c(l(null!=t?t.name:t,t))+"</a>\r\n"},3:function(e,t,n,i,o,r,a){var s;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=a[1]?a[1].options:a[1])?s.styles:s)?s.active:s,t))+" border-bottom border-primary text-primary"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o,r,a){var s;e.propertyIsEnumerable;return null!=(s=n.each.call(null!=t?t:e.nullContext||{},null!=(s=null!=t?t.options:t)?s.tabs:s,{name:"each",hash:{},fn:e.program(1,o,0,r,a),inverse:e.noop,data:o}))?s:""},useData:!0,useDepths:!0})},692:function(e,t,n){"use strict";var i=n(2),o=n(16),r=n(7),a=n(0),s=n(105),l=n(733),c=n.n(l),u=n(734),h=n.n(u);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(l,e);var t,n,i,o=v(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),o.call(this,e)}return t=l,(n=[{key:"events",value:function(){return this.options.removeEvent?{"click @ui.close":"onRemoveTag"}:{click:"onClickTag"}}},{key:"initialize",value:function(){this.options.behavior===s.c.Edit&&this.listenTo(this.model,"change",this.render)}},{key:"isSaving",value:function(){if(this.options.behavior!==s.c.Filter){var e=this.model.pick("id","name","remove"),t=e.id,n=e.name;return!!e.remove||!t||!n}}},{key:"onRemoveTag",value:function(e){if(e.stopPropagation(),!this.isSaving())return this.model.set("remove",!0),r.Radio.channel(this.options.channelName).trigger(this.options.removeEvent,this.model),!1}},{key:"onClickTag",value:function(e){this.options.behavior!==s.c.Filter||this.options.removeEvent||r.Radio.channel(this.options.channelName).trigger(this.options.clickEvent,this.model)}},{key:"viewOptions",value:function(){return{removable:this.options.removeEvent}}},{key:"onRender",value:function(){this.resetClassName()}},{key:"name",get:function(){return"TagItemComponent"}},{key:"tagName",get:function(){return this.options.behavior===s.c.Link?"a":"span"}},{key:"className",get:function(){var e="".concat(this.options.orientation===s.d.Vertical?"":" d-inline-flex"),t="".concat(this.isSaving()?" saving":""),n="".concat(this.options.behavior===s.c.Disabled?" ".concat(h.a.disabled):""),i="".concat(this.options.behavior===s.c.Filter?" cursor-pointer":"");return"badge-pill tag py-1 px-2 my-1 mr-1".concat(i).concat(e).concat(t).concat(n)}},{key:"template",get:function(){return c.a}},{key:"elements",get:function(){return{close:".close"}}},{key:"appLinks",get:function(){return this.options.behavior!==s.c.Link?{}:{"[this]":{application:a.b.SEARCH,action:a.a.Search.HOME,params:{tag:this.model.get("name")}}}}},{key:"defaults",get:function(){return{behavior:s.c.Link,orientation:s.d.Flex}}}])&&f(t.prototype,n),i&&f(t,i),l}(i.a.Component);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=E(e);if(t){var o=E(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return T(this,n)}}function T(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return C}));var C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(l,e);var t,n,r,a=S(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,e)}return t=l,(n=[{key:"initialize",value:function(){this.options.behavior!==s.c.Edit||this.options.removeEvent||i.a.ErrorHelper.throw(new o.a("removeEvent is required to edit tags."))}},{key:"name",get:function(){return"TagComponentCollection"}},{key:"defaults",get:function(){return{orientation:s.d.Flex}}},{key:"className",get:function(){var e="".concat(this.options.orientation===s.d.Vertical?" d-flex align-items-start flex-column":"");return"tags".concat(e)}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,behavior:this.options.behavior,orientation:this.options.orientation,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}}},{key:"childView",get:function(){return g}}])&&w(t.prototype,n),r&&w(t,r),l}(i.a.ComponentCollection)},705:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n(7),o=n(2),r=n(13),a=n(706),s=n.n(a),l=n(707),c=n.n(l),u=n(0),h=n(677);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(l,e);var t,n,o,a=v(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,e)}return t=l,(n=[{key:"regions",value:function(){return{tabs:{el:".tabs-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){var e=Object.assign(Object.assign({},this.options.goBackTab),{link:this.options.goBackTab.link.selector.replace(".","")});return{styles:s.a,backTab:e,backArrow:r.a.getSvg(r.b.ArrowLeft)}}},{key:"onSave",value:function(){i.Radio.channel(u.b.LIBRARY_EDITOR).trigger(u.a.LibraryEditor.SAVE_VIDEO)}},{key:"onRender",value:function(){this.showChildView("tabs",new h.a({tabs:this.options.tabs,activeTab:this.options.activeTab}))}},{key:"name",get:function(){return"EditVideoTabsComponent"}},{key:"className",get:function(){return"bg-white"}},{key:"template",get:function(){return c.a}},{key:"appLinks",get:function(){var e,t,n,i=this.options.goBackTab.link;return e={},t=i.selector,n=i.appLink,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}}])&&f(t.prototype,n),o&&f(t,o),l}(o.a.Component)},706:function(e,t,n){e.exports={svgContainer:"_27gR6"}},707:function(e,t,n){var i=n(8);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a=e.lambda,s=e.escapeExpression;return'<div class="row">\r\n <h4>\r\n <a class="d-inline-flex align-items-center '+s(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.link:r,t))+" "+s(a(null!=(r=null!=(r=null!=t?t.options:t)?r.backTab:r)?r.link:r,t))+'">\r\n <span class="'+s(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.svgContainer:r,t))+' d-inline-block mx-2">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.backArrow:r,t))?r:"")+"</span>\r\n "+s(a(null!=(r=null!=(r=null!=t?t.options:t)?r.backTab:r)?r.name:r,t))+'\r\n </a>\r\n </h4>\r\n</div>\r\n<div class="tabs-region pl-2"></div>'},useData:!0})},733:function(e,t,n){var i=n(8);e.exports=(i.default||i).template({1:function(e,t,n,i,o){return'<span class="close cursor-pointer" aria-hidden="true">&times;</span>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a,s=null!=t?t:e.nullContext||{};return e.escapeExpression("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(s,{name:"name",hash:{},data:o}):a)+"\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.removable:r,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?r:"")},useData:!0})},734:function(e,t,n){e.exports={disabled:"_3Vziu"}},891:function(e,t,n){var i=n(8);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return'<div class="form-group">\r\n <label for="edit-description">'+e.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=t?t.name:t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:o}):r)+'</label>\r\n <div class="text-area-region"></div>\r\n <div class="form-feedback"></div>\r\n</div>'},useData:!0})},892:function(e,t,n){var i=n(8);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){return'<h5 class="mb-0">Extra Information</h5>\r\n<div class="text-muted mb-3">This information is only visible to admins and will not be searchable</div>\r\n<div class="fields-region"></div>'},useData:!0})},893:function(e,t,n){var i=n(8);e.exports=(i.default||i).template({1:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return"<h5>"+e.escapeExpression(e.lambda(null!=(r=null!=t?t.options:t)?r.headerText:r,t))+"</h5>\r\n"},3:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return"<p>"+e.escapeExpression(e.lambda(null!=(r=null!=t?t.options:t)?r.emptyStateText:r,t))+"</p>\r\n"},5:function(e,t,n,i,o){return'<div class="tag-selector-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{};return(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.headerText:r,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?r:"")+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.emptyStateText:r,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?r:"")+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.editable:r,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?r:"")+'<div class="tag-list-region"></div>'},useData:!0})},894:function(e,t,n){var i=n(8);e.exports=(i.default||i).template({1:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a=e.escapeExpression;return'<span class="text-muted mx-2 undo '+a(e.lambda(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.undo:r,t))+'">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"undo",{name:"lang",hash:{},data:o}))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return(null!=(r=n.if.call(null!=t?t:e.nullContext||{},null!=(r=null!=t?t.options:t)?r.allowUndo:r,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?r:"")+'<div class="save-region"></div>'},useData:!0})},895:function(e,t,n){e.exports={saveButton:"_2FsA6",undo:"v6msX"}},896:function(e,t,n){var i=n(8);e.exports=(i.default||i).template({1:function(e,t,n,i,o){e.propertyIsEnumerable;return"<h5>"+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"label",{name:"lang",hash:{},data:o}))+"</h5>\r\n"},3:function(e,t,n,i,o){return"my-2"},5:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression;return' <div class="text-muted mt-3 mb-1"><em>'+l((n.lang||t&&t.lang||s).call(a,"recommendedSize",{name:"lang",hash:{height:null!=(r=null!=(r=null!=t?t.options:t)?r.dimensions:r)?r.height:r,width:null!=(r=null!=(r=null!=t?t.options:t)?r.dimensions:r)?r.width:r},data:o}))+'</em></div>\r\n <button class="upload-thumbnail btn btn-light mb-3 w-100">'+l((n.lang||t&&t.lang||s).call(a,"upload",{name:"lang",hash:{},data:o}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{};return(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.editable:r,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?r:"")+'<div class="thumbnail-region"></div>\r\n<div class="'+(null!=(r=n.unless.call(a,null!=(r=null!=t?t.options:t)?r.editable:r,{name:"unless",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?r:"")+'">\r\n'+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.editable:r,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?r:"")+"</div>"},useData:!0})},897:function(e,t,n){var i=n(8);e.exports=(i.default||i).template({1:function(e,t,n,i,o){return"mb-4"},3:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return' <p class="mb-2 py-1 px-2 alert alert-info '+e.escapeExpression(e.lambda(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.suggestEdit:r,t))+'">\r\n'+(null!=(r=n.if.call(null!=t?t:e.nullContext||{},null!=(r=null!=t?t.options:t)?r.isExchange:r,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.program(6,o,0),data:o}))?r:"")+" </p>\r\n"},4:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return" "+(null!=(r=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"suggestEditExchange",{name:"lang",hash:{classNames:null!=(r=null!=t?t.options:t)?r.suggestEditClasses:r},data:o}))?r:"")+"\r\n"},6:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return" "+(null!=(r=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"suggestEdit",{name:"lang",hash:{classNames:null!=(r=null!=t?t.options:t)?r.suggestEditClasses:r},data:o}))?r:"")+"\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{};return'<div class="row">\r\n <div class="left-pane col-4">\r\n <div class="thumbnail-region"></div>\r\n <div class="cv-tags-region '+(null!=(r=n.unless.call(a,null!=(r=null!=t?t.options:t)?r.editable:r,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?r:"")+'"></div>\r\n <div class="customer-tags-region"></div>\r\n </div>\r\n <div class="right-pane col-8">\r\n'+(null!=(r=n.unless.call(a,null!=(r=null!=t?t.options:t)?r.editable:r,{name:"unless",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?r:"")+' <div class="top-save-region"></div>\r\n <div class="basic-info-region mb-4"></div> \r\n <div class="additional-details-region mb-4"></div> \r\n <div class="production-info-region mb-4"></div> \r\n <div class="fields-region mb-4"></div>\r\n <div class="bottom-save-region"></div>\r\n </div>\r\n</div>'},useData:!0})},898:function(e,t,n){e.exports={suggestEdit:"_1X4l5"}},899:function(e,t,n){var i=n(8);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){return'<div class="tab-region"></div>\r\n<div class="edit-content-region"></div>\r\n<div class="dialog-region"></div>'},useData:!0})}}]);
@@ -1,365 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[25],{
2
-
3
- /***/ "./src/shared/components/typeahead-input/SearchTypeaheadComponent.ts":
4
- /*!***************************************************************************!*\
5
- !*** ./src/shared/components/typeahead-input/SearchTypeaheadComponent.ts ***!
6
- \***************************************************************************/
7
- /*! exports provided: SearchTypeaheadComponent */
8
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
9
-
10
- "use strict";
11
- __webpack_require__.r(__webpack_exports__);
12
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SearchTypeaheadComponent", function() { return SearchTypeaheadComponent; });
13
- /* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
14
- /* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
15
- /* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! backbone */ "backbone");
16
- /* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_1__);
17
- /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
18
- /* harmony import */ var _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/errors/DevError */ "../../libs/common/src/backbone/errors/DevError.ts");
19
- /* 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");
20
- /* harmony import */ var _libs_shared_src_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../libs/shared/src/apps/search/utils/TypeaheadHelper */ "../../libs/shared/src/apps/search/utils/TypeaheadHelper.ts");
21
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils */ "./src/shared/utils/index.ts");
22
- /* harmony import */ var _Typeahead_hbs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Typeahead.hbs */ "./src/shared/components/typeahead-input/Typeahead.hbs");
23
- /* harmony import */ var _Typeahead_hbs__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_Typeahead_hbs__WEBPACK_IMPORTED_MODULE_7__);
24
- /* harmony import */ var _typeahead_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./typeahead.scss */ "./src/shared/components/typeahead-input/typeahead.scss");
25
- /* harmony import */ var _typeahead_scss__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_typeahead_scss__WEBPACK_IMPORTED_MODULE_8__);
26
- 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); }
27
-
28
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
29
-
30
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
31
-
32
- 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); } }
33
-
34
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
35
-
36
- 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); }
37
-
38
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
39
-
40
- 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); }; }
41
-
42
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
43
-
44
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
45
-
46
- 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; } }
47
-
48
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
- var SearchTypeaheadComponent = /*#__PURE__*/function (_Core$Component) {
60
- _inherits(SearchTypeaheadComponent, _Core$Component);
61
-
62
- var _super = _createSuper(SearchTypeaheadComponent);
63
-
64
- function SearchTypeaheadComponent(options) {
65
- _classCallCheck(this, SearchTypeaheadComponent);
66
-
67
- return _super.call(this, options);
68
- }
69
-
70
- _createClass(SearchTypeaheadComponent, [{
71
- key: "events",
72
- value: function events() {
73
- return {
74
- 'submit': 'onSubmit',
75
- 'click .remove': 'onClickRemove'
76
- };
77
- }
78
- }, {
79
- key: "initialize",
80
- value: function initialize() {
81
- if (!this.model && !this.options.parentChannelName) _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].ErrorHelper.throw(new _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_3__["DevError"]('Either pass a model or a channelName to access the typeahead selection'));
82
- if (!this.model) this.model = new _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].Model();
83
- /**
84
- * By default, set the input name to user the same name as our el id.
85
- * As soon as we need to add validation, this will need to be swapped out for the stickItProperty.
86
- * Or alternatively, we update the Validation cbs to not match on the model attribute name - Mike
87
- */
88
-
89
- if (!this.options.inputName) this.options.inputName = this.options.inputId;
90
- this.bindListeners();
91
- }
92
- }, {
93
- key: "bindListeners",
94
- value: function bindListeners() {
95
- if (this.options.parentChannelName) this.parentChannel = backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(this.options.parentChannelName);
96
- this.listenTo(this.channelName, 'typeahead:set:input', this.setInput);
97
- this.listenTo(this.channelName, 'typeahead:clear:input', this.clearInput);
98
- }
99
- }, {
100
- key: "clearInput",
101
- value: function clearInput() {
102
- this.getUI("input").typeahead('val', null);
103
- }
104
- }, {
105
- key: "setInput",
106
- value: function setInput(newVal) {
107
- this.getUI("input").typeahead('val', newVal);
108
- }
109
- /**
110
- * TODO: Add submit on enter support
111
- */
112
-
113
- }, {
114
- key: "onTypeaheadSelect",
115
- value: function onTypeaheadSelect(event, suggestion, source) {
116
- event.preventDefault();
117
- var queryString;
118
- if (typeof suggestion === 'string') queryString = suggestion;else queryString = suggestion.title || suggestion.name || suggestion.query;
119
- this.model.set(this.options.stickItProperty, queryString); // Pass the entire suggestion object back up to the parent
120
-
121
- if (this.parentChannel && this.options.selectEvent) this.parentChannel.trigger(this.options.selectEvent, suggestion);
122
- this.onSubmit(event);
123
- this.toggleRemove();
124
- }
125
- }, {
126
- key: "onSubmit",
127
- value: function onSubmit(event) {
128
- var _this = this;
129
-
130
- event.preventDefault();
131
- if (this.isDestroyed()) return;
132
-
133
- var _this$getTypeaheadAct = this.getTypeaheadActionOptions(),
134
- clearOnSelect = _this$getTypeaheadAct.clearOnSelect;
135
-
136
- if (!clearOnSelect) return;
137
- this.getUI("input").typeahead('close');
138
- /**
139
- * Clear the current query after closing the typeahead.
140
- * We need to clear out all the existing suggestions too, so wait until the
141
- * next tick to ensure that the close event had properly finished.
142
- */
143
-
144
- setTimeout(function () {
145
- _this.model.clear();
146
-
147
- _this.clearInput();
148
- }, 0);
149
- return false;
150
- }
151
- }, {
152
- key: "onClickRemove",
153
- value: function onClickRemove() {
154
- this.model.clear();
155
- this.parentChannel.trigger(this.options.removeEvent, this.model);
156
- this.toggleRemove();
157
- }
158
- }, {
159
- key: "getSources",
160
- value: function getSources() {
161
- if (!underscore__WEBPACK_IMPORTED_MODULE_0__["isArray"](this.options.typeaheadConfigs)) return _libs_shared_src_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_5__["TypeaheadHelper"].getSearchSources([this.options.typeaheadConfigs]);
162
- var sources = _libs_shared_src_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_5__["TypeaheadHelper"].getSearchSources(this.options.typeaheadConfigs);
163
- return sources;
164
- }
165
- }, {
166
- key: "getTypeaheadOptions",
167
- value: function getTypeaheadOptions() {
168
- var defaults = {
169
- minLength: 1,
170
- highlight: true
171
- };
172
- if (!this.options.typeaheadOptions) return defaults;
173
- return underscore__WEBPACK_IMPORTED_MODULE_0__["extend"]({}, defaults, this.options.typeaheadOptions);
174
- }
175
- }, {
176
- key: "getTypeaheadActionOptions",
177
- value: function getTypeaheadActionOptions() {
178
- var baseOptions = {
179
- clearOnSelect: false
180
- };
181
- if (!underscore__WEBPACK_IMPORTED_MODULE_0__["isObject"](this.options.actionOptions)) return baseOptions;
182
- return underscore__WEBPACK_IMPORTED_MODULE_0__["extend"]({}, baseOptions, this.options.actionOptions);
183
- }
184
- }, {
185
- key: "bindOptionalCallbacks",
186
- value: function bindOptionalCallbacks() {
187
- if (!underscore__WEBPACK_IMPORTED_MODULE_0__["isObject"](this.options.callbacks)) return;
188
- if (underscore__WEBPACK_IMPORTED_MODULE_0__["isFunction"](this.options.callbacks.onRender)) this.getUI("input").on('typeahead:render', underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.options.callbacks.onRender, this));
189
- if (underscore__WEBPACK_IMPORTED_MODULE_0__["isFunction"](this.options.callbacks.onInput)) this.listenTo(this.model, "change:".concat(this.options.stickItProperty), this.options.callbacks.onInput);
190
- if (underscore__WEBPACK_IMPORTED_MODULE_0__["isFunction"](this.options.callbacks.onBlur)) this.getUI("input").on('blur', underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.options.callbacks.onBlur, this, this.channelName, this.options.stickItProperty));
191
- }
192
- }, {
193
- key: "initTypeahead",
194
- value: function initTypeahead() {
195
- this.getUI("input").typeahead(this.getTypeaheadOptions(), this.getSources());
196
- }
197
- }, {
198
- key: "initTypeaheadListeners",
199
- value: function initTypeaheadListeners() {
200
- this.getUI("input").on('typeahead:select', underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.onTypeaheadSelect, this));
201
- this.bindOptionalCallbacks();
202
- }
203
- }, {
204
- key: "toggleRemove",
205
- value: function toggleRemove() {
206
- if (this.shouldShowRemove()) this.$el.find('.remove').show();else this.$el.find('.remove').hide();
207
- }
208
- /**
209
- * Show the remove button if:
210
- *
211
- * Content is editable
212
- * We have a value
213
- * We have a remove event to trigger
214
- *
215
- * OR
216
- *
217
- * We're being force to show the remove button (Used by PPDD)
218
- */
219
-
220
- }, {
221
- key: "shouldShowRemove",
222
- value: function shouldShowRemove() {
223
- if (!this.options.editable) return false;
224
- if (this.options.forceShowRemoveButton) return true;
225
- return this.options.removeEvent && !!this.model.get(this.options.stickItProperty);
226
- }
227
- }, {
228
- key: "viewOptions",
229
- value: function viewOptions() {
230
- return Object.assign(Object.assign({
231
- styles: _typeahead_scss__WEBPACK_IMPORTED_MODULE_8___default.a
232
- }, this.options), {
233
- showRemove: this.shouldShowRemove(),
234
- svgRemove: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["cvSvgLibrary"].Close)
235
- });
236
- }
237
- }, {
238
- key: "onRender",
239
- value: function onRender() {
240
- this.stickit();
241
- this.initTypeahead();
242
- this.initTypeaheadListeners();
243
- backbone__WEBPACK_IMPORTED_MODULE_1__["Validation"].bind(this);
244
- this.toggleRemove();
245
- }
246
- }, {
247
- key: "onClose",
248
- value: function onClose() {
249
- this.getUI('input').off();
250
- this.unstickit();
251
- backbone__WEBPACK_IMPORTED_MODULE_1__["Validation"].unbind(this);
252
- }
253
- }, {
254
- key: "name",
255
- get: function get() {
256
- return 'SearchTypeaheadComponent';
257
- }
258
- }, {
259
- key: "template",
260
- get: function get() {
261
- return _Typeahead_hbs__WEBPACK_IMPORTED_MODULE_7___default.a;
262
- }
263
- }, {
264
- key: "className",
265
- get: function get() {
266
- return "search-container ".concat(_typeahead_scss__WEBPACK_IMPORTED_MODULE_8___default.a.typeaheadContainer, " mb-2");
267
- }
268
- }, {
269
- key: "channelName",
270
- get: function get() {
271
- return _utils__WEBPACK_IMPORTED_MODULE_6__["RadioChannelHelper"].generateUniqueChannelName(this);
272
- }
273
- }, {
274
- key: "elements",
275
- get: function get() {
276
- return {
277
- input: "#".concat(this.options.inputId)
278
- };
279
- }
280
- }, {
281
- key: "defaults",
282
- get: function get() {
283
- return {
284
- inputId: 'search-typeahead',
285
- placeholderText: 'Search',
286
- stickItProperty: 'name',
287
- selectEvent: 'select:result',
288
- additionalClasses: '',
289
- editable: true
290
- };
291
- }
292
- }, {
293
- key: "bindings",
294
- get: function get() {
295
- var inputName = "[name=".concat(this.options.inputName, "]");
296
- return _defineProperty({}, inputName, {
297
- observe: this.options.stickItProperty,
298
- setOptions: {
299
- validate: true
300
- }
301
- });
302
- }
303
- }]);
304
-
305
- return SearchTypeaheadComponent;
306
- }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].Component);
307
-
308
- /***/ }),
309
-
310
- /***/ "./src/shared/components/typeahead-input/Typeahead.hbs":
311
- /*!*************************************************************!*\
312
- !*** ./src/shared/components/typeahead-input/Typeahead.hbs ***!
313
- \*************************************************************/
314
- /*! no static exports found */
315
- /***/ (function(module, exports, __webpack_require__) {
316
-
317
- var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
318
- module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
319
- var stack1, alias1=container.propertyIsEnumerable;
320
-
321
- return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.disabled : stack1), depth0));
322
- },"3":function(container,depth0,helpers,partials,data) {
323
- return "autofocus";
324
- },"5":function(container,depth0,helpers,partials,data) {
325
- return "disabled";
326
- },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
327
- var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
328
-
329
- return "<input\r\n name=\""
330
- + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.inputName : stack1), depth0))
331
- + "\"\r\n type=\"text\"\r\n class=\"form-control "
332
- + ((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 : "")
333
- + " "
334
- + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.additionalClasses : stack1), depth0))
335
- + "\"\r\n id=\""
336
- + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.inputId : stack1), depth0))
337
- + "\"\r\n autocomplete=\"off\"\r\n placeholder=\""
338
- + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.placeholderText : stack1), depth0))
339
- + "\"\r\n "
340
- + ((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 : "")
341
- + "\r\n "
342
- + ((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 : "")
343
- + "\r\n></input>\r\n<span class=\"svg-container mb-2 "
344
- + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svg : stack1), depth0))
345
- + " remove\" style=\"display: none;\">"
346
- + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.svgRemove : stack1), depth0)) != null ? stack1 : "")
347
- + "</span>";
348
- },"useData":true});
349
-
350
- /***/ }),
351
-
352
- /***/ "./src/shared/components/typeahead-input/typeahead.scss":
353
- /*!**************************************************************!*\
354
- !*** ./src/shared/components/typeahead-input/typeahead.scss ***!
355
- \**************************************************************/
356
- /*! no static exports found */
357
- /***/ (function(module, exports, __webpack_require__) {
358
-
359
- // extracted by mini-css-extract-plugin
360
- module.exports = {"svg":"cv--svg--1iL3O","typeaheadContainer":"cv--typeaheadContainer--1SWXc","disabled":"cv--disabled--3C2O8"};
361
-
362
- /***/ })
363
-
364
- }]);
365
- //# sourceMappingURL=25.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/typeahead-input/Typeahead.hbs","webpack://@clickview/library-editor/./src/shared/components/typeahead-input/typeahead.scss?b75a"],"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":""}