@clickview/library-editor 1.15.0-rc.4 → 1.16.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/bundles.json +2 -2
  2. package/dist/languages/en.json +1 -1
  3. package/dist/scripts/{1010-524dff3667.chunk.js → 1010-528057f185.chunk.js} +1 -1
  4. package/dist/scripts/{1086-54d21469e9.chunk.js → 1086-f1b0e59329.chunk.js} +1 -1
  5. package/dist/scripts/1203-a25c4655ce.chunk.js +1 -0
  6. package/dist/scripts/{1364-cd9f4d8564.chunk.js → 1364-6be41c82d2.chunk.js} +1 -1
  7. package/dist/scripts/{1409-37bca179d7.chunk.js → 1409-b4a956468d.chunk.js} +1 -1
  8. package/dist/scripts/{1601-505bc87094.chunk.js → 1601-8834b5f812.chunk.js} +2 -2
  9. package/dist/scripts/{1832-ed6f006ccd.chunk.js → 1832-02361e1269.chunk.js} +1 -1
  10. package/dist/scripts/{1887-559b570244.chunk.js → 1887-7f6adf4708.chunk.js} +1 -1
  11. package/dist/scripts/{1911-750209c2d0.chunk.js → 1911-66682811bb.chunk.js} +1 -1
  12. package/dist/scripts/{1934-2a68903c81.chunk.js → 1934-145060632c.chunk.js} +1 -1
  13. package/dist/scripts/2227-1d867f3bc2.chunk.js +2 -0
  14. package/dist/scripts/{243-7c5ae0cd9b.chunk.js → 243-7e0bdc4a31.chunk.js} +1 -1
  15. package/dist/scripts/{259-a84030f432.chunk.js → 259-b1126eeb88.chunk.js} +1 -1
  16. package/dist/scripts/{2692-4b42ad0186.chunk.js → 2692-5f481f698b.chunk.js} +1 -1
  17. package/dist/scripts/{2802-2218d4b4bb.chunk.js → 2802-92dc055d0b.chunk.js} +1 -1
  18. package/dist/scripts/{2803-89f9a2f7e2.chunk.js → 2803-6d65186411.chunk.js} +1 -1
  19. package/dist/scripts/{2888-5e79a2d835.chunk.js → 2888-97c459e7e0.chunk.js} +1 -1
  20. package/dist/scripts/{299-4f58ee4227.chunk.js → 299-1e545f0387.chunk.js} +1 -1
  21. package/dist/scripts/{3096-338f3af8d5.chunk.js → 3096-bb54a13a1d.chunk.js} +1 -1
  22. package/dist/scripts/{3639-81854e5c72.chunk.js → 3639-c791111194.chunk.js} +1 -1
  23. package/dist/scripts/{3746-53d2f48930.chunk.js → 3746-7e6cd20817.chunk.js} +1 -1
  24. package/dist/scripts/{3763-14bc634fd5.chunk.js → 3763-8cb3ef3f03.chunk.js} +1 -1
  25. package/dist/scripts/3969-61ffb9cb04.chunk.js +1 -0
  26. package/dist/scripts/{4000-3ea5bf15ce.chunk.js → 4000-212bbc3e95.chunk.js} +1 -1
  27. package/dist/scripts/{4177-e7ba02acb0.chunk.js → 4177-a105ca958b.chunk.js} +1 -1
  28. package/dist/scripts/{4201-ec420d0859.chunk.js → 4201-9b328c94db.chunk.js} +1 -1
  29. package/dist/scripts/4245-4569118ecb.chunk.js +1 -0
  30. package/dist/scripts/{4353-fffba2b0e8.chunk.js → 4353-39aeb557a1.chunk.js} +1 -1
  31. package/dist/scripts/{4591-defa823689.chunk.js → 4591-dbcdf3b087.chunk.js} +1 -1
  32. package/dist/scripts/{4860-9f5cac30f5.chunk.js → 4860-8bdac5b42f.chunk.js} +1 -1
  33. package/dist/scripts/{4885-c884415f34.chunk.js → 4885-56fc418bf4.chunk.js} +1 -1
  34. package/dist/scripts/{514-777b3e77b9.chunk.js → 514-e07aed3907.chunk.js} +1 -1
  35. package/dist/scripts/5173-e5b00f629a.chunk.js +1 -0
  36. package/dist/scripts/{5412-254fd0b8b4.chunk.js → 5412-5868f70a26.chunk.js} +1 -1
  37. package/dist/scripts/{5424-738d17c8f6.chunk.js → 5424-c8e7f5c8d4.chunk.js} +1 -1
  38. package/dist/scripts/{546-f3cbb33611.chunk.js → 546-926188d260.chunk.js} +1 -1
  39. package/dist/scripts/{5745-3212b59a8b.chunk.js → 5745-d7844be476.chunk.js} +1 -1
  40. package/dist/scripts/{5747-8e2e542691.chunk.js → 5747-eb5ee256b8.chunk.js} +1 -1
  41. package/dist/scripts/{6220-6d447ddefa.chunk.js → 6220-e24560d854.chunk.js} +1 -1
  42. package/dist/scripts/{6732-26dcc3ead9.chunk.js → 6732-944b44fb6b.chunk.js} +1 -1
  43. package/dist/scripts/{6774-3492c7b7e1.chunk.js → 6774-c1b9a70c16.chunk.js} +1 -1
  44. package/dist/scripts/{6788-8e09f3bd44.chunk.js → 6788-ac33c559ba.chunk.js} +1 -1
  45. package/dist/scripts/6963-bf73bd3cf2.chunk.js +1 -0
  46. package/dist/scripts/{6995-53b8291478.chunk.js → 6995-9602f4467d.chunk.js} +1 -1
  47. package/dist/scripts/{6999-0b95aa9bc7.chunk.js → 6999-f67f906365.chunk.js} +1 -1
  48. package/dist/scripts/{7002-fe8d55589f.chunk.js → 7002-9b0b7bd86a.chunk.js} +1 -1
  49. package/dist/scripts/{7053-71789a7f8e.chunk.js → 7053-8e626b3b23.chunk.js} +1 -1
  50. package/dist/scripts/{708-87afed82a0.chunk.js → 708-19b97884d1.chunk.js} +1 -1
  51. package/dist/scripts/7136-643eb02b9d.chunk.js +1 -0
  52. package/dist/scripts/{7295-020c912544.chunk.js → 7295-fe77a0f37c.chunk.js} +1 -1
  53. package/dist/scripts/{7376-50278f41b0.chunk.js → 7376-f71dda3a29.chunk.js} +1 -1
  54. package/dist/scripts/{7634-e9d03befaa.chunk.js → 7634-919fcc0f34.chunk.js} +1 -1
  55. package/dist/scripts/{8362-38f6f1e275.chunk.js → 8362-72b12bb14b.chunk.js} +1 -1
  56. package/dist/scripts/{8727-0704919382.chunk.js → 8727-910efccfe4.chunk.js} +1 -1
  57. package/dist/scripts/{8762-bf9e214b3e.chunk.js → 8762-36e33f2e1c.chunk.js} +1 -1
  58. package/dist/scripts/{8906-2bb0497443.chunk.js → 8906-2bb32f815c.chunk.js} +1 -1
  59. package/dist/scripts/8947-56edf971d3.chunk.js +1 -0
  60. package/dist/scripts/9040-3d27054bc3.chunk.js +1 -0
  61. package/dist/scripts/9268-b84660c55b.chunk.js +1 -0
  62. package/dist/scripts/{9357-3556f01499.chunk.js → 9357-575e22e956.chunk.js} +1 -1
  63. package/dist/scripts/{9383-757a7db213.chunk.js → 9383-63cd1c0db6.chunk.js} +1 -1
  64. package/dist/scripts/969-4f1eb9e178.chunk.js +1 -0
  65. package/dist/scripts/{9695-e339ad226a.chunk.js → 9695-e010e7baf1.chunk.js} +1 -1
  66. package/dist/scripts/{9927-ce43701341.chunk.js → 9927-7ca0458b0e.chunk.js} +1 -1
  67. package/dist/scripts/9976-86ed98a9a5.chunk.js +1 -0
  68. package/dist/scripts/bundle-1cc865d209.min.js +2 -0
  69. package/package.json +2 -2
  70. package/dist/scripts/1203-4113349cd2.chunk.js +0 -1
  71. package/dist/scripts/3969-b56c249015.chunk.js +0 -1
  72. package/dist/scripts/4164-5147aa742a.chunk.js +0 -1
  73. package/dist/scripts/4245-91847dbcc6.chunk.js +0 -1
  74. package/dist/scripts/5173-8a6910db27.chunk.js +0 -1
  75. package/dist/scripts/5970-e0becf6419.chunk.js +0 -2
  76. package/dist/scripts/6963-a9ded68b8f.chunk.js +0 -1
  77. package/dist/scripts/7136-04c865cb53.chunk.js +0 -1
  78. package/dist/scripts/8726-dc68659a97.chunk.js +0 -1
  79. package/dist/scripts/9040-784bb82801.chunk.js +0 -1
  80. package/dist/scripts/9268-d558d65224.chunk.js +0 -1
  81. package/dist/scripts/9976-61d05609c2.chunk.js +0 -1
  82. package/dist/scripts/bundle-1b6d2c6458.min.js +0 -2
  83. /package/dist/css/{5970-library-editor-0d09b13673.chunk.css → 2227-library-editor-0d09b13673.chunk.css} +0 -0
  84. /package/dist/css/{4164-library-editor-86456d4d2f.chunk.css → 969-library-editor-86456d4d2f.chunk.css} +0 -0
  85. /package/dist/scripts/{101-5b7f13ead9.chunk.js → 101-81da1d7fd0.chunk.js} +0 -0
  86. /package/dist/scripts/{1216-7a9f411abd.chunk.js → 1216-4fc40bc09f.chunk.js} +0 -0
  87. /package/dist/scripts/{1269-391b95a348.chunk.js → 1269-bc65d74dc2.chunk.js} +0 -0
  88. /package/dist/scripts/{1601-505bc87094.chunk.js.LICENSE.txt → 1601-8834b5f812.chunk.js.LICENSE.txt} +0 -0
  89. /package/dist/scripts/{1934-2a68903c81.chunk.js.LICENSE.txt → 1934-145060632c.chunk.js.LICENSE.txt} +0 -0
  90. /package/dist/scripts/{5970-e0becf6419.chunk.js.LICENSE.txt → 2227-1d867f3bc2.chunk.js.LICENSE.txt} +0 -0
  91. /package/dist/scripts/{2802-2218d4b4bb.chunk.js.LICENSE.txt → 2802-92dc055d0b.chunk.js.LICENSE.txt} +0 -0
  92. /package/dist/scripts/{3400-181a33c06f.chunk.js → 3400-c34d569244.chunk.js} +0 -0
  93. /package/dist/scripts/{4830-21f98cca40.chunk.js → 4830-fb97023c8a.chunk.js} +0 -0
  94. /package/dist/scripts/{5235-c7f0ecadfc.chunk.js → 5235-0e0c9d0416.chunk.js} +0 -0
  95. /package/dist/scripts/{5418-32716c915a.chunk.js → 5418-a54f79821f.chunk.js} +0 -0
  96. /package/dist/scripts/{5745-3212b59a8b.chunk.js.LICENSE.txt → 5745-d7844be476.chunk.js.LICENSE.txt} +0 -0
  97. /package/dist/scripts/{58-6b57e9fb4e.chunk.js → 58-635d2774ab.chunk.js} +0 -0
  98. /package/dist/scripts/{5891-008fa6f486.chunk.js → 5891-0ce8d0ca23.chunk.js} +0 -0
  99. /package/dist/scripts/{6093-75a426e5f7.chunk.js → 6093-d33123f90f.chunk.js} +0 -0
  100. /package/dist/scripts/{7190-3632c1b97b.chunk.js → 7190-5697b00340.chunk.js} +0 -0
  101. /package/dist/scripts/{8495-c2a8d27ffa.chunk.js → 8495-8f7560fb40.chunk.js} +0 -0
  102. /package/dist/scripts/{9379-374f2c6f8d.chunk.js → 9379-bf088f70a0.chunk.js} +0 -0
  103. /package/dist/scripts/{9770-f16965ec13.chunk.js → 9770-191d095995.chunk.js} +0 -0
  104. /package/dist/scripts/{bundle-1b6d2c6458.min.js.LICENSE.txt → bundle-1cc865d209.min.js.LICENSE.txt} +0 -0
  105. /package/dist/scripts/{polyfills-8a6a6be34b.min.js → polyfills-a2efdf572b.min.js} +0 -0
@@ -0,0 +1 @@
1
+ (self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[9976],{8371:function(e,n,t){"use strict";var r;t.d(n,{b:function(){return r}}),function(e){e.AU="cv-ap-southeast-1",e.NZ="cv-ap-southeast-2",e.UK="cv-eu-west-1",e.US="cv-na-west-1"}(r||(r={}))},5236:function(e,n,t){"use strict";t.r(n),t.d(n,{VideoDetailsView:function(){return ze}});var r,o=t(39479),i=t.n(o),l=t(31647);!function(e){e.AU="content-ap-southeast-1",e.NZ="content-ap-southeast-2",e.UK="content-eu-west-1",e.SCOT="content-eu-west-2",e.US="content-na-central-1",e.GLOBAL="content-global"}(r||(r={}));var a=t(8371),s=t(48090),c=t(70065),u=t(63791),f=t(56210),p=t(61843),d=t(66882),h={svgContainer:"qOHRG"},m=t(86745),y=t.n(m);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function g(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,n){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},b(e,n)}function w(e,n){if(n&&("object"===v(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}var C=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&b(e,n)}(a,e);var n,t,r,i,l=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=k(r);if(i){var t=k(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return w(this,e)});function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,e)}return n=a,(t=[{key:"name",get:function(){return"VideoHeaderComponent"}},{key:"template",get:function(){return y()}},{key:"className",get:function(){return"d-flex align-items-center justify-content-between px-3 pt-3 pb-2 w-100"}},{key:"behaviors",get:function(){return[{behaviorClass:f.H,selector:".".concat(h.svgContainer)}]}},{key:"regions",value:function(){return{actions:{el:".video-actions-region",replaceElement:!1}}}},{key:"viewOptions",value:function(){return{styles:h,lockSvg:u.Nj.getSvg(u.vn.Lock),hasRestriction:!o.isUndefined(this.model.get("restrictions")),restrictionMessage:p.S9.getRestrictionTooltipMessage(this.model)}}},{key:"onRender",value:function(){this.showChildView("actions",new d.R({model:this.model,showActionLabels:!0,application:s.OV.LIBRARY_EDITOR,customerHasLocalCache:this.options.customerHasLocalCache,customerHasExchange:this.options.customerHasExchange,collectionIdentifier:this.options.collectionIdentifier,routeToFolderOnDelete:!0,analyticsOptions:{entity:c.EntityType.Video,location:c.LocationContext.VideoDetailsHeader,descriptor:c.OperationDescriptor.Single},config:this.options.config}))}}])&&g(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),a}(l.Q.Component),O=t(77605),E=t(61356),x=t(7427),R=t(19226),P=t(45837),I=t(44391),S=t(70042),j=t(26457),V=t(17349),_=t.n(V),D={interactive:"N1mrU"};function T(e){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}function L(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B(e,n){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},B(e,n)}function U(e,n){if(n&&("object"===T(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function N(e){return N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},N(e)}var M=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&B(e,n)}(l,e);var n,t,r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=N(r);if(o){var t=N(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return U(this,e)});function l(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l),i.call(this,e)}return n=l,(t=[{key:"initialize",value:function(){this.isClickViewContent=this.model&&!p.BK.canEditVideo(this.model)}},{key:"name",get:function(){return"VideoSidebarInfoComponent"}},{key:"lang",get:function(){return"libraryEditor.videoSidebarInfo"}},{key:"className",get:function(){return"py-3 h-100"}},{key:"template",get:function(){return _()}},{key:"regions",value:function(){return{preview:{el:".video-preview-region",replaceElement:!0},folders:{el:".folders-region",replaceElement:!0},tags:{el:".tags-region",replaceElement:!0}}}},{key:"requiredResources",get:function(){return{currentUser:R.K.currentUser}}},{key:"renderVideoPreview",value:function(){this.showChildView("preview",new E.c({model:this.model,webPlayerUrl:this.options.webPlayerUrl,channelName:this.options.channelName,analyticsOptions:{location:c.LocationContext.VideoDetails},currentUser:this.options.currentUser,createViewKey:this.options.createViewKey,playerApiUrl:this.options.playerApiUrl}))}},{key:"renderTags",value:function(){this.model.get("tags")&&this.model.get("tags").length&&this.showChildView("tags",new I.K({collection:this.model.get("tags"),orientation:j.zM.Flex,behavior:j.Dm.Link}))}},{key:"renderFolders",value:function(){this.model.get("categories")&&this.model.get("categories").length&&this.showChildView("folders",new x.V({model:this.model,libraries:this.options.libraries,showFolder:!0,hideLabel:!0}))}},{key:"viewOptions",value:function(){return{styles:D,interactive:S.u.isInteractive(this.model),duration:p.T.ToDisplayDuration(this.model.get("duration")),folders:this.model.categories&&this.model.categories.length,multipleFolders:this.model.categories.length>1,tags:this.model.get("tags")&&this.model.get("tags").length,isClickViewContent:this.isClickViewContent,hasCustomerTags:this.isClickViewContent&&p.BK.filterObjectsByOwnerType(this.model.tags,P.N.Customer,this.options.currentUser.get("customerId")).length}}},{key:"onRender",value:function(){this.renderVideoPreview(),this.renderTags(),this.renderFolders()}}])&&L(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),l}(l.Q.Component),H=t(70693),A=t(68708),F=t(33192),K=t(29457),Q=t(23130),Y=t(37570),Z=t(89707),q=t(7190),z={columnNames:"knYPJ",seriesContainer:"nBq4d",icon:"F9VfV",citationValues:"igMNQ"},G=t(95982),X=t.n(G),J=t(57857);function $(e){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$(e)}function W(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ee(e,n){return ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},ee(e,n)}function ne(e,n){if(n&&("object"===$(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function te(e){return te=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},te(e)}var re=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&ee(e,n)}(a,e);var n,t,r,i,l=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=te(r);if(i){var t=te(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return ne(this,e)});function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,e)}return n=a,(t=[{key:"name",get:function(){return"VideoBasicInfoComponent"}},{key:"template",get:function(){return X()}},{key:"lang",get:function(){return"shared.videoBasicInfo"}},{key:"defaults",get:function(){return{truncateDescription:!0}}},{key:"behaviors",get:function(){return[{behaviorClass:f.H,selector:".tool-tip"}]}},{key:"regions",value:function(){return{description:{el:".description-region",replaceElement:!0,partialLoading:K.LP.VideoBasicInfo},series:{el:".series-region",replaceElement:!0}}}},{key:"getBroadcastDate",value:function(){return this.model.get("dateBroadcast")?F(this.model.get("dateBroadcast")).format(K.K4.FULL_YEAR):""}},{key:"getSeriesUrl",value:function(){if(this.options.externalSeriesLink&&this.model.series){var e="series/".concat(this.model.series.id);return Z.k.getMainProductUrl(this.options.config,e,e)}}},{key:"renderSeries",value:function(){this.model.series&&this.model.series.get("name")&&this.showChildView("series",new Y.O({model:this.model,highlight:!1,seriesUrl:this.getSeriesUrl(),styleUppercase:!1}))}},{key:"renderDescription",value:function(){if(this.model&&this.model.get("description")){var e=new Q.Z({model:this.model,linkify:!0,size:Q.t.Large,truncate:this.options.truncateDescription,allowExpand:!0});this.showChildView("description",e)}}},{key:"getSubtitleLanguage",value:function(){var e=this;return this.model.subtitles&&this.model.get("subtitles").length?o.uniq(this.model.get("subtitles").map((function(n){var t,r=n.get("language"),o=CVLanguages.getFullEnglishName(r);return(null===(t=n.get("metadata"))||void 0===t?void 0:t.autoGenerated)?J.T.getPhrase(e.lang,"autoGenerated",{name:o}):o}))).join(", "):""}},{key:"getCitationHeading",value:function(e,n,t){return this.model.get(e)?this.model.get(e).length>1?t:n:""}},{key:"getCitationHeadings",value:function(){return{productionCompaniesText:this.getCitationHeading(K.Zn.ProductionCompany,"Production Company","Production Companies"),producersText:this.getCitationHeading(K.Zn.Producer,"Producer","Producers"),disributorsText:this.getCitationHeading(K.Zn.Distributor,"Distributor","Distributors"),directorsText:this.getCitationHeading(K.Zn.Director,"Director","Directors")}}},{key:"viewOptions",value:function(){return Object.assign({styles:z,ratingClass:this.model.rating&&q.uB.mapRatingToClass(this.model.rating.get("value")),broadcastDate:this.getBroadcastDate(),showHeading:this.options.showHeading,subtitles:this.getSubtitleLanguage(),hideBroadcastInfo:this.options.hideBroadcastInfo},this.getCitationHeadings())}},{key:"onRender",value:function(){this.renderSeries(),this.renderDescription()}}])&&W(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),a}(l.Q.Component),oe=t(57085),ie=t(10386),le=t.n(ie),ae=t(90118),se=t.n(ae),ce={columnNames:"Hs0Sh"};function ue(e){return ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ue(e)}function fe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function pe(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function de(e,n,t){return n&&pe(e.prototype,n),t&&pe(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function he(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&me(e,n)}function me(e,n){return me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},me(e,n)}function ye(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=ge(e);if(n){var o=ge(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return ve(this,t)}}function ve(e,n){if(n&&("object"===ue(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ge(e)}var be=function(e){he(t,e);var n=ye(t);function t(){return fe(this,t),n.apply(this,arguments)}return de(t,[{key:"name",get:function(){return"FieldComponent"}},{key:"template",get:function(){return le()}},{key:"className",get:function(){return"row mb-0"}},{key:"regions",value:function(){return{description:{el:".description-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{styles:ce}}},{key:"renderDescription",value:function(){this.model.get("value")&&this.showChildView("description",new Q.Z({model:new l.Q.Model({description:this.model.get("value")}),linkify:!0,size:Q.t.Large,truncate:!0,allowExpand:!0}))}},{key:"onRender",value:function(){this.renderDescription()}}]),t}(l.Q.Component),we=function(e){he(t,e);var n=ye(t);function t(){return fe(this,t),n.apply(this,arguments)}return de(t,[{key:"name",get:function(){return"FieldsComponentCollection"}},{key:"childView",get:function(){return be}}]),t}(l.Q.ComponentCollection),ke=function(e){he(t,e);var n=ye(t);function t(){return fe(this,t),n.apply(this,arguments)}return de(t,[{key:"name",get:function(){return"FieldsComponent"}},{key:"template",get:function(){return se()}},{key:"className",get:function(){return"py-3 border-top"}},{key:"regions",value:function(){return{fields:{el:".fields-region",replaceElement:!0}}}},{key:"onRender",value:function(){this.showChildView("fields",new we({collection:this.collection}))}}]),t}(l.Q.Component),Ce=t(21251),Oe=t(21679),Ee=t(33800),xe=t(48404),Re=t(75535),Pe=t(99748),Ie=t(53854),Se=t(95061),je=t(3059),Ve=t(26835),_e=t.n(Ve),De={licenseContainer:"eHMZ_",license:"I0iMx",era:"qgIXx"};function Te(e){return Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Te(e)}function Le(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Be(e,n){return Be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},Be(e,n)}function Ue(e,n){if(n&&("object"===Te(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ne(e)}var Me=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Be(e,n)}(a,e);var n,t,o,i,l=(o=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=Ne(o);if(i){var t=Ne(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return Ue(this,e)});function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,e)}return n=a,(t=[{key:"name",get:function(){return"ScreenrightsDisclaimerComponent"}},{key:"template",get:function(){return _e()}},{key:"lang",get:function(){return"shared.screenrightsDisclaimer"}},{key:"className",get:function(){return"py-3 border-top"}},{key:"getLogoClass",value:function(){return p.mU.isInContentRegion(this.options.contentRegion,r.UK)?De.era:""}},{key:"getLicenseText",value:function(){switch(this.options.contentRegion){case r.UK:return J.T.getPhrase(this.lang,"era");case r.AU:return J.T.getPhrase(this.lang,"copyrightAct");case r.NZ:default:return""}}},{key:"viewOptions",value:function(){var e=p.mU.isInContentRegion(this.options.contentRegion,r.AU);return{styles:De,logoClass:this.getLogoClass(),labelText:e?J.T.getPhrase(this.lang,"labelAu"):"",licenseText:this.getLicenseText()}}}])&&Le(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),a}(l.Q.Component),He=t(91865),Ae=t.n(He),Fe=t(59054);function Ke(e){return Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ke(e)}function Qe(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ye(e,n){return Ye=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},Ye(e,n)}function Ze(e,n){if(n&&("object"===Ke(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qe(e)}var ze=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Ye(e,n)}(f,e);var n,t,o,c,u=(o=f,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=qe(o);if(c){var t=qe(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return Ze(this,e)});function f(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,f),u.call(this,e)}return n=f,t=[{key:"initialize",value:function(){this.bindListeners(),this.videoDataService=Oe.u.getInstance(Ee.O.Video,this),this.videoMixinService=Oe.u.getInstance(Ee.K.VideoMixin,this),this.localCacheDataService=Oe.u.getInstance(Ee.O.LocalCache,this),this.playerDataService=Oe.u.getInstance(Ee.O.Player,this),this.createViewKey=this.createViewKey.bind(this)}},{key:"bindListeners",value:function(){this.listenTo(s.Vk.VIDEO,"".concat(Ce.M.VIDEOS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(s.Vk.VIDEO,"".concat(Ce.M.VIDEOS,":").concat(this.options.videoId,":error"),this.onError),this.listenTo(s.Vk.VIDEO,"".concat(Ce.M.RESTRICTED_OBJECTS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(s.Vk.VIDEO,"cache:cleared",this.render),this.listenTo(s.Vk.LIBRARY,"libraries:sync",this.render),this.listenTo(s.Vk.RESTRICTED_VIDEO,"".concat(Ce.M.UPDATE_VIDEO_RESTRICTION,":sync"),this.updateRestriction),this.listenTo(s.Vk.RESTRICTED_VIDEO,"".concat(Ce.M.RESTRICTED_OBJECTS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(s.Vk.LOCAL_CACHE,"".concat(Ce.M.LOCAL_CACHE_DEVICES,":sync"),this.render),this.listenTo(s.Vk.LOCAL_CACHE,"".concat(Ce.M.LOCAL_CACHE_DEVICES,":error"),this.onError)}},{key:"name",get:function(){return"VideoDetailsView"}},{key:"title",get:function(){return this.video&&this.video.get("name")}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"template",get:function(){return Ae()}},{key:"className",get:function(){return"container-fluid h-100 bg-white rounded"}},{key:"onError",value:function(e){switch(e.type){case Pe.h.NotFound:l.Q.ErrorHelper.throw(new Re.l);break;case Pe.h.Forbidden:l.Q.ErrorHelper.throw(new Ie.a)}}},{key:"regions",value:function(){return{breadcrumbs:{el:".breadcrumbs-region",replaceElement:!1,partialLoading:K.LP.Breadcrumbs},header:{replaceElement:!0,el:".video-header-region",partialLoading:K.LP.VideoHeader},main:{replaceElement:!0,el:".main-video-information-region",partialLoading:K.LP.VideoSidebarInfo},basic:{replaceElement:!1,el:".basic-video-information-region",partialLoading:K.LP.VideoBasicInfo},chapters:{replaceElement:!0,el:".video-chapters-region"},resources:{replaceElement:!0,el:".video-resources-region"},fields:{replaceElement:!0,el:".fields-region"},links:{replaceElement:!0,el:".video-links-region"},screenrightsDisclaimer:{replaceElement:!0,el:".screenright-disclaimer-region"}}}},{key:"updateRestriction",value:function(){this.videoMixinService.getAndMixinVideoRestriction(this.video)}},{key:"showLicense",value:function(){return!(!this.video||p.mU.isInContentRegion(this.currentUser.get("contentRegion"),r.NZ)||(!this.video.get("channel")||!this.video.get("channel").get("id"))&&!this.video.get("dateBroadcast"))}},{key:"createViewKey",value:function(e,n){this.playerDataService.createViewKey(e,Fe.f.MasterObject,n)}},{key:"getCustomLibraryFolders",value:function(){var e;if(!(null===(e=this.video)||void 0===e?void 0:e.categories)||!this.libraries)return[];var n=this.libraries.reduce((function(e,n){return e[n.id]=!0,e}),{});return this.video.categories.filter((function(e){var t=e.libraries.first().get("id");return n[t]}))}},{key:"renderBreadcrumbs",value:function(){this.folder&&this.video&&this.showChildView("breadcrumbs",new oe.n({folder:this.folder,libraries:this.libraries,video:this.video,enableLastItemAppLink:!1}))}},{key:"renderVideoHeader",value:function(){this.showChildView("header",new C({model:this.video,customerHasLocalCache:p.o8.customerHasLocalCache(this.devices,this.currentUser.get("customerId")),customerHasExchange:this.exchanges.any(),collectionIdentifier:this.folder&&new je.F7(this.folder.id,p.x$.GetCurrentSortType()),config:this.config}))}},{key:"renderSidebarInfo",value:function(){this.showChildView("main",new M({model:this.video,webPlayerUrl:this.config.get("webPlayerUrl"),channelName:this.channelName,currentUser:this.currentUser,createViewKey:this.createViewKey,playerApiUrl:this.config.get("playerApiUrl"),libraries:this.libraries}))}},{key:"renderBasicInfo",value:function(){this.video&&this.showChildView("basic",new re({model:this.video,showHeading:!0,config:this.config,hideBroadcastInfo:this.currentUser.get("instanceRegion")===a.b.US}))}},{key:"renderFields",value:function(){this.video.fields&&this.video.fields.any((function(e){return e.get("value")}))&&this.currentUser.get("instanceRegion")!==a.b.US&&this.showChildView("fields",new ke({collection:this.video.fields}))}},{key:"renderChapters",value:function(){var e=this.video.chapters;e&&e.length>0&&this.showChildView("chapters",new H.Q({channelName:this.channelName,collection:this.video.chapters}))}},{key:"renderResources",value:function(){var e=this.video.resources;e&&e.length>0&&this.showChildView("resources",new O.c({model:this.video}))}},{key:"renderLinks",value:function(){var e=this.video.links;e&&e.length&&this.showChildView("links",new A.c({model:this.video,headingText:"Links"}))}},{key:"renderScreenrightsDisclaimer",value:function(){this.showLicense()&&this.showChildView("screenrightsDisclaimer",new Me({contentRegion:this.currentUser.get("contentRegion")}))}},{key:"requiredResources",get:function(){return{config:xe.p.config,currentUser:R.K.currentUser,libraries:Se.T.libraries,exchanges:Se.T.exchanges}}},{key:"onBeforeRender",value:function(){return this.video=this.videoDataService.getVideo(this.options.videoId),this.video&&(this.folder=i().first(this.getCustomLibraryFolders())),this.devices=this.localCacheDataService.getDevices(this.currentUser.get("customerId")),!!this.video}},{key:"viewOptions",value:function(){if(this.video){var e=this.video,n=e.chapters,t=e.resources,r=e.fields,o=e.links;return{hasFolder:!!this.folder,hasChapters:n&&n.length,hasResources:t&&t.length,hasFields:r&&r.length,hasLinks:o&&o.length,showScreenrightsDisclaimer:this.showLicense()}}}},{key:"onRender",value:function(){this.renderBreadcrumbs(),this.renderVideoHeader(),this.renderSidebarInfo(),this.renderBasicInfo(),this.renderFields(),this.renderChapters(),this.renderResources(),this.renderLinks(),this.renderScreenrightsDisclaimer()}}],t&&Qe(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),f}(l.Q.View)},57085:function(e,n,t){"use strict";t.d(n,{n:function(){return R}});var r=t(31647),o=t(93933),i=t.n(o),l=t(86363),a=t.n(l);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function u(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,n,t){return n&&u(e.prototype,n),t&&u(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&d(e,n)}function d(e,n){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},d(e,n)}function h(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=y(e);if(n){var o=y(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return m(this,t)}}function m(e,n){if(n&&("object"===s(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var v=function(e){p(t,e);var n=h(t);function t(){return c(this,t),n.apply(this,arguments)}return f(t,[{key:"name",get:function(){return"BreadcrumbItemComponent"}},{key:"template",get:function(){return a()}},{key:"tagName",get:function(){return"li"}},{key:"className",get:function(){var e="breadcrumb-item";return this.model.get("active")&&(e+=" active"),e}},{key:"attributes",get:function(){return this.model.get("active")?{"aria-current":"page"}:{}}},{key:"appLinks",get:function(){return this.model.get("active")?{}:{a:this.model.get("appLink")}}},{key:"viewOptions",value:function(){return{isActive:this.model.get("active")}}}]),t}(r.Q.Component),g=function(e){p(t,e);var n=h(t);function t(){return c(this,t),n.apply(this,arguments)}return f(t,[{key:"name",get:function(){return"BreadcrumbComponentCollection"}},{key:"tagName",get:function(){return"ol"}},{key:"className",get:function(){return"breadcrumb m-0 p-0"}},{key:"childView",get:function(){return v}}]),t}(r.Q.ComponentCollection),b=t(22557),w=t(48090);function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function C(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,n){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},O(e,n)}function E(e,n){if(n&&("object"===k(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var R=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&O(e,n)}(s,e);var n,t,o,l,a=(o=s,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=x(o);if(l){var t=x(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return E(this,e)});function s(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,s),a.call(this,e)}return n=s,(t=[{key:"initialize",value:function(){this.getBreadcrumbs()}},{key:"name",get:function(){return"BreadcrumbsComponent"}},{key:"template",get:function(){return i()}},{key:"className",get:function(){return"d-inline-block"}},{key:"regions",value:function(){return{breadcrumbs:".breadcrumbs-region"}}},{key:"defaults",get:function(){return{customBreadcrumbs:[]}}},{key:"getBreadcrumbs",value:function(){var e=this;this.breadcrumbCollection=new r.Q.Collection([]);var n,t=this.options.folder;do{if(!t)break;if(n=b.P.getParent(t.id,this.options.libraries),this.breadcrumbCollection.add(this.getBreadcrumb(t,!!n),{at:0}),!n)break;t=n}while(n);this.options.video&&this.breadcrumbCollection.add({name:this.options.video.get("name"),appLink:{application:w.OV.LIBRARY_EDITOR,action:w.eX.LibraryEditor.VIDEO_DETAILS,args:[this.options.video.id]}}),this.options.customBreadcrumbs&&this.options.customBreadcrumbs.forEach((function(n){return e.breadcrumbCollection.add(n)})),this.breadcrumbCollection.length&&this.breadcrumbCollection.last().set("active",!this.options.enableLastItemAppLink)}},{key:"getBreadcrumb",value:function(e,n){var t=n?w.eX.LibraryEditor.FOLDER:w.eX.LibraryEditor.LIBRARY;return{name:e.get("name"),appLink:{application:w.OV.LIBRARY_EDITOR,action:t,args:[e.id]}}}},{key:"onRender",value:function(){var e=new g({collection:this.breadcrumbCollection});this.showChildView("breadcrumbs",e)}}])&&C(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),s}(r.Q.Component)},86745:function(e,n,t){var r=t(32227);e.exports=(r.default||r).template({1:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return' <span class="d-inline-block ml-2 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.svgContainer:i,n))+'" title="'+a(l(null!=(i=null!=n?n.options:n)?i.restrictionMessage:i,n))+'">'+(null!=(i=l(null!=(i=null!=n?n.options:n)?i.lockSvg:i,n))?i:"")+"</span>\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l,a=null!=n?n:e.nullContext||{};return'<div class="d-inline-flex align-items-center">\n <h4 class="d-inline-block mb-0">'+e.escapeExpression("function"==typeof(l=null!=(l=t.name||(null!=n?n.name:n))?l:e.hooks.helperMissing)?l.call(a,{name:"name",hash:{},data:o}):l)+"</h4>\n"+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.hasRestriction:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'</div>\n<div class="video-actions-region d-inline-block"></div>'},useData:!0})},17349:function(e,n,t){var r=t(32227);e.exports=(r.default||r).template({1:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <span class="badge p-1 '+l(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.interactive:i,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"interactive",{name:"lang",hash:{},data:o}))+"</span>\n"},3:function(e,n,t,r,o){var i;return e.propertyIsEnumerable,' <div class="mt-3">\n <h5>'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"folders",{name:"lang",hash:{smartCount:null!=(i=null!=n?n.options:n)?i.folders:i},data:o}))+'</h5>\n <div class="folders-region"></div>\n </div>\n'},5:function(e,n,t,r,o){return e.propertyIsEnumerable,' <div class="mt-3">\n <h5>'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"tags",{name:"lang",hash:{},data:o}))+'</h5>\n <div class="tags-region"></div>\n </div>\n'},7:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <div class="mt-3">\n <h5>'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"curriculumLinks",{name:"lang",hash:{},data:o}))+"</h5>\n <p>"+l(e.lambda(null!=(i=null!=n?n.options:n)?i.links:i,n))+"</p>\n </div>\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=null!=n?n:e.nullContext||{};return'<div class="border-right h-100 pl-2 pr-3">\n <div class="video-preview-region"></div>\n <div class="mt-3">\n'+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.interactive:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+" </div>\n\n"+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.folders:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+"\n"+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.tags:i,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?i:"")+"\n"+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.links:i,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o}))?i:"")+"</div>"},useData:!0})},91865:function(e,n,t){var r=t(32227);e.exports=(r.default||r).template({1:function(e,n,t,r,o){return' <div class="fields-region"></div>\n'},3:function(e,n,t,r,o){return' <div class="video-chapters-region"></div>\n'},5:function(e,n,t,r,o){return' <div class="video-resources-region"></div>\n'},7:function(e,n,t,r,o){return' <div class="video-links-region"></div>\n'},9:function(e,n,t,r,o){return' <div class="screenright-disclaimer-region"></div>\n'},compiler:[8,">= 4.3.0"],main:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=null!=n?n:e.nullContext||{};return'<div class="row border-bottom">\n <div class="video-header-region"></div>\n\n <div class="px-3 pb-3">\n <div class="breadcrumbs-region"></div>\n </div>\n</div>\n\n<div class="row">\n <div class="col-4">\n <div class="main-video-information-region"></div>\n </div>\n <div class="col-8">\n <div class="basic-video-information-region py-3 pr-2"></div>\n'+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.hasFields:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.hasChapters:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.hasResources:i,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.hasLinks:i,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.showScreenrightsDisclaimer:i,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o}))?i:"")+" </div>\n</div>"},useData:!0})},86363:function(e,n,t){var r=t(32227);e.exports=(r.default||r).template({1:function(e,n,t,r,o){var i;return e.propertyIsEnumerable,'<span class="font-weight-bolder">'+e.escapeExpression("function"==typeof(i=null!=(i=t.name||(null!=n?n.name:n))?i:e.hooks.helperMissing)?i.call(null!=n?n:e.nullContext||{},{name:"name",hash:{},data:o}):i)+"</span>\n"},3:function(e,n,t,r,o){var i;return e.propertyIsEnumerable,"<a>"+e.escapeExpression("function"==typeof(i=null!=(i=t.name||(null!=n?n.name:n))?i:e.hooks.helperMissing)?i.call(null!=n?n:e.nullContext||{},{name:"name",hash:{},data:o}):i)+"</a>\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,r,o){var i;return e.propertyIsEnumerable,null!=(i=t.if.call(null!=n?n:e.nullContext||{},null!=(i=null!=n?n.options:n)?i.isActive:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},93933:function(e,n,t){var r=t(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,r,o){return'<nav class="breadcrumbs-region" aria-label="breadcrumb"></nav>'},useData:!0})},10386:function(e,n,t){var r=t(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l,a=e.escapeExpression;return'<div class="col-3 '+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+a("function"==typeof(l=null!=(l=t.name||(null!=n?n.name:n))?l:e.hooks.helperMissing)?l.call(null!=n?n:e.nullContext||{},{name:"name",hash:{},data:o}):l)+'</div>\n<div class="col-9">\n <div class="description-region"></div>\n</div>'},useData:!0})},90118:function(e,n,t){var r=t(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,r,o){return'<h5 class="mb-0">Extra Information</h5>\n<div class="text-muted mb-3">This information is only visible to administrators and will not be searchable</div>\n<div class="fields-region"></div>'},useData:!0})},26835:function(e,n,t){var r=t(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return'<div class="d-inline-block '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.licenseContainer:i,n))+'">\n <div class="'+a(l(null!=(i=null!=n?n.options:n)?i.logoClass:i,n))+'">'+a(l(null!=(i=null!=n?n.options:n)?i.labelText:i,n))+'</div>\n <p class="'+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.license:i,n))+' bg-white p-2 border box-shadow">\n '+(null!=(i=l(null!=(i=null!=n?n.options:n)?i.licenseText:i,n))?i:"")+"\n </p>\n</div>"},useData:!0})},95982:function(e,n,t){var r=t(32227);e.exports=(r.default||r).template({1:function(e,n,t,r,o){return e.propertyIsEnumerable,'<div class="position-relative">\n <h5 class="d-inline-block">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"basicInfo",{name:"lang",hash:{},data:o}))+"</h5>\n</div>\n"},3:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l,a=e.escapeExpression,s=null!=n?n:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-3 '+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+a((t.lang||n&&n.lang||c).call(s,"videoTitle",{name:"lang",hash:{},data:o}))+'</div>\n <p class="col-9">'+a("function"==typeof(l=null!=(l=t.name||(null!=n?n.name:n))?l:c)?l.call(s,{name:"name",hash:{},data:o}):l)+"</p>\n"},5:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return' <div class="col-3 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"series",{name:"lang",hash:{},data:o}))+'</div>\n <div class="col-9 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.seriesContainer:i,n))+'"><div class="series-region"></div></div>\n'},7:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return' <div class="col-3 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"rating",{name:"lang",hash:{},data:o}))+'</div>\n <p class="col-9"><span class="p-1 badge text-white tool-tip '+a(l(null!=(i=null!=n?n.options:n)?i.ratingClass:i,n))+" "+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.rating:i,n))+'" title="'+a(l(null!=(i=null!=n?n.rating:n)?i.name:i,n))+'">'+a(l(null!=(i=null!=n?n.rating:n)?i.code:i,n))+"</span></p>\n"},9:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <div class="col-3 '+l(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"description",{name:"lang",hash:{},data:o}))+'</div>\n <div class="col-9">\n <div class="description-region"></div>\n </div>\n'},11:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l,a=e.escapeExpression,s=null!=n?n:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-3 '+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+a((t.lang||n&&n.lang||c).call(s,"productionYear",{name:"lang",hash:{},data:o}))+'</div>\n <p class="col-9">'+a("function"==typeof(l=null!=(l=t.productionYear||(null!=n?n.productionYear:n))?l:c)?l.call(s,{name:"productionYear",hash:{},data:o}):l)+"</p>\n"},13:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,s=null!=n?n:e.nullContext||{};return' <div class="col-3 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(s,"producers",{name:"lang",hash:{},data:o}))+'</div>\n <div class="col-9 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.citationValues:i,n))+'">\n <p>\n'+(null!=(i=t.each.call(s,null!=n?n.producers:n,{name:"each",hash:{},fn:e.program(14,o,0),inverse:e.noop,data:o}))?i:"")+" </p>\n </div>\n"},14:function(e,n,t,r,o){var i;return e.propertyIsEnumerable," <span>"+e.escapeExpression("function"==typeof(i=null!=(i=t.name||(null!=n?n.name:n))?i:e.hooks.helperMissing)?i.call(null!=n?n:e.nullContext||{},{name:"name",hash:{},data:o}):i)+"</span>\n"},16:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,s=null!=n?n:e.nullContext||{};return' <div class="col-3 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(s,"directors",{name:"lang",hash:{},data:o}))+'</div>\n <div class="col-9 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.citationValues:i,n))+'">\n <p>\n'+(null!=(i=t.each.call(s,null!=n?n.directors:n,{name:"each",hash:{},fn:e.program(14,o,0),inverse:e.noop,data:o}))?i:"")+" </p>\n </div>\n"},18:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,s=null!=n?n:e.nullContext||{};return' <div class="col-3 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(s,"productionCompanies",{name:"lang",hash:{},data:o}))+'</div>\n <div class="col-9 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.citationValues:i,n))+'">\n <p>\n'+(null!=(i=t.each.call(s,null!=n?n.productionCompanies:n,{name:"each",hash:{},fn:e.program(14,o,0),inverse:e.noop,data:o}))?i:"")+" </p>\n </div>\n"},20:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,s=null!=n?n:e.nullContext||{};return' <div class="col-3 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(s,"distributors",{name:"lang",hash:{},data:o}))+'</div>\n <div class="col-9 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.citationValues:i,n))+'">\n <p>\n'+(null!=(i=t.each.call(s,null!=n?n.distributors:n,{name:"each",hash:{},fn:e.program(14,o,0),inverse:e.noop,data:o}))?i:"")+" </p>\n </div>\n"},22:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=null!=n?n:e.nullContext||{};return" "+(null!=(i=t.if.call(l,null!=(i=null!=n?n.channel:n)?i.name:i,{name:"if",hash:{},fn:e.program(23,o,0),inverse:e.noop,data:o}))?i:"")+"\n\n"+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.broadcastDate:i,{name:"if",hash:{},fn:e.program(26,o,0),inverse:e.noop,data:o}))?i:"")},23:function(e,n,t,r,o){var i;return e.propertyIsEnumerable,null!=(i=t.if.call(null!=n?n:e.nullContext||{},null!=n?n.channel:n,{name:"if",hash:{},fn:e.program(24,o,0),inverse:e.noop,data:o}))?i:""},24:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return'\n <div class="col-3 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"channel",{name:"lang",hash:{},data:o}))+'</div>\n <p class="col-9">'+a(l(null!=(i=null!=n?n.channel:n)?i.name:i,n))+"</p>\n "},26:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return' <div class="col-3 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"broadcastDate",{name:"lang",hash:{},data:o}))+'</div>\n <p class="col-9">'+a(l(null!=(i=null!=n?n.options:n)?i.broadcastDate:i,n))+"</p>\n"},28:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return' <div class="col-3 '+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.columnNames:i,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"subtitles",{name:"lang",hash:{},data:o}))+'</div>\n <p class="col-9">'+a(l(null!=(i=null!=n?n.options:n)?i.subtitles:i,n))+"</p>\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,r,o){e.propertyIsEnumerable;var i,l=null!=n?n:e.nullContext||{};return(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.showHeading:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'<div class="row mb-0">\n'+(null!=(i=t.if.call(l,null!=n?n.name:n,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+"\n"+(null!=(i=t.if.call(l,null!=(i=null!=n?n.series:n)?i.name:i,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?i:"")+"\n"+(null!=(i=t.if.call(l,null!=(i=null!=n?n.rating:n)?i.code:i,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o}))?i:"")+"\n"+(null!=(i=t.if.call(l,null!=n?n.description:n,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o}))?i:"")+"\n"+(null!=(i=t.if.call(l,null!=n?n.productionYear:n,{name:"if",hash:{},fn:e.program(11,o,0),inverse:e.noop,data:o}))?i:"")+"\n"+(null!=(i=t.if.call(l,null!=(i=null!=n?n.producers:n)?i.length:i,{name:"if",hash:{},fn:e.program(13,o,0),inverse:e.noop,data:o}))?i:"")+"\n"+(null!=(i=t.if.call(l,null!=(i=null!=n?n.directors:n)?i.length:i,{name:"if",hash:{},fn:e.program(16,o,0),inverse:e.noop,data:o}))?i:"")+"\n"+(null!=(i=t.if.call(l,null!=(i=null!=n?n.productionCompanies:n)?i.length:i,{name:"if",hash:{},fn:e.program(18,o,0),inverse:e.noop,data:o}))?i:"")+"\n"+(null!=(i=t.if.call(l,null!=(i=null!=n?n.distributors:n)?i.length:i,{name:"if",hash:{},fn:e.program(20,o,0),inverse:e.noop,data:o}))?i:"")+"\n"+(null!=(i=t.unless.call(l,null!=(i=null!=n?n.options:n)?i.hideBroadcastInfo:i,{name:"unless",hash:{},fn:e.program(22,o,0),inverse:e.noop,data:o}))?i:"")+"\n"+(null!=(i=t.if.call(l,null!=(i=null!=n?n.options:n)?i.subtitles:i,{name:"if",hash:{},fn:e.program(28,o,0),inverse:e.noop,data:o}))?i:"")+"</div>"},useData:!0})}}]);