@clickview/library-editor 1.64.0-rc.0 → 1.64.0-rc.2

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 (214) hide show
  1. package/dist/bundles.json +2 -2
  2. package/dist/languages/en.json +1 -1
  3. package/dist/scripts/1010-5488aa2ff0.chunk.js +1 -0
  4. package/dist/scripts/1115-ea197312ba.chunk.js +1 -0
  5. package/dist/scripts/1200-5edfc011db.chunk.js +1 -0
  6. package/dist/scripts/1318-3fc90ae380.chunk.js +1 -0
  7. package/dist/scripts/1524-0256080e94.chunk.js +1 -0
  8. package/dist/scripts/1752-1cc77fb182.chunk.js +1 -0
  9. package/dist/scripts/1934-1deec5c14f.chunk.js +2 -0
  10. package/dist/scripts/2035-550073891d.chunk.js +1 -0
  11. package/dist/scripts/2539-4aab3368d8.chunk.js +1 -0
  12. package/dist/scripts/2591-06b808d96f.chunk.js +1 -0
  13. package/dist/scripts/2781-bd09622ade.chunk.js +2 -0
  14. package/dist/scripts/2781-bd09622ade.chunk.js.LICENSE.txt +1 -0
  15. package/dist/scripts/2803-b9bcf14dbc.chunk.js +1 -0
  16. package/dist/scripts/2888-bc66454b24.chunk.js +1 -0
  17. package/dist/scripts/299-f4a952cbbf.chunk.js +1 -0
  18. package/dist/scripts/3236-6a7cb9be48.chunk.js +2 -0
  19. package/dist/scripts/3236-6a7cb9be48.chunk.js.LICENSE.txt +1 -0
  20. package/dist/scripts/3305-5e7276a25d.chunk.js +1 -0
  21. package/dist/scripts/336-aaaad34c63.chunk.js +2 -0
  22. package/dist/scripts/336-aaaad34c63.chunk.js.LICENSE.txt +1 -0
  23. package/dist/scripts/3373-0b8fc10032.chunk.js +1 -0
  24. package/dist/scripts/3391-7d6d13408d.chunk.js +1 -0
  25. package/dist/scripts/3400-0cf6cbede5.chunk.js +1 -0
  26. package/dist/scripts/3450-4284a60805.chunk.js +1 -0
  27. package/dist/scripts/3475-8a3623ae22.chunk.js +1 -0
  28. package/dist/scripts/3639-ff8bf51fe5.chunk.js +1 -0
  29. package/dist/scripts/3643-cc5b2ec6d9.chunk.js +1 -0
  30. package/dist/scripts/3664-c8fe2e77de.chunk.js +1 -0
  31. package/dist/scripts/3763-93c217e1d6.chunk.js +1 -0
  32. package/dist/scripts/3873-a70c87d3a8.chunk.js +1 -0
  33. package/dist/scripts/4096-f73b3f1eb3.chunk.js +1 -0
  34. package/dist/scripts/4201-9fb1d6fa7e.chunk.js +1 -0
  35. package/dist/scripts/4245-ea180d7240.chunk.js +1 -0
  36. package/dist/scripts/4327-274f834810.chunk.js +1 -0
  37. package/dist/scripts/4567-ea4c943187.chunk.js +1 -0
  38. package/dist/scripts/4591-3158e38f59.chunk.js +1 -0
  39. package/dist/scripts/4796-715e3f2b8b.chunk.js +2 -0
  40. package/dist/scripts/4796-715e3f2b8b.chunk.js.LICENSE.txt +1 -0
  41. package/dist/scripts/5173-5459fe9617.chunk.js +1 -0
  42. package/dist/scripts/5180-35612cb57e.chunk.js +1 -0
  43. package/dist/scripts/5327-90b0daeedd.chunk.js +1 -0
  44. package/dist/scripts/5346-96ba841e31.chunk.js +1 -0
  45. package/dist/scripts/5412-806e4b03b6.chunk.js +1 -0
  46. package/dist/scripts/5418-d9b73741e6.chunk.js +1 -0
  47. package/dist/scripts/5424-e6d5e20449.chunk.js +1 -0
  48. package/dist/scripts/5513-ce9c27b731.chunk.js +1 -0
  49. package/dist/scripts/576-275aeaa88a.chunk.js +1 -0
  50. package/dist/scripts/5972-bd6ca57952.chunk.js +1 -0
  51. package/dist/scripts/6239-b216beeef2.chunk.js +1 -0
  52. package/dist/scripts/6350-fe2f5d07ae.chunk.js +1 -0
  53. package/dist/scripts/6439-8af974fe93.chunk.js +1 -0
  54. package/dist/scripts/6450-179a533a35.chunk.js +1 -0
  55. package/dist/scripts/6467-e4856f0f90.chunk.js +1 -0
  56. package/dist/scripts/6567-e6d3411b91.chunk.js +2 -0
  57. package/dist/scripts/{6567-02b07e94bc.chunk.js.LICENSE.txt → 6567-e6d3411b91.chunk.js.LICENSE.txt} +1 -1
  58. package/dist/scripts/6587-a52e6ae3db.chunk.js +1 -0
  59. package/dist/scripts/6591-1f53a56a4f.chunk.js +1 -0
  60. package/dist/scripts/6677-679046f587.chunk.js +1 -0
  61. package/dist/scripts/6697-72ac40931d.chunk.js +1 -0
  62. package/dist/scripts/6768-945c9c69c7.chunk.js +1 -0
  63. package/dist/scripts/6774-e23988f663.chunk.js +1 -0
  64. package/dist/scripts/6788-40d07b7ac5.chunk.js +1 -0
  65. package/dist/scripts/6796-2744de7ac8.chunk.js +1 -0
  66. package/dist/scripts/7071-21381973d1.chunk.js +1 -0
  67. package/dist/scripts/7182-700d11a1b6.chunk.js +2 -0
  68. package/dist/scripts/7190-9f654e9bab.chunk.js +1 -0
  69. package/dist/scripts/7197-46b37cfd17.chunk.js +2 -0
  70. package/dist/scripts/7197-46b37cfd17.chunk.js.LICENSE.txt +1 -0
  71. package/dist/scripts/7366-438b9e40d9.chunk.js +1 -0
  72. package/dist/scripts/7384-738b216ce5.chunk.js +1 -0
  73. package/dist/scripts/775-f94fdf08a6.chunk.js +1 -0
  74. package/dist/scripts/777-ad756c2420.chunk.js +2 -0
  75. package/dist/scripts/777-ad756c2420.chunk.js.LICENSE.txt +1 -0
  76. package/dist/scripts/7925-afa4ac58db.chunk.js +2 -0
  77. package/dist/scripts/8113-f198ecf002.chunk.js +1 -0
  78. package/dist/scripts/8143-3881cf510e.chunk.js +1 -0
  79. package/dist/scripts/8306-7a937af758.chunk.js +1 -0
  80. package/dist/scripts/8362-e513473f50.chunk.js +1 -0
  81. package/dist/scripts/8542-29e39900a1.chunk.js +1 -0
  82. package/dist/scripts/8591-4b212ec72d.chunk.js +1 -0
  83. package/dist/scripts/8757-218873f759.chunk.js +2 -0
  84. package/dist/scripts/8797-d74aa54767.chunk.js +1 -0
  85. package/dist/scripts/8862-d4faaa1043.chunk.js +1 -0
  86. package/dist/scripts/8915-60cef85b59.chunk.js +1 -0
  87. package/dist/scripts/8989-f5a1466541.chunk.js +1 -0
  88. package/dist/scripts/9011-8ad9cd886b.chunk.js +1 -0
  89. package/dist/scripts/9037-8ee5edeb0f.chunk.js +1 -0
  90. package/dist/scripts/9082-6ae95039ff.chunk.js +1 -0
  91. package/dist/scripts/9090-9d0aafabc4.chunk.js +1 -0
  92. package/dist/scripts/9096-a05aba009e.chunk.js +1 -0
  93. package/dist/scripts/9219-a62eb8dec1.chunk.js +1 -0
  94. package/dist/scripts/9357-cacc922e17.chunk.js +1 -0
  95. package/dist/scripts/9376-a690087044.chunk.js +1 -0
  96. package/dist/scripts/95-14875ad65e.chunk.js +1 -0
  97. package/dist/scripts/9620-47637ac50e.chunk.js +1 -0
  98. package/dist/scripts/968-4da16290ef.chunk.js +1 -0
  99. package/dist/scripts/9734-a32f5aa1b8.chunk.js +1 -0
  100. package/dist/scripts/9743-1a17ae4c30.chunk.js +1 -0
  101. package/dist/scripts/9766-22dd736844.chunk.js +2 -0
  102. package/dist/scripts/9825-40ead8d7a8.chunk.js +1 -0
  103. package/dist/scripts/9928-7069d8d073.chunk.js +1 -0
  104. package/dist/scripts/bundle-441218310a.min.js +2 -0
  105. package/dist/scripts/{bundle-64721692b2.min.js.LICENSE.txt → bundle-441218310a.min.js.LICENSE.txt} +1 -1
  106. package/dist/scripts/polyfills-be59146258.min.js +1 -0
  107. package/package.json +1 -1
  108. package/dist/scripts/1010-9c54dac5ec.chunk.js +0 -1
  109. package/dist/scripts/1115-189174d1dd.chunk.js +0 -1
  110. package/dist/scripts/1200-9c85c3d5ca.chunk.js +0 -1
  111. package/dist/scripts/1318-11b8de6498.chunk.js +0 -1
  112. package/dist/scripts/1524-ae7b7beeda.chunk.js +0 -1
  113. package/dist/scripts/1752-111d0ad14d.chunk.js +0 -1
  114. package/dist/scripts/1934-84460445ad.chunk.js +0 -2
  115. package/dist/scripts/2035-4bf3392b3a.chunk.js +0 -1
  116. package/dist/scripts/2539-915297f0b5.chunk.js +0 -1
  117. package/dist/scripts/2591-730e72b14a.chunk.js +0 -1
  118. package/dist/scripts/2781-efa54c8c8c.chunk.js +0 -2
  119. package/dist/scripts/2781-efa54c8c8c.chunk.js.LICENSE.txt +0 -1
  120. package/dist/scripts/2803-d7cf29380f.chunk.js +0 -1
  121. package/dist/scripts/2888-97c3b4f37c.chunk.js +0 -1
  122. package/dist/scripts/299-f415ca8856.chunk.js +0 -1
  123. package/dist/scripts/3236-24a5bf1bb8.chunk.js +0 -2
  124. package/dist/scripts/3236-24a5bf1bb8.chunk.js.LICENSE.txt +0 -1
  125. package/dist/scripts/3305-d21eab0110.chunk.js +0 -1
  126. package/dist/scripts/336-86a858ee3c.chunk.js +0 -2
  127. package/dist/scripts/336-86a858ee3c.chunk.js.LICENSE.txt +0 -1
  128. package/dist/scripts/3373-c35e99d4f4.chunk.js +0 -1
  129. package/dist/scripts/3391-c1544af17d.chunk.js +0 -1
  130. package/dist/scripts/3400-7a082a0377.chunk.js +0 -1
  131. package/dist/scripts/3450-2b77dc7d81.chunk.js +0 -1
  132. package/dist/scripts/3475-c2090d0f65.chunk.js +0 -1
  133. package/dist/scripts/3639-a0854003d2.chunk.js +0 -1
  134. package/dist/scripts/3643-877406d207.chunk.js +0 -1
  135. package/dist/scripts/3664-7bab52835f.chunk.js +0 -1
  136. package/dist/scripts/3763-7ae73d91fa.chunk.js +0 -1
  137. package/dist/scripts/3873-32cef8b267.chunk.js +0 -1
  138. package/dist/scripts/4096-2f0afc78f8.chunk.js +0 -1
  139. package/dist/scripts/4201-f856bd659a.chunk.js +0 -1
  140. package/dist/scripts/4245-09abccc77c.chunk.js +0 -1
  141. package/dist/scripts/4327-b8cd9a74f9.chunk.js +0 -1
  142. package/dist/scripts/4567-3ca6ef4308.chunk.js +0 -1
  143. package/dist/scripts/4591-7f81bdcc51.chunk.js +0 -1
  144. package/dist/scripts/4796-1b85c00672.chunk.js +0 -2
  145. package/dist/scripts/4796-1b85c00672.chunk.js.LICENSE.txt +0 -1
  146. package/dist/scripts/5173-9338a14ee3.chunk.js +0 -1
  147. package/dist/scripts/5180-542a42cb27.chunk.js +0 -1
  148. package/dist/scripts/5327-c4b6d0885a.chunk.js +0 -1
  149. package/dist/scripts/5346-4a50d1fd29.chunk.js +0 -1
  150. package/dist/scripts/5412-9a31b69a02.chunk.js +0 -1
  151. package/dist/scripts/5418-a9d060f9d0.chunk.js +0 -1
  152. package/dist/scripts/5424-843a480e1a.chunk.js +0 -1
  153. package/dist/scripts/5513-1c7c464e84.chunk.js +0 -1
  154. package/dist/scripts/576-b7bc67c359.chunk.js +0 -1
  155. package/dist/scripts/5972-e170671a7c.chunk.js +0 -1
  156. package/dist/scripts/6239-b13c96eaf8.chunk.js +0 -1
  157. package/dist/scripts/6350-ebae8f11b0.chunk.js +0 -1
  158. package/dist/scripts/6439-8aac0bd92a.chunk.js +0 -1
  159. package/dist/scripts/6450-8de9792b20.chunk.js +0 -1
  160. package/dist/scripts/6467-eae5f517db.chunk.js +0 -1
  161. package/dist/scripts/6567-02b07e94bc.chunk.js +0 -2
  162. package/dist/scripts/6587-2e97f69e7a.chunk.js +0 -1
  163. package/dist/scripts/6591-62947b6aea.chunk.js +0 -1
  164. package/dist/scripts/6677-5c66883ffc.chunk.js +0 -1
  165. package/dist/scripts/6697-efdc49a3ce.chunk.js +0 -1
  166. package/dist/scripts/6768-416924be66.chunk.js +0 -1
  167. package/dist/scripts/6774-7ed47e1b8c.chunk.js +0 -1
  168. package/dist/scripts/6788-5ad863550d.chunk.js +0 -1
  169. package/dist/scripts/6796-d47d2fa948.chunk.js +0 -1
  170. package/dist/scripts/7071-e41e06917b.chunk.js +0 -1
  171. package/dist/scripts/7182-e45ad5e0fe.chunk.js +0 -2
  172. package/dist/scripts/7190-3b8aefddee.chunk.js +0 -1
  173. package/dist/scripts/7197-35da0227f2.chunk.js +0 -2
  174. package/dist/scripts/7197-35da0227f2.chunk.js.LICENSE.txt +0 -1
  175. package/dist/scripts/7366-4b7b22791a.chunk.js +0 -1
  176. package/dist/scripts/7384-8f86b79bd6.chunk.js +0 -1
  177. package/dist/scripts/775-96028af5a8.chunk.js +0 -1
  178. package/dist/scripts/777-03d78e4162.chunk.js +0 -2
  179. package/dist/scripts/777-03d78e4162.chunk.js.LICENSE.txt +0 -1
  180. package/dist/scripts/7925-b80cab7a7a.chunk.js +0 -2
  181. package/dist/scripts/8113-fa8be2fe60.chunk.js +0 -1
  182. package/dist/scripts/8143-3c844e6f7b.chunk.js +0 -1
  183. package/dist/scripts/8306-7e1ecc6b80.chunk.js +0 -1
  184. package/dist/scripts/8362-976c6b3cfc.chunk.js +0 -1
  185. package/dist/scripts/8542-a96ff58cda.chunk.js +0 -1
  186. package/dist/scripts/8591-047736d51e.chunk.js +0 -1
  187. package/dist/scripts/8757-9ff47570ba.chunk.js +0 -2
  188. package/dist/scripts/8797-2e772deab9.chunk.js +0 -1
  189. package/dist/scripts/8862-292b678cef.chunk.js +0 -1
  190. package/dist/scripts/8915-e31f2d1282.chunk.js +0 -1
  191. package/dist/scripts/8989-1ca7a01335.chunk.js +0 -1
  192. package/dist/scripts/9011-4862aa077d.chunk.js +0 -1
  193. package/dist/scripts/9037-7ce5f91571.chunk.js +0 -1
  194. package/dist/scripts/9082-ad6d7d2f96.chunk.js +0 -1
  195. package/dist/scripts/9090-42d71ef295.chunk.js +0 -1
  196. package/dist/scripts/9096-ce7dabfccf.chunk.js +0 -1
  197. package/dist/scripts/9219-5a71a27c3e.chunk.js +0 -1
  198. package/dist/scripts/9357-64d247d840.chunk.js +0 -1
  199. package/dist/scripts/9376-fa6bc20209.chunk.js +0 -1
  200. package/dist/scripts/95-d04a83d83f.chunk.js +0 -1
  201. package/dist/scripts/9620-3ba8334ebc.chunk.js +0 -1
  202. package/dist/scripts/968-b8e7ead008.chunk.js +0 -1
  203. package/dist/scripts/9734-bf7adc8154.chunk.js +0 -1
  204. package/dist/scripts/9743-d88fb1f700.chunk.js +0 -1
  205. package/dist/scripts/9766-da39830c71.chunk.js +0 -2
  206. package/dist/scripts/9825-965bc63629.chunk.js +0 -1
  207. package/dist/scripts/9928-0d83a09f31.chunk.js +0 -1
  208. package/dist/scripts/bundle-64721692b2.min.js +0 -2
  209. package/dist/scripts/polyfills-4c06ebd0dd.min.js +0 -1
  210. /package/dist/scripts/{1934-84460445ad.chunk.js.LICENSE.txt → 1934-1deec5c14f.chunk.js.LICENSE.txt} +0 -0
  211. /package/dist/scripts/{7182-e45ad5e0fe.chunk.js.LICENSE.txt → 7182-700d11a1b6.chunk.js.LICENSE.txt} +0 -0
  212. /package/dist/scripts/{7925-b80cab7a7a.chunk.js.LICENSE.txt → 7925-afa4ac58db.chunk.js.LICENSE.txt} +0 -0
  213. /package/dist/scripts/{8757-9ff47570ba.chunk.js.LICENSE.txt → 8757-218873f759.chunk.js.LICENSE.txt} +0 -0
  214. /package/dist/scripts/{9766-da39830c71.chunk.js.LICENSE.txt → 9766-22dd736844.chunk.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ (self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[3305],{24259:function(e,n,t){"use strict";t.d(n,{_:function(){return E}});var r=t(31647),i=t(70065),o=t(45837),l=t(65816),s=t(61356),a=t(19226),u=t(93569),c=t(24959),p=t(25887),d=t(70042),f=t(17349),h=t.n(f),m={interactive:"N1mrU"};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,y(r.key),r)}}function y(e){var n=function(e){if("object"!=v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=v(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==v(n)?n:n+""}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b=function(){return!!e})()}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function k(e,n){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},k(e,n)}var E=function(e){function n(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,n,t){return n=w(n),function(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)}(e,b()?Reflect.construct(n,t||[],w(e).constructor):n.apply(e,t))}(this,n,[e])}return 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&&k(e,n)}(n,e),t=n,(r=[{key:"initialize",value:function(){this.isClickViewContent=this.model&&!u.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 h()}},{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:a.K.currentUser}}},{key:"renderVideoPreview",value:function(){this.showChildView("preview",new s.c({model:this.model,webPlayerUrl:this.options.webPlayerUrl,channelName:this.options.channelName,analyticsOptions:{location:i.LZ.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 c.K({collection:this.model.get("tags"),orientation:p.zM.Flex,behavior:p.Dm.Link}))}},{key:"renderFolders",value:function(){this.model.get("categories")&&this.model.get("categories").length&&this.showChildView("folders",new l.V({model:this.model,libraries:this.options.libraries,showFolder:!0,hideLabel:!0}))}},{key:"viewOptions",value:function(){return{styles:m,interactive:d.u.isInteractive(this.model),duration:u.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&&u.BK.filterObjectsByOwnerType(this.model.tags,o.N.Customer,this.options.currentUser.get("customerId")).length}}},{key:"onRender",value:function(){this.renderVideoPreview(),this.renderTags(),this.renderFolders()}}])&&g(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r}(r.Q.wA)},70986:function(e,n,t){"use strict";t.r(n),t.d(n,{VideoDetailsView:function(){return Pe}});var r,i=t(21161),o=t(99748),l=t(21679),s=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),u=t(59054),c=t(57085),p=t(82771),d=t(10386),f=t.n(d),h=t(90118),m=t.n(h),v={columnNames:"Hs0Sh"};function g(e){return g="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},g(e)}function y(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function b(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,k(r.key),r)}}function w(e,n,t){return n&&b(e.prototype,n),t&&b(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function k(e){var n=function(e){if("object"!=g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=g(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==g(n)?n:n+""}function E(e,n,t){return n=O(n),function(e,n){if(n&&("object"==g(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)}(e,C()?Reflect.construct(n,t||[],O(e).constructor):n.apply(e,t))}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C=function(){return!!e})()}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function x(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&&S(e,n)}function S(e,n){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},S(e,n)}var I=function(e){function n(){return y(this,n),E(this,n,arguments)}return x(n,e),w(n,[{key:"name",get:function(){return"FieldComponent"}},{key:"template",get:function(){return f()}},{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:v}}},{key:"renderDescription",value:function(){this.model.get("value")&&this.showChildView("description",new p.Z({model:new s.Q.Hn({description:this.model.get("value")}),linkify:!0,size:p.t.Large,truncate:!0,allowExpand:!0}))}},{key:"onRender",value:function(){this.renderDescription()}}])}(s.Q.wA),P=function(e){function n(){return y(this,n),E(this,n,arguments)}return x(n,e),w(n,[{key:"name",get:function(){return"FieldsComponentCollection"}},{key:"childView",get:function(){return I}}])}(s.Q.$W),j=function(e){function n(){return y(this,n),E(this,n,arguments)}return x(n,e),w(n,[{key:"name",get:function(){return"FieldsComponent"}},{key:"template",get:function(){return m()}},{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 P({collection:this.collection}))}}])}(s.Q.wA),V=t(57857),T=t(93569),D=t(26835),_=t.n(D),R={licenseContainer:"eHMZ_",license:"I0iMx",era:"qgIXx"};function L(e){return L="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},L(e)}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,N(r.key),r)}}function N(e){var n=function(e){if("object"!=L(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=L(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==L(n)?n:n+""}function B(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(B=function(){return!!e})()}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}function A(e,n){return A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},A(e,n)}var H=function(e){function n(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,n,t){return n=M(n),function(e,n){if(n&&("object"==L(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)}(e,B()?Reflect.construct(n,t||[],M(e).constructor):n.apply(e,t))}(this,n,[e])}return 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&&A(e,n)}(n,e),t=n,(i=[{key:"name",get:function(){return"ScreenrightsDisclaimerComponent"}},{key:"template",get:function(){return _()}},{key:"lang",get:function(){return"shared.screenrightsDisclaimer"}},{key:"className",get:function(){return"py-3 border-top"}},{key:"getLogoClass",value:function(){return T.mU.isInContentRegion(this.options.contentRegion,r.UK)?R.era:""}},{key:"getLicenseText",value:function(){switch(this.options.contentRegion){case r.UK:return V.T.getPhrase(this.lang,"era");case r.AU:return V.T.getPhrase(this.lang,"copyrightAct");case r.NZ:default:return""}}},{key:"viewOptions",value:function(){var e=T.mU.isInContentRegion(this.options.contentRegion,r.AU);return{styles:R,logoClass:this.getLogoClass(),labelText:e?V.T.getPhrase(this.lang,"labelAu"):"",licenseText:this.getLicenseText()}}}])&&U(t.prototype,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,i}(s.Q.wA),F=t(10657),K=t(56210),Q=t(47416),Z=t(31204),Y=t(29457),z=t(89707),q=t(7190),G=t(95982),J=t.n(G),$={columnNames:"knYPJ",seriesContainer:"nBq4d",icon:"F9VfV",citationValues:"igMNQ"};function W(e){return W="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},W(e)}function X(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,ee(r.key),r)}}function ee(e){var n=function(e){if("object"!=W(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=W(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==W(n)?n:n+""}function ne(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ne=function(){return!!e})()}function te(e){return te=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},te(e)}function re(e,n){return re=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},re(e,n)}var ie=function(e){function n(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,n,t){return n=te(n),function(e,n){if(n&&("object"==W(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)}(e,ne()?Reflect.construct(n,t||[],te(e).constructor):n.apply(e,t))}(this,n,[e])}return 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&&re(e,n)}(n,e),t=n,(r=[{key:"name",get:function(){return"VideoBasicInfoComponent"}},{key:"template",get:function(){return J()}},{key:"lang",get:function(){return"shared.videoBasicInfo"}},{key:"defaults",get:function(){return{truncateDescription:!0}}},{key:"behaviors",get:function(){return[{behaviorClass:K.H,selector:".tool-tip"}]}},{key:"regions",value:function(){return{description:{el:".description-region",replaceElement:!0,partialLoading:Y.LP.VideoBasicInfo},series:{el:".series-region",replaceElement:!0}}}},{key:"getBroadcastDate",value:function(){return this.model.get("dateBroadcast")?F.O.format(this.model.get("dateBroadcast"),Y.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 Z.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 p.Z({model:this.model,linkify:!0,size:p.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?i.uniq(this.model.get("subtitles").map(function(n){var t,r=n.get("language"),i=Q.S.getFullEnglishName(r);return(null===(t=n.get("metadata"))||void 0===t?void 0:t.autoGenerated)?V.T.getPhrase(e.lang,"autoGenerated",{name:i}):i})).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(Y.Zn.ProductionCompany,"Production Company","Production Companies"),producersText:this.getCitationHeading(Y.Zn.Producer,"Producer","Producers"),disributorsText:this.getCitationHeading(Y.Zn.Distributor,"Distributor","Distributors"),directorsText:this.getCitationHeading(Y.Zn.Director,"Director","Directors")}}},{key:"viewOptions",value:function(){return Object.assign({styles:$,ratingClass:this.model.rating&&q.uB.mapRatingToClass(this.model.rating.get("value")),broadcastDate:this.getBroadcastDate(),hideUploadedDate:this.model.get("_isClickViewCurated").get("value"),uploadedDate:F.O.format(this.model.get("dateCreated"),Y.K4.FULL_YEAR),showHeading:this.options.showHeading,subtitles:this.getSubtitleLanguage(),hideBroadcastInfo:this.options.hideBroadcastInfo},this.getCitationHeadings())}},{key:"onRender",value:function(){this.renderSeries(),this.renderDescription()}}])&&X(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r}(s.Q.wA),oe=t(45390),le=t(21251),se=t(33800),ae=t(3059),ue=t(48404),ce=t(64649),pe=t(19226),de=t(71733),fe=t(90835),he=t(52834),me=t(2119),ve=t(24259),ge=t(53854),ye=t(75535),be=t(95061),we=t(91865),ke=t.n(we);function Ee(e){return Ee="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},Ee(e)}function Ce(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,Oe(r.key),r)}}function Oe(e){var n=function(e){if("object"!=Ee(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=Ee(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ee(n)?n:n+""}function xe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xe=function(){return!!e})()}function Se(e){return Se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Se(e)}function Ie(e,n){return Ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},Ie(e,n)}var Pe=function(e){function n(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,n,t){return n=Se(n),function(e,n){if(n&&("object"==Ee(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)}(e,xe()?Reflect.construct(n,t||[],Se(e).constructor):n.apply(e,t))}(this,n,[e])}return 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&&Ie(e,n)}(n,e),t=n,p=[{key:"initialize",value:function(){this.bindListeners(),this.videoDataService=l.u.getInstance(se.O.Video,this),this.videoMixinService=l.u.getInstance(se.K.VideoMixin,this),this.localCacheDataService=l.u.getInstance(se.O.LocalCache,this),this.playerDataService=l.u.getInstance(se.O.Player,this),this.createViewKey=this.createViewKey.bind(this)}},{key:"bindListeners",value:function(){this.listenTo(oe.Vk.VIDEO,"".concat(le.M.VIDEOS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(oe.Vk.VIDEO,"".concat(le.M.VIDEOS,":").concat(this.options.videoId,":error"),this.onError),this.listenTo(oe.Vk.VIDEO,"".concat(le.M.RESTRICTED_OBJECTS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(oe.Vk.VIDEO,"cache:cleared",this.render),this.listenTo(oe.Vk.LIBRARY,"libraries:sync",this.render),this.listenTo(oe.Vk.RESTRICTED_VIDEO,"".concat(le.M.UPDATE_VIDEO_RESTRICTION,":sync"),this.updateRestriction),this.listenTo(oe.Vk.RESTRICTED_VIDEO,"".concat(le.M.RESTRICTED_OBJECTS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(oe.Vk.LOCAL_CACHE,"".concat(le.M.LOCAL_CACHE_DEVICES,":sync"),this.render),this.listenTo(oe.Vk.LOCAL_CACHE,"".concat(le.M.LOCAL_CACHE_DEVICES,":error"),this.onError),this.listenTo(oe.Vk.VIDEO,"".concat(le.M.DELETE_VIDEO,":sync"),this.destroy)}},{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 ke()}},{key:"className",get:function(){return"container-fluid h-100 bg-white rounded"}},{key:"onError",value:function(e){switch(e.type){case o.h.NotFound:s.Q.Ry.throw(new ye.l);break;case o.h.Forbidden:s.Q.Ry.throw(new ge.a)}}},{key:"regions",value:function(){return{breadcrumbs:{el:".breadcrumbs-region",replaceElement:!1,partialLoading:Y.LP.Breadcrumbs},header:{replaceElement:!0,el:".video-header-region",partialLoading:Y.LP.VideoHeader},main:{replaceElement:!0,el:".main-video-information-region",partialLoading:Y.LP.VideoSidebarInfo},basic:{replaceElement:!1,el:".basic-video-information-region",partialLoading:Y.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||T.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,u.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 c.n({folder:this.folder,libraries:this.libraries,video:this.video,enableLastItemAppLink:!1}))}},{key:"renderVideoHeader",value:function(){this.showChildView("header",new he.U({model:this.video,customerHasLocalCache:T.o8.customerHasLocalCache(this.devices,this.currentUser.get("customerId")),customerHasExchange:this.exchanges.any(),collectionIdentifier:this.folder&&new ae.F7(this.folder.id,T.x$.GetCurrentSortType()),config:this.config,products:this.products,libraries:this.libraries}))}},{key:"renderSidebarInfo",value:function(){this.showChildView("main",new ve._({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 ie({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 j({collection:this.video.fields}))}},{key:"renderChapters",value:function(){var e=this.video.chapters;e&&e.length>0&&this.showChildView("chapters",new de.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 me.c({model:this.video}))}},{key:"renderLinks",value:function(){var e=this.video.links;e&&e.length&&this.showChildView("links",new fe.c({model:this.video,headingText:"Links"}))}},{key:"renderScreenrightsDisclaimer",value:function(){this.showLicense()&&this.showChildView("screenrightsDisclaimer",new H({contentRegion:this.currentUser.get("contentRegion")}))}},{key:"requiredResources",get:function(){return{config:ue.p.config,currentUser:pe.K.currentUser,libraries:be.T.libraries,exchanges:be.T.exchanges,products:ce.s.products}}},{key:"onBeforeRender",value:function(){return this.video=this.videoDataService.getVideo(this.options.videoId),this.video&&(this.folder=i.default.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,i=e.links;return{hasFolder:!!this.folder,hasChapters:n&&n.length,hasResources:t&&t.length,hasFields:r&&r.length,hasLinks:i&&i.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()}}],p&&Ce(t.prototype,p),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,p}(s.Q.G7)},31204:function(e,n,t){"use strict";t.d(n,{O:function(){return v}});var r=t(31647),i=t(85475),o=t(45390),l=t(93569),s=t(19021),a=t.n(s),u={svgContainer:"kKrQJ",series:"zJvxj"};function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function p(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,d(r.key),r)}}function d(e){var n=function(e){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=c(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(n)?n:n+""}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,n){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},m(e,n)}var v=function(e){function n(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,n,t){return n=h(n),function(e,n){if(n&&("object"==c(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)}(e,f()?Reflect.construct(n,t||[],h(e).constructor):n.apply(e,t))}(this,n,[e])}return 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&&m(e,n)}(n,e),t=n,(r=[{key:"defaults",get:function(){return{styleUppercase:!0}}},{key:"name",get:function(){return"VideoItemSeriesComponent"}},{key:"template",get:function(){return a()}},{key:"appLinks",get:function(){return this.options.seriesUrl||!this.model.series?{}:{".series-applink":{application:o.OV.LIBRARY_EDITOR,action:o.eX.LibraryEditor.SERIES,args:[this.model.series.get("id")]}}}},{key:"padNumber",value:function(e){if(!e)return null;var n=e.toString(),t=2;if(n.length>=t)return n;for(t-=n.length;t>0;)n="0"+n,t--;return n}},{key:"getSeriesName",value:function(){var e=l.m$.escapeExpression(this.model.series.get("name"));return this.options.highlight?l.m$.wordsHighlighter(e,this.model.get("_matchedWords")):e}},{key:"viewOptions",value:function(){return this.model.series?{styles:u,seasonNumber:this.padNumber(this.model.season&&this.model.season.get("number")),episodeNumber:this.padNumber(this.model.get("episodeNumber")),seriesName:this.getSeriesName(),seriesUrl:this.options.seriesUrl,externalSvg:i.Nj.getSvg(i.vn.NewWindow),styleUppercase:this.options.styleUppercase}:{}}},{key:"onBeforeRender",value:function(){return this.model.series&&!!this.model.series.get("id")}}])&&p(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r}(r.Q.wA)},17349:function(e,n,t){var r=t(31197);e.exports=(r.default||r).template({1:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.escapeExpression;return' <span class="badge p-1 '+l(e.lambda(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.interactive:o,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"interactive",{name:"lang",hash:{},data:i}))+"</span>\n"},3:function(e,n,t,r,i){var 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||{},"folders",{name:"lang",hash:{smartCount:null!=(o=null!=n?n.options:n)?o.folders:o},data:i}))+'</h5>\n <div class="folders-region"></div>\n </div>\n'},5:function(e,n,t,r,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||{},"tags",{name:"lang",hash:{},data:i}))+'</h5>\n <div class="tags-region"></div>\n </div>\n'},7:function(e,n,t,r,i){e.propertyIsEnumerable;var o,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:i}))+"</h5>\n <p>"+l(e.lambda(null!=(o=null!=n?n.options:n)?o.links:o,n))+"</p>\n </div>\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=null!=n?n:e.nullContext||{};return'<div class="h-100 ps-2 pe-2">\n <div class="video-preview-region"></div>\n <div class="mt-3">\n'+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.interactive:o,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?o:"")+" </div>\n\n"+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.folders:o,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.tags:o,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.links:o,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i}))?o:"")+"</div>"},useData:!0})},91865:function(e,n,t){var r=t(31197);e.exports=(r.default||r).template({1:function(e,n,t,r,i){return' <div class="fields-region"></div>\n'},3:function(e,n,t,r,i){return' <div class="video-chapters-region"></div>\n'},5:function(e,n,t,r,i){return' <div class="video-resources-region"></div>\n'},7:function(e,n,t,r,i){return' <div class="video-links-region"></div>\n'},9:function(e,n,t,r,i){return' <div class="screenright-disclaimer-region"></div>\n'},compiler:[8,">= 4.3.0"],main:function(e,n,t,r,i){e.propertyIsEnumerable;var o,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 pe-2"></div>\n'+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.hasFields:o,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?o:"")+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.hasChapters:o,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?o:"")+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.hasResources:o,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?o:"")+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.hasLinks:o,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i}))?o:"")+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.showScreenrightsDisclaimer:o,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i}))?o:"")+" </div>\n</div>"},useData:!0})},10386:function(e,n,t){var r=t(31197);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l,s=e.escapeExpression;return'<div class="col-3 '+s(e.lambda(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s("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:i}):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(31197);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,r,i){return'<h5 class="mb-0">Extra Information</h5>\n<div class="text-secondary 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(31197);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.lambda,s=e.escapeExpression;return'<div class="d-inline-block '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.licenseContainer:o,n))+'">\n <div class="'+s(l(null!=(o=null!=n?n.options:n)?o.logoClass:o,n))+'">'+s(l(null!=(o=null!=n?n.options:n)?o.labelText:o,n))+'</div>\n <p class="'+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.license:o,n))+' bg-white p-2 border box-shadow">\n '+(null!=(o=l(null!=(o=null!=n?n.options:n)?o.licenseText:o,n))?o:"")+"\n </p>\n</div>"},useData:!0})},95982:function(e,n,t){var r=t(31197);e.exports=(r.default||r).template({1:function(e,n,t,r,i){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:i}))+"</h5>\n</div>\n"},3:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l,s=e.escapeExpression,a=null!=n?n:e.nullContext||{},u=e.hooks.helperMissing;return' <div class="col-3 '+s(e.lambda(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s((t.lang||n&&n.lang||u).call(a,"videoTitle",{name:"lang",hash:{},data:i}))+'</div>\n <p class="col-9">'+s("function"==typeof(l=null!=(l=t.name||(null!=n?n.name:n))?l:u)?l.call(a,{name:"name",hash:{},data:i}):l)+"</p>\n"},5:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.lambda,s=e.escapeExpression;return' <div class="col-3 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"series",{name:"lang",hash:{},data:i}))+'</div>\n <div class="col-9 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.seriesContainer:o,n))+'"><div class="series-region"></div></div>\n'},7:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.lambda,s=e.escapeExpression;return' <div class="col-3 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"rating",{name:"lang",hash:{},data:i}))+'</div>\n <p class="col-9"><span class="p-1 badge text-white tool-tip '+s(l(null!=(o=null!=n?n.options:n)?o.ratingClass:o,n))+" "+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.rating:o,n))+'" title="'+s(l(null!=(o=null!=n?n.rating:n)?o.name:o,n))+'">'+s(l(null!=(o=null!=n?n.rating:n)?o.code:o,n))+"</span></p>\n"},9:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.escapeExpression;return' <div class="col-3 '+l(e.lambda(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"description",{name:"lang",hash:{},data:i}))+'</div>\n <div class="col-9">\n <div class="description-region"></div>\n </div>\n'},11:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l,s=e.escapeExpression,a=null!=n?n:e.nullContext||{},u=e.hooks.helperMissing;return' <div class="col-3 '+s(e.lambda(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s((t.lang||n&&n.lang||u).call(a,"productionYear",{name:"lang",hash:{},data:i}))+'</div>\n <p class="col-9">'+s("function"==typeof(l=null!=(l=t.productionYear||(null!=n?n.productionYear:n))?l:u)?l.call(a,{name:"productionYear",hash:{},data:i}):l)+"</p>\n"},13:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.lambda,s=e.escapeExpression,a=null!=n?n:e.nullContext||{};return' <div class="col-3 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s((t.lang||n&&n.lang||e.hooks.helperMissing).call(a,"producers",{name:"lang",hash:{},data:i}))+'</div>\n <div class="col-9 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.citationValues:o,n))+'">\n <p>\n'+(null!=(o=t.each.call(a,null!=n?n.producers:n,{name:"each",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?o:"")+" </p>\n </div>\n"},14:function(e,n,t,r,i){var o;return e.propertyIsEnumerable," <span>"+e.escapeExpression("function"==typeof(o=null!=(o=t.name||(null!=n?n.name:n))?o:e.hooks.helperMissing)?o.call(null!=n?n:e.nullContext||{},{name:"name",hash:{},data:i}):o)+"</span>\n"},16:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.lambda,s=e.escapeExpression,a=null!=n?n:e.nullContext||{};return' <div class="col-3 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s((t.lang||n&&n.lang||e.hooks.helperMissing).call(a,"directors",{name:"lang",hash:{},data:i}))+'</div>\n <div class="col-9 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.citationValues:o,n))+'">\n <p>\n'+(null!=(o=t.each.call(a,null!=n?n.directors:n,{name:"each",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?o:"")+" </p>\n </div>\n"},18:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.lambda,s=e.escapeExpression,a=null!=n?n:e.nullContext||{};return' <div class="col-3 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s((t.lang||n&&n.lang||e.hooks.helperMissing).call(a,"productionCompanies",{name:"lang",hash:{},data:i}))+'</div>\n <div class="col-9 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.citationValues:o,n))+'">\n <p>\n'+(null!=(o=t.each.call(a,null!=n?n.productionCompanies:n,{name:"each",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?o:"")+" </p>\n </div>\n"},20:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.lambda,s=e.escapeExpression,a=null!=n?n:e.nullContext||{};return' <div class="col-3 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s((t.lang||n&&n.lang||e.hooks.helperMissing).call(a,"distributors",{name:"lang",hash:{},data:i}))+'</div>\n <div class="col-9 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.citationValues:o,n))+'">\n <p>\n'+(null!=(o=t.each.call(a,null!=n?n.distributors:n,{name:"each",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?o:"")+" </p>\n </div>\n"},22:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=null!=n?n:e.nullContext||{};return" "+(null!=(o=t.if.call(l,null!=(o=null!=n?n.channel:n)?o.name:o,{name:"if",hash:{},fn:e.program(23,i,0),inverse:e.noop,data:i}))?o:"")+"\n\n"+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.broadcastDate:o,{name:"if",hash:{},fn:e.program(26,i,0),inverse:e.noop,data:i}))?o:"")},23:function(e,n,t,r,i){var o;return e.propertyIsEnumerable,null!=(o=t.if.call(null!=n?n:e.nullContext||{},null!=n?n.channel:n,{name:"if",hash:{},fn:e.program(24,i,0),inverse:e.noop,data:i}))?o:""},24:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.lambda,s=e.escapeExpression;return'\n <div class="col-3 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"channel",{name:"lang",hash:{},data:i}))+'</div>\n <p class="col-9">'+s(l(null!=(o=null!=n?n.channel:n)?o.name:o,n))+"</p>\n "},26:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.lambda,s=e.escapeExpression;return' <div class="col-3 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"broadcastDate",{name:"lang",hash:{},data:i}))+'</div>\n <p class="col-9">'+s(l(null!=(o=null!=n?n.options:n)?o.broadcastDate:o,n))+"</p>\n"},28:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.lambda,s=e.escapeExpression;return' <div class="col-3 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"dateUploaded",{name:"lang",hash:{},data:i}))+'</div>\n <p class="col-9">'+s(l(null!=(o=null!=n?n.options:n)?o.uploadedDate:o,n))+"</p>\n"},30:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=e.lambda,s=e.escapeExpression;return' <div class="col-3 '+s(l(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.columnNames:o,n))+'">'+s((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"subtitles",{name:"lang",hash:{},data:i}))+'</div>\n <p class="col-9">'+s(l(null!=(o=null!=n?n.options:n)?o.subtitles:o,n))+"</p>\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=null!=n?n:e.nullContext||{};return(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.showHeading:o,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?o:"")+'<div class="row mb-0">\n'+(null!=(o=t.if.call(l,null!=n?n.name:n,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.if.call(l,null!=(o=null!=n?n.series:n)?o.name:o,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.if.call(l,null!=(o=null!=n?n.rating:n)?o.code:o,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.if.call(l,null!=n?n.description:n,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.if.call(l,null!=n?n.productionYear:n,{name:"if",hash:{},fn:e.program(11,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.if.call(l,null!=(o=null!=n?n.producers:n)?o.length:o,{name:"if",hash:{},fn:e.program(13,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.if.call(l,null!=(o=null!=n?n.directors:n)?o.length:o,{name:"if",hash:{},fn:e.program(16,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.if.call(l,null!=(o=null!=n?n.productionCompanies:n)?o.length:o,{name:"if",hash:{},fn:e.program(18,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.if.call(l,null!=(o=null!=n?n.distributors:n)?o.length:o,{name:"if",hash:{},fn:e.program(20,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.unless.call(l,null!=(o=null!=n?n.options:n)?o.hideBroadcastInfo:o,{name:"unless",hash:{},fn:e.program(22,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.unless.call(l,null!=(o=null!=n?n.options:n)?o.hideUploadedDate:o,{name:"unless",hash:{},fn:e.program(28,i,0),inverse:e.noop,data:i}))?o:"")+"\n"+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.subtitles:o,{name:"if",hash:{},fn:e.program(30,i,0),inverse:e.noop,data:i}))?o:"")+"</div>"},useData:!0})},19021:function(e,n,t){var r=t(31197);e.exports=(r.default||r).template({1:function(e,n,t,r,i){var o;return e.propertyIsEnumerable,e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=n?n.options:n)?o.styles:o)?o.series:o,n))},3:function(e,n,t,r,i){var o;return e.propertyIsEnumerable,'href="'+e.escapeExpression(e.lambda(null!=(o=null!=n?n.options:n)?o.seriesUrl:o,n))+'" target="_blank"'},5:function(e,n,t,r,i){var o;return e.propertyIsEnumerable,(null!=(o=t.if.call(null!=n?n:e.nullContext||{},null!=(o=null!=n?n.options:n)?o.seasonNumber:o,{name:"if",hash:{},fn:e.program(6,i,0),inverse:e.noop,data:i}))?o:"")+" E"+e.escapeExpression(e.lambda(null!=(o=null!=n?n.options:n)?o.episodeNumber:o,n))+"\n"},6:function(e,n,t,r,i){var o;return e.propertyIsEnumerable,"&nbsp;S"+e.escapeExpression(e.lambda(null!=(o=null!=n?n.options:n)?o.seasonNumber:o,n))+" &bull;"},compiler:[8,">= 4.3.0"],main:function(e,n,t,r,i){e.propertyIsEnumerable;var o,l=null!=n?n:e.nullContext||{};return'<a class="series-applink text-reset '+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.styleUppercase:o,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?o:"")+'" '+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.seriesUrl:o,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?o:"")+">\n "+(null!=(o=e.lambda(null!=(o=null!=n?n.options:n)?o.seriesName:o,n))?o:"")+(null!=(o=t.if.call(l,null!=(o=null!=n?n.options:n)?o.episodeNumber:o,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?o:"")+"</a>"},useData:!0})}}]);