/*! JW Player version 8.8.2 Copyright (c) 2019, JW Player, All Rights Reserved 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 https://ssl.p.jwpcdn.com/player/v/8.8.2/notice.txt */ window.jwplayer=function(t){function e(e){for(var n,i,o=e[0],u=e[1],a=0,s=[];a2;if(null==t&&(t=[]),p&&t.reduce===p)return r&&(e=G(e,r)),i?t.reduce(e,n):t.reduce(e);if(k(t,function(t,o,u){i?n=e.call(r,n,t,o,u):(n=t,i=!0)}),!i)throw new TypeError("Reduce of empty array with no initial value");return n},T=S,E=S,_=function(t,e,n){var r;return L(t,function(t,i,o){if(e.call(n,t,i,o))return r=t,!0}),r},A=_,F=function(t,e,n){var r=[];return null==t?r:v&&t.filter===v?t.filter(e,n):(k(t,function(t,i,o){e.call(n,t,i,o)&&r.push(t)}),r)},N=F,M=function(t,e,n){e||(e=Ct);var r=!0;return null==t?r:g&&t.every===g?t.every(e,n):(k(t,function(t,o,u){if(!(r=r&&e.call(n,t,o,u)))return i}),!!r)},I=M,L=function(t,e,n){e||(e=Ct);var r=!1;return null==t?r:b&&t.some===b?t.some(e,n):(k(t,function(t,o,u){if(r||(r=e.call(n,t,o,u)))return i}),!!r)},R=L,D=function(t){return null==t?0:t.length===+t.length?t.length:ot(t).length},B=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},z=function(t){return null==t?Ct:gt(t)?t:xt(t)},q=function(t){return function(e,n,r){var i={};return n=z(n),k(e,function(o,u){var a=n.call(r,o,u,e);t(i,a,o)}),i}},V=q(function(t,e,n){kt(t,e)?t[e].push(n):t[e]=[n]}),Q=q(function(t,e,n){t[e]=n}),X=function(t,e,n,r){for(var i=(n=z(n)).call(r,e),o=0,u=t.length;o>>1;n.call(r,t[a])=0)},U=W,H=function(t,e){return F(t,St(e))},Y=function(t,e){return _(t,St(e))},J=function(t){var e=s.apply(o,c.call(arguments,1));return F(t,function(t){return!W(e,t)})},K=function(t,e,n){if(null==t)return-1;var r=0,i=t.length;if(n){if("number"!=typeof n)return t[r=X(t,e)]===e?r:-1;r=n<0?Math.max(0,i+n):n}if(m&&t.indexOf===m)return t.indexOf(e,n);for(;ri&&(r=t,i=a)}),r},memoize:et,now:Tt,omit:function(t){var e={},n=s.apply(o,c.call(arguments,1));for(var r in t)W(n,r)||(e[r]=t[r]);return e},once:tt,partial:Z,pick:lt,pluck:function(t,e){return P(t,xt(e))},property:xt,propertyOf:function(t){return null==t?function(){}:function(e){return t[e]}},reduce:S,reject:function(t,e,n){return F(t,function(t,r,i){return!e.call(n,t,r,i)},n)},result:function(t,e){if(null!=t){var n=t[e];return gt(n)?n.call(t):n}},select:N,size:D,some:R,sortedIndex:X,throttle:it,where:H,without:function(t){return J(t,c.call(arguments,1))}}},function(t,e,n){"use strict";n.d(e,"y",function(){return o}),n.d(e,"x",function(){return u}),n.d(e,"w",function(){return a}),n.d(e,"t",function(){return c}),n.d(e,"u",function(){return s}),n.d(e,"a",function(){return l}),n.d(e,"c",function(){return f}),n.d(e,"v",function(){return d}),n.d(e,"d",function(){return p}),n.d(e,"h",function(){return h}),n.d(e,"e",function(){return v}),n.d(e,"k",function(){return g}),n.d(e,"i",function(){return b}),n.d(e,"j",function(){return m}),n.d(e,"b",function(){return P}),n.d(e,"f",function(){return x}),n.d(e,"g",function(){return S}),n.d(e,"o",function(){return T}),n.d(e,"l",function(){return E}),n.d(e,"m",function(){return _}),n.d(e,"n",function(){return A}),n.d(e,"p",function(){return F}),n.d(e,"q",function(){return N}),n.d(e,"r",function(){return M}),n.d(e,"s",function(){return I}),n.d(e,"A",function(){return L}),n.d(e,"z",function(){return R}),n.d(e,"B",function(){return D});var r=n(0);function i(t,e){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.code=Object(r.z)(n)?n:0,this.sourceError=i,e&&(this.key=e)}var e,n,o;return e=t,o=[{key:"logMessage",value:function(t){var e=t%1e3,n=Math.floor((t-e)/1e3),r=t;return e>=400&&e<600&&(r="".concat(n,"400-").concat(n,"599")),"JW Player ".concat(t>299999&&t<4e5?"Warning":"Error"," ").concat(t,". For more information see https://developer.jwplayer.com/jw-player/docs/developer-guide/api/errors-reference#").concat(r)}}],(n=null)&&i(e.prototype,n),o&&i(e,o),t}();function L(t,e,n){return n instanceof I&&n.code?n:new I(t,e,n)}function R(t,e){var n=L(M,e,t);return n.code=(t&&t.code||0)+e,n}function D(t){var e=t.name,n=t.message;switch(e){case"AbortError":return/pause/.test(n)?O:/load/.test(n)?w:j;case"NotAllowedError":return k;case"NotSupportedError":return C;default:return y}}},function(t,e,n){"use strict";n.d(e,"h",function(){return o}),n.d(e,"d",function(){return u}),n.d(e,"i",function(){return a}),n.d(e,"a",function(){return c}),n.d(e,"b",function(){return s}),n.d(e,"f",function(){return l}),n.d(e,"c",function(){return f}),n.d(e,"e",function(){return d}),n.d(e,"g",function(){return p});var r=n(0),i=window.parseFloat;function o(t){return t.replace(/^\s+|\s+$/g,"")}function u(t,e,n){for(t=""+t,n=n||"0";t.length-1?t.substr(t.lastIndexOf(".")+1,t.length).toLowerCase():void 0}function s(t){var e=(t/60|0)%60,n=t%60;return u(t/3600|0,2)+":"+u(e,2)+":"+u(n.toFixed(3),6)}function l(t,e){if(!t)return 0;if(Object(r.z)(t))return t;var n=t.replace(",","."),o=n.slice(-1),u=n.split(":"),a=u.length,c=0;if("s"===o)c=i(n);else if("m"===o)c=60*i(n);else if("h"===o)c=3600*i(n);else if(a>1){var s=a-1;4===a&&(e&&(c=i(u[s])/e),s-=1),c+=i(u[s]),c+=60*i(u[s-1]),a>=3&&(c+=3600*i(u[s-2]))}else c=i(n);return Object(r.z)(c)?c:0}function f(t,e,n){if(Object(r.x)(t)&&"%"===t.slice(-1)){var o=i(t);return e&&Object(r.z)(e)&&Object(r.z)(o)?e*o/100:null}return l(t,n)}function d(t,e){return t.map(function(t){return e+t})}function p(t,e){return t.map(function(t){return t+e})}},function(t,e,n){"use strict";n.d(e,"kb",function(){return r}),n.d(e,"nb",function(){return i}),n.d(e,"lb",function(){return o}),n.d(e,"pb",function(){return u}),n.d(e,"qb",function(){return a}),n.d(e,"mb",function(){return c}),n.d(e,"ob",function(){return s}),n.d(e,"rb",function(){return l}),n.d(e,"s",function(){return f}),n.d(e,"u",function(){return d}),n.d(e,"t",function(){return p}),n.d(e,"n",function(){return h}),n.d(e,"q",function(){return v}),n.d(e,"sb",function(){return g}),n.d(e,"r",function(){return b}),n.d(e,"Z",function(){return m}),n.d(e,"W",function(){return y}),n.d(e,"v",function(){return j}),n.d(e,"Y",function(){return w}),n.d(e,"w",function(){return O}),n.d(e,"ub",function(){return k}),n.d(e,"a",function(){return C}),n.d(e,"b",function(){return P}),n.d(e,"c",function(){return x}),n.d(e,"d",function(){return S}),n.d(e,"e",function(){return T}),n.d(e,"h",function(){return E}),n.d(e,"F",function(){return _}),n.d(e,"hb",function(){return A}),n.d(e,"Q",function(){return F}),n.d(e,"C",function(){return N}),n.d(e,"B",function(){return M}),n.d(e,"E",function(){return I}),n.d(e,"p",function(){return L}),n.d(e,"cb",function(){return R}),n.d(e,"m",function(){return D}),n.d(e,"G",function(){return B}),n.d(e,"H",function(){return z}),n.d(e,"N",function(){return q}),n.d(e,"O",function(){return V}),n.d(e,"R",function(){return Q}),n.d(e,"jb",function(){return X}),n.d(e,"bb",function(){return W}),n.d(e,"D",function(){return U}),n.d(e,"S",function(){return H}),n.d(e,"P",function(){return Y}),n.d(e,"T",function(){return J}),n.d(e,"V",function(){return K}),n.d(e,"M",function(){return $}),n.d(e,"L",function(){return G}),n.d(e,"K",function(){return Z}),n.d(e,"I",function(){return tt}),n.d(e,"J",function(){return et}),n.d(e,"U",function(){return nt}),n.d(e,"o",function(){return rt}),n.d(e,"y",function(){return it}),n.d(e,"ib",function(){return ot}),n.d(e,"db",function(){return ut}),n.d(e,"eb",function(){return at}),n.d(e,"f",function(){return ct}),n.d(e,"g",function(){return st}),n.d(e,"ab",function(){return lt}),n.d(e,"A",function(){return ft}),n.d(e,"l",function(){return dt}),n.d(e,"k",function(){return pt}),n.d(e,"fb",function(){return ht}),n.d(e,"gb",function(){return vt}),n.d(e,"tb",function(){return gt}),n.d(e,"z",function(){return bt}),n.d(e,"j",function(){return mt}),n.d(e,"X",function(){return yt}),n.d(e,"i",function(){return jt}),n.d(e,"x",function(){return wt});var r="buffering",i="idle",o="complete",u="paused",a="playing",c="error",s="loading",l="stalled",f="drag",d="dragStart",p="dragEnd",h="click",v="doubleClick",g="tap",b="doubleTap",m="over",y="move",j="enter",w="out",O=c,k="warning",C="adClick",P="adPause",x="adPlay",S="adSkipped",T="adTime",E="autostartNotAllowed",_=o,A="ready",F="seek",N="beforePlay",M="beforeComplete",I="bufferFull",L="displayClick",R="playlistComplete",D="cast",B="mediaError",z="firstFrame",q="playAttempt",V="playAttemptFailed",Q="seeked",X="setupError",W="state",U="bufferChange",H="time",Y="ratechange",J="mediaType",K="volume",$="mute",G="metadataCueParsed",Z="meta",tt="levels",et="levelsChanged",nt="visualQuality",rt="controls",it="fullscreen",ot="resize",ut="playlistItem",at="playlist",ct="audioTracks",st="audioTrackChanged",lt="playbackRateChanged",ft="logoClick",dt="captionsList",pt="captionsChanged",ht="providerChanged",vt="providerFirstFrame",gt="userAction",bt="instreamClick",mt="breakpoint",yt="fullscreenchange",jt="bandwidthEstimate",wt="float"},function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"a",function(){return u}),n.d(e,"c",function(){return a});var r=n(2);function i(t){var e="";return t&&(t.localName?e=t.localName:t.baseName&&(e=t.baseName)),e}function o(t){var e="";return t&&(t.textContent?e=Object(r.h)(t.textContent):t.text&&(e=Object(r.h)(t.text))),e}function u(t,e){return t.childNodes[e]}function a(t){return t.childNodes?t.childNodes.length:0}},function(t,e,n){"use strict";n.d(e,"h",function(){return u}),n.d(e,"f",function(){return a}),n.d(e,"l",function(){return s}),n.d(e,"k",function(){return l}),n.d(e,"p",function(){return f}),n.d(e,"g",function(){return d}),n.d(e,"e",function(){return p}),n.d(e,"n",function(){return h}),n.d(e,"d",function(){return v}),n.d(e,"i",function(){return g}),n.d(e,"q",function(){return b}),n.d(e,"j",function(){return m}),n.d(e,"c",function(){return y}),n.d(e,"b",function(){return j}),n.d(e,"o",function(){return w}),n.d(e,"m",function(){return O}),n.d(e,"a",function(){return k});var r=navigator.userAgent;function i(t){return null!==r.match(t)}function o(t){return function(){return i(t)}}function u(){var t=k();return!!(t&&t>=18)}var a=o(/gecko\//i),c=o(/trident\/.+rv:\s*11/i),s=o(/iP(hone|od)/i),l=o(/iPad/i),f=o(/Macintosh/i),d=o(/FBAV/i);function p(){return i(/\sEdge\/\d+/i)}function h(){return i(/msie/i)}function v(){return i(/\s(?:(?:Headless)?Chrome|CriOS)\//i)&&!p()&&!i(/UCBrowser/i)}function g(){return p()||c()||h()}function b(){return i(/safari/i)&&!i(/(?:Chrome|CriOS|chromium|android|phantom)/i)}function m(){return i(/iP(hone|ad|od)/i)}function y(){return!(i(/chrome\/[123456789]/i)&&!i(/chrome\/18/i)&&!a())&&j()}function j(){return i(/Android/i)&&!i(/Windows Phone/i)}function w(){return m()||j()||i(/Windows Phone/i)}function O(){try{return window.self!==window.top}catch(t){return!0}}function k(){if(j())return 0;var t,e=navigator.plugins;if(e&&(t=e["Shockwave Flash"])&&t.description)return parseFloat(t.description.replace(/\D+(\d+\.?\d*).*/,"$1"));if(void 0!==window.ActiveXObject){try{if(t=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return parseFloat(t.GetVariable("$version").split(" ")[1].replace(/\s*,\s*/,"."))}catch(t){return 0}return t}return 0}},function(t,e,n){"use strict";n.r(e);var r=n(5);function i(t,e){if(t&&t.length>e)return t[e]}var o=n(0);n.d(e,"Browser",function(){return a}),n.d(e,"OS",function(){return c}),n.d(e,"Features",function(){return s});var u=navigator.userAgent;var a={},c={},s={};Object.defineProperties(a,{androidNative:{get:Object(o.C)(r.c),enumerable:!0},chrome:{get:Object(o.C)(r.d),enumerable:!0},edge:{get:Object(o.C)(r.e),enumerable:!0},facebook:{get:Object(o.C)(r.g),enumerable:!0},firefox:{get:Object(o.C)(r.f),enumerable:!0},ie:{get:Object(o.C)(r.i),enumerable:!0},msie:{get:Object(o.C)(r.n),enumerable:!0},safari:{get:Object(o.C)(r.q),enumerable:!0},version:{get:Object(o.C)(function(t,e){var n,r,i,o;return t.chrome?n=-1!==e.indexOf("Chrome")?e.substring(e.indexOf("Chrome")+7):e.substring(e.indexOf("CriOS")+6):t.safari?n=e.substring(e.indexOf("Version")+8):t.firefox?n=e.substring(e.indexOf("Firefox")+8):t.edge?n=e.substring(e.indexOf("Edge")+5):t.ie&&(-1!==e.indexOf("rv:")?n=e.substring(e.indexOf("rv:")+3):-1!==e.indexOf("MSIE")&&(n=e.substring(e.indexOf("MSIE")+5))),n&&(-1!==(o=n.indexOf(";"))&&(n=n.substring(0,o)),-1!==(o=n.indexOf(" "))&&(n=n.substring(0,o)),-1!==(o=n.indexOf(")"))&&(n=n.substring(0,o)),r=parseInt(n,10),i=parseInt(n.split(".")[1],10)),{version:n,major:r,minor:i}}.bind(void 0,a,u)),enumerable:!0}}),Object.defineProperties(c,{android:{get:Object(o.C)(r.b),enumerable:!0},iOS:{get:Object(o.C)(r.j),enumerable:!0},mobile:{get:Object(o.C)(r.o),enumerable:!0},mac:{get:Object(o.C)(r.p),enumerable:!0},iPad:{get:Object(o.C)(r.k),enumerable:!0},iPhone:{get:Object(o.C)(r.l),enumerable:!0},windows:{get:Object(o.C)(function(){return u.indexOf("Windows")>-1}),enumerable:!0},version:{get:Object(o.C)(function(t,e){var n,r,o;if(t.windows)switch(n=i(/Windows(?: NT|)? ([._\d]+)/.exec(e),1)){case"6.1":n="7.0";break;case"6.2":n="8.0";break;case"6.3":n="8.1"}else t.android?n=i(/Android ([._\d]+)/.exec(e),1):t.iOS?n=i(/OS ([._\d]+)/.exec(e),1):t.mac&&(n=i(/Mac OS X (10[._\d]+)/.exec(e),1));if(n){r=parseInt(n,10);var u=n.split(/[._]/);u&&(o=parseInt(u[1],10))}return{version:n,major:r,minor:o}}.bind(void 0,c,u)),enumerable:!0}}),Object.defineProperties(s,{flash:{get:Object(o.C)(r.h),enumerable:!0},flashVersion:{get:Object(o.C)(r.a),enumerable:!0},iframe:{get:Object(o.C)(r.m),enumerable:!0},passiveEvents:{get:Object(o.C)(function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(t){}return t}),enumerable:!0},backgroundLoading:{get:Object(o.C)(function(){return!(c.iOS||a.safari)}),enumerable:!0}})},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.r(e),n.d(e,"exists",function(){return o}),n.d(e,"isHTTPS",function(){return u}),n.d(e,"isFileProtocol",function(){return a}),n.d(e,"isRtmp",function(){return c}),n.d(e,"isYouTube",function(){return s}),n.d(e,"typeOf",function(){return l}),n.d(e,"isDeepKeyCompliant",function(){return f});var i=window.location.protocol;function o(t){switch(r(t)){case"string":return t.length>0;case"object":return null!==t;case"undefined":return!1;default:return!0}}function u(){return"https:"===i}function a(){return"file:"===i}function c(t,e){return 0===t.indexOf("rtmp:")||"rtmp"===e}function s(t,e){return"youtube"===e||/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(t)}function l(t){if(null===t)return"null";var e=r(t);return"object"===e&&Array.isArray(t)?"array":e}function f(t,e,n){var i=Object.keys(t);return Object.keys(e).length>=i.length&&i.every(function(i){var o=t[i],u=e[i];return o&&"object"===r(o)?!(!u||"object"!==r(u))&&f(o,u,n):n(i,t)})}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var n=0;n0?"":"px")}function p(t){return Object(i.x)(t.className)?t.className.split(" "):[]}function h(t,e){e=Object(o.h)(e),t.className!==e&&(t.className=e)}function v(t){return t.classList?t.classList:p(t)}function g(t,e){var n=p(t);(Array.isArray(e)?e:e.split(" ")).forEach(function(t){Object(i.e)(n,t)||n.push(t)}),h(t,n.join(" "))}function b(t,e){var n=p(t),r=Array.isArray(e)?e:e.split(" ");h(t,Object(i.h)(n,r).join(" "))}function m(t,e,n){var r=t.className||"";e.test(r)?r=r.replace(e,n):n&&(r+=" "+n),h(t,r)}function y(t,e,n){var r=u(t,e);(n=Object(i.r)(n)?n:!r)!==r&&(n?g(t,e):b(t,e))}function j(t,e,n){t.setAttribute(e,n)}function w(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function O(t){var e=document.createElement("link");e.rel="stylesheet",e.href=t,document.getElementsByTagName("head")[0].appendChild(e)}function k(t){t&&w(t)}function C(t){var e={left:0,right:0,width:0,height:0,top:0,bottom:0};if(!t||!document.body.contains(t))return e;var n=t.getBoundingClientRect(),r=window.pageYOffset,i=window.pageXOffset;return n.width||n.height||n.left||n.top?(e.left=n.left+i,e.right=n.right+i,e.top=n.top+r,e.bottom=n.bottom+r,e.width=n.right-n.left,e.height=n.bottom-n.top,e):e}function P(t,e){t.insertBefore(e,t.firstChild)}function x(t){return t.nextElementSibling}function S(t){return t.previousElementSibling}function T(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=document.createElement("a");r.href=t,r.target=e,(r=Object(i.j)(r,n)).click()}},function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"d",function(){return f}),n.d(e,"b",function(){return d}),n.d(e,"c",function(){return p});var r=n(28),i=n(29),o=n(15),u=n(16),a=n(38),c=n(1),s=null,l={};function f(t){return s||(s=function(t){var e=t.get("controls"),s=h(),f=function(t,e){var n=t.get("playlist");if(Array.isArray(n)&&n.length)for(var u=Object(i.c)(Object(r.a)(n[0]),t),a=0;a-1?t:parseInt(t.replace("px",""),10):t}function f(t,e){if(t<=0&&!e||Object(i.u)(parseInt(t)))return"00:00";var n=t<0?"-":"";t=Math.abs(t);var r=Math.floor(t/3600),o=Math.floor((t-3600*r)/60),u=Math.floor(t%60);return n+(r?r+":":"")+(o<10?"0":"")+o+":"+(u<10?"0":"")+u}},function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return u});var r=n(0),i=function(t){return t.replace(/^(.*\/)?([^-]*)-?.*\.(js)$/,"$2")};function o(t){var e=305e3;if(!t)return e;switch(i(t)){case"jwpsrv":e=305001;break;case"googima":e=305002;break;case"vast":e=305003;break;case"freewheel":e=305004;break;case"dai":e=305005;break;case"gapro":e=305006}return e}function u(t,e,n){var i=t.name,o=document.createElement("div");o.id=n.id+"_"+i,o.className="jw-plugin jw-reset";var u=Object(r.j)({},e),a=t.getNewInstance(n,u,o);return n.addPlugin(i,a),a}},function(t,e,n){"use strict";n.d(e,"j",function(){return p}),n.d(e,"d",function(){return h}),n.d(e,"b",function(){return v}),n.d(e,"e",function(){return b}),n.d(e,"g",function(){return y}),n.d(e,"h",function(){return j}),n.d(e,"c",function(){return w}),n.d(e,"f",function(){return k}),n.d(e,"i",function(){return C}),n.d(e,"a",function(){return P});var r=n(0),i=n(5),o=n(27),u=n(7),a=n(40),c={},s={zh:"Chinese",nl:"Dutch",en:"English",fr:"French",de:"German",it:"Italian",ja:"Japanese",pt:"Portuguese",ru:"Russian",es:"Spanish",el:"Greek",fi:"Finnish",id:"Indonesian",ko:"Korean",th:"Thai",vi:"Vietnamese"},l=Object(r.q)(s);function f(t){var e=d(t),n=e.indexOf("_");return-1===n?e:e.substring(0,n)}function d(t){return t.toLowerCase().replace("-","_")}function p(t){return t?Object.keys(t).reduce(function(e,n){return e[d(n)]=t[n],e},{}):{}}function h(t){if(t)return 3===t.length?t:s[f(t)]||t}function v(t){return l[t]||""}function g(t){var e=t.querySelector("html");return e?e.getAttribute("lang"):null}function b(){var t=g(document);if(!t&&Object(i.m)())try{t=g(window.top.document)}catch(t){}return t||navigator.language||"en"}var m=["ar","da","de","es","fi","fr","he","id","it","ja","ko","nl","no","pt","ro","ru","sv","th","tr","vi","zh"];function y(t){return 8207===t.charCodeAt(0)||/^[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/.test(t)}function j(t){return m.indexOf(f(t))>=0}function w(t,e,n){return Object(r.j)({},function(t){var e=t.advertising,n=t.related,i=t.sharing,o=t.abouttext,u=Object(r.j)({},t.localization);e&&(u.advertising=u.advertising||{},O(u.advertising,e,"admessage"),O(u.advertising,e,"cuetext"),O(u.advertising,e,"loadingAd"),O(u.advertising,e,"podmessage"),O(u.advertising,e,"skipmessage"),O(u.advertising,e,"skiptext"));"string"==typeof u.related?u.related={heading:u.related}:u.related=u.related||{};n&&O(u.related,n,"autoplaymessage");i&&(u.sharing=u.sharing||{},O(u.sharing,i,"heading"),O(u.sharing,i,"copied"));o&&O(u,t,"abouttext");var a=u.close||u.nextUpClose;a&&(u.close=a);return u}(t),e[f(n)],e[d(n)])}function O(t,e,n){var r=t[n]||e[n];r&&(t[n]=r)}function k(t){return Object(u.isDeepKeyCompliant)(a.a,t,function(t,e){return"string"==typeof e[t]})}function C(t,e){var n=c[e];if(!n){var r="".concat(t,"translations/").concat(f(e),".json");c[e]=n=new Promise(function(t,n){Object(o.a)({url:r,oncomplete:t,onerror:function(t,r,i,o){c[e]=null,n(o)},responseType:"json"})})}return n}function P(t,e){var n=Object(r.j)({},t,e);return x(n,"errors",t,e),x(n,"related",t,e),x(n,"sharing",t,e),x(n,"advertising",t,e),n}function x(t,e,n,i){t[e]=Object(r.j)({},n[e],i[e])}},function(t,e,n){"use strict";e.a=[]},function(t,e,n){"use strict";var r=n(32),i=n(6),o=n(18),u=n(0),a=n(7),c=n(36),s=Object(u.l)(r.a,Object(u.B)({name:"html5"})),l=s.supports;function f(t){var e=window.MediaSource;return Object(u.a)(t,function(t){return!!e&&!!e.isTypeSupported&&e.isTypeSupported(t)})}s.supports=function(t,e){var n=l.apply(this,arguments);if(n&&t.drm&&"hls"===t.type){var r=Object(o.a)(e)("drm");if(r&&t.drm.fairplay){var i=window.WebKitMediaKeys;return i&&i.isTypeSupported&&i.isTypeSupported("com.apple.fps.1_0","video/mp4")}return r}return n},r.a.push({name:"shaka",supports:function(t){return!(t.drm&&!Object(c.a)(t.drm))&&(!(!window.HTMLVideoElement||!window.MediaSource)&&(f(t.mediaTypes)&&("dash"===t.type||"mpd"===t.type||(t.file||"").indexOf("mpd-time-csf")>-1)))}}),r.a.splice(0,0,{name:"hlsjs",supports:function(t){if(t.drm)return!1;var e=t.file.indexOf(".m3u8")>-1,n="hls"===t.type||"m3u8"===t.type;if(!e&&!n)return!1;var r=i.Browser.chrome||i.Browser.firefox||i.Browser.edge||i.Browser.ie&&11===i.Browser.version.major,o=i.OS.android&&!1===t.hlsjsdefault,u=i.Browser.safari&&!!t.safarihlsjs;return f(t.mediaTypes||['video/mp4;codecs="avc1.4d400d,mp4a.40.2"'])&&(r||u)&&!o}}),r.a.push({name:"flash",supports:function(t){if(!i.Features.flash||t.drm)return!1;var e=t.type;return"hls"===e||"m3u8"===e||!Object(a.isRtmp)(t.file,e)&&["flv","f4v","mov","m4a","m4v","mp4","aac","f4a","mp3","mpeg","smil"].indexOf(e)>-1}}),e.a=r.a},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(33),i=n(15),o=n(55),u=n(0);function a(t){var e=t.getName().name;if(!r.a[e]){if(!Object(u.l)(i.a,Object(u.B)({name:e}))){if(!Object(u.t)(t.supports))throw new Error("Tried to register a provider with an invalid object");i.a.unshift({name:e,supports:t.supports})}Object(u.g)(t.prototype,o.a),r.a[e]=t}}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=Date.now||function(){return(new Date).getTime()}},function(t,e,n){"use strict";n.d(e,"a",function(){return h});var r="free",i="starter",o="business",u="premium",a="enterprise",c="developer",s="platinum",l="ads",f="unlimited",d="trial",p="invalid";function h(t){var e={setup:[r,i,o,u,a,c,l,f,d,s],drm:[a,c,l,f,d],ads:[l,f,d,s,a,c,o],jwpsrv:[r,i,o,u,a,c,l,d,s,p],discovery:[l,a,c,d,f]};return function(n){return e[n]&&e[n].indexOf(t)>-1}}},function(t,e,n){"use strict";n.r(e),n.d(e,"getScriptPath",function(){return o}),n.d(e,"repo",function(){return u}),n.d(e,"versionCheck",function(){return a}),n.d(e,"loadFrom",function(){return c});var r=n(30),i=n(7),o=function(t){for(var e=document.getElementsByTagName("script"),n=0;n=0)return r.substr(0,i+1)}}return""},u=function(){var t="//ssl.p.jwpcdn.com/player/v/8.8.2/",e=Object(i.isFileProtocol)()?"https:":"";return"".concat(e).concat(t)},a=function(t){var e=("0"+t).split(/\W/),n=r.a.split(/\W/),i=parseFloat(e[0]),o=parseFloat(n[0]);return!(i>o)&&!(i===o&&parseFloat("0"+e[1])>parseFloat(n[1]))},c=function(){return u()}},,,function(t,e,n){"use strict";e.a={debug:!1}},function(t,e,n){"use strict";n.d(e,"a",function(){return c}),n.d(e,"b",function(){return s}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return p}),n.d(e,"c",function(){return h});var r=n(2),i=n(41),o=n.n(i);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a,c=o.a.clear;function s(t,e,n,r){n=n||"all-players";var i="";if("object"===u(e)){var a=document.createElement("div");l(a,e);var c=a.style.cssText;Object.prototype.hasOwnProperty.call(e,"content")&&c&&(c="".concat(c,' content: "').concat(e.content,'";')),r&&c&&(c=c.replace(/;/g," !important;")),i="{"+c+"}"}else"string"==typeof e&&(i=e);""!==i&&"{}"!==i?o.a.style([[t,t+i]],n):o.a.clear(n,t)}function l(t,e){if(null!=t){var n;void 0===t.length&&(t=[t]);var r={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=d(n,e[n]));for(var i=0;i2){n=s[1];var l=parseInt(s[2]);l>0&&(c=new Date).setTime(l)}}catch(t){e="invalid"}this.edition=function(){return e},this.token=function(){return n},this.expiration=function(){return c},this.duration=function(){return c?c.getTime()-(new Date).getTime():0},this.error=function(){var r;return void 0===t?r=100011:"invalid"!==e&&n?this.duration()<0&&(r=a):r=100012,r?new u.s(u.m,r):null}}},function(t,e,n){"use strict";n.d(e,"a",function(){return m});var r=n(0),i=n(11),o=n(7),u=n(1),a=1,c=2,s=3,l=4,f=5,d=6,p=7,h=601,v=602,g=611,b=function(){};function m(t,e,n,h){var O;t===Object(t)&&(t=(h=t).url);var k=Object(r.j)({xhr:null,url:t,withCredentials:!1,retryWithoutCredentials:!1,timeout:6e4,timeoutId:-1,oncomplete:e||b,onerror:n||b,mimeType:h&&!h.responseType?"text/xml":"",requireValidXML:!1,responseType:h&&h.plainText?"text":"",useDomParser:!1,requestFilter:null},h),C=function(t,e){return function(t,n){var i=t.currentTarget||e.xhr;if(clearTimeout(e.timeoutId),e.retryWithoutCredentials&&e.xhr.withCredentials){y(i);var o=Object(r.j)({},e,{xhr:null,withCredentials:!1,retryWithoutCredentials:!1});m(o)}else!n&&i.status>=400&&i.status<600&&(n=i.status),j(e,n?u.o:u.r,n||d,t)}}(0,k);if("XMLHttpRequest"in window){if(O=k.xhr=k.xhr||new window.XMLHttpRequest,"function"==typeof k.requestFilter){var P;try{P=k.requestFilter({url:t,xhr:O})}catch(t){return C(t,f),O}P&&"open"in P&&"send"in P&&(O=k.xhr=P)}O.onreadystatechange=function(t){return function(e){var n=e.currentTarget||t.xhr;if(4===n.readyState){clearTimeout(t.timeoutId);var a=n.status;if(a>=400)return void j(t,u.o,a<600?a:d);if(200===a)return function(t){return function(e){var n=e.currentTarget||t.xhr;if(clearTimeout(t.timeoutId),t.responseType){if("json"===t.responseType)return function(t,e){if(!t.response||"string"==typeof t.response&&'"'!==t.responseText.substr(1))try{t=Object(r.j)({},t,{response:JSON.parse(t.responseText)})}catch(t){return void j(e,u.o,g,t)}return e.oncomplete(t)}(n,t)}else{var o,a=n.responseXML;if(a)try{o=a.firstChild}catch(t){}if(a&&o)return w(n,a,t);if(t.useDomParser&&n.responseText&&!a&&(a=Object(i.parseXML)(n.responseText))&&a.firstChild)return w(n,a,t);if(t.requireValidXML)return void j(t,u.o,v)}t.oncomplete(n)}}(t)(e);0===a&&Object(o.isFileProtocol)()&&!/^[a-z][a-z0-9+.-]*:/.test(t.url)&&j(t,u.o,p)}}}(k),O.onerror=C,"overrideMimeType"in O?k.mimeType&&O.overrideMimeType(k.mimeType):k.useDomParser=!0;try{t=t.replace(/#.*$/,""),O.open("GET",t,!0)}catch(t){return C(t,s),O}if(k.responseType)try{O.responseType=k.responseType}catch(t){}k.timeout&&(k.timeoutId=setTimeout(function(){y(O),j(k,u.r,a)},k.timeout),O.onabort=function(){clearTimeout(k.timeoutId)});try{k.withCredentials&&"withCredentials"in O&&(O.withCredentials=!0),O.send()}catch(t){C(t,l)}return O}j(k,u.r,c)}function y(t){t.onload=null,t.onprogress=null,t.onreadystatechange=null,t.onerror=null,"abort"in t&&t.abort()}function j(t,e,n,r){t.onerror(e,t.url,t.xhr,new u.s(e,n,r))}function w(t,e,n){var i=e.documentElement;if(!n.requireValidXML||"parsererror"!==i.nodeName&&!i.getElementsByTagName("parsererror").length)return t.responseXML||(t=Object(r.j)({},t,{responseXML:e})),n.oncomplete(t);j(n,u.o,h)}},function(t,e,n){"use strict";var r=n(0),i=n(34),o=function(t){if(t&&t.file)return Object(r.j)({},{kind:"captions",default:!1},t)},u=Array.isArray;e.a=function(t){u((t=t||{}).tracks)||delete t.tracks;var e=Object(r.j)({},{sources:[],tracks:[],minDvrWindow:120,dvrSeekLimit:25},t);e.dvrSeekLimit<5&&(e.dvrSeekLimit=5),e.sources!==Object(e.sources)||u(e.sources)||(e.sources=[Object(i.a)(e.sources)]),u(e.sources)&&0!==e.sources.length||(t.levels?e.sources=t.levels:e.sources=[Object(i.a)(t)]);for(var n=0;nk*k&&(L(t,i.u,e),t.dragged=!0,L(t,i.s,e))}n||"touchmove"!==e.type||D(e)},s=function(n){if(clearTimeout(h),t.el)if(M(t),N(t,y),t.dragged)t.dragged=!1,L(t,i.t,n);else if(-1===n.type.indexOf("cancel")&&e.contains(n.target)){if(Object(u.a)()-t.lastStart>P)return;var r="pointerup"===n.type||"pointercancel"===n.type,o="mouseup"===n.type||r&&"mouse"===n.pointerType;!function(t,e,n){if(t.enableDoubleTap)if(Object(u.a)()-t.lastClick4&&void 0!==arguments[4]?arguments[4]:O,o=t.handlers[e],u=t.options[e];if(o||(o=t.handlers[e]={},u=t.options[e]={}),o[n])throw new Error("".concat(e," ").concat(n," already registered"));o[n]=r,u[n]=i;var a=t.el;(e===y?A(a):a).addEventListener(n,r,i)}function N(t,e){var n=t.el,r=t.handlers,i=t.options,o=e===y?A(n):n,u=r[e],a=i[e];u&&(Object.keys(u).forEach(function(t){var e=a[t];"boolean"==typeof e?o.removeEventListener(t,u[t],e):o.removeEventListener(t,u[t])}),r[e]=null,i[e]=null)}function M(t){var e=t.el;null!==t.pointerId&&(e.releasePointerCapture(t.pointerId),t.pointerId=null)}function I(t,e,n){var r=t.el,i=n.target;t.trigger(e,{type:e,sourceEvent:n,currentTarget:r,target:i})}function L(t,e,n){var r=function(t,e,n){var r,i=e.target,o=e.touches,u=e.changedTouches,a=e.pointerType;o||u?(r=o&&o.length?o[0]:u[0],a=a||"touch"):(r=e,a=a||"mouse");var c=r,s=c.pageX,l=c.pageY;return{type:t,pointerType:a,pageX:s,pageY:l,sourceEvent:e,currentTarget:n,target:i}}(e,n,t.el);t.trigger(e,r)}function R(t){return 0===t.type.indexOf("touch")?(t.originalEvent||t).changedTouches[0]:t}function D(t){t.preventDefault&&t.preventDefault()}},function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"d",function(){return s}),n.d(e,"c",function(){return l}),n.d(e,"a",function(){return f});var r,i=n(18),o=[{configName:"clearkey",keyName:"org.w3.clearkey"},{configName:"widevine",keyName:"com.widevine.alpha"},{configName:"playready",keyName:"com.microsoft.playready"}],u=[],a={};function c(t){return t.some(function(t){return!!t.drm||t.sources.some(function(t){return!!t.drm})})}function s(t){return r||((navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration||window.MSMediaKeys)&&Object(i.a)(t)("drm")?(o.forEach(function(t){var e,n,r=(e=t.keyName,n=[{initDataTypes:["cenc"],videoCapabilities:[{contentType:'video/mp4;codecs="avc1.4d401e"'}],audioCapabilities:[{contentType:'audio/mp4;codecs="mp4a.40.2"'}]}],navigator.requestMediaKeySystemAccess?navigator.requestMediaKeySystemAccess(e,n):new Promise(function(t,n){var r;try{r=new window.MSMediaKeys(e)}catch(t){return void n(t)}t(r)})).then(function(){a[t.configName]=!0}).catch(function(){a[t.configName]=!1});u.push(r)}),r=Promise.all(u)):Promise.resolve())}function l(t){return a[t]}function f(t){if(r)return Object.keys(t).some(function(t){return l(t)})}},,function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return u});var r=n(10),i=null,o={};function u(){return i||(i=n.e(1).then(function(t){var e=n(20).default;return o.controls=e,e}.bind(null,n)).catch(function(){i=null,Object(r.c)(301130)()})),i}},function(t,e,n){"use strict";var r=document.createElement("video");e.a=r},function(t,e,n){"use strict";e.a={advertising:{admessage:"This ad will end in xx",cuetext:"Advertisement",displayHeading:"Advertisement",loadingAd:"Loading ad",podmessage:"Ad __AD_POD_CURRENT__ of __AD_POD_LENGTH__.",skipmessage:"Skip ad in xx",skiptext:"Skip"},airplay:"AirPlay",audioTracks:"Audio Tracks",auto:"Auto",buffer:"Loading",cast:"Chromecast",cc:"Closed Captions",close:"Close",errors:{badConnection:"This video cannot be played because of a problem with your internet connection.",cantLoadPlayer:"Sorry, the video player failed to load.",cantPlayInBrowser:"The video cannot be played in this browser.",cantPlayVideo:"This video file cannot be played.",errorCode:"Error Code",liveStreamDown:"The live stream is either down or has ended.",protectedContent:"There was a problem providing access to protected content.",technicalError:"This video cannot be played because of a technical error."},exitFullscreen:"Exit Fullscreen",fullscreen:"Fullscreen",hd:"Quality",liveBroadcast:"Live",logo:"Logo",mute:"Mute",next:"Next",nextUp:"Next Up",notLive:"Not Live",off:"Off",pause:"Pause",play:"Play",playback:"Play",playbackRates:"Playback Rates",player:"Video Player",poweredBy:"Powered by",prev:"Previous",related:{autoplaymessage:"Next up in xx",heading:"More Videos"},replay:"Replay",rewind:"Rewind 10 Seconds",settings:"Settings",sharing:{copied:"Copied",email:"Email",embed:"Embed",heading:"Share",link:"Link"},slider:"Seek",stop:"Stop",unmute:"Unmute",videoInfo:"About This Video",volume:"Volume",volumeSlider:"Volume"}},function(t,e){var n,r,i={},o={},u=(n=function(){return document.head||document.getElementsByTagName("head")[0]},function(){return void 0===r&&(r=n.apply(this,arguments)),r});function a(t){var e=document.createElement("style");return e.type="text/css",e.setAttribute("data-jwplayer-id",t),function(t){u().appendChild(t)}(e),e}function c(t,e){var n,r,i,u=o[t];u||(u=o[t]={element:a(t),counter:0});var c=u.counter++;return n=u.element,i=function(){f(n,c,"")},(r=function(t){f(n,c,t)})(e.css),function(t){if(t){if(t.css===e.css&&t.media===e.media)return;r((e=t).css)}else i()}}t.exports={style:function(t,e){!function(t,e){for(var n=0;n')+'
'+'
'.concat(e||"",'').concat(i,"
")+"
"},i=n(9),o=n(23);function u(t,e){var n=e.message,u=e.code,a=r(t.get("id"),n,t.get("localization").errors.errorCode,u),c=t.get("width"),s=t.get("height"),l=Object(i.e)(a);return Object(o.d)(l,{width:c.toString().indexOf("%")>0?c:"".concat(c,"px"),height:s.toString().indexOf("%")>0?s:"".concat(s,"px")}),l}n.d(e,"a",function(){return u})},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=window.atob},function(t,e,n){"use strict";var r=n(4),i=n(2);function o(t){for(var e=[],n=0;n0&&(n=t(l,n));break;case"title":n.title=Object(r.d)(l);break;case"description":n.description=Object(r.d)(l);break;case"guid":n.mediaid=Object(r.d)(l);break;case"thumbnail":n.image||(n.image=Object(i.i)(l,"url"));break;case"group":t(l,n);break;case"subtitle":var p={};p.file=Object(i.i)(l,"url"),p.kind="captions",Object(i.i)(l,"lang").length>0&&(p.label=(u=Object(i.i)(l,"lang"),a=void 0,(a={zh:"Chinese",nl:"Dutch",en:"English",fr:"French",de:"German",it:"Italian",ja:"Japanese",pt:"Portuguese",ru:"Russian",es:"Spanish"})[u]?a[u]:u)),c.push(p)}}}n.hasOwnProperty("tracks")||(n.tracks=[]);for(var h=0;h0&&(o[f][n]="true"===o[f][n],o[f].label.length||delete o[f].label,e.sources.push(o[f]))}if(u.length){e.tracks=[];for(var d=0;d0&&(u[d][n]="true"===u[d][n],u[d].kind=u[d].kind.length?u[d].kind:"captions",u[d].label.length||delete u[d].label,e.tracks.push(u[d]))}return e},s=n(28);function l(t){var e=[];e.feedData={};for(var n=0;n0)return s;var n=t.indexOf("/"),r=Object(u.a)(t);return!(e<0&&n<0)||r&&isNaN(r)?l:2}};var d=function(t){this.url=t,this.promise_=null};Object.defineProperties(d.prototype,{promise:{get:function(){return this.promise_||this.load()},set:function(){}}}),Object(r.j)(d.prototype,{load:function(){var t=this,e=this.promise_;if(!e){if(2===f(this.url))e=Promise.resolve(this);else{var n=new i.a(function(t){switch(f(t)){case s:return t;case l:return Object(o.getAbsolutePath)(t,window.location.href)}}(this.url));this.loader=n,e=n.load().then(function(){return t})}this.promise_=e}return e},registerPlugin:function(t,e,n){this.name=t,this.target=e,this.js=n},getNewInstance:function(t,e,n){var r=this.js;if("function"!=typeof r)throw new a.s(null,Object(c.c)(this.url)+100);var i=new r(t,e,n);return i.addToPlayer=function(){var e=t.getContainer().querySelector(".jw-overlays");e&&(n.left=e.style.left,n.top=e.style.top,e.appendChild(n),i.displayArea=e)},i.resizeHandler=function(){var t=i.displayArea;t&&i.resize(t.clientWidth,t.clientHeight)},i}}),e.a=d},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r="function"==typeof console.log?console.log.bind(console):function(){}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(44);function i(t){for(var e=new Array(Math.ceil(t.length/4)),n=0;n>>2&3;for(var p=s-1;p>=0;p--)o=((l=a[p>0?p-1:s-1])>>>5^f<<2)+(f>>>3^l<<4)^(d^f)+(c[3&p^u]^l),f=a[p]-=o;d-=2654435769}return function(t){try{return decodeURIComponent(escape(t))}catch(e){return t}}(function(t){for(var e=new Array(t.length),n=0;n>>8&255,t[n]>>>16&255,t[n]>>>24&255);return e.join("")}(a).replace(/\0+$/,""))}},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i});var r={audioMode:!1,flashBlocked:!1,item:0,itemMeta:{},playbackRate:1,playRejected:!1,state:n(3).nb,itemReady:!1,controlsEnabled:!1},i={position:0,duration:0,buffer:0,currentTime:0}},,function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t,e,n){return Math.max(Math.min(t,n),e)}},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n(8);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n0;){var e=r.shift(),n=e.command,o=e.args;(i[n]||t[n]).apply(t,o)}}e.forEach(function(e){var u=t[e];i[e]=u,t[e]=function(){var t=Array.prototype.slice.call(arguments,0);n()?r.push({command:e,args:t}):(o(),u&&u.apply(this,t))}}),Object.defineProperty(this,"queue",{enumerable:!0,get:function(){return r}}),this.flush=o,this.empty=function(){r.length=0},this.off=function(){e.forEach(function(e){var n=i[e];n&&(t[e]=n,delete i[e])})},this.destroy=function(){this.off(),this.empty()}}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o});var r=4,i=2,o=1},function(t,e,n){"use strict";var r=n(3),i=function(){},o=function(){return!1},u={name:"default"},a={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,supportsFullscreen:o,getContainer:i,setContainer:i,getName:function(){return u},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},getBandwidthEstimate:function(){return null},setControls:i,attachMedia:i,detachMedia:i,init:i,setState:function(t){this.state=t,this.trigger(r.bb,{newstate:t})},sendMediaType:function(t){var e=t[0],n=e.type,i=e.mimeType,o="aac"===n||"mp3"===n||"mpeg"===n||i&&0===i.indexOf("audio/");this.trigger(r.T,{mediaType:o?"audio":"video"})}};e.a=a},function(t,e,n){"use strict";var r=n(0),i=n(3),o=n(4),u=n(45),a=n(27),c=n(8),s=n(1);e.a=function(){var t=Object(r.j)(this,c.a);function e(e){try{var a,c=e.responseXML?e.responseXML.childNodes:null,l="";if(c){for(var f=0;f=.25&&t<=4}).map(function(t){return Math.round(100*t)/100})).indexOf(1)<0&&b.push(1),b.sort(),h.playbackRateControls=!0,h.playbackRates=b}(!h.playbackRateControls||h.playbackRates.indexOf(h.defaultPlaybackRate)<0)&&(h.defaultPlaybackRate=1),h.playbackRate=h.defaultPlaybackRate,h.aspectratio||delete h.aspectratio;var m=h.playlist;if(m)Array.isArray(m.playlist)&&(h.feedData=m,h.playlist=m.playlist);else{var y=Object(r.D)(h,["title","description","type","mediaid","image","file","sources","tracks","preload","duration"]);h.playlist=[y]}h.qualityLabels=h.qualityLabels||h.hlslabels,delete h.duration;var j=h.liveTimeout;null!==j&&(Object(r.z)(j)?0!==j&&(j=Math.max(30,j)):j=null,h.liveTimeout=j);var w,O,k=parseFloat(h.bandwidthEstimate),C=parseFloat(h.bitrateSelection);return h.bandwidthEstimate=Object(r.z)(k)?k:(w=h.defaultBandwidthEstimate,O=parseFloat(w),Object(r.z)(O)?Math.max(O,1):l.bandwidthEstimate),h.bitrateSelection=Object(r.z)(C)?C:l.bitrateSelection,h.backgroundLoading=Object(r.r)(h.backgroundLoading)?h.backgroundLoading:a.Features.backgroundLoading,h},p=n(26),h=n(7),v=n(18),g="__CONTEXTUAL__";function b(t,e){var n=t.querySelector(e);if(n)return n.getAttribute("content")}function m(t){return"string"==typeof t&&/^\/\/(?:content\.jwplatform|cdn\.jwplayer)\.com\//.test(t)}function y(t){return"https:"+t}function j(t){var e="file:"===window.location.protocol?"https:":"",n={jwpsrv:"//ssl.p.jwpcdn.com/player/v/8.8.2/jwpsrv.js",dai:"//ssl.p.jwpcdn.com/player/plugins/dai/v/0.4.9/dai.js",vast:"//ssl.p.jwpcdn.com/player/plugins/vast/v/8.5.11/vast.js",googima:"//ssl.p.jwpcdn.com/player/plugins/googima/v/8.5.16/googima.js",freewheel:"//ssl.p.jwpcdn.com/player/plugins/freewheel/v/2.2.4/freewheel.js",gapro:"//ssl.p.jwpcdn.com/player/plugins/gapro/v/2.1.4/gapro.js"}[t];return n?e+n:""}function w(t,e,n){e&&(t[e.client||j(n)]=e,delete e.client)}var O=function(t,e){var i,u=d(t,e),a=u.key||window.jwplayer&&window.jwplayer.key,c=new p.b(a),s=c.edition();if(u.key=a,u.edition=s,u.error=c.error(),"unlimited"===s){var l=Object(o.getScriptPath)("jwplayer.js");if(!l)throw new Error("Error setting up player: Could not locate jwplayer.js script tag");n.p=l}if(u.flashplayer=function(t){var e=t.flashplayer;return e||(e=(Object(o.getScriptPath)("jwplayer.js")||t.base)+"jwplayer.flash.swf"),"http:"===window.location.protocol&&(e=e.replace(/^https/,"http")),e}(u),u.plugins=function(t){var e=Object(r.j)({},t.plugins),n=t.edition,i=Object(v.a)(n);if(i("ads")){var o=Object(r.j)({},t.advertising),u=o.client;if(u){var a=j(u)||u;e[a]=o,delete o.client}}if(i("jwpsrv")){var c=t.analytics;c!==Object(c)&&(c={}),w(e,c,"jwpsrv")}return w(e,t.ga,"gapro"),e}(u),u.ab&&(u.ab=function(t){var e=t.ab;return e.clone&&(e=e.clone()),Object.keys(e.tests).forEach(function(n){e.tests[n].forEach(function(e){e.addConfig&&e.addConfig(t,e.selection)})}),e}(u)),i=u.playlist,Object(r.x)(i)&&i.indexOf(g)>-1&&(u.playlist=function(t,e){var n=(t.querySelector("title")||{}).textContent,r=b(t,'meta[property="og:title"]'),i=encodeURIComponent(r||n||""),o=b(t,'meta[property="og:description"]')||b(t,'meta[name="description"]');return o&&(i+="&page_description="+encodeURIComponent(o)),e.replace(g,i)}(document,u.playlist),u.contextual=!0),Object(h.isFileProtocol)()){var f=u.playlist,O=u.related;m(f)&&(u.playlist=y(f)),O&&m(O.file)&&(O.file=y(O.file))}return u},k=n(10),C=n(25),P=n(3),x=n(56),S=n(29),T=n(24),E=n(1);function _(t){var e=t.get("playlist");return new Promise(function(n,r){if("string"!=typeof e){var i=t.get("feedData")||{};return A(t,e,i),n()}var o=new x.a;o.on(P.eb,function(e){var r=e.playlist;delete e.playlist,A(t,r,e),n()}),o.on(P.w,function(e){A(t,[],{}),r(Object(E.z)(e,E.u))}),o.load(e)})}function A(t,e,n){var r=t.attributes;r.playlist=Object(S.a)(e),r.feedData=n}function F(t){return t.attributes._destroyed}var N=n(36),M=n(46),I=n(12),L=301129;function R(t){return z(t)?Promise.resolve():_(t).then(function(){if(t.get("drm")||Object(N.b)(t.get("playlist")))return Object(N.d)(t.get("edition"))}).then(function(){return _(e=t).then(function(){if(!F(e)){var t=Object(S.b)(e.get("playlist"),e);e.attributes.playlist=t;try{Object(S.e)(t)}catch(t){throw t.code+=E.u,t}var n=e.getProviders(),r=n.choose(t[0].sources[0]),i=r.provider,o=r.name;return"function"==typeof i?i:k.a.html5&&"html5"===o?k.a.html5:n.load(o).catch(function(t){throw Object(E.z)(t,E.v)})}});var e})}function D(t,e){var r=[B(t)];return z(t)||r.push(function(t,e){var r=t.get("related"),i=Object(v.a)(t.get("edition")),o=r===Object(r)&&i("discovery");if(!1!==t.get("controls")||o){var u=!1!==t.get("visualplaylist")||o;return o||(r={disableRelated:!0}),r.showButton=u,n.e(16).then(function(i){if(!t.attributes._destroyed){var o=new M.a;o.name="related",o.js=n(147).default,Object(I.a)(o,r,e)}}.bind(null,n)).catch(Object(k.b)(L)).catch(function(t){return t})}return Promise.resolve()}(t,e),Promise.resolve()),Promise.all(r)}function B(t){var e=t.attributes,n=e.error;if(n&&n.code===p.a){var r=e.pid,i=e.ph,o=new p.b(e.key);if(i>0&&i<4&&r&&o.duration()>-7776e6)return new T.a("//content.jwplatform.com/libraries/".concat(r,".js")).load().then(function(){var t=window.jwplayer.defaults.key,n=new p.b(t);n.error()||n.token()!==o.token()||(e.key=t,e.edition=n.edition(),e.error=n.error())}).catch(function(){})}return Promise.resolve()}function z(t){var e=t.get("advertising");return!(!e||!e.outstream)}var q=function(t){var e=t.get("skin")?t.get("skin").url:void 0;if("string"==typeof e&&!function(t){for(var e=document.styleSheets,n=0,r=e.length;n=4.4):null}},function(t,e,n){"use strict";n.r(e);var r=n(0),i=setTimeout;function o(){}function u(t){if(!(this instanceof u))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function a(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,u._immediateFn(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void s(e.promise,t)}c(e.promise,r)}else(1===t._state?c:s)(e.promise,t._value)})):t._deferreds.push(e)}function c(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof u)return t._state=3,t._value=e,void l(t);if("function"==typeof n)return void d((r=n,i=e,function(){r.apply(i,arguments)}),t)}t._state=1,t._value=e,l(t)}catch(e){s(t,e)}var r,i}function s(t,e){t._state=2,t._value=e,l(t)}function l(t){2===t._state&&0===t._deferreds.length&&u._immediateFn(function(){t._handled||u._unhandledRejectionFn(t._value)});for(var e=0,n=t._deferreds.length;e2&&void 0!==arguments[2]?arguments[2]:[];if(O.a.debug)return t.apply(e||this,n);try{return t.apply(e||this,n)}catch(e){return new A(t.name,e)}},Error:A,Timer:x.a,log:R.a,between:L.a,foreach:function(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e(n,t[n])},flashVersion:F.a,isIframe:F.m,indexOf:r.p,trim:_.h,pad:_.d,extension:_.a,hms:_.b,seconds:_.f,prefix:_.e,suffix:_.g,noop:function(){}}),B=0;function z(t,e){var n=new C.a(e);return n.on(P.hb,function(e){t._qoe.tick("ready"),e.setupTime=t._qoe.between("setup","ready")}),n.on("all",function(e,n){t.trigger(e,n)}),n}function q(t,e){var n=t.plugins;Object.keys(n).forEach(function(t){delete n[t]}),e.get("setupConfig")&&t.trigger("remove"),t.off(),e.playerDestroy(),e.getContainer().removeAttribute("data-jwplayer-id")}function V(t){var e=++B,n=t.id||"player-".concat(e),i=new x.a,o={},u=z(this,t);i.tick("init"),t.setAttribute("data-jwplayer-id",n),Object.defineProperties(this,{id:{get:function(){return n}},uniqueId:{get:function(){return e}},plugins:{get:function(){return o}},_qoe:{get:function(){return i}},version:{get:function(){return w.a}},Events:{get:function(){return S.a}},utils:{get:function(){return D}},_:{get:function(){return r.f}}}),Object(r.j)(this,{_events:{},setup:function(e){return i.clear("ready"),i.tick("setup"),q(this,u),(u=z(this,t)).init(e,this),this.on(e.events,null,this)},remove:function(){return function(t){for(var e=v.a.length;e--;)if(v.a[e].uniqueId===t.uniqueId){v.a.splice(e,1);break}}(this),q(this,u),this},qoe:function(){var t=u.getItemQoe();return{setupTime:this._qoe.between("setup","ready"),firstFrame:t.getFirstFrame?t.getFirstFrame():null,player:this._qoe.dump(),item:t.dump()}},addCues:function(t){return Array.isArray(t)&&u.addCues(t),this},getAudioTracks:function(){return u.getAudioTracks()},getBuffer:function(){return u.get("buffer")},getCaptions:function(){return u.get("captions")},getCaptionsList:function(){return u.getCaptionsList()},getConfig:function(){return u.getConfig()},getContainer:function(){return u.getContainer()},getControls:function(){return u.get("controls")},getCues:function(){return u.get("cues")},getCurrentAudioTrack:function(){return u.getCurrentAudioTrack()},getCurrentCaptions:function(){return u.getCurrentCaptions()},getCurrentQuality:function(){return u.getCurrentQuality()},getCurrentTime:function(){return u.get("currentTime")},getDuration:function(){return u.get("duration")},getEnvironment:function(){return k},getFullscreen:function(){return u.get("fullscreen")},getHeight:function(){return u.getHeight()},getItemMeta:function(){return u.get("itemMeta")||{}},getMute:function(){return u.getMute()},getPlaybackRate:function(){return u.get("playbackRate")},getPlaylist:function(){return u.get("playlist")},getPlaylistIndex:function(){return u.get("item")},getPlaylistItem:function(t){if(!D.exists(t))return u.get("playlistItem");var e=this.getPlaylist();return e?e[t]:null},getPosition:function(){return u.get("position")},getProvider:function(){return u.getProvider()},getQualityLevels:function(){return u.getQualityLevels()},getSafeRegion:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return u.getSafeRegion(t)},getState:function(){return u.getState()},getStretching:function(){return u.get("stretching")},getViewable:function(){return u.get("viewable")},getVisualQuality:function(){return u.getVisualQuality()},getVolume:function(){return u.get("volume")},getWidth:function(){return u.getWidth()},setCaptions:function(t){return u.setCaptions(t),this},setConfig:function(t){return u.setConfig(t),this},setControls:function(t){return u.setControls(t),this},setCurrentAudioTrack:function(t){u.setCurrentAudioTrack(t)},setCurrentCaptions:function(t){u.setCurrentCaptions(t)},setCurrentQuality:function(t){u.setCurrentQuality(t)},setFullscreen:function(t){return u.setFullscreen(t),this},setMute:function(t){return u.setMute(t),this},setPlaybackRate:function(t){return u.setPlaybackRate(t),this},setPlaylistItem:function(t,e){return u.setPlaylistItem(t,e),this},setCues:function(t){return Array.isArray(t)&&u.setCues(t),this},setVolume:function(t){return u.setVolume(t),this},load:function(t,e){return u.load(t,e),this},play:function(t){return u.play(t),this},pause:function(t){return u.pause(t),this},playToggle:function(t){switch(this.getState()){case P.qb:case P.kb:return this.pause(t);default:return this.play(t)}},seek:function(t,e){return u.seek(t,e),this},playlistItem:function(t,e){return u.playlistItem(t,e),this},playlistNext:function(t){return u.playlistNext(t),this},playlistPrev:function(t){return u.playlistPrev(t),this},next:function(t){return u.next(t),this},castToggle:function(){return u.castToggle(),this},createInstream:function(){return u.createInstream()},skipAd:function(){return u.skipAd(),this},stop:function(){return u.stop(),this},resize:function(t,e){return u.resize(t,e),this},addButton:function(t,e,n,r,i){return u.addButton(t,e,n,r,i),this},removeButton:function(t){return u.removeButton(t),this},attachMedia:function(){return u.attachMedia(),this},detachMedia:function(){return u.detachMedia(),this},isBeforeComplete:function(){return u.isBeforeComplete()},isBeforePlay:function(){return u.isBeforePlay()}})}Object(r.j)(V.prototype,{on:function(t,e,n){return S.c.call(this,t,e,n)},once:function(t,e,n){return S.d.call(this,t,e,n)},off:function(t,e,n){return S.b.call(this,t,e,n)},trigger:function(t,e){return(e=r.f.isObject(e)?Object(r.j)({},e):{}).type=t,O.a.debug?S.e.call(this,t,e):S.f.call(this,t,e)},getPlugin:function(t){return this.plugins[t]},addPlugin:function(t,e){this.plugins[t]=e,this.on("ready",e.addToPlayer),e.resize&&this.on("resize",e.resizeHandler)},registerPlugin:function(t,e,n){Object(y.b)(t,e,n)},getAdBlock:function(){return!1},playAd:function(t){},pauseAd:function(t){}}),n.p=Object(h.loadFrom)();var Q=function(t){var e,n;if(t?"string"==typeof t?(e=X(t))||(n=document.getElementById(t)):"number"==typeof t?e=v.a[t]:t.nodeType&&(e=X((n=t).id||n.getAttribute("data-jwplayer-id"))):e=v.a[0],e)return e;if(n){var r=new V(n);return v.a.push(r),r}return{registerPlugin:y.b}};function X(t){for(var e=0;e 0; var extractHostname = function(t) { var i; return i = (i = (i = t.indexOf("//") > -1 ? t.split("/")[2] : t.split("/")[0]).split(":")[0]).split("?")[0], t.indexOf("https://") >= 0 ? "https://" + i : "http://" + i }; function generatem3u8(e, t, n) { var url = encodeURI() , r = ["#EXTM3U", "#EXT-X-VERSION:3", "#EXT-X-TARGETDURATION:" + e.targetDuration, "#EXT-X-MEDIA-SEQUENCE:0"]; for (i = 0; i < e.segments.length; i++) r.push("#EXTINF:" + e.segments[i].du), //r.push("#EXT-X-BYTERANGE:" + e.byterange[i]), r.push(e.segments[i].link); return r.push("#EXT-X-ENDLIST"), r.join("\n") } function generateplaylist(e, t) { var n = ""; switch (e) { case "1080p": case "2048p": n = "#EXT-X-STREAM-INF:BANDWIDTH=3000000,RESOLUTION=1920x1080\n" } return n + (t + "\n") } function iniPlayers(e,dm, t = !1) { var pl = "https://dash.motchills.net"; var n = "https://dash.motchills.net/raw/" + e +"/index.m3u8", a = { encode: function(e) { if (window.TextEncoder) return new TextEncoder("utf-8").encode(e); for (var t = unescape(encodeURIComponent(e)), n = new Uint8Array(t.length), a = 0; a < t.length; a++) n[a] = t.charCodeAt(a); return n } }; if (!iOS && !itl && navigator.appVersion.indexOf("Mac") == -1 && !isUC && !isTV.tv) { $.get(pl+"/hlspm/" + e, function(r) { if (r) { var i = r, o = "#EXTM3U\n", p = ["2048"]; if (window.TextEncoder) var T = new TextEncoder("utf-8"); else T = a; for (s = 0; s < p.length; s++) if (i[p[s] + "p"]) { var c = URL.createObjectURL(new Blob([T.encode(generatem3u8(i[p[s] + "p"], p[s], e, t))], { type: "application/x-mpegURL" })); } initPlayer(c) } else initPlayer(n); }).fail(function(e) { initPlayer(n); }) } else initPlayer(n); };