@clickview/library-editor 1.1.31-rc.0 → 1.1.31
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/package.json +1 -1
- package/dist/bundles.json +0 -5
- package/dist/css/0-library-editor-c3083c7c46.chunk.css +0 -6
- package/dist/css/0-library-editor.chunk.css +0 -26
- package/dist/css/1-library-editor-9a899a1d1d.chunk.css +0 -2
- package/dist/css/10-library-editor-53c28be130.chunk.css +0 -2
- package/dist/css/10-library-editor.chunk.css +0 -25
- package/dist/css/11-library-editor.chunk.css +0 -135
- package/dist/css/11.chunk.css +0 -135
- package/dist/css/12-library-editor-7f17ad1c90.chunk.css +0 -24
- package/dist/css/12-library-editor.chunk.css +0 -18
- package/dist/css/13-library-editor-911b8069ae.chunk.css +0 -14
- package/dist/css/13-library-editor.chunk.css +0 -21
- package/dist/css/14-library-editor-f507c0ef52.chunk.css +0 -14
- package/dist/css/14-library-editor.chunk.css +0 -76
- package/dist/css/15-library-editor-b08725a10e.chunk.css +0 -2
- package/dist/css/16-library-editor-89ad109c63.chunk.css +0 -2
- package/dist/css/16-library-editor.chunk.css +0 -52
- package/dist/css/17-library-editor.chunk.css +0 -14
- package/dist/css/17.chunk.css +0 -14
- package/dist/css/18-library-editor.chunk.css +0 -18
- package/dist/css/18.chunk.css +0 -18
- package/dist/css/2-library-editor.chunk.css +0 -143
- package/dist/css/2.chunk.css +0 -143
- package/dist/css/20-library-editor-2bd52b5a32.chunk.css +0 -34
- package/dist/css/21-library-editor-a7633bece5.chunk.css +0 -26
- package/dist/css/21-library-editor.chunk.css +0 -52
- package/dist/css/22-library-editor-459b106aec.chunk.css +0 -24
- package/dist/css/22-library-editor.chunk.css +0 -12
- package/dist/css/23-library-editor-33acb75c24.chunk.css +0 -18
- package/dist/css/23-library-editor.chunk.css +0 -25
- package/dist/css/24-library-editor-b180014922.chunk.css +0 -18
- package/dist/css/25-library-editor-4c64aed388.chunk.css +0 -16
- package/dist/css/25-library-editor.chunk.css +0 -35
- package/dist/css/26-library-editor-f0118cbca0.chunk.css +0 -14
- package/dist/css/26-library-editor.chunk.css +0 -20
- package/dist/css/27-library-editor-b72d0e2d36.chunk.css +0 -10
- package/dist/css/28-library-editor-de55d150ef.chunk.css +0 -10
- package/dist/css/28-library-editor.chunk.css +0 -63
- package/dist/css/29-library-editor-b0e16f882d.chunk.css +0 -8
- package/dist/css/29-library-editor.chunk.css +0 -80
- package/dist/css/3-library-editor-904319558a.chunk.css +0 -4
- package/dist/css/3-library-editor.chunk.css +0 -15
- package/dist/css/30-library-editor-10f54d8a75.chunk.css +0 -8
- package/dist/css/30-library-editor.chunk.css +0 -33
- package/dist/css/31-library-editor-4d763bac2b.chunk.css +0 -8
- package/dist/css/31-library-editor.chunk.css +0 -30
- package/dist/css/32-library-editor-d962911bc5.chunk.css +0 -6
- package/dist/css/32-library-editor.chunk.css +0 -45
- package/dist/css/33-library-editor-630c133693.chunk.css +0 -4
- package/dist/css/33-library-editor.chunk.css +0 -13
- package/dist/css/34-library-editor.chunk.css +0 -19
- package/dist/css/34.chunk.css +0 -19
- package/dist/css/35-library-editor.chunk.css +0 -18
- package/dist/css/35.chunk.css +0 -18
- package/dist/css/36-library-editor.chunk.css +0 -12
- package/dist/css/36.chunk.css +0 -12
- package/dist/css/37-library-editor-d18b8a3619.chunk.css +0 -4
- package/dist/css/37-library-editor.chunk.css +0 -5
- package/dist/css/38-library-editor-8b225d15f4.chunk.css +0 -4
- package/dist/css/38-library-editor.chunk.css +0 -5
- package/dist/css/39-library-editor-b08725a10e.chunk.css +0 -2
- package/dist/css/40-library-editor-b08725a10e.chunk.css +0 -2
- package/dist/css/40-library-editor.chunk.css +0 -24
- package/dist/css/41-library-editor-9a2d011500.chunk.css +0 -4
- package/dist/css/41-library-editor.chunk.css +0 -76
- package/dist/css/42-library-editor-593c0084b4.chunk.css +0 -4
- package/dist/css/42-library-editor.chunk.css +0 -44
- package/dist/css/43-library-editor-aa3e9bea9a.chunk.css +0 -2
- package/dist/css/43-library-editor.chunk.css +0 -30
- package/dist/css/44-library-editor-7b1cd4a5cc.chunk.css +0 -2
- package/dist/css/44-library-editor.chunk.css +0 -12
- package/dist/css/45-library-editor-f1820aeeff.chunk.css +0 -2
- package/dist/css/45-library-editor.chunk.css +0 -25
- package/dist/css/46-library-editor-547abc7492.chunk.css +0 -2
- package/dist/css/46-library-editor.chunk.css +0 -24
- package/dist/css/47-library-editor-3f6fb7f3ab.chunk.css +0 -2
- package/dist/css/47-library-editor.chunk.css +0 -84
- package/dist/css/48-library-editor-467e156ba3.chunk.css +0 -2
- package/dist/css/48-library-editor.chunk.css +0 -4
- package/dist/css/49-library-editor.chunk.css +0 -33
- package/dist/css/49.chunk.css +0 -33
- package/dist/css/5-library-editor-24603066ed.chunk.css +0 -6
- package/dist/css/50-library-editor-7aca18778d.chunk.css +0 -2
- package/dist/css/50-library-editor.chunk.css +0 -20
- package/dist/css/51-library-editor-81c5aced1f.chunk.css +0 -2
- package/dist/css/51-library-editor.chunk.css +0 -37
- package/dist/css/52-library-editor.chunk.css +0 -64
- package/dist/css/52.chunk.css +0 -64
- package/dist/css/54-library-editor-d3b8bb68f9.chunk.css +0 -2
- package/dist/css/55-library-editor-94a8c4e7fa.chunk.css +0 -2
- package/dist/css/55-library-editor.chunk.css +0 -3
- package/dist/css/56-library-editor-61808b02a0.chunk.css +0 -2
- package/dist/css/56-library-editor.chunk.css +0 -3
- package/dist/css/57-library-editor-c49b3847df.chunk.css +0 -2
- package/dist/css/58-library-editor-8f5e04b64a.chunk.css +0 -2
- package/dist/css/58-library-editor.chunk.css +0 -3
- package/dist/css/59-library-editor-b64f6f3e74.chunk.css +0 -2
- package/dist/css/59-library-editor.chunk.css +0 -3
- package/dist/css/6-library-editor-d96af27be1.chunk.css +0 -14
- package/dist/css/6-library-editor.chunk.css +0 -42
- package/dist/css/60-library-editor.chunk.css +0 -16
- package/dist/css/60.chunk.css +0 -16
- package/dist/css/61-library-editor-7f123672b2.chunk.css +0 -2
- package/dist/css/62-library-editor-61e4c24a7b.chunk.css +0 -2
- package/dist/css/62-library-editor.chunk.css +0 -4
- package/dist/css/63-library-editor.chunk.css +0 -168
- package/dist/css/63.chunk.css +0 -168
- package/dist/css/67-library-editor.chunk.css +0 -76
- package/dist/css/67.chunk.css +0 -76
- package/dist/css/68-library-editor.chunk.css +0 -15
- package/dist/css/68.chunk.css +0 -15
- package/dist/css/69-library-editor.chunk.css +0 -15
- package/dist/css/69.chunk.css +0 -15
- package/dist/css/7-library-editor-b08725a10e.chunk.css +0 -2
- package/dist/css/7-library-editor.chunk.css +0 -10
- package/dist/css/70-library-editor.chunk.css +0 -21
- package/dist/css/70.chunk.css +0 -21
- package/dist/css/71-library-editor.chunk.css +0 -38
- package/dist/css/71.chunk.css +0 -38
- package/dist/css/72-library-editor.chunk.css +0 -14
- package/dist/css/72.chunk.css +0 -14
- package/dist/css/73-library-editor.chunk.css +0 -35
- package/dist/css/73.chunk.css +0 -35
- package/dist/css/74-library-editor.chunk.css +0 -27
- package/dist/css/74.chunk.css +0 -27
- package/dist/css/75-library-editor.chunk.css +0 -4
- package/dist/css/75.chunk.css +0 -4
- package/dist/css/76-library-editor.chunk.css +0 -4
- package/dist/css/76.chunk.css +0 -4
- package/dist/css/8-library-editor-eb68c1df75.chunk.css +0 -2
- package/dist/css/8-library-editor.chunk.css +0 -7
- package/dist/css/9-library-editor-fec6984a64.chunk.css +0 -4
- package/dist/css/library-editor-app-8d31f0bd76.css +0 -133
- package/dist/scripts/0-1896ad7fec.chunk.js +0 -1
- package/dist/scripts/0.chunk.js +0 -64
- package/dist/scripts/1-0252096024.chunk.js +0 -1
- package/dist/scripts/1-a937e78e21.chunk.js +0 -1
- package/dist/scripts/1.chunk.js +0 -75
- package/dist/scripts/10-9ccbcc7396.chunk.js +0 -1
- package/dist/scripts/10-a9679320a1.chunk.js +0 -1
- package/dist/scripts/10.chunk.js +0 -62
- package/dist/scripts/11-a70b0fc08f.chunk.js +0 -11
- package/dist/scripts/11.chunk.js +0 -317
- package/dist/scripts/12-71eaeafb58.chunk.js +0 -1
- package/dist/scripts/12-f7d3c3eb14.chunk.js +0 -1
- package/dist/scripts/12.chunk.js +0 -56
- package/dist/scripts/13-05e571645c.chunk.js +0 -1
- package/dist/scripts/13.chunk.js +0 -25
- package/dist/scripts/14-10db24a21b.chunk.js +0 -1
- package/dist/scripts/14-fb181db148.chunk.js +0 -1
- package/dist/scripts/14.chunk.js +0 -272
- package/dist/scripts/15-c27b6e07d7.chunk.js +0 -1
- package/dist/scripts/15-fceeab7012.chunk.js +0 -1
- package/dist/scripts/15.chunk.js +0 -35
- package/dist/scripts/16-5f822e4179.chunk.js +0 -1
- package/dist/scripts/16.chunk.js +0 -79
- package/dist/scripts/17-0eb846d9b9.chunk.js +0 -1
- package/dist/scripts/17-8cb6e51052.chunk.js +0 -1
- package/dist/scripts/17.chunk.js +0 -40
- package/dist/scripts/18.chunk.js +0 -40
- package/dist/scripts/19.chunk.js +0 -43
- package/dist/scripts/2-a6cad67b85.chunk.js +0 -1
- package/dist/scripts/2.chunk.js +0 -33
- package/dist/scripts/20-415d21bc0f.chunk.js +0 -1
- package/dist/scripts/20-4694e953f3.chunk.js +0 -1
- package/dist/scripts/20.chunk.js +0 -18
- package/dist/scripts/21-31fe65f6fe.chunk.js +0 -1
- package/dist/scripts/21-63eb746ac4.chunk.js +0 -1
- package/dist/scripts/21.chunk.js +0 -55
- package/dist/scripts/22-00be2f39f7.chunk.js +0 -1
- package/dist/scripts/22-53683e1113.chunk.js +0 -1
- package/dist/scripts/22.chunk.js +0 -47
- package/dist/scripts/23-26ce93dca1.chunk.js +0 -1
- package/dist/scripts/23-b3e46bcf50.chunk.js +0 -1
- package/dist/scripts/23.chunk.js +0 -47
- package/dist/scripts/24-bbcd07a4ad.chunk.js +0 -1
- package/dist/scripts/24-e6d86a507c.chunk.js +0 -1
- package/dist/scripts/24.chunk.js +0 -33
- package/dist/scripts/25-89fdb8ae9e.chunk.js +0 -1
- package/dist/scripts/25-ca0f4cdb11.chunk.js +0 -1
- package/dist/scripts/25.chunk.js +0 -25
- package/dist/scripts/26-e0c0653451.chunk.js +0 -1
- package/dist/scripts/26.chunk.js +0 -25
- package/dist/scripts/27-3d2348bbb9.chunk.js +0 -1
- package/dist/scripts/27.chunk.js +0 -10
- package/dist/scripts/28-4c412503ce.chunk.js +0 -1
- package/dist/scripts/28.chunk.js +0 -334
- package/dist/scripts/29-98ee96c8e2.chunk.js +0 -1
- package/dist/scripts/29-e6af31fc4a.chunk.js +0 -1
- package/dist/scripts/29.chunk.js +0 -202
- package/dist/scripts/3-4bec0e8f4a.chunk.js +0 -1
- package/dist/scripts/3.chunk.js +0 -49
- package/dist/scripts/30-2b6b14974a.chunk.js +0 -1
- package/dist/scripts/30.chunk.js +0 -137
- package/dist/scripts/31-b7a766b5c6.chunk.js +0 -1
- package/dist/scripts/31-ddc6005e61.chunk.js +0 -1
- package/dist/scripts/31.chunk.js +0 -113
- package/dist/scripts/32-1520e14c6f.chunk.js +0 -1
- package/dist/scripts/32-faaa878653.chunk.js +0 -1
- package/dist/scripts/32.chunk.js +0 -115
- package/dist/scripts/33-a00e22b5c6.chunk.js +0 -1
- package/dist/scripts/33.chunk.js +0 -93
- package/dist/scripts/34-326bc04c16.chunk.js +0 -1
- package/dist/scripts/34-e04439a134.chunk.js +0 -1
- package/dist/scripts/34.chunk.js +0 -63
- package/dist/scripts/35-1b99032982.chunk.js +0 -1
- package/dist/scripts/35-b4f5e76a1c.chunk.js +0 -1
- package/dist/scripts/35.chunk.js +0 -48
- package/dist/scripts/36-237f8641dc.chunk.js +0 -1
- package/dist/scripts/36-b0af9bb208.chunk.js +0 -1
- package/dist/scripts/36.chunk.js +0 -33
- package/dist/scripts/37-e9abba0fda.chunk.js +0 -1
- package/dist/scripts/37.chunk.js +0 -25
- package/dist/scripts/38-5a834b8cfc.chunk.js +0 -1
- package/dist/scripts/38-d31c013847.chunk.js +0 -1
- package/dist/scripts/38.chunk.js +0 -25
- package/dist/scripts/39-1084d66957.chunk.js +0 -1
- package/dist/scripts/39-c6cddc090b.chunk.js +0 -1
- package/dist/scripts/39.chunk.js +0 -19
- package/dist/scripts/4-1c1dfe2433.chunk.js +0 -1
- package/dist/scripts/4-bf358041e9.chunk.js +0 -1
- package/dist/scripts/4.chunk.js +0 -26
- package/dist/scripts/40-107eee3179.chunk.js +0 -1
- package/dist/scripts/40.chunk.js +0 -182
- package/dist/scripts/41-a0e807e2f4.chunk.js +0 -1
- package/dist/scripts/41.chunk.js +0 -175
- package/dist/scripts/42-4ace7dc078.chunk.js +0 -1
- package/dist/scripts/42-ed988e3f2d.chunk.js +0 -1
- package/dist/scripts/42.chunk.js +0 -176
- package/dist/scripts/43-4a90405f39.chunk.js +0 -1
- package/dist/scripts/43.chunk.js +0 -113
- package/dist/scripts/44-1d7deb29f3.chunk.js +0 -1
- package/dist/scripts/44.chunk.js +0 -122
- package/dist/scripts/45-7c7b54fa86.chunk.js +0 -1
- package/dist/scripts/45-ecdc8f35ff.chunk.js +0 -1
- package/dist/scripts/45.chunk.js +0 -85
- package/dist/scripts/46-2514802e6b.chunk.js +0 -1
- package/dist/scripts/46-d7378b7299.chunk.js +0 -1
- package/dist/scripts/46.chunk.js +0 -78
- package/dist/scripts/47-941bca4d28.chunk.js +0 -1
- package/dist/scripts/47.chunk.js +0 -70
- package/dist/scripts/48-b816dd6f29.chunk.js +0 -1
- package/dist/scripts/48.chunk.js +0 -88
- package/dist/scripts/49-7100a40b00.chunk.js +0 -1
- package/dist/scripts/49.chunk.js +0 -62
- package/dist/scripts/5-56dc0cf4d3.chunk.js +0 -1
- package/dist/scripts/5-abeccd6d25.chunk.js +0 -1
- package/dist/scripts/5.chunk.js +0 -10
- package/dist/scripts/50-0fae63024c.chunk.js +0 -1
- package/dist/scripts/50.chunk.js +0 -64
- package/dist/scripts/51-19eebceba1.chunk.js +0 -1
- package/dist/scripts/51.chunk.js +0 -55
- package/dist/scripts/52-b3b59cb367.chunk.js +0 -1
- package/dist/scripts/52.chunk.js +0 -47
- package/dist/scripts/53-4138309573.chunk.js +0 -1
- package/dist/scripts/53.chunk.js +0 -56
- package/dist/scripts/54-5ff1f1ae99.chunk.js +0 -1
- package/dist/scripts/54-7ed93c3099.chunk.js +0 -1
- package/dist/scripts/54.chunk.js +0 -56
- package/dist/scripts/55-3497f6f8f6.chunk.js +0 -1
- package/dist/scripts/55.chunk.js +0 -41
- package/dist/scripts/56-11e9b487a7.chunk.js +0 -1
- package/dist/scripts/56-2920fec1d6.chunk.js +0 -1
- package/dist/scripts/56.chunk.js +0 -41
- package/dist/scripts/57-0ebd6896c1.chunk.js +0 -1
- package/dist/scripts/57-1dbfc6cc21.chunk.js +0 -1
- package/dist/scripts/57.chunk.js +0 -50
- package/dist/scripts/58-bd86d244ca.chunk.js +0 -1
- package/dist/scripts/58-d459172602.chunk.js +0 -1
- package/dist/scripts/58.chunk.js +0 -33
- package/dist/scripts/59-1a216fcead.chunk.js +0 -1
- package/dist/scripts/59.chunk.js +0 -33
- package/dist/scripts/6-6f95f8dca9.chunk.js +0 -1
- package/dist/scripts/6-761fc04f5a.chunk.js +0 -1
- package/dist/scripts/6.chunk.js +0 -40
- package/dist/scripts/60-d7ae18c894.chunk.js +0 -1
- package/dist/scripts/60.chunk.js +0 -33
- package/dist/scripts/61-ab0b757ac4.chunk.js +0 -1
- package/dist/scripts/61-e21c38e6ad.chunk.js +0 -1
- package/dist/scripts/61.chunk.js +0 -33
- package/dist/scripts/62-e51c3109a1.chunk.js +0 -1
- package/dist/scripts/62.chunk.js +0 -25
- package/dist/scripts/63-367c2bc7b9.chunk.js +0 -1
- package/dist/scripts/63.chunk.js +0 -25
- package/dist/scripts/64-412c40e41f.chunk.js +0 -1
- package/dist/scripts/64.chunk.js +0 -33
- package/dist/scripts/65-ed951170ce.chunk.js +0 -1
- package/dist/scripts/65.chunk.js +0 -34
- package/dist/scripts/66-5af63166cd.chunk.js +0 -1
- package/dist/scripts/66.chunk.js +0 -33
- package/dist/scripts/67-1d9dd19e42.chunk.js +0 -1
- package/dist/scripts/67-71fccc45c2.chunk.js +0 -1
- package/dist/scripts/67.chunk.js +0 -25
- package/dist/scripts/68-ff1015da34.chunk.js +0 -1
- package/dist/scripts/68.chunk.js +0 -25
- package/dist/scripts/69-bb09eb0f05.chunk.js +0 -1
- package/dist/scripts/69.chunk.js +0 -25
- package/dist/scripts/7-7f5ce7e0da.chunk.js +0 -1
- package/dist/scripts/7-899302c16f.chunk.js +0 -1
- package/dist/scripts/7.chunk.js +0 -33
- package/dist/scripts/70-4920915604.chunk.js +0 -1
- package/dist/scripts/70.chunk.js +0 -25
- package/dist/scripts/71-ca0b28a01d.chunk.js +0 -1
- package/dist/scripts/71.chunk.js +0 -25
- package/dist/scripts/72-8e8580bdbe.chunk.js +0 -1
- package/dist/scripts/72.chunk.js +0 -25
- package/dist/scripts/73.chunk.js +0 -25
- package/dist/scripts/74.chunk.js +0 -25
- package/dist/scripts/75.chunk.js +0 -25
- package/dist/scripts/76.chunk.js +0 -25
- package/dist/scripts/77.chunk.js +0 -26
- package/dist/scripts/78.chunk.js +0 -26
- package/dist/scripts/79.chunk.js +0 -26
- package/dist/scripts/8-94b673b9c2.chunk.js +0 -1
- package/dist/scripts/8.chunk.js +0 -33
- package/dist/scripts/80.chunk.js +0 -26
- package/dist/scripts/81.chunk.js +0 -26
- package/dist/scripts/82.chunk.js +0 -26
- package/dist/scripts/83.chunk.js +0 -26
- package/dist/scripts/84.chunk.js +0 -26
- package/dist/scripts/85.chunk.js +0 -26
- package/dist/scripts/86.chunk.js +0 -18
- package/dist/scripts/87.chunk.js +0 -18
- package/dist/scripts/88.chunk.js +0 -18
- package/dist/scripts/89.chunk.js +0 -18
- package/dist/scripts/9-02b8b8184b.chunk.js +0 -1
- package/dist/scripts/9-ec75826552.chunk.js +0 -1
- package/dist/scripts/9.chunk.js +0 -18
- package/dist/scripts/90.chunk.js +0 -18
- package/dist/scripts/91.chunk.js +0 -18
- package/dist/scripts/92.chunk.js +0 -18
- package/dist/scripts/bundle-210627add9.min.js +0 -10
- package/dist/scripts/bundle-8853c11e8b.min.js +0 -8
- package/dist/scripts/bundle.js +0 -7667
- package/dist/scripts/polyfills-1ff4d28da8.min.js +0 -1
- package/dist/scripts/polyfills-f4207eea5b.min.js +0 -1
- package/dist/scripts/polyfills.js +0 -2694
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[58],{1311:function(n,t,e){n.exports={backupImage:"_10r2k",info:"_1O7-y",button:"_1cN_3",bolder:"bxulh",question:"_2OYs-",collapse:"_1dD-L",collapseContents:"_2sqEn",migrationBackupContainer:"_2Hcov"}},1312:function(n,t,e){var l=e(10);n.exports=(l.default||l).template({compiler:[8,">= 4.3.0"],main:function(n,t,e,l,a){n.propertyIsEnumerable;var o,r,i=null!=t?t:n.nullContext||{},c=n.hooks.helperMissing,s=n.escapeExpression,u=n.lambda;return'<div class="row mb-2">\r\n <h4 class="col-12">'+s((e.lang||t&&t.lang||c).call(i,"heading",{name:"lang",hash:{},data:a}))+'</h4>\r\n</div>\r\n\r\n<div class="row">\r\n <div class="col-12">\r\n <p>\r\n '+s((e.lang||t&&t.lang||c).call(i,"toSucceed",{name:"lang",hash:{},data:a}))+'\r\n </p>\r\n </div>\r\n</div>\r\n\r\n<div class="row mt-3 d-block p-3 '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.question:o,t))+'">\r\n <p class="text-center text-white">'+s((e.lang||t&&t.lang||c).call(i,"check",{name:"lang",hash:{},data:a}))+'</p>\r\n\r\n <div id="accordion">\r\n <button type="button" class="btn bg-white btn-block '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.button:o,t))+' mb-2 mt-2" data-toggle="collapse" data-target="#collapseYes" aria-expanded="true" aria-controls="collapseYes">'+s((e.lang||t&&t.lang||c).call(i,"checkConfirm",{name:"lang",hash:{},data:a}))+'</button>\r\n <div id="collapseYes" class="collapse mb-2 mt-2 pl-3 pr-3 pb-3 pt-1 '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.collapse:o,t))+'" aria-labelledby="collapseYes" data-parent="#accordion">\r\n <hr>\r\n <div class="text-center '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.collapseContents:o,t))+'">\r\n <p class="'+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.bolder:o,t))+'">\r\n '+s((e.lang||t&&t.lang||c).call(i,"downloadAndRun",{name:"lang",hash:{},data:a}))+"\r\n <br>\r\n ("+s((e.lang||t&&t.lang||c).call(i,"contactAdmin",{name:"lang",hash:{},data:a}))+')\r\n </p>\r\n <a class="text-white text-center btn btn-primary" target="_blank" href='+s("function"==typeof(r=null!=(r=e.downloadUrl||(null!=t?t.downloadUrl:t))?r:c)?r.call(i,{name:"downloadUrl",hash:{},data:a}):r)+">"+s((e.lang||t&&t.lang||c).call(i,"download",{name:"lang",hash:{},data:a}))+'</a>\r\n </div>\r\n </div>\r\n\r\n <button type="button" class="btn bg-white btn-block '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.button:o,t))+' mb-2 mt-2" data-toggle="collapse" data-target="#collapseNo" aria-expanded="true" aria-controls="collapseNo">'+s((e.lang||t&&t.lang||c).call(i,"checkDecline",{name:"lang",hash:{},data:a}))+'</button>\r\n <div id="collapseNo" class="collapse mb-2 mt-2 pl-3 pr-3 pb-3 pt-1 '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.collapse:o,t))+'" aria-labelledby="collapseNo" data-parent="#accordion">\r\n <hr>\r\n <div class="text-center '+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.collapseContents:o,t))+'">\r\n <p class="'+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.bolder:o,t))+'">\r\n '+s((e.lang||t&&t.lang||c).call(i,"toComplete",{name:"lang",hash:{},data:a}))+'<a class="info-link" target="_blank" href="'+s(u(null!=(o=null!=t?t.options:t)?o.supportUrl:o,t))+'">'+s((e.lang||t&&t.lang||c).call(i,"helpArticle",{name:"lang",hash:{},data:a}))+"</a>.\r\n <br>\r\n "+s((e.lang||t&&t.lang||c).call(i,"contactAdmin",{name:"lang",hash:{},data:a}))+'\r\n </p>\r\n <p class="'+s(u(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.bolder:o,t))+'">\r\n '+(null!=(o=(e.lang||t&&t.lang||c).call(i,"bookAppointment",{name:"lang",hash:{appointmentUrl:null!=(o=null!=t?t.options:t)?o.appointmentUrl:o,className:"info-link"},data:a}))?o:"")+"\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>"},useData:!0})},1399:function(n,t,e){"use strict";e.r(t),e.d(t,"PublisherBackupView",(function(){return w}));var l=e(81),a=e(2),o=e(5),r=e(3),i=e(1311),c=e.n(i),s=e(1312),u=e.n(s),p=e(57),d=e(0),f=e(188);function g(n){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function h(n,t){for(var e=0;e<t.length;e++){var l=t[e];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(n,l.key,l)}}function y(n,t){return(y=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function m(n){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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var e,l=k(n);if(t){var a=k(this).constructor;e=Reflect.construct(l,arguments,a)}else e=l.apply(this,arguments);return v(this,e)}}function v(n,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):t}function k(n){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var w=function(n){!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&y(n,t)}(g,n);var t,e,i,s=m(g);function g(){return b(this,g),s.apply(this,arguments)}return t=g,(e=[{key:"initialize",value:function(){this.migrationVideoDataService=o.a.getInstance(d.g.MigrationVideo,this),this.listenTo(d.e.MIGRATION,"".concat(d.f.BACKUP_TOOL,":sync"),this.render)}},{key:"name",get:function(){return"PublisherBackupView"}},{key:"title",get:function(){return r.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.publisherBackup"}},{key:"className",get:function(){return"container p-4 bg-white ".concat(c.a.migrationBackupContainer," ").concat(c.a.info)}},{key:"template",get:function(){return u.a}},{key:"pollCloudSyncStatus",value:function(){var n=this;this.migrationVideoDataService.clearCacheAndGetCustomerMetadata((function(t){p.a.backupProcessing(t)?a.a.AppLinkHelper.trigger({application:d.b.MIGRATION_WIZARD,action:d.a.MigrationWizard.BACKUP_PROGRESS}):p.a.backupComplete(t)?a.a.AppLinkHelper.trigger({application:d.b.MIGRATION_WIZARD,action:d.a.MigrationWizard.BACKUP_COMPLETE}):setTimeout((function(){return n.pollCloudSyncStatus()}),3e4)}))}},{key:"requiredResources",get:function(){return{config:f.b.config}}},{key:"onBeforeRender",value:function(){return this.model=this.migrationVideoDataService.getBackupTool(this.config.get("pbtDownloadChannel")),!!this.model}},{key:"viewOptions",value:function(){return{styles:c.a,supportUrl:l.a.safeUrlConcat(this.config.get("supportSiteUrl"),d.y.PUBLISHER_SERVER),appointmentUrl:"".concat(l.a.safeUrlConcat(this.config.get("marketingSiteUrl"),"/library-editor/book-appointment"))}}},{key:"onRender",value:function(){this.pollingStarted||(this.pollCloudSyncStatus(),this.pollingStarted=!0)}}])&&h(t.prototype,e),i&&h(t,i),g}(a.a.View)}}]);
|
package/dist/scripts/58.chunk.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[58],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdf.hbs":
|
|
4
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5
|
-
|
|
6
|
-
eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.spinnerEl : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;\n\n return \"<div class=\\\"pb-3 text-center\\\">\\r\\n <img src=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageUrl : stack1), depth0))\n + \"\\\" class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \"\\\" />\\r\\n</div>\\r\\n<p class=\\\"m-0\\\">\\r\\n \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"body1\",{\"name\":\"lang\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.libraryText : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.subject : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"body4\",{\"name\":\"lang\",\"hash\":{\"email\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.email : stack1),\"to\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.to : stack1),\"from\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.from : stack1)},\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n</p>\\r\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"body2\",{\"name\":\"lang\",\"hash\":{\"libraryText\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.libraryText : stack1)},\"data\":data})) != null ? stack1 : \"\");\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"body3\",{\"name\":\"lang\",\"hash\":{\"subject\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.subject : stack1)},\"data\":data})) != null ? stack1 : \"\");\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dataFetched : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9jb250ZW50LXVwZGF0ZXMvdmlld3MvZ2VuZXJhdGUtcGFzdC1yZWxlYXNlcy1wZGYvR2VuZXJhdGVQYXN0UmVsZWFzZXNQZGYuaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL2NsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvYXBwcy9jb250ZW50LXVwZGF0ZXMvdmlld3MvZ2VuZXJhdGUtcGFzdC1yZWxlYXNlcy1wZGYvR2VuZXJhdGVQYXN0UmVsZWFzZXNQZGYuaGJzIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBIYW5kbGViYXJzID0gcmVxdWlyZSgnaGFuZGxlYmFycycpO1xubW9kdWxlLmV4cG9ydHMgPSAoSGFuZGxlYmFyc1snZGVmYXVsdCddIHx8IEhhbmRsZWJhcnMpLnRlbXBsYXRlKHtcIjFcIjpmdW5jdGlvbihjb250YWluZXIsZGVwdGgwLGhlbHBlcnMscGFydGlhbHMsZGF0YSkge1xuICAgIHZhciBzdGFjazEsIGFsaWFzMT1jb250YWluZXIucHJvcGVydHlJc0VudW1lcmFibGU7XG5cbiAgcmV0dXJuICgoc3RhY2sxID0gY29udGFpbmVyLmxhbWJkYSgoKHN0YWNrMSA9IChkZXB0aDAgIT0gbnVsbCA/IGRlcHRoMC5vcHRpb25zIDogZGVwdGgwKSkgIT0gbnVsbCA/IHN0YWNrMS5zcGlubmVyRWwgOiBzdGFjazEpLCBkZXB0aDApK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NrMSkse1wibmFtZVwiOlwidW5sZXNzXCIsXCJoYXNoXCI6e30sXCJmblwiOmNvbnRhaW5lci5wcm9ncmFtKDEsIGRhdGEsIDApLFwiaW52ZXJzZVwiOmNvbnRhaW5lci5wcm9ncmFtKDMsIGRhdGEsIDApLFwiZGF0YVwiOmRhdGF9KSkgIT0gbnVsbCA/IHN0YWNrMSA6IFwiXCIpO1xufSxcInVzZURhdGFcIjp0cnVlfSk7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdf.hbs\n");
|
|
7
|
-
|
|
8
|
-
/***/ }),
|
|
9
|
-
|
|
10
|
-
/***/ "./src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdfView.ts":
|
|
11
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12
|
-
|
|
13
|
-
"use strict";
|
|
14
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GeneratePastReleasesPdfView\", function() { return GeneratePastReleasesPdfView; });\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"underscore\");\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"moment\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/common/src/backbone/services/InstanceManager.ts\");\n/* harmony import */ var libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/common/src/backbone/services/LanguageService.tsx\");\n/* harmony import */ var libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"../../libs/analytics/src/interfaces/index.ts\");\n/* harmony import */ var libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"../../libs/analytics/src/AnalyticsHelper.ts\");\n/* harmony import */ var shared_behaviors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"./src/shared/behaviors/index.ts\");\n/* harmony import */ var shared_interfaces__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"./src/shared/interfaces/index.ts\");\n/* harmony import */ var shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"./src/shared/services/UserDataService.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"./src/shared/models/DisabledSpinnerModel.ts\");\n/* harmony import */ var shared_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\"./src/shared/utils/index.ts\");\n/* harmony import */ var apps_content_updates_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(\"./src/apps/content-updates/utils/index.ts\");\n/* harmony import */ var shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(\"./src/shared/components/spinner-button/SpinnerButtonComponent.ts\");\n/* harmony import */ var apps_search_models__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(\"./src/apps/search/models/index.ts\");\n/* harmony import */ var _GeneratePastReleasesPdf_hbs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(\"./src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdf.hbs\");\n/* harmony import */ var _GeneratePastReleasesPdf_hbs__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_GeneratePastReleasesPdf_hbs__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _generate_past_releases_pdf_scss__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(\"./src/apps/content-updates/views/generate-past-releases-pdf/generate-past-releases-pdf.scss\");\n/* harmony import */ var _generate_past_releases_pdf_scss__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_generate_past_releases_pdf_scss__WEBPACK_IMPORTED_MODULE_17__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar GeneratePastReleasesPdfView = /*#__PURE__*/function (_Core$View) {\n _inherits(GeneratePastReleasesPdfView, _Core$View);\n\n var _super = _createSuper(GeneratePastReleasesPdfView);\n\n function GeneratePastReleasesPdfView(options) {\n _classCallCheck(this, GeneratePastReleasesPdfView);\n\n return _super.call(this, options);\n }\n\n _createClass(GeneratePastReleasesPdfView, [{\n key: \"initialize\",\n value: function initialize() {\n this.libraryDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_10__[\"DataServices\"].Library, this);\n this.contentUpdatesDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_10__[\"DataServices\"].ContentUpdates, this);\n this.exportDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_3__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_10__[\"DataServices\"].Export, this);\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'GeneratePastReleasesPdfView';\n }\n }, {\n key: \"title\",\n get: function get() {\n return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'title');\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'contentUpdates.generatePastReleasesPdf';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _GeneratePastReleasesPdf_hbs__WEBPACK_IMPORTED_MODULE_16___default.a;\n }\n }, {\n key: \"channelName\",\n get: function get() {\n return shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"RadioChannelHelper\"].generateUniqueChannelName(this);\n }\n }, {\n key: \"behaviors\",\n get: function get() {\n var _this = this;\n\n return [{\n behaviorClass: shared_behaviors__WEBPACK_IMPORTED_MODULE_7__[\"PopupBehavior\"],\n title: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'heading'),\n spinnerButtonOptions: {\n model: this.spinnerModel = new shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_11__[\"DisabledSpinnerModel\"](),\n channelName: this.channelName,\n buttonText: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'generateBtn'),\n onClick: function onClick() {\n return _this.onClickGeneratePdf();\n }\n }\n }];\n }\n }, {\n key: \"onLibrariesSync\",\n value: function onLibrariesSync(libraries) {\n var _this2 = this;\n\n this.libraries = libraries;\n this.selectedLibraryIds = apps_content_updates_utils__WEBPACK_IMPORTED_MODULE_13__[\"PastReleasesHelper\"].getLibraryIds(this.options.librariesQueryString, libraries);\n this.subjectCollectionIdentifier = new shared_interfaces__WEBPACK_IMPORTED_MODULE_8__[\"RecentVideoSubjectCollectionIdentifier\"]({\n dateQueryString: this.options.dateQueryString,\n libraryIds: this.selectedLibraryIds\n });\n this.contentUpdatesDataService.getRecentVideoSubjects(this.subjectCollectionIdentifier, function (subjects) {\n return _this2.onSubjectsSync(libraries, subjects);\n });\n }\n }, {\n key: \"onSubjectsSync\",\n value: function onSubjectsSync(libraries, subjects) {\n var subjectOptions = apps_content_updates_utils__WEBPACK_IMPORTED_MODULE_13__[\"PastReleasesHelper\"].getSubjectOptions(subjects).map(function (s) {\n return new apps_search_models__WEBPACK_IMPORTED_MODULE_15__[\"Option\"](s);\n });\n var collectionIdentifierOptions = {\n dateQueryString: this.options.dateQueryString,\n libraryIds: this.selectedLibraryIds\n };\n\n if (!this.options.subjectQueryString) {\n this.videoCollectionIdentifier = new shared_interfaces__WEBPACK_IMPORTED_MODULE_8__[\"RecentVideoCollectionIdentifier\"](collectionIdentifierOptions);\n this.spinnerModel.set(shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__[\"SpinnerButtonModelAttributes\"].Disabled, false);\n return;\n }\n\n var subjectIds = this.getSubjectIds();\n this.videoCollectionIdentifier = new shared_interfaces__WEBPACK_IMPORTED_MODULE_8__[\"RecentVideoCollectionIdentifier\"](underscore__WEBPACK_IMPORTED_MODULE_0__[\"extend\"](collectionIdentifierOptions, {\n subjects: subjectOptions.filter(function (s) {\n return !!underscore__WEBPACK_IMPORTED_MODULE_0__[\"intersection\"](subjectIds, s.get('subjectIds')).length;\n })\n }));\n this.spinnerModel.set(shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__[\"SpinnerButtonModelAttributes\"].Disabled, false);\n }\n }, {\n key: \"getSubjectIds\",\n value: function getSubjectIds() {\n if (!this.options.subjectQueryString) return;\n var ids = this.options.subjectQueryString.split('-')[1];\n return ids.split(',');\n }\n }, {\n key: \"getLibrariesText\",\n value: function getLibrariesText() {\n var _this3 = this;\n\n if (this.libraries.length === this.selectedLibraryIds.length) return;\n var libraries = this.libraries.filter(function (l) {\n return underscore__WEBPACK_IMPORTED_MODULE_0__[\"contains\"](_this3.selectedLibraryIds, l.id.toString());\n });\n var names = libraries.map(function (l) {\n return \"<strong>\".concat(shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"TextHelper\"].escapeExpression(l.get('name')), \"</strong>\");\n });\n if (libraries.length <= 2) return names.join(\" \".concat(libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'and'), \" \"));\n return underscore__WEBPACK_IMPORTED_MODULE_0__[\"first\"](names, names.length - 1).join(', ') + \" \".concat(libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'and'), \" \").concat(underscore__WEBPACK_IMPORTED_MODULE_0__[\"last\"](names));\n }\n }, {\n key: \"getFormattedDate\",\n value: function getFormattedDate(date) {\n if (!date) return;\n return moment__WEBPACK_IMPORTED_MODULE_1__(date).format('DD MMMM YYYY');\n }\n }, {\n key: \"getFormattedSubjects\",\n value: function getFormattedSubjects() {\n if (!this.videoCollectionIdentifier.subjects) return;\n var names = this.videoCollectionIdentifier.subjects.map(function (s) {\n return s.get('name');\n });\n if (names.length === 1) return names[0];\n return names.slice(0, -1).join(', ') + \" \".concat(libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'and'), \" \") + names.slice(-1);\n }\n }, {\n key: \"onClickGeneratePdf\",\n value: function onClickGeneratePdf() {\n this.spinnerModel.set(shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_14__[\"SpinnerButtonModelAttributes\"].ShowSpinner, true);\n this.fetchVideosAndGeneratePdf();\n }\n }, {\n key: \"fetchVideosAndGeneratePdf\",\n value: function fetchVideosAndGeneratePdf() {\n var _this4 = this;\n\n this.contentUpdatesDataService.getRecentVideosAllPages(this.videoCollectionIdentifier, function (videos) {\n if (!videos || !videos.length) {\n _this4.triggerMethod('hide');\n\n return;\n }\n\n _this4.generatePdf(videos.map(function (v) {\n return v.id.toString();\n }));\n });\n }\n }, {\n key: \"generatePdf\",\n value: function generatePdf(videoIds) {\n var _this5 = this;\n\n var title = this.videoCollectionIdentifier.subjects ? this.getFormattedSubjects() : libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'latestReleases');\n var from = moment__WEBPACK_IMPORTED_MODULE_1__(this.videoCollectionIdentifier.dateOption.get('from')).format('MMMM YYYY');\n var to = moment__WEBPACK_IMPORTED_MODULE_1__(this.videoCollectionIdentifier.dateOption.get('to')).format('MMMM YYYY');\n var header = from === to ? libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'fromContentUpdate', {\n from: from\n }) : libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'fromToContentUpdates', {\n from: from,\n to: to\n });\n this.exportDataService.generateCustomListPdf(title, header, videoIds, this.currentUser, function () {\n return _this5.triggerMethod('hide');\n });\n this.logAction(videoIds.length);\n }\n }, {\n key: \"logAction\",\n value: function logAction(videoCount) {\n var analyticsOptions = {\n location: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_5__[\"LocationContext\"].Popup,\n actionType: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_5__[\"UserAction\"].Create,\n entity: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_5__[\"EntityType\"].PDF,\n workflowPhase: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_5__[\"WorkflowPhase\"].Complete\n };\n var data = {\n videoCount: videoCount,\n libraries: this.selectedLibraryIds.join(','),\n releaseDate: this.videoCollectionIdentifier.dateOption.get('name'),\n subjects: this.options.subjectQueryString ? this.videoCollectionIdentifier.subjects.map(function (s) {\n return s.get('name');\n }).join(',') : ''\n };\n libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_6__[\"AnalyticsHelper\"].logUserAction(data, analyticsOptions);\n }\n }, {\n key: \"requiredResources\",\n get: function get() {\n return {\n currentUser: shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_9__[\"UserDataServiceHelper\"].currentUser\n };\n }\n }, {\n key: \"onBeforeRender\",\n value: function onBeforeRender() {\n var _this6 = this;\n\n if (this.libraries) return;\n this.libraryDataService.getHostedLibraries(function (data) {\n return _this6.onLibrariesSync(data);\n });\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n styles: _generate_past_releases_pdf_scss__WEBPACK_IMPORTED_MODULE_17___default.a,\n dataFetched: !!this.libraries,\n spinnerEl: shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"SpinnerHelper\"].getSpinner({\n size: shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"SpinnerSize\"].Large,\n extraClasses: 'mx-auto'\n }),\n email: this.currentUser.get('email'),\n imageUrl: shared_constants__WEBPACK_IMPORTED_MODULE_10__[\"ImageUrls\"].Shared.GeneratePdf,\n libraryText: this.getLibrariesText(),\n subject: this.getFormattedSubjects(),\n from: this.videoCollectionIdentifier && this.getFormattedDate(this.videoCollectionIdentifier.dateOption.get('from')),\n to: this.videoCollectionIdentifier && this.getFormattedDate(this.videoCollectionIdentifier.dateOption.get('to'))\n };\n }\n }]);\n\n return GeneratePastReleasesPdfView;\n}(libs_common_core__WEBPACK_IMPORTED_MOD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/generate-past-releases-pdf/GeneratePastReleasesPdfView.ts\n");
|
|
15
|
-
|
|
16
|
-
/***/ }),
|
|
17
|
-
|
|
18
|
-
/***/ "./src/apps/content-updates/views/generate-past-releases-pdf/generate-past-releases-pdf.scss":
|
|
19
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
20
|
-
|
|
21
|
-
eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"image\":\"cv--image--2AV9T\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9jb250ZW50LXVwZGF0ZXMvdmlld3MvZ2VuZXJhdGUtcGFzdC1yZWxlYXNlcy1wZGYvZ2VuZXJhdGUtcGFzdC1yZWxlYXNlcy1wZGYuc2Nzcy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvY29udGVudC11cGRhdGVzL3ZpZXdzL2dlbmVyYXRlLXBhc3QtcmVsZWFzZXMtcGRmL2dlbmVyYXRlLXBhc3QtcmVsZWFzZXMtcGRmLnNjc3MiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5tb2R1bGUuZXhwb3J0cyA9IHtcImltYWdlXCI6XCJjdi0taW1hZ2UtLTJBVjlUXCJ9OyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/apps/content-updates/views/generate-past-releases-pdf/generate-past-releases-pdf.scss\n");
|
|
22
|
-
|
|
23
|
-
/***/ }),
|
|
24
|
-
|
|
25
|
-
/***/ "./src/shared/models/DisabledSpinnerModel.ts":
|
|
26
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
27
|
-
|
|
28
|
-
"use strict";
|
|
29
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DisabledSpinnerModel\", function() { return DisabledSpinnerModel; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/components/spinner-button/SpinnerButtonComponent.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\nvar DisabledSpinnerModel = /*#__PURE__*/function (_Core$Model) {\n _inherits(DisabledSpinnerModel, _Core$Model);\n\n var _super = _createSuper(DisabledSpinnerModel);\n\n function DisabledSpinnerModel() {\n _classCallCheck(this, DisabledSpinnerModel);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(DisabledSpinnerModel, [{\n key: \"defaults\",\n value: function defaults() {\n return _defineProperty({}, shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__[\"SpinnerButtonModelAttributes\"].Disabled, true);\n }\n }]);\n\n return DisabledSpinnerModel;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Model);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIj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
|
|
30
|
-
|
|
31
|
-
/***/ })
|
|
32
|
-
|
|
33
|
-
}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[59],{1338:function(n,e,l){n.exports={videosAdded:"_2mvcb",migrationContainer:"_kJhb",info:"wszk6",image:"_1HF1l",publisherLink:"_2SXoK",icon:"_2wZJN"}},1339:function(n,e,l){var t=l(10);n.exports=(t.default||t).template({1:function(n,e,l,t,a){n.propertyIsEnumerable;var r,i=n.lambda,s=n.escapeExpression,o=null!=e?e:n.nullContext||{},u=n.hooks.helperMissing;return' <img src="/images/added.png" class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.image:r,e))+' d-block p-3">\r\n <h4>'+s((l.lang||e&&e.lang||u).call(o,"heading",{name:"lang",hash:{},data:a}))+'</h4>\r\n <span class="p-2 d-block '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n'+(null!=(r=l.if.call(o,null!=(r=null!=e?e.options:e)?r.firstTime:r,{name:"if",hash:{},fn:n.program(2,a,0),inverse:n.program(4,a,0),data:a}))?r:"")+" "+s((l.lang||e&&e.lang||u).call(o,"tip1",{name:"lang",hash:{},data:a}))+'\r\n <span class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.publisherLink:r,e))+'">\r\n <span class="d-inline-block align-middle '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.icon:r,e))+'">'+(null!=(r=i(null!=(r=null!=e?e.options:e)?r.publisherIcon:r,e))?r:"")+"</span>\r\n "+s((l.lang||e&&e.lang||u).call(o,"tip2",{name:"lang",hash:{},data:a}))+'\r\n </span>\r\n </span>\r\n <a class="btn btn-primary m-2 applink-start '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n'+(null!=(r=l.if.call(o,null!=(r=null!=e?e.options:e)?r.firstTime:r,{name:"if",hash:{},fn:n.program(6,a,0),inverse:n.program(8,a,0),data:a}))?r:"")+" </a>\r\n"},2:function(n,e,l,t,a){n.propertyIsEnumerable;return" "+n.escapeExpression((l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"firstTime",{name:"lang",hash:{},data:a}))+"\r\n"},4:function(n,e,l,t,a){n.propertyIsEnumerable;return" "+n.escapeExpression((l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"notFirstTime",{name:"lang",hash:{},data:a}))+"\r\n"},6:function(n,e,l,t,a){n.propertyIsEnumerable;return" "+n.escapeExpression((l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"start",{name:"lang",hash:{},data:a}))+"\r\n"},8:function(n,e,l,t,a){n.propertyIsEnumerable;return" "+n.escapeExpression((l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"continue",{name:"lang",hash:{},data:a}))+" \r\n"},10:function(n,e,l,t,a){n.propertyIsEnumerable;var r,i=n.lambda,s=n.escapeExpression,o=null!=e?e:n.nullContext||{},u=n.hooks.helperMissing;return' <img src="/images/added-warning.png" class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.image:r,e))+' d-block p-3">\r\n <h4>'+s((l.lang||e&&e.lang||u).call(o,"warningHeading",{name:"lang",hash:{},data:a}))+'</h4>\r\n <span class="p-2 d-block '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n '+(null!=(r=(l.lang||e&&e.lang||u).call(o,"issues",{name:"lang",hash:{},data:a}))?r:"")+' \r\n <span class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.publisherLink:r,e))+'">\r\n <span class="d-inline-block align-middle '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.icon:r,e))+'">'+(null!=(r=i(null!=(r=null!=e?e.options:e)?r.publisherIcon:r,e))?r:"")+"</span>\r\n </span>\r\n "+s((l.lang||e&&e.lang||u).call(o,"tip2",{name:"lang",hash:{},data:a}))+"\r\n </span>\r\n"+(null!=(r=l.if.call(o,null!=(r=null!=e?e.options:e)?r.firstTime:r,{name:"if",hash:{},fn:n.program(11,a,0),inverse:n.program(13,a,0),data:a}))?r:"")},11:function(n,e,l,t,a){var r;n.propertyIsEnumerable;return" "+(null!=(r=(l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"startOrReview",{name:"lang",hash:{reviewClasses:"applink-migration-warnings text-underline",startClasses:"btn btn-primary m-2 applink-start {{options.styles.info}}"},data:a}))?r:"")+"\r\n"},13:function(n,e,l,t,a){var r;n.propertyIsEnumerable;return" "+(null!=(r=(l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"continueOrReview",{name:"lang",hash:{reviewClasses:"applink-migration-warnings text-underline",continueClasses:"btn btn-primary m-2 applink-start {{options.styles.info}}"},data:a}))?r:"")+"\r\n"},15:function(n,e,l,t,a){n.propertyIsEnumerable;var r,i=n.lambda,s=n.escapeExpression,o=null!=e?e:n.nullContext||{},u=n.hooks.helperMissing;return' <img src="/images/added-error.png" class="'+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.image:r,e))+' d-block p-3">\r\n <h4>'+s((l.lang||e&&e.lang||u).call(o,"errorsHeading",{name:"lang",hash:{},data:a}))+'</h4>\r\n <span class="p-2 d-block '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n'+(null!=(r=l.if.call(o,null!=(r=null!=e?e.options:e)?r.successes:r,{name:"if",hash:{},fn:n.program(16,a,0),inverse:n.noop,data:a}))?r:"")+" "+(null!=(r=(l.lang||e&&e.lang||u).call(o,"reviews",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.warnings:r},data:a}))?r:"")+'\r\n </span>\r\n <button class="btn btn-primary m-2 applink-migration-warnings '+s(i(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.info:r,e))+'">\r\n '+s((l.lang||e&&e.lang||u).call(o,"goToReview",{name:"lang",hash:{},data:a}))+"\r\n </button>\r\n"},16:function(n,e,l,t,a){var r;n.propertyIsEnumerable;return" "+(null!=(r=(l.lang||e&&e.lang||n.hooks.helperMissing).call(null!=e?e:n.nullContext||{},"successes",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.successes:r},data:a}))?r:"")+" \r\n"},compiler:[8,">= 4.3.0"],main:function(n,e,l,t,a){n.propertyIsEnumerable;var r,i=null!=e?e:n.nullContext||{};return(null!=(r=l.if.call(i,null!=(r=null!=e?e.options:e)?r.showSuccess:r,{name:"if",hash:{},fn:n.program(1,a,0),inverse:n.noop,data:a}))?r:"")+(null!=(r=l.if.call(i,null!=(r=null!=e?e.options:e)?r.showWarning:r,{name:"if",hash:{},fn:n.program(10,a,0),inverse:n.noop,data:a}))?r:"")+(null!=(r=l.if.call(i,null!=(r=null!=e?e.options:e)?r.showError:r,{name:"if",hash:{},fn:n.program(15,a,0),inverse:n.noop,data:a}))?r:"")},useData:!0})},1404:function(n,e,l){"use strict";l.r(e),l.d(e,"VideosAddedView",(function(){return b}));var t=l(2),a=l(5),r=l(15),i=l(0),s=l(3),o=l(1338),u=l.n(o),c=l(1339),p=l.n(c);function g(n){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function h(n,e){for(var l=0;l<e.length;l++){var t=e[l];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function f(n,e){return(f=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function m(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var l,t=y(n);if(e){var a=y(this).constructor;l=Reflect.construct(t,arguments,a)}else l=t.apply(this,arguments);return d(this,l)}}function d(n,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function y(n){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var b=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&f(n,e)}(c,n);var e,l,t,o=m(c);function c(n){return function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),o.call(this,n)}return e=c,(l=[{key:"initialize",value:function(){this.migrationVideoDataService=a.a.getInstance(i.g.MigrationVideo,this),this.listenTo(i.e.MIGRATION,"".concat(i.f.FINALISATION,":").concat(this.options.finalisationTaskId,":sync"),this.render)}},{key:"name",get:function(){return"VideosAddedView"}},{key:"title",get:function(){return s.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.videosAdded"}},{key:"template",get:function(){return p.a}},{key:"className",get:function(){return"".concat(u.a.migrationContainer," text-center p-3 bg-white ").concat(u.a.videosAdded)}},{key:"appLinks",get:function(){return{".applink-start":{application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.HOME},".applink-migration-warnings":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.MIGRATION_ERRORS}}}},{key:"showError",value:function(){return!this.options.firstTime&&this.model.get("videosWithWarning")}},{key:"showWarning",value:function(){return!(!this.options.firstTime||!this.model.get("videosWithWarning"))}},{key:"showSuccess",value:function(){return!this.model.get("videosWithWarning")}},{key:"viewOptions",value:function(){return{styles:u.a,publisherIcon:r.a.getSvg(r.b.PublisherArchive),firstTime:this.options.firstTime,showSuccess:this.showSuccess(),showWarning:this.showWarning(),showError:this.showError(),successes:this.model.get("successfullyProcessed"),warnings:this.model.get("videosWithWarning")}}},{key:"onBeforeRender",value:function(){var n=this;return!!this.model||(this.migrationVideoDataService.clearCacheAndGetManualReviewVideoCount(),this.migrationVideoDataService.getFinalisationTask(this.options.finalisationTaskId,(function(e){n.model=e,n.render()})),!1)}}])&&h(e.prototype,l),t&&h(e,t),c}(t.a.View)}}]);
|
package/dist/scripts/59.chunk.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[59],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/library-editor/views/generate-pdf/GeneratePdf.hbs":
|
|
4
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5
|
-
|
|
6
|
-
eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.spinnerEl : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"pb-3 text-center\\\">\\r\\n <img src=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageUrl : stack1), depth0))\n + \"\\\" class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \"\\\" />\\r\\n</div>\\r\\n<p class=\\\"m-0\\\">\"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"info\",{\"name\":\"lang\",\"hash\":{\"email\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.email : stack1),\"name\":(depth0 != null ? depth0.name : depth0)},\"data\":data})) != null ? stack1 : \"\")\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.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dataFetched : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9nZW5lcmF0ZS1wZGYvR2VuZXJhdGVQZGYuaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL2NsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9nZW5lcmF0ZS1wZGYvR2VuZXJhdGVQZGYuaGJzIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBIYW5kbGViYXJzID0gcmVxdWlyZSgnaGFuZGxlYmFycycpO1xubW9kdWxlLmV4cG9ydHMgPSAoSGFuZGxlYmFyc1snZGVmYXVsdCddIHx8IEhhbmRsZWJhcnMpLnRlbXBsYXRlKHtcIjFcIjpmdW5jdGlvbihjb250YWluZXIsZGVwdGgwLGhlbHBlcnMscGFydGlhbHMsZGF0YSkge1xuICAgIHZhciBzdGFjazEsIGFsaWFzMT1jb250YWluZXIucHJvcGVydHlJc0VudW1lcmFibGU7XG5cbiAgc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luZXIucHJvZ3JhbSgzLCBkYXRhLCAwKSxcImRhdGFcIjpkYXRhfSkpICE9IG51bGwgPyBzdGFjazEgOiBcIlwiKTtcbn0sXCJ1c2VEYXRhXCI6dHJ1ZX0pOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/library-editor/views/generate-pdf/GeneratePdf.hbs\n");
|
|
7
|
-
|
|
8
|
-
/***/ }),
|
|
9
|
-
|
|
10
|
-
/***/ "./src/apps/library-editor/views/generate-pdf/GeneratePdfView.ts":
|
|
11
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12
|
-
|
|
13
|
-
"use strict";
|
|
14
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GeneratePdfView\", function() { return GeneratePdfView; });\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"backbone\");\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/common/src/backbone/services/InstanceManager.ts\");\n/* harmony import */ var libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/common/src/backbone/services/LanguageService.tsx\");\n/* harmony import */ var libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/analytics/src/interfaces/index.ts\");\n/* harmony import */ var libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"../../libs/analytics/src/AnalyticsHelper.ts\");\n/* harmony import */ var libs_shared_legacy_enums_SortType__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"../../libs/shared/src/legacy/enums/SortType.ts\");\n/* harmony import */ var shared_behaviors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"./src/shared/behaviors/index.ts\");\n/* harmony import */ var shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"./src/shared/components/spinner-button/SpinnerButtonComponent.ts\");\n/* harmony import */ var shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"./src/shared/models/DisabledSpinnerModel.ts\");\n/* harmony import */ var shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"./src/shared/services/UserDataService.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var shared_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\"./src/shared/utils/index.ts\");\n/* harmony import */ var apps_library_editor_errors__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(\"./src/apps/library-editor/errors/index.ts\");\n/* harmony import */ var _GeneratePdf_hbs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(\"./src/apps/library-editor/views/generate-pdf/GeneratePdf.hbs\");\n/* harmony import */ var _GeneratePdf_hbs__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_GeneratePdf_hbs__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _generate_pdf_scss__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(\"./src/apps/library-editor/views/generate-pdf/generate-pdf.scss\");\n/* harmony import */ var _generate_pdf_scss__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_generate_pdf_scss__WEBPACK_IMPORTED_MODULE_15__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar GeneratePdfView = /*#__PURE__*/function (_Core$View) {\n _inherits(GeneratePdfView, _Core$View);\n\n var _super = _createSuper(GeneratePdfView);\n\n function GeneratePdfView(options) {\n _classCallCheck(this, GeneratePdfView);\n\n return _super.call(this, options);\n }\n\n _createClass(GeneratePdfView, [{\n key: \"initialize\",\n value: function initialize() {\n this.collectionIdentifier = this.options.collectionIdentifier;\n this.libraryDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataServices\"].Library, this);\n this.videoDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataServices\"].Video, this);\n this.exportDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataServices\"].Export, this);\n this.bindListeners();\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'GeneratePdfView';\n }\n }, {\n key: \"title\",\n get: function get() {\n return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__[\"LanguageService\"].getPhrase(this.lang, 'title');\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'libraryEditor.generatePdf';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _GeneratePdf_hbs__WEBPACK_IMPORTED_MODULE_14___default.a;\n }\n }, {\n key: \"channelName\",\n get: function get() {\n return shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"RadioChannelHelper\"].generateUniqueChannelName(this);\n }\n }, {\n key: \"behaviors\",\n get: function get() {\n return [{\n behaviorClass: shared_behaviors__WEBPACK_IMPORTED_MODULE_7__[\"PopupBehavior\"],\n title: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__[\"LanguageService\"].getPhrase(this.lang, 'heading'),\n spinnerButtonOptions: {\n model: this.spinnerModel = new shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_9__[\"DisabledSpinnerModel\"](),\n saveEvent: 'generate:pdf',\n channelName: this.channelName,\n buttonText: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__[\"LanguageService\"].getPhrase(this.lang, 'generate'),\n extraButtonClass: 'btn-primary',\n spinnerOptions: {\n size: shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"SpinnerSize\"].Small,\n type: shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"SpinnerType\"].Light,\n extraClasses: 'mx-auto'\n }\n }\n }];\n }\n }, {\n key: \"bindListeners\",\n value: function bindListeners() {\n var _this = this;\n\n this.listenTo(this.channelName, 'generate:pdf', this.onClickGeneratePdf);\n this.listenTo(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataChannels\"].LIBRARY, \"\".concat(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataPrefixes\"].FOLDER, \":\").concat(this.collectionIdentifier.id, \":sync\"), this.render);\n this.listenTo(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataChannels\"].VIDEO, \"\".concat(this.collectionIdentifier.toString(), \":sync\"), this.render);\n this.listenTo(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataChannels\"].EXPORT, \"\".concat(shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"DataPrefixes\"].GENERATE_COLLECTION_PDF, \":\").concat(this.collectionIdentifier.id, \":sync\"), function () {\n return _this.triggerMethod('hide');\n });\n }\n }, {\n key: \"onClickGeneratePdf\",\n value: function onClickGeneratePdf() {\n if (!this.hasDataFetched()) return;\n backbone__WEBPACK_IMPORTED_MODULE_0__[\"Radio\"].channel(this.channelName).trigger(shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_8__[\"SpinnerButtonEvents\"].ShowSpinner);\n this.exportDataService.generateCollectionPdf(this.library.id, this.collectionIdentifier.id, this.currentUser, this.collectionIdentifier.sort);\n this.logAction(this.collectionIdentifier.id, this.collectionIdentifier.sort);\n }\n }, {\n key: \"fetchData\",\n value: function fetchData() {\n var _this2 = this;\n\n this.videos = this.videoDataService.getCollectionVideos(this.collectionIdentifier);\n this.model = this.libraryDataService.getFolder(this.collectionIdentifier.id);\n if (this.library) return;\n this.libraryDataService.getLibraries(function (data) {\n _this2.library = shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"FolderTreeHelpers\"].getLibrary(_this2.collectionIdentifier.id, data);\n\n _this2.render();\n });\n }\n }, {\n key: \"logAction\",\n value: function logAction(collectionId, sortType) {\n var analyticsOptions = {\n location: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_4__[\"LocationContext\"].Popup,\n actionType: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_4__[\"UserAction\"].Create,\n entity: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_4__[\"EntityType\"].PDF,\n workflowPhase: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_4__[\"WorkflowPhase\"].Complete\n };\n var data = {\n id: collectionId,\n sort: libs_shared_legacy_enums_SortType__WEBPACK_IMPORTED_MODULE_6__[\"SortType\"][sortType]\n };\n libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_5__[\"AnalyticsHelper\"].logUserAction(data, analyticsOptions);\n }\n }, {\n key: \"hasDataFetched\",\n value: function hasDataFetched() {\n return !!this.model && !!this.videos && !!this.library;\n }\n }, {\n key: \"requiredResources\",\n get: function get() {\n return {\n currentUser: shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_10__[\"UserDataServiceHelper\"].currentUser\n };\n }\n }, {\n key: \"onBeforeRender\",\n value: function onBeforeRender() {\n var _this3 = this;\n\n this.fetchData();\n if (!this.hasDataFetched()) return false;\n\n if (this.videos && !this.videos.length) {\n window.setTimeout(function () {\n _this3.triggerMethod('hide');\n\n libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].ErrorHelper.throw(new apps_library_editor_errors__WEBPACK_IMPORTED_MODULE_13__[\"FolderEmptyError\"](libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__[\"LanguageService\"].getPhrase(_this3.lang, 'errorHeading')));\n }, shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"MiscConstants\"].POPUP_FADE_TIMEOUT);\n return false;\n }\n\n if (this.hasDataFetched()) this.spinnerModel.set(shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_8__[\"SpinnerButtonModelAttributes\"].Disabled, false);\n return true;\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n dataFetched: this.hasDataFetched(),\n spinnerEl: shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"SpinnerHelper\"].getSpinner({\n size: shared_utils__WEBPACK_IMPORTED_MODULE_12__[\"SpinnerSize\"].Large,\n extraClasses: 'mx-auto'\n }),\n email: this.currentUser.get('email'),\n imageUrl: shared_constants__WEBPACK_IMPORTED_MODULE_11__[\"ImageUrls\"].Shared.GeneratePdf,\n styles: _generate_pdf_scss__WEBPACK_IMPORTED_MODULE_15___default.a\n };\n }\n }]);\n\n return GeneratePdfView;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].View);//# sourceURL=[module]\n//# sourceMappingUR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ubmVyTW9kZWwoKSxcclxuICAgICAgICAgIHNhdmVFdmVudDogJ2dlbmVyYXRlOnBkZicsXHJcbiAgICAgICAgICBjaGFubmVsTmFtZTogdGhpcy5jaGFubmVsTmFtZSxcclxuICAgICAgICAgIGJ1dHRvblRleHQ6IExhbmd1YWdlU2VydmljZS5nZXRQaHJhc2UodGhpcy5sYW5nLCAnZ2VuZXJhdGUnKSxcclxuICAgICAgICAgIGV4dHJhQnV0dG9uQ2xhc3M6ICdidG4tcHJpbWFyeScsXHJcbiAgICAgICAgICBzcGlubmVyT3B0aW9uczoge1xyXG4gICAgICAgICAgICBzaXplOiBTcGlubmVyU2l6ZS5TbWFsbCxcclxuICAgICAgICAgICAgdHlwZTogU3Bpbm5lclR5cGUuTGlnaHQsXHJcbiAgICAgICAgICAgIGV4dHJhQ2xhc3NlczogJ214LWF1dG8nXHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgfVxyXG4gICAgXTtcclxuICB9XHJcblxyXG4gIHByaXZhdGUgYmluZExpc3RlbmVycygpOiB2b2lkIHtcclxuICAgIHRoaXMubGlzdGVuVG8odGhpcy5jaGFubmVsTmFtZSwgJ2dlbmVyYXRlOnBkZicsIHRoaXMub25DbGlja0dlbmVyYXRlUGRmKTtcclxuXHJcbiAgICB0aGlzLmxpc3RlblRvKERhdGFDaGFubmVscy5MSUJSQVJZLCBgJHtEYXRhUHJlZml4ZXMuRk9MREVSfToke3RoaXMuY29sbGVjdGlvbklkZW50aWZpZXIuaWR9OnN5bmNgLCB0aGlzLnJlbmRlcik7XHJcblxyXG4gICAgdGhpcy5saXN0ZW5UbyhEYXRhQ2hhbm5lbHMuVklERU8sIGAke3RoaXMuY29sbGVjdGlvbklkZW50aWZpZXIudG9TdHJpbmcoKX06c3luY2AsIHRoaXMucmVuZGVyKTtcclxuXHJcbiAgICB0aGlzLmxpc3RlblRvKERhdGFDaGFubmVscy5FWFBPUlQsIGAke0RhdGFQcmVmaXhlcy5HRU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tBQUFBO0FBQ0E7QUE3RUE7QUFBQTtBQUFBO0FBZ0ZBO0FBRUE7QUFFQTtBQU9BO0FBQ0E7QUE1RkE7QUFBQTtBQUFBO0FBOEZBO0FBQ0E7QUFBQTtBQUNBO0FBRUE7QUFFQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUF4R0E7QUFBQTtBQUFBO0FBMkdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFKQTtBQU9BO0FBQ0E7QUFDQTtBQUZBO0FBS0E7QUFDQTtBQXhIQTtBQUFBO0FBQUE7QUEySEE7QUFDQTtBQTVIQTtBQUFBO0FBQUE7QUErSEE7QUFDQTtBQURBO0FBR0E7QUFsSUE7QUFBQTtBQUFBO0FBb0lBO0FBQ0E7QUFBQTtBQUVBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUdBO0FBQ0E7QUF0SkE7QUFBQTtBQUFBO0FBeUpBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUxBO0FBT0E7QUFoS0E7QUFDQTtBQURBO0FBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/apps/library-editor/views/generate-pdf/GeneratePdfView.ts\n");
|
|
15
|
-
|
|
16
|
-
/***/ }),
|
|
17
|
-
|
|
18
|
-
/***/ "./src/apps/library-editor/views/generate-pdf/generate-pdf.scss":
|
|
19
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
20
|
-
|
|
21
|
-
eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"image\":\"cv--image--J9jn_\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9nZW5lcmF0ZS1wZGYvZ2VuZXJhdGUtcGRmLnNjc3MuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9hcHBzL2xpYnJhcnktZWRpdG9yL3ZpZXdzL2dlbmVyYXRlLXBkZi9nZW5lcmF0ZS1wZGYuc2NzcyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbm1vZHVsZS5leHBvcnRzID0ge1wiaW1hZ2VcIjpcImN2LS1pbWFnZS0tSjlqbl9cIn07Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/library-editor/views/generate-pdf/generate-pdf.scss\n");
|
|
22
|
-
|
|
23
|
-
/***/ }),
|
|
24
|
-
|
|
25
|
-
/***/ "./src/shared/models/DisabledSpinnerModel.ts":
|
|
26
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
27
|
-
|
|
28
|
-
"use strict";
|
|
29
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DisabledSpinnerModel\", function() { return DisabledSpinnerModel; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/components/spinner-button/SpinnerButtonComponent.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\nvar DisabledSpinnerModel = /*#__PURE__*/function (_Core$Model) {\n _inherits(DisabledSpinnerModel, _Core$Model);\n\n var _super = _createSuper(DisabledSpinnerModel);\n\n function DisabledSpinnerModel() {\n _classCallCheck(this, DisabledSpinnerModel);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(DisabledSpinnerModel, [{\n key: \"defaults\",\n value: function defaults() {\n return _defineProperty({}, shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__[\"SpinnerButtonModelAttributes\"].Disabled, true);\n }\n }]);\n\n return DisabledSpinnerModel;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Model);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL21vZGVscy9EaXNhYmxlZFNwaW5uZXJNb2RlbC50cy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC9tb2RlbHMvRGlzYWJsZWRTcGlubmVyTW9kZWwudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgT2JqZWN0SGFzaCB9IGZyb20gJ2JhY2tib25lJztcclxuaW1wb3J0IHsgQ29yZSB9IGZyb20gJ2xpYnMvY29tbW9uL2NvcmUnO1xyXG5pbXBvcnQgeyBTcGlubmVyQnV0dG9uTW9kZWxBdHRyaWJ1dGVzIH0gZnJvbSAnc2hhcmVkL2NvbXBvbmVudHMvc3Bpbm5lci1idXR0b24vU3Bpbm5lckJ1dHRvbkNvbXBvbmVudCc7XHJcblxyXG5leHBvcnQgY2xhc3MgRGlzYWJsZWRTcGlubmVyTW9kZWwgZXh0ZW5kcyBDb3JlLk1vZGVsIHtcclxuICBwdWJsaWMgZGVmYXVsdHMoKTogT2JqZWN0SGFzaCB7XHJcbiAgICByZXR1cm4ge1xyXG4gICAgICBbU3Bpbm5lckJ1dHRvbk1vZGVsQXR0cmlidXRlcy5EaXNhYmxlZF06IHRydWVcclxuICAgIH07XHJcbiAgfVxyXG59Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQURBO0FBQ0E7QUFEQTtBQUFBO0FBQ0E7QUFEQTtBQUFBO0FBQ0E7QUFEQTtBQUFBO0FBQUE7QUFFQTtBQUdBO0FBTEE7QUFDQTtBQURBO0FBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/shared/models/DisabledSpinnerModel.ts\n");
|
|
30
|
-
|
|
31
|
-
/***/ })
|
|
32
|
-
|
|
33
|
-
}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[6],{1004:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return g}));var o=n(1),r=n(2),i=n(997),l=n.n(i),a=n(12);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=y(e);if(t){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d="checkbox-all",g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(u,e);var t,n,r,i=p(u);function u(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,e)}return t=u,(n=[{key:"initialize",value:function(){this.getViewModel(),this.bindListeners()}},{key:"name",get:function(){return"BulkCheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return l.a}},{key:"getViewModel",value:function(){this.model=a.a.GetViewModel(this.options.key,this.options.type)}},{key:"bindListeners",value:function(){this.options.disabled||this.listenTo(this.model,"change",this.onChange)}},{key:"events",value:function(){return{"change .custom-control-input":"onClick"}}},{key:"onChange",value:function(){this.checkAllChecked(),this.render()}},{key:"checkAllChecked",value:function(){var e=o.values(this.model.omit("all",d));o.every(e,(function(e){return!!e}))&&(this.model.get("all")||e.length===this.options.numberOfItems)&&this.model.set(c({all:!0},this.getItemId(),!0))}},{key:"getItemId",value:function(){return d}},{key:"onClick",value:function(){this.model.get(this.getItemId())?this.model.clear():(this.model.clear(),this.model.set(c({all:!0},this.getItemId(),!0)))}},{key:"viewOptions",value:function(){return{id:this.getItemId(),checked:this.model.get(d),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}}])&&s(t.prototype,n),r&&s(t,r),u}(r.a.Component)},1011:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var o=n(2),r=n(997),i=n.n(r),l=n(12),a=n(1004);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=h(e);if(t){var r=h(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==u(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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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&&s(e,t)}(u,e);var t,n,o,r=f(u);function u(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),r.call(this,e)}return t=u,(n=[{key:"initialize",value:function(){if(this.getViewModel(),this.bindListeners(),this.options.checked){var e=this.getItemId();this.model.set(e,!0,{silent:!0})}}},{key:"name",get:function(){return"CheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return i.a}},{key:"getViewModel",value:function(){this.model=l.a.GetViewModel(this.options.key,this.options.type)}},{key:"bindListeners",value:function(){this.options.disabled||this.listenTo(this.model,"change:all change:".concat(this.getItemId()),this.render)}},{key:"events",value:function(){return{"click .custom-checkbox":"onClickCheckbox","change .custom-control-input":"onChangeCheckbox"}}},{key:"getItemId",value:function(){return this.options.itemId.toString()}},{key:"onClickCheckbox",value:function(e){e.stopPropagation()}},{key:"onChangeCheckbox",value:function(){if(!this.options.disabled){var e=this.getItemId();this.model.has(e)||this.model.get("all")?!1===this.model.get(e)?this.model.set(e,!0):(this.model.set(e,!1),this.model.set(a.a,!1)):this.model.set(e,!0)}}},{key:"viewOptions",value:function(){var e=this.getItemId();return{id:e,checked:this.model.has(e)?this.model.get(e):this.model.get("all"),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}}])&&c(t.prototype,n),o&&c(t,o),u}(o.a.Component)},1066:function(e,t,n){"use strict";var o=n(2),r=n(15),i=n(0),l=n(320),a=n(1321),u=n.n(a);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=d(e);if(t){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(c,e);var t,n,o,a=h(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return t=c,(n=[{key:"name",get:function(){return"SearchBarComponent"}},{key:"template",get:function(){return u.a}},{key:"lang",get:function(){return"migrationWizard.searchBar"}},{key:"className",get:function(){var e="container";return"publisher-archive"===this.options.selected&&(e+=" ".concat(l.publisherArchive)),"migration-errors"===this.options.selected&&(e+=" ".concat(l.migrationErrors)),"none"===this.options.selected&&(e+=" ".concat(l.none)),e}},{key:"elements",get:function(){return{search:".search"}}},{key:"regions",value:function(){return{generateReport:{el:".generate-report-region",replaceElement:!0}}}},{key:"appLinks",get:function(){var e;return s(e={},".".concat(l.reviewErroredAppLink),{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.MIGRATION_ERRORS}),s(e,".".concat(l.publisherArchiveAppLink),{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.HOME}),e}},{key:"viewOptions",value:function(){return{styles:l,warningSvg:r.a.getSvg(r.b.Warning)}}},{key:"onRender",value:function(){this.showChildView("generateReport",new Dt)}}])&&f(t.prototype,n),o&&f(t,o),c}(o.a.Component),b=n(1),m=n(6),v=n(1004),k=n(12),O=n(187),w=n(1073),C=n(47),x=n(321),R=n.n(x),_=n(1322),S=n.n(_);function E(e){return(E="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 j(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=M(e);if(t){var r=M(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return T(this,n)}}function T(e,t){return!t||"object"!==E(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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var B=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&&I(e,t)}(a,e);var t,n,o,l=P(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.viewModel=k.a.GetViewModel(this.getCheckboxKey(),O.CheckboxTypes.MIGRATION_VIDEO_LIST),this.listenTo(this.viewModel,"change:".concat(v.a),this.onCheckboxChange)}},{key:"name",get:function(){return"SortingRowComponent"}},{key:"template",get:function(){return S.a}},{key:"className",get:function(){return"row no-gutters px-2 py-1 ".concat(R.a.sortingRow)}},{key:"lang",get:function(){return"migrationWizard.sortingRow"}},{key:"viewOptions",value:function(){return{styles:R.a,showCategory:this.options.searchTerm,sortSvg:r.a.getSvg(r.b.UpDown)}}},{key:"elements",get:function(){return{sortOption:".sort"}}},{key:"events",value:function(){return{"click .sort-title":"sortTitle","click .sort-views":"sortViews"}}},{key:"regions",value:function(){return{selectAll:{replaceElement:!0,el:".select-all"}}}},{key:"getCheckboxKey",value:function(){return this.options.searchTerm||this.options.folderChord}},{key:"onRender",value:function(){this.showChildView("selectAll",new v.b({type:O.CheckboxTypes.MIGRATION_VIDEO_LIST,key:this.getCheckboxKey(),disabled:0===this.getVideosThatCanBeMigrated().length,className:"".concat(R.a.bulkCheckbox," position-relative d-inline-block"),numberOfItems:this.collection.length}))}},{key:"sortTitle",value:function(){this.sort(C.e.Title)}},{key:"sortViews",value:function(){this.sort(C.e.Views)}},{key:"getVideosThatCanBeMigrated",value:function(){return this.collection.filter((function(e){return e.get("migrationStatus")===w.a.HasNotBeenMigrated}))}},{key:"sort",value:function(e){m.Radio.channel(i.e.MIGRATION).trigger(i.i.MigrationWizard.SORT_VIDEOS,e)}},{key:"onCheckboxChange",value:function(){var e=m.Radio.channel(this.options.channelName),t=this.viewModel.get(v.a),n=this.getVideosThatCanBeMigrated();t?e.trigger("add:selected",n,this.options.folderChord):b.isUndefined(t)&&e.trigger("remove:selected",n,this.options.folderChord)}}])&&j(t.prototype,n),o&&j(t,o),a}(o.a.Component),V=n(1323),L=n.n(V),N=n(276);function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=U(e);if(t){var r=U(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return G(this,n)}}function G(e,t){return!t||"object"!==A(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H=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&&W(e,t)}(i,e);var t,n,o,r=z(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"StatusBarComponent"}},{key:"className",get:function(){return"w-100 p-2 pl-3 pr-3 ".concat(N.statusBar)}},{key:"template",get:function(){return L.a}},{key:"lang",get:function(){return"migrationWizard.statusBar"}},{key:"appLinks",get:function(){var e=this.options,t=e.nextAppLink,n=e.backAppLink,o={".applink-next":t};return n&&(o[".applink-back"]=n),o}},{key:"events",value:function(){return{"click .applink-next":"onClickNext","click .applink-back":"onClickBack"}}},{key:"onClickNext",value:function(){this.options.nextDisabled||b.isFunction(this.options.onClickNext)&&this.options.onClickNext()}},{key:"onClickBack",value:function(){b.isFunction(this.options.onClickBack)&&this.options.onClickBack()}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:N},this.options),{multipleVideosAvailable:1!==this.options.numberAvailable,numberAvailable:this.options.numberAvailable||0,videoCount:this.options.numberSelected||0})}}])&&D(t.prototype,n),o&&D(t,o),i}(o.a.Component),K=n(5),Z=n(322),F=n.n(Z),Y=n(1324),J=n.n(Y),X=n(1011);function q(e){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Q(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=oe(e);if(t){var r=oe(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ne(this,n)}}function ne(e,t){return!t||"object"!==q(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 oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var re=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&&ee(e,t)}(l,e);var t,n,o,r=te(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return t=l,(n=[{key:"initialize",value:function(){this.viewModel=k.a.GetViewModel(this.getCheckboxKey(),O.CheckboxTypes.MIGRATION_VIDEO_LIST),this.selectedVideoService=K.a.getInstance(i.x.SelectedVideo,this),this.bindListeners()}},{key:"bindListeners",value:function(){this.listenTo(this.viewModel,"change:".concat(this.getCheckboxId()),this.onCheckboxChange)}},{key:"template",get:function(){return J.a}},{key:"name",get:function(){return"MigrationVideoItemComponent"}},{key:"className",get:function(){if(this.shouldRender())return"col-12 py-1 ".concat(F.a.videoRow)}},{key:"lang",get:function(){return"migrationWizard.migrationVideoItem"}},{key:"appLinks",get:function(){return{".applink-show":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.SHOW_PUBLISHER_VIDEO,args:[this.model.get("trackingCode")]},".applink-remigrate":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.REMIGRATE_VIDEO,args:[this.model.get("id").toString(),this.model.get("masterId")&&this.model.get("masterId").toString(),this.model.get("categoryChord")]}}}},{key:"regions",value:function(){return{bulkCheckbox:{replaceElement:!0,el:".bulk-checkbox-region"},errorCode:{replaceElement:!0,el:".error-code-region"}}}},{key:"hasBeenMigrated",value:function(){return this.model.get("migrationStatus")!==w.a.HasNotBeenMigrated}},{key:"getCheckboxKey",value:function(){return this.options.searchTerm||this.model.get("categoryChord")}},{key:"getCheckboxId",value:function(){return this.model.get("id")}},{key:"onCheckboxChange",value:function(){if(!this.hasBeenMigrated()){var e=this.viewModel.get("".concat(this.getCheckboxId()));e?this.selectedVideoService.addSelectedVideos(this.model,this.options.folderChord):b.isUndefined(e)||this.selectedVideoService.removeSelectedVideos(this.model,this.options.folderChord)}}},{key:"shouldRender",value:function(){return!this.model.get("hidden")}},{key:"renderCheckbox",value:function(){var e=this.hasBeenMigrated(),t=e?" ".concat(F.a.faded):"",n=this.model.get("selected")||this.model.get("checkedForMigration")||e;this.showChildView("bulkCheckbox",new X.a({checked:n,checkboxClassName:t,disabled:e,key:this.getCheckboxKey(),itemId:this.getCheckboxId(),type:O.CheckboxTypes.MIGRATION_VIDEO_LIST,className:"".concat(F.a.bulkCheckbox," position-relative d-inline-block")}))}},{key:"onBeforeRender",value:function(){return this.shouldRender()}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:F.a},this.options),{migrated:this.hasBeenMigrated(),views:this.model.get("viewsLast3Years")})}},{key:"onRender",value:function(){this.renderCheckbox()}}])&&Q(t.prototype,n),o&&Q(t,o),l}(o.a.Component),ie=n(3),le=n(1074),ae=n(1325),ue=n.n(ae);function ce(e){return(ce="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 se(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fe(e,t){return(fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=ye(e);if(t){var r=ye(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return he(this,n)}}function he(e,t){return!t||"object"!==ce(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 ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var de=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&&fe(e,t)}(l,e);var t,n,o,r=pe(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return t=l,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"name",get:function(){return"VideoListCollection"}},{key:"template",get:function(){return ue.a}},{key:"lang",get:function(){return"migrationWizard.videoList"}},{key:"regions",value:function(){return{videoListSort:{replaceElement:!0,el:".video-sorting-region"},videoList:{el:".video-list-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(i.e.MIGRATION,i.i.MigrationWizard.SORT_VIDEOS,this.sort),this.listenTo(i.e.MIGRATION,i.i.MigrationWizard.TOGGLE_MIGRATED,this.toggleMigrated)}},{key:"toggleMigrated",value:function(e){this.collection&&0!==this.collection.length&&(this.collection=le.a.toggleMigrated(this.collection,e),this.render())}},{key:"sort",value:function(e){0!==this.collection.length&&(this.sortedBy=this.sortedBy===e?void 0:e,this.collection=le.a.sortVideos(this.collection,e,this.sortedBy===e),this.renderVideoList())}},{key:"renderEmptyMessage",value:function(){this.showChildView("videoList",new rt({text:ie.a.getPhrase(this.lang,"noVideos")}))}},{key:"renderSortingRow",value:function(){this.showChildView("videoListSort",new B({collection:this.collection,folderChord:this.options.folderChord,searchTerm:this.options.searchTerm,channelName:this.options.channelName}))}},{key:"renderVideoList",value:function(){this.showChildView("videoList",new xe({folderChord:this.options.folderChord,collection:this.collection,searchTerm:this.options.searchTerm,supportSiteUrl:this.options.supportSiteUrl}))}},{key:"onRender",value:function(){this.renderSortingRow(),0!==this.collection.where({hidden:!1}).length?this.renderVideoList():this.renderEmptyMessage()}}])&&se(t.prototype,n),o&&se(t,o),l}(o.a.Component),ge=n(1326),be=n.n(ge);function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ve(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oe(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Ce(e);if(t){var r=Ce(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return we(this,n)}}function we(e,t){return!t||"object"!==me(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xe=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&&ke(e,t)}(i,e);var t,n,o,r=Oe(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"VideoListCollectionComponent"}},{key:"className",get:function(){return be.a.videoList}},{key:"childView",get:function(){return re}},{key:"childViewOptions",get:function(){return{folderChord:this.options.folderChord,searchTerm:this.getOption("searchTerm"),supportSiteUrl:this.options.supportSiteUrl}}}])&&ve(t.prototype,n),o&&ve(t,o),i}(o.a.ComponentCollection),Re=n(81),_e=n(1327),Se=n.n(_e),Ee=n(1328),je=n.n(Ee);function Ie(e){return(Ie="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 Pe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Te(e,t){return(Te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Ve(e);if(t){var r=Ve(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Be(this,n)}}function Be(e,t){return!t||"object"!==Ie(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 Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Le=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&&Te(e,t)}(l,e);var t,n,o,r=Me(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return t=l,(n=[{key:"name",get:function(){return"BannerComponent"}},{key:"className",get:function(){return"w-100 p-2 pl-3 pr-3 ".concat(Se.a.banner)}},{key:"lang",get:function(){return"migrationWizard.banner"}},{key:"props",get:function(){return["config"]}},{key:"template",get:function(){return je.a}},{key:"viewOptions",value:function(){return{styles:Se.a,learnMoreUrl:this.getLearnMoreUrl()}}},{key:"getLearnMoreUrl",value:function(){var e=this.config.get("supportSiteUrl");return Re.a.safeUrlConcat(e,i.y.PUBLISHER_ARCHIVE)}}])&&Pe(t.prototype,n),o&&Pe(t,o),l}(o.a.Component),Ne=n(1329),Ae=n.n(Ne),De=n(1330),We=n.n(De);function ze(e){return(ze="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 Ge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function He(e,t){return(He=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ke(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Fe(e);if(t){var r=Fe(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Ze(this,n)}}function Ze(e,t){return!t||"object"!==ze(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 Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ye=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&&He(e,t)}(i,e);var t,n,o,r=Ke(i);function i(){return Ge(this,i),r.apply(this,arguments)}return t=i,(n=[{key:"name",get:function(){return"SelectedVideoItemComponent"}},{key:"template",get:function(){return We.a}},{key:"lang",get:function(){return"migrationWizard.selectedVideoItem"}},{key:"className",get:function(){return"ml-2 pt-1"}},{key:"viewOptions",value:function(){return{styles:Ae.a,folder:this.model.get("folderChord").split("->").join(" / "),videoCount:this.model.get("count")}}}])&&Ue(t.prototype,n),o&&Ue(t,o),i}(o.a.Component),Je=n(1331),$e=n(1332),Xe=n.n($e);function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=ot(e);if(t){var r=ot(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return nt(this,n)}}function nt(e,t){return!t||"object"!==qe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&et(e,t)}(i,e);var t,n,o,r=tt(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"EmptyVideoListComponent"}},{key:"className",get:function(){return"d-flex justify-content-center align-items-center text-muted p-5 ".concat(Je.videoList)}},{key:"template",get:function(){return Xe.a}},{key:"viewOptions",value:function(){return{text:this.options.text}}}])&&Qe(t.prototype,n),o&&Qe(t,o),i}(o.a.Component),it=n(1333),lt=n.n(it),at=n(1334),ut=n.n(at);function ct(e){return(ct="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 st(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ft(e,t){return(ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pt(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=yt(e);if(t){var r=yt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ht(this,n)}}function ht(e,t){return!t||"object"!==ct(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 yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var dt=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&&ft(e,t)}(i,e);var t,n,o,r=pt(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"ProgressBarComponent"}},{key:"className",get:function(){return this.options.class||""}},{key:"template",get:function(){return ut.a}},{key:"elements",get:function(){return{progressBar:".progress-bar",progressText:".progress-text"}}},{key:"viewOptions",value:function(){return{styles:lt.a,background:this.options.backgroundClass,progress:this.options.percentage}}},{key:"update",value:function(){var e=this.getUI("progressBar"),t=this.getUI("progressText");e&&e.get(0)&&$(e.get(0)).css("width","".concat(this.model.get("percentage"),"%")),t&&t.get(0)&&$(t.get(0)).text("".concat(this.model.get("percentage"),"%"))}},{key:"onRender",value:function(){this.update()}}])&&st(t.prototype,n),o&&st(t,o),i}(o.a.Component),gt=n(1072),bt=n(1134),mt=n(1335),vt=n.n(mt);function kt(e){return(kt="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 Ot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ct(e,t){return(Ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xt(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=_t(e);if(t){var r=_t(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Rt(this,n)}}function Rt(e,t){return!t||"object"!==kt(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 _t(e){return(_t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var St=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&&Ct(e,t)}(a,e);var t,n,r,l=xt(a);function a(){var e;return Ot(this,a),(e=l.apply(this,arguments)).buttonDisabled=!0,e}return t=a,(n=[{key:"initialize",value:function(){this.migrationVideoDataService=K.a.getInstance(i.g.MigrationVideo,this),this.bindListeners()}},{key:"name",get:function(){return"GenerateReportComponent"}},{key:"template",get:function(){return vt.a}},{key:"className",get:function(){return"dropdown-menu dropdown-menu-right dropdown-arrow"}},{key:"lang",get:function(){return"migrationWizard.generateReport"}},{key:"events",value:function(){return{"click .options":"onClickOptionsContainer","change #migrated-option":"onToggleMigratedOption","change #remaining-option":"onToggleRemainingOption","change #errored-option":"onToggleErroredOption","change #content-matched-option":"onToggleContentMatchedOption","click .generate-report":"onClickSubmit"}}},{key:"elements",get:function(){return{generateReportBtn:".generate-report"}}},{key:"bindListeners",value:function(){this.listenTo(i.e.MIGRATION,"get:migration:report:options",this.render)}},{key:"onClickOptionsContainer",value:function(e){e.stopPropagation()}},{key:"onToggleMigratedOption",value:function(){var e=this.reportOptions[C.d.Migrated];e.selected=!e.selected,this.updateButton()}},{key:"onToggleRemainingOption",value:function(){var e=this.reportOptions[C.d.Remaining];e.selected=!e.selected,this.updateButton()}},{key:"onToggleErroredOption",value:function(){var e=this.reportOptions[C.d.Errored];e.selected=!e.selected,this.updateButton()}},{key:"onToggleContentMatchedOption",value:function(){var e=this.reportOptions[C.d.ContentMatched];e.selected=!e.selected,this.updateButton()}},{key:"onClickSubmit",value:function(){this.buttonDisabled||o.a.AppLinkHelper.trigger({application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.GENERATE_CSV_REPORT,params:{options:bt.a.filterSelectedOptions(this.reportOptions)}})}},{key:"updateButton",value:function(){var e=this.getUI("generateReportBtn");bt.a.filterSelectedOptions(this.reportOptions).length?(this.buttonDisabled=!1,e.removeAttr("disabled")):(this.buttonDisabled=!0,e.attr("disabled","disabled"))}},{key:"fetchMigrationReportOptions",value:function(){var e=this;this.migrationVideoDataService.getMigrationReportOptions((function(t){e.reportOptions=bt.a.processValidReportOptions(t),e.render()}))}},{key:"viewOptions",value:function(){return{reportOptions:this.reportOptions}}},{key:"onRender",value:function(){this.reportOptions||this.fetchMigrationReportOptions()}}])&&wt(t.prototype,n),r&&wt(t,r),a}(o.a.Component),Et=n(1336),jt=n.n(Et),It=n(1337),Pt=n.n(It);function Tt(e){return(Tt="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 Mt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Vt(e,t){return(Vt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Lt(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=At(e);if(t){var r=At(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Nt(this,n)}}function Nt(e,t){return!t||"object"!==Tt(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 At(e){return(At=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Dt=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&&Vt(e,t)}(i,e);var t,n,o,r=Lt(i);function i(){return Mt(this,i),r.apply(this,arguments)}return t=i,(n=[{key:"name",get:function(){return"GenerateReportButtonComponent"}},{key:"template",get:function(){return jt.a}},{key:"lang",get:function(){return"migrationWizard.generateReportButton"}},{key:"regions",value:function(){return{options:{el:".options-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{styles:Pt.a}}},{key:"onRender",value:function(){this.showChildView("options",new St)}}])&&Bt(t.prototype,n),o&&Bt(t,o),i}(o.a.Component);n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return B})),n.d(t,"k",(function(){return H})),n.d(t,"e",(function(){return re})),n.d(t,"l",(function(){return de})),n.d(t,"m",(function(){return xe})),n.d(t,"a",(function(){return Le})),n.d(t,"i",(function(){return Ye})),n.d(t,"b",(function(){return rt})),n.d(t,"f",(function(){return dt})),n.d(t,"g",(function(){return gt.a})),n.d(t,"d",(function(){return St})),n.d(t,"c",(function(){return Dt}))},1072:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var o=n(2),r=n(1132),i=n.n(r),l=n(1133),a=n.n(l);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=h(e);if(t){var r=h(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==u(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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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&&s(e,t)}(l,e);var t,n,o,r=f(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return t=l,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:percentage",this.update)}},{key:"name",get:function(){return"ProgressCircleComponent"}},{key:"template",get:function(){return a.a}},{key:"lang",get:function(){return"migrationWizard.progressCircle"}},{key:"elements",get:function(){return{circle:".progress-circle",text:".progress-circle-text"}}},{key:"viewOptions",value:function(){return{styles:i.a,text:this.options.text,class:this.options.class,percentage:this.options.percentage}}},{key:"onRender",value:function(){this.update()}},{key:"update",value:function(){var e=this.model.get("percentage")||0,t=this.getUI("circle").get(0),n=2*t.r.baseVal.value*Math.PI;t.style.strokeDasharray="".concat(n," ").concat(n),t.style.strokeDashoffset=n;var o=n-e/100*n;t.style.strokeDashoffset=o;var r=this.getUI("text");r&&r.text("".concat(e,"%"))}}])&&c(t.prototype,n),o&&c(t,o),l}(o.a.Component)},1073:function(e,t,n){"use strict";var o;n.d(t,"a",(function(){return o})),function(e){e[e.NeedsManualReview=-1]="NeedsManualReview",e[e.HasNotBeenMigrated=0]="HasNotBeenMigrated",e[e.MigratedByUser=1]="MigratedByUser"}(o||(o={}))},1074:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n(1),r=n(2),i=n(86),l=n(1073),a={setChecked:function(e,t,n){e.set("selected",!1);var r=n&&e.get("viewsLast3Years")>0;(o.contains(t,e.id.toString())||r&&0===t.length)&&e.set("selected",!0)},sortVideos:function(e,t,n){var o="name";return e.comparator=function(e,r){e.keys().forEach((function(e){e===t&&(o=e)}));var i=e.get(o),l=r.get(o);return"string"==typeof i&&"string"==typeof l&&(i=i.toLowerCase(),l=l.toLowerCase()),i<l?n?1:-1:i>l?n?-1:1:0},e.sort(),e},toggleMigrated:function(e,t){return e.each((function(e){var n=e.get("migrationStatus")!==l.a.HasNotBeenMigrated,r=e.get("hidden");!o.isUndefined(t)&&n?e.set("hidden",t):n?e.set("hidden",!r):e.set("hidden",!1)})),e},getSelectedVideosCollection:function(e){var t=new r.a.Collection;return Object.keys(e).forEach((function(n){var o=e[n],r=o.id,l=o.folderChord,a=t.findWhere({folderChord:l});a?(a.set("count",a.get("count")+1),a.get("videoIds").push(r)):t.add(new i.f({count:1,folderChord:l,videoIds:[r]}))})),t.each((function(e){e.set("folderChord",e.get("folderChord"))})),t}}},1132:function(e,t,n){e.exports={circle:"_3iX0l",extraText:"_1nYnx",progressCircleContainer:"_2l1Al",progressCircle:"_1RbA5"}},1133:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return' <span class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.extraText:i,t))+'">'+a(l(null!=(i=null!=t?t.options:t)?i.text:i,t))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{};return'<div class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.circle:i,t))+" "+a(l(null!=(i=null!=t?t.options:t)?i.class:i,t))+'">\r\n <span>\r\n <span class="progress-circle-text">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(u,"progress",{name:"lang",hash:{percentage:null!=(i=null!=t?t.options:t)?i.percentage:i},data:r}))+"</span>\r\n"+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.text:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+' </span>\r\n\r\n <svg class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressCircleContainer:i,t))+'">\r\n <circle class="progress-circle '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressCircle:i,t))+'" transform=\'rotate(270 160 0)\' stroke-width="28" fill="transparent" r="150">\r\n </svg>\r\n</div>'},useData:!0})},1134:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n(1),r=n(3),i=n(47);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a="migrationWizard.utils",u={getReportOptions:function(){var e;return l(e={},i.d.Migrated,{id:"migrated",type:"homemigrator.le.migration.migrated.report",labelText:r.a.getPhrase(a,"migratedOption")}),l(e,i.d.Remaining,{id:"remaining",type:"homemigrator.le.migration.videos.remaining.report",labelText:r.a.getPhrase(a,"remainingOption")}),l(e,i.d.Errored,{id:"errored",type:"homemigrator.le.migration.error.report",labelText:r.a.getPhrase(a,"erroredOption")}),l(e,i.d.ContentMatched,{id:"content-matched",type:"homemigrator.le.migration.content.matched.report",labelText:r.a.getPhrase(a,"linkedOption")}),e},processValidReportOptions:function(e){var t=this.getReportOptions(),n={};return o.each(o.keys(t),(function(r){o.contains(e,t[r].type)&&(n[r]=t[r])})),n},filterSelectedOptions:function(e){return o.filter(o.keys(e),(function(t){return e[t].selected})).map((function(t){return e[t].id}))},getSelectedOptionsText:function(e){var t=this.getReportOptions();return o.filter(o.keys(t),(function(n){return o.contains(e,t[n].id)})).map((function(e){return t[e].labelText}))}}},1321:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return'<div class="row '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.tabContainer:i,t))+' position-relative">\r\n <a class="col-4 p-3 '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.publisherArchiveAppLink:i,t))+'"><h1 class="m-0 h5">'+a((n.lang||t&&t.lang||c).call(u,"addVideos",{name:"lang",hash:{},data:r}))+'</h1></a>\r\n <a class="p-3 '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.reviewErroredAppLink:i,t))+'"><h1 class="m-0 h5">'+a((n.lang||t&&t.lang||c).call(u,"migrationWarnings",{name:"lang",hash:{},data:r}))+'<span class="ml-2 svg-container d-inline-block '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.warningSvg:i,t))?i:"")+'</span></h1></a>\r\n <div class="generate-report-region"></div>\r\n</div>'},useData:!0})},1322:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return'<div class="col-8">\r\n <div class="select-all"></div>\r\n <div class="align-middle d-inline-block">\r\n <span class="cursor-pointer sort sort-title '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.sortOption:i,t))+'">\r\n <span>'+a((n.lang||t&&t.lang||c).call(u,"sortTitle",{name:"lang",hash:{},data:r}))+'</span>\r\n <span class="svg-container '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.sortSvg:i,t))?i:"")+'</span>\r\n </span>\r\n </div>\r\n</div>\r\n\r\n<div class="col-4 pr-3 text-right">\r\n <span class="cursor-pointer sort mr-3 sort-views '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.sortOption:i,t))+'">\r\n <span>'+a((n.lang||t&&t.lang||c).call(u,"sortViews",{name:"lang",hash:{},data:r}))+'</span>\r\n <span class="svg-container '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.sortSvg:i,t))?i:"")+"</span>\r\n </span>\r\n</div>"},useData:!0})},1323:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <button class="applink-back btn btn-secondary '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.button:i,t))+'">\r\n '+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"back",{name:"lang",hash:{},data:r}))+"\r\n </button>\r\n"},3:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <span class="align-middle '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.statusBarMessage:i,t))+'">\r\n '+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"videosSelected",{name:"lang",hash:{videoCount:null!=(i=null!=t?t.options:t)?i.videoCount:i,smartCount:null!=(i=null!=t?t.options:t)?i.numberAvailable:i},data:r}))+"\r\n </span>\r\n"},5:function(e,t,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{},a=e.lambda,u=e.escapeExpression;return'<div class="row">\r\n <div class="col-4">\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showBackButton:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n <div class="col-6">\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showSelected:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n <div class="col-2 text-right">\r\n <button class="applink-next btn btn-primary '+u(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.button:i,t))+'" '+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.nextDisabled:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+">\r\n "+u(a(null!=(i=null!=t?t.options:t)?i.text:i,t))+"\r\n </button>\r\n </div>\r\n</div>"},useData:!0})},1324:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){return"text-muted"},3:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <a class="applink-remigrate cursor-pointer '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.viewLink:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"readd",{name:"lang",hash:{},data:r}))+"</a>\r\n"},5:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <a class="applink-show cursor-pointer '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.viewLink:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"details",{name:"lang",hash:{},data:r}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l,a=e.lambda,u=e.escapeExpression,c=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing;return'<div class="row no-gutters">\r\n <div class="col-8">\r\n <div class="bulk-checkbox-region '+u(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.bulkCheckbox:i,t))+'"></div>\r\n <a class="applink-show align-middle cursor-pointer mt-2 '+u(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.videoTitle:i,t))+" "+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.migrated:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'">'+u("function"==typeof(l=null!=(l=n.name||(null!=t?t.name:t))?l:s)?l.call(c,{name:"name",hash:{},data:r}):l)+'</a>\r\n </div>\r\n <div class="col-4 position-static">\r\n <div class="row no-gutters">\r\n <div class="col-11 text-right pr-2">\r\n'+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.migrated:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r}))?i:"")+' <div class="'+u(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.viewCount:i,t))+'">\r\n <span>\r\n '+u((n.lang||t&&t.lang||s).call(c,"views",{name:"lang",hash:{smartCount:null!=(i=null!=t?t.options:t)?i.views:i},data:r}))+'\r\n </span>\r\n </div>\r\n </div>\r\n <div class="col-1 d-flex justify-content-center position-static">\r\n <div class="error-code-region"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>'},useData:!0})},1325:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){return'<div class="video-sorting-region"></div>\r\n<div class="video-list-region"></div>'},useData:!0})},1326:function(e,t,n){e.exports={videoList:"_3RFYO"}},1327:function(e,t,n){e.exports={banner:"O5CMF",learnMore:"MjcUE"}},1328:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,u=e.escapeExpression,c=e.lambda;return'<span class="text-white mr-1">'+u((n.lang||t&&t.lang||a).call(l,"banner",{name:"lang",hash:{},data:r}))+'</span>\r\n<a href="'+u(c(null!=(i=null!=t?t.options:t)?i.learnMoreUrl:i,t))+'" class="'+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.learnMore:i,t))+'" target="_blank">'+u((n.lang||t&&t.lang||a).call(l,"learnMore",{name:"lang",hash:{},data:r}))+"</a>"},useData:!0})},1329:function(e,t,n){e.exports={category:"BSPKV"}},1330:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return null!=(i=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"selectedVideos",{name:"lang",hash:{folder:null!=(i=null!=t?t.options:t)?i.folder:i,className:null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.category:i,smartCount:null!=(i=null!=t?t.options:t)?i.videoCount:i},data:r}))?i:""},useData:!0})},1331:function(e,t,n){e.exports={videoList:"_3TgUv"}},1332:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return'<h3 class="m-0">'+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.text:i,t))+"</h3>"},useData:!0})},1333:function(e,t,n){e.exports={progressBarContainter:"_1aNlZ",progressBar:"_325nt"}},1334:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return'<div class="row">\r\n <div class="col-11 '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressBarContainter:i,t))+' pl-0">\r\n <div class="progress '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressBar:i,t))+'">\r\n <div class="progress-bar '+a(l(null!=(i=null!=t?t.options:t)?i.background:i,t))+" "+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressBar:i,t))+'" role="progressbar" aria-valuenow="'+a(l(null!=(i=null!=t?t.options:t)?i.progress:i,t))+'" aria-valuemin="0" aria-valuemax="100"></div>\r\n </div>\r\n </div>\r\n <div class="col-1 pr-0">\r\n <span class="float-right progress-text">'+a(l(null!=(i=null!=t?t.options:t)?i.progress:i,t))+"%</span>\r\n </div>\r\n</div>\r\n\r\n"},useData:!0})},1335:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i=e.lambda,l=e.escapeExpression;return' <div class="d-flex py-1">\r\n <div class="custom-control custom-checkbox">\r\n <input id="'+l(i(null!=t?t.id:t,t))+'-option" name="checkbox-'+l(i(null!=t?t.id:t,t))+'" type="checkbox" class="custom-control-input cursor-pointer">\r\n <label class="custom-control-label cursor-pointer" for="'+l(i(null!=t?t.id:t,t))+'-option"> </label>\r\n </div>\r\n <label for="'+l(i(null!=t?t.id:t,t))+'-option">'+l(i(null!=t?t.labelText:t,t))+"</label>\r\n </div> \r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,u=e.escapeExpression;return'<h1 class="h5 py-1 mx-2">'+u((n.lang||t&&t.lang||a).call(l,"heading",{name:"lang",hash:{},data:r}))+'</h1>\r\n<div class="dropdown-divider"></div>\r\n<p class="m-2 mt-0">'+u((n.lang||t&&t.lang||a).call(l,"options",{name:"lang",hash:{},data:r}))+'</p>\r\n\r\n<div class="mx-2 options">\r\n'+(null!=(i=n.each.call(l,null!=(i=null!=t?t.options:t)?i.reportOptions:i,{name:"each",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'</div>\r\n\r\n<div class="dropdown-divider"></div>\r\n<div class="mr-3">\r\n <button class="btn btn-primary w-100 mx-2 generate-report" disabled>'+u((n.lang||t&&t.lang||a).call(l,"generate",{name:"lang",hash:{},data:r}))+"</button>\r\n</div>"},useData:!0})},1336:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return'<div\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="'+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.generateReport:i,t))+' mr-2"\r\n>\r\n <div class="btn btn-link border px-2 my-2">\r\n '+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"generateReport",{name:"lang",hash:{},data:r}))+'\r\n </div>\r\n</div>\r\n<div class="options-region"></div>'},useData:!0})},1337:function(e,t,n){e.exports={generateReport:"_2PRgW"}},997:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){return" cursor-pointer"},3:function(e,t,n,o,r){return"checked"},5:function(e,t,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{};return'<div class="custom-control custom-checkbox '+a(l(null!=(i=null!=t?t.options:t)?i.checkboxClassName:i,t))+'">\r\n <input name="checkbox-'+a(l(null!=(i=null!=t?t.options:t)?i.id:i,t))+'" id="checkbox-'+a(l(null!=(i=null!=t?t.options:t)?i.id:i,t))+'" type="checkbox" class="custom-control-input'+(null!=(i=n.unless.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'" '+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.checked:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+" "+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+' />\r\n <label class="custom-control-label'+(null!=(i=n.unless.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'" for="checkbox-'+a(l(null!=(i=null!=t?t.options:t)?i.id:i,t))+'"> </label>\r\n</div>'},useData:!0})}}]);
|