system-7/index_files/jwplayer.js

95 lines
82 KiB
JavaScript

/*!
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=[];l<t.length;l++)a=t[l],i[a]&&s.push(i[a][0]),i[a]=0;for(u in n)Object.prototype.hasOwnProperty.call(n,u)&&(e[u]=n[u]);for(r&&r(t,n,o);s.length;)s.shift()()};var n={},i={10:0};return t.e=function(e){function r(){a.onerror=a.onload=null,clearTimeout(l);var t=i[e];0!==t&&(t&&t[1](new Error("Loading chunk "+e+" failed.")),i[e]=void 0)}var n=i[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var o=new Promise(function(t,r){n=i[e]=[t,r]});n[2]=o;var u=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,t.nc&&a.setAttribute("nonce",t.nc),a.src=t.p+""+({0:"jwplayer.core.controls.polyfills.html5",1:"jwplayer.core.controls.html5",2:"jwplayer.core.controls.polyfills",3:"jwplayer.core.controls",4:"jwplayer.controls",5:"jwplayer.core",6:"provider.html5",7:"polyfills.intersection-observer",8:"vttparser",9:"polyfills.webvtt"}[e]||e)+".js";var l=setTimeout(r,12e4);return a.onerror=a.onload=r,u.appendChild(a),o},t.m=e,t.c=n,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t.oe=function(e){throw console.error(e),e},t(t.s=45)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._isNumber=t._isNaN=void 0;var n=r(25),i={},o=Array.prototype,u=Object.prototype,a=Function.prototype,l=o.slice,s=o.concat,c=u.toString,f=u.hasOwnProperty,d=o.map,p=o.reduce,h=o.forEach,v=o.filter,y=o.every,m=o.some,g=o.indexOf,b=Array.isArray,_=Object.keys,O=a.bind,w=function e(t){return t instanceof e?t:this instanceof e?void 0:new e(t)},E=w.each=w.forEach=function(e,t,r){var n,o;if(null==e)return e;if(h&&e.forEach===h)e.forEach(t,r);else if(e.length===+e.length){for(n=0,o=e.length;n<o;n++)if(t.call(r,e[n],n,e)===i)return}else{var u=w.keys(e);for(n=0,o=u.length;n<o;n++)if(t.call(r,e[u[n]],u[n],e)===i)return}return e};w.map=w.collect=function(e,t,r){var n=[];return null==e?n:d&&e.map===d?e.map(t,r):(E(e,function(e,i,o){n.push(t.call(r,e,i,o))}),n)};w.reduce=w.foldl=w.inject=function(e,t,r,n){var i=arguments.length>2;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<u;){var a=o+u>>>1;r.call(n,e[a])<i?o=a+1:u=a}return o},w.contains=w.include=function(e,t){return null!=e&&(e.length!==+e.length&&(e=w.values(e)),w.indexOf(e,t)>=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<i;n++)if(e[n]===t)return n;return-1};var T=function(){};w.bind=function(e,t){var r,n;if(O&&e.bind===O)return O.apply(e,l.call(arguments,1));if(!w.isFunction(e))throw new TypeError;return r=l.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat(l.call(arguments)));T.prototype=e.prototype;var i=new T;T.prototype=null;var o=e.apply(i,r.concat(l.call(arguments)));return Object(o)===o?o:i}},w.partial=function(e){var t=l.call(arguments,1);return function(){for(var r=0,n=t.slice(),i=0,o=n.length;i<o;i++)n[i]===w&&(n[i]=arguments[r++]);for(;r<arguments.length;)n.push(arguments[r++]);return e.apply(this,n)}},w.once=w.partial(w.before,2),w.memoize=function(e,t){var r={};return t||(t=w.identity),function(){var n=t.apply(this,arguments);return w.has(r,n)?r[n]:r[n]=e.apply(this,arguments)}},w.delay=function(e,t){var r=l.call(arguments,2);return setTimeout(function(){return e.apply(null,r)},t)},w.defer=function(e){return w.delay.apply(w,[e,1].concat(l.call(arguments,1)))},w.throttle=function(e,t,r){var i,o,u,a=null,l=0;r||(r={});var s=function(){l=!1===r.leading?0:(0,n.now)(),a=null,u=e.apply(i,o),i=o=null};return function(){l||!1!==r.leading||(l=n.now);var c=t-(n.now-l);return i=this,o=arguments,c<=0?(clearTimeout(a),a=null,l=n.now,u=e.apply(i,o),i=o=null):a||!1===r.trailing||(a=setTimeout(s,c)),u}},w.keys=function(e){if(!w.isObject(e))return[];if(_)return _(e);var t=[];for(var r in e)w.has(e,r)&&t.push(r);return t},w.invert=function(e){for(var t={},r=w.keys(e),n=0,i=r.length;n<i;n++)t[e[r[n]]]=r[n];return t},w.defaults=function(e){return E(l.call(arguments,1),function(t){if(t)for(var r in t)void 0===e[r]&&(e[r]=t[r])}),e},w.extend=function(e){return E(l.call(arguments,1),function(t){if(t)for(var r in t)e[r]=t[r]}),e},w.pick=function(e){var t={},r=s.apply(o,l.call(arguments,1));return E(r,function(r){r in e&&(t[r]=e[r])}),t},w.omit=function(e){var t={},r=s.apply(o,l.call(arguments,1));for(var n in e)w.contains(r,n)||(t[n]=e[n]);return t},w.clone=function(e){return w.isObject(e)?w.isArray(e)?e.slice():w.extend({},e):e},w.isArray=b||function(e){return"[object Array]"==c.call(e)},w.isObject=function(e){return e===Object(e)},E(["Function","String","Number","Date","RegExp"],function(e){w["is"+e]=function(t){return c.call(t)=="[object "+e+"]"}}),w.isFunction=function(e){return"function"==typeof e},w.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))};var j=w.isNaN=function(e){return w.isNumber(e)&&e!=+e};w.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"==c.call(e)},w.isNull=function(e){return null===e},w.isUndefined=function(e){return void 0===e},w.has=function(e,t){return f.call(e,t)},w.identity=function(e){return e},w.constant=function(e){return function(){return e}},w.property=function(e){return function(t){return t[e]}},w.propertyOf=function(e){return null==e?function(){}:function(t){return e[t]}},w.matches=function(e){return function(t){if(t===e)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0}},w.now=n.now,w.result=function(e,t){if(null!=e){var r=e[t];return w.isFunction(r)?r.call(e):r}};var S=w.isNumber;t._isNaN=j,t._isNumber=S,t.default=w},function(e,t,r){"use strict";function n(e){return e.replace(/^\s+|\s+$/g,"")}function i(e,t,r){for(e=""+e,r=r||"0";e.length<t;)e=r+e;return e}function o(e,t){for(var r=0;r<e.attributes.length;r++)if(e.attributes[r].name&&e.attributes[r].name.toLowerCase()===t.toLowerCase())return e.attributes[r].value.toString();return""}function u(e){return/[(,]format=m3u8-/i.test(e)?"m3u8":!!/[(,]format=mpd-/i.test(e)&&"mpd"}function a(e){if(!e||"rtmp"===e.substr(0,4))return"";var t=u(e);return t||(e=e.split("?")[0].split("#")[0],e.lastIndexOf(".")>-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<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u=r(20),a=i(u),l=r(15),s=i(l),c=r(10),f=i(c),d=r(1),p=r(18),h=n(p),v=r(55),y=r(0),m=n(y),g=r(28),b=r(23),_=r(24),O=r(56),w=t.log="function"==typeof console.log?console.log.bind(console):function(){},E=function(e,t,r){return Math.max(Math.min(e,r),t)},P=function(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t(r,e[r])},A=m.default.indexOf,C=function(){},T=o({},f,s,a,{addClass:b.addClass,hasClass:b.hasClass,removeClass:b.removeClass,replaceClass:b.replaceClass,toggleClass:b.toggleClass,classList:b.classList,styleDimension:b.styleDimension,createElement:b.createElement,emptyElement:b.emptyElement,addStyleSheet:b.addStyleSheet,bounds:b.bounds,css:_.css,clearCss:_.clearCss,style:_.style,transform:_.transform,getRgba:_.getRgba,ajax:O.ajax,crossdomain:O.crossdomain,tryCatch:v.tryCatch,Error:v.JwError,Timer:h.default,log:w,between:E,foreach:P,flashVersion:g.flashVersion,isIframe:g.isIframe,indexOf:A,trim:d.trim,pad:d.pad,extension:d.extension,hms:d.hms,seconds:d.seconds,prefix:d.prefix,suffix:d.suffix,noop:C});t.default=T},function(e,t,r){"use strict";function n(e,t,r){if(!l(this,"on",e,[t,r])||!t)return this;var n=this._events||(this._events={});return(n[e]||(n[e]=[])).push({callback:t,context:r}),this}function i(e,t,r){if(!l(this,"once",e,[t,r])||!t)return this;var n=0,i=this,o=function r(){n++||(i.off(e,r),t.apply(this,arguments))};return o._callback=t,this.on(e,o,r)}function o(e,t,r){if(!this._events||!l(this,"off",e,[t,r]))return this;if(!e&&!t&&!r)return delete this._events,this;for(var n=e?[e]:Object.keys(this._events),i=0,o=n.length;i<o;i++){e=n[i];var u=this._events[e];if(u){var a=this._events[e]=[];if(t||r)for(var s=0,c=u.length;s<c;s++){var f=u[s];(t&&t!==f.callback&&t!==f.callback._callback||r&&r!==f.context)&&a.push(f)}a.length||delete this._events[e]}}return this}function u(e){if(!this._events)return this;var t=f.call(arguments,1);if(!l(this,"trigger",e,t))return this;var r=this._events[e],n=this._events.all;return r&&s(r,t,this),n&&s(n,arguments,this),this}function a(e){if(!this._events)return this;var t=f.call(arguments,1);if(!l(this,"trigger",e,t))return this;var r=this._events[e],n=this._events.all;return r&&s(r,t,this,e),n&&s(n,arguments,this,e),this}function l(e,t,r,n){if(!r)return!0;if("object"===(void 0===r?"undefined":c(r))){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&e[t].apply(e,[i,r[i]].concat(n));return!1}if(d.test(r)){for(var o=r.split(d),u=0,a=o.length;u<a;u++)e[t].apply(e,[o[u]].concat(n));return!1}return!0}function s(e,t,r,n){for(var i=-1,o=e.length;++i<o;){var u=e[i];if(n)try{u.callback.apply(u.context||r,t)}catch(e){console.log('Error in "'+n+'" event handler:',e)}else u.callback.apply(u.context||r,t)}}Object.defineProperty(t,"__esModule",{value:!0});var c="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.on=n,t.once=i,t.off=o,t.trigger=u,t.triggerSafe=a;var f=[].slice,d=/\s+/;t.default={on:n,once:i,off:o,trigger:u}},,,function(e,t,r){"use strict";function n(e,t){if((0,c.exists)(t)||(t=document.location.href),(0,c.exists)(e)){if(i(e))return e;var r=t.substring(0,t.indexOf("://")+3),n=t.substring(r.length,t.indexOf("/",r.length+1)),o=void 0;if(0===e.indexOf("/"))o=e.split("/");else{var u=t.split("?")[0];u=u.substring(r.length+n.length+1,u.lastIndexOf("/")),o=u.split("/").concat(e.split("/"))}for(var a=[],l=0;l<o.length;l++)o[l]&&(0,c.exists)(o[l])&&"."!==o[l]&&(".."===o[l]?a.pop():a.push(o[l]));return r+n+"/"+a.join("/")}}function i(e){return/^(?:(?:https?|file):)?\/\//.test(e)}function o(e){return d.default.some(e,function(e){return"parsererror"===e.nodeName})}function u(e){var t=null;try{"DOMParser"in window?(t=(new window.DOMParser).parseFromString(e,"text/xml"),(o(t.childNodes)||t.childNodes&&o(t.childNodes[0].childNodes))&&(t=null)):(t=new window.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(e){}return t}function a(e){if(void 0===e)return null;if("string"==typeof e&&e.length<6){var t=e.toLowerCase();if("true"===t)return!0;if("false"===t)return!1;if(!isNaN(Number(e))&&!isNaN(parseFloat(e)))return Number(e)}return e}function l(e){return"string"==typeof e?""===e?0:e.lastIndexOf("%")>-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;i<n.length;i++)for(var o=n[i],u=e.getProviders(),a=0;a<b.default.length;a++){var l=b.default[a];if(u.providerSupports(l,o))return l.name===t}return!1}function s(){var e=r.e(0).then(function(require){r(9);var e=r(3).default;return w.module.controls=r(2).default,(0,O.default)(r(8).default),e}.bind(null,r)).catch(o);return A.html5=e,e}function c(){var e=r.e(1).then(function(require){var e=r(3).default;return w.module.controls=r(2).default,(0,O.default)(r(8).default),e}.bind(null,r)).catch(o);return A.html5=e,e}function f(){return r.e(2).then(function(require){r(9);var e=r(3).default;return w.module.controls=r(2).default,e}.bind(null,r)).catch(o)}function d(){return r.e(3).then(function(require){var e=r(3).default;return w.module.controls=r(2).default,e}.bind(null,r)).catch(o)}function p(){return h().then(function(){return r.e(5).then(function(require){return r(3).default}.bind(null,r)).catch(o)})}function h(){return a()?r.e(7).then(function(require){return r(9)}.bind(null,r)).catch(o):E.resolved}Object.defineProperty(t,"__esModule",{value:!0}),t.bundleContainsProviders=void 0,t.default=i,t.chunkLoadErrorHandler=o,t.selectBundle=u,t.requiresPolyfills=a,t.requiresProvider=l;var v=r(19),y=n(v),m=r(29),g=r(14),b=n(g),_=r(21),O=n(_),w=r(40),E=r(4),P=null,A=t.bundleContainsProviders={}},function(e,t,r){"use strict";function n(e){var t="";return e&&(e.localName?t=e.localName:e.baseName&&(t=e.baseName)),t}function i(e){var t="";return e&&(e.textContent?t=(0,a.trim)(e.textContent):e.text&&(t=(0,a.trim)(e.text))),t}function o(e,t){return e.childNodes[t]}function u(e){return e.childNodes?e.childNodes.length:0}Object.defineProperty(t,"__esModule",{value:!0}),t.localName=n,t.textContent=i,t.getChildNode=o,t.numChildren=u;var a=r(1)},function(e,t,r){"use strict";function n(e){if(!1===(0,i.isAndroidHls)(e))return!1;if(!a.default.canPlayType)return!1;var t=e.file,r=e.type;if((0,o.isRtmp)(t,r))return!1;var n=e.mimeType||l[r];return!!n&&!!a.default.canPlayType(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.supportsType=n;var i=r(43),o=r(15),u=r(49),a=function(e){return e&&e.__esModule?e:{default:e}}(u),l={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"},s=[{name:"html5",supports:n}];t.default=s},function(e,t,r){"use strict";function n(e){switch(void 0===e?"undefined":l(e)){case"string":return e.length>0;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<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r(54),o=function(){var e={},t={},r={},o={};return{start:function(t){e[t]=(0,i.dateTime)(),r[t]=r[t]+1||1},end:function(r){if(e[r]){var n=(0,i.dateTime)(),o=n-e[r];delete e[r],t[r]=t[r]+o||o}},dump:function(){var u=n({},t);for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var l=(0,i.dateTime)(),s=l-e[a];u[a]=u[a]+s||s}return{counts:n({},r),sums:u,events:n({},o)}},tick:function(e){o[e]=(0,i.dateTime)()},clear:function(e){delete o[e]},between:function(e,t){return o[t]&&o[e]?o[t]-o[e]:null}}};t.default=o},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(32),u=n(o),a=r(60),l=n(a),s=Array.isArray,c=function(e){e=e||{},s(e.tracks)||delete e.tracks;var t=i({},{sources:[],tracks:[],minDvrWindow:120,dvrSeekLimit:25},e);t.dvrSeekLimit<5&&(t.dvrSeekLimit=5),t.sources!==Object(t.sources)||s(t.sources)||(t.sources=[(0,u.default)(t.sources)]),s(t.sources)&&0!==t.sources.length||(e.levels?t.sources=e.levels:t.sources=[(0,u.default)(e)]);for(var r=0;r<t.sources.length;r++){var n=t.sources[r];if(n){var o=n.default;n.default=!!o&&"true"===o.toString(),t.sources[r].label||(t.sources[r].label=r.toString()),t.sources[r]=(0,u.default)(t.sources[r])}}return t.sources=t.sources.filter(function(e){return!!e}),s(t.tracks)||(t.tracks=[]),s(t.captions)&&(t.tracks=t.tracks.concat(t.captions),delete t.captions),t.tracks=t.tracks.map(l.default).filter(function(e){return!!e}),t};t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadFrom=t.versionCheck=t.repo=t.getScriptPath=void 0;var n=r(17),i=t.getScriptPath=function(e){for(var t=document.getElementsByTagName("script"),r=0;r<t.length;r++){var n=t[r].src;if(n){var i=n.lastIndexOf("/"+e);if(i>=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<e.length;i++){var a,l=e[i];if(void 0!==l&&null!==l)for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(a=o(r),l.style[a]!==n[r]&&(l.style[a]=n[r]))}}}function o(e){e=e.split("-");for(var t=1;t<e.length;t++)e[t]=e[t].charAt(0).toUpperCase()+e[t].slice(1);return e.join("")}function u(e,t){return""===t||void 0===t||null===t?"":"string"==typeof t&&isNaN(t)?/png|gif|jpe?g/i.test(t)&&t.indexOf("url")<0?"url("+t+")":t:0===t||"z-index"===e||"opacity"===e?""+t:/color/i.test(e)?"#"+(0,c.pad)(t.toString(16).replace(/^0x/i,""),6):Math.ceil(t)+"px"}function a(e,t){i(e,{transform:t,webkitTransform:t,msTransform:t,mozTransform:t,oTransform:t})}function l(e,t){var r="rgb",n=void 0!==t&&100!==t;if(n&&(r+="a"),!p){var i=document.createElement("canvas");i.height=1,i.width=1,p=i.getContext("2d")}e?isNaN(parseInt(e,16))||(e="#"+e):e="#000000",p.clearRect(0,0,1,1),p.fillStyle=e,p.fillRect(0,0,1,1);var o=p.getImageData(0,0,1,1).data;return r+="("+o[0]+", "+o[1]+", "+o[2],n&&(r+=", "+t/100),r+")"}Object.defineProperty(t,"__esModule",{value:!0}),t.clearCss=void 0;var s="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.css=n,t.style=i,t.transform=a,t.getRgba=l;var c=r(1),f=r(33),d=function(e){return e&&e.__esModule?e:{default:e}}(f),p=(t.clearCss=d.default.clear,void 0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.now=Date.now||function(){return(new Date).getTime()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=[];t.default=n},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){this.config=e||{}}Object.defineProperty(t,"__esModule",{value:!0}),t.Loaders=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u=r(14),a=n(u),l=r(21),s=n(l),c=r(30),f=n(c),d=r(12),p=r(4),h=n(p),v=t.Loaders={html5:function(){return r.e(6).then(function(require){var e=r(8).default;return(0,s.default)(e),e}.bind(null,r)).catch(d.chunkLoadErrorHandler)}};o(i.prototype,{load:function(e){var t=v[e],r=function(){return h.default.reject(new Error("Failed to load media"))};return t?t().then(function(){var t=f.default[e];return t||r()}):r()},providerSupports:function(e,t){return e.supports(t)},choose:function(e){if(e===Object(e))for(var t=a.default.length,r=0;r<t;r++){var n=a.default[r];if(this.providerSupports(n,e)){var i=t-r-1;return{priority:i,name:n.name,type:e.type,providerToCheck:n,provider:f.default[n.name]}}}return{}}}),t.default=i},function(e,t,r){"use strict";function n(e){return null!==m.match(e)}function i(e){return function(){return n(e)}}function o(){var e=y();return!!(e&&e>=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;r<e.length;r++){var n=e[r],i=t.choose(n),o=i.providerToCheck;if(o)return{type:n.type,provider:o}}return null}function s(e,t){return void 0===e?t:e}function c(e,t,r){r in t&&(e[r]=t[r])}Object.defineProperty(t,"__esModule",{value:!0}),t.fixSources=void 0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.filterPlaylist=i,t.validatePlaylist=o;var d=r(61),p=r(19),h=n(p),v=r(32),y=n(v),m=r(27),g=n(m),b=function(e){return(Array.isArray(e)?e:[e]).map(h.default)};t.fixSources=function(e,t){return a(u(e,t),t.getProviders())};t.default=b},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={};t.default=n},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=document.createElement("link");return t.type="text/css",t.rel="stylesheet",t.href=e,t}function o(e){var t=document.createElement("script");return t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=p,t.src=e,t}Object.defineProperty(t,"__esModule",{value:!0}),t.SCRIPT_LOAD_STATUS_COMPLETE=t.SCRIPT_LOAD_STATUS_ERROR=t.SCRIPT_LOAD_STATUS_LOADING=t.SCRIPT_LOAD_STATUS_NEW=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r(7),l=n(a),s=r(5),c=r(4),f=n(c),d={},p=15e3,h=t.SCRIPT_LOAD_STATUS_NEW=0,v=t.SCRIPT_LOAD_STATUS_LOADING=1,y=t.SCRIPT_LOAD_STATUS_ERROR=2,m=t.SCRIPT_LOAD_STATUS_COMPLETE=3,g=function(e,t){function r(e){a=y,u.trigger(s.ERROR,e).off()}function n(e){a=m,u.trigger(s.STATE_COMPLETE,e).off()}var u=this,a=h;this.getStatus=function(){return a},this.load=function(){var u=d[e];return a!==h?u:(u&&u.then(n).catch(r),a=v,u=new f.default(function(u,a){var l=t?i:o,s=l(e),c=function(){s.onerror=s.onload=null,clearTimeout(d)},f=function(e){c(),r(e),a(e)},d=setTimeout(function(){f(new Error("Network timeout "+e))},p);s.onerror=function(){f(new Error("Failed to load "+e))},s.onload=function(e){c(),n(e),u(e)};var h=document.getElementsByTagName("head")[0]||document.documentElement;h.insertBefore(s,h.firstChild)}),d[e]=u,u)}};u(g.prototype,l.default),t.default=g},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;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=r(15),o=r(1),u=function(e){if(e&&e.file){var t=n({},{default:!1},e);t.file=(0,o.trim)(""+t.file);var r=/^[^\/]+\/(?:x-)?([^\/]+)$/;if(r.test(t.type)&&(t.mimeType=t.type,t.type=t.type.replace(r,"$1")),(0,i.isYouTube)(t.file)?t.type="youtube":(0,i.isRtmp)(t.file)?t.type="rtmp":t.type||(t.type=(0,o.extension)(t.file)),t.type){switch(t.type){case"m3u8":case"vnd.apple.mpegurl":t.type="hls";break;case"dash+xml":t.type="dash";break;case"m4a":t.type="aac";break;case"smil":t.type="rtmp"}return Object.keys(t).forEach(function(e){""===t[e]&&delete t[e]}),t}}};t.default=u},function(e,t,r){var n;void 0!==(n=function(require,e,t){function r(e,t){i(t,o(e))}function n(e,t){var r=c[e];if(r)if(t){var n=r[t];if(n)for(var i=0;i<n.parts.length;i+=1)n.parts[i]()}else{for(var o=Object.keys(r),u=0;u<o.length;u+=1)for(var a=r[o[u]],l=0;l<a.parts.length;l+=1)a.parts[l]();delete c[e]}}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=(c[e]||{})[n.id];if(i){for(var o=0;o<i.parts.length;o++)i.parts[o](n.parts[o]);for(;o<n.parts.length;o++)i.parts.push(l(e,n.parts[o]))}else{for(var u=[],o=0;o<n.parts.length;o++)u.push(l(e,n.parts[o]));c[e]=c[e]||{},c[e][n.id]={id:n.id,parts:u}}}}function o(e){for(var t=[],r={},n=0;n<e.length;n++){var i=e[n],o=i[0],u=i[1],a=i[2],l={css:u,media:a};r[o]?r[o].parts.push(l):t.push(r[o]={id:o,parts:[l]})}return t}function u(e){d().appendChild(e)}function a(e){var t=document.createElement("style");return t.type="text/css",t.setAttribute("data-jwplayer-id",e),u(t),t}function l(e,t){var r,n,i,o=f[e];o||(o=f[e]={element:a(e),counter:0});var u=o.counter++;return r=o.element,n=function(e){s(r,u,e)},i=function(){s(r,u,"")},n(t.css),function(e){if(e){if(e.css===t.css&&e.media===t.media)return;t=e,n(t.css)}else i()}}function s(e,t,r){if(e.styleSheet)e.styleSheet.cssText=p(t,r);else{var n=document.createTextNode(r),i=e.childNodes,o=i[t];o?e.replaceChild(n,o):e.appendChild(n)}}var c={},f={},d=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return document.head||document.getElementsByTagName("head")[0]});t.exports={style:r,clear:n};var p=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()}.call(t,r,t,e))&&(e.exports=n)},function(e,t,r){"use strict";function n(e,t,r){function n(){for(;i.length>0;){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<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.showView=o;var a=r(34),l=n(a),s=r(58),c=n(s),f=r(59),d=n(f),p=r(27),h=n(p),v=r(18),y=n(v),m=r(67),g=n(m),b=r(37),_=n(b),O=r(38),w=r(5),E=r(7),P=n(E),A=r(4),C=r(35),T=n(C),j=r(68),S=n(j),M=r(42),x=n(M),I=r(11),k=function(){};u(k.prototype,_.default);var N=function(e){this._events={},this.modelShim=new k,this.modelShim._qoeItem=new y.default,this.mediaShim={},this.setup=new d.default(this.modelShim),this.currentContainer=this.originalContainer=e,this.apiQueue=new l.default(this,["load","play","pause","seek","stop","playlistItem","playlistNext","playlistPrev","next","setConfig","setCurrentAudioTrack","setCurrentCaptions","setCurrentQuality","setFullscreen","addButton","removeButton","castToggle","setMute","setVolume","setPlaybackRate","setCues","resize","setCaptions","setControls"],function(){return!0})};u(N.prototype,{on:P.default.on,once:P.default.once,off:P.default.off,trigger:P.default.trigger,init:function(e,t){var r=this,n=this.modelShim,o=new g.default("jwplayer",["volume","mute","captionLabel","qualityLabel"]),a=o&&o.getAllItems();n.attributes=n.attributes||{},u(this.mediaShim,O.INITIAL_MEDIA_STATE);var l=e,s=(0,c.default)(u({},e),a);s.id=t.id,s.setupConfig=l,u(n.attributes,s,O.INITIAL_PLAYER_STATE),n.getProviders=function(){return new h.default(s)},n.setProvider=function(){};var f=(0,S.default)();return I.Features.backgroundLoading||(f=(0,x.default)(f.getPrimedElement(),f)),f.prime(),this.setup.start(t).then(function(e){var n=e[0];if(r.setup){var i=r.modelShim.clone();if(i.error instanceof Error)throw i.error;var a=r.apiQueue.queue.slice(0);r.apiQueue.destroy(),u(r,n.prototype),r.setup(i,t,r.originalContainer,r._events,a,f);var l=r._model;return o.track(l),r.updatePlaylist(l.get("playlist"),l.get("feedData"))}}).then(function(){r.setup&&r.playerReady()}).catch(function(e){r.setup&&i(r,e)})},playerDestroy:function(){this.apiQueue&&this.apiQueue.destroy(),this.setup&&this.setup.destroy(),this.off(),this._events=this._model=this.originalContainer=this.apiQueue=this.setup=null},getContainer:function(){return this.currentContainer},get:function(e){return e in this.mediaShim?this.mediaShim[e]:this.modelShim.get(e)},getItemQoe:function(){return this.modelShim._qoeItem},getConfig:function(){return u({},this.modelShim.attributes,this.mediaShim)},getCurrentCaptions:function(){return this.get("captionsIndex")},getWidth:function(){return this.get("containerWidth")},getHeight:function(){return this.get("containerHeight")},getMute:function(){return this.get("mute")},getProvider:function(){return this.get("provider")},getState:function(){return this.get("state")},getAudioTracks:function(){return null},getCaptionsList:function(){return null},getQualityLevels:function(){return null},getVisualQuality:function(){return null},getCurrentQuality:function(){return-1},getCurrentAudioTrack:function(){return-1},getSafeRegion:function(){return{x:0,y:0,width:0,height:0}},isBeforeComplete:function(){return!1},isBeforePlay:function(){return!1},createInstream:function(){return null},skipAd:function(){},attachMedia:function(){},detachMedia:function(){return null}}),t.default=N},function(e,t,r){"use strict";function n(){return o||(o=r.e(4).then(function(require){var e=r(2).default;return u.controls=e,e}.bind(null,r)).catch(function(){o=null,(0,i.chunkLoadErrorHandler)()})),o}Object.defineProperty(t,"__esModule",{value:!0}),t.module=void 0,t.load=n;var i=r(12),o=null,u={};t.module=u},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(5),u=r(13),a=r(63),l=n(a),s=r(6),c=n(s),f=r(7),d=n(f),p=function(){function e(e){try{var n,a=e.responseXML?e.responseXML.childNodes:null,s="";if(a){for(var c=0;c<a.length&&(s=a[c],8===s.nodeType);c++);if("xml"===(0,u.localName)(s)&&(s=s.nextSibling),"rss"===(0,u.localName)(s)){var f=(0,l.default)(s);n=i({playlist:f},f.feedData)}}if(!n)try{var d=JSON.parse(e.responseText);if(Array.isArray(d))n={playlist:d};else{if(!Array.isArray(d.playlist))throw Error;n=d}}catch(e){throw new Error("Not a valid RSS/JSON feed")}r.trigger(o.PLAYLIST_LOADED,n)}catch(e){t(e.message)}}function t(e){r.trigger(o.ERROR,{message:e||"Error loading file"})}var r=i(this,d.default);this.load=function(r){c.default.ajax(r,e,t)},this.destroy=function(){this.off()}};t.default=p},function(e,t,r){"use strict";function n(e,t){return i({},t,{prime:function(){e.src||e.load()},getPrimedElement:function(){return e},clean:function(){t.clean(e)},recycle:function(){t.clean(e)}})}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.default=n},function(e,t,r){"use strict";function n(e){return"hls"===e.type&&i.OS.android?!1!==e.androidhls&&(!i.Browser.firefox&&parseFloat(i.OS.version.version)>=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;t<a.default.length;t++)if(a.default[t].id===e)return a.default[t];return null}Object.defineProperty(t,"__esModule",{value:!0});var o=r(20),u=r(26),a=n(u),l=r(46),s=n(l),c=r(22),f=r(17),d=r(57),p=n(d),h=r(16),v=n(h);r.p=(0,o.loadFrom)();var y=function(e){var t=void 0,r=void 0;if(e?"string"==typeof e?(t=i(e))||(r=document.getElementById(e)):"number"==typeof e?t=a.default[e]:e.nodeType&&(r=e,t=i(r.id||r.getAttribute("data-jwplayer-id"))):t=a.default[0],t)return t;if(r){var n=new p.default(r);return a.default.push(n),n}return{registerPlugin:c.registerPlugin}};Object.defineProperties(y,{api:{get:function(){return s.default},set:function(){}},version:{get:function(){return f.version},set:function(){}},debug:{get:function(){return v.default.debug},set:function(e){v.default.debug=!!e}}}),t.default=y},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(14),o=n(i),u=r(21),a=n(u);t.default={availableProviders:o.default,registerProvider:a.default}},function(e,t,r){"use strict";function n(e,t){var r=void 0,n=void 0,i=void 0,o=void 0;return e.chrome?r=-1!==t.indexOf("Chrome")?t.substring(t.indexOf("Chrome")+7):t.substring(t.indexOf("CriOS")+6):e.safari?r=t.substring(t.indexOf("Version")+8):e.firefox?r=t.substring(t.indexOf("Firefox")+8):e.edge?r=t.substring(t.indexOf("Edge")+5):e.ie&&(-1!==t.indexOf("rv:")?r=t.substring(t.indexOf("rv:")+3):-1!==t.indexOf("MSIE")&&(r=t.substring(t.indexOf("MSIE")+5))),r&&(-1!==(o=r.indexOf(";"))&&(r=r.substring(0,o)),-1!==(o=r.indexOf(" "))&&(r=r.substring(0,o)),-1!==(o=r.indexOf(")"))&&(r=r.substring(0,o)),n=parseInt(r,10),i=parseInt(r.split(".")[1],10)),{version:r,major:n,minor:i}}Object.defineProperty(t,"__esModule",{value:!0}),t.browserVersion=n},function(e,t,r){"use strict";function n(e,t){if(e&&e.length>t)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;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u=r(4),a=function(e){return e&&e.__esModule?e:{default:e}}(u),l=function(){this.load=function(e,t,r){return r&&"object"===(void 0===r?"undefined":i(r))?a.default.all(Object.keys(r).filter(function(e){return e}).map(function(i){var o=t.addPlugin(i,!0),u=r[i];return o.load().then(function(){n(o,u,e)}).catch(function(e){return e instanceof Error?e:new Error("Error in "+i+' "'+e+'"')})})):u.resolved}};t.default=l},function(e,t,r){"use strict";function n(){}function i(e,t){return function(){e.apply(t,arguments)}}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(e,this)}function u(e,t){for(;3===e._state;)e=e._value;if(0===e._state)return void e._deferreds.push(t);e._handled=!0,o._immediateFn(function(){var r=1===e._state?t.onFulfilled:t.onRejected;if(null===r)return void(1===e._state?a:l)(t.promise,e._value);var n;try{n=r(e._value)}catch(e){return void l(t.promise,e)}a(t.promise,n)})}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var r=t.then;if(t instanceof o)return e._state=3,e._value=t,void s(e);if("function"==typeof r)return void f(i(r,t),e)}e._state=1,e._value=t,s(e)}catch(t){l(e,t)}}function l(e,t){e._state=2,e._value=t,s(e)}function s(e){2===e._state&&0===e._deferreds.length&&o._immediateFn(function(){e._handled||o._unhandledRejectionFn(e._value)});for(var t=0,r=e._deferreds.length;t<r;t++)u(e,e._deferreds[t]);e._deferreds=null}function c(e,t,r){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=r}function f(e,t){var r=!1;try{e(function(e){r||(r=!0,a(t,e))},function(e){r||(r=!0,l(t,e))})}catch(e){if(r)return;r=!0,l(t,e)}}Object.defineProperty(t,"__esModule",{value:!0});var d=setTimeout;o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,t){var r=new this.constructor(n);return u(this,new c(e,t,r)),r},o.prototype.finally=function(e){var t=this.constructor;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){return t.reject(r)})})},o.all=function(e){return new o(function(t,r){function n(e,u){try{if(u&&("object"==typeof u||"function"==typeof u)){var a=u.then;if("function"==typeof a)return void a.call(u,function(t){n(e,t)},r)}i[e]=u,0==--o&&t(i)}catch(e){r(e)}}if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var o=i.length,u=0;u<i.length;u++)n(u,i[u])})},o.resolve=function(e){return e&&"object"==typeof e&&e.constructor===o?e:new o(function(t){t(e)})},o.reject=function(e){return new o(function(t,r){r(e)})},o.race=function(e){return new o(function(t,r){for(var n=0,i=e.length;n<i;n++)e[n].then(t,r)})},o._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){d(e,0)},o._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(53),i=function(e){return e&&e.__esModule?e:{default:e}}(n),o=r(6),u={},a=function(e){return e.replace(/^(.*\/)?([^-]*)-?.*\.(js)$/,"$2")},l=function(){this.addPlugin=function(e,t){var r=a(e),n=u[r];return n?t&&n.url!==e&&(0,o.log)('JW Plugin "'+r+'" already loaded from "'+n.url+'". Ignoring "'+e+'."'):(n=new i.default(e),u[r]=n),n},this.getPlugins=function(){return u}};t.default=l},function(e,t,r){"use strict";function n(e){switch(d(e)){case c:return e;case f:return(0,l.getAbsolutePath)(e,window.location.href)}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(4),u=r(31),a=function(e){return e&&e.__esModule?e:{default:e}}(u),l=r(10),s=r(1),c=0,f=1,d=function(e){if("string"==typeof e){e=e.split("?")[0];var t=e.indexOf("://");if(t>0)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;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.crossdomain=n,t.ajax=i,t.abortAjax=o;var d=r(10),p=r(0),h=function(e){return e&&e.__esModule?e:{default:e}}(p),v=function(){},y=!1},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var r=new y.default(t);return r.on(g.READY,function(t){e._qoe.tick("ready"),t.setupTime=e._qoe.between("setup","ready")}),r.on("all",function(t,r){e.trigger(t,r)}),r}function o(e,t){var r=e.plugins;Object.keys(r).forEach(function(e){delete r[e]}),e.off(),t.playerDestroy(),t.getContainer().removeAttribute("data-jwplayer-id")}function u(e){for(var t=h.default.length;t--;)if(h.default[t].uniqueId===e.uniqueId){h.default.splice(t,1);break}}function a(e){var t=++j,r=e.id||"player-"+t,n=new _.default,a={},s=i(this,e);n.tick("init"),e.setAttribute("data-jwplayer-id",r),Object.defineProperties(this,{id:{get:function(){return r}},uniqueId:{get:function(){return t}},plugins:{get:function(){return a}},_qoe:{get:function(){return n}},version:{get:function(){return m.version}},Events:{get:function(){return w.default}},utils:{get:function(){return A.default}},_:{get:function(){return T.default}}}),l(this,{_events:{},setup:function(t){return n.clear("ready"),n.tick("setup"),o(this,s),s=i(this,e),s.init(t,this),this.on(t.events,null,this)},remove:function(){return u(this),this.trigger("remove"),o(this,s),this},qoe:function(){var e=s.getItemQoe();return{setupTime:this._qoe.between("setup","ready"),firstFrame:e.getFirstFrame?e.getFirstFrame():null,player:this._qoe.dump(),item:e.dump()}},getAudioTracks:function(){return s.getAudioTracks()},getBuffer:function(){return s.get("buffer")},getCaptions:function(){return s.get("captions")},getCaptionsList:function(){return s.getCaptionsList()},getConfig:function(){return s.getConfig()},getContainer:function(){return s.getContainer()},getControls:function(){return s.get("controls")},getCurrentAudioTrack:function(){return s.getCurrentAudioTrack()},getCurrentCaptions:function(){return s.getCurrentCaptions()},getCurrentQuality:function(){return s.getCurrentQuality()},getCurrentTime:function(){return s.get("currentTime")},getDuration:function(){return s.get("duration")},getEnvironment:function(){return d},getFullscreen:function(){return s.get("fullscreen")},getHeight:function(){return s.getHeight()},getItemMeta:function(){return s.get("itemMeta")||{}},getMute:function(){return s.getMute()},getPlaybackRate:function(){return s.get("playbackRate")},getPlaylist:function(){return s.get("playlist")},getPlaylistIndex:function(){return s.get("item")},getPlaylistItem:function(e){if(!A.default.exists(e))return s.get("playlistItem");var t=this.getPlaylist();return t?t[e]:null},getPosition:function(){return s.get("position")},getProvider:function(){return s.getProvider()},getQualityLevels:function(){return s.getQualityLevels()},getSafeRegion:function(){var e=!(arguments.length>0&&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<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.default=a;var s=r(16),c=n(s),f=r(11),d=function(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}(f),p=r(26),h=n(p),v=r(39),y=n(v),m=r(17),g=r(5),b=r(18),_=n(b),O=r(7),w=n(O),E=r(22),P=r(6),A=n(P),C=r(0),T=n(C),j=0;l(a.prototype,{on:function(e,t,r){return O.on.call(this,e,t,r)},once:function(e,t,r){return O.once.call(this,e,t,r)},off:function(e,t,r){return O.off.call(this,e,t,r)},trigger:function(e,t){return t=T.default.isObject(t)?l({},t):{},t.type=e,c.default.debug?O.trigger.call(this,e,t):O.triggerSafe.call(this,e,t)},getPlugin:function(e){return this.plugins[e]},addPlugin:function(e,t){this.plugins[e]=t,this.on("ready",t.addToPlayer),t.resize&&this.on("resize",t.resizeHandler)},registerPlugin:function(e,t,r){(0,E.registerPlugin)(e,t,r)},getAdBlock:function(){return!1},playAd:function(e){},pauseAd:function(e){}})},function(e,t,r){"use strict";function n(e){Object.keys(e).forEach(function(t){"id"!==t&&(e[t]=(0,c.serialize)(e[t]))})}function i(e){return e.slice&&"px"===e.slice(-2)&&(e=e.slice(0,-2)),e}function o(e,t){if(-1===t.toString().indexOf("%"))return 0;if("string"!=typeof e||!e)return 0;if(/^\d*\.?\d+%$/.test(e))return e;var r=e.indexOf(":");if(-1===r)return 0;var n=parseFloat(e.substr(0,r)),i=parseFloat(e.substr(r+1));return n<=0||i<=0?0:i/n*100+"%"}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r(0),l=function(e){return e&&e.__esModule?e:{default:e}}(a),s=r(20),c=r(10),f={autostart:!1,castAvailable:!1,controls:!0,defaultPlaybackRate:1,displaydescription:!0,displaytitle:!0,height:360,liveTimeout:null,localization:{player:"Video Player",play:"Play",playback:"Start Playback",pause:"Pause",volume:"Volume",prev:"Previous",next:"Next",cast:"Chromecast",airplay:"AirPlay",fullscreen:"Fullscreen",playlist:"Playlist",hd:"Quality",cc:"Closed Captions",audioTracks:"Audio Tracks",playbackRates:"Playback Rates",replay:"Replay",buffer:"Loading",more:"More",liveBroadcast:"Live",loadingAd:"Loading ad",rewind:"Rewind 10 Seconds",nextUp:"Next Up",nextUpClose:"Next Up Close",related:"More Videos",close:"Close",settings:"Settings",unmute:"Unmute",copied:"Copied"},mute:!1,nextUpDisplay:!0,playbackRateControls:!1,playbackRates:[.5,1,1.25,1.5,2],renderCaptionsNatively:!1,repeat:!1,stretching:"uniform",volume:90,width:640},d=function(e,t){var c=u({},(window.jwplayer||{}).defaults,t,e);n(c),c.localization=u({},f.localization,c.localization);var d=u({},f,c);"."===d.base&&(d.base=(0,s.getScriptPath)("jwplayer.js")),d.base=(d.base||(0,s.loadFrom)()).replace(/\/?$/,"/"),r.p=d.base,d.width=i(d.width),d.height=i(d.height),d.aspectratio=o(d.aspectratio,d.width);var p=d.playbackRateControls;if(p){var h=d.playbackRates;Array.isArray(p)&&(h=p),h=h.filter(function(e){return l.default.isNumber(e)&&e>=.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;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(e){if(e&&e.file)return n({},{kind:"captions",default:!1},e)};t.default=i},function(e,t,r){"use strict";function n(e,t){return i[e]?e:i[t]?t:"metadata"}Object.defineProperty(t,"__esModule",{value:!0}),t.getPreload=n;var i={none:!0,metadata:!0,auto:!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return'<div id="'+e+'" class="jw-error jw-reset"><div class="jw-error-msg jw-reset"><style>[id="'+e+'"].jw-error{position:relative;background:#000;overflow:hidden;position:relative}[id="'+e+'"] .jw-error-msg{top:50%;left:50%;position:absolute;align-items:center;display:flex;transform:translate(-50%,-50%)}[id="'+e+'"] .jw-title{color:#FFF;position:static}[id="'+e+'"] .jw-title-primary,[id="'+e+'"] .jw-title-secondary{font:600 14px/1.35 Arial,Helvetica,sans-serif}[id="'+e+'"] .jw-title-secondary{font-weight:400}</style><div class="jw-icon jw-reset"></div><div class="jw-title jw-reset"><div class="jw-title-primary jw-reset">'+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")+'</div><div class="jw-title-secondary jw-reset">'+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"")+"</div></div></div></div>"}},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;r<e.childNodes.length;r++){var n=e.childNodes[r],i=(0,u.localName)(n);if(i)switch(i.toLowerCase()){case"enclosure":t.file=(0,a.xmlAttribute)(n,"url");break;case"title":t.title=(0,u.textContent)(n);break;case"guid":t.mediaid=(0,u.textContent)(n);break;case"pubdate":t.date=(0,u.textContent)(n);break;case"description":t.description=(0,u.textContent)(n);break;case"link":t.link=(0,u.textContent)(n);break;case"category":t.tags?t.tags+=(0,u.textContent)(n):t.tags=(0,u.textContent)(n)}}return new p.default((0,f.default)(e,(0,s.default)(e,t)))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var u=r(13),a=r(1),l=r(64),s=n(l),c=r(65),f=n(c),d=r(19),p=n(d)},function(e,t,r){"use strict";function n(e){for(var t=[],r=0;r<(0,i.numChildren)(e);r++){var n=e.childNodes[r];"jwplayer"===n.prefix&&"mediatypes"===(0,i.localName)(n).toLowerCase()&&t.push((0,i.textContent)(n))}return t}Object.defineProperty(t,"__esModule",{value:!0});var i=r(13),o=r(1),u=r(6),a=function(e){return e&&e.__esModule?e:{default:e}}(u),l=function e(t,r){for(var u=[],l=0;l<(0,i.numChildren)(t);l++){var s=t.childNodes[l];if("media"===s.prefix){if(!(0,i.localName)(s))continue;switch((0,i.localName)(s).toLowerCase()){case"content":if((0,o.xmlAttribute)(s,"duration")&&(r.duration=a.default.seconds((0,o.xmlAttribute)(s,"duration"))),(0,o.xmlAttribute)(s,"url")){r.sources||(r.sources=[]);var c={file:(0,o.xmlAttribute)(s,"url"),type:(0,o.xmlAttribute)(s,"type"),width:(0,o.xmlAttribute)(s,"width"),label:(0,o.xmlAttribute)(s,"label")},f=n(s);f.length&&(c.mediaTypes=f),r.sources.push(c)}(0,i.numChildren)(s)>0&&(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;p<u.length;p++)r.tracks.push(u[p]);return r};t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(13),i=r(1),o=r(6),u=function(e){return e&&e.__esModule?e:{default:e}}(o),a=function(e,t){for(var r="default",o=[],a=[],l=0;l<e.childNodes.length;l++){var s=e.childNodes[l];if("jwplayer"===s.prefix){var c=(0,n.localName)(s);"source"===c?(delete t.sources,o.push({file:(0,i.xmlAttribute)(s,"file"),default:(0,i.xmlAttribute)(s,r),label:(0,i.xmlAttribute)(s,"label"),type:(0,i.xmlAttribute)(s,"type")})):"track"===c?(delete t.tracks,a.push({file:(0,i.xmlAttribute)(s,"file"),default:(0,i.xmlAttribute)(s,r),kind:(0,i.xmlAttribute)(s,"kind"),label:(0,i.xmlAttribute)(s,"label")})):(t[c]=u.default.serialize((0,n.textContent)(s)),"file"===c&&t.sources&&delete t.sources)}t.file||(t.file=t.link)}if(o.length){t.sources=[];for(var f=0;f<o.length;f++)o[f].file.length>0&&(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;d<a.length;d++)a[d].file.length>0&&(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<n;r++)if(t[r].href===e)return!0;return!1}function l(e){var t=e.get("skin")?e.get("skin").url:void 0;if("string"==typeof t&&!a(t)){return new g.default(t,!0).load().catch(function(e){return e})}return f.resolved}function s(e){return e.attributes._destroyed}Object.defineProperty(t,"__esModule",{value:!0}),t.loadPlaylist=i;var c=r(5),f=r(4),d=n(f),p=r(41),h=n(p),v=r(29),y=n(v),m=r(31),g=n(m),b=r(12),_=function(e){return s(e)?d.default.reject():d.default.all([u(e),l(e)])};t.default=_},function(e,t,r){"use strict";function n(e,t){this.namespace=e,this.items=t}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(10),u=r(16),a=function(e){return e&&e.__esModule?e:{default:e}}(u),l={removeItem:function(){}};try{l=window.localStorage||l}catch(e){}i(n.prototype,{getAllItems:function(){var e=this;return this.items.reduce(function(t,r){var n=l[e.namespace+"."+r];return n&&(t[r]=(0,o.serialize)(n)),t},{})},track:function(e){var t=this;this.items.forEach(function(r){e.on("change:"+r,function(e,n){try{l[t.namespace+"."+r]=n}catch(e){a.default.debug&&console.error(e)}})})},clear:function(){var e=this;this.items.forEach(function(t){l.removeItem(e.namespace+"."+t)})}}),t.default=n},function(e,t,r){"use strict";function n(){for(var e=u.MEDIA_POOL_SIZE,t=[],r=[],n=0;n<e;n++){var a=o();t.push(a),r.push(a)}var l=r.shift(),s=r.shift();return{prime:function(){t.forEach(i)},getPrimedElement:function(){return r.length?r.shift():null},getAdElement:function(){return l},getTestElement:function(){return s},clean:function(e){if(e.src){e.removeAttribute("src");try{e.load()}catch(e){}}},recycle:function(e){e&&!r.some(function(t){return t===e})&&(this.clean(e),r.push(e))},syncVolume:function(e){t.forEach(function(t){t.volume=e/100})},syncMute:function(e){t.forEach(function(t){t.muted=e})}}}function i(e){if(e.src){if(a.OS.android&&!e.parentNode){var t=e.played;(!t||t&&!t.length)&&e.load()}}else e.load()}function o(){var e=document.createElement("video");return e.className="jw-video jw-reset",e.setAttribute("disableRemotePlayback",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("playsinline",""),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var u=r(36),a=r(11)}]).default;