Version Description
- Updated the player to version 7.2.7.
Download this release
Release Info
Developer | naa986 |
Plugin | Easy Video Player |
Version | 1.1.8 |
Comparing to | |
See all releases |
Code changes from version 1.1.7 to 1.1.8
- easy-video-player.php +3 -3
- index.html +0 -0
- languages/index.html +0 -0
- lib/flowplayer.js +550 -298
- lib/flowplayer.min.js +2 -6
- lib/flowplayer.swf +0 -0
- lib/flowplayerhls.swf +0 -0
- lib/index.html +0 -0
- lib/skin/icons/index.html +0 -0
- lib/skin/index.html +0 -0
- lib/skin/skin.css +11 -5
- readme.txt +11 -4
easy-video-player.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Easy Video Player
|
4 |
-
Version: 1.1.
|
5 |
Plugin URI: https://noorsplugin.com/wordpress-video-plugin/
|
6 |
Author: naa986
|
7 |
Author URI: https://noorsplugin.com/
|
@@ -17,8 +17,8 @@ if (!class_exists('EASY_VIDEO_PLAYER')) {
|
|
17 |
|
18 |
class EASY_VIDEO_PLAYER {
|
19 |
|
20 |
-
var $plugin_version = '1.1.
|
21 |
-
var $flowplayer_version = '7.2.
|
22 |
|
23 |
function __construct() {
|
24 |
define('EASY_VIDEO_PLAYER_VERSION', $this->plugin_version);
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Easy Video Player
|
4 |
+
Version: 1.1.8
|
5 |
Plugin URI: https://noorsplugin.com/wordpress-video-plugin/
|
6 |
Author: naa986
|
7 |
Author URI: https://noorsplugin.com/
|
17 |
|
18 |
class EASY_VIDEO_PLAYER {
|
19 |
|
20 |
+
var $plugin_version = '1.1.8';
|
21 |
+
var $flowplayer_version = '7.2.7';
|
22 |
|
23 |
function __construct() {
|
24 |
define('EASY_VIDEO_PLAYER_VERSION', $this->plugin_version);
|
index.html
ADDED
File without changes
|
languages/index.html
ADDED
File without changes
|
lib/flowplayer.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
/*!
|
2 |
|
3 |
-
Flowplayer v7.2.
|
4 |
|
5 |
*/
|
6 |
/*! (C) WebReflection Mit Style License */
|
7 |
(function(e){function g(e,t,n,r){for(var i,s=n.slice(),o=w(t,e),u=0,a=s.length;u<a;u++){handler=s[u],typeof handler=="object"&&typeof handler.handleEvent=="function"?handler.handleEvent(o):handler.call(e,o);if(o.stoppedImmediatePropagation)break}return i=!o.stoppedPropagation,r&&i&&e.parentNode?e.parentNode.dispatchEvent(o):!o.defaultPrevented}function y(e,t){return{configurable:!0,get:e,set:t}}function b(e,t,n){var r=f(t||e,n);u(e,"textContent",y(function(){return r.get.call(this)},function(e){r.set.call(this,e)}))}function w(e,t){return e.currentTarget=t,e.eventPhase=e.target===e.currentTarget?2:3,e}function E(e,t){var n=e.length;while(n--&&e[n]!==t);return n}function S(){if(this.tagName==="BR")return"\n";var e=this.firstChild,t=[];while(e)e.nodeType!==8&&e.nodeType!==7&&t.push(e.textContent),e=e.nextSibling;return t.join("")}function x(e){return e.nodeType!==9&&document.documentElement.contains(e)}function T(e){!n&&d.test(document.readyState)&&(n=!n,document.detachEvent(r,T),e=document.createEvent("Event"),e.initEvent(i,!0,!0),document.dispatchEvent(e))}function N(e){var t;while(t=this.lastChild)this.removeChild(t);e!=null&&this.appendChild(document.createTextNode(e))}function C(t,n){return n||(n=e.event),n.target||(n.target=n.srcElement||n.fromElement||document),n.timeStamp||(n.timeStamp=(new Date).getTime()),n}if(document.createEvent)return;var t=!0,n=!1,r="onreadystatechange",i="DOMContentLoaded",s="__IE8__"+Math.random(),o=e.Object,u=o.defineProperty||function(e,t,n){e[t]=n.value},a=o.defineProperties||function(t,n){for(var r in n)if(l.call(n,r))try{u(t,r,n[r])}catch(i){e.console&&console.log(r+" failed on object:",t,i.message)}},f=o.getOwnPropertyDescriptor,l=o.prototype.hasOwnProperty,c=e.Element.prototype,h=e.Text.prototype,p=/^[a-z]+$/,d=/loaded|complete/,v={},m=document.createElement("div");b(e.HTMLCommentElement.prototype,c,"nodeValue"),b(e.HTMLScriptElement.prototype,null,"text"),b(h,null,"nodeValue"),b(e.HTMLTitleElement.prototype,null,"text"),u(e.HTMLStyleElement.prototype,"textContent",function(e){return y(function(){return e.get.call(this.styleSheet)},function(t){e.set.call(this.styleSheet,t)})}(f(e.CSSStyleSheet.prototype,"cssText"))),a(c,{textContent:{get:S,set:N},firstElementChild:{get:function(){for(var e=this.childNodes||[],t=0,n=e.length;t<n;t++)if(e[t].nodeType==1)return e[t]}},lastElementChild:{get:function(){for(var e=this.childNodes||[],t=e.length;t--;)if(e[t].nodeType==1)return e[t]}},previousElementSibling:{get:function(){var e=this.previousSibling;while(e&&e.nodeType!=1)e=e.previousSibling;return e}},nextElementSibling:{get:function(){var e=this.nextSibling;while(e&&e.nodeType!=1)e=e.nextSibling;return e}},childElementCount:{get:function(){for(var e=0,t=this.childNodes||[],n=t.length;n--;e+=t[n].nodeType==1);return e}},addEventListener:{value:function(e,t,n){var r=this,i="on"+e,o=r[s]||u(r,s,{value:{}})[s],a=o[i]||(o[i]={}),f=a.h||(a.h=[]),c;if(!l.call(a,"w")){a.w=function(e){return e[s]||g(r,C(r,e),f,!1)};if(!l.call(v,i))if(p.test(e))try{c=document.createEventObject(),c[s]=!0,r.nodeType!=9&&r.parentNode==null&&m.appendChild(r),r.fireEvent(i,c),v[i]=!0}catch(c){v[i]=!1;while(m.hasChildNodes())m.removeChild(m.firstChild)}else v[i]=!1;(a.n=v[i])&&r.attachEvent(i,a.w)}E(f,t)<0&&f[n?"unshift":"push"](t)}},dispatchEvent:{value:function(e){var t=this,n="on"+e.type,r=t[s],i=r&&r[n],o=!!i,u;return e.target||(e.target=t),o?i.n?t.fireEvent(n,e):g(t,e,i.h,!0):(u=t.parentNode)?u.dispatchEvent(e):!0,!e.defaultPrevented}},removeEventListener:{value:function(e,t,n){var r=this,i="on"+e,o=r[s],u=o&&o[i],a=u&&u.h,f=a?E(a,t):-1;-1<f&&a.splice(f,1)}}}),a(h,{addEventListener:{value:c.addEventListener},dispatchEvent:{value:c.dispatchEvent},removeEventListener:{value:c.removeEventListener}}),a(e.XMLHttpRequest.prototype,{addEventListener:{value:function(e,t,n){var r=this,i="on"+e,o=r[s]||u(r,s,{value:{}})[s],a=o[i]||(o[i]={}),f=a.h||(a.h=[]);E(f,t)<0&&(r[i]||(r[i]=function(){var t=document.createEvent("Event");t.initEvent(e,!0,!0),r.dispatchEvent(t)}),f[n?"unshift":"push"](t))}},dispatchEvent:{value:function(e){var t=this,n="on"+e.type,r=t[s],i=r&&r[n],o=!!i;return o&&(i.n?t.fireEvent(n,e):g(t,e,i.h,!0))}},removeEventListener:{value:c.removeEventListener}}),a(e.Event.prototype,{bubbles:{value:!0,writable:!0},cancelable:{value:!0,writable:!0},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0,this.returnValue=!1)}},stopPropagation:{value:function(){this.stoppedPropagation=!0,this.cancelBubble=!0}},stopImmediatePropagation:{value:function(){this.stoppedImmediatePropagation=!0,this.stopPropagation()}},initEvent:{value:function(e,t,n){this.type=e,this.bubbles=!!t,this.cancelable=!!n,this.bubbles||this.stopPropagation()}}}),a(e.HTMLDocument.prototype,{textContent:{get:function(){return this.nodeType===11?S.call(this):null},set:function(e){this.nodeType===11&&N.call(this,e)}},addEventListener:{value:function(n,s,o){var u=this;c.addEventListener.call(u,n,s,o),t&&n===i&&!d.test(u.readyState)&&(t=!1,u.attachEvent(r,T),e==top&&function a(e){try{u.documentElement.doScroll("left"),T()}catch(t){setTimeout(a,50)}}())}},dispatchEvent:{value:c.dispatchEvent},removeEventListener:{value:c.removeEventListener},createEvent:{value:function(e){var t;if(e!=="Event")throw new Error("unsupported "+e);return t=document.createEventObject(),t.timeStamp=(new Date).getTime(),t}}}),a(e.Window.prototype,{getComputedStyle:{value:function(){function i(e){this._=e}function s(){}var e=/^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/,t=/^(top|right|bottom|left)$/,n=/\-([a-z])/g,r=function(e,t){return t.toUpperCase()};return i.prototype.getPropertyValue=function(i){var s=this._,o=s.style,u=s.currentStyle,a=s.runtimeStyle,f,l,c;return i=(i==="float"?"style-float":i).replace(n,r),f=u?u[i]:o[i],e.test(f)&&!t.test(i)&&(l=o.left,c=a&&a.left,c&&(a.left=u.left),o.left=i==="fontSize"?"1em":f,f=o.pixelLeft+"px",o.left=l,c&&(a.left=c)),f==null?f:f+""||"auto"},s.prototype.getPropertyValue=function(){return null},function(e,t){return t?new s(e):new i(e)}}()},addEventListener:{value:function(t,n,r){var i=e,o="on"+t,u;i[o]||(i[o]=function(e){return g(i,C(i,e),u,!1)}),u=i[o][s]||(i[o][s]=[]),E(u,n)<0&&u[r?"unshift":"push"](n)}},dispatchEvent:{value:function(t){var n=e["on"+t.type];return n?n.call(e,t)!==!1&&!t.defaultPrevented:!0}},removeEventListener:{value:function(t,n,r){var i="on"+t,u=(e[i]||o)[s],a=u?E(u,n):-1;-1<a&&u.splice(a,1)}}})})(this);
|
8 |
-
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.flowplayer = f()}})(function(){var define,module,exports;return (function e
|
9 |
'use strict';
|
10 |
var common = module.exports = {},
|
11 |
ClassList = _dereq_('class-list'),
|
@@ -193,7 +193,12 @@ common.lastChild = function(el) {
|
|
193 |
common.hasParent = function(el, parentSelector) {
|
194 |
var parent = el.parentElement;
|
195 |
while (parent) {
|
196 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
197 |
parent = parent.parentElement;
|
198 |
}
|
199 |
return false;
|
@@ -470,6 +475,7 @@ engineImpl = function flashEngine(player, root) {
|
|
470 |
if ((conf.rtmp || {}).hasOwnProperty(key)) opts[key] = (conf.rtmp || {})[key];
|
471 |
if ((video.rtmp || {}).hasOwnProperty(key)) opts[key] = (video.rtmp || {})[key];
|
472 |
});
|
|
|
473 |
if (conf.rtmp) opts.rtmp = conf.rtmp.url || conf.rtmp;
|
474 |
if (video.rtmp) opts.rtmp = video.rtmp.url || video.rtmp;
|
475 |
Object.keys(video.flashls || {}).forEach(function(key) {
|
@@ -479,8 +485,9 @@ engineImpl = function flashEngine(player, root) {
|
|
479 |
|
480 |
var hlsQualities = typeof video.hlsQualities !== 'undefined' ? video.hlsQualities : conf.hlsQualities;
|
481 |
if (typeof hlsQualities !== 'undefined') opts.hlsQualities = hlsQualities ? encodeURIComponent(JSON.stringify(hlsQualities)) : hlsQualities;
|
482 |
-
// bufferTime might be 0
|
483 |
if (conf.bufferTime !== undefined) opts.bufferTime = conf.bufferTime;
|
|
|
484 |
|
485 |
if (is_absolute) delete opts.rtmp;
|
486 |
|
@@ -514,7 +521,12 @@ engineImpl = function flashEngine(player, root) {
|
|
514 |
player.video.hlsQualities :
|
515 |
player.conf.hlsQualities;
|
516 |
if (!hlsQualities) return;
|
517 |
-
|
|
|
|
|
|
|
|
|
|
|
518 |
});
|
519 |
|
520 |
// throw error if no loading occurs
|
@@ -728,6 +740,7 @@ function isAbsolute(url) {
|
|
728 |
var flowplayer = _dereq_('../flowplayer')
|
729 |
, support = flowplayer.support
|
730 |
, common = flowplayer.common
|
|
|
731 |
, html5factory = _dereq_('./html5-factory');
|
732 |
|
733 |
|
@@ -741,37 +754,91 @@ var engine;
|
|
741 |
|
742 |
engine = function(player, root) {
|
743 |
|
744 |
-
var
|
745 |
, lastSelectedLevel
|
746 |
, lastSource;
|
747 |
|
748 |
-
|
749 |
-
|
|
|
|
|
|
|
|
|
750 |
engine.extensions.forEach(function(ext) {
|
751 |
-
ext(
|
|
|
|
|
|
|
|
|
|
|
752 |
});
|
753 |
hls.loadSource(video.src);
|
754 |
|
755 |
// API overriders
|
756 |
engineApi.resume = function() {
|
757 |
-
if (player.live && !player.dvr) api.currentTime = hls.liveSyncPosition;
|
758 |
api.play();
|
759 |
};
|
760 |
|
761 |
engineApi.seek = function(seekTo) {
|
762 |
try {
|
763 |
-
if (player.live
|
|
|
|
|
|
|
|
|
|
|
764 |
else api.currentTime = seekTo;
|
765 |
} catch (e) {
|
766 |
player.debug('Failed to seek to ', seekTo, e);
|
767 |
}
|
768 |
};
|
769 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
770 |
// Quality selection
|
771 |
player.on('quality', function(_ev, _api, q) {
|
772 |
hls.nextLevel = lastSelectedLevel = q;
|
773 |
});
|
774 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
775 |
|
776 |
hls.on(Hls.Events.MANIFEST_PARSED, function(_, data) {
|
777 |
var hlsQualities = video.hlsQualities || player.conf.hlsQualities
|
@@ -811,7 +878,9 @@ engine = function(player, root) {
|
|
811 |
}]
|
812 |
|
813 |
if (Array.isArray(hlsQualities)) {
|
814 |
-
|
|
|
|
|
815 |
confQualities = hlsQualities.map(function(q) {
|
816 |
if (typeof q.level !== 'undefined') qualityLabels[q.level] = q.label;
|
817 |
return typeof q.level !== 'undefined' ? q.level : q;
|
@@ -844,11 +913,48 @@ engine = function(player, root) {
|
|
844 |
if (lastSource && video.src !== lastSource) api.play();
|
845 |
lastSource = video.src;
|
846 |
});
|
847 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
848 |
};
|
849 |
|
850 |
|
851 |
engine.canPlay = function(type, conf) {
|
|
|
852 |
if (support.browser.safari && !(conf.clip && conf.clip.hlsjs || conf.hlsjs || {}).safari) return false;
|
853 |
return flowplayer.support.video && canPlay(type);
|
854 |
};
|
@@ -913,12 +1019,14 @@ function html5factory(engineName, player, root, canPlay, ext) {
|
|
913 |
},
|
914 |
|
915 |
load: function(video) {
|
916 |
-
var container = common.find('.fp-player', root)[0]
|
|
|
917 |
|
918 |
if (!api) {
|
919 |
api = document.createElement('video');
|
920 |
common.prepend(container, api);
|
921 |
api.autoplay = !!conf.splash;
|
|
|
922 |
}
|
923 |
common.addClass(api, 'fp-engine');
|
924 |
common.find('track', api).forEach(common.removeNode);
|
@@ -976,38 +1084,53 @@ function html5factory(engineName, player, root, canPlay, ext) {
|
|
976 |
api.volume = volumeLevel;
|
977 |
}
|
978 |
|
979 |
-
ext(video, api, self);
|
980 |
if (conf.autoplay || conf.splash || video.autoplay) {
|
981 |
player.debug('Autoplay / Splash setup, try to start video');
|
982 |
-
|
983 |
-
|
984 |
-
|
985 |
-
p.
|
986 |
-
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
991 |
}
|
992 |
-
}
|
993 |
-
|
994 |
-
|
995 |
}
|
996 |
|
997 |
-
self._listeners = listen(api, common.find('source', api).concat(api), video) || self._listeners;
|
998 |
-
|
999 |
|
|
|
1000 |
var preloadCheck = function() {
|
1001 |
if (!isInViewport(root)) return;
|
|
|
1002 |
if (support.preloadMetadata) api.preload = 'metadata';
|
1003 |
else api.load();
|
1004 |
bean.off(document, 'scroll.preloadviewport');
|
1005 |
};
|
1006 |
-
preloadCheck();
|
1007 |
bean.off(document, 'scroll.preloadviewport');
|
1008 |
bean.on(document, 'scroll.preloadviewport', function() {
|
1009 |
window.requestAnimationFrame(preloadCheck);
|
1010 |
});
|
|
|
1011 |
},
|
1012 |
|
1013 |
mute: function(flag) {
|
@@ -1029,8 +1152,10 @@ function html5factory(engineName, player, root, canPlay, ext) {
|
|
1029 |
},
|
1030 |
|
1031 |
seek: function(time) {
|
|
|
1032 |
try {
|
1033 |
api.currentTime = time;
|
|
|
1034 |
} catch (ignored) {}
|
1035 |
},
|
1036 |
|
@@ -1045,7 +1170,11 @@ function html5factory(engineName, player, root, canPlay, ext) {
|
|
1045 |
unload: function() {
|
1046 |
bean.off(document, 'scroll.preloadviewport');
|
1047 |
common.find('video.fp-engine', root).forEach(function (videoTag) {
|
1048 |
-
|
|
|
|
|
|
|
|
|
1049 |
common.removeNode(videoTag);
|
1050 |
});
|
1051 |
timer = clearInterval(timer);
|
@@ -1060,7 +1189,7 @@ function html5factory(engineName, player, root, canPlay, ext) {
|
|
1060 |
}
|
1061 |
};
|
1062 |
|
1063 |
-
function listen(api, sources, video) {
|
1064 |
// listen only once
|
1065 |
var instanceId = root.getAttribute('data-flowplayer-instance-id');
|
1066 |
|
@@ -1093,6 +1222,7 @@ function html5factory(engineName, player, root, canPlay, ext) {
|
|
1093 |
if (track.kind !== 'metadata') return;
|
1094 |
track.mode = 'hidden';
|
1095 |
track.addEventListener('cuechange', function() {
|
|
|
1096 |
player.trigger('metadata', [player, track.activeCues[0].value]);
|
1097 |
}, false);
|
1098 |
};
|
@@ -1123,7 +1253,7 @@ function html5factory(engineName, player, root, canPlay, ext) {
|
|
1123 |
video = api.listeners[instanceId];
|
1124 |
if (!e.target || !common.hasClass(e.target, 'fp-engine')) return;
|
1125 |
|
1126 |
-
if (
|
1127 |
|
1128 |
var triggerEvent = function(f) {
|
1129 |
player.trigger(f || flow, [player, arg]);
|
@@ -1144,20 +1274,16 @@ function html5factory(engineName, player, root, canPlay, ext) {
|
|
1144 |
switch (flow) {
|
1145 |
|
1146 |
case 'ready':
|
1147 |
-
if (player.ready) return;
|
1148 |
-
if (!api.duration && !player.live) return;
|
1149 |
arg = extend(video, {
|
1150 |
duration: api.duration < Number.MAX_VALUE ? api.duration : 0,
|
1151 |
width: api.videoWidth,
|
1152 |
height: api.videoHeight,
|
1153 |
-
url: api.currentSrc
|
1154 |
-
src: api.currentSrc
|
1155 |
});
|
1156 |
-
|
1157 |
-
|
1158 |
-
arg.seekable = /mpegurl/i.test(video ? (video.type || '') : '') && api.duration || api.seekable && api.seekable.end(null) || player.live;
|
1159 |
-
|
1160 |
-
} catch (ignored) {}
|
1161 |
|
1162 |
if (!player.live && !arg.duration && !support.hlsDuration && type === 'loadeddata') {
|
1163 |
var durationChanged = function() {
|
@@ -1207,7 +1333,7 @@ function html5factory(engineName, player, root, canPlay, ext) {
|
|
1207 |
end: api.buffered.end(i)
|
1208 |
});
|
1209 |
}
|
1210 |
-
if (api.buffered.end(null) === api.duration) triggerEvent('buffered');
|
1211 |
break;
|
1212 |
|
1213 |
case 'speed':
|
@@ -1220,6 +1346,10 @@ function html5factory(engineName, player, root, canPlay, ext) {
|
|
1220 |
|
1221 |
case 'error':
|
1222 |
try {
|
|
|
|
|
|
|
|
|
1223 |
arg = (e.srcElement || e.originalTarget).error;
|
1224 |
arg.video = extend(video, {src: api.src, url: api.src});
|
1225 |
} catch (er) {
|
@@ -1288,7 +1418,10 @@ engine = function(player, root) {
|
|
1288 |
common.find('source', api).forEach(common.removeNode);
|
1289 |
api.src = video.src;
|
1290 |
api.type = video.type;
|
|
|
|
|
1291 |
}
|
|
|
1292 |
});
|
1293 |
};
|
1294 |
|
@@ -1471,6 +1604,7 @@ flowplayer(function(api, root) {
|
|
1471 |
|
1472 |
function createUIElements() {
|
1473 |
var btnContainer = common.find('.fp-header', root)[0];
|
|
|
1474 |
common.find('.fp-chromecast', btnContainer).forEach(common.removeNode);
|
1475 |
common.find('.fp-chromecast-engine', root).forEach(common.removeNode);
|
1476 |
trigger = common.createElement('a', { 'class': 'fp-chromecast fp-icon', title: 'Play on Cast device'})
|
@@ -1570,15 +1704,12 @@ flowplayer(function(player, root) {
|
|
1570 |
var segments = {}, lastFiredSegment = -0.125;
|
1571 |
|
1572 |
var fire = function(cue) {
|
1573 |
-
|
1574 |
-
if (!isNaN(cue)) cue = { time: cue };
|
1575 |
-
cue.index = idx;
|
1576 |
-
setClass(idx);
|
1577 |
player.trigger('cuepoint', [player, cue]);
|
1578 |
};
|
1579 |
|
1580 |
player.on("progress", function(e, api, time) {
|
1581 |
-
|
1582 |
var segment = segmentForCue(time);
|
1583 |
while (lastFiredSegment < segment) {
|
1584 |
lastFiredSegment += 0.125;
|
@@ -1601,6 +1732,12 @@ flowplayer(function(player, root) {
|
|
1601 |
var cues = video.cuepoints || player.conf.cuepoints || [];
|
1602 |
player.setCuepoints(cues);
|
1603 |
}).on('finish', function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
1604 |
lastFiredSegment = -0.125;
|
1605 |
});
|
1606 |
if (player.conf.generate_cuepoints) {
|
@@ -1624,9 +1761,16 @@ flowplayer(function(player, root) {
|
|
1624 |
};
|
1625 |
player.addCuepoint = function(cue) {
|
1626 |
if (!player.cuepoints) player.cuepoints = [];
|
|
|
|
|
|
|
|
|
|
|
|
|
1627 |
var segment = segmentForCue(cue);
|
1628 |
if (!segments[segment]) segments[segment] = [];
|
1629 |
segments[segment].push(cue);
|
|
|
1630 |
player.cuepoints.push(cue);
|
1631 |
|
1632 |
if (player.conf.generate_cuepoints && cue.visible !== false) {
|
@@ -1637,7 +1781,7 @@ flowplayer(function(player, root) {
|
|
1637 |
var time = cue.time || cue;
|
1638 |
if (time < 0) time = duration + time;
|
1639 |
|
1640 |
-
var el = common.createElement('a', {className: 'fp-cuepoint fp-cuepoint' +
|
1641 |
common.css(el, "left", (time / duration * 100) + "%");
|
1642 |
|
1643 |
timeline.appendChild(el);
|
@@ -1651,10 +1795,15 @@ flowplayer(function(player, root) {
|
|
1651 |
};
|
1652 |
|
1653 |
player.removeCuepoint = function(cue) {
|
|
|
1654 |
var idx = player.cuepoints.indexOf(cue),
|
1655 |
segment = segmentForCue(cue);
|
1656 |
if (idx === -1) return;
|
1657 |
-
|
|
|
|
|
|
|
|
|
1658 |
|
1659 |
var sIdx = segments[segment].indexOf(cue);
|
1660 |
if (sIdx === -1) return;
|
@@ -1875,10 +2024,7 @@ var flowplayer = _dereq_('../flowplayer'),
|
|
1875 |
FS_ENTER = "fullscreen",
|
1876 |
FS_EXIT = "fullscreen-exit",
|
1877 |
FULL_PLAYER,
|
1878 |
-
FS_SUPPORT = flowplayer.support.fullscreen
|
1879 |
-
ua = navigator.userAgent.toLowerCase(),
|
1880 |
-
IS_SAFARI = /(safari)[ \/]([\w.]+)/.exec(ua) && !/(chrome)[ \/]([\w.]+)/.exec(ua);
|
1881 |
-
|
1882 |
|
1883 |
// esc button
|
1884 |
bean.on(document, "fullscreenchange.ffscr webkitfullscreenchange.ffscr mozfullscreenchange.ffscr MSFullscreenChange.ffscr", function(e) {
|
@@ -1927,6 +2073,7 @@ flowplayer(function(player, root) {
|
|
1927 |
['requestFullScreen', 'webkitRequestFullScreen', 'mozRequestFullScreen', 'msRequestFullscreen'].forEach(function(fName) {
|
1928 |
if (typeof wrapper[fName] === 'function') {
|
1929 |
wrapper[fName](Element.ALLOW_KEYBOARD_INPUT);
|
|
|
1930 |
}
|
1931 |
});
|
1932 |
|
@@ -1980,6 +2127,7 @@ flowplayer(function(player, root) {
|
|
1980 |
|
1981 |
player.on('shutdown', function() {
|
1982 |
FULL_PLAYER = null;
|
|
|
1983 |
});
|
1984 |
|
1985 |
});
|
@@ -2003,44 +2151,35 @@ bean.on(document, "keydown.fp", function(e) {
|
|
2003 |
|
2004 |
if (!el || !conf.keyboard || el.disabled) return;
|
2005 |
|
2006 |
-
// help dialog (shift key not truly required)
|
2007 |
-
if ([63, 187, 191].indexOf(key) != -1) {
|
2008 |
-
common.toggleClass(focusedRoot, IS_HELP);
|
2009 |
-
return false;
|
2010 |
-
}
|
2011 |
-
|
2012 |
-
// close help / unload
|
2013 |
-
if (key == 27 && common.hasClass(focusedRoot, IS_HELP)) {
|
2014 |
-
common.toggleClass(focusedRoot, IS_HELP);
|
2015 |
-
return false;
|
2016 |
-
}
|
2017 |
-
|
2018 |
if (!metaKeyPressed && el.ready) {
|
2019 |
|
2020 |
-
e.preventDefault();
|
2021 |
-
|
2022 |
// slow motion / fast forward
|
2023 |
if (e.shiftKey) {
|
2024 |
if (key == 39) el.speed(true);
|
2025 |
else if (key == 37) el.speed(false);
|
2026 |
-
return;
|
2027 |
}
|
2028 |
|
2029 |
// 1, 2, 3, 4 ..
|
2030 |
-
if (key < 58 && key > 47)
|
2031 |
-
|
2032 |
-
|
2033 |
-
case 38: case 75: el.volume(el.volumeLevel + 0.15); break; // volume up
|
2034 |
-
case 40: case 74: el.volume(el.volumeLevel - 0.15); break; // volume down
|
2035 |
-
case 39: case 76: el.seeking = true; el.seek(true); break; // forward
|
2036 |
-
case 37: case 72: el.seeking = true; el.seek(false); break; // backward
|
2037 |
-
case 190: el.seekTo(); break; // to last seek position
|
2038 |
-
case 32: el.toggle(); break; // spacebar
|
2039 |
-
case 70: if(conf.fullscreen) el.fullscreen(); break; // toggle fullscreen
|
2040 |
-
case 77: el.mute(); break; // mute
|
2041 |
-
case 81: el.unload(); break; // unload/stop
|
2042 |
}
|
2043 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2044 |
}
|
2045 |
|
2046 |
});
|
@@ -2050,9 +2189,13 @@ flowplayer(function(api, root) {
|
|
2050 |
// no keyboard configured
|
2051 |
if (!api.conf.keyboard) return;
|
2052 |
|
2053 |
-
|
2054 |
-
|
2055 |
-
|
|
|
|
|
|
|
|
|
2056 |
if (focused) focusedRoot = root;
|
2057 |
});
|
2058 |
|
@@ -2093,7 +2236,8 @@ flowplayer(function(api, root) {
|
|
2093 |
if (common.height(menu) + top > common.height(ui)) top = top - common.height(menu);
|
2094 |
common.css(menu, {
|
2095 |
top: top + 'px',
|
2096 |
-
left: left + 'px'
|
|
|
2097 |
});
|
2098 |
};
|
2099 |
|
@@ -2223,6 +2367,7 @@ if (support.touch || isIeMobile) {
|
|
2223 |
bean.on(root, 'touchmove', function() {
|
2224 |
hasMoved = true;
|
2225 |
});
|
|
|
2226 |
bean.on(root, 'touchend click', function(e) {
|
2227 |
if (hasMoved) { //not intentional, most likely scrolling
|
2228 |
hasMoved = false;
|
@@ -2230,7 +2375,8 @@ if (support.touch || isIeMobile) {
|
|
2230 |
}
|
2231 |
|
2232 |
var video = common.find('video.fp-engine', root)[0];
|
2233 |
-
if (video && video.muted && player.conf.autoplay) video.muted = false;
|
|
|
2234 |
|
2235 |
if (player.playing && !common.hasClass(root, 'is-mouseover')) {
|
2236 |
common.addClass(root, 'is-mouseover');
|
@@ -2281,7 +2427,7 @@ if (support.touch || isIeMobile) {
|
|
2281 |
// Android browser gives video.duration == 1 until second 'timeupdate' event
|
2282 |
if (isAndroid || isSilk) player.bind("ready", function() {
|
2283 |
var video = common.find('video.fp-engine', root)[0];
|
2284 |
-
if (player.conf.splash && video.paused) {
|
2285 |
bean.one(video, 'canplay', function() {
|
2286 |
video.play();
|
2287 |
});
|
@@ -2534,6 +2680,7 @@ flowplayer(function(player, root) {
|
|
2534 |
player.conf.playlist.forEach(function(itm, i) {
|
2535 |
common.removeClass(root, 'video' + i);
|
2536 |
});
|
|
|
2537 |
});
|
2538 |
|
2539 |
if (player.conf.playlist.length) {
|
@@ -2727,18 +2874,20 @@ flowplayer.defaults.subtitleParser = parser;
|
|
2727 |
|
2728 |
flowplayer(function(p, root) {
|
2729 |
var currentPoint, wrap,
|
2730 |
-
subtitleControl, subtitleMenu;
|
2731 |
|
2732 |
if (
|
2733 |
!flowplayer.support.inlineVideo ||
|
2734 |
(!flowplayer.support.fullscreen && p.conf.native_fullscreen)) p.conf.nativesubtitles = true;
|
2735 |
|
2736 |
-
|
|
|
|
|
2737 |
subtitleControl = subtitleControl || common.createElement('strong', { className: 'fp-cc' }, 'CC');
|
2738 |
subtitleMenu = subtitleMenu || common.createElement('div', {className: 'fp-menu fp-subtitle-menu'}, '<strong>Closed Captions</strong>');
|
2739 |
common.find('a', subtitleMenu).forEach(common.removeNode);
|
2740 |
subtitleMenu.appendChild(common.createElement('a', {'data-subtitle-index': -1}, 'No subtitles'));
|
2741 |
-
(
|
2742 |
var srcLang = st.srclang || 'en',
|
2743 |
label = st.label || 'Default (' + srcLang + ')';
|
2744 |
var item = common.createElement('a', {'data-subtitle-index': i}, label);
|
@@ -2746,9 +2895,14 @@ flowplayer(function(p, root) {
|
|
2746 |
});
|
2747 |
common.find('.fp-ui', root)[0].appendChild(subtitleMenu);
|
2748 |
common.find('.fp-controls', root)[0].appendChild(subtitleControl);
|
|
|
2749 |
return subtitleControl;
|
2750 |
};
|
2751 |
|
|
|
|
|
|
|
|
|
2752 |
bean.on(root, 'click', '.fp-cc', function() {
|
2753 |
if (common.hasClass(subtitleMenu, 'fp-active')) p.hideMenu();
|
2754 |
else p.showMenu(subtitleMenu);
|
@@ -2757,6 +2911,7 @@ flowplayer(function(p, root) {
|
|
2757 |
bean.on(root, 'click', '.fp-subtitle-menu [data-subtitle-index]', function(ev) {
|
2758 |
ev.preventDefault();
|
2759 |
var idx = ev.target.getAttribute('data-subtitle-index');
|
|
|
2760 |
if (idx === '-1') return p.disableSubtitles();
|
2761 |
p.loadSubtitles(idx);
|
2762 |
});
|
@@ -2765,7 +2920,7 @@ flowplayer(function(p, root) {
|
|
2765 |
wrap = common.find('.fp-captions', root)[0];
|
2766 |
wrap = wrap || common.appendTo(common.createElement('div', {'class': 'fp-captions'}), common.find('.fp-player', root)[0]);
|
2767 |
Array.prototype.forEach.call(wrap.children, common.removeNode);
|
2768 |
-
createSubtitleControl();
|
2769 |
};
|
2770 |
|
2771 |
|
@@ -2778,7 +2933,6 @@ flowplayer(function(p, root) {
|
|
2778 |
|
2779 |
p.disableSubtitles();
|
2780 |
|
2781 |
-
common.toggleClass(subtitleControl, 'fp-hidden', !video.subtitles || !video.subtitles.length);
|
2782 |
if (!video.subtitles || !video.subtitles.length) return;
|
2783 |
|
2784 |
var defaultSubtitle = video.subtitles.filter(function(one) {
|
@@ -2787,13 +2941,21 @@ flowplayer(function(p, root) {
|
|
2787 |
if (defaultSubtitle) player.loadSubtitles(video.subtitles.indexOf(defaultSubtitle));
|
2788 |
});
|
2789 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2790 |
p.bind("cuepoint", function(e, api, cue) {
|
2791 |
if (cue.subtitle) {
|
2792 |
currentPoint = cue.index;
|
2793 |
-
|
2794 |
-
common.addClass(wrap, 'fp-shown');
|
2795 |
} else if (cue.subtitleEnd) {
|
2796 |
-
|
2797 |
currentPoint = cue.index;
|
2798 |
}
|
2799 |
});
|
@@ -2864,7 +3026,8 @@ flowplayer(function(p, root) {
|
|
2864 |
}
|
2865 |
common.xhrGet(url, function(txt) {
|
2866 |
var entries = p.conf.subtitleParser(txt);
|
2867 |
-
entries.forEach(function(entry) {
|
|
|
2868 |
var cue = { time: entry.startTime, subtitle: entry, visible: false };
|
2869 |
p.subtitles.push(entry);
|
2870 |
p.addCuepoint(cue);
|
@@ -2975,7 +3138,7 @@ var flowplayer = _dereq_('../flowplayer'),
|
|
2975 |
WP_VER = IS_WP ? parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(UA)[1], 10) : 0,
|
2976 |
IE_MOBILE_VER = IS_WP ? parseFloat(/IEMobile\/(\d+\.\d+)/.exec(UA)[1], 10) : 0,
|
2977 |
IOS_VER = IS_IPAD || IS_IPHONE ? parseIOSVersion(UA) : 0,
|
2978 |
-
ANDROID_VER = IS_ANDROID ? parseFloat(/Android\ (\d\.\d)/.exec(UA)[1], 10) : 0;
|
2979 |
|
2980 |
var ios = (IS_IPHONE || IS_IPAD || IS_IPAD_CHROME) && {
|
2981 |
iPhone: IS_IPHONE,
|
@@ -3009,11 +3172,10 @@ var flowplayer = _dereq_('../flowplayer'),
|
|
3009 |
// pretend lacking firstframe support because so far we treat
|
3010 |
// support.autoplay as synonym of support.firstframe
|
3011 |
firstframe: !IS_SILK && !IS_WP && !IS_ANDROID_FIREFOX && !IS_ANDROID_SAMSUNG && !(IOS_VER && IOS_VER < 10) && !(IS_ANDROID && ANDROID_VER < 4.4),
|
3012 |
-
mutedAutoplay: (IS_IPHONE || IS_IPAD || IS_IPAD_CHROME) && IOS_VER >=10 || IS_ANDROID && ANDROID_VER > 4.3 && !IS_ANDROID_SAMSUNG,
|
3013 |
inlineVideo: (!IS_IPHONE || IOS_VER >= 10) && (!IS_WP || (WP_VER >= 8.1 && IE_MOBILE_VER >= 11)) && (!IS_ANDROID || ANDROID_VER >= 3),
|
3014 |
hlsDuration: !IS_ANDROID && (!b.safari || IS_IPAD || IS_IPHONE || IS_IPAD_CHROME),
|
3015 |
seekable: !IS_IPAD && !IS_IPAD_CHROME,
|
3016 |
-
preloadMetadata: !ios &&
|
3017 |
});
|
3018 |
s.autoplay = s.firstframe;
|
3019 |
if (IS_WP) {
|
@@ -3567,10 +3729,13 @@ flowplayer(function(api, root) {
|
|
3567 |
common.addClass(root, "is-poster");
|
3568 |
common.addClass(play, 'fp-visible');
|
3569 |
api.poster = true;
|
3570 |
-
api.
|
3571 |
-
|
3572 |
-
|
3573 |
-
|
|
|
|
|
|
|
3574 |
});
|
3575 |
}
|
3576 |
api.on('stop', function() { initPoster(); });
|
@@ -3622,11 +3787,13 @@ flowplayer(function(api, root) {
|
|
3622 |
bean.off(timeline);
|
3623 |
bean.off(volumeSlider);
|
3624 |
if (resizeHandle) window.cancelAnimationFrame(resizeHandle);
|
|
|
|
|
3625 |
});
|
3626 |
|
3627 |
if (typeof window.requestAnimationFrame === 'function') {
|
|
|
3628 |
var resize = function() {
|
3629 |
-
var playerEl = common.find('.fp-player', root)[0] || root;
|
3630 |
common.toggleClass(root, 'is-tiny', playerEl.clientWidth < 400);
|
3631 |
common.toggleClass(root, 'is-small', playerEl.clientWidth < 600 && playerEl.clientWidth >= 400);
|
3632 |
resizeHandle = window.requestAnimationFrame(resize);
|
@@ -3913,14 +4080,6 @@ window.onbeforeunload = function(ev) {
|
|
3913 |
if (oldHandler) return oldHandler(ev);
|
3914 |
};
|
3915 |
|
3916 |
-
var supportLocalStorage = false;
|
3917 |
-
try {
|
3918 |
-
if (typeof window.localStorage == "object") {
|
3919 |
-
window.localStorage.flowplayerTestStorage = "test";
|
3920 |
-
supportLocalStorage = true;
|
3921 |
-
}
|
3922 |
-
} catch (ignored) {}
|
3923 |
-
|
3924 |
var isSafari = /Safari/.exec(navigator.userAgent) && !/Chrome/.exec(navigator.userAgent),
|
3925 |
m = /(\d+\.\d+) Safari/.exec(navigator.userAgent),
|
3926 |
safariVersion = m ? Number(m[1]) : 100;
|
@@ -3945,7 +4104,7 @@ var flowplayer = module.exports = function(fn, opts, callback) {
|
|
3945 |
|
3946 |
extend(flowplayer, {
|
3947 |
|
3948 |
-
version: '7.2.
|
3949 |
|
3950 |
engines: [],
|
3951 |
|
@@ -3970,7 +4129,7 @@ extend(flowplayer, {
|
|
3970 |
|
3971 |
defaults: {
|
3972 |
|
3973 |
-
debug:
|
3974 |
|
3975 |
// true = forced playback
|
3976 |
disabled: false,
|
@@ -3991,13 +4150,15 @@ extend(flowplayer, {
|
|
3991 |
|
3992 |
hlsQualities: true,
|
3993 |
|
|
|
|
|
3994 |
splash: false,
|
3995 |
|
3996 |
live: false,
|
3997 |
livePositionOffset: 120,
|
3998 |
|
3999 |
-
swf: "//releases.flowplayer.org/7.2.
|
4000 |
-
swfHls: "//releases.flowplayer.org/7.2.
|
4001 |
|
4002 |
speeds: [0.25, 0.5, 1, 1.5, 2],
|
4003 |
|
@@ -4005,8 +4166,12 @@ extend(flowplayer, {
|
|
4005 |
|
4006 |
mouseoutTimeout: 5000,
|
4007 |
|
|
|
|
|
|
|
|
|
4008 |
// initial volume level
|
4009 |
-
volume:
|
4010 |
|
4011 |
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#error-codes
|
4012 |
errors: [
|
@@ -4059,7 +4224,7 @@ if (typeof window.jQuery !== 'undefined') {
|
|
4059 |
// auto-install (any video tag with parent .flowplayer)
|
4060 |
$(function() {
|
4061 |
if (typeof $.fn.flowplayer == 'function') {
|
4062 |
-
$('.flowplayer:has(video,script[type="application/json"])').flowplayer();
|
4063 |
}
|
4064 |
});
|
4065 |
|
@@ -4109,9 +4274,20 @@ if (typeof window.jQuery !== 'undefined') {
|
|
4109 |
function initializePlayer(element, opts, callback) {
|
4110 |
if (opts && opts.embed) opts.embed = extend({}, flowplayer.defaults.embed, opts.embed);
|
4111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4112 |
var root = element,
|
4113 |
conf = extend({}, flowplayer.defaults, flowplayer.conf, opts),
|
4114 |
storage = {},
|
|
|
4115 |
lastSeekPosition,
|
4116 |
engine,
|
4117 |
urlResolver = new URLResolver();
|
@@ -4120,9 +4296,13 @@ function initializePlayer(element, opts, callback) {
|
|
4120 |
common.toggleClass(root, 'no-flex', !flowplayer.support.flex);
|
4121 |
common.toggleClass(root, 'no-svg', !flowplayer.support.svg);
|
4122 |
try {
|
4123 |
-
storage = supportLocalStorage ? window.localStorage : storage;
|
4124 |
} catch(e) {}
|
4125 |
|
|
|
|
|
|
|
|
|
4126 |
if (conf.aspectRatio && typeof conf.aspectRatio === 'string') {
|
4127 |
var parts = conf.aspectRatio.split(/[:\/]/);
|
4128 |
conf.ratio = parts[1] / parts[0];
|
@@ -4201,7 +4381,7 @@ function initializePlayer(element, opts, callback) {
|
|
4201 |
});
|
4202 |
}
|
4203 |
|
4204 |
-
extend(video, engine.pick(video.sources.filter(function(source) { // Filter out sources
|
4205 |
if (!source.engine) return true;
|
4206 |
return source.engine === engine.engineName;
|
4207 |
})));
|
@@ -4262,7 +4442,7 @@ function initializePlayer(element, opts, callback) {
|
|
4262 |
*/
|
4263 |
seek: function(time, callback) {
|
4264 |
if (typeof time == "boolean") {
|
4265 |
-
var delta = api.video.duration * 0.1;
|
4266 |
time = api.video.time + (time ? delta : -delta);
|
4267 |
time = Math.min(Math.max(time, 0), api.video.duration - 0.1);
|
4268 |
}
|
@@ -4299,8 +4479,9 @@ function initializePlayer(element, opts, callback) {
|
|
4299 |
|
4300 |
mute: function(flag, skipStore) {
|
4301 |
if (flag === undefined) flag = !api.muted;
|
|
|
4302 |
if (!skipStore) {
|
4303 |
-
storage.muted =
|
4304 |
storage.volume = !isNaN(storage.volume) ? storage.volume : conf.volume; // make sure storage has volume
|
4305 |
}
|
4306 |
if (typeof engine.mute !== 'undefined') engine.mute(flag);
|
@@ -4433,7 +4614,7 @@ function initializePlayer(element, opts, callback) {
|
|
4433 |
|
4434 |
|
4435 |
api.on('boot', function() {
|
4436 |
-
var
|
4437 |
|
4438 |
// splash
|
4439 |
if (conf.splash || common.hasClass(root, "is-splash") ||
|
@@ -4470,6 +4651,8 @@ function initializePlayer(element, opts, callback) {
|
|
4470 |
// initial callback
|
4471 |
api.one("ready", callback);
|
4472 |
|
|
|
|
|
4473 |
|
4474 |
}).on("load", function(e, api, video) {
|
4475 |
|
@@ -4528,14 +4711,13 @@ function initializePlayer(element, opts, callback) {
|
|
4528 |
}).on("progress", function(e, api, time) {
|
4529 |
api.video.time = time;
|
4530 |
}).on('buffer', function(e, api, buffered) {
|
4531 |
-
api.video.buffer = typeof buffered === 'number' ? buffered : buffered[buffered.length - 1].end;
|
4532 |
}).on("speed", function(e, api, val) {
|
4533 |
api.currentSpeed = val;
|
4534 |
|
4535 |
}).on("volume", function(e, api, level) {
|
4536 |
api.volumeLevel = Math.round(level * 100) / 100;
|
4537 |
-
if (
|
4538 |
-
else if (level) api.mute(false);
|
4539 |
|
4540 |
|
4541 |
}).on("beforeseek seek", function(e) {
|
@@ -4610,7 +4792,7 @@ _dereq_('./ext/menu');
|
|
4610 |
_dereq_('./ext/fullscreen');
|
4611 |
|
4612 |
_dereq_('./ext/mobile');
|
4613 |
-
flowplayer(function(e,o){function a(e){var o=document.createElement("a");return o.href=e,t.hostname(o.hostname)}var l=function(e,o){var a=e.className.split(" ");-1===a.indexOf(o)&&(e.className+=" "+o)},r=function(e){return"none"!==window.getComputedStyle(e).display},n=e.conf,t=flowplayer.common,p=t.createElement,i=n.swf.indexOf("flowplayer.org")&&n.e&&o.getAttribute("data-origin"),f=i?a(i):t.hostname(),s=(document,n.key);if("file:"==location.protocol&&(f="localhost"),e.load.ed=1,n.hostname=f,n.origin=i||location.href,i&&l(o,"is-embedded"),"string"==typeof s&&(s=s.split(/,\s*/)),s&&"function"==typeof key_check&&key_check(s,f)){if(n.logo){var d=t.find(".fp-player",o)[0],c=n.logo.href||"",h=n.logo.src||n.logo,m=p("a",{className:"fp-logo",href:c});i&&(m.href=m.href||i),n.embed&&n.embed.popup&&(m.target="_blank");var y=p("img",{src:h});m.appendChild(y),(d||o).appendChild(m)}}else{var m=p("a",{href:"https://flowplayer.com/hello/?from=player"});o.appendChild(m);var u=p("div",{className:"fp-context-menu fp-menu"},'<strong>©
|
4614 |
|
4615 |
|
4616 |
},{"./engine/embed":2,"./engine/flash":3,"./engine/hlsjs":4,"./engine/html5":6,"./ext/airplay":7,"./ext/analytics":8,"./ext/chromecast":9,"./ext/cuepoint":10,"./ext/embed":11,"./ext/facebook":13,"./ext/fullscreen":14,"./ext/keyboard":15,"./ext/menu":16,"./ext/message":17,"./ext/mobile":18,"./ext/playlist":19,"./ext/qsel":20,"./ext/share":22,"./ext/subtitle":23,"./ext/support":25,"./ext/twitter":26,"./ext/ui":27,"./flowplayer":31,"es5-shim":38}],33:[function(_dereq_,module,exports){
|
@@ -4630,68 +4812,102 @@ for (var i = 0, len = code.length; i < len; ++i) {
|
|
4630 |
revLookup[code.charCodeAt(i)] = i
|
4631 |
}
|
4632 |
|
|
|
|
|
4633 |
revLookup['-'.charCodeAt(0)] = 62
|
4634 |
revLookup['_'.charCodeAt(0)] = 63
|
4635 |
|
4636 |
-
function
|
4637 |
var len = b64.length
|
|
|
4638 |
if (len % 4 > 0) {
|
4639 |
throw new Error('Invalid string. Length must be a multiple of 4')
|
4640 |
}
|
4641 |
|
4642 |
-
//
|
4643 |
-
//
|
4644 |
-
|
4645 |
-
|
4646 |
-
|
4647 |
-
|
|
|
|
|
|
|
|
|
4648 |
}
|
4649 |
|
|
|
4650 |
function byteLength (b64) {
|
4651 |
-
|
4652 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
4653 |
}
|
4654 |
|
4655 |
function toByteArray (b64) {
|
4656 |
-
var
|
4657 |
-
var
|
4658 |
-
|
|
|
4659 |
|
4660 |
-
arr = new Arr((
|
|
|
|
|
4661 |
|
4662 |
// if there are placeholders, only get up to the last complete 4 chars
|
4663 |
-
|
|
|
|
|
4664 |
|
4665 |
-
var
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4666 |
|
4667 |
-
|
4668 |
-
tmp =
|
4669 |
-
|
4670 |
-
|
4671 |
-
arr[
|
4672 |
}
|
4673 |
|
4674 |
-
if (
|
4675 |
-
tmp =
|
4676 |
-
|
4677 |
-
|
4678 |
-
|
4679 |
-
arr[
|
4680 |
-
arr[
|
4681 |
}
|
4682 |
|
4683 |
return arr
|
4684 |
}
|
4685 |
|
4686 |
function tripletToBase64 (num) {
|
4687 |
-
return lookup[num >> 18 & 0x3F] +
|
|
|
|
|
|
|
4688 |
}
|
4689 |
|
4690 |
function encodeChunk (uint8, start, end) {
|
4691 |
var tmp
|
4692 |
var output = []
|
4693 |
for (var i = start; i < end; i += 3) {
|
4694 |
-
tmp =
|
|
|
|
|
|
|
4695 |
output.push(tripletToBase64(tmp))
|
4696 |
}
|
4697 |
return output.join('')
|
@@ -4701,31 +4917,34 @@ function fromByteArray (uint8) {
|
|
4701 |
var tmp
|
4702 |
var len = uint8.length
|
4703 |
var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
|
4704 |
-
var output = ''
|
4705 |
var parts = []
|
4706 |
var maxChunkLength = 16383 // must be multiple of 3
|
4707 |
|
4708 |
// go through the array every three bytes, we'll deal with trailing stuff later
|
4709 |
for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
|
4710 |
-
parts.push(encodeChunk(
|
|
|
|
|
4711 |
}
|
4712 |
|
4713 |
// pad the end with zeros, but make sure to not forget the extra bytes
|
4714 |
if (extraBytes === 1) {
|
4715 |
tmp = uint8[len - 1]
|
4716 |
-
|
4717 |
-
|
4718 |
-
|
|
|
|
|
4719 |
} else if (extraBytes === 2) {
|
4720 |
-
tmp = (uint8[len - 2] << 8) +
|
4721 |
-
|
4722 |
-
|
4723 |
-
|
4724 |
-
|
|
|
|
|
4725 |
}
|
4726 |
|
4727 |
-
parts.push(output)
|
4728 |
-
|
4729 |
return parts.join('')
|
4730 |
}
|
4731 |
|
@@ -7738,6 +7957,26 @@ module.exports = computedStyle;
|
|
7738 |
var toStr = call.bind(ObjectPrototype.toString);
|
7739 |
var arraySlice = call.bind(array_slice);
|
7740 |
var arraySliceApply = apply.bind(array_slice);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7741 |
var strSlice = call.bind(StringPrototype.slice);
|
7742 |
var strSplit = call.bind(StringPrototype.split);
|
7743 |
var strIndexOf = call.bind(StringPrototype.indexOf);
|
@@ -8331,10 +8570,14 @@ module.exports = computedStyle;
|
|
8331 |
var sortIgnoresNonFunctions = (function () {
|
8332 |
try {
|
8333 |
[1, 2].sort(null);
|
8334 |
-
|
8335 |
-
|
8336 |
-
|
8337 |
-
|
|
|
|
|
|
|
|
|
8338 |
}());
|
8339 |
var sortThrowsOnRegex = (function () {
|
8340 |
// this is a problem in Firefox 4, in which `typeof /a/ === 'function'`
|
@@ -8373,14 +8616,14 @@ module.exports = computedStyle;
|
|
8373 |
// http://es5.github.com/#x15.2.3.14
|
8374 |
|
8375 |
// http://whattheheadsaid.com/2010/10/a-safer-object-keys-compatibility-implementation
|
8376 |
-
var hasDontEnumBug = !isEnum({ 'toString': null }, 'toString');
|
8377 |
var hasProtoEnumBug = isEnum(function () {}, 'prototype');
|
8378 |
var hasStringEnumBug = !owns('x', '0');
|
8379 |
var equalsConstructorPrototype = function (o) {
|
8380 |
var ctor = o.constructor;
|
8381 |
return ctor && ctor.prototype === o;
|
8382 |
};
|
8383 |
-
var
|
8384 |
$window: true,
|
8385 |
$console: true,
|
8386 |
$parent: true,
|
@@ -8390,7 +8633,11 @@ module.exports = computedStyle;
|
|
8390 |
$frameElement: true,
|
8391 |
$webkitIndexedDB: true,
|
8392 |
$webkitStorageInfo: true,
|
8393 |
-
$external: true
|
|
|
|
|
|
|
|
|
8394 |
};
|
8395 |
var hasAutomationEqualityBug = (function () {
|
8396 |
/* globals window */
|
@@ -8399,7 +8646,7 @@ module.exports = computedStyle;
|
|
8399 |
}
|
8400 |
for (var k in window) {
|
8401 |
try {
|
8402 |
-
if (!
|
8403 |
equalsConstructorPrototype(window[k]);
|
8404 |
}
|
8405 |
} catch (e) {
|
@@ -8435,12 +8682,12 @@ module.exports = computedStyle;
|
|
8435 |
return toStr(value) === '[object Arguments]';
|
8436 |
};
|
8437 |
var isLegacyArguments = function isArguments(value) {
|
8438 |
-
return value !== null
|
8439 |
-
typeof value === 'object'
|
8440 |
-
typeof value.length === 'number'
|
8441 |
-
value.length >= 0
|
8442 |
-
!isArray(value)
|
8443 |
-
isCallable(value.callee);
|
8444 |
};
|
8445 |
var isArguments = isStandardArguments(arguments) ? isStandardArguments : isLegacyArguments;
|
8446 |
|
@@ -8517,10 +8764,10 @@ module.exports = computedStyle;
|
|
8517 |
var timeZoneOffset = aNegativeTestDate.getTimezoneOffset();
|
8518 |
if (timeZoneOffset < -720) {
|
8519 |
hasToDateStringFormatBug = aNegativeTestDate.toDateString() !== 'Tue Jan 02 -45875';
|
8520 |
-
hasToStringFormatBug = !(/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[
|
8521 |
} else {
|
8522 |
hasToDateStringFormatBug = aNegativeTestDate.toDateString() !== 'Mon Jan 01 -45875';
|
8523 |
-
hasToStringFormatBug = !(/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[
|
8524 |
}
|
8525 |
|
8526 |
var originalGetFullYear = call.bind(Date.prototype.getFullYear);
|
@@ -8629,13 +8876,13 @@ module.exports = computedStyle;
|
|
8629 |
var hour = originalGetUTCHours(this);
|
8630 |
var minute = originalGetUTCMinutes(this);
|
8631 |
var second = originalGetUTCSeconds(this);
|
8632 |
-
return dayName[day] + ', '
|
8633 |
-
(date < 10 ? '0' + date : date) + ' '
|
8634 |
-
monthName[month] + ' '
|
8635 |
-
year + ' '
|
8636 |
-
(hour < 10 ? '0' + hour : hour) + ':'
|
8637 |
-
(minute < 10 ? '0' + minute : minute) + ':'
|
8638 |
-
(second < 10 ? '0' + second : second) + ' GMT';
|
8639 |
}
|
8640 |
}, hasNegativeMonthYearBug || hasToUTCStringFormatBug);
|
8641 |
|
@@ -8649,10 +8896,10 @@ module.exports = computedStyle;
|
|
8649 |
var date = this.getDate();
|
8650 |
var month = this.getMonth();
|
8651 |
var year = this.getFullYear();
|
8652 |
-
return dayName[day] + ' '
|
8653 |
-
monthName[month] + ' '
|
8654 |
-
(date < 10 ? '0' + date : date) + ' '
|
8655 |
-
year;
|
8656 |
}
|
8657 |
}, hasNegativeMonthYearBug || hasToDateStringFormatBug);
|
8658 |
|
@@ -8672,16 +8919,16 @@ module.exports = computedStyle;
|
|
8672 |
var timezoneOffset = this.getTimezoneOffset();
|
8673 |
var hoursOffset = Math.floor(Math.abs(timezoneOffset) / 60);
|
8674 |
var minutesOffset = Math.floor(Math.abs(timezoneOffset) % 60);
|
8675 |
-
return dayName[day] + ' '
|
8676 |
-
monthName[month] + ' '
|
8677 |
-
(date < 10 ? '0' + date : date) + ' '
|
8678 |
-
year + ' '
|
8679 |
-
(hour < 10 ? '0' + hour : hour) + ':'
|
8680 |
-
(minute < 10 ? '0' + minute : minute) + ':'
|
8681 |
-
(second < 10 ? '0' + second : second) + ' GMT'
|
8682 |
-
(timezoneOffset > 0 ? '-' : '+')
|
8683 |
-
(hoursOffset < 10 ? '0' + hoursOffset : hoursOffset)
|
8684 |
-
(minutesOffset < 10 ? '0' + minutesOffset : minutesOffset);
|
8685 |
};
|
8686 |
if (supportsDescriptors) {
|
8687 |
$Object.defineProperty(Date.prototype, 'toString', {
|
@@ -8701,7 +8948,7 @@ module.exports = computedStyle;
|
|
8701 |
// this object is not a finite Number a RangeError exception is thrown.
|
8702 |
var negativeDate = -62198755200000;
|
8703 |
var negativeYearString = '-000001';
|
8704 |
-
var hasNegativeDateBug = Date.prototype.toISOString && new Date(negativeDate).toISOString().indexOf(negativeYearString) === -1;
|
8705 |
var hasSafari51DateBug = Date.prototype.toISOString && new Date(-1).toISOString() !== '1969-12-31T23:59:59.999Z';
|
8706 |
|
8707 |
var getTime = call.bind(Date.prototype.getTime);
|
@@ -8718,13 +8965,19 @@ module.exports = computedStyle;
|
|
8718 |
var month = originalGetUTCMonth(this);
|
8719 |
// see https://github.com/es-shims/es5-shim/issues/111
|
8720 |
year += Math.floor(month / 12);
|
8721 |
-
month = (month % 12 + 12) % 12;
|
8722 |
|
8723 |
// the date time string format is specified in 15.9.1.15.
|
8724 |
-
var result = [
|
|
|
|
|
|
|
|
|
|
|
|
|
8725 |
year = (
|
8726 |
-
(year < 0 ? '-' : (year > 9999 ? '+' : ''))
|
8727 |
-
strSlice('00000' + Math.abs(year), (0 <= year && year <= 9999) ? -4 : -6)
|
8728 |
);
|
8729 |
|
8730 |
for (var i = 0; i < result.length; ++i) {
|
@@ -8733,9 +8986,9 @@ module.exports = computedStyle;
|
|
8733 |
}
|
8734 |
// pad milliseconds to have three digits.
|
8735 |
return (
|
8736 |
-
year + '-' + arraySlice(result, 0, 2).join('-')
|
8737 |
-
'T' + arraySlice(result, 2).join(':') + '.'
|
8738 |
-
strSlice('000' + originalGetUTCMilliseconds(this), -3) + 'Z'
|
8739 |
);
|
8740 |
}
|
8741 |
}, hasNegativeDateBug || hasSafari51DateBug);
|
@@ -8746,10 +8999,10 @@ module.exports = computedStyle;
|
|
8746 |
// JSON.stringify (15.12.3).
|
8747 |
var dateToJSONIsSupported = (function () {
|
8748 |
try {
|
8749 |
-
return Date.prototype.toJSON
|
8750 |
-
new Date(NaN).toJSON() === null
|
8751 |
-
new Date(negativeDate).toJSON().indexOf(negativeYearString) !== -1
|
8752 |
-
Date.prototype.toJSON.call({ // generic
|
8753 |
toISOString: function () { return true; }
|
8754 |
});
|
8755 |
} catch (e) {
|
@@ -8803,13 +9056,10 @@ module.exports = computedStyle;
|
|
8803 |
// XXX global assignment won't work in embeddings that use
|
8804 |
// an alternate object for the context.
|
8805 |
/* global Date: true */
|
8806 |
-
/* eslint-disable no-undef */
|
8807 |
var maxSafeUnsigned32Bit = Math.pow(2, 31) - 1;
|
8808 |
var hasSafariSignedIntBug = isActualNaN(new Date(1970, 0, 1, 0, 0, 0, maxSafeUnsigned32Bit + 1).getTime());
|
8809 |
-
|
8810 |
Date = (function (NativeDate) {
|
8811 |
-
/* eslint-enable no-implicit-globals */
|
8812 |
-
/* eslint-enable no-undef */
|
8813 |
// Date.length === 7
|
8814 |
var DateShim = function Date(Y, M, D, h, m, s, ms) {
|
8815 |
var length = arguments.length;
|
@@ -8824,19 +9074,19 @@ module.exports = computedStyle;
|
|
8824 |
seconds += sToShift;
|
8825 |
millis -= sToShift * 1e3;
|
8826 |
}
|
8827 |
-
date = length === 1 && $String(Y) === Y
|
8828 |
// We explicitly pass it through parse:
|
8829 |
-
new NativeDate(DateShim.parse(Y))
|
8830 |
// We have to manually make calls depending on argument
|
8831 |
// length here
|
8832 |
-
length >= 7 ? new NativeDate(Y, M, D, h, m, seconds, millis)
|
8833 |
-
|
8834 |
-
|
8835 |
-
|
8836 |
-
|
8837 |
-
|
8838 |
-
|
8839 |
-
|
8840 |
} else {
|
8841 |
date = NativeDate.apply(this, arguments);
|
8842 |
}
|
@@ -8848,38 +9098,37 @@ module.exports = computedStyle;
|
|
8848 |
};
|
8849 |
|
8850 |
// 15.9.1.15 Date Time String Format.
|
8851 |
-
var isoDateExpression = new RegExp('^'
|
8852 |
-
'(\\d{4}|[+-]\\d{6})'
|
8853 |
-
|
8854 |
-
'(?:-(\\d{2})'
|
8855 |
-
'(
|
8856 |
-
|
8857 |
-
'
|
8858 |
-
'
|
8859 |
-
|
8860 |
-
'
|
8861 |
-
|
8862 |
-
|
8863 |
-
|
8864 |
-
'
|
8865 |
-
|
8866 |
-
'(
|
8867 |
-
'(\\d{2})'
|
8868 |
-
|
8869 |
-
|
8870 |
-
|
8871 |
-
'$');
|
8872 |
|
8873 |
var months = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365];
|
8874 |
|
8875 |
var dayFromMonth = function dayFromMonth(year, month) {
|
8876 |
var t = month > 1 ? 1 : 0;
|
8877 |
return (
|
8878 |
-
months[month]
|
8879 |
-
Math.floor((year - 1969 + t) / 4)
|
8880 |
-
Math.floor((year - 1901 + t) / 100)
|
8881 |
-
Math.floor((year - 1601 + t) / 400)
|
8882 |
-
365 * (year - 1970)
|
8883 |
);
|
8884 |
};
|
8885 |
|
@@ -8909,9 +9158,7 @@ module.exports = computedStyle;
|
|
8909 |
UTC: NativeDate.UTC
|
8910 |
}, true);
|
8911 |
DateShim.prototype = NativeDate.prototype;
|
8912 |
-
defineProperties(DateShim.prototype, {
|
8913 |
-
constructor: DateShim
|
8914 |
-
}, true);
|
8915 |
|
8916 |
// Upgrade Date.parse to handle simplified ISO 8601 strings
|
8917 |
var parseShim = function parse(string) {
|
@@ -8937,22 +9184,22 @@ module.exports = computedStyle;
|
|
8937 |
result;
|
8938 |
var hasMinutesOrSecondsOrMilliseconds = minute > 0 || second > 0 || millisecond > 0;
|
8939 |
if (
|
8940 |
-
hour < (hasMinutesOrSecondsOrMilliseconds ? 24 : 25)
|
8941 |
-
minute < 60 && second < 60 && millisecond < 1000
|
8942 |
-
month > -1 && month < 12 && hourOffset < 24
|
8943 |
-
minuteOffset < 60
|
8944 |
-
day > -1
|
8945 |
-
day < (dayFromMonth(year, month + 1) - dayFromMonth(year, month))
|
8946 |
) {
|
8947 |
result = (
|
8948 |
-
(dayFromMonth(year, month) + day) * 24
|
8949 |
-
hour
|
8950 |
-
hourOffset * signOffset
|
8951 |
) * 60;
|
8952 |
-
result = (
|
8953 |
-
(result + minute + minuteOffset * signOffset) * 60
|
8954 |
-
second
|
8955 |
-
) * 1000 + millisecond;
|
8956 |
if (isLocalTime) {
|
8957 |
result = toUTC(result);
|
8958 |
}
|
@@ -8987,10 +9234,10 @@ module.exports = computedStyle;
|
|
8987 |
// ES5.1 15.7.4.5
|
8988 |
// http://es5.github.com/#x15.7.4.5
|
8989 |
var hasToFixedBugs = NumberPrototype.toFixed && (
|
8990 |
-
|
8991 |
-
|
8992 |
-
|
8993 |
-
|
8994 |
);
|
8995 |
|
8996 |
var toFixedHelpers = {
|
@@ -9168,12 +9415,12 @@ module.exports = computedStyle;
|
|
9168 |
// '.'.split(/()()/) should be ["."], not ["", "", "."]
|
9169 |
|
9170 |
if (
|
9171 |
-
'ab'.split(/(?:ab)*/).length !== 2
|
9172 |
-
'.'.split(/(.?)(.?)/).length !== 4
|
9173 |
-
'tesst'.split(/(s)*/)[1] === 't'
|
9174 |
-
'test'.split(/(?:)/, -1).length !== 4
|
9175 |
-
''.split(/.?/).length
|
9176 |
-
'.'.split(/()()/).length > 1
|
9177 |
) {
|
9178 |
(function () {
|
9179 |
var compliantExecNpcg = typeof (/()??/).exec('')[1] === 'undefined'; // NPCG: nonparticipating capturing group
|
@@ -9191,10 +9438,10 @@ module.exports = computedStyle;
|
|
9191 |
}
|
9192 |
|
9193 |
var output = [];
|
9194 |
-
var flags = (separator.ignoreCase ? 'i' : '')
|
9195 |
-
(separator.multiline ? 'm' : '')
|
9196 |
-
(separator.unicode ? 'u' : '')
|
9197 |
-
(separator.sticky ? 'y' : ''), // Firefox 3+ and ES6
|
9198 |
lastLastIndex = 0,
|
9199 |
// Make `global` and avoid `lastIndex` issues by working with a copy
|
9200 |
separator2, match, lastIndex, lastLength;
|
@@ -9319,9 +9566,9 @@ module.exports = computedStyle;
|
|
9319 |
|
9320 |
// ES5 15.5.4.20
|
9321 |
// whitespace from: http://es5.github.io/#x15.5.4.20
|
9322 |
-
var ws = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003'
|
9323 |
-
'\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028'
|
9324 |
-
'\u2029\uFEFF';
|
9325 |
var zeroWidth = '\u200b';
|
9326 |
var wsRegexChars = '[' + ws + ']';
|
9327 |
var trimBeginRegexp = new RegExp('^' + wsRegexChars + wsRegexChars + '*');
|
@@ -9371,13 +9618,18 @@ module.exports = computedStyle;
|
|
9371 |
}, StringPrototype.lastIndexOf.length !== 1);
|
9372 |
|
9373 |
// ES-5 15.1.2.2
|
9374 |
-
|
9375 |
if (parseInt(ws + '08') !== 8 || parseInt(ws + '0x16') !== 22) {
|
9376 |
-
/* eslint-enable radix */
|
9377 |
/* global parseInt: true */
|
9378 |
parseInt = (function (origParseInt) {
|
9379 |
-
var hexRegex = /^[
|
9380 |
return function parseInt(str, radix) {
|
|
|
|
|
|
|
|
|
|
|
|
|
9381 |
var string = trim(String(str));
|
9382 |
var defaultedRadix = $Number(radix) || (hexRegex.test(string) ? 16 : 10);
|
9383 |
return origParseInt(string, defaultedRadix);
|
@@ -9482,7 +9734,7 @@ module.exports = function(obj) {
|
|
9482 |
},{}],40:[function(_dereq_,module,exports){
|
9483 |
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
9484 |
var e, m
|
9485 |
-
var eLen = nBytes * 8 - mLen - 1
|
9486 |
var eMax = (1 << eLen) - 1
|
9487 |
var eBias = eMax >> 1
|
9488 |
var nBits = -7
|
@@ -9495,12 +9747,12 @@ exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
9495 |
e = s & ((1 << (-nBits)) - 1)
|
9496 |
s >>= (-nBits)
|
9497 |
nBits += eLen
|
9498 |
-
for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}
|
9499 |
|
9500 |
m = e & ((1 << (-nBits)) - 1)
|
9501 |
e >>= (-nBits)
|
9502 |
nBits += mLen
|
9503 |
-
for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}
|
9504 |
|
9505 |
if (e === 0) {
|
9506 |
e = 1 - eBias
|
@@ -9515,7 +9767,7 @@ exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
9515 |
|
9516 |
exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
9517 |
var e, m, c
|
9518 |
-
var eLen = nBytes * 8 - mLen - 1
|
9519 |
var eMax = (1 << eLen) - 1
|
9520 |
var eBias = eMax >> 1
|
9521 |
var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
|
@@ -9548,7 +9800,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
9548 |
m = 0
|
9549 |
e = eMax
|
9550 |
} else if (e + eBias >= 1) {
|
9551 |
-
m = (value * c - 1) * Math.pow(2, mLen)
|
9552 |
e = e + eBias
|
9553 |
} else {
|
9554 |
m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
|
1 |
/*!
|
2 |
|
3 |
+
Flowplayer v7.2.7 (Monday, 13. August 2018 08:40AM) | flowplayer.com/license
|
4 |
|
5 |
*/
|
6 |
/*! (C) WebReflection Mit Style License */
|
7 |
(function(e){function g(e,t,n,r){for(var i,s=n.slice(),o=w(t,e),u=0,a=s.length;u<a;u++){handler=s[u],typeof handler=="object"&&typeof handler.handleEvent=="function"?handler.handleEvent(o):handler.call(e,o);if(o.stoppedImmediatePropagation)break}return i=!o.stoppedPropagation,r&&i&&e.parentNode?e.parentNode.dispatchEvent(o):!o.defaultPrevented}function y(e,t){return{configurable:!0,get:e,set:t}}function b(e,t,n){var r=f(t||e,n);u(e,"textContent",y(function(){return r.get.call(this)},function(e){r.set.call(this,e)}))}function w(e,t){return e.currentTarget=t,e.eventPhase=e.target===e.currentTarget?2:3,e}function E(e,t){var n=e.length;while(n--&&e[n]!==t);return n}function S(){if(this.tagName==="BR")return"\n";var e=this.firstChild,t=[];while(e)e.nodeType!==8&&e.nodeType!==7&&t.push(e.textContent),e=e.nextSibling;return t.join("")}function x(e){return e.nodeType!==9&&document.documentElement.contains(e)}function T(e){!n&&d.test(document.readyState)&&(n=!n,document.detachEvent(r,T),e=document.createEvent("Event"),e.initEvent(i,!0,!0),document.dispatchEvent(e))}function N(e){var t;while(t=this.lastChild)this.removeChild(t);e!=null&&this.appendChild(document.createTextNode(e))}function C(t,n){return n||(n=e.event),n.target||(n.target=n.srcElement||n.fromElement||document),n.timeStamp||(n.timeStamp=(new Date).getTime()),n}if(document.createEvent)return;var t=!0,n=!1,r="onreadystatechange",i="DOMContentLoaded",s="__IE8__"+Math.random(),o=e.Object,u=o.defineProperty||function(e,t,n){e[t]=n.value},a=o.defineProperties||function(t,n){for(var r in n)if(l.call(n,r))try{u(t,r,n[r])}catch(i){e.console&&console.log(r+" failed on object:",t,i.message)}},f=o.getOwnPropertyDescriptor,l=o.prototype.hasOwnProperty,c=e.Element.prototype,h=e.Text.prototype,p=/^[a-z]+$/,d=/loaded|complete/,v={},m=document.createElement("div");b(e.HTMLCommentElement.prototype,c,"nodeValue"),b(e.HTMLScriptElement.prototype,null,"text"),b(h,null,"nodeValue"),b(e.HTMLTitleElement.prototype,null,"text"),u(e.HTMLStyleElement.prototype,"textContent",function(e){return y(function(){return e.get.call(this.styleSheet)},function(t){e.set.call(this.styleSheet,t)})}(f(e.CSSStyleSheet.prototype,"cssText"))),a(c,{textContent:{get:S,set:N},firstElementChild:{get:function(){for(var e=this.childNodes||[],t=0,n=e.length;t<n;t++)if(e[t].nodeType==1)return e[t]}},lastElementChild:{get:function(){for(var e=this.childNodes||[],t=e.length;t--;)if(e[t].nodeType==1)return e[t]}},previousElementSibling:{get:function(){var e=this.previousSibling;while(e&&e.nodeType!=1)e=e.previousSibling;return e}},nextElementSibling:{get:function(){var e=this.nextSibling;while(e&&e.nodeType!=1)e=e.nextSibling;return e}},childElementCount:{get:function(){for(var e=0,t=this.childNodes||[],n=t.length;n--;e+=t[n].nodeType==1);return e}},addEventListener:{value:function(e,t,n){var r=this,i="on"+e,o=r[s]||u(r,s,{value:{}})[s],a=o[i]||(o[i]={}),f=a.h||(a.h=[]),c;if(!l.call(a,"w")){a.w=function(e){return e[s]||g(r,C(r,e),f,!1)};if(!l.call(v,i))if(p.test(e))try{c=document.createEventObject(),c[s]=!0,r.nodeType!=9&&r.parentNode==null&&m.appendChild(r),r.fireEvent(i,c),v[i]=!0}catch(c){v[i]=!1;while(m.hasChildNodes())m.removeChild(m.firstChild)}else v[i]=!1;(a.n=v[i])&&r.attachEvent(i,a.w)}E(f,t)<0&&f[n?"unshift":"push"](t)}},dispatchEvent:{value:function(e){var t=this,n="on"+e.type,r=t[s],i=r&&r[n],o=!!i,u;return e.target||(e.target=t),o?i.n?t.fireEvent(n,e):g(t,e,i.h,!0):(u=t.parentNode)?u.dispatchEvent(e):!0,!e.defaultPrevented}},removeEventListener:{value:function(e,t,n){var r=this,i="on"+e,o=r[s],u=o&&o[i],a=u&&u.h,f=a?E(a,t):-1;-1<f&&a.splice(f,1)}}}),a(h,{addEventListener:{value:c.addEventListener},dispatchEvent:{value:c.dispatchEvent},removeEventListener:{value:c.removeEventListener}}),a(e.XMLHttpRequest.prototype,{addEventListener:{value:function(e,t,n){var r=this,i="on"+e,o=r[s]||u(r,s,{value:{}})[s],a=o[i]||(o[i]={}),f=a.h||(a.h=[]);E(f,t)<0&&(r[i]||(r[i]=function(){var t=document.createEvent("Event");t.initEvent(e,!0,!0),r.dispatchEvent(t)}),f[n?"unshift":"push"](t))}},dispatchEvent:{value:function(e){var t=this,n="on"+e.type,r=t[s],i=r&&r[n],o=!!i;return o&&(i.n?t.fireEvent(n,e):g(t,e,i.h,!0))}},removeEventListener:{value:c.removeEventListener}}),a(e.Event.prototype,{bubbles:{value:!0,writable:!0},cancelable:{value:!0,writable:!0},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0,this.returnValue=!1)}},stopPropagation:{value:function(){this.stoppedPropagation=!0,this.cancelBubble=!0}},stopImmediatePropagation:{value:function(){this.stoppedImmediatePropagation=!0,this.stopPropagation()}},initEvent:{value:function(e,t,n){this.type=e,this.bubbles=!!t,this.cancelable=!!n,this.bubbles||this.stopPropagation()}}}),a(e.HTMLDocument.prototype,{textContent:{get:function(){return this.nodeType===11?S.call(this):null},set:function(e){this.nodeType===11&&N.call(this,e)}},addEventListener:{value:function(n,s,o){var u=this;c.addEventListener.call(u,n,s,o),t&&n===i&&!d.test(u.readyState)&&(t=!1,u.attachEvent(r,T),e==top&&function a(e){try{u.documentElement.doScroll("left"),T()}catch(t){setTimeout(a,50)}}())}},dispatchEvent:{value:c.dispatchEvent},removeEventListener:{value:c.removeEventListener},createEvent:{value:function(e){var t;if(e!=="Event")throw new Error("unsupported "+e);return t=document.createEventObject(),t.timeStamp=(new Date).getTime(),t}}}),a(e.Window.prototype,{getComputedStyle:{value:function(){function i(e){this._=e}function s(){}var e=/^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/,t=/^(top|right|bottom|left)$/,n=/\-([a-z])/g,r=function(e,t){return t.toUpperCase()};return i.prototype.getPropertyValue=function(i){var s=this._,o=s.style,u=s.currentStyle,a=s.runtimeStyle,f,l,c;return i=(i==="float"?"style-float":i).replace(n,r),f=u?u[i]:o[i],e.test(f)&&!t.test(i)&&(l=o.left,c=a&&a.left,c&&(a.left=u.left),o.left=i==="fontSize"?"1em":f,f=o.pixelLeft+"px",o.left=l,c&&(a.left=c)),f==null?f:f+""||"auto"},s.prototype.getPropertyValue=function(){return null},function(e,t){return t?new s(e):new i(e)}}()},addEventListener:{value:function(t,n,r){var i=e,o="on"+t,u;i[o]||(i[o]=function(e){return g(i,C(i,e),u,!1)}),u=i[o][s]||(i[o][s]=[]),E(u,n)<0&&u[r?"unshift":"push"](n)}},dispatchEvent:{value:function(t){var n=e["on"+t.type];return n?n.call(e,t)!==!1&&!t.defaultPrevented:!0}},removeEventListener:{value:function(t,n,r){var i="on"+t,u=(e[i]||o)[s],a=u?E(u,n):-1;-1<a&&u.splice(a,1)}}})})(this);
|
8 |
+
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.flowplayer = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(_dereq_,module,exports){
|
9 |
'use strict';
|
10 |
var common = module.exports = {},
|
11 |
ClassList = _dereq_('class-list'),
|
193 |
common.hasParent = function(el, parentSelector) {
|
194 |
var parent = el.parentElement;
|
195 |
while (parent) {
|
196 |
+
if (typeof parentSelector !== 'string') {
|
197 |
+
// is an element
|
198 |
+
if (parent === parentSelector) return true;
|
199 |
+
} else {
|
200 |
+
if (common.matches(parent, parentSelector)) return true;
|
201 |
+
}
|
202 |
parent = parent.parentElement;
|
203 |
}
|
204 |
return false;
|
475 |
if ((conf.rtmp || {}).hasOwnProperty(key)) opts[key] = (conf.rtmp || {})[key];
|
476 |
if ((video.rtmp || {}).hasOwnProperty(key)) opts[key] = (video.rtmp || {})[key];
|
477 |
});
|
478 |
+
if (conf.splash) opts.autoplay = true;
|
479 |
if (conf.rtmp) opts.rtmp = conf.rtmp.url || conf.rtmp;
|
480 |
if (video.rtmp) opts.rtmp = video.rtmp.url || video.rtmp;
|
481 |
Object.keys(video.flashls || {}).forEach(function(key) {
|
485 |
|
486 |
var hlsQualities = typeof video.hlsQualities !== 'undefined' ? video.hlsQualities : conf.hlsQualities;
|
487 |
if (typeof hlsQualities !== 'undefined') opts.hlsQualities = hlsQualities ? encodeURIComponent(JSON.stringify(hlsQualities)) : hlsQualities;
|
488 |
+
// bufferTime, bufferTimeMax might be 0
|
489 |
if (conf.bufferTime !== undefined) opts.bufferTime = conf.bufferTime;
|
490 |
+
if (conf.bufferTimeMax !== undefined) opts.bufferTimeMax = conf.bufferTimeMax;
|
491 |
|
492 |
if (is_absolute) delete opts.rtmp;
|
493 |
|
521 |
player.video.hlsQualities :
|
522 |
player.conf.hlsQualities;
|
523 |
if (!hlsQualities) return;
|
524 |
+
try {
|
525 |
+
api.__quality(quality);
|
526 |
+
} catch (e) {
|
527 |
+
// VOD / RTMP engine does not support quality
|
528 |
+
player.debug('Error changing quality in flash engine', e);
|
529 |
+
}
|
530 |
});
|
531 |
|
532 |
// throw error if no loading occurs
|
740 |
var flowplayer = _dereq_('../flowplayer')
|
741 |
, support = flowplayer.support
|
742 |
, common = flowplayer.common
|
743 |
+
, bean = flowplayer.bean
|
744 |
, html5factory = _dereq_('./html5-factory');
|
745 |
|
746 |
|
754 |
|
755 |
engine = function(player, root) {
|
756 |
|
757 |
+
var Hls = window.Hls
|
758 |
, lastSelectedLevel
|
759 |
, lastSource;
|
760 |
|
761 |
+
function hlsjsExt(video, api, engineApi) {
|
762 |
+
var conf = flowplayer.extend({
|
763 |
+
recoverMediaError: true
|
764 |
+
}, player.conf.hlsjs, video.hlsjs);
|
765 |
+
if (player.engine.hls) player.engine.hls.destroy();
|
766 |
+
var hls = player.engine.hls = new Hls(conf);
|
767 |
engine.extensions.forEach(function(ext) {
|
768 |
+
ext({
|
769 |
+
hls: hls,
|
770 |
+
player: player,
|
771 |
+
root: root,
|
772 |
+
videoTag: api
|
773 |
+
});
|
774 |
});
|
775 |
hls.loadSource(video.src);
|
776 |
|
777 |
// API overriders
|
778 |
engineApi.resume = function() {
|
779 |
+
if (player.live && !player.dvr) api.currentTime = hls.liveSyncPosition || 0;
|
780 |
api.play();
|
781 |
};
|
782 |
|
783 |
engineApi.seek = function(seekTo) {
|
784 |
try {
|
785 |
+
if (player.live || player.dvr) {
|
786 |
+
api.currentTime = Math.min(
|
787 |
+
seekTo,
|
788 |
+
(hls.liveSyncPosition || api.duration - conf.livePositionOffset)
|
789 |
+
);
|
790 |
+
}
|
791 |
else api.currentTime = seekTo;
|
792 |
} catch (e) {
|
793 |
player.debug('Failed to seek to ', seekTo, e);
|
794 |
}
|
795 |
};
|
796 |
|
797 |
+
if (conf.bufferWhilePaused === false) {
|
798 |
+
player.on('pause', function() {
|
799 |
+
hls.stopLoad();
|
800 |
+
player.one('resume', function() {
|
801 |
+
hls.startLoad();
|
802 |
+
});
|
803 |
+
});
|
804 |
+
}
|
805 |
+
|
806 |
// Quality selection
|
807 |
player.on('quality', function(_ev, _api, q) {
|
808 |
hls.nextLevel = lastSelectedLevel = q;
|
809 |
});
|
810 |
|
811 |
+
// HLS.js error handling
|
812 |
+
var recoverMediaErrorDate
|
813 |
+
, swapAudioCodecDate;
|
814 |
+
var recover = function(isNetworkError) {
|
815 |
+
player.debug('hlsjs - recovery');
|
816 |
+
|
817 |
+
common.removeClass(root, 'is-paused');
|
818 |
+
common.addClass(root, 'is-seeking');
|
819 |
+
|
820 |
+
bean.one(api, 'seeked', function() {
|
821 |
+
if (api.paused) {
|
822 |
+
common.removeClass(root, 'is-poster');
|
823 |
+
player.poster = false;
|
824 |
+
api.play();
|
825 |
+
}
|
826 |
+
common.removeClass(root, 'is-seeking');
|
827 |
+
});
|
828 |
+
|
829 |
+
|
830 |
+
if (isNetworkError) return hls.startLoad();
|
831 |
+
var now = performance.now();
|
832 |
+
if (!recoverMediaErrorDate || now - recoverMediaErrorDate > 3000) {
|
833 |
+
recoverMediaErrorDate = performance.now();
|
834 |
+
hls.recoverMediaError();
|
835 |
+
} else if (!swapAudioCodecDate || (now - swapAudioCodecDate) > 3000) {
|
836 |
+
swapAudioCodecDate = performance.now();
|
837 |
+
hls.swapAudioCodec();
|
838 |
+
hls.recoverMediaError();
|
839 |
+
}
|
840 |
+
};
|
841 |
+
|
842 |
|
843 |
hls.on(Hls.Events.MANIFEST_PARSED, function(_, data) {
|
844 |
var hlsQualities = video.hlsQualities || player.conf.hlsQualities
|
878 |
}]
|
879 |
|
880 |
if (Array.isArray(hlsQualities)) {
|
881 |
+
var confAutoQuality = hlsQualities.find(function(q) { return q === -1 || q.level && q.level === -1; });
|
882 |
+
if (!confAutoQuality) video.qualities = [];
|
883 |
+
else video.qualities[0].label = typeof confAutoQuality !== 'number' ? confAutoQuality.label : video.qualities[0].label;
|
884 |
confQualities = hlsQualities.map(function(q) {
|
885 |
if (typeof q.level !== 'undefined') qualityLabels[q.level] = q.label;
|
886 |
return typeof q.level !== 'undefined' ? q.level : q;
|
913 |
if (lastSource && video.src !== lastSource) api.play();
|
914 |
lastSource = video.src;
|
915 |
});
|
916 |
+
|
917 |
+
hls.on(Hls.Events.ERROR, function(ev, data) {
|
918 |
+
if (!data.fatal) return;
|
919 |
+
if (conf.recoverNetworkError && data.type === Hls.ErrorTypes.NETWORK_ERROR) recover(true);
|
920 |
+
else if (conf.recoverMediaError && data.type === Hls.ErrorTypes.MEDIA_ERROR) recover(false);
|
921 |
+
else {
|
922 |
+
var code = 5;
|
923 |
+
if (data.type === Hls.ErrorTypes.NETWORK_ERROR) code = 2;
|
924 |
+
if (data.type === Hls.ErrorTypes.MEDIA_ERROR) code = 3;
|
925 |
+
hls.destroy();
|
926 |
+
player.trigger('error', [player, { code: code }]);
|
927 |
+
}
|
928 |
+
});
|
929 |
+
|
930 |
+
player.one('unload', function() {
|
931 |
+
hls.destroy();
|
932 |
+
});
|
933 |
+
|
934 |
+
return {
|
935 |
+
handlers: {
|
936 |
+
error: function(e, videoTag) {
|
937 |
+
var errorCode = videoTag.error && videoTag.error.code;
|
938 |
+
if (conf.recoverMediaError && errorCode === 3 || !errorCode) {
|
939 |
+
e.preventDefault();
|
940 |
+
recover(false);
|
941 |
+
return true;
|
942 |
+
}
|
943 |
+
if (conf.recoverNetworkError && errorCode === 2) {
|
944 |
+
e.preventDefault();
|
945 |
+
recover(true);
|
946 |
+
return true;
|
947 |
+
}
|
948 |
+
}
|
949 |
+
}
|
950 |
+
};
|
951 |
+
}
|
952 |
+
return html5factory('hlsjs-lite', player, root, canPlay, hlsjsExt);
|
953 |
};
|
954 |
|
955 |
|
956 |
engine.canPlay = function(type, conf) {
|
957 |
+
if (conf.hlsjs === false || (conf.clip && conf.clip.hlsjs === false)) return false;
|
958 |
if (support.browser.safari && !(conf.clip && conf.clip.hlsjs || conf.hlsjs || {}).safari) return false;
|
959 |
return flowplayer.support.video && canPlay(type);
|
960 |
};
|
1019 |
},
|
1020 |
|
1021 |
load: function(video) {
|
1022 |
+
var container = common.find('.fp-player', root)[0]
|
1023 |
+
, created = false;
|
1024 |
|
1025 |
if (!api) {
|
1026 |
api = document.createElement('video');
|
1027 |
common.prepend(container, api);
|
1028 |
api.autoplay = !!conf.splash;
|
1029 |
+
created = true;
|
1030 |
}
|
1031 |
common.addClass(api, 'fp-engine');
|
1032 |
common.find('track', api).forEach(common.removeNode);
|
1084 |
api.volume = volumeLevel;
|
1085 |
}
|
1086 |
|
1087 |
+
var extra = ext(video, api, self);
|
1088 |
if (conf.autoplay || conf.splash || video.autoplay) {
|
1089 |
player.debug('Autoplay / Splash setup, try to start video');
|
1090 |
+
api.load();
|
1091 |
+
var play = function () {
|
1092 |
+
try {
|
1093 |
+
var p = api.play();
|
1094 |
+
if (p && p.catch) {
|
1095 |
+
var recoverAutoplay = function(err) {
|
1096 |
+
if (err.name === 'AbortError' && err.code === 20) {
|
1097 |
+
if (!created) return api.play().catch(recoverAutoplay);
|
1098 |
+
else return;
|
1099 |
+
}
|
1100 |
+
if (!conf.mutedAutoplay) throw new Error('Unable to autoplay');
|
1101 |
+
player.debug('Play errored, trying muted', err);
|
1102 |
+
player.mute(true, true);
|
1103 |
+
return api.play();
|
1104 |
+
}
|
1105 |
+
p.catch(recoverAutoplay).catch(function() {
|
1106 |
+
conf.autoplay = false;
|
1107 |
+
player.mute(false, true); // Restore volume as playback failed
|
1108 |
+
player.trigger('stop', [player]);
|
1109 |
+
});
|
1110 |
+
}
|
1111 |
+
} catch(e) {
|
1112 |
+
player.debug('play() error thrown', e);
|
1113 |
}
|
1114 |
+
};
|
1115 |
+
if (api.readyState > 0) play();
|
1116 |
+
else bean.one(api, 'canplay', play);
|
1117 |
}
|
1118 |
|
1119 |
+
self._listeners = listen(api, common.find('source', api).concat(api), video, extra) || self._listeners;
|
|
|
1120 |
|
1121 |
+
if (conf.autoplay || conf.splash || video.autoplay) return; // No preload check needed
|
1122 |
var preloadCheck = function() {
|
1123 |
if (!isInViewport(root)) return;
|
1124 |
+
player.debug('player is in viewport, preload');
|
1125 |
if (support.preloadMetadata) api.preload = 'metadata';
|
1126 |
else api.load();
|
1127 |
bean.off(document, 'scroll.preloadviewport');
|
1128 |
};
|
|
|
1129 |
bean.off(document, 'scroll.preloadviewport');
|
1130 |
bean.on(document, 'scroll.preloadviewport', function() {
|
1131 |
window.requestAnimationFrame(preloadCheck);
|
1132 |
});
|
1133 |
+
preloadCheck();
|
1134 |
},
|
1135 |
|
1136 |
mute: function(flag) {
|
1152 |
},
|
1153 |
|
1154 |
seek: function(time) {
|
1155 |
+
var pausedState = api.paused || player.finished;
|
1156 |
try {
|
1157 |
api.currentTime = time;
|
1158 |
+
if (pausedState) bean.one(api, 'seeked', function() { api.pause(); });
|
1159 |
} catch (ignored) {}
|
1160 |
},
|
1161 |
|
1170 |
unload: function() {
|
1171 |
bean.off(document, 'scroll.preloadviewport');
|
1172 |
common.find('video.fp-engine', root).forEach(function (videoTag) {
|
1173 |
+
if ('MediaSource' in window) {
|
1174 |
+
videoTag.src = URL.createObjectURL(new MediaSource());
|
1175 |
+
} else {
|
1176 |
+
videoTag.src = '';
|
1177 |
+
}
|
1178 |
common.removeNode(videoTag);
|
1179 |
});
|
1180 |
timer = clearInterval(timer);
|
1189 |
}
|
1190 |
};
|
1191 |
|
1192 |
+
function listen(api, sources, video, extra) {
|
1193 |
// listen only once
|
1194 |
var instanceId = root.getAttribute('data-flowplayer-instance-id');
|
1195 |
|
1222 |
if (track.kind !== 'metadata') return;
|
1223 |
track.mode = 'hidden';
|
1224 |
track.addEventListener('cuechange', function() {
|
1225 |
+
if (!track.activeCues.length) return;
|
1226 |
player.trigger('metadata', [player, track.activeCues[0].value]);
|
1227 |
}, false);
|
1228 |
};
|
1253 |
video = api.listeners[instanceId];
|
1254 |
if (!e.target || !common.hasClass(e.target, 'fp-engine')) return;
|
1255 |
|
1256 |
+
if (!/progress/.test(flow)) player.debug(type, '->', flow, e);
|
1257 |
|
1258 |
var triggerEvent = function(f) {
|
1259 |
player.trigger(f || flow, [player, arg]);
|
1274 |
switch (flow) {
|
1275 |
|
1276 |
case 'ready':
|
1277 |
+
if (player.ready) return player.debug('Player already ready, not sending duplicate ready event');
|
1278 |
+
if ((!api.duration || api.duration === Infinity) && !player.live) return player.debug('No duration and VOD setup, not sending ready event');
|
1279 |
arg = extend(video, {
|
1280 |
duration: api.duration < Number.MAX_VALUE ? api.duration : 0,
|
1281 |
width: api.videoWidth,
|
1282 |
height: api.videoHeight,
|
1283 |
+
url: api.currentSrc
|
|
|
1284 |
});
|
1285 |
+
arg.seekable = arg.duration;
|
1286 |
+
player.debug('Ready: ', arg);
|
|
|
|
|
|
|
1287 |
|
1288 |
if (!player.live && !arg.duration && !support.hlsDuration && type === 'loadeddata') {
|
1289 |
var durationChanged = function() {
|
1333 |
end: api.buffered.end(i)
|
1334 |
});
|
1335 |
}
|
1336 |
+
if (api.buffered.length && api.buffered.end(null) === api.duration) triggerEvent('buffered');
|
1337 |
break;
|
1338 |
|
1339 |
case 'speed':
|
1346 |
|
1347 |
case 'error':
|
1348 |
try {
|
1349 |
+
if (extra && extra.handlers && extra.handlers.error) {
|
1350 |
+
var handled = extra.handlers.error(e, api);
|
1351 |
+
if (handled) return;
|
1352 |
+
}
|
1353 |
arg = (e.srcElement || e.originalTarget).error;
|
1354 |
arg.video = extend(video, {src: api.src, url: api.src});
|
1355 |
} catch (er) {
|
1418 |
common.find('source', api).forEach(common.removeNode);
|
1419 |
api.src = video.src;
|
1420 |
api.type = video.type;
|
1421 |
+
} else if (video.autoplay) {
|
1422 |
+
api.load();
|
1423 |
}
|
1424 |
+
|
1425 |
});
|
1426 |
};
|
1427 |
|
1604 |
|
1605 |
function createUIElements() {
|
1606 |
var btnContainer = common.find('.fp-header', root)[0];
|
1607 |
+
if (!btnContainer) return; // UI no more available
|
1608 |
common.find('.fp-chromecast', btnContainer).forEach(common.removeNode);
|
1609 |
common.find('.fp-chromecast-engine', root).forEach(common.removeNode);
|
1610 |
trigger = common.createElement('a', { 'class': 'fp-chromecast fp-icon', title: 'Play on Cast device'})
|
1704 |
var segments = {}, lastFiredSegment = -0.125;
|
1705 |
|
1706 |
var fire = function(cue) {
|
1707 |
+
setClass(cue.index);
|
|
|
|
|
|
|
1708 |
player.trigger('cuepoint', [player, cue]);
|
1709 |
};
|
1710 |
|
1711 |
player.on("progress", function(e, api, time) {
|
1712 |
+
if (cuepointsDisabled) return;
|
1713 |
var segment = segmentForCue(time);
|
1714 |
while (lastFiredSegment < segment) {
|
1715 |
lastFiredSegment += 0.125;
|
1732 |
var cues = video.cuepoints || player.conf.cuepoints || [];
|
1733 |
player.setCuepoints(cues);
|
1734 |
}).on('finish', function() {
|
1735 |
+
var segment = segmentForCue(player.video.duration);
|
1736 |
+
while (lastFiredSegment < segment) {
|
1737 |
+
lastFiredSegment += 0.125;
|
1738 |
+
if (!segments[lastFiredSegment]) continue;
|
1739 |
+
segments[lastFiredSegment].forEach(fire);
|
1740 |
+
}
|
1741 |
lastFiredSegment = -0.125;
|
1742 |
});
|
1743 |
if (player.conf.generate_cuepoints) {
|
1761 |
};
|
1762 |
player.addCuepoint = function(cue) {
|
1763 |
if (!player.cuepoints) player.cuepoints = [];
|
1764 |
+
if (typeof cue === 'number') {
|
1765 |
+
cue = {
|
1766 |
+
time: cue,
|
1767 |
+
};
|
1768 |
+
}
|
1769 |
+
cue.index = 0;
|
1770 |
var segment = segmentForCue(cue);
|
1771 |
if (!segments[segment]) segments[segment] = [];
|
1772 |
segments[segment].push(cue);
|
1773 |
+
if (player.cuepoints.length) cue.index = Math.max.apply(null, player.cuepoints.map(function(cue) { return cue.index; })) + 1;
|
1774 |
player.cuepoints.push(cue);
|
1775 |
|
1776 |
if (player.conf.generate_cuepoints && cue.visible !== false) {
|
1781 |
var time = cue.time || cue;
|
1782 |
if (time < 0) time = duration + time;
|
1783 |
|
1784 |
+
var el = common.createElement('a', {className: 'fp-cuepoint fp-cuepoint' + cue.index});
|
1785 |
common.css(el, "left", (time / duration * 100) + "%");
|
1786 |
|
1787 |
timeline.appendChild(el);
|
1795 |
};
|
1796 |
|
1797 |
player.removeCuepoint = function(cue) {
|
1798 |
+
if (typeof cue === 'number') cue = player.cuepoints.filter(function(c) { return c.index === cue; })[0];
|
1799 |
var idx = player.cuepoints.indexOf(cue),
|
1800 |
segment = segmentForCue(cue);
|
1801 |
if (idx === -1) return;
|
1802 |
+
player.cuepoints = player.cuepoints.slice(0, idx).concat(player.cuepoints.slice(idx+1));
|
1803 |
+
|
1804 |
+
var timeline = common.find('.fp-timeline', root)[0];
|
1805 |
+
|
1806 |
+
common.find('.fp-cuepoint' + cue.index, timeline).forEach(common.removeNode);
|
1807 |
|
1808 |
var sIdx = segments[segment].indexOf(cue);
|
1809 |
if (sIdx === -1) return;
|
2024 |
FS_ENTER = "fullscreen",
|
2025 |
FS_EXIT = "fullscreen-exit",
|
2026 |
FULL_PLAYER,
|
2027 |
+
FS_SUPPORT = flowplayer.support.fullscreen;
|
|
|
|
|
|
|
2028 |
|
2029 |
// esc button
|
2030 |
bean.on(document, "fullscreenchange.ffscr webkitfullscreenchange.ffscr mozfullscreenchange.ffscr MSFullscreenChange.ffscr", function(e) {
|
2073 |
['requestFullScreen', 'webkitRequestFullScreen', 'mozRequestFullScreen', 'msRequestFullscreen'].forEach(function(fName) {
|
2074 |
if (typeof wrapper[fName] === 'function') {
|
2075 |
wrapper[fName](Element.ALLOW_KEYBOARD_INPUT);
|
2076 |
+
if (fName === 'webkitRequestFullScreen' && !document.webkitFullscreenElement) wrapper[fName]();
|
2077 |
}
|
2078 |
});
|
2079 |
|
2127 |
|
2128 |
player.on('shutdown', function() {
|
2129 |
FULL_PLAYER = null;
|
2130 |
+
common.removeNode(wrapper);
|
2131 |
});
|
2132 |
|
2133 |
});
|
2151 |
|
2152 |
if (!el || !conf.keyboard || el.disabled) return;
|
2153 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2154 |
if (!metaKeyPressed && el.ready) {
|
2155 |
|
|
|
|
|
2156 |
// slow motion / fast forward
|
2157 |
if (e.shiftKey) {
|
2158 |
if (key == 39) el.speed(true);
|
2159 |
else if (key == 37) el.speed(false);
|
2160 |
+
return e.preventDefault();
|
2161 |
}
|
2162 |
|
2163 |
// 1, 2, 3, 4 ..
|
2164 |
+
if (key < 58 && key > 47) {
|
2165 |
+
e.preventDefault();
|
2166 |
+
return el.seekTo(key - 48);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2167 |
}
|
2168 |
|
2169 |
+
var handled = (function() {
|
2170 |
+
switch (key) {
|
2171 |
+
case 38: case 75: el.volume(el.volumeLevel + 0.15); return true; // volume up
|
2172 |
+
case 40: case 74: el.volume(el.volumeLevel - 0.15); return true; // volume down
|
2173 |
+
case 39: case 76: el.seeking = true; el.seek(true); return true; // forward
|
2174 |
+
case 37: case 72: el.seeking = true; el.seek(false); return true; // backward
|
2175 |
+
case 190: el.seekTo(); return true; // to last seek position
|
2176 |
+
case 32: el.toggle(); return true; // spacebar
|
2177 |
+
case 70: if(conf.fullscreen) el.fullscreen(); return true; // toggle fullscreen
|
2178 |
+
case 77: el.mute(); return true; // mute
|
2179 |
+
case 81: el.unload(); return true; // unload/stop
|
2180 |
+
}
|
2181 |
+
})();
|
2182 |
+
if (handled) e.preventDefault();
|
2183 |
}
|
2184 |
|
2185 |
});
|
2189 |
// no keyboard configured
|
2190 |
if (!api.conf.keyboard) return;
|
2191 |
|
2192 |
+
bean.on(document, 'click', function(ev) {
|
2193 |
+
if (common.hasParent(ev.target, root)) {
|
2194 |
+
focused = !api.disabled ? api : 0;
|
2195 |
+
} else {
|
2196 |
+
if (focused !== api) return;
|
2197 |
+
focused = 0;
|
2198 |
+
}
|
2199 |
if (focused) focusedRoot = root;
|
2200 |
});
|
2201 |
|
2236 |
if (common.height(menu) + top > common.height(ui)) top = top - common.height(menu);
|
2237 |
common.css(menu, {
|
2238 |
top: top + 'px',
|
2239 |
+
left: left + 'px',
|
2240 |
+
right: 'auto'
|
2241 |
});
|
2242 |
};
|
2243 |
|
2367 |
bean.on(root, 'touchmove', function() {
|
2368 |
hasMoved = true;
|
2369 |
});
|
2370 |
+
var initialClick = true;
|
2371 |
bean.on(root, 'touchend click', function(e) {
|
2372 |
if (hasMoved) { //not intentional, most likely scrolling
|
2373 |
hasMoved = false;
|
2375 |
}
|
2376 |
|
2377 |
var video = common.find('video.fp-engine', root)[0];
|
2378 |
+
if (initialClick && player.conf.clickToUnMute && video && video.muted && player.conf.autoplay) video.muted = false;
|
2379 |
+
initialClick = false;
|
2380 |
|
2381 |
if (player.playing && !common.hasClass(root, 'is-mouseover')) {
|
2382 |
common.addClass(root, 'is-mouseover');
|
2427 |
// Android browser gives video.duration == 1 until second 'timeupdate' event
|
2428 |
if (isAndroid || isSilk) player.bind("ready", function() {
|
2429 |
var video = common.find('video.fp-engine', root)[0];
|
2430 |
+
if (player.conf.splash && video.paused && player.engine.engineName !== 'hlsjs-lite') {
|
2431 |
bean.one(video, 'canplay', function() {
|
2432 |
video.play();
|
2433 |
});
|
2680 |
player.conf.playlist.forEach(function(itm, i) {
|
2681 |
common.removeClass(root, 'video' + i);
|
2682 |
});
|
2683 |
+
delete player.video.index;
|
2684 |
});
|
2685 |
|
2686 |
if (player.conf.playlist.length) {
|
2874 |
|
2875 |
flowplayer(function(p, root) {
|
2876 |
var currentPoint, wrap,
|
2877 |
+
subtitleControl, subtitleMenu, changeHandler;
|
2878 |
|
2879 |
if (
|
2880 |
!flowplayer.support.inlineVideo ||
|
2881 |
(!flowplayer.support.fullscreen && p.conf.native_fullscreen)) p.conf.nativesubtitles = true;
|
2882 |
|
2883 |
+
if (!p.ui) p.ui = {};
|
2884 |
+
p.ui.createSubtitleControl = function(subtitles, onChange) {
|
2885 |
+
changeHandler = onChange;
|
2886 |
subtitleControl = subtitleControl || common.createElement('strong', { className: 'fp-cc' }, 'CC');
|
2887 |
subtitleMenu = subtitleMenu || common.createElement('div', {className: 'fp-menu fp-subtitle-menu'}, '<strong>Closed Captions</strong>');
|
2888 |
common.find('a', subtitleMenu).forEach(common.removeNode);
|
2889 |
subtitleMenu.appendChild(common.createElement('a', {'data-subtitle-index': -1}, 'No subtitles'));
|
2890 |
+
(subtitles || []).forEach(function(st, i) {
|
2891 |
var srcLang = st.srclang || 'en',
|
2892 |
label = st.label || 'Default (' + srcLang + ')';
|
2893 |
var item = common.createElement('a', {'data-subtitle-index': i}, label);
|
2895 |
});
|
2896 |
common.find('.fp-ui', root)[0].appendChild(subtitleMenu);
|
2897 |
common.find('.fp-controls', root)[0].appendChild(subtitleControl);
|
2898 |
+
common.toggleClass(subtitleControl, 'fp-hidden', !subtitles || !subtitles.length);
|
2899 |
return subtitleControl;
|
2900 |
};
|
2901 |
|
2902 |
+
p.ui.setActiveSubtitleItem = function(idx) {
|
2903 |
+
setActiveSubtitleClass(idx);
|
2904 |
+
};
|
2905 |
+
|
2906 |
bean.on(root, 'click', '.fp-cc', function() {
|
2907 |
if (common.hasClass(subtitleMenu, 'fp-active')) p.hideMenu();
|
2908 |
else p.showMenu(subtitleMenu);
|
2911 |
bean.on(root, 'click', '.fp-subtitle-menu [data-subtitle-index]', function(ev) {
|
2912 |
ev.preventDefault();
|
2913 |
var idx = ev.target.getAttribute('data-subtitle-index');
|
2914 |
+
if (changeHandler) return changeHandler(idx);
|
2915 |
if (idx === '-1') return p.disableSubtitles();
|
2916 |
p.loadSubtitles(idx);
|
2917 |
});
|
2920 |
wrap = common.find('.fp-captions', root)[0];
|
2921 |
wrap = wrap || common.appendTo(common.createElement('div', {'class': 'fp-captions'}), common.find('.fp-player', root)[0]);
|
2922 |
Array.prototype.forEach.call(wrap.children, common.removeNode);
|
2923 |
+
p.ui.createSubtitleControl(p.video.subtitles);
|
2924 |
};
|
2925 |
|
2926 |
|
2933 |
|
2934 |
p.disableSubtitles();
|
2935 |
|
|
|
2936 |
if (!video.subtitles || !video.subtitles.length) return;
|
2937 |
|
2938 |
var defaultSubtitle = video.subtitles.filter(function(one) {
|
2941 |
if (defaultSubtitle) player.loadSubtitles(video.subtitles.indexOf(defaultSubtitle));
|
2942 |
});
|
2943 |
|
2944 |
+
p.showSubtitle = function(text) {
|
2945 |
+
common.html(wrap, text);
|
2946 |
+
common.addClass(wrap, 'fp-shown');
|
2947 |
+
};
|
2948 |
+
|
2949 |
+
p.hideSubtitle = function() {
|
2950 |
+
common.removeClass(wrap, 'fp-shown');
|
2951 |
+
};
|
2952 |
+
|
2953 |
p.bind("cuepoint", function(e, api, cue) {
|
2954 |
if (cue.subtitle) {
|
2955 |
currentPoint = cue.index;
|
2956 |
+
p.showSubtitle(cue.subtitle.text);
|
|
|
2957 |
} else if (cue.subtitleEnd) {
|
2958 |
+
p.hideSubtitle();
|
2959 |
currentPoint = cue.index;
|
2960 |
}
|
2961 |
});
|
3026 |
}
|
3027 |
common.xhrGet(url, function(txt) {
|
3028 |
var entries = p.conf.subtitleParser(txt);
|
3029 |
+
entries.forEach(function(entry, idx) {
|
3030 |
+
if (!entry.title) entry.title = 'subtitle' + idx;
|
3031 |
var cue = { time: entry.startTime, subtitle: entry, visible: false };
|
3032 |
p.subtitles.push(entry);
|
3033 |
p.addCuepoint(cue);
|
3138 |
WP_VER = IS_WP ? parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(UA)[1], 10) : 0,
|
3139 |
IE_MOBILE_VER = IS_WP ? parseFloat(/IEMobile\/(\d+\.\d+)/.exec(UA)[1], 10) : 0,
|
3140 |
IOS_VER = IS_IPAD || IS_IPHONE ? parseIOSVersion(UA) : 0,
|
3141 |
+
ANDROID_VER = IS_ANDROID ? parseFloat(/Android\ (\d+(\.\d+)?)/.exec(UA)[1], 10) : 0;
|
3142 |
|
3143 |
var ios = (IS_IPHONE || IS_IPAD || IS_IPAD_CHROME) && {
|
3144 |
iPhone: IS_IPHONE,
|
3172 |
// pretend lacking firstframe support because so far we treat
|
3173 |
// support.autoplay as synonym of support.firstframe
|
3174 |
firstframe: !IS_SILK && !IS_WP && !IS_ANDROID_FIREFOX && !IS_ANDROID_SAMSUNG && !(IOS_VER && IOS_VER < 10) && !(IS_ANDROID && ANDROID_VER < 4.4),
|
|
|
3175 |
inlineVideo: (!IS_IPHONE || IOS_VER >= 10) && (!IS_WP || (WP_VER >= 8.1 && IE_MOBILE_VER >= 11)) && (!IS_ANDROID || ANDROID_VER >= 3),
|
3176 |
hlsDuration: !IS_ANDROID && (!b.safari || IS_IPAD || IS_IPHONE || IS_IPAD_CHROME),
|
3177 |
seekable: !IS_IPAD && !IS_IPAD_CHROME,
|
3178 |
+
preloadMetadata: !ios && !b.safari
|
3179 |
});
|
3180 |
s.autoplay = s.firstframe;
|
3181 |
if (IS_WP) {
|
3729 |
common.addClass(root, "is-poster");
|
3730 |
common.addClass(play, 'fp-visible');
|
3731 |
api.poster = true;
|
3732 |
+
api.on('resume.poster progress.poster beforeseek.poster', function(ev) {
|
3733 |
+
if (ev.type === 'beforeseek' || api.playing) {
|
3734 |
+
common.removeClass(root, 'is-poster');
|
3735 |
+
common.removeClass(play, 'fp-visible');
|
3736 |
+
api.poster = false;
|
3737 |
+
api.off('.poster');
|
3738 |
+
}
|
3739 |
});
|
3740 |
}
|
3741 |
api.on('stop', function() { initPoster(); });
|
3787 |
bean.off(timeline);
|
3788 |
bean.off(volumeSlider);
|
3789 |
if (resizeHandle) window.cancelAnimationFrame(resizeHandle);
|
3790 |
+
common.removeNode(ui);
|
3791 |
+
common.find('.fp-ratio', root).forEach(common.removeNode);
|
3792 |
});
|
3793 |
|
3794 |
if (typeof window.requestAnimationFrame === 'function') {
|
3795 |
+
var playerEl = common.find('.fp-player', root)[0] || root;
|
3796 |
var resize = function() {
|
|
|
3797 |
common.toggleClass(root, 'is-tiny', playerEl.clientWidth < 400);
|
3798 |
common.toggleClass(root, 'is-small', playerEl.clientWidth < 600 && playerEl.clientWidth >= 400);
|
3799 |
resizeHandle = window.requestAnimationFrame(resize);
|
4080 |
if (oldHandler) return oldHandler(ev);
|
4081 |
};
|
4082 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4083 |
var isSafari = /Safari/.exec(navigator.userAgent) && !/Chrome/.exec(navigator.userAgent),
|
4084 |
m = /(\d+\.\d+) Safari/.exec(navigator.userAgent),
|
4085 |
safariVersion = m ? Number(m[1]) : 100;
|
4104 |
|
4105 |
extend(flowplayer, {
|
4106 |
|
4107 |
+
version: '7.2.7',
|
4108 |
|
4109 |
engines: [],
|
4110 |
|
4129 |
|
4130 |
defaults: {
|
4131 |
|
4132 |
+
debug: false,
|
4133 |
|
4134 |
// true = forced playback
|
4135 |
disabled: false,
|
4150 |
|
4151 |
hlsQualities: true,
|
4152 |
|
4153 |
+
seekStep: false,
|
4154 |
+
|
4155 |
splash: false,
|
4156 |
|
4157 |
live: false,
|
4158 |
livePositionOffset: 120,
|
4159 |
|
4160 |
+
swf: "//releases.flowplayer.org/7.2.7/flowplayer.swf",
|
4161 |
+
swfHls: "//releases.flowplayer.org/7.2.7/flowplayerhls.swf",
|
4162 |
|
4163 |
speeds: [0.25, 0.5, 1, 1.5, 2],
|
4164 |
|
4166 |
|
4167 |
mouseoutTimeout: 5000,
|
4168 |
|
4169 |
+
mutedAutoplay: true,
|
4170 |
+
|
4171 |
+
clickToUnMute: true,
|
4172 |
+
|
4173 |
// initial volume level
|
4174 |
+
volume: 1,
|
4175 |
|
4176 |
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#error-codes
|
4177 |
errors: [
|
4224 |
// auto-install (any video tag with parent .flowplayer)
|
4225 |
$(function() {
|
4226 |
if (typeof $.fn.flowplayer == 'function') {
|
4227 |
+
$('.flowplayer:has(video:not(.fp-engine),script[type="application/json"])').flowplayer();
|
4228 |
}
|
4229 |
});
|
4230 |
|
4274 |
function initializePlayer(element, opts, callback) {
|
4275 |
if (opts && opts.embed) opts.embed = extend({}, flowplayer.defaults.embed, opts.embed);
|
4276 |
|
4277 |
+
var supportLocalStorage = false;
|
4278 |
+
try {
|
4279 |
+
if (typeof flowplayer.conf.storage === 'undefined' && typeof window.localStorage == "object") {
|
4280 |
+
window.localStorage.flowplayerTestStorage = "test";
|
4281 |
+
supportLocalStorage = true;
|
4282 |
+
}
|
4283 |
+
} catch (ignored) {}
|
4284 |
+
|
4285 |
+
|
4286 |
+
|
4287 |
var root = element,
|
4288 |
conf = extend({}, flowplayer.defaults, flowplayer.conf, opts),
|
4289 |
storage = {},
|
4290 |
+
originalClass = root.className,
|
4291 |
lastSeekPosition,
|
4292 |
engine,
|
4293 |
urlResolver = new URLResolver();
|
4296 |
common.toggleClass(root, 'no-flex', !flowplayer.support.flex);
|
4297 |
common.toggleClass(root, 'no-svg', !flowplayer.support.svg);
|
4298 |
try {
|
4299 |
+
storage = flowplayer.conf.storage || (supportLocalStorage ? window.localStorage : storage);
|
4300 |
} catch(e) {}
|
4301 |
|
4302 |
+
conf.volume = storage.muted === "true" ? 0 : conf.volume !== flowplayer.defaults.volume ? conf.volume : !isNaN(storage.volume) ? storage.volume : conf.volume;
|
4303 |
+
|
4304 |
+
conf.debug = !!storage.flowplayerDebug || conf.debug;
|
4305 |
+
|
4306 |
if (conf.aspectRatio && typeof conf.aspectRatio === 'string') {
|
4307 |
var parts = conf.aspectRatio.split(/[:\/]/);
|
4308 |
conf.ratio = parts[1] / parts[0];
|
4381 |
});
|
4382 |
}
|
4383 |
|
4384 |
+
extend(video, engine.pick(video.sources.filter(function(source) { // Filter out sources explicitly configured for some other engine
|
4385 |
if (!source.engine) return true;
|
4386 |
return source.engine === engine.engineName;
|
4387 |
})));
|
4442 |
*/
|
4443 |
seek: function(time, callback) {
|
4444 |
if (typeof time == "boolean") {
|
4445 |
+
var delta = api.conf.seekStep || api.video.duration * 0.1;
|
4446 |
time = api.video.time + (time ? delta : -delta);
|
4447 |
time = Math.min(Math.max(time, 0), api.video.duration - 0.1);
|
4448 |
}
|
4479 |
|
4480 |
mute: function(flag, skipStore) {
|
4481 |
if (flag === undefined) flag = !api.muted;
|
4482 |
+
api.muted = flag;
|
4483 |
if (!skipStore) {
|
4484 |
+
storage.muted = flag;
|
4485 |
storage.volume = !isNaN(storage.volume) ? storage.volume : conf.volume; // make sure storage has volume
|
4486 |
}
|
4487 |
if (typeof engine.mute !== 'undefined') engine.mute(flag);
|
4614 |
|
4615 |
|
4616 |
api.on('boot', function() {
|
4617 |
+
var support = flowplayer.support;
|
4618 |
|
4619 |
// splash
|
4620 |
if (conf.splash || common.hasClass(root, "is-splash") ||
|
4651 |
// initial callback
|
4652 |
api.one("ready", callback);
|
4653 |
|
4654 |
+
api.one('shutdown', function() { root.className = originalClass; });
|
4655 |
+
|
4656 |
|
4657 |
}).on("load", function(e, api, video) {
|
4658 |
|
4711 |
}).on("progress", function(e, api, time) {
|
4712 |
api.video.time = time;
|
4713 |
}).on('buffer', function(e, api, buffered) {
|
4714 |
+
api.video.buffer = typeof buffered === 'number' ? buffered : buffered.length ? buffered[buffered.length - 1].end : 0;
|
4715 |
}).on("speed", function(e, api, val) {
|
4716 |
api.currentSpeed = val;
|
4717 |
|
4718 |
}).on("volume", function(e, api, level) {
|
4719 |
api.volumeLevel = Math.round(level * 100) / 100;
|
4720 |
+
if (api.muted && level) api.mute(false);
|
|
|
4721 |
|
4722 |
|
4723 |
}).on("beforeseek seek", function(e) {
|
4792 |
_dereq_('./ext/fullscreen');
|
4793 |
|
4794 |
_dereq_('./ext/mobile');
|
4795 |
+
flowplayer(function(e,o){function a(e){var o=document.createElement("a");return o.href=e,t.hostname(o.hostname)}var l=function(e,o){var a=e.className.split(" ");-1===a.indexOf(o)&&(e.className+=" "+o)},r=function(e){return"none"!==window.getComputedStyle(e).display},n=e.conf,t=flowplayer.common,p=t.createElement,i=n.swf.indexOf("flowplayer.org")&&n.e&&o.getAttribute("data-origin"),f=i?a(i):t.hostname(),s=(document,n.key);if("file:"==location.protocol&&(f="localhost"),e.load.ed=1,n.hostname=f,n.origin=i||location.href,i&&l(o,"is-embedded"),"string"==typeof s&&(s=s.split(/,\s*/)),s&&"function"==typeof key_check&&key_check(s,f)){if(n.logo){var d=t.find(".fp-player",o)[0],c=n.logo.href||"",h=n.logo.src||n.logo,m=p("a",{className:"fp-logo",href:c});i&&(m.href=m.href||i),n.embed&&n.embed.popup&&(m.target="_blank");var y=p("img",{src:h});m.appendChild(y),(d||o).appendChild(m)}}else{var m=p("a",{href:"https://flowplayer.com/hello/?from=player"}),d=t.find(".fp-player",o)[0];(d||o).appendChild(m);var u=p("div",{className:"fp-context-menu fp-menu"},'<strong>© 2018 Flowplayer AB</strong><a href="https://flowplayer.com/hello/?from=player">About Flowplayer</a><a href="https://flowplayer.com/license">GPL based license</a>'),g=window.location.href.indexOf("localhost");7!==g&&(d||o).appendChild(u),e.on("pause resume finish unload ready",function(e,a){var l=-1;if(a.video.src)for(var n=[["org","flowplayer","drive"],["org","flowplayer","my"],["org","flowplayer","cdn"],["com","flowplayer","cdn"]],t=0;t<n.length&&(l=a.video.src.indexOf("://"+n[t].reverse().join(".")),-1===l);t++);if(/pause|resume/.test(e.type)&&"flash"!=a.engine.engineName&&4!=l&&5!=l){var p={display:"block",position:"absolute",left:"16px",bottom:"70px",zIndex:99999,width:"100px",height:"20px",backgroundImage:"url("+[".png","logo","/",".net",".cloudfront","d32wqyuo10o653","//","https:"].reverse().join("")+")"};for(var i in p)p.hasOwnProperty(i)&&(m.style[i]=p[i]);a.load.ed=r(m)&&(7===g||u.parentNode==o||u.parentNode==d),a.load.ed||a.pause()}else m.style.display="none"})}});
|
4796 |
|
4797 |
|
4798 |
},{"./engine/embed":2,"./engine/flash":3,"./engine/hlsjs":4,"./engine/html5":6,"./ext/airplay":7,"./ext/analytics":8,"./ext/chromecast":9,"./ext/cuepoint":10,"./ext/embed":11,"./ext/facebook":13,"./ext/fullscreen":14,"./ext/keyboard":15,"./ext/menu":16,"./ext/message":17,"./ext/mobile":18,"./ext/playlist":19,"./ext/qsel":20,"./ext/share":22,"./ext/subtitle":23,"./ext/support":25,"./ext/twitter":26,"./ext/ui":27,"./flowplayer":31,"es5-shim":38}],33:[function(_dereq_,module,exports){
|
4812 |
revLookup[code.charCodeAt(i)] = i
|
4813 |
}
|
4814 |
|
4815 |
+
// Support decoding URL-safe base64 strings, as Node.js does.
|
4816 |
+
// See: https://en.wikipedia.org/wiki/Base64#URL_applications
|
4817 |
revLookup['-'.charCodeAt(0)] = 62
|
4818 |
revLookup['_'.charCodeAt(0)] = 63
|
4819 |
|
4820 |
+
function getLens (b64) {
|
4821 |
var len = b64.length
|
4822 |
+
|
4823 |
if (len % 4 > 0) {
|
4824 |
throw new Error('Invalid string. Length must be a multiple of 4')
|
4825 |
}
|
4826 |
|
4827 |
+
// Trim off extra bytes after placeholder bytes are found
|
4828 |
+
// See: https://github.com/beatgammit/base64-js/issues/42
|
4829 |
+
var validLen = b64.indexOf('=')
|
4830 |
+
if (validLen === -1) validLen = len
|
4831 |
+
|
4832 |
+
var placeHoldersLen = validLen === len
|
4833 |
+
? 0
|
4834 |
+
: 4 - (validLen % 4)
|
4835 |
+
|
4836 |
+
return [validLen, placeHoldersLen]
|
4837 |
}
|
4838 |
|
4839 |
+
// base64 is 4/3 + up to two characters of the original data
|
4840 |
function byteLength (b64) {
|
4841 |
+
var lens = getLens(b64)
|
4842 |
+
var validLen = lens[0]
|
4843 |
+
var placeHoldersLen = lens[1]
|
4844 |
+
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
|
4845 |
+
}
|
4846 |
+
|
4847 |
+
function _byteLength (b64, validLen, placeHoldersLen) {
|
4848 |
+
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
|
4849 |
}
|
4850 |
|
4851 |
function toByteArray (b64) {
|
4852 |
+
var tmp
|
4853 |
+
var lens = getLens(b64)
|
4854 |
+
var validLen = lens[0]
|
4855 |
+
var placeHoldersLen = lens[1]
|
4856 |
|
4857 |
+
var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
|
4858 |
+
|
4859 |
+
var curByte = 0
|
4860 |
|
4861 |
// if there are placeholders, only get up to the last complete 4 chars
|
4862 |
+
var len = placeHoldersLen > 0
|
4863 |
+
? validLen - 4
|
4864 |
+
: validLen
|
4865 |
|
4866 |
+
for (var i = 0; i < len; i += 4) {
|
4867 |
+
tmp =
|
4868 |
+
(revLookup[b64.charCodeAt(i)] << 18) |
|
4869 |
+
(revLookup[b64.charCodeAt(i + 1)] << 12) |
|
4870 |
+
(revLookup[b64.charCodeAt(i + 2)] << 6) |
|
4871 |
+
revLookup[b64.charCodeAt(i + 3)]
|
4872 |
+
arr[curByte++] = (tmp >> 16) & 0xFF
|
4873 |
+
arr[curByte++] = (tmp >> 8) & 0xFF
|
4874 |
+
arr[curByte++] = tmp & 0xFF
|
4875 |
+
}
|
4876 |
|
4877 |
+
if (placeHoldersLen === 2) {
|
4878 |
+
tmp =
|
4879 |
+
(revLookup[b64.charCodeAt(i)] << 2) |
|
4880 |
+
(revLookup[b64.charCodeAt(i + 1)] >> 4)
|
4881 |
+
arr[curByte++] = tmp & 0xFF
|
4882 |
}
|
4883 |
|
4884 |
+
if (placeHoldersLen === 1) {
|
4885 |
+
tmp =
|
4886 |
+
(revLookup[b64.charCodeAt(i)] << 10) |
|
4887 |
+
(revLookup[b64.charCodeAt(i + 1)] << 4) |
|
4888 |
+
(revLookup[b64.charCodeAt(i + 2)] >> 2)
|
4889 |
+
arr[curByte++] = (tmp >> 8) & 0xFF
|
4890 |
+
arr[curByte++] = tmp & 0xFF
|
4891 |
}
|
4892 |
|
4893 |
return arr
|
4894 |
}
|
4895 |
|
4896 |
function tripletToBase64 (num) {
|
4897 |
+
return lookup[num >> 18 & 0x3F] +
|
4898 |
+
lookup[num >> 12 & 0x3F] +
|
4899 |
+
lookup[num >> 6 & 0x3F] +
|
4900 |
+
lookup[num & 0x3F]
|
4901 |
}
|
4902 |
|
4903 |
function encodeChunk (uint8, start, end) {
|
4904 |
var tmp
|
4905 |
var output = []
|
4906 |
for (var i = start; i < end; i += 3) {
|
4907 |
+
tmp =
|
4908 |
+
((uint8[i] << 16) & 0xFF0000) +
|
4909 |
+
((uint8[i + 1] << 8) & 0xFF00) +
|
4910 |
+
(uint8[i + 2] & 0xFF)
|
4911 |
output.push(tripletToBase64(tmp))
|
4912 |
}
|
4913 |
return output.join('')
|
4917 |
var tmp
|
4918 |
var len = uint8.length
|
4919 |
var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
|
|
|
4920 |
var parts = []
|
4921 |
var maxChunkLength = 16383 // must be multiple of 3
|
4922 |
|
4923 |
// go through the array every three bytes, we'll deal with trailing stuff later
|
4924 |
for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
|
4925 |
+
parts.push(encodeChunk(
|
4926 |
+
uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)
|
4927 |
+
))
|
4928 |
}
|
4929 |
|
4930 |
// pad the end with zeros, but make sure to not forget the extra bytes
|
4931 |
if (extraBytes === 1) {
|
4932 |
tmp = uint8[len - 1]
|
4933 |
+
parts.push(
|
4934 |
+
lookup[tmp >> 2] +
|
4935 |
+
lookup[(tmp << 4) & 0x3F] +
|
4936 |
+
'=='
|
4937 |
+
)
|
4938 |
} else if (extraBytes === 2) {
|
4939 |
+
tmp = (uint8[len - 2] << 8) + uint8[len - 1]
|
4940 |
+
parts.push(
|
4941 |
+
lookup[tmp >> 10] +
|
4942 |
+
lookup[(tmp >> 4) & 0x3F] +
|
4943 |
+
lookup[(tmp << 2) & 0x3F] +
|
4944 |
+
'='
|
4945 |
+
)
|
4946 |
}
|
4947 |
|
|
|
|
|
4948 |
return parts.join('')
|
4949 |
}
|
4950 |
|
7957 |
var toStr = call.bind(ObjectPrototype.toString);
|
7958 |
var arraySlice = call.bind(array_slice);
|
7959 |
var arraySliceApply = apply.bind(array_slice);
|
7960 |
+
/* globals document */
|
7961 |
+
if (typeof document === 'object' && document && document.documentElement) {
|
7962 |
+
try {
|
7963 |
+
arraySlice(document.documentElement.childNodes);
|
7964 |
+
} catch (e) {
|
7965 |
+
var origArraySlice = arraySlice;
|
7966 |
+
var origArraySliceApply = arraySliceApply;
|
7967 |
+
arraySlice = function arraySliceIE(arr) {
|
7968 |
+
var r = [];
|
7969 |
+
var i = arr.length;
|
7970 |
+
while (i-- > 0) {
|
7971 |
+
r[i] = arr[i];
|
7972 |
+
}
|
7973 |
+
return origArraySliceApply(r, origArraySlice(arguments, 1));
|
7974 |
+
};
|
7975 |
+
arraySliceApply = function arraySliceApplyIE(arr, args) {
|
7976 |
+
return origArraySliceApply(arraySlice(arr), args);
|
7977 |
+
};
|
7978 |
+
}
|
7979 |
+
}
|
7980 |
var strSlice = call.bind(StringPrototype.slice);
|
7981 |
var strSplit = call.bind(StringPrototype.split);
|
7982 |
var strIndexOf = call.bind(StringPrototype.indexOf);
|
8570 |
var sortIgnoresNonFunctions = (function () {
|
8571 |
try {
|
8572 |
[1, 2].sort(null);
|
8573 |
+
} catch (e) {
|
8574 |
+
try {
|
8575 |
+
[1, 2].sort({});
|
8576 |
+
} catch (e2) {
|
8577 |
+
return false;
|
8578 |
+
}
|
8579 |
+
}
|
8580 |
+
return true;
|
8581 |
}());
|
8582 |
var sortThrowsOnRegex = (function () {
|
8583 |
// this is a problem in Firefox 4, in which `typeof /a/ === 'function'`
|
8616 |
// http://es5.github.com/#x15.2.3.14
|
8617 |
|
8618 |
// http://whattheheadsaid.com/2010/10/a-safer-object-keys-compatibility-implementation
|
8619 |
+
var hasDontEnumBug = !isEnum({ 'toString': null }, 'toString'); // jscs:ignore disallowQuotedKeysInObjects
|
8620 |
var hasProtoEnumBug = isEnum(function () {}, 'prototype');
|
8621 |
var hasStringEnumBug = !owns('x', '0');
|
8622 |
var equalsConstructorPrototype = function (o) {
|
8623 |
var ctor = o.constructor;
|
8624 |
return ctor && ctor.prototype === o;
|
8625 |
};
|
8626 |
+
var excludedKeys = {
|
8627 |
$window: true,
|
8628 |
$console: true,
|
8629 |
$parent: true,
|
8633 |
$frameElement: true,
|
8634 |
$webkitIndexedDB: true,
|
8635 |
$webkitStorageInfo: true,
|
8636 |
+
$external: true,
|
8637 |
+
$width: true,
|
8638 |
+
$height: true,
|
8639 |
+
$top: true,
|
8640 |
+
$localStorage: true
|
8641 |
};
|
8642 |
var hasAutomationEqualityBug = (function () {
|
8643 |
/* globals window */
|
8646 |
}
|
8647 |
for (var k in window) {
|
8648 |
try {
|
8649 |
+
if (!excludedKeys['$' + k] && owns(window, k) && window[k] !== null && typeof window[k] === 'object') {
|
8650 |
equalsConstructorPrototype(window[k]);
|
8651 |
}
|
8652 |
} catch (e) {
|
8682 |
return toStr(value) === '[object Arguments]';
|
8683 |
};
|
8684 |
var isLegacyArguments = function isArguments(value) {
|
8685 |
+
return value !== null
|
8686 |
+
&& typeof value === 'object'
|
8687 |
+
&& typeof value.length === 'number'
|
8688 |
+
&& value.length >= 0
|
8689 |
+
&& !isArray(value)
|
8690 |
+
&& isCallable(value.callee);
|
8691 |
};
|
8692 |
var isArguments = isStandardArguments(arguments) ? isStandardArguments : isLegacyArguments;
|
8693 |
|
8764 |
var timeZoneOffset = aNegativeTestDate.getTimezoneOffset();
|
8765 |
if (timeZoneOffset < -720) {
|
8766 |
hasToDateStringFormatBug = aNegativeTestDate.toDateString() !== 'Tue Jan 02 -45875';
|
8767 |
+
hasToStringFormatBug = !(/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/).test(String(aPositiveTestDate));
|
8768 |
} else {
|
8769 |
hasToDateStringFormatBug = aNegativeTestDate.toDateString() !== 'Mon Jan 01 -45875';
|
8770 |
+
hasToStringFormatBug = !(/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/).test(String(aPositiveTestDate));
|
8771 |
}
|
8772 |
|
8773 |
var originalGetFullYear = call.bind(Date.prototype.getFullYear);
|
8876 |
var hour = originalGetUTCHours(this);
|
8877 |
var minute = originalGetUTCMinutes(this);
|
8878 |
var second = originalGetUTCSeconds(this);
|
8879 |
+
return dayName[day] + ', '
|
8880 |
+
+ (date < 10 ? '0' + date : date) + ' '
|
8881 |
+
+ monthName[month] + ' '
|
8882 |
+
+ year + ' '
|
8883 |
+
+ (hour < 10 ? '0' + hour : hour) + ':'
|
8884 |
+
+ (minute < 10 ? '0' + minute : minute) + ':'
|
8885 |
+
+ (second < 10 ? '0' + second : second) + ' GMT';
|
8886 |
}
|
8887 |
}, hasNegativeMonthYearBug || hasToUTCStringFormatBug);
|
8888 |
|
8896 |
var date = this.getDate();
|
8897 |
var month = this.getMonth();
|
8898 |
var year = this.getFullYear();
|
8899 |
+
return dayName[day] + ' '
|
8900 |
+
+ monthName[month] + ' '
|
8901 |
+
+ (date < 10 ? '0' + date : date) + ' '
|
8902 |
+
+ year;
|
8903 |
}
|
8904 |
}, hasNegativeMonthYearBug || hasToDateStringFormatBug);
|
8905 |
|
8919 |
var timezoneOffset = this.getTimezoneOffset();
|
8920 |
var hoursOffset = Math.floor(Math.abs(timezoneOffset) / 60);
|
8921 |
var minutesOffset = Math.floor(Math.abs(timezoneOffset) % 60);
|
8922 |
+
return dayName[day] + ' '
|
8923 |
+
+ monthName[month] + ' '
|
8924 |
+
+ (date < 10 ? '0' + date : date) + ' '
|
8925 |
+
+ year + ' '
|
8926 |
+
+ (hour < 10 ? '0' + hour : hour) + ':'
|
8927 |
+
+ (minute < 10 ? '0' + minute : minute) + ':'
|
8928 |
+
+ (second < 10 ? '0' + second : second) + ' GMT'
|
8929 |
+
+ (timezoneOffset > 0 ? '-' : '+')
|
8930 |
+
+ (hoursOffset < 10 ? '0' + hoursOffset : hoursOffset)
|
8931 |
+
+ (minutesOffset < 10 ? '0' + minutesOffset : minutesOffset);
|
8932 |
};
|
8933 |
if (supportsDescriptors) {
|
8934 |
$Object.defineProperty(Date.prototype, 'toString', {
|
8948 |
// this object is not a finite Number a RangeError exception is thrown.
|
8949 |
var negativeDate = -62198755200000;
|
8950 |
var negativeYearString = '-000001';
|
8951 |
+
var hasNegativeDateBug = Date.prototype.toISOString && new Date(negativeDate).toISOString().indexOf(negativeYearString) === -1; // eslint-disable-line max-len
|
8952 |
var hasSafari51DateBug = Date.prototype.toISOString && new Date(-1).toISOString() !== '1969-12-31T23:59:59.999Z';
|
8953 |
|
8954 |
var getTime = call.bind(Date.prototype.getTime);
|
8965 |
var month = originalGetUTCMonth(this);
|
8966 |
// see https://github.com/es-shims/es5-shim/issues/111
|
8967 |
year += Math.floor(month / 12);
|
8968 |
+
month = ((month % 12) + 12) % 12;
|
8969 |
|
8970 |
// the date time string format is specified in 15.9.1.15.
|
8971 |
+
var result = [
|
8972 |
+
month + 1,
|
8973 |
+
originalGetUTCDate(this),
|
8974 |
+
originalGetUTCHours(this),
|
8975 |
+
originalGetUTCMinutes(this),
|
8976 |
+
originalGetUTCSeconds(this)
|
8977 |
+
];
|
8978 |
year = (
|
8979 |
+
(year < 0 ? '-' : (year > 9999 ? '+' : ''))
|
8980 |
+
+ strSlice('00000' + Math.abs(year), (0 <= year && year <= 9999) ? -4 : -6)
|
8981 |
);
|
8982 |
|
8983 |
for (var i = 0; i < result.length; ++i) {
|
8986 |
}
|
8987 |
// pad milliseconds to have three digits.
|
8988 |
return (
|
8989 |
+
year + '-' + arraySlice(result, 0, 2).join('-')
|
8990 |
+
+ 'T' + arraySlice(result, 2).join(':') + '.'
|
8991 |
+
+ strSlice('000' + originalGetUTCMilliseconds(this), -3) + 'Z'
|
8992 |
);
|
8993 |
}
|
8994 |
}, hasNegativeDateBug || hasSafari51DateBug);
|
8999 |
// JSON.stringify (15.12.3).
|
9000 |
var dateToJSONIsSupported = (function () {
|
9001 |
try {
|
9002 |
+
return Date.prototype.toJSON
|
9003 |
+
&& new Date(NaN).toJSON() === null
|
9004 |
+
&& new Date(negativeDate).toJSON().indexOf(negativeYearString) !== -1
|
9005 |
+
&& Date.prototype.toJSON.call({ // generic
|
9006 |
toISOString: function () { return true; }
|
9007 |
});
|
9008 |
} catch (e) {
|
9056 |
// XXX global assignment won't work in embeddings that use
|
9057 |
// an alternate object for the context.
|
9058 |
/* global Date: true */
|
|
|
9059 |
var maxSafeUnsigned32Bit = Math.pow(2, 31) - 1;
|
9060 |
var hasSafariSignedIntBug = isActualNaN(new Date(1970, 0, 1, 0, 0, 0, maxSafeUnsigned32Bit + 1).getTime());
|
9061 |
+
// eslint-disable-next-line no-implicit-globals, no-global-assign
|
9062 |
Date = (function (NativeDate) {
|
|
|
|
|
9063 |
// Date.length === 7
|
9064 |
var DateShim = function Date(Y, M, D, h, m, s, ms) {
|
9065 |
var length = arguments.length;
|
9074 |
seconds += sToShift;
|
9075 |
millis -= sToShift * 1e3;
|
9076 |
}
|
9077 |
+
date = length === 1 && $String(Y) === Y // isString(Y)
|
9078 |
// We explicitly pass it through parse:
|
9079 |
+
? new NativeDate(DateShim.parse(Y))
|
9080 |
// We have to manually make calls depending on argument
|
9081 |
// length here
|
9082 |
+
: length >= 7 ? new NativeDate(Y, M, D, h, m, seconds, millis)
|
9083 |
+
: length >= 6 ? new NativeDate(Y, M, D, h, m, seconds)
|
9084 |
+
: length >= 5 ? new NativeDate(Y, M, D, h, m)
|
9085 |
+
: length >= 4 ? new NativeDate(Y, M, D, h)
|
9086 |
+
: length >= 3 ? new NativeDate(Y, M, D)
|
9087 |
+
: length >= 2 ? new NativeDate(Y, M)
|
9088 |
+
: length >= 1 ? new NativeDate(Y instanceof NativeDate ? +Y : Y)
|
9089 |
+
: new NativeDate();
|
9090 |
} else {
|
9091 |
date = NativeDate.apply(this, arguments);
|
9092 |
}
|
9098 |
};
|
9099 |
|
9100 |
// 15.9.1.15 Date Time String Format.
|
9101 |
+
var isoDateExpression = new RegExp('^'
|
9102 |
+
+ '(\\d{4}|[+-]\\d{6})' // four-digit year capture or sign + 6-digit extended year
|
9103 |
+
+ '(?:-(\\d{2})' // optional month capture
|
9104 |
+
+ '(?:-(\\d{2})' // optional day capture
|
9105 |
+
+ '(?:' // capture hours:minutes:seconds.milliseconds
|
9106 |
+
+ 'T(\\d{2})' // hours capture
|
9107 |
+
+ ':(\\d{2})' // minutes capture
|
9108 |
+
+ '(?:' // optional :seconds.milliseconds
|
9109 |
+
+ ':(\\d{2})' // seconds capture
|
9110 |
+
+ '(?:(\\.\\d{1,}))?' // milliseconds capture
|
9111 |
+
+ ')?'
|
9112 |
+
+ '(' // capture UTC offset component
|
9113 |
+
+ 'Z|' // UTC capture
|
9114 |
+
+ '(?:' // offset specifier +/-hours:minutes
|
9115 |
+
+ '([-+])' // sign capture
|
9116 |
+
+ '(\\d{2})' // hours offset capture
|
9117 |
+
+ ':(\\d{2})' // minutes offset capture
|
9118 |
+
+ ')'
|
9119 |
+
+ ')?)?)?)?'
|
9120 |
+
+ '$');
|
|
|
9121 |
|
9122 |
var months = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365];
|
9123 |
|
9124 |
var dayFromMonth = function dayFromMonth(year, month) {
|
9125 |
var t = month > 1 ? 1 : 0;
|
9126 |
return (
|
9127 |
+
months[month]
|
9128 |
+
+ Math.floor((year - 1969 + t) / 4)
|
9129 |
+
- Math.floor((year - 1901 + t) / 100)
|
9130 |
+
+ Math.floor((year - 1601 + t) / 400)
|
9131 |
+
+ (365 * (year - 1970))
|
9132 |
);
|
9133 |
};
|
9134 |
|
9158 |
UTC: NativeDate.UTC
|
9159 |
}, true);
|
9160 |
DateShim.prototype = NativeDate.prototype;
|
9161 |
+
defineProperties(DateShim.prototype, { constructor: DateShim }, true);
|
|
|
|
|
9162 |
|
9163 |
// Upgrade Date.parse to handle simplified ISO 8601 strings
|
9164 |
var parseShim = function parse(string) {
|
9184 |
result;
|
9185 |
var hasMinutesOrSecondsOrMilliseconds = minute > 0 || second > 0 || millisecond > 0;
|
9186 |
if (
|
9187 |
+
hour < (hasMinutesOrSecondsOrMilliseconds ? 24 : 25)
|
9188 |
+
&& minute < 60 && second < 60 && millisecond < 1000
|
9189 |
+
&& month > -1 && month < 12 && hourOffset < 24
|
9190 |
+
&& minuteOffset < 60 // detect invalid offsets
|
9191 |
+
&& day > -1
|
9192 |
+
&& day < (dayFromMonth(year, month + 1) - dayFromMonth(year, month))
|
9193 |
) {
|
9194 |
result = (
|
9195 |
+
((dayFromMonth(year, month) + day) * 24)
|
9196 |
+
+ hour
|
9197 |
+
+ (hourOffset * signOffset)
|
9198 |
) * 60;
|
9199 |
+
result = ((
|
9200 |
+
((result + minute + (minuteOffset * signOffset)) * 60)
|
9201 |
+
+ second
|
9202 |
+
) * 1000) + millisecond;
|
9203 |
if (isLocalTime) {
|
9204 |
result = toUTC(result);
|
9205 |
}
|
9234 |
// ES5.1 15.7.4.5
|
9235 |
// http://es5.github.com/#x15.7.4.5
|
9236 |
var hasToFixedBugs = NumberPrototype.toFixed && (
|
9237 |
+
(0.00008).toFixed(3) !== '0.000'
|
9238 |
+
|| (0.9).toFixed(0) !== '1'
|
9239 |
+
|| (1.255).toFixed(2) !== '1.25'
|
9240 |
+
|| (1000000000000000128).toFixed(0) !== '1000000000000000128'
|
9241 |
);
|
9242 |
|
9243 |
var toFixedHelpers = {
|
9415 |
// '.'.split(/()()/) should be ["."], not ["", "", "."]
|
9416 |
|
9417 |
if (
|
9418 |
+
'ab'.split(/(?:ab)*/).length !== 2
|
9419 |
+
|| '.'.split(/(.?)(.?)/).length !== 4
|
9420 |
+
|| 'tesst'.split(/(s)*/)[1] === 't'
|
9421 |
+
|| 'test'.split(/(?:)/, -1).length !== 4
|
9422 |
+
|| ''.split(/.?/).length
|
9423 |
+
|| '.'.split(/()()/).length > 1
|
9424 |
) {
|
9425 |
(function () {
|
9426 |
var compliantExecNpcg = typeof (/()??/).exec('')[1] === 'undefined'; // NPCG: nonparticipating capturing group
|
9438 |
}
|
9439 |
|
9440 |
var output = [];
|
9441 |
+
var flags = (separator.ignoreCase ? 'i' : '')
|
9442 |
+
+ (separator.multiline ? 'm' : '')
|
9443 |
+
+ (separator.unicode ? 'u' : '') // in ES6
|
9444 |
+
+ (separator.sticky ? 'y' : ''), // Firefox 3+ and ES6
|
9445 |
lastLastIndex = 0,
|
9446 |
// Make `global` and avoid `lastIndex` issues by working with a copy
|
9447 |
separator2, match, lastIndex, lastLength;
|
9566 |
|
9567 |
// ES5 15.5.4.20
|
9568 |
// whitespace from: http://es5.github.io/#x15.5.4.20
|
9569 |
+
var ws = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003'
|
9570 |
+
+ '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028'
|
9571 |
+
+ '\u2029\uFEFF';
|
9572 |
var zeroWidth = '\u200b';
|
9573 |
var wsRegexChars = '[' + ws + ']';
|
9574 |
var trimBeginRegexp = new RegExp('^' + wsRegexChars + wsRegexChars + '*');
|
9618 |
}, StringPrototype.lastIndexOf.length !== 1);
|
9619 |
|
9620 |
// ES-5 15.1.2.2
|
9621 |
+
// eslint-disable-next-line radix
|
9622 |
if (parseInt(ws + '08') !== 8 || parseInt(ws + '0x16') !== 22) {
|
|
|
9623 |
/* global parseInt: true */
|
9624 |
parseInt = (function (origParseInt) {
|
9625 |
+
var hexRegex = /^[-+]?0[xX]/;
|
9626 |
return function parseInt(str, radix) {
|
9627 |
+
if (typeof str === 'symbol') {
|
9628 |
+
// handle Symbols in node 8.3/8.4
|
9629 |
+
// eslint-disable-next-line no-implicit-coercion, no-unused-expressions
|
9630 |
+
'' + str; // jscs:ignore disallowImplicitTypeConversion
|
9631 |
+
}
|
9632 |
+
|
9633 |
var string = trim(String(str));
|
9634 |
var defaultedRadix = $Number(radix) || (hexRegex.test(string) ? 16 : 10);
|
9635 |
return origParseInt(string, defaultedRadix);
|
9734 |
},{}],40:[function(_dereq_,module,exports){
|
9735 |
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
9736 |
var e, m
|
9737 |
+
var eLen = (nBytes * 8) - mLen - 1
|
9738 |
var eMax = (1 << eLen) - 1
|
9739 |
var eBias = eMax >> 1
|
9740 |
var nBits = -7
|
9747 |
e = s & ((1 << (-nBits)) - 1)
|
9748 |
s >>= (-nBits)
|
9749 |
nBits += eLen
|
9750 |
+
for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
9751 |
|
9752 |
m = e & ((1 << (-nBits)) - 1)
|
9753 |
e >>= (-nBits)
|
9754 |
nBits += mLen
|
9755 |
+
for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
9756 |
|
9757 |
if (e === 0) {
|
9758 |
e = 1 - eBias
|
9767 |
|
9768 |
exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
9769 |
var e, m, c
|
9770 |
+
var eLen = (nBytes * 8) - mLen - 1
|
9771 |
var eMax = (1 << eLen) - 1
|
9772 |
var eBias = eMax >> 1
|
9773 |
var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
|
9800 |
m = 0
|
9801 |
e = eMax
|
9802 |
} else if (e + eBias >= 1) {
|
9803 |
+
m = ((value * c) - 1) * Math.pow(2, mLen)
|
9804 |
e = e + eBias
|
9805 |
} else {
|
9806 |
m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
|
lib/flowplayer.min.js
CHANGED
@@ -1,10 +1,6 @@
|
|
1 |
/*!
|
2 |
|
3 |
-
Flowplayer v7.2.
|
4 |
|
5 |
*/
|
6 |
-
!function(e){function t(e,t,n,i){for(var o,a=n.slice(),s=r(t,e),l=0,u=a.length;u>l&&(handler=a[l],"object"==typeof handler&&"function"==typeof handler.handleEvent?handler.handleEvent(s):handler.call(e,s),!s.stoppedImmediatePropagation);l++);return o=!s.stoppedPropagation,i&&o&&e.parentNode?e.parentNode.dispatchEvent(s):!s.defaultPrevented}function n(e,t){return{configurable:!0,get:e,set:t}}function i(e,t,i){var r=y(t||e,i);m(e,"textContent",n(function(){return r.get.call(this)},function(e){r.set.call(this,e)}))}function r(e,t){return e.currentTarget=t,e.eventPhase=e.target===e.currentTarget?2:3,e}function o(e,t){for(var n=e.length;n--&&e[n]!==t;);return n}function a(){if("BR"===this.tagName)return"\n";for(var e=this.firstChild,t=[];e;)8!==e.nodeType&&7!==e.nodeType&&t.push(e.textContent),e=e.nextSibling;return t.join("")}function s(e){!f&&C.test(document.readyState)&&(f=!f,document.detachEvent(d,s),e=document.createEvent("Event"),e.initEvent(p,!0,!0),document.dispatchEvent(e))}function l(e){for(var t;t=this.lastChild;)this.removeChild(t);null!=e&&this.appendChild(document.createTextNode(e))}function u(t,n){return n||(n=e.event),n.target||(n.target=n.srcElement||n.fromElement||document),n.timeStamp||(n.timeStamp=(new Date).getTime()),n}if(!document.createEvent){var c=!0,f=!1,d="onreadystatechange",p="DOMContentLoaded",h="__IE8__"+Math.random(),g=e.Object,m=g.defineProperty||function(e,t,n){e[t]=n.value},v=g.defineProperties||function(t,n){for(var i in n)if(w.call(n,i))try{m(t,i,n[i])}catch(r){e.console&&console.log(i+" failed on object:",t,r.message)}},y=g.getOwnPropertyDescriptor,w=g.prototype.hasOwnProperty,b=e.Element.prototype,I=e.Text.prototype,M=/^[a-z]+$/,C=/loaded|complete/,A={},S=document.createElement("div");i(e.HTMLCommentElement.prototype,b,"nodeValue"),i(e.HTMLScriptElement.prototype,null,"text"),i(I,null,"nodeValue"),i(e.HTMLTitleElement.prototype,null,"text"),m(e.HTMLStyleElement.prototype,"textContent",function(e){return n(function(){return e.get.call(this.styleSheet)},function(t){e.set.call(this.styleSheet,t)})}(y(e.CSSStyleSheet.prototype,"cssText"))),v(b,{textContent:{get:a,set:l},firstElementChild:{get:function(){for(var e=this.childNodes||[],t=0,n=e.length;n>t;t++)if(1==e[t].nodeType)return e[t]}},lastElementChild:{get:function(){for(var e=this.childNodes||[],t=e.length;t--;)if(1==e[t].nodeType)return e[t]}},previousElementSibling:{get:function(){for(var e=this.previousSibling;e&&1!=e.nodeType;)e=e.previousSibling;return e}},nextElementSibling:{get:function(){for(var e=this.nextSibling;e&&1!=e.nodeType;)e=e.nextSibling;return e}},childElementCount:{get:function(){for(var e=0,t=this.childNodes||[],n=t.length;n--;e+=1==t[n].nodeType);return e}},addEventListener:{value:function(e,n,i){var r,a=this,s="on"+e,l=a[h]||m(a,h,{value:{}})[h],c=l[s]||(l[s]={}),f=c.h||(c.h=[]);if(!w.call(c,"w")){if(c.w=function(e){return e[h]||t(a,u(a,e),f,!1)},!w.call(A,s))if(M.test(e))try{r=document.createEventObject(),r[h]=!0,9!=a.nodeType&&null==a.parentNode&&S.appendChild(a),a.fireEvent(s,r),A[s]=!0}catch(r){for(A[s]=!1;S.hasChildNodes();)S.removeChild(S.firstChild)}else A[s]=!1;(c.n=A[s])&&a.attachEvent(s,c.w)}o(f,n)<0&&f[i?"unshift":"push"](n)}},dispatchEvent:{value:function(e){var n,i=this,r="on"+e.type,o=i[h],a=o&&o[r],s=!!a;return e.target||(e.target=i),s?a.n?i.fireEvent(r,e):t(i,e,a.h,!0):(n=i.parentNode)?n.dispatchEvent(e):!0,!e.defaultPrevented}},removeEventListener:{value:function(e,t,n){var i=this,r="on"+e,a=i[h],s=a&&a[r],l=s&&s.h,u=l?o(l,t):-1;u>-1&&l.splice(u,1)}}}),v(I,{addEventListener:{value:b.addEventListener},dispatchEvent:{value:b.dispatchEvent},removeEventListener:{value:b.removeEventListener}}),v(e.XMLHttpRequest.prototype,{addEventListener:{value:function(e,t,n){var i=this,r="on"+e,a=i[h]||m(i,h,{value:{}})[h],s=a[r]||(a[r]={}),l=s.h||(s.h=[]);o(l,t)<0&&(i[r]||(i[r]=function(){var t=document.createEvent("Event");t.initEvent(e,!0,!0),i.dispatchEvent(t)}),l[n?"unshift":"push"](t))}},dispatchEvent:{value:function(e){var n=this,i="on"+e.type,r=n[h],o=r&&r[i],a=!!o;return a&&(o.n?n.fireEvent(i,e):t(n,e,o.h,!0))}},removeEventListener:{value:b.removeEventListener}}),v(e.Event.prototype,{bubbles:{value:!0,writable:!0},cancelable:{value:!0,writable:!0},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0,this.returnValue=!1)}},stopPropagation:{value:function(){this.stoppedPropagation=!0,this.cancelBubble=!0}},stopImmediatePropagation:{value:function(){this.stoppedImmediatePropagation=!0,this.stopPropagation()}},initEvent:{value:function(e,t,n){this.type=e,this.bubbles=!!t,this.cancelable=!!n,this.bubbles||this.stopPropagation()}}}),v(e.HTMLDocument.prototype,{textContent:{get:function(){return 11===this.nodeType?a.call(this):null},set:function(e){11===this.nodeType&&l.call(this,e)}},addEventListener:{value:function(t,n,i){var r=this;b.addEventListener.call(r,t,n,i),c&&t===p&&!C.test(r.readyState)&&(c=!1,r.attachEvent(d,s),e==top&&function o(e){try{r.documentElement.doScroll("left"),s()}catch(t){setTimeout(o,50)}}())}},dispatchEvent:{value:b.dispatchEvent},removeEventListener:{value:b.removeEventListener},createEvent:{value:function(e){var t;if("Event"!==e)throw new Error("unsupported "+e);return t=document.createEventObject(),t.timeStamp=(new Date).getTime(),t}}}),v(e.Window.prototype,{getComputedStyle:{value:function(){function e(e){this._=e}function t(){}var n=/^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/,i=/^(top|right|bottom|left)$/,r=/\-([a-z])/g,o=function(e,t){return t.toUpperCase()};return e.prototype.getPropertyValue=function(e){var t,a,s,l=this._,u=l.style,c=l.currentStyle,f=l.runtimeStyle;return e=("float"===e?"style-float":e).replace(r,o),t=c?c[e]:u[e],n.test(t)&&!i.test(e)&&(a=u.left,s=f&&f.left,s&&(f.left=c.left),u.left="fontSize"===e?"1em":t,t=u.pixelLeft+"px",u.left=a,s&&(f.left=s)),null==t?t:t+""||"auto"},t.prototype.getPropertyValue=function(){return null},function(n,i){return i?new t(n):new e(n)}}()},addEventListener:{value:function(n,i,r){var a,s=e,l="on"+n;s[l]||(s[l]=function(e){return t(s,u(s,e),a,!1)}),a=s[l][h]||(s[l][h]=[]),o(a,i)<0&&a[r?"unshift":"push"](i)}},dispatchEvent:{value:function(t){var n=e["on"+t.type];return n?n.call(e,t)!==!1&&!t.defaultPrevented:!0}},removeEventListener:{value:function(t,n,i){var r="on"+t,a=(e[r]||g)[h],s=a?o(a,n):-1;s>-1&&a.splice(s,1)}}})}}(this),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.flowplayer=e()}}(function(){var e;return function t(e,n,i){function r(a,s){if(!n[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[a]={exports:{}};e[a][0].call(c.exports,function(t){var n=e[a][1][t];return r(n?n:t)},c,c.exports,t,e,n,i)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<i.length;a++)r(i[a]);return r}({1:[function(e,t,n){"use strict";var i=t.exports={},r=e("class-list"),o=window.jQuery,a=e("punycode"),s=e("computed-style");i.noop=function(){},i.identity=function(e){return e},i.removeNode=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},i.find=function(e,t){return o?o(e,t).toArray():(t=t||document,Array.prototype.map.call(t.querySelectorAll(e),function(e){return e}))},i.text=function(e,t){e["innerText"in e?"innerText":"textContent"]=t},i.findDirect=function(e,t){return i.find(e,t).filter(function(e){return e.parentNode===t})},i.hasClass=function(e,t){return"string"!=typeof e.className?!1:r(e).contains(t)},i.isSameDomain=function(e){var t=window.location,n=i.createElement("a",{href:e});return t.hostname===n.hostname&&t.protocol===n.protocol&&t.port===n.port},i.css=function(e,t,n){return"object"==typeof t?Object.keys(t).forEach(function(n){i.css(e,n,t[n])}):"undefined"!=typeof n?""===n?e?e.style.removeProperty(t):void 0:e?e.style.setProperty(t,n):void 0:e?s(e,t):void 0},i.createElement=function(e,t,n){try{var r=document.createElement(e);for(var a in t)t.hasOwnProperty(a)&&("css"===a?i.css(r,t[a]):i.attr(r,a,t[a]));return n&&(r.innerHTML=n),r}catch(s){if(!o)throw s;return o("<"+e+">"+n+"</"+e+">").attr(t)[0]}},i.toggleClass=function(e,t,n){if(e){var i=r(e);"undefined"==typeof n?i.toggle(t):n?i.add(t):n||i.remove(t)}},i.addClass=function(e,t){return i.toggleClass(e,t,!0)},i.removeClass=function(e,t){return i.toggleClass(e,t,!1)},i.append=function(e,t){return e.appendChild(t),e},i.appendTo=function(e,t){return i.append(t,e),e},i.prepend=function(e,t){e.insertBefore(t,e.firstChild)},i.insertAfter=function(e,t,n){t==i.lastChild(e)&&e.appendChild(n);var r=Array.prototype.indexOf.call(e.children,t);e.insertBefore(n,e.children[r+1])},i.html=function(e,t){e=e.length?e:[e],e.forEach(function(e){e.innerHTML=t})},i.attr=function(e,t,n){if("class"===t&&(t="className"),i.hasOwnOrPrototypeProperty(e,t))try{e[t]=n}catch(r){if(!o)throw r;o(e).attr(t,n)}else n===!1?e.removeAttribute(t):e.setAttribute(t,n);return e},i.prop=function(e,t,n){return"undefined"==typeof n?e&&e[t]:void(e[t]=n)},i.offset=function(e){var t=e.getBoundingClientRect();return e.offsetWidth/e.offsetHeight>e.clientWidth/e.clientHeight&&(t={left:100*t.left,right:100*t.right,top:100*t.top,bottom:100*t.bottom,width:100*t.width,height:100*t.height}),t},i.width=function(e,t){if(t)return e.style.width=(""+t).replace(/px$/,"")+"px";var n=i.offset(e).width;return"undefined"==typeof n?e.offsetWidth:n},i.height=function(e,t){if(t)return e.style.height=(""+t).replace(/px$/,"")+"px";var n=i.offset(e).height;return"undefined"==typeof n?e.offsetHeight:n},i.lastChild=function(e){return e.children[e.children.length-1]},i.hasParent=function(e,t){for(var n=e.parentElement;n;){if(i.matches(n,t))return!0;n=n.parentElement}return!1},i.createAbsoluteUrl=function(e){return i.createElement("a",{href:e}).href},i.xhrGet=function(e,t,n){var i=new XMLHttpRequest;i.onreadystatechange=function(){return 4===this.readyState?this.status>=400?n():void t(this.responseText):void 0},i.open("get",e,!0),i.send()},i.pick=function(e,t){var n={};return t.forEach(function(t){e.hasOwnProperty(t)&&(n[t]=e[t])}),n},i.hostname=function(e){return a.toUnicode(e||window.location.hostname)},i.browser={webkit:"WebkitAppearance"in document.documentElement.style},i.getPrototype=function(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__},i.hasOwnOrPrototypeProperty=function(e,t){for(var n=e;n;){if(Object.prototype.hasOwnProperty.call(n,t))return!0;n=i.getPrototype(n)}return!1},i.matches=function(e,t){var n=Element.prototype,i=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=this,n=(t.document||t.ownerDocument).querySelectorAll(e),i=0;n[i]&&n[i]!==t;)i++;return n[i]?!0:!1};return i.call(e,t)},function(e){function t(e){return e.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()})}"undefined"!=typeof e.setAttribute&&(e.setProperty=function(e,n){return this.setAttribute(t(e),String(n))},e.getPropertyValue=function(e){return this.getAttribute(t(e))||null},e.removeProperty=function(e){var n=this.getPropertyValue(e);return this.removeAttribute(t(e)),n})}(window.CSSStyleDeclaration.prototype)},{"class-list":36,"computed-style":37,punycode:44}],2:[function(e,t,n){"use strict";var i=e("../common");t.exports=function(e,t,n,r){n=n||"opaque";var o="obj"+(""+Math.random()).slice(2,15),a='<object class="fp-engine" id="'+o+'" name="'+o+'" ',s=navigator.userAgent.indexOf("MSIE")>-1;a+=s?'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">':' data="'+e+'" type="application/x-shockwave-flash">';var l={width:"100%",height:"100%",allowscriptaccess:"always",wmode:n,quality:"high",flashvars:"",movie:e+(s?"?"+o:""),name:o};"transparent"!==n&&(l.bgcolor=r||"#333333"),Object.keys(t).forEach(function(e){l.flashvars+=e+"="+t[e]+"&"}),Object.keys(l).forEach(function(e){a+='<param name="'+e+'" value="'+l[e]+'"/>'}),a+="</object>";var u=i.createElement("div",{},a);return i.find("object",u)},window.attachEvent&&window.attachEvent("onbeforeunload",function(){window.__flash_savedUnloadHandler=window.__flash_unloadHandler=function(){}})},{"../common":1}],3:[function(e,t,n){"use strict";function i(e){return/^https?:/.test(e)}var r,o=e("../flowplayer"),a=e("../common"),s=e("./embed"),l=e("extend-object"),u=e("bean");r=function(e,t){function n(e){function t(e){return("0"+parseInt(e).toString(16)).slice(-2)}return(e=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))?"#"+t(e[1])+t(e[2])+t(e[3]):void 0}function c(e){if(7===e.length)return e;var t=e.split("").slice(1);return"#"+t.map(function(e){return e+e}).join("")}function f(e){return/application\/x-mpegurl/i.test(e.type)}var d,p,h,g,m=e.conf,v=[],y={engineName:r.engineName,pick:function(t){var n=l({},function(){if(o.support.flashVideo){for(var n,i,r=0;r<t.length;r++)if(i=t[r],/mp4|flv|flash/i.test(i.type)&&(n=i),e.conf.swfHls&&/mpegurl/i.test(i.type)&&(n=i),n&&!/mp4/i.test(n.type))return n;return n}}());if(n)return!n.src||i(n.src)||e.conf.rtmp||n.rtmp||(n.src=a.createAbsoluteUrl(n.src)),n},suspendEngine:function(){g=!0},resumeEngine:function(){g=!1},load:function(r){function w(e){return e.replace(/&/g,"%26").replace(/&/g,"%26").replace(/=/g,"%3D")}d=r,v.forEach(function(e){clearTimeout(e)});var b=a.findDirect("video",t)[0]||a.find(".fp-player > video",t)[0],I=r.src,M=i(I),C=function(){a.removeNode(b)},A=function(e){return e.some(function(e){return!!b.canPlayType(e.type)})};o.support.video&&a.prop(b,"autoplay")&&A(r.sources)?u.one(b,"timeupdate",C):C();var S=r.rtmp||m.rtmp;if(M||S||(I=a.createAbsoluteUrl(I)),h&&f(r)&&h.data!==a.createAbsoluteUrl(m.swfHls)&&y.unload(),h){["live","preload","loop"].forEach(function(e){r.hasOwnProperty(e)&&h.__set(e,r[e])}),Object.keys(r.flashls||{}).forEach(function(e){h.__set("hls_"+e,r.flashls[e])});var E=!1;if(!M&&S)h.__set("rtmp",S.url||S);else{var D=h.__get("rtmp");E=!!D,h.__set("rtmp",null)}h.__play(I,E||r.rtmp&&r.rtmp!==m.rtmp)}else{p="fpCallback"+(""+Math.random()).slice(3,15),I=w(I);var N={hostname:m.embedded?a.hostname(m.hostname):a.hostname(location.hostname),url:I,callback:p};t.getAttribute("data-origin")&&(N.origin=t.getAttribute("data-origin")),["proxy","key","autoplay","preload","subscribe","live","loop","debug","splash","poster","rtmpt"].forEach(function(e){m.hasOwnProperty(e)&&(N[e]=m[e]),r.hasOwnProperty(e)&&(N[e]=r[e]),(m.rtmp||{}).hasOwnProperty(e)&&(N[e]=(m.rtmp||{})[e]),(r.rtmp||{}).hasOwnProperty(e)&&(N[e]=(r.rtmp||{})[e])}),m.rtmp&&(N.rtmp=m.rtmp.url||m.rtmp),r.rtmp&&(N.rtmp=r.rtmp.url||r.rtmp),Object.keys(r.flashls||{}).forEach(function(e){var t=r.flashls[e];N["hls_"+e]=t});var j="undefined"!=typeof r.hlsQualities?r.hlsQualities:m.hlsQualities;"undefined"!=typeof j&&(N.hlsQualities=j?encodeURIComponent(JSON.stringify(j)):j),void 0!==m.bufferTime&&(N.bufferTime=m.bufferTime),M&&delete N.rtmp,N.rtmp&&(N.rtmp=w(N.rtmp));var L,x=m.bgcolor||a.css(t,"background-color")||"";0===x.indexOf("rgb")?L=n(x):0===x.indexOf("#")&&(L=c(x)),N.initialVolume=e.volumeLevel;var T=f(r)?m.swfHls:m.swf;h=s(T,N,m.wmode,L)[0];var Z=a.find(".fp-player",t)[0];a.prepend(Z,h),e.off("quality.flashengine").on("quality.flashengine",function(t,n,i){var r="undefined"!=typeof e.video.hlsQualities?e.video.hlsQualities:e.conf.hlsQualities;r&&h.__quality(i)}),setTimeout(function(){try{if(!h.PercentLoaded())return e.trigger("error",[e,{code:7,url:m.swf}])}catch(t){}},5e3),v.push(setTimeout(function(){"undefined"==typeof h.PercentLoaded&&e.trigger("flashdisabled",[e])},15e3)),v.push(setTimeout(function(){"undefined"==typeof h.PercentLoaded&&e.trigger("flashdisabled",[e,!1])},500)),e.off("resume.flashhack").on("resume.flashhack",function(){var t=setTimeout(function(){var t=h.__status().time,n=setTimeout(function(){e.playing&&!e.loading&&h.__status().time===t&&e.trigger("flashdisabled",[e])},400);v.push(n),e.one("seek.flashhack pause.flashhack load.flashack",function(){clearTimeout(n)})},800);v.push(t),e.one("progress",function(){clearTimeout(t)})}),h.pollInterval=setInterval(function(){if(h&&!g){var t=h.__status?h.__status():null;t&&((e.conf.live||e.live||r.live)&&(r.seekOffset=t.seekOffset,r.duration=t.duration+t.seekOffset),e.playing&&t.time&&t.time!==e.video.time&&e.trigger("progress",[e,t.time]),r.buffer=t.buffer/r.bytes*r.duration,e.trigger("buffer",[e,r.buffer]),!r.buffered&&t.time>0&&(r.buffered=!0,e.trigger("buffered",[e])))}},250),window[p]=function(n,i){var r=d;m.debug&&(0===n.indexOf("debug")&&i&&i.length?console.log.apply(console,["-- "+n].concat(i)):console.log("--",n,i));var o={type:n};switch(n){case"ready":i=l(r,i);break;case"click":o.flash=!0;break;case"keydown":o.which=i;break;case"seek":r.time=i;break;case"status":e.trigger("progress",[e,i.time]),i.buffer<r.bytes&&!r.buffered?(r.buffer=i.buffer/r.bytes*r.duration,e.trigger("buffer",r.buffer)):r.buffered||(r.buffered=!0,e.trigger("buffered"));break;case"metadata":var a=atob(i);i={key:a.substr(10,4),data:a.substr(21)}}"click"===n||"keydown"===n?(o.target=t,u.fire(t,n,[o])):"buffered"!=n&&"unload"!==n?setTimeout(function(){e.trigger(o,[e,i])},1):"unload"===n&&e.trigger(o,[e,i])}}},speed:a.noop,unload:function(){h&&h.__unload&&h.__unload();try{p&&window[p]&&delete window[p]}catch(n){}a.find("object",t).forEach(a.removeNode),h=0,e.off(".flashengine"),e.off(".flashhack"),clearInterval(h.pollInterval),v.forEach(function(e){clearTimeout(e)})}};return["pause","resume","seek","volume"].forEach(function(t){y[t]=function(n){try{e.ready&&(void 0===n?h["__"+t]():h["__"+t](n))}catch(i){if("undefined"==typeof h["__"+t])return e.trigger("flashdisabled",[e]);throw i}}}),y},r.engineName="flash",r.canPlay=function(e,t){return o.support.flashVideo&&/video\/(mp4|flash|flv)/i.test(e)||o.support.flashVideo&&t.swfHls&&/mpegurl/i.test(e)},o.engines.push(r)},{"../common":1,"../flowplayer":31,"./embed":2,bean:34,"extend-object":39}],4:[function(e,t,n){"use strict";function i(e){return"undefined"==typeof window.Hls?!1:/mpegurl/.test(e)&&window.Hls.isSupported()}var r,o=e("../flowplayer"),a=o.support,s=o.common,l=e("./html5-factory");r=function(e,t){var n,a,u,c=window.Hls;return l("hlsjs-lite",e,t,i,function(i,l,f){n=r.hls=new c(o.extend({},e.conf.hlsjs,i.hlsjs)),r.extensions.forEach(function(i){i(n,e,t)}),n.loadSource(i.src),f.resume=function(){e.live&&!e.dvr&&(l.currentTime=n.liveSyncPosition),l.play()},f.seek=function(t){try{e.live&&!e.dvr?l.currentTime=Math.min(t,n.liveSyncPosition):l.currentTime=t}catch(i){e.debug("Failed to seek to ",t,i)}},e.on("quality",function(e,t,i){n.nextLevel=a=i}),n.on(c.Events.MANIFEST_PARSED,function(t,r){var o,c=i.hlsQualities||e.conf.hlsQualities,f={},d=r.levels;if(c===!1)return n.attachMedia(l);if("drive"===c)switch(d.length){case 4:o=[1,2,3];break;case 5:o=[1,2,3,4];break;case 6:o=[1,3,4,5];break;case 7:o=[1,3,5,6];break;case 8:o=[1,3,6,7];break;default:o=d.length<3||d[0].height&&d[2].height&&d[0].height===d[2].height?[]:[1,2]}i.qualities=[{value:-1,label:"Auto"}],Array.isArray(c)&&(i.qualities=[],o=c.map(function(e){return"undefined"!=typeof e.level&&(f[e.level]=e.label),"undefined"!=typeof e.level?e.level:e}));var p=-2;i.qualities=i.qualities.concat(d.map(function(e,t){if(o&&-1===o.indexOf(t))return!1;var n=f[t]||Math.min(e.width,e.height)+"p";return f[t]||"drive"===c||(n+=" ("+Math.round(e.bitrate/1e3)+"k)"),t===a&&(p=t),{value:t,label:n}})).filter(s.identity);var h=i.quality=-2===p?i.qualities[0].value||-1:p;h!==n.currentLevel&&(n.currentLevel=h),n.attachMedia(l),u&&i.src!==u&&l.play(),u=i.src})})},r.canPlay=function(e,t){return a.browser.safari&&!(t.clip&&t.clip.hlsjs||t.hlsjs||{}).safari?!1:o.support.video&&i(e)},r.engineName="hlsjs-lite",r.plugin=function(e){r.extensions.push(e)},r.extensions=[],o.engines.push(r)},{"../flowplayer":31,"./html5-factory":5}],5:[function(e,t,n){function i(e,t,n,i,a){function f(e,o,a){var f=n.getAttribute("data-flowplayer-instance-id");if(e.listeners&&e.listeners.hasOwnProperty(f))return void(e.listeners[f]=a);(e.listeners||(e.listeners={}))[f]=a,u.on(o,"error",function(n){try{i(n.target.getAttribute("type"))&&t.trigger("error",[t,{code:4,video:c(a,{src:e.src,url:e.src})}])}catch(r){}}),t.on("shutdown",function(){u.off(o),u.off(e,".dvrhack"),t.off(".loophack")});var p={},h=function(e){"metadata"===e.kind&&(e.mode="hidden",e.addEventListener("cuechange",function(){t.trigger("metadata",[t,e.activeCues[0].value])},!1))};return e&&e.textTracks&&e.textTracks.length&&Array.prototype.forEach.call(e.textTracks,h),e&&e.textTracks&&"function"==typeof e.textTracks.addEventListener&&e.textTracks.addEventListener("addtrack",function(e){h(e.track)},!1),(t.conf.dvr||t.dvr||a.dvr)&&u.on(e,"progress.dvrhack",function(){e.seekable.length&&(t.video.duration=e.seekable.end(null),t.video.seekOffset=e.seekable.start(null),t.trigger("dvrwindow",[t,{start:e.seekable.start(null),end:e.seekable.end(null)}]),e.currentTime>=e.seekable.start(null)||(e.currentTime=e.seekable.start(null)))}),Object.keys(d).forEach(function(i){var o=d[i];if("webkitendfullscreen"===i&&t.conf.disableInline&&(o="unload"),o){var u=function(u){if(a=e.listeners[f],u.target&&s.hasClass(u.target,"fp-engine")){v.debug&&!/progress/.test(o)&&console.log(i,"->",o,u);var d=function(e){t.trigger(e||o,[t,p])};if(!t.ready&&!/ready|error/.test(o)||!o||!s.find("video",n).length)return void("resume"===o&&t.one("ready",function(){setTimeout(function(){d()})}));var p;if("unload"===o)return void t.unload();switch(o){case"ready":if(t.ready)return;if(!e.duration&&!t.live)return;p=c(a,{duration:e.duration<Number.MAX_VALUE?e.duration:0,width:e.videoWidth,height:e.videoHeight,url:e.currentSrc,src:e.currentSrc});try{p.seekable=/mpegurl/i.test(a?a.type||"":"")&&e.duration||e.seekable&&e.seekable.end(null)||t.live}catch(h){}if(!t.live&&!p.duration&&!l.hlsDuration&&"loadeddata"===i){var g=function(){p.duration=e.duration;try{p.seekable=e.seekable&&e.seekable.end(null)}catch(t){}d(),e.removeEventListener("durationchange",g),s.toggleClass(n,"is-live",!1)};e.addEventListener("durationchange",g);var m=function(){t.ready||e.duration||(p.duration=0,s.addClass(n,"is-live"),d()),e.removeEventListener("timeupdate",m)};return void e.addEventListener("timeupdate",m)}break;case"progress":case"seek":if(e.currentTime>0||t.live)p=Math.max(e.currentTime,0);else if("seek"===o&&0===e.currentTime)p=0;else if("progress"==o)return;break;case"buffer":p=[];for(var y=0;y<e.buffered.length;y++)p.push({start:e.buffered.start(y),end:e.buffered.end(y)});e.buffered.end(null)===e.duration&&d("buffered");break;case"speed":p=r(e.playbackRate);break;case"volume":p=r(e.muted?0:e.volume);break;case"error":try{p=(u.srcElement||u.originalTarget).error,p.video=c(a,{src:e.src,url:e.src})}catch(w){return}}d()}};n.addEventListener(i,u,!0),p[i]||(p[i]=[]),p[i].push(u)}}),p}var p,h,g,m=s.findDirect("video",n)[0]||s.find(".fp-player > video",n)[0],v=t.conf;return g={engineName:e,pick:function(e){var t=l.video&&e.filter(function(e){return i(e.type)})[0];if(t)return"string"==typeof t.src&&(t.src=s.createAbsoluteUrl(t.src)),t},load:function(e){var i=s.find(".fp-player",n)[0];if(m||(m=document.createElement("video"),s.prepend(i,m),m.autoplay=!!v.splash),s.addClass(m,"fp-engine"),s.find("track",m).forEach(s.removeNode),m.preload="none",v.nativesubtitles||s.attr(m,"crossorigin",!1),v.disableInline||(m.setAttribute("webkit-playsinline","true"),m.setAttribute("playsinline","true")),l.inlineVideo||s.css(m,{position:"absolute",top:"-9999em"}),l.subtitles&&v.nativesubtitles&&e.subtitles&&e.subtitles.length){s.addClass(m,"native-subtitles");var r=e.subtitles,c=function(e){var t=m.textTracks;t.length&&(t[0].mode=e)};r.some(function(e){return!s.isSameDomain(e.src)})&&s.attr(m,"crossorigin","anonymous"),"function"==typeof m.textTracks.addEventListener&&m.textTracks.addEventListener("addtrack",function(){c("disabled"),c("showing")}),r.forEach(function(e){m.appendChild(s.createElement("track",{kind:"subtitles",srclang:e.srclang||"en",label:e.label||"en",src:e.src,"default":e["default"]}))})}if(u.off(m,"timeupdate",s.noop),u.on(m,"timeupdate",s.noop),s.prop(m,"loop",!1),t.off(".loophack"),(e.loop||v.loop)&&t.on("finish.loophack",function(){t.resume()}),"undefined"!=typeof h&&(m.volume=h),a(e,m,g),v.autoplay||v.splash||e.autoplay){t.debug("Autoplay / Splash setup, try to start video");try{var d=m.play();d&&d["catch"]&&d["catch"](function(e){("AbortError"!==e.name||20!==e.code)&&(t.debug("Play errored, trying muted",e),t.mute(!0),m.play())})}catch(p){t.debug("play() error thrown",p)}}g._listeners=f(m,s.find("source",m).concat(m),e)||g._listeners;var y=function(){o(n)&&(l.preloadMetadata?m.preload="metadata":m.load(),u.off(document,"scroll.preloadviewport"))};y(),u.off(document,"scroll.preloadviewport"),u.on(document,"scroll.preloadviewport",function(){window.requestAnimationFrame(y)})},mute:function(e){m.muted=!!e,t.trigger("mute",[t,e]),t.trigger("volume",[t,e?0:m.volume])},pause:function(){m.pause()},resume:function(){m.play()},speed:function(e){m.playbackRate=e},seek:function(e){try{m.currentTime=e}catch(t){}},volume:function(e){h=e,m&&(m.volume=e,e&&g.mute(!1))},unload:function(){u.off(document,"scroll.preloadviewport"),s.find("video.fp-engine",n).forEach(function(e){s.attr(e,"src",""),s.removeNode(e)}),p=clearInterval(p);var e=n.getAttribute("data-flowplayer-instance-id");delete m.listeners[e],m=0,g._listeners&&Object.keys(g._listeners).forEach(function(e){g._listeners[e].forEach(function(t){n.removeEventListener(e,t,!0)})})}}}function r(e,t){return t=t||100,Math.round(e*t)/t}function o(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)+t.height&&t.right<=(window.innerWidth||document.documentElement.clientWidth)+t.width}var a=e("../flowplayer"),s=a.common,l=a.support,u=a.bean,c=a.extend,f=l.browser.safari&&!l.iOS,d={ended:"finish",pause:"pause",play:"resume",timeupdate:"progress",volumechange:"volume",ratechange:"speed",seeked:"seek",loadedmetadata:f?0:"ready",canplaythrough:f?"ready":0,durationchange:"ready",error:"error",dataunavailable:"error",webkitendfullscreen:!a.support.inlineVideo&&"unload",progress:"buffer"};t.exports=i},{"../flowplayer":31}],6:[function(e,t,n){"use strict";function i(e){return/mpegurl/i.test(e)?"application/x-mpegurl":e}function r(e){return/^(video|application)/i.test(e)||(e=i(e)),!!u.canPlayType(e).replace("no","")}var o,a=e("../flowplayer"),s=a.common,l=e("./html5-factory"),u=document.createElement("video");o=function(e,t){return l("html5",e,t,r,function(e,t){t.currentSrc!==e.src&&(s.find("source",t).forEach(s.removeNode),t.src=e.src,t.type=e.type)})},o.canPlay=function(e){return a.support.video&&r(e)},o.engineName="html5",a.engines.push(o)},{"../flowplayer":31,"./html5-factory":5}],7:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),o=e("bean");i(function(e,t){e.on("ready",function(){var e=r.find("video.fp-engine",t)[0];e&&(e.setAttribute("x-webkit-airplay","allow"),window.WebKitPlaybackTargetAvailabilityEvent&&(e.addEventListener("webkitplaybacktargetavailabilitychanged",function(e){if("available"===e.availability){var n=r.find(".fp-header",t)[0];r.find(".fp-airplay",n).forEach(r.removeNode);var i=r.createElement("a",{"class":"fp-airplay fp-icon",title:"Play on AirPlay device"});n.insertBefore(i,r.find(".fp-fullscreen",n)[0])}}),e.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",function(){var n=r.find(".fp-airplay",t)[0];n&&r.toggleClass(n,"fp-active",e.webkitCurrentPlaybackTargetIsWireless)})))}),o.on(t,"click",".fp-airplay",function(e){e.preventDefault();var n=r.find("video.fp-engine",t)[0];n.webkitShowPlaybackTargetPicker()})})},{"../common":1,"../flowplayer":31,bean:34}],8:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("./resolve").TYPE_RE,o=e("scriptjs"),a=e("bean");i(function(e,t){var n,i=e.conf.analytics,s=0,l=0;if(i){"undefined"==typeof _gat&&o("//google-analytics.com/ga.js");var u=function(){var e=_gat._getTracker(i);return e._setAllowLinker(!0),e},c=function(i,o,a){if(a=a||e.video,s&&"undefined"!=typeof _gat){var l=u();l._trackEvent("Video / Seconds played",e.engine.engineName+"/"+a.type,a.title||t.getAttribute("title")||a.src.split("/").slice(-1)[0].replace(r,""),Math.round(s/1e3)),s=0,n&&(clearTimeout(n),n=null)}};e.bind("load unload",c).bind("progress",function(){e.seeking||(s+=l?+new Date-l:0,l=+new Date),n||(n=setTimeout(function(){n=null;var e=u();e._trackEvent("Flowplayer heartbeat","Heartbeat","",0,!0)},6e5))}).bind("pause",function(){l=0}),e.bind("shutdown",function(){a.off(window,"unload",c)}),a.on(window,"unload",c)}})},{"../flowplayer":31,"./resolve":21,bean:34,scriptjs:45}],9:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),o=e("bean"),a=e("scriptjs");i(function(e,t){function n(){var e,t,n;e=g.applicationId||chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,t=new chrome.cast.SessionRequest(e),n=new chrome.cast.ApiConfig(t,i,s),chrome.cast.initialize(n,l,u)}function i(){console.log("sessionListener")}function s(e){e===chrome.cast.ReceiverAvailability.AVAILABLE&&c()}function l(){}function u(){console.log("onError")}function c(){var e=r.find(".fp-header",t)[0];r.find(".fp-chromecast",e).forEach(r.removeNode),r.find(".fp-chromecast-engine",t).forEach(r.removeNode),h=r.createElement("a",{"class":"fp-chromecast fp-icon",title:"Play on Cast device"}),e.insertBefore(h,r.find(".fp-fullscreen",e)[0]);var n=r.createElement("div",{"class":"fp-chromecast-engine"}),i=r.createElement("p",{"class":"fp-chromecast-engine-status"}),o=r.createElement("p",{"class":"fp-chromecast-engine-icon"});n.appendChild(o),n.appendChild(i);var a=r.find(".fp-engine",t)[0];a?a.parentNode.insertBefore(n,a):r.prepend(r.find(".fp-player",t)[0]||t,n)}function f(){clearInterval(p),p=null,e.release(),r.toggleClass(t,"is-chromecast",!1),r.toggleClass(h,"fp-active",!1)}if(e.conf.chromecast!==!1){a("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"),window.__onGCastApiAvailable=function(e){e&&n()};var d,p,h,g=e.conf.chromecast||{};o.on(t,"click",".fp-chromecast",function(n){return n.preventDefault(),d?(e.trigger("pause",[e]),d.stop(),d=null,void f()):(e.playing&&e.pause(),void chrome.cast.requestSession(function(n){function i(n){n.addUpdateListener(function(i){if(d){p=p||setInterval(function(){e.trigger("progress",[e,n.getEstimatedTime()])},500),i?(r.toggleClass(t,"is-chromecast",!0),r.toggleClass(h,"fp-active",!0),e.hijack({pause:function(){n.pause()},resume:function(){n.play()},seek:function(e){var t=new chrome.cast.media.SeekRequest;t.currentTime=e,n.seek(t)}})):(f(),e.trigger("finish",[e]));var o=n.playerState;e.paused&&o===chrome.cast.media.PlayerState.PLAYING&&e.trigger("resume",[e]),e.playing&&o===chrome.cast.media.PlayerState.PAUSED&&e.trigger("pause",[e]),r.toggleClass(t,"is-loading",o===chrome.cast.media.PlayerState.BUFFERING)}})}d=n;var o=d.receiver.friendlyName;r.html(r.find(".fp-chromecast-engine-status")[0],"Playing on device "+o);var a=new chrome.cast.media.MediaInfo(e.video.src),s=new chrome.cast.media.LoadRequest(a);d.loadMedia(s,i,function(){})},function(e){console.error("requestSession error",e)}))})}})},{"../common":1,"../flowplayer":31,bean:34,scriptjs:45}],10:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),o=e("bean");i(function(e,t){function n(e){t.className=t.className.replace(a," "),e>=0&&r.addClass(t,"cue"+e)}function i(t){var n=t&&!isNaN(t.time)?t.time:t;return 0>n&&(n=e.video.duration+n),.125*Math.round(n/.125)}var a=/ ?cue\d+ ?/,s=!1,l={},u=-.125,c=function(t){var i=e.cuepoints.indexOf(t);isNaN(t)||(t={time:t}),t.index=i,n(i),e.trigger("cuepoint",[e,t])};e.on("progress",function(e,t,n){if(!s)for(var r=i(n);r>u;)u+=.125,l[u]&&l[u].forEach(c)}).on("unload",n).on("beforeseek",function(e){setTimeout(function(){e.defaultPrevented||(s=!0)})}).on("seek",function(e,t,r){n(),u=i(r||0)-.125,
|
7 |
-
s=!1,!r&&l[0]&&l[0].forEach(c)}).on("ready",function(t,n,i){u=-.125;var r=i.cuepoints||e.conf.cuepoints||[];e.setCuepoints(r)}).on("finish",function(){u=-.125}),e.conf.generate_cuepoints&&e.bind("load",function(){r.find(".fp-cuepoint",t).forEach(r.removeNode)}),e.setCuepoints=function(t){return e.cuepoints=[],l={},t.forEach(e.addCuepoint),e},e.addCuepoint=function(n){e.cuepoints||(e.cuepoints=[]);var a=i(n);if(l[a]||(l[a]=[]),l[a].push(n),e.cuepoints.push(n),e.conf.generate_cuepoints&&n.visible!==!1){var s=e.video.duration,u=r.find(".fp-timeline",t)[0];r.css(u,"overflow","visible");var c=n.time||n;0>c&&(c=s+c);var f=r.createElement("a",{className:"fp-cuepoint fp-cuepoint"+(e.cuepoints.length-1)});r.css(f,"left",c/s*100+"%"),u.appendChild(f),o.on(f,"mousedown",function(t){t.preventDefault(),t.stopPropagation(),e.seek(c)})}return e},e.removeCuepoint=function(t){var n=e.cuepoints.indexOf(t),r=i(t);if(-1!==n){e.cuepoints=e.cuepoints.slice(0,n).concat(e.cuepoints.slice(n+1));var o=l[r].indexOf(t);if(-1!==o)return l[r]=l[r].slice(0,o).concat(l[r].slice(o+1)),e}}})},{"../common":1,"../flowplayer":31,bean:34}],11:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("bean"),o=e("../common"),a=e("./util/clipboard");i(function(e,t){if(e.conf.embed!==!1&&e.conf.share!==!1){var n=o.find(".fp-share-menu",t)[0],i=o.createElement("a",{"class":"fp-icon fp-embed",title:"Copy to your site"},"Embed");o.append(n,i),e.embedCode=function(){var n=e.conf.embed||{},i=e.video,r=n.width||i.width||o.width(t),a=n.height||i.height||o.height(t),s=e.conf.ratio,l='<iframe src="'+e.shareUrl(!0)+'" allowfullscreen style="border:none;';return n.width||n.height?(isNaN(r)||(r+="px"),isNaN(a)||(a+="px"),l+"width:"+r+";height:"+a+';"></iframe>'):((!s||e.conf.adaptiveRatio)&&(s=a/r),'<div style="position:relative;width:100%;display:inline-block;">'+l+'position:absolute;top:0;left:0;width:100%;height:100%;"></iframe><div style="padding-top:'+100*s+'%;"></div></div>')},r.on(t,"click",".fp-embed",function(){a(e.embedCode(),function(){e.message("The embed code is now on your clipboard",2e3)},function(){e.textarea(e.embedCode(),"Copy the code below to embed your video")})})}})},{"../common":1,"../flowplayer":31,"./util/clipboard":30,bean:34}],12:[function(e,t,n){"use strict";t.exports=function(e,t){t||(t=document.createElement("div"));var n={},i={},r=function(e,r,o){var a=e.split(".")[0],s=function(l){o&&(t.removeEventListener(a,s),n[e].splice(n[e].indexOf(s),1));var u=[l].concat(i[l.timeStamp+l.type]||[]);r&&r.apply(void 0,u)};t.addEventListener(a,s),n[e]||(n[e]=[]),n[e].push(s)};e.on=e.bind=function(t,n){var i=t.split(" ");return i.forEach(function(e){r(e,n)}),e},e.one=function(t,n){var i=t.split(" ");return i.forEach(function(e){r(e,n,!0)}),e};var o=function(e,t){return 0===t.filter(function(t){return-1===e.indexOf(t)}).length};e.off=e.unbind=function(i){var r=i.split(" ");return r.forEach(function(e){var i=e.split(".").slice(1),r=e.split(".")[0];Object.keys(n).filter(function(e){var t=e.split(".").slice(1);return(!r||0===e.indexOf(r))&&o(t,i)}).forEach(function(e){var i=n[e],r=e.split(".")[0];n[e]=i.filter(function(e){return t.removeEventListener(r,e),!1})})}),e},e.trigger=function(n,r,o){if(n){r=(r||[]).length?r||[]:[r];var a,s=document.createEvent("Event");return a=n.type||n,s.initEvent(a,!1,!0),Object.defineProperty&&(s.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}),i[s.timeStamp+s.type]=r,t.dispatchEvent(s),o?s:e}}},t.exports.EVENTS=["beforeseek","disable","error","finish","fullscreen","fullscreen-exit","load","mute","pause","progress","ready","resume","seek","speed","stop","unload","volume","boot","shutdown"]},{}],13:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),o=e("bean");i(function(e,t){var n=e.conf;if(n.share!==!1&&n.facebook){e.facebook=function(){var e,t,i=550,r=420,o=screen.height,a=screen.width,s="scrollbars=yes,resizable=yes,toolbar=no,location=yes",l="string"==typeof n.facebook?n.facebook:window.location.toString();e=Math.round(a/2-i/2),t=0,o>r&&(t=Math.round(o/2-r/2)),window.open("https://www.facebook.com/sharer.php?s=100&p[url]="+encodeURIComponent(l),"sharer",s+",width="+i+",height="+r+",left="+e+",top="+t)};var i=r.find(".fp-share-menu",t)[0],a=r.createElement("a",{"class":"fp-icon fp-facebook"},"Facebook");r.append(i,a),o.on(t,"click",".fp-facebook",function(){e.facebook()})}})},{"../common":1,"../flowplayer":31,bean:34}],14:[function(e,t,n){"use strict";var i,r=e("../flowplayer"),o=e("bean"),a=e("../common"),s="fullscreen",l="fullscreen-exit",u=r.support.fullscreen,c=navigator.userAgent.toLowerCase();/(safari)[ \/]([\w.]+)/.exec(c)&&!/(chrome)[ \/]([\w.]+)/.exec(c);o.on(document,"fullscreenchange.ffscr webkitfullscreenchange.ffscr mozfullscreenchange.ffscr MSFullscreenChange.ffscr",function(e){var t=document.webkitCurrentFullScreenElement||document.mozFullScreenElement||document.fullscreenElement||document.msFullscreenElement||e.target;if(i||t.parentNode&&t.parentNode.getAttribute("data-flowplayer-instance-id")){var n=i||r(t.parentNode);t&&!i?i=n.trigger(s,[n]):(i.trigger(l,[i]),i=null)}}),r(function(e,t){var n=a.createElement("div",{className:"fp-player"});if(Array.prototype.map.call(t.children,a.identity).forEach(function(e){a.matches(e,".fp-ratio,script")||n.appendChild(e)}),t.appendChild(n),e.conf.fullscreen){var r,o,c=window;e.isFullscreen=!1,e.fullscreen=function(t){return e.disabled?void 0:(void 0===t&&(t=!e.isFullscreen),t&&(r=c.scrollY,o=c.scrollX),u?t?["requestFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].forEach(function(e){"function"==typeof n[e]&&n[e](Element.ALLOW_KEYBOARD_INPUT)}):["exitFullscreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].forEach(function(e){"function"==typeof document[e]&&document[e]()}):e.trigger(t?s:l,[e]),e)};var f;e.on("mousedown.fs",function(){+new Date-f<150&&e.ready&&e.fullscreen(),f=+new Date}),e.on(s,function(){a.addClass(t,"is-fullscreen"),a.toggleClass(t,"fp-minimal-fullscreen",a.hasClass(t,"fp-minimal")),a.removeClass(t,"fp-minimal"),u||a.css(t,"position","fixed"),e.isFullscreen=!0}).on(l,function(){var n;a.toggleClass(t,"fp-minimal",a.hasClass(t,"fp-minimal-fullscreen")),a.removeClass(t,"fp-minimal-fullscreen"),u||"html5"!==e.engine||(n=t.css("opacity")||"",a.css(t,"opacity",0)),u||a.css(t,"position",""),a.removeClass(t,"is-fullscreen"),u||"html5"!==e.engine||setTimeout(function(){t.css("opacity",n)}),e.isFullscreen=!1,c.scrollTo(o,r)}).on("unload",function(){e.isFullscreen&&e.fullscreen()}),e.on("shutdown",function(){i=null})}})},{"../common":1,"../flowplayer":31,bean:34}],15:[function(e,t,n){"use strict";var i,r,o=e("../flowplayer"),a=e("bean"),s="is-help",l=e("../common");a.on(document,"keydown.fp",function(e){var t=i,n=e.ctrlKey||e.metaKey||e.altKey,o=e.which,a=t&&t.conf;if(t&&a.keyboard&&!t.disabled){if(-1!=[63,187,191].indexOf(o))return l.toggleClass(r,s),!1;if(27==o&&l.hasClass(r,s))return l.toggleClass(r,s),!1;if(!n&&t.ready){if(e.preventDefault(),e.shiftKey)return void(39==o?t.speed(!0):37==o&&t.speed(!1));if(58>o&&o>47)return t.seekTo(o-48);switch(o){case 38:case 75:t.volume(t.volumeLevel+.15);break;case 40:case 74:t.volume(t.volumeLevel-.15);break;case 39:case 76:t.seeking=!0,t.seek(!0);break;case 37:case 72:t.seeking=!0,t.seek(!1);break;case 190:t.seekTo();break;case 32:t.toggle();break;case 70:a.fullscreen&&t.fullscreen();break;case 77:t.mute();break;case 81:t.unload()}}}}),o(function(e,t){e.conf.keyboard&&(a.on(t,"mouseenter mouseleave",function(n){i=e.disabled||"mouseover"!=n.type?0:e,i&&(r=t)}),e.bind("shutdown",function(){r==t&&(r=null)}))})},{"../common":1,"../flowplayer":31,bean:34}],16:[function(e,t,n){var i=e("../flowplayer"),r=e("../common"),o=e("bean");i(function(e,t){e.showMenu=function(n,i){var a=r.find(".fp-ui",t)[0];r.toggleClass(n,"fp-active",!0),setTimeout(function(){o.one(document,"click",function(){e.hideMenu(n)})});var s=i;if(i&&i.tagName&&(s={left:r.offset(i).left,rightFallbackOffset:r.width(i),top:r.offset(i).top+r.height(i)}),!s)return r.css(n,"top","auto");s.rightFallbackOffset=s.rightFallbackOffset||0;var l=s.top-r.offset(a).top,u=s.left-r.offset(a).left;r.width(n)+u>r.width(a)&&(u=u-r.width(n)+s.rightFallbackOffset),r.height(n)+l>r.height(a)&&(l-=r.height(n)),r.css(n,{top:l+"px",left:u+"px"})},e.hideMenu=function(e){r.toggleClass(e,"fp-active",!1),r.css(e,{top:"-9999em"})}})},{"../common":1,"../flowplayer":31,bean:34}],17:[function(e,t,n){var i=e("../flowplayer"),r=e("../common"),o=e("bean");i(function(e,t){function n(e){var t=r.createElement("div",{className:"fp-message"},e);return s.insertBefore(t,a),setTimeout(function(){r.toggleClass(t,"fp-shown")}),t}function i(e){r.removeNode(e)}var a=r.find(".fp-header",t)[0],s=r.find(".fp-ui",t)[0];e.message=function(e,t){var o=n(e),a=function(){r.toggleClass(o,"fp-shown"),setTimeout(function(){i(o)},500)};return t&&setTimeout(a,t),a},e.textarea=function(e){var t=document.createElement("textarea");t.value=e,t.className="fp-textarea",s.appendChild(t),o.on(document,"click.fptextarea",function(e){return e.target===t?t.select():(e.stopPropagation(),e.preventDefault(),r.removeNode(t),void o.off(document,"click.fptextarea"))})}})},{"../common":1,"../flowplayer":31,bean:34}],18:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=/IEMobile/.test(window.navigator.userAgent),o=e("../common"),a=e("bean"),s=e("./ui").format,l=i.support,u=window.navigator.userAgent;(l.touch||r)&&i(function(e,t){var n=l.android,i=n&&!n.firefox,c=/Silk/.test(u),f=n.version||0;if(i&&!r){if(!/Chrome/.test(u)&&4>f||n.samsung&&5>f){var d=e.load;e.load=function(){var n=d.apply(e,arguments);return o.find("video.fp-engine",t)[0].load(),e.trigger("ready",[e,e.video]),n}}var p,h=0,g=function(e){p=setInterval(function(){e.video.time=++h,e.trigger("progress",[e,h])},1e3)};e.on("ready pause unload",function(){p&&(clearInterval(p),p=null)}),e.on("ready",function(){h=0}),e.on("resume",function(t,n){return n.live?h?g(n):void e.one("progress",function(e,t,n){0===n&&g(t)}):void 0})}l.volume||(o.removeClass(t,"fp-mute"),o.addClass(t,"no-volume")),l.iOS&&o.addClass(t,"fp-mute"),o.addClass(t,"is-touch"),e.sliders&&e.sliders.timeline&&e.sliders.timeline.disableAnimation();var m=!1;if(a.on(t,"touchmove",function(){m=!0}),a.on(t,"touchend click",function(n){if(m)return void(m=!1);var i=o.find("video.fp-engine",t)[0];return i&&i.muted&&e.conf.autoplay&&(i.muted=!1),e.playing&&!o.hasClass(t,"is-mouseover")?(o.addClass(t,"is-mouseover"),o.removeClass(t,"is-mouseout"),n.preventDefault(),void n.stopPropagation()):void(e.playing||e.splash||!o.hasClass(t,"is-mouseout")||o.hasClass(t,"is-mouseover")||setTimeout(function(){e.disabled||e.playing||e.splash||o.find("video.fp-engine",t)[0].play()},400))}),!l.fullscreen&&e.conf.native_fullscreen&&"function"==typeof o.createElement("video").webkitEnterFullScreen){var v=e.fullscreen;e.fullscreen=function(){var n=o.find("video.fp-engine",t)[0];return n?(e.trigger("fullscreen",[e]),a.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement===n&&(a.off(document,".nativefullscreen"),a.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement||(a.off(document,".nativefullscreen"),e.trigger("fullscreen-exit",[e]))}))}),n.webkitEnterFullScreen(),void a.one(n,"webkitendfullscreen",function(){a.off(document,"fullscreenchange.nativefullscreen"),e.trigger("fullscreen-exit",[e]),o.prop(n,"controls",!0),o.prop(n,"controls",!1)})):v.apply(e)}}(i||c)&&e.bind("ready",function(){var n=o.find("video.fp-engine",t)[0];e.conf.splash&&n.paused&&(a.one(n,"canplay",function(){n.play()}),n.load()),e.bind("progress.dur",function(){if(!e.live&&!e.conf.live){var i=n.duration;1!==i&&(e.video.duration=i,o.find(".fp-duration",t)[0].innerHTML=s(i),e.unbind("progress.dur"))}})})})},{"../common":1,"../flowplayer":31,"./ui":27,bean:34}],19:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("extend-object"),o=e("bean"),a=e("../common"),s=e("./resolve"),l=new s,u=window.jQuery,c=/^#/;i(function(e,t){function n(){return a.find(h.query,i())}function i(){return c.test(h.query)?void 0:t}function f(){return a.find(h.query+"."+g,i())}function d(){var n=a.find(".fp-playlist",t)[0];if(!n){n=a.createElement("div",{className:"fp-playlist"});var i=a.find(".fp-next,.fp-prev",t);i.length?i[0].parentElement.insertBefore(n,i[0]):a.insertAfter(t,a.find("video",t)[0],n)}n.innerHTML="",e.conf.playlist[0].length&&(e.conf.playlist=e.conf.playlist.map(function(e){if("string"==typeof e){var t=e.split(s.TYPE_RE)[1];return{sources:[{type:"m3u8"===t.toLowerCase()?"application/x-mpegurl":"video/"+t,src:e}]}}return{sources:e.map(function(e){var t={};return Object.keys(e).forEach(function(n){t.type=/mpegurl/i.test(n)?"application/x-mpegurl":"video/"+n,t.src=e[n]}),t})}})),e.conf.playlist.forEach(function(t,i){var r=t.sources[0].src;n.appendChild(a.createElement("a",{href:r,className:e.video.index===i?g:void 0,"data-index":i}))})}function p(t){return"undefined"!=typeof t.index?t.index:"undefined"!=typeof e.video.index?e.video.index:e.conf.startIndex||0}var h=r({active:"is-active",advance:!0,query:".fp-playlist a"},e.conf),g=h.active,m=a.find(".fp-ui",t)[0],v=a.hasClass(t,"fp-custom-playlist")||!!h.customPlaylist;a.toggleClass(t,"fp-custom-playlist",v),a.toggleClass(t,"fp-default-playlist",!v),e.play=function(t){if(void 0===t)return e.resume();if("number"==typeof t&&!e.conf.playlist[t])return e;if("number"!=typeof t)return e.load.apply(null,arguments);var n=r({index:t},e.conf.playlist[t]);return e.off("beforeresume.fromfirst"),"number"==typeof t&&t===e.video.index?e.seek(0,function(){e.resume()}):(e.load(n,function(){e.video.index=t}),e)},e.next=function(t){t&&t.preventDefault();var n=e.video.index;return-1!=n&&(n=n===e.conf.playlist.length-1?0:n+1,e.play(n)),e},e.prev=function(t){t&&t.preventDefault();var n=e.video.index;return-1!=n&&(n=0===n?e.conf.playlist.length-1:n-1,e.play(n)),e},e.setPlaylist=function(t,n){return e.conf.playlist=t,n||delete e.video.index,d(),e},e.addPlaylistItem=function(t){return delete e.video.is_last,e.setPlaylist(e.conf.playlist.concat([t]),!0)},e.removePlaylistItem=function(t){var n=e.conf.playlist;return e.setPlaylist(n.slice(0,t).concat(n.slice(t+1)))},o.on(t,"click",".fp-next",e.next),o.on(t,"click",".fp-prev",e.prev),e.off("finish.pl").on("finish.pl",function(e,n){var i="undefined"==typeof n.conf.advance?!0:n.conf.advance;if(i){if(n.video.loop)return n.seek(0,function(){n.resume()});var r=n.video.index>=0?n.video.index+1:void 0;r<n.conf.playlist.length||h.loop?(r=r===n.conf.playlist.length?0:r,a.removeClass(t,"is-finished"),setTimeout(function(){n.play(r)})):n.conf.playlist.length>1&&(n.one("beforeresume.fromfirst",function(e){e.preventDefault(),n.play(0)}),n.one("seek",function(){n.off("beforeresume.fromfirst")}))}});var y=!1;e.conf.playlist.length&&(y=!0,d(),e.conf.clip&&e.conf.clip.sources.length||(e.conf.clip=e.conf.playlist[e.conf.startIndex||0])),n().length&&!y&&(e.conf.playlist=[],delete e.conf.startIndex,n().forEach(function(t){var n=t.href;t.setAttribute("data-index",e.conf.playlist.length);var i=l.resolve(n,e.conf.clip.sources);u&&r(i,u(t).data()),e.conf.playlist.push(i)})),a.find(".fp-prev,.fp-next,.fp-playlist",t).forEach(function(e){m.appendChild(e)}),o.on(c.test(h.query)?document:t,"click",h.query,function(t){t.preventDefault();var n=t.currentTarget,i=Number(n.getAttribute("data-index"));-1!=i&&e.play(i)}),e.on("load",function(n,r,o){if(e.conf.playlist.length){var s=f()[0],l=s&&s.getAttribute("data-index"),u=o.index=p(o),c=a.find(h.query+'[data-index="'+u+'"]',i())[0],d=u==e.conf.playlist.length-1;s&&a.removeClass(s,g),c&&a.addClass(c,g),a.removeClass(t,"video"+l),a.addClass(t,"video"+u),a.toggleClass(t,"last-video",d),o.index=r.video.index=u,o.is_last=r.video.is_last=d}}).on("unload.pl",function(){e.conf.playlist.length&&(f().forEach(function(e){a.toggleClass(e,g)}),e.conf.playlist.forEach(function(e,n){a.removeClass(t,"video"+n)}))}),e.conf.playlist.length&&(e.conf.loop=!1)})},{"../common":1,"../flowplayer":31,"./resolve":21,bean:34,"extend-object":39}],20:[function(e,t,n){var i=e("../flowplayer"),r=e("../common"),o=e("bean");i(function(e,t){function n(){r.find(".fp-qsel-menu",t).forEach(r.removeNode),r.find(".fp-qsel",t).forEach(r.removeNode)}function i(e){l.appendChild(r.createElement("strong",{className:"fp-qsel"},"HD"));var t=r.createElement("div",{className:"fp-menu fp-qsel-menu"},"<strong>Quality</strong>");e.forEach(function(e){var n=document.createElement("a"),i="undefined"!=typeof e.value?e.value:e;n.setAttribute("data-quality",i),n.innerHTML=e.label||e,t.appendChild(n)}),s.appendChild(t)}function a(e){r.find(".fp-qsel-menu a",t).forEach(function(t){r.toggleClass(t,"fp-selected",t.getAttribute("data-quality")==e),r.toggleClass(t,"fp-color",t.getAttribute("data-quality")==e)})}var s=r.find(".fp-ui",t)[0],l=r.find(".fp-controls",s)[0];o.on(t,"click",".fp-qsel",function(){var n=r.find(".fp-qsel-menu",t)[0];r.hasClass(n,"fp-active")?e.hideMenu():e.showMenu(n)}),o.on(t,"click",".fp-qsel-menu a",function(t){var n=t.target.getAttribute("data-quality");e.quality(n)}),e.quality=function(t){t=isNaN(Number(t))?t:Number(t),e.trigger("quality",[e,t])},e.on("quality",function(e,t,n){a(n,t.video.qualities)}),e.on("ready",function(e,t,r){n(),!r.qualities||r.qualities.filter(function(e){return"undefined"!=typeof e.value?e.value>-1:!0}).length<2||(i(r.qualities,r.quality),a(r.quality,r.qualities))})})},{"../common":1,"../flowplayer":31,bean:34}],21:[function(e,t,n){"use strict";function i(e){var t=e.attr("src"),n=e.attr("type")||"",i=t.split(o)[1];return n=n.toLowerCase(),a(e.data(),{src:t,suffix:i||n,type:n||i})}function r(e){return/mpegurl/i.test(e)?"application/x-mpegurl":"video/"+e}var o=/\.(\w{3,4})(\?.*)?$/i,a=e("extend-object");t.exports=function(){var e=this;e.sourcesFromVideoTag=function(e,t){var n=[];return t("source",e).each(function(){n.push(i(t(this)))}),!n.length&&e.length&&n.push(i(e)),n},e.resolve=function(e,t){return e?("string"==typeof e&&(e={src:e,sources:[]},e.sources=(t||[]).map(function(t){var n=t.src.split(o)[1];return{type:t.type,src:e.src.replace(o,"."+n+"$2")}})),e instanceof Array&&(e={sources:e.map(function(e){return e.type&&e.src?e:Object.keys(e).reduce(function(t,n){return a(t,{type:r(n),src:e[n]})},{})})}),e):{sources:t}}},t.exports.TYPE_RE=o},{"extend-object":39}],22:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),o=e("extend-object"),a=e("bean");i(function(e,t){var n=e.conf;if(n.share===!1)return void r.find(".fp-share",t).forEach(r.removeNode);e.shareUrl=function(t){if(t&&n.embed&&n.embed.iframe)return n.embed.iframe;if("string"==typeof e.conf.share)return e.conf.share;var i=encodeURIComponent(e.video.title||(r.find("title")[0]||{}).innerHTML||"Flowplayer video"),a=encodeURIComponent(btoa(JSON.stringify(o({},e.conf,e.extensions)).replace(/[\u007F-\uFFFF]/g,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).substr(-4)}))),s=encodeURIComponent(window.location.toString()),l=t?"https://flowplayer.com/e/":"https://flowplayer.com/s/";return l+"?t="+i+"&c="+a+"&r="+s};var i=r.createElement("div",{className:"fp-menu fp-share-menu"},"<strong>Share</strong>"),s=r.find(".fp-ui",t)[0];s.appendChild(i);var l=r.find(".fp-share",t)[0];a.on(t,"click",".fp-share",function(t){t.preventDefault(),r.hasClass(i,"fp-active")?e.hideMenu():e.showMenu(i,l)})})},{"../common":1,"../flowplayer":31,bean:34,"extend-object":39}],23:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),o=e("bean"),a=e("./subtitles/parser");i.defaults.subtitleParser=a,i(function(e,t){var n,a,s,l;(!i.support.inlineVideo||!i.support.fullscreen&&e.conf.native_fullscreen)&&(e.conf.nativesubtitles=!0);var u=function(){return s=s||r.createElement("strong",{className:"fp-cc"},"CC"),l=l||r.createElement("div",{className:"fp-menu fp-subtitle-menu"},"<strong>Closed Captions</strong>"),r.find("a",l).forEach(r.removeNode),l.appendChild(r.createElement("a",{"data-subtitle-index":-1},"No subtitles")),(e.video.subtitles||[]).forEach(function(e,t){var n=e.srclang||"en",i=e.label||"Default ("+n+")",o=r.createElement("a",{"data-subtitle-index":t},i);l.appendChild(o)}),r.find(".fp-ui",t)[0].appendChild(l),r.find(".fp-controls",t)[0].appendChild(s),s};o.on(t,"click",".fp-cc",function(){r.hasClass(l,"fp-active")?e.hideMenu():e.showMenu(l)}),o.on(t,"click",".fp-subtitle-menu [data-subtitle-index]",function(t){t.preventDefault();var n=t.target.getAttribute("data-subtitle-index");return"-1"===n?e.disableSubtitles():void e.loadSubtitles(n)});var c=function(){a=r.find(".fp-captions",t)[0],a=a||r.appendTo(r.createElement("div",{"class":"fp-captions"}),r.find(".fp-player",t)[0]),Array.prototype.forEach.call(a.children,r.removeNode),u()};e.on("ready",function(n,i,o){if(i.subtitles=[],c(),r.removeClass(t,"has-menu"),e.disableSubtitles(),r.toggleClass(s,"fp-hidden",!o.subtitles||!o.subtitles.length),o.subtitles&&o.subtitles.length){var a=o.subtitles.filter(function(e){return e["default"]})[0];a&&i.loadSubtitles(o.subtitles.indexOf(a))}}),e.bind("cuepoint",function(e,t,i){i.subtitle?(n=i.index,r.html(a,i.subtitle.text),r.addClass(a,"fp-shown")):i.subtitleEnd&&(r.removeClass(a,"fp-shown"),n=i.index)}),e.bind("seek",function(t,i,o){n&&e.cuepoints[n]&&e.cuepoints[n].time>o&&(r.removeClass(a,"fp-shown"),n=null),(e.cuepoints||[]).forEach(function(t,i){var r=t.subtitle;r&&n!=i?o>=t.time&&(!r.endTime||o<=r.endTime)&&e.trigger("cuepoint",[e,t]):t.subtitleEnd&&o>=t.time&&i==n+1&&e.trigger("cuepoint",[e,t])})}),e.on("unload",function(){r.find(".fp-captions",t).forEach(r.removeNode)});var f=function(e){r.toggleClass(r.find("a.fp-selected",l)[0],"fp-selected"),r.toggleClass(r.find('a[data-subtitle-index="'+e+'"]',l)[0],"fp-selected")},d=function(e,n){var i=r.find("video.fp-engine",t)[0].textTracks;i.length&&(null===e?[].forEach.call(i,function(e){e.mode=n}):i[e].mode=n)};e.disableSubtitles=function(){return e.subtitles=[],(e.cuepoints||[]).forEach(function(t){(t.subtitle||t.subtitleEnd)&&e.removeCuepoint(t)}),a&&Array.prototype.forEach.call(a.children,r.removeNode),f(-1),i.support.subtitles&&e.conf.nativesubtitles&&"html5"==e.engine.engineName&&d(null,"disabled"),e},e.loadSubtitles=function(t){e.disableSubtitles();var n=e.video.subtitles[t],o=n.src;return o?(f(t),i.support.subtitles&&e.conf.nativesubtitles&&"html5"==e.engine.engineName?void d(t,"showing"):(r.xhrGet(o,function(t){var n=e.conf.subtitleParser(t);n.forEach(function(t){var n={time:t.startTime,subtitle:t,visible:!1};e.subtitles.push(t),e.addCuepoint(n),e.addCuepoint({time:t.endTime,subtitleEnd:t.title,visible:!1}),0!==t.startTime||e.video.time||e.splash||e.trigger("cuepoint",[e,i.extend({},n,{index:0})]),e.splash&&e.one("ready",function(){e.trigger("cuepoint",[e,n])})})},function(){return e.trigger("error",{code:8,url:o}),!1}),e)):void 0}})},{"../common":1,"../flowplayer":31,"./subtitles/parser":24,bean:34}],24:[function(e,t,n){t.exports=function(e){function t(e){var t=e.split(":");return 2==t.length&&t.unshift(0),60*t[0]*60+60*t[1]+parseFloat(t[2].replace(",","."))}for(var n,i,r,o=/^(([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3}) --\> (([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/,a=[],s=0,l=e.split("\n"),u=l.length,c={};u>s;s++)if(i=o.exec(l[s])){for(n=l[s-1],r="<p>"+l[++s]+"</p><br/>";"string"==typeof l[++s]&&l[s].trim()&&s<l.length;)r+="<p>"+l[s]+"</p><br/>";c={title:n,startTime:t(i[1]),endTime:t(i[3]),text:r},a.push(c)}return a}},{}],25:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("extend-object");!function(){var e=function(e){var t=/iP(ad|hone)(; CPU)? OS (\d+_\d)/.exec(e);return t&&t.length>1?parseFloat(t[t.length-1].replace("_","."),10):0},t=function(){var e=document.createElement("video");return e.loop=!0,e.autoplay=!0,e.preload=!0,e},n={},o=document.documentElement.style,a=navigator.userAgent.toLowerCase(),s=/(chrome)[ \/]([\w.]+)/.exec(a)||/(safari)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];s[1]&&(n[s[1]]=!0,n.version=s[2]||"0"),n.safari&&(n.version=(/version\/([\w.]+)/.exec(a)||[])[1]);var l=t(),u=navigator.userAgent,c=n.msie||/Trident\/7/.test(u),f=/iPad|MeeGo/.test(u)&&!/CriOS/.test(u),d=/iPad/.test(u)&&/CriOS/.test(u),p=/iP(hone|od)/i.test(u)&&!/iPad/.test(u)&&!/IEMobile/i.test(u),h=/Android/.test(u),g=h&&/Firefox/.test(u),m=h&&/SAMSUNG/.test(u),v=/Silk/.test(u),y=/IEMobile/.test(u),w=y?parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(u)[1],10):0,b=y?parseFloat(/IEMobile\/(\d+\.\d+)/.exec(u)[1],10):0,I=f||p?e(u):0,M=h?parseFloat(/Android\ (\d\.\d)/.exec(u)[1],10):0,C=(p||f||d)&&{iPhone:p,iPad:f||d,version:I,chrome:d},A=r(i.support,{browser:n,iOS:C,android:h?{firefox:g,opera:/Opera/.test(u),samsung:m,version:M}:!1,subtitles:!!l.addTextTrack,fullscreen:"boolean"==typeof document.webkitFullscreenEnabled?document.webkitFullscreenEnabled:"function"==typeof document.webkitCancelFullScreen&&!/Mac OS X 10_5.+Version\/5\.0\.\d Safari/.test(u)||document.mozFullScreenEnabled||"function"==typeof document.exitFullscreen||"function"==typeof document.msExitFullscreen,inlineBlock:!(c&&n.version<8),touch:"ontouchstart"in window,dataload:!f&&!p&&!y,flex:"flexWrap"in o||"WebkitFlexWrap"in o||"msFlexWrap"in o,svg:!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,zeropreload:!c&&!h,volume:!(f||p||v||d),cachedVideoTag:!(f||p||d||y),firstframe:!(v||y||g||m||I&&10>I||h&&4.4>M),mutedAutoplay:(p||f||d)&&I>=10||h&&M>4.3&&!m,inlineVideo:(!p||I>=10)&&(!y||w>=8.1&&b>=11)&&(!h||M>=3),hlsDuration:!h&&(!n.safari||f||p||d),seekable:!f&&!d,preloadMetadata:!C&&(!n.safari||parseFloat(n.version)>9.1)});A.autoplay=A.firstframe,y&&(A.browser.safari=!1);try{var S=navigator.plugins["Shockwave Flash"],E=c?new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version"):S.description;c||S[0].enabledPlugin?(E=E.split(/\D+/),E.length&&!E[0]&&(E=E.slice(1)),A.flashVideo=E[0]>9||9==E[0]&&E[3]>=115):A.flashVideo=!1}catch(D){}try{A.video=!!l.canPlayType,A.video&&l.canPlayType("video/mp4")}catch(N){A.video=!1}A.animation=function(){for(var e=["","Webkit","Moz","O","ms","Khtml"],t=document.createElement("p"),n=0;n<e.length;n++)if("undefined"!=typeof t.style[e[n]+"AnimationName"])return!0}()}()},{"../flowplayer":31,"extend-object":39}],26:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),o=e("bean");i(function(e,t){var n=e.conf;if(n.share!==!1&&n.twitter!==!1){e.tweet=function(){var t,i,r=550,o=420,a=screen.height,s=screen.width,l="scrollbars=yes,resizable=yes,toolbar=no,location=yes",u="string"==typeof n.twitter?n.twitter:e.shareUrl();t=Math.round(s/2-r/2),i=0,a>o&&(i=Math.round(a/2-o/2)),window.open("https://twitter.com/intent/tweet?url="+encodeURIComponent(u),"intent",l+",width="+r+",height="+o+",left="+t+",top="+i)};var i=r.find(".fp-share-menu",t)[0],a=r.createElement("a",{"class":"fp-icon fp-twitter"},"Twitter");r.append(i,a),o.on(t,"click",".fp-twitter",function(){e.tweet()})}})},{"../common":1,"../flowplayer":31,bean:34}],27:[function(e,t,n){(function(n){"use strict";function i(e){return e=parseInt(e,10),e>=10?e:"0"+e}function r(e,t){e=Math.max(e||0,0),e=t?Math.ceil(e):Math.floor(e);var n=Math.floor(e/3600),r=Math.floor(e/60);return e-=60*r,n>=1?(r-=60*n,n+":"+i(r)+":"+i(e)):i(r)+":"+i(e)}var o=e("../flowplayer"),a=e("../common"),s=e("bean"),l=e("./ui/slider"),u=e("./ui/bar-slider"),c=n("PHN2ZyBjbGFzcz0iZnAtcGxheS1yb3VuZGVkLW91dGxpbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDk5Ljg0NCA5OS44NDM0Ij48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30uY29udHJvbGJ1dHRvbntmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz4KPHRpdGxlPnBsYXktcm91bmRlZC1vdXRsaW5lPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxwYXRoIGNsYXNzPSJjb250cm9sYnV0dG9uIiBkPSJNNDEuMDM1OSw3MS4xOWE1LjA0OTIsNS4wNDkyLDAsMCwxLTIuNTU3NS0uNjY3M2MtMS44MDMxLTEuMDQxLTIuNzk1OC0zLjEyNDgtMi43OTU4LTUuODY2NFYzNS4xODg3YzAtMi43NDI5Ljk5MzMtNC44MjcyLDIuNzk3LTUuODY3NiwxLjgwMjUtMS4wNDIyLDQuMTAzNC0uODYsNi40OC41MTQzTDcwLjQ3ODIsNDQuNTY3MmMyLjM3NTEsMS4zNzExLDMuNjgyNiwzLjI3MjUsMy42ODMyLDUuMzU0NXMtMS4zMDc2LDMuOTg0NS0zLjY4MzIsNS4zNTYyTDQ0Ljk1OTIsNzAuMDExNEE3LjkzODQsNy45Mzg0LDAsMCwxLDQxLjAzNTksNzEuMTlabS4wMDY1LTQwLjEyM2EyL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4IiBoZWlnaHQ9IjE4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNSA1MCkiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgwLDAsMCwuNSkiIHN0cm9rZS13aWR0aD0iMyUiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjEuMnMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMS4ycyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICA8L3JlY3Q+Cjwvc3ZnPgo=","base64");
|
8 |
-
o(function(e,t){function i(e){return a.find(".fp-"+e,t)[0]}function M(e){a.css(T,"padding-top",100*e+"%"),N.inlineBlock||a.height(a.find("object",t)[0],a.height(t))}function C(e){e?(a.addClass(t,"is-mouseover"),a.removeClass(t,"is-mouseout")):(a.addClass(t,"is-mouseout"),a.removeClass(t,"is-mouseover"))}a.find(".fp-filters").forEach(a.removeNode);try{var A;document.body.appendChild(A=a.createElement("div",{},n("PHN2ZyBjbGFzcz0iZnAtZmlsdGVycyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMCAwIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9ImYxIiB4PSItMjAlIiB5PSItMjAlIiB3aWR0aD0iMjAwJSIgaGVpZ2h0PSIyMDAlIj4KICAgICAgPGZlT2Zmc2V0IHJlc3VsdD0ib2ZmT3V0IiBpbj0iU291cmNlQWxwaGEiIGR4PSIwIiBkeT0iMCIgLz4KICAgICAgPGZlQ29sb3JNYXRyaXggcmVzdWx0PSJtYXRyaXhPdXQiIGluPSJvZmZPdXQiIHR5cGU9Im1hdHJpeCIKICAgICAgdmFsdWVzPSIwLjMgMCAwIDAgMCAwIDAuMyAwIDAgMCAwIDAgMC4zIDAgMCAwIDAgMCAwLjQgMCIgLz4KICAgICAgPGZlR2F1c3NpYW5CbHVyIHJlc3VsdD0iYmx1ck91dCIgaW49Im1hdHJpeE91dCIgc3RkRGV2aWF0aW9uPSI0IiAvPgogICAgICA8ZmVCbGVuZCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJibHVyT3V0IiBtb2RlPSJub3JtYWwiIC8+CiAgICA8L2ZpbHRlcj4KICA8L2RlZnM+Cjwvc3ZnPgo=","base64"))),a.css(A,{width:0,height:0,overflow:"hidden",position:"absolute",margin:0,padding:0})}catch(S){}var E,D=e.conf,N=o.support;a.find(".fp-ratio,.fp-ui",t).forEach(a.removeNode),a.addClass(t,"flowplayer"),t.appendChild(a.createElement("div",{className:"fp-ratio"}));var j=a.createElement("div",{className:"fp-ui"},' <div class="fp-waiting"> {{ LOADING_SHARP_OUTLINE }} {{ LOADING_SHARP_FILL }} {{ LOADING_ROUNDED_FILL }} {{ LOADING_ROUNDED_OUTLINE }} </div> <div class="fp-header"> <a class="fp-share fp-icon"></a> <a class="fp-fullscreen fp-icon"></a> <a class="fp-unload fp-icon"></a> </div> <p class="fp-speed-flash"></p> <div class="fp-play fp-visible"> <a class="fp-icon fp-playbtn"></a> {{ PLAY_ROUNDED_FILL }} {{ PLAY_ROUNDED_OUTLINE }} {{ PLAY_SHARP_FILL }} {{ PLAY_SHARP_OUTLINE }} </div> <div class="fp-pause"> <a class="fp-icon fp-playbtn"></a> {{ PAUSE_SHARP_OUTLINE }} {{ PAUSE_SHARP_FILL }} {{ PAUSE_ROUNDED_OUTLINE }} {{ PAUSE_ROUNDED_FILL }} </div> <div class="fp-controls"> <a class="fp-icon fp-playbtn"></a> <span class="fp-elapsed">00:00</span> <div class="fp-timeline fp-bar"> <span class="fp-timestamp"></span> <div class="fp-progress fp-color"></div> </div> <span class="fp-duration"></span> <span class="fp-remaining"></span> <div class="fp-volume"> <a class="fp-icon fp-volumebtn"></a> <div class="fp-volumebar fp-bar-slider"> <em></em><em></em><em></em><em></em><em></em><em></em><em></em> </div> </div> <strong class="fp-speed fp-hidden"></strong> </div>'.replace("{{ PAUSE_ROUNDED_FILL }}",g).replace("{{ PAUSE_ROUNDED_OUTLINE }}",h).replace("{{ PAUSE_SHARP_FILL }}",m).replace("{{ PAUSE_SHARP_OUTLINE }}",v).replace("{{ PLAY_SHARP_OUTLINE }}",p).replace("{{ PLAY_SHARP_FILL }}",d).replace("{{ PLAY_ROUNDED_OUTLINE }}",c).replace("{{ PLAY_ROUNDED_FILL }}",f).replace("{{ LOADING_ROUNDED_OUTLINE }}",y).replace("{{ LOADING_ROUNDED_FILL }}",w).replace("{{ LOADING_SHARP_FILL }}",b).replace("{{ LOADING_SHARP_OUTLINE }}",I).replace(/url\(#/g,"url("+window.location.href.replace(window.location.hash,"").replace(/\#$/g,"")+"#"));t.appendChild(j);var L=i("waiting"),x=i("elapsed"),T=i("ratio"),Z=i("speed-flash"),P=i("duration"),k=i("remaining"),Y=i("timestamp"),z=a.css(T,"padding-top"),G=i("play"),O=i("pause"),R=i("timeline"),W=l(R,e.rtl),U=i("fullscreen"),J=i("volumebar"),B=u(J,{rtl:e.rtl}),F=a.hasClass(t,"no-toggle");W.disableAnimation(a.hasClass(t,"is-touch")),e.sliders=e.sliders||{},e.sliders.timeline=W,e.sliders.volume=B;var H=[];N.svg||a.html(L,"<p>loading …</p>"),D.ratio&&M(D.ratio);try{D.fullscreen||a.removeNode(U)}catch(S){a.removeNode(U)}e.on("dvrwindow",function(){W.disable(!1)}),e.on("ready",function(e,n,i){var o=n.video.duration;W.disable(n.disabled||!o),D.adaptiveRatio&&!isNaN(i.height/i.width)&&M(i.height/i.width,!0),a.html([P,k],n.live?"Live":r(o)),a.toggleClass(t,"is-long",o>=3600),B.slide(n.volumeLevel),"flash"===n.engine.engineName?W.disableAnimation(!0,!0):W.disableAnimation(!1),a.find(".fp-title",j).forEach(a.removeNode),i.title&&a.prepend(j,a.createElement("div",{className:"fp-message fp-title"},i.title)),a.toggleClass(t,"has-title",!!i.title)}).on("unload",function(){z||D.splash||a.css(T,"paddingTop",""),W.slide(0),a.addClass(G,"fp-visible")}).on("buffer",function(e,t,n){var i=t.video,r=i.buffer/i.duration;!i.seekable&&N.seekable&&W.max(t.conf.live?1/0:r),n&&"number"!=typeof n||(n=[{start:0,end:i.buffer}]);var o=a.find(".fp-buffer",R);o.length!==n.length&&(o.forEach(a.removeNode),o=[]),n.forEach(function(e,t){var n=o[t]||a.createElement("div",{className:"fp-buffer"});a.css(n,{left:100*e.start/i.duration+"%",width:100*(e.end-e.start)/i.duration+"%"}),a.prepend(R,n)})}).on("speed",function(e,t,n){t.video.time&&(a.text(Z,n+"x"),a.addClass(Z,"fp-shown"),H=H.filter(function(e){return clearTimeout(e),!1}),H.push(setTimeout(function(){a.addClass(Z,"fp-hilite"),H.push(setTimeout(function(){a.removeClass(Z,"fp-hilite"),H.push(setTimeout(function(){a.removeClass(Z,"fp-shown")},300))},1e3))})))}).on("buffered",function(){W.max(1)}).on("progress seek",function(n,i,o){var s=e.video.duration,l=e.video.seekOffset||0;o=o||e.video.time;var u=(o-l)/(s-l);W.dragging||W.slide(u,e.seeking?0:250),a.toggleClass(t,"is-live-position",s-o<D.livePositionOffset),a.html(x,r(o)),a.html(k,r(s-o,!0))}).on("finish resume seek",function(e){a.toggleClass(t,"is-finished","finish"==e.type)}).on("resume",function(){a.addClass(G,"fp-visible"),setTimeout(function(){a.removeClass(G,"fp-visible")},300)}).on("pause",function(){a.addClass(O,"fp-visible"),setTimeout(function(){a.removeClass(O,"fp-visible")},300)}).on("stop",function(){a.html(x,r(0)),W.slide(0,100)}).on("finish",function(){a.html(x,r(e.video.duration)),W.slide(1,100),a.removeClass(t,"is-seeking")}).on("beforeseek",function(){}).on("volume",function(){B.slide(e.volumeLevel)}).on("disable",function(){var n=e.disabled;W.disable(n),B.disable(n),a.toggleClass(t,"is-disabled",e.disabled)}).on("mute",function(e,n,i){a.toggleClass(t,"is-muted",i)}).on("error",function(e,n,i){if(a.removeClass(t,"is-loading"),a.removeClass(t,"is-seeking"),a.addClass(t,"is-error"),i){n.error=!0;var r=i.code;(i.message||"").match(/DECODER_ERROR_NOT_SUPPORTED/)&&(r=3);var o=n.message((n.engine&&n.engine.engineName||"html5")+": "+D.errors[r]);a.removeClass(t,"is-mouseover"),n.one("load progress",function(){o()})}}).one("resume ready",function(){var e=a.find("video.fp-engine",t)[0];if(e&&(!a.width(e)||!a.height(e))){var n=t.style.overflow;t.style.overflow="visible",setTimeout(function(){n?t.style.overflow=n:t.style.removeProperty("overflow")})}}),s.on(t,"mouseenter mouseleave",function(n){if(!F){var i,r="mouseover"==n.type;if(C(r),r){var o=function(){C(!0),i=new Date};e.on("pause.x volume.x",o),s.on(t,"mousemove.x",o),E=setInterval(function(){new Date-i>D.mouseoutTimeout&&(C(!1),i=new Date)},100)}else s.off(t,"mousemove.x"),e.off("pause.x volume.x"),clearInterval(E)}}),s.on(t,"mouseleave",function(){(W.dragging||B.dragging)&&(a.addClass(t,"is-mouseover"),a.removeClass(t,"is-mouseout"))}),s.on(t,"click.player",function(t){return e.disabled?void 0:a.hasClass(t.target,"fp-ui")||a.hasClass(t.target,"fp-engine")||t.flash||a.hasParent(t.target,".fp-play,.fp-pause")?(t.preventDefault&&t.preventDefault(),e.toggle()):void 0}),s.on(t,"mousemove",".fp-timeline",function(t){var n=t.pageX||t.clientX,i=n-a.offset(R).left,o=i/a.width(R),s=e.video,l=s.duration-(void 0===s.seekOffset?0:s.seekOffset),u=(e.rtl?1-o:o)*l;if(!(0>o)){a.html(Y,r(u));var c=i-a.width(Y)/2;0>c&&(c=0),c>a.width(R)-a.width(Y)&&(c=!1),c!==!1?a.css(Y,{left:c+"px",right:"auto"}):a.css(Y,{left:"auto",right:"0px"})}}),s.on(t,"contextmenu",function(n){var i=window;if(!a.hasClass(t,"is-flash-disabled")){var r=a.find(".fp-context-menu",t)[0];r&&(n.preventDefault(),e.showMenu(r,{left:n.clientX-i.scrollX,top:n.clientY-i.scrollY}),s.on(t,"click",".fp-context-menu",function(e){e.stopPropagation()}))}}),e.on("flashdisabled",function(n,i,r){a.addClass(t,"is-flash-disabled");var o;r!==!1&&(o=e.message("Seems something is blocking Adobe Flash from running")),e.one("ready progress",function(){a.removeClass(t,"is-flash-disabled"),o&&o()})}),D.poster&&a.css(t,"background-image","url("+D.poster+")");var V=a.css(t,"background-color"),X="none"!=a.css(t,"background-image")||V&&"rgba(0, 0, 0, 0)"!=V&&"transparent"!=V;if(X&&!D.splash){D.poster||(D.poster=!0);var _=function(){a.addClass(t,"is-poster"),a.addClass(G,"fp-visible"),e.poster=!0,e.one(D.autoplay?"progress beforeseek":"resume beforeseek",function(){a.removeClass(t,"is-poster"),a.removeClass(G,"fp-visible"),e.poster=!1})};e.on("stop",function(){_()}),e.on("ready",function(e,t,n){n.index||n.autoplay||_()})}"string"==typeof D.splash&&a.css(t,"background-image","url('"+D.splash+"')"),!X&&e.forcedSplash&&a.css(t,"background-color","#555"),s.on(t,"click",".fp-toggle, .fp-play, .fp-playbtn",function(){e.disabled||e.toggle()}),s.on(t,"click",".fp-volumebtn",function(){e.mute()}),s.on(t,"click",".fp-fullscreen",function(){e.fullscreen()}),s.on(t,"click",".fp-unload",function(){e.unload()}),s.on(R,"slide",function(t){e.seeking=!0,e.seekTo(10*t)}),s.on(J,"slide",function(t){e.volume(t)}),s.on(t,"click",".fp-duration,.fp-remaining",function(){return e.dvr?e.seekTo(10):void a.toggleClass(t,"is-inverted")}),C(F);var K;if(e.on("shutdown",function(){s.off(R),s.off(J),K&&window.cancelAnimationFrame(K)}),"function"==typeof window.requestAnimationFrame){var Q=function(){var e=a.find(".fp-player",t)[0]||t;a.toggleClass(t,"is-tiny",e.clientWidth<400),a.toggleClass(t,"is-small",e.clientWidth<600&&e.clientWidth>=400),K=window.requestAnimationFrame(Q)};K=window.requestAnimationFrame(Q)}}),t.exports.format=r}).call(this,e("buffer").Buffer)},{"../common":1,"../flowplayer":31,"./ui/bar-slider":28,"./ui/slider":29,bean:34,buffer:35}],28:[function(e,t,n){function i(e,t){function n(t){var n=t.pageX||t.clientX,i=o.offset(e),r=o.width(e);!n&&t.originalEvent&&t.originalEvent.touches&&t.originalEvent.touches.length&&(n=t.originalEvent.touches[0].pageX);var a=n-i.left;a=Math.max(0,Math.min(r,a));var s=a/r;return l&&(s=1-s),s}t=t||{};var i=t.activeClass||"fp-color",a=t.inactiveClass||"fp-grey",s=t.childSelector||"em",l=!!t.rtl,u=!1,c=o.find(s,e).length,f={unload:function(){r.off(e,".barslider")},slide:function(t,n){o.find(s,e).forEach(function(e,n){var r=t>n/c;o.toggleClass(e,i,r),o.toggleClass(e,a,!r)}),n&&r.fire(e,"slide",[t])},disable:function(e){u=e}};return r.on(e,"mousedown.sld touchstart.sld",function(t){t.preventDefault(),u||(f.slide(n(t),!0),r.on(e,"mousemove.sld touchmove.sld",function(e){e.preventDefault(),f.slide(n(e),!0)}),r.one(document,"mouseup.sld touchup.sld",function(){r.off(e,"mousemove.sld touchmove.sld")}))}),f}var r=e("bean"),o=e("../../common");t.exports=i},{"../../common":1,bean:34}],29:[function(e,t,n){"use strict";var i=e("bean"),r=e("../../common"),o=function(e,t){var n;return function(){n||(e.apply(this,arguments),n=1,setTimeout(function(){n=0},t))}},a=function(e,t){var n,a,s,l,u,c,f,d,p=r.lastChild(e),h=!1,g=function(){a=r.offset(e),s=r.width(e),l=r.height(e),c=u?l:s,d=w(f)},m=function(t){n||t==b.value||f&&!(f>t)||(i.fire(e,"slide",[t]),b.value=t)},v=function(e){var n=e.pageX||e.clientX;!n&&e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length&&(n=e.originalEvent.touches[0].pageX);var i=u?e.pageY-a.top:n-a.left;i=Math.max(0,Math.min(d||c,i));var r=i/c;return u&&(r=1-r),t&&(r=1-r),y(r,0,!0)},y=function(e,t){void 0===t&&(t=0),e>1&&(e=1);var n=Math.round(1e3*e)/10+"%";return(!f||f>=e)&&(h?r.removeClass(p,"animated"):(r.addClass(p,"animated"),r.css(p,"transition-duration",(t||0)+"ms")),r.css(p,"width",n)),e},w=function(e){return Math.max(0,Math.min(c,u?(1-e)*l:e*s))},b={max:function(e){f=e},disable:function(e){n=e},slide:function(e,t,n){g(),n&&m(e),y(e,t)},disableAnimation:function(t,n){h=t!==!1,r.toggleClass(e,"no-animation",!!n)}};return g(),i.on(e,"mousedown.sld touchstart",function(t){if(t.preventDefault(),!n){var a=o(m,100);g(),b.dragging=!0,r.addClass(e,"is-dragging"),m(v(t)),i.on(document,"mousemove.sld touchmove.sld",function(e){e.preventDefault(),a(v(e))}),i.one(document,"mouseup touchend",function(){b.dragging=!1,r.removeClass(e,"is-dragging"),i.off(document,"mousemove.sld touchmove.sld")})}}),b};t.exports=a},{"../../common":1,bean:34}],30:[function(e,t,n){function i(e){var t=document.createElement("textarea");t.value=e,t.style.opacity=0,t.style.position="absolute",document.body.appendChild(t),t.select();var n=document.execCommand("copy");if(document.body.removeChild(t),!n)throw new Error("Unsuccessfull")}t.exports=function(e,t,n){try{i(e),t()}catch(r){n(r)}}},{}],31:[function(e,t,n){"use strict";function i(e,t,n){t&&t.embed&&(t.embed=r({},w.defaults.embed,t.embed));var i,s,l=e,p=r({},w.defaults,w.conf,t),g={},m=new I;u.addClass(l,"is-loading"),u.toggleClass(l,"no-flex",!w.support.flex),u.toggleClass(l,"no-svg",!w.support.svg);try{g=h?window.localStorage:g}catch(v){}if(p.aspectRatio&&"string"==typeof p.aspectRatio){var y=p.aspectRatio.split(/[:\/]/);p.ratio=y[1]/y[0]}var M=l.currentStyle&&"rtl"===l.currentStyle.direction||window.getComputedStyle&&null!==window.getComputedStyle(l,null)&&"rtl"===window.getComputedStyle(l,null).getPropertyValue("direction");M&&u.addClass(l,"is-rtl");var C={conf:p,currentSpeed:1,volumeLevel:p.muted?0:"undefined"==typeof p.volume?1*g.volume:p.volume,video:{},disabled:!1,finished:!1,loading:!1,muted:"true"==g.muted||p.muted,paused:!1,playing:!1,ready:!1,splash:!1,rtl:M,hijack:function(e){try{C.engine.suspendEngine()}catch(t){}C.hijacked=e},release:function(){try{C.engine.resumeEngine()}catch(e){}C.hijacked=!1},debug:function(){p.debug&&console.log.apply(console,["DEBUG"].concat([].slice.call(arguments)))},load:function(e,t){if(!C.error&&!C.loading){C.video={},C.finished=!1,e=e||p.clip,e=r({},m.resolve(e,p.clip.sources)),(C.playing||C.engine)&&(e.autoplay=!0);var n=A(e);if(!n)return setTimeout(function(){C.trigger("error",[C,{code:w.support.flashVideo?5:10}])})&&C;if(!n.engineName)throw new Error("engineName property of factory should be exposed");if(C.engine&&n.engineName===C.engine.engineName||(C.ready=!1,C.engine&&(C.engine.unload(),C.conf.autoplay=!0),s=C.engine=n(C,l),C.one("ready",function(){setTimeout(function(){C.muted?C.mute(!0,!0):s.volume(C.volumeLevel)})})),r(e,s.pick(e.sources.filter(function(e){return e.engine?e.engine===s.engineName:!0}))),e.src){var i=C.trigger("load",[C,e,s],!0);i.defaultPrevented?C.loading=!1:(C.ready=!1,s.load(e),o(e)&&(t=e),t&&C.one("ready",t))}return C}},pause:function(e){return C.hijacked?C.hijacked.pause(e)|C:(!C.ready||C.seeking||C.loading||(s.pause(),C.one("pause",e)),C)},resume:function(){var e=C.trigger("beforeresume",[C],!0);if(!e.defaultPrevented)return C.hijacked?C.hijacked.resume()|C:(C.ready&&C.paused&&(s.resume(),C.finished&&(C.trigger("resume",[C]),C.finished=!1)),C)},toggle:function(){return C.ready?C.paused?C.resume():C.pause():C.load()},seek:function(e,t){if("boolean"==typeof e){var n=.1*C.video.duration;e=C.video.time+(e?n:-n),e=Math.min(Math.max(e,0),C.video.duration-.1)}if("undefined"==typeof e)return C;if(C.hijacked)return C.hijacked.seek(e,t)|C;if(C.ready){i=e;var r=C.trigger("beforeseek",[C,e],!0);r.defaultPrevented?(C.seeking=!1,u.toggleClass(l,"is-seeking",C.seeking)):(s.seek(e),o(t)&&C.one("seek",t))}return C},seekTo:function(e,t){return void 0===e?C.seek(i,t):void 0!==C.video.seekOffset?C.seek(C.video.seekOffset+.1*(C.video.duration-C.video.seekOffset)*e,t):C.seek(.1*C.video.duration*e,t)},mute:function(e,t){return void 0===e&&(e=!C.muted),t||(g.muted=C.muted=e,g.volume=isNaN(g.volume)?p.volume:g.volume),"undefined"!=typeof s.mute?s.mute(e):(C.volume(e?0:g.volume,!0),C.trigger("mute",[C,e])),C},volume:function(e,t){return C.ready&&(e=Math.min(Math.max(e,0),1),t||(g.volume=e),s.volume(e)),C},speed:function(e,t){return C.ready&&("boolean"==typeof e&&(e=p.speeds[p.speeds.indexOf(C.currentSpeed)+(e?1:-1)]||C.currentSpeed),s.speed(e),t&&l.one("speed",t)),C},stop:function(){return C.ready&&(C.pause(),!C.live||C.dvr?C.seek(0,function(){C.trigger("stop",[C])}):C.trigger("stop",[C])),C},unload:function(){return p.splash?(C.trigger("unload",[C]),s&&(s.unload(),C.engine=s=0)):C.stop(),C},shutdown:function(){C.unload(),C.trigger("shutdown",[C]),a.off(l),delete f[l.getAttribute("data-flowplayer-instance-id")],l.removeAttribute("data-flowplayer-instance-id")},disable:function(e){return void 0===e&&(e=!C.disabled),e!=C.disabled&&(C.disabled=e,C.trigger("disable",e)),C},registerExtension:function(e,t){e=e||[],t=t||[],"string"==typeof e&&(e=[e]),"string"==typeof t&&(t=[t]),e.forEach(function(e){C.extensions.js.push(e)}),t.forEach(function(e){C.extensions.css.push(e)})}};C.conf=r(C.conf,p),C.extensions={js:[],css:[]},w.extensions.forEach(function(e){C.registerExtension(e[0],e[1])}),c(C);var A=function(e){var t,n=w.engines;if(p.engine){var i=n.filter(function(e){return e.engineName===p.engine})[0];if(i&&e.sources.some(function(e){return e.engine&&e.engine!==i.engineName?!1:i.canPlay(e.type,C.conf)}))return i}return p.enginePreference&&(n=w.engines.filter(function(e){return p.enginePreference.indexOf(e.engineName)>-1}).sort(function(e,t){return p.enginePreference.indexOf(e.engineName)-p.enginePreference.indexOf(t.engineName)})),e.sources.some(function(e){var i=n.filter(function(t){return e.engine&&e.engine!==t.engineName?!1:t.canPlay(e.type,C.conf)}).shift();return i&&(t=i),!!i}),t};return l.getAttribute("data-flowplayer-instance-id")||(l.setAttribute("data-flowplayer-instance-id",b++),C.on("boot",function(){var e=w.support;(p.splash||u.hasClass(l,"is-splash")||!e.firstframe)&&(C.forcedSplash=!p.splash&&!u.hasClass(l,"is-splash"),C.splash=!0,p.splash||(p.splash=!0),u.addClass(l,"is-splash")),p.splash&&u.find("video",l).forEach(u.removeNode),(p.dvr||p.live||u.hasClass(l,"is-live"))&&(C.live=p.live=!0,C.dvr=p.dvr=!!p.dvr||u.hasClass(l,"is-dvr"),u.addClass(l,"is-live"),u.toggleClass(l,"is-dvr",C.dvr)),d.forEach(function(e){e(C,l)}),f.push(C),p.splash?C.unload():C.load(),p.disabled&&C.disable(),C.one("ready",n)}).on("load",function(e,t,n){p.splash&&u.find(".flowplayer.is-ready,.flowplayer.is-loading").forEach(function(e){var t=e.getAttribute("data-flowplayer-instance-id");if(t!==l.getAttribute("data-flowplayer-instance-id")){var n=f[Number(t)];n&&n.conf.splash&&n.unload()}}),u.addClass(l,"is-loading"),t.loading=!0,("undefined"!=typeof n.live||"undefined"!=typeof n.dvr)&&(u.toggleClass(l,"is-live",n.dvr||n.live),u.toggleClass(l,"is-dvr",!!n.dvr),t.live=n.dvr||n.live,t.dvr=!!n.dvr)}).on("ready",function(e,t,n){n.time=0,t.video=n,u.removeClass(l,"is-loading"),t.loading=!1,t.muted?t.mute(!0,!0):t.volume(t.volumeLevel);var i=t.conf.hlsFix&&/mpegurl/i.exec(n.type);u.toggleClass(l,"hls-fix",!!i)}).on("unload",function(){u.removeClass(l,"is-loading"),C.loading=!1}).on("ready unload",function(e){var t="ready"==e.type;u.toggleClass(l,"is-splash",!t),u.toggleClass(l,"is-ready",t),C.ready=t,C.splash=!t}).on("progress",function(e,t,n){t.video.time=n}).on("buffer",function(e,t,n){t.video.buffer="number"==typeof n?n:n[n.length-1].end}).on("speed",function(e,t,n){t.currentSpeed=n}).on("volume",function(e,t,n){t.volumeLevel=Math.round(100*n)/100,t.muted?n&&t.mute(!1):g.volume=n}).on("beforeseek seek",function(e){C.seeking="beforeseek"==e.type,u.toggleClass(l,"is-seeking",C.seeking)}).on("ready pause resume unload finish stop",function(e){C.paused=/pause|finish|unload|stop/.test(e.type),C.paused=C.paused||"ready"===e.type&&!p.autoplay&&!C.playing,C.playing=!C.paused,u.toggleClass(l,"is-paused",C.paused),u.toggleClass(l,"is-playing",C.playing),C.load.ed||C.pause()}).on("finish",function(){C.finished=!0}).on("error",function(){})),C.trigger("boot",[C,l]),C}var r=e("extend-object"),o=e("is-function"),a=e("bean"),s=e("./ext/ui/slider"),l=e("./ext/ui/bar-slider"),u=e("./common"),c=e("./ext/events"),f=[],d=[],p=window.onbeforeunload;window.onbeforeunload=function(e){return f.forEach(function(e){e.conf.splash?e.unload():e.bind("error",function(){u.find(".flowplayer.is-error .fp-message").forEach(u.removeNode)})}),p?p(e):void 0};var h=!1;try{"object"==typeof window.localStorage&&(window.localStorage.flowplayerTestStorage="test",h=!0)}catch(g){}var m=/Safari/.exec(navigator.userAgent)&&!/Chrome/.exec(navigator.userAgent),v=/(\d+\.\d+) Safari/.exec(navigator.userAgent),y=v?Number(v[1]):100,w=t.exports=function(e,t,n){if(o(e))return d.push(e);if("number"==typeof e||"undefined"==typeof e)return f[e||0];if(e.nodeType){if(null!==e.getAttribute("data-flowplayer-instance-id"))return f[e.getAttribute("data-flowplayer-instance-id")];if(!t)return;return i(e,t,n)}if(e.jquery)return w(e[0],t,n);if("string"==typeof e){var r=u.find(e)[0];return r&&w(r,t,n)}};r(w,{version:"7.2.1",engines:[],engine:function(e){return w.engines.filter(function(t){return t.engineName===e})[0]},extensions:[],conf:{},set:function(e,t){"string"==typeof e?w.conf[e]=t:r(w.conf,e)},registerExtension:function(e,t){w.extensions.push([e,t])},support:{},defaults:{debug:h?!!localStorage.flowplayerDebug:!1,disabled:!1,fullscreen:window==window.top,keyboard:!0,ratio:9/16,adaptiveRatio:!1,rtmp:0,proxy:"best",hlsQualities:!0,splash:!1,live:!1,livePositionOffset:120,swf:"//releases.flowplayer.org/7.2.1/flowplayer.swf",swfHls:"//releases.flowplayer.org/7.2.1/flowplayerhls.swf",speeds:[.25,.5,1,1.5,2],tooltip:!0,mouseoutTimeout:5e3,volume:h?"true"==localStorage.muted?0:isNaN(localStorage.volume)?1:localStorage.volume||1:1,errors:["","Video loading aborted","Network error","Video not properly encoded","Video file not found","Unsupported video","Skin not found","SWF file not found","Subtitles not found","Invalid RTMP URL","Unsupported video format. Try installing Adobe Flash."],errorUrls:["","","","","","","","","","","http://get.adobe.com/flashplayer/"],playlist:[],hlsFix:m&&8>y,disableInline:!1},bean:a,common:u,slider:s,barSlider:l,extend:r});var b=0,I=e("./ext/resolve");if("undefined"!=typeof window.jQuery){var M=window.jQuery;M(function(){"function"==typeof M.fn.flowplayer&&M('.flowplayer:has(video,script[type="application/json"])').flowplayer()});var C=function(e){if(!e.length)return{};var t=e.data()||{},n={};return M.each(["autoplay","loop","preload","poster"],function(i,r){var o=e.attr(r);void 0!==o&&-1!==["autoplay","poster"].indexOf(r)?n[r]=o?o:!0:void 0!==o&&(t[r]=o?o:!0)}),e[0].autoplay=e[0].preload=!1,t.subtitles=e.find("track").map(function(){var e=M(this);return{src:e.attr("src"),kind:e.attr("kind"),label:e.attr("label"),srclang:e.attr("srclang"),"default":e.prop("default")}}).get(),t.sources=(new I).sourcesFromVideoTag(e,M),r(n,{clip:t})};M.fn.flowplayer=function(e,t){return this.each(function(){"string"==typeof e&&(e={swf:e}),o(e)&&(t=e,e={});var n=M(this),r=n.find('script[type="application/json"]'),a=r.length?JSON.parse(r.text()):C(n.find("video")),s=M.extend({},e||{},a,n.data()),l=i(this,s,t);c.EVENTS.forEach(function(e){l.on(e+".jquery",function(e){n.trigger.call(n,e.type,e.detail&&e.detail.args)})}),n.data("flowplayer",l)})}}},{"./common":1,"./ext/events":12,"./ext/resolve":21,"./ext/ui/bar-slider":28,"./ext/ui/slider":29,bean:34,"extend-object":39,"is-function":42}],32:[function(e,t,n){e("es5-shim");var i=t.exports=e("./flowplayer");e("./ext/support"),e("./engine/embed"),e("./engine/hlsjs"),e("./engine/html5"),e("./engine/flash"),e("./ext/ui"),e("./ext/message"),e("./ext/keyboard"),e("./ext/playlist"),e("./ext/cuepoint"),e("./ext/subtitle"),e("./ext/analytics"),e("./ext/share"),e("./ext/facebook"),e("./ext/twitter"),e("./ext/embed"),e("./ext/airplay"),e("./ext/chromecast"),e("./ext/qsel"),e("./ext/menu"),e("./ext/fullscreen"),e("./ext/mobile"),i(function(e,t){function n(e){var t=document.createElement("a");return t.href=e,s.hostname(t.hostname)}var r=function(e,t){var n=e.className.split(" ");-1===n.indexOf(t)&&(e.className+=" "+t)},o=function(e){return"none"!==window.getComputedStyle(e).display},a=e.conf,s=i.common,l=s.createElement,u=a.swf.indexOf("flowplayer.org")&&a.e&&t.getAttribute("data-origin"),c=u?n(u):s.hostname(),f=(document,a.key);if("file:"==location.protocol&&(c="localhost"),e.load.ed=1,a.hostname=c,a.origin=u||location.href,u&&r(t,"is-embedded"),"string"==typeof f&&(f=f.split(/,\s*/)),f&&"function"==typeof key_check&&key_check(f,c)){if(a.logo){var d=s.find(".fp-player",t)[0],p=a.logo.href||"",h=a.logo.src||a.logo,g=l("a",{className:"fp-logo",href:p});u&&(g.href=g.href||u),a.embed&&a.embed.popup&&(g.target="_blank");var m=l("img",{src:h});g.appendChild(m),(d||t).appendChild(g)}}else{var g=l("a",{href:"https://flowplayer.com/hello/?from=player"});t.appendChild(g);var v=l("div",{className:"fp-context-menu fp-menu"},'<strong>© 2017 Flowplayer</strong><a href="https://flowplayer.com/hello/?from=player">About Flowplayer</a><a href="https://flowplayer.com/license">GPL based license</a>'),y=window.location.href.indexOf("localhost"),d=s.find(".fp-player",t)[0];7!==y&&(d||t).appendChild(v),e.on("pause resume finish unload ready",function(e,n){var i=-1;if(n.video.src)for(var r=[["org","flowplayer","drive"],["org","flowplayer","my"],["org","flowplayer","cdn"],["com","flowplayer","cdn"]],a=0;a<r.length&&(i=n.video.src.indexOf("://"+r[a].reverse().join(".")),-1===i);a++);if(/pause|resume/.test(e.type)&&"flash"!=n.engine.engineName&&4!=i&&5!=i){var s={display:"block",position:"absolute",left:"16px",bottom:"70px",zIndex:99999,width:"100px",height:"20px",backgroundImage:"url("+[".png","logo","/",".net",".cloudfront","d32wqyuo10o653","//"].reverse().join("")+")"};for(var l in s)s.hasOwnProperty(l)&&(g.style[l]=s[l]);n.load.ed=o(g)&&(7===y||v.parentNode==t||v.parentNode==d),n.load.ed||n.pause()}else g.style.display="none"})}})},{"./engine/embed":2,"./engine/flash":3,"./engine/hlsjs":4,"./engine/html5":6,"./ext/airplay":7,"./ext/analytics":8,"./ext/chromecast":9,"./ext/cuepoint":10,"./ext/embed":11,"./ext/facebook":13,"./ext/fullscreen":14,"./ext/keyboard":15,"./ext/menu":16,"./ext/message":17,"./ext/mobile":18,"./ext/playlist":19,"./ext/qsel":20,"./ext/share":22,"./ext/subtitle":23,"./ext/support":25,"./ext/twitter":26,"./ext/ui":27,"./flowplayer":31,"es5-shim":38}],33:[function(e,t,n){"use strict";function i(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function r(e){return 3*e.length/4-i(e)}function o(e){var t,n,r,o,a,s=e.length;o=i(e),a=new f(3*s/4-o),n=o>0?s-4:s;var l=0;for(t=0;n>t;t+=4)r=c[e.charCodeAt(t)]<<18|c[e.charCodeAt(t+1)]<<12|c[e.charCodeAt(t+2)]<<6|c[e.charCodeAt(t+3)],a[l++]=r>>16&255,a[l++]=r>>8&255,a[l++]=255&r;return 2===o?(r=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,a[l++]=255&r):1===o&&(r=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,a[l++]=r>>8&255,a[l++]=255&r),a}function a(e){return u[e>>18&63]+u[e>>12&63]+u[e>>6&63]+u[63&e]}function s(e,t,n){for(var i,r=[],o=t;n>o;o+=3)i=(e[o]<<16)+(e[o+1]<<8)+e[o+2],r.push(a(i));return r.join("")}function l(e){for(var t,n=e.length,i=n%3,r="",o=[],a=16383,l=0,c=n-i;c>l;l+=a)o.push(s(e,l,l+a>c?c:l+a));return 1===i?(t=e[n-1],r+=u[t>>2],r+=u[t<<4&63],r+="=="):2===i&&(t=(e[n-2]<<8)+e[n-1],r+=u[t>>10],r+=u[t>>4&63],r+=u[t<<2&63],r+="="),o.push(r),o.join("")}n.byteLength=r,n.toByteArray=o,n.fromByteArray=l;for(var u=[],c=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,h=d.length;h>p;++p)u[p]=d[p],c[d.charCodeAt(p)]=p;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},{}],34:[function(t,n,i){!function(t,i,r){"undefined"!=typeof n&&n.exports?n.exports=r():"function"==typeof e&&e.amd?e(r):i[t]=r()}("bean",this,function(e,t){e=e||"bean",t=t||this;var n,i=window,r=t[e],o=/[^\.]*(?=\..*)\.|.*/,a=/\..*/,s="addEventListener",l="removeEventListener",u=document||{},c=u.documentElement||{},f=c[s],d=f?s:"attachEvent",p={},h=Array.prototype.slice,g=function(e,t){return e.split(t||" ")},m=function(e){return"string"==typeof e},v=function(e){return"function"==typeof e},y="click dblclick mouseup mousedown contextmenu mousewheel mousemultiwheel DOMMouseScroll mouseover mouseout mousemove selectstart selectend keydown keypress keyup orientationchange focus blur change reset select submit load unload beforeunload resize move DOMContentLoaded readystatechange message error abort scroll ",w="show input invalid touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend textinput readystatechange pageshow pagehide popstate hashchange offline online afterprint beforeprint dragstart dragenter dragover dragleave drag drop dragend loadstart progress suspend emptied stalled loadmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate play pause ratechange volumechange cuechange checking noupdate downloading cached updateready obsolete ",b=function(e,t,n){for(n=0;n<t.length;n++)t[n]&&(e[t[n]]=1);return e}({},g(y+(f?w:""))),I=function(){var e="compareDocumentPosition"in c?function(e,t){return t.compareDocumentPosition&&16===(16&t.compareDocumentPosition(e))}:"contains"in c?function(e,t){return t=9===t.nodeType||t===window?c:t,t!==e&&t.contains(e)}:function(e,t){for(;e=e.parentNode;)if(e===t)return 1;return 0},t=function(t){var n=t.relatedTarget;return n?n!==this&&"xul"!==n.prefix&&!/document/.test(this.toString())&&!e(n,this):null==n};return{mouseenter:{base:"mouseover",condition:t},mouseleave:{base:"mouseout",condition:t},mousewheel:{base:/Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel"}}}(),M=function(){var e=g("altKey attrChange attrName bubbles cancelable ctrlKey currentTarget detail eventPhase getModifierState isTrusted metaKey relatedNode relatedTarget shiftKey srcElement target timeStamp type view which propertyName"),t=e.concat(g("button buttons clientX clientY dataTransfer fromElement offsetX offsetY pageX pageY screenX screenY toElement")),n=t.concat(g("wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ axis")),r=e.concat(g("char charCode key keyCode keyIdentifier keyLocation location")),o=e.concat(g("data")),a=e.concat(g("touches targetTouches changedTouches scale rotation")),s=e.concat(g("data origin source")),l=e.concat(g("state")),f=/over|out/,d=[{reg:/key/i,fix:function(e,t){return t.keyCode=e.keyCode||e.which,r}},{reg:/click|mouse(?!(.*wheel|scroll))|menu|drag|drop/i,fix:function(e,n,i){return n.rightClick=3===e.which||2===e.button,n.pos={x:0,y:0},e.pageX||e.pageY?(n.clientX=e.pageX,n.clientY=e.pageY):(e.clientX||e.clientY)&&(n.clientX=e.clientX+u.body.scrollLeft+c.scrollLeft,n.clientY=e.clientY+u.body.scrollTop+c.scrollTop),f.test(i)&&(n.relatedTarget=e.relatedTarget||e[("mouseover"==i?"from":"to")+"Element"]),t}},{reg:/mouse.*(wheel|scroll)/i,fix:function(){return n}},{reg:/^text/i,fix:function(){return o}},{reg:/^touch|^gesture/i,fix:function(){return a}},{reg:/^message$/i,fix:function(){return s}},{reg:/^popstate$/i,fix:function(){return l}},{reg:/.*/,fix:function(){return e}}],p={},h=function(e,t,n){if(arguments.length&&(e=e||((t.ownerDocument||t.document||t).parentWindow||i).event,this.originalEvent=e,this.isNative=n,this.isBean=!0,e)){var r,o,a,s,l,u=e.type,c=e.target||e.srcElement;if(this.target=c&&3===c.nodeType?c.parentNode:c,n){if(l=p[u],!l)for(r=0,o=d.length;o>r;r++)if(d[r].reg.test(u)){p[u]=l=d[r].fix;break}for(s=l(e,this,u),r=s.length;r--;)!((a=s[r])in this)&&a in e&&(this[a]=e[a])}}};return h.prototype.preventDefault=function(){this.originalEvent.preventDefault?this.originalEvent.preventDefault():this.originalEvent.returnValue=!1;
|
9 |
-
},h.prototype.stopPropagation=function(){this.originalEvent.stopPropagation?this.originalEvent.stopPropagation():this.originalEvent.cancelBubble=!0},h.prototype.stop=function(){this.preventDefault(),this.stopPropagation(),this.stopped=!0},h.prototype.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this.isImmediatePropagationStopped=function(){return!0}},h.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()},h.prototype.clone=function(e){var t=new h(this,this.element,this.isNative);return t.currentTarget=e,t},h}(),C=function(e,t){return f||t||e!==u&&e!==i?e:c},A=function(){var e=function(e,t,n,i){var r=function(n,r){return t.apply(e,i?h.call(r,n?0:1).concat(i):r)},o=function(n,i){return t.__beanDel?t.__beanDel.ft(n.target,e):i},a=n?function(e){var t=o(e,this);return n.apply(t,arguments)?(e&&(e.currentTarget=t),r(e,arguments)):void 0}:function(e){return t.__beanDel&&(e=e.clone(o(e))),r(e,arguments)};return a.__beanDel=t.__beanDel,a},t=function(t,n,i,r,o,a,s){var l,u=I[n];"unload"==n&&(i=j(L,t,n,i,r)),u&&(u.condition&&(i=e(t,i,u.condition,a)),n=u.base||n),this.isNative=l=b[n]&&!!t[d],this.customType=!f&&!l&&n,this.element=t,this.type=n,this.original=r,this.namespaces=o,this.eventType=f||l?n:"propertychange",this.target=C(t,l),this[d]=!!this.target[d],this.root=s,this.handler=e(t,i,null,a)};return t.prototype.inNamespaces=function(e){var t,n,i=0;if(!e)return!0;if(!this.namespaces)return!1;for(t=e.length;t--;)for(n=this.namespaces.length;n--;)e[t]==this.namespaces[n]&&i++;return e.length===i},t.prototype.matches=function(e,t,n){return!(this.element!==e||t&&this.original!==t||n&&this.handler!==n)},t}(),S=function(){var e={},t=function(n,i,r,o,a,s){var l=a?"r":"$";if(i&&"*"!=i){var u,c=0,f=e[l+i],d="*"==n;if(!f)return;for(u=f.length;u>c;c++)if((d||f[c].matches(n,r,o))&&!s(f[c],f,c,i))return}else for(var p in e)p.charAt(0)==l&&t(n,p.substr(1),r,o,a,s)},n=function(t,n,i,r){var o,a=e[(r?"r":"$")+n];if(a)for(o=a.length;o--;)if(!a[o].root&&a[o].matches(t,i,null))return!0;return!1},i=function(e,n,i,r){var o=[];return t(e,n,i,null,r,function(e){return o.push(e)}),o},r=function(t){var n=!t.root&&!this.has(t.element,t.type,null,!1),i=(t.root?"r":"$")+t.type;return(e[i]||(e[i]=[])).push(t),n},o=function(n){t(n.element,n.type,null,n.handler,n.root,function(t,n,i){return n.splice(i,1),t.removed=!0,0===n.length&&delete e[(t.root?"r":"$")+t.type],!1})},a=function(){var t,n=[];for(t in e)"$"==t.charAt(0)&&(n=n.concat(e[t]));return n};return{has:n,get:i,put:r,del:o,entries:a}}(),E=function(e){n=arguments.length?e:u.querySelectorAll?function(e,t){return t.querySelectorAll(e)}:function(){throw new Error("Bean: No selector engine installed")}},D=function(e,t){if(f||!t||!e||e.propertyName=="_on"+t){var n=S.get(this,t||e.type,null,!1),i=n.length,r=0;for(e=new M(e,this,!0),t&&(e.type=t);i>r&&!e.isImmediatePropagationStopped();r++)n[r].removed||n[r].handler.call(this,e)}},N=f?function(e,t,n){e[n?s:l](t,D,!1)}:function(e,t,n,i){var r;n?(S.put(r=new A(e,i||t,function(t){D.call(e,t,i)},D,null,null,!0)),i&&null==e["_on"+i]&&(e["_on"+i]=0),r.target.attachEvent("on"+r.eventType,r.handler)):(r=S.get(e,i||t,D,!0)[0],r&&(r.target.detachEvent("on"+r.eventType,r.handler),S.del(r)))},j=function(e,t,n,i,r){return function(){i.apply(this,arguments),e(t,n,r)}},L=function(e,t,n,i){var r,o,s=t&&t.replace(a,""),l=S.get(e,s,null,!1),u={};for(r=0,o=l.length;o>r;r++)n&&l[r].original!==n||!l[r].inNamespaces(i)||(S.del(l[r]),!u[l[r].eventType]&&l[r][d]&&(u[l[r].eventType]={t:l[r].eventType,c:l[r].type}));for(r in u)S.has(e,u[r].t,null,!1)||N(e,u[r].t,!1,u[r].c)},x=function(e,t){var i=function(t,i){for(var r,o=m(e)?n(e,i):e;t&&t!==i;t=t.parentNode)for(r=o.length;r--;)if(o[r]===t)return t},r=function(e){var n=i(e.target,this);n&&t.apply(n,arguments)};return r.__beanDel={ft:i,selector:e},r},T=f?function(e,t,n){var r=u.createEvent(e?"HTMLEvents":"UIEvents");r[e?"initEvent":"initUIEvent"](t,!0,!0,i,1),n.dispatchEvent(r)}:function(e,t,n){n=C(n,e),e?n.fireEvent("on"+t,u.createEventObject()):n["_on"+t]++},Z=function(e,t,n){var i,r,s,l,u=m(t);if(u&&t.indexOf(" ")>0){for(t=g(t),l=t.length;l--;)Z(e,t[l],n);return e}if(r=u&&t.replace(a,""),r&&I[r]&&(r=I[r].base),!t||u)(s=u&&t.replace(o,""))&&(s=g(s,".")),L(e,r,n,s);else if(v(t))L(e,null,t);else for(i in t)t.hasOwnProperty(i)&&Z(e,i,t[i]);return e},P=function(e,t,i,r){var s,l,u,c,f,m,y;{if(void 0!==i||"object"!=typeof t){for(v(i)?(f=h.call(arguments,3),r=s=i):(s=r,f=h.call(arguments,4),r=x(i,s,n)),u=g(t),this===p&&(r=j(Z,e,t,r,s)),c=u.length;c--;)y=S.put(m=new A(e,u[c].replace(a,""),r,s,g(u[c].replace(o,""),"."),f,!1)),m[d]&&y&&N(e,m.eventType,!0,m.customType);return e}for(l in t)t.hasOwnProperty(l)&&P.call(this,e,l,t[l])}},k=function(e,t,n,i){return P.apply(null,m(n)?[e,n,t,i].concat(arguments.length>3?h.call(arguments,5):[]):h.call(arguments))},Y=function(){return P.apply(p,arguments)},z=function(e,t,n){var i,r,s,l,u,c=g(t);for(i=c.length;i--;)if(t=c[i].replace(a,""),(l=c[i].replace(o,""))&&(l=g(l,".")),l||n||!e[d])for(u=S.get(e,t,null,!1),n=[!1].concat(n),r=0,s=u.length;s>r;r++)u[r].inNamespaces(l)&&u[r].handler.apply(e,n);else T(b[t],t,e);return e},G=function(e,t,n){for(var i,r,o=S.get(t,n,null,!1),a=o.length,s=0;a>s;s++)o[s].original&&(i=[e,o[s].type],(r=o[s].handler.__beanDel)&&i.push(r.selector),i.push(o[s].original),P.apply(null,i));return e},O={on:P,add:k,one:Y,off:Z,remove:Z,clone:G,fire:z,Event:M,setSelectorEngine:E,noConflict:function(){return t[e]=r,this}};if(i.attachEvent){var R=function(){var e,t=S.entries();for(e in t)t[e].type&&"unload"!==t[e].type&&Z(t[e].element,t[e].type);i.detachEvent("onunload",R),i.CollectGarbage&&i.CollectGarbage()};i.attachEvent("onunload",R)}return E(),O})},{}],35:[function(e,t,n){(function(t){"use strict";function i(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function r(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(r()<t)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=a.prototype):(null===e&&(e=new a(t)),e.length=t),e}function a(e,t,n){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return c(this,e)}return s(this,e,t,n)}function s(e,t,n,i){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?p(e,t,n,i):"string"==typeof t?f(e,t,n):h(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(0>e)throw new RangeError('"size" argument must not be negative')}function u(e,t,n,i){return l(t),0>=t?o(e,t):void 0!==n?"string"==typeof i?o(e,t).fill(n,i):o(e,t).fill(n):o(e,t)}function c(e,t){if(l(t),e=o(e,0>t?0:0|g(t)),!a.TYPED_ARRAY_SUPPORT)for(var n=0;t>n;++n)e[n]=0;return e}function f(e,t,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!a.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|v(t,n);e=o(e,i);var r=e.write(t,n);return r!==i&&(e=e.slice(0,r)),e}function d(e,t){var n=t.length<0?0:0|g(t.length);e=o(e,n);for(var i=0;n>i;i+=1)e[i]=255&t[i];return e}function p(e,t,n,i){if(t.byteLength,0>n||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,n):new Uint8Array(t,n,i),a.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=a.prototype):e=d(e,t),e}function h(e,t){if(a.isBuffer(t)){var n=0|g(t.length);return e=o(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||K(t.length)?o(e,0):d(e,t);if("Buffer"===t.type&&$(t.data))return d(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function g(e){if(e>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function m(e){return+e!=e&&(e=0),a.alloc(+e)}function v(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(e).length;default:if(i)return F(e).length;t=(""+t).toLowerCase(),i=!0}}function y(e,t,n){var i=!1;if((void 0===t||0>t)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),0>=n)return"";if(n>>>=0,t>>>=0,t>=n)return"";for(e||(e="utf8");;)switch(e){case"hex":return Z(this,t,n);case"utf8":case"utf-8":return j(this,t,n);case"ascii":return x(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return N(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function w(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function b(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),0>n&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(0>n){if(!r)return-1;n=0}if("string"==typeof t&&(t=a.from(t,i)),a.isBuffer(t))return 0===t.length?-1:I(e,t,n,i,r);if("number"==typeof t)return t=255&t,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):I(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function I(e,t,n,i,r){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,l=t.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}var u;if(r){var c=-1;for(u=n;s>u;u++)if(o(e,u)===o(t,-1===c?0:u-c)){if(-1===c&&(c=u),u-c+1===l)return c*a}else-1!==c&&(u-=u-c),c=-1}else for(n+l>s&&(n=s-l),u=n;u>=0;u--){for(var f=!0,d=0;l>d;d++)if(o(e,u+d)!==o(t,d)){f=!1;break}if(f)return u}return-1}function M(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?(i=Number(i),i>r&&(i=r)):i=r;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var a=0;i>a;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function C(e,t,n,i){return _(F(t,e.length-n),e,n,i)}function A(e,t,n,i){return _(H(t),e,n,i)}function S(e,t,n,i){return A(e,t,n,i)}function E(e,t,n,i){return _(X(t),e,n,i)}function D(e,t,n,i){return _(V(t,e.length-n),e,n,i)}function N(e,t,n){return 0===t&&n===e.length?Q.fromByteArray(e):Q.fromByteArray(e.slice(t,n))}function j(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;n>r;){var o=e[r],a=null,s=o>239?4:o>223?3:o>191?2:1;if(n>=r+s){var l,u,c,f;switch(s){case 1:128>o&&(a=o);break;case 2:l=e[r+1],128===(192&l)&&(f=(31&o)<<6|63&l,f>127&&(a=f));break;case 3:l=e[r+1],u=e[r+2],128===(192&l)&&128===(192&u)&&(f=(15&o)<<12|(63&l)<<6|63&u,f>2047&&(55296>f||f>57343)&&(a=f));break;case 4:l=e[r+1],u=e[r+2],c=e[r+3],128===(192&l)&&128===(192&u)&&128===(192&c)&&(f=(15&o)<<18|(63&l)<<12|(63&u)<<6|63&c,f>65535&&1114112>f&&(a=f))}}null===a?(a=65533,s=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|1023&a),i.push(a),r+=s}return L(i)}function L(e){var t=e.length;if(ee>=t)return String.fromCharCode.apply(String,e);for(var n="",i=0;t>i;)n+=String.fromCharCode.apply(String,e.slice(i,i+=ee));return n}function x(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;n>r;++r)i+=String.fromCharCode(127&e[r]);return i}function T(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;n>r;++r)i+=String.fromCharCode(e[r]);return i}function Z(e,t,n){var i=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>i)&&(n=i);for(var r="",o=t;n>o;++o)r+=B(e[o]);return r}function P(e,t,n){for(var i=e.slice(t,n),r="",o=0;o<i.length;o+=2)r+=String.fromCharCode(i[o]+256*i[o+1]);return r}function k(e,t,n){if(e%1!==0||0>e)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function Y(e,t,n,i,r,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||o>t)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function z(e,t,n,i){0>t&&(t=65535+t+1);for(var r=0,o=Math.min(e.length-n,2);o>r;++r)e[n+r]=(t&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function G(e,t,n,i){0>t&&(t=4294967295+t+1);for(var r=0,o=Math.min(e.length-n,4);o>r;++r)e[n+r]=t>>>8*(i?r:3-r)&255}function O(e,t,n,i,r,o){if(n+i>e.length)throw new RangeError("Index out of range");if(0>n)throw new RangeError("Index out of range")}function R(e,t,n,i,r){return r||O(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),q.write(e,t,n,i,23,4),n+4}function W(e,t,n,i,r){return r||O(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),q.write(e,t,n,i,52,8),n+8}function U(e){if(e=J(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function J(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function B(e){return 16>e?"0"+e.toString(16):e.toString(16)}function F(e,t){t=t||1/0;for(var n,i=e.length,r=null,o=[],a=0;i>a;++a){if(n=e.charCodeAt(a),n>55295&&57344>n){if(!r){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===i){(t-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(56320>n){(t-=3)>-1&&o.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,128>n){if((t-=1)<0)break;o.push(n)}else if(2048>n){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(65536>n){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function V(e,t){for(var n,i,r,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),i=n>>8,r=n%256,o.push(r),o.push(i);return o}function X(e){return Q.toByteArray(U(e))}function _(e,t,n,i){for(var r=0;i>r&&!(r+n>=t.length||r>=e.length);++r)t[r+n]=e[r];return r}function K(e){return e!==e}var Q=e("base64-js"),q=e("ieee754"),$=e("isarray");n.Buffer=a,n.SlowBuffer=m,n.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:i(),n.kMaxLength=r(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,n){return s(null,e,t,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,n){return u(null,e,t,n)},a.allocUnsafe=function(e){return c(null,e)},a.allocUnsafeSlow=function(e){return c(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,r=0,o=Math.min(n,i);o>r;++r)if(e[r]!==t[r]){n=e[r],i=t[r];break}return i>n?-1:n>i?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!$(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=a.allocUnsafe(t),r=0;for(n=0;n<e.length;++n){var o=e[n];if(!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,r),r+=o.length}return i},a.byteLength=v,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;e>t;t+=2)w(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;e>t;t+=4)w(this,t,t+3),w(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;e>t;t+=8)w(this,t,t+7),w(this,t+1,t+6),w(this,t+2,t+5),w(this,t+3,t+4);return this},a.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?j(this,0,e):y.apply(this,arguments)},a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:0===a.compare(this,e)},a.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},a.prototype.compare=function(e,t,n,i,r){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),0>t||n>e.length||0>i||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,r>>>=0,this===e)return 0;for(var o=r-i,s=n-t,l=Math.min(o,s),u=this.slice(i,r),c=e.slice(t,n),f=0;l>f;++f)if(u[f]!==c[f]){o=u[f],s=c[f];break}return s>o?-1:o>s?1:0},a.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},a.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},a.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},a.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t=0|t,isFinite(n)?(n=0|n,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return M(this,e,t,n);case"utf8":case"utf-8":return C(this,e,t,n);case"ascii":return A(this,e,t,n);case"latin1":case"binary":return S(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,0>e?(e+=n,0>e&&(e=0)):e>n&&(e=n),0>t?(t+=n,0>t&&(t=0)):t>n&&(t=n),e>t&&(t=e);var i;if(a.TYPED_ARRAY_SUPPORT)i=this.subarray(e,t),i.__proto__=a.prototype;else{var r=t-e;i=new a(r,void 0);for(var o=0;r>o;++o)i[o]=this[o+e]}return i},a.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||k(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i},a.prototype.readUIntBE=function(e,t,n){e=0|e,t=0|t,n||k(e,t,this.length);for(var i=this[e+--t],r=1;t>0&&(r*=256);)i+=this[e+--t]*r;return i},a.prototype.readUInt8=function(e,t){return t||k(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||k(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||k(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||k(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*t)),i},a.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||k(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return t||k(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){t||k(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){t||k(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||k(e,4,this.length),q.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||k(e,4,this.length),q.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||k(e,8,this.length),q.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||k(e,8,this.length),q.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=0|t,n=0|n,!i){var r=Math.pow(2,8*n)-1;Y(this,e,t,n,r,0)}var o=1,a=0;for(this[t]=255&e;++a<n&&(o*=256);)this[t+a]=e/o&255;return t+n},a.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=0|t,n=0|n,!i){var r=Math.pow(2,8*n)-1;Y(this,e,t,n,r,0)}var o=n-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):G(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):G(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=0|t,!i){var r=Math.pow(2,8*n-1);Y(this,e,t,n,r-1,-r)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)0>e&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},a.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=0|t,!i){var r=Math.pow(2,8*n-1);Y(this,e,t,n,r-1,-r)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)0>e&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),0>e&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):G(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t=0|t,n||Y(this,e,t,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):G(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return W(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return W(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&n>i&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(0>t)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>i)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var r,o=i-n;if(this===e&&t>n&&i>t)for(r=o-1;r>=0;--r)e[r+t]=this[r+n];else if(1e3>o||!a.TYPED_ARRAY_SUPPORT)for(r=0;o>r;++r)e[r+t]=this[r+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},a.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===e.length){var r=e.charCodeAt(0);256>r&&(e=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof e&&(e=255&e);if(0>t||this.length<t||this.length<n)throw new RangeError("Out of range index");if(t>=n)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;n>o;++o)this[o]=e;else{var s=a.isBuffer(e)?e:F(new a(e,i).toString()),l=s.length;for(o=0;n-t>o;++o)this[o+t]=s[o%l]}return this};var te=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":33,ieee754:40,isarray:43}],36:[function(e,t,n){function i(e){function t(e){var t=c();a(t,e)>-1||(t.push(e),f(t))}function n(e){var t=c(),n=a(t,e);-1!==n&&(t.splice(n,1),f(t))}function i(e){return a(c(),e)>-1}function s(e){return i(e)?(n(e),!1):(t(e),!0)}function l(){return e.className}function u(e){var t=c();return t[e]||null}function c(){var t=e.className;return r(t.split(" "),o)}function f(t){var n=t.length;e.className=t.join(" "),p.length=n;for(var i=0;i<t.length;i++)p[i]=t[i];delete t[n]}var d=e.classList;if(d)return d;var p={add:t,remove:n,contains:i,toggle:s,toString:l,length:0,item:u};return p}function r(e,t){for(var n=[],i=0;i<e.length;i++)t(e[i])&&n.push(e[i]);return n}function o(e){return!!e}var a=e("indexof");t.exports=i},{indexof:41}],37:[function(e,t,n){function i(e,t,n,i){return n=window.getComputedStyle,i=n?n(e):e.currentStyle,i?i[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]:void 0}t.exports=i},{}],38:[function(t,n,i){!function(t,r){"use strict";"function"==typeof e&&e.amd?e(r):"object"==typeof i?n.exports=r():t.returnExports=r()}(this,function(){var e,t,n=Array,i=n.prototype,r=Object,o=r.prototype,a=Function,s=a.prototype,l=String,u=l.prototype,c=Number,f=c.prototype,d=i.slice,p=i.splice,h=i.push,g=i.unshift,m=i.concat,v=i.join,y=s.call,w=s.apply,b=Math.max,I=Math.min,M=o.toString,C="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,A=Function.prototype.toString,S=/^\s*class /,E=function(e){try{var t=A.call(e),n=t.replace(/\/\/.*\n/g,""),i=n.replace(/\/\*[.\s\S]*\*\//g,""),r=i.replace(/\n/gm," ").replace(/ {2}/g," ");return S.test(r)}catch(o){return!1}},D=function(e){try{return E(e)?!1:(A.call(e),!0)}catch(t){return!1}},N="[object Function]",j="[object GeneratorFunction]",e=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(C)return D(e);if(E(e))return!1;var t=M.call(e);return t===N||t===j},L=RegExp.prototype.exec,x=function(e){try{return L.call(e),!0}catch(t){return!1}},T="[object RegExp]";t=function(e){return"object"!=typeof e?!1:C?x(e):M.call(e)===T};var Z,P=String.prototype.valueOf,k=function(e){try{return P.call(e),!0}catch(t){return!1}},Y="[object String]";Z=function(e){return"string"==typeof e?!0:"object"!=typeof e?!1:C?k(e):M.call(e)===Y};var z=r.defineProperty&&function(){try{var e={};r.defineProperty(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch(n){return!1}}(),G=function(e){var t;return t=z?function(e,t,n,i){!i&&t in e||r.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(e,t,n,i){!i&&t in e||(e[t]=n)},function(n,i,r){for(var o in i)e.call(i,o)&&t(n,o,i[o],r)}}(o.hasOwnProperty),O=function(e){var t=typeof e;return null===e||"object"!==t&&"function"!==t},R=c.isNaN||function(e){return e!==e},W={ToInteger:function(e){var t=+e;return R(t)?t=0:0!==t&&t!==1/0&&t!==-(1/0)&&(t=(t>0||-1)*Math.floor(Math.abs(t))),t},ToPrimitive:function(t){var n,i,r;if(O(t))return t;if(i=t.valueOf,e(i)&&(n=i.call(t),O(n)))return n;if(r=t.toString,e(r)&&(n=r.call(t),O(n)))return n;throw new TypeError},ToObject:function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return r(e)},ToUint32:function(e){return e>>>0}},U=function(){};G(s,{bind:function(t){var n=this;if(!e(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var i,o=d.call(arguments,1),s=function(){if(this instanceof i){var e=w.call(n,this,m.call(o,d.call(arguments)));return r(e)===e?e:this}return w.call(n,t,m.call(o,d.call(arguments)))},l=b(0,n.length-o.length),u=[],c=0;l>c;c++)h.call(u,"$"+c);return i=a("binder","return function ("+v.call(u,",")+"){ return binder.apply(this, arguments); }")(s),n.prototype&&(U.prototype=n.prototype,i.prototype=new U,U.prototype=null),i}});var J=y.bind(o.hasOwnProperty),B=y.bind(o.toString),F=y.bind(d),H=w.bind(d),V=y.bind(u.slice),X=y.bind(u.split),_=y.bind(u.indexOf),K=y.bind(h),Q=y.bind(o.propertyIsEnumerable),q=y.bind(i.sort),$=n.isArray||function(e){return"[object Array]"===B(e)},ee=1!==[].unshift(0);G(i,{unshift:function(){return g.apply(this,arguments),this.length}},ee),G(n,{isArray:$});var te=r("a"),ne="a"!==te[0]||!(0 in te),ie=function(e){var t=!0,n=!0,i=!1;if(e)try{e.call("foo",function(e,n,i){"object"!=typeof i&&(t=!1)}),e.call([1],function(){"use strict";n="string"==typeof this},"x")}catch(r){i=!0}return!!e&&!i&&t&&n};G(i,{forEach:function(t){var n,i=W.ToObject(this),r=ne&&Z(this)?X(this,""):i,o=-1,a=W.ToUint32(r.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++o<a;)o in r&&("undefined"==typeof n?t(r[o],o,i):t.call(n,r[o],o,i))}},!ie(i.forEach)),G(i,{map:function(t){var i,r=W.ToObject(this),o=ne&&Z(this)?X(this,""):r,a=W.ToUint32(o.length),s=n(a);if(arguments.length>1&&(i=arguments[1]),!e(t))throw new TypeError("Array.prototype.map callback must be a function");for(var l=0;a>l;l++)l in o&&("undefined"==typeof i?s[l]=t(o[l],l,r):s[l]=t.call(i,o[l],l,r));return s}},!ie(i.map)),G(i,{filter:function(t){var n,i,r=W.ToObject(this),o=ne&&Z(this)?X(this,""):r,a=W.ToUint32(o.length),s=[];if(arguments.length>1&&(i=arguments[1]),!e(t))throw new TypeError("Array.prototype.filter callback must be a function");for(var l=0;a>l;l++)l in o&&(n=o[l],("undefined"==typeof i?t(n,l,r):t.call(i,n,l,r))&&K(s,n));return s}},!ie(i.filter)),G(i,{every:function(t){var n,i=W.ToObject(this),r=ne&&Z(this)?X(this,""):i,o=W.ToUint32(r.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.every callback must be a function");for(var a=0;o>a;a++)if(a in r&&!("undefined"==typeof n?t(r[a],a,i):t.call(n,r[a],a,i)))return!1;return!0}},!ie(i.every)),G(i,{some:function(t){var n,i=W.ToObject(this),r=ne&&Z(this)?X(this,""):i,o=W.ToUint32(r.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.some callback must be a function");for(var a=0;o>a;a++)if(a in r&&("undefined"==typeof n?t(r[a],a,i):t.call(n,r[a],a,i)))return!0;return!1}},!ie(i.some));var re=!1;
|
10 |
-
i.reduce&&(re="object"==typeof i.reduce.call("es5",function(e,t,n,i){return i})),G(i,{reduce:function(t){var n=W.ToObject(this),i=ne&&Z(this)?X(this,""):n,r=W.ToUint32(i.length);if(!e(t))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===r&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var o,a=0;if(arguments.length>=2)o=arguments[1];else for(;;){if(a in i){o=i[a++];break}if(++a>=r)throw new TypeError("reduce of empty array with no initial value")}for(;r>a;a++)a in i&&(o=t(o,i[a],a,n));return o}},!re);var oe=!1;i.reduceRight&&(oe="object"==typeof i.reduceRight.call("es5",function(e,t,n,i){return i})),G(i,{reduceRight:function(t){var n=W.ToObject(this),i=ne&&Z(this)?X(this,""):n,r=W.ToUint32(i.length);if(!e(t))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===r&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var o,a=r-1;if(arguments.length>=2)o=arguments[1];else for(;;){if(a in i){o=i[a--];break}if(--a<0)throw new TypeError("reduceRight of empty array with no initial value")}if(0>a)return o;do a in i&&(o=t(o,i[a],a,n));while(a--);return o}},!oe);var ae=i.indexOf&&-1!==[0,1].indexOf(1,2);G(i,{indexOf:function(e){var t=ne&&Z(this)?X(this,""):W.ToObject(this),n=W.ToUint32(t.length);if(0===n)return-1;var i=0;for(arguments.length>1&&(i=W.ToInteger(arguments[1])),i=i>=0?i:b(0,n+i);n>i;i++)if(i in t&&t[i]===e)return i;return-1}},ae);var se=i.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);G(i,{lastIndexOf:function(e){var t=ne&&Z(this)?X(this,""):W.ToObject(this),n=W.ToUint32(t.length);if(0===n)return-1;var i=n-1;for(arguments.length>1&&(i=I(i,W.ToInteger(arguments[1]))),i=i>=0?i:n-Math.abs(i);i>=0;i--)if(i in t&&e===t[i])return i;return-1}},se);var le=function(){var e=[1,2],t=e.splice();return 2===e.length&&$(t)&&0===t.length}();G(i,{splice:function(e,t){return 0===arguments.length?[]:p.apply(this,arguments)}},!le);var ue=function(){var e={};return i.splice.call(e,0,0,1),1===e.length}();G(i,{splice:function(e,t){if(0===arguments.length)return[];var n=arguments;return this.length=b(W.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof t&&(n=F(arguments),n.length<2?K(n,this.length-e):n[1]=W.ToInteger(t)),p.apply(this,n)}},!ue);var ce=function(){var e=new n(1e5);return e[8]="x",e.splice(1,1),7===e.indexOf("x")}(),fe=function(){var e=256,t=[];return t[e]="a",t.splice(e+1,0,"b"),"a"===t[e]}();G(i,{splice:function(e,t){for(var n,i=W.ToObject(this),r=[],o=W.ToUint32(i.length),a=W.ToInteger(e),s=0>a?b(o+a,0):I(a,o),u=I(b(W.ToInteger(t),0),o-s),c=0;u>c;)n=l(s+c),J(i,n)&&(r[c]=i[n]),c+=1;var f,d=F(arguments,2),p=d.length;if(u>p){c=s;for(var h=o-u;h>c;)n=l(c+u),f=l(c+p),J(i,n)?i[f]=i[n]:delete i[f],c+=1;c=o;for(var g=o-u+p;c>g;)delete i[c-1],c-=1}else if(p>u)for(c=o-u;c>s;)n=l(c+u-1),f=l(c+p-1),J(i,n)?i[f]=i[n]:delete i[f],c-=1;c=s;for(var m=0;m<d.length;++m)i[c]=d[m],c+=1;return i.length=o-u+p,r}},!ce||!fe);var de,pe=i.join;try{de="1,2,3"!==Array.prototype.join.call("123",",")}catch(he){de=!0}de&&G(i,{join:function(e){var t="undefined"==typeof e?",":e;return pe.call(Z(this)?X(this,""):this,t)}},de);var ge="1,2"!==[1,2].join(void 0);ge&&G(i,{join:function(e){var t="undefined"==typeof e?",":e;return pe.call(this,t)}},ge);var me=function(e){for(var t=W.ToObject(this),n=W.ToUint32(t.length),i=0;i<arguments.length;)t[n+i]=arguments[i],i+=1;return t.length=n+i,n+i},ve=function(){var e={},t=Array.prototype.push.call(e,void 0);return 1!==t||1!==e.length||"undefined"!=typeof e[0]||!J(e,0)}();G(i,{push:function(e){return $(this)?h.apply(this,arguments):me.apply(this,arguments)}},ve);var ye=function(){var e=[],t=e.push(void 0);return 1!==t||1!==e.length||"undefined"!=typeof e[0]||!J(e,0)}();G(i,{push:me},ye),G(i,{slice:function(e,t){var n=Z(this)?X(this,""):this;return H(n,arguments)}},ne);var we=function(){try{return[1,2].sort(null),[1,2].sort({}),!0}catch(e){}return!1}(),be=function(){try{return[1,2].sort(/a/),!1}catch(e){}return!0}(),Ie=function(){try{return[1,2].sort(void 0),!0}catch(e){}return!1}();G(i,{sort:function(t){if("undefined"==typeof t)return q(this);if(!e(t))throw new TypeError("Array.prototype.sort callback must be a function");return q(this,t)}},we||!Ie||!be);var Me=!Q({toString:null},"toString"),Ce=Q(function(){},"prototype"),Ae=!J("x","0"),Se=function(e){var t=e.constructor;return t&&t.prototype===e},Ee={$window:!0,$console:!0,$parent:!0,$self:!0,$frame:!0,$frames:!0,$frameElement:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$external:!0},De=function(){if("undefined"==typeof window)return!1;for(var e in window)try{!Ee["$"+e]&&J(window,e)&&null!==window[e]&&"object"==typeof window[e]&&Se(window[e])}catch(t){return!0}return!1}(),Ne=function(e){if("undefined"==typeof window||!De)return Se(e);try{return Se(e)}catch(t){return!1}},je=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Le=je.length,xe=function(e){return"[object Arguments]"===B(e)},Te=function(t){return null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&!$(t)&&e(t.callee)},Ze=xe(arguments)?xe:Te;G(r,{keys:function(t){var n=e(t),i=Ze(t),r=null!==t&&"object"==typeof t,o=r&&Z(t);if(!r&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var a=[],s=Ce&&n;if(o&&Ae||i)for(var u=0;u<t.length;++u)K(a,l(u));if(!i)for(var c in t)s&&"prototype"===c||!J(t,c)||K(a,l(c));if(Me)for(var f=Ne(t),d=0;Le>d;d++){var p=je[d];f&&"constructor"===p||!J(t,p)||K(a,p)}return a}});var Pe=r.keys&&function(){return 2===r.keys(arguments).length}(1,2),ke=r.keys&&function(){var e=r.keys(arguments);return 1!==arguments.length||1!==e.length||1!==e[0]}(1),Ye=r.keys;G(r,{keys:function(e){return Ye(Ze(e)?F(e):e)}},!Pe||ke);var ze,Ge,Oe=0!==new Date(-0xc782b5b342b24).getUTCMonth(),Re=new Date(-0x55d318d56a724),We=new Date(14496624e5),Ue="Mon, 01 Jan -45875 11:59:59 GMT"!==Re.toUTCString(),Je=Re.getTimezoneOffset();-720>Je?(ze="Tue Jan 02 -45875"!==Re.toDateString(),Ge=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/.test(We.toString())):(ze="Mon Jan 01 -45875"!==Re.toDateString(),Ge=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/.test(We.toString()));var Be=y.bind(Date.prototype.getFullYear),Fe=y.bind(Date.prototype.getMonth),He=y.bind(Date.prototype.getDate),Ve=y.bind(Date.prototype.getUTCFullYear),Xe=y.bind(Date.prototype.getUTCMonth),_e=y.bind(Date.prototype.getUTCDate),Ke=y.bind(Date.prototype.getUTCDay),Qe=y.bind(Date.prototype.getUTCHours),qe=y.bind(Date.prototype.getUTCMinutes),$e=y.bind(Date.prototype.getUTCSeconds),et=y.bind(Date.prototype.getUTCMilliseconds),tt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],nt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],it=function(e,t){return He(new Date(t,e,0))};G(Date.prototype,{getFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Be(this);return 0>e&&Fe(this)>11?e+1:e},getMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Be(this),t=Fe(this);return 0>e&&t>11?0:t},getDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Be(this),t=Fe(this),n=He(this);if(0>e&&t>11){if(12===t)return n;var i=it(0,e+1);return i-n+1}return n},getUTCFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ve(this);return 0>e&&Xe(this)>11?e+1:e},getUTCMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ve(this),t=Xe(this);return 0>e&&t>11?0:t},getUTCDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ve(this),t=Xe(this),n=_e(this);if(0>e&&t>11){if(12===t)return n;var i=it(0,e+1);return i-n+1}return n}},Oe),G(Date.prototype,{toUTCString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ke(this),t=_e(this),n=Xe(this),i=Ve(this),r=Qe(this),o=qe(this),a=$e(this);return tt[e]+", "+(10>t?"0"+t:t)+" "+nt[n]+" "+i+" "+(10>r?"0"+r:r)+":"+(10>o?"0"+o:o)+":"+(10>a?"0"+a:a)+" GMT"}},Oe||Ue),G(Date.prototype,{toDateString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),i=this.getFullYear();return tt[e]+" "+nt[n]+" "+(10>t?"0"+t:t)+" "+i}},Oe||ze),(Oe||Ge)&&(Date.prototype.toString=function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),i=this.getFullYear(),r=this.getHours(),o=this.getMinutes(),a=this.getSeconds(),s=this.getTimezoneOffset(),l=Math.floor(Math.abs(s)/60),u=Math.floor(Math.abs(s)%60);return tt[e]+" "+nt[n]+" "+(10>t?"0"+t:t)+" "+i+" "+(10>r?"0"+r:r)+":"+(10>o?"0"+o:o)+":"+(10>a?"0"+a:a)+" GMT"+(s>0?"-":"+")+(10>l?"0"+l:l)+(10>u?"0"+u:u)},z&&r.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var rt=-621987552e5,ot="-000001",at=Date.prototype.toISOString&&-1===new Date(rt).toISOString().indexOf(ot),st=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString(),lt=y.bind(Date.prototype.getTime);G(Date.prototype,{toISOString:function(){if(!isFinite(this)||!isFinite(lt(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var e=Ve(this),t=Xe(this);e+=Math.floor(t/12),t=(t%12+12)%12;var n=[t+1,_e(this),Qe(this),qe(this),$e(this)];e=(0>e?"-":e>9999?"+":"")+V("00000"+Math.abs(e),e>=0&&9999>=e?-4:-6);for(var i=0;i<n.length;++i)n[i]=V("00"+n[i],-2);return e+"-"+F(n,0,2).join("-")+"T"+F(n,2).join(":")+"."+V("000"+et(this),-3)+"Z"}},at||st);var ut=function(){try{return Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&-1!==new Date(rt).toJSON().indexOf(ot)&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(e){return!1}}();ut||(Date.prototype.toJSON=function(t){var n=r(this),i=W.ToPrimitive(n);if("number"==typeof i&&!isFinite(i))return null;var o=n.toISOString;if(!e(o))throw new TypeError("toISOString property is not callable");return o.call(n)});var ct=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),ft=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"))||!isNaN(Date.parse("2012-12-31T23:59:60.000Z")),dt=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));if(dt||ft||!ct){var pt=Math.pow(2,31)-1,ht=R(new Date(1970,0,1,0,0,0,pt+1).getTime());Date=function(e){var t=function(n,i,r,o,a,s,u){var c,f=arguments.length;if(this instanceof e){var d=s,p=u;if(ht&&f>=7&&u>pt){var h=Math.floor(u/pt)*pt,g=Math.floor(h/1e3);d+=g,p-=1e3*g}c=1===f&&l(n)===n?new e(t.parse(n)):f>=7?new e(n,i,r,o,a,d,p):f>=6?new e(n,i,r,o,a,d):f>=5?new e(n,i,r,o,a):f>=4?new e(n,i,r,o):f>=3?new e(n,i,r):f>=2?new e(n,i):f>=1?new e(n instanceof e?+n:n):new e}else c=e.apply(this,arguments);return O(c)||G(c,{constructor:t},!0),c},n=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),i=[0,31,59,90,120,151,181,212,243,273,304,334,365],r=function(e,t){var n=t>1?1:0;return i[t]+Math.floor((e-1969+n)/4)-Math.floor((e-1901+n)/100)+Math.floor((e-1601+n)/400)+365*(e-1970)},o=function(t){var n=0,i=t;if(ht&&i>pt){var r=Math.floor(i/pt)*pt,o=Math.floor(r/1e3);n+=o,i-=1e3*o}return c(new e(1970,0,1,0,0,n,i))};for(var a in e)J(e,a)&&(t[a]=e[a]);G(t,{now:e.now,UTC:e.UTC},!0),t.prototype=e.prototype,G(t.prototype,{constructor:t},!0);var s=function(t){var i=n.exec(t);if(i){var a,s=c(i[1]),l=c(i[2]||1)-1,u=c(i[3]||1)-1,f=c(i[4]||0),d=c(i[5]||0),p=c(i[6]||0),h=Math.floor(1e3*c(i[7]||0)),g=Boolean(i[4]&&!i[8]),m="-"===i[9]?1:-1,v=c(i[10]||0),y=c(i[11]||0),w=d>0||p>0||h>0;return(w?24:25)>f&&60>d&&60>p&&1e3>h&&l>-1&&12>l&&24>v&&60>y&&u>-1&&u<r(s,l+1)-r(s,l)&&(a=60*(24*(r(s,l)+u)+f+v*m),a=1e3*(60*(a+d+y*m)+p)+h,g&&(a=o(a)),a>=-864e13&&864e13>=a)?a:NaN}return e.parse.apply(this,arguments)};return G(t,{parse:s}),t}(Date)}Date.now||(Date.now=function(){return(new Date).getTime()});var gt=f.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0)),mt={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(e,t){for(var n=-1,i=t;++n<mt.size;)i+=e*mt.data[n],mt.data[n]=i%mt.base,i=Math.floor(i/mt.base)},divide:function(e){for(var t=mt.size,n=0;--t>=0;)n+=mt.data[t],mt.data[t]=Math.floor(n/e),n=n%e*mt.base},numToString:function(){for(var e=mt.size,t="";--e>=0;)if(""!==t||0===e||0!==mt.data[e]){var n=l(mt.data[e]);""===t?t=n:t+=V("0000000",0,7-n.length)+n}return t},pow:function Yt(e,t,n){return 0===t?n:t%2===1?Yt(e,t-1,n*e):Yt(e*e,t/2,n)},log:function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}},vt=function(e){var t,n,i,r,o,a,s,u;if(t=c(e),t=R(t)?0:Math.floor(t),0>t||t>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(n=c(this),R(n))return"NaN";if(-1e21>=n||n>=1e21)return l(n);if(i="",0>n&&(i="-",n=-n),r="0",n>1e-21)if(o=mt.log(n*mt.pow(2,69,1))-69,a=0>o?n*mt.pow(2,-o,1):n/mt.pow(2,o,1),a*=4503599627370496,o=52-o,o>0){for(mt.multiply(0,a),s=t;s>=7;)mt.multiply(1e7,0),s-=7;for(mt.multiply(mt.pow(10,s,1),0),s=o-1;s>=23;)mt.divide(1<<23),s-=23;mt.divide(1<<s),mt.multiply(1,1),mt.divide(2),r=mt.numToString()}else mt.multiply(0,a),mt.multiply(1<<-o,0),r=mt.numToString()+V("0.00000000000000000000",2,2+t);return t>0?(u=r.length,r=t>=u?i+V("0.0000000000000000000",0,t-u+2)+r:i+V(r,0,u-t)+"."+V(r,u-t)):r=i+r,r};G(f,{toFixed:vt},gt);var yt=function(){try{return"1"===1..toPrecision(void 0)}catch(e){return!0}}(),wt=f.toPrecision;G(f,{toPrecision:function(e){return"undefined"==typeof e?wt.call(this):wt.call(this,e)}},yt),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?!function(){var e="undefined"==typeof/()??/.exec("")[1],n=Math.pow(2,32)-1;u.split=function(i,r){var o=String(this);if("undefined"==typeof i&&0===r)return[];if(!t(i))return X(this,i,r);var a,s,l,u,c=[],f=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(i.sticky?"y":""),d=0,p=new RegExp(i.source,f+"g");e||(a=new RegExp("^"+p.source+"$(?!\\s)",f));var g="undefined"==typeof r?n:W.ToUint32(r);for(s=p.exec(o);s&&(l=s.index+s[0].length,!(l>d&&(K(c,V(o,d,s.index)),!e&&s.length>1&&s[0].replace(a,function(){for(var e=1;e<arguments.length-2;e++)"undefined"==typeof arguments[e]&&(s[e]=void 0)}),s.length>1&&s.index<o.length&&h.apply(c,F(s,1)),u=s[0].length,d=l,c.length>=g)));)p.lastIndex===s.index&&p.lastIndex++,s=p.exec(o);return d===o.length?(u||!p.test(""))&&K(c,""):K(c,V(o,d)),c.length>g?F(c,0,g):c}}():"0".split(void 0,0).length&&(u.split=function(e,t){return"undefined"==typeof e&&0===t?[]:X(this,e,t)});var bt=u.replace,It=function(){var e=[];return"x".replace(/x(.)?/g,function(t,n){K(e,n)}),1===e.length&&"undefined"==typeof e[0]}();It||(u.replace=function(n,i){var r=e(i),o=t(n)&&/\)[*?]/.test(n.source);if(r&&o){var a=function(e){var t=arguments.length,r=n.lastIndex;n.lastIndex=0;var o=n.exec(e)||[];return n.lastIndex=r,K(o,arguments[t-2],arguments[t-1]),i.apply(this,o)};return bt.call(this,n,a)}return bt.call(this,n,i)});var Mt=u.substr,Ct="".substr&&"b"!=="0b".substr(-1);G(u,{substr:function(e,t){var n=e;return 0>e&&(n=b(this.length+e,0)),Mt.call(this,n,t)}},Ct);var At=" \n\f\r \u2028\u2029\ufeff",St="",Et="["+At+"]",Dt=new RegExp("^"+Et+Et+"*"),Nt=new RegExp(Et+Et+"*$"),jt=u.trim&&(At.trim()||!St.trim());G(u,{trim:function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");return l(this).replace(Dt,"").replace(Nt,"")}},jt);var Lt=y.bind(String.prototype.trim),xt=u.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2);G(u,{lastIndexOf:function(e){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");for(var t=l(this),n=l(e),i=arguments.length>1?c(arguments[1]):NaN,r=R(i)?1/0:W.ToInteger(i),o=I(b(r,0),t.length),a=n.length,s=o+a;s>0;){s=b(0,s-a);var u=_(V(t,s,o+a),n);if(-1!==u)return s+u}return-1}},xt);var Tt=u.lastIndexOf;if(G(u,{lastIndexOf:function(e){return Tt.apply(this,arguments)}},1!==u.lastIndexOf.length),(8!==parseInt(At+"08")||22!==parseInt(At+"0x16"))&&(parseInt=function(e){var t=/^[\-+]?0[xX]/;return function(n,i){var r=Lt(String(n)),o=c(i)||(t.test(r)?16:10);return e(r,o)}}(parseInt)),1/parseFloat("-0")!==-(1/0)&&(parseFloat=function(e){return function(t){var n=Lt(String(t)),i=e(n);return 0===i&&"-"===V(n,0,1)?-0:i}}(parseFloat)),"RangeError: test"!==String(new RangeError("test"))){var Zt=function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");var e=this.name;"undefined"==typeof e?e="Error":"string"!=typeof e&&(e=l(e));var t=this.message;return"undefined"==typeof t?t="":"string"!=typeof t&&(t=l(t)),e?t?e+": "+t:e:t};Error.prototype.toString=Zt}if(z){var Pt=function(e,t){if(Q(e,t)){var n=Object.getOwnPropertyDescriptor(e,t);n.configurable&&(n.enumerable=!1,Object.defineProperty(e,t,n))}};Pt(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),Pt(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){var kt=function(){var e="/"+this.source+"/";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),e};RegExp.prototype.toString=kt}})},{}],39:[function(e,t,n){var i=[],r=i.forEach,o=i.slice;t.exports=function(e){return r.call(o.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e}},{}],40:[function(e,t,n){n.read=function(e,t,n,i,r){var o,a,s=8*r-i-1,l=(1<<s)-1,u=l>>1,c=-7,f=n?r-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=i;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:(p?-1:1)*(1/0);a+=Math.pow(2,i),o-=u}return(p?-1:1)*a*Math.pow(2,o-i)},n.write=function(e,t,n,i,r,o){var a,s,l,u=8*o-r-1,c=(1<<u)-1,f=c>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:o-1,h=i?1:-1,g=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+f>=1?d/l:d*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,r),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,r),a=0));r>=8;e[n+p]=255&s,p+=h,s/=256,r-=8);for(a=a<<r|s,u+=r;u>0;e[n+p]=255&a,p+=h,a/=256,u-=8);e[n+p-h]|=128*g}},{}],41:[function(e,t,n){var i=[].indexOf;t.exports=function(e,t){if(i)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},{}],42:[function(e,t,n){function i(e){var t=r.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}t.exports=i;var r=Object.prototype.toString},{}],43:[function(e,t,n){var i={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},{}],44:[function(t,n,i){(function(t){!function(r){function o(e){throw new RangeError(P[e])}function a(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function s(e,t){var n=e.split("@"),i="";n.length>1&&(i=n[0]+"@",e=n[1]),e=e.replace(Z,".");var r=e.split("."),o=a(r,t).join(".");return i+o}function l(e){for(var t,n,i=[],r=0,o=e.length;o>r;)t=e.charCodeAt(r++),t>=55296&&56319>=t&&o>r?(n=e.charCodeAt(r++),56320==(64512&n)?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),r--)):i.push(t);return i}function u(e){return a(e,function(e){var t="";return e>65535&&(e-=65536,t+=z(e>>>10&1023|55296),e=56320|1023&e),t+=z(e)}).join("")}function c(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:C}function f(e,t){return e+22+75*(26>e)-((0!=t)<<5)}function d(e,t,n){var i=0;for(e=n?Y(e/D):e>>1,e+=Y(e/t);e>k*S>>1;i+=C)e=Y(e/k);return Y(i+(k+1)*e/(e+E))}function p(e){var t,n,i,r,a,s,l,f,p,h,g=[],m=e.length,v=0,y=j,w=N;for(n=e.lastIndexOf(L),0>n&&(n=0),i=0;n>i;++i)e.charCodeAt(i)>=128&&o("not-basic"),g.push(e.charCodeAt(i));for(r=n>0?n+1:0;m>r;){for(a=v,s=1,l=C;r>=m&&o("invalid-input"),f=c(e.charCodeAt(r++)),(f>=C||f>Y((M-v)/s))&&o("overflow"),v+=f*s,p=w>=l?A:l>=w+S?S:l-w,!(p>f);l+=C)h=C-p,s>Y(M/h)&&o("overflow"),s*=h;t=g.length+1,w=d(v-a,t,0==a),Y(v/t)>M-y&&o("overflow"),y+=Y(v/t),v%=t,g.splice(v++,0,y)}return u(g)}function h(e){var t,n,i,r,a,s,u,c,p,h,g,m,v,y,w,b=[];for(e=l(e),m=e.length,t=j,n=0,a=N,s=0;m>s;++s)g=e[s],128>g&&b.push(z(g));for(i=r=b.length,r&&b.push(L);m>i;){for(u=M,s=0;m>s;++s)g=e[s],g>=t&&u>g&&(u=g);for(v=i+1,u-t>Y((M-n)/v)&&o("overflow"),n+=(u-t)*v,t=u,s=0;m>s;++s)if(g=e[s],t>g&&++n>M&&o("overflow"),g==t){for(c=n,p=C;h=a>=p?A:p>=a+S?S:p-a,!(h>c);p+=C)w=c-h,y=C-h,b.push(z(f(h+w%y,0))),c=Y(w/y);b.push(z(f(c,0))),a=d(n,v,i==r),n=0,++i}++n,++t}return b.join("")}function g(e){return s(e,function(e){return x.test(e)?p(e.slice(4).toLowerCase()):e})}function m(e){return s(e,function(e){return T.test(e)?"xn--"+h(e):e})}var v="object"==typeof i&&i&&!i.nodeType&&i,y="object"==typeof n&&n&&!n.nodeType&&n,w="object"==typeof t&&t;(w.global===w||w.window===w||w.self===w)&&(r=w);var b,I,M=2147483647,C=36,A=1,S=26,E=38,D=700,N=72,j=128,L="-",x=/^xn--/,T=/[^\x20-\x7E]/,Z=/[\x2E\u3002\uFF0E\uFF61]/g,P={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},k=C-A,Y=Math.floor,z=String.fromCharCode;if(b={version:"1.4.1",ucs2:{decode:l,encode:u},decode:p,encode:h,toASCII:m,toUnicode:g},"function"==typeof e&&"object"==typeof e.amd&&e.amd)e("punycode",function(){return b});else if(v&&y)if(n.exports==v)y.exports=b;else for(I in b)b.hasOwnProperty(I)&&(v[I]=b[I]);else r.punycode=b}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],45:[function(t,n,i){!function(t,i){"undefined"!=typeof n&&n.exports?n.exports=i():"function"==typeof e&&e.amd?e(i):this[t]=i()}("$script",function(){function e(e,t){for(var n=0,i=e.length;i>n;++n)if(!t(e[n]))return l;return 1}function t(t,n){e(t,function(e){return!n(e)})}function n(o,a,s){function l(e){return e.call?e():d[e]}function c(){if(!--y){d[v]=1,m&&m();for(var n in h)e(n.split("|"),l)&&!t(h[n],l)&&(h[n]=[])}}o=o[u]?o:[o];var f=a&&a.call,m=f?a:s,v=f?o.join(""):a,y=o.length;return setTimeout(function(){t(o,function e(t,n){return null===t?c():(n||/^https?:\/\//.test(t)||!r||(t=-1===t.indexOf(".js")?r+t+".js":r+t),g[t]?(v&&(p[v]=1),2==g[t]?c():setTimeout(function(){e(t,!0)},0)):(g[t]=1,v&&(p[v]=1),void i(t,c)))})},0),n}function i(e,t){var n,i=a.createElement("script");i.onload=i.onerror=i[f]=function(){i[c]&&!/^c|loade/.test(i[c])||n||(i.onload=i[f]=null,n=1,g[e]=2,t())},i.async=1,i.src=o?e+(-1===e.indexOf("?")?"?":"&")+o:e,s.insertBefore(i,s.lastChild)}var r,o,a=document,s=a.getElementsByTagName("head")[0],l=!1,u="push",c="readyState",f="onreadystatechange",d={},p={},h={},g={};return n.get=i,n.order=function(e,t,i){!function r(o){o=e.shift(),e.length?n(o,r):n(o,t,i)}()},n.path=function(e){r=e},n.urlArgs=function(e){o=e},n.ready=function(i,r,o){i=i[u]?i:[i];var a=[];return!t(i,function(e){d[e]||a[u](e)})&&e(i,function(e){return d[e]})?r():!function(e){h[e]=h[e]||[],h[e][u](r),o&&o(a)}(i.join("|")),n},n.done=function(e){n([null],e)},n})},{}]},{},[32])(32)});
|
1 |
/*!
|
2 |
|
3 |
+
Flowplayer v7.2.7 (Monday, 13. August 2018 08:40AM) | flowplayer.com/license
|
4 |
|
5 |
*/
|
6 |
+
!function(a){function u(e,t,n,i){for(var r,o=n.slice(),a=(c=e,(u=t).currentTarget=c,u.eventPhase=u.target===u.currentTarget?2:3,u),s=0,l=o.length;s<l&&(handler=o[s],"object"==typeof handler&&"function"==typeof handler.handleEvent?handler.handleEvent(a):handler.call(e,a),!a.stoppedImmediatePropagation);s++);var u,c;return r=!a.stoppedPropagation,i&&r&&e.parentNode?e.parentNode.dispatchEvent(a):!a.defaultPrevented}function r(e,t){return{configurable:!0,get:e,set:t}}function e(e,t,n){var i=y(t||e,n);m(e,"textContent",r(function(){return i.get.call(this)},function(e){i.set.call(this,e)}))}function c(e,t){for(var n=e.length;n--&&e[n]!==t;);return n}function t(){if("BR"===this.tagName)return"\n";for(var e=this.firstChild,t=[];e;)8!==e.nodeType&&7!==e.nodeType&&t.push(e.textContent),e=e.nextSibling;return t.join("")}function o(e){!l&&C.test(document.readyState)&&(l=!l,document.detachEvent(d,o),(e=document.createEvent("Event")).initEvent(p,!0,!0),document.dispatchEvent(e))}function n(e){for(var t;t=this.lastChild;)this.removeChild(t);null!=e&&this.appendChild(document.createTextNode(e))}function f(e,t){return t||(t=a.event),t.target||(t.target=t.srcElement||t.fromElement||document),t.timeStamp||(t.timeStamp=(new Date).getTime()),t}if(!document.createEvent){var i,s=!0,l=!1,d="onreadystatechange",p="DOMContentLoaded",h="__IE8__"+Math.random(),g=a.Object,m=g.defineProperty||function(e,t,n){e[t]=n.value},v=g.defineProperties||function(t,e){for(var n in e)if(w.call(e,n))try{m(t,n,e[n])}catch(e){a.console&&console.log(n+" failed on object:",t,e.message)}},y=g.getOwnPropertyDescriptor,w=g.prototype.hasOwnProperty,b=a.Element.prototype,I=a.Text.prototype,M=/^[a-z]+$/,C=/loaded|complete/,A={},S=document.createElement("div");e(a.HTMLCommentElement.prototype,b,"nodeValue"),e(a.HTMLScriptElement.prototype,null,"text"),e(I,null,"nodeValue"),e(a.HTMLTitleElement.prototype,null,"text"),m(a.HTMLStyleElement.prototype,"textContent",(i=y(a.CSSStyleSheet.prototype,"cssText"),r(function(){return i.get.call(this.styleSheet)},function(e){i.set.call(this.styleSheet,e)}))),v(b,{textContent:{get:t,set:n},firstElementChild:{get:function(){for(var e=this.childNodes||[],t=0,n=e.length;t<n;t++)if(1==e[t].nodeType)return e[t]}},lastElementChild:{get:function(){for(var e=this.childNodes||[],t=e.length;t--;)if(1==e[t].nodeType)return e[t]}},previousElementSibling:{get:function(){for(var e=this.previousSibling;e&&1!=e.nodeType;)e=e.previousSibling;return e}},nextElementSibling:{get:function(){for(var e=this.nextSibling;e&&1!=e.nodeType;)e=e.nextSibling;return e}},childElementCount:{get:function(){for(var e=0,t=this.childNodes||[],n=t.length;n--;e+=1==t[n].nodeType);return e}},addEventListener:{value:function(e,t,n){var i,r=this,o="on"+e,a=r[h]||m(r,h,{value:{}})[h],s=a[o]||(a[o]={}),l=s.h||(s.h=[]);if(!w.call(s,"w")){if(s.w=function(e){return e[h]||u(r,f(0,e),l,!1)},!w.call(A,o))if(M.test(e))try{(i=document.createEventObject())[h]=!0,9!=r.nodeType&&null==r.parentNode&&S.appendChild(r),r.fireEvent(o,i),A[o]=!0}catch(i){for(A[o]=!1;S.hasChildNodes();)S.removeChild(S.firstChild)}else A[o]=!1;(s.n=A[o])&&r.attachEvent(o,s.w)}c(l,t)<0&&l[n?"unshift":"push"](t)}},dispatchEvent:{value:function(e){var t,n=this,i="on"+e.type,r=n[h],o=r&&r[i],a=!!o;return e.target||(e.target=n),a?o.n?n.fireEvent(i,e):u(n,e,o.h,!0):!(t=n.parentNode)||t.dispatchEvent(e),!e.defaultPrevented}},removeEventListener:{value:function(e,t,n){var i="on"+e,r=this[h],o=r&&r[i],a=o&&o.h,s=a?c(a,t):-1;-1<s&&a.splice(s,1)}}}),v(I,{addEventListener:{value:b.addEventListener},dispatchEvent:{value:b.dispatchEvent},removeEventListener:{value:b.removeEventListener}}),v(a.XMLHttpRequest.prototype,{addEventListener:{value:function(t,e,n){var i=this,r="on"+t,o=i[h]||m(i,h,{value:{}})[h],a=o[r]||(o[r]={}),s=a.h||(a.h=[]);c(s,e)<0&&(i[r]||(i[r]=function(){var e=document.createEvent("Event");e.initEvent(t,!0,!0),i.dispatchEvent(e)}),s[n?"unshift":"push"](e))}},dispatchEvent:{value:function(e){var t="on"+e.type,n=this[h],i=n&&n[t];return!!i&&(i.n?this.fireEvent(t,e):u(this,e,i.h,!0))}},removeEventListener:{value:b.removeEventListener}}),v(a.Event.prototype,{bubbles:{value:!0,writable:!0},cancelable:{value:!0,writable:!0},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0,this.returnValue=!1)}},stopPropagation:{value:function(){this.stoppedPropagation=!0,this.cancelBubble=!0}},stopImmediatePropagation:{value:function(){this.stoppedImmediatePropagation=!0,this.stopPropagation()}},initEvent:{value:function(e,t,n){this.type=e,this.bubbles=!!t,this.cancelable=!!n,this.bubbles||this.stopPropagation()}}}),v(a.HTMLDocument.prototype,{textContent:{get:function(){return 11===this.nodeType?t.call(this):null},set:function(e){11===this.nodeType&&n.call(this,e)}},addEventListener:{value:function(e,t,n){var i=this;b.addEventListener.call(i,e,t,n),s&&e===p&&!C.test(i.readyState)&&(s=!1,i.attachEvent(d,o),a==top&&function t(e){try{i.documentElement.doScroll("left"),o()}catch(e){setTimeout(t,50)}}())}},dispatchEvent:{value:b.dispatchEvent},removeEventListener:{value:b.removeEventListener},createEvent:{value:function(e){var t;if("Event"!==e)throw new Error("unsupported "+e);return(t=document.createEventObject()).timeStamp=(new Date).getTime(),t}}}),v(a.Window.prototype,{getComputedStyle:{value:function(){function n(e){this._=e}function i(){}var l=/^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/,u=/^(top|right|bottom|left)$/,c=/\-([a-z])/g,f=function(e,t){return t.toUpperCase()};return n.prototype.getPropertyValue=function(e){var t,n,i,r=this._,o=r.style,a=r.currentStyle,s=r.runtimeStyle;return e=("float"===e?"style-float":e).replace(c,f),t=a?a[e]:o[e],l.test(t)&&!u.test(e)&&(n=o.left,(i=s&&s.left)&&(s.left=a.left),o.left="fontSize"===e?"1em":t,t=o.pixelLeft+"px",o.left=n,i&&(s.left=i)),null==t?t:t+""||"auto"},i.prototype.getPropertyValue=function(){return null},function(e,t){return t?new i(e):new n(e)}}()},addEventListener:{value:function(e,t,n){var i,r=a,o="on"+e;r[o]||(r[o]=function(e){return u(r,f(0,e),i,!1)}),c(i=r[o][h]||(r[o][h]=[]),t)<0&&i[n?"unshift":"push"](t)}},dispatchEvent:{value:function(e){var t=a["on"+e.type];return!t||!1!==t.call(a,e)&&!e.defaultPrevented}},removeEventListener:{value:function(e,t,n){var i=(a["on"+e]||g)[h],r=i?c(i,t):-1;-1<r&&i.splice(r,1)}}})}}(this),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).flowplayer=e()}}(function(){return function o(a,s,l){function u(t,e){if(!s[t]){if(!a[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(c)return c(t,!0);var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}var r=s[t]={exports:{}};a[t][0].call(r.exports,function(e){return u(a[t][1][e]||e)},r,r.exports,o,a,s,l)}return s[t].exports}for(var c="function"==typeof require&&require,e=0;e<l.length;e++)u(l[e]);return u}({1:[function(e,t,n){"use strict";var o=t.exports={},r=e("class-list"),a=window.jQuery,i=e("punycode"),s=e("computed-style");o.noop=function(){},o.identity=function(e){return e},o.removeNode=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},o.find=function(e,t){return a?a(e,t).toArray():(t=t||document,Array.prototype.map.call(t.querySelectorAll(e),function(e){return e}))},o.text=function(e,t){e["innerText"in e?"innerText":"textContent"]=t},o.findDirect=function(e,t){return o.find(e,t).filter(function(e){return e.parentNode===t})},o.hasClass=function(e,t){return"string"==typeof e.className&&r(e).contains(t)},o.isSameDomain=function(e){var t=window.location,n=o.createElement("a",{href:e});return t.hostname===n.hostname&&t.protocol===n.protocol&&t.port===n.port},o.css=function(t,n,e){return"object"==typeof n?Object.keys(n).forEach(function(e){o.css(t,e,n[e])}):void 0!==e?""===e?t?t.style.removeProperty(n):void 0:t?t.style.setProperty(n,e):void 0:t?s(t,n):void 0},o.createElement=function(t,n,i){try{var e=document.createElement(t);for(var r in n)n.hasOwnProperty(r)&&("css"===r?o.css(e,n[r]):o.attr(e,r,n[r]));return i&&(e.innerHTML=i),e}catch(e){if(!a)throw e;return a("<"+t+">"+i+"</"+t+">").attr(n)[0]}},o.toggleClass=function(e,t,n){if(e){var i=r(e);void 0===n?i.toggle(t):n?i.add(t):n||i.remove(t)}},o.addClass=function(e,t){return o.toggleClass(e,t,!0)},o.removeClass=function(e,t){return o.toggleClass(e,t,!1)},o.append=function(e,t){return e.appendChild(t),e},o.appendTo=function(e,t){return o.append(t,e),e},o.prepend=function(e,t){e.insertBefore(t,e.firstChild)},o.insertAfter=function(e,t,n){t==o.lastChild(e)&&e.appendChild(n);var i=Array.prototype.indexOf.call(e.children,t);e.insertBefore(n,e.children[i+1])},o.html=function(e,t){(e=e.length?e:[e]).forEach(function(e){e.innerHTML=t})},o.attr=function(t,n,i){if("class"===n&&(n="className"),o.hasOwnOrPrototypeProperty(t,n))try{t[n]=i}catch(e){if(!a)throw e;a(t).attr(n,i)}else!1===i?t.removeAttribute(n):t.setAttribute(n,i);return t},o.prop=function(e,t,n){if(void 0===n)return e&&e[t];e[t]=n},o.offset=function(e){var t=e.getBoundingClientRect();return e.offsetWidth/e.offsetHeight>e.clientWidth/e.clientHeight&&(t={left:100*t.left,right:100*t.right,top:100*t.top,bottom:100*t.bottom,width:100*t.width,height:100*t.height}),t},o.width=function(e,t){if(t)return e.style.width=(""+t).replace(/px$/,"")+"px";var n=o.offset(e).width;return void 0===n?e.offsetWidth:n},o.height=function(e,t){if(t)return e.style.height=(""+t).replace(/px$/,"")+"px";var n=o.offset(e).height;return void 0===n?e.offsetHeight:n},o.lastChild=function(e){return e.children[e.children.length-1]},o.hasParent=function(e,t){for(var n=e.parentElement;n;){if("string"!=typeof t){if(n===t)return!0}else if(o.matches(n,t))return!0;n=n.parentElement}return!1},o.createAbsoluteUrl=function(e){return o.createElement("a",{href:e}).href},o.xhrGet=function(e,t,n){var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===this.readyState)return 400<=this.status?n():void t(this.responseText)},i.open("get",e,!0),i.send()},o.pick=function(t,e){var n={};return e.forEach(function(e){t.hasOwnProperty(e)&&(n[e]=t[e])}),n},o.hostname=function(e){return i.toUnicode(e||window.location.hostname)},o.browser={webkit:"WebkitAppearance"in document.documentElement.style},o.getPrototype=function(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__},o.hasOwnOrPrototypeProperty=function(e,t){for(var n=e;n;){if(Object.prototype.hasOwnProperty.call(n,t))return!0;n=o.getPrototype(n)}return!1},o.matches=function(e,t){var n=Element.prototype;return(n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)n++;return!!t[n]}).call(e,t)},function(e){function n(e){return e.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()})}void 0!==e.setAttribute&&(e.setProperty=function(e,t){return this.setAttribute(n(e),String(t))},e.getPropertyValue=function(e){return this.getAttribute(n(e))||null},e.removeProperty=function(e){var t=this.getPropertyValue(e);return this.removeAttribute(n(e)),t})}(window.CSSStyleDeclaration.prototype)},{"class-list":36,"computed-style":37,punycode:44}],2:[function(e,t,n){"use strict";var u=e("../common");t.exports=function(e,t,n,i){n=n||"opaque";var r="obj"+(""+Math.random()).slice(2,15),o='<object class="fp-engine" id="'+r+'" name="'+r+'" ',a=-1<navigator.userAgent.indexOf("MSIE");o+=a?'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">':' data="'+e+'" type="application/x-shockwave-flash">';var s={width:"100%",height:"100%",allowscriptaccess:"always",wmode:n,quality:"high",flashvars:"",movie:e+(a?"?"+r:""),name:r};"transparent"!==n&&(s.bgcolor=i||"#333333"),Object.keys(t).forEach(function(e){s.flashvars+=e+"="+t[e]+"&"}),Object.keys(s).forEach(function(e){o+='<param name="'+e+'" value="'+s[e]+'"/>'}),o+="</object>";var l=u.createElement("div",{},o);return u.find("object",l)},window.attachEvent&&window.attachEvent("onbeforeunload",function(){window.__flash_savedUnloadHandler=window.__flash_unloadHandler=function(){}})},{"../common":1}],3:[function(e,t,n){"use strict";var i,S=e("../flowplayer"),E=e("../common"),D=e("./embed"),N=e("extend-object"),j=e("bean");function L(e){return/^https?:/.test(e)}(i=function(g,m){var v,y,w,b,I=g.conf,M=[],C={engineName:i.engineName,pick:function(i){var e=N({},function(){if(S.support.flashVideo){for(var e,t,n=0;n<i.length;n++)if(t=i[n],/mp4|flv|flash/i.test(t.type)&&(e=t),g.conf.swfHls&&/mpegurl/i.test(t.type)&&(e=t),e&&!/mp4/i.test(e.type))return e;return e}}());if(e)return!e.src||L(e.src)||g.conf.rtmp||e.rtmp||(e.src=E.createAbsoluteUrl(e.src)),e},suspendEngine:function(){b=!0},resumeEngine:function(){b=!1},load:function(n){function e(e){return e.replace(/&/g,"%26").replace(/&/g,"%26").replace(/=/g,"%3D")}v=n,M.forEach(function(e){clearTimeout(e)});var t=E.findDirect("video",m)[0]||E.find(".fp-player > video",m)[0],i=n.src,r=L(i),o=function(){E.removeNode(t)};S.support.video&&E.prop(t,"autoplay")&&n.sources.some(function(e){return!!t.canPlayType(e.type)})?j.one(t,"timeupdate",o):o();var a,s=n.rtmp||I.rtmp;if(r||s||(i=E.createAbsoluteUrl(i)),w&&A(n)&&w.data!==E.createAbsoluteUrl(I.swfHls)&&C.unload(),w){["live","preload","loop"].forEach(function(e){n.hasOwnProperty(e)&&w.__set(e,n[e])}),Object.keys(n.flashls||{}).forEach(function(e){w.__set("hls_"+e,n.flashls[e])});var l=!1;if(!r&&s)w.__set("rtmp",s.url||s);else l=!!w.__get("rtmp"),w.__set("rtmp",null);w.__play(i,l||n.rtmp&&n.rtmp!==I.rtmp)}else{y="fpCallback"+(""+Math.random()).slice(3,15),i=e(i);var u={hostname:I.embedded?E.hostname(I.hostname):E.hostname(location.hostname),url:i,callback:y};m.getAttribute("data-origin")&&(u.origin=m.getAttribute("data-origin")),["proxy","key","autoplay","preload","subscribe","live","loop","debug","splash","poster","rtmpt"].forEach(function(e){I.hasOwnProperty(e)&&(u[e]=I[e]),n.hasOwnProperty(e)&&(u[e]=n[e]),(I.rtmp||{}).hasOwnProperty(e)&&(u[e]=(I.rtmp||{})[e]),(n.rtmp||{}).hasOwnProperty(e)&&(u[e]=(n.rtmp||{})[e])}),I.splash&&(u.autoplay=!0),I.rtmp&&(u.rtmp=I.rtmp.url||I.rtmp),n.rtmp&&(u.rtmp=n.rtmp.url||n.rtmp),Object.keys(n.flashls||{}).forEach(function(e){var t=n.flashls[e];u["hls_"+e]=t});var c=void 0!==n.hlsQualities?n.hlsQualities:I.hlsQualities;void 0!==c&&(u.hlsQualities=c?encodeURIComponent(JSON.stringify(c)):c),void 0!==I.bufferTime&&(u.bufferTime=I.bufferTime),void 0!==I.bufferTimeMax&&(u.bufferTimeMax=I.bufferTimeMax),r&&delete u.rtmp,u.rtmp&&(u.rtmp=e(u.rtmp));var f,d=I.bgcolor||E.css(m,"background-color")||"";0===d.indexOf("rgb")?f=function(e){function t(e){return("0"+parseInt(e).toString(16)).slice(-2)}if(!(e=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/)))return;return"#"+t(e[1])+t(e[2])+t(e[3])}(d):0===d.indexOf("#")&&(f=7===(a=d).length?a:"#"+a.split("").slice(1).map(function(e){return e+e}).join("")),u.initialVolume=g.volumeLevel;var p=A(n)?I.swfHls:I.swf;w=D(p,u,I.wmode,f)[0];var h=E.find(".fp-player",m)[0];E.prepend(h,w),g.off("quality.flashengine").on("quality.flashengine",function(e,t,n){if(void 0!==g.video.hlsQualities?g.video.hlsQualities:g.conf.hlsQualities)try{w.__quality(n)}catch(e){g.debug("Error changing quality in flash engine",e)}}),setTimeout(function(){try{if(!w.PercentLoaded())return g.trigger("error",[g,{code:7,url:I.swf}])}catch(e){}},5e3),M.push(setTimeout(function(){void 0===w.PercentLoaded&&g.trigger("flashdisabled",[g])},15e3)),M.push(setTimeout(function(){void 0===w.PercentLoaded&&g.trigger("flashdisabled",[g,!1])},500)),g.off("resume.flashhack").on("resume.flashhack",function(){var e=setTimeout(function(){var e=w.__status().time,t=setTimeout(function(){g.playing&&!g.loading&&w.__status().time===e&&g.trigger("flashdisabled",[g])},400);M.push(t),g.one("seek.flashhack pause.flashhack load.flashack",function(){clearTimeout(t)})},800);M.push(e),g.one("progress",function(){clearTimeout(e)})}),w.pollInterval=setInterval(function(){if(w&&!b){var e=w.__status?w.__status():null;e&&((g.conf.live||g.live||n.live)&&(n.seekOffset=e.seekOffset,n.duration=e.duration+e.seekOffset),g.playing&&e.time&&e.time!==g.video.time&&g.trigger("progress",[g,e.time]),n.buffer=e.buffer/n.bytes*n.duration,g.trigger("buffer",[g,n.buffer]),!n.buffered&&0<e.time&&(n.buffered=!0,g.trigger("buffered",[g])))}},250),window[y]=function(e,t){var n=v;I.debug&&(0===e.indexOf("debug")&&t&&t.length?console.log.apply(console,["-- "+e].concat(t)):console.log("--",e,t));var i={type:e};switch(e){case"ready":t=N(n,t);break;case"click":i.flash=!0;break;case"keydown":i.which=t;break;case"seek":n.time=t;break;case"status":g.trigger("progress",[g,t.time]),t.buffer<n.bytes&&!n.buffered?(n.buffer=t.buffer/n.bytes*n.duration,g.trigger("buffer",n.buffer)):n.buffered||(n.buffered=!0,g.trigger("buffered"));break;case"metadata":var r=atob(t);t={key:r.substr(10,4),data:r.substr(21)}}"click"===e||"keydown"===e?(i.target=m,j.fire(m,e,[i])):"buffered"!=e&&"unload"!==e?setTimeout(function(){g.trigger(i,[g,t])},1):"unload"===e&&g.trigger(i,[g,t])}}},speed:E.noop,unload:function(){w&&w.__unload&&w.__unload();try{y&&window[y]&&delete window[y]}catch(e){}E.find("object",m).forEach(E.removeNode),w=0,g.off(".flashengine"),g.off(".flashhack"),clearInterval(w.pollInterval),M.forEach(function(e){clearTimeout(e)})}};function A(e){return/application\/x-mpegurl/i.test(e.type)}return["pause","resume","seek","volume"].forEach(function(t){C[t]=function(e){try{g.ready&&(void 0===e?w["__"+t]():w["__"+t](e))}catch(e){if(void 0===w["__"+t])return g.trigger("flashdisabled",[g]);throw e}}}),C}).engineName="flash",i.canPlay=function(e,t){return S.support.flashVideo&&/video\/(mp4|flash|flv)/i.test(e)||S.support.flashVideo&&t.swfHls&&/mpegurl/i.test(e)},S.engines.push(i)},{"../common":1,"../flowplayer":31,"./embed":2,bean:34,"extend-object":39}],4:[function(e,t,n){"use strict";var l,g=e("../flowplayer"),i=g.support,m=g.common,v=g.bean,r=e("./html5-factory");function o(e){return void 0!==window.Hls&&(/mpegurl/.test(e)&&window.Hls.isSupported())}(l=function(d,a){var p,h,s=window.Hls;return r("hlsjs-lite",d,a,o,function(u,c,e){var i=g.extend({recoverMediaError:!0},d.conf.hlsjs,u.hlsjs);d.engine.hls&&d.engine.hls.destroy();var n,r,f=d.engine.hls=new s(i);l.extensions.forEach(function(e){e({hls:f,player:d,root:a,videoTag:c})}),f.loadSource(u.src),e.resume=function(){d.live&&!d.dvr&&(c.currentTime=f.liveSyncPosition||0),c.play()},e.seek=function(t){try{d.live||d.dvr?c.currentTime=Math.min(t,f.liveSyncPosition||c.duration-i.livePositionOffset):c.currentTime=t}catch(e){d.debug("Failed to seek to ",t,e)}},!1===i.bufferWhilePaused&&d.on("pause",function(){f.stopLoad(),d.one("resume",function(){f.startLoad()})}),d.on("quality",function(e,t,n){f.nextLevel=p=n});var o=function(e){if(d.debug("hlsjs - recovery"),m.removeClass(a,"is-paused"),m.addClass(a,"is-seeking"),v.one(c,"seeked",function(){c.paused&&(m.removeClass(a,"is-poster"),d.poster=!1,c.play()),m.removeClass(a,"is-seeking")}),e)return f.startLoad();var t=performance.now();!n||3e3<t-n?(n=performance.now(),f.recoverMediaError()):(!r||3e3<t-r)&&(r=performance.now(),f.swapAudioCodec(),f.recoverMediaError())};return f.on(s.Events.MANIFEST_PARSED,function(e,t){var i,r=u.hlsQualities||d.conf.hlsQualities,o={},n=t.levels;if(!1===r)return f.attachMedia(c);if("drive"===r)switch(n.length){case 4:i=[1,2,3];break;case 5:i=[1,2,3,4];break;case 6:i=[1,3,4,5];break;case 7:i=[1,3,5,6];break;case 8:i=[1,3,6,7];break;default:i=n.length<3||n[0].height&&n[2].height&&n[0].height===n[2].height?[]:[1,2]}if(u.qualities=[{value:-1,label:"Auto"}],Array.isArray(r)){var a=r.find(function(e){return-1===e||e.level&&-1===e.level});a?u.qualities[0].label="number"!=typeof a?a.label:u.qualities[0].label:u.qualities=[],i=r.map(function(e){return void 0!==e.level&&(o[e.level]=e.label),void 0!==e.level?e.level:e})}var s=-2;u.qualities=u.qualities.concat(n.map(function(e,t){if(i&&-1===i.indexOf(t))return!1;var n=o[t]||Math.min(e.width,e.height)+"p";return o[t]||"drive"===r||(n+=" ("+Math.round(e.bitrate/1e3)+"k)"),t===p&&(s=t),{value:t,label:n}})).filter(m.identity);var l=u.quality=-2===s?u.qualities[0].value||-1:s;l!==f.currentLevel&&(f.currentLevel=l),f.attachMedia(c),h&&u.src!==h&&c.play(),h=u.src}),f.on(s.Events.ERROR,function(e,t){if(t.fatal)if(i.recoverNetworkError&&t.type===s.ErrorTypes.NETWORK_ERROR)o(!0);else if(i.recoverMediaError&&t.type===s.ErrorTypes.MEDIA_ERROR)o(!1);else{var n=5;t.type===s.ErrorTypes.NETWORK_ERROR&&(n=2),t.type===s.ErrorTypes.MEDIA_ERROR&&(n=3),f.destroy(),d.trigger("error",[d,{code:n}])}}),d.one("unload",function(){f.destroy()}),{handlers:{error:function(e,t){var n=t.error&&t.error.code;return i.recoverMediaError&&3===n||!n?(e.preventDefault(),o(!1),!0):i.recoverNetworkError&&2===n?(e.preventDefault(),o(!0),!0):void 0}}}})}).canPlay=function(e,t){return!(!1===t.hlsjs||t.clip&&!1===t.clip.hlsjs)&&(!(i.browser.safari&&!(t.clip&&t.clip.hlsjs||t.hlsjs||{}).safari)&&(g.support.video&&o(e)))},l.engineName="hlsjs-lite",l.plugin=function(e){l.extensions.push(e)},l.extensions=[],g.engines.push(l)},{"../flowplayer":31,"./html5-factory":5}],5:[function(e,t,n){var i=e("../flowplayer"),m=i.common,v=i.support,y=i.bean,w=i.extend,r=v.browser.safari&&!v.iOS,b={ended:"finish",pause:"pause",play:"resume",timeupdate:"progress",volumechange:"volume",ratechange:"speed",seeked:"seek",loadedmetadata:r?0:"ready",canplaythrough:r?"ready":0,durationchange:"ready",error:"error",dataunavailable:"error",webkitendfullscreen:!i.support.inlineVideo&&"unload",progress:"buffer"};function I(e,t){return t=t||100,Math.round(e*t)/t}t.exports=function(e,d,p,h,l){var t,u,c,f=m.findDirect("video",p)[0]||m.find(".fp-player > video",p)[0],g=d.conf;return c={engineName:e,pick:function(e){var t=v.video&&e.filter(function(e){return h(e.type)})[0];if(t)return"string"==typeof t.src&&(t.src=m.createAbsoluteUrl(t.src)),t},load:function(e){var t=m.find(".fp-player",p)[0],n=!1;if(f||(f=document.createElement("video"),m.prepend(t,f),f.autoplay=!!g.splash,n=!0),m.addClass(f,"fp-engine"),m.find("track",f).forEach(m.removeNode),f.preload="none",g.nativesubtitles||m.attr(f,"crossorigin",!1),g.disableInline||(f.setAttribute("webkit-playsinline","true"),f.setAttribute("playsinline","true")),v.inlineVideo||m.css(f,{position:"absolute",top:"-9999em"}),v.subtitles&&g.nativesubtitles&&e.subtitles&&e.subtitles.length){m.addClass(f,"native-subtitles");var i=e.subtitles,r=function(e){var t=f.textTracks;t.length&&(t[0].mode=e)};i.some(function(e){return!m.isSameDomain(e.src)})&&m.attr(f,"crossorigin","anonymous"),"function"==typeof f.textTracks.addEventListener&&f.textTracks.addEventListener("addtrack",function(){r("disabled"),r("showing")}),i.forEach(function(e){f.appendChild(m.createElement("track",{kind:"subtitles",srclang:e.srclang||"en",label:e.label||"en",src:e.src,default:e.default}))})}y.off(f,"timeupdate",m.noop),y.on(f,"timeupdate",m.noop),m.prop(f,"loop",!1),d.off(".loophack"),(e.loop||g.loop)&&d.on("finish.loophack",function(){d.resume()}),void 0!==u&&(f.volume=u);var o=l(e,f,c);if(g.autoplay||g.splash||e.autoplay){d.debug("Autoplay / Splash setup, try to start video"),f.load();var a=function(){try{var e=f.play();if(e&&e.catch){var t=function(e){if("AbortError"===e.name&&20===e.code)return n?void 0:f.play().catch(t);if(!g.mutedAutoplay)throw new Error("Unable to autoplay");return d.debug("Play errored, trying muted",e),d.mute(!0,!0),f.play()};e.catch(t).catch(function(){g.autoplay=!1,d.mute(!1,!0),d.trigger("stop",[d])})}}catch(e){d.debug("play() error thrown",e)}};0<f.readyState?a():y.one(f,"canplay",a)}if(c._listeners=function(l,e,u,c){var f=p.getAttribute("data-flowplayer-instance-id");if(!l.listeners||!l.listeners.hasOwnProperty(f)){(l.listeners||(l.listeners={}))[f]=u,y.on(e,"error",function(e){try{h(e.target.getAttribute("type"))&&d.trigger("error",[d,{code:4,video:w(u,{src:l.src,url:l.src})}])}catch(e){}}),d.on("shutdown",function(){y.off(e),y.off(l,".dvrhack"),d.off(".loophack")});var t={},n=function(e){"metadata"===e.kind&&(e.mode="hidden",e.addEventListener("cuechange",function(){e.activeCues.length&&d.trigger("metadata",[d,e.activeCues[0].value])},!1))};return l&&l.textTracks&&l.textTracks.length&&Array.prototype.forEach.call(l.textTracks,n),l&&l.textTracks&&"function"==typeof l.textTracks.addEventListener&&l.textTracks.addEventListener("addtrack",function(e){n(e.track)},!1),(d.conf.dvr||d.dvr||u.dvr)&&y.on(l,"progress.dvrhack",function(){l.seekable.length&&(d.video.duration=l.seekable.end(null),d.video.seekOffset=l.seekable.start(null),d.trigger("dvrwindow",[d,{start:l.seekable.start(null),end:l.seekable.end(null)}]),l.currentTime>=l.seekable.start(null)||(l.currentTime=l.seekable.start(null)))}),Object.keys(b).forEach(function(a){var s=b[a];if("webkitendfullscreen"===a&&d.conf.disableInline&&(s="unload"),s){var e=function(e){if(u=l.listeners[f],e.target&&m.hasClass(e.target,"fp-engine")){/progress/.test(s)||d.debug(a,"->",s,e);var t,n=function(e){d.trigger(e||s,[d,t])};if((d.ready||/ready|error/.test(s))&&s&&m.find("video",p).length)if("unload"!==s){switch(s){case"ready":if(d.ready)return d.debug("Player already ready, not sending duplicate ready event");if(!(l.duration&&l.duration!==1/0||d.live))return d.debug("No duration and VOD setup, not sending ready event");if((t=w(u,{duration:l.duration<Number.MAX_VALUE?l.duration:0,width:l.videoWidth,height:l.videoHeight,url:l.currentSrc})).seekable=t.duration,d.debug("Ready: ",t),!d.live&&!t.duration&&!v.hlsDuration&&"loadeddata"===a){var i=function(){t.duration=l.duration;try{t.seekable=l.seekable&&l.seekable.end(null)}catch(e){}n(),l.removeEventListener("durationchange",i),m.toggleClass(p,"is-live",!1)};l.addEventListener("durationchange",i);var r=function(){d.ready||l.duration||(t.duration=0,m.addClass(p,"is-live"),n()),l.removeEventListener("timeupdate",r)};return void l.addEventListener("timeupdate",r)}break;case"progress":case"seek":if(0<l.currentTime||d.live)t=Math.max(l.currentTime,0);else if("seek"===s&&0===l.currentTime)t=0;else if("progress"==s)return;break;case"buffer":t=[];for(var o=0;o<l.buffered.length;o++)t.push({start:l.buffered.start(o),end:l.buffered.end(o)});l.buffered.length&&l.buffered.end(null)===l.duration&&n("buffered");break;case"speed":t=I(l.playbackRate);break;case"volume":t=I(l.muted?0:l.volume);break;case"error":try{if(c&&c.handlers&&c.handlers.error&&c.handlers.error(e,l))return;(t=(e.srcElement||e.originalTarget).error).video=w(u,{src:l.src,url:l.src})}catch(e){return}}n()}else d.unload();else"resume"===s&&d.one("ready",function(){setTimeout(function(){n()})})}};p.addEventListener(a,e,!0),t[a]||(t[a]=[]),t[a].push(e)}}),t}l.listeners[f]=u}(f,m.find("source",f).concat(f),e,o)||c._listeners,!(g.autoplay||g.splash||e.autoplay)){var s=function(){var e;0<=(e=p.getBoundingClientRect()).top&&0<=e.left&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)+e.height&&e.right<=(window.innerWidth||document.documentElement.clientWidth)+e.width&&(d.debug("player is in viewport, preload"),v.preloadMetadata?f.preload="metadata":f.load(),y.off(document,"scroll.preloadviewport"))};y.off(document,"scroll.preloadviewport"),y.on(document,"scroll.preloadviewport",function(){window.requestAnimationFrame(s)}),s()}},mute:function(e){f.muted=!!e,d.trigger("mute",[d,e]),d.trigger("volume",[d,e?0:f.volume])},pause:function(){f.pause()},resume:function(){f.play()},speed:function(e){f.playbackRate=e},seek:function(e){var t=f.paused||d.finished;try{f.currentTime=e,t&&y.one(f,"seeked",function(){f.pause()})}catch(e){}},volume:function(e){u=e,f&&(f.volume=e)&&c.mute(!1)},unload:function(){y.off(document,"scroll.preloadviewport"),m.find("video.fp-engine",p).forEach(function(e){"MediaSource"in window?e.src=URL.createObjectURL(new MediaSource):e.src="",m.removeNode(e)}),t=clearInterval(t);var e=p.getAttribute("data-flowplayer-instance-id");delete f.listeners[e],f=0,c._listeners&&Object.keys(c._listeners).forEach(function(t){c._listeners[t].forEach(function(e){p.removeEventListener(t,e,!0)})})}}}},{"../flowplayer":31}],6:[function(e,t,n){"use strict";var i,r=e("../flowplayer"),o=r.common,a=e("./html5-factory"),s=document.createElement("video");function l(e){var t;return/^(video|application)/i.test(e)||(e=/mpegurl/i.test(t=e)?"application/x-mpegurl":t),!!s.canPlayType(e).replace("no","")}(i=function(e,t){return a("html5",e,t,l,function(e,t){t.currentSrc!==e.src?(o.find("source",t).forEach(o.removeNode),t.src=e.src,t.type=e.type):e.autoplay&&t.load()})}).canPlay=function(e){return r.support.video&&l(e)},i.engineName="html5",r.engines.push(i)},{"../flowplayer":31,"./html5-factory":5}],7:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),o=e("bean");i(function(e,i){e.on("ready",function(){var t=r.find("video.fp-engine",i)[0];t&&(t.setAttribute("x-webkit-airplay","allow"),window.WebKitPlaybackTargetAvailabilityEvent&&(t.addEventListener("webkitplaybacktargetavailabilitychanged",function(e){if("available"===e.availability){var t=r.find(".fp-header",i)[0];r.find(".fp-airplay",t).forEach(r.removeNode);var n=r.createElement("a",{class:"fp-airplay fp-icon",title:"Play on AirPlay device"});t.insertBefore(n,r.find(".fp-fullscreen",t)[0])}}),t.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",function(){var e=r.find(".fp-airplay",i)[0];e&&r.toggleClass(e,"fp-active",t.webkitCurrentPlaybackTargetIsWireless)})))}),o.on(i,"click",".fp-airplay",function(e){e.preventDefault(),r.find("video.fp-engine",i)[0].webkitShowPlaybackTargetPicker()})})},{"../common":1,"../flowplayer":31,bean:34}],8:[function(e,t,n){"use strict";var i=e("../flowplayer"),l=e("./resolve").TYPE_RE,u=e("scriptjs"),c=e("bean");i(function(i,r){var o,t=i.conf.analytics,a=0,e=0;if(t){"undefined"==typeof _gat&&u("//google-analytics.com/ga.js");var s=function(){var e=_gat._getTracker(t);return e._setAllowLinker(!0),e},n=function(e,t,n){(n=n||i.video,a&&"undefined"!=typeof _gat)&&(s()._trackEvent("Video / Seconds played",i.engine.engineName+"/"+n.type,n.title||r.getAttribute("title")||n.src.split("/").slice(-1)[0].replace(l,""),Math.round(a/1e3)),a=0,o&&(clearTimeout(o),o=null))};i.bind("load unload",n).bind("progress",function(){i.seeking||(a+=e?+new Date-e:0,e=+new Date),o||(o=setTimeout(function(){o=null,s()._trackEvent("Flowplayer heartbeat","Heartbeat","",0,!0)},6e5))}).bind("pause",function(){e=0}),i.bind("shutdown",function(){c.off(window,"unload",n)}),c.on(window,"unload",n)}})},{"../flowplayer":31,"./resolve":21,bean:34,scriptjs:45}],9:[function(e,t,n){"use strict";var i=e("../flowplayer"),g=e("../common"),m=e("bean"),v=e("scriptjs");i(function(r,o){if(!1!==r.conf.chromecast){v("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"),window.__onGCastApiAvailable=function(e){var t,n,i;e&&(t=u.applicationId||chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,n=new chrome.cast.SessionRequest(t),i=new chrome.cast.ApiConfig(n,c,f),chrome.cast.initialize(i,d,p))};var a,s,l,u=r.conf.chromecast||{};m.on(o,"click",".fp-chromecast",function(e){if(e.preventDefault(),a)return r.trigger("pause",[r]),a.stop(),a=null,void h();r.playing&&r.pause(),chrome.cast.requestSession(function(e){var t=(a=e).receiver.friendlyName;g.html(g.find(".fp-chromecast-engine-status")[0],"Playing on device "+t);var n=new chrome.cast.media.MediaInfo(r.video.src),i=new chrome.cast.media.LoadRequest(n);a.loadMedia(i,function(n){n.addUpdateListener(function(e){if(a){s=s||setInterval(function(){r.trigger("progress",[r,n.getEstimatedTime()])},500),e?(g.toggleClass(o,"is-chromecast",!0),g.toggleClass(l,"fp-active",!0),r.hijack({pause:function(){n.pause()},resume:function(){n.play()},seek:function(e){var t=new chrome.cast.media.SeekRequest;t.currentTime=e,n.seek(t)}})):(h(),r.trigger("finish",[r]));var t=n.playerState;r.paused&&t===chrome.cast.media.PlayerState.PLAYING&&r.trigger("resume",[r]),r.playing&&t===chrome.cast.media.PlayerState.PAUSED&&r.trigger("pause",[r]),g.toggleClass(o,"is-loading",t===chrome.cast.media.PlayerState.BUFFERING)}})},function(){})},function(e){console.error("requestSession error",e)})})}function c(){console.log("sessionListener")}function f(e){e===chrome.cast.ReceiverAvailability.AVAILABLE&&function(){var e=g.find(".fp-header",o)[0];if(!e)return;g.find(".fp-chromecast",e).forEach(g.removeNode),g.find(".fp-chromecast-engine",o).forEach(g.removeNode),l=g.createElement("a",{class:"fp-chromecast fp-icon",title:"Play on Cast device"}),e.insertBefore(l,g.find(".fp-fullscreen",e)[0]);var t=g.createElement("div",{class:"fp-chromecast-engine"}),n=g.createElement("p",{class:"fp-chromecast-engine-status"}),i=g.createElement("p",{class:"fp-chromecast-engine-icon"});t.appendChild(i),t.appendChild(n);var r=g.find(".fp-engine",o)[0];r?r.parentNode.insertBefore(t,r):g.prepend(g.find(".fp-player",o)[0]||o,t)}()}function d(){}function p(){console.log("onError")}function h(){clearInterval(s),s=null,r.release(),g.toggleClass(o,"is-chromecast",!1),g.toggleClass(l,"fp-active",!1)}})},{"../common":1,"../flowplayer":31,bean:34,scriptjs:45}],10:[function(e,t,n){"use strict";var i=e("../flowplayer"),f=e("../common"),d=e("bean");i(function(a,s){var t=/ ?cue\d+ ?/,r=!1;function i(e){s.className=s.className.replace(t," "),0<=e&&f.addClass(s,"cue"+e)}var l={},o=-.125,u=function(e){i(e.index),a.trigger("cuepoint",[a,e])};function c(e){var t=e&&!isNaN(e.time)?e.time:e;return t<0&&(t=a.video.duration+t),.125*Math.round(t/.125)}a.on("progress",function(e,t,n){if(!r)for(var i=c(n);o<i;)l[o+=.125]&&l[o].forEach(u)}).on("unload",i).on("beforeseek",function(e){setTimeout(function(){e.defaultPrevented||(r=!0)})}).on("seek",function(e,t,n){i(),o=c(n||0)-.125,r=!1,!n&&l[0]&&l[0].forEach(u)}).on("ready",function(e,t,n){o=-.125;var i=n.cuepoints||a.conf.cuepoints||[];a.setCuepoints(i)}).on("finish",function(){for(var e=c(a.video.duration);o<e;)l[o+=.125]&&l[o].forEach(u);o=-.125}),a.conf.generate_cuepoints&&a.bind("load",function(){f.find(".fp-cuepoint",s).forEach(f.removeNode)}),a.setCuepoints=function(e){return a.cuepoints=[],l={},e.forEach(a.addCuepoint),a},a.addCuepoint=function(e){a.cuepoints||(a.cuepoints=[]),"number"==typeof e&&(e={time:e}),e.index=0;var t=c(e);if(l[t]||(l[t]=[]),l[t].push(e),a.cuepoints.length&&(e.index=Math.max.apply(null,a.cuepoints.map(function(e){return e.index}))+1),a.cuepoints.push(e),a.conf.generate_cuepoints&&!1!==e.visible){var n=a.video.duration,i=f.find(".fp-timeline",s)[0];f.css(i,"overflow","visible");var r=e.time||e;r<0&&(r=n+r);var o=f.createElement("a",{className:"fp-cuepoint fp-cuepoint"+e.index});f.css(o,"left",r/n*100+"%"),i.appendChild(o),d.on(o,"mousedown",function(e){e.preventDefault(),e.stopPropagation(),a.seek(r)})}return a},a.removeCuepoint=function(t){"number"==typeof t&&(t=a.cuepoints.filter(function(e){return e.index===t})[0]);var e=a.cuepoints.indexOf(t),n=c(t);if(-1!==e){a.cuepoints=a.cuepoints.slice(0,e).concat(a.cuepoints.slice(e+1));var i=f.find(".fp-timeline",s)[0];f.find(".fp-cuepoint"+t.index,i).forEach(f.removeNode);var r=l[n].indexOf(t);if(-1!==r)return l[n]=l[n].slice(0,r).concat(l[n].slice(r+1)),a}}})},{"../common":1,"../flowplayer":31,bean:34}],11:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("bean"),l=e("../common"),o=e("./util/clipboard");i(function(a,s){if(!1!==a.conf.embed&&!1!==a.conf.share){var e=l.find(".fp-share-menu",s)[0],t=l.createElement("a",{class:"fp-icon fp-embed",title:"Copy to your site"},"Embed");l.append(e,t),a.embedCode=function(){var e=a.conf.embed||{},t=a.video,n=e.width||t.width||l.width(s),i=e.height||t.height||l.height(s),r=a.conf.ratio,o='<iframe src="'+a.shareUrl(!0)+'" allowfullscreen style="border:none;';return e.width||e.height?(isNaN(n)||(n+="px"),isNaN(i)||(i+="px"),o+"width:"+n+";height:"+i+';"></iframe>'):(r&&!a.conf.adaptiveRatio||(r=i/n),'<div style="position:relative;width:100%;display:inline-block;">'+o+'position:absolute;top:0;left:0;width:100%;height:100%;"></iframe><div style="padding-top:'+100*r+'%;"></div></div>')},r.on(s,"click",".fp-embed",function(){o(a.embedCode(),function(){a.message("The embed code is now on your clipboard",2e3)},function(){a.textarea(a.embedCode(),"Copy the code below to embed your video")})})}})},{"../common":1,"../flowplayer":31,"./util/clipboard":30,bean:34}],12:[function(e,t,n){"use strict";t.exports=function(o,s){s||(s=document.createElement("div"));var l={},u={},n=function(n,i,r){var o=n.split(".")[0],a=function(e){r&&(s.removeEventListener(o,a),l[n].splice(l[n].indexOf(a),1));var t=[e].concat(u[e.timeStamp+e.type]||[]);i&&i.apply(void 0,t)};s.addEventListener(o,a),l[n]||(l[n]=[]),l[n].push(a)};o.on=o.bind=function(e,t){return e.split(" ").forEach(function(e){n(e,t)}),o},o.one=function(e,t){return e.split(" ").forEach(function(e){n(e,t,!0)}),o};o.off=o.unbind=function(e){return e.split(" ").forEach(function(e){var i=e.split(".").slice(1),r=e.split(".")[0];Object.keys(l).filter(function(e){var t,n=e.split(".").slice(1);return(!r||0===e.indexOf(r))&&(t=n,0===i.filter(function(e){return-1===t.indexOf(e)}).length)}).forEach(function(e){var t=l[e],n=e.split(".")[0];l[e]=t.filter(function(e){return s.removeEventListener(n,e),!1})})}),o},o.trigger=function(e,t,n){if(e){t=(t||[]).length?t||[]:[t];var i,r=document.createEvent("Event");return i=e.type||e,r.initEvent(i,!1,!0),Object.defineProperty&&(r.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}),u[r.timeStamp+r.type]=t,s.dispatchEvent(r),n?r:o}}},t.exports.EVENTS=["beforeseek","disable","error","finish","fullscreen","fullscreen-exit","load","mute","pause","progress","ready","resume","seek","speed","stop","unload","volume","boot","shutdown"]},{}],13:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),a=e("bean");i(function(e,t){var o=e.conf;if(!1!==o.share&&o.facebook){e.facebook=function(){var e,t,n=screen.height,i=screen.width,r="string"==typeof o.facebook?o.facebook:window.location.toString();e=Math.round(i/2-275),t=0,420<n&&(t=Math.round(n/2-210)),window.open("https://www.facebook.com/sharer.php?s=100&p[url]="+encodeURIComponent(r),"sharer","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,left="+e+",top="+t)};var n=r.find(".fp-share-menu",t)[0],i=r.createElement("a",{class:"fp-icon fp-facebook"},"Facebook");r.append(n,i),a.on(t,"click",".fp-facebook",function(){e.facebook()})}})},{"../common":1,"../flowplayer":31,bean:34}],14:[function(e,t,n){"use strict";var s,i=e("../flowplayer"),r=e("bean"),l=e("../common"),u="fullscreen",c="fullscreen-exit",f=i.support.fullscreen;r.on(document,"fullscreenchange.ffscr webkitfullscreenchange.ffscr mozfullscreenchange.ffscr MSFullscreenChange.ffscr",function(e){var t=document.webkitCurrentFullScreenElement||document.mozFullScreenElement||document.fullscreenElement||document.msFullscreenElement||e.target;if(s||t.parentNode&&t.parentNode.getAttribute("data-flowplayer-instance-id")){var n=s||i(t.parentNode);t&&!s?s=n.trigger(u,[n]):(s.trigger(c,[s]),s=null)}}),i(function(t,n){var i=l.createElement("div",{className:"fp-player"});if(Array.prototype.map.call(n.children,l.identity).forEach(function(e){l.matches(e,".fp-ratio,script")||i.appendChild(e)}),n.appendChild(i),t.conf.fullscreen){var r,o,e,a=window;t.isFullscreen=!1,t.fullscreen=function(e){if(!t.disabled)return void 0===e&&(e=!t.isFullscreen),e&&(r=a.scrollY,o=a.scrollX),f?e?["requestFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].forEach(function(e){"function"==typeof i[e]&&(i[e](Element.ALLOW_KEYBOARD_INPUT),"webkitRequestFullScreen"!==e||document.webkitFullscreenElement||i[e]())}):["exitFullscreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].forEach(function(e){"function"==typeof document[e]&&document[e]()}):t.trigger(e?u:c,[t]),t},t.on("mousedown.fs",function(){+new Date-e<150&&t.ready&&t.fullscreen(),e=+new Date}),t.on(u,function(){l.addClass(n,"is-fullscreen"),l.toggleClass(n,"fp-minimal-fullscreen",l.hasClass(n,"fp-minimal")),l.removeClass(n,"fp-minimal"),f||l.css(n,"position","fixed"),t.isFullscreen=!0}).on(c,function(){var e;l.toggleClass(n,"fp-minimal",l.hasClass(n,"fp-minimal-fullscreen")),l.removeClass(n,"fp-minimal-fullscreen"),f||"html5"!==t.engine||(e=n.css("opacity")||"",l.css(n,"opacity",0)),f||l.css(n,"position",""),l.removeClass(n,"is-fullscreen"),f||"html5"!==t.engine||setTimeout(function(){n.css("opacity",e)}),t.isFullscreen=!1,a.scrollTo(o,r)}).on("unload",function(){t.isFullscreen&&t.fullscreen()}),t.on("shutdown",function(){s=null,l.removeNode(i)})}})},{"../common":1,"../flowplayer":31,bean:34}],15:[function(e,t,n){"use strict";var o,i,r=e("../flowplayer"),a=e("bean"),s=e("../common");a.on(document,"keydown.fp",function(e){var t=o,n=e.ctrlKey||e.metaKey||e.altKey,i=e.which,r=t&&t.conf;if(t&&r.keyboard&&!t.disabled&&!n&&t.ready){if(e.shiftKey)return 39==i?t.speed(!0):37==i&&t.speed(!1),e.preventDefault();if(i<58&&47<i)return e.preventDefault(),t.seekTo(i-48);(function(){switch(i){case 38:case 75:return t.volume(t.volumeLevel+.15),!0;case 40:case 74:return t.volume(t.volumeLevel-.15),!0;case 39:case 76:return t.seeking=!0,t.seek(!0),!0;case 37:case 72:return t.seeking=!0,t.seek(!1),!0;case 190:return t.seekTo(),!0;case 32:return t.toggle(),!0;case 70:return r.fullscreen&&t.fullscreen(),!0;case 77:return t.mute(),!0;case 81:return t.unload(),!0}})()&&e.preventDefault()}}),r(function(t,n){t.conf.keyboard&&(a.on(document,"click",function(e){if(s.hasParent(e.target,n))o=t.disabled?0:t;else{if(o!==t)return;o=0}o&&(i=n)}),t.bind("shutdown",function(){i==n&&(i=null)}))})},{"../common":1,"../flowplayer":31,bean:34}],16:[function(e,t,n){var i=e("../flowplayer"),l=e("../common"),u=e("bean");i(function(a,s){a.showMenu=function(e,t){var n=l.find(".fp-ui",s)[0];l.toggleClass(e,"fp-active",!0),setTimeout(function(){u.one(document,"click",function(){a.hideMenu(e)})});var i=t;if(t&&t.tagName&&(i={left:l.offset(t).left,rightFallbackOffset:l.width(t),top:l.offset(t).top+l.height(t)}),!i)return l.css(e,"top","auto");i.rightFallbackOffset=i.rightFallbackOffset||0;var r=i.top-l.offset(n).top,o=i.left-l.offset(n).left;l.width(e)+o>l.width(n)&&(o=o-l.width(e)+i.rightFallbackOffset),l.height(e)+r>l.height(n)&&(r-=l.height(e)),l.css(e,{top:r+"px",left:o+"px",right:"auto"})},a.hideMenu=function(e){l.toggleClass(e,"fp-active",!1),l.css(e,{top:"-9999em"})}})},{"../common":1,"../flowplayer":31,bean:34}],17:[function(e,t,n){var i=e("../flowplayer"),l=e("../common"),r=e("bean");i(function(e,t){var a=l.find(".fp-header",t)[0],s=l.find(".fp-ui",t)[0];e.message=function(e,t){var n,i,r=(n=e,i=l.createElement("div",{className:"fp-message"},n),s.insertBefore(i,a),setTimeout(function(){l.toggleClass(i,"fp-shown")}),i),o=function(){l.toggleClass(r,"fp-shown"),setTimeout(function(){var e;e=r,l.removeNode(e)},500)};return t&&setTimeout(o,t),o},e.textarea=function(e){var t=document.createElement("textarea");t.value=e,t.className="fp-textarea",s.appendChild(t),r.on(document,"click.fptextarea",function(e){if(e.target===t)return t.select();e.stopPropagation(),e.preventDefault(),l.removeNode(t),r.off(document,"click.fptextarea")})}})},{"../common":1,"../flowplayer":31,bean:34}],18:[function(e,t,n){"use strict";var i=e("../flowplayer"),p=/IEMobile/.test(window.navigator.userAgent),h=e("../common"),g=e("bean"),m=e("./ui").format,v=i.support,y=window.navigator.userAgent;(v.touch||p)&&i(function(n,i){var e=v.android,t=e&&!e.firefox,r=/Silk/.test(y),o=e.version||0;if(t&&!p){if(!/Chrome/.test(y)&&o<4||e.samsung&&o<5){var a=n.load;n.load=function(){var e=a.apply(n,arguments);return h.find("video.fp-engine",i)[0].load(),n.trigger("ready",[n,n.video]),e}}var s,l=0,u=function(e){s=setInterval(function(){e.video.time=++l,e.trigger("progress",[e,l])},1e3)};n.on("ready pause unload",function(){s&&(clearInterval(s),s=null)}),n.on("ready",function(){l=0}),n.on("resume",function(e,t){if(t.live)return l?u(t):void n.one("progress",function(e,t,n){0===n&&u(t)})})}v.volume||(h.removeClass(i,"fp-mute"),h.addClass(i,"no-volume")),v.iOS&&h.addClass(i,"fp-mute"),h.addClass(i,"is-touch"),n.sliders&&n.sliders.timeline&&n.sliders.timeline.disableAnimation();var c=!1;g.on(i,"touchmove",function(){c=!0});var f=!0;if(g.on(i,"touchend click",function(e){if(c)c=!1;else{var t=h.find("video.fp-engine",i)[0];if(f&&n.conf.clickToUnMute&&t&&t.muted&&n.conf.autoplay&&(t.muted=!1),f=!1,n.playing&&!h.hasClass(i,"is-mouseover"))return h.addClass(i,"is-mouseover"),h.removeClass(i,"is-mouseout"),e.preventDefault(),void e.stopPropagation();n.playing||n.splash||!h.hasClass(i,"is-mouseout")||h.hasClass(i,"is-mouseover")||setTimeout(function(){n.disabled||n.playing||n.splash||h.find("video.fp-engine",i)[0].play()},400)}}),!v.fullscreen&&n.conf.native_fullscreen&&"function"==typeof h.createElement("video").webkitEnterFullScreen){var d=n.fullscreen;n.fullscreen=function(){var e=h.find("video.fp-engine",i)[0];if(!e)return d.apply(n);n.trigger("fullscreen",[n]),g.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement===e&&(g.off(document,".nativefullscreen"),g.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement||(g.off(document,".nativefullscreen"),n.trigger("fullscreen-exit",[n]))}))}),e.webkitEnterFullScreen(),g.one(e,"webkitendfullscreen",function(){g.off(document,"fullscreenchange.nativefullscreen"),n.trigger("fullscreen-exit",[n]),h.prop(e,"controls",!0),h.prop(e,"controls",!1)})}}(t||r)&&n.bind("ready",function(){var t=h.find("video.fp-engine",i)[0];n.conf.splash&&t.paused&&"hlsjs-lite"!==n.engine.engineName&&(g.one(t,"canplay",function(){t.play()}),t.load()),n.bind("progress.dur",function(){if(!n.live&&!n.conf.live){var e=t.duration;1!==e&&(n.video.duration=e,h.find(".fp-duration",i)[0].innerHTML=m(e),n.unbind("progress.dur"))}})})})},{"../common":1,"../flowplayer":31,"./ui":27,bean:34}],19:[function(e,t,n){"use strict";var i=e("../flowplayer"),o=e("extend-object"),a=e("bean"),g=e("../common"),s=e("./resolve"),l=new s,m=window.jQuery,v=/^#/;i(function(u,c){var f=o({active:"is-active",advance:!0,query:".fp-playlist a"},u.conf),d=f.active,t=g.find(".fp-ui",c)[0],e=g.hasClass(c,"fp-custom-playlist")||!!f.customPlaylist;function n(){return g.find(f.query,p())}function p(){if(!v.test(f.query))return c}function h(){return g.find(f.query+"."+d,p())}function i(){var i=g.find(".fp-playlist",c)[0];if(!i){i=g.createElement("div",{className:"fp-playlist"});var e=g.find(".fp-next,.fp-prev",c);e.length?e[0].parentElement.insertBefore(i,e[0]):g.insertAfter(c,g.find("video",c)[0],i)}i.innerHTML="",u.conf.playlist[0].length&&(u.conf.playlist=u.conf.playlist.map(function(e){if("string"==typeof e){var t=e.split(s.TYPE_RE)[1];return{sources:[{type:"m3u8"===t.toLowerCase()?"application/x-mpegurl":"video/"+t,src:e}]}}return{sources:e.map(function(t){var n={};return Object.keys(t).forEach(function(e){n.type=/mpegurl/i.test(e)?"application/x-mpegurl":"video/"+e,n.src=t[e]}),n})}})),u.conf.playlist.forEach(function(e,t){var n=e.sources[0].src;i.appendChild(g.createElement("a",{href:n,className:u.video.index===t?d:void 0,"data-index":t}))})}g.toggleClass(c,"fp-custom-playlist",e),g.toggleClass(c,"fp-default-playlist",!e),u.play=function(e){if(void 0===e)return u.resume();if("number"==typeof e&&!u.conf.playlist[e])return u;if("number"!=typeof e)return u.load.apply(null,arguments);var t=o({index:e},u.conf.playlist[e]);return u.off("beforeresume.fromfirst"),"number"==typeof e&&e===u.video.index?u.seek(0,function(){u.resume()}):(u.load(t,function(){u.video.index=e}),u)},u.next=function(e){e&&e.preventDefault();var t=u.video.index;return-1!=t&&(t=t===u.conf.playlist.length-1?0:t+1,u.play(t)),u},u.prev=function(e){e&&e.preventDefault();var t=u.video.index;return-1!=t&&(t=0===t?u.conf.playlist.length-1:t-1,u.play(t)),u},u.setPlaylist=function(e,t){return u.conf.playlist=e,t||delete u.video.index,i(),u},u.addPlaylistItem=function(e){return delete u.video.is_last,u.setPlaylist(u.conf.playlist.concat([e]),!0)},u.removePlaylistItem=function(e){var t=u.conf.playlist;return u.setPlaylist(t.slice(0,e).concat(t.slice(e+1)))},a.on(c,"click",".fp-next",u.next),a.on(c,"click",".fp-prev",u.prev),u.off("finish.pl").on("finish.pl",function(e,t){if(void 0===t.conf.advance||t.conf.advance){if(t.video.loop)return t.seek(0,function(){t.resume()});var n=0<=t.video.index?t.video.index+1:void 0;n<t.conf.playlist.length||f.loop?(n=n===t.conf.playlist.length?0:n,g.removeClass(c,"is-finished"),setTimeout(function(){t.play(n)})):1<t.conf.playlist.length&&(t.one("beforeresume.fromfirst",function(e){e.preventDefault(),t.play(0)}),t.one("seek",function(){t.off("beforeresume.fromfirst")}))}});var r=!1;u.conf.playlist.length&&(r=!0,i(),u.conf.clip&&u.conf.clip.sources.length||(u.conf.clip=u.conf.playlist[u.conf.startIndex||0])),n().length&&!r&&(u.conf.playlist=[],delete u.conf.startIndex,n().forEach(function(e){var t=e.href;e.setAttribute("data-index",u.conf.playlist.length);var n=l.resolve(t,u.conf.clip.sources);m&&o(n,m(e).data()),u.conf.playlist.push(n)})),g.find(".fp-prev,.fp-next,.fp-playlist",c).forEach(function(e){t.appendChild(e)}),a.on(v.test(f.query)?document:c,"click",f.query,function(e){e.preventDefault();var t=e.currentTarget,n=Number(t.getAttribute("data-index"));-1!=n&&u.play(n)}),u.on("load",function(e,t,n){if(u.conf.playlist.length){var i,r=h()[0],o=r&&r.getAttribute("data-index"),a=n.index=void 0!==(i=n).index?i.index:void 0!==u.video.index?u.video.index:u.conf.startIndex||0,s=g.find(f.query+'[data-index="'+a+'"]',p())[0],l=a==u.conf.playlist.length-1;r&&g.removeClass(r,d),s&&g.addClass(s,d),g.removeClass(c,"video"+o),g.addClass(c,"video"+a),g.toggleClass(c,"last-video",l),n.index=t.video.index=a,n.is_last=t.video.is_last=l}}).on("unload.pl",function(){u.conf.playlist.length&&(h().forEach(function(e){g.toggleClass(e,d)}),u.conf.playlist.forEach(function(e,t){g.removeClass(c,"video"+t)}),delete u.video.index)}),u.conf.playlist.length&&(u.conf.loop=!1)})},{"../common":1,"../flowplayer":31,"./resolve":21,bean:34,"extend-object":39}],20:[function(e,t,n){var i=e("../flowplayer"),s=e("../common"),l=e("bean");i(function(n,i){var r=s.find(".fp-ui",i)[0],o=s.find(".fp-controls",r)[0];function a(t){s.find(".fp-qsel-menu a",i).forEach(function(e){s.toggleClass(e,"fp-selected",e.getAttribute("data-quality")==t),s.toggleClass(e,"fp-color",e.getAttribute("data-quality")==t)})}l.on(i,"click",".fp-qsel",function(){var e=s.find(".fp-qsel-menu",i)[0];s.hasClass(e,"fp-active")?n.hideMenu():n.showMenu(e)}),l.on(i,"click",".fp-qsel-menu a",function(e){var t=e.target.getAttribute("data-quality");n.quality(t)}),n.quality=function(e){e=isNaN(Number(e))?e:Number(e),n.trigger("quality",[n,e])},n.on("quality",function(e,t,n){a(n,t.video.qualities)}),n.on("ready",function(e,t,n){s.find(".fp-qsel-menu",i).forEach(s.removeNode),s.find(".fp-qsel",i).forEach(s.removeNode),!n.qualities||n.qualities.filter(function(e){return void 0===e.value||-1<e.value}).length<2||(!function(e){o.appendChild(s.createElement("strong",{className:"fp-qsel"},"HD"));var i=s.createElement("div",{className:"fp-menu fp-qsel-menu"},"<strong>Quality</strong>");e.forEach(function(e){var t=document.createElement("a"),n=void 0!==e.value?e.value:e;t.setAttribute("data-quality",n),t.innerHTML=e.label||e,i.appendChild(t)}),r.appendChild(i)}(n.qualities,n.quality),a(n.quality,n.qualities))})})},{"../common":1,"../flowplayer":31,bean:34}],21:[function(e,t,n){"use strict";var r=/\.(\w{3,4})(\?.*)?$/i,o=e("extend-object");function i(e){var t=e.attr("src"),n=e.attr("type")||"",i=t.split(r)[1];return n=n.toLowerCase(),o(e.data(),{src:t,suffix:i||n,type:n||i})}t.exports=function(){this.sourcesFromVideoTag=function(e,t){var n=[];return t("source",e).each(function(){n.push(i(t(this)))}),!n.length&&e.length&&n.push(i(e)),n},this.resolve=function(n,e){return n?("string"==typeof n&&((n={src:n,sources:[]}).sources=(e||[]).map(function(e){var t=e.src.split(r)[1];return{type:e.type,src:n.src.replace(r,"."+t+"$2")}})),n instanceof Array&&(n={sources:n.map(function(i){return i.type&&i.src?i:Object.keys(i).reduce(function(e,t){return o(e,{type:(n=t,/mpegurl/i.test(n)?"application/x-mpegurl":"video/"+n),src:i[t]});var n},{})})}),n):{sources:e}}},t.exports.TYPE_RE=r},{"extend-object":39}],22:[function(e,t,n){"use strict";var i=e("../flowplayer"),o=e("../common"),a=e("extend-object"),s=e("bean");i(function(t,e){var n=t.conf;if(!1!==n.share){t.shareUrl=function(e){return e&&n.embed&&n.embed.iframe?n.embed.iframe:"string"==typeof t.conf.share?t.conf.share:(e?"https://flowplayer.com/e/":"https://flowplayer.com/s/")+"?t="+encodeURIComponent(t.video.title||(o.find("title")[0]||{}).innerHTML||"Flowplayer video")+"&c="+encodeURIComponent(btoa(JSON.stringify(a({},t.conf,t.extensions)).replace(/[\u007F-\uFFFF]/g,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).substr(-4)})))+"&r="+encodeURIComponent(window.location.toString())};var i=o.createElement("div",{className:"fp-menu fp-share-menu"},"<strong>Share</strong>");o.find(".fp-ui",e)[0].appendChild(i);var r=o.find(".fp-share",e)[0];s.on(e,"click",".fp-share",function(e){e.preventDefault(),o.hasClass(i,"fp-active")?t.hideMenu():t.showMenu(i,r)})}else o.find(".fp-share",e).forEach(o.removeNode)})},{"../common":1,"../flowplayer":31,bean:34,"extend-object":39}],23:[function(e,t,n){"use strict";var f=e("../flowplayer"),d=e("../common"),p=e("bean"),i=e("./subtitles/parser");f.defaults.subtitleParser=i,f(function(r,o){var a,s,n,l,i;(!f.support.inlineVideo||!f.support.fullscreen&&r.conf.native_fullscreen)&&(r.conf.nativesubtitles=!0),r.ui||(r.ui={}),r.ui.createSubtitleControl=function(e,t){return i=t,n=n||d.createElement("strong",{className:"fp-cc"},"CC"),l=l||d.createElement("div",{className:"fp-menu fp-subtitle-menu"},"<strong>Closed Captions</strong>"),d.find("a",l).forEach(d.removeNode),l.appendChild(d.createElement("a",{"data-subtitle-index":-1},"No subtitles")),(e||[]).forEach(function(e,t){var n=e.srclang||"en",i=e.label||"Default ("+n+")",r=d.createElement("a",{"data-subtitle-index":t},i);l.appendChild(r)}),d.find(".fp-ui",o)[0].appendChild(l),d.find(".fp-controls",o)[0].appendChild(n),d.toggleClass(n,"fp-hidden",!e||!e.length),n},r.ui.setActiveSubtitleItem=function(e){u(e)},p.on(o,"click",".fp-cc",function(){d.hasClass(l,"fp-active")?r.hideMenu():r.showMenu(l)}),p.on(o,"click",".fp-subtitle-menu [data-subtitle-index]",function(e){e.preventDefault();var t=e.target.getAttribute("data-subtitle-index");return i?i(t):"-1"===t?r.disableSubtitles():void r.loadSubtitles(t)});r.on("ready",function(e,t,n){if(t.subtitles=[],s=(s=d.find(".fp-captions",o)[0])||d.appendTo(d.createElement("div",{class:"fp-captions"}),d.find(".fp-player",o)[0]),Array.prototype.forEach.call(s.children,d.removeNode),r.ui.createSubtitleControl(r.video.subtitles),d.removeClass(o,"has-menu"),r.disableSubtitles(),n.subtitles&&n.subtitles.length){var i=n.subtitles.filter(function(e){return e.default})[0];i&&t.loadSubtitles(n.subtitles.indexOf(i))}}),r.showSubtitle=function(e){d.html(s,e),d.addClass(s,"fp-shown")},r.hideSubtitle=function(){d.removeClass(s,"fp-shown")},r.bind("cuepoint",function(e,t,n){n.subtitle?(a=n.index,r.showSubtitle(n.subtitle.text)):n.subtitleEnd&&(r.hideSubtitle(),a=n.index)}),r.bind("seek",function(e,t,i){a&&r.cuepoints[a]&&r.cuepoints[a].time>i&&(d.removeClass(s,"fp-shown"),a=null),(r.cuepoints||[]).forEach(function(e,t){var n=e.subtitle;n&&a!=t?i>=e.time&&(!n.endTime||i<=n.endTime)&&r.trigger("cuepoint",[r,e]):e.subtitleEnd&&i>=e.time&&t==a+1&&r.trigger("cuepoint",[r,e])})}),r.on("unload",function(){d.find(".fp-captions",o).forEach(d.removeNode)});var u=function(e){d.toggleClass(d.find("a.fp-selected",l)[0],"fp-selected"),d.toggleClass(d.find('a[data-subtitle-index="'+e+'"]',l)[0],"fp-selected")},c=function(e,t){var n=d.find("video.fp-engine",o)[0].textTracks;n.length&&(null===e?[].forEach.call(n,function(e){e.mode=t}):n[e].mode=t)};r.disableSubtitles=function(){return r.subtitles=[],(r.cuepoints||[]).forEach(function(e){(e.subtitle||e.subtitleEnd)&&r.removeCuepoint(e)}),s&&Array.prototype.forEach.call(s.children,d.removeNode),u(-1),f.support.subtitles&&r.conf.nativesubtitles&&"html5"==r.engine.engineName&&c(null,"disabled"),r},r.loadSubtitles=function(e){r.disableSubtitles();var t=r.video.subtitles[e].src;if(t){if(u(e),!f.support.subtitles||!r.conf.nativesubtitles||"html5"!=r.engine.engineName)return d.xhrGet(t,function(e){r.conf.subtitleParser(e).forEach(function(e,t){e.title||(e.title="subtitle"+t);var n={time:e.startTime,subtitle:e,visible:!1};r.subtitles.push(e),r.addCuepoint(n),r.addCuepoint({time:e.endTime,subtitleEnd:e.title,visible:!1}),0!==e.startTime||r.video.time||r.splash||r.trigger("cuepoint",[r,f.extend({},n,{index:0})]),r.splash&&r.one("ready",function(){r.trigger("cuepoint",[r,n])})})},function(){return r.trigger("error",{code:8,url:t}),!1}),r;c(e,"showing")}}})},{"../common":1,"../flowplayer":31,"./subtitles/parser":24,bean:34}],24:[function(e,t,n){t.exports=function(e){var t=/^(([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3}) --\> (([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/;function n(e){var t=e.split(":");return 2==t.length&&t.unshift(0),60*t[0]*60+60*t[1]+parseFloat(t[2].replace(",","."))}for(var i,r,o,a=[],s=0,l=e.split("\n"),u=l.length,c={};s<u;s++)if(r=t.exec(l[s])){for(i=l[s-1],o="<p>"+l[++s]+"</p><br/>";"string"==typeof l[++s]&&l[s].trim()&&s<l.length;)o+="<p>"+l[s]+"</p><br/>";c={title:i,startTime:n(r[1]),endTime:n(r[3]),text:o},a.push(c)}return a}},{}],25:[function(e,t,n){"use strict";var S=e("../flowplayer"),E=e("extend-object");!function(){var e={},t=document.documentElement.style,n=navigator.userAgent.toLowerCase(),i=/(chrome)[ \/]([\w.]+)/.exec(n)||/(safari)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];i[1]&&(e[i[1]]=!0,e.version=i[2]||"0"),e.safari&&(e.version=(/version\/([\w.]+)/.exec(n)||[])[1]);var r,o,a=((o=document.createElement("video")).loop=!0,o.autoplay=!0,o.preload=!0,o),s=navigator.userAgent,l=e.msie||/Trident\/7/.test(s),u=/iPad|MeeGo/.test(s)&&!/CriOS/.test(s),c=/iPad/.test(s)&&/CriOS/.test(s),f=/iP(hone|od)/i.test(s)&&!/iPad/.test(s)&&!/IEMobile/i.test(s),d=/Android/.test(s),p=d&&/Firefox/.test(s),h=d&&/SAMSUNG/.test(s),g=/Silk/.test(s),m=/IEMobile/.test(s),v=m?parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(s)[1],10):0,y=m?parseFloat(/IEMobile\/(\d+\.\d+)/.exec(s)[1],10):0,w=u||f?(r=/iP(ad|hone)(; CPU)? OS (\d+_\d)/.exec(s))&&1<r.length?parseFloat(r[r.length-1].replace("_","."),10):0:0,b=d?parseFloat(/Android\ (\d+(\.\d+)?)/.exec(s)[1],10):0,I=(f||u||c)&&{iPhone:f,iPad:u||c,version:w,chrome:c},M=E(S.support,{browser:e,iOS:I,android:!!d&&{firefox:p,opera:/Opera/.test(s),samsung:h,version:b},subtitles:!!a.addTextTrack,fullscreen:"boolean"==typeof document.webkitFullscreenEnabled?document.webkitFullscreenEnabled:"function"==typeof document.webkitCancelFullScreen&&!/Mac OS X 10_5.+Version\/5\.0\.\d Safari/.test(s)||document.mozFullScreenEnabled||"function"==typeof document.exitFullscreen||"function"==typeof document.msExitFullscreen,inlineBlock:!(l&&e.version<8),touch:"ontouchstart"in window,dataload:!u&&!f&&!m,flex:"flexWrap"in t||"WebkitFlexWrap"in t||"msFlexWrap"in t,svg:!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,zeropreload:!l&&!d,volume:!(u||f||g||c),cachedVideoTag:!(u||f||c||m),firstframe:!(g||m||p||h||w&&w<10||d&&b<4.4),inlineVideo:(!f||10<=w)&&(!m||8.1<=v&&11<=y)&&(!d||3<=b),hlsDuration:!d&&(!e.safari||u||f||c),seekable:!u&&!c,preloadMetadata:!I&&!e.safari});M.autoplay=M.firstframe,m&&(M.browser.safari=!1);try{var C=navigator.plugins["Shockwave Flash"],A=l?new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version"):C.description;l||C[0].enabledPlugin?((A=A.split(/\D+/)).length&&!A[0]&&(A=A.slice(1)),M.flashVideo=9<A[0]||9==A[0]&&115<=A[3]):M.flashVideo=!1}catch(e){}try{M.video=!!a.canPlayType,M.video&&a.canPlayType("video/mp4")}catch(e){M.video=!1}M.animation=function(){for(var e=["","Webkit","Moz","O","ms","Khtml"],t=document.createElement("p"),n=0;n<e.length;n++)if(void 0!==t.style[e[n]+"AnimationName"])return!0}()}()},{"../flowplayer":31,"extend-object":39}],26:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),s=e("bean");i(function(o,e){var a=o.conf;if(!1!==a.share&&!1!==a.twitter){o.tweet=function(){var e,t,n=screen.height,i=screen.width,r="string"==typeof a.twitter?a.twitter:o.shareUrl();e=Math.round(i/2-275),t=0,420<n&&(t=Math.round(n/2-210)),window.open("https://twitter.com/intent/tweet?url="+encodeURIComponent(r),"intent","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,left="+e+",top="+t)};var t=r.find(".fp-share-menu",e)[0],n=r.createElement("a",{class:"fp-icon fp-twitter"},"Twitter");r.append(t,n),s.on(e,"click",".fp-twitter",function(){o.tweet()})}})},{"../common":1,"../flowplayer":31,bean:34}],27:[function(e,t,n){(function(Z){"use strict";var P=e("../flowplayer"),k=e("../common"),Y=e("bean"),z=e("./ui/slider"),G=e("./ui/bar-slider");function r(e){return 10<=(e=parseInt(e,10))?e:"0"+e}function R(e,t){e=Math.max(e||0,0),e=t?Math.ceil(e):Math.floor(e);var n=Math.floor(e/3600),i=Math.floor(e/60);return e-=60*i,1<=n?n+":"+r(i-=60*n)+":"+r(e):r(i)+":"+r(e)}var O=Z("PHN2ZyBjbGFzcz0iZnAtcGxheS1yb3VuZGVkLW91dGxpbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDA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wIDAgMC4zIDAgMCAwIDAgMCAwLjQgMCIgLz4KICAgICAgPGZlR2F1c3NpYW5CbHVyIHJlc3VsdD0iYmx1ck91dCIgaW49Im1hdHJpeE91dCIgc3RkRGV2aWF0aW9uPSI0IiAvPgogICAgICA8ZmVCbGVuZCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJibHVyT3V0IiBtb2RlPSJub3JtYWwiIC8+CiAgICA8L2ZpbHRlcj4KICA8L2RlZnM+Cjwvc3ZnPgo=","base64"))),k.css(e,{width:0,height:0,overflow:"hidden",position:"absolute",margin:0,padding:0})}catch(e){}var r,l=s.conf,u=P.support;k.find(".fp-ratio,.fp-ui",a).forEach(k.removeNode),k.addClass(a,"flowplayer"),a.appendChild(k.createElement("div",{className:"fp-ratio"}));var o=k.createElement("div",{className:"fp-ui"},' <div class="fp-waiting"> {{ LOADING_SHARP_OUTLINE }} {{ LOADING_SHARP_FILL }} {{ LOADING_ROUNDED_FILL }} {{ LOADING_ROUNDED_OUTLINE }} </div> <div class="fp-header"> <a class="fp-share fp-icon"></a> <a class="fp-fullscreen fp-icon"></a> <a class="fp-unload fp-icon"></a> </div> <p class="fp-speed-flash"></p> <div class="fp-play fp-visible"> <a class="fp-icon fp-playbtn"></a> {{ PLAY_ROUNDED_FILL }} {{ PLAY_ROUNDED_OUTLINE }} {{ PLAY_SHARP_FILL }} {{ PLAY_SHARP_OUTLINE }} </div> <div class="fp-pause"> <a class="fp-icon fp-playbtn"></a> {{ PAUSE_SHARP_OUTLINE }} {{ PAUSE_SHARP_FILL }} {{ PAUSE_ROUNDED_OUTLINE }} {{ PAUSE_ROUNDED_FILL }} </div> <div class="fp-controls"> <a class="fp-icon fp-playbtn"></a> <span class="fp-elapsed">00:00</span> <div class="fp-timeline fp-bar"> <span class="fp-timestamp"></span> <div class="fp-progress fp-color"></div> </div> <span class="fp-duration"></span> <span class="fp-remaining"></span> <div class="fp-volume"> <a class="fp-icon fp-volumebtn"></a> <div class="fp-volumebar fp-bar-slider"> <em></em><em></em><em></em><em></em><em></em><em></em><em></em> </div> </div> <strong class="fp-speed fp-hidden"></strong> </div>'.replace("{{ PAUSE_ROUNDED_FILL }}",F).replace("{{ PAUSE_ROUNDED_OUTLINE }}",B).replace("{{ PAUSE_SHARP_FILL }}",H).replace("{{ PAUSE_SHARP_OUTLINE }}",V).replace("{{ PLAY_SHARP_OUTLINE }}",J).replace("{{ PLAY_SHARP_FILL }}",U).replace("{{ PLAY_ROUNDED_OUTLINE }}",O).replace("{{ PLAY_ROUNDED_FILL }}",W).replace("{{ LOADING_ROUNDED_OUTLINE }}",X).replace("{{ LOADING_ROUNDED_FILL }}",_).replace("{{ LOADING_SHARP_FILL }}",K).replace("{{ LOADING_SHARP_OUTLINE }}",Q).replace(/url\(#/g,"url("+window.location.href.replace(window.location.hash,"").replace(/\#$/g,"")+"#"));function t(e){return k.find(".fp-"+e,a)[0]}a.appendChild(o);var n=t("waiting"),c=t("elapsed"),i=t("ratio"),f=t("speed-flash"),d=t("duration"),p=t("remaining"),h=t("timestamp"),g=k.css(i,"padding-top"),m=t("play"),v=t("pause"),y=t("timeline"),w=z(y,s.rtl),b=t("fullscreen"),I=t("volumebar"),M=G(I,{rtl:s.rtl}),C=k.hasClass(a,"no-toggle");w.disableAnimation(k.hasClass(a,"is-touch")),s.sliders=s.sliders||{},s.sliders.timeline=w,s.sliders.volume=M;var A=[];function S(e){k.css(i,"padding-top",100*e+"%"),u.inlineBlock||k.height(k.find("object",a)[0],k.height(a))}function E(e){e?(k.addClass(a,"is-mouseover"),k.removeClass(a,"is-mouseout")):(k.addClass(a,"is-mouseout"),k.removeClass(a,"is-mouseover"))}u.svg||k.html(n,"<p>loading …</p>"),l.ratio&&S(l.ratio);try{l.fullscreen||k.removeNode(b)}catch(e){k.removeNode(b)}s.on("dvrwindow",function(){w.disable(!1)}),s.on("ready",function(e,t,n){var i=t.video.duration;w.disable(t.disabled||!i),l.adaptiveRatio&&!isNaN(n.height/n.width)&&S(n.height/n.width),k.html([d,p],t.live?"Live":R(i)),k.toggleClass(a,"is-long",3600<=i),M.slide(t.volumeLevel),"flash"===t.engine.engineName?w.disableAnimation(!0,!0):w.disableAnimation(!1),k.find(".fp-title",o).forEach(k.removeNode),n.title&&k.prepend(o,k.createElement("div",{className:"fp-message fp-title"},n.title)),k.toggleClass(a,"has-title",!!n.title)}).on("unload",function(){g||l.splash||k.css(i,"paddingTop",""),w.slide(0),k.addClass(m,"fp-visible")}).on("buffer",function(e,t,n){var i=t.video,r=i.buffer/i.duration;!i.seekable&&u.seekable&&w.max(t.conf.live?1/0:r),n&&"number"!=typeof n||(n=[{start:0,end:i.buffer}]);var o=k.find(".fp-buffer",y);o.length!==n.length&&(o.forEach(k.removeNode),o=[]),n.forEach(function(e,t){var n=o[t]||k.createElement("div",{className:"fp-buffer"});k.css(n,{left:100*e.start/i.duration+"%",width:100*(e.end-e.start)/i.duration+"%"}),k.prepend(y,n)})}).on("speed",function(e,t,n){t.video.time&&(k.text(f,n+"x"),k.addClass(f,"fp-shown"),(A=A.filter(function(e){return clearTimeout(e),!1})).push(setTimeout(function(){k.addClass(f,"fp-hilite"),A.push(setTimeout(function(){k.removeClass(f,"fp-hilite"),A.push(setTimeout(function(){k.removeClass(f,"fp-shown")},300))},1e3))})))}).on("buffered",function(){w.max(1)}).on("progress seek",function(e,t,n){var i=s.video.duration,r=s.video.seekOffset||0,o=((n=n||s.video.time)-r)/(i-r);w.dragging||w.slide(o,s.seeking?0:250),k.toggleClass(a,"is-live-position",i-n<l.livePositionOffset),k.html(c,R(n)),k.html(p,R(i-n,!0))}).on("finish resume seek",function(e){k.toggleClass(a,"is-finished","finish"==e.type)}).on("resume",function(){k.addClass(m,"fp-visible"),setTimeout(function(){k.removeClass(m,"fp-visible")},300)}).on("pause",function(){k.addClass(v,"fp-visible"),setTimeout(function(){k.removeClass(v,"fp-visible")},300)}).on("stop",function(){k.html(c,R(0)),w.slide(0,100)}).on("finish",function(){k.html(c,R(s.video.duration)),w.slide(1,100),k.removeClass(a,"is-seeking")}).on("beforeseek",function(){}).on("volume",function(){M.slide(s.volumeLevel)}).on("disable",function(){var e=s.disabled;w.disable(e),M.disable(e),k.toggleClass(a,"is-disabled",s.disabled)}).on("mute",function(e,t,n){k.toggleClass(a,"is-muted",n)}).on("error",function(e,t,n){if(k.removeClass(a,"is-loading"),k.removeClass(a,"is-seeking"),k.addClass(a,"is-error"),n){t.error=!0;var i=n.code;(n.message||"").match(/DECODER_ERROR_NOT_SUPPORTED/)&&(i=3);var r=t.message((t.engine&&t.engine.engineName||"html5")+": "+l.errors[i]);k.removeClass(a,"is-mouseover"),t.one("load progress",function(){r()})}}).one("resume ready",function(){var e=k.find("video.fp-engine",a)[0];if(e&&(!k.width(e)||!k.height(e))){var t=a.style.overflow;a.style.overflow="visible",setTimeout(function(){t?a.style.overflow=t:a.style.removeProperty("overflow")})}}),Y.on(a,"mouseenter mouseleave",function(e){if(!C){var t,n="mouseover"==e.type;if(E(n),n){var i=function(){E(!0),t=new Date};s.on("pause.x volume.x",i),Y.on(a,"mousemove.x",i),r=setInterval(function(){new Date-t>l.mouseoutTimeout&&(E(!1),t=new Date)},100)}else Y.off(a,"mousemove.x"),s.off("pause.x volume.x"),clearInterval(r)}}),Y.on(a,"mouseleave",function(){(w.dragging||M.dragging)&&(k.addClass(a,"is-mouseover"),k.removeClass(a,"is-mouseout"))}),Y.on(a,"click.player",function(e){if(!s.disabled)return k.hasClass(e.target,"fp-ui")||k.hasClass(e.target,"fp-engine")||e.flash||k.hasParent(e.target,".fp-play,.fp-pause")?(e.preventDefault&&e.preventDefault(),s.toggle()):void 0}),Y.on(a,"mousemove",".fp-timeline",function(e){var t=(e.pageX||e.clientX)-k.offset(y).left,n=t/k.width(y),i=s.video,r=i.duration-(void 0===i.seekOffset?0:i.seekOffset),o=(s.rtl?1-n:n)*r;if(!(n<0)){k.html(h,R(o));var a=t-k.width(h)/2;a<0&&(a=0),a>k.width(y)-k.width(h)&&(a=!1),!1!==a?k.css(h,{left:a+"px",right:"auto"}):k.css(h,{left:"auto",right:"0px"})}}),Y.on(a,"contextmenu",function(e){var t=window;if(!k.hasClass(a,"is-flash-disabled")){var n=k.find(".fp-context-menu",a)[0];n&&(e.preventDefault(),s.showMenu(n,{left:e.clientX-t.scrollX,top:e.clientY-t.scrollY}),Y.on(a,"click",".fp-context-menu",function(e){e.stopPropagation()}))}}),s.on("flashdisabled",function(e,t,n){var i;k.addClass(a,"is-flash-disabled"),!1!==n&&(i=s.message("Seems something is blocking Adobe Flash from running")),s.one("ready progress",function(){k.removeClass(a,"is-flash-disabled"),i&&i()})}),l.poster&&k.css(a,"background-image","url("+l.poster+")");var D,N=k.css(a,"background-color"),j="none"!=k.css(a,"background-image")||N&&"rgba(0, 0, 0, 0)"!=N&&"transparent"!=N;if(j&&!l.splash){l.poster||(l.poster=!0);var L=function(){k.addClass(a,"is-poster"),k.addClass(m,"fp-visible"),s.poster=!0,s.on("resume.poster progress.poster beforeseek.poster",function(e){("beforeseek"===e.type||s.playing)&&(k.removeClass(a,"is-poster"),k.removeClass(m,"fp-visible"),s.poster=!1,s.off(".poster"))})};s.on("stop",function(){L()}),s.on("ready",function(e,t,n){n.index||n.autoplay||L()})}if("string"==typeof l.splash&&k.css(a,"background-image","url('"+l.splash+"')"),!j&&s.forcedSplash&&k.css(a,"background-color","#555"),Y.on(a,"click",".fp-toggle, .fp-play, .fp-playbtn",function(){s.disabled||s.toggle()}),Y.on(a,"click",".fp-volumebtn",function(){s.mute()}),Y.on(a,"click",".fp-fullscreen",function(){s.fullscreen()}),Y.on(a,"click",".fp-unload",function(){s.unload()}),Y.on(y,"slide",function(e){s.seeking=!0,s.seekTo(10*e)}),Y.on(I,"slide",function(e){s.volume(e)}),Y.on(a,"click",".fp-duration,.fp-remaining",function(){if(s.dvr)return s.seekTo(10);k.toggleClass(a,"is-inverted")}),E(C),s.on("shutdown",function(){Y.off(y),Y.off(I),D&&window.cancelAnimationFrame(D),k.removeNode(o),k.find(".fp-ratio",a).forEach(k.removeNode)}),"function"==typeof window.requestAnimationFrame){var x=k.find(".fp-player",a)[0]||a,T=function(){k.toggleClass(a,"is-tiny",x.clientWidth<400),k.toggleClass(a,"is-small",x.clientWidth<600&&400<=x.clientWidth),D=window.requestAnimationFrame(T)};D=window.requestAnimationFrame(T)}}),t.exports.format=R}).call(this,e("buffer").Buffer)},{"../common":1,"../flowplayer":31,"./ui/bar-slider":28,"./ui/slider":29,bean:34,buffer:35}],28:[function(e,t,n){var c=e("bean"),f=e("../../common");t.exports=function(a,e){var r=(e=e||{}).activeClass||"fp-color",o=e.inactiveClass||"fp-grey",t=e.childSelector||"em",s=!!e.rtl,n=!1,l=f.find(t,a).length,i={unload:function(){c.off(a,".barslider")},slide:function(i,e){f.find(t,a).forEach(function(e,t){var n=t/l<i;f.toggleClass(e,r,n),f.toggleClass(e,o,!n)}),e&&c.fire(a,"slide",[i])},disable:function(e){n=e}};return c.on(a,"mousedown.sld touchstart.sld",function(e){e.preventDefault(),n||(i.slide(u(e),!0),c.on(a,"mousemove.sld touchmove.sld",function(e){e.preventDefault(),i.slide(u(e),!0)}),c.one(document,"mouseup.sld touchup.sld",function(){c.off(a,"mousemove.sld touchmove.sld")}))}),i;function u(e){var t=e.pageX||e.clientX,n=f.offset(a),i=f.width(a);!t&&e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length&&(t=e.originalEvent.touches[0].pageX);var r=t-n.left,o=(r=Math.max(0,Math.min(i,r)))/i;return s&&(o=1-o),o}}},{"../../common":1,bean:34}],29:[function(e,t,n){"use strict";var v=e("bean"),y=e("../../common");t.exports=function(o,r){var a,s,t,l,i,u,c=y.lastChild(o),f=!1,d=function(){s=y.offset(o),t=y.width(o),y.height(o),l=t,u=e(i)},p=function(e){a||e==m.value||i&&!(e<i)||(v.fire(o,"slide",[e]),m.value=e)},h=function(e){var t=e.pageX||e.clientX;!t&&e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length&&(t=e.originalEvent.touches[0].pageX);var n=t-s.left,i=(n=Math.max(0,Math.min(u||l,n)))/l;return r&&(i=1-i),g(i,0,!0)},g=function(e,t){void 0===t&&(t=0),1<e&&(e=1);var n=Math.round(1e3*e)/10+"%";return(!i||e<=i)&&(f?y.removeClass(c,"animated"):(y.addClass(c,"animated"),y.css(c,"transition-duration",(t||0)+"ms")),y.css(c,"width",n)),e},e=function(e){return Math.max(0,Math.min(l,e*t))},m={max:function(e){i=e},disable:function(e){a=e},slide:function(e,t,n){d(),n&&p(e),g(e,t)},disableAnimation:function(e,t){f=!1!==e,y.toggleClass(o,"no-animation",!!t)}};return d(),v.on(o,"mousedown.sld touchstart",function(e){if(e.preventDefault(),!a){var t=(n=p,i=100,function(){r||(n.apply(this,arguments),r=1,setTimeout(function(){r=0},i))});d(),m.dragging=!0,y.addClass(o,"is-dragging"),p(h(e)),v.on(document,"mousemove.sld touchmove.sld",function(e){e.preventDefault(),t(h(e))}),v.one(document,"mouseup touchend",function(){m.dragging=!1,y.removeClass(o,"is-dragging"),v.off(document,"mousemove.sld touchmove.sld")})}var n,i,r}),m}},{"../../common":1,bean:34}],30:[function(e,t,n){t.exports=function(e,t,n){try{!function(e){var t=document.createElement("textarea");t.value=e,t.style.opacity=0,t.style.position="absolute",document.body.appendChild(t),t.select();var n=document.execCommand("copy");if(document.body.removeChild(t),!n)throw new Error("Unsuccessfull")}(e),t()}catch(e){n(e)}}},{}],31:[function(e,t,n){"use strict";var g=e("extend-object"),m=e("is-function"),v=e("bean"),i=e("./ext/ui/slider"),r=e("./ext/ui/bar-slider"),y=e("./common"),w=e("./ext/events"),b=[],I=[],o=window.onbeforeunload;window.onbeforeunload=function(e){if(b.forEach(function(e){e.conf.splash?e.unload():e.bind("error",function(){y.find(".flowplayer.is-error .fp-message").forEach(y.removeNode)})}),o)return o(e)};var a=/Safari/.exec(navigator.userAgent)&&!/Chrome/.exec(navigator.userAgent),s=/(\d+\.\d+) Safari/.exec(navigator.userAgent),l=s?Number(s[1]):100,M=t.exports=function(e,t,n){if(m(e))return I.push(e);if("number"==typeof e||void 0===e)return b[e||0];if(e.nodeType){if(null!==e.getAttribute("data-flowplayer-instance-id"))return b[e.getAttribute("data-flowplayer-instance-id")];if(!t)return;return c(e,t,n)}if(e.jquery)return M(e[0],t,n);if("string"==typeof e){var i=y.find(e)[0];return i&&M(i,t,n)}};g(M,{version:"7.2.7",engines:[],engine:function(t){return M.engines.filter(function(e){return e.engineName===t})[0]},extensions:[],conf:{},set:function(e,t){"string"==typeof e?M.conf[e]=t:g(M.conf,e)},registerExtension:function(e,t){M.extensions.push([e,t])},support:{},defaults:{debug:!1,disabled:!1,fullscreen:window==window.top,keyboard:!0,ratio:9/16,adaptiveRatio:!1,rtmp:0,proxy:"best",hlsQualities:!0,seekStep:!1,splash:!1,live:!1,livePositionOffset:120,swf:"//releases.flowplayer.org/7.2.7/flowplayer.swf",swfHls:"//releases.flowplayer.org/7.2.7/flowplayerhls.swf",speeds:[.25,.5,1,1.5,2],tooltip:!0,mouseoutTimeout:5e3,mutedAutoplay:!0,clickToUnMute:!0,volume:1,errors:["","Video loading aborted","Network error","Video not properly encoded","Video file not found","Unsupported video","Skin not found","SWF file not found","Subtitles not found","Invalid RTMP URL","Unsupported video format. Try installing Adobe Flash."],errorUrls:["","","","","","","","","","","http://get.adobe.com/flashplayer/"],playlist:[],hlsFix:a&&l<8,disableInline:!1},bean:v,common:y,slider:i,barSlider:r,extend:g});var C=0,A=e("./ext/resolve");if(void 0!==window.jQuery){var u=window.jQuery;u(function(){"function"==typeof u.fn.flowplayer&&u('.flowplayer:has(video:not(.fp-engine),script[type="application/json"])').flowplayer()});u.fn.flowplayer=function(r,o){return this.each(function(){"string"==typeof r&&(r={swf:r}),m(r)&&(o=r,r={});var t=u(this),e=t.find('script[type="application/json"]'),n=e.length?JSON.parse(e.text()):function(i){if(!i.length)return{};var r=i.data()||{},o={};return u.each(["autoplay","loop","preload","poster"],function(e,t){var n=i.attr(t);void 0!==n&&-1!==["autoplay","poster"].indexOf(t)?o[t]=n||!0:void 0!==n&&(r[t]=n||!0)}),i[0].autoplay=i[0].preload=!1,r.subtitles=i.find("track").map(function(){var e=u(this);return{src:e.attr("src"),kind:e.attr("kind"),label:e.attr("label"),srclang:e.attr("srclang"),default:e.prop("default")}}).get(),r.sources=(new A).sourcesFromVideoTag(i,u),g(o,{clip:r})}(t.find("video")),i=c(this,u.extend({},r||{},n,t.data()),o);w.EVENTS.forEach(function(e){i.on(e+".jquery",function(e){t.trigger.call(t,e.type,e.detail&&e.detail.args)})}),t.data("flowplayer",i)})}}function c(e,t,n){t&&t.embed&&(t.embed=g({},M.defaults.embed,t.embed));var i=!1;try{void 0===M.conf.storage&&"object"==typeof window.localStorage&&(window.localStorage.flowplayerTestStorage="test",i=!0)}catch(e){}var r,o,a=e,s=g({},M.defaults,M.conf,t),l={},u=a.className,c=new A;y.addClass(a,"is-loading"),y.toggleClass(a,"no-flex",!M.support.flex),y.toggleClass(a,"no-svg",!M.support.svg);try{l=M.conf.storage||(i?window.localStorage:l)}catch(e){}if(s.volume="true"===l.muted?0:s.volume!==M.defaults.volume?s.volume:isNaN(l.volume)?s.volume:l.volume,s.debug=!!l.flowplayerDebug||s.debug,s.aspectRatio&&"string"==typeof s.aspectRatio){var f=s.aspectRatio.split(/[:\/]/);s.ratio=f[1]/f[0]}var d=a.currentStyle&&"rtl"===a.currentStyle.direction||window.getComputedStyle&&null!==window.getComputedStyle(a,null)&&"rtl"===window.getComputedStyle(a,null).getPropertyValue("direction");d&&y.addClass(a,"is-rtl");var p={conf:s,currentSpeed:1,volumeLevel:s.muted?0:void 0===s.volume?1*l.volume:s.volume,video:{},disabled:!1,finished:!1,loading:!1,muted:"true"==l.muted||s.muted,paused:!1,playing:!1,ready:!1,splash:!1,rtl:d,hijack:function(e){try{p.engine.suspendEngine()}catch(e){}p.hijacked=e},release:function(){try{p.engine.resumeEngine()}catch(e){}p.hijacked=!1},debug:function(){s.debug&&console.log.apply(console,["DEBUG"].concat([].slice.call(arguments)))},load:function(e,t){if(!p.error&&!p.loading){p.video={},p.finished=!1,e=e||s.clip,e=g({},c.resolve(e,s.clip.sources)),(p.playing||p.engine)&&(e.autoplay=!0);var n=h(e);if(!n)return setTimeout(function(){p.trigger("error",[p,{code:M.support.flashVideo?5:10}])})&&p;if(!n.engineName)throw new Error("engineName property of factory should be exposed");if(p.engine&&n.engineName===p.engine.engineName||(p.ready=!1,p.engine&&(p.engine.unload(),p.conf.autoplay=!0),o=p.engine=n(p,a),p.one("ready",function(){setTimeout(function(){p.muted?p.mute(!0,!0):o.volume(p.volumeLevel)})})),g(e,o.pick(e.sources.filter(function(e){return!e.engine||e.engine===o.engineName}))),e.src)p.trigger("load",[p,e,o],!0).defaultPrevented?p.loading=!1:(p.ready=!1,o.load(e),m(e)&&(t=e),t&&p.one("ready",t));return p}},pause:function(e){return p.hijacked?p.hijacked.pause(e)|p:(!p.ready||p.seeking||p.loading||(o.pause(),p.one("pause",e)),p)},resume:function(){if(!p.trigger("beforeresume",[p],!0).defaultPrevented)return p.hijacked?p.hijacked.resume()|p:(p.ready&&p.paused&&(o.resume(),p.finished&&(p.trigger("resume",[p]),p.finished=!1)),p)},toggle:function(){return p.ready?p.paused?p.resume():p.pause():p.load()},seek:function(e,t){if("boolean"==typeof e){var n=p.conf.seekStep||.1*p.video.duration;e=p.video.time+(e?n:-n),e=Math.min(Math.max(e,0),p.video.duration-.1)}if(void 0===e)return p;if(p.hijacked)return p.hijacked.seek(e,t)|p;p.ready&&(r=e,p.trigger("beforeseek",[p,e],!0).defaultPrevented?(p.seeking=!1,y.toggleClass(a,"is-seeking",p.seeking)):(o.seek(e),m(t)&&p.one("seek",t)));return p},seekTo:function(e,t){return void 0===e?p.seek(r,t):void 0!==p.video.seekOffset?p.seek(p.video.seekOffset+.1*(p.video.duration-p.video.seekOffset)*e,t):p.seek(.1*p.video.duration*e,t)},mute:function(e,t){return void 0===e&&(e=!p.muted),p.muted=e,t||(l.muted=e,l.volume=isNaN(l.volume)?s.volume:l.volume),void 0!==o.mute?o.mute(e):(p.volume(e?0:l.volume,!0),p.trigger("mute",[p,e])),p},volume:function(e,t){return p.ready&&(e=Math.min(Math.max(e,0),1),t||(l.volume=e),o.volume(e)),p},speed:function(e,t){return p.ready&&("boolean"==typeof e&&(e=s.speeds[s.speeds.indexOf(p.currentSpeed)+(e?1:-1)]||p.currentSpeed),o.speed(e),t&&a.one("speed",t)),p},stop:function(){return p.ready&&(p.pause(),!p.live||p.dvr?p.seek(0,function(){p.trigger("stop",[p])}):p.trigger("stop",[p])),p},unload:function(){return s.splash?(p.trigger("unload",[p]),o&&(o.unload(),p.engine=o=0)):p.stop(),p},shutdown:function(){p.unload(),p.trigger("shutdown",[p]),v.off(a),delete b[a.getAttribute("data-flowplayer-instance-id")],a.removeAttribute("data-flowplayer-instance-id")},disable:function(e){return void 0===e&&(e=!p.disabled),e!=p.disabled&&(p.disabled=e,p.trigger("disable",e)),p},registerExtension:function(e,t){"string"==typeof(e=e||[])&&(e=[e]),"string"==typeof(t=t||[])&&(t=[t]),e.forEach(function(e){p.extensions.js.push(e)}),t.forEach(function(e){p.extensions.css.push(e)})}};p.conf=g(p.conf,s),p.extensions={js:[],css:[]},M.extensions.forEach(function(e){p.registerExtension(e[0],e[1])}),w(p);var h=function(e){var n,i=M.engines;if(s.engine){var t=i.filter(function(e){return e.engineName===s.engine})[0];if(t&&e.sources.some(function(e){return(!e.engine||e.engine===t.engineName)&&t.canPlay(e.type,p.conf)}))return t}return s.enginePreference&&(i=M.engines.filter(function(e){return-1<s.enginePreference.indexOf(e.engineName)}).sort(function(e,t){return s.enginePreference.indexOf(e.engineName)-s.enginePreference.indexOf(t.engineName)})),e.sources.some(function(t){var e=i.filter(function(e){return(!t.engine||t.engine===e.engineName)&&e.canPlay(t.type,p.conf)}).shift();return e&&(n=e),!!e}),n};return a.getAttribute("data-flowplayer-instance-id")||(a.setAttribute("data-flowplayer-instance-id",C++),p.on("boot",function(){var e=M.support;(s.splash||y.hasClass(a,"is-splash")||!e.firstframe)&&(p.forcedSplash=!s.splash&&!y.hasClass(a,"is-splash"),p.splash=!0,s.splash||(s.splash=!0),y.addClass(a,"is-splash")),s.splash&&y.find("video",a).forEach(y.removeNode),(s.dvr||s.live||y.hasClass(a,"is-live"))&&(p.live=s.live=!0,p.dvr=s.dvr=!!s.dvr||y.hasClass(a,"is-dvr"),y.addClass(a,"is-live"),y.toggleClass(a,"is-dvr",p.dvr)),I.forEach(function(e){e(p,a)}),b.push(p),s.splash?p.unload():p.load(),s.disabled&&p.disable(),p.one("ready",n),p.one("shutdown",function(){a.className=u})}).on("load",function(e,t,n){s.splash&&y.find(".flowplayer.is-ready,.flowplayer.is-loading").forEach(function(e){var t=e.getAttribute("data-flowplayer-instance-id");if(t!==a.getAttribute("data-flowplayer-instance-id")){var n=b[Number(t)];n&&n.conf.splash&&n.unload()}}),y.addClass(a,"is-loading"),t.loading=!0,void 0===n.live&&void 0===n.dvr||(y.toggleClass(a,"is-live",n.dvr||n.live),y.toggleClass(a,"is-dvr",!!n.dvr),t.live=n.dvr||n.live,t.dvr=!!n.dvr)}).on("ready",function(e,t,n){n.time=0,t.video=n,y.removeClass(a,"is-loading"),t.loading=!1,t.muted?t.mute(!0,!0):t.volume(t.volumeLevel);var i=t.conf.hlsFix&&/mpegurl/i.exec(n.type);y.toggleClass(a,"hls-fix",!!i)}).on("unload",function(){y.removeClass(a,"is-loading"),p.loading=!1}).on("ready unload",function(e){var t="ready"==e.type;y.toggleClass(a,"is-splash",!t),y.toggleClass(a,"is-ready",t),p.ready=t,p.splash=!t}).on("progress",function(e,t,n){t.video.time=n}).on("buffer",function(e,t,n){t.video.buffer="number"==typeof n?n:n.length?n[n.length-1].end:0}).on("speed",function(e,t,n){t.currentSpeed=n}).on("volume",function(e,t,n){t.volumeLevel=Math.round(100*n)/100,t.muted&&n&&t.mute(!1)}).on("beforeseek seek",function(e){p.seeking="beforeseek"==e.type,y.toggleClass(a,"is-seeking",p.seeking)}).on("ready pause resume unload finish stop",function(e){p.paused=/pause|finish|unload|stop/.test(e.type),p.paused=p.paused||"ready"===e.type&&!s.autoplay&&!p.playing,p.playing=!p.paused,y.toggleClass(a,"is-paused",p.paused),y.toggleClass(a,"is-playing",p.playing),p.load.ed||p.pause()}).on("finish",function(){p.finished=!0}).on("error",function(){})),p.trigger("boot",[p,a]),p}},{"./common":1,"./ext/events":12,"./ext/resolve":21,"./ext/ui/bar-slider":28,"./ext/ui/slider":29,bean:34,"extend-object":39,"is-function":42}],32:[function(e,t,n){e("es5-shim");var w=t.exports=e("./flowplayer");e("./ext/support"),e("./engine/embed"),e("./engine/hlsjs"),e("./engine/html5"),e("./engine/flash"),e("./ext/ui"),e("./ext/message"),e("./ext/keyboard"),e("./ext/playlist"),e("./ext/cuepoint"),e("./ext/subtitle"),e("./ext/analytics"),e("./ext/share"),e("./ext/facebook"),e("./ext/twitter"),e("./ext/embed"),e("./ext/airplay"),e("./ext/chromecast"),e("./ext/qsel"),e("./ext/menu"),e("./ext/fullscreen"),e("./ext/mobile"),w(function(e,l){var t,n,i,r,o=e.conf,a=w.common,s=a.createElement,u=o.swf.indexOf("flowplayer.org")&&o.e&&l.getAttribute("data-origin"),c=u?(t=u,(n=document.createElement("a")).href=t,a.hostname(n.hostname)):a.hostname(),f=(document,o.key);if("file:"==location.protocol&&(c="localhost"),e.load.ed=1,o.hostname=c,o.origin=u||location.href,u&&(r="is-embedded",-1===(i=l).className.split(" ").indexOf(r)&&(i.className+=" "+r)),"string"==typeof f&&(f=f.split(/,\s*/)),f&&"function"==typeof key_check&&key_check(f,c)){if(o.logo){var d=a.find(".fp-player",l)[0],p=o.logo.href||"",h=o.logo.src||o.logo,g=s("a",{className:"fp-logo",href:p});u&&(g.href=g.href||u),o.embed&&o.embed.popup&&(g.target="_blank");var m=s("img",{src:h});g.appendChild(m),(d||l).appendChild(g)}}else{g=s("a",{href:"https://flowplayer.com/hello/?from=player"});((d=a.find(".fp-player",l)[0])||l).appendChild(g);var v=s("div",{className:"fp-context-menu fp-menu"},'<strong>© 2018 Flowplayer AB</strong><a href="https://flowplayer.com/hello/?from=player">About Flowplayer</a><a href="https://flowplayer.com/license">GPL based license</a>'),y=window.location.href.indexOf("localhost");7!==y&&(d||l).appendChild(v),e.on("pause resume finish unload ready",function(e,t){var n,i=-1;if(t.video.src)for(var r=[["org","flowplayer","drive"],["org","flowplayer","my"],["org","flowplayer","cdn"],["com","flowplayer","cdn"]],o=0;o<r.length&&-1===(i=t.video.src.indexOf("://"+r[o].reverse().join(".")));o++);if(/pause|resume/.test(e.type)&&"flash"!=t.engine.engineName&&4!=i&&5!=i){var a={display:"block",position:"absolute",left:"16px",bottom:"70px",zIndex:99999,width:"100px",height:"20px",backgroundImage:"url("+[".png","logo","/",".net",".cloudfront","d32wqyuo10o653","//","https:"].reverse().join("")+")"};for(var s in a)a.hasOwnProperty(s)&&(g.style[s]=a[s]);t.load.ed=(n=g,"none"!==window.getComputedStyle(n).display&&(7===y||v.parentNode==l||v.parentNode==d)),t.load.ed||t.pause()}else g.style.display="none"})}})},{"./engine/embed":2,"./engine/flash":3,"./engine/hlsjs":4,"./engine/html5":6,"./ext/airplay":7,"./ext/analytics":8,"./ext/chromecast":9,"./ext/cuepoint":10,"./ext/embed":11,"./ext/facebook":13,"./ext/fullscreen":14,"./ext/keyboard":15,"./ext/menu":16,"./ext/message":17,"./ext/mobile":18,"./ext/playlist":19,"./ext/qsel":20,"./ext/share":22,"./ext/subtitle":23,"./ext/support":25,"./ext/twitter":26,"./ext/ui":27,"./flowplayer":31,"es5-shim":38}],33:[function(e,t,n){"use strict";n.byteLength=function(e){var t=p(e),n=t[0],i=t[1];return 3*(n+i)/4-i},n.toByteArray=function(e){for(var t,n=p(e),i=n[0],r=n[1],o=new d((u=i,c=r,3*(u+c)/4-c)),a=0,s=0<r?i-4:i,l=0;l<s;l+=4)t=f[e.charCodeAt(l)]<<18|f[e.charCodeAt(l+1)]<<12|f[e.charCodeAt(l+2)]<<6|f[e.charCodeAt(l+3)],o[a++]=t>>16&255,o[a++]=t>>8&255,o[a++]=255&t;var u,c;2===r&&(t=f[e.charCodeAt(l)]<<2|f[e.charCodeAt(l+1)]>>4,o[a++]=255&t);1===r&&(t=f[e.charCodeAt(l)]<<10|f[e.charCodeAt(l+1)]<<4|f[e.charCodeAt(l+2)]>>2,o[a++]=t>>8&255,o[a++]=255&t);return o},n.fromByteArray=function(e){for(var t,n=e.length,i=n%3,r=[],o=0,a=n-i;o<a;o+=16383)r.push(l(e,o,a<o+16383?a:o+16383));1===i?(t=e[n-1],r.push(s[t>>2]+s[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],r.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"="));return r.join("")};for(var s=[],f=[],d="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,o=i.length;r<o;++r)s[r]=i[r],f[i.charCodeAt(r)]=r;function p(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var i,r,o=[],a=t;a<n;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(s[(r=i)>>18&63]+s[r>>12&63]+s[r>>6&63]+s[63&r]);return o.join("")}f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63},{}],34:[function(e,t,n){var i,r;i=this,r=function(e,t){e=e||"bean",t=t||this;var g,d,p,u,n,i,r,o,a,s,l,c,f,h,m,v,y,w,b,I=window,M=t[e],C=/[^\.]*(?=\..*)\.|.*/,A=/\..*/,S="addEventListener",E=document||{},D=E.documentElement||{},N=D[S],j=N?S:"attachEvent",L={},x=Array.prototype.slice,T=function(e,t){return e.split(t||" ")},Z=function(e){return"string"==typeof e},P=function(e){return"function"==typeof e},k=function(e,t,n){for(n=0;n<t.length;n++)t[n]&&(e[t[n]]=1);return e}({},T("click dblclick mouseup mousedown contextmenu mousewheel mousemultiwheel DOMMouseScroll mouseover mouseout mousemove selectstart selectend keydown keypress keyup orientationchange focus blur change reset select submit load unload beforeunload resize move DOMContentLoaded readystatechange message error abort scroll "+(N?"show input invalid touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend textinput readystatechange pageshow pagehide popstate hashchange offline online afterprint beforeprint dragstart dragenter dragover dragleave drag drop dragend loadstart progress suspend emptied stalled loadmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate play pause ratechange volumechange cuechange checking noupdate downloading cached updateready obsolete ":""))),Y=(w="compareDocumentPosition"in D?function(e,t){return t.compareDocumentPosition&&16==(16&t.compareDocumentPosition(e))}:"contains"in D?function(e,t){return(t=9===t.nodeType||t===window?D:t)!==e&&t.contains(e)}:function(e,t){for(;e=e.parentNode;)if(e===t)return 1;return 0},{mouseenter:{base:"mouseover",condition:b=function(e){var t=e.relatedTarget;return t?t!==this&&"xul"!==t.prefix&&!/document/.test(this.toString())&&!w(t,this):null==t}},mouseleave:{base:"mouseout",condition:b},mousewheel:{base:/Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel"}}),z=(i=T("altKey attrChange attrName bubbles cancelable ctrlKey currentTarget detail eventPhase getModifierState isTrusted metaKey relatedNode relatedTarget shiftKey srcElement target timeStamp type view which propertyName"),r=i.concat(T("button buttons clientX clientY dataTransfer fromElement offsetX offsetY pageX pageY screenX screenY toElement")),o=r.concat(T("wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ axis")),a=i.concat(T("char charCode key keyCode keyIdentifier keyLocation location")),s=i.concat(T("data")),l=i.concat(T("touches targetTouches changedTouches scale rotation")),c=i.concat(T("data origin source")),f=i.concat(T("state")),h=/over|out/,m=[{reg:/key/i,fix:function(e,t){return t.keyCode=e.keyCode||e.which,a}},{reg:/click|mouse(?!(.*wheel|scroll))|menu|drag|drop/i,fix:function(e,t,n){return t.rightClick=3===e.which||2===e.button,t.pos={x:0,y:0},e.pageX||e.pageY?(t.clientX=e.pageX,t.clientY=e.pageY):(e.clientX||e.clientY)&&(t.clientX=e.clientX+E.body.scrollLeft+D.scrollLeft,t.clientY=e.clientY+E.body.scrollTop+D.scrollTop),h.test(n)&&(t.relatedTarget=e.relatedTarget||e[("mouseover"==n?"from":"to")+"Element"]),r}},{reg:/mouse.*(wheel|scroll)/i,fix:function(){return o}},{reg:/^text/i,fix:function(){return s}},{reg:/^touch|^gesture/i,fix:function(){return l}},{reg:/^message$/i,fix:function(){return c}},{reg:/^popstate$/i,fix:function(){return f}},{reg:/.*/,fix:function(){return i}}],v={},(y=function(e,t,n){if(arguments.length&&(e=e||((t.ownerDocument||t.document||t).parentWindow||I).event,this.originalEvent=e,this.isNative=n,this.isBean=!0,e)){var i,r,o,a,s,l=e.type,u=e.target||e.srcElement;if(this.target=u&&3===u.nodeType?u.parentNode:u,n){if(!(s=v[l]))for(i=0,r=m.length;i<r;i++)if(m[i].reg.test(l)){v[l]=s=m[i].fix;break}for(i=(a=s(e,this,l)).length;i--;)!((o=a[i])in this)&&o in e&&(this[o]=e[o])}}}).prototype.preventDefault=function(){this.originalEvent.preventDefault?this.originalEvent.preventDefault():this.originalEvent.returnValue=!1},y.prototype.stopPropagation=function(){this.originalEvent.stopPropagation?this.originalEvent.stopPropagation():this.originalEvent.cancelBubble=!0},y.prototype.stop=function(){this.preventDefault(),this.stopPropagation(),this.stopped=!0},y.prototype.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this.isImmediatePropagationStopped=function(){return!0}},y.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()},y.prototype.clone=function(e){var t=new y(this,this.element,this.isNative);return t.currentTarget=e,t},y),G=function(e,t){return N||t||e!==E&&e!==I?e:D},R=(u=function(n,i,r,o){var a=function(e,t){return i.apply(n,o?x.call(t,e?0:1).concat(o):t)},s=function(e,t){return i.__beanDel?i.__beanDel.ft(e.target,n):t},e=r?function(e){var t=s(e,this);if(r.apply(t,arguments))return e&&(e.currentTarget=t),a(e,arguments)}:function(e){return i.__beanDel&&(e=e.clone(s(e))),a(e,arguments)};return e.__beanDel=i.__beanDel,e},(n=function(e,t,n,i,r,o,a){var s,l=Y[t];"unload"==t&&(n=B(F,e,t,n,i)),l&&(l.condition&&(n=u(e,n,l.condition,o)),t=l.base||t),this.isNative=s=k[t]&&!!e[j],this.customType=!N&&!s&&t,this.element=e,this.type=t,this.original=i,this.namespaces=r,this.eventType=N||s?t:"propertychange",this.target=G(e,s),this[j]=!!this.target[j],this.root=a,this.handler=u(e,n,null,o)}).prototype.inNamespaces=function(e){var t,n,i=0;if(!e)return!0;if(!this.namespaces)return!1;for(t=e.length;t--;)for(n=this.namespaces.length;n--;)e[t]==this.namespaces[n]&&i++;return e.length===i},n.prototype.matches=function(e,t,n){return!(this.element!==e||t&&this.original!==t||n&&this.handler!==n)},n),O=(d={},p=function(e,t,n,i,r,o){var a=r?"r":"$";if(t&&"*"!=t){var s,l=0,u=d[a+t],c="*"==e;if(!u)return;for(s=u.length;l<s;l++)if((c||u[l].matches(e,n,i))&&!o(u[l],u,l,t))return}else for(var f in d)f.charAt(0)==a&&p(e,f.substr(1),n,i,r,o)},{has:function(e,t,n,i){var r,o=d[(i?"r":"$")+t];if(o)for(r=o.length;r--;)if(!o[r].root&&o[r].matches(e,n,null))return!0;return!1},get:function(e,t,n,i){var r=[];return p(e,t,n,null,i,function(e){return r.push(e)}),r},put:function(e){var t=!e.root&&!this.has(e.element,e.type,null,!1),n=(e.root?"r":"$")+e.type;return(d[n]||(d[n]=[])).push(e),t},del:function(e){p(e.element,e.type,null,e.handler,e.root,function(e,t,n){return t.splice(n,1),e.removed=!0,0===t.length&&delete d[(e.root?"r":"$")+e.type],!1})},entries:function(){var e,t=[];for(e in d)"$"==e.charAt(0)&&(t=t.concat(d[e]));return t}}),W=function(e){g=arguments.length?e:E.querySelectorAll?function(e,t){return t.querySelectorAll(e)}:function(){throw new Error("Bean: No selector engine installed")}},U=function(e,t){if(N||!t||!e||e.propertyName=="_on"+t){var n=O.get(this,t||e.type,null,!1),i=n.length,r=0;for(e=new z(e,this,!0),t&&(e.type=t);r<i&&!e.isImmediatePropagationStopped();r++)n[r].removed||n[r].handler.call(this,e)}},J=N?function(e,t,n){e[n?S:"removeEventListener"](t,U,!1)}:function(t,e,n,i){var r;n?(O.put(r=new R(t,i||e,function(e){U.call(t,e,i)},U,null,null,!0)),i&&null==t["_on"+i]&&(t["_on"+i]=0),r.target.attachEvent("on"+r.eventType,r.handler)):(r=O.get(t,i||e,U,!0)[0])&&(r.target.detachEvent("on"+r.eventType,r.handler),O.del(r))},B=function(e,t,n,i,r){return function(){i.apply(this,arguments),e(t,n,r)}},F=function(e,t,n,i){var r,o,a=t&&t.replace(A,""),s=O.get(e,a,null,!1),l={};for(r=0,o=s.length;r<o;r++)n&&s[r].original!==n||!s[r].inNamespaces(i)||(O.del(s[r]),!l[s[r].eventType]&&s[r][j]&&(l[s[r].eventType]={t:s[r].eventType,c:s[r].type}));for(r in l)O.has(e,l[r].t,null,!1)||J(e,l[r].t,!1,l[r].c)},H=N?function(e,t,n){var i=E.createEvent(e?"HTMLEvents":"UIEvents");i[e?"initEvent":"initUIEvent"](t,!0,!0,I,1),n.dispatchEvent(i)}:function(e,t,n){n=G(n,e),e?n.fireEvent("on"+t,E.createEventObject()):n["_on"+t]++},V=function(e,t,n){var i,r,o,a,s=Z(t);if(s&&0<t.indexOf(" ")){for(a=(t=T(t)).length;a--;)V(e,t[a],n);return e}if((r=s&&t.replace(A,""))&&Y[r]&&(r=Y[r].base),!t||s)(o=s&&t.replace(C,""))&&(o=T(o,".")),F(e,r,n,o);else if(P(t))F(e,null,t);else for(i in t)t.hasOwnProperty(i)&&V(e,i,t[i]);return e},X=function(e,t,n,i){var r,o,a,s,l,u,c;if(void 0!==n||"object"!=typeof t){var f,d,p,h;for(P(n)?(l=x.call(arguments,3),i=r=n):(r=i,l=x.call(arguments,4),d=r,(h=function(e){var t=p(e.target,this);t&&d.apply(t,arguments)}).__beanDel={ft:p=function(e,t){for(var n,i=Z(f)?g(f,t):f;e&&e!==t;e=e.parentNode)for(n=i.length;n--;)if(i[n]===e)return e},selector:f=n},i=h),a=T(t),this===L&&(i=B(V,e,t,i,r)),s=a.length;s--;)c=O.put(u=new R(e,a[s].replace(A,""),i,r,T(a[s].replace(C,""),"."),l,!1)),u[j]&&c&&J(e,u.eventType,!0,u.customType);return e}for(o in t)t.hasOwnProperty(o)&&X.call(this,e,o,t[o])},_={on:X,add:function(e,t,n,i){return X.apply(null,Z(n)?[e,n,t,i].concat(3<arguments.length?x.call(arguments,5):[]):x.call(arguments))},one:function(){return X.apply(L,arguments)},off:V,remove:V,clone:function(e,t,n){for(var i,r,o=O.get(t,n,null,!1),a=o.length,s=0;s<a;s++)o[s].original&&(i=[e,o[s].type],(r=o[s].handler.__beanDel)&&i.push(r.selector),i.push(o[s].original),X.apply(null,i));return e},fire:function(e,t,n){var i,r,o,a,s,l=T(t);for(i=l.length;i--;)if(t=l[i].replace(A,""),(a=l[i].replace(C,""))&&(a=T(a,".")),a||n||!e[j])for(s=O.get(e,t,null,!1),n=[!1].concat(n),r=0,o=s.length;r<o;r++)s[r].inNamespaces(a)&&s[r].handler.apply(e,n);else H(k[t],t,e);return e},Event:z,setSelectorEngine:W,noConflict:function(){return t[e]=M,this}};if(I.attachEvent){var K=function(){var e,t=O.entries();for(e in t)t[e].type&&"unload"!==t[e].type&&V(t[e].element,t[e].type);I.detachEvent("onunload",K),I.CollectGarbage&&I.CollectGarbage()};I.attachEvent("onunload",K)}return W(),_},void 0!==t&&t.exports?t.exports=r():i.bean=r()},{}],35:[function(t,e,G){(function(e){"use strict";var i=t("base64-js"),o=t("ieee754"),a=t("isarray");function n(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(n()<t)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=f.prototype:(null===e&&(e=new f(t)),e.length=t),e}function f(e,t,n){if(!(f.TYPED_ARRAY_SUPPORT||this instanceof f))return new f(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return u(this,e)}return r(this,e,t,n)}function r(e,t,n,i){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,i){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,n):new Uint8Array(t,n,i);f.TYPED_ARRAY_SUPPORT?(e=t).__proto__=f.prototype:e=c(e,t);return e}(e,t,n,i):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!f.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|p(t,n),r=(e=s(e,i)).write(t,n);r!==i&&(e=e.slice(0,r));return e}(e,t,n):function(e,t){if(f.isBuffer(t)){var n=0|d(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(i=t.length)!=i?s(e,0):c(e,t);if("Buffer"===t.type&&a(t.data))return c(e,t.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t){if(l(t),e=s(e,t<0?0:0|d(t)),!f.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function c(e,t){var n=t.length<0?0:0|d(t.length);e=s(e,n);for(var i=0;i<n;i+=1)e[i]=255&t[i];return e}function d(e){if(e>=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function p(e,t){if(f.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(e).length;default:if(i)return k(e).length;t=(""+t).toLowerCase(),i=!0}}function h(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function g(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):2147483647<n?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=f.from(t,i)),f.isBuffer(t))return 0===t.length?-1:m(e,t,n,i,r);if("number"==typeof t)return t&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):m(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,i,r){var o,a=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;s/=a=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(r){var c=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(s<n+l&&(n=s-l),o=n;0<=o;o--){for(var f=!0,d=0;d<l;d++)if(u(e,o+d)!==u(t,d)){f=!1;break}if(f)return o}return-1}function v(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?r<(i=Number(i))&&(i=r):i=r;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");o/2<i&&(i=o/2);for(var a=0;a<i;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function y(e,t,n,i){return z(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,i)}function w(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function b(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r<n;){var o,a,s,l,u=e[r],c=null,f=239<u?4:223<u?3:191<u?2:1;if(r+f<=n)switch(f){case 1:u<128&&(c=u);break;case 2:128==(192&(o=e[r+1]))&&127<(l=(31&u)<<6|63&o)&&(c=l);break;case 3:o=e[r+1],a=e[r+2],128==(192&o)&&128==(192&a)&&2047<(l=(15&u)<<12|(63&o)<<6|63&a)&&(l<55296||57343<l)&&(c=l);break;case 4:o=e[r+1],a=e[r+2],s=e[r+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&65535<(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)&&l<1114112&&(c=l)}null===c?(c=65533,f=1):65535<c&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|1023&c),i.push(c),r+=f}return function(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var n="",i=0;for(;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=I));return n}(i)}G.Buffer=f,G.SlowBuffer=function(e){+e!=e&&(e=0);return f.alloc(+e)},G.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),G.kMaxLength=n(),f.poolSize=8192,f._augment=function(e){return e.__proto__=f.prototype,e},f.from=function(e,t,n){return r(null,e,t,n)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0})),f.alloc=function(e,t,n){return i=null,o=t,a=n,l(r=e),r<=0?s(i,r):void 0!==o?"string"==typeof a?s(i,r).fill(o,a):s(i,r).fill(o):s(i,r);var i,r,o,a},f.allocUnsafe=function(e){return u(null,e)},f.allocUnsafeSlow=function(e){return u(null,e)},f.isBuffer=function(e){return!(null==e||!e._isBuffer)},f.compare=function(e,t){if(!f.isBuffer(e)||!f.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,r=0,o=Math.min(n,i);r<o;++r)if(e[r]!==t[r]){n=e[r],i=t[r];break}return n<i?-1:i<n?1:0},f.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return f.alloc(0);var n;if(void 0===t)for(n=t=0;n<e.length;++n)t+=e[n].length;var i=f.allocUnsafe(t),r=0;for(n=0;n<e.length;++n){var o=e[n];if(!f.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,r),r+=o.length}return i},f.byteLength=p,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},f.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},f.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},f.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?b(this,0,e):function(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return b(this,t,n);case"ascii":return M(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return w(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}.apply(this,arguments)},f.prototype.equals=function(e){if(!f.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===f.compare(this,e)},f.prototype.inspect=function(){var e="",t=G.INSPECT_MAX_BYTES;return 0<this.length&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},f.prototype.compare=function(e,t,n,i,r){if(!f.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(r<=i&&n<=t)return 0;if(r<=i)return-1;if(n<=t)return 1;if(this===e)return 0;for(var o=(r>>>=0)-(i>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(i,r),u=e.slice(t,n),c=0;c<s;++c)if(l[c]!==u[c]){o=l[c],a=u[c];break}return o<a?-1:a<o?1:0},f.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},f.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},f.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},f.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-t;if((void 0===n||r<n)&&(n=r),0<e.length&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o,a,s,l,u,c,f,d,p,h=!1;;)switch(i){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return d=t,p=n,z(k(e,(f=this).length-d),f,d,p);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return y(this,e,t,n);case"base64":return l=this,u=t,c=n,z(Y(e),l,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a=t,s=n,z(function(e,t){for(var n,i,r,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),i=n>>8,r=n%256,o.push(r),o.push(i);return o}(e,(o=this).length-a),o,a,s);default:if(h)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),h=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function M(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(127&e[r]);return i}function C(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(e[r]);return i}function A(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||i<n)&&(n=i);for(var r="",o=t;o<n;++o)r+=P(e[o]);return r}function S(e,t,n){for(var i=e.slice(t,n),r="",o=0;o<i.length;o+=2)r+=String.fromCharCode(i[o]+256*i[o+1]);return r}function E(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(n<e+t)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,i,r,o){if(!f.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r<t||t<o)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function N(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,o=Math.min(e.length-n,2);r<o;++r)e[n+r]=(t&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function j(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,o=Math.min(e.length-n,4);r<o;++r)e[n+r]=t>>>8*(i?r:3-r)&255}function L(e,t,n,i,r,o){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function x(e,t,n,i,r){return r||L(e,0,n,4),o.write(e,t,n,i,23,4),n+4}function T(e,t,n,i,r){return r||L(e,0,n,8),o.write(e,t,n,i,52,8),n+8}f.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):i<e&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):i<t&&(t=i),t<e&&(t=e),f.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=f.prototype;else{var r=t-e;n=new f(r,void 0);for(var o=0;o<r;++o)n[o]=this[o+e]}return n},f.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||E(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i},f.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||E(e,t,this.length);for(var i=this[e+--t],r=1;0<t&&(r*=256);)i+=this[e+--t]*r;return i},f.prototype.readUInt8=function(e,t){return t||E(e,1,this.length),this[e]},f.prototype.readUInt16LE=function(e,t){return t||E(e,2,this.length),this[e]|this[e+1]<<8},f.prototype.readUInt16BE=function(e,t){return t||E(e,2,this.length),this[e]<<8|this[e+1]},f.prototype.readUInt32LE=function(e,t){return t||E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},f.prototype.readUInt32BE=function(e,t){return t||E(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},f.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||E(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return(r*=128)<=i&&(i-=Math.pow(2,8*t)),i},f.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||E(e,t,this.length);for(var i=t,r=1,o=this[e+--i];0<i&&(r*=256);)o+=this[e+--i]*r;return(r*=128)<=o&&(o-=Math.pow(2,8*t)),o},f.prototype.readInt8=function(e,t){return t||E(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},f.prototype.readInt16LE=function(e,t){t||E(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt16BE=function(e,t){t||E(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt32LE=function(e,t){return t||E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},f.prototype.readInt32BE=function(e,t){return t||E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},f.prototype.readFloatLE=function(e,t){return t||E(e,4,this.length),o.read(this,e,!0,23,4)},f.prototype.readFloatBE=function(e,t){return t||E(e,4,this.length),o.read(this,e,!1,23,4)},f.prototype.readDoubleLE=function(e,t){return t||E(e,8,this.length),o.read(this,e,!0,52,8)},f.prototype.readDoubleBE=function(e,t){return t||E(e,8,this.length),o.read(this,e,!1,52,8)},f.prototype.writeUIntLE=function(e,t,n,i){(e=+e,t|=0,n|=0,i)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,o=0;for(this[t]=255&e;++o<n&&(r*=256);)this[t+o]=e/r&255;return t+n},f.prototype.writeUIntBE=function(e,t,n,i){(e=+e,t|=0,n|=0,i)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var r=n-1,o=1;for(this[t+r]=255&e;0<=--r&&(o*=256);)this[t+r]=e/o&255;return t+n},f.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),f.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},f.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},f.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},f.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},f.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},f.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);D(this,e,t,n,r-1,-r)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},f.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);D(this,e,t,n,r-1,-r)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;0<=--o&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},f.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),f.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},f.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},f.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},f.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},f.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},f.prototype.writeFloatLE=function(e,t,n){return x(this,e,t,!0,n)},f.prototype.writeFloatBE=function(e,t,n){return x(this,e,t,!1,n)},f.prototype.writeDoubleLE=function(e,t,n){return T(this,e,t,!0,n)},f.prototype.writeDoubleBE=function(e,t,n){return T(this,e,t,!1,n)},f.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),0<i&&i<n&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var r,o=i-n;if(this===e&&n<t&&t<i)for(r=o-1;0<=r;--r)e[r+t]=this[r+n];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)e[r+t]=this[r+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},f.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===e.length){var r=e.charCodeAt(0);r<256&&(e=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!f.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=f.isBuffer(e)?e:k(new f(e,i).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var Z=/[^+\/0-9A-Za-z-_]/g;function P(e){return e<16?"0"+e.toString(16):e.toString(16)}function k(e,t){var n;t=t||1/0;for(var i=e.length,r=null,o=[],a=0;a<i;++a){if(55295<(n=e.charCodeAt(a))&&n<57344){if(!r){if(56319<n){-1<(t-=3)&&o.push(239,191,189);continue}if(a+1===i){-1<(t-=3)&&o.push(239,191,189);continue}r=n;continue}if(n<56320){-1<(t-=3)&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&-1<(t-=3)&&o.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Y(e){return i.toByteArray(function(e){var t;if((e=(t=e,t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(Z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,n,i){for(var r=0;r<i&&!(r+n>=t.length||r>=e.length);++r)t[r+n]=e[r];return r}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":33,ieee754:40,isarray:43}],36:[function(e,t,n){var l=e("indexof");function u(e){return!!e}t.exports=function(i){var e=i.classList;if(e)return e;var r={add:t,remove:n,contains:o,toggle:function(e){return o(e)?(n(e),!1):(t(e),!0)},toString:function(){return i.className},length:0,item:function(e){return a()[e]||null}};return r;function t(e){var t=a();-1<l(t,e)||(t.push(e),s(t))}function n(e){var t=a(),n=l(t,e);-1!==n&&(t.splice(n,1),s(t))}function o(e){return-1<l(a(),e)}function a(){var e=i.className;return function(e,t){for(var n=[],i=0;i<e.length;i++)t(e[i])&&n.push(e[i]);return n}(e.split(" "),u)}function s(e){var t=e.length;i.className=e.join(" "),r.length=t;for(var n=0;n<e.length;n++)r[n]=e[n];delete e[t]}}},{indexof:41}],37:[function(e,t,n){t.exports=function(e,t,n,i){if(i=(n=window.getComputedStyle)?n(e):e.currentStyle)return i[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]}},{}],38:[function(e,n,i){!function(e,t){"use strict";"object"==typeof i?n.exports=t():e.returnExports=t()}(this,function(){var d,p,s=Array,e=s.prototype,l=Object,t=l.prototype,u=Function,n=u.prototype,v=String,i=v.prototype,y=Number,r=y.prototype,c=e.slice,o=e.splice,h=e.push,a=e.unshift,f=e.concat,g=e.join,m=n.call,w=n.apply,b=Math.max,I=Math.min,M=t.toString,C="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,A=Function.prototype.toString,S=/^\s*class /,E=function(e){try{var t=A.call(e).replace(/\/\/.*\n/g,"").replace(/\/\*[.\s\S]*\*\//g,"").replace(/\n/gm," ").replace(/ {2}/g," ");return S.test(t)}catch(e){return!1}},D=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(C)return function(e){try{return!E(e)&&(A.call(e),!0)}catch(e){return!1}}(e);if(E(e))return!1;var t=M.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t},N=RegExp.prototype.exec;d=function(e){return"object"==typeof e&&(C?function(e){try{return N.call(e),!0}catch(e){return!1}}(e):"[object RegExp]"===M.call(e))};var j=String.prototype.valueOf;p=function(e){return"string"==typeof e||"object"==typeof e&&(C?function(e){try{return j.call(e),!0}catch(e){return!1}}(e):"[object String]"===M.call(e))};var L,x,T=l.defineProperty&&function(){try{var e={};for(var t in l.defineProperty(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),Z=(L=t.hasOwnProperty,x=T?function(e,t,n,i){!i&&t in e||l.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(e,t,n,i){!i&&t in e||(e[t]=n)},function(e,t,n){for(var i in t)L.call(t,i)&&x(e,i,t[i],n)}),P=function(e){var t=typeof e;return null===e||"object"!==t&&"function"!==t},k=y.isNaN||function(e){return e!=e},Y=function(e){var t=+e;return k(t)?t=0:0!==t&&t!==1/0&&t!==-1/0&&(t=(0<t||-1)*Math.floor(Math.abs(t))),t},z=function(e){var t,n,i;if(P(e))return e;if(n=e.valueOf,D(n)&&(t=n.call(e),P(t)))return t;if(i=e.toString,D(i)&&(t=i.call(e),P(t)))return t;throw new TypeError},G=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return l(e)},R=function(e){return e>>>0},O=function(){};Z(n,{bind:function(t){var n=this;if(!D(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var i,r=c.call(arguments,1),e=b(0,n.length-r.length),o=[],a=0;a<e;a++)h.call(o,"$"+a);return i=u("binder","return function ("+g.call(o,",")+"){ return binder.apply(this, arguments); }")(function(){if(this instanceof i){var e=w.call(n,this,f.call(r,c.call(arguments)));return l(e)===e?e:this}return w.call(n,t,f.call(r,c.call(arguments)))}),n.prototype&&(O.prototype=n.prototype,i.prototype=new O,O.prototype=null),i}});var W=m.bind(t.hasOwnProperty),U=m.bind(t.toString),J=m.bind(c),B=w.bind(c);if("object"==typeof document&&document&&document.documentElement)try{J(document.documentElement.childNodes)}catch(e){var F=J,H=B;J=function(e){for(var t=[],n=e.length;0<n--;)t[n]=e[n];return H(t,F(arguments,1))},B=function(e,t){return H(J(e),t)}}var V=m.bind(i.slice),X=m.bind(i.split),_=m.bind(i.indexOf),K=m.bind(h),Q=m.bind(t.propertyIsEnumerable),q=m.bind(e.sort),$=s.isArray||function(e){return"[object Array]"===U(e)},ee=1!==[].unshift(0);Z(e,{unshift:function(){return a.apply(this,arguments),this.length}},ee),Z(s,{isArray:$});var te=l("a"),ne="a"!==te[0]||!(0 in te),ie=function(e){var i=!0,t=!0,n=!1;if(e)try{e.call("foo",function(e,t,n){"object"!=typeof n&&(i=!1)}),e.call([1],function(){"use strict";t="string"==typeof this},"x")}catch(e){n=!0}return!!e&&!n&&i&&t};Z(e,{forEach:function(e){var t,n=G(this),i=ne&&p(this)?X(this,""):n,r=-1,o=R(i.length);if(1<arguments.length&&(t=arguments[1]),!D(e))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++r<o;)r in i&&(void 0===t?e(i[r],r,n):e.call(t,i[r],r,n))}},!ie(e.forEach)),Z(e,{map:function(e){var t,n=G(this),i=ne&&p(this)?X(this,""):n,r=R(i.length),o=s(r);if(1<arguments.length&&(t=arguments[1]),!D(e))throw new TypeError("Array.prototype.map callback must be a function");for(var a=0;a<r;a++)a in i&&(o[a]=void 0===t?e(i[a],a,n):e.call(t,i[a],a,n));return o}},!ie(e.map)),Z(e,{filter:function(e){var t,n,i=G(this),r=ne&&p(this)?X(this,""):i,o=R(r.length),a=[];if(1<arguments.length&&(n=arguments[1]),!D(e))throw new TypeError("Array.prototype.filter callback must be a function");for(var s=0;s<o;s++)s in r&&(t=r[s],(void 0===n?e(t,s,i):e.call(n,t,s,i))&&K(a,t));return a}},!ie(e.filter)),Z(e,{every:function(e){var t,n=G(this),i=ne&&p(this)?X(this,""):n,r=R(i.length);if(1<arguments.length&&(t=arguments[1]),!D(e))throw new TypeError("Array.prototype.every callback must be a function");for(var o=0;o<r;o++)if(o in i&&!(void 0===t?e(i[o],o,n):e.call(t,i[o],o,n)))return!1;return!0}},!ie(e.every)),Z(e,{some:function(e){var t,n=G(this),i=ne&&p(this)?X(this,""):n,r=R(i.length);if(1<arguments.length&&(t=arguments[1]),!D(e))throw new TypeError("Array.prototype.some callback must be a function");for(var o=0;o<r;o++)if(o in i&&(void 0===t?e(i[o],o,n):e.call(t,i[o],o,n)))return!0;return!1}},!ie(e.some));var re=!1;e.reduce&&(re="object"==typeof e.reduce.call("es5",function(e,t,n,i){return i})),Z(e,{reduce:function(e){var t=G(this),n=ne&&p(this)?X(this,""):t,i=R(n.length);if(!D(e))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===i&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var r,o=0;if(2<=arguments.length)r=arguments[1];else for(;;){if(o in n){r=n[o++];break}if(++o>=i)throw new TypeError("reduce of empty array with no initial value")}for(;o<i;o++)o in n&&(r=e(r,n[o],o,t));return r}},!re);var oe=!1;e.reduceRight&&(oe="object"==typeof e.reduceRight.call("es5",function(e,t,n,i){return i})),Z(e,{reduceRight:function(e){var t,n=G(this),i=ne&&p(this)?X(this,""):n,r=R(i.length);if(!D(e))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===r&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var o=r-1;if(2<=arguments.length)t=arguments[1];else for(;;){if(o in i){t=i[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}if(o<0)return t;for(;o in i&&(t=e(t,i[o],o,n)),o--;);return t}},!oe);var ae=e.indexOf&&-1!==[0,1].indexOf(1,2);Z(e,{indexOf:function(e){var t=ne&&p(this)?X(this,""):G(this),n=R(t.length);if(0===n)return-1;var i=0;for(1<arguments.length&&(i=Y(arguments[1])),i=0<=i?i:b(0,n+i);i<n;i++)if(i in t&&t[i]===e)return i;return-1}},ae);var se=e.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);Z(e,{lastIndexOf:function(e){var t=ne&&p(this)?X(this,""):G(this),n=R(t.length);if(0===n)return-1;var i=n-1;for(1<arguments.length&&(i=I(i,Y(arguments[1]))),i=0<=i?i:n-Math.abs(i);0<=i;i--)if(i in t&&e===t[i])return i;return-1}},se);var le,ue,ce=(ue=(le=[1,2]).splice(),2===le.length&&$(ue)&&0===ue.length);Z(e,{splice:function(e,t){return 0===arguments.length?[]:o.apply(this,arguments)}},!ce);var fe,de=(fe={},e.splice.call(fe,0,0,1),1===fe.length);Z(e,{splice:function(e,t){if(0===arguments.length)return[];var n=arguments;return this.length=b(Y(this.length),0),0<arguments.length&&"number"!=typeof t&&((n=J(arguments)).length<2?K(n,this.length-e):n[1]=Y(t)),o.apply(this,n)}},!de);var pe,he,ge=((pe=new s(1e5))[8]="x",pe.splice(1,1),7===pe.indexOf("x")),me=((he=[])[256]="a",he.splice(257,0,"b"),"a"===he[256]);Z(e,{splice:function(e,t){for(var n,i=G(this),r=[],o=R(i.length),a=Y(e),s=a<0?b(o+a,0):I(a,o),l=I(b(Y(t),0),o-s),u=0;u<l;)n=v(s+u),W(i,n)&&(r[u]=i[n]),u+=1;var c,f=J(arguments,2),d=f.length;if(d<l){u=s;for(var p=o-l;u<p;)n=v(u+l),c=v(u+d),W(i,n)?i[c]=i[n]:delete i[c],u+=1;for(var h=(u=o)-l+d;h<u;)delete i[u-1],u-=1}else if(l<d)for(u=o-l;s<u;)n=v(u+l-1),c=v(u+d-1),W(i,n)?i[c]=i[n]:delete i[c],u-=1;u=s;for(var g=0;g<f.length;++g)i[u]=f[g],u+=1;return i.length=o-l+d,r}},!ge||!me);var ve,ye=e.join;try{ve="1,2,3"!==Array.prototype.join.call("123",",")}catch(e){ve=!0}ve&&Z(e,{join:function(e){var t=void 0===e?",":e;return ye.call(p(this)?X(this,""):this,t)}},ve);var we="1,2"!==[1,2].join(void 0);we&&Z(e,{join:function(e){var t=void 0===e?",":e;return ye.call(this,t)}},we);var be,Ie=function(e){for(var t=G(this),n=R(t.length),i=0;i<arguments.length;)t[n+i]=arguments[i],i+=1;return t.length=n+i,n+i},Me=(be={},1!==Array.prototype.push.call(be,void 0)||1!==be.length||void 0!==be[0]||!W(be,0));Z(e,{push:function(e){return $(this)?h.apply(this,arguments):Ie.apply(this,arguments)}},Me);var Ce,Ae=1!==(Ce=[]).push(void 0)||1!==Ce.length||void 0!==Ce[0]||!W(Ce,0);Z(e,{push:Ie},Ae),Z(e,{slice:function(e,t){var n=p(this)?X(this,""):this;return B(n,arguments)}},ne);var Se=function(){try{[1,2].sort(null)}catch(e){try{[1,2].sort({})}catch(e){return!1}}return!0}(),Ee=function(){try{return[1,2].sort(/a/),!1}catch(e){}return!0}(),De=function(){try{return[1,2].sort(void 0),!0}catch(e){}return!1}();Z(e,{sort:function(e){if(void 0===e)return q(this);if(!D(e))throw new TypeError("Array.prototype.sort callback must be a function");return q(this,e)}},Se||!De||!Ee);var Ne=!Q({toString:null},"toString"),je=Q(function(){},"prototype"),Le=!W("x","0"),xe=function(e){var t=e.constructor;return t&&t.prototype===e},Te={$window:!0,$console:!0,$parent:!0,$self:!0,$frame:!0,$frames:!0,$frameElement:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$external:!0,$width:!0,$height:!0,$top:!0,$localStorage:!0},Ze=function(){if("undefined"==typeof window)return!1;for(var e in window)try{!Te["$"+e]&&W(window,e)&&null!==window[e]&&"object"==typeof window[e]&&xe(window[e])}catch(e){return!0}return!1}(),Pe=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],ke=Pe.length,Ye=function(e){return"[object Arguments]"===U(e)},ze=Ye(arguments)?Ye:function(e){return null!==e&&"object"==typeof e&&"number"==typeof e.length&&0<=e.length&&!$(e)&&D(e.callee)};Z(l,{keys:function(e){var t=D(e),n=ze(e),i=null!==e&&"object"==typeof e,r=i&&p(e);if(!i&&!t&&!n)throw new TypeError("Object.keys called on a non-object");var o=[],a=je&&t;if(r&&Le||n)for(var s=0;s<e.length;++s)K(o,v(s));if(!n)for(var l in e)a&&"prototype"===l||!W(e,l)||K(o,v(l));if(Ne)for(var u=function(e){if("undefined"==typeof window||!Ze)return xe(e);try{return xe(e)}catch(e){return!1}}(e),c=0;c<ke;c++){var f=Pe[c];u&&"constructor"===f||!W(e,f)||K(o,f)}return o}});var Ge=l.keys&&function(){return 2===l.keys(arguments).length}(1,2),Re=l.keys&&function(){var e=l.keys(arguments);return 1!==arguments.length||1!==e.length||1!==e[0]}(1),Oe=l.keys;Z(l,{keys:function(e){return ze(e)?Oe(J(e)):Oe(e)}},!Ge||Re);var We,Ue,Je=0!==new Date(-0xc782b5b342b24).getUTCMonth(),Be=new Date(-0x55d318d56a724),Fe=new Date(14496624e5),He="Mon, 01 Jan -45875 11:59:59 GMT"!==Be.toUTCString();Be.getTimezoneOffset()<-720?(We="Tue Jan 02 -45875"!==Be.toDateString(),Ue=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(Fe))):(We="Mon Jan 01 -45875"!==Be.toDateString(),Ue=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(Fe)));var Ve=m.bind(Date.prototype.getFullYear),Xe=m.bind(Date.prototype.getMonth),_e=m.bind(Date.prototype.getDate),Ke=m.bind(Date.prototype.getUTCFullYear),Qe=m.bind(Date.prototype.getUTCMonth),qe=m.bind(Date.prototype.getUTCDate),$e=m.bind(Date.prototype.getUTCDay),et=m.bind(Date.prototype.getUTCHours),tt=m.bind(Date.prototype.getUTCMinutes),nt=m.bind(Date.prototype.getUTCSeconds),it=m.bind(Date.prototype.getUTCMilliseconds),rt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ot=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],at=function(e,t){return _e(new Date(t,e,0))};Z(Date.prototype,{getFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ve(this);return e<0&&11<Xe(this)?e+1:e},getMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ve(this),t=Xe(this);return e<0&&11<t?0:t},getDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ve(this),t=Xe(this),n=_e(this);return e<0&&11<t?12===t?n:at(0,e+1)-n+1:n},getUTCFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ke(this);return e<0&&11<Qe(this)?e+1:e},getUTCMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ke(this),t=Qe(this);return e<0&&11<t?0:t},getUTCDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ke(this),t=Qe(this),n=qe(this);return e<0&&11<t?12===t?n:at(0,e+1)-n+1:n}},Je),Z(Date.prototype,{toUTCString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=$e(this),t=qe(this),n=Qe(this),i=Ke(this),r=et(this),o=tt(this),a=nt(this);return rt[e]+", "+(t<10?"0"+t:t)+" "+ot[n]+" "+i+" "+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)+":"+(a<10?"0"+a:a)+" GMT"}},Je||He),Z(Date.prototype,{toDateString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),i=this.getFullYear();return rt[e]+" "+ot[n]+" "+(t<10?"0"+t:t)+" "+i}},Je||We),(Je||Ue)&&(Date.prototype.toString=function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),i=this.getFullYear(),r=this.getHours(),o=this.getMinutes(),a=this.getSeconds(),s=this.getTimezoneOffset(),l=Math.floor(Math.abs(s)/60),u=Math.floor(Math.abs(s)%60);return rt[e]+" "+ot[n]+" "+(t<10?"0"+t:t)+" "+i+" "+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)+":"+(a<10?"0"+a:a)+" GMT"+(0<s?"-":"+")+(l<10?"0"+l:l)+(u<10?"0"+u:u)},T&&l.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var st=-621987552e5,lt="-000001",ut=Date.prototype.toISOString&&-1===new Date(st).toISOString().indexOf(lt),ct=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString(),ft=m.bind(Date.prototype.getTime);Z(Date.prototype,{toISOString:function(){if(!isFinite(this)||!isFinite(ft(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var e=Ke(this),t=Qe(this);e+=Math.floor(t/12);var n=[(t=(t%12+12)%12)+1,qe(this),et(this),tt(this),nt(this)];e=(e<0?"-":9999<e?"+":"")+V("00000"+Math.abs(e),0<=e&&e<=9999?-4:-6);for(var i=0;i<n.length;++i)n[i]=V("00"+n[i],-2);return e+"-"+J(n,0,2).join("-")+"T"+J(n,2).join(":")+"."+V("000"+it(this),-3)+"Z"}},ut||ct),function(){try{return Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&-1!==new Date(st).toJSON().indexOf(lt)&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(e){return!1}}()||(Date.prototype.toJSON=function(e){var t=l(this),n=z(t);if("number"==typeof n&&!isFinite(n))return null;var i=t.toISOString;if(!D(i))throw new TypeError("toISOString property is not callable");return i.call(t)});var dt=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),pt=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"))||!isNaN(Date.parse("2012-12-31T23:59:60.000Z"));if(isNaN(Date.parse("2000-01-01T00:00:00.000Z"))||pt||!dt){var ht=Math.pow(2,31)-1,gt=k(new Date(1970,0,1,0,0,0,ht+1).getTime());Date=function(h){var p=function(e,t,n,i,r,o,a){var s,l=arguments.length;if(this instanceof h){var u=o,c=a;if(gt&&7<=l&&ht<a){var f=Math.floor(a/ht)*ht,d=Math.floor(f/1e3);u+=d,c-=1e3*d}s=1===l&&v(e)===e?new h(p.parse(e)):7<=l?new h(e,t,n,i,r,u,c):6<=l?new h(e,t,n,i,r,u):5<=l?new h(e,t,n,i,r):4<=l?new h(e,t,n,i):3<=l?new h(e,t,n):2<=l?new h(e,t):1<=l?new h(e instanceof h?+e:e):new h}else s=h.apply(this,arguments);return P(s)||Z(s,{constructor:p},!0),s},g=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),i=[0,31,59,90,120,151,181,212,243,273,304,334,365],m=function(e,t){var n=1<t?1:0;return i[t]+Math.floor((e-1969+n)/4)-Math.floor((e-1901+n)/100)+Math.floor((e-1601+n)/400)+365*(e-1970)};for(var e in h)W(h,e)&&(p[e]=h[e]);Z(p,{now:h.now,UTC:h.UTC},!0),p.prototype=h.prototype,Z(p.prototype,{constructor:p},!0);return Z(p,{parse:function(e){var t=g.exec(e);if(t){var n,i=y(t[1]),r=y(t[2]||1)-1,o=y(t[3]||1)-1,a=y(t[4]||0),s=y(t[5]||0),l=y(t[6]||0),u=Math.floor(1e3*y(t[7]||0)),c=Boolean(t[4]&&!t[8]),f="-"===t[9]?1:-1,d=y(t[10]||0),p=y(t[11]||0);return a<(0<s||0<l||0<u?24:25)&&s<60&&l<60&&u<1e3&&-1<r&&r<12&&d<24&&p<60&&-1<o&&o<m(i,r+1)-m(i,r)&&(n=1e3*(60*((n=60*(24*(m(i,r)+o)+a+d*f))+s+p*f)+l)+u,c&&(n=function(e){var t=0,n=e;if(gt&&ht<n){var i=Math.floor(n/ht)*ht,r=Math.floor(i/1e3);t+=r,n-=1e3*r}return y(new h(1970,0,1,0,0,t,n))}(n)),-864e13<=n&&n<=864e13)?n:NaN}return h.parse.apply(this,arguments)}}),p}(Date)}Date.now||(Date.now=function(){return(new Date).getTime()});var mt=r.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0)),vt={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(e,t){for(var n=-1,i=t;++n<vt.size;)i+=e*vt.data[n],vt.data[n]=i%vt.base,i=Math.floor(i/vt.base)},divide:function(e){for(var t=vt.size,n=0;0<=--t;)n+=vt.data[t],vt.data[t]=Math.floor(n/e),n=n%e*vt.base},numToString:function(){for(var e=vt.size,t="";0<=--e;)if(""!==t||0===e||0!==vt.data[e]){var n=v(vt.data[e]);""===t?t=n:t+=V("0000000",0,7-n.length)+n}return t},pow:function e(t,n,i){return 0===n?i:n%2==1?e(t,n-1,i*t):e(t*t,n/2,i)},log:function(e){for(var t=0,n=e;4096<=n;)t+=12,n/=4096;for(;2<=n;)t+=1,n/=2;return t}};Z(r,{toFixed:function(e){var t,n,i,r,o,a,s,l;if(t=y(e),(t=k(t)?0:Math.floor(t))<0||20<t)throw new RangeError("Number.toFixed called with invalid number of decimals");if(n=y(this),k(n))return"NaN";if(n<=-1e21||1e21<=n)return v(n);if(i="",n<0&&(i="-",n=-n),r="0",1e-21<n)if(a=(o=vt.log(n*vt.pow(2,69,1))-69)<0?n*vt.pow(2,-o,1):n/vt.pow(2,o,1),a*=4503599627370496,0<(o=52-o)){for(vt.multiply(0,a),s=t;7<=s;)vt.multiply(1e7,0),s-=7;for(vt.multiply(vt.pow(10,s,1),0),s=o-1;23<=s;)vt.divide(1<<23),s-=23;vt.divide(1<<s),vt.multiply(1,1),vt.divide(2),r=vt.numToString()}else vt.multiply(0,a),vt.multiply(1<<-o,0),r=vt.numToString()+V("0.00000000000000000000",2,2+t);return r=0<t?(l=r.length)<=t?i+V("0.0000000000000000000",0,t-l+2)+r:i+V(r,0,l-t)+"."+V(r,l-t):i+r}},mt);var yt,wt,bt=function(){try{return"1"===1..toPrecision(void 0)}catch(e){return!0}}(),It=r.toPrecision;Z(r,{toPrecision:function(e){return void 0===e?It.call(this):It.call(this,e)}},bt),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||1<".".split(/()()/).length?(yt=void 0===/()??/.exec("")[1],wt=Math.pow(2,32)-1,i.split=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!d(e))return X(this,e,t);var i,r,o,a,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,c=new RegExp(e.source,l+"g");yt||(i=new RegExp("^"+c.source+"$(?!\\s)",l));var f=void 0===t?wt:R(t);for(r=c.exec(n);r&&!(u<(o=r.index+r[0].length)&&(K(s,V(n,u,r.index)),!yt&&1<r.length&&r[0].replace(i,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(r[e]=void 0)}),1<r.length&&r.index<n.length&&h.apply(s,J(r,1)),a=r[0].length,u=o,f<=s.length));)c.lastIndex===r.index&&c.lastIndex++,r=c.exec(n);return u===n.length?!a&&c.test("")||K(s,""):K(s,V(n,u)),f<s.length?J(s,0,f):s}):"0".split(void 0,0).length&&(i.split=function(e,t){return void 0===e&&0===t?[]:X(this,e,t)});var Mt,Ct=i.replace;(Mt=[],"x".replace(/x(.)?/g,function(e,t){K(Mt,t)}),1===Mt.length&&void 0===Mt[0])||(i.replace=function(r,o){var e=D(o),t=d(r)&&/\)[*?]/.test(r.source);if(e&&t){return Ct.call(this,r,function(e){var t=arguments.length,n=r.lastIndex;r.lastIndex=0;var i=r.exec(e)||[];return r.lastIndex=n,K(i,arguments[t-2],arguments[t-1]),o.apply(this,i)})}return Ct.call(this,r,o)});var At=i.substr,St="".substr&&"b"!=="0b".substr(-1);Z(i,{substr:function(e,t){var n=e;return e<0&&(n=b(this.length+e,0)),At.call(this,n,t)}},St);var Et="\t\n\v\f\r \u2028\u2029\ufeff",Dt="["+Et+"]",Nt=new RegExp("^"+Dt+Dt+"*"),jt=new RegExp(Dt+Dt+"*$"),Lt=i.trim&&(Et.trim()||!"".trim());Z(i,{trim:function(){if(null==this)throw new TypeError("can't convert "+this+" to object");return v(this).replace(Nt,"").replace(jt,"")}},Lt);var xt=m.bind(String.prototype.trim),Tt=i.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2);Z(i,{lastIndexOf:function(e){if(null==this)throw new TypeError("can't convert "+this+" to object");for(var t=v(this),n=v(e),i=1<arguments.length?y(arguments[1]):NaN,r=k(i)?1/0:Y(i),o=I(b(r,0),t.length),a=n.length,s=o+a;0<s;){s=b(0,s-a);var l=_(V(t,s,o+a),n);if(-1!==l)return s+l}return-1}},Tt);var Zt,Pt,kt,Yt=i.lastIndexOf;if(Z(i,{lastIndexOf:function(e){return Yt.apply(this,arguments)}},1!==i.lastIndexOf.length),8===parseInt(Et+"08")&&22===parseInt(Et+"0x16")||(parseInt=(Zt=parseInt,Pt=/^[-+]?0[xX]/,function(e,t){var n=xt(String(e)),i=y(t)||(Pt.test(n)?16:10);return Zt(n,i)})),1/parseFloat("-0")!=-1/0&&(parseFloat=(kt=parseFloat,function(e){var t=xt(String(e)),n=kt(t);return 0===n&&"-"===V(t,0,1)?-0:n})),"RangeError: test"!==String(new RangeError("test"))){Error.prototype.toString=function(){if(null==this)throw new TypeError("can't convert "+this+" to object");var e=this.name;void 0===e?e="Error":"string"!=typeof e&&(e=v(e));var t=this.message;return void 0===t?t="":"string"!=typeof t&&(t=v(t)),e?t?e+": "+t:e:t}}if(T){var zt=function(e,t){if(Q(e,t)){var n=Object.getOwnPropertyDescriptor(e,t);n.configurable&&(n.enumerable=!1,Object.defineProperty(e,t,n))}};zt(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),zt(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){RegExp.prototype.toString=function(){var e="/"+this.source+"/";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),e}}})},{}],39:[function(e,t,n){var i=[],r=i.forEach,o=i.slice;t.exports=function(n){return r.call(o.call(arguments,1),function(e){if(e)for(var t in e)n[t]=e[t]}),n}},{}],40:[function(e,t,n){n.read=function(e,t,n,i,r){var o,a,s=8*r-i-1,l=(1<<s)-1,u=l>>1,c=-7,f=n?r-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-c)-1,p>>=-c,c+=s;0<c;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=i;0<c;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,i),o-=u}return(p?-1:1)*a*Math.pow(2,o-i)},n.write=function(e,t,n,i,r,o){var a,s,l,u=8*o-r-1,c=(1<<u)-1,f=c>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:o-1,h=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),2<=(t+=1<=a+f?d/l:d*Math.pow(2,1-f))*l&&(a++,l/=2),c<=a+f?(s=0,a=c):1<=a+f?(s=(t*l-1)*Math.pow(2,r),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,r),a=0));8<=r;e[n+p]=255&s,p+=h,s/=256,r-=8);for(a=a<<r|s,u+=r;0<u;e[n+p]=255&a,p+=h,a/=256,u-=8);e[n+p-h]|=128*g}},{}],41:[function(e,t,n){var i=[].indexOf;t.exports=function(e,t){if(i)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},{}],42:[function(e,t,n){t.exports=function(e){var t=i.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var i=Object.prototype.toString},{}],43:[function(e,t,n){var i={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},{}],44:[function(e,T,Z){(function(x){!function(e){var t="object"==typeof Z&&Z&&!Z.nodeType&&Z,n="object"==typeof T&&T&&!T.nodeType&&T,i="object"==typeof x&&x;i.global!==i&&i.window!==i&&i.self!==i||(e=i);var r,o,v=2147483647,y=36,w=1,b=26,a=38,s=700,I=72,M=128,C="-",l=/^xn--/,u=/[^\x20-\x7E]/,c=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=y-w,A=Math.floor,S=String.fromCharCode;function E(e){throw new RangeError(f[e])}function p(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function h(e,t){var n=e.split("@"),i="";return 1<n.length&&(i=n[0]+"@",e=n[1]),i+p((e=e.replace(c,".")).split("."),t).join(".")}function D(e){for(var t,n,i=[],r=0,o=e.length;r<o;)55296<=(t=e.charCodeAt(r++))&&t<=56319&&r<o?56320==(64512&(n=e.charCodeAt(r++)))?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),r--):i.push(t);return i}function N(e){return p(e,function(e){var t="";return 65535<e&&(t+=S((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=S(e)}).join("")}function j(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function L(e,t,n){var i=0;for(e=n?A(e/s):e>>1,e+=A(e/t);d*b>>1<e;i+=y)e=A(e/d);return A(i+(d+1)*e/(e+a))}function g(e){var t,n,i,r,o,a,s,l,u,c,f,d=[],p=e.length,h=0,g=M,m=I;for((n=e.lastIndexOf(C))<0&&(n=0),i=0;i<n;++i)128<=e.charCodeAt(i)&&E("not-basic"),d.push(e.charCodeAt(i));for(r=0<n?n+1:0;r<p;){for(o=h,a=1,s=y;p<=r&&E("invalid-input"),f=e.charCodeAt(r++),(y<=(l=f-48<10?f-22:f-65<26?f-65:f-97<26?f-97:y)||l>A((v-h)/a))&&E("overflow"),h+=l*a,!(l<(u=s<=m?w:m+b<=s?b:s-m));s+=y)a>A(v/(c=y-u))&&E("overflow"),a*=c;m=L(h-o,t=d.length+1,0==o),A(h/t)>v-g&&E("overflow"),g+=A(h/t),h%=t,d.splice(h++,0,g)}return N(d)}function m(e){var t,n,i,r,o,a,s,l,u,c,f,d,p,h,g,m=[];for(d=(e=D(e)).length,t=M,o=I,a=n=0;a<d;++a)(f=e[a])<128&&m.push(S(f));for(i=r=m.length,r&&m.push(C);i<d;){for(s=v,a=0;a<d;++a)t<=(f=e[a])&&f<s&&(s=f);for(s-t>A((v-n)/(p=i+1))&&E("overflow"),n+=(s-t)*p,t=s,a=0;a<d;++a)if((f=e[a])<t&&++n>v&&E("overflow"),f==t){for(l=n,u=y;!(l<(c=u<=o?w:o+b<=u?b:u-o));u+=y)g=l-c,h=y-c,m.push(S(j(c+g%h,0))),l=A(g/h);m.push(S(j(l,0))),o=L(n,p,i==r),n=0,++i}++n,++t}return m.join("")}if(r={version:"1.4.1",ucs2:{decode:D,encode:N},decode:g,encode:m,toASCII:function(e){return h(e,function(e){return u.test(e)?"xn--"+m(e):e})},toUnicode:function(e){return h(e,function(e){return l.test(e)?g(e.slice(4).toLowerCase()):e})}},t&&n)if(T.exports==t)n.exports=r;else for(o in r)r.hasOwnProperty(o)&&(t[o]=r[o]);else e.punycode=r}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],45:[function(e,n,t){!function(e,t){void 0!==n&&n.exports?n.exports=t():this.$script=t()}(0,function(){var u,r,o=document,a=o.getElementsByTagName("head")[0],s=!1,c="push",l="readyState",f="onreadystatechange",d={},p={},h={},g={};function m(e,t){for(var n=0,i=e.length;n<i;++n)if(!t(e[n]))return s;return 1}function v(e,t){m(e,function(e){return!t(e)})}function y(e,t,n){e=e[c]?e:[e];var i=t&&t.call,r=i?t:n,o=i?e.join(""):t,a=e.length;function s(e){return e.call?e():d[e]}function l(){if(!--a)for(var e in d[o]=1,r&&r(),h)m(e.split("|"),s)&&!v(h[e],s)&&(h[e]=[])}return setTimeout(function(){v(e,function e(t,n){return null===t?l():(n||/^https?:\/\//.test(t)||!u||(t=-1===t.indexOf(".js")?u+t+".js":u+t),g[t]?(o&&(p[o]=1),2==g[t]?l():setTimeout(function(){e(t,!0)},0)):(g[t]=1,o&&(p[o]=1),void w(t,l)))})},0),y}function w(e,t){var n,i=o.createElement("script");i.onload=i.onerror=i[f]=function(){i[l]&&!/^c|loade/.test(i[l])||n||(i.onload=i[f]=null,n=1,g[e]=2,t())},i.async=1,i.src=r?e+(-1===e.indexOf("?")?"?":"&")+r:e,a.insertBefore(i,a.lastChild)}return y.get=w,y.order=function(n,i,r){!function e(t){t=n.shift(),n.length?y(t,e):y(t,i,r)}()},y.path=function(e){u=e},y.urlArgs=function(e){r=e},y.ready=function(e,t,n){e=e[c]?e:[e];var i,r=[];return!v(e,function(e){d[e]||r[c](e)})&&m(e,function(e){return d[e]})?t():(i=e.join("|"),h[i]=h[i]||[],h[i][c](t),n&&n(r)),y},y.done=function(e){y([null],e)},y})},{}]},{},[32])(32)});
|
|
|
|
|
|
|
|
lib/flowplayer.swf
CHANGED
Binary file
|
lib/flowplayerhls.swf
CHANGED
Binary file
|
lib/index.html
ADDED
File without changes
|
lib/skin/icons/index.html
ADDED
File without changes
|
lib/skin/index.html
ADDED
File without changes
|
lib/skin/skin.css
CHANGED
@@ -131,7 +131,9 @@
|
|
131 |
cursor: none; }
|
132 |
|
133 |
.flowplayer.is-loading .fp-waiting, .flowplayer.is-seeking .fp-waiting {
|
134 |
-
display: block !important;
|
|
|
|
|
135 |
.flowplayer.is-loading .fp-waiting svg, .flowplayer.is-loading .fp-waiting p, .flowplayer.is-seeking .fp-waiting svg, .flowplayer.is-seeking .fp-waiting p {
|
136 |
filter: alpha(opacity=100);
|
137 |
opacity: 1; }
|
@@ -183,6 +185,9 @@
|
|
183 |
.flowplayer.is-live .fp-timeline {
|
184 |
visibility: hidden; }
|
185 |
|
|
|
|
|
|
|
186 |
.flowplayer.is-live.is-dvr .fp-timeline {
|
187 |
visibility: visible; }
|
188 |
|
@@ -273,9 +278,6 @@
|
|
273 |
opacity: 0.3;
|
274 |
-webkit-transition: opacity 0.2s;
|
275 |
transition: opacity 0.2s; }
|
276 |
-
.flowplayer.fp-default-playlist .fp-prev:hover, .flowplayer.fp-default-playlist .fp-next:hover {
|
277 |
-
filter: alpha(opacity=100);
|
278 |
-
opacity: 1; }
|
279 |
.flowplayer.fp-default-playlist .fp-prev:before, .flowplayer.fp-default-playlist .fp-next:before {
|
280 |
font-family: flowplayer;
|
281 |
font-size: 2.8em; }
|
@@ -494,7 +496,7 @@
|
|
494 |
-moz-box-sizing: border-box;
|
495 |
box-sizing: border-box; }
|
496 |
.flowplayer.is-ready:not(.is-poster) {
|
497 |
-
background
|
498 |
.flowplayer .fp-engine {
|
499 |
display: block;
|
500 |
width: 100%;
|
@@ -1010,6 +1012,10 @@
|
|
1010 |
-webkit-transform: rotate(180deg);
|
1011 |
-ms-transform: rotate(180deg);
|
1012 |
transform: rotate(180deg); }
|
|
|
|
|
|
|
|
|
1013 |
.flowplayer.-grayscale video.fp-engine {
|
1014 |
-webkit-filter: grayscale(100%);
|
1015 |
filter: grayscale(100%); }
|
131 |
cursor: none; }
|
132 |
|
133 |
.flowplayer.is-loading .fp-waiting, .flowplayer.is-seeking .fp-waiting {
|
134 |
+
display: block !important;
|
135 |
+
filter: alpha(opacity=100) !important;
|
136 |
+
opacity: 1 !important; }
|
137 |
.flowplayer.is-loading .fp-waiting svg, .flowplayer.is-loading .fp-waiting p, .flowplayer.is-seeking .fp-waiting svg, .flowplayer.is-seeking .fp-waiting p {
|
138 |
filter: alpha(opacity=100);
|
139 |
opacity: 1; }
|
185 |
.flowplayer.is-live .fp-timeline {
|
186 |
visibility: hidden; }
|
187 |
|
188 |
+
.flowplayer.is-live .fp-bar > *.fp-buffer, .flowplayer.is-live .fp-bar-slider > *.fp-buffer {
|
189 |
+
max-width: 100%; }
|
190 |
+
|
191 |
.flowplayer.is-live.is-dvr .fp-timeline {
|
192 |
visibility: visible; }
|
193 |
|
278 |
opacity: 0.3;
|
279 |
-webkit-transition: opacity 0.2s;
|
280 |
transition: opacity 0.2s; }
|
|
|
|
|
|
|
281 |
.flowplayer.fp-default-playlist .fp-prev:before, .flowplayer.fp-default-playlist .fp-next:before {
|
282 |
font-family: flowplayer;
|
283 |
font-size: 2.8em; }
|
496 |
-moz-box-sizing: border-box;
|
497 |
box-sizing: border-box; }
|
498 |
.flowplayer.is-ready:not(.is-poster) {
|
499 |
+
background: none !important; }
|
500 |
.flowplayer .fp-engine {
|
501 |
display: block;
|
502 |
width: 100%;
|
1012 |
-webkit-transform: rotate(180deg);
|
1013 |
-ms-transform: rotate(180deg);
|
1014 |
transform: rotate(180deg); }
|
1015 |
+
.flowplayer.is-rtl .fp-menu .fp-icon {
|
1016 |
+
-webkit-transform: none;
|
1017 |
+
-ms-transform: none;
|
1018 |
+
transform: none; }
|
1019 |
.flowplayer.-grayscale video.fp-engine {
|
1020 |
-webkit-filter: grayscale(100%);
|
1021 |
filter: grayscale(100%); }
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Easy Video Player ===
|
2 |
Contributors: naa986
|
3 |
Donate link: https://noorsplugin.com/
|
4 |
-
Tags: video,
|
5 |
Requires at least: 4.3
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -16,7 +16,7 @@ Easy Video Player is a WordPress video player that allows you to add video to yo
|
|
16 |
|
17 |
= Requirements =
|
18 |
|
19 |
-
* A self-hosted website running on [WordPress hosting](https://noorsplugin.com/
|
20 |
|
21 |
= Easy Video Player Features =
|
22 |
|
@@ -33,6 +33,10 @@ Easy Video Player is a WordPress video player that allows you to add video to yo
|
|
33 |
|
34 |
= Easy Video Player Plugin Usage =
|
35 |
|
|
|
|
|
|
|
|
|
36 |
https://www.youtube.com/watch?v=RUaDFo4b3Ww&rel=0
|
37 |
|
38 |
**Settings Configuration**
|
@@ -138,6 +142,9 @@ none
|
|
138 |
|
139 |
== Changelog ==
|
140 |
|
|
|
|
|
|
|
141 |
= 1.1.7 =
|
142 |
* Updated the player to version 7.2.1.
|
143 |
* Easy Video Player is now compatible with WordPress 4.9.
|
1 |
=== Easy Video Player ===
|
2 |
Contributors: naa986
|
3 |
Donate link: https://noorsplugin.com/
|
4 |
+
Tags: video, player, flash, html5, mobile
|
5 |
Requires at least: 4.3
|
6 |
+
Tested up to: 5.4
|
7 |
+
Stable tag: 1.1.8
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
16 |
|
17 |
= Requirements =
|
18 |
|
19 |
+
* A self-hosted website running on [WordPress hosting](https://noorsplugin.com/how-to-choose-the-right-wordpress-hosting/)
|
20 |
|
21 |
= Easy Video Player Features =
|
22 |
|
33 |
|
34 |
= Easy Video Player Plugin Usage =
|
35 |
|
36 |
+
https://www.youtube.com/watch?v=EpoA4m3mkuI&rel=0
|
37 |
+
|
38 |
+
**Embedding a Video in the Classic Editor**
|
39 |
+
|
40 |
https://www.youtube.com/watch?v=RUaDFo4b3Ww&rel=0
|
41 |
|
42 |
**Settings Configuration**
|
142 |
|
143 |
== Changelog ==
|
144 |
|
145 |
+
= 1.1.8 =
|
146 |
+
* Updated the player to version 7.2.7.
|
147 |
+
|
148 |
= 1.1.7 =
|
149 |
* Updated the player to version 7.2.1.
|
150 |
* Easy Video Player is now compatible with WordPress 4.9.
|