@clickview/library-editor 1.1.27-dev.1 → 1.1.27-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +1 -0
- package/dist/libs/common/src/backbone/utils/LocalStorageHelper.d.ts +1 -1
- package/dist/libs/shared/src/interfaces/models/ClassroomGroup.d.ts +1 -1
- package/dist/projects/library-editor/src/app.d.ts +1 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/tags/TagsComponent.d.ts +1 -0
- package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +1 -0
- package/dist/scripts/{0-e25d47c666.chunk.js → 0-93a3cbfbb6.chunk.js} +1 -1
- package/dist/scripts/{1-620c685eee.chunk.js → 1-69d9709724.chunk.js} +1 -1
- package/dist/scripts/{10-3baf058564.chunk.js → 10-8b01d98b20.chunk.js} +1 -1
- package/dist/scripts/{11-9f5f0c25dc.chunk.js → 11-cbe69fa3f0.chunk.js} +1 -1
- package/dist/scripts/{12-b460ad405e.chunk.js → 12-9b10cdc17d.chunk.js} +1 -1
- package/dist/scripts/13-1e10e6e87f.chunk.js +1 -0
- package/dist/scripts/{14-670309ef33.chunk.js → 14-ab7a30ee22.chunk.js} +1 -1
- package/dist/scripts/{15-39010184ed.chunk.js → 15-74a4408ee9.chunk.js} +1 -1
- package/dist/scripts/{16-0971cabfc8.chunk.js → 16-42f9f38a5b.chunk.js} +1 -1
- package/dist/scripts/{17-f364868870.chunk.js → 17-b1675f5397.chunk.js} +1 -1
- package/dist/scripts/{2-cd7f1d10b5.chunk.js → 2-cfce7347b3.chunk.js} +1 -1
- package/dist/scripts/{20-42dc06da39.chunk.js → 20-9f938a6f3e.chunk.js} +1 -1
- package/dist/scripts/{21-05615559be.chunk.js → 21-3a0591790a.chunk.js} +1 -1
- package/dist/scripts/{22-70b4c18dd2.chunk.js → 22-75ca7c2ae2.chunk.js} +1 -1
- package/dist/scripts/23-6cc6df1006.chunk.js +1 -0
- package/dist/scripts/{24-6fbd14025b.chunk.js → 24-857f2e7cba.chunk.js} +1 -1
- package/dist/scripts/{25-3d067b8b9a.chunk.js → 25-30d6eaa470.chunk.js} +1 -1
- package/dist/scripts/{26-468305820a.chunk.js → 26-7e0e9534cf.chunk.js} +1 -1
- package/dist/scripts/27-460f20f83b.chunk.js +1 -0
- package/dist/scripts/{28-f3f43a3001.chunk.js → 28-c4655d4bd8.chunk.js} +1 -1
- package/dist/scripts/{29-268278d2ac.chunk.js → 29-3629c8b906.chunk.js} +1 -1
- package/dist/scripts/{3-4694b66aa5.chunk.js → 3-34f154b85d.chunk.js} +1 -1
- package/dist/scripts/{30-694b0a0d4b.chunk.js → 30-9d7a8c6475.chunk.js} +1 -1
- package/dist/scripts/{31-4c542c18dc.chunk.js → 31-a80eb231ed.chunk.js} +1 -1
- package/dist/scripts/{32-a1543ffe27.chunk.js → 32-db0c763740.chunk.js} +1 -1
- package/dist/scripts/{33-9685703df6.chunk.js → 33-b9fef236ae.chunk.js} +1 -1
- package/dist/scripts/{34-eb9f6709b3.chunk.js → 34-d2a7193286.chunk.js} +1 -1
- package/dist/scripts/{35-1ff49137e7.chunk.js → 35-1b97d95b2a.chunk.js} +1 -1
- package/dist/scripts/{36-9e89154ca2.chunk.js → 36-179634ea36.chunk.js} +1 -1
- package/dist/scripts/{37-80589d542e.chunk.js → 37-e6d9fbefd1.chunk.js} +1 -1
- package/dist/scripts/{38-7e88534f67.chunk.js → 38-0c6051fb45.chunk.js} +1 -1
- package/dist/scripts/{39-99824f3b64.chunk.js → 39-5fffd05811.chunk.js} +1 -1
- package/dist/scripts/{4-ad1e4b43da.chunk.js → 4-2a04f5b2b3.chunk.js} +1 -1
- package/dist/scripts/{40-dbfd665c74.chunk.js → 40-5d3d9611b5.chunk.js} +1 -1
- package/dist/scripts/{41-25fbac3d17.chunk.js → 41-f3b2533950.chunk.js} +1 -1
- package/dist/scripts/42-075fbbf19d.chunk.js +1 -0
- package/dist/scripts/{43-5ef29feb2c.chunk.js → 43-205ccfa9a4.chunk.js} +1 -1
- package/dist/scripts/{44-223f602431.chunk.js → 44-4be8465afa.chunk.js} +1 -1
- package/dist/scripts/{45-344492a36f.chunk.js → 45-541254a177.chunk.js} +1 -1
- package/dist/scripts/{46-9ca7afd6a4.chunk.js → 46-fe575b6c9f.chunk.js} +1 -1
- package/dist/scripts/{47-ac0c9c5ce1.chunk.js → 47-18d84f7b83.chunk.js} +1 -1
- package/dist/scripts/{48-6bf590b9a0.chunk.js → 48-40adeb652e.chunk.js} +1 -1
- package/dist/scripts/{49-8e3e782ffb.chunk.js → 49-ac59f2a6fd.chunk.js} +1 -1
- package/dist/scripts/{5-b236603e85.chunk.js → 5-ce9948090c.chunk.js} +1 -1
- package/dist/scripts/{50-30ba08212e.chunk.js → 50-8cc4935ea5.chunk.js} +1 -1
- package/dist/scripts/{51-828972defb.chunk.js → 51-cd80402e6e.chunk.js} +1 -1
- package/dist/scripts/{52-b2acf3e742.chunk.js → 52-7e11748c73.chunk.js} +1 -1
- package/dist/scripts/{53-5d6ea94871.chunk.js → 53-e807e56657.chunk.js} +1 -1
- package/dist/scripts/{54-2d8bd6fde0.chunk.js → 54-265c2852ce.chunk.js} +1 -1
- package/dist/scripts/{55-4a8d360746.chunk.js → 55-68bef0b859.chunk.js} +1 -1
- package/dist/scripts/{56-ad12ebab5f.chunk.js → 56-f52cc13b44.chunk.js} +1 -1
- package/dist/scripts/{57-53b89c2ef0.chunk.js → 57-77549e4856.chunk.js} +1 -1
- package/dist/scripts/{58-b246abe78c.chunk.js → 58-3f44c0ba1a.chunk.js} +1 -1
- package/dist/scripts/{59-19290686e0.chunk.js → 59-bf231da287.chunk.js} +1 -1
- package/dist/scripts/{6-6fb543aa78.chunk.js → 6-97a29c3fdd.chunk.js} +1 -1
- package/dist/scripts/{60-0c075e7b5c.chunk.js → 60-c6a9325b5e.chunk.js} +1 -1
- package/dist/scripts/{61-2725bbfab2.chunk.js → 61-5fe4279f6d.chunk.js} +1 -1
- package/dist/scripts/{62-472d10a18e.chunk.js → 62-ff1c8453b6.chunk.js} +1 -1
- package/dist/scripts/{63-7d00e50441.chunk.js → 63-47a43e2399.chunk.js} +1 -1
- package/dist/scripts/{64-1b42f78644.chunk.js → 64-398f9ac217.chunk.js} +1 -1
- package/dist/scripts/{65-14af88c745.chunk.js → 65-d75308a09e.chunk.js} +1 -1
- package/dist/scripts/{66-bc274df13a.chunk.js → 66-ec32c5588a.chunk.js} +1 -1
- package/dist/scripts/{67-d1edef09d6.chunk.js → 67-6805e53bfb.chunk.js} +1 -1
- package/dist/scripts/{68-52468201b9.chunk.js → 68-046ada4945.chunk.js} +1 -1
- package/dist/scripts/{69-b681e9a99c.chunk.js → 69-235a8e6754.chunk.js} +1 -1
- package/dist/scripts/{7-2807a666bc.chunk.js → 7-55f3aed0f4.chunk.js} +1 -1
- package/dist/scripts/{70-d4018838a9.chunk.js → 70-150be3f4a2.chunk.js} +1 -1
- package/dist/scripts/{71-29cce07c7f.chunk.js → 71-c63b7a2a30.chunk.js} +1 -1
- package/dist/scripts/{72-6f83214b8d.chunk.js → 72-53bdb8c37f.chunk.js} +1 -1
- package/dist/scripts/{8-8f44e8bfc4.chunk.js → 8-94205353a6.chunk.js} +1 -1
- package/dist/scripts/{9-b8f9ea66c4.chunk.js → 9-0776e647a0.chunk.js} +1 -1
- package/dist/scripts/bundle-704119eb6d.min.js +8 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-44c21c47b6.min.js +1 -0
- 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 -20
- package/dist/css/18.chunk.css.map +0 -1
- package/dist/css/2.chunk.css +0 -145
- 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.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 +0 -14
- 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/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.map +0 -1
- package/dist/css/49.chunk.css +0 -35
- package/dist/css/49.chunk.css.map +0 -1
- package/dist/css/50.chunk.css.map +0 -1
- 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.map +0 -1
- package/dist/css/6.chunk.css.map +0 -1
- package/dist/css/60.chunk.css +0 -18
- package/dist/css/60.chunk.css.map +0 -1
- 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/libs/shared/src/enums/PlayerMediaType.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/interactive.d.ts +0 -9
- package/dist/scripts/0.chunk.js +0 -1039
- package/dist/scripts/0.chunk.js.map +0 -1
- package/dist/scripts/1.chunk.js +0 -442
- package/dist/scripts/1.chunk.js.map +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.chunk.js +0 -555
- package/dist/scripts/12.chunk.js.map +0 -1
- package/dist/scripts/13-89b3a0aebb.chunk.js +0 -1
- package/dist/scripts/13.chunk.js +0 -380
- package/dist/scripts/13.chunk.js.map +0 -1
- package/dist/scripts/14.chunk.js +0 -2386
- package/dist/scripts/14.chunk.js.map +0 -1
- package/dist/scripts/15.chunk.js +0 -314
- package/dist/scripts/15.chunk.js.map +0 -1
- package/dist/scripts/16.chunk.js +0 -1290
- package/dist/scripts/16.chunk.js.map +0 -1
- package/dist/scripts/17.chunk.js +0 -381
- package/dist/scripts/17.chunk.js.map +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.chunk.js +0 -523
- package/dist/scripts/2.chunk.js.map +0 -1
- package/dist/scripts/20.chunk.js +0 -317
- package/dist/scripts/20.chunk.js.map +0 -1
- package/dist/scripts/21.chunk.js +0 -531
- package/dist/scripts/21.chunk.js.map +0 -1
- package/dist/scripts/22.chunk.js +0 -354
- package/dist/scripts/22.chunk.js.map +0 -1
- package/dist/scripts/23-3166dfeef5.chunk.js +0 -1
- package/dist/scripts/23.chunk.js +0 -604
- package/dist/scripts/23.chunk.js.map +0 -1
- package/dist/scripts/24.chunk.js +0 -318
- package/dist/scripts/24.chunk.js.map +0 -1
- package/dist/scripts/25.chunk.js +0 -365
- package/dist/scripts/25.chunk.js.map +0 -1
- package/dist/scripts/26.chunk.js +0 -442
- package/dist/scripts/26.chunk.js.map +0 -1
- package/dist/scripts/27-d03a99658e.chunk.js +0 -1
- package/dist/scripts/27.chunk.js +0 -3630
- package/dist/scripts/27.chunk.js.map +0 -1
- package/dist/scripts/28.chunk.js +0 -3172
- package/dist/scripts/28.chunk.js.map +0 -1
- package/dist/scripts/29.chunk.js +0 -3090
- package/dist/scripts/29.chunk.js.map +0 -1
- package/dist/scripts/3.chunk.js +0 -845
- package/dist/scripts/3.chunk.js.map +0 -1
- package/dist/scripts/30.chunk.js +0 -1851
- package/dist/scripts/30.chunk.js.map +0 -1
- package/dist/scripts/31.chunk.js +0 -958
- package/dist/scripts/31.chunk.js.map +0 -1
- package/dist/scripts/32.chunk.js +0 -1239
- package/dist/scripts/32.chunk.js.map +0 -1
- package/dist/scripts/33.chunk.js +0 -971
- package/dist/scripts/33.chunk.js.map +0 -1
- package/dist/scripts/34.chunk.js +0 -990
- package/dist/scripts/34.chunk.js.map +0 -1
- package/dist/scripts/35.chunk.js +0 -518
- package/dist/scripts/35.chunk.js.map +0 -1
- package/dist/scripts/36.chunk.js +0 -335
- package/dist/scripts/36.chunk.js.map +0 -1
- package/dist/scripts/37.chunk.js +0 -236
- package/dist/scripts/37.chunk.js.map +0 -1
- package/dist/scripts/38.chunk.js +0 -315
- package/dist/scripts/38.chunk.js.map +0 -1
- package/dist/scripts/39.chunk.js +0 -107
- package/dist/scripts/39.chunk.js.map +0 -1
- package/dist/scripts/4.chunk.js +0 -335
- package/dist/scripts/4.chunk.js.map +0 -1
- package/dist/scripts/40.chunk.js +0 -2493
- package/dist/scripts/40.chunk.js.map +0 -1
- package/dist/scripts/41.chunk.js +0 -1782
- package/dist/scripts/41.chunk.js.map +0 -1
- package/dist/scripts/42-9f757567db.chunk.js +0 -1
- package/dist/scripts/42.chunk.js +0 -2327
- package/dist/scripts/42.chunk.js.map +0 -1
- package/dist/scripts/43.chunk.js +0 -1206
- package/dist/scripts/43.chunk.js.map +0 -1
- package/dist/scripts/44.chunk.js +0 -2245
- package/dist/scripts/44.chunk.js.map +0 -1
- package/dist/scripts/45.chunk.js +0 -1065
- package/dist/scripts/45.chunk.js.map +0 -1
- package/dist/scripts/46.chunk.js +0 -655
- package/dist/scripts/46.chunk.js.map +0 -1
- package/dist/scripts/47.chunk.js +0 -736
- package/dist/scripts/47.chunk.js.map +0 -1
- package/dist/scripts/48.chunk.js +0 -994
- package/dist/scripts/48.chunk.js.map +0 -1
- package/dist/scripts/49.chunk.js +0 -761
- package/dist/scripts/49.chunk.js.map +0 -1
- package/dist/scripts/5.chunk.js +0 -15
- package/dist/scripts/5.chunk.js.map +0 -1
- package/dist/scripts/50.chunk.js +0 -530
- package/dist/scripts/50.chunk.js.map +0 -1
- package/dist/scripts/51.chunk.js +0 -932
- package/dist/scripts/51.chunk.js.map +0 -1
- package/dist/scripts/52.chunk.js +0 -408
- package/dist/scripts/52.chunk.js.map +0 -1
- package/dist/scripts/53.chunk.js +0 -756
- 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.chunk.js +0 -645
- package/dist/scripts/55.chunk.js.map +0 -1
- package/dist/scripts/56.chunk.js +0 -346
- package/dist/scripts/56.chunk.js.map +0 -1
- package/dist/scripts/57.chunk.js +0 -422
- package/dist/scripts/57.chunk.js.map +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.chunk.js +0 -484
- package/dist/scripts/6.chunk.js.map +0 -1
- package/dist/scripts/60.chunk.js +0 -254
- package/dist/scripts/60.chunk.js.map +0 -1
- package/dist/scripts/61.chunk.js +0 -408
- package/dist/scripts/61.chunk.js.map +0 -1
- package/dist/scripts/62.chunk.js +0 -142
- package/dist/scripts/62.chunk.js.map +0 -1
- package/dist/scripts/63.chunk.js +0 -147
- package/dist/scripts/63.chunk.js.map +0 -1
- package/dist/scripts/64.chunk.js +0 -439
- package/dist/scripts/64.chunk.js.map +0 -1
- package/dist/scripts/65.chunk.js +0 -582
- package/dist/scripts/65.chunk.js.map +0 -1
- package/dist/scripts/66.chunk.js +0 -442
- package/dist/scripts/66.chunk.js.map +0 -1
- package/dist/scripts/67.chunk.js +0 -295
- package/dist/scripts/67.chunk.js.map +0 -1
- package/dist/scripts/68.chunk.js +0 -165
- package/dist/scripts/68.chunk.js.map +0 -1
- package/dist/scripts/69.chunk.js +0 -248
- package/dist/scripts/69.chunk.js.map +0 -1
- package/dist/scripts/7.chunk.js +0 -309
- package/dist/scripts/7.chunk.js.map +0 -1
- package/dist/scripts/70.chunk.js +0 -207
- package/dist/scripts/70.chunk.js.map +0 -1
- package/dist/scripts/71.chunk.js +0 -237
- package/dist/scripts/71.chunk.js.map +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.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.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-f28b86bf5b.min.js +0 -8
- package/dist/scripts/bundle.js +0 -67206
- package/dist/scripts/bundle.js.map +0 -1
- package/dist/scripts/polyfills-1d2233ebcc.min.js +0 -1
- package/dist/scripts/polyfills.js +0 -14866
- package/dist/scripts/polyfills.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActions.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-actions/errored-video-actions.scss?8f32","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooter.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItem.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-item/errored-video-item.scss?6acf","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoList.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadata.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-metadata/errored-video-metadata.scss?86cd","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreview.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/contants/MigrationErrorActions.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/contants/MigrationViewModels.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/utils/MigrationErrorHelper.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/ConfirmationDialog.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationError.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationErrorView.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/migration-error/migration-error.scss?7503","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponentTypes.ts"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+IAA+I,aAAa,uBAAuB,aAAa;AAChM;AACA,CAAC;AACD,4GAA4G;;AAE5G;AACA,oFAAoF,uBAAuB,aAAa;AACxH;AACA,oFAAoF,uBAAuB,aAAa;AACxH;AACA,CAAC;AACD;;AAEA,sKAAsK,UAAU,uBAAuB,aAAa;AACpN,CAAC;AACD;;AAEA,sKAAsK,UAAU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H;AAAA;AAAA,wBAmCwB;AACpB,aAAO,iEAAkB,CAAC,yBAAnB,CAA6C,IAA7C,CAAP;AACD;AArCH;AAAA;AAAA,wBAuCqB;AACjB,aAAO;AACL,cAAM,EAAE;AADH,OAAP;AAGD;AA3CH;AAAA;AAAA,wBA8DsB;AAClB,aAAO,CACL;AACE,qBAAa,EAAE,mHADjB;AAEE,cAAM,EAAE,QAFV;AAGE,YAAI,EAAE,yDAAU,CAAC,kBAHnB;AAIE,4BAAoB,EAAE,uEAAoB;AAJ5C,OADK,CAAP;AAQD;AAvEH;AAAA;AAAA,wBAyEqB;AACjB,aAAO,iDAAP;AACD;AA3EH;AAAA;AAAA,wBA6EsB;AAClB,sCAAyB,yEAAzB;AACD;AA/EH;AAAA;AAAA,wBAoR8B;AAC1B,aAAO;AACL,cAAM,EAAE,0FAAuB,CAAC;AAD3B,OAAP;AAGD;AAxRH;;AAAA;AAAA,EAAwC,8DAAI,CAAC,IAA7C,E;;;;;;;;;;;ACnCA;AACA,kBAAkB,wO;;;;;;;;;;;;ACDlB;AAAA;AAAA;AAAA,IAAY,sBAAZ;;AAAA,WAAY,sBAAZ,EAAkC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACD,CARD,EAAY,sBAAsB,KAAtB,sBAAsB,MAAlC;;AAUA,IAAY,wBAAZ;;AAAA,WAAY,wBAAZ,EAAoC;AAClC;AACA;AACA;AACA;AACA;AACD,CAND,EAAY,wBAAwB,KAAxB,wBAAwB,MAApC,E","file":"scripts/41.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \" <button class=\\\"btn btn-success use-online-copy \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selectedButton : stack1), depth0))\n + \"\\\"><span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.checkSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \" <button class=\\\"btn btn-link dismiss\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"dismiss\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n <button class=\\\"btn btn-outline-secondary use-online-copy\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"hide\",{\"name\":\"lang\",\"hash\":{},\"data\":data}));\n},\"7\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"show\",{\"name\":\"lang\",\"hash\":{},\"data\":data}));\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.lambda, alias4=container.escapeExpression;\n\n return \"<div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.selected : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n<div class=\\\"mt-4 cursor-pointer video-item-show-preview text-right \"\n + alias4(alias3(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.showPreview : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"svg-container d-inline-block\\\">\"\n + ((stack1 = alias3(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.previewSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\\r\\n \"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.previewDisplayed : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.program(7, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \" \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,\"preview\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n</div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\nimport * as styles from './errored-video-actions.scss';\r\nimport * as ErroredVideoActionsTemplate from './ErroredVideoActions.hbs';\r\n\r\ninterface ErroredVideoActionsComponentOptions extends Core.ComponentOptions {\r\n model: Core.Model;\r\n}\r\n\r\nexport class ErroredVideoActionsComponent extends Core.Component {\r\n public viewModel: Core.Model;\r\n private previewViewModel: Core.Model;\r\n\r\n constructor(options: ErroredVideoActionsComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(this.viewModel, `change:${this.model.get('id')}`, this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoActionsComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoActionsTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoActions';\r\n }\r\n\r\n public get className(): string {\r\n return 'text-right';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .use-online-copy': 'onClickSelect',\r\n 'click .dismiss': 'onClickDismiss'\r\n };\r\n }\r\n\r\n private isSelected(): boolean {\r\n return this.viewModel.get(this.model.get('id')) === MigrationErrorActions.USE_ONLINE_COPY;\r\n }\r\n\r\n public onClickSelect(e: JQuery.Event): void {\r\n e.stopPropagation();\r\n\r\n if (this.previewViewModel.get(this.model.get('id')))\r\n this.previewViewModel.clear();\r\n\r\n if (this.isSelected()) {\r\n this.viewModel.unset(this.model.get('id'));\r\n return;\r\n }\r\n\r\n this.viewModel.set(this.model.get('id'), MigrationErrorActions.USE_ONLINE_COPY);\r\n }\r\n\r\n public onClickDismiss(e: JQuery.Event): void {\r\n e.stopPropagation();\r\n\r\n if (this.previewViewModel.get(this.model.get('id')))\r\n this.previewViewModel.clear();\r\n\r\n this.viewModel.set(this.model.get('id'), MigrationErrorActions.DO_NOT_ADD);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n selected: this.isSelected(),\r\n checkSvg: SvgHelper.getSvg(cvSvgLibrary.Check),\r\n previewSvg: SvgHelper.getSvg(cvSvgLibrary.Preview)\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"svgContainer\":\"cv--svgContainer---0ibU\",\"selectedButton\":\"cv--selectedButton--28zhr\",\"showPreview\":\"cv--showPreview--2r4VF\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"<span class=\\\"border-right d-inline-block align-middle pr-3\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"videosAdded\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.count : stack1)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"disabled\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.countPhrase : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"<span class=\\\"d-inline-block align-middle\\\"><button class=\\\"btn btn-link clear-all\\\"\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.submitDisabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"reset\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button></span>\\r\\n<button class=\\\"btn btn-primary align-middle ml-2 submit\\\" \"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.submitDisabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"submit\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\n\r\nimport * as ErroredVideoFooterTemplate from './ErroredVideoFooter.hbs';\r\nimport { ObjectHash, Radio } from 'backbone';\r\nimport * as _ from 'underscore';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\ninterface ErroredVideoFooterComponentOptions extends Core.ComponentOptions {\r\n submitEvent: string;\r\n}\r\n\r\nexport class ErroredVideoFooterComponent extends Core.Component {\r\n public options: ErroredVideoFooterComponentOptions;\r\n\r\n constructor(options: ErroredVideoFooterComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n\r\n this.listenTo(this.viewModel, 'change', this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoFooterComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoFooterTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoFooter';\r\n }\r\n\r\n public get className(): string {\r\n return 'border-top px-3 py-2 text-right';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .clear-all': 'onClickClearAll',\r\n 'click .submit': 'onClickSubmit'\r\n };\r\n }\r\n\r\n public onClickClearAll(): void {\r\n this.viewModel.clear();\r\n }\r\n\r\n public onClickSubmit(): void {\r\n Radio.channel(this.options.channelName).trigger(this.options.submitEvent);\r\n }\r\n\r\n private canSubmit(): boolean {\r\n return this.viewModel.keys().length > 0;\r\n }\r\n\r\n private countWillBeAdded(): number {\r\n return _.filter(this.viewModel.keys(), key => {\r\n return this.viewModel.get(key) === MigrationErrorActions.USE_ONLINE_COPY;\r\n }).length;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n count: this.countWillBeAdded(),\r\n submitDisabled: !this.canSubmit()\r\n };\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n return \" cursor-pointer\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing;\n\n return \"<div class=\\\"\"\n + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.doNotAdd : stack1), depth0))\n + \" text-center\\\">\\r\\n <p class=\\\"mb-0 mt-3\\\">\"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"willNotBeAdded\",{\"name\":\"lang\",\"hash\":{\"videoName\":(depth0 != null ? depth0.name : depth0)},\"data\":data})) != null ? stack1 : \"\")\n + \"</p>\\r\\n <p class=\\\"m-0\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"willBeRemoved\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n <button class=\\\"btn btn-link undo\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"undo\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div class=\\\"d-flex justify-content-between align-items-stretch p-3 drag-item \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoItem : stack1), depth0))\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isClickable : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\\r\\n <div class=\\\"thumbnail-region d-inline-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.thumbnailContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n <div class=\\\"metadata-region d-inline-block px-3 \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.metaContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n <div class=\\\"video-actions-region d-inline-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.actionsContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n</div>\\r\\n<div class=\\\"video-info-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.previewContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.doNotAdd : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { ThumbnailComponent } from 'libs/shared/legacy/components/thumbnail/ThumbnailComponent';\r\n\r\nimport { VideoItemComponentRegion } from 'shared/components/video-item/utils/VideoItemComponentTypes';\r\nimport { Video } from 'shared/models/Video';\r\nimport { RadioChannelHelper, LazyLoadHelper } from 'shared/utils';\r\nimport { LazyLoadMinBrowserSupportVersion } from 'shared/constants';\r\n\r\nimport { ErroredVideoPreviewComponent } from 'apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent';\r\nimport { ErroredVideoMetadataComponent } from 'apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent';\r\nimport { ErroredVideoActionsComponent } from 'apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\nimport * as ErroredVideoItemTemplate from './ErroredVideoItem.hbs';\r\nimport * as styles from './errored-video-item.scss';\r\n\r\nexport interface ErroredVideoComponentOptions extends Core.ComponentOptions {\r\n imageCdnUrl: string;\r\n webplayerUrl: string;\r\n}\r\n\r\nexport class ErroredVideoItemComponent extends Core.Component {\r\n public options: ErroredVideoComponentOptions;\r\n private previewViewModel: Core.Model;\r\n private thumbnailLoaded: boolean;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(this.viewModel, `change:${this.model.get('id')}`, this.render);\r\n this.listenTo(this.previewViewModel, `change:${this.model.get('id')}`, this.render);\r\n\r\n this.listenTo(this.channelName, 'thumbnail:load', this.onThumbnailLoad);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoItemComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoItemTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoItem';\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get className(): string {\r\n return `border-bottom ${styles.component}`;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n [VideoItemComponentRegion.Thumbnail]: '.thumbnail-region',\r\n [VideoItemComponentRegion.Metadata]: '.metadata-region',\r\n [VideoItemComponentRegion.VideoActions]: '.video-actions-region',\r\n [VideoItemComponentRegion.VideoInfo]: '.video-info-region'\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .drag-item': 'onClick',\r\n 'click .undo': 'onClickUndo'\r\n };\r\n }\r\n\r\n private onThumbnailLoad(): void {\r\n this.thumbnailLoaded = true;\r\n }\r\n\r\n public onClick(): void {\r\n if (this.previewViewModel.get(this.model.get('id'))) {\r\n this.previewViewModel.unset(this.model.get('id'));\r\n return;\r\n }\r\n\r\n this.previewViewModel.clear();\r\n this.previewViewModel.set(this.model.get('id'), true);\r\n }\r\n\r\n public onClickUndo(): void {\r\n this.viewModel.unset(this.model.get('id'));\r\n }\r\n\r\n public shouldLazyLoadThumbnail(): boolean {\r\n if (!LazyLoadHelper.isLazyLoadSupported(LazyLoadMinBrowserSupportVersion))\r\n return false;\r\n\r\n return !this.thumbnailLoaded;\r\n }\r\n\r\n private renderThumbnail(): void {\r\n const thumbnailComponent = new ThumbnailComponent({\r\n model: new Video({\r\n duration: this.model.get('duration') * 1000,\r\n thumbnail: { url: `${this.options.imageCdnUrl}v1/thumbnails/trackingcode/${this.model.get('trackingCode')}` }\r\n }),\r\n lazyload: this.shouldLazyLoadThumbnail(),\r\n channelName: this.channelName\r\n });\r\n this.showChildView(VideoItemComponentRegion.Thumbnail, thumbnailComponent);\r\n }\r\n\r\n private renderMetadata(): void {\r\n const metadataComponent = new ErroredVideoMetadataComponent({\r\n model: this.model\r\n });\r\n this.showChildView(VideoItemComponentRegion.Metadata, metadataComponent);\r\n }\r\n\r\n private renderActions(): void {\r\n const videoActionsComponent = new ErroredVideoActionsComponent({\r\n model: this.model\r\n });\r\n this.showChildView(VideoItemComponentRegion.VideoActions, videoActionsComponent);\r\n }\r\n\r\n private renderPreview(): void {\r\n if (!this.previewViewModel.get(this.model.get('id')))\r\n return;\r\n\r\n const previewComponent = new ErroredVideoPreviewComponent({\r\n model: this.model,\r\n webplayerUrl: this.options.webplayerUrl,\r\n imageCdnUrl: this.options.imageCdnUrl\r\n });\r\n this.showChildView(VideoItemComponentRegion.VideoInfo, previewComponent);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n doNotAdd: this.viewModel.get(this.model.get('id')) === MigrationErrorActions.DO_NOT_ADD\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.renderThumbnail();\r\n this.renderMetadata();\r\n this.renderActions();\r\n this.renderPreview();\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"component\":\"cv--component--13khy\",\"thumbnailContainer\":\"cv--thumbnailContainer--_gEcp\",\"metaContainer\":\"cv--metaContainer--zuMb1\",\"actionsContainer\":\"cv--actionsContainer--1ppp8\",\"videoItem\":\"cv--videoItem--2Ru6c\",\"doNotAdd\":\"cv--doNotAdd--8l6WV\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n return \"<div class=\\\"videos-region\\\"></div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\n\r\nimport { LazyLoadBehavior } from 'shared/behaviors';\r\nimport { LazyLoadMinBrowserSupportVersion } from 'shared/constants';\r\n\r\nimport * as ErroredVideoListTemplate from './ErroredVideoList.hbs';\r\nimport { ErroredVideoComponentOptions, ErroredVideoItemComponent } from '../errored-video-item/ErroredVideoItemComponent';\r\n\r\nclass ErroredVideoItemComponentCollection extends Core.ComponentCollection {\r\n public options: ErroredVideoComponentOptions;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoItemComponentCollection';\r\n }\r\n\r\n public get childView(): typeof ErroredVideoItemComponent {\r\n return ErroredVideoItemComponent;\r\n }\r\n\r\n public get childViewOptions(): ErroredVideoComponentOptions {\r\n return this.options;\r\n }\r\n}\r\n\r\nexport class ErroredVideoListComponent extends Core.Component {\r\n public options: ErroredVideoComponentOptions;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoListComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoListTemplate;\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: LazyLoadBehavior,\r\n selector: '.lazy-img',\r\n minBrowserSupportVersion: LazyLoadMinBrowserSupportVersion\r\n }\r\n ];\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n videos: {\r\n el: '.videos-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('videos', new ErroredVideoItemComponentCollection(this.options));\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \" <span>\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"series\",{\"name\":\"lang\",\"hash\":{\"series\":(depth0 != null ? depth0.series : depth0)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \" \"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.series : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n <span>\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,\"folder\",{\"name\":\"lang\",\"hash\":{\"folder\":(depth0 != null ? depth0.category : depth0)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n return \"<span class=\\\"mx-1\\\">|</span>\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \" <span class=\\\"badge p-1 tool-tip \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.rating : stack1), depth0))\n + \" \"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.ratingColorClass : stack1), depth0))\n + \"\\\" title=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.name : stack1), depth0))\n + \"\\\">\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1), depth0))\n + \"</span>\\r\\n\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(9, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"9\":function(container,depth0,helpers,partials,data) {\n return \" <div class=\\\"text-danger\\\">\"\n + container.escapeExpression(container.lambda(depth0, depth0))\n + \"</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div>\\r\\n <a class=\\\"h6\\\">\"\n + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(alias2,{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"</a>\\r\\n</div>\\r\\n<div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.series : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.category : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers.each.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.errorStrings : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\n\r\nimport * as ErroredVideoMetadataTemplate from './ErroredVideoMetadata.hbs';\r\nimport * as styles from './errored-video-metadata.scss';\r\nimport { MigrationErrorHelper } from 'apps/migration-wizard/utils/MigrationErrorHelper';\r\nimport { ObjectHash } from 'backbone';\r\nimport { VideoDetailsHelper } from 'apps/library-editor/utils';\r\n\r\nexport class ErroredVideoMetadataComponent extends Core.Component {\r\n public get name(): string {\r\n return 'ErroredVideoMetadataComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoMetadataTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoMetadata';\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n errorStrings: MigrationErrorHelper.getErrorStrings(this.model.get('clientValidationResults')),\r\n ratingColorClass: this.model.get('rating') && VideoDetailsHelper.mapRatingToClass(this.model.get('rating').value),\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rating\":\"cv--rating--3IJcl\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \"<p class=\\\"text-uppercase text-muted\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"description\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.description : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"<div class=\\\"description-region\\\"></div>\\r\\n<div class=\\\"webplayer-region col-5 pl-0\\\"></div>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\n\r\nimport * as ErroredVideoPreviewTemplate from './ErroredVideoPreview.hbs';\r\nimport { ObjectHash } from 'backbone';\r\nimport { VideoDescriptionComponent, VideoDescriptionTruncationSize } from 'shared/components/video-description/VideoDescriptionComponent';\r\nimport { VideoPreviewComponent } from 'shared/components/video-preview/VideoPreviewComponent';\r\nimport { Video } from 'shared/models/Video';\r\n\r\ninterface ErroredVideoPreviewComponentOptions extends Core.ComponentOptions {\r\n webplayerUrl: string;\r\n imageCdnUrl: string;\r\n}\r\n\r\nexport class ErroredVideoPreviewComponent extends Core.Component {\r\n public options: ErroredVideoPreviewComponentOptions;\r\n\r\n constructor(options: ErroredVideoPreviewComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoPreviewComponent';\r\n }\r\n\r\n public get className(): string {\r\n return 'p-3 border-top';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoPreviewTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoPreview';\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n description: {\r\n el: '.description-region',\r\n replaceElement: true\r\n },\r\n webplayer: {\r\n el: '.webplayer-region'\r\n }\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('webplayer', new VideoPreviewComponent({\r\n webPlayerUrl: this.options.webplayerUrl,\r\n model: new Video({\r\n duration: this.model.get('duration') * 1000,\r\n thumbnail: { url: `${this.options.imageCdnUrl}v1/thumbnails/trackingcode/${this.model.get('trackingCode')}` },\r\n trackingCode: this.model.get('trackingCode')\r\n }),\r\n captureAnalytics: false\r\n }));\r\n\r\n if (this.model.get('description')) {\r\n this.showChildView('description', new VideoDescriptionComponent({\r\n model: this.model,\r\n linkify: true,\r\n size: VideoDescriptionTruncationSize.Large,\r\n truncate: true,\r\n allowExpand: true\r\n }));\r\n }\r\n\r\n }\r\n}","export const MigrationErrorActions = {\r\n USE_ONLINE_COPY: 'use-online-copy',\r\n DO_NOT_ADD: 'do-not-add'\r\n};","export const MigrationViewModels = {\r\n OPEN_PREVIEWS: 'migration:errored:videos:preview',\r\n SELECTED_VIDEOS: 'migration:errored:videos:selected'\r\n};","import * as _ from 'underscore';\r\nimport { ValidationResult } from 'apps/migration-wizard/enums';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\n\r\nconst lang = 'migrationWizard.utils';\r\n\r\nconst videoFileMissing = () => LanguageService.getPhrase(lang, 'videoFileMissing');\r\nconst videoFileCorrupt = () => LanguageService.getPhrase(lang, 'videoFileCorrupt');\r\nconst videoFileInformationMissing = () => LanguageService.getPhrase(lang, 'videoFileInformationMissing');\r\nconst subtitleFileMissing = () => LanguageService.getPhrase(lang, 'subtitleFileMissing');\r\nconst resouceFileMissing = () => LanguageService.getPhrase(lang, 'resouceFileMissing');\r\nconst thumbnailMissing = () => LanguageService.getPhrase(lang, 'thumbnailMissing');\r\n\r\nconst mappings: { [key: number]: () => string } = {\r\n [ValidationResult.BinaryRemoved]: () => '',\r\n\r\n [ValidationResult.LocalFileNotFound]: videoFileMissing,\r\n [ValidationResult.DbEmptyChapter]: videoFileCorrupt,\r\n\r\n [ValidationResult.DbChapterChecksumNotFound]: videoFileCorrupt,\r\n [ValidationResult.DbChapterDurationNotFound]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterFileSizeNotFound]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterChecksumNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterDurationNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterFileSizeNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.SubtitleUploadFailure]: subtitleFileMissing,\r\n [ValidationResult.ResourceUploadFailure]: resouceFileMissing,\r\n [ValidationResult.ResourceFileNotFound]: resouceFileMissing,\r\n [ValidationResult.ResourceFileInvalid]: resouceFileMissing,\r\n [ValidationResult.DbResourceChecksumNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceExtensionNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceFileSizeNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceChecksumNotMatch]: resouceFileMissing,\r\n [ValidationResult.DbResourceFileSizeNotMatch]: resouceFileMissing,\r\n [ValidationResult.CoverImageUploadFailure]: thumbnailMissing\r\n};\r\n\r\nexport const MigrationErrorHelper = {\r\n getErrorStrings(errorCodes: number[]): string[] {\r\n return _.unique(_.map(errorCodes, e => mappings[e]()));\r\n }\r\n};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing, alias5=\"function\";\n\n return \"<div class=\\\"m-auto text-warning \"\n + alias2(container.lambda(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.svgContainer : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = ((helper = (helper = helpers.warningSvg || (depth0 != null ? depth0.warningSvg : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"warningSvg\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \"</div>\\r\\n<p>\\r\\n <div>\"\n + ((stack1 = ((helper = (helper = helpers.onlineCopyCountText || (depth0 != null ? depth0.onlineCopyCountText : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"onlineCopyCountText\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \" will be migrated to your Library Editor ignoring all warnings.</div>\\r\\n <span class=\\\"text-danger\\\">\\r\\n \"\n + alias2(((helper = (helper = helpers.warningText || (depth0 != null ? depth0.warningText : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"warningText\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\r\\n </span>\\r\\n</p> \\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable;\n\n return \"<p>\"\n + ((stack1 = ((helper = (helper = helpers.doNotAddCountText || (depth0 != null ? depth0.doNotAddCountText : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"doNotAddCountText\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \" will be removed from this list and will not be added to your library.</p>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.onlineCopyCount : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.doNotAddCount : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \" <h2 class=\\\"h3\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"couldNotBeMigrated\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.items : stack1)},\"data\":data}))\n + \"</h2>\\r\\n <p class=\\\"mb-1\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"ensureValidity\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n <p class=\\\"mb-2\\\"><a href=\\\"\"\n + alias4(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.supportArticle : stack1), depth0))\n + \"\\\" target=\\\"_blank\\\" class=\\\"text-info\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"moreInfo\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a></p>\\r\\n <button class=\\\"approve-all btn btn-success d-inline-block mr-2\\\" type=\\\"button\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n <button class=\\\"do-not-add btn btn-link d-inline-block\\\" type=\\\"button\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"dismiss\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"tab-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.tabsContainer : stack1), depth0))\n + \" border-bottom\\\"></div>\\r\\n<div class=\\\"p-3 border-bottom \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.headingContainer : stack1), depth0))\n + \"\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.items : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n<div class=\\\"videos-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n<div class=\\\"footer-region\\\"></div>\\r\\n\";\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\nimport { EmptyStateBehavior } from 'libs/shared/legacy/behaviors/empty-state/EmptyStateBehavior';\r\nimport { LocationContext, EntityType, UserAction, OperationDescriptor } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { NavLockService } from 'shared/services/NavigationLockService';\r\nimport { DataServices, DataChannels, Actions, AppChannels, SupportArticles, EmptyStateComponents, Services } from 'shared/constants';\r\nimport { Config } from 'shared/models/Config';\r\nimport { EmptyState, PartialLoading } from 'shared/enums';\r\nimport { RadioChannelHelper, DialogHelper } from 'shared/utils';\r\n\r\nimport { ErroredVideoListComponent } from 'apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent';\r\nimport { ErroredVideoFooterComponent } from 'apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent';\r\nimport { VideoMigrationStatus } from 'apps/migration-wizard/enums/VideoMigrationStatus';\r\nimport { SelectedVideo, FinalisationTask } from 'apps/migration-wizard/models';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\nimport { SearchBarComponent } from 'apps/migration-wizard/components';\r\nimport { MigrationVideoDataService } from 'apps/migration-wizard/services/MigrationVideoDataService';\r\n\r\nimport * as ConfirmationDialogTemplate from './ConfirmationDialog.hbs';\r\nimport * as MigrationErrorTemplate from './MigrationError.hbs';\r\nimport * as styles from './migration-error.scss';\r\n\r\nconst SUBMIT_EVENT = 'submit';\r\nconst PAGE_SIZE = 25;\r\n\r\nexport class MigrationErrorView extends Core.View {\r\n private config: Config;\r\n private migrationVideoDataService: MigrationVideoDataService;\r\n private navLockService: NavLockService;\r\n private previewViewModel: Core.Model;\r\n private collectionSubset: Core.Collection;\r\n private page: number;\r\n private scrollBound: boolean;\r\n\r\n public initialize(): void {\r\n this.migrationVideoDataService = InstanceManager.getInstance(DataServices.MigrationVideo, this);\r\n this.navLockService = InstanceManager.getInstance(Services.NavLock, this);\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(DataChannels.MIGRATION, `manual:review:videos:sync`, this.render);\r\n this.listenTo(this.channelName, SUBMIT_EVENT, this.onSubmit);\r\n\r\n this.listenTo(this.viewModel, 'change', this.onChangeSelected);\r\n\r\n this.page = 1;\r\n }\r\n\r\n public get name(): string {\r\n return 'MigrationErrorView';\r\n }\r\n\r\n public get title(): string {\r\n return LanguageService.getPhrase(this.lang, 'title');\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.migrationError';\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n videos: '.videos-region'\r\n };\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n tabs: {\r\n el: '.tab-region',\r\n replaceElement: true\r\n },\r\n videos: {\r\n el: '.videos-region',\r\n partialLoading: PartialLoading.VideoList\r\n },\r\n footer: {\r\n el: '.footer-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: EmptyStateBehavior,\r\n region: 'videos',\r\n type: EmptyState.ManualReviewVideos,\r\n emptyStateComponents: EmptyStateComponents\r\n }\r\n ];\r\n }\r\n\r\n public get template(): any {\r\n return MigrationErrorTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return `bg-white w-100 ${styles.migrationErrorView}`;\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .approve-all': 'onClickApproveAll',\r\n 'click .do-not-add': 'onClickDoNotAdd'\r\n };\r\n }\r\n\r\n public onClickApproveAll(): void {\r\n const keys: ObjectHash = {};\r\n this.collection.each(item => {\r\n keys[item.get('id')] = MigrationErrorActions.USE_ONLINE_COPY;\r\n });\r\n this.viewModel.set(keys);\r\n }\r\n\r\n public onClickDoNotAdd(): void {\r\n this.previewViewModel.clear();\r\n const keys: ObjectHash = {};\r\n this.collection.each(item => {\r\n keys[item.get('id')] = MigrationErrorActions.DO_NOT_ADD;\r\n });\r\n this.viewModel.set(keys);\r\n }\r\n\r\n\r\n private onChangeSelected(): void {\r\n if (this.viewModel.keys().length) {\r\n this.navLockService.lock({\r\n title: LanguageService.getPhrase(this.lang, 'navLockTitle'),\r\n text: LanguageService.getPhrase(this.lang, 'navLockBody')\r\n });\r\n } else {\r\n this.navLockService.unlock();\r\n }\r\n }\r\n\r\n private getDialog(onlineCopyCount: number, doNotAddCount: number): DialogHelper {\r\n return new DialogHelper({\r\n title: LanguageService.getPhrase(this.lang, 'dialogHeading'),\r\n text: ConfirmationDialogTemplate({\r\n onlineCopyCount,\r\n onlineCopyCountText: LanguageService.getPhrase(this.lang, 'videos', { smartCount: onlineCopyCount }),\r\n warningText: LanguageService.getPhrase(this.lang, 'warningText', { smartCount: onlineCopyCount }),\r\n doNotAddCount,\r\n doNotAddCountText: LanguageService.getPhrase(this.lang, 'videos', { smartCount: doNotAddCount }),\r\n styles,\r\n warningSvg: SvgHelper.getSvg(cvSvgLibrary.Warning)\r\n }),\r\n buttons: [{\r\n text: LanguageService.getPhrase(this.lang, 'submit'),\r\n className: 'btn btn-primary',\r\n success: true\r\n }]\r\n });\r\n }\r\n\r\n private getSelectedVideos(): Core.Collection<SelectedVideo> {\r\n const useOnlineCopyVideos = this.collection.filter(video => {\r\n return this.viewModel.get(video.get('id')) === MigrationErrorActions.USE_ONLINE_COPY;\r\n });\r\n\r\n const groupedByCategory = _.groupBy(useOnlineCopyVideos, video => {\r\n return video.get('category');\r\n });\r\n\r\n const selectedVideos = _.map(_.keys(groupedByCategory), key => {\r\n return {\r\n folderChord: key,\r\n videoIds: _.map(groupedByCategory[key], item => item.get('id'))\r\n };\r\n });\r\n return new Core.Collection<SelectedVideo>(selectedVideos);\r\n }\r\n\r\n private onSubmit(): void {\r\n const doNotAddVideoIds: number[] = [];\r\n const useOnlineCopyVideoIds: number[] = [];\r\n\r\n _.each(this.viewModel.keys(), k => {\r\n const value = this.viewModel.get(k);\r\n if (value === MigrationErrorActions.DO_NOT_ADD)\r\n doNotAddVideoIds.push(+k);\r\n\r\n if (value === MigrationErrorActions.USE_ONLINE_COPY)\r\n useOnlineCopyVideoIds.push(+k);\r\n });\r\n\r\n const dialog = this.getDialog(useOnlineCopyVideoIds.length, doNotAddVideoIds.length);\r\n\r\n let updateMigrationStatusDone = false;\r\n let finaliseCustomerVideosDone = false;\r\n let finalisationTaskId = 0;\r\n\r\n const callback = () => {\r\n if (!updateMigrationStatusDone || !finaliseCustomerVideosDone)\r\n return;\r\n\r\n if (useOnlineCopyVideoIds.length) {\r\n /**\r\n * Silently clear the viewModel so that we don't trigger a re-render\r\n * of all the migration errors. This helps mitigate a bug where\r\n * lazyload was erroring when attempting to perform an update on\r\n * items after they've been removed from the DOM.\r\n */\r\n this.viewModel.clear({ silent: true });\r\n this.navLockService.unlock();\r\n\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.PROGRESS,\r\n args: [finalisationTaskId]\r\n });\r\n } else {\r\n this.viewModel.clear();\r\n\r\n this.migrationVideoDataService.clearCacheAndGetCustomerMetadata();\r\n this.migrationVideoDataService.getManualReviewVideos();\r\n\r\n delete this.collectionSubset;\r\n }\r\n };\r\n\r\n dialog.render().done(() => {\r\n this.logMigrationActions(useOnlineCopyVideoIds, doNotAddVideoIds);\r\n\r\n if (doNotAddVideoIds.length) {\r\n this.migrationVideoDataService.updateMigrationStatus(\r\n doNotAddVideoIds, VideoMigrationStatus.HasNotBeenMigrated, () => {\r\n updateMigrationStatusDone = true;\r\n callback();\r\n }\r\n );\r\n } else {\r\n updateMigrationStatusDone = true;\r\n }\r\n\r\n if (useOnlineCopyVideoIds.length) {\r\n this.migrationVideoDataService.finaliseCustomerVideos(\r\n this.getSelectedVideos(), true, (finalisationTask: FinalisationTask) => {\r\n finaliseCustomerVideosDone = true;\r\n finalisationTaskId = finalisationTask.get('id');\r\n callback();\r\n }\r\n );\r\n } else {\r\n finaliseCustomerVideosDone = true;\r\n }\r\n });\r\n }\r\n\r\n private logMigrationActions(resolveCollection: number[], dismissCollection: number[]): void {\r\n if (resolveCollection.length) {\r\n const data = _.map(resolveCollection, id => this.processLogData(id, resolveCollection));\r\n this.logData(UserAction.ResolveWarning, data);\r\n }\r\n\r\n if (dismissCollection.length) {\r\n const data = _.map(dismissCollection, id => this.processLogData(id, dismissCollection));\r\n this.logData(UserAction.DismissWarning, data);\r\n }\r\n }\r\n\r\n private logData(actionType: UserAction, data: ObjectHash[]): void {\r\n const analyticsOptions = {\r\n location: LocationContext.MigrationWarnings,\r\n entity: EntityType.Video\r\n };\r\n\r\n // Set action descriptor where all videos have been selected for resolve/dismiss\r\n const selectedAll = data.length === this.collection.length;\r\n\r\n AnalyticsHelper.logUserAction(data, AnalyticsHelper.mergeOptions(analyticsOptions, {\r\n actionType,\r\n descriptor: selectedAll ? OperationDescriptor.All : OperationDescriptor.Single\r\n }));\r\n }\r\n\r\n // Process and build the data object we're going to log.\r\n private processLogData(id: number, migrationCollection: number[]): ObjectHash {\r\n const model = this.collection.get(id);\r\n\r\n const { name, trackingCode } = model.pick('name', 'trackingCode');\r\n\r\n const actionCount = migrationCollection.length;\r\n const warningCount = this.collection.length;\r\n\r\n return {\r\n id,\r\n name,\r\n trackingCode,\r\n actionCount,\r\n warningCount,\r\n };\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n config: ConfigDataServiceHelper.config\r\n };\r\n }\r\n\r\n private unBindScroll(): void {\r\n const $videosRegion = this.getUI('videos');\r\n $videosRegion.off('scroll');\r\n }\r\n\r\n private bindScroll(): void {\r\n if (this.scrollBound)\r\n return;\r\n\r\n const $videosRegion = this.getUI('videos');\r\n $videosRegion.on('scroll', _.bind(this.onScroll, this));\r\n\r\n this.scrollBound = true;\r\n }\r\n\r\n private onScroll(): void {\r\n const $videosRegion = this.getUI('videos');\r\n\r\n /**\r\n * If we haven't scrolled to the end, do nothing\r\n * \r\n */\r\n const loadMoreThreshold = $videosRegion.children().height() - $videosRegion.height() / 2;\r\n if ($videosRegion.scrollTop() + $videosRegion.height() < loadMoreThreshold)\r\n return;\r\n\r\n if (this.page * PAGE_SIZE > this.collection.length)\r\n return;\r\n\r\n this.collectionSubset.add(_.first(this.collection.rest(this.page * PAGE_SIZE), PAGE_SIZE));\r\n this.page++;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n\r\n const supportArticle = this.config ? `${this.config.get('supportSiteUrl')}${SupportArticles.MANUAL_REVIEW}` : '';\r\n\r\n return {\r\n styles,\r\n supportArticle,\r\n items: this.collection && this.collection.length\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n this.collection = this.migrationVideoDataService.getManualReviewVideos();\r\n\r\n if (this.collection && !this.collectionSubset) {\r\n this.collectionSubset = new Core.Collection(this.collection.first(PAGE_SIZE));\r\n }\r\n\r\n return !!this.collection;\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('tabs', new SearchBarComponent({\r\n selected: 'migration-errors'\r\n }));\r\n this.showChildView('videos', new ErroredVideoListComponent({\r\n collection: this.collectionSubset,\r\n imageCdnUrl: this.config.get('imageCdnUrl'),\r\n webplayerUrl: this.config.get('webPlayerUrl')\r\n }));\r\n this.showChildView('footer', new ErroredVideoFooterComponent({\r\n channelName: this.channelName,\r\n submitEvent: SUBMIT_EVENT\r\n }));\r\n this.bindScroll();\r\n }\r\n\r\n public onBeforeDestroy(): void {\r\n this.unBindScroll();\r\n }\r\n\r\n public onDestroy(): void {\r\n ViewModelService.clear(MigrationViewModels.OPEN_PREVIEWS);\r\n ViewModelService.clear(MigrationViewModels.SELECTED_VIDEOS);\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"migrationErrorView\":\"cv--migrationErrorView--1Jo6e\",\"videoContainer\":\"cv--videoContainer--7tGnj\",\"svgContainer\":\"cv--svgContainer--csNIF\",\"headingContainer\":\"cv--headingContainer--30NNv\",\"tabsContainer\":\"cv--tabsContainer--10__f\"};","export enum VideoItemComponentType {\r\n Base,\r\n AwaitingReview,\r\n PastReleases,\r\n VideoAccess,\r\n ProcessingVideo,\r\n Draggable,\r\n Search\r\n}\r\n\r\nexport enum VideoItemComponentRegion {\r\n Checkbox = 'checkbox',\r\n Thumbnail = 'thumbnail',\r\n Metadata = 'metadata',\r\n VideoActions = 'videoActions',\r\n VideoInfo = 'videoInfo',\r\n}"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[42],{1430:function(e,t,n){e.exports={smart:"_1dRs0",leftNav:"_3dpUO"}},1431:function(e,t,n){e.exports={item:"_13Gu_",text:"_2mbEb",folderTree:"_2NhVk",node:"_1dMK1",selected:"_1AACi"}},1432:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o;e.propertyIsEnumerable;return'<div class="selected-banner-region"></div>\r\n<div class="search-region"></div>\r\n<div class="banner-region"></div>\r\n<div class="col-4 '+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.leftNav:o,t))+'">\r\n <div class="left-nav-region"></div>\r\n</div>\r\n<div class="col">\r\n <div class="header-region"></div>\r\n <div class="video-list-region"></div>\r\n</div>\r\n<div class="footer-region"></div>'},useData:!0})},1433:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({1:function(e,t,n,i,r){e.propertyIsEnumerable;var o,a=e.lambda,s=e.escapeExpression;return' <a class="applink-goback '+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.back:o,t))+'">\r\n <span class="align-middle d-inline-block '+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.backSvgContainer:o,t))+'">'+(null!=(o=a(null!=(o=null!=t?t.options:t)?o.backSvg:o,t))?o:"")+"</span>\r\n </a>\r\n"},3:function(e,t,n,i,r){var o;e.propertyIsEnumerable;return" "+(null!=(o=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"resultsFor",{name:"lang",hash:{searchTerm:null!=(o=null!=t?t.options:t)?o.searchTerm:o,smartCount:null!=(o=null!=t?t.options:t)?o.results:o},data:r}))?o:"")+"\r\n"},5:function(e,t,n,i,r){var o;e.propertyIsEnumerable;return" "+e.escapeExpression(e.lambda(null!=(o=null!=t?t.options:t)?o.name:o,t))+"\r\n"},7:function(e,t,n,i,r){e.propertyIsEnumerable;var o,a=e.lambda,s=e.escapeExpression,l=null!=t?t:e.nullContext||{};return'<div class="col-4 text-right py-2 '+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.subheader:o,t))+'">\r\n <div class="cursor-pointer toggle-migrated h-100">\r\n <span class="'+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.svg:o,t))+'">'+(null!=(o=a(null!=(o=null!=t?t.options:t)?o.svg:o,t))?o:"")+"</span>\r\n <span>"+(null!=(o=n.if.call(l,null!=(o=null!=t?t.options:t)?o.hidden:o,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.program(10,r,0),data:r}))?o:"")+" "+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(l,"migrated",{name:"lang",hash:{},data:r}))+"</span>\r\n </div>\r\n</div>\r\n"},8:function(e,t,n,i,r){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"show",{name:"lang",hash:{},data:r}))},10:function(e,t,n,i,r){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"hide",{name:"lang",hash:{},data:r}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){e.propertyIsEnumerable;var o,a=null!=t?t:e.nullContext||{};return'<div class="col-8">\r\n'+(null!=(o=n.if.call(a,null!=(o=null!=t?t.options:t)?o.goBack:o,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?o:"")+' <h4 class="'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.header:o,t))+' py-2">\r\n'+(null!=(o=n.if.call(a,null!=(o=null!=t?t.options:t)?o.searchTerm:o,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r}))?o:"")+" </h4>\r\n</div>\r\n\r\n"+(null!=(o=n.if.call(a,null!=(o=null!=t?t.options:t)?o.showMigrationToggle:o,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r}))?o:"")},useData:!0})},1493:function(e,t,n){"use strict";n.r(t);var i=n(2),r=n(3),o=n(52),a=n(103),s=n(1430),l=n.n(s),c=n(1431),u=n.n(c),d=n(1432),h=n.n(d),f=n(9),g=n(1082),p=n(1143),v=n(1),m=n(6),y=n(5),b=n(15),S=n(306),w=n(1433),k=n.n(w),M=n(47),I=n(138),C=n(0);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=V(e);if(t){var r=V(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(o,e);var t,n,i,r=A(o);function o(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),r.call(this,e)}return t=o,(n=[{key:"initialize",value:function(){this.localOptionsService=y.a.getInstance(C.x.LocalOptions,this),this.migrationVideoDataService=y.a.getInstance(C.g.MigrationVideo,this);var e=this.localOptionsService.getOption(M.b.MigratedHidden);v.isUndefined(e)?(this.setMigrationHiddenOption(!1),this.migratedHidden=!1):this.migratedHidden=e}},{key:"events",value:function(){return{"click @ui.toggleMigrated":"toggleMigrated"}}},{key:"viewOptions",value:function(){return{styles:S,name:this.options.searchTerm||this.model&&this.model.get("name"),hidden:this.migratedHidden,svg:b.a.getSvg(this.migratedHidden?b.b.VisibleOn:b.b.VisibleOff),goBack:this.options.searchTerm,showMigrationToggle:!this.options.initialMigration,backSvg:b.a.getSvg("arrow-left",{prefix:"fas"}),searchTerm:this.options.searchTerm,results:10}}},{key:"onBeforeRender",value:function(){var e=this;return!(!this.model&&!this.options.searchTerm&&(this.migrationVideoDataService.getSelected((function(t){t&&(e.model=t,e.triggerToggle(),e.render())})),!this.model))}},{key:"toggleMigrated",value:function(){this.migratedHidden=!this.migratedHidden,this.setMigrationHiddenOption(this.migratedHidden),this.triggerToggle(),this.render()}},{key:"triggerToggle",value:function(){m.Radio.channel(I.b.MIGRATION).trigger(C.i.MigrationWizard.TOGGLE_MIGRATED,this.migratedHidden)}},{key:"setMigrationHiddenOption",value:function(e){this.localOptionsService.setOption(M.b.MigratedHidden,e)}},{key:"name",get:function(){return"CurrentSectionHeaderView"}},{key:"title",get:function(){return!1}},{key:"lang",get:function(){return"migrationWizard.currentSectionHeader"}},{key:"className",get:function(){return"row px-2 ".concat(S.currentHeader)}},{key:"template",get:function(){return k.a}},{key:"elements",get:function(){return{toggleMigrated:".toggle-migrated"}}},{key:"appLinks",get:function(){return{".applink-goback":{application:I.a.MIGRATION_WIZARD,action:this.options.initialMigration?C.a.MigrationWizard.SMART:C.a.MigrationWizard.HOME}}}}])&&O(t.prototype,n),i&&O(t,i),o}(i.a.View);function x(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var L={getSelectedInFolder:function(e,t){var n,i=x(p.a.getSelectedVideosCollection(e).toArray());try{for(i.s();!(n=i.n()).done;){var r=n.value;if(r.get("category")===t)return r.get("count")}}catch(e){i.e(e)}finally{i.f()}return 0},findFolder:function(e,t){var n;if(e)return e.forEach((function(e){if(e.get("categoryGuid")===t)n=e;else{var i=L.findFolder(e.get("children"),t);i&&(n=i)}})),n}},P=n(57),D=n(87),B=n(30),H=n(187),G=n(1135),W=n(12),F=n(89),j=n(186);function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Z(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=$(e);if(t){var r=$(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return J(this,n)}}function J(e,t){return!t||"object"!==z(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function $(e){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"SmartMigrationView",(function(){return K}));var K=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U(e,t)}(d,e);var t,n,s,c=q(d);function d(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,e)}return t=d,(n=[{key:"initialize",value:function(){this.viewModel=B.a.get(this.viewModelName,{bannerShown:!0},{ctor:D.e,storage:{type:a.c.LocalStorage,persistProps:["bannerShown"]}}),this.bindListeners(),this.initializeServices()}},{key:"regions",value:function(){return{selectedBanner:{replaceElement:!0,el:".selected-banner-region"},search:{replaceElement:!0,el:".search-region",partialLoading:f.h.PublisherArchiveSearchBar},banner:{replaceElement:!0,el:".banner-region"},leftNav:{replaceElement:!0,el:".left-nav-region",partialLoading:f.h.PublisherArchiveLeftNav},header:{replaceElement:!0,el:".header-region",partialLoading:f.h.PublisherArchiveSectionHeader},videoList:{replaceElement:!0,el:".video-list-region",partialLoading:f.h.PublisherArchiveVideoList},footer:{replaceElement:!0,el:".footer-region",partialLoading:f.h.PublisherArchiveStatusBar}}}},{key:"initializeServices",value:function(){this.folderCacheService=y.a.getInstance(C.x.FolderCache,this),this.selectedVideoService=y.a.getInstance(C.x.SelectedVideo,this),this.migrationVideoDataService=y.a.getInstance(C.g.MigrationVideo,this),this.alertService=y.a.getInstance(C.x.Alerts)}},{key:"bindListeners",value:function(){this.listenTo(C.e.MIGRATION,C.i.MigrationWizard.SELECTED_CHANGED,this.setSelectedVideos),this.listenTo(C.e.MIGRATION,"manual:review:video:count:sync",this.render),this.listenTo(C.e.MIGRATION,"".concat(C.f.CUSTOMER_VIDEO,":count:sync"),this.render),this.listenTo(C.e.MIGRATION,"".concat(C.f.CUSTOMER_METADATA,":sync"),this.render),this.listenTo(C.b.MIGRATION_WIZARD,C.i.MigrationWizard.CLOSE_BANNER,this.closeSelectionBanner),this.listenTo(this.channelName,"add:selected",this.addSelected),this.listenTo(this.channelName,"remove:selected",this.removeSelected),this.listenTo(this.viewModel,"change:selectedVideoCount",this.renderStatusBar)}},{key:"fetchVideos",value:function(){var e=this;!this.videos&&this.options.folderChord&&this.migrationVideoDataService.getCustomerVideos(this.options.folderChord,(function(t){e.videos||(e.videos=p.a.toggleMigrated(t,!0),e.setSelectedVideos(),e.isRendering||e.render())}))}},{key:"fetchFolders",value:function(){var e=this;this.folders||this.migrationVideoDataService.getCustomerFolders((function(t){if(!e.folders){if(e.folders=t,e.options.folderChord){var n=e.folderCacheService.getFolderByChord(e.options.folderChord,t);W.f.setSelected(F.a.MIGRATION_WIZARD,n,e.folders),e.selectedFolder=W.f.getSelected(F.a.MIGRATION_WIZARD,t)}else{var r=e.folders.first();if(r)return void i.a.AppLinkHelper.trigger({application:C.b.MIGRATION_WIZARD,action:C.a.MigrationWizard.HOME,params:{folder:r.get("chord")}},{replace:!0})}e.isRendering||e.render()}}))}},{key:"setFolderText",value:function(e,t){var n=this,i=e.get("chord"),r=e.get("name"),o=this.folderCacheService.getFolderCache(),a=this.options.folderChord;if(a){var s,l=L.getSelectedInFolder(t,r);if(i===a){var c=this.migrationVideoDataService.getCustomerVideos(i);if(!this.selectedFolder)return;c&&(o[a]=c.length),s=o[a]}o[i]&&(s=o[i]),l&&s?e.set("text","".concat(r," (").concat(l,"/").concat(s,")")):e.set("text",r),e.children.forEach((function(e){return n.setFolderText(e,t)}))}else e.set("text",r)}},{key:"closeSelectionBanner",value:function(){var e=this.getRegion("selectedBanner");e&&(this.viewModel.set("bannerShown",!1),e.destroy())}},{key:"setSelectedVideos",value:function(){var e=this,t=this.selectedVideoService.getSelectedVideoIds();this.videos&&this.videos.forEach((function(n){return p.a.setChecked(n,t,e.isInitialMigration())})),t&&this.viewModel.set("selectedVideoCount",t.length)}},{key:"addSelected",value:function(e,t){this.selectedVideoService.addSelectedVideos(e,t)}},{key:"removeSelected",value:function(e,t){this.selectedVideoService.removeSelectedVideos(e,t)}},{key:"isInitialMigration",value:function(){return P.a.isInitialMigration(this.customerMetadata)}},{key:"onClickBack",value:function(){var e=this;new W.d({title:r.a.getPhrase(this.lang,"backHeading"),text:r.a.getPhrase(this.lang,"backBody"),buttons:[{text:r.a.getPhrase(this.lang,"discard"),className:"btn btn-danger",success:!0},{text:r.a.getPhrase(this.lang,"cancel"),className:"btn btn-secondary",close:!0}]}).render().done((function(){e.selectedVideoService.removeAllSelectedVideos(),e.viewModel.set("alertShown",!1),i.a.AppLinkHelper.trigger({application:C.b.MIGRATION_WIZARD,action:C.a.MigrationWizard.START_MIGRATION})}))}},{key:"centerSelectedItem",value:function(){var e=this.$el.find(".".concat(l.a.leftNav)),t=e.find(".".concat(u.a.selected));if(t.length&&!(t.offset().top-e.offset().top+t.height()<e.height())){var n=e.scrollTop()+(t.offset().top-e.offset().top),i=.5*e.height()+.5*t.height();e.scrollTop(n-i)}}},{key:"renderEmptyMessage",value:function(){this.showChildView("videoList",new G.b({text:"No folder selected"}))}},{key:"renderSelectedBanner",value:function(){if(this.isInitialMigration()&&!this.viewModel.get("alertShown")){this.viewModel.set("alertShown",!0);var e={heading:r.a.getPhrase(this.lang,"smartSelected"),message:r.a.getPhrase(this.lang,"last3Years"),type:o.a.Success};this.alertService.createAlert(e)}}},{key:"renderLeftNav",value:function(){var e=this,t=new g.a({styles:u.a,appLink:{action:C.a.MigrationWizard.HOME,application:C.b.MIGRATION_WIZARD},linkParams:function(e){return{folder:e.get("chord")}},collection:this.folders,channelName:"".concat(this.cid),childrenProperty:"children",textProperty:"name",extraClass:"p-0",folderTreeId:F.a.MIGRATION_WIZARD});this.showChildView("leftNav",t),window.requestAnimationFrame((function(){window.requestAnimationFrame((function(){e.centerSelectedItem()}))}))}},{key:"renderSearchBar",value:function(){this.showChildView("search",new G.h({selected:this.errorCount.get("count")?"publisher-archive":"none"}))}},{key:"renderStatusBar",value:function(){var e=this;if(this.videoCount){var t={application:C.b.MIGRATION_WIZARD,action:C.a.MigrationWizard.SELECTED,args:[this.options.folderChord]},n=this.videoCount.get("successCount"),i=this.selectedVideoService.getNumberSelected(),o=new G.k({nextAppLink:t,showSelected:!0,nextDisabled:0===i,showBackButton:this.isInitialMigration(),text:this.isInitialMigration()?r.a.getPhrase(this.lang,"next"):r.a.getPhrase(this.lang,"addToLibrary"),numberSelected:i,numberAvailable:n,onClickBack:function(){return e.onClickBack()}});this.showChildView("footer",o)}}},{key:"renderVideoList",value:function(){var e=this.options,t=e.folderChord,n=e.searchTerm;if(this.videos||!t&&!n)if(this.selectedFolder){this.showChildView("videoList",new G.l({model:this.selectedFolder,initialMigration:this.isInitialMigration(),folderChord:t,searchTerm:n,collection:this.videos,channelName:this.channelName,supportSiteUrl:this.config.get("supportSiteUrl")}));var i=n||t;W.a.GetViewModel(i,j.a.MIGRATION_VIDEO_LIST).trigger("change")}else this.renderEmptyMessage();else this.renderPartialLoading("videoList")}},{key:"renderCurrentSection",value:function(){this.showChildView("header",new _({searchTerm:this.options.searchTerm,initialMigration:this.isInitialMigration()}))}},{key:"renderBanner",value:function(){this.isInitialMigration()&&this.showChildView("banner",new G.a({config:this.config}))}},{key:"onBeforeRender",value:function(){this.isRendering=!0,this.fetchVideos(),this.fetchFolders(),this.customerMetadata=this.migrationVideoDataService.getCustomerMetadata(),this.errorCount=this.migrationVideoDataService.getManualReviewVideoCount(),this.videoCount=this.migrationVideoDataService.getCustomerVideoCountCached();var e=!!(this.customerMetadata&&this.folders&&this.videoCount&&this.errorCount);return e||(this.isRendering=!1),e}},{key:"viewOptions",value:function(){return{styles:l.a}}},{key:"onRender",value:function(){if(this.renderSelectedBanner(),this.renderLeftNav(),this.renderSearchBar(),this.renderStatusBar(),this.renderBanner(),!this.videos)return this.renderPartialLoading("header"),this.renderPartialLoading("videoList"),void(this.isRendering=!1);this.options.folderChord||this.options.searchTerm?(this.renderVideoList(),this.renderCurrentSection()):this.renderEmptyMessage(),this.isRendering=!1}},{key:"name",get:function(){return"SmartMigrationView"}},{key:"title",get:function(){return r.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.smartMigration"}},{key:"viewModelName",get:function(){return"".concat(this.name,":viewmodel")}},{key:"channelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"template",get:function(){return h.a}},{key:"className",get:function(){return"row no-gutters w-100 ".concat(l.a.smart)}},{key:"requiredResources",get:function(){return{config:H.b.config}}}])&&Z(t.prototype,n),s&&Z(t,s),d}(i.a.View)}}]);
|