/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 22); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.canDefineProperty = void 0; function canDefineProperty(prop, obj) { if (obj === void 0) { obj = window; } var descriptor = null; if ('getOwnPropertyDescriptor' in Object) { descriptor = Object.getOwnPropertyDescriptor(obj, prop); } return !descriptor || descriptor.configurable; } exports.canDefineProperty = canDefineProperty; /***/ }), /* 1 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); __webpack_require__(2); __webpack_require__(3); /***/ }), /* 2 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var polyfillHelper_1 = __webpack_require__(0); if ('document' in self) { if (!('classList' in document.createElement('_')) || document.createElementNS && !('classList' in document.createElementNS('http://www.w3.org/2000/svg', 'g')) || window.name === 'nodejs') { (function (view) { 'use strict'; if (!('Element' in view)) { return; } var classListProp = 'classList', protoProp = 'prototype', elemCtrProto = view['Element'][protoProp], objCtr = Object, strTrim = String[protoProp].trim || function () { return this.replace(/^\s+|\s+$/g, ''); }, arrIndexOf = Array[protoProp].indexOf || function (item) { var i = 0; var len = this.length; for (; i < len; i++) { if (i in this && this[i] === item) { return i; } } return -1; }, DOMEx = function (type, message) { this.name = type; this.code = DOMException[type]; this.message = message; }, checkTokenAndGetIndex = function (classList, token) { if (token === '') { throw new DOMEx('SYNTAX_ERR', 'The token must not be empty.'); } if (/\s/.test(token)) { throw new DOMEx('INVALID_CHARACTER_ERR', 'The token must not contain space characters.'); } return arrIndexOf.call(classList, token); }, ClassList = function (elem) { var trimmedClasses = strTrim.call(elem.getAttribute('class') || ''), classes = trimmedClasses ? trimmedClasses.split(/\s+/) : [], len = classes.length; var i = 0; for (; i < len; i++) { this.push(classes[i]); } this._updateClassName = function () { elem.setAttribute('class', this.toString()); }; }, classListProto = ClassList[protoProp] = [], classListGetter = function () { return new ClassList(this); }; DOMEx[protoProp] = Error[protoProp]; classListProto['item'] = function (i) { return this[i] || null; }; classListProto['contains'] = function (token) { return !!~checkTokenAndGetIndex(this, token + ''); }; classListProto['add'] = function () { var tokens = []; for (var _i = 0; _i < arguments.length; _i++) { tokens[_i] = arguments[_i]; } var l = tokens.length; var i = 0, token, updated = false; do { token = tokens[i] + ''; if (!~checkTokenAndGetIndex(this, token)) { this.push(token); updated = true; } } while (++i < l); if (updated) { this._updateClassName(); } }; classListProto['remove'] = function () { var tokens = []; for (var _i = 0; _i < arguments.length; _i++) { tokens[_i] = arguments[_i]; } var l = tokens.length; var i = 0, token, updated = false, index; do { token = tokens[i] + ''; index = checkTokenAndGetIndex(this, token); while (~index) { this.splice(index, 1); updated = true; index = checkTokenAndGetIndex(this, token); } } while (++i < l); if (updated) { this._updateClassName(); } }; classListProto['toggle'] = function (token, force) { var result = this.contains(token), method = result ? force !== true && 'remove' : force !== false && 'add'; if (method) { this[method](token); } if (force === true || force === false) { return force; } else { return !result; } }; classListProto['replace'] = function (token, replacement_token) { var index = checkTokenAndGetIndex(this, token + ''); if (~index) { this.splice(index, 1, replacement_token); this._updateClassName(); } }; classListProto.toString = function () { return this.join(' '); }; if (objCtr.defineProperty && (0, polyfillHelper_1.canDefineProperty)(classListProp, elemCtrProto)) { var classListPropDesc = { get: classListGetter, enumerable: true, configurable: true, }; try { objCtr.defineProperty(elemCtrProto, classListProp, classListPropDesc); } catch (ex) { if (ex.number === undefined || ex.number === -0x7FF5EC54) { classListPropDesc.enumerable = false; objCtr.defineProperty(elemCtrProto, classListProp, classListPropDesc); } } } else if (objCtr[protoProp]['__defineGetter__']) { elemCtrProto.__defineGetter__(classListProp, classListGetter); } }(self)); } (function () { 'use strict'; var testElement = document.createElement('_'); testElement.classList.add('c1', 'c2'); if (!testElement.classList.contains('c2') || window.name === 'nodejs') { var createMethod = function (method) { var original = DOMTokenList.prototype[method]; DOMTokenList.prototype[method] = function () { var tokens = []; for (var _i = 0; _i < arguments.length; _i++) { tokens[_i] = arguments[_i]; } var i; var len = tokens.length; for (i = 0; i < len; i++) { original.call(this, tokens[i]); } }; }; createMethod('add'); createMethod('remove'); } testElement.classList.toggle('c3', false); if (testElement.classList.contains('c3') || window.name === 'nodejs') { var _toggle_1 = DOMTokenList.prototype.toggle; DOMTokenList.prototype.toggle = function (token, force) { if (1 in arguments && !this.contains(token) === !force) { return force; } else { return _toggle_1.call(this, token); } }; } if (!('replace' in document.createElement('_').classList) || window.name === 'nodejs') { DOMTokenList.prototype['replace'] = function (token, replacement_token) { var tokens = this.toString().split(' '); var index = tokens.indexOf(token + ''); if (~index) { tokens = tokens.slice(index); this.remove.apply(this, tokens); this.add(replacement_token); this.add.apply(this, tokens.slice(1)); } }; } testElement = null; }()); } /***/ }), /* 3 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var polyfillHelper_1 = __webpack_require__(0); (function (arr) { arr.forEach(function (item) { if (item.hasOwnProperty('remove') || !(0, polyfillHelper_1.canDefineProperty)('remove', item)) { return; } Object.defineProperty(item, 'remove', { configurable: true, enumerable: true, writable: true, value: function remove() { this.parentNode.removeChild(this); }, }); }); })([Element.prototype, CharacterData.prototype, DocumentType.prototype]); /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.setLockCookie = exports.getCookie = void 0; function getCookie(name) { var cs = ('' + document.cookie).split('; '); for (var i = 0; i < cs.length; i++) { var cookie = cs[i].split('='); if (cookie[0] === name) return cookie[1]; } return null; } exports.getCookie = getCookie; function setLockCookie(name, value, time) { var expires = new Date(); expires.setTime(expires.getTime() + time); document.cookie = name + '=' + value + '; path=/; expires=' + expires.toGMTString() + ';'; } exports.setLockCookie = setLockCookie; /***/ }), /* 5 */, /* 6 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.detectIE = void 0; function detectIE(onlyEdge) { if (onlyEdge === void 0) { onlyEdge = false; } var ua = navigator.userAgent; var edge = ua.indexOf('Edge/'); if (edge > 0) { return parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10); } if (onlyEdge) { return false; } var msie = ua.indexOf('MSIE '); if (msie > 0) { return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10); } var trident = ua.indexOf('Trident/'); if (trident > 0) { var rv = ua.indexOf('rv:'); return parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10); } return false; } exports.detectIE = detectIE; /***/ }), /* 7 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mobileAndTabletCheck = exports.mobileCheck = void 0; function mobileCheck() { var check = false; (function (a) { if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4))) check = true; })(navigator.userAgent || navigator.vendor || window.opera); return check; } exports.mobileCheck = mobileCheck; function mobileAndTabletCheck() { var check = false; (function (a) { if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4))) check = true; })(navigator.userAgent || navigator.vendor || window.opera); return check; } exports.mobileAndTabletCheck = mobileAndTabletCheck; /***/ }), /* 8 */, /* 9 */, /* 10 */, /* 11 */, /* 12 */, /* 13 */, /* 14 */, /* 15 */, /* 16 */, /* 17 */, /* 18 */, /* 19 */, /* 20 */, /* 21 */, /* 22 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); __webpack_require__(1); var BrowserDetect_1 = __webpack_require__(6); var MobileCheck_1 = __webpack_require__(7); var cookieUtils_1 = __webpack_require__(4); __webpack_require__(23); if (/complete|interactive|loaded/.test(document.readyState)) { initOutstreamVideo(); } else { document.addEventListener('DOMContentLoaded', initOutstreamVideo); } function initOutstreamVideo() { var frequency = '43200000'; var trackingUrl = 'https://bongacams.com/track?c=452600&ps=outstream_video&csurl=https://runetki5.com'; var mediaSrc = JSON.parse('{"webm":"https:\/\/i.bngosv.com\/outstream_video\/allison_sweets\/wl\/en.webm","mp4":"https:\/\/i.bngosv.com\/outstream_video\/allison_sweets\/wl\/en.mp4"}'); var boundary, isBannerOpened, banner, videoElement, replaceBtn, soundBtn, duration, progress, progressWidth, isMuted = true, promoInit = false; var lockCookieName = 'bcovtool'; var isIE11 = (0, BrowserDetect_1.detectIE)() === 11; var isMobile = (0, MobileCheck_1.mobileAndTabletCheck)(); var isPreviewPage = location.pathname.indexOf('promo/outstream-video') > -1; function open() { if (!isBannerOpened) { isBannerOpened = true; if (!isMobile) { boundary.classList.add('__bcov_hide_actions'); } if (isIE11) { boundary.classList.add('__bcov_no_transition'); } } } function isElementInView(element) { var pageTop = window.pageYOffset; var pageBottom = pageTop + window.innerHeight; var elementTop = element.offsetTop; var elementBottom = elementTop + element.offsetHeight; return ((elementTop <= pageBottom) && (elementBottom >= pageTop)); } function videoPlay() { promoInit = true; var promise = videoElement.play(); if (typeof promise !== 'undefined') { promise.then(function () { boundary.classList.add('__bcov_playing'); initObserver(); }).catch(function () { videoElement.muted = true; var mutedPromise = videoElement.play(); if (typeof mutedPromise !== 'undefined') { mutedPromise.then(function () { boundary.classList.add('__bcov_playing'); setTimeout(function () { boundary.classList.add('__bcov_playing'); setTimeout(function () { return initObserver(); }, 500); }, 500); }).catch(function () { boundary.classList.add('__bcov_playing'); setTimeout(function () { return initObserver(); }, 1000); }); } }); } else { setTimeout(function () { boundary.classList.add('__bcov_playing'); initObserver(); }, 1500); } } function close() { isBannerOpened = false; boundary.remove(); var lockTime = isPreviewPage ? 1000 : +frequency; (0, cookieUtils_1.setLockCookie)(lockCookieName, 1, lockTime); } function attachHandlers() { if (boundary) { window.addEventListener('scroll', function () { if (isElementInView(boundary) && !promoInit) { videoPlay(); } }); if (window.innerWidth === document.documentElement.clientWidth) { videoPlay(); } document.querySelector('#bcov_tool .bcov_btn_close').addEventListener('click', handleClickClose); soundBtn.addEventListener('click', handleClickSoundButton); videoElement.addEventListener('ended', handleVideoEnded); videoElement.addEventListener('timeupdate', handleUpdateTime); videoElement.addEventListener('progress', handleUpdateProgress); replaceBtn.addEventListener('click', handleReplaceClick); banner.addEventListener('click', openPromoUrl); if (!isMobile) { banner.addEventListener('mouseenter', handleShowActions); banner.addEventListener('mouseleave', handleHideActions); } open(); } } function initObserver() { var headerPreviewEl = document.getElementById('header'); var observer = new IntersectionObserver(function (entries) { entries.forEach(function (entry) { if (entry.intersectionRatio >= 0.5 && !videoElement.ended) { videoElement.play(); } else if (entry.intersectionRatio !== 1 && !videoElement.paused) { videoElement.pause(); } }); }, { threshold: 0.5, rootMargin: isPreviewPage && headerPreviewEl ? '-140px 0px 0px 0px' : '0px' }); observer.observe(videoElement); } function handleClickClose(e) { e.stopPropagation(); close(); } function handleShowActions() { if (boundary.classList.contains('__bcov_hide_actions')) { boundary.classList.remove('__bcov_hide_actions'); } } function handleHideActions() { if (!boundary.classList.contains('__bcov_hide_actions')) { boundary.classList.add('__bcov_hide_actions'); } } function handleClickSoundButton(e) { e.stopPropagation(); isMuted = !isMuted; videoElement.muted = isMuted; soundBtn.classList.toggle('__muted', isMuted); } function handleVideoEnded() { replaceBtn.classList.remove('bcov_btn_replay_hide'); } function handleUpdateTime() { progress = videoElement.currentTime; updateProgressWidth(); } function handleUpdateProgress() { duration = videoElement.duration || 0; if (!videoElement.duration) { setTimeout(function () { duration = videoElement.duration; }, 500); } } function handleReplaceClick(e) { e.stopPropagation(); videoElement.currentTime = 0; replaceBtn.classList.add('bcov_btn_replay_hide'); videoElement.play(); } function onLoad() { var lockCookie = (0, cookieUtils_1.getCookie)(lockCookieName); if (lockCookie) { return; } boundary = document.querySelector('#bcov_tool'); banner = document.querySelector('#bcov_tool .bcov_banner'); videoElement = document.querySelector('#bcov_tool #bcov_video'); soundBtn = document.querySelector('#bcov_tool .bcov_btn_sound'); progressWidth = document.querySelector('#bcov_tool .bcov_played'); replaceBtn = document.querySelector('#bcov_tool .bcov_btn_replay'); initVideoSrc(); attachHandlers(); } function initVideoSrc() { if (mediaSrc) { var values = Object.keys(mediaSrc).map(function (e) { return mediaSrc[e]; }); values.forEach(function (el) { videoElement.innerHTML += ""); }); } } function openPromoUrl() { close(); window.open(trackingUrl, '_blank'); } function updateProgressWidth() { progressWidth.style.width = "".concat(duration === 0 ? duration : progress / duration * 100, "%"); } var style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = '/* Outstream video z-index icons: 1 */* { margin: 0; padding: 0;}.bcov_preview_container { max-width: 780px; margin: 0 auto; padding: 0 10px;}#bcov_tool { width: 100%; max-width: 995px; min-width: 300px; height: 0; max-height: 0; overflow: hidden; -webkit-transition: all 1s ease-in-out; transition: all 1s ease-in-out}#bcov_tool.__bcov_playing { height: auto; max-height: 1000px;}#bcov_tool.__bcov_no_transition { -webkit-transition: none; transition: none;}#bcov_tool.__bcov_hide_actions .bcov_btn_sound, #bcov_tool.__bcov_hide_actions .bcov_progress_bar, #bcov_tool.__bcov_hide_actions .bcov_btn_close { opacity: 0;}#bcov_tool .bcov_banner { position: relative; cursor: pointer;}#bcov_tool .bcov_btn_close { position: absolute; top: 4%; right: 2.3%; width: 8%; height: 14%; background-color: rgba(0, 0, 0, .75); -webkit-border-radius: 50%; border-radius: 50%; z-index: 1; cursor: pointer;}#bcov_tool .bcov_btn_close .close_icon { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 25%; height: 25%;}#bcov_tool #bcov_video { width: 100%; height: auto;}#bcov_tool .bcov_btn_sound { position: absolute; top: 4%; left: 2.3%; width: 8%; height: 14.2%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-border-radius: 3px; border-radius: 3px; background-color: rgba(0, 0, 0, .75); z-index: 1; cursor: pointer;}#bcov_tool .bcov_btn_sound.__muted .sound_icon { display: none;}#bcov_tool .bcov_btn_sound.__muted .sound_icon.__muted { display: block;}#bcov_tool .bcov_btn_sound .sound_icon { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 60%; height: 60%;}#bcov_tool .bcov_btn_sound .sound_icon.__muted { display: none;}#bcov_tool .bcov_btn_replay { width: 16.2%; height: 28.7%; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); -webkit-border-radius: 50%; border-radius: 50%; background-color: rgba(0, 0, 0, .75); z-index: 1; cursor: pointer;}#bcov_tool .bcov_btn_replay .replay_icon { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 42.8%; height: 46.9%;}#bcov_tool .bcov_btn_replay_hide { opacity: 0; z-index: 0; pointer-events: none;}#bcov_tool .bcov_progress_bar { position: absolute; right: 0; left: 2.3%; bottom: 3.5%; width: 95.4%; height: 2.5%; background: rgba(0, 0, 0, .75); -webkit-border-radius: 3px; border-radius: 3px; overflow: hidden;}#bcov_tool .bcov_played { position: absolute; bottom: 0; left: 0; height: 100%; background: #fff; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -webkit-transition: width .4s ease; transition: width .4s ease;}'; document.head.appendChild(style); var divRoot = document.getElementById('bcov_tool'); if (divRoot) { divRoot.innerHTML = '
'; } else { var template = document.createElement('div'); template.id = 'bcov_tool'; template.innerHTML = '
'; document.body.appendChild(template); } onLoad(); } /***/ }), /* 23 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; function IntersectionObserverObject() { if (typeof window !== 'object') { return; } if ('IntersectionObserver' in window && 'IntersectionObserverEntry' in window && 'intersectionRatio' in window.IntersectionObserverEntry.prototype) { if (!('isIntersecting' in window.IntersectionObserverEntry.prototype)) { Object.defineProperty(window.IntersectionObserverEntry.prototype, 'isIntersecting', { get: function () { return this.intersectionRatio > 0; } }); } return; } function getFrameElement(doc) { try { return doc.defaultView && doc.defaultView.frameElement || null; } catch (e) { return null; } } var document = (function (startDoc) { var doc = startDoc; var frame = getFrameElement(doc); while (frame) { doc = frame.ownerDocument; frame = getFrameElement(doc); } return doc; })(window.document); var registry = []; var crossOriginUpdater = null; var crossOriginRect = null; function IntersectionObserverEntry(entry) { this.time = entry.time; this.target = entry.target; this.rootBounds = ensureDOMRect(entry.rootBounds); this.boundingClientRect = ensureDOMRect(entry.boundingClientRect); this.intersectionRect = ensureDOMRect(entry.intersectionRect || getEmptyRect()); this.isIntersecting = !!entry.intersectionRect; var targetRect = this.boundingClientRect; var targetArea = targetRect.width * targetRect.height; var intersectionRect = this.intersectionRect; var intersectionArea = intersectionRect.width * intersectionRect.height; if (targetArea) { this.intersectionRatio = Number((intersectionArea / targetArea).toFixed(4)); } else { this.intersectionRatio = this.isIntersecting ? 1 : 0; } } function IntersectionObserver(callback, opt_options) { var options = opt_options || {}; if (typeof callback !== 'function') { throw new Error('callback must be a function'); } if (options.root && options.root.nodeType !== 1) { throw new Error('root must be an Element'); } this._checkForIntersections = throttle(this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT); this._callback = callback; this._observationTargets = []; this._queuedEntries = []; this._rootMarginValues = this._parseRootMargin(options.rootMargin); this.thresholds = this._initThresholds(options.threshold); this.root = options.root || null; this.rootMargin = this._rootMarginValues.map(function (margin) { return margin.value + margin.unit; }).join(' '); this._monitoringDocuments = []; this._monitoringUnsubscribes = []; } IntersectionObserver.prototype.THROTTLE_TIMEOUT = 100; IntersectionObserver.prototype.POLL_INTERVAL = null; IntersectionObserver.prototype.USE_MUTATION_OBSERVER = true; IntersectionObserver._setupCrossOriginUpdater = function () { if (!crossOriginUpdater) { crossOriginUpdater = function (boundingClientRect, intersectionRect) { if (!boundingClientRect || !intersectionRect) { crossOriginRect = getEmptyRect(); } else { crossOriginRect = convertFromParentRect(boundingClientRect, intersectionRect); } registry.forEach(function (observer) { observer._checkForIntersections(); }); }; } return crossOriginUpdater; }; IntersectionObserver._resetCrossOriginUpdater = function () { crossOriginUpdater = null; crossOriginRect = null; }; IntersectionObserver.prototype.observe = function (target) { var isTargetAlreadyObserved = this._observationTargets.some(function (item) { return item.element === target; }); if (isTargetAlreadyObserved) { return; } if (!(target && target.nodeType === 1)) { throw new Error('target must be an Element'); } this._registerInstance(); this._observationTargets.push({ element: target, entry: null }); this._monitorIntersections(target.ownerDocument); this._checkForIntersections(); }; IntersectionObserver.prototype.unobserve = function (target) { this._observationTargets = this._observationTargets.filter(function (item) { return item.element !== target; }); this._unmonitorIntersections(target.ownerDocument); if (this._observationTargets.length === 0) { this._unregisterInstance(); } }; IntersectionObserver.prototype.disconnect = function () { this._observationTargets = []; this._unmonitorAllIntersections(); this._unregisterInstance(); }; IntersectionObserver.prototype.takeRecords = function () { var records = this._queuedEntries.slice(); this._queuedEntries = []; return records; }; IntersectionObserver.prototype._initThresholds = function (opt_threshold) { var threshold = opt_threshold || [0]; if (!Array.isArray(threshold)) { threshold = [threshold]; } return threshold.sort().filter(function (t, i, a) { if (typeof t !== 'number' || isNaN(t) || t < 0 || t > 1) { throw new Error('threshold must be a number between 0 and 1 inclusively'); } return t !== a[i - 1]; }); }; IntersectionObserver.prototype._parseRootMargin = function (opt_rootMargin) { var marginString = opt_rootMargin || '0px'; var margins = marginString.split(/\s+/).map(function (margin) { var parts = /^(-?\d*\.?\d+)(px|%)$/.exec(margin); if (!parts) { throw new Error('rootMargin must be specified in pixels or percent'); } return { value: parseFloat(parts[1]), unit: parts[2] }; }); margins[1] = margins[1] || margins[0]; margins[2] = margins[2] || margins[0]; margins[3] = margins[3] || margins[1]; return margins; }; IntersectionObserver.prototype._monitorIntersections = function (doc) { var win = doc.defaultView; if (!win) { return; } if (this._monitoringDocuments.indexOf(doc) !== -1) { return; } var callback = this._checkForIntersections; var monitoringInterval = null; var domObserver = null; if (this.POLL_INTERVAL) { monitoringInterval = win.setInterval(callback, this.POLL_INTERVAL); } else { addEvent(win, 'resize', callback, true); addEvent(doc, 'scroll', callback, true); if (this.USE_MUTATION_OBSERVER && 'MutationObserver' in win) { domObserver = new win.MutationObserver(callback); domObserver.observe(doc, { attributes: true, childList: true, characterData: true, subtree: true }); } } this._monitoringDocuments.push(doc); this._monitoringUnsubscribes.push(function () { var g = doc.defaultView; if (g) { if (monitoringInterval) { g.clearInterval(monitoringInterval); } removeEvent(g, 'resize', callback, true); } removeEvent(doc, 'scroll', callback, true); if (domObserver) { domObserver.disconnect(); } }); if (doc !== (this.root && this.root.ownerDocument || document)) { var frame = getFrameElement(doc); if (frame) { this._monitorIntersections(frame.ownerDocument); } } }; IntersectionObserver.prototype._unmonitorIntersections = function (doc) { var index = this._monitoringDocuments.indexOf(doc); if (index === -1) { return; } var rootDoc = (this.root && this.root.ownerDocument || document); var hasDependentTargets = this._observationTargets.some(function (item) { var itemDoc = item.element.ownerDocument; if (itemDoc === doc) { return true; } while (itemDoc && itemDoc !== rootDoc) { var elem = getFrameElement(itemDoc); itemDoc = elem && elem.ownerDocument; if (itemDoc === doc) { return true; } } return false; }); if (hasDependentTargets) { return; } var unsubscribe = this._monitoringUnsubscribes[index]; this._monitoringDocuments.splice(index, 1); this._monitoringUnsubscribes.splice(index, 1); unsubscribe(); if (doc !== rootDoc) { var frame = getFrameElement(doc); if (frame) { this._unmonitorIntersections(frame.ownerDocument); } } }; IntersectionObserver.prototype._unmonitorAllIntersections = function () { var unsubscribes = this._monitoringUnsubscribes.slice(0); this._monitoringDocuments.length = 0; this._monitoringUnsubscribes.length = 0; for (var i = 0; i < unsubscribes.length; i++) { unsubscribes[i](); } }; IntersectionObserver.prototype._checkForIntersections = function () { if (!this.root && crossOriginUpdater && !crossOriginRect) { return; } var rootIsInDom = this._rootIsInDom(); var rootRect = rootIsInDom ? this._getRootRect() : getEmptyRect(); this._observationTargets.forEach(function (item) { var target = item.element; var targetRect = getBoundingClientRect(target); var rootContainsTarget = this._rootContainsTarget(target); var oldEntry = item.entry; var intersectionRect = rootIsInDom && rootContainsTarget && this._computeTargetAndRootIntersection(target, targetRect, rootRect); var newEntry = item.entry = new IntersectionObserverEntry({ time: now(), target: target, boundingClientRect: targetRect, rootBounds: crossOriginUpdater && !this.root ? null : rootRect, intersectionRect: intersectionRect }); if (!oldEntry) { this._queuedEntries.push(newEntry); } else if (rootIsInDom && rootContainsTarget) { if (this._hasCrossedThreshold(oldEntry, newEntry)) { this._queuedEntries.push(newEntry); } } else { if (oldEntry && oldEntry.isIntersecting) { this._queuedEntries.push(newEntry); } } }, this); if (this._queuedEntries.length) { this._callback(this.takeRecords(), this); } }; IntersectionObserver.prototype._computeTargetAndRootIntersection = function (target, targetRect, rootRect) { if (window.getComputedStyle(target).display === 'none') { return; } var intersectionRect = targetRect; var parent = getParentNode(target); var atRoot = false; while (!atRoot && parent) { var parentRect = null; var parentComputedStyle = parent.nodeType === 1 ? window.getComputedStyle(parent) : {}; if (parentComputedStyle.display === 'none') { return null; } if (parent === this.root || parent.nodeType === 9) { atRoot = true; if (parent === this.root || parent === document) { if (crossOriginUpdater && !this.root) { if (!crossOriginRect || crossOriginRect.width === 0 && crossOriginRect.height === 0) { parent = null; parentRect = null; intersectionRect = null; } else { parentRect = crossOriginRect; } } else { parentRect = rootRect; } } else { var frame = getParentNode(parent); var frameRect = frame && getBoundingClientRect(frame); var frameIntersect = frame && this._computeTargetAndRootIntersection(frame, frameRect, rootRect); if (frameRect && frameIntersect) { parent = frame; parentRect = convertFromParentRect(frameRect, frameIntersect); } else { parent = null; intersectionRect = null; } } } else { var doc = parent.ownerDocument; if (parent !== doc.body && parent !== doc.documentElement && parentComputedStyle.overflow !== 'visible') { parentRect = getBoundingClientRect(parent); } } if (parentRect) { intersectionRect = computeRectIntersection(parentRect, intersectionRect); } if (!intersectionRect) { break; } parent = parent && getParentNode(parent); } return intersectionRect; }; IntersectionObserver.prototype._getRootRect = function () { var rootRect; if (this.root) { rootRect = getBoundingClientRect(this.root); } else { var html = document.documentElement; var body = document.body; rootRect = { top: 0, left: 0, right: html.clientWidth || body.clientWidth, width: html.clientWidth || body.clientWidth, bottom: html.clientHeight || body.clientHeight, height: html.clientHeight || body.clientHeight }; } return this._expandRectByRootMargin(rootRect); }; IntersectionObserver.prototype._expandRectByRootMargin = function (rect) { var margins = this._rootMarginValues.map(function (margin, i) { return margin.unit === 'px' ? margin.value : margin.value * (i % 2 ? rect.width : rect.height) / 100; }); var newRect = { top: rect.top - margins[0], right: rect.right + margins[1], bottom: rect.bottom + margins[2], left: rect.left - margins[3], width: (rect.right + margins[1]) - (rect.left - margins[3]), height: (rect.bottom + margins[2]) - (rect.top - margins[0]), }; return newRect; }; IntersectionObserver.prototype._hasCrossedThreshold = function (oldEntry, newEntry) { var oldRatio = oldEntry && oldEntry.isIntersecting ? oldEntry.intersectionRatio || 0 : -1; var newRatio = newEntry.isIntersecting ? newEntry.intersectionRatio || 0 : -1; if (oldRatio === newRatio) { return; } for (var i = 0; i < this.thresholds.length; i++) { var threshold = this.thresholds[i]; if (threshold === oldRatio || threshold === newRatio || threshold < oldRatio !== threshold < newRatio) { return true; } } }; IntersectionObserver.prototype._rootIsInDom = function () { return !this.root || containsDeep(document, this.root); }; IntersectionObserver.prototype._rootContainsTarget = function (target) { return containsDeep(this.root || document, target) && (!this.root || this.root.ownerDocument === target.ownerDocument); }; IntersectionObserver.prototype._registerInstance = function () { if (registry.indexOf(this) < 0) { registry.push(this); } }; IntersectionObserver.prototype._unregisterInstance = function () { var index = registry.indexOf(this); if (index !== -1) { registry.splice(index, 1); } }; function now() { return window.performance && performance.now && performance.now(); } function throttle(fn, timeout) { var timer = 0; return function () { if (!timer) { timer = window.setTimeout(function () { fn(); timer = null; }, timeout); } }; } function addEvent(node, event, fn, opt_useCapture) { if (typeof node.addEventListener === 'function') { node.addEventListener(event, fn, opt_useCapture || false); } else if (typeof node.attachEvent === 'function') { node.attachEvent('on' + event, fn); } } function removeEvent(node, event, fn, opt_useCapture) { if (typeof node.removeEventListener === 'function') { node.removeEventListener(event, fn, opt_useCapture || false); } else if (typeof node.detatchEvent === 'function') { node.detatchEvent('on' + event, fn); } } function computeRectIntersection(rect1, rect2) { var top = Math.max(rect1.top, rect2.top); var bottom = Math.min(rect1.bottom, rect2.bottom); var left = Math.max(rect1.left, rect2.left); var right = Math.min(rect1.right, rect2.right); var width = right - left; var height = bottom - top; return (width >= 0 && height >= 0) && { top: top, bottom: bottom, left: left, right: right, width: width, height: height } || null; } function getBoundingClientRect(el) { var rect; try { rect = el.getBoundingClientRect(); } catch (err) { } if (!rect) { return getEmptyRect(); } if (!(rect.width && rect.height)) { rect = { top: rect.top, right: rect.right, bottom: rect.bottom, left: rect.left, width: rect.right - rect.left, height: rect.bottom - rect.top }; } return rect; } function getEmptyRect() { return { top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0 }; } function ensureDOMRect(rect) { if (!rect || 'x' in rect) { return rect; } return { top: rect.top, y: rect.top, bottom: rect.bottom, left: rect.left, x: rect.left, right: rect.right, width: rect.width, height: rect.height }; } function convertFromParentRect(parentBoundingRect, parentIntersectionRect) { var top = parentIntersectionRect.top - parentBoundingRect.top; var left = parentIntersectionRect.left - parentBoundingRect.left; return { top: top, left: left, height: parentIntersectionRect.height, width: parentIntersectionRect.width, bottom: top + parentIntersectionRect.height, right: left + parentIntersectionRect.width }; } function containsDeep(parent, child) { var node = child; while (node) { if (node === parent) { return true; } node = getParentNode(node); } return false; } function getParentNode(node) { var parent = node.parentNode; if (node.nodeType === 9 && node !== document) { return getFrameElement(node); } if (parent && parent.nodeType === 11 && parent.host) { return parent.host; } if (parent && parent.assignedSlot) { return parent.assignedSlot.parentNode; } return parent; } return { IntersectionObserver: IntersectionObserver, IntersectionObserverEntry: IntersectionObserverEntry }; } if (typeof window.IntersectionObserver === 'undefined') { var Observer = IntersectionObserverObject(); window.IntersectionObserver = Observer.IntersectionObserver; window.IntersectionObserverEntry = Observer.IntersectionObserverEntry; } /***/ }) /******/ ]);