UNPKG

@screwtopmedia/cdf-ng-media

Version:

Angular module for displaying media assets (images, videos)

95 lines (62 loc) 78.1 kB
/*! JW Player version 8.3.2 Copyright (c) 2018, JW Player, All Rights Reserved https://github.com/jwplayer/jwplayer/blob/v8.3.2/README.md This source code and its use and distribution is subject to the terms and conditions of the applicable license agreement. https://www.jwplayer.com/tos/ This product includes portions of other software. For the full text of licenses, see below: JW Player Third Party Software Notices and/or Additional Terms and Conditions ************************************************************************************************** The following software is used under Apache License 2.0 ************************************************************************************************** vtt.js v0.13.0 Copyright (c) 2018 Mozilla (http://mozilla.org) https://github.com/mozilla/vtt.js/blob/v0.13.0/LICENSE * * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ************************************************************************************************** The following software is used under MIT license ************************************************************************************************** Underscore.js v1.6.0 Copyright (c) 2009-2014 Jeremy Ashkenas, DocumentCloud and Investigative https://github.com/jashkenas/underscore/blob/1.6.0/LICENSE Backbone backbone.events.js v1.1.2 Copyright (c) 2010-2014 Jeremy Ashkenas, DocumentCloud https://github.com/jashkenas/backbone/blob/1.1.2/LICENSE Promise Polyfill v7.1.1 Copyright (c) 2014 Taylor Hakes and Forbes Lindesay https://github.com/taylorhakes/promise-polyfill/blob/v7.1.1/LICENSE can-autoplay.js v3.0.0 Copyright (c) 2017 video-dev https://github.com/video-dev/can-autoplay/blob/v3.0.0/LICENSE * * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ************************************************************************************************** The following software is used under W3C license ************************************************************************************************** Intersection Observer v0.5.0 Copyright (c) 2016 Google Inc. (http://google.com) https://github.com/w3c/IntersectionObserver/blob/v0.5.0/LICENSE.md * * * W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE Status: This license takes effect 13 May, 2015. This work is being provided by the copyright holders under the following license. License By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." Disclaimers THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders. */ window.jwplayer=function(t){function e(e){for(var n,i,o=e[0],u=e[1],a=0,s=[];a<o.length;a++)i=o[a],r[i]&&s.push(r[i][0]),r[i]=0;for(n in u)Object.prototype.hasOwnProperty.call(u,n)&&(t[n]=u[n]);for(c&&c(e);s.length;)s.shift()()}var n={},r={10:0};function i(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(t){var e=[],n=r[t];if(0!==n)if(n)e.push(n[2]);else{var o=new Promise(function(e,i){n=r[t]=[e,i]});e.push(n[2]=o);var u=document.getElementsByTagName("head")[0],a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=i.p+""+({0:"jwplayer.controls",1:"polyfills.intersection-observer",2:"jwplayer.core",3:"jwplayer.core.controls",4:"jwplayer.core.controls.polyfills",5:"jwplayer.core.controls.html5",6:"jwplayer.core.controls.polyfills.html5",7:"provider.html5",8:"polyfills.webvtt",9:"vttparser"}[t]||t)+".js";var c=setTimeout(function(){s({type:"timeout",target:a})},12e4);function s(e){a.onerror=a.onload=null,clearTimeout(c);var n=r[t];if(0!==n){if(n){var i=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src,u=new Error("Loading chunk "+t+" failed.\n("+i+": "+o+")");u.type=i,u.request=o,n[1](u)}r[t]=void 0}}a.onerror=a.onload=s,u.appendChild(a)}return Promise.all(e)},i.m=t,i.c=n,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i.oe=function(t){throw console.error(t),t};var o=window.webpackJsonpjwplayer=window.webpackJsonpjwplayer||[],u=o.push.bind(o);o.push=e,o=o.slice();for(var a=0;a<o.length;a++)e(o[a]);var c=u;return i(i.s=46)}([function(t,e,n){"use strict";n.d(e,"g",function(){return x}),n.d(e,"v",function(){return C}),n.d(e,"j",function(){return A}),n.d(e,"i",function(){return F}),n.d(e,"a",function(){return L}),n.d(e,"A",function(){return B}),n.d(e,"B",function(){return X}),n.d(e,"c",function(){return W}),n.d(e,"k",function(){return J}),n.d(e,"f",function(){return U}),n.d(e,"m",function(){return $}),n.d(e,"b",function(){return Y}),n.d(e,"x",function(){return tt}),n.d(e,"C",function(){return rt}),n.d(e,"e",function(){return ut}),n.d(e,"h",function(){return at}),n.d(e,"y",function(){return ct}),n.d(e,"p",function(){return ht}),n.d(e,"r",function(){return vt}),n.d(e,"s",function(){return gt}),n.d(e,"o",function(){return bt}),n.d(e,"q",function(){return mt}),n.d(e,"n",function(){return yt}),n.d(e,"t",function(){return jt}),n.d(e,"l",function(){return wt}),n.d(e,"z",function(){return xt}),n.d(e,"w",function(){return kt}),n.d(e,"u",function(){return St});var r=n(29),i={},o=Array.prototype,u=Object.prototype,a=Function.prototype,c=o.slice,s=o.concat,l=u.toString,f=u.hasOwnProperty,d=o.map,p=o.reduce,h=o.forEach,v=o.filter,g=o.every,b=o.some,m=o.indexOf,y=Array.isArray,j=Object.keys,O=a.bind,w=window.isFinite,x=function(t,e,n){var r=void 0,o=void 0;if(null==t)return t;if(h&&t.forEach===h)t.forEach(e,n);else if(t.length===+t.length){for(r=0,o=t.length;r<o;r++)if(e.call(n,t[r],r,t)===i)return}else{var u=it(t);for(r=0,o=u.length;r<o;r++)if(e.call(n,t[u[r]],u[r],t)===i)return}return t},k=x,C=function(t,e,n){var r=[];return null==t?r:d&&t.map===d?t.map(e,n):(x(t,function(t,i,o){r.push(e.call(n,t,i,o))}),r)},S=C,T=function(t,e,n,r){var i=arguments.length>2;if(null==t&&(t=[]),p&&t.reduce===p)return r&&(e=Y(e,r)),i?t.reduce(e,n):t.reduce(e);if(x(t,function(t,o,u){i?n=e.call(r,n,t,o,u):(n=t,i=!0)}),!i)throw new TypeError("Reduce of empty array with no initial value");return n},P=T,E=T,A=function(t,e,n){var r=void 0;return L(t,function(t,i,o){if(e.call(n,t,i,o))return r=t,!0}),r},_=A,F=function(t,e,n){var r=[];return null==t?r:v&&t.filter===v?t.filter(e,n):(x(t,function(t,i,o){e.call(n,t,i,o)&&r.push(t)}),r)},N=F,M=function(t,e,n){e||(e=wt);var r=!0;return null==t?r:g&&t.every===g?t.every(e,n):(x(t,function(t,o,u){if(!(r=r&&e.call(n,t,o,u)))return i}),!!r)},I=M,L=function(t,e,n){e||(e=wt);var r=!1;return null==t?r:b&&t.some===b?t.some(e,n):(x(t,function(t,o,u){if(r||(r=e.call(n,t,o,u)))return i}),!!r)},R=L,B=function(t){return null==t?0:t.length===+t.length?t.length:it(t).length},q=function(t,e){var n=void 0;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},D=function(t){return null==t?wt:ht(t)?t:xt(t)},Q=function(t){return function(e,n,r){var i={};return n=D(n),x(e,function(o,u){var a=n.call(r,o,u,e);t(i,a,o)}),i}},z=Q(function(t,e,n){Ot(t,e)?t[e].push(n):t[e]=[n]}),V=Q(function(t,e,n){t[e]=n}),X=function(t,e,n,r){for(var i=(n=D(n)).call(r,e),o=0,u=t.length;o<u;){var a=o+u>>>1;n.call(r,t[a])<i?o=a+1:u=a}return o},W=function(t,e){return null!=t&&(t.length!==+t.length&&(t=ot(t)),$(t,e)>=0)},H=W,J=function(t,e){return A(t,kt(e))},U=function(t){var e=s.apply(o,c.call(arguments,1));return F(t,function(t){return!W(e,t)})},$=function(t,e,n){if(null==t)return-1;var r=0,i=t.length;if(n){if("number"!=typeof n)return t[r=X(t,e)]===e?r:-1;r=n<0?Math.max(0,i+n):n}if(m&&t.indexOf===m)return t.indexOf(e,n);for(;r<i;r++)if(t[r]===e)return r;return-1},G=function(){},Y=function(t,e){var n=void 0,r=void 0;if(O&&t.bind===O)return O.apply(t,c.call(arguments,1));if(!ht(t))throw new TypeError;return n=c.call(arguments,2),r=function(){if(!(this instanceof r))return t.apply(e,n.concat(c.call(arguments)));G.prototype=t.prototype;var i=new G;G.prototype=null;var o=t.apply(i,n.concat(c.call(arguments)));return Object(o)===o?o:i}},K=function(t){var e=c.call(arguments,1);return function(){for(var n=0,r=e.slice(),i=0,o=r.length;i<o;i++)Ot(r[i],"partial")&&(r[i]=arguments[n++]);for(;n<arguments.length;)r.push(arguments[n++]);return t.apply(this,r)}},Z=K(q,2),tt=function(t,e){var n={};return e||(e=wt),function(){var r=e.apply(this,arguments);return Ot(n,r)?n[r]:n[r]=t.apply(this,arguments)}},et=function(t,e){var n=c.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},nt=K(et,{partial:K},1),rt=function(t,e,n){var r=void 0,i=void 0,o=void 0,u=null,a=0;n||(n={});var c=function(){a=!1===n.leading?0:Ct(),u=null,o=t.apply(r,i),r=i=null};return function(){a||!1!==n.leading||(a=Ct);var s=e-(Ct-a);return r=this,i=arguments,s<=0?(clearTimeout(u),u=null,a=Ct,o=t.apply(r,i),r=i=null):u||!1===n.trailing||(u=setTimeout(c,s)),o}},it=function(t){if(!lt(t))return[];if(j)return j(t);var e=[];for(var n in t)Ot(t,n)&&e.push(n);return e},ot=function(t){for(var e=it(t),n=it.length,r=Array(n),i=0;i<n;i++)r[i]=t[e[i]];return r},ut=function(t){return x(c.call(arguments,1),function(e){if(e)for(var n in e)void 0===t[n]&&(t[n]=e[n])}),t},at=Object.assign||function(t){return x(c.call(arguments,1),function(e){if(e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t},ct=function(t){var e={},n=s.apply(o,c.call(arguments,1));return x(n,function(n){n in t&&(e[n]=t[n])}),e},st=y||function(t){return"[object Array]"==l.call(t)},lt=function(t){return t===Object(t)},ft=[];x(["Function","String","Number","Date","RegExp"],function(t){ft[t]=function(e){return l.call(e)=="[object "+t+"]"}}),ft.Function=function(t){return"function"==typeof t};var dt=ft.Date,pt=ft.RegExp,ht=ft.Function,vt=ft.Number,gt=ft.String,bt=function(t){return w(t)&&!mt(parseFloat(t))},mt=function(t){return vt(t)&&t!=+t},yt=function(t){return!0===t||!1===t||"[object Boolean]"==l.call(t)},jt=function(t){return void 0===t},Ot=function(t,e){return f.call(t,e)},wt=function(t){return t},xt=function(t){return function(e){return e[t]}},kt=function(t){return function(e){if(e===t)return!0;for(var n in t)if(t[n]!==e[n])return!1;return!0}},Ct=r.a,St=function(t){return vt(t)&&!mt(t)};e.d={after:function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},all:M,any:L,before:q,bind:Y,clone:function(t){return lt(t)?st(t)?t.slice():at({},t):t},collect:S,compact:function(t){return F(t,wt)},constant:function(t){return function(){return t}},contains:W,defaults:ut,defer:nt,delay:et,detect:_,difference:U,each:x,every:I,extend:at,filter:F,find:A,findWhere:J,foldl:P,forEach:k,groupBy:z,has:Ot,identity:wt,include:H,indexBy:V,indexOf:$,inject:E,invert:function(t){for(var e={},n=it(t),r=0,i=n.length;r<i;r++)e[t[n[r]]]=n[r];return e},isArray:st,isBoolean:yt,isDate:dt,isFinite:bt,isFunction:ht,isNaN:mt,isNull:function(t){return null===t},isNumber:vt,isObject:lt,isRegExp:pt,isString:gt,isUndefined:jt,isValidNumber:St,keys:it,last:function(t,e,n){if(null!=t)return null==e||n?t[t.length-1]:c.call(t,Math.max(t.length-e,0))},map:C,matches:kt,max:function(t,e,n){if(!e&&st(t)&&t[0]===+t[0]&&t.length<65535)return Math.max.apply(Math,t);var r=-1/0,i=-1/0;return x(t,function(t,o,u){var a=e?e.call(n,t,o,u):t;a>i&&(r=t,i=a)}),r},memoize:tt,now:Ct,omit:function(t){var e={},n=s.apply(o,c.call(arguments,1));for(var r in t)W(n,r)||(e[r]=t[r]);return e},once:Z,partial:K,pick:ct,pluck:function(t,e){return C(t,xt(e))},property:xt,propertyOf:function(t){return null==t?function(){}:function(e){return t[e]}},reduce:T,reject:function(t,e,n){return F(t,function(t,r,i){return!e.call(n,t,r,i)},n)},result:function(t,e){if(null!=t){var n=t[e];return ht(n)?n.call(t):n}},select:N,size:B,some:R,sortedIndex:X,throttle:rt,where:function(t,e){return F(t,kt(e))},without:function(t){return U(t,c.call(arguments,1))}}},function(t,e,n){"use strict";n.d(e,"h",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"i",function(){return u}),n.d(e,"a",function(){return a}),n.d(e,"b",function(){return c}),n.d(e,"f",function(){return s}),n.d(e,"c",function(){return l}),n.d(e,"e",function(){return f}),n.d(e,"g",function(){return d});var r=n(0);function i(t){return t.replace(/^\s+|\s+$/g,"")}function o(t,e,n){for(t=""+t,n=n||"0";t.length<e;)t=n+t;return t}function u(t,e){for(var n=0;n<t.attributes.length;n++)if(t.attributes[n].name&&t.attributes[n].name.toLowerCase()===e.toLowerCase())return t.attributes[n].value.toString();return""}function a(t){if(!t||"rtmp"===t.substr(0,4))return"";var e=function(t){return/[(,]format=m3u8-/i.test(t)?"m3u8":!!/[(,]format=mpd-/i.test(t)&&"mpd"}(t);return e||((t=t.split("?")[0].split("#")[0]).lastIndexOf(".")>-1?t.substr(t.lastIndexOf(".")+1,t.length).toLowerCase():void 0)}function c(t){var e=parseInt(t/3600),n=parseInt(t/60)%60,r=t%60;return o(e,2)+":"+o(n,2)+":"+o(r.toFixed(3),6)}function s(t,e){if(!t)return 0;if(Object(r.u)(t))return t;var n=(t=t.replace(",",".")).split(":"),i=n.length,o=0;if("s"===t.slice(-1))o=parseFloat(t);else if("m"===t.slice(-1))o=60*parseFloat(t);else if("h"===t.slice(-1))o=3600*parseFloat(t);else if(i>1){var u=i-1;4===i&&(e&&(o=parseFloat(n[u])/e),u-=1),o+=parseFloat(n[u]),o+=60*parseFloat(n[u-1]),i>=3&&(o+=3600*parseFloat(n[u-2]))}else o=parseFloat(t);return Object(r.u)(o)?o:0}function l(t,e,n){if(Object(r.s)(t)&&"%"===t.slice(-1)){var i=parseFloat(t);return e&&Object(r.u)(e)&&Object(r.u)(i)?e*i/100:null}return s(t,n)}function f(t,e){return Object(r.v)(t,function(t){return e+t})}function d(t,e){return Object(r.v)(t,function(t){return t+e})}},function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"a",function(){return u}),n.d(e,"c",function(){return a});var r=n(1);function i(t){var e="";return t&&(t.localName?e=t.localName:t.baseName&&(e=t.baseName)),e}function o(t){var e="";return t&&(t.textContent?e=Object(r.h)(t.textContent):t.text&&(e=Object(r.h)(t.text))),e}function u(t,e){return t.childNodes[e]}function a(t){return t.childNodes?t.childNodes.length:0}},function(t,e,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=setTimeout;function o(){}function u(t){if(!(this instanceof u))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(t,this)}function a(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,u._immediateFn(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void s(e.promise,t)}c(e.promise,r)}else(1===t._state?c:s)(e.promise,t._value)})):t._deferreds.push(e)}function c(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"===(void 0===e?"undefined":r(e))||"function"==typeof e)){var n=e.then;if(e instanceof u)return t._state=3,t._value=e,void l(t);if("function"==typeof n)return void f((i=n,o=e,function(){i.apply(o,arguments)}),t)}t._state=1,t._value=e,l(t)}catch(e){s(t,e)}var i,o}function s(t,e){t._state=2,t._value=e,l(t)}function l(t){2===t._state&&0===t._deferreds.length&&u._immediateFn(function(){t._handled||u._unhandledRejectionFn(t._value)});for(var e=0,n=t._deferreds.length;e<n;e++)a(t,t._deferreds[e]);t._deferreds=null}function f(t,e){var n=!1;try{t(function(t){n||(n=!0,c(e,t))},function(t){n||(n=!0,s(e,t))})}catch(t){if(n)return;n=!0,s(e,t)}}u.prototype.catch=function(t){return this.then(null,t)},u.prototype.then=function(t,e){var n=new this.constructor(o);return a(this,new function(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}(t,e,n)),n},u.prototype.finally=function(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){return e.reject(n)})})},u.all=function(t){return new u(function(e,n){if(!t||void 0===t.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(t);if(0===i.length)return e([]);var o=i.length;function u(t,a){try{if(a&&("object"===(void 0===a?"undefined":r(a))||"function"==typeof a)){var c=a.then;if("function"==typeof c)return void c.call(a,function(e){u(t,e)},n)}i[t]=a,0==--o&&e(i)}catch(t){n(t)}}for(var a=0;a<i.length;a++)u(a,i[a])})},u.resolve=function(t){return t&&"object"===(void 0===t?"undefined":r(t))&&t.constructor===u?t:new u(function(e){e(t)})},u.reject=function(t){return new u(function(e,n){n(t)})},u.race=function(t){return new u(function(e,n){for(var r=0,i=t.length;r<i;r++)t[r].then(e,n)})},u._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){i(t,0)},u._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var d=u;n.d(e,"b",function(){return h});var p=window.Promise||(window.Promise=d),h=p.resolve();e.a=p},function(t,e,n){"use strict";n.d(e,"Da",function(){return r}),n.d(e,"Ga",function(){return i}),n.d(e,"Ea",function(){return o}),n.d(e,"Ia",function(){return u}),n.d(e,"Ja",function(){return a}),n.d(e,"Fa",function(){return c}),n.d(e,"Ha",function(){return s}),n.d(e,"Ka",function(){return l}),n.d(e,"o",function(){return f}),n.d(e,"q",function(){return d}),n.d(e,"p",function(){return p}),n.d(e,"j",function(){return h}),n.d(e,"m",function(){return v}),n.d(e,"La",function(){return g}),n.d(e,"n",function(){return b}),n.d(e,"T",function(){return m}),n.d(e,"Q",function(){return y}),n.d(e,"r",function(){return j}),n.d(e,"S",function(){return O}),n.d(e,"s",function(){return w}),n.d(e,"a",function(){return x}),n.d(e,"d",function(){return k}),n.d(e,"A",function(){return C}),n.d(e,"Aa",function(){return S}),n.d(e,"K",function(){return T}),n.d(e,"x",function(){return P}),n.d(e,"w",function(){return E}),n.d(e,"z",function(){return A}),n.d(e,"l",function(){return _}),n.d(e,"W",function(){return F}),n.d(e,"i",function(){return N}),n.d(e,"B",function(){return M}),n.d(e,"C",function(){return I}),n.d(e,"H",function(){return L}),n.d(e,"I",function(){return R}),n.d(e,"L",function(){return B}),n.d(e,"Ca",function(){return q}),n.d(e,"V",function(){return D}),n.d(e,"y",function(){return Q}),n.d(e,"M",function(){return z}),n.d(e,"J",function(){return V}),n.d(e,"N",function(){return X}),n.d(e,"P",function(){return W}),n.d(e,"G",function(){return H}),n.d(e,"F",function(){return J}),n.d(e,"D",function(){return U}),n.d(e,"E",function(){return $}),n.d(e,"O",function(){return G}),n.d(e,"k",function(){return Y}),n.d(e,"t",function(){return K}),n.d(e,"Ba",function(){return Z}),n.d(e,"X",function(){return tt}),n.d(e,"Y",function(){return et}),n.d(e,"b",function(){return nt}),n.d(e,"c",function(){return rt}),n.d(e,"U",function(){return it}),n.d(e,"v",function(){return ot}),n.d(e,"h",function(){return ut}),n.d(e,"g",function(){return at}),n.d(e,"Z",function(){return ct}),n.d(e,"Ma",function(){return st}),n.d(e,"u",function(){return lt}),n.d(e,"f",function(){return ft}),n.d(e,"R",function(){return dt}),n.d(e,"e",function(){return pt});var r="buffering",i="idle",o="complete",u="paused",a="playing",c="error",s="loading",l="stalled",f="drag",d="dragStart",p="dragEnd",h="click",v="doubleClick",g="tap",b="doubleTap",m="over",y="move",j="enter",O="out",w=c,x="adSkipped",k="autostartNotAllowed",C=o,S="ready",T="seek",P="beforePlay",E="beforeComplete",A="bufferFull",_="displayClick",F="playlistComplete",N="cast",M="mediaError",I="firstFrame",L="playAttempt",R="playAttemptFailed",B="seeked",q="setupError",D="state",Q="bufferChange",z="time",V="ratechange",X="mediaType",W="volume",H="mute",J="meta",U="levels",$="levelsChanged",G="visualQuality",Y="controls",K="fullscreen",Z="resize",tt="playlistItem",et="playlist",nt="audioTracks",rt="audioTrackChanged",it="playbackRateChanged",ot="logoClick",ut="captionsList",at="captionsChanged",ct="providerFirstFrame",st="userAction",lt="instreamClick",ft="breakpoint",dt="fullscreenchange",pt="bandwidthEstimate"},function(t,e,n){"use strict";n.d(e,"c",function(){return o}),n.d(e,"d",function(){return u}),n.d(e,"b",function(){return a}),n.d(e,"e",function(){return c}),n.d(e,"f",function(){return s});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=[].slice;function o(t,e,n){if(!f(this,"on",t,[e,n])||!e)return this;var r=this._events||(this._events={});return(r[t]||(r[t]=[])).push({callback:e,context:n}),this}function u(t,e,n){if(!f(this,"once",t,[e,n])||!e)return this;var r=0,i=this,o=function n(){r++||(i.off(t,n),e.apply(this,arguments))};return o._callback=e,this.on(t,o,n)}function a(t,e,n){if(!this._events||!f(this,"off",t,[e,n]))return this;if(!t&&!e&&!n)return delete this._events,this;for(var r=t?[t]:Object.keys(this._events),i=0,o=r.length;i<o;i++){t=r[i];var u=this._events[t];if(u){var a=this._events[t]=[];if(e||n)for(var c=0,s=u.length;c<s;c++){var l=u[c];(e&&e!==l.callback&&e!==l.callback._callback||n&&n!==l.context)&&a.push(l)}a.length||delete this._events[t]}}return this}function c(t){if(!this._events)return this;var e=i.call(arguments,1);if(!f(this,"trigger",t,e))return this;var n=this._events[t],r=this._events.all;return n&&d(n,e,this),r&&d(r,arguments,this),this}function s(t){if(!this._events)return this;var e=i.call(arguments,1);if(!f(this,"trigger",t,e))return this;var n=this._events[t],r=this._events.all;return n&&d(n,e,this,t),r&&d(r,arguments,this,t),this}var l=/\s+/;function f(t,e,n,i){if(!n)return!0;if("object"===(void 0===n?"undefined":r(n))){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&t[e].apply(t,[o,n[o]].concat(i));return!1}if(l.test(n)){for(var u=n.split(l),a=0,c=u.length;a<c;a++)t[e].apply(t,[u[a]].concat(i));return!1}return!0}function d(t,e,n,r){for(var i=-1,o=t.length;++i<o;){var u=t[i];if(r)try{u.callback.apply(u.context||n,e)}catch(t){console.log('Error in "'+r+'" event handler:',t)}else u.callback.apply(u.context||n,e)}}e.a={on:o,once:u,off:a,trigger:c}},function(t,e,n){"use strict";n.d(e,"h",function(){return u}),n.d(e,"f",function(){return a}),n.d(e,"l",function(){return s}),n.d(e,"k",function(){return l}),n.d(e,"p",function(){return f}),n.d(e,"g",function(){return d}),n.d(e,"e",function(){return p}),n.d(e,"n",function(){return h}),n.d(e,"d",function(){return v}),n.d(e,"i",function(){return g}),n.d(e,"q",function(){return b}),n.d(e,"j",function(){return m}),n.d(e,"c",function(){return y}),n.d(e,"b",function(){return j}),n.d(e,"o",function(){return O}),n.d(e,"m",function(){return w}),n.d(e,"a",function(){return x});var r=navigator.userAgent;function i(t){return null!==r.match(t)}function o(t){return function(){return i(t)}}function u(){var t=x();return!!(t&&t>=18)}var a=o(/gecko\//i),c=o(/trident\/.+rv:\s*11/i),s=o(/iP(hone|od)/i),l=o(/iPad/i),f=o(/Macintosh/i),d=o(/FBAV/i);function p(){return i(/\sEdge\/\d+/i)}function h(){return i(/msie/i)}function v(){return i(/\s(?:(?:Headless)?Chrome|CriOS)\//i)&&!p()&&!i(/UCBrowser/i)}function g(){return p()||c()||h()}function b(){return i(/safari/i)&&!i(/(?:Chrome|CriOS|chromium|android|phantom)/i)}function m(){return i(/iP(hone|ad|od)/i)}function y(){return!(i(/chrome\/[123456789]/i)&&!i(/chrome\/18/i)&&!a())&&j()}function j(){return i(/Android/i)&&!i(/Windows Phone/i)}function O(){return m()||j()||i(/Windows Phone/i)}function w(){try{return window.self!==window.top}catch(t){return!0}}function x(){if(j())return 0;var t=navigator.plugins,e=void 0;if(t&&(e=t["Shockwave Flash"])&&e.description)return parseFloat(e.description.replace(/\D+(\d+\.?\d*).*/,"$1"));if(void 0!==window.ActiveXObject){try{if(e=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return parseFloat(e.GetVariable("$version").split(" ")[1].replace(/\s*,\s*/,"."))}catch(t){return 0}return e}return 0}},function(t,e,n){"use strict";n.d(e,"h",function(){return o}),n.d(e,"e",function(){return u}),n.d(e,"l",function(){return a}),n.d(e,"d",function(){return l}),n.d(e,"a",function(){return f}),n.d(e,"j",function(){return d}),n.d(e,"k",function(){return p}),n.d(e,"m",function(){return h}),n.d(e,"g",function(){return v}),n.d(e,"b",function(){return g}),n.d(e,"f",function(){return b}),n.d(e,"c",function(){return m}),n.d(e,"i",function(){return y});var r=n(1),i=n(0);function o(t,e){return t.classList.contains(e)}function u(t){var e=document.createElement("div");return e.innerHTML=t,e.firstChild}function a(t){return t+(t.toString().indexOf("%")>0?"":"px")}function c(t){return Object(i.s)(t.className)?t.className.split(" "):[]}function s(t,e){e=Object(r.h)(e),t.className!==e&&(t.className=e)}function l(t){return t.classList?t.classList:c(t)}function f(t,e){var n=c(t);(Array.isArray(e)?e:e.split(" ")).forEach(function(t){Object(i.c)(n,t)||n.push(t)}),s(t,n.join(" "))}function d(t,e){var n=c(t),r=Array.isArray(e)?e:e.split(" ");s(t,Object(i.f)(n,r).join(" "))}function p(t,e,n){var r=t.className||"";e.test(r)?r=r.replace(e,n):n&&(r+=" "+n),s(t,r)}function h(t,e,n){var r=o(t,e);(n=Object(i.n)(n)?n:!r)!==r&&(n?f(t,e):d(t,e))}function v(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function g(t){var e=document.createElement("link");e.rel="stylesheet",e.href=t,document.getElementsByTagName("head")[0].appendChild(e)}function b(t){t&&v(t)}function m(t){var e={left:0,right:0,width:0,height:0,top:0,bottom:0};if(!t||!document.body.contains(t))return e;var n=t.getBoundingClientRect(),r=window.pageYOffset,i=window.pageXOffset;return n.width||n.height||n.left||n.top?(e.left=n.left+i,e.right=n.right+i,e.top=n.top+r,e.bottom=n.bottom+r,e.width=n.right-n.left,e.height=n.bottom-n.top,e):e}function y(t,e){t.insertBefore(e,t.firstChild)}},function(t,e,n){"use strict";var r=n(0),i=n(21),o=n(11),u=n(13),a=n(1),c=n(23),s=n(17);function l(t,e){this.name=t,this.message=e.message||e.toString(),this.error=e}var f=n(6),d=n(7),p=n(19),h=function(){};function v(t,e,n,i){t===Object(t)&&(t=(i=t).url);var o=void 0,a=Object(r.h)({xhr:null,url:t,withCredentials:!1,retryWithoutCredentials:!1,timeout:6e4,timeoutId:-1,oncomplete:e||h,onerror:n||h,mimeType:i&&!i.responseType?"text/xml":"",requireValidXML:!1,responseType:i&&i.plainText?"text":"",useDomParser:!1,requestFilter:null},i),c=function(t,e){return function(n){var i=n.currentTarget||e.xhr;if(clearTimeout(e.timeoutId),e.retryWithoutCredentials&&e.xhr.withCredentials){g(i);var o=Object(r.h)({},e,{xhr:null,withCredentials:!1,retryWithoutCredentials:!1});v(o)}else e.onerror(t,e.url,i)}}("Error loading file",a);if("XMLHttpRequest"in window){if(o=a.xhr=a.xhr||new window.XMLHttpRequest,"function"==typeof a.requestFilter){var s=void 0;try{s=a.requestFilter({url:t,xhr:o})}catch(t){return c(t),o}s&&"open"in s&&"send"in s&&(o=a.xhr=s)}o.onreadystatechange=function(t){return function(e){var n=e.currentTarget||t.xhr;if(4===n.readyState){if(clearTimeout(t.timeoutId),n.status>=400){var i=void 0;return i=404===n.status?"File not found":n.status+"("+n.statusText+")",t.onerror(i,t.url,n)}if(200===n.status)return function(t){return function(e){var n=e.currentTarget||t.xhr;if(clearTimeout(t.timeoutId),t.responseType){if("json"===t.responseType)return function(t,e){if(!t.response||"string"==typeof t.response&&'"'!==t.responseText.substr(1))try{t=Object(r.h)({},t,{response:JSON.parse(t.responseText)})}catch(n){return void e.onerror("Invalid JSON",e.url,t)}return e.oncomplete(t)}(n,t)}else{var i=n.responseXML,o=void 0;if(i)try{o=i.firstChild}catch(t){}if(i&&o)return b(n,i,t);if(t.useDomParser&&n.responseText&&!i&&(i=Object(u.parseXML)(n.responseText))&&i.firstChild)return b(n,i,t);if(t.requireValidXML)return void t.onerror("Invalid XML",t.url,n)}t.oncomplete(n)}}(t)(e)}}}(a),o.onerror=c,"overrideMimeType"in o?a.mimeType&&o.overrideMimeType(a.mimeType):a.useDomParser=!0;try{t=t.replace(/#.*$/,""),o.open("GET",t,!0)}catch(t){return c(t),o}if(a.responseType)try{o.responseType=a.responseType}catch(t){}a.timeout&&(a.timeoutId=setTimeout(function(){g(o),a.onerror("Timeout",t,o)},a.timeout),o.onabort=function(){clearTimeout(a.timeoutId)});try{a.withCredentials&&"withCredentials"in o&&(o.withCredentials=!0),o.send()}catch(t){c(t)}return o}a.onerror("",t)}function g(t){t.onload=null,t.onprogress=null,t.onreadystatechange=null,t.onerror=null,"abort"in t&&t.abort()}function b(t,e,n){var i=e.documentElement;if(!n.requireValidXML||"parsererror"!==i.nodeName&&!i.getElementsByTagName("parsererror").length)return t.responseXML||(t=Object(r.h)({},t,{responseXML:e})),n.oncomplete(t);n.onerror("Invalid XML",n.url,t)}n.d(e,"b",function(){return m});var m="function"==typeof console.log?console.log.bind(console):function(){},y=Object(r.h)({},u,o,i,{addClass:d.a,hasClass:d.h,removeClass:d.j,replaceClass:d.k,toggleClass:d.m,classList:d.d,styleDimension:d.l,createElement:d.e,emptyElement:d.g,addStyleSheet:d.b,bounds:d.c,css:p.b,clearCss:p.a,style:p.d,transform:p.e,getRgba:p.c,ajax:v,crossdomain:function(t){var e=document.createElement("a"),n=document.createElement("a");e.href=location.href;try{return n.href=t,n.href=n.href,e.protocol+"//"+e.host!=n.protocol+"//"+n.host}catch(t){}return!0},tryCatch:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(s.a.debug)return t.apply(e||this,n);try{return t.apply(e||this,n)}catch(e){return new l(t.name,e)}},Error:l,Timer:c.a,log:m,between:function(t,e,n){return Math.max(Math.min(t,n),e)},foreach:function(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e(n,t[n])},flashVersion:f.a,isIframe:f.m,indexOf:r.m,trim:a.h,pad:a.d,extension:a.a,hms:a.b,seconds:a.f,prefix:a.e,suffix:a.g,noop:function(){}});e.a=y},function(t,e,n){"use strict";e.a=[]},function(t,e,n){"use strict";var r=n(45),i=n(11),o=document.createElement("video"),u={aac:"audio/mp4",mp4:"video/mp4",f4v:"video/mp4",m4v:"video/mp4",mov:"video/mp4",mp3:"audio/mpeg",mpeg:"audio/mpeg",ogv:"video/ogg",ogg:"video/ogg",oga:"video/ogg",vorbis:"video/ogg",webm:"video/webm",f4a:"video/aac",m3u8:"application/vnd.apple.mpegurl",m3u:"application/vnd.apple.mpegurl",hls:"application/vnd.apple.mpegurl"},a=[{name:"html5",supports:function(t){if(!1===Object(r.a)(t))return!1;if(!o.canPlayType)return!1;var e=t.file,n=t.type;if(Object(i.isRtmp)(e,n))return!1;var a=t.mimeType||u[n];if(!a)return!1;return!!o.canPlayType(a)}}];e.a=a},function(t,e,n){"use strict";n.r(e),n.d(e,"exists",function(){return i}),n.d(e,"isHTTPS",function(){return o}),n.d(e,"isRtmp",function(){return u}),n.d(e,"isYouTube",function(){return a}),n.d(e,"typeOf",function(){return c});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function i(t){switch(void 0===t?"undefined":r(t)){case"string":return t.length>0;case"object":return null!==t;case"undefined":return!1;default:return!0}}function o(){return"https:"===window.location.protocol}function u(t,e){return 0===t.indexOf("rtmp:")||"rtmp"===e}function a(t,e){return"youtube"===e||/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(t)}function c(t){if(null===t)return"null";var e=void 0===t?"undefined":r(t);return"object"===e&&Array.isArray(t)?"array":e}},function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"a",function(){return u});var r=n(0);var i=100001,o=101e3,u=function(t){function e(t,n,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.code=Object(r.u)(n)?n:null,o.sourceError=i||null,o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,Error),e}()},function(t,e,n){"use strict";n.r(e),n.d(e,"getAbsolutePath",function(){return o}),n.d(e,"isAbsolutePath",function(){return u}),n.d(e,"parseXML",function(){return c}),n.d(e,"serialize",function(){return s}),n.d(e,"parseDimension",function(){return l}),n.d(e,"timeFormat",function(){return f});var r=n(11),i=n(0);function o(t,e){if(Object(r.exists)(e)||(e=document.location.href),Object(r.exists)(t)){if(u(t))return t;var n=e.substring(0,e.indexOf("://")+3),i=e.substring(n.length,e.indexOf("/",n.length+1)),o=void 0;if(0===t.indexOf("/"))o=t.split("/");else{var a=e.split("?")[0];o=(a=a.substring(n.length+i.length+1,a.lastIndexOf("/"))).split("/").concat(t.split("/"))}for(var c=[],s=0;s<o.length;s++)o[s]&&Object(r.exists)(o[s])&&"."!==o[s]&&(".."===o[s]?c.pop():c.push(o[s]));return n+i+"/"+c.join("/")}}function u(t){return/^(?:(?:https?|file):)?\/\//.test(t)}function a(t){return Object(i.a)(t,function(t){return"parsererror"===t.nodeName})}function c(t){var e=null;try{"DOMParser"in window?(a((e=(new window.DOMParser).parseFromString(t,"text/xml")).childNodes)||e.childNodes&&a(e.childNodes[0].childNodes))&&(e=null):((e=new window.ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(t){}return e}function s(t){if(void 0===t)return null;if("string"==typeof t&&t.length<6){var e=t.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if(!Object(i.q)(Number(t))&&!Object(i.q)(parseFloat(t)))return Number(t)}return t}function l(t){return"string"==typeof t?""===t?0:t.lastIndexOf("%")>-1?t:parseInt(t.replace("px",""),10):t}function f(t,e){if(t<=0&&!e||Object(i.q)(parseInt(t)))return"00:00";var n=t<0?"-":"";t=Math.abs(t);var r=Math.floor(t/3600),o=Math.floor((t-3600*r)/60),u=Math.floor(t%60);return n+(r?r+":":"")+(o<10?"0":"")+o+":"+(u<10?"0":"")+u}},function(t,e,n){"use strict";n.d(e,"a",function(){return f}),n.d(e,"c",function(){return d}),n.d(e,"b",function(){return p});var r=n(22),i=n(25),o=n(10),u=n(20),a=n(32),c=n(3),s=n(12),l=null,f={};function d(t){return l||(l=function(t){var e=t.get("controls"),l=h(),d=function(t,e){var n=t.get("playlist");if(Array.isArray(n)&&n.length)for(var u=Object(i.c)(Object(r.a)(n[0]),t),a=0;a<u.length;a++)for(var c=u[a],s=t.getProviders(),l=0;l<o.a.length;l++){var f=o.a[l];if(s.providerSupports(f,c))return f.name===e}return!1}(t,"html5");if(e&&l&&d)return v=n.e(6).then(function(t){n(31);var e=n(15).default;return a.a.controls=n(16).default,Object(u.a)(n(30).default),e}.bind(null,n)).catch(p(s.b+105)),f.html5=v,v;var v;if(e&&d)return function(){var t=n.e(5).then(function(t){var e=n(15).default;return a.a.controls=n(16).default,Object(u.a)(n(30).default),e}.bind(null,n)).catch(p(s.b+104));return f.html5=t,t}();if(e&&l)return n.e(4).then(function(t){n(31);var e=n(15).default;return a.a.controls=n(16).default,e}.bind(null,n)).catch(p(s.b+103));if(e)return n.e(3).then(function(t){var e=n(15).default;return a.a.controls=n(16).default,e}.bind(null,n)).catch(p(s.b+102));return(h()?n.e(1).then(function(t){return n(31)}.bind(null,n)).catch(p(s.b+120)):c.b).then(function(){return n.e(2).then(function(t){return n(15).default}.bind(null,n)).catch(p(s.b+101))})}(t)),l}function p(t,e){return function(){throw new s.a("Network error",t,e)}}function h(){var t=window.IntersectionObserverEntry;return!(t&&"IntersectionObserver"in window&&"intersectionRatio"in t.prototype)}},,,function(t,e,n){"use strict";e.a={debug:!1}},function(t,e,n){"use strict";n.r(e);var r=n(6);function i(t,e){if(t&&t.length>e)return t[e]}var o=n(0);n.d(e,"Browser",function(){return a}),n.d(e,"OS",function(){return c}),n.d(e,"Features",function(){return s});var u=navigator.userAgent;var a={},c={},s={};Object.defineProperties(a,{androidNative:{get:Object(o.x)(r.c),enumerable:!0},chrome:{get:Object(o.x)(r.d),enumerable:!0},edge:{get:Object(o.x)(r.e),enumerable:!0},facebook:{get:Object(o.x)(r.g),enumerable:!0},firefox:{get:Object(o.x)(r.f),enumerable:!0},ie:{get:Object(o.x)(r.i),enumerable:!0},msie:{get:Object(o.x)(r.n),enumerable:!0},safari:{get:Object(o.x)(r.q),enumerable:!0},version:{get:Object(o.x)(function(t,e){var n=void 0,r=void 0,i=void 0,o=void 0;return t.chrome?n=-1!==e.indexOf("Chrome")?e.substring(e.indexOf("Chrome")+7):e.substring(e.indexOf("CriOS")+6):t.safari?n=e.substring(e.indexOf("Version")+8):t.firefox?n=e.substring(e.indexOf("Firefox")+8):t.edge?n=e.substring(e.indexOf("Edge")+5):t.ie&&(-1!==e.indexOf("rv:")?n=e.substring(e.indexOf("rv:")+3):-1!==e.indexOf("MSIE")&&(n=e.substring(e.indexOf("MSIE")+5))),n&&(-1!==(o=n.indexOf(";"))&&(n=n.substring(0,o)),-1!==(o=n.indexOf(" "))&&(n=n.substring(0,o)),-1!==(o=n.indexOf(")"))&&(n=n.substring(0,o)),r=parseInt(n,10),i=parseInt(n.split(".")[1],10)),{version:n,major:r,minor:i}}.bind(void 0,a,u)),enumerable:!0}}),Object.defineProperties(c,{android:{get:Object(o.x)(r.b),enumerable:!0},iOS:{get:Object(o.x)(r.j),enumerable:!0},mobile:{get:Object(o.x)(r.o),enumerable:!0},mac:{get:Object(o.x)(r.p),enumerable:!0},iPad:{get:Object(o.x)(r.k),enumerable:!0},iPhone:{get:Object(o.x)(r.l),enumerable:!0},windows:{get:Object(o.x)(function(){return u.indexOf("Windows")>-1}),enumerable:!0},version:{get:Object(o.x)(function(t,e){var n=void 0,r=void 0,o=void 0;if(t.windows)switch(n=i(/Windows(?: NT|)? ([._\d]+)/.exec(e),1)){case"6.1":n="7.0";break;case"6.2":n="8.0";break;case"6.3":n="8.1"}else t.android?n=i(/Android ([._\d]+)/.exec(e),1):t.iOS?n=i(/OS ([._\d]+)/.exec(e),1):t.mac&&(n=i(/Mac OS X (10[._\d]+)/.exec(e),1));if(n){r=parseInt(n,10);var u=n.split(/[._]/);u&&(o=parseInt(u[1],10))}return{version:n,major:r,minor:o}}.bind(void 0,c,u)),enumerable:!0}}),Object.defineProperties(s,{flash:{get:Object(o.x)(r.h),enumerable:!0},flashVersion:{get:Object(o.x)(r.a),enumerable:!0},iframe:{get:Object(o.x)(r.m),enumerable:!0},passiveEvents:{get:Object(o.x)(function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(t){}return t}),enumerable:!0},backgroundLoading:{get:Object(o.x)(function(){return!(c.iOS||a.safari)}),enumerable:!0}})},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return c}),n.d(e,"d",function(){return s}),n.d(e,"e",function(){return d}),n.d(e,"c",function(){return h});var r=n(1),i=n(36),o=n.n(i),u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=o.a.clear;function c(t,e,n,r){n=n||"all-players";var i="";if("object"===(void 0===e?"undefined":u(e))){var a=document.createElement("div");s(a,e);var c=a.style.cssText;r&&c&&(c=c.replace(/;/g," !important;")),i="{"+c+"}"}else"string"==typeof e&&(i=e);""!==i&&"{}"!==i?o.a.style([[t,t+i]],n):o.a.clear(n,t)}function s(t,e){if(void 0!==t&&null!==t){void 0===t.length&&(t=[t]);var n=void 0,r={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=f(n,e[n]));for(var i=0;i<t.length;i++){var o=t[i],u=void 0;if(void 0!==o&&null!==o)for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(u=l(n),o.style[u]!==r[n]&&(o.style[u]=r[n]))}}}function l(t){t=t.split("-");for(var e=1;e<t.length;e++)t[e]=t[e].charAt(0).toUpperCase()+t[e].slice(1);return t.join("")}function f(t,e){return""===e||void 0===e||null===e?"":"string"==typeof e&&isNaN(e)?/png|gif|jpe?g/i.test(e)&&e.indexOf("url")<0?"url("+e+")":e:0===e||"z-index"===t||"opacity"===t?""+e:/color/i.test(t)?"#"+Object(r.d)(e.toString(16).replace(/^0x/i,""),6):Math.ceil(e)+"px"}function d(t,e){s(t,{transform:e,webkitTransform:e,msTransform:e,mozTransform:e,oTransform:e})}var p=void 0;function h(t,e){var n="rgb",r=void 0!==e&&100!==e;if(r&&(n+="a"),!p){var i=document.createElement("canvas");i.height=1,i.width=1,p=i.getContext("2d")}t?isNaN(parseInt(t,16))||(t="#"+t):t="#000000",p.clearRect(0,0,1,1),p.fillStyle=t,p.fillRect(0,0,1,1);var o=p.getImageData(0,0,1,1).data;return n+="("+o[0]+", "+o[1]+", "+o[2],r&&(n+=", "+e/100),n+")"}},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(28),i=n(10),o=n(44),u=n(0);function a(t){var e=t.getName().name;if(!r.a[e]){if(!Object(u.j)(i.a,Object(u.w)({name:e}))){if(!Object(u.p)(t.supports))throw new Error("Tried to register a provider with an invalid object");i.a.unshift({name:e,supports:t.supports})}Object(u.e)(t.prototype,o.a),r.a[e]=t}}},function(t,e,n){"use strict";n.r(e),n.d(e,"getScriptPath",function(){return i}),n.d(e,"repo",function(){return o}),n.d(e,"versionCheck",function(){return u}),n.d(e,"loadFrom",function(){return a});var r=n(24),i=function(t){for(var e=document.getElementsByTagName("script"),n=0;n<e.length;n++){var r=e[n].src;if(r){var i=r.lastIndexOf("/"+t);if(i>=0)return r.substr(0,i+1)}}return""},o=function(){return i("jwplayer.js")},u=function(t){var e=("0"+t).split(/\W/),n=r.a.split(/\W/),i=parseFloat(e[0]),o=parseFloat(n[0]);return!(i>o)&&!(i===o&&parseFloat("0"+e[1])>parseFloat(n[1]))},a=function(){return i("jwplayer.js")}},function(t,e,n){"use strict";var r=n(0),i=n(27),o=function(t){if(t&&t.file)return Object(r.h)({},{kind:"captions",default:!1},t)},u=Array.isArray;e.a=function(t){u((t=t||{}).tracks)||delete t.tracks;var e=Object(r.h)({},{sources:[],tracks:[],minDvrWindow:120,dvrSeekLimit:25},t);e.dvrSeekLimit<5&&(e.dvrSeekLimit=5),e.sources!==Object(e.sources)||u(e.sources)||(e.sources=[Object(i.a)(e.sources)]),u(e.sources)&&0!==e.sources.length||(t.levels?e.sources=t.levels:e.sources=[Object(i.a)(t)]);for(var n=0;n<e.sources.length;n++){var a=e.sources[n];if(a){var c=a.default;a.default=!!c&&"true"===c.toString(),e.sources[n].label||(e.sources[n].label=n.toString()),e.sources[n]=Object(i.a)(e.sources[n])}}return e.sources=e.sources.filter(function(t){return!!t}),u(e.tracks)||(e.tracks=[]),u(e.captions)&&(e.tracks=e.tracks.concat(e.captions),delete e.captions),e.tracks=e.tracks.map(o).filter(function(t){return!!t}),e}},function(t,e,n){"use strict";var r=n(0),i=n(29),o=window.performance||{timing:{}},u=o.timing.navigationStart||Object(i.a)();function a(){return u+o.now()}"now"in o||(o.now=function(){return Object(i.a)()-u});e.a=function(){var t={},e={},n={},i={};return{start:function(e){t[e]=a(),n[e]=n[e]+1||1},end:function(n){if(t[n]){var r=a()-t[n];delete t[n],e[n]=e[n]+r||r}},dump:function(){var o=Object(r.h)({},e);for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var c=a()-t[u];o[u]=o[u]+c||c}return{counts:Object(r.h)({},n),sums:o,events:Object(r.h)({},i)}},tick:function(t){i[t]=a()},clear:function(t){delete i[t]},between:function(t,e){return i[e]&&i[t]?i[e]-i[t]:null}}}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r="8.3.2+local.2018-06-06-04-14-15-558"},function(t,e,n){"use strict";var r=n(0),i={none:!0,metadata:!0,auto:!0};function o(t,e){return i[t]?t:i[e]?e:"metadata"}var u=n(22),a=n(27),c=n(33);n.d(e,"b",function(){return s}),n.d(e,"d",function(){return l}),n.d(e,"c",function(){return f});function s(t,e,n){var i=[],u=e.getProviders(),a=e.get("preload"),c=Object(r.h)({},n);return delete c.playlist,t.forEach(function(t){(t=Object(r.h)({},t)).preload=o(t.preload,a),t.allSources=d(t,e),t.sources=p(t.allSources,u),t.sources.length&&(t.file=t.sources[0].file,n&&(t.feedData=c),i.push(t))}),i}function l(t){if(!Array.isArray(t)||0===t.length)throw new Error("No playable sources found")}var f=function(t,e){return p(d(t,e),e.getProviders())};function d(t,e){var n=e.attributes,r=t.sources,i=t.allSources,u=t.preload,c=t.drm,s=h(t.withCredentials,n.withCredentials);return(i||r).map(function(t){if(t!==Object(t))return null;v(t,n,"androidhls"),v(t,n,"hlsjsdefault"),v(t,n,"safarihlsjs"),t.preload=o(t.preload,u);var e=t.drm||c||n.drm;e&&(t.drm=e);var r=h(t.withCredentials,s);return void 0!==r&&(t.withCredentials=r),Object(a.a)(t)}).filter(function(t){return!!t})}function p(t,e){e&&e.choose||(e=new c.a);var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=e.choose(r),o=i.providerToCheck;if(o)return{type:r.type,provider:o}}return null}(t,e);if(!n)return[];var r=n.provider,i=n.type;return t.filter(function(t){return t.type===i&&e.providerSupports(r,t)})}function h(t,e){return void 0===t?e:t}function v(t,e,n){n in e&&(t[n]=e[n])}e.a=function(t){return(Array.isArray(t)?t:[t]).map(u.a)}},function(t,e,n){"use strict";var r=n(0),i=n(3),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var u=function(){this.load=function(t,e,n,u){return n&&"object"===(void 0===n?"undefined":o(n))?i.a.all(Object.keys(n).filter(function(t){return t}).map(function(i){var o=e.addPlugin(i,!0),a=n[i];return o.load().then(function(){u.attributes._destroyed||function(t,e,n){var i=t.name,o=document.createElement("div");o.id=n.id+"_"+i,o.className="jw-plugin jw-reset";var u=Object(r.h)({},e),a=t.getNewInstance(n,u,o);n.addPlugin(i,a)}(o,a,t)}).catch(function(t){return t instanceof Error?t:new Error("Error in "+i+' "'+t+'"')})})):i.b}},a=n(35),c=n(13),s=n(1),l=0,f=1,d=function(t){if("string"==typeof t){var e=(t=t.split("?")[0]).indexOf("://");if(e>0)return l;var n=t.indexOf("/"),r=Object(s.a)(t);return!(e<0&&n<0)||r&&isNaN(r)?f:2}};var p=function(t){this.url=t};Object(r.h)(p.prototype,{load:function(){if(2===d(this.url))return i.b;var t=new a.a(function(t){switch(d(t)){case l:return t;case f:return Object(c.getAbsolutePath)(t,window.location.href)}}(this.url));return this.loader=t,t.load()},registerPlugin:function(t,e,n){this.name=t,this.target=e,this.js=n},getNewInstance:function(t,e,n){var r=new(0,this.js)(t,e,n);return r.addToPlayer=function(){var e=t.getContainer().querySelector(".jw-overlays");e&&(n.left=e.style.left,n.top=e.style.top,e.appendChild(n),r.displayArea=e)},r.resizeHandler=function(){var t=r.displayArea;t&&r.resize(t.clientWidth,t.clientHeight)},r}});var h=p,v=n(8),g={},b=function(){this.addPlugin=function(t,e){var n=function(t){return t.replace(/^(.*\/)?([^-]*)-?.*\.(js)$/,"$2")}(t),r=g[n];return r?e&&r.url!==t&&Object(v.b)('JW Plugin "'+n+'" already loaded from "'+r.url+'". Ignoring "'+t+'."'):(r=new h(t),g