@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
package/dist/scripts/49.chunk.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[49],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/library-editor/components/customer-logo/CustomerLogo.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, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;\n\n return \"<img src=\\\"\"\n + alias2(((helper = (helper = helpers.url || (depth0 != null ? depth0.url : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"url\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\\" class=\\\"\"\n + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\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 \"<a class=\\\"d-inline-flex align-items-center no-decoration \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.addCrest : stack1), depth0))\n + \"\\\" href=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.uploadLogoUrl : stack1), depth0))\n + \"\\\" target=\\\"_blank\\\">\\r\\n \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"crest\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n</a>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.url : depth0),{\"name\":\"if\",\"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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci9jb21wb25lbnRzL2N1c3RvbWVyLWxvZ28vQ3VzdG9tZXJMb2dvLmhicy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvbGlicmFyeS1lZGl0b3IvY29tcG9uZW50cy9jdXN0b21lci1sb2dvL0N1c3RvbWVyTG9nby5oYnMiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIEhhbmRsZWJhcnMgPSByZXF1aXJlKCdoYW5kbGViYXJzJyk7XG5tb2R1bGUuZXhwb3J0cyA9IChIYW5kbGViYXJzWydkZWZhdWx0J10gfHwgSGFuZGxlYmFycykudGVtcGxhdGUoe1wiMVwiOmZ1bmN0aW9uKGNvbnRhaW5lcixkZXB0aDAsaGVscGVycyxwYXJ0aWFscyxkYXRhKSB7XG4gICAgdmFyIHN0YWNrMSwgaGVscGVyLCBhbGlhczE9Y29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sxID0gaGVscGVyc1tcImlmXCJdLmNhbGwoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAgOiAoY29udGFpbmVyLm51bGxDb250ZXh0IHx8IHt9KSwoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAudXJsIDogZGVwdGgwKSx7XCJuYW1lXCI6XCJpZlwiLFwiaGFzaFwiOnt9LFwiZm5cIjpjb250YWluZXIucHJvZ3JhbSgxLCBkYXRhLCAwKSxcImludmVyc2VcIjpjb250YWluZXIucHJvZ3JhbSgzLCBkYXRhLCAwKSxcImRhdGFcIjpkYXRhfSkpICE9IG51bGwgPyBzdGFjazEgOiBcIlwiKTtcbn0sXCJ1c2VEYXRhXCI6dHJ1ZX0pOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/library-editor/components/customer-logo/CustomerLogo.hbs\n");
|
|
7
|
-
|
|
8
|
-
/***/ }),
|
|
9
|
-
|
|
10
|
-
/***/ "./src/apps/library-editor/components/customer-logo/CustomerLogoComponent.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__, \"CustomerLogoComponent\", function() { return CustomerLogoComponent; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_common_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/common/src/backbone/utils/UrlHelper.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/analytics/src/interfaces/index.ts\");\n/* harmony import */ var libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/analytics/src/AnalyticsHelper.ts\");\n/* harmony import */ var _CustomerLogo_hbs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"./src/apps/library-editor/components/customer-logo/CustomerLogo.hbs\");\n/* harmony import */ var _CustomerLogo_hbs__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_CustomerLogo_hbs__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _customer_logo_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"./src/apps/library-editor/components/customer-logo/customer-logo.scss\");\n/* harmony import */ var _customer_logo_scss__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_customer_logo_scss__WEBPACK_IMPORTED_MODULE_6__);\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\n\n\n\n\n\nvar CustomerLogoComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(CustomerLogoComponent, _Core$Component);\n\n var _super = _createSuper(CustomerLogoComponent);\n\n function CustomerLogoComponent(options) {\n _classCallCheck(this, CustomerLogoComponent);\n\n return _super.call(this, options);\n }\n\n _createClass(CustomerLogoComponent, [{\n key: \"name\",\n get: function get() {\n return 'CustomerLogoComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _CustomerLogo_hbs__WEBPACK_IMPORTED_MODULE_5___default.a;\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'libraryEditor.customerLogo';\n }\n }, {\n key: \"className\",\n get: function get() {\n return 'text-center p-3 position-relative';\n }\n }, {\n key: \"events\",\n value: function events() {\n return _defineProperty({}, \"click .\".concat(_customer_logo_scss__WEBPACK_IMPORTED_MODULE_6___default.a.addCrest), 'onClickAddLogo');\n }\n }, {\n key: \"onClickAddLogo\",\n value: function onClickAddLogo() {\n var analyticsOptions = {\n location: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_3__[\"LocationContext\"].LeftNav,\n actionType: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_3__[\"UserAction\"].Create,\n entity: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_3__[\"EntityType\"].Logo\n };\n libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_4__[\"AnalyticsHelper\"].logUserAction({}, analyticsOptions);\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n styles: _customer_logo_scss__WEBPACK_IMPORTED_MODULE_6___default.a,\n uploadLogoUrl: libs_common_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_1__[\"UrlHelper\"].safeUrlConcat(this.options.onlineUrl, shared_constants__WEBPACK_IMPORTED_MODULE_2__[\"OnlineUrls\"].UPLOAD_LOGO)\n };\n }\n }]);\n\n return CustomerLogoComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJy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QUlBO0FBNUNBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/library-editor/components/customer-logo/CustomerLogoComponent.ts\n");
|
|
15
|
-
|
|
16
|
-
/***/ }),
|
|
17
|
-
|
|
18
|
-
/***/ "./src/apps/library-editor/components/customer-logo/customer-logo.scss":
|
|
19
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
20
|
-
|
|
21
|
-
eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"image\":\"cv--image--Cz1y1\",\"addCrest\":\"cv--addCrest--2PAV_\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci9jb21wb25lbnRzL2N1c3RvbWVyLWxvZ28vY3VzdG9tZXItbG9nby5zY3NzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL2NsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci9jb21wb25lbnRzL2N1c3RvbWVyLWxvZ28vY3VzdG9tZXItbG9nby5zY3NzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxubW9kdWxlLmV4cG9ydHMgPSB7XCJpbWFnZVwiOlwiY3YtLWltYWdlLS1DejF5MVwiLFwiYWRkQ3Jlc3RcIjpcImN2LS1hZGRDcmVzdC0tMlBBVl9cIn07Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/library-editor/components/customer-logo/customer-logo.scss\n");
|
|
22
|
-
|
|
23
|
-
/***/ }),
|
|
24
|
-
|
|
25
|
-
/***/ "./src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.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__, \"LeftNavLibraryViewModelPrefix\", function() { return LeftNavLibraryViewModelPrefix; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LeftNavLibrariesComponent\", function() { return LeftNavLibrariesComponent; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/common/src/backbone/services/InstanceManager.ts\");\n/* harmony import */ var libs_shared_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/shared/src/utils/SvgHelper.ts\");\n/* harmony import */ var shared_components_left_nav_LeftNavComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/shared/components/left-nav/LeftNavComponent.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var apps_library_editor_components_video_collection_actions_VideoCollectionActionsComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"./src/apps/library-editor/components/video-collection-actions/VideoCollectionActionsComponent.ts\");\n/* harmony import */ var _LeftNavLibrary_hbs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"./src/apps/library-editor/components/left-nav-libraries/LeftNavLibrary.hbs\");\n/* harmony import */ var _LeftNavLibrary_hbs__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_LeftNavLibrary_hbs__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var apps_library_editor_components_library_actions_LibraryActionsComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"./src/apps/library-editor/components/library-actions/LibraryActionsComponent.ts\");\n/* harmony import */ var shared_components_left_nav_left_nav_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"./src/shared/components/left-nav/left-nav.scss\");\n/* harmony import */ var shared_components_left_nav_left_nav_scss__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(shared_components_left_nav_left_nav_scss__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var shared_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"./src/shared/utils/index.ts\");\n/* harmony import */ var libs_common_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"../../libs/common/src/backbone/services/ViewModelService.ts\");\n/* harmony import */ var apps_library_editor_behaviors_droppable_DroppableBehavior__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"./src/apps/library-editor/behaviors/droppable/DroppableBehavior.ts\");\n/* harmony import */ var libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\"../../libs/analytics/src/interfaces/index.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 _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\nvar LeftNavLibraryViewModelPrefix = 'library:left:nav';\n\nvar LeftNavLibraryComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(LeftNavLibraryComponent, _Core$Component);\n\n var _super = _createSuper(LeftNavLibraryComponent);\n\n function LeftNavLibraryComponent(options) {\n _classCallCheck(this, LeftNavLibraryComponent);\n\n return _super.call(this, options);\n }\n\n _createClass(LeftNavLibraryComponent, [{\n key: \"initialize\",\n value: function initialize() {\n var open = this.options.forceOpen || this.options.libraryId && this.model.get('id').toString() === this.options.libraryId.toString();\n this.viewModel = libs_common_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_10__[\"ViewModelService\"].get(\"\".concat(LeftNavLibraryViewModelPrefix, \":\").concat(this.model.get('id')));\n this.viewModel.set('open', open);\n this.viewModel.set('disabled', false);\n this.listenTo(this.model, 'change:name', this.render);\n\n if (this.options.hasMultipleLibraries) {\n this.listenTo(this, 'open:sub:folders', this.onOpenSubFolders);\n }\n\n this.videoDragDropService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"Services\"].VideoDragDrop, this);\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'LeftNavLibraryComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _LeftNavLibrary_hbs__WEBPACK_IMPORTED_MODULE_6___default.a;\n }\n }, {\n key: \"className\",\n get: function get() {\n return shared_components_left_nav_left_nav_scss__WEBPACK_IMPORTED_MODULE_8___default.a.libraryContainer;\n }\n }, {\n key: \"behaviors\",\n get: function get() {\n var channelNames = [shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"ServiceChannels\"].FOLDER_DRAG_DROP];\n if (this.options.hasMultipleLibraries) channelNames.push(shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"ServiceChannels\"].VIDEO_DRAG_DROP);\n return [{\n behaviorClass: apps_library_editor_behaviors_droppable_DroppableBehavior__WEBPACK_IMPORTED_MODULE_11__[\"DroppableBehavior\"],\n ui: 'anchor',\n channelNames: channelNames,\n analyticsOptions: {\n location: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_12__[\"LocationContext\"].LeftNav\n }\n }];\n }\n }, {\n key: \"regions\",\n value: function regions() {\n return {\n folders: {\n el: '.folders-region',\n replaceElement: true\n },\n actions: {\n el: '.actions-region',\n replaceElement: true\n }\n };\n }\n }, {\n key: \"appLinks\",\n get: function get() {\n return {\n '.ui-anchor': {\n application: shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"AppChannels\"].LIBRARY_EDITOR,\n action: shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"Actions\"].LibraryEditor.LIBRARY,\n args: [this.model.get('id')]\n }\n };\n }\n }, {\n key: \"events\",\n value: function events() {\n return {\n 'click .library-event': 'onClick'\n };\n }\n }, {\n key: \"elements\",\n get: function get() {\n return {\n anchor: '.ui-anchor',\n text: '.ui-text'\n };\n }\n }, {\n key: \"onClick\",\n value: function onClick(event) {\n if (!this.viewModel.get('open')) return;\n /**\r\n * This stops the appLink from triggering\r\n * because we're already on the view in question\r\n */\n\n event.stopImmediatePropagation();\n /**\r\n * And then we need to prevent default\r\n * because the appLink handler does that normally.\r\n */\n\n event.preventDefault();\n this.viewModel.set('open', !this.viewModel.get('open'));\n this.render();\n }\n }, {\n key: \"onOpenSubFolders\",\n value: function onOpenSubFolders() {\n var disabledLibraryIds = this.videoDragDropService.getDisabledLibraryIds();\n\n if (disabledLibraryIds.includes(this.model.get('id'))) {\n this.viewModel.set('disabled', true);\n this.render();\n return;\n }\n\n this.viewModel.set('open', true);\n this.render();\n }\n }, {\n key: \"hasFolders\",\n value: function hasFolders() {\n var firstFolder = shared_utils__WEBPACK_IMPORTED_MODULE_9__[\"FolderTreeHelpers\"].getFirstType(this.model.children, 'category');\n return !!firstFolder;\n }\n }, {\n key: \"analyticsOptions\",\n get: function get() {\n return {\n location: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_12__[\"LocationContext\"].LeftNav\n };\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n styles: shared_components_left_nav_left_nav_scss__WEBPACK_IMPORTED_MODULE_8___default.a,\n caretSvg: libs_shared_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__[\"SvgHelper\"].getSvg(libs_shared_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_2__[\"cvSvgLibrary\"].Caret),\n open: this.viewModel.get('open'),\n hasFolders: this.hasFolders(),\n disabled: this.viewModel.get('disabled')\n };\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n this.showChildView('actions', new apps_library_editor_components_library_actions_LibraryActionsComponent__WEBPACK_IMPORTED_MODULE_7__[\"LibraryActionsComponent\"]({\n model: this.model,\n extraClasses: \"rounded-circle mr-1 \".concat(shared_components_left_nav_left_nav_scss__WEBPACK_IMPORTED_MODULE_8___default.a.actions),\n buttonClass: 'text-muted',\n analyticsOptions: this.analyticsOptions\n }));\n if (!this.model.children || !this.model.children.length || !this.viewModel.get('open')) return;\n this.showChildView('folders', new shared_components_left_nav_LeftNavComponent__WEBPACK_IMPORTED_MODULE_3__[\"LeftNavComponent\"]({\n appLink: {\n action: shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"Actions\"].LibraryEditor.FOLDER,\n application: shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"AppChannels\"].LIBRARY_EDITOR\n },\n linkArgs: function linkArgs(model) {\n return [model.get('id')];\n },\n collection: this.model.children,\n channelName: \"\".concat(this.cid),\n childrenProperty: 'children',\n actions: apps_library_editor_components_video_collection_actions_VideoCollectionActionsComponent__WEBPACK_IMPORTED_MODULE_5__[\"VideoCollectionActionsComponent\"],\n folderTreeId: this.options.folderTreeId,\n analyticsOptions: this.analyticsOptions\n }));\n }\n }]);\n\n return LeftNavLibraryComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Component);\n\nvar LeftNavLibrariesComponent = /*#__PURE__*/function (_Core$ComponentCollec) {\n _inherits(LeftNavLibrariesComponent, _Core$ComponentCollec);\n\n var _super2 = _createSuper(LeftNavLibrariesComponent);\n\n function LeftNavLibrariesComponent(options) {\n _classCallCheck(this, LeftNavLibrariesComponent);\n\n return _super2.call(this, options);\n }\n\n _createClass(LeftNavLibrariesComponent, [{\n key: \"name\",\n get: function get() {\n return 'LeftNavLibrariesComponent';\n }\n }, {\n key: \"childView\",\n get: function get() {\n return LeftNavLibraryComponent;\n }\n }, {\n key: \"childViewOptions\",\n get: function get() {\n return {\n channelName: this.options.channelName,\n libraryId: this.options.libraryId,\n folderTreeId: this.options.folderTreeId,\n forceOpen: this.options.forceOpen,\n hasMultipleLibraries: this.collection.length > 1\n };\n }\n }]);\n\n return LeftNavLibrariesComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].ComponentCollection);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci9jb21wb25lbnRzL2xlZnQtbmF2LWxpYnJhcmllcy9MZWZ0TmF2TGlicmFyaWVzQ29tcG9uZW50LnRzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL2NsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci9jb21wb25lbnRzL2xlZnQtbmF2LWxpYnJhcmllcy9MZWZ0TmF2TGlicmFyaWVzQ29tcG9uZW50LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvcmUgfSBmcm9tICdsaWJzL2NvbW1vbi9jb3JlJztcclxuaW1wb3J0IHsgSW5zdGFuY2VNYW5hZ2VyIH0gZnJvbSAnbGlicy9jb21tb24vYmFja2JvbmUvc2VydmljZXMvSW5zdGFuY2VNYW5hZ2VyJztcclxuaW1wb3J0IHsgT2JqZWN0SGFzaCB9IGZyb20gJ2JhY2tib25lJztcclxuaW1wb3J0IHsgU3ZnSGVscGVyLCBjdlN2Z0xpYnJhcnkgfSBmcm9tICdsaWJzL3NoYXJlZC91dGlscy9TdmdIZWxwZXInO1xyXG5cclxuaW1wb3J0IHsgTGVm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0FBNktBO0FBQUE7QUFDQTtBQURBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFEQTtBQUVBO0FBQ0E7QUFOQTtBQUFBO0FBQUE7QUFRQTtBQUNBO0FBVEE7QUFBQTtBQUFBO0FBWUE7QUFDQTtBQWJBO0FBQUE7QUFBQTtBQWdCQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFMQTtBQU9BO0FBdkJBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.ts\n");
|
|
30
|
-
|
|
31
|
-
/***/ }),
|
|
32
|
-
|
|
33
|
-
/***/ "./src/apps/library-editor/components/left-nav-libraries/LeftNavLibrary.hbs":
|
|
34
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
35
|
-
|
|
36
|
-
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 container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.disabled : stack1), depth0));\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selected : stack1), depth0));\n},\"5\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda;\n\n return \" <span class=\\\"\"\n + container.escapeExpression(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.caret : stack1), depth0))\n + \" d-inline-block position-absolute\\\">\\r\\n \"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.caretSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n </span>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div class=\\\"position-relative border-bottom \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.library : stack1), depth0))\n + \" \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.disabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\\r\\n <a class=\\\"position-relative library-event \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.libraryAnchor : stack1), depth0))\n + \" \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.open : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" ui-anchor no-hover-text-underline\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.hasFolders : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.text : stack1), depth0))\n + \" ui-text\\\">\"\n + alias3(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(alias4,{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"</span>\\r\\n </a>\\r\\n <div class=\\\"actions-region\\\"></div>\\r\\n</div>\\r\\n<div class=\\\"folders-region\\\"></div>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci9jb21wb25lbnRzL2xlZnQtbmF2LWxpYnJhcmllcy9MZWZ0TmF2TGlicmFyeS5oYnMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9hcHBzL2xpYnJhcnktZWRpdG9yL2NvbXBvbmVudHMvbGVmdC1uYXYtbGlicmFyaWVzL0xlZnROYXZMaWJyYXJ5LmhicyJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgSGFuZGxlYmFycyA9IHJlcXVpcmUoJ2hhbmRsZWJhcnMnKTtcbm1vZHVsZS5leHBvcnRzID0gKEhhbmRsZWJhcnNbJ2RlZmF1bHQnXSB8fCBIYW5kbGViYXJzKS50ZW1wbGF0ZSh7XCIxXCI6ZnVuY3Rpb24oY29udGFpbmVyLGRlcHRoMCxoZWxwZXJzLHBhcnRpYWxzLGRhdGEpIHtcbiAgICB2YXIgc3RhY2sxLCBhbGlhczE9Y29udGFpbmVyLnByb3BlcnR5SXNFbnVtZXJhYmxlO1xuXG4gIHJldHVybiBjb250YWluZXIuZXNjYXBlRXhwcmVzc2lvbihjb250YWluZXIubGFtYmRhKCgoc3RhY2sxID0gKChzdGFjazEgPSAoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAub3B0aW9ucyA6IGRlcHRoMCkpICE9IG51bGwgPyBzdGFjazEuc3R5bGVzIDogc3RhY2sxKS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J1c2VEYXRhXCI6dHJ1ZX0pOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/library-editor/components/left-nav-libraries/LeftNavLibrary.hbs\n");
|
|
37
|
-
|
|
38
|
-
/***/ }),
|
|
39
|
-
|
|
40
|
-
/***/ "./src/apps/library-editor/views/left-navigation/LeftNavigation.handlebars":
|
|
41
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
42
|
-
|
|
43
|
-
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, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.addLibraryContainer : stack1), depth0))\n + \"\\\">\\r\\n <button class=\\\"applink-new-library btn btn-outline-secondary \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.addLibrary : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.plus : stack1), depth0))\n + \" d-inline-block position-absolute\\\">\\r\\n \"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.plusSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n </span>\\r\\n \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"newLibrary\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n </button>\\r\\n</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"<div class=\\\"logo-region\\\"></div>\\r\\n<div class=\\\"folder-tree-region\\\"></div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.canCreateLibraries : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9sZWZ0LW5hdmlnYXRpb24vTGVmdE5hdmlnYXRpb24uaGFuZGxlYmFycy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvbGlicmFyeS1lZGl0b3Ivdmlld3MvbGVmdC1uYXZpZ2F0aW9uL0xlZnROYXZpZ2F0aW9uLmhhbmRsZWJhcnMiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIEhhbmRsZWJhcnMgPSByZXF1aXJlKCdoYW5kbGViYXJzJyk7XG5tb2R1bGUuZXhwb3J0cyA9IChIYW5kbGViYXJzWydkZWZhdWx0J10gfHwgSGFuZGxlYmFyc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ZGl2PlxcclxcblwiXG4gICAgKyAoKHN0YWNrMSA9IGhlbHBlcnNbXCJpZlwiXS5jYWxsKGRlcHRoMCAhPSBudWxsID8gZGVwdGgwIDogKGNvbnRhaW5lci5udWxsQ29udGV4dCB8fCB7fSksKChzdGFjazEgPSAoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAub3B0aW9ucyA6IGRlcHRoMCkpICE9IG51bGwgPyBzdGFjazEuY2FuQ3JlYXRlTGlicmFyaWVzIDogc3RhY2sxKSx7XCJuYW1lXCI6XCJpZlwiLFwiaGFzaFwiOnt9LFwiZm5cIjpjb250YWluZXIucHJvZ3JhbSgxLCBkYXRhLCAwKSxcImludmVyc2VcIjpjb250YWluZXIubm9vcCxcImRhdGFcIjpkYXRhfSkpICE9IG51bGwgPyBzdGFjazEgOiBcIlwiKTtcbn0sXCJ1c2VEYXRhXCI6dHJ1ZX0pOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/library-editor/views/left-navigation/LeftNavigation.handlebars\n");
|
|
44
|
-
|
|
45
|
-
/***/ }),
|
|
46
|
-
|
|
47
|
-
/***/ "./src/apps/library-editor/views/left-navigation/LeftNavigationView.ts":
|
|
48
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
49
|
-
|
|
50
|
-
"use strict";
|
|
51
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LeftNavigationView\", function() { return LeftNavigationView; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_shared_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/shared/src/utils/SvgHelper.ts\");\n/* harmony import */ var libs_shared_enums_SettingName__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/shared/src/enums/SettingName.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var apps_library_editor_services_LibraryDataService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/apps/library-editor/services/LibraryDataService.ts\");\n/* harmony import */ var _LeftNavigation_handlebars__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"./src/apps/library-editor/views/left-navigation/LeftNavigation.handlebars\");\n/* harmony import */ var _LeftNavigation_handlebars__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_LeftNavigation_handlebars__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var apps_library_editor_components_left_nav_libraries_LeftNavLibrariesComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"./src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.ts\");\n/* harmony import */ var _left_navigation_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"./src/apps/library-editor/views/left-navigation/left-navigation.scss\");\n/* harmony import */ var _left_navigation_scss__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_left_navigation_scss__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"../../libs/common/src/backbone/services/InstanceManager.ts\");\n/* harmony import */ var shared_constants_Services__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"./src/shared/constants/Services.ts\");\n/* harmony import */ var shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"./src/shared/services/UserDataService.ts\");\n/* harmony import */ var shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"./src/shared/services/ConfigDataService.ts\");\n/* harmony import */ var libs_common_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\"../../libs/common/src/backbone/services/ViewModelService.ts\");\n/* harmony import */ var shared_enums__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(\"./src/shared/enums/index.ts\");\n/* harmony import */ var shared_constants_FolderTreeIds__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(\"./src/shared/constants/FolderTreeIds.ts\");\n/* harmony import */ var apps_library_editor_components_customer_logo_CustomerLogoComponent__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(\"./src/apps/library-editor/components/customer-logo/CustomerLogoComponent.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 _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 LeftNavigationView = /*#__PURE__*/function (_Core$View) {\n _inherits(LeftNavigationView, _Core$View);\n\n var _super = _createSuper(LeftNavigationView);\n\n function LeftNavigationView(options) {\n _classCallCheck(this, LeftNavigationView);\n\n return _super.call(this, options);\n }\n\n _createClass(LeftNavigationView, [{\n key: \"initialize\",\n value: function initialize() {\n this.bindListeners();\n this.settingsDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_8__[\"InstanceManager\"].getInstance(shared_constants_Services__WEBPACK_IMPORTED_MODULE_9__[\"DataServices\"].Settings, this);\n }\n }, {\n key: \"bindListeners\",\n value: function bindListeners() {\n this.listenTo(this.channelName, 'select:library', this.onSelectLibrary);\n this.listenTo(shared_constants__WEBPACK_IMPORTED_MODULE_3__[\"DataChannels\"].LIBRARY, 'cache:cleared', this.fetchData);\n this.listenTo(shared_constants__WEBPACK_IMPORTED_MODULE_3__[\"ServiceChannels\"].FOLDER_DRAG_DROP, 're:render:left:nav', this.render);\n this.listenTo(shared_constants__WEBPACK_IMPORTED_MODULE_3__[\"DataChannels\"].SETTINGS, \"\".concat(shared_constants__WEBPACK_IMPORTED_MODULE_3__[\"DataPrefixes\"].SETTINGS, \":sync\"), this.render);\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'LeftNavigationView';\n }\n }, {\n key: \"title\",\n get: function get() {\n return false;\n }\n }, {\n key: \"channelName\",\n get: function get() {\n return \"\".concat(this.name).concat(this.cid);\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'libraryEditor.leftNavigation';\n }\n }, {\n key: \"className\",\n get: function get() {\n return 'bg-white pb-3';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _LeftNavigation_handlebars__WEBPACK_IMPORTED_MODULE_5___default.a;\n }\n }, {\n key: \"regions\",\n value: function regions() {\n return {\n logo: {\n el: '.logo-region',\n replaceElement: false\n },\n folderTree: {\n el: '.folder-tree-region',\n replaceElement: false,\n partialLoading: shared_enums__WEBPACK_IMPORTED_MODULE_13__[\"PartialLoading\"].LeftNav\n }\n };\n }\n }, {\n key: \"events\",\n value: function events() {\n return {\n 'click .new-folder': 'newFolder'\n };\n }\n }, {\n key: \"appLinks\",\n get: function get() {\n return {\n '.applink-new-library': {\n application: shared_constants__WEBPACK_IMPORTED_MODULE_3__[\"AppChannels\"].LIBRARY_EDITOR,\n action: shared_constants__WEBPACK_IMPORTED_MODULE_3__[\"Actions\"].LibraryEditor.NEW_LIBRARY\n }\n };\n }\n }, {\n key: \"fetchData\",\n value: function fetchData() {\n this.maxCustomLibraries = this.settingsDataService.getSetting(this.currentUser.get('customerId'), libs_shared_enums_SettingName__WEBPACK_IMPORTED_MODULE_2__[\"SettingName\"].MaxCustomLibraries);\n }\n }, {\n key: \"onSelectLibrary\",\n value: function onSelectLibrary(libraryId) {\n this.collection.each(function (library) {\n var viewModel = libs_common_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_12__[\"ViewModelService\"].get(\"\".concat(apps_library_editor_components_left_nav_libraries_LeftNavLibrariesComponent__WEBPACK_IMPORTED_MODULE_6__[\"LeftNavLibraryViewModelPrefix\"], \":\").concat(library.id));\n viewModel.set('open', library.id.toString() === libraryId);\n });\n this.render();\n }\n }, {\n key: \"renderLogo\",\n value: function renderLogo() {\n this.showChildView('logo', new apps_library_editor_components_customer_logo_CustomerLogoComponent__WEBPACK_IMPORTED_MODULE_15__[\"CustomerLogoComponent\"]({\n model: this.currentUser.get('customerLogo'),\n customerId: this.currentUser.get('customerId'),\n onlineUrl: this.config.get('onlineUrl')\n }));\n }\n }, {\n key: \"renderLeftNav\",\n value: function renderLeftNav() {\n var leftNavComponent = new apps_library_editor_components_left_nav_libraries_LeftNavLibrariesComponent__WEBPACK_IMPORTED_MODULE_6__[\"LeftNavLibrariesComponent\"]({\n collection: this.collection,\n channelName: this.channelName,\n libraryId: this.options.libraryId,\n folderTreeId: shared_constants_FolderTreeIds__WEBPACK_IMPORTED_MODULE_14__[\"FolderTreeIds\"].LIBRARY_EDITOR,\n forceOpen: this.collection.length === 1\n });\n this.showChildView('folderTree', leftNavComponent);\n }\n }, {\n key: \"requiredResources\",\n get: function get() {\n return {\n currentUser: shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_10__[\"UserDataServiceHelper\"].currentUser,\n config: shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_11__[\"ConfigDataServiceHelper\"].config,\n collection: apps_library_editor_services_LibraryDataService__WEBPACK_IMPORTED_MODULE_4__[\"LibraryDataServiceHelper\"].libraries\n };\n }\n }, {\n key: \"onBeforeRender\",\n value: function onBeforeRender() {\n this.fetchData();\n return !!this.maxCustomLibraries;\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n if (!this.collection) return;\n return {\n styles: _left_navigation_scss__WEBPACK_IMPORTED_MODULE_7___default.a,\n plusSvg: libs_shared_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_1__[\"SvgHelper\"].getSvg(libs_shared_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_1__[\"cvSvgLibrary\"].Plus),\n canCreateLibraries: this.maxCustomLibraries ? this.maxCustomLibraries.get('value') > this.collection.length : false\n };\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n this.renderLogo();\n this.renderLeftNav();\n }\n }]);\n\n return LeftNavigationView;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].View);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9sZWZ0LW5hdmlnYXRpb24vTGVmdE5hdmlnYXRpb25WaWV3LnRzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL2NsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9sZWZ0LW5hdmlnYXRpb24vTGVmdE5hdmlnYXRpb25WaWV3LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE9iamVjdEhhc2ggfSBmcm9tICdiYWNrYm9uZSc7XHJcblxyXG5pbXBvcnQgeyBDb3JlIH0gZnJvbSAnbGlicy9jb21tb24vY29yZSc7XHJcbmltcG9ydCB7IFN2Z0hlbHBlciwgY3ZTdmdMaWJyYXJ5IH0gZnJvbSAnbGlicy9zaGFyZWQvdXRpbHMvU3ZnSGVscGVyJztcclxuaW1wb3J0IHsgU2V0dGluZ05hbWUgfSBmcm9tICdsaWJzL3NoYXJlZC9lbnVtcy9TZXR0aW5nTmFtZSc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0=\n//# sourceURL=webpack-internal:///./src/apps/library-editor/views/left-navigation/LeftNavigationView.ts\n");
|
|
52
|
-
|
|
53
|
-
/***/ }),
|
|
54
|
-
|
|
55
|
-
/***/ "./src/apps/library-editor/views/left-navigation/left-navigation.scss":
|
|
56
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
57
|
-
|
|
58
|
-
eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"addLibrary\":\"cv--addLibrary--1O42p\",\"addLibraryContainer\":\"cv--addLibraryContainer--1HX0v\",\"plus\":\"cv--plus--3aHT2\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9saWJyYXJ5LWVkaXRvci92aWV3cy9sZWZ0LW5hdmlnYXRpb24vbGVmdC1uYXZpZ2F0aW9uLnNjc3MuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9hcHBzL2xpYnJhcnktZWRpdG9yL3ZpZXdzL2xlZnQtbmF2aWdhdGlvbi9sZWZ0LW5hdmlnYXRpb24uc2NzcyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbm1vZHVsZS5leHBvcnRzID0ge1wiYWRkTGlicmFyeVwiOlwiY3YtLWFkZExpYnJhcnktLTFPNDJwXCIsXCJhZGRMaWJyYXJ5Q29udGFpbmVyXCI6XCJjdi0tYWRkTGlicmFyeUNvbnRhaW5lci0tMUhYMHZcIixcInBsdXNcIjpcImN2LS1wbHVzLS0zYUhUMlwifTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/apps/library-editor/views/left-navigation/left-navigation.scss\n");
|
|
59
|
-
|
|
60
|
-
/***/ })
|
|
61
|
-
|
|
62
|
-
}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[5],{1238:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var o=n(2),i=n(0),r=n(12),a=n(1400),s=n.n(a),l=n(1401),c=n.n(l);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=y(t);if(e){var i=y(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(l,t);var e,n,o,a=h(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,t)}return e=l,(n=[{key:"events",value:function(){var t,e,n,o=Object.keys(this.appLinks),i=(t={},e="click .".concat(c.a.sourceLabel),n="onClick",e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t);return o.forEach((function(t){i["click ".concat(t)]="onClick"})),i}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"getFolderLinks",value:function(){var t=this,e=this.model.get("categories");if(null==e?void 0:e.length){var n={};return e.forEach((function(e){var o=t.options.highlight?r.v.wordsHighlighter(r.v.escapeExpression(e.get("name")),t.model.get("_matchedWords")):r.v.escapeExpression(e.get("name"));n[e.get("id")]=o})),Object.keys(n).map((function(t){return'<a class="info-link applink-folder-'.concat(t,'">').concat(n[t],"</a>")})).join(", ")}}},{key:"onBeforeRender",value:function(){var t;return this.options.showFolder&&(null===(t=this.model.get("categories"))||void 0===t?void 0:t.length)}},{key:"viewOptions",value:function(){return{styles:c.a,folderCount:this.model.get("categories").length,folders:this.options.showFolder&&this.getFolderLinks(),hideLabel:this.options.hideLabel}}},{key:"name",get:function(){return"VideoSourcesMetadataComponent"}},{key:"template",get:function(){return s.a}},{key:"lang",get:function(){return"shared.videoSourcesMetadata"}},{key:"defaults",get:function(){return{showFolder:!1,highlight:!1}}},{key:"appLinks",get:function(){var t;return this.options.showFolder&&(null===(t=this.model.get("categories"))||void 0===t?void 0:t.length)?this.model.get("categories").reduce((function(t,e){return t[".applink-folder-".concat(e.get("id"))]={application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.FOLDER,args:[e.get("id")]},t}),{}):{}}}])&&p(e.prototype,n),o&&p(e,o),l}(o.a.Component)},1254:function(t,e,n){"use strict";var o=n(2),i=n(20),r=n(6),a=n(0),s=n(292),l=n(1323),c=n.n(l),u=n(1324),p=n.n(u);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=m(t);if(e){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(l,t);var e,n,o,i=y(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),i.call(this,t)}return e=l,(n=[{key:"events",value:function(){return this.options.removeEvent?{"click @ui.close":"onRemoveTag"}:{click:"onClickTag"}}},{key:"initialize",value:function(){this.options.behavior===s.b.Edit&&this.listenTo(this.model,"change",this.render)}},{key:"isSaving",value:function(){if(this.options.behavior!==s.b.Filter){var t=this.model.pick("id","name","remove"),e=t.id,n=t.name;return!!t.remove||!e||!n}}},{key:"onRemoveTag",value:function(t){if(t.stopPropagation(),!this.isSaving())return this.model.set("remove",!0),r.Radio.channel(this.options.channelName).trigger(this.options.removeEvent,this.model),!1}},{key:"onClickTag",value:function(){this.options.behavior!==s.b.Filter||this.options.removeEvent||r.Radio.channel(this.options.channelName).trigger(this.options.clickEvent,this.model)}},{key:"viewOptions",value:function(){return{removable:this.options.removeEvent}}},{key:"onRender",value:function(){this.resetClassName()}},{key:"name",get:function(){return"TagItemComponent"}},{key:"tagName",get:function(){return this.options.behavior===s.b.Link?"a":"span"}},{key:"className",get:function(){var t="".concat(this.options.orientation===s.c.Vertical?"":" d-inline-flex"),e="".concat(this.isSaving()?" saving":""),n="".concat(this.options.behavior===s.b.Disabled?" ".concat(p.a.disabled):""),o="".concat(this.options.behavior===s.b.Filter?" cursor-pointer":"");return"badge-pill tag py-1 px-2 my-1 mr-1".concat(o).concat(t).concat(e).concat(n)}},{key:"template",get:function(){return c.a}},{key:"elements",get:function(){return{close:".close"}}},{key:"appLinks",get:function(){return this.options.behavior!==s.b.Link?{}:{"[this]":{application:a.b.SEARCH,action:a.a.Search.HOME,params:{tag:this.model.get("name")}}}}},{key:"defaults",get:function(){return{behavior:s.b.Link,orientation:s.c.Flex}}}])&&h(e.prototype,n),o&&h(e,o),l}(o.a.Component);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return C}));var C=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(l,t);var e,n,r,a=w(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,t)}return e=l,(n=[{key:"initialize",value:function(){this.options.behavior!==s.b.Edit||this.options.removeEvent||o.a.ErrorHelper.throw(new i.a("removeEvent is required to edit tags."))}},{key:"name",get:function(){return"TagComponentCollection"}},{key:"defaults",get:function(){return{orientation:s.c.Flex}}},{key:"className",get:function(){var t="".concat(this.options.orientation===s.c.Vertical?" d-flex align-items-start flex-column":"");return"tags".concat(t)}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,behavior:this.options.behavior,orientation:this.options.orientation,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}}},{key:"childView",get:function(){return b}}])&&k(e.prototype,n),r&&k(e,r),l}(o.a.ComponentCollection)},1292:function(t,e,n){"use strict";var o=n(2),i=n(81),r=n(4),a=n(42),s=n(15),l=n(1),c=n(133),u=n(1404),p=n.n(u),f=n(1381),h=n.n(f);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],o=!0,i=!1,r=void 0;try{for(var a,s=t[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);o=!0);}catch(t){i=!0,r=t}finally{try{o||null==s.return||s.return()}finally{if(i)throw r}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function v(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function k(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){k(n,t);var e=w(n);function n(t){return m(this,n),e.call(this,t)}return v(n,[{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(){this.logAction()}},{key:"logAction",value:function(){var t=this.model.get("appLink");if(l.isObject(t)){var e=y(t.args,1)[0];a.a.logUserAction({id:e},this.model.get("analyticsOptions"))}}},{key:"viewOptions",value:function(){return{styles:h.a,showLabel:this.options.showLabel,additionalClassName:this.model.get("isDisabled")?"disabled":"cursor-pointer"}}},{key:"name",get:function(){return"VideoActionItemComponent"}},{key:"template",get:function(){return p.a}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){if(!this.model.get("href"))return{}}},{key:"className",get:function(){var t="d-inline-block px-1 no-decoration";return this.model.get("isDisabled")&&(t+=" ".concat(h.a.disabled)),t}},{key:"behaviors",get:function(){var t=(!this.options.showLabel||this.options.model.get("isDisabled"))&&this.options.model.get("tooltipText");if(t)return[{behaviorClass:c.a,title:t}]}},{key:"appLinks",get:function(){return!this.model.get("appLink")||this.model.get("isDisabled")?{}:{"[this]":this.model.get("appLink")}}}]),n}(o.a.Component),_=function(t){k(n,t);var e=w(n);function n(t){return m(this,n),e.call(this,t)}return v(n,[{key:"name",get:function(){return"VideoActionsComponentCollection"}},{key:"childView",get:function(){return C}},{key:"childViewOptions",get:function(){return{showLabel:this.options.showActionLabels}}}]),n}(o.a.ComponentCollection),A=n(1231),P=n(0),T=n(12),j=n(3),D=n(292),L=n(1405),R=n.n(L);function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function V(t,e){return(V=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=U(t);if(e){var i=U(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return M(this,n)}}function M(t,e){return!e||"object"!==x(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return F}));var F=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V(t,e)}(u,t);var e,n,l,c=N(u);function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),c.call(this,t)}return e=u,(n=[{key:"regions",value:function(){return{actions:{el:".actions-region"},moreActions:{el:"@ui.moreActions",replaceElement:!1}}}},{key:"events",value:function(){return{click:"onClick","click @ui.dropdownToggle":"onClickMore","click @ui.moreActions":"onClickMore"}}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"onClickMore",value:function(){this.renderMoreActions(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"getActions",value:function(){return new o.a.Collection([{title:j.a.getPhrase(this.lang,"share"),svg:s.a.getSvg(s.b.Share),isDisabled:!T.j.canShareVideo(this.model,this.options.application),tooltipText:T.j.canShareVideo(this.model,this.options.application)?j.a.getPhrase(this.lang,"share"):T.j.getSharePermissionsMessage(this.model,this.options.application),appLink:{application:this.options.application,action:P.a.Shared.SHARE_VIDEO,args:[this.model.get("id")]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.Share})},{title:j.a.getPhrase(this.lang,"edit"),svg:T.j.canEditVideo(this.model)?s.a.getSvg(s.b.Edit):s.a.getSvg(s.b.EditClickView),tooltipText:this.getEditTooltip(),appLink:{application:P.b.LIBRARY_EDITOR,action:P.a.LibraryEditor.EDIT_VIDEO,args:[this.model.get("id")]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.Edit,workflowPhase:r.WorkflowPhase.Start})}])}},{key:"getEditTooltip",value:function(){return T.j.canEditVideo(this.model)?j.a.getPhrase(this.lang,"edit"):T.x.isExchangeVideo(this.model)?j.a.getPhrase(this.lang,"linkedToExchange"):j.a.getPhrase(this.lang,"linkedToCv")}},{key:"getFolderSourceId",value:function(){return this.options.collectionSource===D.d.Folder?this.options.collectionIdentifier.id:this.model.get("categories").first().get("id")}},{key:"getMoreActions",value:function(){var t=[];this.options.collectionIdentifier&&t.push({title:j.a.getPhrase(this.lang,"move"),appLink:{application:this.options.application,action:P.a.Shared.MOVE_VIDEOS,args:[this.model.get("id").toString(),this.getFolderSourceId()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.Move,descriptor:r.OperationDescriptor.Single,workflowPhase:r.WorkflowPhase.Start})}),t.push({title:j.a.getPhrase(this.lang,"manageAccess"),appLink:{application:this.options.application,action:P.a.Shared.MANAGE_VIDEO_ACCESS,args:[this.model.get("id").toString()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.SetAccess,workflowPhase:r.WorkflowPhase.Start})}),this.options.application===P.b.CONTENT_UPDATES&&this.options.customerHasCustomLibrary&&t.push({title:j.a.getPhrase(this.lang,"addToLibrary"),appLink:{application:this.options.application,action:P.a.ContentUpdates.ADD_TO_LIBRARY,args:[this.model.get("id").toString()]}});var e=i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"videos/".concat(this.model.get("id")));if(t.push({title:j.a.getPhrase(this.lang,"openInStaffView"),href:i.a.urlBuilder(e,{loginPrompt:!1}),external:!0,icon:s.a.getSvg(s.b.NewWindow),analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.Click,descriptor:r.ClickDescriptor.OpenInStaffView})}),this.options.application!==P.b.CONTENT_UPDATES){var n=T.j.canDownloadVideo(this.model);t.push({title:j.a.getPhrase(this.lang,"download"),disabled:!n,classes:n?"":"".concat(h.a.disabled),tooltip:n?null:{title:j.a.getPhrase(this.lang,"cannotDownload"),placement:"left"},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.Download}),appLink:n?{application:this.options.application,action:P.a.Shared.DOWNLOAD_VIDEO,args:[this.model.id.toString()]}:null})}return this.options.customerHasExchange&&T.j.canAddToExchange(this.model)&&t.push({title:j.a.getPhrase(this.lang,"addToExchange"),appLink:{application:this.options.application,action:P.a.LibraryEditor.ADD_TO_EXCHANGE,args:[this.model.get("id").toString()]}}),this.options.customerHasLocalCache&&t.push({title:j.a.getPhrase(this.lang,"localCache"),appLink:{application:this.options.application,action:P.a.Shared.DOWNLOAD_TO_LOCAL_CACHE,args:[this.model.id.toString()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.AddToLocalCache})}),this.options.collectionIdentifier&&t.push({title:j.a.getPhrase(this.lang,"remove"),appLink:{application:this.options.application,action:P.a.Shared.DELETE_VIDEOS,args:[this.getFolderSourceId(),this.model.get("id").toString()],params:{routeToFolderOnDelete:this.options.routeToFolderOnDelete}},classes:"text-danger",analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.Delete,descriptor:r.OperationDescriptor.Single,workflowPhase:r.WorkflowPhase.Start})}),new o.a.Collection(t)}},{key:"renderActions",value:function(){this.showChildView("actions",new _({collection:this.getActions(),showActionLabels:this.options.showActionLabels}))}},{key:"renderMoreActions",value:function(){this.moreActionsRendered||(this.moreActionsRendered=!0,this.showChildView("moreActions",new A.a({displayOptions:{alignment:"right"},channelName:this.channelName,collection:this.getMoreActions(),childOptions:{isDisabled:function(){return this.model.get("disabled")},getTooltip:function(){return this.options.model.get("tooltip")}},analyticsHelper:a.a})))}},{key:"viewOptions",value:function(){return{styles:h.a,moreSvg:s.a.getSvg(s.b.More)}}},{key:"onRender",value:function(){this.moreActionsRendered=!1,this.renderActions()}},{key:"name",get:function(){return"VideoActionsComponent"}},{key:"template",get:function(){return R.a}},{key:"lang",get:function(){return"shared.videoActions"}},{key:"className",get:function(){return h.a.actions}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",moreActions:".more-actions-region"}}}])&&I(e.prototype,n),l&&I(e,l),u}(o.a.Component)},1323:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return'<span class="close cursor-pointer" aria-hidden="true">×</span>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=null!=e?e:t.nullContext||{};return t.escapeExpression("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:t.hooks.helperMissing)?a.call(s,{name:"name",hash:{},data:i}):a)+"\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=e?e.options:e)?r.removable:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},1324:function(t,e,n){t.exports={disabled:"_3Vziu"}},1381:function(t,e,n){t.exports={actions:"_1U-Yf",svgContainer:"_3hYSf",actionName:"_2kY6B",disabled:"_3UjU0"}},1400:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.escapeExpression;return'<span class="'+a(t.lambda(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.sourceLabel:r,e))+'">'+a((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"folder",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.folderCount:r},data:i}))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return(null!=(r=n.unless.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.hideLabel:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+(null!=(r=t.lambda(null!=(r=null!=e?e.options:e)?r.folders:r,e))?r:"")},useData:!0})},1401:function(t,e,n){t.exports={sourceLabel:"_2HK7r"}},1404:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=t.lambda,l=t.escapeExpression;return' <span class="align-middle mr-2 '+l(s(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.actionName:r,e))+" "+l(s(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+l("function"==typeof(a=null!=(a=n.title||(null!=e?e.title:e))?a:t.hooks.helperMissing)?a.call(null!=e?e:t.nullContext||{},{name:"title",hash:{},data:i}):a)+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=t.lambda,l=t.escapeExpression,c=null!=e?e:t.nullContext||{};return' <span class="d-inline-block align-middle '+l(s(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+" "+l(s(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+(null!=(r="function"==typeof(a=null!=(a=n.svg||(null!=e?e.svg:e))?a:t.hooks.helperMissing)?a.call(c,{name:"svg",hash:{},data:i}):a)?r:"")+"</span>\r\n"+(null!=(r=n.if.call(c,null!=(r=null!=e?e.options:e)?r.showLabel:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},1405:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.lambda;return'<div class="actions-region d-inline-block"></div>\r\n<span class="d-inline-block">\r\n <span data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="ui-more d-inline-block ui-dropdown-toggle align-middle '+t.escapeExpression(a(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+' cursor-pointer d-inline-block">'+(null!=(r=a(null!=(r=null!=e?e.options:e)?r.moreSvg:r,e))?r:"")+'</span>\r\n <div class="more-actions-region"></div>\r\n</span>\r\n'},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[5],{1014:function(t,e,n){"use strict";var o=n(2),i=n(20),r=n(6),a=n(0),l=n(292),s=n(1083),c=n.n(s),u=n(1084),p=n.n(u);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=m(t);if(e){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(s,t);var e,n,o,i=y(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,t)}return e=s,(n=[{key:"name",get:function(){return"TagItemComponent"}},{key:"tagName",get:function(){return this.options.behavior===l.b.Link?"a":"span"}},{key:"className",get:function(){var t="".concat(this.options.orientation===l.c.Vertical?"":" d-inline-flex"),e="".concat(this.isSaving()?" saving":""),n="".concat(this.options.behavior===l.b.Disabled?" ".concat(p.a.disabled):""),o="".concat(this.options.behavior===l.b.Filter?" cursor-pointer":"");return"badge-pill tag py-1 px-2 my-1 mr-1".concat(o).concat(t).concat(e).concat(n)}},{key:"template",get:function(){return c.a}},{key:"elements",get:function(){return{close:".close"}}},{key:"appLinks",get:function(){return this.options.behavior!==l.b.Link?{}:{"[this]":{application:a.b.SEARCH,action:a.a.Search.HOME,params:{tag:this.model.get("name")}}}}},{key:"defaults",get:function(){return{behavior:l.b.Link,orientation:l.c.Flex}}},{key:"events",value:function(){return this.options.removeEvent?{"click @ui.close":"onRemoveTag"}:{click:"onClickTag"}}},{key:"initialize",value:function(){this.options.behavior===l.b.Edit&&this.listenTo(this.model,"change",this.render)}},{key:"isSaving",value:function(){if(this.options.behavior!==l.b.Filter){var t=this.model.pick("id","name","remove"),e=t.id,n=t.name;return!!t.remove||!e||!n}}},{key:"onRemoveTag",value:function(t){if(t.stopPropagation(),!this.isSaving())return this.model.set("remove",!0),r.Radio.channel(this.options.channelName).trigger(this.options.removeEvent,this.model),!1}},{key:"onClickTag",value:function(){this.options.behavior!==l.b.Filter||this.options.removeEvent||r.Radio.channel(this.options.channelName).trigger(this.options.clickEvent,this.model)}},{key:"viewOptions",value:function(){return{removable:this.options.removeEvent}}},{key:"onRender",value:function(){this.resetClassName()}}])&&h(e.prototype,n),o&&h(e,o),s}(o.a.Component);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return C}));var C=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(s,t);var e,n,r,a=w(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),a.call(this,t)}return e=s,(n=[{key:"initialize",value:function(){this.options.behavior!==l.b.Edit||this.options.removeEvent||o.a.ErrorHelper.throw(new i.a("removeEvent is required to edit tags."))}},{key:"name",get:function(){return"TagComponentCollection"}},{key:"defaults",get:function(){return{orientation:l.c.Flex}}},{key:"className",get:function(){var t="".concat(this.options.orientation===l.c.Vertical?" d-flex align-items-start flex-column":"");return"tags".concat(t)}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,behavior:this.options.behavior,orientation:this.options.orientation,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}}},{key:"childView",get:function(){return b}}])&&k(e.prototype,n),r&&k(e,r),s}(o.a.ComponentCollection)},1052:function(t,e,n){"use strict";var o=n(2),i=n(81),r=n(4),a=n(42),l=n(15),s=n(1),c=n(133),u=n(1164),p=n.n(u),f=n(1141),h=n.n(f);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],o=!0,i=!1,r=void 0;try{for(var a,l=t[Symbol.iterator]();!(o=(a=l.next()).done)&&(n.push(a.value),!e||n.length!==e);o=!0);}catch(t){i=!0,r=t}finally{try{o||null==l.return||l.return()}finally{if(i)throw r}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function v(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function k(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){k(n,t);var e=w(n);function n(t){return m(this,n),e.call(this,t)}return v(n,[{key:"name",get:function(){return"VideoActionItemComponent"}},{key:"template",get:function(){return p.a}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){if(!this.model.get("href"))return{}}},{key:"className",get:function(){var t="d-inline-block px-1 no-decoration";return this.model.get("isDisabled")&&(t+=" ".concat(h.a.disabled)),t}},{key:"events",value:function(){return{click:"onClick"}}},{key:"behaviors",get:function(){var t=(!this.options.showLabel||this.options.model.get("isDisabled"))&&this.options.model.get("tooltipText");if(t)return[{behaviorClass:c.a,title:t}]}},{key:"appLinks",get:function(){return!this.model.get("appLink")||this.model.get("isDisabled")?{}:{"[this]":this.model.get("appLink")}}},{key:"onClick",value:function(){this.logAction()}},{key:"logAction",value:function(){var t=this.model.get("appLink");if(s.isObject(t)){var e=y(t.args,1)[0];a.a.logUserAction({id:e},this.model.get("analyticsOptions"))}}},{key:"viewOptions",value:function(){return{styles:h.a,showLabel:this.options.showLabel,additionalClassName:this.model.get("isDisabled")?"disabled":"cursor-pointer"}}}]),n}(o.a.Component),_=function(t){k(n,t);var e=w(n);function n(t){return m(this,n),e.call(this,t)}return v(n,[{key:"name",get:function(){return"VideoActionsComponentCollection"}},{key:"childView",get:function(){return C}},{key:"childViewOptions",get:function(){return{showLabel:this.options.showActionLabels}}}]),n}(o.a.ComponentCollection),A=n(991),P=n(0),T=n(12),j=n(3),L=n(292),R=n(1165),x=n.n(R);function D(t){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function V(t,e){return(V=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=U(t);if(e){var i=U(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return M(this,n)}}function M(t,e){return!e||"object"!==D(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return F}));var F=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V(t,e)}(u,t);var e,n,s,c=N(u);function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),c.call(this,t)}return e=u,(n=[{key:"name",get:function(){return"VideoActionsComponent"}},{key:"template",get:function(){return x.a}},{key:"lang",get:function(){return"shared.videoActions"}},{key:"className",get:function(){return h.a.actions}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",moreActions:".more-actions-region"}}},{key:"regions",value:function(){return{actions:{el:".actions-region"},moreActions:{el:"@ui.moreActions",replaceElement:!1}}}},{key:"events",value:function(){return{click:"onClick","click @ui.dropdownToggle":"onClickMore","click @ui.moreActions":"onClickMore"}}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"onClickMore",value:function(){this.renderMoreActions(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"getActions",value:function(){return new o.a.Collection([{title:j.a.getPhrase(this.lang,"share"),svg:l.a.getSvg(l.b.Share),isDisabled:!T.j.canShareVideo(this.model,this.options.application),tooltipText:T.j.canShareVideo(this.model,this.options.application)?j.a.getPhrase(this.lang,"share"):T.j.getSharePermissionsMessage(this.model,this.options.application),appLink:{application:this.options.application,action:P.a.Shared.SHARE_VIDEO,args:[this.model.get("id")]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.Share})},{title:j.a.getPhrase(this.lang,"edit"),svg:T.j.canEditVideo(this.model)?l.a.getSvg(l.b.Edit):l.a.getSvg(l.b.EditClickView),tooltipText:this.getEditTooltip(),appLink:{application:P.b.LIBRARY_EDITOR,action:P.a.LibraryEditor.EDIT_VIDEO,args:[this.model.get("id")]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.Edit,workflowPhase:r.WorkflowPhase.Start})}])}},{key:"getEditTooltip",value:function(){return T.j.canEditVideo(this.model)?j.a.getPhrase(this.lang,"edit"):T.x.isExchangeVideo(this.model)?j.a.getPhrase(this.lang,"linkedToExchange"):j.a.getPhrase(this.lang,"linkedToCv")}},{key:"getFolderSourceId",value:function(){return this.options.collectionSource===L.d.Folder?this.options.collectionIdentifier.id:this.model.get("categories").first().get("id")}},{key:"getMoreActions",value:function(){var t=[];this.options.collectionIdentifier&&t.push({title:j.a.getPhrase(this.lang,"move"),appLink:{application:this.options.application,action:P.a.Shared.MOVE_VIDEOS,args:[this.model.get("id").toString(),this.getFolderSourceId()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.Move,descriptor:r.OperationDescriptor.Single,workflowPhase:r.WorkflowPhase.Start})}),t.push({title:j.a.getPhrase(this.lang,"manageAccess"),appLink:{application:this.options.application,action:P.a.Shared.MANAGE_VIDEO_ACCESS,args:[this.model.get("id").toString()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.SetAccess,workflowPhase:r.WorkflowPhase.Start})}),this.options.application===P.b.CONTENT_UPDATES&&this.options.customerHasCustomLibrary&&t.push({title:j.a.getPhrase(this.lang,"addToLibrary"),appLink:{application:this.options.application,action:P.a.ContentUpdates.ADD_TO_LIBRARY,args:[this.model.get("id").toString()]}});var e=i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"videos/".concat(this.model.get("id")));if(t.push({title:j.a.getPhrase(this.lang,"openInStaffView"),href:i.a.urlBuilder(e,{loginPrompt:!1}),external:!0,icon:l.a.getSvg(l.b.NewWindow),analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.Click,descriptor:r.ClickDescriptor.OpenInStaffView})}),this.options.application!==P.b.CONTENT_UPDATES){var n=T.j.canDownloadVideo(this.model);t.push({title:j.a.getPhrase(this.lang,"download"),disabled:!n,classes:n?"":"".concat(h.a.disabled),tooltip:n?null:{title:j.a.getPhrase(this.lang,"cannotDownload"),placement:"left"},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.Download}),appLink:n?{application:this.options.application,action:P.a.Shared.DOWNLOAD_VIDEO,args:[this.model.id.toString()]}:null})}return this.options.customerHasExchange&&T.j.canAddToExchange(this.model)&&t.push({title:j.a.getPhrase(this.lang,"addToExchange"),appLink:{application:this.options.application,action:P.a.LibraryEditor.ADD_TO_EXCHANGE,args:[this.model.get("id").toString()]}}),this.options.customerHasLocalCache&&t.push({title:j.a.getPhrase(this.lang,"localCache"),appLink:{application:this.options.application,action:P.a.Shared.DOWNLOAD_TO_LOCAL_CACHE,args:[this.model.id.toString()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.AddToLocalCache})}),this.options.collectionIdentifier&&t.push({title:j.a.getPhrase(this.lang,"remove"),appLink:{application:this.options.application,action:P.a.Shared.DELETE_VIDEOS,args:[this.getFolderSourceId(),this.model.get("id").toString()],params:{routeToFolderOnDelete:this.options.routeToFolderOnDelete}},classes:"text-danger",analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.UserAction.Delete,descriptor:r.OperationDescriptor.Single,workflowPhase:r.WorkflowPhase.Start})}),new o.a.Collection(t)}},{key:"renderActions",value:function(){this.showChildView("actions",new _({collection:this.getActions(),showActionLabels:this.options.showActionLabels}))}},{key:"renderMoreActions",value:function(){this.moreActionsRendered||(this.moreActionsRendered=!0,this.showChildView("moreActions",new A.a({displayOptions:{alignment:"right"},channelName:this.channelName,collection:this.getMoreActions(),childOptions:{isDisabled:function(){return this.model.get("disabled")},getTooltip:function(){return this.options.model.get("tooltip")}},analyticsHelper:a.a})))}},{key:"viewOptions",value:function(){return{styles:h.a,moreSvg:l.a.getSvg(l.b.More)}}},{key:"onRender",value:function(){this.moreActionsRendered=!1,this.renderActions()}}])&&I(e.prototype,n),s&&I(e,s),u}(o.a.Component)},1083:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return'<span class="close cursor-pointer" aria-hidden="true">×</span>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,l=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<span class="clamp-1" title="'+c("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:s)?a.call(l,{name:"name",hash:{},data:i}):a)+'">'+c("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:s)?a.call(l,{name:"name",hash:{},data:i}):a)+"</span>\r\n"+(null!=(r=n.if.call(l,null!=(r=null!=e?e.options:e)?r.removable:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},1084:function(t,e,n){t.exports={disabled:"_3Vziu"}},1141:function(t,e,n){t.exports={actions:"_1U-Yf",svgContainer:"_3hYSf",actionName:"_2kY6B",disabled:"_3UjU0"}},1160:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.escapeExpression;return'<span class="'+a(t.lambda(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.sourceLabel:r,e))+'">'+a((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"folder",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.folderCount:r},data:i}))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return(null!=(r=n.unless.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.hideLabel:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+(null!=(r=t.lambda(null!=(r=null!=e?e.options:e)?r.folders:r,e))?r:"")},useData:!0})},1161:function(t,e,n){t.exports={sourceLabel:"_2HK7r"}},1164:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,l=t.lambda,s=t.escapeExpression;return' <span class="align-middle mr-2 '+s(l(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.actionName:r,e))+" "+s(l(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+s("function"==typeof(a=null!=(a=n.title||(null!=e?e.title:e))?a:t.hooks.helperMissing)?a.call(null!=e?e:t.nullContext||{},{name:"title",hash:{},data:i}):a)+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,l=t.lambda,s=t.escapeExpression,c=null!=e?e:t.nullContext||{};return' <span class="d-inline-block align-middle '+s(l(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+" "+s(l(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+(null!=(r="function"==typeof(a=null!=(a=n.svg||(null!=e?e.svg:e))?a:t.hooks.helperMissing)?a.call(c,{name:"svg",hash:{},data:i}):a)?r:"")+"</span>\r\n"+(null!=(r=n.if.call(c,null!=(r=null!=e?e.options:e)?r.showLabel:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},1165:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.lambda;return'<div class="actions-region d-inline-block"></div>\r\n<span class="d-inline-block">\r\n <span data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="ui-more d-inline-block ui-dropdown-toggle align-middle '+t.escapeExpression(a(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+' cursor-pointer d-inline-block">'+(null!=(r=a(null!=(r=null!=e?e.options:e)?r.moreSvg:r,e))?r:"")+'</span>\r\n <div class="more-actions-region"></div>\r\n</span>\r\n'},useData:!0})},998:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var o=n(2),i=n(0),r=n(12),a=n(1160),l=n.n(a),s=n(1161),c=n.n(s);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=y(t);if(e){var i=y(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(s,t);var e,n,o,a=h(s);function s(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),a.call(this,t)}return e=s,(n=[{key:"name",get:function(){return"VideoSourcesMetadataComponent"}},{key:"template",get:function(){return l.a}},{key:"lang",get:function(){return"shared.videoSourcesMetadata"}},{key:"defaults",get:function(){return{showFolder:!1,highlight:!1}}},{key:"appLinks",get:function(){var t;return this.options.showFolder&&(null===(t=this.model.get("categories"))||void 0===t?void 0:t.length)?this.model.get("categories").reduce((function(t,e){return t[".applink-folder-".concat(e.get("id"))]={application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.FOLDER,args:[e.get("id")]},t}),{}):{}}},{key:"events",value:function(){var t,e,n,o=Object.keys(this.appLinks),i=(t={},e="click .".concat(c.a.sourceLabel),n="onClick",e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t);return o.forEach((function(t){i["click ".concat(t)]="onClick"})),i}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"getFolderLinks",value:function(){var t=this,e=this.model.get("categories");if(null==e?void 0:e.length){var n={};return e.forEach((function(e){var o=t.options.highlight?r.v.wordsHighlighter(r.v.escapeExpression(e.get("name")),t.model.get("_matchedWords")):r.v.escapeExpression(e.get("name"));n[e.get("id")]=o})),Object.keys(n).map((function(t){return'<a class="info-link applink-folder-'.concat(t,'">').concat(n[t],"</a>")})).join(", ")}}},{key:"onBeforeRender",value:function(){var t;return this.options.showFolder&&(null===(t=this.model.get("categories"))||void 0===t?void 0:t.length)}},{key:"viewOptions",value:function(){return{styles:c.a,folderCount:this.model.get("categories").length,folders:this.options.showFolder&&this.getFolderLinks(),hideLabel:this.options.hideLabel}}}])&&p(e.prototype,n),o&&p(e,o),s}(o.a.Component)}}]);
|