1(window.webpackJsonp=window.webpackJsonp||[]).push([[55],{138:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},o=r(66),a=r(449),s=(i=a)&&i.__esModule?i:{default:i};function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(this,t),this.html=e,this.config=n({},r),this.imageWrapper=(0,o.qs)(this.config.imageWrapperSelector,this.html),this.isHeaderVideo=(0,o.qs)(this.config.headerVideoSelector,this.html),this.initBrightcoveVideo()}var e,r;return t.prototype.initBrightcoveVideo=(e=regeneratorRuntime.mark((function t(){var e,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isHeaderVideo){t.next=2;break}return t.abrupt("return");case 2:return e=(0,o.qs)(this.config.imageWrapperSelector,this.html),r=new s.default(e,this.config.posterSelector,this.config.placeholderSelector),t.next=6,r.init();case 6:case"end":return t.stop()}}),t,this)})),r=function(){var t=e.apply(this,arguments);return new Promise((function(e,r){return function i(n,o){try{var a=t[n](o),s=a.value}catch(t){return void r(t)}if(!a.done)return Promise.resolve(s).then((function(t){i("next",t)}),(function(t){i("throw",t)}));e(s)}("next")}))},function(){return r.apply(this,arguments)}),t}();e.default=u},449:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(66);function n(t){return function(){var e=t.apply(this,arguments);return new Promise((function(t,r){return function i(n,o){try{var a=e[n](o),s=a.value}catch(t){return void r(t)}if(!a.done)return Promise.resolve(s).then((function(t){i("next",t)}),(function(t){i("throw",t)}));t(s)}("next")}))}}var o=function(){function t(e,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.container=e,this.posterSelector=r,this.placeholderSelector=i,this.poster=null,this.placeholder=null,this.player=null,this.isVideoReady=!1}var e,r;return t.prototype.init=(e=n(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.poster=(0,i.qs)(this.posterSelector,this.container),this.placeholder=(0,i.qs)(this.placeholderSelector,this.container),this.placeholder&&this.poster){t.next=4;break}return t.abrupt("return");case 4:return this.placeholder.setAttribute("data-video-id",this.poster.dataset.videoId),this.placeholder.setAttribute("data-account",this.poster.dataset.account),t.next=8,this.loadAndInitVideo();case 8:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)}),t.waitForBrightcove=function(){return new Promise((function(t){!function e(){window.bc?t():setTimeout(e,100)}()}))},t.prototype.checkAndHidePoster=function(){this.player&&this.hidePoster()},t.prototype.hidePoster=function(){var t=this;(0,i.addClass)(this.poster,"opacity-0"),(0,i.removeClass)(this.placeholder,"opacity-0"),(0,i.addClass)(this.placeholder,"opacity-transition"),(0,i.addClass)(this.placeholder,"opacity-1"),setTimeout((function(){(0,i.addClass)(t.poster,"v-hidden")}),500)},t.prototype.loadAndInitVideo=(r=n(regeneratorRuntime.mark((function e(){var r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.waitForBrightcove();case 3:this.player=window.bc(this.placeholder),this.player.on("loadedmetadata",(function(){r.checkAndHidePoster()})),this.player.on("pause",(function(){"visible"===document.visibilityState&&r.player.play()})),(0,i.$on)(document,"visibilitychange",(function(){"visible"===document.visibilityState&&(0,i.hasClass)(r.placeholder,"vjs-paused")&&r.player.play().catch((function(t){console.error("Play on visibility resume failed:",t)}))})),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error("Failed to load Brightcove video:",e.t0);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(){return r.apply(this,arguments)}),t}();e.default=o}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.