/*! JW Player version 8.2.3 Copyright (c) 2018, JW Player, All Rights Reserved https://github.com/jwplayer/jwplayer/blob/v8.2.3/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.0 Copyright (c) 2014 Taylor Hakes and Forbes Lindesay https://github.com/taylorhakes/promise-polyfill/blob/v7.1.0/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(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var r=window.webpackJsonpjwplayer;window.webpackJsonpjwplayer=function(t,n,o){for(var u,a,l=0,s=[];l2;if(null==e&&(e=[]),p&&e.reduce===p)return n&&(t=w.bind(t,n)),i?e.reduce(t,r):e.reduce(t);if(E(e,function(e,o,u){i?r=t.call(n,r,e,o,u):(r=e,i=!0)}),!i)throw new TypeError("Reduce of empty array with no initial value");return r},w.find=w.detect=function(e,t,r){var n;return P(e,function(e,i,o){if(t.call(r,e,i,o))return n=e,!0}),n},w.filter=w.select=function(e,t,r){var n=[];return null==e?n:v&&e.filter===v?e.filter(t,r):(E(e,function(e,i,o){t.call(r,e,i,o)&&n.push(e)}),n)},w.reject=function(e,t,r){return w.filter(e,function(e,n,i){return!t.call(r,e,n,i)},r)},w.compact=function(e){return w.filter(e,w.identity)},w.every=w.all=function(e,t,r){t||(t=w.identity);var n=!0;return null==e?n:y&&e.every===y?e.every(t,r):(E(e,function(e,o,u){if(!(n=n&&t.call(r,e,o,u)))return i}),!!n)};var P=w.some=w.any=function(e,t,r){t||(t=w.identity);var n=!1;return null==e?n:m&&e.some===m?e.some(t,r):(E(e,function(e,o,u){if(n||(n=t.call(r,e,o,u)))return i}),!!n)};w.size=function(e){return null==e?0:e.length===+e.length?e.length:w.keys(e).length},w.last=function(e,t,r){if(null!=e)return null==t||r?e[e.length-1]:l.call(e,Math.max(e.length-t,0))},w.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},w.before=function(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}};var A=function(e){return null==e?w.identity:w.isFunction(e)?e:w.property(e)},C=function(e){return function(t,r,n){var i={};return r=A(r),E(t,function(o,u){var a=r.call(n,o,u,t);e(i,a,o)}),i}};w.groupBy=C(function(e,t,r){w.has(e,t)?e[t].push(r):e[t]=[r]}),w.indexBy=C(function(e,t,r){e[t]=r}),w.sortedIndex=function(e,t,r,n){r=A(r);for(var i=r.call(n,t),o=0,u=e.length;o>>1;r.call(n,e[a])=0)},w.pluck=function(e,t){return w.map(e,w.property(t))},w.where=function(e,t){return w.filter(e,w.matches(t))},w.findWhere=function(e,t){return w.find(e,w.matches(t))},w.max=function(e,t,r){if(!t&&w.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);var n=-1/0,i=-1/0;return E(e,function(e,o,u){var a=t?t.call(r,e,o,u):e;a>i&&(n=e,i=a)}),n},w.difference=function(e){var t=s.apply(o,l.call(arguments,1));return w.filter(e,function(e){return!w.contains(t,e)})},w.without=function(e){return w.difference(e,l.call(arguments,1))},w.indexOf=function(e,t,r){if(null==e)return-1;var n=0,i=e.length;if(r){if("number"!=typeof r)return n=w.sortedIndex(e,t),e[n]===t?n:-1;n=r<0?Math.max(0,i+r):r}if(g&&e.indexOf===g)return e.indexOf(t,r);for(;n-1?e.substr(e.lastIndexOf(".")+1,e.length).toLowerCase():void 0)}function l(e){var t=parseInt(e/3600),r=parseInt(e/60)%60,n=e%60;return i(t,2)+":"+i(r,2)+":"+i(n.toFixed(3),6)}function s(e,t){if(!e)return 0;if(h.default.isNumber(e)&&!h.default.isNaN(e))return e;e=e.replace(",",".");var r=e.split(":"),n=r.length,i=0;if("s"===e.slice(-1))i=parseFloat(e);else if("m"===e.slice(-1))i=60*parseFloat(e);else if("h"===e.slice(-1))i=3600*parseFloat(e);else if(n>1){var o=n-1;4===n&&(t&&(i=parseFloat(r[o])/t),o-=1),i+=parseFloat(r[o]),i+=60*parseFloat(r[o-1]),n>=3&&(i+=3600*parseFloat(r[o-2]))}else i=parseFloat(e);return h.default.isNaN(i)?0:i}function c(e,t,r){if(h.default.isString(e)&&"%"===e.slice(-1)){var n=parseFloat(e);return!t||isNaN(t)||isNaN(n)?null:t*n/100}return s(e,r)}function f(e,t){return h.default.map(e,function(e){return t+e})}function d(e,t){return h.default.map(e,function(e){return e+t})}Object.defineProperty(t,"__esModule",{value:!0}),t.trim=n,t.pad=i,t.xmlAttribute=o,t.extension=a,t.hms=l,t.seconds=s,t.offsetToSeconds=c,t.prefix=f,t.suffix=d;var p=r(0),h=function(e){return e&&e.__esModule?e:{default:e}}(p)},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolved=void 0;var n=r(51),i=function(e){return e&&e.__esModule?e:{default:e}}(n),o=window.Promise||(window.Promise=i.default);t.resolved=o.resolve();t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(t.STATE_BUFFERING="buffering",t.STATE_IDLE="idle",t.STATE_COMPLETE="complete"),i=(t.STATE_PAUSED="paused",t.STATE_PLAYING="playing",t.STATE_ERROR="error");t.STATE_LOADING="loading",t.STATE_STALLED="stalled",t.DRAG="drag",t.DRAG_START="dragStart",t.DRAG_END="dragEnd",t.CLICK="click",t.DOUBLE_CLICK="doubleClick",t.TAP="tap",t.DOUBLE_TAP="doubleTap",t.OVER="over",t.MOVE="move",t.ENTER="enter",t.OUT="out",t.ERROR=i,t.AD_CLICK="adClick",t.AD_COMPANIONS="adCompanions",t.AD_COMPLETE="adComplete",t.AD_ERROR="adError",t.AD_IMPRESSION="adImpression",t.AD_META="adMeta",t.AD_PAUSE="adPause",t.AD_PLAY="adPlay",t.AD_SKIPPED="adSkipped",t.AD_TIME="adTime",t.AUTOSTART_NOT_ALLOWED="autostartNotAllowed",t.MEDIA_COMPLETE=n,t.READY="ready",t.MEDIA_SEEK="seek",t.MEDIA_BEFOREPLAY="beforePlay",t.MEDIA_BEFORECOMPLETE="beforeComplete",t.MEDIA_BUFFER_FULL="bufferFull",t.DISPLAY_CLICK="displayClick",t.PLAYLIST_COMPLETE="playlistComplete",t.CAST_SESSION="cast",t.MEDIA_ERROR="mediaError",t.MEDIA_FIRST_FRAME="firstFrame",t.MEDIA_PLAY_ATTEMPT="playAttempt",t.MEDIA_PLAY_ATTEMPT_FAILED="playAttemptFailed",t.MEDIA_LOADED="loaded",t.MEDIA_SEEKED="seeked",t.SETUP_ERROR="setupError",t.PLAYER_STATE="state",t.CAST_AVAILABLE="castAvailable",t.MEDIA_BUFFER="bufferChange",t.MEDIA_TIME="time",t.MEDIA_RATE_CHANGE="ratechange",t.MEDIA_TYPE="mediaType",t.MEDIA_VOLUME="volume",t.MEDIA_MUTE="mute",t.MEDIA_META="meta",t.MEDIA_LEVELS="levels",t.MEDIA_LEVEL_CHANGED="levelsChanged",t.MEDIA_VISUAL_QUALITY="visualQuality",t.CONTROLS="controls",t.FULLSCREEN="fullscreen",t.RESIZE="resize",t.PLAYLIST_ITEM="playlistItem",t.PLAYLIST_LOADED="playlist",t.AUDIO_TRACKS="audioTracks",t.AUDIO_TRACK_CHANGED="audioTrackChanged",t.PLAYBACK_RATE_CHANGED="playbackRateChanged",t.LOGO_CLICK="logoClick",t.CAPTIONS_LIST="captionsList",t.CAPTIONS_CHANGED="captionsChanged",t.PROVIDER_CHANGED="providerChanged",t.PROVIDER_FIRST_FRAME="providerFirstFrame",t.USER_ACTION="userAction",t.INSTREAM_CLICK="instreamClick",t.BREAKPOINT="breakpoint",t.NATIVE_FULLSCREEN="fullscreenchange"},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}Object.defineProperty(t,"__esModule",{value:!0}),t.log=void 0;var o=Object.assign||function(e){for(var t=1;t-1?e:parseInt(e.replace("px",""),10):e}function s(e,t){if(e<=0&&!t||d.default.isNaN(parseInt(e)))return"00:00";var r=e<0?"-":"";e=Math.abs(e);var n=Math.floor(e/3600),i=Math.floor((e-3600*n)/60),o=Math.floor(e%60);return r+(n?n+":":"")+(i<10?"0":"")+i+":"+(o<10?"0":"")+o}Object.defineProperty(t,"__esModule",{value:!0}),t.getAbsolutePath=n,t.isAbsolutePath=i,t.parseXML=u,t.serialize=a,t.parseDimension=l,t.timeFormat=s;var c=r(15),f=r(0),d=function(e){return e&&e.__esModule?e:{default:e}}(f)},function(e,t,r){"use strict";function n(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(e){}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.Features=t.OS=t.Browser=void 0;var i=r(28),o=r(47),u=r(48),a=r(0),l=function(e){return e&&e.__esModule?e:{default:e}}(a),s=l.default.memoize,c=navigator.userAgent,f=t.Browser={},d=t.OS={},p=t.Features={},h=function(){return c.indexOf("Windows")>-1};Object.defineProperties(f,{androidNative:{get:s(i.isAndroidNative),enumerable:!0},chrome:{get:s(i.isChrome),enumerable:!0},edge:{get:s(i.isEdge),enumerable:!0},facebook:{get:s(i.isFacebook),enumerable:!0},firefox:{get:s(i.isFF),enumerable:!0},ie:{get:s(i.isIE),enumerable:!0},msie:{get:s(i.isMSIE),enumerable:!0},safari:{get:s(i.isSafari),enumerable:!0},version:{get:s(o.browserVersion.bind(void 0,f,c)),enumerable:!0}}),Object.defineProperties(d,{android:{get:s(i.isAndroid),enumerable:!0},iOS:{get:s(i.isIOS),enumerable:!0},mobile:{get:s(i.isMobile),enumerable:!0},mac:{get:s(i.isOSX),enumerable:!0},iPad:{get:s(i.isIPad),enumerable:!0},iPhone:{get:s(i.isIPod),enumerable:!0},windows:{get:s(h),enumerable:!0},version:{get:s(u.osVersion.bind(void 0,d,c)),enumerable:!0}}),Object.defineProperties(p,{flash:{get:s(i.isFlashSupported),enumerable:!0},flashVersion:{get:s(i.flashVersion),enumerable:!0},iframe:{get:s(i.isIframe),enumerable:!0},passiveEvents:{get:s(n),enumerable:!0},backgroundLoading:{get:s(function(){return!(d.iOS||f.safari)}),enumerable:!0}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){return P||(P=u(e)),P}function o(){throw new Error("Network error")}function u(e){var t=e.get("controls"),r=a(),n=l(e,"html5");return t&&r&&n?s():t&&n?c():t&&r?f():t?d():p()}function a(){var e=window.IntersectionObserverEntry;return!(e&&"IntersectionObserver"in window&&"intersectionRatio"in e.prototype)}function l(e,t){var r=e.get("playlist");if(Array.isArray(r)&&r.length)for(var n=(0,m.fixSources)((0,y.default)(r[0]),e),i=0;i0;case"object":return null!==e;case"undefined":return!1;default:return!0}}function i(){return"https:"===window.location.protocol}function o(e,t){return 0===e.indexOf("rtmp:")||"rtmp"===t}function u(e,t){return"youtube"===t||/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(e)}function a(e){if(null===e)return"null";var t=void 0===e?"undefined":l(e);return"object"===t&&Array.isArray(e)?"array":t}Object.defineProperty(t,"__esModule",{value:!0});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.exists=n,t.isHTTPS=i,t.isRtmp=o,t.isYouTube=u,t.typeOf=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={debug:!1}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.version="8.2.3+local.2018-04-11-21-21-47-354"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t=0)return n.substr(0,i+1)}}return""};t.repo=function(){return i("jwplayer.js")},t.versionCheck=function(e){var t=("0"+e).split(/\W/),r=n.version.split(/\W/),i=parseFloat(t[0]),o=parseFloat(r[0]);return!(i>o)&&!(i===o&&parseFloat("0"+t[1])>parseFloat(r[1]))},t.loadFrom=function(){return i("jwplayer.js")}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.getName().name;if(!u.default[t]){if(!d.default.find(l.default,d.default.matches({name:t}))){if(!d.default.isFunction(e.supports))throw new Error("Tried to register a provider with an invalid object");l.default.unshift({name:t,supports:e.supports})}d.default.defaults(e.prototype,c.default),u.default[t]=e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=r(30),u=n(o),a=r(14),l=n(a),s=r(44),c=n(s),f=r(0),d=n(f)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){return d[e]=new a.default,d[e]}function o(e,t){var r=e.get("id"),n=e.get("plugins");window.jwplayerPluginJsonp=p;var o=i(r);return o.load(t,f,n).then(function(e){o===d[r]&&(e&&e.forEach(function(e){e instanceof Error&&(0,c.log)(e.message)}),delete window.jwplayerPluginJsonp)})}Object.defineProperty(t,"__esModule",{value:!0}),t.registerPlugin=void 0,t.default=o;var u=r(50),a=n(u),l=r(52),s=n(l),c=r(6),f=new s.default,d={},p=t.registerPlugin=function(e,t,r){var n=f.addPlugin(e);n.js||n.registerPlugin(e,t,r)}},function(e,t,r){"use strict";function n(e,t){return e.classList.contains(t)}function i(e){var t=document.createElement("div");return t.innerHTML=e,t.firstChild}function o(e){return e+(e.toString().indexOf("%")>0?"":"px")}function u(e){return _.default.isString(e.className)?e.className.split(" "):[]}function a(e,t){t=(0,g.trim)(t),e.className!==t&&(e.className=t)}function l(e){return e.classList?e.classList:u(e)}function s(e,t){var r=u(e),n=_.default.isArray(t)?t:t.split(" ");_.default.each(n,function(e){_.default.contains(r,e)||r.push(e)}),a(e,r.join(" "))}function c(e,t){var r=u(e),n=_.default.isArray(t)?t:t.split(" ");a(e,_.default.difference(r,n).join(" "))}function f(e,t,r){var n=e.className||"";t.test(n)?n=n.replace(t,r):r&&(n+=" "+r),a(e,n)}function d(e,t,r){var i=n(e,t);(r=_.default.isBoolean(r)?r:!i)!==i&&(r?s(e,t):c(e,t))}function p(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function h(e){var t=document.createElement("link");t.rel="stylesheet",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)}function v(e){e&&p(e)}function y(e){var t={left:0,right:0,width:0,height:0,top:0,bottom:0};if(!e||!document.body.contains(e))return t;var r=e.getBoundingClientRect(),n=window.pageYOffset,i=window.pageXOffset;return r.width||r.height||r.left||r.top?(t.left=r.left+i,t.right=r.right+i,t.top=r.top+n,t.bottom=r.bottom+n,t.width=r.right-r.left,t.height=r.bottom-r.top,t):t}function m(e,t){e.insertBefore(t,e.firstChild)}Object.defineProperty(t,"__esModule",{value:!0}),t.hasClass=n,t.createElement=i,t.styleDimension=o,t.classList=l,t.addClass=s,t.removeClass=c,t.replaceClass=f,t.toggleClass=d,t.emptyElement=p,t.addStyleSheet=h,t.empty=v,t.bounds=y,t.prependChild=m;var g=r(1),b=r(0),_=function(e){return e&&e.__esModule?e:{default:e}}(b)},function(e,t,r){"use strict";function n(e,t,r,n){r=r||"all-players";var o="";if("object"===(void 0===t?"undefined":s(t))){var u=document.createElement("div");i(u,t);var a=u.style.cssText;n&&a&&(a=a.replace(/;/g," !important;")),o="{"+a+"}"}else"string"==typeof t&&(o=t);if(""===o||"{}"===o)return void d.default.clear(r,e);d.default.style([[e,e+o]],r)}function i(e,t){if(void 0!==e&&null!==e){void 0===e.length&&(e=[e]);var r,n={};for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=u(r,t[r]));for(var i=0;i=18)}function u(){return n(/\sEdge\/\d+/i)}function a(){return n(/msie/i)}function l(){return n(/\s(?:Chrome|CriOS)\//i)&&!u()&&!n(/UCBrowser/i)}function s(){return u()||b()||a()}function c(){return n(/safari/i)&&!n(/(?:Chrome|CriOS|chromium|android|phantom)/i)}function f(){return n(/iP(hone|ad|od)/i)}function d(){return!(n(/chrome\/[123456789]/i)&&!n(/chrome\/18/i)&&!g())&&p()}function p(){return n(/Android/i)&&!n(/Windows Phone/i)}function h(){return f()||p()||n(/Windows Phone/i)}function v(){try{return window.self!==window.top}catch(e){return!0}}function y(){if(p())return 0;var e,t=navigator.plugins;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(e){return 0}return e}return 0}Object.defineProperty(t,"__esModule",{value:!0}),t.isFlashSupported=o,t.isEdge=u,t.isMSIE=a,t.isChrome=l,t.isIE=s,t.isSafari=c,t.isIOS=f,t.isAndroidNative=d,t.isAndroid=p,t.isMobile=h,t.isIframe=v,t.flashVersion=y;var m=navigator.userAgent,g=t.isFF=i(/gecko\//i),b=t.isIETrident=i(/trident\/.+rv:\s*11/i);t.isIPod=i(/iP(hone|od)/i),t.isIPad=i(/iPad/i),t.isOSX=i(/Macintosh/i),t.isFacebook=i(/FBAV/i)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t,r){var n=[],i=t.getProviders(),o=t.get("preload"),l=f({},r);return delete l.playlist,e.forEach(function(e){e=f({},e),e.preload=(0,d.getPreload)(e.preload,o),e.allSources=u(e,t),e.sources=a(e.allSources,i),e.sources.length&&(e.file=e.sources[0].file,r&&(e.feedData=l),n.push(e))}),n}function o(e){if(!Array.isArray(e)||0===e.length)throw new Error("No playable sources found")}function u(e,t){var r=t.attributes,n=e.sources,i=e.preload,o=e.drm,u=s(e.withCredentials,r.withCredentials);return n.map(function(e){if(e!==Object(e))return null;c(e,r,"androidhls"),c(e,r,"hlsjsdefault"),c(e,r,"safarihlsjs"),e.preload=(0,d.getPreload)(e.preload,i);var t=e.drm||o||r.drm;t&&(e.drm=t);var n=s(e.withCredentials,u);return void 0!==n&&(e.withCredentials=n),(0,y.default)(e)}).filter(function(e){return!!e})}function a(e,t){t&&t.choose||(t=new g.default);var r=l(e,t);if(!r)return[];var n=r.provider,i=r.type;return e.filter(function(e){return e.type===i&&t.providerSupports(n,e)})}function l(e,t){for(var r=0;r0;){var t=i.shift(),r=t.command,n=t.args;(o[r]||e[r]).apply(e,n)}}var i=[],o={};t.forEach(function(t){var u=e[t];o[t]=u,e[t]=function(){var e=Array.prototype.slice.call(arguments,0);r()?i.push({command:t,args:e}):(n(),u&&u.apply(this,e))}}),Object.defineProperty(this,"queue",{enumerable:!0,get:function(){return i}}),this.flush=n,this.empty=function(){i.length=0},this.off=function(){t.forEach(function(t){var r=o[t];r&&(e[t]=r,delete o[t])})},this.destroy=function(){this.off(),this.empty()}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,r){"use strict";function n(e,t){var r=t.indexOf(":")+1,n=r>0?t.substr(0,r):"Error loading player:",i=t.substr(r),l=(0,o.default)(e.get("id"),n,i),s=e.get("width"),c=e.get("height"),f=(0,u.createElement)(l);return(0,a.style)(f,{width:s.toString().indexOf("%")>0?s:s+"px",height:c.toString().indexOf("%")>0?c:c+"px"}),f}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var i=r(62),o=function(e){return e&&e.__esModule?e:{default:e}}(i),u=r(23),a=r(24)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.MEDIA_POOL_SIZE=4,t.BACKGROUND_LOAD_OFFSET=2,t.BACKGROUND_LOAD_MIN_OFFSET=1},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7),i=function(e){return e&&e.__esModule?e:{default:e}}(n),o={on:i.default.on,once:i.default.once,off:i.default.off,trigger:i.default.trigger,get:function(e){return this.attributes=this.attributes||{},this.attributes[e]},set:function(e,t){if(this.attributes=this.attributes||{},this.attributes[e]!==t){var r=this.attributes[e];this.attributes[e]=t,this.trigger("change:"+e,this,t,r)}},clone:function(){var e={},t=this.attributes;if(t)for(var r in t)e[r]=t[r];return e},change:function(e,t,r){this.on("change:"+e,t,r);var n=this.get(e);return t.call(r,this,n,n),this}};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INITIAL_MEDIA_STATE=t.INITIAL_PLAYER_STATE=void 0;var n=r(5);t.INITIAL_PLAYER_STATE={audioMode:!1,flashBlocked:!1,item:0,itemMeta:{},playbackRate:1,playRejected:!1,state:n.STATE_IDLE,itemReady:!1},t.INITIAL_MEDIA_STATE={position:0,duration:0,buffer:0,currentTime:0}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){A.resolved.then(function(){var r=t.message,n=t.code,i=(0,T.default)(e,r);T.default.cloneIcon&&i.querySelector(".jw-icon").appendChild(T.default.cloneIcon("error")),o(e,i);var u={message:r,code:n,error:t},a=e._model||e.modelShim;a.set("errorEvent",u),a.set("state",w.STATE_ERROR),e.trigger(w.SETUP_ERROR,u)})}function o(e,t){if(!document.body.contains(e.currentContainer)){var r=document.getElementById(e.get("id"));r&&(e.currentContainer=r)}e.currentContainer.parentElement&&e.currentContainer.parentElement.replaceChild(t,e.currentContainer),e.currentContainer=t}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t=4.4):null}Object.defineProperty(t,"__esModule",{value:!0}),t.isAndroidHls=n;var i=r(11)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5),i=function(){},o=function(){return!1},u={name:"default"},a=function(){return u},l={supports:o,play:i,pause:i,preload:i,load:i,stop:i,volume:i,mute:i,seek:i,resize:i,remove:i,destroy:i,eventsOn_:i,eventsOff_:i,setVisibility:i,setFullscreen:i,getFullscreen:o,getContainer:i,setContainer:o,getName:a,getQualityLevels:i,getCurrentQuality:i,setCurrentQuality:i,getAudioTracks:i,getCurrentAudioTrack:i,setCurrentAudioTrack:i,getSeekRange:function(){return{start:0,end:this.getDuration()}},setPlaybackRate:i,getPlaybackRate:function(){return 1},checkComplete:i,setControls:i,attachMedia:i,detachMedia:i,init:i,setState:function(e){this.state=e,this.trigger(n.PLAYER_STATE,{newstate:e})},sendMediaType:function(e){var t=e[0].type,r="oga"===t||"aac"===t||"mp3"===t||"mpeg"===t||"vorbis"===t;this.trigger(n.MEDIA_TYPE,{mediaType:r?"audio":"video"})}};t.default=l},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){for(var t=0;tt)return e[t]}function i(e,t){var r=void 0,i=void 0,o=void 0;if(e.windows)switch(r=n(/Windows(?: NT|)? ([._\d]+)/.exec(t),1)){case"6.1":r="7.0";break;case"6.2":r="8.0";break;case"6.3":r="8.1"}else e.android?r=n(/Android ([._\d]+)/.exec(t),1):e.iOS?r=n(/OS ([._\d]+)/.exec(t),1):e.mac&&(r=n(/Mac OS X (10[._\d]+)/.exec(t),1));if(r){i=parseInt(r,10);var u=r.split(/[._]/);u&&(o=parseInt(u[1],10))}return{version:r,major:i,minor:o}}Object.defineProperty(t,"__esModule",{value:!0}),t.osVersion=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=document.createElement("video");t.default=n},function(e,t,r){"use strict";function n(e,t,r){var n=e.name,i=document.createElement("div");i.id=r.id+"_"+n,i.className="jw-plugin jw-reset";var u=o({},t),a=e.getNewInstance(r,u,i);r.addPlugin(n,a)}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t0)return c;var r=e.indexOf("/"),n=(0,s.extension)(e);return!(t<0&&r<0)||n&&isNaN(n)?f:2}},p=function(e){this.url=e};i(p.prototype,{load:function(){if(2===d(this.url))return o.resolved;var e=new a.default(n(this.url));return this.loader=e,e.load()},registerPlugin:function(e,t,r){this.name=e,this.target=t,this.js=r},getNewInstance:function(e,t,r){var n=this.js,i=new n(e,t,r);return i.addToPlayer=function(){var t=e.getContainer().querySelector(".jw-overlays");t&&(r.left=t.style.left,r.top=t.style.top,t.appendChild(r),i.displayArea=t)},i.resizeHandler=function(){var e=i.displayArea;e&&i.resize(e.clientWidth,e.clientHeight)},i}}),t.default=p},function(e,t,r){"use strict";function n(){return u.now()}function i(){return a+u.now()}Object.defineProperty(t,"__esModule",{value:!0}),t.now=n,t.dateTime=i;var o=r(25),u=window.performance||{timing:{}},a=u.timing.navigationStart||(0,o.now)();"now"in u||(u.now=function(){return(0,o.now)()-a})},function(e,t,r){"use strict";function n(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(u.default.debug)return e.apply(t||this,r);try{return e.apply(t||this,r)}catch(t){return new i(e.name,t)}}function i(e,t){this.name=e,this.message=t.message||t.toString(),this.error=t}Object.defineProperty(t,"__esModule",{value:!0}),t.tryCatch=n,t.JwError=i;var o=r(16),u=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,r){"use strict";function n(e){var t=document.createElement("a"),r=document.createElement("a");t.href=location.href;try{return r.href=e,r.href=r.href,t.protocol+"//"+t.host!=r.protocol+"//"+r.host}catch(e){}return!0}function i(e,t,r,i){h.default.isObject(e)&&(i=e,e=i.url);var s,c=f({xhr:null,url:e,withCredentials:!1,retryWithoutCredentials:!1,timeout:6e4,timeoutId:-1,oncomplete:t||v,onerror:r||v,mimeType:i&&!i.responseType?"text/xml":"",requireValidXML:!1,responseType:i&&i.plainText?"text":""},i);if("XDomainRequest"in window&&n(e))s=c.xhr=new window.XDomainRequest,s.onload=l(c),s.ontimeout=s.onprogress=v,y=!0;else{if(!("XMLHttpRequest"in window))return void c.onerror("",e);s=c.xhr=new window.XMLHttpRequest,s.onreadystatechange=a(c)}var d=u("Error loading file",c);s.onerror=d,"overrideMimeType"in s?c.mimeType&&s.overrideMimeType(c.mimeType):y=!0;try{e=e.replace(/#.*$/,""),s.open("GET",e,!0)}catch(e){return d(e),s}if(c.responseType)try{s.responseType=c.responseType}catch(e){}c.timeout&&(c.timeoutId=setTimeout(function(){o(s),c.onerror("Timeout",e,s)},c.timeout),s.onabort=function(){clearTimeout(c.timeoutId)});try{c.withCredentials&&"withCredentials"in s&&(s.withCredentials=!0),s.send()}catch(e){d(e)}return s}function o(e){e.onload=null,e.onprogress=null,e.onreadystatechange=null,e.onerror=null,"abort"in e&&e.abort()}function u(e,t){return function(r){var n=r.currentTarget||t.xhr;if(clearTimeout(t.timeoutId),t.retryWithoutCredentials&&t.xhr.withCredentials){o(n);return void i(f({},t,{xhr:null,withCredentials:!1,retryWithoutCredentials:!1}))}t.onerror(e,t.url,n)}}function a(e){return function(t){var r=t.currentTarget||e.xhr;if(4===r.readyState){if(clearTimeout(e.timeoutId),r.status>=400){var n;return n=404===r.status?"File not found":r.status+"("+r.statusText+")",e.onerror(n,e.url,r)}if(200===r.status)return l(e)(t)}}}function l(e){return function(t){var r=t.currentTarget||e.xhr;if(clearTimeout(e.timeoutId),e.responseType){if("json"===e.responseType)return s(r,e)}else{var n,i=r.responseXML;if(i)try{n=i.firstChild}catch(e){}if(i&&n)return c(r,i,e);if(y&&r.responseText&&!i&&(i=(0,d.parseXML)(r.responseText))&&i.firstChild)return c(r,i,e);if(e.requireValidXML)return void e.onerror("Invalid XML",e.url,r)}e.oncomplete(r)}}function s(e,t){if(!e.response||h.default.isString(e.response)&&'"'!==e.responseText.substr(1))try{e=f({},e,{response:JSON.parse(e.responseText)})}catch(r){return void t.onerror("Invalid JSON",t.url,e)}return t.oncomplete(e)}function c(e,t,r){var n=t.documentElement;return r.requireValidXML&&("parsererror"===n.nodeName||n.getElementsByTagName("parsererror").length)?void r.onerror("Invalid XML",r.url,e):(e.responseXML||(e=f({},e,{responseXML:t})),r.oncomplete(e))}Object.defineProperty(t,"__esModule",{value:!0});var f=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0])||arguments[0];return s.getSafeRegion(e)},getState:function(){return s.getState()},getStretching:function(){return s.get("stretching")},getViewable:function(){return s.get("viewable")},getVisualQuality:function(){return s.getVisualQuality()},getVolume:function(){return s.get("volume")},getWidth:function(){return s.getWidth()},setCaptions:function(e){return s.setCaptions(e),this},setConfig:function(e){return s.setConfig(e),this},setControls:function(e){return s.setControls(e),this},setCurrentAudioTrack:function(e){s.setCurrentAudioTrack(e)},setCurrentCaptions:function(e){s.setCurrentCaptions(e)},setCurrentQuality:function(e){s.setCurrentQuality(e)},setFullscreen:function(e){return s.setFullscreen(e),this},setMute:function(e){return s.setMute(e),this},setPlaybackRate:function(e){return s.setPlaybackRate(e),this},setCues:function(e){return s.setCues(e),this},setVolume:function(e){return s.setVolume(e),this},load:function(e,t){return s.load(e,t),this},play:function(e){return s.play(e),this},pause:function(e){return s.pause(e),this},playToggle:function(e){switch(this.getState()){case g.STATE_PLAYING:case g.STATE_BUFFERING:return this.pause(e);default:return this.play(e)}},seek:function(e,t){return s.seek(e,t),this},playlistItem:function(e,t){return s.playlistItem(e,t),this},playlistNext:function(e){return s.playlistNext(e),this},playlistPrev:function(e){return s.playlistPrev(e),this},next:function(){return s.next(),this},castToggle:function(){return s.castToggle(),this},createInstream:function(){return s.createInstream()},skipAd:function(){return s.skipAd(),this},stop:function(){return s.stop(),this},resize:function(e,t){return s.resize(e,t),this},addButton:function(e,t,r,n,i){return s.addButton(e,t,r,n,i),this},removeButton:function(e){return s.removeButton(e),this},attachMedia:function(){return s.attachMedia(),this},detachMedia:function(){return s.detachMedia(),this},isBeforeComplete:function(){return s.isBeforeComplete()},isBeforePlay:function(){return s.isBeforePlay()}})}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t=.25&&e<=4}).map(function(e){return Math.round(4*e)/4}),h.indexOf(1)<0&&h.push(1),h.sort(),d.playbackRateControls=!0,d.playbackRates=h}(!d.playbackRateControls||d.playbackRates.indexOf(d.defaultPlaybackRate)<0)&&(d.defaultPlaybackRate=1),d.playbackRate=d.defaultPlaybackRate,d.aspectratio||delete d.aspectratio;var v=d.playlist;if(v)Array.isArray(v.playlist)&&(d.feedData=v,d.playlist=v.playlist);else{var y=l.default.pick(d,["title","description","type","mediaid","image","file","sources","tracks","preload","duration"]);d.playlist=[y]}d.qualityLabels=d.qualityLabels||d.hlslabels,delete d.duration;var m=d.liveTimeout;return null!==m&&((0,a._isNaN)(m)||!(0,a._isNumber)(m)?m=null:0!==m&&(m=Math.max(30,m)),d.liveTimeout=m),d};t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(12),o=n(i),u=r(66),a=n(u),l=r(22),s=n(l),c=r(4),f=n(c),d=function(e){var t=void 0;this.start=function(r){var n=f.default.all([(0,o.default)(e),(0,a.default)(e),(0,s.default)(e,r)]),i=new f.default(function(e,r){t=setTimeout(function(){r(new Error("Setup Timeout Error: Setup took longer than 30 seconds to complete."))},3e4);var i=function(){clearTimeout(t),e()};n.then(i).catch(i)});return f.default.race([n,i])},this.destroy=function(){clearTimeout(t),e=null}};t.default=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t
'+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")+'
'+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"")+"
"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=[];t.feedData={};for(var r=0;r<(0,u.numChildren)(e);r++){var n=(0,u.getChildNode)(e,r);if("channel"===(0,u.localName)(n).toLowerCase())for(var i=0;i<(0,u.numChildren)(n);i++){var a=(0,u.getChildNode)(n,i),l=(0,u.localName)(a).toLowerCase();"item"===l?t.push(o(a)):l&&(t.feedData[l]=(0,u.textContent)(a))}}return t}function o(e){for(var t={},r=0;r0&&(r=e(s,r));break;case"title":r.title=(0,i.textContent)(s);break;case"description":r.description=(0,i.textContent)(s);break;case"guid":r.mediaid=(0,i.textContent)(s);break;case"thumbnail":r.image||(r.image=(0,o.xmlAttribute)(s,"url"));break;case"group":e(s,r);break;case"subtitle":var d={};d.file=(0,o.xmlAttribute)(s,"url"),d.kind="captions",(0,o.xmlAttribute)(s,"lang").length>0&&(d.label=function(e){var t={zh:"Chinese",nl:"Dutch",en:"English",fr:"French",de:"German",it:"Italian",ja:"Japanese",pt:"Portuguese",ru:"Russian",es:"Spanish"};return t[e]?t[e]:e}((0,o.xmlAttribute)(s,"lang"))),u.push(d)}}}r.hasOwnProperty("tracks")||(r.tracks=[]);for(var p=0;p0&&(o[f][r]="true"===o[f][r],o[f].label.length||delete o[f].label,t.sources.push(o[f]))}if(a.length){t.tracks=[];for(var d=0;d0&&(a[d][r]="true"===a[d][r],a[d].kind=a[d].kind.length?a[d].kind:"captions",a[d].label.length||delete a[d].label,t.tracks.push(a[d]))}return t};t.default=a},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.get("playlist");if("string"==typeof t)return new d.default(function(r,n){var i=new h.default;i.on(c.PLAYLIST_LOADED,function(t){var n=t.playlist;delete t.playlist,o(e,n,t),r()}),i.on(c.ERROR,function(t){o(e,[],{}),n(new Error("Error loading playlist: "+t.message))}),i.load(t)});var r=e.get("feedData")||{};return o(e,t,r),f.resolved}function o(e,t,r){var n=e.attributes;n.playlist=(0,y.default)(t),n.feedData=r}function u(e){return i(e).then(function(){if(!s(e)){var t=(0,v.filterPlaylist)(e.get("playlist"),e);(0,v.validatePlaylist)(t);var r=e.getProviders(),n=r.choose(t[0].sources[0]),i=n.provider,o=n.name;return"function"==typeof i?i:b.bundleContainsProviders.html5&&"html5"===o?b.bundleContainsProviders.html5:r.load(o)}})}function a(e){for(var t=document.styleSheets,r=0,n=t.length;r