/*! Freedom Player v7.2.12 (2023-04-13) | foliovision.com/player/legal/freedom-player-license */ !function(o){if(!document.createEvent){function e(e){return{enumerable:!0,writable:!0,configurable:!0,value:e}}var t,s,l,c,r=!0,n=!1,a="onreadystatechange",u="DOMContentLoaded",f="__IE8__"+Math.random(),d=Object.defineProperty||function(e,t,n){e[t]=n.value},i=Object.defineProperties||function(t,e){for(var n in e)if(h.call(e,n))try{d(t,n,e[n])}catch(e){o.console&&console.log(n+" failed on object:",t,e.message)}},p=Object.getOwnPropertyDescriptor,h=Object.prototype.hasOwnProperty,g=o.Element.prototype,m=o.Text.prototype,z=/^[a-z]+$/,y=/loaded|complete/,v={},w=document.createElement("div"),b=document.documentElement,Y=b.removeAttribute,G=b.setAttribute,I=(E(o.HTMLCommentElement.prototype,g,"nodeValue"),E(o.HTMLScriptElement.prototype,null,"text"),E(m,null,"nodeValue"),E(o.HTMLTitleElement.prototype,null,"text"),d(o.HTMLStyleElement.prototype,"textContent",(t=p(o.CSSStyleSheet.prototype,"cssText"),A(function(){return t.get.call(this.styleSheet)},function(e){t.set.call(this.styleSheet,e)}))),/\b\s*alpha\s*\(\s*opacity\s*=\s*(\d+)\s*\)/),O=(d(o.CSSStyleDeclaration.prototype,"opacity",{get:function(){var e=this.filter.match(I);return e?(e[1]/100).toString():""},set:function(e){var t=!(this.zoom=1);e=e<1?" alpha(opacity="+Math.round(100*e)+")":"",this.filter=this.filter.replace(I,function(){return t=!0,e}),!t&&e&&(this.filter+=e)}}),i(g,{textContent:{get:N,set:L},firstElementChild:{get:function(){for(var e=this.childNodes||[],t=0,n=e.length;t"+i+"").attr(n)[0];throw e}},o.toggleClass=function(e,t,n){e&&(e=i(e),void 0===n?e.toggle(t):n?e.add(t):e.remove(t))},o.addClass=function(e,t){return o.toggleClass(e,t,!0)},o.removeClass=function(e,t){return o.toggleClass(e,t,!1)},o.append=function(e,t){return e.appendChild(t),e},o.appendTo=function(e,t){return o.append(t,e),e},o.prepend=function(e,t){e.insertBefore(t,e.firstChild)},o.insertAfter=function(e,t,n){t==o.lastChild(e)&&e.appendChild(n);t=Array.prototype.indexOf.call(e.children,t);e.insertBefore(n,e.children[t+1])},o.html=function(e,t){(e=e.length?e:[e]).forEach(function(e){e.innerHTML=t})},o.attr=function(t,n,i){if(o.hasOwnOrPrototypeProperty(t,n="class"===n?"className":n))try{t[n]=i}catch(e){if(!a)throw e;a(t).attr(n,i)}else!1===i?t.removeAttribute(n):t.setAttribute(n,i);return t},o.prop=function(e,t,n){if(void 0===n)return e&&e[t];e[t]=n},o.offset=function(e){var t=e.getBoundingClientRect();return t=e.offsetWidth/e.offsetHeight>e.clientWidth/e.clientHeight?{left:100*t.left,right:100*t.right,top:100*t.top,bottom:100*t.bottom,width:100*t.width,height:100*t.height}:t},o.width=function(e,t){if(t)return e.style.width=(""+t).replace(/px$/,"")+"px";t=o.offset(e).width;return void 0===t?e.offsetWidth:t},o.height=function(e,t){if(t)return e.style.height=(""+t).replace(/px$/,"")+"px";t=o.offset(e).height;return void 0===t?e.offsetHeight:t},o.lastChild=function(e){return e.children[e.children.length-1]},o.hasParent=function(e,t){for(var n=e.parentElement;n;){if("string"!=typeof t){if(n===t)return!0}else if(o.matches(n,t))return!0;n=n.parentElement}return!1},o.createAbsoluteUrl=function(e){return o.createElement("a",{href:e}).href},o.xhrGet=function(e,t,n){var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===this.readyState)return 400<=this.status?n():void t(this.responseText)},i.open("get",e,!0),i.send()},o.pick=function(t,e){var n={};return e.forEach(function(e){t.hasOwnProperty(e)&&(n[e]=t[e])}),n},o.hostname=function(e){return r.toUnicode(e||window.location.hostname)},o.browser={webkit:"WebkitAppearance"in document.documentElement.style},o.getPrototype=function(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__},o.hasOwnOrPrototypeProperty=function(e,t){for(var n=e;n;){if(Object.prototype.hasOwnProperty.call(n,t))return!0;n=o.getPrototype(n)}return!1},o.matches=function(e,t){var n=Element.prototype;return(n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)n++;return!!t[n]}).call(e,t)},void 0!==(t=window.CSSStyleDeclaration.prototype).setAttribute&&(t.setProperty=function(e,t){return this.setAttribute(l(e),String(t))},t.getPropertyValue=function(e){return this.getAttribute(l(e))||null},t.removeProperty=function(e){var t=this.getPropertyValue(e);return this.removeAttribute(l(e)),t})},{"class-list":36,"computed-style":37,punycode:43}],2:[function(e,t,n){"use strict";var l=e("../common");t.exports=function(e,t,n,i){n=n||"opaque";var r="obj"+(""+Math.random()).slice(2,15),o='':' data="'+e+'" type="application/x-shockwave-flash">',{width:"100%",height:"100%",allowscriptaccess:"always",wmode:n,quality:"high",flashvars:"",movie:e+(a?"?"+r:""),name:r}),e=("transparent"!==n&&(s.bgcolor=i||"#333333"),Object.keys(t).forEach(function(e){s.flashvars+=e+"="+t[e]+"&"}),Object.keys(s).forEach(function(e){o+=''}),o+="",l.createElement("div",{},o));return l.find("object",e)},window.attachEvent&&window.attachEvent("onbeforeunload",function(){window.__flash_savedUnloadHandler=window.__flash_unloadHandler=function(){}})},{"../common":1}],3:[function(e,t,n){"use strict";var i,b=e("../flowplayer"),I=e("../common"),C=e("./embed"),M=e("extend-object"),S=e("bean");function A(e){return/^https?:/.test(e)}(i=function(u,f){var d,p,h,g,m=u.conf,y=[],v={engineName:i.engineName,pick:function(i){var e=M({},function(){if(b.support.flashVideo){for(var e,t,n=0;n video",f)[0],s=n.src,l=A(s),c=(b.support.video&&I.prop(a,"autoplay")&&n.sources.some(function(e){return!!a.canPlayType(e.type)})?S.one(a,"timeupdate",t):t(),n.rtmp||m.rtmp);l||c||(s=I.createAbsoluteUrl(s)),h&&w(n)&&h.data!==I.createAbsoluteUrl(m.swfHls)&&v.unload(),h?(["live","preload","loop"].forEach(function(e){n.hasOwnProperty(e)&&h.__set(e,n[e])}),Object.keys(n.flashls||{}).forEach(function(e){h.__set("hls_"+e,n.flashls[e])}),r=!1,!l&&c?h.__set("rtmp",c.url||c):(r=!!h.__get("rtmp"),h.__set("rtmp",null)),h.__play(s,r||n.rtmp&&n.rtmp!==m.rtmp)):(p="fpCallback"+(""+Math.random()).slice(3,15),s=e(s),i={hostname:m.embedded?I.hostname(m.hostname):I.hostname(location.hostname),url:s,callback:p},f.getAttribute("data-origin")&&(i.origin=f.getAttribute("data-origin")),["proxy","key","autoplay","preload","subscribe","live","loop","debug","splash","poster","rtmpt"].forEach(function(e){m.hasOwnProperty(e)&&(i[e]=m[e]),n.hasOwnProperty(e)&&(i[e]=n[e]),(m.rtmp||{}).hasOwnProperty(e)&&(i[e]=(m.rtmp||{})[e]),(n.rtmp||{}).hasOwnProperty(e)&&(i[e]=(n.rtmp||{})[e])}),m.splash&&(i.autoplay=!0),m.rtmp&&(i.rtmp=m.rtmp.url||m.rtmp),n.rtmp&&(i.rtmp=n.rtmp.url||n.rtmp),Object.keys(n.flashls||{}).forEach(function(e){var t=n.flashls[e];i["hls_"+e]=t}),void 0!==(c=(void 0!==n.hlsQualities?n:m).hlsQualities)&&(i.hlsQualities=c&&encodeURIComponent(JSON.stringify(c))),void 0!==m.bufferTime&&(i.bufferTime=m.bufferTime),void 0!==m.bufferTimeMax&&(i.bufferTimeMax=m.bufferTimeMax),l&&delete i.rtmp,i.rtmp&&(i.rtmp=e(i.rtmp)),0===(r=m.bgcolor||I.css(f,"background-color")||"").indexOf("rgb")?o=function(e){function t(e){return("0"+parseInt(e).toString(16)).slice(-2)}if(e=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))return"#"+t(e[1])+t(e[2])+t(e[3])}(r):0===r.indexOf("#")&&(o=7===(s=r).length?s:"#"+s.split("").slice(1).map(function(e){return e+e}).join("")),i.initialVolume=u.volumeLevel,c=w(n)?m.swfHls:m.swf,h=C(c,i,m.wmode,o)[0],l=I.find(".fp-player",f)[0],I.prepend(l,h),u.off("quality.flashengine").on("quality.flashengine",function(e,t,n){if((void 0!==u.video.hlsQualities?u.video:u.conf).hlsQualities)try{h.__quality(n)}catch(e){u.debug("Error changing quality in flash engine",e)}}),setTimeout(function(){try{if(!h.PercentLoaded())return u.trigger("error",[u,{code:7,url:m.swf}])}catch(e){}},5e3),y.push(setTimeout(function(){void 0===h.PercentLoaded&&u.trigger("flashdisabled",[u])},15e3)),y.push(setTimeout(function(){void 0===h.PercentLoaded&&u.trigger("flashdisabled",[u,!1])},500)),u.off("resume.flashhack").on("resume.flashhack",function(){var e=setTimeout(function(){var e=h.__status().time,t=setTimeout(function(){u.playing&&!u.loading&&h.__status().time===e&&u.trigger("flashdisabled",[u])},400);y.push(t),u.one("seek.flashhack pause.flashhack load.flashack",function(){clearTimeout(t)})},800);y.push(e),u.one("progress",function(){clearTimeout(e)})}),h.pollInterval=setInterval(function(){var e;h&&!g&&(e=h.__status?h.__status():null)&&((u.conf.live||u.live||n.live)&&(n.seekOffset=e.seekOffset,n.duration=e.duration+e.seekOffset),u.playing&&e.time&&e.time!==u.video.time&&u.trigger("progress",[u,e.time]),n.buffer=e.buffer/n.bytes*n.duration,u.trigger("buffer",[u,n.buffer]),!n.buffered&&0 video",p)[0],f=d.conf;return c={engineName:e,pick:function(e){e=g.video&&e.filter(function(e){return a(e.type)})[0];if(e)return"string"==typeof e.src&&(e.src=h.createAbsoluteUrl(e.src)),e},load:function(e){var t,n,i,r=h.find(".fp-player",p)[0],o=!1,r=(u||(u=document.createElement("video"),h.prepend(r,u),u.autoplay=!!f.splash,o=!0),h.addClass(u,"fp-engine"),h.find("track",u).forEach(h.removeNode),u.preload="none",f.nativesubtitles||h.attr(u,"crossorigin",!1),f.disableInline||(u.setAttribute("webkit-playsinline","true"),u.setAttribute("playsinline","true")),g.inlineVideo||h.css(u,{position:"absolute",top:"-9999em"}),g.subtitles&&f.nativesubtitles&&e.subtitles&&e.subtitles.length&&(h.addClass(u,"native-subtitles"),r=e.subtitles,t=function(e){var t=u.textTracks;t.length&&(t[0].mode=e)},(!g.iOS||parseInt(g.iOS.version)<18)&&r.some(function(e){return!h.isSameDomain(e.src)})&&h.attr(u,"crossorigin","anonymous"),"function"==typeof u.textTracks.addEventListener&&u.textTracks.addEventListener("addtrack",function(){t("disabled"),t("showing")}),r.forEach(function(e){u.appendChild(h.createElement("track",{kind:"subtitles",srclang:e.srclang||"en",label:e.label||"en",src:e.src,default:e.default}))})),m.off(u,"timeupdate",h.noop),m.on(u,"timeupdate",h.noop),h.prop(u,"loop",!1),d.off(".loophack"),(e.loop||f.loop)&&d.on("finish.loophack",function(){d.resume()}),void 0!==l&&(u.volume=l),s(e,u,c));(f.autoplay||f.splash||e.autoplay)&&(d.debug("Autoplay / Splash setup, try to start video"),u.load(),n=function(){try{var t,e=u.play();e&&e.catch&&(t=function(e){if("AbortError"===e.name&&20===e.code)return o?void 0:u.play().catch(t);if(f.mutedAutoplay)return d.debug("Play errored, trying muted",e),d.mute(!0,!0),u.play();throw new Error("Unable to autoplay")},e.catch(t).catch(function(){f.autoplay=!1,d.mute(!1,!0),d.trigger("stop",[d])}))}catch(e){d.debug("play() error thrown",e)}},0=l.seekable.start(null)||(l.currentTime=l.seekable.start(null)))}),Object.keys(v).forEach(function(a){var e,s=v[a];(s="webkitendfullscreen"===a&&d.conf.disableInline?"unload":s)&&(p.addEventListener(a,e=function(e){if(c=l.listeners[f],e.target&&h.hasClass(e.target,"fp-engine")){/progress/.test(s)||d.debug(a,"->",s,e);function t(e){d.trigger(e||s,[d,r])}var n,i,r;if((d.ready||/ready|error/.test(s))&&s&&h.find("video",p).length)if("unload"===s)d.unload();else{switch(s){case"ready":if(d.ready&&(d.live||d.dvr)&&(d.video.duration=l.duration),d.ready)return d.debug("Player already ready, not sending duplicate ready event");if(!(l.duration&&l.duration!==1/0||d.live))return d.debug("No duration and VOD setup, not sending ready event");if((r=y(c,{duration:l.duration'):'
'+r+'position:absolute;top:0;left:0;width:100%;height:100%;">
'},r.on(a,"click",".fp-embed",function(){l(o.embedCode(),function(){o.message("The embed code is now on your clipboard",2e3)},function(){o.textarea(o.embedCode(),"Copy the code below to embed your video")})}))})},{"../common":1,"../flowplayer":31,"./util/clipboard":30,bean:34}],12:[function(e,t,n){"use strict";t.exports=function(r,a){a=a||document.createElement("div");function n(t,n,i){function r(e){i&&(a.removeEventListener(o,r),s[t].splice(s[t].indexOf(r),1)),e=[e].concat(l[e.timeStamp+e.type]||[]),n&&n.apply(void 0,e)}var o=t.split(".")[0];a.addEventListener(o,r),s[t]||(s[t]=[]),s[t].push(r)}var s={},l={};r.on=r.bind=function(e,t){return e.split(" ").forEach(function(e){n(e,t)}),r},r.one=function(e,t){return e.split(" ").forEach(function(e){n(e,t,!0)}),r};r.off=r.unbind=function(e){return e.split(" ").forEach(function(e){var i=e.split(".").slice(1),r=e.split(".")[0];Object.keys(s).filter(function(e){var t,n=e.split(".").slice(1);return(!r||0===e.indexOf(r))&&(t=n,0===i.filter(function(e){return-1===t.indexOf(e)}).length)}).forEach(function(e){var t=s[e],n=e.split(".")[0];s[e]=t.filter(function(e){return a.removeEventListener(n,e),!1})})}),r},r.trigger=function(e,t,n){var i;if(e)return t=(t||[]).length?t||[]:[t],i=document.createEvent("Event"),e=e.type||e,i.initEvent(e,!1,!0),Object.defineProperty&&(i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}),l[i.timeStamp+i.type]=t,a.dispatchEvent(i),n?i:r}},t.exports.EVENTS=["beforeseek","disable","error","finish","fullscreen","fullscreen-exit","load","mute","pause","progress","ready","resume","seek","speed","stop","unload","volume","boot","shutdown"]},{}],13:[function(e,t,n){"use strict";var i=e("../flowplayer"),o=e("../common"),a=e("bean");i(function(e,t){var n,i,r=e.conf;!1!==r.share&&r.facebook&&(e.facebook=function(){var e=screen.height,t=screen.width,n="string"==typeof r.facebook?r.facebook:window.location.toString(),t=Math.round(t/2-275),i=0;420t.video.subtitles.length-1&&(s=-1),t.trigger("subtitles-switched",[s])}}}}}),r.on(n,"mouseenter mouseleave",function(e){(l=t.disabled||"mouseover"!=e.type?0:t)&&(c=n)}))})},{"../common":1,"../flowplayer":31,bean:34}],16:[function(e,t,n){var i=e("../flowplayer"),s=e("../common"),l=e("bean");i(function(o,a){o.showMenu=function(e,t){var n=s.find(".fp-ui",a)[0],i=(s.toggleClass(e,"fp-active",!0),setTimeout(function(){l.one(document,"click",function(){o.hideMenu(e)})}),t);if(!(i=t&&t.tagName?{left:s.offset(t).left,rightFallbackOffset:s.width(t),top:s.offset(t).top+s.height(t)}:i))return s.css(e,"top","auto");i.rightFallbackOffset=i.rightFallbackOffset||0;var t=i.top-s.offset(n).top,r=i.left-s.offset(n).left;s.width(e)+r>s.width(n)&&(r=r-s.width(e)+i.rightFallbackOffset),s.height(e)+t>s.height(n)&&(t-=s.height(e)),s.css(e,{top:t+"px",left:r+"px",right:"auto"})},o.hideMenu=function(e){s.toggleClass(e,"fp-active",!1),s.css(e,{top:"-9999em"})}})},{"../common":1,"../flowplayer":31,bean:34}],17:[function(e,t,n){var i=e("../flowplayer"),s=e("../common"),r=e("bean");i(function(e,t){var o=s.find(".fp-header",t)[0],a=s.find(".fp-ui",t)[0];e.message=function(e,t){function n(){s.toggleClass(r,"fp-shown"),setTimeout(function(){s.removeNode(r)},500)}i=s.createElement("div",{className:"fp-message"},e),a.insertBefore(i,o),setTimeout(function(){s.toggleClass(i,"fp-shown")});var i,r=i;return t&&setTimeout(n,t),n},e.textarea=function(e){var t=document.createElement("textarea");t.value=e,t.className="fp-textarea",a.appendChild(t),r.on(document,"click.fptextarea",function(e){if(e.target===t)return t.select();e.stopPropagation(),e.preventDefault(),s.removeNode(t),r.off(document,"click.fptextarea")})}})},{"../common":1,"../flowplayer":31,bean:34}],18:[function(e,t,n){"use strict";var i=e("../flowplayer"),h=/IEMobile/.test(window.navigator.userAgent),g=e("../common"),m=e("bean"),y=e("./ui").format,v=i.support,w=window.navigator.userAgent;(v.touch||h)&&i(function(n,i){var t,r,o,a,s,e=v.android,l=e&&!e.firefox,c=/Silk/.test(w),u=e.version||0,f=(l&&!h&&((!/Chrome/.test(w)&&u<4||e.samsung&&u<5)&&(t=n.load,n.load=function(){var e=t.apply(n,arguments);return g.find("video.fp-engine",i)[0].load(),n.trigger("ready",[n,n.video]),e}),o=0,a=function(e){r=setInterval(function(){e.video.time=++o,e.trigger("progress",[e,o])},1e3)},n.on("ready pause unload",function(){r&&(clearInterval(r),r=null)}),n.on("ready",function(){o=0}),n.on("resume",function(e,t){if(t.live)return o?a(t):void n.one("progress",function(e,t,n){0===n&&a(t)})})),new Audio),d=(f.volume=.5,setTimeout(function(){.5!=f.volume?(g.addClass(i,"fp-mute"),g.addClass(i,"no-volume"),v.volume=!1):v.volume=!0}),g.addClass(i,"is-touch"),n.sliders&&n.sliders.timeline&&n.sliders.timeline.disableAnimation(),!1),p=(m.on(i,"touchmove",function(){d=!0}),!0);m.on(i,"touchend click",function(e){if(d)d=!1;else{var t=g.find("video.fp-engine",i)[0];if(p&&n.conf.clickToUnMute&&t&&t.muted&&n.conf.autoplay&&(t.muted=!1),p=!1,n.playing&&!g.hasClass(i,"is-mouseover"))return g.addClass(i,"is-mouseover"),g.removeClass(i,"is-mouseout"),e.preventDefault(),void e.stopPropagation();n.playing||n.splash||!g.hasClass(i,"is-mouseout")||g.hasClass(i,"is-mouseover")||setTimeout(function(){n.disabled||n.playing||n.splash||g.find("video.fp-engine",i)[0].play()},400)}}),!v.fullscreen&&n.conf.native_fullscreen&&"function"==typeof g.createElement("video").webkitEnterFullScreen&&(s=n.fullscreen,n.fullscreen=function(){var e=g.find("video.fp-engine",i)[0];if(!e)return s.apply(n);n.trigger("fullscreen",[n]),m.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement===e&&(m.off(document,".nativefullscreen"),m.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement||(m.off(document,".nativefullscreen"),n.trigger("fullscreen-exit",[n]))}))}),e.webkitEnterFullScreen(),m.one(e,"webkitendfullscreen",function(){m.off(document,"fullscreenchange.nativefullscreen"),n.trigger("fullscreen-exit",[n]),g.prop(e,"controls",!0),g.prop(e,"controls",!1)})}),(l||c)&&n.bind("ready",function(){var t=g.find("video.fp-engine",i)[0];t&&(n.conf.splash&&t.paused&&"hlsjs-lite"!==n.engine.engineName&&(m.one(t,"canplay",function(){t.play()}),t.load()),n.bind("progress.dur",function(){var e;n.live||n.conf.live||1!==(e=t.duration)&&(n.video.duration=e,g.find(".fp-duration",i)[0].innerHTML=y(e),n.unbind("progress.dur"))}))})})},{"../common":1,"../flowplayer":31,"./ui":27,bean:34}],19:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("extend-object"),o=e("bean"),h=e("../common"),a=e("./resolve"),s=new a,g=window.jQuery,m=/^#/;i(function(l,c){var u=r({active:"is-active",advance:!0,query:".fp-playlist a"},l.conf),f=u.active,t=h.find(".fp-ui",c)[0],e=h.hasClass(c,"fp-custom-playlist")||!!u.customPlaylist;function n(){return h.find(u.query,d())}function d(){if(!m.test(u.query))return c}function p(){return h.find(u.query+"."+f,d())}function i(){var e,n=h.find(".fp-playlist",c)[0];n||(n=h.createElement("div",{className:"fp-playlist"}),(e=h.find(".fp-next,.fp-prev",c)).length?e[0].parentElement.insertBefore(n,e[0]):h.insertAfter(c,h.find("video",c)[0],n)),n.innerHTML="",l.conf.playlist[0].length&&(l.conf.playlist=l.conf.playlist.map(function(e){var t;return"string"==typeof e?{sources:[{type:"m3u8"===(t=e.split(a.TYPE_RE)[1]).toLowerCase()?"application/x-mpegurl":"video/"+t,src:e}]}:{sources:e.map(function(t){var n={};return Object.keys(t).forEach(function(e){n.type=/mpegurl/i.test(e)?"application/x-mpegurl":"video/"+e,n.src=t[e]}),n})}})),l.conf.playlist.forEach(function(e,t){e=e.sources[0].src;n.appendChild(h.createElement("a",{href:e,className:l.video.index===t?f:void 0,"data-index":t}))})}h.toggleClass(c,"fp-custom-playlist",e),h.toggleClass(c,"fp-default-playlist",!e),l.play=function(e){if(void 0===e)return l.resume();if("number"==typeof e&&!l.conf.playlist[e])return l;if("number"!=typeof e)return l.load.apply(null,arguments);var t=r({index:e},l.conf.playlist[e]);return l.off("beforeresume.fromfirst"),"number"==typeof e&&e===l.video.index?l.seek(0,function(){l.resume()}):(l.load(t,function(){l.video.index=e}),l)},l.next=function(e){e&&e.preventDefault();e=l.video.index;return-1!=e&&(e=e===l.conf.playlist.length-1?0:e+1,l.play(e)),l},l.prev=function(e){e&&e.preventDefault();e=l.video.index;return-1!=e&&(e=0===e?l.conf.playlist.length-1:e-1,l.play(e)),l},l.setPlaylist=function(e,t){return l.conf.playlist=e,t||delete l.video.index,i(),l},l.addPlaylistItem=function(e){return delete l.video.is_last,l.setPlaylist(l.conf.playlist.concat([e]),!0)},l.removePlaylistItem=function(e){var t=l.conf.playlist;return l.setPlaylist(t.slice(0,e).concat(t.slice(e+1)))},l.have_visible_playlist=function(){var e=l.conf.playlist&&0Quality"),i.forEach(function(e){var t=document.createElement("a"),n=void 0!==e.value?e.value:e;t.setAttribute("data-quality",n),t.innerHTML=e.label||e,r.appendChild(t)}),a.appendChild(r),l(n.quality,n.qualities))})})},{"../common":1,"../flowplayer":31,bean:34}],21:[function(e,t,n){"use strict";var r=/\.(\w{3,4})(\?.*)?$/i,o=e("extend-object");function i(e){var t=e.attr("src"),n=e.attr("type")||"",i=t.split(r)[1],n=n.toLowerCase();return o(e.data(),{src:t,suffix:i||n,type:n||i})}t.exports=function(){this.sourcesFromVideoTag=function(e,t){var n=[];return t("source",e).each(function(){n.push(i(t(this)))}),!n.length&&e.length&&n.push(i(e)),n},this.resolve=function(n,e){return n?("string"==typeof n&&((n={src:n,sources:[]}).sources=(e||[]).map(function(e){var t=e.src.split(r)[1];return{type:e.type,src:n.src.replace(r,"."+t+"$2")}})),n=n instanceof Array?{sources:n.map(function(n){return n.type&&n.src?n:Object.keys(n).reduce(function(e,t){return o(e,{type:/mpegurl/i.test(e=t)?"application/x-mpegurl":"video/"+e,src:n[t]})},{})})}:n):{sources:e}}},t.exports.TYPE_RE=r},{"extend-object":39}],22:[function(e,t,n){"use strict";var i=e("../flowplayer"),o=e("../common"),a=e("extend-object"),s=e("bean");i(function(t,e){var n,i,r=t.conf;!1===r.share?o.find(".fp-share",e).forEach(o.removeNode):(t.shareUrl=function(e){return e&&r.embed&&r.embed.iframe?r.embed.iframe:"string"==typeof t.conf.share?t.conf.share:(e?"https://flowplayer.com/e/":"https://flowplayer.com/s/")+"?t="+encodeURIComponent(t.video.title||(o.find("title")[0]||{}).innerHTML||"Flowplayer video")+"&c="+encodeURIComponent(btoa(JSON.stringify(a({},t.conf,t.extensions)).replace(/[\u007F-\uFFFF]/g,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).substr(-4)})))+"&r="+encodeURIComponent(window.location.toString())},n=o.createElement("div",{className:"fp-menu fp-share-menu"},"Share"),o.find(".fp-ui",e)[0].appendChild(n),i=o.find(".fp-share",e)[0],s.on(e,"click",".fp-share",function(e){e.preventDefault(),o.hasClass(n,"fp-active")?t.hideMenu():t.showMenu(n,i)}))})},{"../common":1,"../flowplayer":31,bean:34,"extend-object":39}],23:[function(e,t,n){"use strict";var d=e("../flowplayer"),p=e("../common"),h=e("bean"),e=e("./subtitles/parser");d.defaults.subtitleParser=e,d(function(r,o){var a,s,n,i,l,c=!1;function e(e,i,r){c&&(i.cuepoints||[]).forEach(function(e,t){var n=e.subtitle;n&&a!=t&&r>=e.time&&(!n.endTime||r<=n.endTime)&&i.trigger("cuepoint",[i,e])})}d.support.inlineVideo&&(d.support.fullscreen||!r.conf.native_fullscreen)||(r.conf.nativesubtitles=!0),r.ui||(r.ui={}),r.ui.createSubtitleControl=function(e,t){return l=t,n=n||p.createElement("strong",{className:"fp-cc"},"CC"),i=i||p.createElement("div",{className:"fp-menu fp-subtitle-menu"},"Closed Captions"),p.find("a",i).forEach(p.removeNode),i.appendChild(p.createElement("a",{"data-subtitle-index":-1},"No subtitles")),(e||[]).forEach(function(e,t){var n=e.srclang||"en",e=e.label||"Default ("+n+")",n=p.createElement("a",{"data-subtitle-index":t},e);i.appendChild(n)}),p.find(".fp-ui",o)[0].appendChild(i),p.find(".fp-controls",o)[0].appendChild(n),p.toggleClass(n,"fp-hidden",!e||!e.length),n},r.ui.setActiveSubtitleItem=function(e){f(e)},h.on(o,"click",".fp-cc",function(){p.hasClass(i,"fp-active")?r.hideMenu():r.showMenu(i)}),h.on(o,"click",".fp-subtitle-menu [data-subtitle-index]",function(e){e.preventDefault();e=e.target.getAttribute("data-subtitle-index");return l?l(e):"-1"===e?r.disableSubtitles():void r.loadSubtitles(e)});function u(e,t){var n=p.find("video.fp-engine",o)[0].textTracks;n.length&&(null===e?[].forEach.call(n,function(e){e.mode=t}):n[e].mode=t)}r.on("ready",function(e,t,n){var i;t.subtitles=[],s=(s=p.find(".fp-captions",o)[0])||p.appendTo(p.createElement("div",{class:"fp-captions"}),p.find(".fp-player",o)[0]),Array.prototype.forEach.call(s.children,p.removeNode),r.ui.createSubtitleControl(r.video.subtitles),p.removeClass(o,"has-menu"),r.disableSubtitles(),n.subtitles&&n.subtitles.length&&((i=n.subtitles.filter(function(e){return e.default})[0])&&t.loadSubtitles(n.subtitles.indexOf(i)))}),r.showSubtitle=function(e){p.html(s,e),p.addClass(s,"fp-shown")},r.hideSubtitle=function(){p.removeClass(s,"fp-shown")},r.bind("cuepoint",function(e,t,n){c=!1,n.subtitle?(a=n.index,r.showSubtitle(n.subtitle.text)):n.subtitleEnd&&(r.hideSubtitle(),a=n.index)}),r.bind("seek",function(e,t,i){a&&r.cuepoints[a]&&r.cuepoints[a].time>i&&(p.removeClass(s,"fp-shown"),a=null),(r.cuepoints||[]).forEach(function(e,t){var n=e.subtitle;n&&a!=t?i>=e.time&&(!n.endTime||i<=n.endTime)&&r.trigger("cuepoint",[r,e]):e.subtitleEnd&&i>=e.time&&t==a+1&&r.trigger("cuepoint",[r,e])})}),r.on("unload",function(){p.find(".fp-captions",o).forEach(p.removeNode)});var f=function(e){p.toggleClass(p.find("a.fp-selected",i)[0],"fp-selected"),p.toggleClass(p.find('a[data-subtitle-index="'+e+'"]',i)[0],"fp-selected")};r.disableSubtitles=function(){return r.subtitles=[],(r.cuepoints||[]).forEach(function(e){(e.subtitle||e.subtitleEnd)&&r.removeCuepoint(e)}),s&&Array.prototype.forEach.call(s.children,p.removeNode),f(-1),d.support.subtitles&&r.conf.nativesubtitles&&"html5"==r.engine.engineName&&u(null,"disabled"),r},r.loadSubtitles=function(e){r.disableSubtitles();var t=r.video.subtitles[e].src;if(t){if(f(e),!d.support.subtitles||!r.conf.nativesubtitles||"html5"!=r.engine.engineName)return p.xhrGet(t,function(e){r.conf.subtitleParser(e).forEach(function(e,t){e.title||(e.title="subtitle"+t);var n={time:e.startTime,subtitle:e,visible:!1};r.subtitles.push(e),r.addCuepoint(n),r.addCuepoint({time:e.endTime,subtitleEnd:e.title,visible:!1}),0!==e.startTime||r.video.time||r.splash||r.trigger("cuepoint",[r,d.extend({},n,{index:0})]),r.splash&&r.one("ready",function(){r.trigger("cuepoint",[r,n])})})},function(){return r.trigger("error-subtitles",[r,{code:8,url:t}]),!1}),r;u(e,"showing")}},h.on(o,"click",".fp-subtitle-menu a[data-subtitle-index]",function(){-1 (([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/;function n(e){e=e.split(":");return 2==e.length&&e.unshift(0),60*e[0]*60+60*e[1]+parseFloat(e[2].replace(",","."))}for(var i,r,o,a=[],s=0,l=e.split("\n"),c=l.length;s"+l[++s]+"


";"string"==typeof l[++s]&&l[s].trim()&&s"+l[s]+"


";i={title:i,startTime:n(r[1]),endTime:n(r[3]),text:o},a.push(i)}return a}},{}],25:[function(e,t,n){"use strict";var i=e("../flowplayer"),e=e("extend-object"),r={},o=document.documentElement.style,a=navigator.userAgent.toLowerCase(),a=((s=/(chrome)[ \/]([\w.]+)/.exec(a)||/(safari)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[])[1]&&(r[s[1]]=!0,r.version=s[2]||"0"),r.safari&&(r.version=(/version\/([\w.]+)/.exec(a)||[])[1]),(s=document.createElement("video")).loop=!0,s.autoplay=!0,s.preload=!0,s),s=navigator.userAgent,l=r.msie||/Trident\/7/.test(s),c=/iPad|MeeGo/.test(s)&&!/CriOS/.test(s),u=/iPad/.test(s)&&/CriOS/.test(s),f=/iP(hone|od)/i.test(s)&&!/iPad/.test(s)&&!/IEMobile/i.test(s),d=/Android/.test(s),p=d&&/Firefox/.test(s),h=d&&/SAMSUNG/.test(s),g=/Silk/.test(s),m=/IEMobile/.test(s),y=m?parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(s)[1],10):0,v=m?parseFloat(/IEMobile\/(\d+\.\d+)/.exec(s)[1],10):0,w=c||f?function(e){e=/iP(ad|hone)(; CPU)? OS (\d+_\d)/.exec(e);return e&&1 {{ LOADING_SHARP_OUTLINE }} {{ LOADING_SHARP_FILL }} {{ LOADING_ROUNDED_FILL }} {{ LOADING_ROUNDED_OUTLINE }}

{{ PLAY_ROUNDED_FILL }} {{ PLAY_ROUNDED_OUTLINE }} {{ PLAY_SHARP_FILL }} {{ PLAY_SHARP_OUTLINE }}
{{ PAUSE_SHARP_OUTLINE }} {{ PAUSE_SHARP_FILL }} {{ PAUSE_ROUNDED_OUTLINE }} {{ PAUSE_ROUNDED_FILL }}
00:00
'.replace("{{ PAUSE_ROUNDED_FILL }}",O).replace("{{ PAUSE_ROUNDED_OUTLINE }}",G).replace("{{ PAUSE_SHARP_FILL }}",W).replace("{{ PAUSE_SHARP_OUTLINE }}",R).replace("{{ PLAY_SHARP_OUTLINE }}",Y).replace("{{ PLAY_SHARP_FILL }}",z).replace("{{ PLAY_ROUNDED_OUTLINE }}",k).replace("{{ PLAY_ROUNDED_FILL }}",P).replace("{{ LOADING_ROUNDED_OUTLINE }}",J).replace("{{ LOADING_ROUNDED_FILL }}",U).replace("{{ LOADING_SHARP_FILL }}",B).replace("{{ LOADING_SHARP_OUTLINE }}",H).replace(/url\(#/g,"url("+window.location.href.replace(window.location.hash,"").replace(/\#$/g,"")+"#")));function e(e){return x.find(".fp-"+e,a)[0]}a.appendChild(r),"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(function(){r.style.display=""}):r.style.display="";var t=e("waiting"),c=e("elapsed"),i=e("ratio"),u=e("speed-flash"),f=e("duration"),d=e("remaining"),p=e("timestamp"),h=x.css(i,"padding-top"),g=e("play"),m=e("pause"),y=e("timeline"),v=L(y,o),w=e("fullscreen"),b=e("volumebar"),I=T(b,{rtl:o.rtl}),C=x.hasClass(a,"no-toggle"),M=(v.disableAnimation(x.hasClass(a,"is-touch")),o.sliders=o.sliders||{},o.sliders.timeline=v,o.sliders.volume=I,[]);function S(e){x.css(i,"padding-top",100*e+"%"),l.inlineBlock||x.height(x.find("object",a)[0],x.height(a))}function A(e){e?(x.addClass(a,"is-mouseover"),x.removeClass(a,"is-mouseout")):(x.addClass(a,"is-mouseout"),x.removeClass(a,"is-mouseover"))}l.svg||x.html(t,"

loading …

"),s.ratio&&S(s.ratio);try{s.fullscreen||x.removeNode(w)}catch(e){x.removeNode(w)}o.on("dvrwindow",function(){v.disable(!1)}),o.on("ready",function(e,t,n){var i=t.video.duration;v.disable(t.disabled||!i),s.adaptiveRatio&&!isNaN(n.height/n.width)&&S(n.height/n.width),x.html([f,d],t.live?"Live":Z(i)),x.toggleClass(a,"is-long",3600<=i),I.slide(t.volumeLevel),"flash"===t.engine.engineName?v.disableAnimation(!0,!0):v.disableAnimation(!1),x.find(".fp-title",r).forEach(x.removeNode),n.title&&x.prepend(r,x.createElement("div",{className:"fp-message fp-title"},n.title)),x.toggleClass(a,"has-title",!!n.title)}).on("unload",function(){h||s.splash||x.css(i,"paddingTop",""),v.slide(0),x.addClass(g,"fp-visible")}).on("buffer",function(e,t,n){var i=t.video,r=i.buffer/i.duration,o=(!i.seekable&&l.seekable&&v.max(t.conf.live?1/0:r),n&&"number"!=typeof n||(n=[{start:0,end:i.buffer}]),x.find(".fp-buffer",y));o.length!==n.length&&(o.forEach(x.removeNode),o=[]),n.forEach(function(e,t){t=o[t]||x.createElement("div",{className:"fp-buffer"});e.end>i.duration||(x.css(t,{left:100*e.start/i.duration+"%",width:100*(e.end-e.start)/i.duration+"%"}),x.prepend(y,t))})}).on("speed",function(e,t,n){t.video.time&&(x.text(u,n+"x"),x.addClass(u,"fp-shown"),(M=M.filter(function(e){return clearTimeout(e),!1})).push(setTimeout(function(){x.addClass(u,"fp-hilite"),M.push(setTimeout(function(){x.removeClass(u,"fp-hilite"),M.push(setTimeout(function(){x.removeClass(u,"fp-shown")},300))},1e3))})))}).on("buffered",function(){v.max(1)}).on("progress seek",function(e,t,n){var i=o.video.duration,r=o.video.seekOffset||0,r=((n=n||o.video.time)-r)/(i-r);v.dragging||v.slide(r,o.seeking?0:250),x.toggleClass(a,"is-live-position",i-ns.mouseoutTimeout&&(A(!1),t=new Date)},100)):(D.off(a,"mousemove.x touchmove.x"),o.off("pause.x volume.x"),clearInterval(n)))}),D.on(a,"mouseleave",function(){(v.dragging||I.dragging)&&(x.addClass(a,"is-mouseover"),x.removeClass(a,"is-mouseout"))}),D.on(a,"click.player",function(e){if(!o.disabled)return x.hasClass(e.target,"fp-ui")||x.hasClass(e.target,"fp-engine")||e.flash||x.hasParent(e.target,".fp-play,.fp-pause")?(e.preventDefault&&e.preventDefault(),o.toggle()):void 0}),D.on(a,"mousemove touchmove",".fp-timeline",function(e){var t=e.pageX||e.clientX,e=(t=!t&&e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length?e.originalEvent.touches[0].pageX:t)-x.offset(y).left,t=e/x.width(y),n=o.video,n=n.duration-(void 0===n.seekOffset?0:n.seekOffset),n=(o.rtl?1-t:t)*n;t<0||(x.html(p,Z(n)),!1!==(t=(t=(t=e-x.width(p)/2)<0?0:t)>x.width(y)-x.width(p)?!1:t)?x.css(p,{left:t+"px",right:"auto"}):x.css(p,{left:"auto",right:"0px"}))}),D.on(a,"contextmenu",function(e){var t,n=window;x.hasClass(a,"is-flash-disabled")||(t=x.find(".fp-context-menu",a)[0])&&(e.preventDefault(),o.showMenu(t,{left:e.clientX-n.scrollX,top:e.clientY-n.scrollY}),D.on(a,"click",".fp-context-menu",function(e){e.stopPropagation()}))}),o.on("flashdisabled",function(e,t,n){var i;x.addClass(a,"is-flash-disabled"),!1!==n&&(i=o.message("Seems something is blocking Adobe Flash from running")),o.one("ready progress",function(){x.removeClass(a,"is-flash-disabled"),i&&i()})}),s.poster&&x.css(a,"background-image","url("+s.poster+")");var E,t=x.css(a,"background-color"),w="none"!=x.css(a,"background-image")||t&&"rgba(0, 0, 0, 0)"!=t&&"transparent"!=t;function j(){var e=x.find(".fp-player",a)[0]||a;x.toggleClass(a,"is-tiny",e.clientWidth<400),x.toggleClass(a,"is-small",e.clientWidth<600&&400<=e.clientWidth)}w&&!s.splash&&(s.poster||(s.poster=!0),E=function(){x.addClass(a,"is-poster"),x.addClass(g,"fp-visible"),o.poster=!0,o.on("resume.poster progress.poster beforeseek.poster",function(e){"beforeseek"!==e.type&&!o.playing||(x.removeClass(a,"is-poster"),x.removeClass(g,"fp-visible"),o.poster=!1,o.off(".poster"))})},o.on("stop",function(){E()}),o.on("ready",function(e,t,n){n.index||n.autoplay||E()})),"string"==typeof s.splash&&x.css(a,"background-image","url('"+s.splash+"')"),!w&&o.forcedSplash&&x.css(a,"background-color","#555"),D.on(a,"click",".fp-toggle, .fp-play, .fp-playbtn",function(){o.disabled||o.toggle()}),D.on(a,"click",".fp-volumebtn",function(){o.mute()}),D.on(a,"click",".fp-fullscreen",function(){o.fullscreen()}),D.on(a,"click",".fp-unload",function(){o.unload()}),D.on(y,"slide",function(e){o.seeking=!0,o.manual_seeking=!0,o.seekTo(10*e)}),D.on(b,"slide",function(e){o.volume(e)}),D.on(a,"click",".fp-duration,.fp-remaining",function(){if(o.dvr)return o.seekTo(10);x.toggleClass(a,"is-inverted")}),A(C),o.on("shutdown",function(){D.off(y),D.off(b),x.removeNode(r),x.find(".fp-ratio",a).forEach(x.removeNode)}),j(),window.addEventListener("resize",j)}),t.exports.format=Z}.call(this)}.call(this,e("buffer").Buffer)},{"../common":1,"../flowplayer":31,"./ui/bar-slider":28,"./ui/slider":29,bean:34,buffer:35}],28:[function(e,t,n){var u=e("bean"),f=e("../../common");t.exports=function(r,e){var i=(e=e||{}).activeClass||"fp-color",o=e.inactiveClass||"fp-grey",t=e.childSelector||"em",a=!!e.rtl,n=!1,s=f.find(t,r).length,l={unload:function(){u.off(r,".barslider")},slide:function(n,e){f.find(t,r).forEach(function(e,t){t=t/s© 2018 Flowplayer ABAbout FlowplayerGPL based license'),7!==(f=window.location.href.indexOf("localhost"))&&(c||s).appendChild(u),e.on("pause resume finish unload ready",function(e,t){var n=-1;if(t.video.src)for(var i=[["org","flowplayer","drive"],["org","flowplayer","my"],["org","flowplayer","cdn"],["com","flowplayer","cdn"]],r=0;r>16&255,o[a++]=t>>8&255,o[a++]=255&t;2===i&&(t=l[e.charCodeAt(n)]<<2|l[e.charCodeAt(n+1)]>>4,o[a++]=255&t);1===i&&(t=l[e.charCodeAt(n)]<<10|l[e.charCodeAt(n+1)]<<4|l[e.charCodeAt(n+2)]>>2,o[a++]=t>>8&255,o[a++]=255&t);return o},n.fromByteArray=function(e){for(var t,n=e.length,i=n%3,r=[],o=0,a=n-i;o>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}(i));return r.join("")}(e,o,a>2]+s[t<<4&63]+"==")):2==i&&(t=(e[n-2]<<8)+e[n-1],r.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"="));return r.join("")};for(var s=[],l=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,o=i.length;r>>1;case"base64":return j(e).length;default:if(r)return i?-1:E(e).length;t=(""+t).toLowerCase(),r=!0}}function n(e,t,n){var i,r=!1;if((t=void 0===t||t<0?0:t)>this.length)return"";if((n=void 0===n||n>this.length?this.length:n)<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":var o=this,a=t,s=n,l=o.length;(!s||s<0||l=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=f.from(t,i)),f.isBuffer(t))return 0===t.length?-1:h(e,t,n,i,r);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?(r?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,t,n):h(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function h(e,t,n,i,r){var o=1,a=e.length,s=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a/=o=2,s/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(r)for(var c=-1,u=n;u>8,i=i%256,r.push(i),r.push(n);return r}(t,e.length-n),e,n,i)}function A(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r>>10&1023|55296),u=56320|1023&u),i.push(u),r+=f}var d=i,p=d.length;if(p<=v)return String.fromCharCode.apply(String,d);for(var h="",g=0;gt&&(e+=" ... "),""},f.prototype.compare=function(e,t,n,i,r){if(x(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),(t=void 0===t?0:t)<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(r<=i&&n<=t)return 0;if(r<=i)return-1;if(n<=t)return 1;if(this===e)return 0;for(var o=(r>>>=0)-(i>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(i,r),c=e.slice(t,n),u=0;u>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-t;if((void 0===n||rthis.length)throw new RangeError("Attempt to write outside buffer bounds");i=i||"utf8";for(var o,a,s,l=!1;;)switch(i){case"hex":var c=this,u=e,f=t,d=n,p=(f=Number(f)||0,c.length-f);(!d||p<(d=Number(d)))&&(d=p),(p=u.length)/2e.length)throw new RangeError("Index out of range")}function b(e,t,n,i){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(e,t,n,i,r){return t=+t,n>>>=0,r||b(e,0,n,4),o.write(e,t,n,i,23,4),n+4}function C(e,t,n,i,r){return t=+t,n>>>=0,r||b(e,0,n,8),o.write(e,t,n,i,52,8),n+8}f.prototype.slice=function(e,t){var n=this.length,n=((e=~~e)<0?(e+=n)<0&&(e=0):n>>=0,t>>>=0,n||g(e,t,this.length);for(var i=this[e],r=1,o=0;++o>>=0,t>>>=0,n||g(e,t,this.length);for(var i=this[e+--t],r=1;0>>=0,t||g(e,1,this.length),this[e]},f.prototype.readUInt16LE=function(e,t){return e>>>=0,t||g(e,2,this.length),this[e]|this[e+1]<<8},f.prototype.readUInt16BE=function(e,t){return e>>>=0,t||g(e,2,this.length),this[e]<<8|this[e+1]},f.prototype.readUInt32LE=function(e,t){return e>>>=0,t||g(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},f.prototype.readUInt32BE=function(e,t){return e>>>=0,t||g(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},f.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||g(e,t,this.length);for(var i=this[e],r=1,o=0;++o>>=0,t>>>=0,n||g(e,t,this.length);for(var i=t,r=1,o=this[e+--i];0>>=0,t||g(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},f.prototype.readInt16LE=function(e,t){e>>>=0,t||g(e,2,this.length);t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},f.prototype.readInt16BE=function(e,t){e>>>=0,t||g(e,2,this.length);t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},f.prototype.readInt32LE=function(e,t){return e>>>=0,t||g(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},f.prototype.readInt32BE=function(e,t){return e>>>=0,t||g(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},f.prototype.readFloatLE=function(e,t){return e>>>=0,t||g(e,4,this.length),o.read(this,e,!0,23,4)},f.prototype.readFloatBE=function(e,t){return e>>>=0,t||g(e,4,this.length),o.read(this,e,!1,23,4)},f.prototype.readDoubleLE=function(e,t){return e>>>=0,t||g(e,8,this.length),o.read(this,e,!0,52,8)},f.prototype.readDoubleBE=function(e,t){return e>>>=0,t||g(e,8,this.length),o.read(this,e,!1,52,8)},f.prototype.writeUIntLE=function(e,t,n,i){e=+e,t>>>=0,n>>>=0,i||w(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,i||w(this,e,t,n,Math.pow(2,8*n)-1,0);var r=n-1,o=1;for(this[t+r]=255&e;0<=--r&&(o*=256);)this[t+r]=e/o&255;return t+n},f.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,255,0),this[t]=255&e,t+1},f.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},f.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},f.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},f.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},f.prototype.writeIntLE=function(e,t,n,i){e=+e,t>>>=0,i||w(this,e,t,n,(i=Math.pow(2,8*n-1))-1,-i);var r=0,o=1,a=0;for(this[t]=255&e;++r>0)-a&255;return t+n},f.prototype.writeIntBE=function(e,t,n,i){e=+e,t>>>=0,i||w(this,e,t,n,(i=Math.pow(2,8*n-1))-1,-i);var r=n-1,o=1,a=0;for(this[t+r]=255&e;0<=--r&&(o*=256);)e<0&&0===a&&0!==this[t+r+1]&&(a=1),this[t+r]=(e/o>>0)-a&255;return t+n},f.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,127,-128),this[t]=255&(e=e<0?255+e+1:e),t+1},f.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},f.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},f.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},f.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),this[t]=(e=e<0?4294967295+e+1:e)>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},f.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},f.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},f.prototype.writeDoubleLE=function(e,t,n){return C(this,e,t,!0,n)},f.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},f.prototype.copy=function(e,t,n,i){if(!f.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n=n||0,i||0===i||(i=this.length),t>=e.length&&(t=e.length),(i=0=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length);var r=(i=e.length-t>>=0,n=void 0===n?this.length:n>>>0,"number"==typeof(e=e||0))for(o=t;o>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function j(e){return S.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(M,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function N(e,t,n,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}function x(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function D(e){return e!=e}}.call(this)}.call(this,L("buffer").Buffer)},{"base64-js":33,buffer:35,ieee754:40}],36:[function(e,t,n){var l=e("indexof");function c(e){return!!e}t.exports=function(r){var e=r.classList;if(e)return e;var i={add:t,remove:n,contains:o,toggle:function(e){return o(e)?(n(e),!1):(t(e),!0)},toString:function(){return r.className},length:0,item:function(e){return a()[e]||null}};return i;function t(e){var t=a();-1>>0},A=(b(n,{bind:function(t){var n=this;if(!d(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var i,r=c.call(arguments,1),e=y(0,n.length-r.length),o=[],a=0;a=i)throw new TypeError("reduce of empty array with no initial value")}for(;o=h(10,n+1)&&(c/=10,o+=1)}else{K(h(10,l-o+(n=16)));for(var f,d=n;0>1,u=-7,f=n?r-1:0,d=n?-1:1,r=e[t+f];for(f+=d,o=r&(1<<-u)-1,r>>=-u,u+=s;0>=-u,u+=i;0>1,f=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:o-1,p=i?1:-1,o=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(i=Math.pow(2,-a))<1&&(a--,i*=2),2<=(t+=1<=a+u?f/i:f*Math.pow(2,1-u))*i&&(a++,i/=2),c<=a+u?(s=0,a=c):1<=a+u?(s=(t*i-1)*Math.pow(2,r),a+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,r),a=0));8<=r;e[n+d]=255&s,d+=p,s/=256,r-=8);for(a=a<= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=y-1,w=Math.floor,b=String.fromCharCode;function I(e){throw new RangeError(f[e])}function p(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function h(e,t){var n=e.split("@"),i="",n=(1>>10&1023|55296),e=56320|1023&e),t+=b(e)}).join("")}function M(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function S(e,t,n){var i=0;for(e=n?w(e/s):e>>1,e+=w(e/t);d*v>>1w((m-u)/o))&&I("overflow"),u+=s*o,!(s<(s=a<=d?1:d+v<=a?v:a-d));a+=y)o>w(m/(s=y-s))&&I("overflow"),o*=s;d=S(u-r,t=l.length+1,0==r),w(u/t)>m-f&&I("overflow"),f+=w(u/t),u%=t,l.splice(u++,0,f)}return g(l)}function E(e){for(var t,n,i,r,o,a,s,l,c,u,f=[],d=(e=C(e)).length,p=128,h=72,g=t=0;gw((m-t)/(l=n+1))&&I("overflow"),t+=(r-p)*l,p=r,g=0;gm&&I("overflow"),s==p){for(o=t,a=y;!(o<(c=a<=h?1:h+v<=a?v:a-h));a+=y)f.push(b(M(c+(u=o-c)%(c=y-c),0))),o=w(u/c);f.push(b(M(o,0))),h=S(t,l,n==i),t=0,++n}++t,++p}return f.join("")}if(r={version:"1.4.1",ucs2:{decode:C,encode:g},decode:A,encode:E,toASCII:function(e){return h(e,function(e){return c.test(e)?"xn--"+E(e):e})},toUnicode:function(e){return h(e,function(e){return l.test(e)?A(e.slice(4).toLowerCase()):e})}},t&&n)if(N.exports==t)n.exports=r;else for(o in r)r.hasOwnProperty(o)&&(t[o]=r[o]);else e.punycode=r}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],44:[function(e,t,n){!function(e){void 0!==t&&t.exports?t.exports=e():this.$script=e()}(function(){var c,r,o=document,a=o.getElementsByTagName("head")[0],s=!1,u="push",l="readyState",f="onreadystatechange",d={},p={},h={},g={};function m(e,t){for(var n=0,i=e.length;n