@clickview/library-editor 1.1.27-dev.1 → 1.1.27-rc.0

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 (361) hide show
  1. package/dist/en.json +1 -1
  2. package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +1 -0
  3. package/dist/libs/common/src/backbone/utils/LocalStorageHelper.d.ts +1 -1
  4. package/dist/libs/shared/src/interfaces/models/ClassroomGroup.d.ts +1 -1
  5. package/dist/projects/library-editor/src/app.d.ts +1 -0
  6. package/dist/projects/library-editor/src/apps/library-editor/components/tags/TagsComponent.d.ts +1 -0
  7. package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +1 -0
  8. package/dist/scripts/{0-e25d47c666.chunk.js → 0-93a3cbfbb6.chunk.js} +1 -1
  9. package/dist/scripts/{1-620c685eee.chunk.js → 1-69d9709724.chunk.js} +1 -1
  10. package/dist/scripts/{10-3baf058564.chunk.js → 10-8b01d98b20.chunk.js} +1 -1
  11. package/dist/scripts/{11-9f5f0c25dc.chunk.js → 11-cbe69fa3f0.chunk.js} +1 -1
  12. package/dist/scripts/{12-b460ad405e.chunk.js → 12-9b10cdc17d.chunk.js} +1 -1
  13. package/dist/scripts/13-1e10e6e87f.chunk.js +1 -0
  14. package/dist/scripts/{14-670309ef33.chunk.js → 14-ab7a30ee22.chunk.js} +1 -1
  15. package/dist/scripts/{15-39010184ed.chunk.js → 15-74a4408ee9.chunk.js} +1 -1
  16. package/dist/scripts/{16-0971cabfc8.chunk.js → 16-42f9f38a5b.chunk.js} +1 -1
  17. package/dist/scripts/{17-f364868870.chunk.js → 17-b1675f5397.chunk.js} +1 -1
  18. package/dist/scripts/{2-cd7f1d10b5.chunk.js → 2-cfce7347b3.chunk.js} +1 -1
  19. package/dist/scripts/{20-42dc06da39.chunk.js → 20-9f938a6f3e.chunk.js} +1 -1
  20. package/dist/scripts/{21-05615559be.chunk.js → 21-3a0591790a.chunk.js} +1 -1
  21. package/dist/scripts/{22-70b4c18dd2.chunk.js → 22-75ca7c2ae2.chunk.js} +1 -1
  22. package/dist/scripts/23-6cc6df1006.chunk.js +1 -0
  23. package/dist/scripts/{24-6fbd14025b.chunk.js → 24-857f2e7cba.chunk.js} +1 -1
  24. package/dist/scripts/{25-3d067b8b9a.chunk.js → 25-30d6eaa470.chunk.js} +1 -1
  25. package/dist/scripts/{26-468305820a.chunk.js → 26-7e0e9534cf.chunk.js} +1 -1
  26. package/dist/scripts/27-460f20f83b.chunk.js +1 -0
  27. package/dist/scripts/{28-f3f43a3001.chunk.js → 28-c4655d4bd8.chunk.js} +1 -1
  28. package/dist/scripts/{29-268278d2ac.chunk.js → 29-3629c8b906.chunk.js} +1 -1
  29. package/dist/scripts/{3-4694b66aa5.chunk.js → 3-34f154b85d.chunk.js} +1 -1
  30. package/dist/scripts/{30-694b0a0d4b.chunk.js → 30-9d7a8c6475.chunk.js} +1 -1
  31. package/dist/scripts/{31-4c542c18dc.chunk.js → 31-a80eb231ed.chunk.js} +1 -1
  32. package/dist/scripts/{32-a1543ffe27.chunk.js → 32-db0c763740.chunk.js} +1 -1
  33. package/dist/scripts/{33-9685703df6.chunk.js → 33-b9fef236ae.chunk.js} +1 -1
  34. package/dist/scripts/{34-eb9f6709b3.chunk.js → 34-d2a7193286.chunk.js} +1 -1
  35. package/dist/scripts/{35-1ff49137e7.chunk.js → 35-1b97d95b2a.chunk.js} +1 -1
  36. package/dist/scripts/{36-9e89154ca2.chunk.js → 36-179634ea36.chunk.js} +1 -1
  37. package/dist/scripts/{37-80589d542e.chunk.js → 37-e6d9fbefd1.chunk.js} +1 -1
  38. package/dist/scripts/{38-7e88534f67.chunk.js → 38-0c6051fb45.chunk.js} +1 -1
  39. package/dist/scripts/{39-99824f3b64.chunk.js → 39-5fffd05811.chunk.js} +1 -1
  40. package/dist/scripts/{4-ad1e4b43da.chunk.js → 4-2a04f5b2b3.chunk.js} +1 -1
  41. package/dist/scripts/{40-dbfd665c74.chunk.js → 40-5d3d9611b5.chunk.js} +1 -1
  42. package/dist/scripts/{41-25fbac3d17.chunk.js → 41-f3b2533950.chunk.js} +1 -1
  43. package/dist/scripts/42-075fbbf19d.chunk.js +1 -0
  44. package/dist/scripts/{43-5ef29feb2c.chunk.js → 43-205ccfa9a4.chunk.js} +1 -1
  45. package/dist/scripts/{44-223f602431.chunk.js → 44-4be8465afa.chunk.js} +1 -1
  46. package/dist/scripts/{45-344492a36f.chunk.js → 45-541254a177.chunk.js} +1 -1
  47. package/dist/scripts/{46-9ca7afd6a4.chunk.js → 46-fe575b6c9f.chunk.js} +1 -1
  48. package/dist/scripts/{47-ac0c9c5ce1.chunk.js → 47-18d84f7b83.chunk.js} +1 -1
  49. package/dist/scripts/{48-6bf590b9a0.chunk.js → 48-40adeb652e.chunk.js} +1 -1
  50. package/dist/scripts/{49-8e3e782ffb.chunk.js → 49-ac59f2a6fd.chunk.js} +1 -1
  51. package/dist/scripts/{5-b236603e85.chunk.js → 5-ce9948090c.chunk.js} +1 -1
  52. package/dist/scripts/{50-30ba08212e.chunk.js → 50-8cc4935ea5.chunk.js} +1 -1
  53. package/dist/scripts/{51-828972defb.chunk.js → 51-cd80402e6e.chunk.js} +1 -1
  54. package/dist/scripts/{52-b2acf3e742.chunk.js → 52-7e11748c73.chunk.js} +1 -1
  55. package/dist/scripts/{53-5d6ea94871.chunk.js → 53-e807e56657.chunk.js} +1 -1
  56. package/dist/scripts/{54-2d8bd6fde0.chunk.js → 54-265c2852ce.chunk.js} +1 -1
  57. package/dist/scripts/{55-4a8d360746.chunk.js → 55-68bef0b859.chunk.js} +1 -1
  58. package/dist/scripts/{56-ad12ebab5f.chunk.js → 56-f52cc13b44.chunk.js} +1 -1
  59. package/dist/scripts/{57-53b89c2ef0.chunk.js → 57-77549e4856.chunk.js} +1 -1
  60. package/dist/scripts/{58-b246abe78c.chunk.js → 58-3f44c0ba1a.chunk.js} +1 -1
  61. package/dist/scripts/{59-19290686e0.chunk.js → 59-bf231da287.chunk.js} +1 -1
  62. package/dist/scripts/{6-6fb543aa78.chunk.js → 6-97a29c3fdd.chunk.js} +1 -1
  63. package/dist/scripts/{60-0c075e7b5c.chunk.js → 60-c6a9325b5e.chunk.js} +1 -1
  64. package/dist/scripts/{61-2725bbfab2.chunk.js → 61-5fe4279f6d.chunk.js} +1 -1
  65. package/dist/scripts/{62-472d10a18e.chunk.js → 62-ff1c8453b6.chunk.js} +1 -1
  66. package/dist/scripts/{63-7d00e50441.chunk.js → 63-47a43e2399.chunk.js} +1 -1
  67. package/dist/scripts/{64-1b42f78644.chunk.js → 64-398f9ac217.chunk.js} +1 -1
  68. package/dist/scripts/{65-14af88c745.chunk.js → 65-d75308a09e.chunk.js} +1 -1
  69. package/dist/scripts/{66-bc274df13a.chunk.js → 66-ec32c5588a.chunk.js} +1 -1
  70. package/dist/scripts/{67-d1edef09d6.chunk.js → 67-6805e53bfb.chunk.js} +1 -1
  71. package/dist/scripts/{68-52468201b9.chunk.js → 68-046ada4945.chunk.js} +1 -1
  72. package/dist/scripts/{69-b681e9a99c.chunk.js → 69-235a8e6754.chunk.js} +1 -1
  73. package/dist/scripts/{7-2807a666bc.chunk.js → 7-55f3aed0f4.chunk.js} +1 -1
  74. package/dist/scripts/{70-d4018838a9.chunk.js → 70-150be3f4a2.chunk.js} +1 -1
  75. package/dist/scripts/{71-29cce07c7f.chunk.js → 71-c63b7a2a30.chunk.js} +1 -1
  76. package/dist/scripts/{72-6f83214b8d.chunk.js → 72-53bdb8c37f.chunk.js} +1 -1
  77. package/dist/scripts/{8-8f44e8bfc4.chunk.js → 8-94205353a6.chunk.js} +1 -1
  78. package/dist/scripts/{9-b8f9ea66c4.chunk.js → 9-0776e647a0.chunk.js} +1 -1
  79. package/dist/scripts/bundle-704119eb6d.min.js +8 -0
  80. package/dist/scripts/bundles.json +2 -2
  81. package/dist/scripts/polyfills-44c21c47b6.min.js +1 -0
  82. package/package.json +4 -4
  83. package/dist/css/1.chunk.css.map +0 -1
  84. package/dist/css/10.chunk.css.map +0 -1
  85. package/dist/css/11.chunk.css +0 -137
  86. package/dist/css/11.chunk.css.map +0 -1
  87. package/dist/css/12.chunk.css.map +0 -1
  88. package/dist/css/13.chunk.css.map +0 -1
  89. package/dist/css/14.chunk.css.map +0 -1
  90. package/dist/css/16.chunk.css.map +0 -1
  91. package/dist/css/17.chunk.css.map +0 -1
  92. package/dist/css/18.chunk.css +0 -20
  93. package/dist/css/18.chunk.css.map +0 -1
  94. package/dist/css/2.chunk.css +0 -145
  95. package/dist/css/2.chunk.css.map +0 -1
  96. package/dist/css/21.chunk.css.map +0 -1
  97. package/dist/css/22.chunk.css.map +0 -1
  98. package/dist/css/23.chunk.css.map +0 -1
  99. package/dist/css/25.chunk.css.map +0 -1
  100. package/dist/css/26.chunk.css.map +0 -1
  101. package/dist/css/28.chunk.css.map +0 -1
  102. package/dist/css/29.chunk.css.map +0 -1
  103. package/dist/css/3.chunk.css.map +0 -1
  104. package/dist/css/30.chunk.css.map +0 -1
  105. package/dist/css/31.chunk.css.map +0 -1
  106. package/dist/css/32.chunk.css.map +0 -1
  107. package/dist/css/33.chunk.css.map +0 -1
  108. package/dist/css/34.chunk.css +0 -21
  109. package/dist/css/34.chunk.css.map +0 -1
  110. package/dist/css/35.chunk.css +0 -20
  111. package/dist/css/35.chunk.css.map +0 -1
  112. package/dist/css/36.chunk.css +0 -14
  113. package/dist/css/36.chunk.css.map +0 -1
  114. package/dist/css/37.chunk.css.map +0 -1
  115. package/dist/css/38.chunk.css.map +0 -1
  116. package/dist/css/40.chunk.css.map +0 -1
  117. package/dist/css/41.chunk.css.map +0 -1
  118. package/dist/css/42.chunk.css.map +0 -1
  119. package/dist/css/43.chunk.css.map +0 -1
  120. package/dist/css/44.chunk.css.map +0 -1
  121. package/dist/css/45.chunk.css.map +0 -1
  122. package/dist/css/46.chunk.css.map +0 -1
  123. package/dist/css/47.chunk.css.map +0 -1
  124. package/dist/css/48.chunk.css.map +0 -1
  125. package/dist/css/49.chunk.css +0 -35
  126. package/dist/css/49.chunk.css.map +0 -1
  127. package/dist/css/50.chunk.css.map +0 -1
  128. package/dist/css/51.chunk.css.map +0 -1
  129. package/dist/css/52.chunk.css +0 -66
  130. package/dist/css/52.chunk.css.map +0 -1
  131. package/dist/css/55.chunk.css.map +0 -1
  132. package/dist/css/56.chunk.css.map +0 -1
  133. package/dist/css/58.chunk.css.map +0 -1
  134. package/dist/css/59.chunk.css.map +0 -1
  135. package/dist/css/6.chunk.css.map +0 -1
  136. package/dist/css/60.chunk.css +0 -18
  137. package/dist/css/60.chunk.css.map +0 -1
  138. package/dist/css/62.chunk.css.map +0 -1
  139. package/dist/css/63.chunk.css +0 -170
  140. package/dist/css/63.chunk.css.map +0 -1
  141. package/dist/css/67.chunk.css +0 -78
  142. package/dist/css/67.chunk.css.map +0 -1
  143. package/dist/css/68.chunk.css +0 -17
  144. package/dist/css/68.chunk.css.map +0 -1
  145. package/dist/css/69.chunk.css +0 -17
  146. package/dist/css/69.chunk.css.map +0 -1
  147. package/dist/css/7.chunk.css.map +0 -1
  148. package/dist/css/70.chunk.css +0 -23
  149. package/dist/css/70.chunk.css.map +0 -1
  150. package/dist/css/71.chunk.css +0 -40
  151. package/dist/css/71.chunk.css.map +0 -1
  152. package/dist/css/72.chunk.css +0 -16
  153. package/dist/css/72.chunk.css.map +0 -1
  154. package/dist/css/73.chunk.css +0 -37
  155. package/dist/css/73.chunk.css.map +0 -1
  156. package/dist/css/74.chunk.css +0 -29
  157. package/dist/css/74.chunk.css.map +0 -1
  158. package/dist/css/75.chunk.css +0 -6
  159. package/dist/css/75.chunk.css.map +0 -1
  160. package/dist/css/76.chunk.css +0 -6
  161. package/dist/css/76.chunk.css.map +0 -1
  162. package/dist/css/8.chunk.css.map +0 -1
  163. package/dist/css/library-editor-app.css.map +0 -1
  164. package/dist/libs/shared/src/enums/PlayerMediaType.d.ts +0 -5
  165. package/dist/libs/shared/src/interfaces/models/interactive.d.ts +0 -9
  166. package/dist/scripts/0.chunk.js +0 -1039
  167. package/dist/scripts/0.chunk.js.map +0 -1
  168. package/dist/scripts/1.chunk.js +0 -442
  169. package/dist/scripts/1.chunk.js.map +0 -1
  170. package/dist/scripts/10.chunk.js +0 -820
  171. package/dist/scripts/10.chunk.js.map +0 -1
  172. package/dist/scripts/11.chunk.js +0 -4091
  173. package/dist/scripts/11.chunk.js.map +0 -1
  174. package/dist/scripts/12.chunk.js +0 -555
  175. package/dist/scripts/12.chunk.js.map +0 -1
  176. package/dist/scripts/13-89b3a0aebb.chunk.js +0 -1
  177. package/dist/scripts/13.chunk.js +0 -380
  178. package/dist/scripts/13.chunk.js.map +0 -1
  179. package/dist/scripts/14.chunk.js +0 -2386
  180. package/dist/scripts/14.chunk.js.map +0 -1
  181. package/dist/scripts/15.chunk.js +0 -314
  182. package/dist/scripts/15.chunk.js.map +0 -1
  183. package/dist/scripts/16.chunk.js +0 -1290
  184. package/dist/scripts/16.chunk.js.map +0 -1
  185. package/dist/scripts/17.chunk.js +0 -381
  186. package/dist/scripts/17.chunk.js.map +0 -1
  187. package/dist/scripts/18.chunk.js +0 -393
  188. package/dist/scripts/18.chunk.js.map +0 -1
  189. package/dist/scripts/19.chunk.js +0 -364
  190. package/dist/scripts/19.chunk.js.map +0 -1
  191. package/dist/scripts/2.chunk.js +0 -523
  192. package/dist/scripts/2.chunk.js.map +0 -1
  193. package/dist/scripts/20.chunk.js +0 -317
  194. package/dist/scripts/20.chunk.js.map +0 -1
  195. package/dist/scripts/21.chunk.js +0 -531
  196. package/dist/scripts/21.chunk.js.map +0 -1
  197. package/dist/scripts/22.chunk.js +0 -354
  198. package/dist/scripts/22.chunk.js.map +0 -1
  199. package/dist/scripts/23-3166dfeef5.chunk.js +0 -1
  200. package/dist/scripts/23.chunk.js +0 -604
  201. package/dist/scripts/23.chunk.js.map +0 -1
  202. package/dist/scripts/24.chunk.js +0 -318
  203. package/dist/scripts/24.chunk.js.map +0 -1
  204. package/dist/scripts/25.chunk.js +0 -365
  205. package/dist/scripts/25.chunk.js.map +0 -1
  206. package/dist/scripts/26.chunk.js +0 -442
  207. package/dist/scripts/26.chunk.js.map +0 -1
  208. package/dist/scripts/27-d03a99658e.chunk.js +0 -1
  209. package/dist/scripts/27.chunk.js +0 -3630
  210. package/dist/scripts/27.chunk.js.map +0 -1
  211. package/dist/scripts/28.chunk.js +0 -3172
  212. package/dist/scripts/28.chunk.js.map +0 -1
  213. package/dist/scripts/29.chunk.js +0 -3090
  214. package/dist/scripts/29.chunk.js.map +0 -1
  215. package/dist/scripts/3.chunk.js +0 -845
  216. package/dist/scripts/3.chunk.js.map +0 -1
  217. package/dist/scripts/30.chunk.js +0 -1851
  218. package/dist/scripts/30.chunk.js.map +0 -1
  219. package/dist/scripts/31.chunk.js +0 -958
  220. package/dist/scripts/31.chunk.js.map +0 -1
  221. package/dist/scripts/32.chunk.js +0 -1239
  222. package/dist/scripts/32.chunk.js.map +0 -1
  223. package/dist/scripts/33.chunk.js +0 -971
  224. package/dist/scripts/33.chunk.js.map +0 -1
  225. package/dist/scripts/34.chunk.js +0 -990
  226. package/dist/scripts/34.chunk.js.map +0 -1
  227. package/dist/scripts/35.chunk.js +0 -518
  228. package/dist/scripts/35.chunk.js.map +0 -1
  229. package/dist/scripts/36.chunk.js +0 -335
  230. package/dist/scripts/36.chunk.js.map +0 -1
  231. package/dist/scripts/37.chunk.js +0 -236
  232. package/dist/scripts/37.chunk.js.map +0 -1
  233. package/dist/scripts/38.chunk.js +0 -315
  234. package/dist/scripts/38.chunk.js.map +0 -1
  235. package/dist/scripts/39.chunk.js +0 -107
  236. package/dist/scripts/39.chunk.js.map +0 -1
  237. package/dist/scripts/4.chunk.js +0 -335
  238. package/dist/scripts/4.chunk.js.map +0 -1
  239. package/dist/scripts/40.chunk.js +0 -2493
  240. package/dist/scripts/40.chunk.js.map +0 -1
  241. package/dist/scripts/41.chunk.js +0 -1782
  242. package/dist/scripts/41.chunk.js.map +0 -1
  243. package/dist/scripts/42-9f757567db.chunk.js +0 -1
  244. package/dist/scripts/42.chunk.js +0 -2327
  245. package/dist/scripts/42.chunk.js.map +0 -1
  246. package/dist/scripts/43.chunk.js +0 -1206
  247. package/dist/scripts/43.chunk.js.map +0 -1
  248. package/dist/scripts/44.chunk.js +0 -2245
  249. package/dist/scripts/44.chunk.js.map +0 -1
  250. package/dist/scripts/45.chunk.js +0 -1065
  251. package/dist/scripts/45.chunk.js.map +0 -1
  252. package/dist/scripts/46.chunk.js +0 -655
  253. package/dist/scripts/46.chunk.js.map +0 -1
  254. package/dist/scripts/47.chunk.js +0 -736
  255. package/dist/scripts/47.chunk.js.map +0 -1
  256. package/dist/scripts/48.chunk.js +0 -994
  257. package/dist/scripts/48.chunk.js.map +0 -1
  258. package/dist/scripts/49.chunk.js +0 -761
  259. package/dist/scripts/49.chunk.js.map +0 -1
  260. package/dist/scripts/5.chunk.js +0 -15
  261. package/dist/scripts/5.chunk.js.map +0 -1
  262. package/dist/scripts/50.chunk.js +0 -530
  263. package/dist/scripts/50.chunk.js.map +0 -1
  264. package/dist/scripts/51.chunk.js +0 -932
  265. package/dist/scripts/51.chunk.js.map +0 -1
  266. package/dist/scripts/52.chunk.js +0 -408
  267. package/dist/scripts/52.chunk.js.map +0 -1
  268. package/dist/scripts/53.chunk.js +0 -756
  269. package/dist/scripts/53.chunk.js.map +0 -1
  270. package/dist/scripts/54.chunk.js +0 -681
  271. package/dist/scripts/54.chunk.js.map +0 -1
  272. package/dist/scripts/55.chunk.js +0 -645
  273. package/dist/scripts/55.chunk.js.map +0 -1
  274. package/dist/scripts/56.chunk.js +0 -346
  275. package/dist/scripts/56.chunk.js.map +0 -1
  276. package/dist/scripts/57.chunk.js +0 -422
  277. package/dist/scripts/57.chunk.js.map +0 -1
  278. package/dist/scripts/58.chunk.js +0 -437
  279. package/dist/scripts/58.chunk.js.map +0 -1
  280. package/dist/scripts/59.chunk.js +0 -342
  281. package/dist/scripts/59.chunk.js.map +0 -1
  282. package/dist/scripts/6.chunk.js +0 -484
  283. package/dist/scripts/6.chunk.js.map +0 -1
  284. package/dist/scripts/60.chunk.js +0 -254
  285. package/dist/scripts/60.chunk.js.map +0 -1
  286. package/dist/scripts/61.chunk.js +0 -408
  287. package/dist/scripts/61.chunk.js.map +0 -1
  288. package/dist/scripts/62.chunk.js +0 -142
  289. package/dist/scripts/62.chunk.js.map +0 -1
  290. package/dist/scripts/63.chunk.js +0 -147
  291. package/dist/scripts/63.chunk.js.map +0 -1
  292. package/dist/scripts/64.chunk.js +0 -439
  293. package/dist/scripts/64.chunk.js.map +0 -1
  294. package/dist/scripts/65.chunk.js +0 -582
  295. package/dist/scripts/65.chunk.js.map +0 -1
  296. package/dist/scripts/66.chunk.js +0 -442
  297. package/dist/scripts/66.chunk.js.map +0 -1
  298. package/dist/scripts/67.chunk.js +0 -295
  299. package/dist/scripts/67.chunk.js.map +0 -1
  300. package/dist/scripts/68.chunk.js +0 -165
  301. package/dist/scripts/68.chunk.js.map +0 -1
  302. package/dist/scripts/69.chunk.js +0 -248
  303. package/dist/scripts/69.chunk.js.map +0 -1
  304. package/dist/scripts/7.chunk.js +0 -309
  305. package/dist/scripts/7.chunk.js.map +0 -1
  306. package/dist/scripts/70.chunk.js +0 -207
  307. package/dist/scripts/70.chunk.js.map +0 -1
  308. package/dist/scripts/71.chunk.js +0 -237
  309. package/dist/scripts/71.chunk.js.map +0 -1
  310. package/dist/scripts/72.chunk.js +0 -331
  311. package/dist/scripts/72.chunk.js.map +0 -1
  312. package/dist/scripts/73.chunk.js +0 -404
  313. package/dist/scripts/73.chunk.js.map +0 -1
  314. package/dist/scripts/74.chunk.js +0 -301
  315. package/dist/scripts/74.chunk.js.map +0 -1
  316. package/dist/scripts/75.chunk.js +0 -231
  317. package/dist/scripts/75.chunk.js.map +0 -1
  318. package/dist/scripts/76.chunk.js +0 -157
  319. package/dist/scripts/76.chunk.js.map +0 -1
  320. package/dist/scripts/77.chunk.js +0 -307
  321. package/dist/scripts/77.chunk.js.map +0 -1
  322. package/dist/scripts/78.chunk.js +0 -249
  323. package/dist/scripts/78.chunk.js.map +0 -1
  324. package/dist/scripts/79.chunk.js +0 -282
  325. package/dist/scripts/79.chunk.js.map +0 -1
  326. package/dist/scripts/8.chunk.js +0 -307
  327. package/dist/scripts/8.chunk.js.map +0 -1
  328. package/dist/scripts/80.chunk.js +0 -308
  329. package/dist/scripts/80.chunk.js.map +0 -1
  330. package/dist/scripts/81.chunk.js +0 -366
  331. package/dist/scripts/81.chunk.js.map +0 -1
  332. package/dist/scripts/82.chunk.js +0 -314
  333. package/dist/scripts/82.chunk.js.map +0 -1
  334. package/dist/scripts/83.chunk.js +0 -328
  335. package/dist/scripts/83.chunk.js.map +0 -1
  336. package/dist/scripts/84.chunk.js +0 -313
  337. package/dist/scripts/84.chunk.js.map +0 -1
  338. package/dist/scripts/85.chunk.js +0 -291
  339. package/dist/scripts/85.chunk.js.map +0 -1
  340. package/dist/scripts/86.chunk.js +0 -119
  341. package/dist/scripts/86.chunk.js.map +0 -1
  342. package/dist/scripts/87.chunk.js +0 -219
  343. package/dist/scripts/87.chunk.js.map +0 -1
  344. package/dist/scripts/88.chunk.js +0 -194
  345. package/dist/scripts/88.chunk.js.map +0 -1
  346. package/dist/scripts/89.chunk.js +0 -522
  347. package/dist/scripts/89.chunk.js.map +0 -1
  348. package/dist/scripts/9.chunk.js +0 -222
  349. package/dist/scripts/9.chunk.js.map +0 -1
  350. package/dist/scripts/90.chunk.js +0 -337
  351. package/dist/scripts/90.chunk.js.map +0 -1
  352. package/dist/scripts/91.chunk.js +0 -131
  353. package/dist/scripts/91.chunk.js.map +0 -1
  354. package/dist/scripts/92.chunk.js +0 -266
  355. package/dist/scripts/92.chunk.js.map +0 -1
  356. package/dist/scripts/bundle-f28b86bf5b.min.js +0 -8
  357. package/dist/scripts/bundle.js +0 -67206
  358. package/dist/scripts/bundle.js.map +0 -1
  359. package/dist/scripts/polyfills-1d2233ebcc.min.js +0 -1
  360. package/dist/scripts/polyfills.js +0 -14866
  361. package/dist/scripts/polyfills.js.map +0 -1
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[13],{1118:function(e,n,t){"use strict";t.d(n,"a",(function(){return k}));var o=t(1),r=t(6),i=t(2),a=t(19),l=t(15),s=t(92),u=t(12),c=t(1169),p=t.n(c),d=t(1170),h=t.n(d);function f(e){return(f="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 m(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g(e,n){return(g=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function y(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=v(e);if(n){var r=v(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return b(this,t)}}function b(e,n){return!n||"object"!==f(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&g(e,n)}(f,e);var n,t,c,d=y(f);function f(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,f),d.call(this,e)}return n=f,(t=[{key:"events",value:function(){return{submit:"onSubmit","click .remove":"onClickRemove"}}},{key:"initialize",value:function(){this.model||this.options.parentChannelName||i.a.ErrorHelper.throw(new a.a("Either pass a model or a channelName to access the typeahead selection")),this.model||(this.model=new i.a.Model),this.options.inputName||(this.options.inputName=this.options.inputId),this.bindListeners()}},{key:"bindListeners",value:function(){this.options.parentChannelName&&(this.parentChannel=r.Radio.channel(this.options.parentChannelName)),this.listenTo(this.channelName,"typeahead:set:input",this.setInput),this.listenTo(this.channelName,"typeahead:clear:input",this.clearInput)}},{key:"clearInput",value:function(){this.getUI("input").typeahead("val",null)}},{key:"setInput",value:function(e){this.getUI("input").typeahead("val",e)}},{key:"onTypeaheadSelect",value:function(e,n){var t;e.preventDefault(),t="string"==typeof n?n:n.title||n.name||n.query,this.model.set(this.options.stickItProperty,t),this.parentChannel&&this.options.selectEvent&&this.parentChannel.trigger(this.options.selectEvent,n),this.onSubmit(e),this.toggleRemove()}},{key:"onSubmit",value:function(e){var n=this;if(e.preventDefault(),!this.isDestroyed()&&this.getTypeaheadActionOptions().clearOnSelect)return this.getUI("input").typeahead("close"),setTimeout((function(){n.model.clear(),n.clearInput()}),0),!1}},{key:"onClickRemove",value:function(){this.model.clear(),this.parentChannel.trigger(this.options.removeEvent,this.model),this.toggleRemove()}},{key:"getSources",value:function(){return o.isArray(this.options.typeaheadConfigs)?s.a.getSearchSources(this.options.typeaheadConfigs):s.a.getSearchSources([this.options.typeaheadConfigs])}},{key:"getTypeaheadOptions",value:function(){var e={minLength:1,highlight:!0};return this.options.typeaheadOptions?o.extend({},e,this.options.typeaheadOptions):e}},{key:"getTypeaheadActionOptions",value:function(){var e={clearOnSelect:!1};return o.isObject(this.options.actionOptions)?o.extend({},e,this.options.actionOptions):e}},{key:"bindOptionalCallbacks",value:function(){o.isObject(this.options.callbacks)&&(o.isFunction(this.options.callbacks.onRender)&&this.getUI("input").on("typeahead:render",o.bind(this.options.callbacks.onRender,this)),o.isFunction(this.options.callbacks.onInput)&&this.listenTo(this.model,"change:".concat(this.options.stickItProperty),this.options.callbacks.onInput),o.isFunction(this.options.callbacks.onBlur)&&this.getUI("input").on("blur",o.bind(this.options.callbacks.onBlur,this,this.channelName,this.options.stickItProperty)))}},{key:"initTypeahead",value:function(){this.getUI("input").typeahead(this.getTypeaheadOptions(),this.getSources())}},{key:"initTypeaheadListeners",value:function(){this.getUI("input").on("typeahead:select",o.bind(this.onTypeaheadSelect,this)),this.bindOptionalCallbacks()}},{key:"toggleRemove",value:function(){this.shouldShowRemove()?this.$el.find(".remove").show():this.$el.find(".remove").hide()}},{key:"shouldShowRemove",value:function(){return!!this.options.editable&&(!!this.options.forceShowRemoveButton||this.options.removeEvent&&!!this.model.get(this.options.stickItProperty))}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:h.a},this.options),{showRemove:this.shouldShowRemove(),svgRemove:l.a.getSvg(l.b.Close)})}},{key:"onRender",value:function(){this.stickit(),this.initTypeahead(),this.initTypeaheadListeners(),r.Validation.bind(this),this.toggleRemove()}},{key:"onClose",value:function(){this.getUI("input").off(),this.unstickit(),r.Validation.unbind(this)}},{key:"name",get:function(){return"SearchTypeaheadComponent"}},{key:"template",get:function(){return p.a}},{key:"className",get:function(){return"search-container ".concat(h.a.typeaheadContainer," mb-2")}},{key:"channelName",get:function(){return u.k.generateUniqueChannelName(this)}},{key:"elements",get:function(){return{input:"#".concat(this.options.inputId)}}},{key:"defaults",get:function(){return{inputId:"search-typeahead",placeholderText:"Search",stickItProperty:"name",selectEvent:"select:result",additionalClasses:"",editable:!0}}},{key:"bindings",get:function(){var e,n,t,o="[name=".concat(this.options.inputName,"]");return e={},n=o,t={observe:this.options.stickItProperty,setOptions:{validate:!0}},n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}}])&&m(n.prototype,t),c&&m(n,c),f}(i.a.Component)},1169:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},3:function(e,n,t,o,r){return"autofocus"},5:function(e,n,t,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return'<input\r\n name="'+l(a(null!=(i=null!=n?n.options:n)?i.inputName:i,n))+'"\r\n type="text"\r\n class="form-control '+(null!=(i=t.unless.call(s,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+" "+l(a(null!=(i=null!=n?n.options:n)?i.additionalClasses:i,n))+'"\r\n id="'+l(a(null!=(i=null!=n?n.options:n)?i.inputId:i,n))+'"\r\n autocomplete="off"\r\n placeholder="'+l(a(null!=(i=null!=n?n.options:n)?i.placeholderText:i,n))+'"\r\n '+(null!=(i=t.if.call(s,null!=(i=null!=n?n.options:n)?i.autofocus:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n "+(null!=(i=t.unless.call(s,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n></input>\r\n<span class="svg-container mb-2 '+l(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.svg:i,n))+' remove" style="display: none;">'+(null!=(i=a(null!=(i=null!=n?n.options:n)?i.svgRemove:i,n))?i:"")+"</span>"},useData:!0})},1170:function(e,n,t){e.exports={svg:"_1iL3O",typeaheadContainer:"_1SWXc",disabled:"_3C2O8"}},1213:function(e,n,t){"use strict";t.d(n,"a",(function(){return w}));var o=t(6),r=t(2),i=t(15),a=t(1217),l=t(1215),s=t(3),u=t(0),c=t(186),p=t(1275),d=t.n(p),h=t(1117),f=t.n(h);function m(e){return(m="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 g(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function y(e,n){return(y=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function b(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=k(e);if(n){var r=k(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return v(this,t)}}function v(e,n){return!n||"object"!==m(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&y(e,n)}(h,e);var n,t,r,p=b(h);function h(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,h),p.call(this,e)}return n=h,(t=[{key:"events",value:function(){return{submit:function(e){return e.preventDefault()}}}},{key:"regions",value:function(){return{description:{el:".description-region",replaceElement:!0},ratings:{el:".ratings-region",replaceElement:!0}}}},{key:"renderDescription",value:function(){this.showChildView("description",new l.a({name:"description",class:"form-control ".concat(!this.options.editable&&f.a.disabled),placeholder:this.options.editable?s.a.getPhrase(this.lang,"descriptionPlaceholder"):"",id:"edit-description",disabled:!this.options.editable}))}},{key:"renderRatings",value:function(){this.showChildView("ratings",new a.a({model:this.model.rating,collection:this.options.ratings,parentChannelName:this.options.channelName,editable:this.options.editable,videoId:this.model.get("id")}))}},{key:"viewOptions",value:function(){return{styles:f.a,requiredFields:this.options.requiredFields,videoTitlePlaceholder:this.options.editable?s.a.getPhrase(this.lang,"titlePlaceholder"):"",editable:this.options.editable,publisherArchiveSvg:i.a.getSvg(i.b.PublisherArchive),showPublisherVideoDetails:this.options.showPublisherVideoDetails,showingSaveButton:this.options.showingSaveButton}}},{key:"onRender",value:function(){this.renderDescription(),this.renderRatings(),this.stickit(),o.Validation.bind(this)}},{key:"onDestroy",value:function(){this.unstickit(),o.Validation.unbind(this)}},{key:"name",get:function(){return"EditBasicInfoComponent"}},{key:"tagName",get:function(){return"form"}},{key:"template",get:function(){return d.a}},{key:"lang",get:function(){return"shared.editBasicInfo"}},{key:"channelName",get:function(){return this.options.channelName}},{key:"className",get:function(){return"edit-basic-info"}},{key:"appLinks",get:function(){return{".suggest-title":{application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:c.e.VideoTitle}},".suggest-description":{application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:c.e.Description}},".applink-publisher-video":{application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.SHOW_PUBLISHER_VIDEO,args:[this.model.get("id")]}}}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}},"[name=description]":{observe:"description",setOptions:{validate:!0}}}}}])&&g(n.prototype,t),r&&g(n,r),h}(r.a.Component)},1215:function(e,n,t){"use strict";t.d(n,"a",(function(){return m}));var o=t(1),r=t(2),i=t(1273),a=t.n(i),l=t(1274),s=t.n(l);function u(e){return(u="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 c(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,n){return(p=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function d(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=f(e);if(n){var r=f(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return h(this,t)}}function h(e,n){return!n||"object"!==u(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&p(e,n)}(l,e);var n,t,r,i=d(l);function l(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l),i.call(this,e)}return n=l,(t=[{key:"events",value:function(){return{"input .event-selector":"onInput"}}},{key:"onInput",value:function(e){var n=e.target;n.style.height="inherit";var t=window.getComputedStyle(n),o=parseInt(t.getPropertyValue("border-top-width"),10)+parseInt(t.getPropertyValue("padding-top"),10)+n.scrollHeight+parseInt(t.getPropertyValue("padding-bottom"),10)+parseInt(t.getPropertyValue("border-bottom-width"),10);n.style.height=o+"px"}},{key:"viewOptions",value:function(){return o.extend({},this.options,{styles:s.a})}},{key:"name",get:function(){return"ResizingTextAreaComponent"}},{key:"template",get:function(){return a.a}}])&&c(n.prototype,t),r&&c(n,r),l}(r.a.Component)},1216:function(e,n,t){"use strict";var o=t(1),r=t(6),i=t(2),a=t(92),l=t(282),s=t(1118),u=t(308),c=t(0),p=t(29),d=t(15),h=t(1278),f=t.n(h),m=t(1279),g=t.n(m);function y(e){return(y="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 b(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e,n){return(v=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function k(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=C(e);if(n){var r=C(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return w(this,t)}}function w(e,n){return!n||"object"!==y(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&v(e,n)}(a,e);var n,t,o,i=k(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return n=a,(t=[{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(){r.Radio.channel(this.options.channelName).trigger("clear:date")}},{key:"onBeforeRender",value:function(){return!!this.options.shouldRender}},{key:"viewOptions",value:function(){return{styles:g.a,svgClear:d.a.getSvg(d.b.Close)}}},{key:"name",get:function(){return"ClearButtonComponent"}},{key:"className",get:function(){return"".concat(g.a.clearButton)}},{key:"template",get:function(){return f.a}}])&&b(n.prototype,t),o&&b(n,o),a}(i.a.Component),S=t(3),x=t(186),O=t(1280),I=t.n(O),T=t(1281),R=t.n(T),P=t(1117),D=t.n(P);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 N(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function j(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function B(e,n){return(B=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function A(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=V(e);if(n){var r=V(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return L(this,t)}}function L(e,n){return!n||"object"!==_(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&B(e,n)}(a,e);var n,t,r,i=A(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return n=a,(t=[{key:"initialize",value:function(){this.listenTo(this.model,"change:".concat(this.options.modelAttr),this.renderClearDateButton),this.listenTo(this.channelName,"clear:date",this.onClearDate)}},{key:"regions",value:function(){return{clearButton:{el:".clear-button-region"}}}},{key:"events",value:function(){return N({"keydown @ui.date":"onKeyDownDate"},"click .".concat(R.a.calendarSvg),"onClickCalendarIcon")}},{key:"getInstanceClassName",value:function(){return"datetimepicker-".concat(this.cid)}},{key:"initDatePicker",value:function(){this.getUI("date").datetimepicker({format:this.options.displayedTimeFormat,minDate:p().year(this.options.minYear),maxDate:p(),icons:{previous:R.a.previous,next:R.a.next}})}},{key:"getFormattedDisplayDate",value:function(e){if(e)return o.isFunction(this.options.formatDisplayDate)?this.options.formatDisplayDate(e):p.utc(e).local().format(this.options.displayedTimeFormat)}},{key:"getFormattedSavedDate",value:function(e){if(e)return o.isFunction(this.options.formatSavedDate)?this.options.formatSavedDate(e):this.options.savedTimeFormat?p.utc(e).format(this.options.savedTimeFormat):p.utc(e).format()}},{key:"onClickCalendarIcon",value:function(){if(this.options.editable)return this.getUI("date").datetimepicker("toggle"),!0}},{key:"onClearDate",value:function(){return!this.options.allowClearDate||(this.model.set(N({},"".concat(this.options.modelAttr),null)),!0)}},{key:"onKeyDownDate",value:function(e){this.options.allowTextInput||e.preventDefault()}},{key:"renderClearDateButton",value:function(){this.showChildView("clearButton",new E({channelName:this.channelName,shouldRender:this.options.allowClearDate&&!!this.model.get("dateBroadcast")}))}},{key:"viewOptions",value:function(){return{styles:o.extend(D.a,R.a),label:this.options.label,modelAttr:this.options.modelAttr,instanceClass:this.getInstanceClassName(),placeholderText:this.options.placeholderText,displayedTimeFormat:this.options.displayedTimeFormat,svgCalendar:d.a.getSvg(d.b.Calendar),svgClear:d.a.getSvg(d.b.Close),editable:this.options.editable}}},{key:"onRender",value:function(){this.initDatePicker(),this.renderClearDateButton()}},{key:"name",get:function(){return"DatePickerComponent"}},{key:"template",get:function(){return I.a}},{key:"lang",get:function(){return"shared.datePicker"}},{key:"channelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"elements",get:function(){return{date:"#".concat(this.options.modelAttr)}}},{key:"appLinks",get:function(){return{".suggest-broadcast-date":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:x.e.BroadcastDate}}}}},{key:"defaults",get:function(){return{placeholderText:S.a.getPhrase(this.lang,"placeholder"),allowTextInput:!1,allowClearDate:!0,minYear:1900,editable:!0}}},{key:"behaviors",get:function(){return[{behaviorClass:l.a},{behaviorClass:l.f}]}},{key:"bindings",get:function(){var e=this;return N({},"[name=".concat(this.options.modelAttr,"]"),{observe:this.options.modelAttr,setOptions:{validate:!0},onGet:function(n){return e.getFormattedDisplayDate(n)},onSet:function(n){return e.getFormattedSavedDate(n)}})}}])&&j(n.prototype,t),r&&j(n,r),a}(i.a.Component),M=t(9),U=t(289),Y=t(1282),G=t.n(Y);function z(e){return(z="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 q(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function J(e,n){return(J=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function H(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=K(e);if(n){var r=K(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return W(this,t)}}function W(e,n){return!n||"object"!==z(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Z=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&J(e,n)}(i,e);var n,t,o,r=H(i);function i(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return n=i,(t=[{key:"regions",value:function(){return{dateBroadcast:{el:".date-broadcast-region",replaceElement:!0},channelSearch:{el:".channel-search-region",replaceElement:!0}}}},{key:"buildTypeaheadConfig",value:function(){return{name:c.v.ChannelRaw,typeaheadConfig:U.a.getTypeaheadConfig(),bloodhoundConfig:U.a.getBloodhoundConfig()}}},{key:"renderBroadcastDate",value:function(){this.showChildView("dateBroadcast",new F({model:this.model,label:S.a.getPhrase(this.lang,"broadcastDate"),modelAttr:"dateBroadcast",displayedTimeFormat:M.l.FULL_YEAR,placeholderText:this.options.editable?S.a.getPhrase(this.lang,"selectBroadcastDate"):"",allowClearDate:this.options.editable,editable:this.options.editable}))}},{key:"renderChannelTypeahead",value:function(){this.model.get("channel")||this.model.set("channel",new u.a),this.showChildView("channelSearch",new s.a({model:this.model.get("channel"),parentChannelName:this.options.channelName,inputId:"channel-search",selectEvent:"select:channel",placeholderText:this.options.editable?S.a.getPhrase(this.lang,"searchChannels"):"",typeaheadConfigs:this.buildTypeaheadConfig(),callbacks:{onInput:a.a.emitEventOnInput(this.options.channelName,x.d.DetectInput,"channel"),onBlur:a.a.resetAssociationOnBlur(this.model.get("channel").toJSON())},editable:this.options.editable,removeEvent:"remove:channel"}))}},{key:"viewOptions",value:function(){return{styles:D.a,editable:this.options.editable}}},{key:"onRender",value:function(){this.renderBroadcastDate(),this.renderChannelTypeahead()}},{key:"name",get:function(){return"EditBroadcastComponent"}},{key:"template",get:function(){return G.a}},{key:"lang",get:function(){return"shared.editBroadcast"}},{key:"className",get:function(){return"edit-broadcast"}},{key:"appLinks",get:function(){return{".suggest-channel":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:x.e.Channel}}}}}])&&q(n.prototype,t),o&&q(n,o),i}(i.a.Component),$=t(1283),X=t.n($),Q=t(1284),ee=t.n(Q);function ne(e){return(ne="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 te(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oe(e,n){return(oe=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function re(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=ae(e);if(n){var r=ae(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return ie(this,t)}}function ie(e,n){return!n||"object"!==ne(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var le=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&oe(e,n)}(i,e);var n,t,o,r=re(i);function i(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return n=i,(t=[{key:"regions",value:function(){return{broadcast:{el:".broadcast-region",replaceElement:!0}}}},{key:"initialize",value:function(){this.listenTo(this.model,"change:hasBroadcast",this.render),this.initBroadcast()}},{key:"initBroadcast",value:function(){var e=this.model.get("channel"),n=this.model.get("dateBroadcast")||e&&e.get("id");this.model.set("hasBroadcast",!!n,{silent:!0})}},{key:"renderEditBroadcast",value:function(){this.model.get("hasBroadcast")||this.options.hideToggle?this.showChildView("broadcast",new Z({model:this.model,channelName:this.options.channelName,editable:this.options.editable})):this.getRegion("broadcast").empty()}},{key:"viewOptions",value:function(){return Object.assign({styles:ee.a},this.options)}},{key:"onRender",value:function(){this.renderEditBroadcast()}},{key:"name",get:function(){return"ToggleBroadcastComponent"}},{key:"template",get:function(){return X.a}},{key:"lang",get:function(){return"shared.toggleBroadcast"}},{key:"className",get:function(){return"toggle-broadcast"}},{key:"behaviors",get:function(){return this.options.hideToggle?[]:[{behaviorClass:l.a},{behaviorClass:l.f}]}},{key:"bindings",get:function(){return{"[name=toggleBroadcast]":{observe:"hasBroadcast"}}}}])&&te(n.prototype,t),o&&te(n,o),i}(i.a.Component),se=t(30),ue=t(243),ce=t(12),pe=t(1055),de=t(1285),he=t.n(de),fe=t(1286),me=t.n(fe),ge=t(1287),ye=t.n(ge);function be(e){return(be="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 ve(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function ke(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function we(e,n,t){return n&&ke(e.prototype,n),t&&ke(e,t),e}function Ce(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Ee(e,n)}function Ee(e,n){return(Ee=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function Se(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=Oe(e);if(n){var r=Oe(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return xe(this,t)}}function xe(e,n){return!n||"object"!==be(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ie=function(e){Ce(t,e);var n=Se(t);function t(e){var o;return ve(this,t),(o=n.call(this,e)).showSpinner=!1,o.disableBtn=!0,o}return we(t,[{key:"initialize",value:function(){this.bindListeners()}},{key:"regions",value:function(){return{button:{el:".button-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(this.model,"change",this.onChange),this.listenTo(this.options.channelName,"create:season",this.onCreateSeason),this.listenTo(c.e.SERIES,"".concat(c.f.CREATE_SEASON,":").concat(this.options.seriesId,":sync"),this.onSync)}},{key:"onChange",value:function(){this.disableBtn=!this.model.isValid(),this.renderButton()}},{key:"onCreateSeason",value:function(){this.disableBtn||(this.model.validate(),this.model.isValid()&&(this.showSpinner=!0,this.renderButton(),this.model.set("number",parseInt(this.model.get("number"))),r.Radio.channel(this.options.channelName).trigger("select:season",this.model.toJSON())))}},{key:"onSync",value:function(){this.disableBtn=!0,this.showSpinner=!1,this.model.clear(),this.renderButton()}},{key:"viewOptions",value:function(){return{model:this.model,show:this.options.show}}},{key:"renderButton",value:function(){this.options.show&&this.showChildView("button",new ue.a({channelName:this.options.channelName,saveEvent:"create:season",extraButtonClass:"btn btn-primary",buttonText:"Create",buttonType:"submit",showSpinner:this.showSpinner,disabled:this.disableBtn,spinnerOptions:{size:ce.r.Small}}))}},{key:"onRender",value:function(){this.stickit(),this.renderButton()}},{key:"onClose",value:function(){this.unstickit()}},{key:"name",get:function(){return"CreateSeasonComponent"}},{key:"template",get:function(){return he.a}},{key:"className",get:function(){return"px-2"}},{key:"bindings",get:function(){return{"[name=number]":{observe:"number",setOptions:{validate:!0}}}}},{key:"behaviors",get:function(){return[{behaviorClass:l.f},{behaviorClass:l.a}]}}]),t}(i.a.Component),Te=function(e){Ce(t,e);var n=Se(t);function t(e){return ve(this,t),n.call(this,e)}return we(t,[{key:"initialize",value:function(){this.model.get("season.id")&&ce.c.setSelected(this.model.get("season.id"),this.collection),this.viewModel=se.a.get("".concat(this.name,":").concat(this.model.get("id"))),this.options.disabled||this.viewModel.addValidation(pe.f)}},{key:"events",value:function(){return{"click .dropdown-btn":"onToggleDropdown","click .dropdown-menu":"onClickPopover","click .create":"onClickCreateNewSeason","change .custom-select":"onSelectOption","click .remove":"onClickRemove"}}},{key:"regions",value:function(){return{create:{el:".create-region",replaceElement:!0}}}},{key:"onToggleDropdown",value:function(e){this.options.disabled?e.stopPropagation():this.renderCreate()}},{key:"onClickPopover",value:function(e){e.stopPropagation()}},{key:"onClickCreateNewSeason",value:function(e){e.preventDefault(),this.showCreateForm=!0,this.renderCreate()}},{key:"onSelectOption",value:function(e){var n=e.target.value,t="-1"===n?null:this.collection.findWhere({number:+n}).toJSON();this.setButtonText(n),r.Radio.channel(this.options.channelName).trigger("select:season",t),this.showCreateForm=!1,this.render()}},{key:"onClickRemove",value:function(e){e.stopPropagation(),r.Radio.channel(this.options.channelName).trigger("select:season",null),this.showCreateForm=!1,this.render()}},{key:"setButtonText",value:function(e){if(this.options.isSuggestEdit){var n=e&&"-1"!==e?S.a.getPhrase(this.lang,"season",{number:e}):"";this.getUI("dropdownBtn").text(n)}else{var t=e&&"-1"!==e?"season":"placeholder";this.getUI("dropdownBtn").text(S.a.getPhrase(this.lang,t,{number:e}))}}},{key:"renderCreate",value:function(){this.showChildView("create",new Ie({model:this.viewModel,channelName:this.options.channelName,show:this.showCreateForm,seriesId:this.model.get("series.id")}))}},{key:"viewOptions",value:function(){return{styles:ye.a,disabled:this.options.disabled,seasons:this.collection.toJSON(),svgRemove:d.a.getSvg(d.b.Close),showRemoveIcon:!!this.model.get("season.id")&&!this.options.isSuggestEdit}}},{key:"onRender",value:function(){this.renderCreate(),this.setButtonText(this.model.get("season.number"))}},{key:"name",get:function(){return"EditSeasonInfoComponent"}},{key:"template",get:function(){return me.a}},{key:"className",get:function(){return ye.a.seasonContainer}},{key:"lang",get:function(){return"shared.editSeasonInfo"}},{key:"elements",get:function(){return{dropdownBtn:".dropdown-btn"}}}]),t}(i.a.Component),Re=t(295),Pe=t(1288),De=t.n(Pe),_e=t(1289),Ne=t.n(_e);function je(e){return(je="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 Be(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ae(e,n){return(Ae=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function Le(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=Fe(e);if(n){var r=Fe(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return Ve(this,t)}}function Ve(e,n){return!n||"object"!==je(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.d(n,"a",(function(){return Me}));var Me=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Ae(e,n)}(d,e);var n,t,u,p=Le(d);function d(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,d),p.call(this,e)}return n=d,(t=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"select:season",this.onSelectSeason),this.listenTo(this.options.channelName,"clear:series",this.onSeriesChange),this.listenTo(this.model,"change:series",this.onSeriesChange),this.lockSeasonAndEpisode=!this.options.editable||!this.model.get("series.id")}},{key:"events",value:function(){return{submit:function(e){return e.preventDefault()}}}},{key:"regions",value:function(){return{series:{el:".edit-series-region",replaceElement:!0},season:{el:".edit-season-region",replaceElement:!0},broadcast:{el:".edit-broadcast-region",replaceElement:!0}}}},{key:"onSelectSeason",value:function(e){e&&this.getUI("episodeNumberField").focus(),r.Radio.channel(this.options.channelName).trigger("add:season",e)}},{key:"onSeriesChange",value:function(e){this.lockSeasonAndEpisode=!e||!e.get("id"),this.renderEditSeason();var n=this.getUI("episodeNumberField");this.lockSeasonAndEpisode?(n.attr("disabled","disabled"),n.attr("class","form-control ".concat(Ne.a.disabled))):(n.removeAttr("disabled"),n.attr("class","form-control"))}},{key:"getLibraryIds",value:function(e){return e&&e.map((function(e){return e.id})).join(",")}},{key:"getTypeaheadConfigs",value:function(){var e=ce.m.getTypeaheadConfig(),n=ce.m.getBloodhoundConfig(),t={newType:c.v.Series},o={newType:c.v.Series,footerTemplate:a.a.getConfirmSelectionTemplate()};return[{name:c.v.Series,typeaheadConfig:e,bloodhoundConfig:n,options:{hideEmptyResults:!0}},{name:"add-new",typeaheadConfig:e,bloodhoundConfig:n,options:t},{name:"empty-suggestion",typeaheadConfig:e,bloodhoundConfig:n,options:o}]}},{key:"renderSeriesTypeahead",value:function(){var e=this.model.series||new i.a.Model;this.showChildView("series",new s.a({model:e,editable:this.options.editable,parentChannelName:this.options.channelName,inputId:"series-search",selectEvent:"select:series",placeholderText:this.options.editable?S.a.getPhrase(this.lang,"searchSeries"):"",typeaheadConfigs:this.getTypeaheadConfigs(),typeaheadOptions:{hint:!1},callbacks:{onRender:a.a.selectFirstResult,onInput:a.a.emitEventOnInput(this.options.channelName,x.d.DetectInput,"series"),onBlur:a.a.resetAssociationOnBlur(e.toJSON())},removeEvent:"remove:series"}))}},{key:"renderEditSeason",value:function(){var e=this,n=this.model.get("series.seasons")||new Re.a,t=new Re.a(n.map((function(n){return n.set("displayName",S.a.getPhrase(e.lang,"seasonNumber",{number:n.get("number")}))})));this.showChildView("season",new Te({model:this.model,collection:t,channelName:this.options.channelName,disabled:!this.options.editable||this.lockSeasonAndEpisode,isSuggestEdit:!this.options.editable}))}},{key:"renderEditBroadcast",value:function(){this.showChildView("broadcast",new le({model:this.model,channelName:this.options.channelName,hideToggle:!0,editable:this.options.editable}))}},{key:"viewOptions",value:function(){return{styles:o.extend({},D.a,Ne.a),editable:this.options.editable,lockEpisodeNumber:this.lockSeasonAndEpisode,episodeNumberPlaceholderText:this.options.editable?S.a.getPhrase(this.lang,"epNumberPlaceholder"):""}}},{key:"onRender",value:function(){this.stickit(),r.Validation.bind(this),this.renderSeriesTypeahead(),this.renderEditSeason(),this.renderEditBroadcast()}},{key:"onClose",value:function(){this.unstickit(),r.Validation.unbind(this)}},{key:"name",get:function(){return"EditAdditionalInfoComponent"}},{key:"tagName",get:function(){return"form"}},{key:"lang",get:function(){return"shared.editAdditionalInfo"}},{key:"template",get:function(){return De.a}},{key:"className",get:function(){return"edit-additional-info border-top pt-3"}},{key:"elements",get:function(){return{episodeNumberField:".episode-number",seriesTypeahead:".tt-input"}}},{key:"appLinks",get:function(){return{".suggest-series-title":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:x.e.SeriesTitle}},".suggest-season-number":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:x.e.Season}},".suggest-episode-number":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:x.e.EpisodeNumber}}}}},{key:"behaviors",get:function(){return[{behaviorClass:l.f},{behaviorClass:l.a}]}},{key:"bindings",get:function(){return{"[name=episodeNumber]":{observe:"episodeNumber",setOptions:{validate:!0},onSet:function(e){return e?+e:null}}}}}])&&Be(n.prototype,t),u&&Be(n,u),d}(i.a.Component)},1218:function(e,n,t){"use strict";var o=t(1),r=t(6),i=t(2),a=t(15),l=t(92),s=t(282),u=t(0),c=t(3),p=t(1118),d=t(186),h=t(1276),f=t.n(h);function m(e){return(m="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 g(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function y(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b(e,n,t){return n&&y(e.prototype,n),t&&y(e,t),e}function v(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&k(e,n)}function k(e,n){return(k=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function w(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=E(e);if(n){var r=E(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return C(this,t)}}function C(e,n){return!n||"object"!==m(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e){v(t,e);var n=w(t);function t(e){return g(this,t),n.call(this,e)}return b(t,[{key:"name",get:function(){return"TypeaheadListComponentCollection"}},{key:"childViewOptions",get:function(){return Object.assign({},this.options)}},{key:"childView",get:function(){return x}}]),t}(i.a.ComponentCollection),x=function(e){v(t,e);var n=w(t);function t(e){return g(this,t),n.call(this,e)}return b(t,[{key:"regions",value:function(){return{typeahead:{el:".typeahead-region",replaceElement:!1}}}},{key:"renderTypeahead",value:function(){this.showChildView("typeahead",new p.a({model:this.model,parentChannelName:this.options.channelName,inputId:this.options.inputId,selectEvent:this.options.selectEvent,typeaheadConfigs:this.options.typeaheadConfig,placeholderText:this.options.editable?this.options.placeholderText:"",callbacks:{onRender:l.a.selectFirstResult,onInput:l.a.emitEventOnInput(this.options.channelName,d.d.DetectInput,this.options.modelType,{isCollection:!0})},editable:this.options.editable,actionOptions:{clearOnSelect:!0},removeEvent:this.options.removeEvent,forceShowRemoveButton:this.collection.length>1||!!this.model.get("name")}))}},{key:"viewOptions",value:function(){return{id:this.modelId}}},{key:"onRender",value:function(){this.renderTypeahead()}},{key:"name",get:function(){return"TypeaheadListComponent"}},{key:"template",get:function(){return f.a}},{key:"modelId",get:function(){return this.model.get("id")||"new-model"}},{key:"bindings",get:function(){return e={},n="[name=".concat(this.modelId,"]"),t={observe:"name",setOptions:{validate:!0}},n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}}]),t}(i.a.Component),O=t(289),I=t(9),T=t(472),R=t(471),P=t(473),D=t(474),_=t(1277),N=t.n(_),j=t(1117),B=t.n(j);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 L(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function V(e,n){return(V=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function F(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=U(e);if(n){var r=U(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return M(this,t)}}function M(e,n){return!n||"object"!==A(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.d(n,"a",(function(){return Y}));var Y=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&V(e,n)}(h,e);var n,t,i,p=F(h);function h(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,h),p.call(this,e)}return n=h,(t=[{key:"initialize",value:function(){var e=this.options.channelName;this.listenTo(e,"select:distributor",this.onSelectDistributor),this.listenTo(e,"select:production:company",this.onSelectProductionCompany),this.listenTo(e,"select:director",this.onSelectDirector),this.listenTo(e,"select:producer",this.onSelectProducer),this.listenTo(e,"remove:distributor",this.onRemoveDistributor),this.listenTo(e,"remove:production:company",this.onRemoveProductionCompany),this.listenTo(e,"remove:director",this.onRemoveDirector),this.listenTo(e,"remove:producer",this.onRemoveProducer)}},{key:"events",value:function(){return{submit:function(e){return e.preventDefault()},"click .new-producer":"onClickAddNewProducer","click .new-director":"onClickAddNewDirector","click .new-distributor":"onClickAddNewDistributor","click .new-production-company":"onClickAddNewProductionCompany"}}},{key:"regions",value:function(){return{distributors:{el:".distributor-region",replaceElement:!0},productionCompanies:{el:".production-company-region",replaceElement:!0},directors:{el:".directors-region",replaceElement:!0},producers:{el:".producers-region",replaceElement:!0}}}},{key:"onClickAddNewProducer",value:function(){this.expandPersonList(I.a.Producer)}},{key:"onClickAddNewDirector",value:function(){this.expandPersonList(I.a.Director)}},{key:"onClickAddNewDistributor",value:function(){this.expandPersonList(I.a.Distributor)}},{key:"onClickAddNewProductionCompany",value:function(){this.expandPersonList(I.a.ProductionCompany)}},{key:"expandPersonList",value:function(e){var n=this.model.get(e);5!==n.length&&n.add({}),this.render()}},{key:"onSelectDistributor",value:function(e){this.onSelect(e,I.a.Distributor)}},{key:"onSelectProductionCompany",value:function(e){this.onSelect(e,I.a.ProductionCompany)}},{key:"onSelectDirector",value:function(e){this.onSelect(e,I.a.Director)}},{key:"onSelectProducer",value:function(e){this.onSelect(e,I.a.Producer)}},{key:"onSelect",value:function(e,n){r.Radio.channel(this.options.channelName).trigger("add:".concat(n),e),this.render()}},{key:"onRemoveDistributor",value:function(e){this.onRemove(e,I.a.Distributor)}},{key:"onRemoveProductionCompany",value:function(e){this.onRemove(e,I.a.ProductionCompany)}},{key:"onRemoveDirector",value:function(e){this.onRemove(e,I.a.Director)}},{key:"onRemoveProducer",value:function(e){this.onRemove(e,I.a.Producer)}},{key:"onRemove",value:function(e,n){this.model.get(n).remove(e),r.Radio.channel(this.options.channelName).trigger("remove:".concat(n),e),this.render()}},{key:"buildTypeaheadConfig",value:function(e){var n=O.a.getTypeaheadConfig(),t=O.a.getBloodhoundConfig();return[{name:e,typeaheadConfig:n,bloodhoundConfig:t,options:{hideEmptyResults:!0}},{name:"add-new",typeaheadConfig:n,bloodhoundConfig:t,options:{newType:e}},{name:"empty-suggestion",typeaheadConfig:n,bloodhoundConfig:t,options:{newType:e,footerTemplate:l.a.getConfirmSelectionTemplate()}}]}},{key:"allowAdditional",value:function(e){return!!this.options.editable&&this.model.get(e)&&5!==this.model.get(e).length}},{key:"renderDistributors",value:function(){this.showChildView("distributors",new S({collection:this.model.get("distributors"),channelName:this.options.channelName,typeaheadConfig:this.buildTypeaheadConfig(u.v.Distributors),removeEvent:"remove:distributor",selectEvent:"select:distributor",inputId:"distributor-search",editable:this.options.editable,placeholderText:"Search content distributors",modelType:"distributors"}))}},{key:"renderProductionCompanies",value:function(){this.showChildView("productionCompanies",new S({collection:this.model.get("productionCompanies"),channelName:this.options.channelName,typeaheadConfig:this.buildTypeaheadConfig(u.v.ProductionCompanies),removeEvent:"remove:production:company",selectEvent:"select:production:company",inputId:"production-company-search",editable:this.options.editable,placeholderText:"Search content production companies",modelType:"productionCompanies"}))}},{key:"renderDirectors",value:function(){this.showChildView("directors",new S({collection:this.model.get("directors"),channelName:this.options.channelName,typeaheadConfig:this.buildTypeaheadConfig(u.v.Directors),removeEvent:"remove:director",selectEvent:"select:director",inputId:"director-search",editable:this.options.editable,placeholderText:"Search content directors",modelType:"directors"}))}},{key:"renderProducers",value:function(){this.showChildView("producers",new S({collection:this.model.get("producers"),channelName:this.options.channelName,typeaheadConfig:this.buildTypeaheadConfig(u.v.Producers),removeEvent:"remove:producer",selectEvent:"select:producer",inputId:"producer-search",editable:this.options.editable,placeholderText:"Search content producers",modelType:"producers"}))}},{key:"onBeforeRender",value:function(){this.model.get("distributors")||this.model.set("distributors",new T.a([{}])),this.model.get("productionCompanies")||this.model.set("productionCompanies",new P.a([{}])),this.model.get("directors")||this.model.set("directors",new D.a([{}])),this.model.get("producers")||this.model.set("producers",new R.a([{}])),this.model.get("distributors").length||this.model.get("distributors").add({}),this.model.get("productionCompanies").length||this.model.get("productionCompanies").add({}),this.model.get("directors").length||this.model.get("directors").add({}),this.model.get("producers").length||this.model.get("producers").add({})}},{key:"viewOptions",value:function(){return{styles:B.a,editable:this.options.editable,productionYearPlaceholderText:this.options.editable?c.a.getPhrase(this.lang,"productionYearPlaceholder"):"",allowAdditionalDirector:this.allowAdditional(I.a.Director),allowAdditionalProducer:this.allowAdditional(I.a.Producer),allowAdditionalDistributor:this.allowAdditional(I.a.Distributor),allowAdditionalProductionCompany:this.allowAdditional(I.a.ProductionCompany),infoSvg:a.a.getSvg(a.b.Info)}}},{key:"onRender",value:function(){this.renderDistributors(),this.renderProductionCompanies(),this.renderDirectors(),this.renderProducers(),this.getUI("tooltips").tooltip()}},{key:"onBeforeDestroy",value:function(){this.getUI("tooltips").tooltip("dispose")}},{key:"name",get:function(){return"EditProductionInfoComponent"}},{key:"tagName",get:function(){return"form"}},{key:"template",get:function(){return N.a}},{key:"lang",get:function(){return"shared.editProductionInfo"}},{key:"className",get:function(){return"edit-production-info border-top pt-3"}},{key:"elements",get:function(){return{tooltips:".info-tooltip"}}},{key:"bindings",get:function(){return{"[name=productionYear]":{observe:"productionYear",setOptions:{validate:!0},onSet:function(e){return e}}}}},{key:"behaviors",get:function(){return[{behaviorClass:s.a},{behaviorClass:s.f}]}},{key:"appLinks",get:function(){var e={application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")]};return{".suggest-production-year":o.extend({},e,{params:{metadata:d.e.ProductionYear}}),".suggest-distributors":o.extend({},e,{params:{metadata:d.e.Distributors}}),".suggest-production-companies":o.extend({},e,{params:{metadata:d.e.ProductionCompanies}}),".suggest-directors":o.extend({},e,{params:{metadata:d.e.Directors}}),".suggest-producers":o.extend({},e,{params:{metadata:d.e.Producers}})}}}])&&L(n.prototype,t),i&&L(n,i),h}(i.a.Component)},1273:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,r){return"required"},3:function(e,n,t,o,r){return"readonly"},5:function(e,n,t,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return'<textarea\r\n name="'+l(a(null!=(i=null!=n?n.options:n)?i.name:i,n))+'"\r\n id="'+l(a(null!=(i=null!=n?n.options:n)?i.id:i,n))+'"\r\n autocomplete="false"\r\n class="'+l(a(null!=(i=null!=n?n.options:n)?i.class:i,n))+" event-selector "+l(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.resizingTextarea:i,n))+'"\r\n placeholder="'+l(a(null!=(i=null!=n?n.options:n)?i.placeholder:i,n))+'"\r\n '+(null!=(i=t.if.call(s,null!=(i=null!=n?n.options:n)?i.required:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n "+(null!=(i=t.if.call(s,null!=(i=null!=n?n.options:n)?i.readonly:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n "+(null!=(i=t.if.call(s,null!=(i=null!=n?n.options:n)?i.disabled:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n></textarea>"},useData:!0})},1274:function(e,n,t){e.exports={resizingTextarea:"qKxbV"}},1275:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,r){return"d-inline-block"},3:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=null!=n?n:e.nullContext||{},l=e.lambda,s=e.escapeExpression;return" "+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.showingSaveButton:i,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <a class="'+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.showingSaveButton:i,{name:"unless",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r}))?i:"")+'cursor-pointer applink-publisher-video">\r\n <span class="d-inline-block align-middle '+s(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.icon:i,n))+'">'+(null!=(i=l(null!=(i=null!=n?n.options:n)?i.publisherArchiveSvg:i,n))?i:"")+"</span> "+s((t.lang||n&&n.lang||e.hooks.helperMissing).call(a,"viewInPublisherArchive",{name:"lang",hash:{},data:r}))+"\r\n </a>\r\n"},4:function(e,n,t,o,r){return"-"},6:function(e,n,t,o,r){return"float-right "},8:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.programTitle:i,n))},10:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return'<span class="'+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.requiredStar:i,n))+'">*</span>'},12:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-title">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},14:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},16:function(e,n,t,o,r){return"disabled"},18:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.description:i,n))},20:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-description">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression;return'<div class="position-relative '+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.showingSaveButton:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <h5 class="d-inline-block">'+s((t.lang||n&&n.lang||l).call(a,"heading",{name:"lang",hash:{},data:r}))+"</h5>\r\n\r\n"+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.showPublisherVideoDetails:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+'</div>\r\n<div class="form-group '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(8,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="edit-title">'+s((t.lang||n&&n.lang||l).call(a,"title",{name:"lang",hash:{},data:r}))+(null!=(i=t.if.call(a,null!=(i=null!=(i=null!=n?n.options:n)?i.requiredFields:i)?i.programTitle:i,{name:"if",hash:{},fn:e.program(10,r,0),inverse:e.noop,data:r}))?i:"")+"</label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(12,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <input\r\n name="name"\r\n type="text"\r\n class="form-control '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(14,r,0),inverse:e.noop,data:r}))?i:"")+'"\r\n placeholder="'+s((t.lang||n&&n.lang||l).call(a,"titlePlaceholder",{name:"lang",hash:{},data:r}))+'"\r\n id="edit-title"\r\n autocomplete="off"\r\n '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(16,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n >\r\n <div class="form-feedback"></div>\r\n</div>\r\n<div class="form-group '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(18,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="edit-description">'+s((t.lang||n&&n.lang||l).call(a,"description",{name:"lang",hash:{},data:r}))+"</label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(20,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="description-region"></div>\r\n <div class="form-feedback"></div>\r\n</div>\r\n<div class="ratings-region"></div>'},useData:!0})},1276:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return'<div class="typeahead-region '+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.typeahead:i,n))+'"></div>'},useData:!0})},1277:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.productionYear:i,n))},3:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-production-year">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},5:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},7:function(e,n,t,o,r){return"disabled"},9:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.productionCompanies:i,n))},11:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-production-companies">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},13:function(e,n,t,o,r){e.propertyIsEnumerable;return' <p class="info-link pb-0 new-production-company">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"newProductionCompany",{name:"lang",hash:{},data:r}))+"</p>\r\n"},15:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.distributors:i,n))},17:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-distributors">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},19:function(e,n,t,o,r){e.propertyIsEnumerable;return' <p class="info-link pb-0 new-distributor">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"newDistributor",{name:"lang",hash:{},data:r}))+"</p>\r\n"},21:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.producers:i,n))},23:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-producers">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},25:function(e,n,t,o,r){e.propertyIsEnumerable;return' <p class="info-link pb-0 new-producer">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"newProducer",{name:"lang",hash:{},data:r}))+"</p>\r\n"},27:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.directors:i,n))},29:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-directors">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},31:function(e,n,t,o,r){e.propertyIsEnumerable;return' <p class="info-link pb-0 new-director">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"newDirector",{name:"lang",hash:{},data:r}))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression,u=e.lambda;return"<h5>"+s((t.lang||n&&n.lang||l).call(a,"heading",{name:"lang",hash:{},data:r}))+'</h5>\r\n\r\n<div class="container-fluid p-0">\r\n <div class="row">\r\n <div class="form-group col-4 pr-0 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="edit-production-year">'+s((t.lang||n&&n.lang||l).call(a,"productionYear",{name:"lang",hash:{},data:r}))+"</label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <input\r\n name="productionYear"\r\n type="number"\r\n class="form-control '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+'"\r\n id="edit-production-year"\r\n placeholder="'+s(u(null!=(i=null!=n?n.options:n)?i.productionYearPlaceholderText:i,n))+'"\r\n autocomplete="off"\r\n '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n >\r\n <div class="form-feedback"></div>\r\n </div>\r\n </div>\r\n\r\n <div class="row">\r\n <div class="form-group col-6 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="production-company-search">\r\n '+s((t.lang||n&&n.lang||l).call(a,"productionCompanies",{name:"lang",hash:{},data:r}))+'\r\n <span class="'+s(u(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.infoSvgContainer:i,n))+' info-tooltip" \r\n title="'+s((t.lang||n&&n.lang||l).call(a,"productionCompanyInfo",{name:"lang",hash:{},data:r}))+'"\r\n >'+(null!=(i=u(null!=(i=null!=n?n.options:n)?i.infoSvg:i,n))?i:"")+"</span>\r\n </label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(11,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="production-company-region"></div>\r\n'+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.allowAdditionalProductionCompany:i,{name:"if",hash:{},fn:e.program(13,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n\r\n <div class="form-group col-6 pr-0 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="distributor-search">\r\n '+s((t.lang||n&&n.lang||l).call(a,"distributors",{name:"lang",hash:{},data:r}))+'\r\n <span class="'+s(u(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.infoSvgContainer:i,n))+' info-tooltip"\r\n title="'+s((t.lang||n&&n.lang||l).call(a,"distributorInfo",{name:"lang",hash:{},data:r}))+'"\r\n >'+(null!=(i=u(null!=(i=null!=n?n.options:n)?i.infoSvg:i,n))?i:"")+"</span>\r\n </label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(17,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="distributor-region"></div>\r\n'+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.allowAdditionalDistributor:i,{name:"if",hash:{},fn:e.program(19,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n </div>\r\n\r\n <div class="row">\r\n <div class="form-group col-6 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(21,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="producer-search">\r\n '+s((t.lang||n&&n.lang||l).call(a,"producers",{name:"lang",hash:{},data:r}))+'\r\n <span class="'+s(u(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.infoSvgContainer:i,n))+' info-tooltip"\r\n title="'+s((t.lang||n&&n.lang||l).call(a,"producerInfo",{name:"lang",hash:{},data:r}))+'"\r\n >'+(null!=(i=u(null!=(i=null!=n?n.options:n)?i.infoSvg:i,n))?i:"")+"</span>\r\n </label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(23,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="producers-region"></div>\r\n'+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.allowAdditionalProducer:i,{name:"if",hash:{},fn:e.program(25,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n\r\n <div class="form-group col-6 pr-0 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(27,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="director-search">\r\n '+s((t.lang||n&&n.lang||l).call(a,"directors",{name:"lang",hash:{},data:r}))+'\r\n <span class="'+s(u(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.infoSvgContainer:i,n))+' info-tooltip"\r\n title="'+s((t.lang||n&&n.lang||l).call(a,"directorInfo",{name:"lang",hash:{},data:r}))+'"\r\n >'+(null!=(i=u(null!=(i=null!=n?n.options:n)?i.infoSvg:i,n))?i:"")+"</span>\r\n </label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(29,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="directors-region"></div>\r\n'+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.allowAdditionalDirector:i,{name:"if",hash:{},fn:e.program(31,r,0),inverse:e.noop,data:r}))?i:"")+" </div>\r\n </div>\r\n</div>"},useData:!0})},1278:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda;return'<span class="svg-container '+e.escapeExpression(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.clearSvg:i,n))+' clear-button">'+(null!=(i=a(null!=(i=null!=n?n.options:n)?i.svgClear:i,n))?i:"")+"</span>"},useData:!0})},1279:function(e,n,t){e.exports={clearSvg:"_2-D4Z"}},1280:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <label for="'+l(a(null!=(i=null!=n?n.options:n)?i.modelAttr:i,n))+'">'+l(a(null!=(i=null!=n?n.options:n)?i.label:i,n))+"</label>\r\n "+(null!=(i=t.unless.call(null!=n?n:e.nullContext||{},null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"},2:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-broadcast-date">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},4:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},6:function(e,n,t,o,r){return"disabled"},8:function(e,n,t,o,r){return"cursor-pointer"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return'<div class="'+l(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.datePicker:i,n))+" "+l(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.broadcastDate:i,n))+'">\r\n'+(null!=(i=t.if.call(s,null!=(i=null!=n?n.options:n)?i.label:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+' <input\r\n name="'+l(a(null!=(i=null!=n?n.options:n)?i.modelAttr:i,n))+'"\r\n class="form-control datetimepicker-input '+l(a(null!=(i=null!=n?n.options:n)?i.instanceClass:i,n))+" "+(null!=(i=t.unless.call(s,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r}))?i:"")+'"\r\n id="'+l(a(null!=(i=null!=n?n.options:n)?i.modelAttr:i,n))+'"\r\n placeholder="'+l(a(null!=(i=null!=n?n.options:n)?i.placeholderText:i,n))+'"\r\n data-toggle="datetimepicker"\r\n data-target=".'+l(a(null!=(i=null!=n?n.options:n)?i.instanceClass:i,n))+'"\r\n autocomplete="off"\r\n '+(null!=(i=t.unless.call(s,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n />\r\n <span class="clear-button-region clear-svg"></span>\r\n <span class="svg-container '+l(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.calendarSvg:i,n))+" "+(null!=(i=t.if.call(s,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.program(4,r,0),data:r}))?i:"")+'">'+(null!=(i=a(null!=(i=null!=n?n.options:n)?i.svgCalendar:i,n))?i:"")+'</span>\r\n <div class="form-feedback"></div>\r\n</div>'},useData:!0})},1281:function(e,n,t){e.exports={next:"_1sAku",previous:"_3zc5V",datePicker:"_1j_H7",calendarSvg:"_3ViTN",disabled:"DzdxT"}},1282:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-channel">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression,l=null!=n?n:e.nullContext||{};return'<div class="container-fluid">\r\n <div class="row">\r\n <div class="form-group col-6 px-0">\r\n <div class="date-broadcast-region"></div>\r\n </div>\r\n <div class="form-group col-6 pr-0 '+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.channel:i,n))+'">\r\n <label for="channel-search">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(l,"channel",{name:"lang",hash:{},data:r}))+"</label>\r\n "+(null!=(i=t.unless.call(l,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="channel-search-region"></div>\r\n </div>\r\n </div>\r\n</div>'},useData:!0})},1283:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=null!=n?n:e.nullContext||{};return'<div class="form-group"> \r\n <div class="custom-control custom-checkbox">\r\n <input\r\n name="toggleBroadcast"\r\n type="checkbox"\r\n class="custom-control-input '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r}))?i:"")+'"\r\n id="toggle-broadcast"\r\n '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n >\r\n <label class="custom-control-label" for="toggle-broadcast">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(a,"tv",{name:"lang",hash:{},data:r}))+"</label>\r\n </div>\r\n</div>\r\n"},2:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},4:function(e,n,t,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return(null!=(i=t.unless.call(null!=n?n:e.nullContext||{},null!=(i=null!=n?n.options:n)?i.hideToggle:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'<div class="broadcast-region"></div>\r\n'},useData:!0})},1284:function(e,n,t){e.exports={disabled:"_3TIct"}},1285:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,r){return'<div class="">\r\n <button class="btn btn-light create w-100">+ Create a season</button>\r\n</div>\r\n'},3:function(e,n,t,o,r){return'<div class="form-group mb-2">\r\n <input type="number" class="form-control" name="number" min="1" placeholder="Season number">\r\n <div class="form-feedback"></div>\r\n</div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return(null!=(i=t.unless.call(null!=n?n:e.nullContext||{},null!=(i=null!=n?n.options:n)?i.show:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r}))?i:"")+'<div class="text-right">\r\n <div class="button-region"></div>\r\n</div>'},useData:!0})},1286:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},3:function(e,n,t,o,r){return"selected"},5:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <option value="'+l(a(null!=n?n.number:n,n))+'" '+(null!=(i=t.if.call(null!=n?n:e.nullContext||{},null!=n?n.selected:n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+">"+l(a(null!=n?n.displayName:n,n))+"</option>\r\n"},7:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda;return'<span class="svg-container mb-2 '+e.escapeExpression(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.svg:i,n))+' remove">'+(null!=(i=a(null!=(i=null!=n?n.options:n)?i.svgRemove:i,n))?i:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression,l=null!=n?n:e.nullContext||{};return'<div\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="cursor-pointer w-100 dropdown-btn btn btn-link '+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.button:i,n))+" "+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.disabled:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'"\r\n name="season"\r\n></div>\r\n<div class="dropdown-menu dropdown-menu-right dropdown-arrow w-100">\r\n <div class="text-center px-2">\r\n <select name="season" class="custom-select">\r\n <option value="-1" '+(null!=(i=t.unless.call(l,null!=(i=null!=n?n.options:n)?i.hasSelected:i,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+">"+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(l,"selectASeason",{name:"lang",hash:{},data:r}))+"</option>\r\n"+(null!=(i=t.each.call(l,null!=(i=null!=n?n.options:n)?i.seasons:i,{name:"each",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+' </select>\r\n </div>\r\n\r\n <div class="dropdown-divider"></div>\r\n\r\n <div class="create-region"></div>\r\n</div>\r\n'+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.showRemoveIcon:i,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r}))?i:"")},useData:!0})},1287:function(e,n,t){e.exports={button:"_39NvM",svg:"_2Tl0W",disabled:"_2julA",seasonContainer:"_SpZq"}},1288:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.seriesTitle:i,n))},3:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-series-title">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},5:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.seasonNumber:i,n))},7:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-season-number">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},9:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.episodeNumber:i,n))},11:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-episode-number">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},13:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},15:function(e,n,t,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression;return"<h5>"+s((t.lang||n&&n.lang||l).call(a,"heading",{name:"lang",hash:{},data:r}))+'</h5>\r\n<div class="container-fluid">\r\n <div class="row">\r\n <div class="form-group col-6 p-0 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="edit-title">'+s((t.lang||n&&n.lang||l).call(a,"series",{name:"lang",hash:{},data:r}))+"</label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="edit-series-region"></div>\r\n <div class="form-feedback"></div>\r\n </div>\r\n\r\n <div class="form-group col-3 pr-0 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="edit-season-number">'+s((t.lang||n&&n.lang||l).call(a,"season",{name:"lang",hash:{},data:r}))+"</label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="edit-season-region"></div>\r\n <div class="form-feedback"></div>\r\n </div>\r\n \r\n <div class="form-group col-3 pr-0 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="edit-episode-number">'+s((t.lang||n&&n.lang||l).call(a,"episode",{name:"lang",hash:{},data:r}))+"</label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(11,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <input\r\n name="episodeNumber"\r\n type="number"\r\n class="form-control episode-number '+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.lockEpisodeNumber:i,{name:"if",hash:{},fn:e.program(13,r,0),inverse:e.noop,data:r}))?i:"")+'"\r\n id="edit-episode-number"\r\n placeholder="'+s(e.lambda(null!=(i=null!=n?n.options:n)?i.episodeNumberPlaceholderText:i,n))+'"\r\n autocomplete="off"\r\n min="1"\r\n '+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.lockEpisodeNumber:i,{name:"if",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n >\r\n <div class="form-feedback"></div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div class="edit-broadcast-region"></div>'},useData:!0})},1289:function(e,n,t){e.exports={disabled:"tOHRz"}}}]);
@@ -1,380 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[13],{
2
-
3
- /***/ "./src/shared/components/select/Select.hbs":
4
- /*!*************************************************!*\
5
- !*** ./src/shared/components/select/Select.hbs ***!
6
- \*************************************************/
7
- /*! no static exports found */
8
- /***/ (function(module, exports, __webpack_require__) {
9
-
10
- var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
11
- module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
12
- var stack1, alias1=container.propertyIsEnumerable;
13
-
14
- return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.disabled : stack1), depth0));
15
- },"3":function(container,depth0,helpers,partials,data) {
16
- return " disabled";
17
- },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
18
- var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
19
-
20
- return "<button \r\n class=\"dropdown-toggle form-control btn-block text-left position-relative "
21
- + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selectButton : stack1), depth0))
22
- + " "
23
- + ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.disabled : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
24
- + "\" \r\n type=\"button\" \r\n id=\"dropdownMenuButton\" \r\n data-toggle=\"dropdown\" \r\n aria-haspopup=\"true\" \r\n aria-expanded=\"false\"\r\n "
25
- + ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.disabled : stack1),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
26
- + " \r\n name=\""
27
- + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.inputName : stack1), depth0))
28
- + "\"\r\n >\r\n "
29
- + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.placeholderText : stack1), depth0))
30
- + "\r\n</button>\r\n<div class=\"dropdown-region\"></div>\r\n<div class=\"form-feedback\"></div>";
31
- },"useData":true});
32
-
33
- /***/ }),
34
-
35
- /***/ "./src/shared/components/select/SelectComponent.ts":
36
- /*!*********************************************************!*\
37
- !*** ./src/shared/components/select/SelectComponent.ts ***!
38
- \*********************************************************/
39
- /*! exports provided: SelectComponent */
40
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
41
-
42
- "use strict";
43
- __webpack_require__.r(__webpack_exports__);
44
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SelectComponent", function() { return SelectComponent; });
45
- /* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
46
- /* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
47
- /* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! backbone */ "backbone");
48
- /* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_1__);
49
- /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
50
- /* harmony import */ var _dropdown_DropdownComponentCollection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dropdown/DropdownComponentCollection */ "./src/shared/components/dropdown/DropdownComponentCollection.ts");
51
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils */ "./src/shared/utils/index.ts");
52
- /* harmony import */ var _Select_hbs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Select.hbs */ "./src/shared/components/select/Select.hbs");
53
- /* harmony import */ var _Select_hbs__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_Select_hbs__WEBPACK_IMPORTED_MODULE_5__);
54
- /* harmony import */ var _select_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./select.scss */ "./src/shared/components/select/select.scss");
55
- /* harmony import */ var _select_scss__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_select_scss__WEBPACK_IMPORTED_MODULE_6__);
56
- 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); }
57
-
58
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
59
-
60
- 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); } }
61
-
62
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
63
-
64
- 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); }
65
-
66
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
67
-
68
- 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); }; }
69
-
70
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
71
-
72
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
73
-
74
- 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; } }
75
-
76
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
- var ENTER_KEYCODE = 13;
86
- var UP_ARROW_KEYCODE = 38;
87
- var DOWN_ARROW_KEYCODE = 40;
88
- var TYPING_TIMEOUT = 500;
89
- var SelectComponent = /*#__PURE__*/function (_Core$Component) {
90
- _inherits(SelectComponent, _Core$Component);
91
-
92
- var _super = _createSuper(SelectComponent);
93
-
94
- function SelectComponent(options) {
95
- var _this;
96
-
97
- _classCallCheck(this, SelectComponent);
98
-
99
- _this = _super.call(this, options); // Component state
100
-
101
- _this.selectSearch = '';
102
- _this.sameCharIndex = 1;
103
- _this.optionStep = 1;
104
- return _this;
105
- }
106
-
107
- _createClass(SelectComponent, [{
108
- key: "initialize",
109
- value: function initialize() {
110
- this.setModel();
111
- this.bindListeners();
112
- }
113
- }, {
114
- key: "regions",
115
- value: function regions() {
116
- return {
117
- dropdown: {
118
- el: '.dropdown-region',
119
- replaceElement: true
120
- }
121
- };
122
- }
123
- }, {
124
- key: "events",
125
- value: function events() {
126
- return {
127
- 'keydown': 'onKeydown',
128
- 'shown.bs.dropdown': 'onShowDropdown'
129
- };
130
- }
131
- }, {
132
- key: "bindListeners",
133
- value: function bindListeners() {
134
- this.listenTo(this.options.channelName, this.options.childOptions.eventName, this.onSelect);
135
- }
136
- }, {
137
- key: "onShowDropdown",
138
- value: function onShowDropdown() {
139
- var radio = backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(this.options.channelName);
140
- radio.trigger('center:dropdown');
141
- }
142
- }, {
143
- key: "onKeydown",
144
- value: function onKeydown(event) {
145
- if (event.keyCode === UP_ARROW_KEYCODE || event.keyCode === DOWN_ARROW_KEYCODE) {
146
- this.onArrowKeyDown(event);
147
- } else if (event.keyCode === ENTER_KEYCODE) {
148
- this.render();
149
- } else {
150
- this.onType(event);
151
- }
152
-
153
- var radio = backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(this.options.channelName);
154
- radio.trigger('center:dropdown');
155
- }
156
- }, {
157
- key: "onArrowKeyDown",
158
- value: function onArrowKeyDown(event) {
159
- if (_utils__WEBPACK_IMPORTED_MODULE_4__["CollectionHelpers"].getSelected(this.collection)) {
160
- this.optionStep = 1;
161
- } else {
162
- this.optionStep = 0;
163
- }
164
-
165
- var selectedModel = this.getNextModel(event.keyCode);
166
-
167
- if (!selectedModel) {
168
- _utils__WEBPACK_IMPORTED_MODULE_4__["CollectionHelpers"].deselectAll(this.collection);
169
- selectedModel = this.getNextModel(event.keyCode);
170
- }
171
-
172
- while (this.isDisabled(selectedModel)) {
173
- this.optionStep++;
174
- selectedModel = this.getNextModel(event.keyCode);
175
- }
176
-
177
- this.onSelect(selectedModel);
178
- }
179
- }, {
180
- key: "onType",
181
- value: function onType(event) {
182
- // Returns if keys such as "Tab" or "Backspace" are pressed
183
- if (event.key.toString().length !== 1) return;
184
- var modelMatch = this.getModelMatch(event);
185
- if (modelMatch) this.onSelect(modelMatch);
186
- this.runTimer();
187
- }
188
- }, {
189
- key: "onSelect",
190
- value: function onSelect(model) {
191
- if (this.isDisabled(model)) return;
192
- _utils__WEBPACK_IMPORTED_MODULE_4__["CollectionHelpers"].setSelected(model.get('id'), this.collection);
193
- this.setModel();
194
- this.getUI('dropdownToggle').text(this.getButtonText());
195
- var radio = backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(this.options.channelName);
196
- radio.trigger('select:option:selected', model);
197
- }
198
- }, {
199
- key: "setModel",
200
- value: function setModel() {
201
- this.model = _utils__WEBPACK_IMPORTED_MODULE_4__["CollectionHelpers"].getSelected(this.collection);
202
- }
203
- }, {
204
- key: "getNextModel",
205
- value: function getNextModel(key) {
206
- var currentModel = _utils__WEBPACK_IMPORTED_MODULE_4__["CollectionHelpers"].getSelected(this.collection) || this.collection.first();
207
- var index = this.collection.indexOf(currentModel);
208
- var nextModel;
209
-
210
- if (key === UP_ARROW_KEYCODE) {
211
- nextModel = this.collection.at(index - this.optionStep);
212
- } else {
213
- nextModel = this.collection.at(index + this.optionStep);
214
- }
215
- /**
216
- * This handles cases where users downstroke into 1 or more
217
- * disabled folders that stretch until the end of the collection.
218
- * This will wrap their selection back to the top.
219
- */
220
-
221
-
222
- if (!nextModel) {
223
- _utils__WEBPACK_IMPORTED_MODULE_4__["CollectionHelpers"].deselectAll(this.collection);
224
- nextModel = this.collection.first();
225
- this.optionStep = 0;
226
- }
227
-
228
- return nextModel;
229
- }
230
- }, {
231
- key: "getModelMatch",
232
- value: function getModelMatch(event) {
233
- var _this2 = this;
234
-
235
- var modelSearchResult;
236
-
237
- if (this.selectSearch.length === 1 && this.selectSearch === event.key) {
238
- modelSearchResult = this.handleSameCharIndex(event.key);
239
- } else {
240
- this.selectSearch += event.key;
241
- this.sameCharIndex = 1;
242
- }
243
-
244
- if (!modelSearchResult) {
245
- modelSearchResult = underscore__WEBPACK_IMPORTED_MODULE_0__["find"](this.collection.models, function (model) {
246
- return model.get(_this2.options.displayProperty).toLowerCase().slice(0, _this2.selectSearch.length).includes(_this2.selectSearch.toLowerCase());
247
- });
248
- }
249
-
250
- return modelSearchResult;
251
- }
252
- }, {
253
- key: "handleSameCharIndex",
254
- value: function handleSameCharIndex(keyCode) {
255
- var _this3 = this;
256
-
257
- var models = underscore__WEBPACK_IMPORTED_MODULE_0__["filter"](this.collection.models, function (model) {
258
- return model.get(_this3.options.displayProperty).toLowerCase().slice(0, 1) === keyCode;
259
- });
260
-
261
- if (models.length > 1) {
262
- /**
263
- * When a user types the first char of their search, then they
264
- * type that char again, rather than append that char to the search
265
- * string (e.g. "aa"), we instead search for the next option in the
266
- * dropdown that starts with "a", then increment sameCharIndex for cases
267
- * where the user continues pressing "a" for example.
268
- */
269
- var modelSearchResult = models[this.sameCharIndex];
270
-
271
- if (!modelSearchResult) {
272
- modelSearchResult = underscore__WEBPACK_IMPORTED_MODULE_0__["first"](models);
273
- this.sameCharIndex = 0;
274
- }
275
-
276
- this.sameCharIndex++;
277
- return modelSearchResult;
278
- } else {
279
- return underscore__WEBPACK_IMPORTED_MODULE_0__["first"](models);
280
- }
281
- }
282
- }, {
283
- key: "runTimer",
284
- value: function runTimer() {
285
- var _this4 = this;
286
-
287
- if (this.scopedTimerIndex) clearTimeout(this.scopedTimerIndex);
288
- this.scopedTimerIndex = window.setTimeout(function () {
289
- _this4.selectSearch = '';
290
- }, TYPING_TIMEOUT);
291
- }
292
- }, {
293
- key: "isDisabled",
294
- value: function isDisabled(model) {
295
- var _this$options$childOp;
296
-
297
- if (model.get('divider')) return true;
298
- if (!underscore__WEBPACK_IMPORTED_MODULE_0__["isFunction"](this.options.childOptions.isDisabled)) return false;
299
-
300
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
301
- args[_key - 1] = arguments[_key];
302
- }
303
-
304
- return (_this$options$childOp = this.options.childOptions.isDisabled).call.apply(_this$options$childOp, [this, model].concat(args));
305
- }
306
- }, {
307
- key: "getButtonText",
308
- value: function getButtonText() {
309
- if (this.options.disabled) return this.options.noOptionsText;
310
- var selection = _utils__WEBPACK_IMPORTED_MODULE_4__["CollectionHelpers"].getSelected(this.collection);
311
- return selection && selection.get(this.options.displayProperty) || this.options.placeholderText;
312
- }
313
- }, {
314
- key: "viewOptions",
315
- value: function viewOptions() {
316
- return {
317
- styles: _select_scss__WEBPACK_IMPORTED_MODULE_6___default.a,
318
- inputName: this.options.inputName,
319
- disabled: this.options.disabled,
320
- placeholderText: this.getButtonText()
321
- };
322
- }
323
- }, {
324
- key: "onRender",
325
- value: function onRender() {
326
- this.showChildView('dropdown', new _dropdown_DropdownComponentCollection__WEBPACK_IMPORTED_MODULE_3__["DropdownComponentCollection"]({
327
- collection: this.collection,
328
- channelName: this.options.channelName,
329
- childOptions: underscore__WEBPACK_IMPORTED_MODULE_0__["extend"](this.options.childOptions),
330
- displayOptions: {
331
- extraClasses: "w-100 ".concat(_select_scss__WEBPACK_IMPORTED_MODULE_6___default.a.dropdownMenu)
332
- },
333
- analyticsHelper: this.options.analyticsHelper
334
- }));
335
- }
336
- }, {
337
- key: "name",
338
- get: function get() {
339
- return 'SelectComponent';
340
- }
341
- }, {
342
- key: "template",
343
- get: function get() {
344
- return _Select_hbs__WEBPACK_IMPORTED_MODULE_5___default.a;
345
- }
346
- }, {
347
- key: "defaults",
348
- get: function get() {
349
- return {
350
- displayProperty: 'name'
351
- };
352
- }
353
- }, {
354
- key: "elements",
355
- get: function get() {
356
- return {
357
- dropdownToggle: '.dropdown-toggle'
358
- };
359
- }
360
- }]);
361
-
362
- return SelectComponent;
363
- }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].Component);
364
-
365
- /***/ }),
366
-
367
- /***/ "./src/shared/components/select/select.scss":
368
- /*!**************************************************!*\
369
- !*** ./src/shared/components/select/select.scss ***!
370
- \**************************************************/
371
- /*! no static exports found */
372
- /***/ (function(module, exports, __webpack_require__) {
373
-
374
- // extracted by mini-css-extract-plugin
375
- module.exports = {"dropdownMenu":"cv--dropdownMenu--2RaQu","selectButton":"cv--selectButton--2xGqi","disabled":"cv--disabled--15kWr"};
376
-
377
- /***/ })
378
-
379
- }]);
380
- //# sourceMappingURL=13.chunk.js.map