@clickview/library-editor 1.1.19-rc.2 → 1.1.19
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.
- package/dist/css/12.chunk.css +17 -7
- package/dist/css/13.chunk.css +7 -7
- package/dist/css/14.chunk.css +10 -4
- package/dist/css/16.chunk.css +1 -1
- package/dist/css/17.chunk.css +1 -1
- package/dist/css/19.chunk.css +34 -0
- package/dist/css/20.chunk.css +15 -7
- package/dist/css/21.chunk.css +14 -8
- package/dist/css/22.chunk.css +13 -5
- package/dist/css/23.chunk.css +12 -6
- package/dist/css/24.chunk.css +7 -7
- package/dist/css/25.chunk.css +9 -5
- package/dist/css/26.chunk.css +5 -5
- package/dist/css/27.chunk.css +6 -4
- package/dist/css/29.chunk.css +4 -4
- package/dist/css/3.chunk.css +2 -15
- package/dist/css/30.chunk.css +5 -3
- package/dist/css/31.chunk.css +3 -3
- package/dist/css/42.chunk.css +1 -1
- package/dist/css/43.chunk.css +1 -1
- package/dist/css/44.chunk.css +1 -1
- package/dist/css/45.chunk.css +1 -1
- package/dist/css/46.chunk.css +1 -1
- package/dist/css/47.chunk.css +1 -1
- package/dist/css/49.chunk.css +1 -34
- package/dist/css/5.chunk.css +3 -13
- package/dist/css/50.chunk.css +1 -1
- package/dist/css/53.chunk.css +2 -0
- package/dist/css/54.chunk.css +1 -1
- package/dist/css/55.chunk.css +1 -1
- package/dist/css/56.chunk.css +1 -1
- package/dist/css/57.chunk.css +1 -1
- package/dist/css/58.chunk.css +1 -1
- package/dist/css/60.chunk.css +1 -17
- package/dist/css/61.chunk.css +1 -1
- package/dist/projects/library-editor/src/app.d.ts +1 -0
- package/dist/scripts/0-2be1201a7f.chunk.js +1 -0
- package/dist/scripts/1-d3c96b4670.chunk.js +1 -0
- package/dist/scripts/10-2cebec08a5.chunk.js +1 -0
- package/dist/scripts/{11-805aab3b80.chunk.js → 11-f6440b4817.chunk.js} +1 -1
- package/dist/scripts/12-b168953b47.chunk.js +1 -0
- package/dist/scripts/13-8e3a8d1629.chunk.js +1 -0
- package/dist/scripts/14-1c1b7086df.chunk.js +1 -0
- package/dist/scripts/15-6df8e05fe9.chunk.js +1 -0
- package/dist/scripts/16-19085b3dd0.chunk.js +1 -0
- package/dist/scripts/17-b7c4c476aa.chunk.js +1 -0
- package/dist/scripts/19-affb19e639.chunk.js +1 -0
- package/dist/scripts/2-adb587d50b.chunk.js +1 -0
- package/dist/scripts/20-5dcf516232.chunk.js +1 -0
- package/dist/scripts/21-782b1e8947.chunk.js +1 -0
- package/dist/scripts/22-77a9f00273.chunk.js +1 -0
- package/dist/scripts/23-c380087827.chunk.js +1 -0
- package/dist/scripts/24-5ca282f342.chunk.js +1 -0
- package/dist/scripts/25-a595940248.chunk.js +1 -0
- package/dist/scripts/26-52d8ede81f.chunk.js +1 -0
- package/dist/scripts/27-00d6b5a4bd.chunk.js +1 -0
- package/dist/scripts/28-58cc01c876.chunk.js +1 -0
- package/dist/scripts/29-552493a7ad.chunk.js +1 -0
- package/dist/scripts/3-a32cc1fdf4.chunk.js +1 -0
- package/dist/scripts/30-3b0ed0fdaa.chunk.js +1 -0
- package/dist/scripts/31-d46eb161fa.chunk.js +1 -0
- package/dist/scripts/32-728cc1e053.chunk.js +1 -0
- package/dist/scripts/33-9f130fa663.chunk.js +1 -0
- package/dist/scripts/34-45ad8a1808.chunk.js +1 -0
- package/dist/scripts/35-38b73094a5.chunk.js +1 -0
- package/dist/scripts/36-6cc9b2e1f9.chunk.js +1 -0
- package/dist/scripts/37-18f74bd058.chunk.js +1 -0
- package/dist/scripts/38-ca9a95b14a.chunk.js +1 -0
- package/dist/scripts/39-21e6ce932e.chunk.js +1 -0
- package/dist/scripts/4-7f5573ad9d.chunk.js +1 -0
- package/dist/scripts/40-040a76d3cb.chunk.js +1 -0
- package/dist/scripts/41-ea0bd0118f.chunk.js +1 -0
- package/dist/scripts/42-ede0513e1c.chunk.js +1 -0
- package/dist/scripts/43-512f52a709.chunk.js +1 -0
- package/dist/scripts/44-2b494ad559.chunk.js +1 -0
- package/dist/scripts/45-74c1071058.chunk.js +1 -0
- package/dist/scripts/46-fa6537374c.chunk.js +1 -0
- package/dist/scripts/47-4fbd9bf958.chunk.js +1 -0
- package/dist/scripts/48-de58133c08.chunk.js +1 -0
- package/dist/scripts/49-4035147a3b.chunk.js +1 -0
- package/dist/scripts/5-08ffe0918e.chunk.js +1 -0
- package/dist/scripts/50-c2be46fa7e.chunk.js +1 -0
- package/dist/scripts/51-beb5c51318.chunk.js +1 -0
- package/dist/scripts/52-773e36d3f9.chunk.js +1 -0
- package/dist/scripts/{54-8df01312cc.chunk.js → 53-a5d949340b.chunk.js} +1 -1
- package/dist/scripts/54-4083e51a52.chunk.js +1 -0
- package/dist/scripts/55-622f7871d6.chunk.js +1 -0
- package/dist/scripts/56-b48e08b8ef.chunk.js +1 -0
- package/dist/scripts/57-1feff40a08.chunk.js +1 -0
- package/dist/scripts/{59-cc8e184cce.chunk.js → 58-46d9ab3567.chunk.js} +1 -1
- package/dist/scripts/59-4f532af025.chunk.js +1 -0
- package/dist/scripts/6-0aba54255e.chunk.js +1 -0
- package/dist/scripts/60-b977e9f98a.chunk.js +1 -0
- package/dist/scripts/61-a08050a033.chunk.js +1 -0
- package/dist/scripts/62-2d7c9575cd.chunk.js +1 -0
- package/dist/scripts/63-1b5541b59d.chunk.js +1 -0
- package/dist/scripts/64-5802c4c4a1.chunk.js +1 -0
- package/dist/scripts/65-a5583b77b5.chunk.js +1 -0
- package/dist/scripts/66-e6cbf6eff1.chunk.js +1 -0
- package/dist/scripts/67-147f6e38b8.chunk.js +1 -0
- package/dist/scripts/68-09d43f4bf6.chunk.js +1 -0
- package/dist/scripts/69-730a9f6e1b.chunk.js +1 -0
- package/dist/scripts/7-3a6b348c77.chunk.js +1 -0
- package/dist/scripts/70-99fa48a87e.chunk.js +1 -0
- package/dist/scripts/71-e6e4debb3b.chunk.js +1 -0
- package/dist/scripts/8-e6e81f44e1.chunk.js +1 -0
- package/dist/scripts/9-350230f5b4.chunk.js +1 -0
- package/dist/scripts/bundle-11b849726e.min.js +1 -0
- package/dist/scripts/bundle-185116e7ce.min.js +1 -0
- package/dist/scripts/bundles.json +1 -1
- package/package.json +4 -4
- package/dist/css/1.chunk.css.map +0 -1
- package/dist/css/10.chunk.css.map +0 -1
- package/dist/css/11.chunk.css +0 -137
- package/dist/css/11.chunk.css.map +0 -1
- package/dist/css/12.chunk.css.map +0 -1
- package/dist/css/13.chunk.css.map +0 -1
- package/dist/css/14.chunk.css.map +0 -1
- package/dist/css/16.chunk.css.map +0 -1
- package/dist/css/17.chunk.css.map +0 -1
- package/dist/css/18.chunk.css +0 -2
- package/dist/css/18.chunk.css.map +0 -1
- package/dist/css/2.chunk.css +0 -4
- package/dist/css/2.chunk.css.map +0 -1
- package/dist/css/21.chunk.css.map +0 -1
- package/dist/css/22.chunk.css.map +0 -1
- package/dist/css/23.chunk.css.map +0 -1
- package/dist/css/25.chunk.css.map +0 -1
- package/dist/css/26.chunk.css.map +0 -1
- package/dist/css/28.chunk.css.map +0 -1
- package/dist/css/29.chunk.css.map +0 -1
- package/dist/css/3.chunk.css.map +0 -1
- package/dist/css/30.chunk.css.map +0 -1
- package/dist/css/31.chunk.css.map +0 -1
- package/dist/css/32.chunk.css.map +0 -1
- package/dist/css/33.chunk.css +0 -16
- package/dist/css/33.chunk.css.map +0 -1
- package/dist/css/34.chunk.css +0 -21
- package/dist/css/34.chunk.css.map +0 -1
- package/dist/css/35.chunk.css +0 -20
- package/dist/css/35.chunk.css.map +0 -1
- package/dist/css/36.chunk.css.map +0 -1
- package/dist/css/37.chunk.css.map +0 -1
- package/dist/css/38.chunk.css.map +0 -1
- package/dist/css/4.chunk.css +0 -6
- package/dist/css/40.chunk.css.map +0 -1
- package/dist/css/41.chunk.css.map +0 -1
- package/dist/css/42.chunk.css.map +0 -1
- package/dist/css/43.chunk.css.map +0 -1
- package/dist/css/44.chunk.css.map +0 -1
- package/dist/css/45.chunk.css.map +0 -1
- package/dist/css/46.chunk.css.map +0 -1
- package/dist/css/47.chunk.css.map +0 -1
- package/dist/css/48.chunk.css +0 -2
- package/dist/css/48.chunk.css.map +0 -1
- package/dist/css/49.chunk.css.map +0 -1
- package/dist/css/50.chunk.css.map +0 -1
- package/dist/css/51.chunk.css +0 -2
- package/dist/css/51.chunk.css.map +0 -1
- package/dist/css/52.chunk.css +0 -66
- package/dist/css/52.chunk.css.map +0 -1
- package/dist/css/55.chunk.css.map +0 -1
- package/dist/css/56.chunk.css.map +0 -1
- package/dist/css/58.chunk.css.map +0 -1
- package/dist/css/59.chunk.css +0 -2
- package/dist/css/59.chunk.css.map +0 -1
- package/dist/css/6.chunk.css.map +0 -1
- package/dist/css/60.chunk.css.map +0 -1
- package/dist/css/62.chunk.css +0 -2
- package/dist/css/62.chunk.css.map +0 -1
- package/dist/css/63.chunk.css +0 -170
- package/dist/css/63.chunk.css.map +0 -1
- package/dist/css/67.chunk.css +0 -78
- package/dist/css/67.chunk.css.map +0 -1
- package/dist/css/68.chunk.css +0 -17
- package/dist/css/68.chunk.css.map +0 -1
- package/dist/css/69.chunk.css +0 -17
- package/dist/css/69.chunk.css.map +0 -1
- package/dist/css/7.chunk.css.map +0 -1
- package/dist/css/70.chunk.css +0 -23
- package/dist/css/70.chunk.css.map +0 -1
- package/dist/css/71.chunk.css +0 -40
- package/dist/css/71.chunk.css.map +0 -1
- package/dist/css/72.chunk.css +0 -16
- package/dist/css/72.chunk.css.map +0 -1
- package/dist/css/73.chunk.css +0 -37
- package/dist/css/73.chunk.css.map +0 -1
- package/dist/css/74.chunk.css +0 -29
- package/dist/css/74.chunk.css.map +0 -1
- package/dist/css/75.chunk.css +0 -6
- package/dist/css/75.chunk.css.map +0 -1
- package/dist/css/76.chunk.css +0 -6
- package/dist/css/76.chunk.css.map +0 -1
- package/dist/css/8.chunk.css.map +0 -1
- package/dist/css/library-editor-app.css.map +0 -1
- package/dist/scripts/0-8cdf48d69e.chunk.js +0 -1
- package/dist/scripts/0.chunk.js +0 -1034
- package/dist/scripts/0.chunk.js.map +0 -1
- package/dist/scripts/1-a197f0efeb.chunk.js +0 -1
- package/dist/scripts/1.chunk.js +0 -442
- package/dist/scripts/1.chunk.js.map +0 -1
- package/dist/scripts/10-48aa375ebe.chunk.js +0 -1
- package/dist/scripts/10.chunk.js +0 -820
- package/dist/scripts/10.chunk.js.map +0 -1
- package/dist/scripts/11.chunk.js +0 -4091
- package/dist/scripts/11.chunk.js.map +0 -1
- package/dist/scripts/12-57671136e8.chunk.js +0 -1
- package/dist/scripts/12.chunk.js +0 -555
- package/dist/scripts/12.chunk.js.map +0 -1
- package/dist/scripts/13-46bc40cc23.chunk.js +0 -1
- package/dist/scripts/13.chunk.js +0 -373
- package/dist/scripts/13.chunk.js.map +0 -1
- package/dist/scripts/14-556e982a73.chunk.js +0 -1
- package/dist/scripts/14.chunk.js +0 -2386
- package/dist/scripts/14.chunk.js.map +0 -1
- package/dist/scripts/15-2edbad42a0.chunk.js +0 -1
- package/dist/scripts/15.chunk.js +0 -314
- package/dist/scripts/15.chunk.js.map +0 -1
- package/dist/scripts/16-60b9a789b4.chunk.js +0 -1
- package/dist/scripts/16.chunk.js +0 -1290
- package/dist/scripts/16.chunk.js.map +0 -1
- package/dist/scripts/17-d6083dbd9b.chunk.js +0 -1
- package/dist/scripts/17.chunk.js +0 -381
- package/dist/scripts/17.chunk.js.map +0 -1
- package/dist/scripts/18-31ce9284d0.chunk.js +0 -1
- package/dist/scripts/18.chunk.js +0 -393
- package/dist/scripts/18.chunk.js.map +0 -1
- package/dist/scripts/19.chunk.js +0 -364
- package/dist/scripts/19.chunk.js.map +0 -1
- package/dist/scripts/2-33fcca96e3.chunk.js +0 -1
- package/dist/scripts/2.chunk.js +0 -519
- package/dist/scripts/2.chunk.js.map +0 -1
- package/dist/scripts/20-3c2f3fb166.chunk.js +0 -1
- package/dist/scripts/20.chunk.js +0 -317
- package/dist/scripts/20.chunk.js.map +0 -1
- package/dist/scripts/21-9497f03cd8.chunk.js +0 -1
- package/dist/scripts/21.chunk.js +0 -531
- package/dist/scripts/21.chunk.js.map +0 -1
- package/dist/scripts/22-22cd929ad4.chunk.js +0 -1
- package/dist/scripts/22.chunk.js +0 -354
- package/dist/scripts/22.chunk.js.map +0 -1
- package/dist/scripts/23-16b02d09f5.chunk.js +0 -1
- package/dist/scripts/23.chunk.js +0 -605
- package/dist/scripts/23.chunk.js.map +0 -1
- package/dist/scripts/24-24699f9007.chunk.js +0 -1
- package/dist/scripts/24.chunk.js +0 -318
- package/dist/scripts/24.chunk.js.map +0 -1
- package/dist/scripts/25-7a210f731b.chunk.js +0 -1
- package/dist/scripts/25.chunk.js +0 -365
- package/dist/scripts/25.chunk.js.map +0 -1
- package/dist/scripts/26-263cf0ebce.chunk.js +0 -1
- package/dist/scripts/26.chunk.js +0 -437
- package/dist/scripts/26.chunk.js.map +0 -1
- package/dist/scripts/27-707d8b29f0.chunk.js +0 -1
- package/dist/scripts/27.chunk.js +0 -3565
- package/dist/scripts/27.chunk.js.map +0 -1
- package/dist/scripts/28-d748f747fa.chunk.js +0 -1
- package/dist/scripts/28.chunk.js +0 -3129
- package/dist/scripts/28.chunk.js.map +0 -1
- package/dist/scripts/29-ef4aaa5fd8.chunk.js +0 -1
- package/dist/scripts/29.chunk.js +0 -3088
- package/dist/scripts/29.chunk.js.map +0 -1
- package/dist/scripts/3-9ac062f7ab.chunk.js +0 -1
- package/dist/scripts/3.chunk.js +0 -782
- package/dist/scripts/3.chunk.js.map +0 -1
- package/dist/scripts/30-1b84ae2ac7.chunk.js +0 -1
- package/dist/scripts/30.chunk.js +0 -1809
- package/dist/scripts/30.chunk.js.map +0 -1
- package/dist/scripts/31-b51d47f02b.chunk.js +0 -1
- package/dist/scripts/31.chunk.js +0 -958
- package/dist/scripts/31.chunk.js.map +0 -1
- package/dist/scripts/32-3f5cffb858.chunk.js +0 -1
- package/dist/scripts/32.chunk.js +0 -1235
- package/dist/scripts/32.chunk.js.map +0 -1
- package/dist/scripts/33-bd5b8ad402.chunk.js +0 -1
- package/dist/scripts/33.chunk.js +0 -792
- package/dist/scripts/33.chunk.js.map +0 -1
- package/dist/scripts/34-16c6ce9391.chunk.js +0 -1
- package/dist/scripts/34.chunk.js +0 -990
- package/dist/scripts/34.chunk.js.map +0 -1
- package/dist/scripts/35-f0ff6077b5.chunk.js +0 -1
- package/dist/scripts/35.chunk.js +0 -518
- package/dist/scripts/35.chunk.js.map +0 -1
- package/dist/scripts/36-6d5df4dbb0.chunk.js +0 -1
- package/dist/scripts/36.chunk.js +0 -335
- package/dist/scripts/36.chunk.js.map +0 -1
- package/dist/scripts/37-1aedf84774.chunk.js +0 -1
- package/dist/scripts/37.chunk.js +0 -236
- package/dist/scripts/37.chunk.js.map +0 -1
- package/dist/scripts/38-9411624870.chunk.js +0 -1
- package/dist/scripts/38.chunk.js +0 -315
- package/dist/scripts/38.chunk.js.map +0 -1
- package/dist/scripts/39-f46d2f69b1.chunk.js +0 -1
- package/dist/scripts/39.chunk.js +0 -116
- package/dist/scripts/39.chunk.js.map +0 -1
- package/dist/scripts/4-2bf2f1b864.chunk.js +0 -1
- package/dist/scripts/4.chunk.js +0 -335
- package/dist/scripts/4.chunk.js.map +0 -1
- package/dist/scripts/40-2134ac47ae.chunk.js +0 -1
- package/dist/scripts/40.chunk.js +0 -1782
- package/dist/scripts/40.chunk.js.map +0 -1
- package/dist/scripts/41-38841ce7ed.chunk.js +0 -1
- package/dist/scripts/41.chunk.js +0 -2347
- package/dist/scripts/41.chunk.js.map +0 -1
- package/dist/scripts/42-06cb96ddaf.chunk.js +0 -1
- package/dist/scripts/42.chunk.js +0 -2111
- package/dist/scripts/42.chunk.js.map +0 -1
- package/dist/scripts/43-164d1aaf84.chunk.js +0 -1
- package/dist/scripts/43.chunk.js +0 -2243
- package/dist/scripts/43.chunk.js.map +0 -1
- package/dist/scripts/44-234dd1aac7.chunk.js +0 -1
- package/dist/scripts/44.chunk.js +0 -1024
- package/dist/scripts/44.chunk.js.map +0 -1
- package/dist/scripts/45-26c33d7856.chunk.js +0 -1
- package/dist/scripts/45.chunk.js +0 -1065
- package/dist/scripts/45.chunk.js.map +0 -1
- package/dist/scripts/46-07c390591d.chunk.js +0 -1
- package/dist/scripts/46.chunk.js +0 -613
- package/dist/scripts/46.chunk.js.map +0 -1
- package/dist/scripts/47-6a9c70d236.chunk.js +0 -1
- package/dist/scripts/47.chunk.js +0 -735
- package/dist/scripts/47.chunk.js.map +0 -1
- package/dist/scripts/48-ee3bf3e841.chunk.js +0 -1
- package/dist/scripts/48.chunk.js +0 -994
- package/dist/scripts/48.chunk.js.map +0 -1
- package/dist/scripts/49-73ebbe96d0.chunk.js +0 -1
- package/dist/scripts/49.chunk.js +0 -759
- package/dist/scripts/49.chunk.js.map +0 -1
- package/dist/scripts/5-19ce45d023.chunk.js +0 -1
- package/dist/scripts/5.chunk.js +0 -40
- package/dist/scripts/5.chunk.js.map +0 -1
- package/dist/scripts/50-a1439e0fa7.chunk.js +0 -1
- package/dist/scripts/50.chunk.js +0 -528
- package/dist/scripts/50.chunk.js.map +0 -1
- package/dist/scripts/51-cad32e2046.chunk.js +0 -1
- package/dist/scripts/51.chunk.js +0 -932
- package/dist/scripts/51.chunk.js.map +0 -1
- package/dist/scripts/52-1d3e8eb21e.chunk.js +0 -1
- package/dist/scripts/52.chunk.js +0 -408
- package/dist/scripts/52.chunk.js.map +0 -1
- package/dist/scripts/53-5e80e33e98.chunk.js +0 -1
- package/dist/scripts/53.chunk.js +0 -754
- package/dist/scripts/53.chunk.js.map +0 -1
- package/dist/scripts/54.chunk.js +0 -681
- package/dist/scripts/54.chunk.js.map +0 -1
- package/dist/scripts/55-4c8d7b57f9.chunk.js +0 -1
- package/dist/scripts/55.chunk.js +0 -645
- package/dist/scripts/55.chunk.js.map +0 -1
- package/dist/scripts/56-1d96fdfcd3.chunk.js +0 -1
- package/dist/scripts/56.chunk.js +0 -346
- package/dist/scripts/56.chunk.js.map +0 -1
- package/dist/scripts/57-c17cdf728f.chunk.js +0 -1
- package/dist/scripts/57.chunk.js +0 -422
- package/dist/scripts/57.chunk.js.map +0 -1
- package/dist/scripts/58-ce34e558f4.chunk.js +0 -1
- package/dist/scripts/58.chunk.js +0 -437
- package/dist/scripts/58.chunk.js.map +0 -1
- package/dist/scripts/59.chunk.js +0 -342
- package/dist/scripts/59.chunk.js.map +0 -1
- package/dist/scripts/6-e9685801b5.chunk.js +0 -1
- package/dist/scripts/6.chunk.js +0 -484
- package/dist/scripts/6.chunk.js.map +0 -1
- package/dist/scripts/60-8d73b65e4e.chunk.js +0 -1
- package/dist/scripts/60.chunk.js +0 -254
- package/dist/scripts/60.chunk.js.map +0 -1
- package/dist/scripts/61-bd804db13e.chunk.js +0 -1
- package/dist/scripts/61.chunk.js +0 -318
- package/dist/scripts/61.chunk.js.map +0 -1
- package/dist/scripts/62-827229b727.chunk.js +0 -1
- package/dist/scripts/62.chunk.js +0 -142
- package/dist/scripts/62.chunk.js.map +0 -1
- package/dist/scripts/63-7251ac44d0.chunk.js +0 -1
- package/dist/scripts/63.chunk.js +0 -147
- package/dist/scripts/63.chunk.js.map +0 -1
- package/dist/scripts/64-33ca5259e4.chunk.js +0 -1
- package/dist/scripts/64.chunk.js +0 -439
- package/dist/scripts/64.chunk.js.map +0 -1
- package/dist/scripts/65-50d52bf3df.chunk.js +0 -1
- package/dist/scripts/65.chunk.js +0 -582
- package/dist/scripts/65.chunk.js.map +0 -1
- package/dist/scripts/66-fe41a3b54a.chunk.js +0 -1
- package/dist/scripts/66.chunk.js +0 -442
- package/dist/scripts/66.chunk.js.map +0 -1
- package/dist/scripts/67-1508455eb9.chunk.js +0 -1
- package/dist/scripts/67.chunk.js +0 -295
- package/dist/scripts/67.chunk.js.map +0 -1
- package/dist/scripts/68-21e8520126.chunk.js +0 -1
- package/dist/scripts/68.chunk.js +0 -165
- package/dist/scripts/68.chunk.js.map +0 -1
- package/dist/scripts/69-4d26485024.chunk.js +0 -1
- package/dist/scripts/69.chunk.js +0 -248
- package/dist/scripts/69.chunk.js.map +0 -1
- package/dist/scripts/7-d0085fdf2e.chunk.js +0 -1
- package/dist/scripts/7.chunk.js +0 -309
- package/dist/scripts/7.chunk.js.map +0 -1
- package/dist/scripts/70-8e1d03a7d8.chunk.js +0 -1
- package/dist/scripts/70.chunk.js +0 -207
- package/dist/scripts/70.chunk.js.map +0 -1
- package/dist/scripts/71-b835514c89.chunk.js +0 -1
- package/dist/scripts/71.chunk.js +0 -237
- package/dist/scripts/71.chunk.js.map +0 -1
- package/dist/scripts/72-23d6083900.chunk.js +0 -1
- package/dist/scripts/72.chunk.js +0 -331
- package/dist/scripts/72.chunk.js.map +0 -1
- package/dist/scripts/73.chunk.js +0 -404
- package/dist/scripts/73.chunk.js.map +0 -1
- package/dist/scripts/74.chunk.js +0 -301
- package/dist/scripts/74.chunk.js.map +0 -1
- package/dist/scripts/75.chunk.js +0 -231
- package/dist/scripts/75.chunk.js.map +0 -1
- package/dist/scripts/76.chunk.js +0 -157
- package/dist/scripts/76.chunk.js.map +0 -1
- package/dist/scripts/77.chunk.js +0 -307
- package/dist/scripts/77.chunk.js.map +0 -1
- package/dist/scripts/78.chunk.js +0 -249
- package/dist/scripts/78.chunk.js.map +0 -1
- package/dist/scripts/79.chunk.js +0 -282
- package/dist/scripts/79.chunk.js.map +0 -1
- package/dist/scripts/8-0ebd446b65.chunk.js +0 -1
- package/dist/scripts/8.chunk.js +0 -307
- package/dist/scripts/8.chunk.js.map +0 -1
- package/dist/scripts/80.chunk.js +0 -308
- package/dist/scripts/80.chunk.js.map +0 -1
- package/dist/scripts/81.chunk.js +0 -366
- package/dist/scripts/81.chunk.js.map +0 -1
- package/dist/scripts/82.chunk.js +0 -314
- package/dist/scripts/82.chunk.js.map +0 -1
- package/dist/scripts/83.chunk.js +0 -328
- package/dist/scripts/83.chunk.js.map +0 -1
- package/dist/scripts/84.chunk.js +0 -313
- package/dist/scripts/84.chunk.js.map +0 -1
- package/dist/scripts/85.chunk.js +0 -291
- package/dist/scripts/85.chunk.js.map +0 -1
- package/dist/scripts/86.chunk.js +0 -119
- package/dist/scripts/86.chunk.js.map +0 -1
- package/dist/scripts/87.chunk.js +0 -219
- package/dist/scripts/87.chunk.js.map +0 -1
- package/dist/scripts/88.chunk.js +0 -194
- package/dist/scripts/88.chunk.js.map +0 -1
- package/dist/scripts/89.chunk.js +0 -522
- package/dist/scripts/89.chunk.js.map +0 -1
- package/dist/scripts/9-0476e7c063.chunk.js +0 -1
- package/dist/scripts/9.chunk.js +0 -222
- package/dist/scripts/9.chunk.js.map +0 -1
- package/dist/scripts/90.chunk.js +0 -337
- package/dist/scripts/90.chunk.js.map +0 -1
- package/dist/scripts/91.chunk.js +0 -131
- package/dist/scripts/91.chunk.js.map +0 -1
- package/dist/scripts/92.chunk.js +0 -266
- package/dist/scripts/92.chunk.js.map +0 -1
- package/dist/scripts/bundle-1efd9147e1.min.js +0 -1
- package/dist/scripts/bundle-486bb6fa60.min.js +0 -1
- package/dist/scripts/bundle-511dc1956b.min.js +0 -1
- package/dist/scripts/bundle-8468900bf9.min.js +0 -1
- package/dist/scripts/bundle.js +0 -57527
- package/dist/scripts/bundle.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[20],{1088:function(t,e,n){"use strict";n.r(e);var o=n(1),r=n(2),i=n(5),l=n(3),a=n(4),c=n(31),u=n(672),s=n(61),f=n(37),p=n(6),h=n(0),y=n(663),d=n(119),b=n(86),v=n(680),g=n(89),m=n(176),w=(n(716),n(719)),k=n(718),O=n(955),C=n.n(O),S=n(781),R=n(62),_=n(80);function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function T(t,e){return(T=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function j(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=F(t);if(e){var r=F(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return x(this,n)}}function x(t,e){return!e||"object"!==E(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var N=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T(t,e)}(i,t);var e,n,o,r=j(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"regions",value:function(){return{filterList:{el:".filter-list-region",replaceRegion:!1,partialLoading:p.j.PastReleasesSearchFilter}}}},{key:"getVisibleFilters",value:function(){return new R.a(this.collection.filter((function(t){return _.b.showFilter(t)})))}},{key:"renderFilterList",value:function(){var t=new S.b({collection:this.getVisibleFilters(),channelName:this.options.channelName});this.showChildView("filterList",t)}},{key:"onBeforeRender",value:function(){return!!this.collection}},{key:"onRender",value:function(){this.renderFilterList()}},{key:"name",get:function(){return"PastReleasesFiltersComponent"}},{key:"template",get:function(){return C.a}},{key:"lang",get:function(){return"contentUpdates.pastReleasesFilters"}}])&&P(e.prototype,n),o&&P(e,o),i}(r.a.Component),D=n(7),I=n(956),L=n.n(I);function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function V(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function U(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=H(t);if(e){var r=H(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return B(this,n)}}function B(t,e){return!e||"object"!==A(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function H(t){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var G=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(i,t);var e,n,o,r=U(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"regions",value:function(){return{filters:{el:".filters-region"}}}},{key:"events",value:function(){return{"click .generate-pdf":"onClickGeneratePdf"}}},{key:"onClickGeneratePdf",value:function(){D.Radio.channel(this.options.channelName).trigger("generate:pdf")}},{key:"renderFilters",value:function(){var t=new N({collection:this.filterCollection,channelName:this.options.channelName});this.showChildView("filters",t)}},{key:"viewOptions",value:function(){return{showGeneratePdf:this.options.showGeneratePdf}}},{key:"onRender",value:function(){this.renderFilters()}},{key:"name",get:function(){return"PastReleasesHeaderComponent"}},{key:"props",get:function(){return["filterCollection"]}},{key:"lang",get:function(){return"contentUpdates.pastReleasesHeader"}},{key:"className",get:function(){return"d-flex justify-content-between align-items-center p-3 border-bottom"}},{key:"template",get:function(){return L.a}}])&&V(e.prototype,n),o&&V(e,o),i}(r.a.Component),W=n(717),q=n(22),z=n(777),Q=n.n(z),Y=n(957),J=n.n(Y);function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function X(t,e){return(X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function K(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=et(t);if(e){var r=et(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return tt(this,n)}}function tt(t,e){return!e||"object"!==Z(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"PastReleasesView",(function(){return nt}));var nt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X(t,e)}(S,t);var e,n,O,C=K(S);function S(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,S),C.call(this,t)}return e=S,(n=[{key:"initialize",value:function(){this.bindListeners(),this.settingsDataService=i.a.getInstance(h.g.Settings,this),this.contentUpdatesDataService=i.a.getInstance(h.g.ContentUpdates,this),this.videoDataService=i.a.getInstance(h.g.Video,this),this.libraryDataService=i.a.getInstance(h.g.Library,this),this.videoMixinService=i.a.getInstance(h.x.VideoMixin,this)}},{key:"regions",value:function(){return{header:{el:".header-region",replaceElement:!0},leftNav:{el:".left-nav-region",replaceElement:!0},listHeader:{el:".list-header-region",replaceElement:!0},videos:{el:".video-list-region",replaceElement:!0,partialLoading:p.j.VideoGroupList},pagination:{el:".pagination-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(h.e.SETTINGS,"".concat(h.f.SETTINGS,":sync"),this.render),this.listenTo(this.channelName,"generate:pdf",this.onClickGeneratePdf),this.listenTo(h.e.RESTRICTED_VIDEO,"".concat(h.f.UPDATE_VIDEO_RESTRICTION,":sync"),this.updateRestrictedVideos),this.listenTo(this.channelName,h.i.Filters.FILTER_CHANGED,o.debounce(this.onFilterChange,100)),this.listenTo(this.channelName,"fetch:video:with:metadata",this.fetchVideoWithMetadata)}},{key:"initializeFilterCollection",value:function(){var t=this;this.filterCollection||this.libraryDataService.getHostedLibraries((function(e){return t.onLibrariesSync(e)}))}},{key:"onLibrariesSync",value:function(t){var e=this;this.filterCollection||(this.libraryIds=m.f.getLibraryIds(this.options.queryParams[q.a.Libraries],t),this.subjectCollectionIdentifier=new v.c({dateQueryString:this.options.queryParams[q.a.ReleaseDate],libraryIds:this.libraryIds}),this.contentUpdatesDataService.getRecentVideoSubjects(this.subjectCollectionIdentifier,(function(n){return e.onSubjectsSync(t,n)})))}},{key:"onSubjectsSync",value:function(t,e){var n=m.f.getSubjectOptions(e);this.filterCollection=m.f.getFilterCollection(t,n,this.options.queryParams);var o=m.f.getSelectedSubjects(this.filterCollection),r=n.length>1&&n.length===o.length;this.videoCollectionIdentifier=new v.b({dateQueryString:this.options.queryParams[q.a.ReleaseDate],libraryIds:this.libraryIds,subjects:!r&&o,cursor:this.options.queryParams.cursor}),this.listenTo(h.e.CONTENT_UPDATES,"".concat(this.videoCollectionIdentifier.toString(),":sync"),this.render),this.fetchVideos()}},{key:"setVideosWithMetadata",value:function(){this.videoCollection&&!this.videosWithMetadata&&(this.videosWithMetadata=new f.a(this.videoCollection.map((function(t){return new s.a({id:t.get("id")})}))))}},{key:"updateRestrictedVideos",value:function(){var t=this;this.videoMixinService.getAndMixinVideoCollectionRestrictions(this.videoCollection,null,(function(){return t.render()}))}},{key:"onFilterChange",value:function(){r.a.AppLinkHelper.trigger({application:h.b.CONTENT_UPDATES,action:h.a.ContentUpdates.PAST_RELEASES,params:m.f.getRouteQueryParams(this.filterCollection)})}},{key:"onClickGeneratePdf",value:function(){this.videoCollection.length&&(r.a.AppLinkHelper.trigger({application:h.b.CONTENT_UPDATES,action:h.a.ContentUpdates.GENERATE_PDF,params:m.f.getRouteQueryParams(this.filterCollection)}),this.logPdfAction())}},{key:"getContentClassName",value:function(){var t=Q.a.content;return this.reviewSetting&&this.reviewSetting.get("value")?t+=" d-inline-block border-left ".concat(Q.a.contentWithLeftNav):t+=" w-100",t}},{key:"logPdfAction",value:function(){var t={location:a.k.PastReleasesHeader,actionType:a.q.Create,entity:a.e.PDF,workflowPhase:a.r.Start},e=m.f.getSelectedSubjects(this.filterCollection),n=m.f.getSelectedReleaseDate(this.filterCollection),o={libraries:this.libraryIds.join(","),subjects:e.map((function(t){return t.get("name")})).join(","),releaseDate:n.get("name")};c.a.logUserAction(o,t)}},{key:"renderHeader",value:function(){this.reviewSetting?this.showChildView("header",new w.a({activeTab:m.b.PastReleases,reviewEnabled:this.reviewSetting.get("value")})):this.renderPartialLoading("header")}},{key:"renderLeftNav",value:function(){this.reviewSetting&&this.reviewSetting.get("value")&&this.showChildView("leftNav",new k.a({supportSiteUrl:this.config.get("supportSiteUrl")}))}},{key:"renderListHeader",value:function(){this.showChildView("listHeader",new G({filterCollection:this.filterCollection,channelName:this.channelName,showGeneratePdf:!!this.videoCollection&&!!this.videoCollection.length}))}},{key:"renderVideos",value:function(){this.config&&this.groupedVideoCollection?this.showChildView("videos",new W.a({collection:this.groupedVideoCollection,childOptions:{config:this.config,videoItemComponentType:y.b.PastReleases,videosWithMetadata:this.videosWithMetadata,customerHasCustomLibrary:this.customLibraries&&!!this.customLibraries.length,collectionViewChannel:this.channelName},emptyStateType:p.c.PastReleases,emptyStateOptions:{heading:l.a.getPhrase(this.lang,"emptyState")}})):this.renderPartialLoading("videos")}},{key:"renderPagination",value:function(){if(this.videoCollection){var t=this.contentUpdatesDataService.getVideoCollectionCursors(this.videoCollectionIdentifier),e=new u.a({cursors:t,appLink:{application:h.b.CONTENT_UPDATES,action:h.a.ContentUpdates.PAST_RELEASES,params:m.f.getRouteQueryParams(this.filterCollection)}});this.showChildView("pagination",e)}}},{key:"fetchVideos",value:function(){this.filterCollection&&!this.videoCollection&&(this.videoCollection=this.contentUpdatesDataService.getRecentVideos(this.videoCollectionIdentifier),this.videoCollection&&(this.setVideosWithMetadata(),this.groupedVideoCollection=m.f.groupVideosByReleaseMonth(this.videoCollection)))}},{key:"fetchVideoWithMetadata",value:function(t){var e=this;this.videoDataService.getVideo(t,(function(n){var o=e.videosWithMetadata.get(t);o&&(o.set(n.toJSON()),o.set({dataFetched:!0}))}))}},{key:"onBeforeRender",value:function(){this.initializeFilterCollection(),this.fetchVideos(),this.videoCollection&&(this.groupedVideoCollection=m.f.groupVideosByReleaseMonth(this.videoCollection)),this.reviewSetting=this.settingsDataService.getSetting(this.currentUser.get("customerId"),p.m.LibraryReview)}},{key:"viewOptions",value:function(){return{showLeftNav:this.reviewSetting&&this.reviewSetting.get("value"),contentClass:this.getContentClassName()}}},{key:"onRender",value:function(){this.renderHeader(),this.renderLeftNav(),this.renderListHeader(),this.renderVideos(),this.renderPagination()}},{key:"name",get:function(){return"PastReleasesView"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"contentUpdates.pastReleases"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"bg-white"}},{key:"template",get:function(){return J.a}},{key:"requiredResources",get:function(){return{config:d.b.config,currentUser:b.b.currentUser,customLibraries:g.b.libraries}}}])&&$(e.prototype,n),O&&$(e,O),S}(r.a.View)},672:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var o=n(1),r=n(2),i=n(4),l=n(31),a=n(673),c=n.n(a);class u extends r.a.Component{constructor(t){super(t)}get defaults(){return{cursors:{},cursorParamName:"cursor"}}get name(){return"PaginationComponent"}get template(){return c.a}get lang(){return"shared._pagination"}get appLinks(){const t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){let e=this.options.cursors.previous;const n=this.buildCursor(this.options.cursors.previous);+e<=1&&!0!==this.options.allowFirstPageCursor&&delete n.params.cursor,t[".previous-applink"]=n}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}events(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}buildCursor(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:o.extend({},this.options.appLink.params,{[this.options.cursorParamName]:t})}}onClickPrevious(){this.logAction("previous")}onClickNext(){this.logAction("next")}logAction(t){const e=l.a.mergeOptions(this.options.analyticsOptions,{location:i.k.Pagination,entity:i.e.Pagination,actionType:i.q.Navigate,workflowPhase:i.r.Complete}),n={id:this.options.collectionId,page:t};l.a.logUserAction(n,e)}viewOptions(){return{cursors:this.options.cursors}}onBeforeRender(){return!!this.options.cursors}}},673:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{},a=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(i=n.unless.call(l,null!=(i=null!=(i=null!=e?e.options:e)?i.cursors:i)?i.previous:i,{name:"unless",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'">'+c((n.lang||e&&e.lang||a).call(l,"previous",{name:"lang",hash:{},data:r}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(i=n.unless.call(l,null!=(i=null!=(i=null!=e?e.options:e)?i.cursors:i)?i.next:i,{name:"unless",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'">'+c((n.lang||e&&e.lang||a).call(l,"next",{name:"lang",hash:{},data:r}))+"</a>\r\n</div>"},useData:!0})},677:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o=n(1),r=n(2),i=n(678),l=n.n(i),a=n(679),c=n.n(a);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=y(t);if(e){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(a,t);var e,n,r,i=p(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,t)}return e=a,(n=[{key:"viewOptions",value:function(){var t=this.options.tabs.map((function(t){return Object.assign(Object.assign({},t),{link:t.link.selector.replace(".","")})}));return{styles:l.a,tabs:t}}},{key:"setActiveTab",value:function(){var t=this,e=!1;if(this.options.tabs.forEach((function(n){n.active=!1,n.link.selector===t.options.activeTab&&(n.active=!0,e=!0)})),!e){var n=o.first(this.options.tabs);n&&(n.active=!0)}}},{key:"onBeforeRender",value:function(){this.setActiveTab()}},{key:"name",get:function(){return"TabsView"}},{key:"className",get:function(){var t="bg-white py-2 border-bottom";return this.options.className&&(t+=" ".concat(this.options.className)),t}},{key:"template",get:function(){return c.a}},{key:"appLinks",get:function(){var t={};return this.options.tabs.forEach((function(e){return t[e.link.selector]=e.link.appLink})),t}}])&&s(e.prototype,n),r&&s(e,r),a}(r.a.Component)},678:function(t,e,n){t.exports={link:"_5idZs",active:"_3Ty4M"}},679:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r,i,l){var a;t.propertyIsEnumerable;return null!=(a=n.unless.call(null!=e?e:t.nullContext||{},null!=e?e.hide:e,{name:"unless",hash:{},fn:t.program(2,r,0,i,l),inverse:t.noop,data:r}))?a:""},2:function(t,e,n,o,r,i,l){t.propertyIsEnumerable;var a,c=t.lambda,u=t.escapeExpression;return' <a class="'+u(c(null!=(a=null!=(a=null!=l[1]?l[1].options:l[1])?a.styles:a)?a.link:a,e))+" p-2 "+u(c(null!=e?e.link:e,e))+" "+(null!=(a=n.if.call(null!=e?e:t.nullContext||{},null!=e?e.active:e,{name:"if",hash:{},fn:t.program(3,r,0,i,l),inverse:t.noop,data:r}))?a:"")+'">'+u(c(null!=e?e.name:e,e))+"</a>\r\n"},3:function(t,e,n,o,r,i,l){var a;t.propertyIsEnumerable;return t.escapeExpression(t.lambda(null!=(a=null!=(a=null!=l[1]?l[1].options:l[1])?a.styles:a)?a.active:a,e))+" border-bottom border-primary text-primary"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r,i,l){var a;t.propertyIsEnumerable;return null!=(a=n.each.call(null!=e?e:t.nullContext||{},null!=(a=null!=e?e.options:e)?a.tabs:a,{name:"each",hash:{},fn:t.program(1,r,0,i,l),inverse:t.noop,data:r}))?a:""},useData:!0,useDepths:!0})},680:function(t,e,n){"use strict";var o=n(121),r=n(1),i=n(120),l=n(0),a=n(88),c=n(176);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=b(t);if(e){var r=b(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(u,t);var e,n,o,i=y(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=i.call(this,{collectionPrefix:"".concat(l.f.RECENT_VIDEOS,":collection"),cursor:t.cursor,sort:t.sort})).setAdditionalData(t),e}return e=u,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString,o=t.subjects;e&&(this.libraryIds=e),o&&(r.isArray(o)&&o.length&&(this.subjects=o),r.isArray(o)||(this.subjects=[o]));var i=r.findWhere(c.g,{queryString:n})||c.e;this.dateOption=new a.b(i)}},{key:"toString",value:function(){var t=this.subjects&&this.subjects.length&&this.subjects.map((function(t){return escape(t.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat(s(t),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),this.subjects&&(t.subjectIds=r.flatten(this.subjects.map((function(t){return t.get("subjectIds")})))),this.cursor&&(t.cursor=this.cursor),t}}])&&p(e.prototype,n),o&&p(e,o),u}(i.a);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=C(t);if(e){var r=C(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return O(this,n)}}function O(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(u,t);var e,n,o,i=k(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=i.call(this,{collectionPrefix:"".concat(l.f.RECENT_SUBJECTS,":collection"),sort:t.sort})).setAdditionalData(t),e}return e=u,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString;e&&(this.libraryIds=e);var o=r.findWhere(c.g,{queryString:n})||c.e;this.dateOption=new a.b(o)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),t}}])&&m(e.prototype,n),o&&m(e,o),u}(i.a);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=j(t);if(e){var r=j(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return T(this,n)}}function T(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function j(t){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(n,t);var e=P(n);function n(t,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return _(this,n),e.call(this,{collectionPrefix:l.f.LIBRARY_FOLDERS,id:t,sort:o,cursor:r})}return n}(i.a);n.d(e,"d",(function(){return o.a})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return S})),n.d(e,"a",(function(){return x}))},683:function(t,e,n){t.exports={label:"_3iMZr",filterButton:"_1xOts",dropdownMenu:"_1Yzts"}},690:function(t,e,n){"use strict";var o={TagFilter:"tag:filter"};n.d(e,"a",(function(){return o}))},716:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var o=n(7),r=n(2),i=n(4),l=n(31),a=n(11),c=n(3),u=n(770),s=n.n(u);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=v(t);if(e){var r=v(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(f,t);var e,n,r,u=d(f);function f(){return p(this,f),u.apply(this,arguments)}return e=f,(n=[{key:"events",value:function(){return{"click .approve-all":"onClickApproveAll"}}},{key:"onClickApproveAll",value:function(){var t=this;new a.d(this.getApproveAllDialogOptions()).render().done((function(){return t.onConfirmApproveAll()})),this.logAction(i.r.Start)}},{key:"onConfirmApproveAll",value:function(){o.Radio.channel(this.options.channelName).trigger("approve:all"),this.logAction(i.r.Complete)}},{key:"getApproveAllDialogOptions",value:function(){return{title:c.a.getPhrase(this.lang,"dialogTitle"),text:c.a.getPhrase(this.lang,"dialogBody"),buttons:[{text:c.a.getPhrase(this.lang,"dialogButton"),className:"btn btn-primary",success:!0}]}}},{key:"logAction",value:function(t){var e={location:i.k.AwaitingReviewVideoListHeader,actionType:i.q.Approve,descriptor:i.l.All,entity:i.e.Video,workflowPhase:t},n={approvedCount:this.collection.length};l.a.logUserAction(n,e)}},{key:"viewOptions",value:function(){return{videosToReview:!!this.collection.length,multipleVideos:this.collection.length>1,numVideos:this.collection.length}}},{key:"name",get:function(){return"AwaitingReviewHeaderComponent"}},{key:"className",get:function(){return"d-flex justify-content-between align-items-center p-3 border-bottom"}},{key:"template",get:function(){return s.a}},{key:"lang",get:function(){return"contentUpdates.awaitingReviewHeader"}}])&&h(e.prototype,n),r&&h(e,r),f}(r.a.Component)},717:function(t,e,n){"use strict";n.d(e,"a",(function(){return R}));var o=n(2),r=n(3),i=n(179),l=n(0),a=n(6),c=n(712),u=n(663),s=n(771),f=n.n(s),p=n(772),h=n.n(p);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function v(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=O(t);if(e){var r=O(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return k(this,n)}}function k(t,e){return!e||"object"!==y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"regions",value:function(){return{videos:{el:".video-list-region",replaceElement:!0}}}},{key:"getGroupTitle",value:function(){var t=this.options.groupTitleAttr||"groupTitle";return this.model.get(t)}},{key:"viewOptions",value:function(){return{groupTitle:this.getGroupTitle()}}},{key:"onRender",value:function(){this.showChildView("videos",new c.a({collection:this.model.videos,videosWithMetadata:this.options.videosWithMetadata,application:l.b.CONTENT_UPDATES,collectionIdentifier:null,videoItemComponentType:this.options.videoItemComponentType,config:this.options.config,sourceMetadataOptions:this.options.sourceMetadataOptions,collectionViewChannel:this.options.collectionViewChannel,customerHasLocalCache:this.options.customerHasLocalCache,customerHasCustomLibrary:this.options.customerHasCustomLibrary}))}},{key:"name",get:function(){return"VideoGroupItemComponent"}},{key:"template",get:function(){return h.a}},{key:"className",get:function(){return"pt-3"}},{key:"defaults",get:function(){return{videoItemComponentType:u.b.Base}}}]),n}(o.a.Component),S=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"name",get:function(){return"VideoGroupItemComponentCollection"}},{key:"childView",get:function(){return C}},{key:"childViewOptions",get:function(){return this.options.childOptions}}]),n}(o.a.ComponentCollection),R=function(t){g(n,t);var e=w(n);function n(t){return d(this,n),e.call(this,t)}return v(n,[{key:"regions",value:function(){return{videos:{el:".videos-region",replaceElement:!0}}}},{key:"getEmptyStateComponentOptions",value:function(){return this.options.emptyStateType===a.c.AwaitingReview?{heading:r.a.getPhrase(this.lang,"awaitingReviewEmptyStateHeading"),description:r.a.getPhrase(this.lang,"awaitingReviewEmptyStateBody")}:this.options.emptyStateType===a.c.PastReleases?{heading:r.a.getPhrase(this.lang,"pastReleasesEmptyStateHeading")}:void 0}},{key:"onRender",value:function(){this.showChildView("videos",new S(this.options))}},{key:"name",get:function(){return"VideoGroupListComponent"}},{key:"template",get:function(){return f.a}},{key:"lang",get:function(){return"contentUpdates.videoGroupList"}},{key:"defaults",get:function(){return{emptyState:a.c.Default}}},{key:"behaviors",get:function(){return[{behaviorClass:i.a,region:"videos",type:this.options.emptyStateType,componentOptions:this.getEmptyStateComponentOptions(),emptyStateComponents:l.h}]}}]),n}(o.a.Component)},718:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var o=n(2),r=n(58),i=n(0),l=n(4),a=n(31),c=n(773),u=n.n(c),s=n(774),f=n.n(s);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=v(t);if(e){var r=v(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(s,t);var e,n,o,c=d(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),c.call(this,t)}return e=s,(n=[{key:"events",value:function(){return{"click .disable-review":"onClickDisableReview"}}},{key:"onClickDisableReview",value:function(){var t={location:l.k.LeftNav,actionType:l.q.Disable,entity:l.e.CustomerSetting,descriptor:l.c.LibraryReview,workflowPhase:l.r.Start};a.a.logUserAction({},t)}},{key:"viewOptions",value:function(){return{supportUrl:r.a.safeUrlConcat(this.options.supportSiteUrl,i.y.LIBRARY_REVIEW)}}},{key:"name",get:function(){return"ContentUpdatesLeftNavComponent"}},{key:"className",get:function(){return"d-inline-block ".concat(f.a.leftNav)}},{key:"template",get:function(){return u.a}},{key:"lang",get:function(){return"contentUpdates.contentUpdatesLeftNav"}},{key:"appLinks",get:function(){return{".disable-review":{application:i.b.CONTENT_UPDATES,action:i.a.ContentUpdates.DISABLE_REVIEW}}}}])&&h(e.prototype,n),o&&h(e,o),s}(o.a.Component)},719:function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var o=n(2),r=n(775),i=n.n(r),l=n(677),a=n(176),c=n(776),u=n.n(c);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=d(t);if(e){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(c,t);var e,n,o,r=h(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),r.call(this,t)}return e=c,(n=[{key:"regions",value:function(){return{tabs:{el:".tabs-region"}}}},{key:"getTabs",value:function(){var t=a.d;return this.options.reviewEnabled?t:t.filter((function(t){return t.name!==a.a.AwaitingReview}))}},{key:"viewOptions",value:function(){return{styles:u.a}}},{key:"onRender",value:function(){var t=this.getTabs();t.length<=1||this.showChildView("tabs",new l.a({tabs:t,activeTab:this.options.activeTab,className:"border-0"}))}},{key:"name",get:function(){return"ContentUpdatesHeaderComponent"}},{key:"className",get:function(){return"d-flex align-items-end border-bottom"}},{key:"template",get:function(){return i.a}},{key:"lang",get:function(){return"contentUpdates.contentUpdatesHeader"}}])&&f(e.prototype,n),o&&f(e,o),c}(o.a.Component)},752:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<h6 class="mb-0">'+t.escapeExpression("function"==typeof(i=null!=(i=n.title||(null!=e?e.title:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"title",hash:{},data:r}):i)+'</h6>\r\n<div class="options-region"></div>'},useData:!0})},753:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;return' <a class="clear-filters float-left text-muted hover-text-underline cursor-pointer">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"reset",{name:"lang",hash:{},data:r}))+"</a>\r\n"},3:function(t,e,n,o,r){t.propertyIsEnumerable;return' <a class="apply-filters d-block text-right info-link">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"apply",{name:"lang",hash:{},data:r}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{};return'<div class="filter-list-region"></div>\r\n<div>\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showClearFilters:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showApplyFilters:i,{name:"if",hash:{},fn:t.program(3,r,0),inverse:t.noop,data:r}))?i:"")+"</div>"},useData:!0})},754:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<button class="'+a(l(null!=(i=null!=e?e.options:e)?i.buttonClass:i,e))+' dropdown-btn" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\r\n '+a(l(null!=(i=null!=e?e.options:e)?i.label:i,e))+'\r\n</button>\r\n<div class="dropdown-menu p-2 filters-region"></div>'},useData:!0})},755:function(t,e,n){t.exports={moreFiltersButton:"_3sym3"}},756:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;return'<div class="d-inline-block text-right">\r\n <a class="clear-filters cursor-pointer hover-text-underline">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"reset",{name:"lang",hash:{},data:r}))+"</a>\r\n</div>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression,a=null!=e?e:t.nullContext||{};return'<div class="d-inline-block border-right py-1 pr-3 '+l(t.lambda(null!=(i=null!=e?e.options:e)?i.labelClass:i,e))+'"><strong>'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(a,"heading",{name:"lang",hash:{},data:r}))+'</strong></div>\r\n<div class="filter-list-region d-inline-block pl-2"></div>\r\n<div class="more-filters-region d-inline-block mr-2"></div>\r\n'+(null!=(i=n.if.call(a,null!=(i=null!=e?e.options:e)?i.hasFiltersSelected:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")},useData:!0})},757:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<button class="'+a(l(null!=(i=null!=e?e.options:e)?i.buttonClass:i,e))+' dropdown-btn cursor-pointer" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\r\n '+a(l(null!=(i=null!=e?e.options:e)?i.label:i,e))+'\r\n</button>\r\n<div class="dropdown-menu '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.dropdownMenu:i,e))+' p-2 filter-region"></div>'},useData:!0})},758:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="option-list-region"></div>'},useData:!0})},759:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<div class="default-option py-1">\r\n <div class="custom-control custom-'+a(l(null!=(i=null!=e?e.options:e)?i.inputType:i,e))+'">\r\n <input type='+a(l(null!=(i=null!=e?e.options:e)?i.inputType:i,e))+' autocomplete="off" class="custom-control-input"'+(null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.defaultOptionSelected:i,{name:"if",hash:{},fn:t.program(2,r,0),inverse:t.noop,data:r}))?i:"")+'>\r\n <label class="custom-control-label align-middle cursor-pointer">'+a(l(null!=(i=null!=e?e.options:e)?i.defaultOptionLabel:i,e))+"</label>\r\n </div>\r\n</div>\r\n"},2:function(t,e,n,o,r){return" checked"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return(null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.defaultOptionLabel:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'<div class="options-region"></div>'},useData:!0})},760:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return" checked"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l,a=t.lambda,c=t.escapeExpression,u=null!=e?e:t.nullContext||{};return'<div class="custom-control custom-'+c(a(null!=(i=null!=e?e.options:e)?i.inputType:i,e))+'">\r\n <input type='+c(a(null!=(i=null!=e?e.options:e)?i.inputType:i,e))+' autocomplete="off" class="custom-control-input"'+(null!=(i=n.if.call(u,null!=e?e.active:e,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'>\r\n <label class="custom-control-label align-middle cursor-pointer">'+c("function"==typeof(l=null!=(l=n.name||(null!=e?e.name:e))?l:t.hooks.helperMissing)?l.call(u,{name:"name",hash:{},data:r}):l)+"</label>\r\n</div>"},useData:!0})},761:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return" on"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l,a=null!=e?e:t.nullContext||{};return'<div class="custom-toggle toggle-option float-right'+(null!=(i=n.if.call(a,null!=(i=null!=e?e.options:e)?i.isSelected:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'"><span class="handle"></span></div>\r\n<p>'+t.escapeExpression("function"==typeof(l=null!=(l=n.description||(null!=e?e.description:e))?l:t.hooks.helperMissing)?l.call(a,{name:"description",hash:{},data:r}):l)+"</p>"},useData:!0})},762:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return t.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=e?e.name:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:r}):i)},useData:!0})},763:function(t,e,n){t.exports={options:"_6o30E",option:"_3yReT"}},764:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l,a=t.escapeExpression,c=null!=e?e:t.nullContext||{},u=t.hooks.helperMissing;return'<button type="button" class="d-block option-btn w-100 '+a(t.lambda(null!=(i=null!=e?e.options:e)?i.buttonClass:i,e))+'">\r\n '+a("function"==typeof(l=null!=(l=n.name||(null!=e?e.name:e))?l:u)?l.call(c,{name:"name",hash:{},data:r}):l)+'\r\n</button>\r\n<div class="text-center">'+a("function"==typeof(l=null!=(l=n.description||(null!=e?e.description:e))?l:u)?l.call(c,{name:"description",hash:{},data:r}):l)+"</div>"},useData:!0})},765:function(t,e,n){t.exports={optionItem:"_3jzt0",customOptionItem:"_78r7L",selected:"aFhSG"}},766:function(t,e,n){t.exports={container:"_1SMXf"}},767:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;return'<p class="mb-0">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"emptyState",{name:"lang",hash:{},data:r}))+"</p>\r\n"},3:function(t,e,n,o,r){return'<div class="dropdown-divider"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{};return(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showEmptyState:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'\r\n<div class="selected-tags-region"></div>\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.useDivider:i,{name:"if",hash:{},fn:t.program(3,r,0),inverse:t.noop,data:r}))?i:"")+'<div class="relevant-tags-region"></div>'},useData:!0})},768:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="tags-region"></div>'},useData:!0})},770:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return'<button class="approve-all btn btn-success d-inline-block '+l(t.lambda(null!=(i=null!=e?e.options:e)?i.btnClass:i,e))+'" type="button">'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"approveBtn",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.numVideos:i},data:r}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression,a=null!=e?e:t.nullContext||{};return'<h5 class="d-inline-block m-0 '+l(t.lambda(null!=(i=null!=e?e.options:e)?i.headingClass:i,e))+'">'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(a,"heading",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.numVideos:i},data:r}))+"</h5>\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=e?e.options:e)?i.videosToReview:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")},useData:!0})},771:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="videos-region"></div>'},useData:!0})},772:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<h4 class="pl-3">'+t.escapeExpression(t.lambda(null!=(i=null!=e?e.options:e)?i.groupTitle:i,e))+'</h4>\r\n<div class="video-list-region"></div>'},useData:!0})},773:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{},a=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3 border-bottom">\r\n <h5>'+c((n.lang||e&&e.lang||a).call(l,"manualReviewHeading",{name:"lang",hash:{},data:r}))+"</h5>\r\n <p>"+c((n.lang||e&&e.lang||a).call(l,"manualReviewBody",{name:"lang",hash:{},data:r}))+'</p>\r\n <button class="btn btn-light text-center disable-review" type="button">'+c((n.lang||e&&e.lang||a).call(l,"manualReviewOffBtn",{name:"lang",hash:{},data:r}))+'</button>\r\n</div>\r\n<div class="p-3 border-bottom">\r\n <p class="m-0">'+c((n.lang||e&&e.lang||a).call(l,"noActionDisclaimer",{name:"lang",hash:{},data:r}))+'</p>\r\n <p class="m-0">'+c((n.lang||e&&e.lang||a).call(l,"learnMore",{name:"lang",hash:{},data:r}))+" <a href="+c(t.lambda(null!=(i=null!=e?e.options:e)?i.supportUrl:i,e))+' target="_blank">'+c((n.lang||e&&e.lang||a).call(l,"learnMoreLink",{name:"lang",hash:{},data:r}))+"</a></p>\r\n</div>"},useData:!0})},774:function(t,e,n){t.exports={leftNav:"_15vRB"}},775:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<div class="d-inline-block p-3 '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.heading:i,e))+'"><h1 class="h3 m-0">'+a((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"contentUpdates",{name:"lang",hash:{},data:r}))+'</h1></div><div class="tabs-region d-inline-flex align-items-end '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.tabsContainer:i,e))+'"></div>'},useData:!0})},776:function(t,e,n){t.exports={heading:"_1SwZ2",tabsContainer:"_3f4T9"}},777:function(t,e,n){t.exports={content:"_303Nb",contentWithLeftNav:"_2ZCHY"}},781:function(t,e,n){"use strict";var o=n(7),r=n(2),i=n(0),l=n(6),a=n(4),c=n(31),u=n(24),s=n(3),f=n(17),p=n(80),h=n(690),y=n(752),d=n.n(y);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=k(t);if(e){var r=k(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==b(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(i,t);var e,n,o,r=m(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"regions",value:function(){return{options:{el:".options-region",replaceElement:!0}}}},{key:"renderOptions",value:function(){this.showChildView("options",new jt({collection:this.model.options,model:this.model,channelName:this.options.channelName}))}},{key:"onRender",value:function(){this.renderOptions()}},{key:"name",get:function(){return"FilterItemComponent"}},{key:"template",get:function(){return d.a}},{key:"className",get:function(){return"py-1"}}])&&v(e.prototype,n),o&&v(e,o),i}(r.a.Component),C=n(753),S=n.n(C);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function P(t,e,n){return e&&E(t.prototype,e),n&&E(t,n),t}function T(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j(t,e)}function j(t,e){return(j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=N(t);if(e){var r=N(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return F(this,n)}}function F(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var D=function(t){T(n,t);var e=x(n);function n(){return _(this,n),e.apply(this,arguments)}return P(n,[{key:"initialize",value:function(){this.bindListeners()}},{key:"regions",value:function(){return{filterList:{el:".filter-list-region",replaceElement:!0}}}},{key:"events",value:function(){return{click:"onClick","click .apply-filters":"onClickApplyFilters","click .clear-filters":"onClickClearFilters"}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,i.i.Filters.OPTION_SELECTED,this.render)}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"onClickApplyFilters",value:function(t){t.stopPropagation(),this.applyFilters(),this.render()}},{key:"onClickClearFilters",value:function(t){t.stopPropagation(),o.Radio.channel(this.options.channelName).trigger("reset:filters"),p.b.clearFilters(this.collection),this.isTagFilterType()&&o.Radio.channel(h.a.TagFilter).trigger("change:relevant:tags"),this.render()}},{key:"applyFilters",value:function(){o.Radio.channel(this.options.channelName).trigger(i.i.Filters.APPLY_FILTER)}},{key:"hasFiltersSelected",value:function(){return this.collection.some((function(t){return p.b.isSelected(t)}))}},{key:"isTagFilterType",value:function(){return!!this.collection.findWhere({type:f.a.Tags})}},{key:"viewOptions",value:function(){return{showApplyFilters:!this.isTagFilterType(),showClearFilters:this.hasFiltersSelected()}}},{key:"onRender",value:function(){this.showChildView("filterList",new I({collection:this.collection,channelName:this.channelName}))}},{key:"name",get:function(){return"FilterListComponent"}},{key:"template",get:function(){return S.a}},{key:"lang",get:function(){return"search.filterList"}},{key:"className",get:function(){return"px-1"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}]),n}(r.a.Component),I=function(t){T(n,t);var e=x(n);function n(t){return _(this,n),e.call(this,t)}return P(n,[{key:"name",get:function(){return"FilterComponentCollection"}},{key:"tagName",get:function(){return"ul"}},{key:"className",get:function(){return"m-0 p-0"}},{key:"childView",get:function(){return O}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName}}}]),n}(r.a.ComponentCollection),L=n(62),A=n(683),V=n.n(A),M=n(754),U=n.n(M),B=n(755),H=n.n(B);function G(t){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function q(t,e){return(q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function z(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Y(t);if(e){var r=Y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Q(this,n)}}function Q(t,e){return!e||"object"!==G(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Y(t){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var J=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q(t,e)}(f,t);var e,n,r,l=z(f);function f(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),l.call(this,t)}return e=f,(n=[{key:"initialize",value:function(){this.getViewModel(),this.setInitialFilters(),this.bindListeners()}},{key:"regions",value:function(){return{filters:{el:".filters-region",replaceElement:!1}}}},{key:"events",value:function(){return{"hide.bs.dropdown":"onHideDropdown","show.bs.dropdown":"onShowDropdown"}}},{key:"getViewModel",value:function(){this.viewModel=u.a.get(this.viewModelName)}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,i.i.Filters.APPLY_FILTER,this.onClickApplyFilters),this.listenTo(this.channelName,"reset:filters",this.logFilterResetAction)}},{key:"setInitialFilters",value:function(){this.initialFilters=new L.a(this.collection.toJSON())}},{key:"onClickApplyFilters",value:function(){this.viewModel.get("dropdownVisible")&&(this.viewModel.set({applyClicked:!0}),this.toggleDropdown())}},{key:"onShowDropdown",value:function(){this.viewModel.set("dropdownVisible",!0)}},{key:"onHideDropdown",value:function(){var t=this.viewModel.get("applyClicked");this.viewModel.unset("applyClicked"),this.viewModel.set("dropdownVisible",!1),this.applyFilters(!!t)}},{key:"toggleDropdown",value:function(){this.getUI("dropdownToggle").dropdown("toggle")}},{key:"applyFilters",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.haveFiltersChanged()&&(this.logFilterApplyAction(t),this.setInitialFilters(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.FILTER_CHANGED),this.render())}},{key:"haveFiltersChanged",value:function(){var t=this;return!this.collection.every((function(e,n){return!p.b.hasFilterChanged(t.initialFilters.at(n),e)}))}},{key:"isSelected",value:function(){return this.collection.some((function(t){return p.b.isSelected(t)}))}},{key:"numSelectedFilters",value:function(){return this.collection.filter((function(t){return p.b.isSelected(t)})).length}},{key:"getLabel",value:function(){var t=s.a.getPhrase(this.lang,"moreFilters"),e=this.numSelectedFilters();return e&&(t+=" - ".concat(e)),t}},{key:"getButtonClass",value:function(){var t="btn ".concat(V.a.filterButton);return this.isSelected()?t+=" btn-info":t+=" btn-light",t}},{key:"logFilterApplyAction",value:function(t){var e=this;this.collection.each((function(n,o){p.b.hasFilterChanged(e.initialFilters.at(o),n)&&e.logFilter(n,t)}))}},{key:"logFilter",value:function(t,e){var n={location:a.k.SearchFilters,actionType:a.q.Filter,entity:a.e.Video,workflowPhase:a.r.Complete},o={filter:t.get("title"),selectedOption:p.b.getFilterSelectedOptionsAnalyticsData(t),applyClicked:e};c.a.logUserAction(o,n)}},{key:"logFilterResetAction",value:function(){var t={location:a.k.SearchFilters,actionType:a.q.Filter,descriptor:a.h.Reset,entity:a.e.Video,workflowPhase:a.r.Complete};c.a.logUserAction({filter:"More Filters"},t)}},{key:"viewOptions",value:function(){return{label:this.getLabel(),buttonClass:this.getButtonClass()}}},{key:"renderFilters",value:function(){this.showChildView("filters",new D({collection:this.collection,channelName:this.channelName}))}},{key:"onRender",value:function(){this.renderFilters(),this.viewModel.get("dropdownVisible")&&this.toggleDropdown()}},{key:"name",get:function(){return"MoreFiltersButtonComponent"}},{key:"template",get:function(){return U.a}},{key:"lang",get:function(){return"search.moreFiltersButton"}},{key:"className",get:function(){return"rounded cursor-pointer ".concat(H.a.moreFiltersButton)}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"viewModelName",get:function(){return this.name}},{key:"elements",get:function(){return{dropdownToggle:".dropdown-btn"}}}])&&W(e.prototype,n),r&&W(e,r),f}(r.a.Component),Z=n(756),$=n.n(Z);function X(t){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function K(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tt(t,e){return(tt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function et(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ot(t);if(e){var r=ot(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return nt(this,n)}}function nt(t,e){return!e||"object"!==X(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ot(t){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var rt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tt(t,e)}(s,t);var e,n,r,u=et(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),u.call(this,t)}return e=s,(n=[{key:"regions",value:function(){return{filterList:{el:".filter-list-region",replaceRegion:!0,partialLoading:l.j.SearchFilter},moreFilters:{el:".more-filters-region",replaceRegion:!0}}}},{key:"events",value:function(){return{"click .clear-filters":"onClickClearFilters"}}},{key:"onClickClearFilters",value:function(){p.b.clearFilters(this.collection),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.FILTER_CHANGED),this.logFilterResetAction()}},{key:"getVisibleFilters",value:function(){return new L.a(this.collection.filter((function(t){return!t.get("showInMoreFilters")&&p.b.showFilter(t)})))}},{key:"getMoreFilters",value:function(){return new L.a(this.collection.filter((function(t){return t.get("showInMoreFilters")&&p.b.showFilter(t)})))}},{key:"hasFiltersSelected",value:function(){return this.collection.some((function(t){return p.b.isSelected(t)}))}},{key:"logFilterResetAction",value:function(){var t={location:a.k.SearchFilters,actionType:a.q.Filter,descriptor:a.h.Reset,entity:a.e.Video,workflowPhase:a.r.Complete};c.a.logUserAction({filter:"All"},t)}},{key:"renderFilterList",value:function(){var t=new ft({collection:this.getVisibleFilters(),channelName:this.options.channelName});this.showChildView("filterList",t)}},{key:"renderMoreFilters",value:function(){var t=new J({collection:this.getMoreFilters(),channelName:this.options.channelName});this.showChildView("moreFilters",t)}},{key:"viewOptions",value:function(){return{labelClass:V.a.label,hasFiltersSelected:this.collection&&this.hasFiltersSelected(),clearFiltersClass:V.a.clearFilters}}},{key:"onBeforeRender",value:function(){return!!this.collection}},{key:"onRender",value:function(){this.renderFilterList(),this.renderMoreFilters()}},{key:"name",get:function(){return"FiltersComponent"}},{key:"template",get:function(){return $.a}},{key:"lang",get:function(){return"search.filters"}}])&&K(e.prototype,n),r&&K(e,r),s}(r.a.Component);function it(t){return(it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function lt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function at(t,e){return(at=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ct(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=st(t);if(e){var r=st(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ut(this,n)}}function ut(t,e){return!e||"object"!==it(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function st(t){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ft=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&at(t,e)}(i,t);var e,n,o,r=ct(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"name",get:function(){return"FilterListComponent"}},{key:"tagName",get:function(){return"ul"}},{key:"className",get:function(){return"m-0 p-0"}},{key:"childView",get:function(){return kt}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,analyticsOptions:{location:a.k.SearchFilters,entity:a.e.Video}}}}])&<(e.prototype,n),o&<(e,o),i}(r.a.ComponentCollection),pt=n(88),ht=n(757),yt=n.n(ht);function dt(t){return(dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function bt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vt(t,e){return(vt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function gt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=wt(t);if(e){var r=wt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return mt(this,n)}}function mt(t,e){return!e||"object"!==dt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function wt(t){return(wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var kt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vt(t,e)}(h,t);var e,n,l,s=gt(h);function h(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,h),s.call(this,t)}return e=h,(n=[{key:"initialize",value:function(){this.getViewModel(),this.setInitialFilter(),this.bindListeners()}},{key:"regions",value:function(){return{filter:{el:".filter-region",replaceElement:!1}}}},{key:"events",value:function(){return{"hide.bs.dropdown":"onHideDropdown","show.bs.dropdown":"onShowDropdown"}}},{key:"getViewModel",value:function(){this.viewModel=u.a.get(this.viewModelName)}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,i.i.Filters.APPLY_FILTER,this.onClickApplyFilter),this.listenTo(this.channelName,"reset:filters",this.logFilterResetAction)}},{key:"setInitialFilter",value:function(){this.initialFilter=new pt.a(this.model.toJSON())}},{key:"onClickApplyFilter",value:function(){this.viewModel.get("dropdownVisible")&&(this.viewModel.set({applyClicked:!0}),this.toggleDropdown())}},{key:"onShowDropdown",value:function(){this.viewModel.set("dropdownVisible",!0)}},{key:"onHideDropdown",value:function(){var t=this.viewModel.get("applyClicked");this.viewModel.unset("applyClicked"),this.viewModel.set("dropdownVisible",!1),this.applyFilter(!!t)}},{key:"toggleDropdown",value:function(){this.getUI("dropdownToggle").dropdown("toggle")}},{key:"applyFilter",value:function(t){p.b.hasFilterChanged(this.initialFilter,this.model)&&this.model.get("type")!==f.a.Tags&&(this.setInitialFilter(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.FILTER_CHANGED),this.logFilterApplyAction(t))}},{key:"getLabel",value:function(){return p.b.isSelected(this.model)?p.b.getFilterLabel(this.model):this.model.get("title")}},{key:"getButtonClass",value:function(){var t="btn ".concat(V.a.filterButton);return p.b.isSelected(this.model)?t+=" btn-info":t+=" btn-light",t}},{key:"logFilterApplyAction",value:function(t){var e=c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Filter,workflowPhase:a.r.Complete}),n={filter:this.model.get("title"),selectedOption:p.b.getFilterSelectedOptionsAnalyticsData(this.model),applyClicked:t};c.a.logUserAction(n,e)}},{key:"logFilterResetAction",value:function(){var t=c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Filter,descriptor:a.h.Reset,workflowPhase:a.r.Complete}),e={filter:this.model.get("title")};c.a.logUserAction(e,t)}},{key:"viewOptions",value:function(){return{styles:V.a,label:this.getLabel(),buttonClass:this.getButtonClass()}}},{key:"renderFilter",value:function(){this.showChildView("filter",new D({collection:new r.a.Collection([this.model]),channelName:this.channelName}))}},{key:"onRender",value:function(){this.renderFilter(),this.viewModel.get("dropdownVisible")&&this.toggleDropdown()}},{key:"name",get:function(){return"FilterButtonItemComponent"}},{key:"template",get:function(){return yt.a}},{key:"className",get:function(){return"d-inline-block m-1"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.model.get("type"))}},{key:"elements",get:function(){return{dropdownToggle:".dropdown-btn"}}}])&&bt(e.prototype,n),l&&bt(e,l),h}(r.a.Component),Ot=n(758),Ct=n.n(Ot);function St(t){return(St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Rt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _t(t,e){return(_t=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Et(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Tt(t);if(e){var r=Tt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Pt(this,n)}}function Pt(t,e){return!e||"object"!==St(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Tt(t){return(Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var jt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_t(t,e)}(a,t);var e,n,r,l=Et(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"regions",value:function(){return{optionsList:".option-list-region"}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,i.i.Filters.OPTION_SELECTED,this.onChangeOption)}},{key:"onChangeOption",value:function(t,e){t&&this.isInclusiveType()&&this.onChangeInclusiveOption(t),t&&this.isExclusiveType()&&this.onChangeExclusiveOption(t),t&&this.isRangeType()&&this.onChangeRangeOption(t),t&&this.isTagType()&&this.onChangeTagOption(t),e||(o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED),this.render())}},{key:"onChangeInclusiveOption",value:function(t){t.set("active",!t.get("active"))}},{key:"onChangeExclusiveOption",value:function(t){p.b.clearOptions(this.model),t.set("active",!0)}},{key:"onChangeRangeOption",value:function(t){p.b.clearOptions(this.model),this.collection.each((function(e){e.get("value")<=t.get("value")&&e.set("active",!0)}))}},{key:"onChangeTagOption",value:function(t){var e=this.collection.findWhere({name:t.get("name")});e.set("active",!e.get("active"))}},{key:"isBooleanType",value:function(){return this.model.get("behavior")===p.a.Boolean}},{key:"isInclusiveType",value:function(){return this.model.get("behavior")===p.a.Inclusive}},{key:"isExclusiveType",value:function(){return this.model.get("behavior")===p.a.Exclusive}},{key:"isRangeType",value:function(){return this.model.get("behavior")===p.a.Range}},{key:"isTagType",value:function(){return this.model.get("behavior")===p.a.Tag}},{key:"getChildComponent",value:function(){return this.model.get("type")===f.a.Duration?Le:this.isTagType()?an:this.isRangeType()?ke:this.isBooleanType()?ae:Ht}},{key:"renderOptionsList",value:function(){this.showChildView("optionsList",new(this.getChildComponent())({collection:this.collection,model:this.model,channelName:this.channelName,isExclusiveType:this.isExclusiveType()}))}},{key:"onRender",value:function(){this.renderOptionsList()}},{key:"name",get:function(){return"FilterOptionsComponent"}},{key:"template",get:function(){return Ct.a}},{key:"className",get:function(){return"py-1"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}])&&Rt(e.prototype,n),r&&Rt(e,r),a}(r.a.Component),xt=n(759),Ft=n.n(xt);function Nt(t){return(Nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function It(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Lt(t,e,n){return e&&It(t.prototype,e),n&&It(t,n),t}function At(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vt(t,e)}function Vt(t,e){return(Vt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Mt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Bt(t);if(e){var r=Bt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Ut(this,n)}}function Ut(t,e){return!e||"object"!==Nt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Bt(t){return(Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ht=function(t){At(n,t);var e=Mt(n);function n(t){return Dt(this,n),e.call(this,t)}return Lt(n,[{key:"regions",value:function(){return{options:".options-region"}}},{key:"events",value:function(){return{"click .default-option":"onClickDefaultOption"}}},{key:"onClickDefaultOption",value:function(t){t.stopPropagation(),this.model.get("behavior")===p.a.Inclusive?p.b.selectAllOptions(this.model):p.b.clearOptions(this.model),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED),this.render()}},{key:"defaultOptionSelected",value:function(){return this.model.get("behavior")===p.a.Inclusive?p.b.allOptionsSelected(this.model):!p.b.hasOptionSelected(this.model)}},{key:"getInputType",value:function(){return this.options.isExclusiveType?"radio":"checkbox"}},{key:"viewOptions",value:function(){return{inputType:this.getInputType(),defaultOptionSelected:this.defaultOptionSelected(),defaultOptionLabel:this.model.get("defaultOptionLabel")}}},{key:"renderOptions",value:function(){this.showChildView("options",new Gt({collection:this.collection,childOptions:{channelName:this.options.channelName,isExclusiveType:this.options.isExclusiveType}}))}},{key:"onRender",value:function(){this.renderOptions()}},{key:"name",get:function(){return"FilterOptionsListComponent"}},{key:"template",get:function(){return Ft.a}}]),n}(r.a.Component),Gt=function(t){At(n,t);var e=Mt(n);function n(t){return Dt(this,n),e.call(this,t)}return Lt(n,[{key:"name",get:function(){return"FilterOptionComponentCollection"}},{key:"childView",get:function(){return Xt}},{key:"childViewOptions",get:function(){return this.options.childOptions}}]),n}(r.a.ComponentCollection),Wt=n(760),qt=n.n(Wt);function zt(t){return(zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Qt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Yt(t,e){return(Yt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Jt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=$t(t);if(e){var r=$t(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Zt(this,n)}}function Zt(t,e){return!e||"object"!==zt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function $t(t){return($t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Xt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yt(t,e)}(a,t);var e,n,r,l=Jt(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"events",value:function(){return{click:"onClick"}}},{key:"bindListeners",value:function(){this.listenTo(this.model,"change",this.render)}},{key:"onClick",value:function(t){t.stopPropagation(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED,this.model)}},{key:"getInputType",value:function(){return this.options.isExclusiveType?"radio":"checkbox"}},{key:"viewOptions",value:function(){return{inputType:this.getInputType()}}},{key:"name",get:function(){return"FilterOptionItemComponent"}},{key:"template",get:function(){return qt.a}},{key:"className",get:function(){return"filter-option-item py-1 cursor-pointer"}}])&&Qt(e.prototype,n),r&&Qt(e,r),a}(r.a.Component),Kt=n(761),te=n.n(Kt);function ee(t){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ne(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oe(t,e){return(oe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function re(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=le(t);if(e){var r=le(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ie(this,n)}}function ie(t,e){return!e||"object"!==ee(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function le(t){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ae=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oe(t,e)}(a,t);var e,n,r,l=re(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"events",value:function(){return{"click .toggle-option":"onClickToggleOption"}}},{key:"onClickToggleOption",value:function(t){t.stopPropagation(),this.model.set("active",!this.model.get("active")),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED),this.render()}},{key:"viewOptions",value:function(){return{isSelected:this.model.get("active")}}},{key:"name",get:function(){return"BoolFilterOptionComponent"}},{key:"template",get:function(){return te.a}}])&&ne(e.prototype,n),r&&ne(e,r),a}(r.a.Component),ce=n(762),ue=n.n(ce),se=n(763),fe=n.n(se);function pe(t){return(pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function he(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ye(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function de(t,e,n){return e&&ye(t.prototype,e),n&&ye(t,n),t}function be(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ve(t,e)}function ve(t,e){return(ve=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ge(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=we(t);if(e){var r=we(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return me(this,n)}}function me(t,e){return!e||"object"!==pe(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function we(t){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ke=function(t){be(n,t);var e=ge(n);function n(){return he(this,n),e.apply(this,arguments)}return de(n,[{key:"name",get:function(){return"RatingFilterOptionComponentCollection"}},{key:"className",get:function(){return"btn-group ".concat(fe.a.options," py-2")}},{key:"attributes",get:function(){return{role:"group"}}},{key:"childView",get:function(){return Oe}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName}}}]),n}(r.a.ComponentCollection),Oe=function(t){be(n,t);var e=ge(n);function n(){return he(this,n),e.apply(this,arguments)}return de(n,[{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(t){t.stopPropagation(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED,this.model)}},{key:"isSelected",value:function(){return this.model.get("active")}},{key:"onRender",value:function(){this.$el.tooltip()}},{key:"onBeforeDestroy",value:function(){this.$el.tooltip("dispose")}},{key:"name",get:function(){return"RatingFilterOptionItemComponent"}},{key:"template",get:function(){return ue.a}},{key:"tagName",get:function(){return"button"}},{key:"className",get:function(){var t="".concat(fe.a.option," border btn btn-");return this.isSelected()?"".concat(t,"info"):"".concat(t,"light")}},{key:"attributes",get:function(){return{type:"button",title:this.model.get("fullName")}}}]),n}(r.a.Component),Ce=n(764),Se=n.n(Ce),Re=n(765),_e=n.n(Re);function Ee(t){return(Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Te(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function je(t,e,n){return e&&Te(t.prototype,e),n&&Te(t,n),t}function xe(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fe(t,e)}function Fe(t,e){return(Fe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ne(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Ie(t);if(e){var r=Ie(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return De(this,n)}}function De(t,e){return!e||"object"!==Ee(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ie(t){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Le=function(t){xe(n,t);var e=Ne(n);function n(){return Pe(this,n),e.apply(this,arguments)}return je(n,[{key:"getOptionItemClassName",value:function(){var t=_e.a.optionItem;return 4===this.collection.length&&(t+=" ".concat(_e.a.customOptionItem)),t}},{key:"name",get:function(){return"DurationFilterOptionComponentCollection"}},{key:"childView",get:function(){return Ae}},{key:"className",get:function(){return _e.a.options}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,optionItemClassName:this.getOptionItemClassName()}}}]),n}(r.a.ComponentCollection),Ae=function(t){xe(n,t);var e=Ne(n);function n(t){return Pe(this,n),e.call(this,t)}return je(n,[{key:"events",value:function(){return{"click .option-btn":"onClickOption"}}},{key:"viewOptions",value:function(){return{buttonClass:this.getButtonClass()}}},{key:"onClickOption",value:function(t){t.stopPropagation(),o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED,this.model)}},{key:"isSelected",value:function(){return this.model.get("active")}},{key:"getButtonClass",value:function(){var t="btn ".concat(_e.a.optionButton," p-1");return this.isSelected()?t+=" btn-info":t+=" btn-light",t}},{key:"name",get:function(){return"DurationFilterItemComponent"}},{key:"template",get:function(){return Se.a}},{key:"className",get:function(){return"d-inline-block p-1 ".concat(this.options.optionItemClassName)}}]),n}(r.a.Component),Ve=n(1),Me=n(105),Ue=n(766),Be=n.n(Ue),He=n(767),Ge=n.n(He),We=n(692),qe=n(768),ze=n.n(qe);function Qe(t){return(Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ye(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Je(t,e){return(Je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ze(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Xe(t);if(e){var r=Xe(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return $e(this,n)}}function $e(t,e){return!e||"object"!==Qe(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Xe(t){return(Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ke=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Je(t,e)}(i,t);var e,n,o,r=Ze(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"regions",value:function(){return{tags:{el:".tags-region",replaceElement:!0,partialLoading:l.j.TagFilter}}}},{key:"onBeforeRender",value:function(){return!Ve.isNull(this.collection)}},{key:"onRender",value:function(){this.showChildView("tags",new We.a({collection:this.collection,channelName:this.options.channelName,behavior:this.options.behavior,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}))}},{key:"name",get:function(){return"TagFilterOptionsListComponent"}},{key:"template",get:function(){return ze.a}}])&&Ye(e.prototype,n),o&&Ye(e,o),i}(r.a.Component);function tn(t){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function en(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function nn(t,e){return(nn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function on(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ln(t);if(e){var r=ln(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return rn(this,n)}}function rn(t,e){return!e||"object"!==tn(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ln(t){return(ln=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var an=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nn(t,e)}(a,t);var e,n,r,l=on(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.bindListeners(),this.setRelevantTags()}},{key:"regions",value:function(){return{selectedTags:{el:".selected-tags-region",replaceElement:!0},relevantTags:{el:".relevant-tags-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,"on:option:change",this.onChange)}},{key:"onChange",value:function(t){o.Radio.channel(this.options.channelName).trigger(i.i.Filters.OPTION_SELECTED,t,!0),o.Radio.channel(h.a.TagFilter).trigger("change:relevant:tags"),this.relevantTags=null,this.render()}},{key:"setRelevantTags",value:function(){var t=p.b.getSelectedOptions(this.collection).map((function(t){return t.get("id")}));this.collection.length!==t.length?this.relevantTags=new L.b(this.collection.filter((function(e){return!Ve.contains(t,e.get("id"))})).slice(0,5)):this.relevantTags=null}},{key:"hasSelectedTags",value:function(){var t=p.b.getSelectedOptions(this.collection);return t&&!!t.length}},{key:"hasRelevantTags",value:function(){return Ve.isNull(this.relevantTags)||this.relevantTags&&!!this.relevantTags.length}},{key:"renderSelectedTags",value:function(){if(this.hasSelectedTags()){var t=p.b.getSelectedOptions(this.collection);this.showChildView("selectedTags",new Ke({collection:t,channelName:this.channelName,behavior:Me.c.Filter,removeEvent:"on:option:change"}))}}},{key:"renderRelevantTags",value:function(){this.showChildView("relevantTags",new Ke({collection:this.relevantTags,channelName:this.channelName,behavior:Me.c.Filter,clickEvent:"on:option:change"}))}},{key:"viewOptions",value:function(){return{showEmptyState:!this.hasSelectedTags()&&!this.hasRelevantTags(),useDivider:this.hasSelectedTags()&&this.hasRelevantTags()}}},{key:"onRender",value:function(){this.renderSelectedTags(),this.renderRelevantTags()}},{key:"name",get:function(){return"TagFilterOptionsComponent"}},{key:"template",get:function(){return Ge.a}},{key:"lang",get:function(){return"search.tagFilterOptions"}},{key:"className",get:function(){return"".concat(Be.a.container)}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}])&&en(e.prototype,n),r&&en(e,r),a}(r.a.Component);n.d(e,"f",(function(){return rt})),n.d(e,"b",(function(){return ft})),n.d(e,"a",(function(){return kt})),n.d(e,"d",(function(){return jt})),n.d(e,"e",(function(){return Ht})),n.d(e,"c",(function(){return Xt}))},955:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;return'<div class="d-inline-block border-right py-1 pr-3"><strong>'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"filters",{name:"lang",hash:{},data:r}))+'</strong></div>\r\n<div class="filter-list-region d-inline-block pl-2"></div>'},useData:!0})},956:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;return'<button class="generate-pdf btn btn-light d-inline-block" type="button">'+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"generatePdf",{name:"lang",hash:{},data:r}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<div class="filters-region d-inline-block"></div>\r\n'+(null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.showGeneratePdf:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")},useData:!0})},957:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return'<div class="left-nav-region"></div>'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<div class="header-region"></div>\r\n'+(null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.showLeftNav:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'<div class="'+t.escapeExpression(t.lambda(null!=(i=null!=e?e.options:e)?i.contentClass:i,e))+'">\r\n<div class="list-header-region"></div>\r\n<div class="video-list-region"></div>\r\n<div class="pagination-region"></div>\r\n</div>'},useData:!0})}}]);
|
package/dist/scripts/20.chunk.js
DELETED
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[20],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/library-editor/views/new-folder/NewFolder.hbs":
|
|
4
|
-
/*!****************************************************************!*\
|
|
5
|
-
!*** ./src/apps/library-editor/views/new-folder/NewFolder.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 ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.spinnerEl : stack1), depth0)) != null ? stack1 : "")
|
|
15
|
-
+ "\r\n";
|
|
16
|
-
},"3":function(container,depth0,helpers,partials,data) {
|
|
17
|
-
return "<div class=\"folder-details-region\"></div>\r\n";
|
|
18
|
-
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
19
|
-
var stack1, alias1=container.propertyIsEnumerable;
|
|
20
|
-
|
|
21
|
-
return ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dataFetched : stack1),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "");
|
|
22
|
-
},"useData":true});
|
|
23
|
-
|
|
24
|
-
/***/ }),
|
|
25
|
-
|
|
26
|
-
/***/ "./src/apps/library-editor/views/new-folder/NewFolderView.ts":
|
|
27
|
-
/*!*******************************************************************!*\
|
|
28
|
-
!*** ./src/apps/library-editor/views/new-folder/NewFolderView.ts ***!
|
|
29
|
-
\*******************************************************************/
|
|
30
|
-
/*! exports provided: NewFolderView */
|
|
31
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
32
|
-
|
|
33
|
-
"use strict";
|
|
34
|
-
__webpack_require__.r(__webpack_exports__);
|
|
35
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NewFolderView", function() { return NewFolderView; });
|
|
36
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! backbone */ "backbone");
|
|
37
|
-
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);
|
|
38
|
-
/* harmony import */ var _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/errors/DevError */ "../../libs/common/src/backbone/errors/DevError.ts");
|
|
39
|
-
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
40
|
-
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
41
|
-
/* harmony import */ var _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/ViewModelService */ "../../libs/common/src/backbone/services/ViewModelService.ts");
|
|
42
|
-
/* harmony import */ var _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/AnalyticsHelper */ "../../libs/analytics/src/AnalyticsHelper.ts");
|
|
43
|
-
/* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
|
|
44
|
-
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
45
|
-
/* harmony import */ var _shared_collections_FolderCollection__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/collections/FolderCollection */ "./src/shared/collections/FolderCollection.ts");
|
|
46
|
-
/* harmony import */ var _shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../shared/models/DisabledSpinnerModel */ "./src/shared/models/DisabledSpinnerModel.ts");
|
|
47
|
-
/* harmony import */ var _shared_models_Folder__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/models/Folder */ "./src/shared/models/Folder.ts");
|
|
48
|
-
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
49
|
-
/* harmony import */ var _shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../shared/components/spinner-button/SpinnerButtonComponent */ "./src/shared/components/spinner-button/SpinnerButtonComponent.ts");
|
|
50
|
-
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
51
|
-
/* harmony import */ var _components_folder_details_FolderDetailsComponent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../components/folder-details/FolderDetailsComponent */ "./src/apps/library-editor/components/folder-details/FolderDetailsComponent.ts");
|
|
52
|
-
/* harmony import */ var _NewFolder_hbs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./NewFolder.hbs */ "./src/apps/library-editor/views/new-folder/NewFolder.hbs");
|
|
53
|
-
/* harmony import */ var _NewFolder_hbs__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_NewFolder_hbs__WEBPACK_IMPORTED_MODULE_15__);
|
|
54
|
-
/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../errors */ "./src/apps/library-editor/errors/index.ts");
|
|
55
|
-
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); }
|
|
56
|
-
|
|
57
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
58
|
-
|
|
59
|
-
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); } }
|
|
60
|
-
|
|
61
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
62
|
-
|
|
63
|
-
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); }
|
|
64
|
-
|
|
65
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
66
|
-
|
|
67
|
-
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); }; }
|
|
68
|
-
|
|
69
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
70
|
-
|
|
71
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
72
|
-
|
|
73
|
-
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; } }
|
|
74
|
-
|
|
75
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
var NewFolderView = /*#__PURE__*/function (_Core$View) {
|
|
95
|
-
_inherits(NewFolderView, _Core$View);
|
|
96
|
-
|
|
97
|
-
var _super = _createSuper(NewFolderView);
|
|
98
|
-
|
|
99
|
-
function NewFolderView(options) {
|
|
100
|
-
_classCallCheck(this, NewFolderView);
|
|
101
|
-
|
|
102
|
-
return _super.call(this, options);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
_createClass(NewFolderView, [{
|
|
106
|
-
key: "initialize",
|
|
107
|
-
value: function initialize(options) {
|
|
108
|
-
var parentId = options.parentId,
|
|
109
|
-
libraryId = options.libraryId;
|
|
110
|
-
/**
|
|
111
|
-
* !XOR
|
|
112
|
-
*/
|
|
113
|
-
|
|
114
|
-
if (!(parentId ? !libraryId : libraryId)) _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].ErrorHelper.throw(new _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_1__["DevError"]("Must provide either a libraryId or a parentId to ".concat(this.name)));
|
|
115
|
-
this.bindListeners();
|
|
116
|
-
this.libraryDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_7__["DataServices"].Library, this);
|
|
117
|
-
}
|
|
118
|
-
}, {
|
|
119
|
-
key: "bindListeners",
|
|
120
|
-
value: function bindListeners() {
|
|
121
|
-
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_7__["DataChannels"].LIBRARY, 'libraries:sync', this.render);
|
|
122
|
-
}
|
|
123
|
-
}, {
|
|
124
|
-
key: "regions",
|
|
125
|
-
value: function regions() {
|
|
126
|
-
return {
|
|
127
|
-
folderDetails: '.folder-details-region'
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
}, {
|
|
131
|
-
key: "events",
|
|
132
|
-
value: function events() {
|
|
133
|
-
return {
|
|
134
|
-
submit: 'onSubmit'
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
|
-
}, {
|
|
138
|
-
key: "onSubmit",
|
|
139
|
-
value: function onSubmit(event) {
|
|
140
|
-
event && event.preventDefault();
|
|
141
|
-
this.viewModel.validate();
|
|
142
|
-
if (this.viewModel.isValid() === false) return;
|
|
143
|
-
backbone__WEBPACK_IMPORTED_MODULE_0__["Radio"].channel(this.channelName).trigger(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_12__["SpinnerButtonEvents"].ShowSpinner);
|
|
144
|
-
this.trimFolderName();
|
|
145
|
-
this.addFolder();
|
|
146
|
-
this.logAction();
|
|
147
|
-
}
|
|
148
|
-
}, {
|
|
149
|
-
key: "addFolder",
|
|
150
|
-
value: function addFolder() {
|
|
151
|
-
var _this = this;
|
|
152
|
-
|
|
153
|
-
var parentId = this.viewModel.get('parentId').toString() === this.library.get('id').toString() ? null : this.viewModel.get('parentId').toString();
|
|
154
|
-
this.libraryDataService.addFolder(this.viewModel, this.library.get('id').toString(), parentId, function (response) {
|
|
155
|
-
_libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_4__["ViewModelService"].clear(_this.getViewModelKey());
|
|
156
|
-
|
|
157
|
-
if (_this.options.routeToFolderOnCreate) {
|
|
158
|
-
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].AppLinkHelper.trigger({
|
|
159
|
-
application: _shared_constants__WEBPACK_IMPORTED_MODULE_7__["AppChannels"].LIBRARY_EDITOR,
|
|
160
|
-
action: _shared_constants__WEBPACK_IMPORTED_MODULE_7__["Actions"].LibraryEditor.FOLDER,
|
|
161
|
-
args: [response.get('id')]
|
|
162
|
-
});
|
|
163
|
-
} else {
|
|
164
|
-
_this.triggerMethod('hide');
|
|
165
|
-
}
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
}, {
|
|
169
|
-
key: "trimFolderName",
|
|
170
|
-
value: function trimFolderName() {
|
|
171
|
-
var folderName = this.viewModel.get('name');
|
|
172
|
-
this.viewModel.set('name', folderName.trim());
|
|
173
|
-
}
|
|
174
|
-
}, {
|
|
175
|
-
key: "logAction",
|
|
176
|
-
value: function logAction() {
|
|
177
|
-
var data = {
|
|
178
|
-
id: this.options.libraryId,
|
|
179
|
-
name: this.viewModel.get('name'),
|
|
180
|
-
isSubfolder: this.viewModel.get('parentId').toString() !== this.library.get('id').toString()
|
|
181
|
-
};
|
|
182
|
-
_libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_5__["AnalyticsHelper"].logUserAction(data, this.options.analyticsOptions);
|
|
183
|
-
}
|
|
184
|
-
}, {
|
|
185
|
-
key: "setUpViewModel",
|
|
186
|
-
value: function setUpViewModel() {
|
|
187
|
-
if (this.viewModel) return;
|
|
188
|
-
var viewModelKey = this.getViewModelKey();
|
|
189
|
-
this.viewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_4__["ViewModelService"].get(viewModelKey, null, {
|
|
190
|
-
ctor: _shared_models_Folder__WEBPACK_IMPORTED_MODULE_10__["Folder"]
|
|
191
|
-
});
|
|
192
|
-
this.viewModel.set({
|
|
193
|
-
parentId: this.options.parentId || this.options.libraryId
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
}, {
|
|
197
|
-
key: "getViewModelKey",
|
|
198
|
-
value: function getViewModelKey() {
|
|
199
|
-
return "folder:new:".concat(this.options.libraryId, ":").concat(this.options.parentId);
|
|
200
|
-
}
|
|
201
|
-
}, {
|
|
202
|
-
key: "renderFolderDetails",
|
|
203
|
-
value: function renderFolderDetails() {
|
|
204
|
-
if (!this.collection) return;
|
|
205
|
-
var folderDetails = new _components_folder_details_FolderDetailsComponent__WEBPACK_IMPORTED_MODULE_14__["FolderDetailsComponent"]({
|
|
206
|
-
model: this.viewModel,
|
|
207
|
-
collection: this.collection,
|
|
208
|
-
library: this.library,
|
|
209
|
-
channelName: this.channelName,
|
|
210
|
-
editName: true,
|
|
211
|
-
editParent: true,
|
|
212
|
-
folderTreeKey: this.folderTreeKey
|
|
213
|
-
});
|
|
214
|
-
this.showChildView('folderDetails', folderDetails);
|
|
215
|
-
}
|
|
216
|
-
}, {
|
|
217
|
-
key: "onBeforeRender",
|
|
218
|
-
value: function onBeforeRender() {
|
|
219
|
-
var _this2 = this;
|
|
220
|
-
|
|
221
|
-
this.libraryDataService.getLibraries(function (data) {
|
|
222
|
-
if (_this2.collection) return;
|
|
223
|
-
var libraryId = _this2.options.libraryId || _this2.options.parentId;
|
|
224
|
-
_this2.library = _shared_utils__WEBPACK_IMPORTED_MODULE_11__["FolderTreeHelpers"].getLibrary(libraryId, data);
|
|
225
|
-
|
|
226
|
-
_this2.setUpViewModel();
|
|
227
|
-
|
|
228
|
-
_this2.collection = new _shared_collections_FolderCollection__WEBPACK_IMPORTED_MODULE_8__["FolderCollection"]([_this2.library]);
|
|
229
|
-
_shared_utils__WEBPACK_IMPORTED_MODULE_11__["FolderTreeHelpers"].setSelected(_this2.folderTreeKey, _this2.viewModel.get('parentId'), _this2.collection);
|
|
230
|
-
});
|
|
231
|
-
if (this.collection) this.spinnerModel.set(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_12__["SpinnerButtonModelAttributes"].Disabled, false);
|
|
232
|
-
var folderDepth = _shared_utils__WEBPACK_IMPORTED_MODULE_11__["FolderTreeHelpers"].getFolderDepth(this.options.parentId, this.collection);
|
|
233
|
-
var atMaxDepth = folderDepth >= _shared_constants__WEBPACK_IMPORTED_MODULE_7__["MiscConstants"].MAX_FOLDER_DEPTH;
|
|
234
|
-
|
|
235
|
-
if (atMaxDepth) {
|
|
236
|
-
window.setTimeout(function () {
|
|
237
|
-
_this2.triggerMethod('hide');
|
|
238
|
-
|
|
239
|
-
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].ErrorHelper.throw(new _errors__WEBPACK_IMPORTED_MODULE_16__["FolderMaxDepthError"]());
|
|
240
|
-
}, _shared_constants__WEBPACK_IMPORTED_MODULE_7__["MiscConstants"].POPUP_FADE_TIMEOUT);
|
|
241
|
-
return false;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}, {
|
|
245
|
-
key: "viewOptions",
|
|
246
|
-
value: function viewOptions() {
|
|
247
|
-
return {
|
|
248
|
-
dataFetched: !!this.collection,
|
|
249
|
-
spinnerEl: _shared_utils__WEBPACK_IMPORTED_MODULE_11__["SpinnerHelper"].getSpinner({
|
|
250
|
-
size: _shared_utils__WEBPACK_IMPORTED_MODULE_11__["SpinnerSize"].Large,
|
|
251
|
-
extraClasses: 'mx-auto'
|
|
252
|
-
})
|
|
253
|
-
};
|
|
254
|
-
}
|
|
255
|
-
}, {
|
|
256
|
-
key: "onRender",
|
|
257
|
-
value: function onRender() {
|
|
258
|
-
this.renderFolderDetails();
|
|
259
|
-
}
|
|
260
|
-
}, {
|
|
261
|
-
key: "name",
|
|
262
|
-
get: function get() {
|
|
263
|
-
return 'NewFolderView';
|
|
264
|
-
}
|
|
265
|
-
}, {
|
|
266
|
-
key: "lang",
|
|
267
|
-
get: function get() {
|
|
268
|
-
return 'libraryEditor.newFolder';
|
|
269
|
-
}
|
|
270
|
-
}, {
|
|
271
|
-
key: "title",
|
|
272
|
-
get: function get() {
|
|
273
|
-
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_13__["LanguageService"].getPhrase(this.lang, 'title');
|
|
274
|
-
}
|
|
275
|
-
}, {
|
|
276
|
-
key: "folderTreeKey",
|
|
277
|
-
get: function get() {
|
|
278
|
-
return "folderselect:".concat(this.cid);
|
|
279
|
-
}
|
|
280
|
-
}, {
|
|
281
|
-
key: "template",
|
|
282
|
-
get: function get() {
|
|
283
|
-
return _NewFolder_hbs__WEBPACK_IMPORTED_MODULE_15___default.a;
|
|
284
|
-
}
|
|
285
|
-
}, {
|
|
286
|
-
key: "channelName",
|
|
287
|
-
get: function get() {
|
|
288
|
-
return _shared_utils__WEBPACK_IMPORTED_MODULE_11__["RadioChannelHelper"].generateUniqueChannelName(this);
|
|
289
|
-
}
|
|
290
|
-
}, {
|
|
291
|
-
key: "behaviors",
|
|
292
|
-
get: function get() {
|
|
293
|
-
var _this3 = this;
|
|
294
|
-
|
|
295
|
-
return [{
|
|
296
|
-
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_6__["PopupBehavior"],
|
|
297
|
-
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_13__["LanguageService"].getPhrase(this.lang, 'heading'),
|
|
298
|
-
appLink: this.options.returnAppLink,
|
|
299
|
-
spinnerButtonOptions: {
|
|
300
|
-
model: this.spinnerModel = new _shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_9__["DisabledSpinnerModel"](),
|
|
301
|
-
channelName: this.channelName,
|
|
302
|
-
buttonText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_13__["LanguageService"].getPhrase(this.lang, 'create'),
|
|
303
|
-
onClick: function onClick(e) {
|
|
304
|
-
return _this3.onSubmit(e);
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}];
|
|
308
|
-
}
|
|
309
|
-
}]);
|
|
310
|
-
|
|
311
|
-
return NewFolderView;
|
|
312
|
-
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].View);
|
|
313
|
-
|
|
314
|
-
/***/ })
|
|
315
|
-
|
|
316
|
-
}]);
|
|
317
|
-
//# sourceMappingURL=20.chunk.js.map
|