// source --> http://www.museumwoubrugge.nl/wordpress/wp-content/plugins/visitors-traffic-real-time-statistics/js/front.js?ver=5.2.2 var pageid = ahcfree_ajax_front.page_id; var page_id = (pageid.length > 0) ? pageid : ''; var pagetitle = ahcfree_ajax_front.page_title; var page_title = (pagetitle.length > 0) ? pagetitle : ''; var posttype = ahcfree_ajax_front.post_type; var post_type = (posttype.length > 0) ? posttype : ''; var referer = document.referrer; var useragent = window.navigator.userAgent; var servername = location.hostname; var hostname = location.host; var request_uri = location.pathname.substring(1); var xhttp = new XMLHttpRequest(); xhttp.open("POST", ahcfree_ajax_front.ajax_url, true); xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xhttp.send("action=ahcfree_track_visitor&page_id="+ page_id +"&page_title="+ page_title + "&post_type="+ post_type + "&referer="+ referer +"&useragent="+ useragent +"&servername="+ servername +"&hostname="+ hostname +"&request_uri="+request_uri); /* jQuery(document).ready(function () { var pageid = ahcfree_ajax_front.page_id; var page_id = (pageid.length > 0) ? pageid : ''; var pagetitle = ahcfree_ajax_front.page_title; var page_title = (pagetitle.length > 0) ? pagetitle : ''; var posttype = ahcfree_ajax_front.post_type; var post_type = (posttype.length > 0) ? posttype : ''; var referer = document.referrer; var useragent = window.navigator.userAgent; var servername = location.hostname; var hostname = location.host; var request_uri = location.pathname.substring(1); jQuery.ajax({ type: 'POST', url : ahcfree_ajax_front.ajax_url, data: { 'action': 'ahcfree_track_visitor', 'page_id': page_id, 'page_title': page_title, 'post_type': post_type, 'referer': referer, 'useragent':useragent, 'servername':servername, 'hostname':hostname, 'request_uri':request_uri }, success: function(data){ console.log(data); }, error: function(data) { console.log(data); } }); }); */; // source --> http://www.museumwoubrugge.nl/wordpress/wp-content/plugins/flowplayer6-video-player/lib/flowplayer.min.js?ver=5.2.2 /*! Flowplayer v7.0.4 (Friday, 28. April 2017 01:12PM) | flowplayer.org/license */ !function(e){function t(e,t,n,i){for(var o,a=n.slice(),s=r(t,e),l=0,u=a.length;u>l&&(handler=a[l],"object"==typeof handler&&"function"==typeof handler.handleEvent?handler.handleEvent(s):handler.call(e,s),!s.stoppedImmediatePropagation);l++);return o=!s.stoppedPropagation,i&&o&&e.parentNode?e.parentNode.dispatchEvent(s):!s.defaultPrevented}function n(e,t){return{configurable:!0,get:e,set:t}}function i(e,t,i){var r=y(t||e,i);m(e,"textContent",n(function(){return r.get.call(this)},function(e){r.set.call(this,e)}))}function r(e,t){return e.currentTarget=t,e.eventPhase=e.target===e.currentTarget?2:3,e}function o(e,t){for(var n=e.length;n--&&e[n]!==t;);return n}function a(){if("BR"===this.tagName)return"\n";for(var e=this.firstChild,t=[];e;)8!==e.nodeType&&7!==e.nodeType&&t.push(e.textContent),e=e.nextSibling;return t.join("")}function s(e){!f&&M.test(document.readyState)&&(f=!f,document.detachEvent(d,s),e=document.createEvent("Event"),e.initEvent(p,!0,!0),document.dispatchEvent(e))}function l(e){for(var t;t=this.lastChild;)this.removeChild(t);null!=e&&this.appendChild(document.createTextNode(e))}function u(t,n){return n||(n=e.event),n.target||(n.target=n.srcElement||n.fromElement||document),n.timeStamp||(n.timeStamp=(new Date).getTime()),n}if(!document.createEvent){var c=!0,f=!1,d="onreadystatechange",p="DOMContentLoaded",h="__IE8__"+Math.random(),g=e.Object,m=g.defineProperty||function(e,t,n){e[t]=n.value},v=g.defineProperties||function(t,n){for(var i in n)if(w.call(n,i))try{m(t,i,n[i])}catch(r){e.console&&console.log(i+" failed on object:",t,r.message)}},y=g.getOwnPropertyDescriptor,w=g.prototype.hasOwnProperty,b=e.Element.prototype,I=e.Text.prototype,C=/^[a-z]+$/,M=/loaded|complete/,A={},S=document.createElement("div");i(e.HTMLCommentElement.prototype,b,"nodeValue"),i(e.HTMLScriptElement.prototype,null,"text"),i(I,null,"nodeValue"),i(e.HTMLTitleElement.prototype,null,"text"),m(e.HTMLStyleElement.prototype,"textContent",function(e){return n(function(){return e.get.call(this.styleSheet)},function(t){e.set.call(this.styleSheet,t)})}(y(e.CSSStyleSheet.prototype,"cssText"))),v(b,{textContent:{get:a,set:l},firstElementChild:{get:function(){for(var e=this.childNodes||[],t=0,n=e.length;n>t;t++)if(1==e[t].nodeType)return e[t]}},lastElementChild:{get:function(){for(var e=this.childNodes||[],t=e.length;t--;)if(1==e[t].nodeType)return e[t]}},previousElementSibling:{get:function(){for(var e=this.previousSibling;e&&1!=e.nodeType;)e=e.previousSibling;return e}},nextElementSibling:{get:function(){for(var e=this.nextSibling;e&&1!=e.nodeType;)e=e.nextSibling;return e}},childElementCount:{get:function(){for(var e=0,t=this.childNodes||[],n=t.length;n--;e+=1==t[n].nodeType);return e}},addEventListener:{value:function(e,n,i){var r,a=this,s="on"+e,l=a[h]||m(a,h,{value:{}})[h],c=l[s]||(l[s]={}),f=c.h||(c.h=[]);if(!w.call(c,"w")){if(c.w=function(e){return e[h]||t(a,u(a,e),f,!1)},!w.call(A,s))if(C.test(e))try{r=document.createEventObject(),r[h]=!0,9!=a.nodeType&&null==a.parentNode&&S.appendChild(a),a.fireEvent(s,r),A[s]=!0}catch(r){for(A[s]=!1;S.hasChildNodes();)S.removeChild(S.firstChild)}else A[s]=!1;(c.n=A[s])&&a.attachEvent(s,c.w)}o(f,n)<0&&f[i?"unshift":"push"](n)}},dispatchEvent:{value:function(e){var n,i=this,r="on"+e.type,o=i[h],a=o&&o[r],s=!!a;return e.target||(e.target=i),s?a.n?i.fireEvent(r,e):t(i,e,a.h,!0):(n=i.parentNode)?n.dispatchEvent(e):!0,!e.defaultPrevented}},removeEventListener:{value:function(e,t,n){var i=this,r="on"+e,a=i[h],s=a&&a[r],l=s&&s.h,u=l?o(l,t):-1;u>-1&&l.splice(u,1)}}}),v(I,{addEventListener:{value:b.addEventListener},dispatchEvent:{value:b.dispatchEvent},removeEventListener:{value:b.removeEventListener}}),v(e.XMLHttpRequest.prototype,{addEventListener:{value:function(e,t,n){var i=this,r="on"+e,a=i[h]||m(i,h,{value:{}})[h],s=a[r]||(a[r]={}),l=s.h||(s.h=[]);o(l,t)<0&&(i[r]||(i[r]=function(){var t=document.createEvent("Event");t.initEvent(e,!0,!0),i.dispatchEvent(t)}),l[n?"unshift":"push"](t))}},dispatchEvent:{value:function(e){var n=this,i="on"+e.type,r=n[h],o=r&&r[i],a=!!o;return a&&(o.n?n.fireEvent(i,e):t(n,e,o.h,!0))}},removeEventListener:{value:b.removeEventListener}}),v(e.Event.prototype,{bubbles:{value:!0,writable:!0},cancelable:{value:!0,writable:!0},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0,this.returnValue=!1)}},stopPropagation:{value:function(){this.stoppedPropagation=!0,this.cancelBubble=!0}},stopImmediatePropagation:{value:function(){this.stoppedImmediatePropagation=!0,this.stopPropagation()}},initEvent:{value:function(e,t,n){this.type=e,this.bubbles=!!t,this.cancelable=!!n,this.bubbles||this.stopPropagation()}}}),v(e.HTMLDocument.prototype,{textContent:{get:function(){return 11===this.nodeType?a.call(this):null},set:function(e){11===this.nodeType&&l.call(this,e)}},addEventListener:{value:function(t,n,i){var r=this;b.addEventListener.call(r,t,n,i),c&&t===p&&!M.test(r.readyState)&&(c=!1,r.attachEvent(d,s),e==top&&function o(e){try{r.documentElement.doScroll("left"),s()}catch(t){setTimeout(o,50)}}())}},dispatchEvent:{value:b.dispatchEvent},removeEventListener:{value:b.removeEventListener},createEvent:{value:function(e){var t;if("Event"!==e)throw new Error("unsupported "+e);return t=document.createEventObject(),t.timeStamp=(new Date).getTime(),t}}}),v(e.Window.prototype,{getComputedStyle:{value:function(){function e(e){this._=e}function t(){}var n=/^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/,i=/^(top|right|bottom|left)$/,r=/\-([a-z])/g,o=function(e,t){return t.toUpperCase()};return e.prototype.getPropertyValue=function(e){var t,a,s,l=this._,u=l.style,c=l.currentStyle,f=l.runtimeStyle;return e=("float"===e?"style-float":e).replace(r,o),t=c?c[e]:u[e],n.test(t)&&!i.test(e)&&(a=u.left,s=f&&f.left,s&&(f.left=c.left),u.left="fontSize"===e?"1em":t,t=u.pixelLeft+"px",u.left=a,s&&(f.left=s)),null==t?t:t+""||"auto"},t.prototype.getPropertyValue=function(){return null},function(n,i){return i?new t(n):new e(n)}}()},addEventListener:{value:function(n,i,r){var a,s=e,l="on"+n;s[l]||(s[l]=function(e){return t(s,u(s,e),a,!1)}),a=s[l][h]||(s[l][h]=[]),o(a,i)<0&&a[r?"unshift":"push"](i)}},dispatchEvent:{value:function(t){var n=e["on"+t.type];return n?n.call(e,t)!==!1&&!t.defaultPrevented:!0}},removeEventListener:{value:function(t,n,i){var r="on"+t,a=(e[r]||g)[h],s=a?o(a,n):-1;s>-1&&a.splice(s,1)}}})}}(this),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.flowplayer=e()}}(function(){var e;return function t(e,n,i){function r(a,s){if(!n[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[a]={exports:{}};e[a][0].call(c.exports,function(t){var n=e[a][1][t];return r(n?n:t)},c,c.exports,t,e,n,i)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a"+n+"").attr(t)[0]}},i.toggleClass=function(e,t,n){if(e){var i=r(e);"undefined"==typeof n?i.toggle(t):n?i.add(t):n||i.remove(t)}},i.addClass=function(e,t){return i.toggleClass(e,t,!0)},i.removeClass=function(e,t){return i.toggleClass(e,t,!1)},i.append=function(e,t){return e.appendChild(t),e},i.appendTo=function(e,t){return i.append(t,e),e},i.prepend=function(e,t){e.insertBefore(t,e.firstChild)},i.insertAfter=function(e,t,n){t==i.lastChild(e)&&e.appendChild(n);var r=Array.prototype.indexOf.call(e.children,t);e.insertBefore(n,e.children[r+1])},i.html=function(e,t){e=e.length?e:[e],e.forEach(function(e){e.innerHTML=t})},i.attr=function(e,t,n){if("class"===t&&(t="className"),i.hasOwnOrPrototypeProperty(e,t))try{e[t]=n}catch(r){if(!o)throw r;o(e).attr(t,n)}else n===!1?e.removeAttribute(t):e.setAttribute(t,n);return e},i.prop=function(e,t,n){return"undefined"==typeof n?e&&e[t]:void(e[t]=n)},i.offset=function(e){var t=e.getBoundingClientRect();return e.offsetWidth/e.offsetHeight>e.clientWidth/e.clientHeight&&(t={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},i.width=function(e,t){if(t)return e.style.width=(""+t).replace(/px$/,"")+"px";var n=i.offset(e).width;return"undefined"==typeof n?e.offsetWidth:n},i.height=function(e,t){if(t)return e.style.height=(""+t).replace(/px$/,"")+"px";var n=i.offset(e).height;return"undefined"==typeof n?e.offsetHeight:n},i.lastChild=function(e){return e.children[e.children.length-1]},i.hasParent=function(e,t){for(var n=e.parentElement;n;){if(i.matches(n,t))return!0;n=n.parentElement}return!1},i.createAbsoluteUrl=function(e){return i.createElement("a",{href:e}).href},i.xhrGet=function(e,t,n){var i=new XMLHttpRequest;i.onreadystatechange=function(){return 4===this.readyState?this.status>=400?n():void t(this.responseText):void 0},i.open("get",e,!0),i.send()},i.pick=function(e,t){var n={};return t.forEach(function(t){e.hasOwnProperty(t)&&(n[t]=e[t])}),n},i.hostname=function(e){return a.toUnicode(e||window.location.hostname)},i.browser={webkit:"WebkitAppearance"in document.documentElement.style},i.getPrototype=function(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__},i.hasOwnOrPrototypeProperty=function(e,t){for(var n=e;n;){if(Object.prototype.hasOwnProperty.call(n,t))return!0;n=i.getPrototype(n)}return!1},i.matches=function(e,t){var n=Element.prototype,i=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=this,n=(t.document||t.ownerDocument).querySelectorAll(e),i=0;n[i]&&n[i]!==t;)i++;return n[i]?!0:!1};return i.call(e,t)},function(e){function t(e){return e.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()})}"undefined"!=typeof e.setAttribute&&(e.setProperty=function(e,n){return this.setAttribute(t(e),String(n))},e.getPropertyValue=function(e){return this.getAttribute(t(e))||null},e.removeProperty=function(e){var n=this.getPropertyValue(e);return this.removeAttribute(t(e)),n})}(window.CSSStyleDeclaration.prototype)},{"class-list":33,"computed-style":34,punycode:41}],2:[function(e,t,n){"use strict";var i=e("../common");t.exports=function(e,t,n,r){n=n||"opaque";var o="obj"+(""+Math.random()).slice(2,15),a='-1;a+=s?'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">':' data="'+e+'" type="application/x-shockwave-flash">';var l={width:"100%",height:"100%",allowscriptaccess:"always",wmode:n,quality:"high",flashvars:"",movie:e+(s?"?"+o:""),name:o};"transparent"!==n&&(l.bgcolor=r||"#333333"),Object.keys(t).forEach(function(e){l.flashvars+=e+"="+t[e]+"&"}),Object.keys(l).forEach(function(e){a+=''}),a+="";var u=i.createElement("div",{},a);return i.find("object",u)},window.attachEvent&&window.attachEvent("onbeforeunload",function(){window.__flash_savedUnloadHandler=window.__flash_unloadHandler=function(){}})},{"../common":1}],3:[function(e,t,n){"use strict";function i(e){return/^https?:/.test(e)}var r,o=e("../flowplayer"),a=e("../common"),s=e("./embed"),l=e("extend-object"),u=e("bean");r=function(e,t){function n(e){function t(e){return("0"+parseInt(e).toString(16)).slice(-2)}return(e=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))?"#"+t(e[1])+t(e[2])+t(e[3]):void 0}function c(e){if(7===e.length)return e;var t=e.split("").slice(1);return"#"+t.map(function(e){return e+e}).join("")}function f(e){return/application\/x-mpegurl/i.test(e.type)}var d,p,h,g,m=e.conf,v=[],y={engineName:r.engineName,pick:function(t){var n=l({},function(){if(o.support.flashVideo){for(var n,i,r=0;r video",t)[0],I=r.src,C=i(I),M=function(){a.removeNode(b)},A=function(e){return e.some(function(e){return!!b.canPlayType(e.type)})};o.support.video&&a.prop(b,"autoplay")&&A(r.sources)?u.one(b,"timeupdate",M):M();var S=r.rtmp||m.rtmp;if(C||S||(I=a.createAbsoluteUrl(I)),h&&f(r)&&h.data!==a.createAbsoluteUrl(m.swfHls)&&y.unload(),h){["live","preload","loop"].forEach(function(e){r.hasOwnProperty(e)&&h.__set(e,r[e])}),Object.keys(r.flashls||{}).forEach(function(e){h.__set("hls_"+e,r.flashls[e])});var E=!1;if(!C&&S)h.__set("rtmp",S.url||S);else{var D=h.__get("rtmp");E=!!D,h.__set("rtmp",null)}h.__play(I,E||r.rtmp&&r.rtmp!==m.rtmp)}else{p="fpCallback"+(""+Math.random()).slice(3,15),I=w(I);var N={hostname:m.embedded?a.hostname(m.hostname):a.hostname(location.hostname),url:I,callback:p};t.getAttribute("data-origin")&&(N.origin=t.getAttribute("data-origin")),["proxy","key","autoplay","preload","subscribe","live","loop","debug","splash","poster","rtmpt"].forEach(function(e){m.hasOwnProperty(e)&&(N[e]=m[e]),r.hasOwnProperty(e)&&(N[e]=r[e]),(m.rtmp||{}).hasOwnProperty(e)&&(N[e]=(m.rtmp||{})[e]),(r.rtmp||{}).hasOwnProperty(e)&&(N[e]=(r.rtmp||{})[e])}),m.rtmp&&(N.rtmp=m.rtmp.url||m.rtmp),r.rtmp&&(N.rtmp=r.rtmp.url||r.rtmp),Object.keys(r.flashls||{}).forEach(function(e){var t=r.flashls[e];N["hls_"+e]=t});var j="undefined"!=typeof r.hlsQualities?r.hlsQualities:m.hlsQualities;"undefined"!=typeof j&&(N.hlsQualities=j?encodeURIComponent(JSON.stringify(j)):j),void 0!==m.bufferTime&&(N.bufferTime=m.bufferTime),C&&delete N.rtmp,N.rtmp&&(N.rtmp=w(N.rtmp));var L,x=m.bgcolor||a.css(t,"background-color")||"";0===x.indexOf("rgb")?L=n(x):0===x.indexOf("#")&&(L=c(x)),N.initialVolume=e.volumeLevel;var T=f(r)?m.swfHls:m.swf;h=s(T,N,m.wmode,L)[0];var Z=a.find(".fp-player",t)[0];a.prepend(Z,h),e.off("quality.flashengine").on("quality.flashengine",function(t,n,i){var r="undefined"!=typeof e.video.hlsQualities?e.video.hlsQualities:e.conf.hlsQualities;r&&h.__quality(i)}),setTimeout(function(){try{if(!h.PercentLoaded())return e.trigger("error",[e,{code:7,url:m.swf}])}catch(t){}},5e3),v.push(setTimeout(function(){"undefined"==typeof h.PercentLoaded&&e.trigger("flashdisabled",[e])},15e3)),v.push(setTimeout(function(){"undefined"==typeof h.PercentLoaded&&e.trigger("flashdisabled",[e,!1])},500)),e.off("resume.flashhack").on("resume.flashhack",function(){var t=setTimeout(function(){var t=h.__status().time,n=setTimeout(function(){e.playing&&!e.loading&&h.__status().time===t&&e.trigger("flashdisabled",[e])},400);v.push(n),e.one("seek.flashhack pause.flashhack load.flashack",function(){clearTimeout(n)})},800);v.push(t),e.one("progress",function(){clearTimeout(t)})}),h.pollInterval=setInterval(function(){if(h&&!g){var t=h.__status?h.__status():null;t&&((e.conf.live||e.live||r.live)&&(r.seekOffset=t.seekOffset,r.duration=t.duration+t.seekOffset),e.playing&&t.time&&t.time!==e.video.time&&e.trigger("progress",[e,t.time]),r.buffer=t.buffer/r.bytes*r.duration,e.trigger("buffer",[e,r.buffer]),!r.buffered&&t.time>0&&(r.buffered=!0,e.trigger("buffered",[e])))}},250),window[p]=function(n,i){var r=d;m.debug&&(0===n.indexOf("debug")&&i&&i.length?console.log.apply(console,["-- "+n].concat(i)):console.log("--",n,i));var o={type:n};switch(n){case"ready":i=l(r,i);break;case"click":o.flash=!0;break;case"keydown":o.which=i;break;case"seek":r.time=i;break;case"status":e.trigger("progress",[e,i.time]),i.buffer=n.seekable.start(null)||(n.currentTime=n.seekable.start(null)))}),Object.keys(h).forEach(function(r){var o=h[r];if("webkitendfullscreen"===r&&e.conf.disableInline&&(o="unload"),o){var u=function(l){if(a=n.listeners[s],l.target&&d.hasClass(l.target,"fp-engine")){b.debug&&!/progress/.test(o)&&console.log(r,"->",o,l);var u=function(){e.trigger(o,[e,c])};if(!e.ready&&!/ready|error/.test(o)||!o||!d.find("video",t).length)return void("resume"===o&&e.one("ready",function(){setTimeout(function(){u()})}));var c;if("unload"===o)return void e.unload();switch(o){case"ready":c=f(a,{duration:n.duration0||e.live)c=Math.max(n.currentTime,0);else if("progress"==o)return;break;case"speed":c=i(n.playbackRate);break;case"volume":c=i(n.volume);break;case"error":try{c=(l.srcElement||l.originalTarget).error,c.video=f(a,{src:n.src,url:n.src})}catch(y){return}}u()}};t.addEventListener(r,u,!0),l[r]||(l[r]=[]),l[r].push(u)}}),l}var r,p,m,v,y=d.findDirect("video",t)[0]||d.find(".fp-player > video",t)[0],w=u.support,b=e.conf;return r={engineName:l.engineName,pick:function(e){var t=function(){if(w.video){if(b.videoTypePreference){var t=a(e,b.videoTypePreference);if(t)return t}for(var n=0;n=0&&r.addClass(t,"cue"+e)}function i(t){var n=t&&!isNaN(t.time)?t.time:t;return 0>n&&(n=e.video.duration+n),.125*Math.round(n/.125)}var a=/ ?cue\d+ ?/,s=!1,l={},u=-.125,c=function(t){var i=e.cuepoints.indexOf(t);isNaN(t)||(t={time:t}),t.index=i,n(i),e.trigger("cuepoint",[e,t])};e.on("progress",function(e,t,n){if(!s)for(var r=i(n);r>u;)u+=.125,l[u]&&l[u].forEach(c)}).on("unload",n).on("beforeseek",function(e){setTimeout(function(){e.defaultPrevented||(s=!0)})}).on("seek",function(e,t,r){n(),u=i(r||0)-.125,s=!1,!r&&l[0]&&l[0].forEach(c)}).on("ready",function(t,n,i){u=-.125;var r=i.cuepoints||e.conf.cuepoints||[];e.setCuepoints(r)}).on("finish",function(){u=-.125}),e.conf.generate_cuepoints&&e.bind("load",function(){r.find(".fp-cuepoint",t).forEach(r.removeNode)}),e.setCuepoints=function(t){return e.cuepoints=[],l={},t.forEach(e.addCuepoint),e},e.addCuepoint=function(n){e.cuepoints||(e.cuepoints=[]);var a=i(n);if(l[a]||(l[a]=[]),l[a].push(n),e.cuepoints.push(n),e.conf.generate_cuepoints&&n.visible!==!1){var s=e.video.duration,u=r.find(".fp-timeline",t)[0];r.css(u,"overflow","visible");var c=n.time||n;0>c&&(c=s+c);var f=r.createElement("a",{className:"fp-cuepoint fp-cuepoint"+(e.cuepoints.length-1)});r.css(f,"left",c/s*100+"%"),u.appendChild(f),o.on(f,"mousedown",function(t){t.preventDefault(),t.stopPropagation(),e.seek(c)})}return e},e.removeCuepoint=function(t){var n=e.cuepoints.indexOf(t),r=i(t);if(-1!==n){e.cuepoints=e.cuepoints.slice(0,n).concat(e.cuepoints.slice(n+1));var o=l[r].indexOf(t);if(-1!==o)return l[r]=l[r].slice(0,o).concat(l[r].slice(o+1)),e}}})},{"../common":1,"../flowplayer":28,bean:31}],9:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("bean"),o=e("../common"),a=e("./util/clipboard");i(function(e,t){if(e.conf.embed!==!1&&e.conf.share!==!1){var n=o.find(".fp-share-menu",t)[0],i=o.createElement("a",{"class":"fp-icon fp-embed",title:"Copy to your site"},"Embed");o.append(n,i),e.embedCode=function(){var n=e.conf.embed||{},i=e.video,r=n.width||i.width||o.width(t),a=n.height||i.height||o.height(t),s=e.conf.ratio,l=''):((!s||e.conf.adaptiveRatio)&&(s=a/r),'
'+l+'position:absolute;top:0;left:0;width:100%;height:100%;">
')},r.on(t,"click",".fp-embed",function(){a(e.embedCode(),function(){ e.message("The embed code is now on your clipboard",2e3)},function(){e.textarea(e.embedCode(),"Copy the code below to embed your video")})})}})},{"../common":1,"../flowplayer":28,"./util/clipboard":27,bean:31}],10:[function(e,t,n){"use strict";t.exports=function(e,t){t||(t=document.createElement("div"));var n={},i={},r=function(e,r,o){var a=e.split(".")[0],s=function(l){o&&(t.removeEventListener(a,s),n[e].splice(n[e].indexOf(s),1));var u=[l].concat(i[l.timeStamp+l.type]||[]);r&&r.apply(void 0,u)};t.addEventListener(a,s),n[e]||(n[e]=[]),n[e].push(s)};e.on=e.bind=function(t,n){var i=t.split(" ");return i.forEach(function(e){r(e,n)}),e},e.one=function(t,n){var i=t.split(" ");return i.forEach(function(e){r(e,n,!0)}),e};var o=function(e,t){return 0===t.filter(function(t){return-1===e.indexOf(t)}).length};e.off=e.unbind=function(i){var r=i.split(" ");return r.forEach(function(e){var i=e.split(".").slice(1),r=e.split(".")[0];Object.keys(n).filter(function(e){var t=e.split(".").slice(1);return(!r||0===e.indexOf(r))&&o(t,i)}).forEach(function(e){var i=n[e],r=e.split(".")[0];n[e]=i.filter(function(e){return t.removeEventListener(r,e),!1})})}),e},e.trigger=function(n,r,o){if(n){r=(r||[]).length?r||[]:[r];var a,s=document.createEvent("Event");return a=n.type||n,s.initEvent(a,!1,!0),Object.defineProperty&&(s.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}),i[s.timeStamp+s.type]=r,t.dispatchEvent(s),o?s:e}}},t.exports.EVENTS=["beforeseek","disable","error","finish","fullscreen","fullscreen-exit","load","mute","pause","progress","ready","resume","seek","speed","stop","unload","volume","boot","shutdown"]},{}],11:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),o=e("bean");i(function(e,t){var n=e.conf;if(n.share!==!1&&n.facebook){e.facebook=function(){var e,t,i=550,r=420,o=screen.height,a=screen.width,s="scrollbars=yes,resizable=yes,toolbar=no,location=yes",l="string"==typeof n.facebook?n.facebook:window.location.toString();e=Math.round(a/2-i/2),t=0,o>r&&(t=Math.round(o/2-r/2)),window.open("https://www.facebook.com/sharer.php?s=100&p[url]="+encodeURIComponent(l),"sharer",s+",width="+i+",height="+r+",left="+e+",top="+t)};var i=r.find(".fp-share-menu",t)[0],a=r.createElement("a",{"class":"fp-icon fp-facebook"},"Facebook");r.append(i,a),o.on(t,"click",".fp-facebook",function(){e.facebook()})}})},{"../common":1,"../flowplayer":28,bean:31}],12:[function(e,t,n){"use strict";var i,r=e("../flowplayer"),o=e("bean"),a=e("../common"),s="fullscreen",l="fullscreen-exit",u=r.support.fullscreen,c=navigator.userAgent.toLowerCase(),f=/(safari)[ \/]([\w.]+)/.exec(c)&&!/(chrome)[ \/]([\w.]+)/.exec(c);o.on(document,"fullscreenchange.ffscr webkitfullscreenchange.ffscr mozfullscreenchange.ffscr MSFullscreenChange.ffscr",function(e){var t=document.webkitCurrentFullScreenElement||document.mozFullScreenElement||document.fullscreenElement||document.msFullscreenElement||e.target;if(i||t.parentNode&&t.parentNode.getAttribute("data-flowplayer-instance-id")){var n=i||r(t.parentNode);t&&!i?i=n.trigger(s,[t]):(i.trigger(l,[i]),i=null)}}),r(function(e,t){var n=a.createElement("div",{className:"fp-player"});if(Array.prototype.map.call(t.children,a.identity).forEach(function(e){a.matches(e,".fp-ratio,script")||n.appendChild(e)}),t.appendChild(n),e.conf.fullscreen){var r,o,c=window;e.isFullscreen=!1,e.fullscreen=function(t){return e.disabled?void 0:(void 0===t&&(t=!e.isFullscreen),t&&(r=c.scrollY,o=c.scrollX),u?t?["requestFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].forEach(function(e){return"function"==typeof n[e]?(n[e](Element.ALLOW_KEYBOARD_INPUT),setTimeout(function(){!f||document.webkitCurrentFullScreenElement||document.mozFullScreenElement||n[e]()}),!1):void 0}):["exitFullscreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].forEach(function(e){return"function"==typeof document[e]?(document[e](),!1):void 0}):e.trigger(t?s:l,[e]),e)};var d;e.on("mousedown.fs",function(){+new Date-d<150&&e.ready&&e.fullscreen(),d=+new Date}),e.on(s,function(){a.addClass(t,"is-fullscreen"),a.toggleClass(t,"fp-minimal-fullscreen",a.hasClass(t,"fp-minimal")),a.removeClass(t,"fp-minimal"),u||a.css(t,"position","fixed"),e.isFullscreen=!0}).on(l,function(){var n;a.toggleClass(t,"fp-minimal",a.hasClass(t,"fp-minimal-fullscreen")),a.removeClass(t,"fp-minimal-fullscreen"),u||"html5"!==e.engine||(n=t.css("opacity")||"",a.css(t,"opacity",0)),u||a.css(t,"position",""),a.removeClass(t,"is-fullscreen"),u||"html5"!==e.engine||setTimeout(function(){t.css("opacity",n)}),e.isFullscreen=!1,c.scrollTo(o,r)}).on("unload",function(){e.isFullscreen&&e.fullscreen()}),e.on("shutdown",function(){i=null})}})},{"../common":1,"../flowplayer":28,bean:31}],13:[function(e,t,n){"use strict";var i,r,o=e("../flowplayer"),a=e("bean"),s="is-help",l=e("../common");a.on(document,"keydown.fp",function(e){var t=i,n=e.ctrlKey||e.metaKey||e.altKey,o=e.which,a=t&&t.conf;if(t&&a.keyboard&&!t.disabled){if(-1!=[63,187,191].indexOf(o))return l.toggleClass(r,s),!1;if(27==o&&l.hasClass(r,s))return l.toggleClass(r,s),!1;if(!n&&t.ready){if(e.preventDefault(),e.shiftKey)return void(39==o?t.speed(!0):37==o&&t.speed(!1));if(58>o&&o>47)return t.seekTo(o-48);switch(o){case 38:case 75:t.volume(t.volumeLevel+.15);break;case 40:case 74:t.volume(t.volumeLevel-.15);break;case 39:case 76:t.seeking=!0,t.seek(!0);break;case 37:case 72:t.seeking=!0,t.seek(!1);break;case 190:t.seekTo();break;case 32:t.toggle();break;case 70:a.fullscreen&&t.fullscreen();break;case 77:t.mute();break;case 81:t.unload()}}}}),o(function(e,t){if(e.conf.keyboard){a.on(t,"mouseenter mouseleave",function(n){i=e.disabled||"mouseover"!=n.type?0:e,i&&(r=t)});var n=o.support.video&&"flash"!==e.conf.engine&&document.createElement("video").playbackRate?"

shift + slower / faster

":"";t.appendChild(l.createElement("div",{className:"fp-help"},'

spaceplay / pause

qunload | stop

ffullscreen

'+n+'

volume

mmute

seek

 . seek to previous

126 seek to 10%, 20% … 60%

')),a.on(t,"click",".fp-close",function(){l.toggleClass(t,s)}),e.bind("shutdown",function(){r==t&&(r=null)})}})},{"../common":1,"../flowplayer":28,bean:31}],14:[function(e,t,n){var i=e("../flowplayer"),r=e("../common"),o=e("bean");i(function(e,t){e.showMenu=function(n,i){var a=r.find(".fp-ui",t)[0];r.toggleClass(n,"fp-active",!0),setTimeout(function(){o.one(document,"click",function(){e.hideMenu(n)})});var s=i;if(i&&i.tagName&&(s={left:r.offset(i).left,rightFallbackOffset:r.width(i),top:r.offset(i).top+r.height(i)}),!s)return r.css(n,"top","auto");s.rightFallbackOffset=s.rightFallbackOffset||0;var l=s.top-r.offset(a).top,u=s.left-r.offset(a).left;r.width(n)+u>r.width(a)&&(u=u-r.width(n)+s.rightFallbackOffset),r.height(n)+l>r.height(a)&&(l-=r.height(n)),r.css(n,{top:l+"px",left:u+"px"})},e.hideMenu=function(e){r.toggleClass(e,"fp-active",!1),r.css(e,{top:"-9999em"})}})},{"../common":1,"../flowplayer":28,bean:31}],15:[function(e,t,n){var i=e("../flowplayer"),r=e("../common"),o=e("bean");i(function(e,t){function n(e){var t=r.createElement("div",{className:"fp-message"},e);return s.insertBefore(t,a),setTimeout(function(){r.toggleClass(t,"fp-shown")}),t}function i(e){r.removeNode(e)}var a=r.find(".fp-header",t)[0],s=r.find(".fp-ui",t)[0];e.message=function(e,t){var o=n(e),a=function(){r.toggleClass(o,"fp-shown"),setTimeout(function(){i(o)},500)};return t&&setTimeout(a,t),a},e.textarea=function(e){var t=document.createElement("textarea");t.value=e,t.className="fp-textarea",s.appendChild(t),o.on(document,"click.fptextarea",function(e){return e.target===t?t.select():(e.stopPropagation(),e.preventDefault(),r.removeNode(t),void o.off(document,"click.fptextarea"))})}})},{"../common":1,"../flowplayer":28,bean:31}],16:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=/IEMobile/.test(window.navigator.userAgent),o=e("../common"),a=e("bean"),s=e("./ui").format,l=window.navigator.userAgent;(i.support.touch||r)&&i(function(e,t){var n=/Android/.test(l)&&!/Firefox/.test(l)&&!/Opera/.test(l),u=/Silk/.test(l),c=n?parseFloat(/Android\ (\d\.\d)/.exec(l)[1],10):0;if(n&&!r){if(!/Chrome/.test(l)&&4>c){var f=e.load;e.load=function(){var t=f.apply(e,arguments);return e.trigger("ready",[e,e.video]),t}}var d,p=0,h=function(e){d=setInterval(function(){e.video.time=++p,e.trigger("progress",[e,p])},1e3)};e.bind("ready pause unload",function(){d&&(clearInterval(d),d=null)}),e.bind("ready",function(){p=0}),e.bind("resume",function(t,n){return n.live?p?h(n):void e.one("progress",function(e,t,n){0===n&&h(t)}):void 0})}i.support.volume||o.addClass(t,"no-volume"),o.addClass(t,"is-touch"),e.sliders&&e.sliders.timeline&&e.sliders.timeline.disableAnimation();var g=!1;if(a.on(t,"touchmove",function(){g=!0}),a.on(t,"touchend click",function(n){return g?void(g=!1):e.playing&&!o.hasClass(t,"is-mouseover")?(o.addClass(t,"is-mouseover"),o.removeClass(t,"is-mouseout"),n.preventDefault(),void n.stopPropagation()):void(e.playing||e.splash||!o.hasClass(t,"is-mouseout")||o.hasClass(t,"is-mouseover")||setTimeout(function(){e.disabled||e.playing||e.splash||e.resume()},400))}),!i.support.fullscreen&&e.conf.native_fullscreen&&"function"==typeof document.createElement("video").webkitEnterFullScreen){var m=e.fullscreen;e.fullscreen=function(){var n=o.find("video.fp-engine",t)[0];return n?(e.trigger("fullscreen",[e]),a.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement===n&&(a.off(document,".nativefullscreen"),a.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement||(a.off(document,".nativefullscreen"),e.trigger("fullscreen-exit",[e]))}))}),n.webkitEnterFullScreen(),void a.one(n,"webkitendfullscreen",function(){a.off(document,"fullscreenchange.nativefullscreen"),e.trigger("fullscreen-exit",[e]),o.prop(n,"controls",!0),o.prop(n,"controls",!1)})):m.apply(e)}}(n||u)&&e.bind("ready",function(){var n=o.find("video.fp-engine",t)[0];a.one(n,"canplay",function(){n.play()}),n.play(),e.bind("progress.dur",function(){if(!e.live&&!e.conf.live){var i=n.duration;1!==i&&(e.video.duration=i,o.find(".fp-duration",t)[0].innerHTML=s(i),e.unbind("progress.dur"))}})})})},{"../common":1,"../flowplayer":28,"./ui":24,bean:31}],17:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("extend-object"),o=e("bean"),a=e("../common"),s=e("./resolve"),l=new s,u=window.jQuery,c=/^#/;i(function(e,t){function n(){return a.find(h.query,i())}function i(){return c.test(h.query)?void 0:t}function f(){return a.find(h.query+"."+g,i())}function d(){var n=a.find(".fp-playlist",t)[0];if(!n){n=a.createElement("div",{className:"fp-playlist"});var i=a.find(".fp-next,.fp-prev",t);i.length?i[0].parentElement.insertBefore(n,i[0]):a.insertAfter(t,a.find("video",t)[0],n)}n.innerHTML="",e.conf.playlist[0].length&&(e.conf.playlist=e.conf.playlist.map(function(e){if("string"==typeof e){var t=e.split(s.TYPE_RE)[1];return{sources:[{type:"m3u8"===t.toLowerCase()?"application/x-mpegurl":"video/"+t,src:e}]}}return{sources:e.map(function(e){var t={};return Object.keys(e).forEach(function(n){t.type=/mpegurl/i.test(n)?"application/x-mpegurl":"video/"+n,t.src=e[n]}),t})}})),e.conf.playlist.forEach(function(t,i){var r=t.sources[0].src;n.appendChild(a.createElement("a",{href:r,className:e.video.index===i?g:void 0,"data-index":i}))})}function p(t){return"undefined"!=typeof t.index?t.index:"undefined"!=typeof e.video.index?e.video.index:e.conf.startIndex||0}var h=r({active:"is-active",advance:!0,query:".fp-playlist a"},e.conf),g=h.active,m=a.find(".fp-ui",t)[0],v=a.hasClass(t,"fp-custom-playlist")||!!h.customPlaylist;a.toggleClass(t,"fp-custom-playlist",v),a.toggleClass(t,"fp-default-playlist",!v),e.play=function(t){if(void 0===t)return e.resume();if("number"==typeof t&&!e.conf.playlist[t])return e;if("number"!=typeof t)return e.load.apply(null,arguments);var n=r({index:t},e.conf.playlist[t]);return e.off("beforeresume.fromfirst"),t===e.video.index?e.load(n,function(){e.resume()}):(e.load(n,function(){e.video.index=t}),e)},e.next=function(t){t&&t.preventDefault();var n=e.video.index;return-1!=n&&(n=n===e.conf.playlist.length-1?0:n+1,e.play(n)),e},e.prev=function(t){t&&t.preventDefault();var n=e.video.index;return-1!=n&&(n=0===n?e.conf.playlist.length-1:n-1,e.play(n)),e},e.setPlaylist=function(t,n){return e.conf.playlist=t,n||delete e.video.index,d(),e},e.addPlaylistItem=function(t){return delete e.video.is_last,e.setPlaylist(e.conf.playlist.concat([t]),!0)},e.removePlaylistItem=function(t){var n=e.conf.playlist;return e.setPlaylist(n.slice(0,t).concat(n.slice(t+1)))},o.on(t,"click",".fp-next",e.next),o.on(t,"click",".fp-prev",e.prev),h.advance&&e.off("finish.pl").on("finish.pl",function(e,n){if(n.video.loop)return n.seek(0,function(){n.resume()});var i=n.video.index>=0?n.video.index+1:void 0;i1&&(n.one("beforeresume.fromfirst",function(e){e.preventDefault(),n.play(0)}),n.one("seek",function(){n.off("beforeresume.fromfirst")}))});var y=!1;e.conf.playlist.length&&(y=!0,d(),e.conf.clip&&e.conf.clip.sources.length||(e.conf.clip=e.conf.playlist[e.conf.startIndex||0])),n().length&&!y&&(e.conf.playlist=[],delete e.conf.startIndex,n().forEach(function(t){var n=t.href;t.setAttribute("data-index",e.conf.playlist.length);var i=l.resolve(n,e.conf.clip.sources);u&&r(i,u(t).data()),e.conf.playlist.push(i)})),a.find(".fp-prev,.fp-next,.fp-playlist",t).forEach(function(e){m.appendChild(e)}),o.on(c.test(h.query)?document:t,"click",h.query,function(t){t.preventDefault();var n=t.currentTarget,i=Number(n.getAttribute("data-index"));-1!=i&&e.play(i)}),e.on("load",function(n,r,o){if(e.conf.playlist.length){var s=f()[0],l=s&&s.getAttribute("data-index"),u=o.index=p(o),c=a.find(h.query+'[data-index="'+u+'"]',i())[0],d=u==e.conf.playlist.length-1;s&&a.removeClass(s,g),c&&a.addClass(c,g),a.removeClass(t,"video"+l),a.addClass(t,"video"+u),a.toggleClass(t,"last-video",d),o.index=r.video.index=u,o.is_last=r.video.is_last=d}}).on("unload.pl",function(){e.conf.playlist.length&&(f().forEach(function(e){a.toggleClass(e,g)}),e.conf.playlist.forEach(function(e,n){a.removeClass(t,"video"+n)}))}),e.conf.playlist.length&&(e.conf.loop=!1)})},{"../common":1,"../flowplayer":28,"./resolve":19,bean:31,"extend-object":36}],18:[function(e,t,n){var i=e("../flowplayer"),r=e("../common"),o=e("bean");i(function(e,t){function n(){r.find(".fp-qsel-menu",t).forEach(r.removeNode),r.find(".fp-qsel",t).forEach(r.removeNode)}function i(e){l.appendChild(r.createElement("strong",{className:"fp-qsel"},"HD"));var t=r.createElement("div",{className:"fp-menu fp-qsel-menu"},"Quality");e.forEach(function(e){var n=document.createElement("a"),i="undefined"!=typeof e.value?e.value:e;n.setAttribute("data-quality",i),n.innerHTML=e.label||e,t.appendChild(n)}),s.appendChild(t)}function a(e){r.find(".fp-qsel-menu a",t).forEach(function(t){r.toggleClass(t,"fp-selected",t.getAttribute("data-quality")==e),r.toggleClass(t,"fp-color",t.getAttribute("data-quality")==e)})}var s=r.find(".fp-ui",t)[0],l=r.find(".fp-controls",s)[0];o.on(t,"click",".fp-qsel",function(){var n=r.find(".fp-qsel-menu",t)[0];r.hasClass(n,"fp-active")?e.hideMenu():e.showMenu(n)}),o.on(t,"click",".fp-qsel-menu a",function(t){var n=t.target.getAttribute("data-quality");e.quality(n)}),e.quality=function(t){t=isNaN(Number(t))?t:Number(t),e.trigger("quality",[e,t])},e.on("quality",function(e,t,n){a(n,t.video.qualities)}),e.on("ready",function(e,t,r){n(),!r.qualities||r.qualities.filter(function(e){return"undefined"!=typeof e.value?e.value>-1:!0}).length<2||(i(r.qualities,r.quality),a(r.quality,r.qualities))})})},{"../common":1,"../flowplayer":28,bean:31}],19:[function(e,t,n){"use strict";function i(e){var t=e.attr("src"),n=e.attr("type")||"",i=t.split(o)[1];return n=n.toLowerCase(),a(e.data(),{src:t,suffix:i||n,type:n||i})}function r(e){return/mpegurl/i.test(e)?"application/x-mpegurl":"video/"+e}var o=/\.(\w{3,4})(\?.*)?$/i,a=e("extend-object");t.exports=function(){var e=this;e.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},e.resolve=function(e,t){return e?("string"==typeof e&&(e={src:e,sources:[]},e.sources=(t||[]).map(function(t){var n=t.src.split(o)[1];return{type:t.type,src:e.src.replace(o,"."+n+"$2")}})),e instanceof Array&&(e={sources:e.map(function(e){return e.type&&e.src?e:Object.keys(e).reduce(function(t,n){return a(t,{type:r(n),src:e[n]})},{})})}),e):{sources:t}}},t.exports.TYPE_RE=o},{"extend-object":36}],20:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),o=e("extend-object"),a=e("bean");i(function(e,t){var n=e.conf;if(n.share===!1)return void r.find(".fp-share",t).forEach(r.removeNode);e.shareUrl=function(t){if(t&&n.embed&&n.embed.iframe)return n.embed.iframe;if("string"==typeof e.conf.share)return e.conf.share;var i=encodeURIComponent(e.video.title||(r.find("title")[0]||{}).innerHTML||"Flowplayer video"),a=encodeURIComponent(btoa(JSON.stringify(o({},e.conf,e.extensions)))),s=encodeURIComponent(window.location.toString()),l=t?"https://flowplayer.org/e/":"https://flowplayer.org/s/";return l+"?t="+i+"&c="+a+"&r="+s};var i=r.createElement("div",{className:"fp-menu fp-share-menu"},"Share"),s=r.find(".fp-ui",t)[0];s.appendChild(i);var l=r.find(".fp-share",t)[0];a.on(t,"click",".fp-share",function(t){t.preventDefault(),r.hasClass(i,"fp-active")?e.hideMenu():e.showMenu(i,l)})})},{"../common":1,"../flowplayer":28,bean:31,"extend-object":36}],21:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("../common"),o=e("bean");i.defaults.subtitleParser=function(e){function t(e){var t=e.split(":");return 2==t.length&&t.unshift(0),60*t[0]*60+60*t[1]+parseFloat(t[2].replace(",","."))}for(var n,i,r,o=/^(([0-9]{2}:){1,2}[0-9]{2}[,.][0-9]{3}) --\> (([0-9]{2}:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/,a=[],s=0,l=e.split("\n"),u=l.length,c={};u>s;s++)if(i=o.exec(l[s])){for(n=l[s-1],r="

"+l[++s]+"


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


";c={title:n,startTime:t(i[1]),endTime:t(i[3]),text:r},a.push(c)}return a},i(function(e,t){var n,a,s,l;(!i.support.inlineVideo||e.conf.native_fullscreen)&&(e.conf.nativesubtitles=!0);var u=function(){return s=s||r.createElement("strong",{className:"fp-cc"},"CC"),l=l||r.createElement("div",{className:"fp-menu fp-subtitle-menu"},"Closed Captions"),r.find("a",l).forEach(r.removeNode),l.appendChild(r.createElement("a",{"data-subtitle-index":-1},"No subtitles")),(e.video.subtitles||[]).forEach(function(e,t){var n=e.srclang||"en",i=e.label||"Default ("+n+")",o=r.createElement("a",{"data-subtitle-index":t},i);l.appendChild(o)}),r.find(".fp-ui",t)[0].appendChild(l),r.find(".fp-controls",t)[0].appendChild(s),s};o.on(t,"click",".fp-cc",function(){r.hasClass(l,"fp-active")?e.hideMenu():e.showMenu(l)}),o.on(t,"click",".fp-subtitle-menu [data-subtitle-index]",function(t){t.preventDefault();var n=t.target.getAttribute("data-subtitle-index");return"-1"===n?e.disableSubtitles():void e.loadSubtitles(n)});var c=function(){a=r.find(".fp-captions",t)[0],a=a||r.appendTo(r.createElement("div",{"class":"fp-captions"}),r.find(".fp-player",t)[0]),Array.prototype.forEach.call(a.children,r.removeNode),u()};e.on("ready",function(n,o,a){var l=o.conf;if((!i.support.subtitles||!l.nativesubtitles||"html5"!=o.engine.engineName)&&(o.subtitles=[],c(),r.removeClass(t,"has-menu"),e.disableSubtitles(),r.toggleClass(s,"fp-hidden",!a.subtitles||!a.subtitles.length),a.subtitles&&a.subtitles.length)){var u=a.subtitles.filter(function(e){return e["default"]})[0];u&&o.loadSubtitles(a.subtitles.indexOf(u))}}),e.bind("cuepoint",function(e,t,i){i.subtitle?(n=i.index,r.html(a,i.subtitle.text),r.addClass(a,"fp-shown")):i.subtitleEnd&&(r.removeClass(a,"fp-shown"),n=i.index)}),e.bind("seek",function(t,i,o){n&&e.cuepoints[n]&&e.cuepoints[n].time>o&&(r.removeClass(a,"fp-shown"),n=null),(e.cuepoints||[]).forEach(function(t){var i=t.subtitle;i&&n!=t.index?o>=t.time&&(!i.endTime||o<=i.endTime)&&e.trigger("cuepoint",[e,t]):t.subtitleEnd&&o>=t.time&&t.index==n+1&&e.trigger("cuepoint",[e,t])})}),e.on("unload",function(){r.find(".fp-captions",t).forEach(r.removeNode)});var f=function(e){r.toggleClass(r.find("a.fp-selected",l)[0],"fp-selected"),r.toggleClass(r.find('a[data-subtitle-index="'+e+'"]',l)[0],"fp-selected")};e.disableSubtitles=function(){return e.subtitles=[],(e.cuepoints||[]).forEach(function(t){(t.subtitle||t.subtitleEnd)&&e.removeCuepoint(t)}),a&&Array.prototype.forEach.call(a.children,r.removeNode),f(-1),e},e.loadSubtitles=function(t){e.disableSubtitles();var n=e.video.subtitles[t],i=n.src;return i?(f(t),r.xhrGet(i,function(t){var n=e.conf.subtitleParser(t);n.forEach(function(t){var n={time:t.startTime,subtitle:t,visible:!1};e.subtitles.push(t),e.addCuepoint(n),e.addCuepoint({time:t.endTime,subtitleEnd:t.title,visible:!1}),0!==t.startTime||e.video.time||e.splash||e.trigger("cuepoint",[e,n]),e.splash&&e.one("ready",function(){e.trigger("cuepoint",[e,n])})})},function(){return e.trigger("error",{code:8,url:i}),!1}),e):void 0}})},{"../common":1,"../flowplayer":28,bean:31}],22:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("extend-object");!function(){var e=function(e){var t=/iP(ad|hone)(; CPU)? OS (\d+_\d)/.exec(e);return t&&t.length>1?parseFloat(t[t.length-1].replace("_","."),10):0},t=function(){var e=document.createElement("video");return e.loop=!0,e.autoplay=!0,e.preload=!0,e},n={},o=document.documentElement.style,a=navigator.userAgent.toLowerCase(),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)||[];s[1]&&(n[s[1]]=!0,n.version=s[2]||"0");var l=t(),u=navigator.userAgent,c=n.msie||/Trident\/7/.test(u),f=/iPad|MeeGo/.test(u)&&!/CriOS/.test(u),d=/iPad/.test(u)&&/CriOS/.test(u),p=/iP(hone|od)/i.test(u)&&!/iPad/.test(u)&&!/IEMobile/i.test(u),h=/Android/.test(u)&&!/Firefox/.test(u),g=/Android/.test(u)&&/Firefox/.test(u),m=/Silk/.test(u),v=/IEMobile/.test(u),y=v?parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(u)[1],10):0,w=v?parseFloat(/IEMobile\/(\d+\.\d+)/.exec(u)[1],10):0,b=f||p?e(u):0,I=h?parseFloat(/Android\ (\d\.\d)/.exec(u)[1],10):0,C=r(i.support,{browser:n,iOS:{iPhone:p,iPad:f||d,version:b,chrome:d},android:h?{firefox:g,version:I}:!1,subtitles:!!l.addTextTrack,fullscreen:"boolean"==typeof document.webkitFullscreenEnabled?document.webkitFullscreenEnabled:"function"==typeof document.webkitCancelFullScreen&&!/Mac OS X 10_5.+Version\/5\.0\.\d Safari/.test(u)||document.mozFullScreenEnabled||"function"==typeof document.exitFullscreen||"function"==typeof document.msExitFullscreen,inlineBlock:!(c&&n.version<8),touch:"ontouchstart"in window,dataload:!f&&!p&&!v,flex:"flexWrap"in o||"WebkitFlexWrap"in o||"msFlexWrap"in o,svg:!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,zeropreload:!c&&!h,volume:!(f||p||m||d),cachedVideoTag:!(f||p||d||v),firstframe:!(p||f||h||m||d||v||g),inlineVideo:(!p||b>=10)&&(!v||y>=8.1&&w>=11)&&(!h||I>=3),hlsDuration:!h&&(!n.safari||f||p||d),seekable:!f&&!d});C.autoplay=C.firstframe;try{var M=navigator.plugins["Shockwave Flash"],A=c?new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version"):M.description;c||M[0].enabledPlugin?(A=A.split(/\D+/),A.length&&!A[0]&&(A=A.slice(1)),C.flashVideo=A[0]>9||9==A[0]&&A[3]>=115):C.flashVideo=!1}catch(S){}try{C.video=!!l.canPlayType,C.video&&l.canPlayType("video/mp4")}catch(E){C.video=!1}C.animation=function(){for(var e=["","Webkit","Moz","O","ms","Khtml"],t=document.createElement("p"),n=0;no&&(i=Math.round(a/2-o/2)),window.open("https://twitter.com/intent/tweet?url="+encodeURIComponent(u),"intent",l+",width="+r+",height="+o+",left="+t+",top="+i)};var i=r.find(".fp-share-menu",t)[0],a=r.createElement("a",{"class":"fp-icon fp-twitter"},"Twitter");r.append(i,a),o.on(t,"click",".fp-twitter",function(){e.tweet()})}})},{"../common":1,"../flowplayer":28,bean:31}],24:[function(e,t,n){(function(n){"use strict";function i(e){return e=parseInt(e,10),e>=10?e:"0"+e}function r(e,t){e=Math.max(e||0,0),e=t?Math.ceil(e):Math.floor(e);var n=Math.floor(e/3600),r=Math.floor(e/60);return e-=60*r,n>=1?(r-=60*n,n+":"+i(r)+":"+i(e)):i(r)+":"+i(e)}var o=e("../flowplayer"),a=e("../common"),s=e("bean"),l=e("./ui/slider"),u=e("./ui/bar-slider"),c=n("PHN2ZyBjbGFzcz0iZnAtcGxheS1yb3VuZGVkLW91dGxpbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDk5Ljg0NCA5OS44NDM0Ij48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30uY29udHJvbGJ1dHRvbntmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz4KPHRpdGxlPnBsYXktcm91bmRlZC1vdXRsaW5lPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxwYXRoIGNsYXNzPSJjb250cm9sYnV0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50PSJpbmRlZmluaXRlIiBiZWdpbj0iMS4ycyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICA8L3JlY3Q+Cjwvc3ZnPgo=","base64"); o(function(e,t){function i(e){return a.find(".fp-"+e,t)[0]}function C(e){a.css(Z,"padding-top",100*e+"%"),N.inlineBlock||a.height(a.find("object",t)[0],a.height(t))}function M(e){e?(a.addClass(t,"is-mouseover"),a.removeClass(t,"is-mouseout")):(a.addClass(t,"is-mouseout"),a.removeClass(t,"is-mouseover"))}a.find(".fp-filters").forEach(a.removeNode);try{var A;document.body.appendChild(A=a.createElement("div",{},n("PHN2ZyBjbGFzcz0iZnAtZmlsdGVycyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMCAwIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9ImYxIiB4PSItMjAlIiB5PSItMjAlIiB3aWR0aD0iMjAwJSIgaGVpZ2h0PSIyMDAlIj4KICAgICAgPGZlT2Zmc2V0IHJlc3VsdD0ib2ZmT3V0IiBpbj0iU291cmNlQWxwaGEiIGR4PSIwIiBkeT0iMCIgLz4KICAgICAgPGZlQ29sb3JNYXRyaXggcmVzdWx0PSJtYXRyaXhPdXQiIGluPSJvZmZPdXQiIHR5cGU9Im1hdHJpeCIKICAgICAgdmFsdWVzPSIwLjMgMCAwIDAgMCAwIDAuMyAwIDAgMCAwIDAgMC4zIDAgMCAwIDAgMCAwLjQgMCIgLz4KICAgICAgPGZlR2F1c3NpYW5CbHVyIHJlc3VsdD0iYmx1ck91dCIgaW49Im1hdHJpeE91dCIgc3RkRGV2aWF0aW9uPSI0IiAvPgogICAgICA8ZmVCbGVuZCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJibHVyT3V0IiBtb2RlPSJub3JtYWwiIC8+CiAgICA8L2ZpbHRlcj4KICA8L2RlZnM+Cjwvc3ZnPgo=","base64"))),a.css(A,{width:0,height:0,overflow:"hidden",position:"absolute",margin:0,padding:0})}catch(S){}var E,D=e.conf,N=o.support;a.find(".fp-ratio,.fp-ui",t).forEach(a.removeNode),a.addClass(t,"flowplayer"),t.appendChild(a.createElement("div",{className:"fp-ratio"}));var j=a.createElement("div",{className:"fp-ui"},'
{{ 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 }}",g).replace("{{ PAUSE_ROUNDED_OUTLINE }}",h).replace("{{ PAUSE_SHARP_FILL }}",m).replace("{{ PAUSE_SHARP_OUTLINE }}",v).replace("{{ PLAY_SHARP_OUTLINE }}",p).replace("{{ PLAY_SHARP_FILL }}",d).replace("{{ PLAY_ROUNDED_OUTLINE }}",c).replace("{{ PLAY_ROUNDED_FILL }}",f).replace("{{ LOADING_ROUNDED_OUTLINE }}",y).replace("{{ LOADING_ROUNDED_FILL }}",w).replace("{{ LOADING_SHARP_FILL }}",b).replace("{{ LOADING_SHARP_OUTLINE }}",I).replace(/url\(#/g,"url("+window.location.href.replace(window.location.hash,"").replace(/\#$/g,"")+"#"));t.appendChild(j);var L=i("buffer"),x=i("waiting"),T=i("elapsed"),Z=i("ratio"),P=i("speed-flash"),Y=i("duration"),k=i("remaining"),z=i("timestamp"),G=a.css(Z,"padding-top"),O=i("play"),R=i("pause"),W=i("timeline"),U=l(W,e.rtl),J=i("fullscreen"),B=i("volumebar"),V=u(B,{rtl:e.rtl}),H=a.hasClass(t,"no-toggle");U.disableAnimation(a.hasClass(t,"is-touch")),e.sliders=e.sliders||{},e.sliders.timeline=U,e.sliders.volume=V;var F=[];N.svg||a.html(x,"

loading …

"),D.ratio&&C(D.ratio);try{D.fullscreen||a.removeNode(J)}catch(S){a.removeNode(J)}e.on("dvrwindow",function(){U.disable(!1)}),e.on("ready",function(e,n,i){var o=n.video.duration;U.disable(n.disabled||!o),D.adaptiveRatio&&!isNaN(i.height/i.width)&&C(i.height/i.width,!0),a.html([Y,k],n.live?"Live":r(o)),a.toggleClass(t,"is-long",o>=3600),V.slide(n.volumeLevel),"flash"===n.engine.engineName?U.disableAnimation(!0,!0):U.disableAnimation(!1),a.find(".fp-title",j).forEach(a.removeNode),i.title&&a.prepend(j,a.createElement("div",{className:"fp-message fp-title"},i.title)),a.toggleClass(t,"has-title",!!i.title)}).on("unload",function(){G||D.splash||a.css(Z,"paddingTop",""),U.slide(0),a.addClass(O,"fp-visible")}).on("buffer",function(){var t=e.video,n=t.buffer/t.duration;!t.seekable&&N.seekable&&U.max(e.conf.live?1/0:n),1>n?a.css(L,"width",100*n+"%"):a.css(L,"width","100%")}).on("speed",function(e,t,n){t.video.time&&(a.text(P,n+"x"),a.addClass(P,"fp-shown"),F=F.filter(function(e){return clearTimeout(e),!1}),F.push(setTimeout(function(){a.addClass(P,"fp-hilite"),F.push(setTimeout(function(){a.removeClass(P,"fp-hilite"),F.push(setTimeout(function(){a.removeClass(P,"fp-shown")},300))},1e3))})))}).on("buffered",function(){a.css(L,"width","100%"),U.max(1)}).on("progress seek",function(n,i,o){var s=e.video.duration,l=e.video.seekOffset||0;o=o||e.video.time;var u=(o-l)/(s-l);U.dragging||U.slide(u,e.seeking?0:250),a.toggleClass(t,"is-live-position",s-oD.mouseoutTimeout&&(M(!1),i=new Date)},100)}else s.off(t,"mousemove.x"),e.off("pause.x volume.x"),clearInterval(E)}}),s.on(t,"mouseleave",function(){(U.dragging||V.dragging)&&(a.addClass(t,"is-mouseover"),a.removeClass(t,"is-mouseout"))}),s.on(t,"click.player",function(t){return e.disabled?void 0:a.hasClass(t.target,"fp-ui")||a.hasClass(t.target,"fp-engine")||t.flash||a.hasParent(t.target,".fp-play,.fp-pause")?(t.preventDefault&&t.preventDefault(),e.toggle()):void 0}),s.on(t,"mousemove",".fp-timeline",function(t){var n=t.pageX||t.clientX,i=n-a.offset(W).left,o=i/a.width(W),s=(e.rtl?1-o:o)*e.video.duration;if(!(0>o)){a.html(z,r(s));var l=i-a.width(z)/2;0>l&&(l=0),l>a.width(W)-a.width(z)&&(l=!1),l!==!1?a.css(z,{left:l+"px",right:"auto"}):a.css(z,{left:"auto",right:"0px"})}}),s.on(t,"contextmenu",function(n){var i=window;if(!a.hasClass(t,"is-flash-disabled")){var r=a.find(".fp-context-menu",t)[0];r&&(n.preventDefault(),e.showMenu(r,{left:n.clientX-i.scrollX,top:n.clientY-i.scrollY}),s.on(t,"click",".fp-context-menu",function(e){e.stopPropagation()}))}}),e.on("flashdisabled",function(n,i,r){a.addClass(t,"is-flash-disabled");var o;r!==!1&&(o=e.message("Seems something is blocking Adobe Flash from running")),e.one("ready progress",function(){a.removeClass(t,"is-flash-disabled"),o&&o()})}),D.poster&&a.css(t,"background-image","url("+D.poster+")");var X=a.css(t,"background-color"),_="none"!=a.css(t,"background-image")||X&&"rgba(0, 0, 0, 0)"!=X&&"transparent"!=X;if(_&&!D.splash){D.poster||(D.poster=!0);var K=function(){a.addClass(t,"is-poster"),a.addClass(O,"fp-visible"),e.poster=!0,e.one(D.autoplay?"progress seek":"resume seek",function(){a.removeClass(t,"is-poster"),a.removeClass(O,"fp-visible"),e.poster=!1})};e.on("stop",function(){K()}),e.on("ready",function(e,t,n){n.index||n.autoplay||K()})}"string"==typeof D.splash&&a.css(t,"background-image","url('"+D.splash+"')"),!_&&e.forcedSplash&&a.css(t,"background-color","#555"),s.on(t,"click",".fp-toggle, .fp-play, .fp-playbtn",function(){e.disabled||e.toggle()}),s.on(t,"click",".fp-volumebtn",function(){e.mute()}),s.on(t,"click",".fp-fullscreen",function(){e.fullscreen()}),s.on(t,"click",".fp-unload",function(){e.unload()}),s.on(W,"slide",function(t){e.seeking=!0,e.seekTo(10*t)}),s.on(B,"slide",function(t){e.volume(t)}),s.on(t,"click",".fp-duration,.fp-remaining",function(){return e.dvr?e.seekTo(10):void a.toggleClass(t,"is-inverted")}),M(H),e.on("shutdown",function(){s.off(W),s.off(B)})}),t.exports.format=r}).call(this,e("buffer").Buffer)},{"../common":1,"../flowplayer":28,"./ui/bar-slider":25,"./ui/slider":26,bean:31,buffer:32}],25:[function(e,t,n){function i(e,t){function n(t){var n=t.pageX||t.clientX,i=o.offset(e),r=o.width(e);!n&&t.originalEvent&&t.originalEvent.touches&&t.originalEvent.touches.length&&(n=t.originalEvent.touches[0].pageX);var a=n-i.left;a=Math.max(0,Math.min(r,a));var s=a/r;return l&&(s=1-s),s}t=t||{};var i=t.activeClass||"fp-color",a=t.inactiveClass||"fp-grey",s=t.childSelector||"em",l=!!t.rtl,u=!1,c=o.find(s,e).length,f={unload:function(){r.off(e,".barslider")},slide:function(t,n){o.find(s,e).forEach(function(e,n){var r=t>n/c;o.toggleClass(e,i,r),o.toggleClass(e,a,!r)}),n&&r.fire(e,"slide",[t])},disable:function(e){u=e}};return r.on(e,"mousedown.sld touchstart.sld",function(t){t.preventDefault(),u||(f.slide(n(t),!0),r.on(e,"mousemove.sld touchmove.sld",function(e){e.preventDefault(),f.slide(n(e),!0)}),r.one(document,"mouseup.sld touchup.sld",function(){r.off(e,"mousemove.sld touchmove.sld")}))}),f}var r=e("bean"),o=e("../../common");t.exports=i},{"../../common":1,bean:31}],26:[function(e,t,n){"use strict";var i=e("bean"),r=e("../../common"),o=function(e,t){var n;return function(){n||(e.apply(this,arguments),n=1,setTimeout(function(){n=0},t))}},a=function(e,t){var n,a,s,l,u,c,f,d,p=r.lastChild(e),h=!1,g=function(){a=r.offset(e),s=r.width(e),l=r.height(e),c=u?l:s,d=w(f)},m=function(t){n||t==b.value||f&&!(f>t)||(i.fire(e,"slide",[t]),b.value=t)},v=function(e){var n=e.pageX||e.clientX;!n&&e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length&&(n=e.originalEvent.touches[0].pageX);var i=u?e.pageY-a.top:n-a.left;i=Math.max(0,Math.min(d||c,i));var r=i/c;return u&&(r=1-r),t&&(r=1-r),y(r,0,!0)},y=function(e,t){void 0===t&&(t=0),e>1&&(e=1);var n=Math.round(1e3*e)/10+"%";return(!f||f>=e)&&(h?r.removeClass(p,"animated"):(r.addClass(p,"animated"),r.css(p,"transition-duration",(t||0)+"ms")),r.css(p,"width",n)),e},w=function(e){return Math.max(0,Math.min(c,u?(1-e)*l:e*s))},b={max:function(e){f=e},disable:function(e){n=e},slide:function(e,t,n){g(),n&&m(e),y(e,t)},disableAnimation:function(t,n){h=t!==!1,r.toggleClass(e,"no-animation",!!n)}};return g(),i.on(e,"mousedown.sld touchstart",function(t){if(t.preventDefault(),!n){var a=o(m,100);g(),b.dragging=!0,r.addClass(e,"is-dragging"),m(v(t)),i.on(document,"mousemove.sld touchmove.sld",function(e){e.preventDefault(),a(v(e))}),i.one(document,"mouseup touchend",function(){b.dragging=!1,r.removeClass(e,"is-dragging"),i.off(document,"mousemove.sld touchmove.sld")})}}),b};t.exports=a},{"../../common":1,bean:31}],27:[function(e,t,n){function i(e){var t=document.createElement("textarea");t.value=e,t.style.opacity=0,t.style.position="absolute",document.body.appendChild(t),t.select();var n=document.execCommand("copy");if(document.body.removeChild(t),!n)throw new Error("Unsuccessfull")}t.exports=function(e,t,n){try{i(e),t()}catch(r){n(r)}}},{}],28:[function(e,t,n){"use strict";function i(e,t,n){t&&t.embed&&(t.embed=r({},w.defaults.embed,t.embed));var i,s,l=e,p=r({},w.defaults,w.conf,t),g={},m=new I;u.addClass(l,"is-loading"),u.toggleClass(l,"no-flex",!w.support.flex),u.toggleClass(l,"no-svg",!w.support.svg);try{g=h?window.localStorage:g}catch(v){}if(p.aspectRatio&&"string"==typeof p.aspectRatio){var y=p.aspectRatio.split(/[:\/]/);p.ratio=y[1]/y[0]}var C=l.currentStyle&&"rtl"===l.currentStyle.direction||window.getComputedStyle&&null!==window.getComputedStyle(l,null)&&"rtl"===window.getComputedStyle(l,null).getPropertyValue("direction");C&&u.addClass(l,"is-rtl");var M={conf:p,currentSpeed:1,volumeLevel:p.muted?0:"undefined"==typeof p.volume?1*g.volume:p.volume,video:{},disabled:!1,finished:!1,loading:!1,muted:"true"==g.muted||p.muted,paused:!1,playing:!1,ready:!1,splash:!1,rtl:C,hijack:function(e){try{M.engine.suspendEngine()}catch(t){}M.hijacked=e},release:function(){try{M.engine.resumeEngine()}catch(e){}M.hijacked=!1},load:function(e,t){if(!M.error&&!M.loading){M.video={},M.finished=!1,e=e||p.clip,e=r({},m.resolve(e,p.clip.sources)),(M.playing||M.engine)&&(e.autoplay=!0);var n=A(e);if(!n)return setTimeout(function(){M.trigger("error",[M,{code:w.support.flashVideo?5:10}])})&&M;if(!n.engineName)throw new Error("engineName property of factory should be exposed");if(M.engine&&n.engineName===M.engine.engineName||(M.ready=!1,M.engine&&(M.engine.unload(),M.conf.autoplay=!0),s=M.engine=n(M,l),M.one("ready",function(){setTimeout(function(){M.muted?M.mute(!0,!0):s.volume(M.volumeLevel)})})),r(e,s.pick(e.sources.filter(function(e){return e.engine?e.engine===s.engineName:!0}))),e.src){var i=M.trigger("load",[M,e,s],!0);i.defaultPrevented?M.loading=!1:(s.load(e),o(e)&&(t=e),t&&M.one("ready",t))}return M}},pause:function(e){return M.hijacked?M.hijacked.pause(e)|M:(!M.ready||M.seeking||M.loading||(s.pause(),M.one("pause",e)),M)},resume:function(){var e=M.trigger("beforeresume",[M],!0);if(!e.defaultPrevented)return M.hijacked?M.hijacked.resume()|M:(M.ready&&M.paused&&(s.resume(),M.finished&&(M.trigger("resume",[M]),M.finished=!1)),M)},toggle:function(){return M.ready?M.paused?M.resume():M.pause():M.load()},seek:function(e,t){if("boolean"==typeof e){var n=.1*M.video.duration;e=M.video.time+(e?n:-n),e=Math.min(Math.max(e,0),M.video.duration-.1)}if(M.hijacked)return M.hijacked.seek(e,t)|M;if(M.ready){i=e;var r=M.trigger("beforeseek",[M,e],!0);r.defaultPrevented?(M.seeking=!1,u.toggleClass(l,"is-seeking",M.seeking)):(s.seek(e),o(t)&&M.one("seek",t))}return M},seekTo:function(e,t){return void 0===e?M.seek(i,t):void 0!==M.video.seekOffset?M.seek(M.video.seekOffset+.1*(M.video.duration-M.video.seekOffset)*e,t):M.seek(.1*M.video.duration*e,t)},mute:function(e,t){return void 0===e&&(e=!M.muted),t||(g.muted=M.muted=e,g.volume=isNaN(g.volume)?p.volume:g.volume),M.volume(e?0:g.volume,!0),M.trigger("mute",[M,e]),M},volume:function(e,t){return M.ready&&(e=Math.min(Math.max(e,0),1),t||(g.volume=e),s.volume(e)),M},speed:function(e,t){return M.ready&&("boolean"==typeof e&&(e=p.speeds[p.speeds.indexOf(M.currentSpeed)+(e?1:-1)]||M.currentSpeed),s.speed(e),t&&l.one("speed",t)),M},stop:function(){return M.ready&&(M.pause(),M.seek(0,function(){M.trigger("stop",[M])})),M},unload:function(){return p.splash?(M.trigger("unload",[M]),s&&(s.unload(),M.engine=s=0)):M.stop(),M},shutdown:function(){M.unload(),M.trigger("shutdown",[M]),a.off(l),delete f[l.getAttribute("data-flowplayer-instance-id")],l.removeAttribute("data-flowplayer-instance-id")},disable:function(e){return void 0===e&&(e=!M.disabled),e!=M.disabled&&(M.disabled=e,M.trigger("disable",e)),M},registerExtension:function(e,t){e=e||[],t=t||[],"string"==typeof e&&(e=[e]),"string"==typeof t&&(t=[t]),e.forEach(function(e){M.extensions.js.push(e)}),t.forEach(function(e){M.extensions.css.push(e)})}};M.conf=r(M.conf,p),M.extensions={js:[],css:[]},w.extensions.forEach(function(e){M.registerExtension(e[0],e[1])}),c(M);var A=function(e){var t,n=w.engines;if(p.engine){var i=n.filter(function(e){return e.engineName===p.engine})[0];if(i&&e.sources.some(function(e){return e.engine&&e.engine!==i.engineName?!1:i.canPlay(e.type,M.conf)}))return i}return p.enginePreference&&(n=w.engines.filter(function(e){return p.enginePreference.indexOf(e.engineName)>-1}).sort(function(e,t){return p.enginePreference.indexOf(e.engineName)-p.enginePreference.indexOf(t.engineName)})),e.sources.some(function(e){var i=n.filter(function(t){return e.engine&&e.engine!==t.engineName?!1:t.canPlay(e.type,M.conf)}).shift();return i&&(t=i),!!i}),t};return l.getAttribute("data-flowplayer-instance-id")||(l.setAttribute("data-flowplayer-instance-id",b++),M.on("boot",function(){(p.splash||u.hasClass(l,"is-splash")||!w.support.firstframe)&&(M.forcedSplash=!p.splash&&!u.hasClass(l,"is-splash"),M.splash=p.autoplay=!0,p.splash||(p.splash=!0),u.addClass(l,"is-splash")),p.splash&&u.find("video",l).forEach(u.removeNode),(p.dvr||p.live||u.hasClass(l,"is-live"))&&(M.live=p.live=!0,M.dvr=p.dvr=!!p.dvr||u.hasClass(l,"is-dvr"),u.addClass(l,"is-live"),u.toggleClass(l,"is-dvr",M.dvr)),d.forEach(function(e){e(M,l)}),f.push(M),p.splash?M.unload():M.load(),p.disabled&&M.disable(),M.one("ready",n)}).on("load",function(e,t,n){p.splash&&u.find(".flowplayer.is-ready,.flowplayer.is-loading").forEach(function(e){var t=e.getAttribute("data-flowplayer-instance-id");if(t!==l.getAttribute("data-flowplayer-instance-id")){var n=f[Number(t)];n&&n.conf.splash&&n.unload()}}),u.addClass(l,"is-loading"),t.loading=!0,("undefined"!=typeof n.live||"undefined"!=typeof n.dvr)&&(u.toggleClass(l,"is-live",n.dvr||n.live),u.toggleClass(l,"is-dvr",!!n.dvr),t.live=n.dvr||n.live,t.dvr=!!n.dvr)}).on("ready",function(e,t,n){n.time=0,t.video=n,u.removeClass(l,"is-loading"),t.loading=!1,t.muted?t.mute(!0,!0):t.volume(t.volumeLevel);var i=t.conf.hlsFix&&/mpegurl/i.exec(n.type);u.toggleClass(l,"hls-fix",!!i)}).on("unload",function(){u.removeClass(l,"is-loading"),M.loading=!1}).on("ready unload",function(e){var t="ready"==e.type;u.toggleClass(l,"is-splash",!t),u.toggleClass(l,"is-ready",t),M.ready=t,M.splash=!t}).on("progress",function(e,t,n){t.video.time=n}).on("buffer",function(e,t,n){t.video.buffer=n}).on("speed",function(e,t,n){t.currentSpeed=n}).on("volume",function(e,t,n){t.volumeLevel=Math.round(100*n)/100,t.muted?n&&t.mute(!1):g.volume=n}).on("beforeseek seek",function(e){M.seeking="beforeseek"==e.type,u.toggleClass(l,"is-seeking",M.seeking)}).on("ready pause resume unload finish stop",function(e){M.paused=/pause|finish|unload|stop/.test(e.type),M.paused=M.paused||"ready"===e.type&&!p.autoplay&&!M.playing,M.playing=!M.paused,u.toggleClass(l,"is-paused",M.paused),u.toggleClass(l,"is-playing",M.playing),M.load.ed||M.pause()}).on("finish",function(){M.finished=!0}).on("error",function(){})),M.trigger("boot",[M,l]),M}var r=e("extend-object"),o=e("is-function"),a=e("bean"),s=e("./ext/ui/slider"),l=e("./ext/ui/bar-slider"),u=e("./common"),c=e("./ext/events"),f=[],d=[],p=window.onbeforeunload;window.onbeforeunload=function(e){return f.forEach(function(e){e.conf.splash?e.unload():e.bind("error",function(){u.find(".flowplayer.is-error .fp-message").forEach(u.removeNode)})}),p?p(e):void 0};var h=!1;try{"object"==typeof window.localStorage&&(window.localStorage.flowplayerTestStorage="test",h=!0)}catch(g){}var m=/Safari/.exec(navigator.userAgent)&&!/Chrome/.exec(navigator.userAgent),v=/(\d+\.\d+) Safari/.exec(navigator.userAgent),y=v?Number(v[1]):100,w=t.exports=function(e,t,n){if(o(e))return d.push(e);if("number"==typeof e||"undefined"==typeof e)return f[e||0];if(e.nodeType){if(null!==e.getAttribute("data-flowplayer-instance-id"))return f[e.getAttribute("data-flowplayer-instance-id")];if(!t)return;return i(e,t,n)}if(e.jquery)return w(e[0],t,n);if("string"==typeof e){var r=u.find(e)[0];return r&&w(r,t,n)}};r(w,{version:"7.0.4",engines:[],extensions:[],conf:{},set:function(e,t){"string"==typeof e?w.conf[e]=t:r(w.conf,e)},registerExtension:function(e,t){w.extensions.push([e,t])},support:{},defaults:{debug:h?!!localStorage.flowplayerDebug:!1,disabled:!1,fullscreen:window==window.top,keyboard:!0,ratio:9/16,adaptiveRatio:!1,rtmp:0,proxy:"best",hlsQualities:!0,splash:!1,live:!1,livePositionOffset:120,swf:"//releases.flowplayer.org/7.0.4/flowplayer.swf",swfHls:"//releases.flowplayer.org/7.0.4/flowplayerhls.swf",speeds:[.25,.5,1,1.5,2],tooltip:!0,mouseoutTimeout:5e3,volume:h?"true"==localStorage.muted?0:isNaN(localStorage.volume)?1:localStorage.volume||1:1,errors:["","Video loading aborted","Network error","Video not properly encoded","Video file not found","Unsupported video","Skin not found","SWF file not found","Subtitles not found","Invalid RTMP URL","Unsupported video format. Try installing Adobe Flash."],errorUrls:["","","","","","","","","","","http://get.adobe.com/flashplayer/"],playlist:[],hlsFix:m&&8>y,disableInline:!1},bean:a,common:u,slider:s,barSlider:l,extend:r});var b=0,I=e("./ext/resolve");if("undefined"!=typeof window.jQuery){var C=window.jQuery;C(function(){"function"==typeof C.fn.flowplayer&&C('.flowplayer:has(video,script[type="application/json"])').flowplayer()});var M=function(e){if(!e.length)return{};var t=e.data()||{},n={};return C.each(["autoplay","loop","preload","poster"],function(i,r){var o=e.attr(r);void 0!==o&&-1!==["autoplay","poster"].indexOf(r)?n[r]=o?o:!0:void 0!==o&&(t[r]=o?o:!0)}),t.subtitles=e.find("track").map(function(){var e=C(this);return{src:e.attr("src"),kind:e.attr("kind"),label:e.attr("label"),srclang:e.attr("srclang"),"default":e.prop("default")}}).get(),t.sources=(new I).sourcesFromVideoTag(e,C),r(n,{clip:t})};C.fn.flowplayer=function(e,t){return this.each(function(){"string"==typeof e&&(e={swf:e}),o(e)&&(t=e,e={});var n=C(this),r=n.find('script[type="application/json"]'),a=r.length?JSON.parse(r.text()):M(n.find("video")),s=C.extend({},e||{},a,n.data()),l=i(this,s,t);c.EVENTS.forEach(function(e){l.on(e+".jquery",function(e){n.trigger.call(n,e.type,e.detail&&e.detail.args)})}),n.data("flowplayer",l)})}}},{"./common":1,"./ext/events":10,"./ext/resolve":19,"./ext/ui/bar-slider":25,"./ext/ui/slider":26,bean:31,"extend-object":36,"is-function":39}],29:[function(e,t,n){e("es5-shim");var i=t.exports=e("./flowplayer");e("./ext/support"),e("./engine/embed"),e("./engine/html5"),e("./engine/flash"),e("./ext/ui"),e("./ext/message"),e("./ext/keyboard"),e("./ext/playlist"),e("./ext/cuepoint"),e("./ext/subtitle"),e("./ext/analytics"),e("./ext/share"),e("./ext/facebook"),e("./ext/twitter"),e("./ext/embed"),e("./ext/airplay"),e("./ext/chromecast"),e("./ext/qsel"),e("./ext/menu"),e("./ext/fullscreen"),e("./ext/mobile"),i(function(e,t){function n(e){var t=document.createElement("a");return t.href=e,s.hostname(t.hostname)}var r=function(e,t){var n=e.className.split(" ");-1===n.indexOf(t)&&(e.className+=" "+t)},o=function(e){return"none"!==window.getComputedStyle(e).display},a=e.conf,s=i.common,l=s.createElement,u=a.swf.indexOf("flowplayer.org")&&a.e&&t.getAttribute("data-origin"),c=u?n(u):s.hostname(),f=(document,a.key);if("file:"==location.protocol&&(c="localhost"),e.load.ed=1,a.hostname=c,a.origin=u||location.href,u&&r(t,"is-embedded"),"string"==typeof f&&(f=f.split(/,\s*/)),f&&"function"==typeof key_check&&key_check(f,c)){if(a.logo){var d=s.find(".fp-player",t)[0],p=l("a",{className:"fp-logo"});u&&(p.href=u),a.embed&&a.embed.popup&&(p.target="_blank");var h=l("img",{src:a.logo});p.appendChild(h),(d||t).appendChild(p)}}else{var p=l("a",{href:"https://flowplayer.org/hello"});t.appendChild(p);var g=l("div",{className:"fp-context-menu fp-menu"},'© 2017 FlowplayerAbout FlowplayerGPL based license'),m=window.location.href.indexOf("localhost"),d=s.find(".fp-player",t)[0];7!==m&&(d||t).appendChild(g),e.on("pause resume finish unload ready",function(e,n){var i=-1;if(n.video.src)for(var r=[["org","flowplayer","drive"],["org","flowplayer","my"],["org","flowplayer","cdn"]],a=0;a0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function r(e){return 3*e.length/4-i(e)}function o(e){var t,n,r,o,a,s,l=e.length;a=i(e),s=new f(3*l/4-a),r=a>0?l-4:l;var u=0;for(t=0,n=0;r>t;t+=4,n+=3)o=c[e.charCodeAt(t)]<<18|c[e.charCodeAt(t+1)]<<12|c[e.charCodeAt(t+2)]<<6|c[e.charCodeAt(t+3)],s[u++]=o>>16&255,s[u++]=o>>8&255,s[u++]=255&o;return 2===a?(o=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,s[u++]=255&o):1===a&&(o=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,s[u++]=o>>8&255,s[u++]=255&o),s}function a(e){return u[e>>18&63]+u[e>>12&63]+u[e>>6&63]+u[63&e]}function s(e,t,n){for(var i,r=[],o=t;n>o;o+=3)i=(e[o]<<16)+(e[o+1]<<8)+e[o+2],r.push(a(i));return r.join("")}function l(e){for(var t,n=e.length,i=n%3,r="",o=[],a=16383,l=0,c=n-i;c>l;l+=a)o.push(s(e,l,l+a>c?c:l+a));return 1===i?(t=e[n-1],r+=u[t>>2],r+=u[t<<4&63],r+="=="):2===i&&(t=(e[n-2]<<8)+e[n-1],r+=u[t>>10],r+=u[t>>4&63],r+=u[t<<2&63],r+="="),o.push(r),o.join("")}n.byteLength=r,n.toByteArray=o,n.fromByteArray=l;for(var u=[],c=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,h=d.length;h>p;++p)u[p]=d[p],c[d.charCodeAt(p)]=p;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},{}],31:[function(t,n,i){!function(t,i,r){"undefined"!=typeof n&&n.exports?n.exports=r():"function"==typeof e&&e.amd?e(r):i[t]=r()}("bean",this,function(e,t){e=e||"bean",t=t||this;var n,i=window,r=t[e],o=/[^\.]*(?=\..*)\.|.*/,a=/\..*/,s="addEventListener",l="removeEventListener",u=document||{},c=u.documentElement||{},f=c[s],d=f?s:"attachEvent",p={},h=Array.prototype.slice,g=function(e,t){return e.split(t||" ")},m=function(e){return"string"==typeof e},v=function(e){return"function"==typeof e},y="click dblclick mouseup mousedown contextmenu mousewheel mousemultiwheel DOMMouseScroll mouseover mouseout mousemove selectstart selectend keydown keypress keyup orientationchange focus blur change reset select submit load unload beforeunload resize move DOMContentLoaded readystatechange message error abort scroll ",w="show input invalid touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend textinput readystatechange pageshow pagehide popstate hashchange offline online afterprint beforeprint dragstart dragenter dragover dragleave drag drop dragend loadstart progress suspend emptied stalled loadmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate play pause ratechange volumechange cuechange checking noupdate downloading cached updateready obsolete ",b=function(e,t,n){for(n=0;nr;r++)if(d[r].reg.test(u)){p[u]=l=d[r].fix;break}for(s=l(e,this,u),r=s.length;r--;)!((a=s[r])in this)&&a in e&&(this[a]=e[a])}}};return h.prototype.preventDefault=function(){this.originalEvent.preventDefault?this.originalEvent.preventDefault():this.originalEvent.returnValue=!1},h.prototype.stopPropagation=function(){this.originalEvent.stopPropagation?this.originalEvent.stopPropagation():this.originalEvent.cancelBubble=!0},h.prototype.stop=function(){this.preventDefault(),this.stopPropagation(),this.stopped=!0},h.prototype.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this.isImmediatePropagationStopped=function(){return!0}},h.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()},h.prototype.clone=function(e){var t=new h(this,this.element,this.isNative);return t.currentTarget=e,t},h}(),M=function(e,t){return f||t||e!==u&&e!==i?e:c},A=function(){var e=function(e,t,n,i){var r=function(n,r){return t.apply(e,i?h.call(r,n?0:1).concat(i):r)},o=function(n,i){return t.__beanDel?t.__beanDel.ft(n.target,e):i},a=n?function(e){var t=o(e,this);return n.apply(t,arguments)?(e&&(e.currentTarget=t),r(e,arguments)):void 0}:function(e){return t.__beanDel&&(e=e.clone(o(e))),r(e,arguments); };return a.__beanDel=t.__beanDel,a},t=function(t,n,i,r,o,a,s){var l,u=I[n];"unload"==n&&(i=j(L,t,n,i,r)),u&&(u.condition&&(i=e(t,i,u.condition,a)),n=u.base||n),this.isNative=l=b[n]&&!!t[d],this.customType=!f&&!l&&n,this.element=t,this.type=n,this.original=r,this.namespaces=o,this.eventType=f||l?n:"propertychange",this.target=M(t,l),this[d]=!!this.target[d],this.root=s,this.handler=e(t,i,null,a)};return t.prototype.inNamespaces=function(e){var t,n,i=0;if(!e)return!0;if(!this.namespaces)return!1;for(t=e.length;t--;)for(n=this.namespaces.length;n--;)e[t]==this.namespaces[n]&&i++;return e.length===i},t.prototype.matches=function(e,t,n){return!(this.element!==e||t&&this.original!==t||n&&this.handler!==n)},t}(),S=function(){var e={},t=function(n,i,r,o,a,s){var l=a?"r":"$";if(i&&"*"!=i){var u,c=0,f=e[l+i],d="*"==n;if(!f)return;for(u=f.length;u>c;c++)if((d||f[c].matches(n,r,o))&&!s(f[c],f,c,i))return}else for(var p in e)p.charAt(0)==l&&t(n,p.substr(1),r,o,a,s)},n=function(t,n,i,r){var o,a=e[(r?"r":"$")+n];if(a)for(o=a.length;o--;)if(!a[o].root&&a[o].matches(t,i,null))return!0;return!1},i=function(e,n,i,r){var o=[];return t(e,n,i,null,r,function(e){return o.push(e)}),o},r=function(t){var n=!t.root&&!this.has(t.element,t.type,null,!1),i=(t.root?"r":"$")+t.type;return(e[i]||(e[i]=[])).push(t),n},o=function(n){t(n.element,n.type,null,n.handler,n.root,function(t,n,i){return n.splice(i,1),t.removed=!0,0===n.length&&delete e[(t.root?"r":"$")+t.type],!1})},a=function(){var t,n=[];for(t in e)"$"==t.charAt(0)&&(n=n.concat(e[t]));return n};return{has:n,get:i,put:r,del:o,entries:a}}(),E=function(e){n=arguments.length?e:u.querySelectorAll?function(e,t){return t.querySelectorAll(e)}:function(){throw new Error("Bean: No selector engine installed")}},D=function(e,t){if(f||!t||!e||e.propertyName=="_on"+t){var n=S.get(this,t||e.type,null,!1),i=n.length,r=0;for(e=new C(e,this,!0),t&&(e.type=t);i>r&&!e.isImmediatePropagationStopped();r++)n[r].removed||n[r].handler.call(this,e)}},N=f?function(e,t,n){e[n?s:l](t,D,!1)}:function(e,t,n,i){var r;n?(S.put(r=new A(e,i||t,function(t){D.call(e,t,i)},D,null,null,!0)),i&&null==e["_on"+i]&&(e["_on"+i]=0),r.target.attachEvent("on"+r.eventType,r.handler)):(r=S.get(e,i||t,D,!0)[0],r&&(r.target.detachEvent("on"+r.eventType,r.handler),S.del(r)))},j=function(e,t,n,i,r){return function(){i.apply(this,arguments),e(t,n,r)}},L=function(e,t,n,i){var r,o,s=t&&t.replace(a,""),l=S.get(e,s,null,!1),u={};for(r=0,o=l.length;o>r;r++)n&&l[r].original!==n||!l[r].inNamespaces(i)||(S.del(l[r]),!u[l[r].eventType]&&l[r][d]&&(u[l[r].eventType]={t:l[r].eventType,c:l[r].type}));for(r in u)S.has(e,u[r].t,null,!1)||N(e,u[r].t,!1,u[r].c)},x=function(e,t){var i=function(t,i){for(var r,o=m(e)?n(e,i):e;t&&t!==i;t=t.parentNode)for(r=o.length;r--;)if(o[r]===t)return t},r=function(e){var n=i(e.target,this);n&&t.apply(n,arguments)};return r.__beanDel={ft:i,selector:e},r},T=f?function(e,t,n){var r=u.createEvent(e?"HTMLEvents":"UIEvents");r[e?"initEvent":"initUIEvent"](t,!0,!0,i,1),n.dispatchEvent(r)}:function(e,t,n){n=M(n,e),e?n.fireEvent("on"+t,u.createEventObject()):n["_on"+t]++},Z=function(e,t,n){var i,r,s,l,u=m(t);if(u&&t.indexOf(" ")>0){for(t=g(t),l=t.length;l--;)Z(e,t[l],n);return e}if(r=u&&t.replace(a,""),r&&I[r]&&(r=I[r].base),!t||u)(s=u&&t.replace(o,""))&&(s=g(s,".")),L(e,r,n,s);else if(v(t))L(e,null,t);else for(i in t)t.hasOwnProperty(i)&&Z(e,i,t[i]);return e},P=function(e,t,i,r){var s,l,u,c,f,m,y;{if(void 0!==i||"object"!=typeof t){for(v(i)?(f=h.call(arguments,3),r=s=i):(s=r,f=h.call(arguments,4),r=x(i,s,n)),u=g(t),this===p&&(r=j(Z,e,t,r,s)),c=u.length;c--;)y=S.put(m=new A(e,u[c].replace(a,""),r,s,g(u[c].replace(o,""),"."),f,!1)),m[d]&&y&&N(e,m.eventType,!0,m.customType);return e}for(l in t)t.hasOwnProperty(l)&&P.call(this,e,l,t[l])}},Y=function(e,t,n,i){return P.apply(null,m(n)?[e,n,t,i].concat(arguments.length>3?h.call(arguments,5):[]):h.call(arguments))},k=function(){return P.apply(p,arguments)},z=function(e,t,n){var i,r,s,l,u,c=g(t);for(i=c.length;i--;)if(t=c[i].replace(a,""),(l=c[i].replace(o,""))&&(l=g(l,".")),l||n||!e[d])for(u=S.get(e,t,null,!1),n=[!1].concat(n),r=0,s=u.length;s>r;r++)u[r].inNamespaces(l)&&u[r].handler.apply(e,n);else T(b[t],t,e);return e},G=function(e,t,n){for(var i,r,o=S.get(t,n,null,!1),a=o.length,s=0;a>s;s++)o[s].original&&(i=[e,o[s].type],(r=o[s].handler.__beanDel)&&i.push(r.selector),i.push(o[s].original),P.apply(null,i));return e},O={on:P,add:Y,one:k,off:Z,remove:Z,clone:G,fire:z,Event:C,setSelectorEngine:E,noConflict:function(){return t[e]=r,this}};if(i.attachEvent){var R=function(){var e,t=S.entries();for(e in t)t[e].type&&"unload"!==t[e].type&&Z(t[e].element,t[e].type);i.detachEvent("onunload",R),i.CollectGarbage&&i.CollectGarbage()};i.attachEvent("onunload",R)}return E(),O})},{}],32:[function(e,t,n){(function(t){"use strict";function i(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function r(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(r()e)throw new RangeError('"size" argument must not be negative')}function u(e,t,n,i){return l(t),0>=t?o(e,t):void 0!==n?"string"==typeof i?o(e,t).fill(n,i):o(e,t).fill(n):o(e,t)}function c(e,t){if(l(t),e=o(e,0>t?0:0|g(t)),!a.TYPED_ARRAY_SUPPORT)for(var n=0;t>n;++n)e[n]=0;return e}function f(e,t,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!a.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|v(t,n);e=o(e,i);var r=e.write(t,n);return r!==i&&(e=e.slice(0,r)),e}function d(e,t){var n=t.length<0?0:0|g(t.length);e=o(e,n);for(var i=0;n>i;i+=1)e[i]=255&t[i];return e}function p(e,t,n,i){if(t.byteLength,0>n||t.byteLength=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function m(e){return+e!=e&&(e=0),a.alloc(+e)}function v(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(e).length;default:if(i)return V(e).length;t=(""+t).toLowerCase(),i=!0}}function y(e,t,n){var i=!1;if((void 0===t||0>t)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),0>=n)return"";if(n>>>=0,t>>>=0,t>=n)return"";for(e||(e="utf8");;)switch(e){case"hex":return Z(this,t,n);case"utf8":case"utf-8":return j(this,t,n);case"ascii":return x(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return N(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function w(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function b(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),0>n&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(0>n){if(!r)return-1;n=0}if("string"==typeof t&&(t=a.from(t,i)),a.isBuffer(t))return 0===t.length?-1:I(e,t,n,i,r);if("number"==typeof t)return t=255&t,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):I(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function I(e,t,n,i,r){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,l=t.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}var u;if(r){var c=-1;for(u=n;s>u;u++)if(o(e,u)===o(t,-1===c?0:u-c)){if(-1===c&&(c=u),u-c+1===l)return c*a}else-1!==c&&(u-=u-c),c=-1}else for(n+l>s&&(n=s-l),u=n;u>=0;u--){for(var f=!0,d=0;l>d;d++)if(o(e,u+d)!==o(t,d)){f=!1;break}if(f)return u}return-1}function C(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?(i=Number(i),i>r&&(i=r)):i=r;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var a=0;i>a;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function M(e,t,n,i){return _(V(t,e.length-n),e,n,i)}function A(e,t,n,i){return _(H(t),e,n,i)}function S(e,t,n,i){return A(e,t,n,i)}function E(e,t,n,i){return _(X(t),e,n,i)}function D(e,t,n,i){return _(F(t,e.length-n),e,n,i)}function N(e,t,n){return 0===t&&n===e.length?Q.fromByteArray(e):Q.fromByteArray(e.slice(t,n))}function j(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;n>r;){var o=e[r],a=null,s=o>239?4:o>223?3:o>191?2:1;if(n>=r+s){var l,u,c,f;switch(s){case 1:128>o&&(a=o);break;case 2:l=e[r+1],128===(192&l)&&(f=(31&o)<<6|63&l,f>127&&(a=f));break;case 3:l=e[r+1],u=e[r+2],128===(192&l)&&128===(192&u)&&(f=(15&o)<<12|(63&l)<<6|63&u,f>2047&&(55296>f||f>57343)&&(a=f));break;case 4:l=e[r+1],u=e[r+2],c=e[r+3],128===(192&l)&&128===(192&u)&&128===(192&c)&&(f=(15&o)<<18|(63&l)<<12|(63&u)<<6|63&c,f>65535&&1114112>f&&(a=f))}}null===a?(a=65533,s=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|1023&a),i.push(a),r+=s}return L(i)}function L(e){var t=e.length;if(ee>=t)return String.fromCharCode.apply(String,e);for(var n="",i=0;t>i;)n+=String.fromCharCode.apply(String,e.slice(i,i+=ee));return n}function x(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;n>r;++r)i+=String.fromCharCode(127&e[r]);return i}function T(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;n>r;++r)i+=String.fromCharCode(e[r]);return i}function Z(e,t,n){var i=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>i)&&(n=i);for(var r="",o=t;n>o;++o)r+=B(e[o]);return r}function P(e,t,n){for(var i=e.slice(t,n),r="",o=0;oe)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function k(e,t,n,i,r,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||o>t)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function z(e,t,n,i){0>t&&(t=65535+t+1);for(var r=0,o=Math.min(e.length-n,2);o>r;++r)e[n+r]=(t&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function G(e,t,n,i){0>t&&(t=4294967295+t+1);for(var r=0,o=Math.min(e.length-n,4);o>r;++r)e[n+r]=t>>>8*(i?r:3-r)&255}function O(e,t,n,i,r,o){if(n+i>e.length)throw new RangeError("Index out of range");if(0>n)throw new RangeError("Index out of range")}function R(e,t,n,i,r){return r||O(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),q.write(e,t,n,i,23,4),n+4}function W(e,t,n,i,r){return r||O(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),q.write(e,t,n,i,52,8),n+8}function U(e){if(e=J(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function J(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function B(e){return 16>e?"0"+e.toString(16):e.toString(16)}function V(e,t){t=t||1/0;for(var n,i=e.length,r=null,o=[],a=0;i>a;++a){if(n=e.charCodeAt(a),n>55295&&57344>n){if(!r){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===i){(t-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(56320>n){(t-=3)>-1&&o.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,128>n){if((t-=1)<0)break;o.push(n)}else if(2048>n){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(65536>n){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))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 H(e){for(var t=[],n=0;n>8,r=n%256,o.push(r),o.push(i);return o}function X(e){return Q.toByteArray(U(e))}function _(e,t,n,i){for(var r=0;i>r&&!(r+n>=t.length||r>=e.length);++r)t[r+n]=e[r];return r}function K(e){return e!==e}var Q=e("base64-js"),q=e("ieee754"),$=e("isarray");n.Buffer=a,n.SlowBuffer=m,n.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:i(),n.kMaxLength=r(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,n){return s(null,e,t,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,n){return u(null,e,t,n)},a.allocUnsafe=function(e){return c(null,e)},a.allocUnsafeSlow=function(e){return c(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,r=0,o=Math.min(n,i);o>r;++r)if(e[r]!==t[r]){n=e[r],i=t[r];break}return i>n?-1:n>i?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!$(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var n;if(void 0===t)for(t=0,n=0;nt;t+=2)w(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;e>t;t+=4)w(this,t,t+3),w(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;e>t;t+=8)w(this,t,t+7),w(this,t+1,t+6),w(this,t+2,t+5),w(this,t+3,t+4);return this},a.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?j(this,0,e):y.apply(this,arguments)},a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:0===a.compare(this,e)},a.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},a.prototype.compare=function(e,t,n,i,r){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),0>t||n>e.length||0>i||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,r>>>=0,this===e)return 0;for(var o=r-i,s=n-t,l=Math.min(o,s),u=this.slice(i,r),c=e.slice(t,n),f=0;l>f;++f)if(u[f]!==c[f]){o=u[f],s=c[f];break}return s>o?-1:o>s?1:0},a.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},a.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},a.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},a.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t=0|t,isFinite(n)?(n=0|n,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return C(this,e,t,n);case"utf8":case"utf-8":return M(this,e,t,n);case"ascii":return A(this,e,t,n);case"latin1":case"binary":return S(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,0>e?(e+=n,0>e&&(e=0)):e>n&&(e=n),0>t?(t+=n,0>t&&(t=0)):t>n&&(t=n),e>t&&(t=e);var i;if(a.TYPED_ARRAY_SUPPORT)i=this.subarray(e,t),i.__proto__=a.prototype;else{var r=t-e;i=new a(r,void 0);for(var o=0;r>o;++o)i[o]=this[o+e]}return i},a.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||Y(e,t,this.length);for(var i=this[e],r=1,o=0;++o0&&(r*=256);)i+=this[e+--t]*r;return i},a.prototype.readUInt8=function(e,t){return t||Y(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||Y(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||Y(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||Y(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||Y(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||Y(e,t,this.length);for(var i=this[e],r=1,o=0;++o=r&&(i-=Math.pow(2,8*t)),i},a.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||Y(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return t||Y(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){t||Y(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){t||Y(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return t||Y(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||Y(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||Y(e,4,this.length),q.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||Y(e,4,this.length),q.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||Y(e,8,this.length),q.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||Y(e,8,this.length),q.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=0|t,n=0|n,!i){var r=Math.pow(2,8*n)-1;k(this,e,t,n,r,0)}var o=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+o]=e/a&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t=0|t,n||k(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=0|t,n||k(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=0|t,n||k(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=0|t,n||k(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):G(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=0|t,n||k(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):G(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=0|t,!i){var r=Math.pow(2,8*n-1);k(this,e,t,n,r-1,-r)}var o=0,a=1,s=0;for(this[t]=255&e;++oe&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},a.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=0|t,!i){var r=Math.pow(2,8*n-1);k(this,e,t,n,r-1,-r)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)0>e&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t=0|t,n||k(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),0>e&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t=0|t,n||k(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t=0|t,n||k(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t=0|t,n||k(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):G(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t=0|t,n||k(this,e,t,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):G(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return W(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return W(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&n>i&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(0>t)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>i)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-tn&&i>t)for(r=o-1;r>=0;--r)e[r+t]=this[r+n];else if(1e3>o||!a.TYPED_ARRAY_SUPPORT)for(r=0;o>r;++r)e[r+t]=this[r+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},a.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===e.length){var r=e.charCodeAt(0);256>r&&(e=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof e&&(e=255&e);if(0>t||this.length=n)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;n>o;++o)this[o]=e;else{var s=a.isBuffer(e)?e:V(new a(e,i).toString()),l=s.length;for(o=0;n-t>o;++o)this[o+t]=s[o%l]}return this};var te=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":30,ieee754:37,isarray:40}],33:[function(e,t,n){function i(e){function t(e){var t=c();a(t,e)>-1||(t.push(e),f(t))}function n(e){var t=c(),n=a(t,e);-1!==n&&(t.splice(n,1),f(t))}function i(e){return a(c(),e)>-1}function s(e){return i(e)?(n(e),!1):(t(e),!0)}function l(){return e.className}function u(e){var t=c();return t[e]||null}function c(){var t=e.className;return r(t.split(" "),o)}function f(t){var n=t.length;e.className=t.join(" "),p.length=n;for(var i=0;i0||-1)*Math.floor(Math.abs(t))),t},ToPrimitive:function(t){var n,i,r;if(O(t))return t;if(i=t.valueOf,e(i)&&(n=i.call(t),O(n)))return n;if(r=t.toString,e(r)&&(n=r.call(t),O(n)))return n;throw new TypeError},ToObject:function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return r(e)},ToUint32:function(e){return e>>>0}},U=function(){};G(s,{bind:function(t){var n=this;if(!e(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var i,o=d.call(arguments,1),s=function(){if(this instanceof i){var e=w.call(n,this,m.call(o,d.call(arguments)));return r(e)===e?e:this}return w.call(n,t,m.call(o,d.call(arguments)))},l=b(0,n.length-o.length),u=[],c=0;l>c;c++)h.call(u,"$"+c);return i=a("binder","return function ("+v.call(u,",")+"){ return binder.apply(this, arguments); }")(s),n.prototype&&(U.prototype=n.prototype,i.prototype=new U,U.prototype=null),i}});var J=y.bind(o.hasOwnProperty),B=y.bind(o.toString),V=y.bind(d),H=w.bind(d),F=y.bind(u.slice),X=y.bind(u.split),_=y.bind(u.indexOf),K=y.bind(h),Q=y.bind(o.propertyIsEnumerable),q=y.bind(i.sort),$=n.isArray||function(e){return"[object Array]"===B(e)},ee=1!==[].unshift(0);G(i,{unshift:function(){return g.apply(this,arguments),this.length}},ee),G(n,{isArray:$});var te=r("a"),ne="a"!==te[0]||!(0 in te),ie=function(e){var t=!0,n=!0,i=!1;if(e)try{e.call("foo",function(e,n,i){"object"!=typeof i&&(t=!1)}),e.call([1],function(){"use strict";n="string"==typeof this},"x")}catch(r){i=!0}return!!e&&!i&&t&&n};G(i,{forEach:function(t){var n,i=W.ToObject(this),r=ne&&Z(this)?X(this,""):i,o=-1,a=W.ToUint32(r.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++o1&&(i=arguments[1]),!e(t))throw new TypeError("Array.prototype.map callback must be a function");for(var l=0;a>l;l++)l in o&&("undefined"==typeof i?s[l]=t(o[l],l,r):s[l]=t.call(i,o[l],l,r));return s}},!ie(i.map)),G(i,{filter:function(t){var n,i,r=W.ToObject(this),o=ne&&Z(this)?X(this,""):r,a=W.ToUint32(o.length),s=[];if(arguments.length>1&&(i=arguments[1]),!e(t))throw new TypeError("Array.prototype.filter callback must be a function");for(var l=0;a>l;l++)l in o&&(n=o[l],("undefined"==typeof i?t(n,l,r):t.call(i,n,l,r))&&K(s,n));return s}},!ie(i.filter)),G(i,{every:function(t){var n,i=W.ToObject(this),r=ne&&Z(this)?X(this,""):i,o=W.ToUint32(r.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.every callback must be a function");for(var a=0;o>a;a++)if(a in r&&!("undefined"==typeof n?t(r[a],a,i):t.call(n,r[a],a,i)))return!1;return!0}},!ie(i.every)),G(i,{some:function(t){var n,i=W.ToObject(this),r=ne&&Z(this)?X(this,""):i,o=W.ToUint32(r.length);if(arguments.length>1&&(n=arguments[1]),!e(t))throw new TypeError("Array.prototype.some callback must be a function");for(var a=0;o>a;a++)if(a in r&&("undefined"==typeof n?t(r[a],a,i):t.call(n,r[a],a,i)))return!0;return!1}},!ie(i.some));var re=!1;i.reduce&&(re="object"==typeof i.reduce.call("es5",function(e,t,n,i){return i})),G(i,{reduce:function(t){var n=W.ToObject(this),i=ne&&Z(this)?X(this,""):n,r=W.ToUint32(i.length);if(!e(t))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===r&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var o,a=0;if(arguments.length>=2)o=arguments[1];else for(;;){if(a in i){o=i[a++];break}if(++a>=r)throw new TypeError("reduce of empty array with no initial value")}for(;r>a;a++)a in i&&(o=t(o,i[a],a,n));return o}},!re);var oe=!1;i.reduceRight&&(oe="object"==typeof i.reduceRight.call("es5",function(e,t,n,i){return i})),G(i,{reduceRight:function(t){var n=W.ToObject(this),i=ne&&Z(this)?X(this,""):n,r=W.ToUint32(i.length);if(!e(t))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===r&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var o,a=r-1;if(arguments.length>=2)o=arguments[1];else for(;;){if(a in i){o=i[a--];break}if(--a<0)throw new TypeError("reduceRight of empty array with no initial value"); }if(0>a)return o;do a in i&&(o=t(o,i[a],a,n));while(a--);return o}},!oe);var ae=i.indexOf&&-1!==[0,1].indexOf(1,2);G(i,{indexOf:function(e){var t=ne&&Z(this)?X(this,""):W.ToObject(this),n=W.ToUint32(t.length);if(0===n)return-1;var i=0;for(arguments.length>1&&(i=W.ToInteger(arguments[1])),i=i>=0?i:b(0,n+i);n>i;i++)if(i in t&&t[i]===e)return i;return-1}},ae);var se=i.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);G(i,{lastIndexOf:function(e){var t=ne&&Z(this)?X(this,""):W.ToObject(this),n=W.ToUint32(t.length);if(0===n)return-1;var i=n-1;for(arguments.length>1&&(i=I(i,W.ToInteger(arguments[1]))),i=i>=0?i:n-Math.abs(i);i>=0;i--)if(i in t&&e===t[i])return i;return-1}},se);var le=function(){var e=[1,2],t=e.splice();return 2===e.length&&$(t)&&0===t.length}();G(i,{splice:function(e,t){return 0===arguments.length?[]:p.apply(this,arguments)}},!le);var ue=function(){var e={};return i.splice.call(e,0,0,1),1===e.length}();G(i,{splice:function(e,t){if(0===arguments.length)return[];var n=arguments;return this.length=b(W.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof t&&(n=V(arguments),n.length<2?K(n,this.length-e):n[1]=W.ToInteger(t)),p.apply(this,n)}},!ue);var ce=function(){var e=new n(1e5);return e[8]="x",e.splice(1,1),7===e.indexOf("x")}(),fe=function(){var e=256,t=[];return t[e]="a",t.splice(e+1,0,"b"),"a"===t[e]}();G(i,{splice:function(e,t){for(var n,i=W.ToObject(this),r=[],o=W.ToUint32(i.length),a=W.ToInteger(e),s=0>a?b(o+a,0):I(a,o),u=I(b(W.ToInteger(t),0),o-s),c=0;u>c;)n=l(s+c),J(i,n)&&(r[c]=i[n]),c+=1;var f,d=V(arguments,2),p=d.length;if(u>p){c=s;for(var h=o-u;h>c;)n=l(c+u),f=l(c+p),J(i,n)?i[f]=i[n]:delete i[f],c+=1;c=o;for(var g=o-u+p;c>g;)delete i[c-1],c-=1}else if(p>u)for(c=o-u;c>s;)n=l(c+u-1),f=l(c+p-1),J(i,n)?i[f]=i[n]:delete i[f],c-=1;c=s;for(var m=0;m=0&&!$(t)&&e(t.callee)},Ze=xe(arguments)?xe:Te;G(r,{keys:function(t){var n=e(t),i=Ze(t),r=null!==t&&"object"==typeof t,o=r&&Z(t);if(!r&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var a=[],s=Me&&n;if(o&&Ae||i)for(var u=0;ud;d++){var p=je[d];f&&"constructor"===p||!J(t,p)||K(a,p)}return a}});var Pe=r.keys&&function(){return 2===r.keys(arguments).length}(1,2),Ye=r.keys&&function(){var e=r.keys(arguments);return 1!==arguments.length||1!==e.length||1!==e[0]}(1),ke=r.keys;G(r,{keys:function(e){return ke(Ze(e)?V(e):e)}},!Pe||Ye);var ze,Ge,Oe=0!==new Date(-0xc782b5b342b24).getUTCMonth(),Re=new Date(-0x55d318d56a724),We=new Date(14496624e5),Ue="Mon, 01 Jan -45875 11:59:59 GMT"!==Re.toUTCString(),Je=Re.getTimezoneOffset();-720>Je?(ze="Tue Jan 02 -45875"!==Re.toDateString(),Ge=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/.test(We.toString())):(ze="Mon Jan 01 -45875"!==Re.toDateString(),Ge=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/.test(We.toString()));var Be=y.bind(Date.prototype.getFullYear),Ve=y.bind(Date.prototype.getMonth),He=y.bind(Date.prototype.getDate),Fe=y.bind(Date.prototype.getUTCFullYear),Xe=y.bind(Date.prototype.getUTCMonth),_e=y.bind(Date.prototype.getUTCDate),Ke=y.bind(Date.prototype.getUTCDay),Qe=y.bind(Date.prototype.getUTCHours),qe=y.bind(Date.prototype.getUTCMinutes),$e=y.bind(Date.prototype.getUTCSeconds),et=y.bind(Date.prototype.getUTCMilliseconds),tt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],nt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],it=function(e,t){return He(new Date(t,e,0))};G(Date.prototype,{getFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Be(this);return 0>e&&Ve(this)>11?e+1:e},getMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Be(this),t=Ve(this);return 0>e&&t>11?0:t},getDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Be(this),t=Ve(this),n=He(this);if(0>e&&t>11){if(12===t)return n;var i=it(0,e+1);return i-n+1}return n},getUTCFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Fe(this);return 0>e&&Xe(this)>11?e+1:e},getUTCMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Fe(this),t=Xe(this);return 0>e&&t>11?0:t},getUTCDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Fe(this),t=Xe(this),n=_e(this);if(0>e&&t>11){if(12===t)return n;var i=it(0,e+1);return i-n+1}return n}},Oe),G(Date.prototype,{toUTCString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ke(this),t=_e(this),n=Xe(this),i=Fe(this),r=Qe(this),o=qe(this),a=$e(this);return tt[e]+", "+(10>t?"0"+t:t)+" "+nt[n]+" "+i+" "+(10>r?"0"+r:r)+":"+(10>o?"0"+o:o)+":"+(10>a?"0"+a:a)+" GMT"}},Oe||Ue),G(Date.prototype,{toDateString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),i=this.getFullYear();return tt[e]+" "+nt[n]+" "+(10>t?"0"+t:t)+" "+i}},Oe||ze),(Oe||Ge)&&(Date.prototype.toString=function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),i=this.getFullYear(),r=this.getHours(),o=this.getMinutes(),a=this.getSeconds(),s=this.getTimezoneOffset(),l=Math.floor(Math.abs(s)/60),u=Math.floor(Math.abs(s)%60);return tt[e]+" "+nt[n]+" "+(10>t?"0"+t:t)+" "+i+" "+(10>r?"0"+r:r)+":"+(10>o?"0"+o:o)+":"+(10>a?"0"+a:a)+" GMT"+(s>0?"-":"+")+(10>l?"0"+l:l)+(10>u?"0"+u:u)},z&&r.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var rt=-621987552e5,ot="-000001",at=Date.prototype.toISOString&&-1===new Date(rt).toISOString().indexOf(ot),st=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString(),lt=y.bind(Date.prototype.getTime);G(Date.prototype,{toISOString:function(){if(!isFinite(this)||!isFinite(lt(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var e=Fe(this),t=Xe(this);e+=Math.floor(t/12),t=(t%12+12)%12;var n=[t+1,_e(this),Qe(this),qe(this),$e(this)];e=(0>e?"-":e>9999?"+":"")+F("00000"+Math.abs(e),e>=0&&9999>=e?-4:-6);for(var i=0;i=7&&u>pt){var h=Math.floor(u/pt)*pt,g=Math.floor(h/1e3);d+=g,p-=1e3*g}c=1===f&&l(n)===n?new e(t.parse(n)):f>=7?new e(n,i,r,o,a,d,p):f>=6?new e(n,i,r,o,a,d):f>=5?new e(n,i,r,o,a):f>=4?new e(n,i,r,o):f>=3?new e(n,i,r):f>=2?new e(n,i):f>=1?new e(n instanceof e?+n:n):new e}else c=e.apply(this,arguments);return O(c)||G(c,{constructor:t},!0),c},n=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),i=[0,31,59,90,120,151,181,212,243,273,304,334,365],r=function(e,t){var n=t>1?1:0;return i[t]+Math.floor((e-1969+n)/4)-Math.floor((e-1901+n)/100)+Math.floor((e-1601+n)/400)+365*(e-1970)},o=function(t){var n=0,i=t;if(ht&&i>pt){var r=Math.floor(i/pt)*pt,o=Math.floor(r/1e3);n+=o,i-=1e3*o}return c(new e(1970,0,1,0,0,n,i))};for(var a in e)J(e,a)&&(t[a]=e[a]);G(t,{now:e.now,UTC:e.UTC},!0),t.prototype=e.prototype,G(t.prototype,{constructor:t},!0);var s=function(t){var i=n.exec(t);if(i){var a,s=c(i[1]),l=c(i[2]||1)-1,u=c(i[3]||1)-1,f=c(i[4]||0),d=c(i[5]||0),p=c(i[6]||0),h=Math.floor(1e3*c(i[7]||0)),g=Boolean(i[4]&&!i[8]),m="-"===i[9]?1:-1,v=c(i[10]||0),y=c(i[11]||0),w=d>0||p>0||h>0;return(w?24:25)>f&&60>d&&60>p&&1e3>h&&l>-1&&12>l&&24>v&&60>y&&u>-1&&u=-864e13&&864e13>=a)?a:NaN}return e.parse.apply(this,arguments)};return G(t,{parse:s}),t}(Date)}Date.now||(Date.now=function(){return(new Date).getTime()});var gt=f.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0)),mt={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(e,t){for(var n=-1,i=t;++n=0;)n+=mt.data[t],mt.data[t]=Math.floor(n/e),n=n%e*mt.base},numToString:function(){for(var e=mt.size,t="";--e>=0;)if(""!==t||0===e||0!==mt.data[e]){var n=l(mt.data[e]);""===t?t=n:t+=F("0000000",0,7-n.length)+n}return t},pow:function kt(e,t,n){return 0===t?n:t%2===1?kt(e,t-1,n*e):kt(e*e,t/2,n)},log:function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}},vt=function(e){var t,n,i,r,o,a,s,u;if(t=c(e),t=R(t)?0:Math.floor(t),0>t||t>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(n=c(this),R(n))return"NaN";if(-1e21>=n||n>=1e21)return l(n);if(i="",0>n&&(i="-",n=-n),r="0",n>1e-21)if(o=mt.log(n*mt.pow(2,69,1))-69,a=0>o?n*mt.pow(2,-o,1):n/mt.pow(2,o,1),a*=4503599627370496,o=52-o,o>0){for(mt.multiply(0,a),s=t;s>=7;)mt.multiply(1e7,0),s-=7;for(mt.multiply(mt.pow(10,s,1),0),s=o-1;s>=23;)mt.divide(1<<23),s-=23;mt.divide(1<0?(u=r.length,r=t>=u?i+F("0.0000000000000000000",0,t-u+2)+r:i+F(r,0,u-t)+"."+F(r,u-t)):r=i+r,r};G(f,{toFixed:vt},gt);var yt=function(){try{return"1"===1..toPrecision(void 0)}catch(e){return!0}}(),wt=f.toPrecision;G(f,{toPrecision:function(e){return"undefined"==typeof e?wt.call(this):wt.call(this,e)}},yt),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?!function(){var e="undefined"==typeof/()??/.exec("")[1],n=Math.pow(2,32)-1;u.split=function(i,r){var o=String(this);if("undefined"==typeof i&&0===r)return[];if(!t(i))return X(this,i,r);var a,s,l,u,c=[],f=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(i.sticky?"y":""),d=0,p=new RegExp(i.source,f+"g");e||(a=new RegExp("^"+p.source+"$(?!\\s)",f));var g="undefined"==typeof r?n:W.ToUint32(r);for(s=p.exec(o);s&&(l=s.index+s[0].length,!(l>d&&(K(c,F(o,d,s.index)),!e&&s.length>1&&s[0].replace(a,function(){for(var e=1;e1&&s.index=g)));)p.lastIndex===s.index&&p.lastIndex++,s=p.exec(o);return d===o.length?(u||!p.test(""))&&K(c,""):K(c,F(o,d)),c.length>g?V(c,0,g):c}}():"0".split(void 0,0).length&&(u.split=function(e,t){return"undefined"==typeof e&&0===t?[]:X(this,e,t)});var bt=u.replace,It=function(){var e=[];return"x".replace(/x(.)?/g,function(t,n){K(e,n)}),1===e.length&&"undefined"==typeof e[0]}();It||(u.replace=function(n,i){var r=e(i),o=t(n)&&/\)[*?]/.test(n.source);if(r&&o){var a=function(e){var t=arguments.length,r=n.lastIndex;n.lastIndex=0;var o=n.exec(e)||[];return n.lastIndex=r,K(o,arguments[t-2],arguments[t-1]),i.apply(this,o)};return bt.call(this,n,a)}return bt.call(this,n,i)});var Ct=u.substr,Mt="".substr&&"b"!=="0b".substr(-1);G(u,{substr:function(e,t){var n=e;return 0>e&&(n=b(this.length+e,0)),Ct.call(this,n,t)}},Mt);var At=" \n \f\r   ᠎              \u2028\u2029\ufeff",St="​",Et="["+At+"]",Dt=new RegExp("^"+Et+Et+"*"),Nt=new RegExp(Et+Et+"*$"),jt=u.trim&&(At.trim()||!St.trim());G(u,{trim:function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");return l(this).replace(Dt,"").replace(Nt,"")}},jt);var Lt=y.bind(String.prototype.trim),xt=u.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2);G(u,{lastIndexOf:function(e){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");for(var t=l(this),n=l(e),i=arguments.length>1?c(arguments[1]):NaN,r=R(i)?1/0:W.ToInteger(i),o=I(b(r,0),t.length),a=n.length,s=o+a;s>0;){s=b(0,s-a);var u=_(F(t,s,o+a),n);if(-1!==u)return s+u}return-1}},xt);var Tt=u.lastIndexOf;if(G(u,{lastIndexOf:function(e){return Tt.apply(this,arguments)}},1!==u.lastIndexOf.length),(8!==parseInt(At+"08")||22!==parseInt(At+"0x16"))&&(parseInt=function(e){var t=/^[\-+]?0[xX]/;return function(n,i){var r=Lt(String(n)),o=c(i)||(t.test(r)?16:10);return e(r,o)}}(parseInt)),1/parseFloat("-0")!==-(1/0)&&(parseFloat=function(e){return function(t){var n=Lt(String(t)),i=e(n);return 0===i&&"-"===F(n,0,1)?-0:i}}(parseFloat)),"RangeError: test"!==String(new RangeError("test"))){var Zt=function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");var e=this.name;"undefined"==typeof e?e="Error":"string"!=typeof e&&(e=l(e));var t=this.message;return"undefined"==typeof t?t="":"string"!=typeof t&&(t=l(t)),e?t?e+": "+t:e:t};Error.prototype.toString=Zt}if(z){var Pt=function(e,t){if(Q(e,t)){var n=Object.getOwnPropertyDescriptor(e,t);n.configurable&&(n.enumerable=!1,Object.defineProperty(e,t,n))}};Pt(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),Pt(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){var Yt=function(){var e="/"+this.source+"/";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),e};RegExp.prototype.toString=Yt}})},{}],36:[function(e,t,n){var i=[],r=i.forEach,o=i.slice;t.exports=function(e){return r.call(o.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e}},{}],37:[function(e,t,n){n.read=function(e,t,n,i,r){var o,a,s=8*r-i-1,l=(1<>1,c=-7,f=n?r-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=i;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:(p?-1:1)*(1/0);a+=Math.pow(2,i),o-=u}return(p?-1:1)*a*Math.pow(2,o-i)},n.write=function(e,t,n,i,r,o){var a,s,l,u=8*o-r-1,c=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:o-1,h=i?1:-1,g=0>t||0===t&&0>1/t?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*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+f>=1?d/l:d*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,r),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,r),a=0));r>=8;e[n+p]=255&s,p+=h,s/=256,r-=8);for(a=a<0;e[n+p]=255&a,p+=h,a/=256,u-=8);e[n+p-h]|=128*g}},{}],38:[function(e,t,n){var i=[].indexOf;t.exports=function(e,t){if(i)return e.indexOf(t);for(var n=0;n1&&(i=n[0]+"@",e=n[1]),e=e.replace(Z,".");var r=e.split("."),o=a(r,t).join(".");return i+o}function l(e){for(var t,n,i=[],r=0,o=e.length;o>r;)t=e.charCodeAt(r++),t>=55296&&56319>=t&&o>r?(n=e.charCodeAt(r++),56320==(64512&n)?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),r--)):i.push(t);return i}function u(e){return a(e,function(e){var t="";return e>65535&&(e-=65536,t+=z(e>>>10&1023|55296),e=56320|1023&e),t+=z(e)}).join("")}function c(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:M}function f(e,t){return e+22+75*(26>e)-((0!=t)<<5)}function d(e,t,n){var i=0;for(e=n?k(e/D):e>>1,e+=k(e/t);e>Y*S>>1;i+=M)e=k(e/Y);return k(i+(Y+1)*e/(e+E))}function p(e){var t,n,i,r,a,s,l,f,p,h,g=[],m=e.length,v=0,y=j,w=N;for(n=e.lastIndexOf(L),0>n&&(n=0),i=0;n>i;++i)e.charCodeAt(i)>=128&&o("not-basic"),g.push(e.charCodeAt(i));for(r=n>0?n+1:0;m>r;){for(a=v,s=1,l=M;r>=m&&o("invalid-input"),f=c(e.charCodeAt(r++)),(f>=M||f>k((C-v)/s))&&o("overflow"),v+=f*s,p=w>=l?A:l>=w+S?S:l-w,!(p>f);l+=M)h=M-p,s>k(C/h)&&o("overflow"),s*=h;t=g.length+1,w=d(v-a,t,0==a),k(v/t)>C-y&&o("overflow"),y+=k(v/t),v%=t,g.splice(v++,0,y)}return u(g)}function h(e){var t,n,i,r,a,s,u,c,p,h,g,m,v,y,w,b=[];for(e=l(e),m=e.length,t=j,n=0,a=N,s=0;m>s;++s)g=e[s],128>g&&b.push(z(g));for(i=r=b.length,r&&b.push(L);m>i;){for(u=C,s=0;m>s;++s)g=e[s],g>=t&&u>g&&(u=g);for(v=i+1,u-t>k((C-n)/v)&&o("overflow"),n+=(u-t)*v,t=u,s=0;m>s;++s)if(g=e[s],t>g&&++n>C&&o("overflow"),g==t){for(c=n,p=M;h=a>=p?A:p>=a+S?S:p-a,!(h>c);p+=M)w=c-h,y=M-h,b.push(z(f(h+w%y,0))),c=k(w/y);b.push(z(f(c,0))),a=d(n,v,i==r),n=0,++i}++n,++t}return b.join("")}function g(e){return s(e,function(e){return x.test(e)?p(e.slice(4).toLowerCase()):e})}function m(e){return s(e,function(e){return T.test(e)?"xn--"+h(e):e})}var v="object"==typeof i&&i&&!i.nodeType&&i,y="object"==typeof n&&n&&!n.nodeType&&n,w="object"==typeof t&&t;(w.global===w||w.window===w||w.self===w)&&(r=w);var b,I,C=2147483647,M=36,A=1,S=26,E=38,D=700,N=72,j=128,L="-",x=/^xn--/,T=/[^\x20-\x7E]/,Z=/[\x2E\u3002\uFF0E\uFF61]/g,P={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Y=M-A,k=Math.floor,z=String.fromCharCode;if(b={version:"1.4.1",ucs2:{decode:l,encode:u},decode:p,encode:h,toASCII:m,toUnicode:g},"function"==typeof e&&"object"==typeof e.amd&&e.amd)e("punycode",function(){return b});else if(v&&y)if(n.exports==v)y.exports=b;else for(I in b)b.hasOwnProperty(I)&&(v[I]=b[I]);else r.punycode=b}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],42:[function(t,n,i){!function(t,i){"undefined"!=typeof n&&n.exports?n.exports=i():"function"==typeof e&&e.amd?e(i):this[t]=i()}("$script",function(){function e(e,t){for(var n=0,i=e.length;i>n;++n)if(!t(e[n]))return l;return 1}function t(t,n){e(t,function(e){return!n(e)})}function n(o,a,s){function l(e){return e.call?e():d[e]}function c(){if(!--y){d[v]=1,m&&m();for(var n in h)e(n.split("|"),l)&&!t(h[n],l)&&(h[n]=[])}}o=o[u]?o:[o];var f=a&&a.call,m=f?a:s,v=f?o.join(""):a,y=o.length;return setTimeout(function(){t(o,function e(t,n){return null===t?c():(n||/^https?:\/\//.test(t)||!r||(t=-1===t.indexOf(".js")?r+t+".js":r+t),g[t]?(v&&(p[v]=1),2==g[t]?c():setTimeout(function(){e(t,!0)},0)):(g[t]=1,v&&(p[v]=1),void i(t,c)))})},0),n}function i(e,t){var n,i=a.createElement("script");i.onload=i.onerror=i[f]=function(){i[c]&&!/^c|loade/.test(i[c])||n||(i.onload=i[f]=null,n=1,g[e]=2,t())},i.async=1,i.src=o?e+(-1===e.indexOf("?")?"?":"&")+o:e,s.insertBefore(i,s.lastChild)}var r,o,a=document,s=a.getElementsByTagName("head")[0],l=!1,u="push",c="readyState",f="onreadystatechange",d={},p={},h={},g={};return n.get=i,n.order=function(e,t,i){!function r(o){o=e.shift(),e.length?n(o,r):n(o,t,i)}()},n.path=function(e){r=e},n.urlArgs=function(e){o=e},n.ready=function(i,r,o){i=i[u]?i:[i];var a=[];return!t(i,function(e){d[e]||a[u](e)})&&e(i,function(e){return d[e]})?r():!function(e){h[e]=h[e]||[],h[e][u](r),o&&o(a)}(i.join("|")),n},n.done=function(e){n([null],e)},n})},{}]},{},[29])(29)}); // source --> http://www.museumwoubrugge.nl/wordpress/wp-content/plugins/wp-media-player/scripts/microsoftajax.js?ver=5.2.2 //---------------------------------------------------------- // Copyright (C) Microsoft Corporation. All rights reserved. //---------------------------------------------------------- // MicrosoftAjax.js Function.__typeName="Function";Function.__class=true;Function.createCallback=function(b,a){return function(){var e=arguments.length;if(e>0){var d=[];for(var c=0;cc){var f=Error.parameterCount();f.popStackFrame();return f}return null};Function._validateParameter=function(c,a,h){var b,g=a.type,l=!!a.integer,k=!!a.domElement,m=!!a.mayBeNull;b=Function._validateParameterType(c,g,l,k,m,h);if(b){b.popStackFrame();return b}var e=a.elementType,f=!!a.elementMayBeNull;if(g===Array&&typeof c!=="undefined"&&c!==null&&(e||!f)){var j=!!a.elementInteger,i=!!a.elementDomElement;for(var d=0;dc.Calendar.TwoDigitYearMax)return a-100}return a};Date._getParseRegExp=function(b,e){if(!b._parseRegExp)b._parseRegExp={};else if(b._parseRegExp[e])return b._parseRegExp[e];var c=Date._expandFormat(b,e);c=c.replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1");var a=new Sys.StringBuilder("^"),j=[],f=0,i=0,h=Date._getTokenRegExp(),d;while((d=h.exec(c))!==null){var l=c.slice(f,d.index);f=h.lastIndex;i+=Date._appendPreOrPostMatch(l,a);if(i%2===1){a.append(d[0]);continue}switch(d[0]){case "dddd":case "ddd":case "MMMM":case "MMM":a.append("(\\D+)");break;case "tt":case "t":a.append("(\\D*)");break;case "yyyy":a.append("(\\d{4})");break;case "fff":a.append("(\\d{3})");break;case "ff":a.append("(\\d{2})");break;case "f":a.append("(\\d)");break;case "dd":case "d":case "MM":case "M":case "yy":case "y":case "HH":case "H":case "hh":case "h":case "mm":case "m":case "ss":case "s":a.append("(\\d\\d?)");break;case "zzz":a.append("([+-]?\\d\\d?:\\d{2})");break;case "zz":case "z":a.append("([+-]?\\d\\d?)");break}Array.add(j,d[0])}Date._appendPreOrPostMatch(c.slice(f),a);a.append("$");var k=a.toString().replace(/\s+/g,"\\s+"),g={"regExp":k,"groups":j};b._parseRegExp[e]=g;return g};Date._getTokenRegExp=function(){return /dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z/g};Date.parseLocale=function(a){return Date._parse(a,Sys.CultureInfo.CurrentCulture,arguments)};Date.parseInvariant=function(a){return Date._parse(a,Sys.CultureInfo.InvariantCulture,arguments)};Date._parse=function(g,c,h){var e=false;for(var a=1,i=h.length;a31)return null;break;case "MMMM":c=j._getMonthIndex(a);if(c<0||c>11)return null;break;case "MMM":c=j._getAbbrMonthIndex(a);if(c<0||c>11)return null;break;case "M":case "MM":var c=Date._parseInt(a)-1;if(c<0||c>11)return null;break;case "y":case "yy":f=Date._expandYear(m,Date._parseInt(a));if(f<0||f>9999)return null;break;case "yyyy":f=Date._parseInt(a);if(f<0||f>9999)return null;break;case "h":case "hh":d=Date._parseInt(a);if(d===12)d=0;if(d<0||d>11)return null;break;case "H":case "HH":d=Date._parseInt(a);if(d<0||d>23)return null;break;case "m":case "mm":n=Date._parseInt(a);if(n<0||n>59)return null;break;case "s":case "ss":o=Date._parseInt(a);if(o<0||o>59)return null;break;case "tt":case "t":var u=a.toUpperCase();r=u===m.PMDesignator.toUpperCase();if(!r&&u!==m.AMDesignator.toUpperCase())return null;break;case "f":e=Date._parseInt(a)*100;if(e<0||e>999)return null;break;case "ff":e=Date._parseInt(a)*10;if(e<0||e>999)return null;break;case "fff":e=Date._parseInt(a);if(e<0||e>999)return null;break;case "dddd":g=j._getDayIndex(a);if(g<0||g>6)return null;break;case "ddd":g=j._getAbbrDayIndex(a);if(g<0||g>6)return null;break;case "zzz":var q=a.split(/:/);if(q.length!==2)return null;var i=Date._parseInt(q[0]);if(i<-12||i>13)return null;var l=Date._parseInt(q[1]);if(l<0||l>59)return null;k=i*60+(a.startsWith("-")?-l:l);break;case "z":case "zz":var i=Date._parseInt(a);if(i<-12||i>13)return null;k=i*60;break}}var b=new Date;if(f===null)f=b.getFullYear();if(c===null)c=b.getMonth();if(h===null)h=b.getDate();b.setFullYear(f,c,h);if(b.getDate()!==h)return null;if(g!==null&&b.getDay()!==g)return null;if(r&&d<12)d+=12;b.setHours(d,n,o,e);if(k!==null){var t=b.getMinutes()-(k+b.getTimezoneOffset());b.setHours(b.getHours()+parseInt(t/60),t%60)}return b}};Date._parseInt=function(a){return parseInt(a.replace(/^[\s0]+(\d+)$/,"$1"))};Date.prototype.format=function(a){return this._toFormattedString(a,Sys.CultureInfo.InvariantCulture)};Date.prototype.localeFormat=function(a){return this._toFormattedString(a,Sys.CultureInfo.CurrentCulture)};Date.prototype._toFormattedString=function(e,h){if(!e||e.length===0||e==="i")if(h&&h.name.length>0)return this.toLocaleString();else return this.toString();var d=h.dateTimeFormat;e=Date._expandFormat(d,e);var a=new Sys.StringBuilder,b;function c(a){if(a<10)return "0"+a;return a.toString()}function g(a){if(a<10)return "00"+a;if(a<100)return "0"+a;return a.toString()}var j=0,i=Date._getTokenRegExp();for(;true;){var l=i.lastIndex,f=i.exec(e),k=e.slice(l,f?f.index:e.length);j+=Date._appendPreOrPostMatch(k,a);if(!f)break;if(j%2===1){a.append(f[0]);continue}switch(f[0]){case "dddd":a.append(d.DayNames[this.getDay()]);break;case "ddd":a.append(d.AbbreviatedDayNames[this.getDay()]);break;case "dd":a.append(c(this.getDate()));break;case "d":a.append(this.getDate());break;case "MMMM":a.append(d.MonthNames[this.getMonth()]);break;case "MMM":a.append(d.AbbreviatedMonthNames[this.getMonth()]);break;case "MM":a.append(c(this.getMonth()+1));break;case "M":a.append(this.getMonth()+1);break;case "yyyy":a.append(this.getFullYear());break;case "yy":a.append(c(this.getFullYear()%100));break;case "y":a.append(this.getFullYear()%100);break;case "hh":b=this.getHours()%12;if(b===0)b=12;a.append(c(b));break;case "h":b=this.getHours()%12;if(b===0)b=12;a.append(b);break;case "HH":a.append(c(this.getHours()));break;case "H":a.append(this.getHours());break;case "mm":a.append(c(this.getMinutes()));break;case "m":a.append(this.getMinutes());break;case "ss":a.append(c(this.getSeconds()));break;case "s":a.append(this.getSeconds());break;case "tt":a.append(this.getHours()<12?d.AMDesignator:d.PMDesignator);break;case "t":a.append((this.getHours()<12?d.AMDesignator:d.PMDesignator).charAt(0));break;case "f":a.append(g(this.getMilliseconds()).charAt(0));break;case "ff":a.append(g(this.getMilliseconds()).substr(0,2));break;case "fff":a.append(g(this.getMilliseconds()));break;case "z":b=this.getTimezoneOffset()/60;a.append((b>=0?"+":"-")+Math.floor(Math.abs(b)));break;case "zz":b=this.getTimezoneOffset()/60;a.append((b>=0?"+":"-")+c(Math.floor(Math.abs(b))));break;case "zzz":b=this.getTimezoneOffset()/60;a.append((b>=0?"+":"-")+c(Math.floor(Math.abs(b)))+d.TimeSeparator+c(Math.abs(this.getTimezoneOffset()%60)));break}}return a.toString()};Number.__typeName="Number";Number.__class=true;Number.parseLocale=function(a){return Number._parse(a,Sys.CultureInfo.CurrentCulture)};Number.parseInvariant=function(a){return Number._parse(a,Sys.CultureInfo.InvariantCulture)};Number._parse=function(g,f){var a=g.trim();if(a.match(/infinity/i)!==null)return parseFloat(a);if(a.match(/^0x[a-f0-9]+$/i)!==null)return parseInt(a);var d=f.numberFormat,b=d.NumberDecimalSeparator,c=d.NumberGroupSeparator,e=new RegExp("^[+-]?[\\d\\"+c+"]*\\"+b+"?\\d*([eE][+-]?\\d+)?$");if(!a.match(e))return Number.NaN;a=a.split(c).join("");a=a.replace(b,".");return parseFloat(a)};Number.prototype.format=function(a){return this._toFormattedString(a,Sys.CultureInfo.InvariantCulture)};Number.prototype.localeFormat=function(a){return this._toFormattedString(a,Sys.CultureInfo.CurrentCulture)};Number.prototype._toFormattedString=function(d,j){if(!d||d.length===0||d==="i")if(j&&j.name.length>0)return this.toLocaleString();else return this.toString();var q=["n %","n%","%n"],p=["-n %","-n%","-%n"],r=["(n)","-n","- n","n-","n -"],o=["$n","n$","$ n","n $"],n=["($n)","-$n","$-n","$n-","(n$)","-n$","n-$","n$-","-n $","-$ n","n $-","$ n-","$ -n","n- $","($ n)","(n $)"];function i(p,k,j,l,o){var e=j[0],g=1,c=p.toString(),a="",m="",i=c.split(".");if(i.length>1){c=i[0];a=i[1];var h=a.split(/e/i);if(h.length>1){a=h[0];m="e"+h[1]}}if(k>0){var f=a.length-k;if(f>0)a=a.slice(0,k);else if(f<0)for(var n=0;n=0){if(e===0||e>b)if(d.length>0)return c.slice(0,b+1)+l+d+a;else return c.slice(0,b+1)+a;if(d.length>0)d=c.slice(b-e+1,b+1)+l+d;else d=c.slice(b-e+1,b+1);b-=e;if(g1)b=parseInt(d.slice(1));var c;switch(d.charAt(0)){case "d":case "D":c="n";if(b!==-1){var g=""+e,k=b-g.length;if(k>0)for(var m=0;m=0};Array.dequeue=function(a){return a.shift()};Array.forEach=function(b,e,d){for(var a=0,f=b.length;a=0)b.splice(a,1);return a>=0};Array.removeAt=function(a,b){a.splice(b,1)};String.__typeName="String";String.__class=true;String.prototype.endsWith=function(a){return this.substr(this.length-a.length)===a};String.prototype.startsWith=function(a){return this.substr(0,a.length)===a};String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.trimEnd=function(){return this.replace(/\s+$/,"")};String.prototype.trimStart=function(){return this.replace(/^\s+/,"")};String.format=function(){return String._toFormattedString(false,arguments)};String.localeFormat=function(){return String._toFormattedString(true,arguments)};String._toFormattedString=function(l,j){var c="",e=j[0];for(var a=0;true;){var f=e.indexOf("{",a),d=e.indexOf("}",a);if(f<0&&d<0){c+=e.slice(a);break}if(d>0&&(d-1){Sys.Browser.agent=Sys.Browser.InternetExplorer;Sys.Browser.version=parseFloat(navigator.userAgent.match(/MSIE (\d+\.\d+)/)[1]);Sys.Browser.hasDebuggerStatement=true}else if(navigator.userAgent.indexOf(" Firefox/")>-1){Sys.Browser.agent=Sys.Browser.Firefox;Sys.Browser.version=parseFloat(navigator.userAgent.match(/Firefox\/(\d+\.\d+)/)[1]);Sys.Browser.name="Firefox";Sys.Browser.hasDebuggerStatement=true}else if(navigator.userAgent.indexOf(" Safari/")>-1){Sys.Browser.agent=Sys.Browser.Safari;Sys.Browser.version=parseFloat(navigator.userAgent.match(/Safari\/(\d+\.\d+)/)[1]);Sys.Browser.name="Safari"}else if(navigator.userAgent.indexOf("Opera/")>-1)Sys.Browser.agent=Sys.Browser.Opera;Type.registerNamespace("Sys.UI");Sys._Debug=function(){};Sys._Debug.prototype={_appendConsole:function(a){if(typeof Debug!=="undefined"&&Debug.writeln)Debug.writeln(a);if(window.console&&window.console.log)window.console.log(a);if(window.opera)window.opera.postError(a);if(window.debugService)window.debugService.trace(a)},_appendTrace:function(b){var a=document.getElementById("TraceConsole");if(a&&a.tagName.toUpperCase()==="TEXTAREA")a.value+=b+"\n"},assert:function(c,a,b){if(!c){a=b&&this.assert.caller?String.format(Sys.Res.assertFailedCaller,a,this.assert.caller):String.format(Sys.Res.assertFailed,a);if(confirm(String.format(Sys.Res.breakIntoDebugger,a)))this.fail(a)}},clearTrace:function(){var a=document.getElementById("TraceConsole");if(a&&a.tagName.toUpperCase()==="TEXTAREA")a.value=""},fail:function(message){this._appendConsole(message);if(Sys.Browser.hasDebuggerStatement)eval("debugger")},trace:function(a){this._appendConsole(a);this._appendTrace(a)},traceDump:function(a,b){var c=this._traceDump(a,b,true)},_traceDump:function(a,c,f,b,d){c=c?c:"traceDump";b=b?b:"";if(a===null){this.trace(b+c+": null");return}switch(typeof a){case "undefined":this.trace(b+c+": Undefined");break;case "number":case "string":case "boolean":this.trace(b+c+": "+a);break;default:if(Date.isInstanceOfType(a)||RegExp.isInstanceOfType(a)){this.trace(b+c+": "+a.toString());break}if(!d)d=[];else if(Array.contains(d,a)){this.trace(b+c+": ...");return}Array.add(d,a);if(a==window||a===document||window.HTMLElement&&a instanceof HTMLElement||typeof a.nodeName==="string"){var k=a.tagName?a.tagName:"DomElement";if(a.id)k+=" - "+a.id;this.trace(b+c+" {"+k+"}")}else{var i=Object.getTypeName(a);this.trace(b+c+(typeof i==="string"?" {"+i+"}":""));if(b===""||f){b+=" ";var e,j,l,g,h;if(Array.isInstanceOfType(a)){j=a.length;for(e=0;e=0;d--){var k=h[d].trim();b=a[k];if(typeof b!=="number")throw Error.argument("value",String.format(Sys.Res.enumInvalidValue,c.split(",")[d].trim(),this.__typeName));j|=b}return j}}function Sys$Enum$toString(c){if(typeof c==="undefined"||c===null)return this.__string;var d=this.prototype,a;if(!this.__flags||c===0){for(a in d)if(d[a]===c)return a}else{var b=this.__sortedValues;if(!b){b=[];for(a in d)b[b.length]={key:a,value:d[a]};b.sort(function(a,b){return a.value-b.value});this.__sortedValues=b}var e=[],g=c;for(a=b.length-1;a>=0;a--){var h=b[a],f=h.value;if(f===0)continue;if((f&c)===f){e[e.length]=h.key;g-=f;if(g===0)break}}if(e.length&&g===0)return e.reverse().join(", ")}return ""}Type.prototype.registerEnum=function(c,b){for(var a in this.prototype)this[a]=this.prototype[a];this.__typeName=c;this.parse=Sys$Enum$parse;this.__string=this.toString();this.toString=Sys$Enum$toString;this.__flags=b;this.__enum=true};Type.isEnum=function(a){if(typeof a==="undefined"||a===null)return false;return !!a.__enum};Type.isFlags=function(a){if(typeof a==="undefined"||a===null)return false;return !!a.__flags};Sys.EventHandlerList=function(){this._list={}};Sys.EventHandlerList.prototype={addHandler:function(b,a){Array.add(this._getEvent(b,true),a)},removeHandler:function(c,b){var a=this._getEvent(c);if(!a)return;Array.remove(a,b)},getHandler:function(b){var a=this._getEvent(b);if(!a||a.length===0)return null;a=Array.clone(a);if(!a._handler)a._handler=function(c,d){for(var b=0,e=a.length;b=0;c--)$removeHandler(a,b,d[c].handler)}a._events=null}},$removeHandler=Sys.UI.DomEvent.removeHandler=function(a,e,f){var d=null,c=a._events[e],d=null;for(var b=0,g=c.length;b0)this._timeoutCookie=window.setTimeout(Function.createDelegate(this,this._scriptLoadTimeoutHandler),a*1000);this._loadScriptsInternal()},notifyScriptLoaded:function(){if(!this._loading)return;this._currentTask._notified++;if(Sys.Browser.agent===Sys.Browser.Safari)if(this._currentTask._notified===1)window.setTimeout(Function.createDelegate(this,function(){this._scriptLoadedHandler(this._currentTask.get_scriptElement(),true)}),0)},queueCustomScriptTag:function(a){if(!this._scriptsToLoad)this._scriptsToLoad=[];Array.add(this._scriptsToLoad,a)},queueScriptBlock:function(a){if(!this._scriptsToLoad)this._scriptsToLoad=[];Array.add(this._scriptsToLoad,{text:a})},queueScriptReference:function(a){if(!this._scriptsToLoad)this._scriptsToLoad=[];Array.add(this._scriptsToLoad,{src:a})},_createScriptElement:function(c){var a=document.createElement("SCRIPT");a.type="text/javascript";for(var b in c)a[b]=c[b];return a},_loadScriptsInternal:function(){if(this._scriptsToLoad&&this._scriptsToLoad.length>0){var b=Array.dequeue(this._scriptsToLoad),a=this._createScriptElement(b);if(a.text&&Sys.Browser.agent===Sys.Browser.Safari){a.innerHTML=a.text;delete a.text}if(typeof b.src==="string"){this._currentTask=new Sys._ScriptLoaderTask(a,this._scriptLoadedDelegate);this._currentTask.execute()}else{document.getElementsByTagName("HEAD")[0].appendChild(a);Sys._ScriptLoader._clearScript(a);this._loadScriptsInternal()}}else{var c=this._allScriptsLoadedCallback;this._stopLoading();if(c)c(this)}},_raiseError:function(a){var c=this._scriptLoadFailedCallback,b=this._currentTask.get_scriptElement();this._stopLoading();if(c)c(this,b,a);else throw Sys._ScriptLoader._errorScriptLoadFailed(b.src,a)},_scriptLoadedHandler:function(a,b){if(b&&this._currentTask._notified)if(this._currentTask._notified>1)this._raiseError(true);else{Array.add(Sys._ScriptLoader._getLoadedScripts(),a.src);this._currentTask.dispose();this._currentTask=null;this._loadScriptsInternal()}else this._raiseError(false)},_scriptLoadTimeoutHandler:function(){var a=this._scriptLoadTimeoutCallback;this._stopLoading();if(a)a(this)},_stopLoading:function(){if(this._timeoutCookie){window.clearTimeout(this._timeoutCookie);this._timeoutCookie=null}if(this._currentTask){this._currentTask.dispose();this._currentTask=null}this._scriptsToLoad=null;this._loading=null;this._allScriptsLoadedCallback=null;this._scriptLoadFailedCallback=null;this._scriptLoadTimeoutCallback=null}};Sys._ScriptLoader.registerClass("Sys._ScriptLoader",null,Sys.IDisposable);Sys._ScriptLoader.getInstance=function(){var a=Sys._ScriptLoader._activeInstance;if(!a)a=Sys._ScriptLoader._activeInstance=new Sys._ScriptLoader;return a};Sys._ScriptLoader.isScriptLoaded=function(b){var a=document.createElement("script");a.src=b;return Array.contains(Sys._ScriptLoader._getLoadedScripts(),a.src)};Sys._ScriptLoader.readLoadedScripts=function(){if(!Sys._ScriptLoader._referencedScripts){var b=Sys._ScriptLoader._referencedScripts=[],c=document.getElementsByTagName("SCRIPT");for(i=c.length-1;i>=0;i--){var d=c[i],a=d.src;if(a.length)if(!Array.contains(b,a))Array.add(b,a)}}};Sys._ScriptLoader._clearScript=function(a){if(!Sys.Debug.isDebug)a.parentNode.removeChild(a)};Sys._ScriptLoader._errorScriptLoadFailed=function(b,d){var a;if(d)a=Sys.Res.scriptLoadMultipleCallbacks;else a=Sys.Res.scriptLoadFailed;var e="Sys.ScriptLoadFailedException: "+String.format(a,b),c=Error.create(e,{name:"Sys.ScriptLoadFailedException","scriptUrl":b});c.popStackFrame();return c};Sys._ScriptLoader._getLoadedScripts=function(){if(!Sys._ScriptLoader._referencedScripts){Sys._ScriptLoader._referencedScripts=[];Sys._ScriptLoader.readLoadedScripts()}return Sys._ScriptLoader._referencedScripts};Sys._ScriptLoaderTask=function(b,a){this._scriptElement=b;this._completedCallback=a;this._notified=0};Sys._ScriptLoaderTask.prototype={get_scriptElement:function(){return this._scriptElement},dispose:function(){if(this._disposed)return;this._disposed=true;this._removeScriptElementHandlers();Sys._ScriptLoader._clearScript(this._scriptElement);this._scriptElement=null},execute:function(){this._addScriptElementHandlers();document.getElementsByTagName("HEAD")[0].appendChild(this._scriptElement)},_addScriptElementHandlers:function(){this._scriptLoadDelegate=Function.createDelegate(this,this._scriptLoadHandler);if(Sys.Browser.agent!==Sys.Browser.InternetExplorer){this._scriptElement.readyState="loaded";$addHandler(this._scriptElement,"load",this._scriptLoadDelegate)}else $addHandler(this._scriptElement,"readystatechange",this._scriptLoadDelegate);this._scriptErrorDelegate=Function.createDelegate(this,this._scriptErrorHandler);$addHandler(this._scriptElement,"error",this._scriptErrorDelegate)},_removeScriptElementHandlers:function(){if(this._scriptLoadDelegate){var a=this.get_scriptElement();if(Sys.Browser.agent!==Sys.Browser.InternetExplorer)$removeHandler(a,"load",this._scriptLoadDelegate);else $removeHandler(a,"readystatechange",this._scriptLoadDelegate);$removeHandler(a,"error",this._scriptErrorDelegate);this._scriptErrorDelegate=null;this._scriptLoadDelegate=null}},_scriptErrorHandler:function(){if(this._disposed)return;this._completedCallback(this.get_scriptElement(),false)},_scriptLoadHandler:function(){if(this._disposed)return;var a=this.get_scriptElement();if(a.readyState!=="loaded"&&a.readyState!=="complete")return;var b=this;window.setTimeout(function(){b._completedCallback(a,true)},0)}};Sys._ScriptLoaderTask.registerClass("Sys._ScriptLoaderTask",null,Sys.IDisposable);Sys.ApplicationLoadEventArgs=function(b,a){Sys.ApplicationLoadEventArgs.initializeBase(this);this._components=b;this._isPartialLoad=a};Sys.ApplicationLoadEventArgs.prototype={get_components:function(){return this._components},get_isPartialLoad:function(){return this._isPartialLoad}};Sys.ApplicationLoadEventArgs.registerClass("Sys.ApplicationLoadEventArgs",Sys.EventArgs);Sys._Application=function(){Sys._Application.initializeBase(this);this._disposableObjects=[];this._components={};this._createdComponents=[];this._secondPassComponents=[];this._unloadHandlerDelegate=Function.createDelegate(this,this._unloadHandler);this._loadHandlerDelegate=Function.createDelegate(this,this._loadHandler);Sys.UI.DomEvent.addHandler(window,"unload",this._unloadHandlerDelegate);Sys.UI.DomEvent.addHandler(window,"load",this._loadHandlerDelegate)};Sys._Application.prototype={_creatingComponents:false,_disposing:false,get_isCreatingComponents:function(){return this._creatingComponents},add_load:function(a){this.get_events().addHandler("load",a)},remove_load:function(a){this.get_events().removeHandler("load",a)},add_init:function(a){if(this._initialized)a(this,Sys.EventArgs.Empty);else this.get_events().addHandler("init",a)},remove_init:function(a){this.get_events().removeHandler("init",a)},add_unload:function(a){this.get_events().addHandler("unload",a)},remove_unload:function(a){this.get_events().removeHandler("unload",a)},addComponent:function(a){this._components[a.get_id()]=a},beginCreateComponents:function(){this._creatingComponents=true},dispose:function(){if(!this._disposing){this._disposing=true;if(window.pageUnload)window.pageUnload(this,Sys.EventArgs.Empty);var c=this.get_events().getHandler("unload");if(c)c(this,Sys.EventArgs.Empty);var b=Array.clone(this._disposableObjects);for(var a=0,e=b.length;a0)this._timer=window.setTimeout(Function.createDelegate(this,this._onTimeout),d);this._xmlHttpRequest.send(c);this._started=true},getResponseHeader:function(b){var a;try{a=this._xmlHttpRequest.getResponseHeader(b)}catch(c){}if(!a)a="";return a},getAllResponseHeaders:function(){return this._xmlHttpRequest.getAllResponseHeaders()},get_responseData:function(){return this._xmlHttpRequest.responseText},get_statusCode:function(){return this._xmlHttpRequest.status},get_statusText:function(){return this._xmlHttpRequest.statusText},get_xml:function(){var a=this._xmlHttpRequest.responseXML;if(!a||!a.documentElement){a=new XMLDOM(this._xmlHttpRequest.responseText);if(!a||!a.documentElement)return null}else if(navigator.userAgent.indexOf("MSIE")!==-1)a.setProperty("SelectionLanguage","XPath");if(a.documentElement.namespaceURI==="http://www.mozilla.org/newlayout/xml/parsererror.xml"&&a.documentElement.tagName==="parsererror")return null;if(a.documentElement.firstChild&&a.documentElement.firstChild.tagName==="parsererror")return null;return a},abort:function(){if(this._aborted||this._responseAvailable||this._timedOut)return;this._aborted=true;this._clearTimer();if(this._xmlHttpRequest&&!this._responseAvailable){this._xmlHttpRequest.onreadystatechange=Function.emptyMethod;this._xmlHttpRequest.abort();this._xmlHttpRequest=null;var a=this._webRequest._get_eventHandlerList().getHandler("completed");if(a)a(this,Sys.EventArgs.Empty)}}};Sys.Net.XMLHttpExecutor.registerClass("Sys.Net.XMLHttpExecutor",Sys.Net.WebRequestExecutor);Sys.Net._WebRequestManager=function(){this._this=this;this._defaultTimeout=0;this._defaultExecutorType="Sys.Net.XMLHttpExecutor"};Sys.Net._WebRequestManager.prototype={add_invokingRequest:function(a){this._get_eventHandlerList().addHandler("invokingRequest",a)},remove_invokingRequest:function(a){this._get_eventHandlerList().removeHandler("invokingRequest",a)},add_completedRequest:function(a){this._get_eventHandlerList().addHandler("completedRequest",a)},remove_completedRequest:function(a){this._get_eventHandlerList().removeHandler("completedRequest",a)},_get_eventHandlerList:function(){if(!this._events)this._events=new Sys.EventHandlerList;return this._events},get_defaultTimeout:function(){return this._defaultTimeout},set_defaultTimeout:function(a){this._defaultTimeout=a},get_defaultExecutorType:function(){return this._defaultExecutorType},set_defaultExecutorType:function(a){this._defaultExecutorType=a},executeRequest:function(webRequest){var executor=webRequest.get_executor();if(!executor){var failed=false;try{var executorType=eval(this._defaultExecutorType);executor=new executorType}catch(a){failed=true}webRequest.set_executor(executor)}if(executor.get_aborted())return;var evArgs=new Sys.Net.NetworkRequestEventArgs(webRequest),handler=this._get_eventHandlerList().getHandler("invokingRequest");if(handler)handler(this,evArgs);if(!evArgs.get_cancel())executor.executeRequest()}};Sys.Net._WebRequestManager.registerClass("Sys.Net._WebRequestManager");Sys.Net.WebRequestManager=new Sys.Net._WebRequestManager;Sys.Net.NetworkRequestEventArgs=function(a){Sys.Net.NetworkRequestEventArgs.initializeBase(this);this._webRequest=a};Sys.Net.NetworkRequestEventArgs.prototype={get_webRequest:function(){return this._webRequest}};Sys.Net.NetworkRequestEventArgs.registerClass("Sys.Net.NetworkRequestEventArgs",Sys.CancelEventArgs);Sys.Net.WebRequest=function(){this._url="";this._headers={};this._body=null;this._userContext=null;this._httpVerb=null;this._executor=null;this._invokeCalled=false;this._timeout=0};Sys.Net.WebRequest.prototype={add_completed:function(a){this._get_eventHandlerList().addHandler("completed",a)},remove_completed:function(a){this._get_eventHandlerList().removeHandler("completed",a)},completed:function(b){var a=Sys.Net.WebRequestManager._get_eventHandlerList().getHandler("completedRequest");if(a)a(this._executor,b);a=this._get_eventHandlerList().getHandler("completed");if(a)a(this._executor,b)},_get_eventHandlerList:function(){if(!this._events)this._events=new Sys.EventHandlerList;return this._events},get_url:function(){return this._url},set_url:function(a){this._url=a},get_headers:function(){return this._headers},get_httpVerb:function(){if(this._httpVerb===null){if(this._body===null)return "GET";return "POST"}return this._httpVerb},set_httpVerb:function(a){this._httpVerb=a},get_body:function(){return this._body},set_body:function(a){this._body=a},get_userContext:function(){return this._userContext},set_userContext:function(a){this._userContext=a},get_executor:function(){return this._executor},set_executor:function(a){this._executor=a;this._executor._set_webRequest(this)},get_timeout:function(){if(this._timeout===0)return Sys.Net.WebRequestManager.get_defaultTimeout();return this._timeout},set_timeout:function(a){this._timeout=a},getResolvedUrl:function(){return Sys.Net.WebRequest._resolveUrl(this._url)},invoke:function(){Sys.Net.WebRequestManager.executeRequest(this);this._invokeCalled=true}};Sys.Net.WebRequest._resolveUrl=function(b,a){if(b&&b.indexOf("://")!==-1)return b;if(!a||a.length===0){var c=document.getElementsByTagName("base")[0];if(c&&c.href&&c.href.length>0)a=c.href;else a=document.URL}var d=a.indexOf("?");if(d!==-1)a=a.substr(0,d);a=a.substr(0,a.lastIndexOf("/")+1);if(!b||b.length===0)return a;if(b.charAt(0)==="/"){var e=a.indexOf("://"),g=a.indexOf("/",e+3);return a.substr(0,g)+b}else{var f=a.lastIndexOf("/");return a.substr(0,f+1)+b}};Sys.Net.WebRequest._createQueryString=function(d,b){if(!b)b=encodeURIComponent;var a=new Sys.StringBuilder,f=0;for(var c in d){var e=d[c];if(typeof e==="function")continue;var g=Sys.Serialization.JavaScriptSerializer.serialize(e);if(f!==0)a.append("&");a.append(c);a.append("=");a.append(b(g));f++}return a.toString()};Sys.Net.WebRequest._createUrl=function(a,b){if(!b)return a;var d=Sys.Net.WebRequest._createQueryString(b);if(d.length>0){var c="?";if(a&&a.indexOf("?")!==-1)c="&";return a+c+d}else return a};Sys.Net.WebRequest.registerClass("Sys.Net.WebRequest");Sys.Net.WebServiceProxy=function(){};Sys.Net.WebServiceProxy.prototype={set_timeout:function(a){this._timeout=a},get_timeout:function(){return this._timeout},set_defaultUserContext:function(a){this._userContext=a},get_defaultUserContext:function(){return this._userContext},set_defaultSucceededCallback:function(a){this._succeeded=a},get_defaultSucceededCallback:function(){return this._succeeded},set_defaultFailedCallback:function(a){this._failed=a},get_defaultFailedCallback:function(){return this._failed},set_path:function(a){this._path=a},get_path:function(){return this._path},_invoke:function(d,e,g,f,c,b,a){if(c===null||typeof c==="undefined")c=this.get_defaultSucceededCallback();if(b===null||typeof b==="undefined")b=this.get_defaultFailedCallback();if(a===null||typeof a==="undefined")a=this.get_defaultUserContext();return Sys.Net.WebServiceProxy.invoke(d,e,g,f,c,b,a,this.get_timeout())}};Sys.Net.WebServiceProxy.registerClass("Sys.Net.WebServiceProxy");Sys.Net.WebServiceProxy.invoke=function(k,a,j,d,i,c,f,h){var b=new Sys.Net.WebRequest;b.get_headers()["Content-Type"]="application/json; charset=utf-8";if(!d)d={};var g=d;if(!j||!g)g={};b.set_url(Sys.Net.WebRequest._createUrl(k+"/"+a,g));var e=null;if(!j){e=Sys.Serialization.JavaScriptSerializer.serialize(d);if(e==="{}")e=""}b.set_body(e);b.add_completed(l);if(h&&h>0)b.set_timeout(h);b.invoke();function l(d){if(d.get_responseAvailable()){var e=d.get_statusCode(),b=null;try{var j=d.getResponseHeader("Content-Type");if(j.startsWith("application/json"))b=d.get_object();else if(j.startsWith("text/xml"))b=d.get_xml();else b=d.get_responseData()}catch(m){}var k=d.getResponseHeader("jsonerror"),g=k==="true";if(g)b=new Sys.Net.WebServiceError(false,b.Message,b.StackTrace,b.ExceptionType);if(e<200||e>=300||g){if(c){if(!b||!g)b=new Sys.Net.WebServiceError(false,String.format(Sys.Res.webServiceFailedNoMsg,a),"","");b._statusCode=e;c(b,f,a)}}else if(i)i(b,f,a)}else{var h;if(d.get_timedOut())h=String.format(Sys.Res.webServiceTimedOut,a);else h=String.format(Sys.Res.webServiceFailedNoMsg,a);if(c)c(new Sys.Net.WebServiceError(d.get_timedOut(),h,"",""),f,a)}}return b};Sys.Net.WebServiceProxy._generateTypedConstructor=function(a){return function(b){if(b)for(var c in b)this[c]=b[c];this.__type=a}};Sys.Net.WebServiceError=function(c,d,b,a){this._timedOut=c;this._message=d;this._stackTrace=b;this._exceptionType=a;this._statusCode=-1};Sys.Net.WebServiceError.prototype={get_timedOut:function(){return this._timedOut},get_statusCode:function(){return this._statusCode},get_message:function(){return this._message},get_stackTrace:function(){return this._stackTrace},get_exceptionType:function(){return this._exceptionType}};Sys.Net.WebServiceError.registerClass("Sys.Net.WebServiceError");Type.registerNamespace("Sys.Services");Sys.Services._ProfileService=function(){Sys.Services._ProfileService.initializeBase(this);this.properties={}};Sys.Services._ProfileService.DefaultWebServicePath="";Sys.Services._ProfileService.prototype={_defaultFailedCallback:null,_defaultLoadCompletedCallback:null,_defaultSaveCompletedCallback:null,_path:"",_timeout:0,get_defaultFailedCallback:function(){return this._defaultFailedCallback},set_defaultFailedCallback:function(a){this._defaultFailedCallback=a},get_defaultLoadCompletedCallback:function(){return this._defaultLoadCompletedCallback},set_defaultLoadCompletedCallback:function(a){this._defaultLoadCompletedCallback=a},get_defaultSaveCompletedCallback:function(){return this._defaultSaveCompletedCallback},set_defaultSaveCompletedCallback:function(a){this._defaultSaveCompletedCallback=a},get_path:function(){return this._path},set_path:function(a){if(!a||!a.length)a="";this._path=a},get_timeout:function(){return this._timeout},set_timeout:function(a){this._timeout=a},load:function(b,d,e,f){var c={},a;if(!b)a="GetAllPropertiesForCurrentUser";else{a="GetPropertiesForCurrentUser";c={properties:this._clonePropertyNames(b)}}this._invoke(this._get_path(),a,false,c,Function.createDelegate(this,this._onLoadComplete),Function.createDelegate(this,this._onLoadFailed),[d,e,f])},save:function(d,a,c,e){var b=this._flattenProperties(d,this.properties);this._invoke(this._get_path(),"SetPropertiesForCurrentUser",false,{values:b},Function.createDelegate(this,this._onSaveComplete),Function.createDelegate(this,this._onSaveFailed),[a,c,e])},_clonePropertyNames:function(e){var c=[],d={};for(var b=0;b0)a.append(",");Sys.Serialization.JavaScriptSerializer._serializeWithBuilder(b[c],a)}a.append("]")}else{if(Date.isInstanceOfType(b)){a.append('"\\/Date(');a.append(b.getTime());a.append(')\\/"');break}var e=[],i=0;for(var g in b){if(g.startsWith("$"))continue;e[i++]=g}if(h)e.sort();a.append("{");var j=false;for(c=0;c=" "){if(d==="\\"||d==='"')a.append("\\");a.append(d)}else switch(d){case "\b":a.append("\\b");break;case "\f":a.append("\\f");break;case "\n":a.append("\\n");break;case "\r":a.append("\\r");break;case "\t":a.append("\\t");break;default:a.append("\\u00");if(d.charCodeAt()<16)a.append("0");a.append(d.charCodeAt().toString(16))}}}else a.append(b);a.append('"');break;case "boolean":a.append(b.toString());break;default:a.append("null");break}};Sys.Serialization.JavaScriptSerializer.serialize=function(b){var a=new Sys.StringBuilder;Sys.Serialization.JavaScriptSerializer._serializeWithBuilder(b,a,false);return a.toString()};Sys.Serialization.JavaScriptSerializer.deserialize=function(data){if(data.length===0)throw Error.argument("data",Sys.Res.cannotDeserializeEmptyString);try{var exp=data.replace(new RegExp('(^|[^\\\\])\\"\\\\/Date\\((-?[0-9]+)\\)\\\\/\\"',"g"),"$1new Date($2)");return eval("("+exp+")")}catch(a){throw Error.argument("data",Sys.Res.cannotDeserializeInvalidJson)}};Sys.CultureInfo=function(c,b,a){this.name=c;this.numberFormat=b;this.dateTimeFormat=a};Sys.CultureInfo.prototype={_getDateTimeFormats:function(){if(!this._dateTimeFormats){var a=this.dateTimeFormat;this._dateTimeFormats=[a.MonthDayPattern,a.YearMonthPattern,a.ShortDatePattern,a.ShortTimePattern,a.LongDatePattern,a.LongTimePattern,a.FullDateTimePattern,a.RFC1123Pattern,a.SortableDateTimePattern,a.UniversalSortableDateTimePattern]}return this._dateTimeFormats},_getMonthIndex:function(a){if(!this._upperMonths)this._upperMonths=this._toUpperArray(this.dateTimeFormat.MonthNames);return Array.indexOf(this._upperMonths,this._toUpper(a))},_getAbbrMonthIndex:function(a){if(!this._upperAbbrMonths)this._upperAbbrMonths=this._toUpperArray(this.dateTimeFormat.AbbreviatedMonthNames);return Array.indexOf(this._upperMonths,this._toUpper(a))},_getDayIndex:function(a){if(!this._upperDays)this._upperDays=this._toUpperArray(this.dateTimeFormat.DayNames);return Array.indexOf(this._upperDays,this._toUpper(a))},_getAbbrDayIndex:function(a){if(!this._upperAbbrDays)this._upperAbbrDays=this._toUpperArray(this.dateTimeFormat.AbbreviatedDayNames);return Array.indexOf(this._upperAbbrDays,this._toUpper(a))},_toUpperArray:function(c){var b=[];for(var a=0,d=c.length;a=0)d.className=(a.substr(0,b)+" "+a.substring(b+c.length+1,a.length)).trim()};Sys.UI.DomElement.setLocation=function(b,c,d){var a=b.style;a.position="absolute";a.left=c+"px";a.top=d+"px"};Sys.UI.DomElement.toggleCssClass=function(b,a){if(Sys.UI.DomElement.containsCssClass(b,a))Sys.UI.DomElement.removeCssClass(b,a);else Sys.UI.DomElement.addCssClass(b,a)};Sys.UI.DomElement._getCurrentStyle=function(a){var b=(a.ownerDocument?a.ownerDocument:a.documentElement).defaultView;return b&&a!==b&&b.getComputedStyle?b.getComputedStyle(a,null):a.style};Sys.UI.Behavior=function(b){Sys.UI.Behavior.initializeBase(this);this._element=b;var a=b._behaviors;if(!a)b._behaviors=[this];else a[a.length]=this};Sys.UI.Behavior.prototype={_name:null,get_element:function(){return this._element},get_id:function(){var a=Sys.UI.Behavior.callBaseMethod(this,"get_id");if(a)return a;if(!this._element||!this._element.id)return "";return this._element.id+"$"+this.get_name()},get_name:function(){if(this._name)return this._name;var a=Object.getTypeName(this),b=a.lastIndexOf(".");if(b!=-1)a=a.substr(b+1);if(!this.get_isInitialized())this._name=a;return a},set_name:function(a){this._name=a},initialize:function(){Sys.UI.Behavior.callBaseMethod(this,"initialize");var a=this.get_name();if(a)this._element[a]=this},dispose:function(){Sys.UI.Behavior.callBaseMethod(this,"dispose");if(this._element){var a=this.get_name();if(a)this._element[a]=null;Array.remove(this._element._behaviors,this);delete this._element}}};Sys.UI.Behavior.registerClass("Sys.UI.Behavior",Sys.Component);Sys.UI.Behavior.getBehaviorByName=function(b,c){var a=b[c];return a&&Sys.UI.Behavior.isInstanceOfType(a)?a:null};Sys.UI.Behavior.getBehaviors=function(a){if(!a._behaviors)return [];return Array.clone(a._behaviors)};Sys.UI.Behavior.getBehaviorsByType=function(d,e){var a=d._behaviors,c=[];if(a)for(var b=0,f=a.length;b http://www.museumwoubrugge.nl/wordpress/wp-content/plugins/wp-media-player/scripts/silverlight.js?ver=5.2.2  if(!window.Silverlight) {window.Silverlight={};} Silverlight._silverlightCount=0;Silverlight.__onSilverlightInstalledCalled=false;Silverlight.fwlinkRoot='http://go2.microsoft.com/fwlink/?LinkID=';Silverlight.__installationEventFired=false;Silverlight.onGetSilverlight=null;Silverlight.onSilverlightInstalled=function(){window.location.reload(false);};Silverlight.isInstalled=function(version) {if(version==undefined) version=null;var isVersionSupported=false;var container=null;try {var control=null;var tryNS=false;if(window.ActiveXObject) {try {control=new ActiveXObject('AgControl.AgControl');if(version===null) {isVersionSupported=true;} else if(control.IsVersionSupported(version)) {isVersionSupported=true;} control=null;} catch(e) {tryNS=true;}} else {tryNS=true;} if(tryNS) {var plugin=navigator.plugins["Silverlight Plug-In"];if(plugin) {if(version===null) {isVersionSupported=true;} else {var actualVer=plugin.description;if(actualVer==="1.0.30226.2") actualVer="2.0.30226.2";var actualVerArray=actualVer.split(".");while(actualVerArray.length>3) {actualVerArray.pop();} while(actualVerArray.length<4) {actualVerArray.push(0);} var reqVerArray=version.split(".");while(reqVerArray.length>4) {reqVerArray.pop();} var requiredVersionPart;var actualVersionPart;var index=0;do {requiredVersionPart=parseInt(reqVerArray[index]);actualVersionPart=parseInt(actualVerArray[index]);index++;} while(index');delete slProperties.id;delete slProperties.width;delete slProperties.height;for(var name in slProperties) {if(slProperties[name]) {htmlBuilder.push('');}} htmlBuilder.push('<\/object>');return htmlBuilder.join('');};Silverlight.createObjectEx=function(params) {var parameters=params;var html=Silverlight.createObject(parameters.source,parameters.parentElement,parameters.id,parameters.properties,parameters.events,parameters.initParams,parameters.context);if(parameters.parentElement==null) {return html;}};Silverlight.buildPromptHTML=function(slPluginHelper) {var slPluginHTML="";var urlRoot=Silverlight.fwlinkRoot;var version=slPluginHelper.version;if(slPluginHelper.alt) {slPluginHTML=slPluginHelper.alt;} else {if(!version) {version="";} slPluginHTML="Get Microsoft Silverlight";slPluginHTML=slPluginHTML.replace('{1}',version);slPluginHTML=slPluginHTML.replace('{2}',urlRoot+'108181');} return slPluginHTML;};Silverlight.getSilverlight=function(version) {if(Silverlight.onGetSilverlight) {Silverlight.onGetSilverlight();} var shortVer="";var reqVerArray=String(version).split(".");if(reqVerArray.length>1) {var majorNum=parseInt(reqVerArray[0]);if(isNaN(majorNum)||majorNum<2) {shortVer="1.0";} else {shortVer=reqVerArray[0]+'.'+reqVerArray[1];}} var verArg="";if(shortVer.match(/^\d+\056\d+$/)) {verArg="&v="+shortVer;} Silverlight.followFWLink("114576"+verArg);};Silverlight.followFWLink=function(linkid) {top.location=Silverlight.fwlinkRoot+String(linkid);};Silverlight.HtmlAttributeEncode=function(strInput) {var c;var retVal='';if(strInput==null) {return null;} for(var cnt=0;cnt96)&&(c<123))||((c>64)&&(c<91))||((c>43)&&(c<58)&&(c!=47))||(c==95)) {retVal=retVal+String.fromCharCode(c);} else {retVal=retVal+'&#'+c+';';}} return retVal;};Silverlight.default_error_handler=function(sender,args) {var iErrorCode;var errorType=args.ErrorType;iErrorCode=args.ErrorCode;var errMsg="\nSilverlight error message \n";errMsg+="ErrorCode: "+iErrorCode+"\n";errMsg+="ErrorType: "+errorType+" \n";errMsg+="Message: "+args.ErrorMessage+" \n";if(errorType=="ParserError") {errMsg+="XamlFile: "+args.xamlFile+" \n";errMsg+="Line: "+args.lineNumber+" \n";errMsg+="Position: "+args.charPosition+" \n";} else if(errorType=="RuntimeError") {if(args.lineNumber!=0) {errMsg+="Line: "+args.lineNumber+" \n";errMsg+="Position: "+args.charPosition+" \n";} errMsg+="MethodName: "+args.methodName+" \n";} alert(errMsg);};Silverlight.__cleanup=function() {for(var i=Silverlight._silverlightCount-1;i>=0;i--){window['__slEvent'+i]=null;} Silverlight._silverlightCount=0;if(window.removeEventListener){window.removeEventListener('unload',Silverlight.__cleanup,false);} else{window.detachEvent('onunload',Silverlight.__cleanup);}};Silverlight.__getHandlerName=function(handler) {var handlerName="";if(typeof handler=="string") {handlerName=handler;} else if(typeof handler=="function") {if(Silverlight._silverlightCount==0) {if(window.addEventListener) {window.addEventListener('onunload',Silverlight.__cleanup,false);} else {window.attachEvent('onunload',Silverlight.__cleanup);}} var count=Silverlight._silverlightCount++;handlerName="__slEvent"+count;window[handlerName]=handler;} else {handlerName=null;} return handlerName;};Silverlight.onRequiredVersionAvailable=function() {};Silverlight.onRestartRequired=function() {};Silverlight.onUpgradeRequired=function() {};Silverlight.onInstallRequired=function() {};Silverlight.IsVersionAvailableOnError=function(sender,args) {var retVal=false;try {if(args.ErrorCode==8001&&!Silverlight.__installationEventFired) {Silverlight.onUpgradeRequired();Silverlight.__installationEventFired=true;} else if(args.ErrorCode==8002&&!Silverlight.__installationEventFired) {Silverlight.onRestartRequired();Silverlight.__installationEventFired=true;} else if(args.ErrorCode==5014||args.ErrorCode==2106) {if(Silverlight.__verifySilverlight2UpgradeSuccess(args.getHost())) {retVal=true;}} else {retVal=true;}} catch(e) {} return retVal;};Silverlight.IsVersionAvailableOnLoad=function(sender) {var retVal=false;try {if(Silverlight.__verifySilverlight2UpgradeSuccess(sender.getHost())) {retVal=true;}} catch(e) {} return retVal;};Silverlight.__verifySilverlight2UpgradeSuccess=function(host) {var retVal=false;var version="2.0.31005";var installationEvent=null;try {if(host.IsVersionSupported(version+".99")) {installationEvent=Silverlight.onRequiredVersionAvailable;retVal=true;} else if(host.IsVersionSupported(version+".0")) {installationEvent=Silverlight.onRestartRequired;} else {installationEvent=Silverlight.onUpgradeRequired;} if(installationEvent&&!Silverlight.__installationEventFired) {installationEvent();Silverlight.__installationEventFired=true;}} catch(e) {} return retVal;}; // source --> http://www.museumwoubrugge.nl/wordpress/wp-content/plugins/wp-media-player/scripts/silverlightcontrol.js?ver=5.2.2 //---------------------------------------------------------- // Copyright (C) Microsoft Corporation. All rights reserved. //---------------------------------------------------------- // SilverlightControl.js Type.registerNamespace("Sys.UI.Silverlight");Sys.UI.Silverlight.Control=function(a){Sys.UI.Silverlight.Control.initializeBase(this,[this._findObject(a)||a]);this._scaleMode=Sys.UI.Silverlight.ScaleMode.none};Sys.UI.Silverlight.Control.prototype={_source:null,_loaded:false,_boundEvents:null,_setOnLoad:false,_setOnFullScreenChange:false,_setOnResize:false,_setOnError:false,add_pluginError:function(a){this.get_events().addHandler("pluginError",a)},remove_pluginError:function(a){this.get_events().removeHandler("pluginError",a)},add_pluginFullScreenChanged:function(a){this.get_events().addHandler("pluginFullScreenChanged",a)},remove_pluginFullScreenChanged:function(a){this.get_events().removeHandler("pluginFullScreenChanged",a)},add_pluginLoaded:function(a){this.get_events().addHandler("pluginLoaded",a)},remove_pluginLoaded:function(a){this.get_events().removeHandler("pluginLoaded",a)},add_pluginResized:function(a){this.get_events().addHandler("pluginResized",a)},remove_pluginResized:function(a){this.get_events().removeHandler("pluginResized",a)},get_scaleMode:function(){return this._scaleMode},set_scaleMode:function(a){if(a!==this.get_scaleMode()){this._scaleMode=a;if(this._loaded)this._ensureTransform()}},get_source:function(){return this._source||""},set_source:function(a){this._source=a;if(a&&this._setOnLoad)this.get_element().Source=a},addEventListener:function(b,a,e){var d=b.addEventListener(a,e),c=this._getEventsForElement(b,true);c[c.length]={eventName:a,token:d};return d},dispose:function(){if(this._loaded){this.pluginDispose();this._loaded=false}var a=this.get_element();if(a){if(this._setOnLoad)a.OnLoad=null;if(this._setOnError)a.OnError=null;if(this._setOnFullScreenChange)a.content.OnFullScreenChange=null;if(this._setOnResize)a.content.OnResize=null}var b=this._boundEvents;if(b){for(var c=0,i=b.length;c');var c={horizontal:a.Matrix.M11,vertical:a.Matrix.M22};a.Matrix.M11=f;a.Matrix.M22=g;a.Matrix.OffsetX=d;a.Matrix.OffsetY=e;return c};Sys.UI.Silverlight.Control.createObject=function(a,b){document.getElementById(a).innerHTML=b};Sys.UI.Silverlight.Control.registerClass("Sys.UI.Silverlight.Control",Sys.UI.Control);Sys.UI.Silverlight.ErrorEventArgs=function(a){this._error=a;Sys.UI.Silverlight.ErrorEventArgs.initializeBase(this)};Sys.UI.Silverlight.ErrorEventArgs.prototype={get_error:function(){return this._error}};Sys.UI.Silverlight.ErrorEventArgs.registerClass("Sys.UI.Silverlight.ErrorEventArgs",Sys.CancelEventArgs);Sys.UI.Silverlight.ScaleMode=function(){throw Error.notImplemented()};Sys.UI.Silverlight.ScaleMode.prototype={none:0,zoom:1,stretch:2};Sys.UI.Silverlight.ScaleMode.registerEnum("Sys.UI.Silverlight.ScaleMode"); // source --> http://www.museumwoubrugge.nl/wordpress/wp-content/plugins/wp-media-player/scripts/silverlightmedia.js?ver=5.2.2 Type.registerNamespace("Sys.UI.Silverlight");Sys.UI.Silverlight._DomElement=function(a,b){this._element=a;this._visible=!!b;this._bindAutoAnimations(a,a.Name)};Sys.UI.Silverlight._DomElement.prototype={_events:null,_animations:null,_enabled:true,_mouseOver:false,get_element:function(){return this._element},get_enabled:function(){return this._enabled},set_enabled:function(a){if(a!==this.get_enabled()){this._enabled=a;this._play(a?"enable":"disable");if(!a&&this._mouseOver){this._play("leave");this._mouseOver=false}}},get_visible:function(){return this._visible},set_visible:function(a){if(a!==this.get_visible()){this._visible=a;if(!this._play(a?"show":"hide"))this.get_element().visibility=a?0:1}},_bindAutoAnimations:function(b,a){this._animations={"show":b.findName(a+"_Show"),"hide":b.findName(a+"_Hide"),"enable":b.findName(a+"_Enable"),"disable":b.findName(a+"_Disable"),"leave":b.findName(a+"_MouseLeave")};if(this._animations["leave"]){this.bindEvent("mouseEnter",a+"_MouseEnter",this._onEnter);this.bindEvent("mouseLeave",a+"_MouseLeave",this._onLeave)}},bindEvent:function(d,c,a,g){var e=this.get_element(),b=null;if(c)b=e.findName(c);if(!b&&!a)return;if(a)a=Function.createDelegate(g||this,a);var f=this._createEventHandler(b,a),h=e.addEventListener(d,f);if(!this._events)this._events=[];this._events[this._events.length]={eventName:d,token:h,handler:f}},_createEventHandler:function(a,b){return Function.createDelegate(this,function(c,d){if(!this.get_enabled())return;if(b&&!b(c,d))return;if(a)a.begin()})},dispose:function(){if(this._events){var c=this.get_element();for(var a=0,d=this._events.length;a=a.height;var c=a.findName(d);Sys.UI.Silverlight._Slider.initializeBase(this,[a,f]);this._changedHandler=b?Function.createDelegate(b,e):null;a.cursor="Hand";c.cursor="Hand";this._thumb=new Sys.UI.Silverlight._DomElement(c,true);this._thumb.bindEvent("mouseLeftButtonDown",null,this._thumbDown,this);this._thumb.bindEvent("mouseLeftButtonUp",null,this._thumbUp,this);this._thumb.bindEvent("mouseMove",null,this._thumbMove,this);this.bindEvent("mouseLeftButtonDown",null,this._sliderDown);var g=a.getHost().content.root;this._rootToken=g.addEventListener("mouseLeave",Function.createDelegate(this,this._thumbUp))};Sys.UI.Silverlight._Slider.prototype={_readOnly:false,_dragging:false,_last:null,set_enabled:function(a){if(this.get_enabled()!==a){Sys.UI.Silverlight._Slider.callBaseMethod(this,"set_enabled",[a]);if(!a)this.set_value(0);this.get_element().cursor=a?"Hand":"Default";if(this._highlight)this._highlight.set_visible(a);this._thumb.set_visible(a);this._thumb.get_element().cursor=a?"Hand":"Default"}},get_readOnly:function(){return this._readOnly},set_readOnly:function(a){if(a!==this._readOnly){this._readOnly=a;this._stopDragging()}},get_value:function(){var a,c=this._thumb.get_element(),b=this.get_element();if(this._horizontal)a=(c["Canvas.Left"]-b["Canvas.Left"])/(b.width-c.width);else{a=c["Canvas.Top"]-b["Canvas.Top"];a=1-a/(b.height-c.height)} a=Math.round(a*1000)/1000;return Math.min(1,Math.max(0,a))},set_value:function(a){this._last=null;if(!this._dragging){a=Math.max(0,Math.min(1,a));this._setThumbPosition(a)}},_bindAutoAnimations:function(b,c){Sys.UI.Silverlight._Slider.callBaseMethod(this,"_bindAutoAnimations",[b,c]);var a=b.findName(c+"_Highlight");if(a){a[this._horizontal?"width":"height"]=0;this._highlight=new Sys.UI.Silverlight._DomElement(a,true)}else this._highlight=null},_detectChanged:function(a){if(a!==this._last&&this._changedHandler){this._last=a;this._changedHandler(this)}},dispose:function(){if(this._thumb){this._thumb.dispose();this._thumb=null} if(this._highlight){this._highlight.dispose();this._highlight=null} if(this._rootToken!==null){this.get_element().getHost().content.root.removeEventListener("mouseLeave",this._rootToken);this._rootToken=null} Sys.UI.Silverlight._Slider.callBaseMethod(this,"dispose")},_setThumbPosition:function(e){var b=this._toLocation(e),a=this._thumb.get_element(),d=this.get_element(),c=this._highlight?this._highlight.get_element():null;if(this._horizontal){a["Canvas.Left"]=b+d["Canvas.Left"]-a.width/2;if(c)c.width=b}else{a["Canvas.Top"]=b+d["Canvas.Top"]-a.height/2;if(c){c["Canvas.Top"]=d["Canvas.Top"]+b;c.height=d.height-b+a.height/2}}},_sliderDown:function(c,b){if(this._readOnly)return false;var a=this._toValue(b.getPosition(c));this._setThumbPosition(a);this._detectChanged(a);this._startDragging();return true},_startDragging:function(){this._dragging=true;this._thumb.get_element().CaptureMouse()},_stopDragging:function(){if(this._dragging){this._thumb.get_element().ReleaseMouseCapture();this._dragging=false}},_thumbDown:function(){if(this._readOnly)return false;this._startDragging();return true},_thumbUp:function(){if(this._readOnly)return false;if(this._dragging)this._detectChanged(this.get_value());this._stopDragging();return true},_thumbMove:function(b,a){if(this._dragging)this._setThumbPosition(this._toValue(a.getPosition(this.get_element())));return true},_toLocation:function(c){c=Math.min(1,Math.max(0,c));var b=this._thumb.get_element(),d=this.get_element(),a;if(this._horizontal){a=d.width-b.width;return b.width/2+c*a}else{a=d.height-b.height;return b.height/2+(1-c)*a}},_toValue:function(d){var a,b=this._thumb.get_element(),c=this.get_element();if(this._horizontal)a=(d.X-b.width/2)/(c.width-b.width);else{a=(d.Y-b.height/2)/(c.height-b.height);a=1-a} a=Math.round(a*1000)/1000;return Math.min(1,Math.max(0,a))}};Sys.UI.Silverlight._Slider.registerClass("Sys.UI.Silverlight._Slider",Sys.UI.Silverlight._DomElement);Sys.UI.Silverlight._TextBlock=function(b,a,c){Sys.UI.Silverlight._TextBlock.initializeBase(this,[b,c]);if(a){this._bg=new Sys.UI.Silverlight._DomElement(a,c);this._centerX=a["Canvas.Left"]+a.width/2;this._bottomY=a["Canvas.Top"]+a.height}else{this._bg=null;this._centerX=b["Canvas.Left"]+b.ActualWidth/2;this._bottomY=b["Canvas.Top"]+b.ActualHeight}};Sys.UI.Silverlight._TextBlock.prototype={get_text:function(){return this.get_element().Text||""},set_text:function(c){var b=this.get_element();b.Text=c||"";this.set_visible(!!c);var a=this._bg?this._bg.get_element():b;a.width=b.ActualWidth;a.height=b.ActualHeight;a["Canvas.Left"]=this._centerX-a.width/2;a["Canvas.Top"]=this._bottomY-a.height},set_visible:function(a){Sys.UI.Silverlight._TextBlock.callBaseMethod(this,"set_visible",[a]);if(this._bg)this._bg.set_visible(a)},dispose:function(){Sys.UI.Silverlight._TextBlock.callBaseMethod(this,"dispose");if(this._bg)this._bg.dispose()}};Sys.UI.Silverlight._TextBlock.registerClass("Sys.UI.Silverlight._TextBlock",Sys.UI.Silverlight._DomElement);Sys.UI.Silverlight._ProgressBar=function(a,b,c){Sys.UI.Silverlight._ProgressBar.initializeBase(this,[a,c]);this._fullWidth=a.width;a.width=0;if(b){this._text=new Sys.UI.Silverlight._TextBlock(b,null,c);this._text.set_text("")}else this._text=null};Sys.UI.Silverlight._ProgressBar.prototype={get_value:function(){var a=this._fullWidth!==0?this.get_element().width/this._fullWidth:0;return Math.round(a*1000)/1000},set_value:function(a){this.get_element().width=this._fullWidth*a;if(this._text)this._text.set_text(""+Math.floor(a*100))},set_visible:function(a){Sys.UI.Silverlight._ProgressBar.callBaseMethod(this,"set_visible",[a]);if(this._text)this._text.set_visible(a)},dispose:function(){Sys.UI.Silverlight._ProgressBar.callBaseMethod(this,"dispose");if(this._text)this._text.dispose()}};Sys.UI.Silverlight._ProgressBar.registerClass("Sys.UI.Silverlight._ProgressBar",Sys.UI.Silverlight._DomElement);Sys.UI.Silverlight._ImageList=function(a,b,c,d,e){this._horizontal=a&&a.width>=a.height;this._reference=this._horizontal?"Canvas.Left":"Canvas.Top";Sys.UI.Silverlight._ImageList.initializeBase(this,[a,c]);this._toggle=b?new Sys.UI.Silverlight._Button(b,c,0,this._onToggle,null,this):null;this._itemClickDelegate=Function.createDelegate(e,d);this._virtualItems=[];this._imageItems=[]};Sys.UI.Silverlight._ImageList.prototype={_next:null,_previous:null,_scrollAnimation:null,_scrollStoryboard:null,_itemSize:0,_itemSpacing:0,_canActivate:true,_active:false,_scrollOffset:0,_overflowIndex:0,get_active:function(){return this._active},set_active:function(a){if(a!==this.get_active()){this._active=a;this.get_element().visibility=a?0:1;if(this._toggle)this._toggle.set_visible(a);if(a){if(!this._toggle)this.get_element().IsHitTestVisible=true}else this.set_visible(false)}},get_canActivate:function(){return this._canActivate},set_canActivate:function(a){if(a!==this.get_canActivate()){this._canActivate=a;this._ensureActivation()}},get_items:function(){return this._virtualItems},set_items:function(a){this._virtualItems=a||[];this._imageItems=[];if(a)for(var b=0,c=a.length;b0){var b=this._items[0].button.get_element();this._itemSize=this._horizontal?b.width:b.height;this._itemSpacing=b[this._reference]*2}},dispose:function(){if(this._next)this._next.dispose();if(this._previous)this._previous.dispose();if(this._toggle)this._toggle.dispose();for(var b=0,c=this._items.length;b=this._items.length)this._overflowIndex=0},_itemClick:function(b){var a=b._imageIndex;if(a!==null)this._itemClickDelegate(this._imageItems[a])},_onToggle:function(){this.set_visible(!this.get_visible())},_reset:function(){var c=this._scrollOffset;this._scrollOffset=0;for(var a=0,d=this._items.length;a0)this._scroll(-1)}};Sys.UI.Silverlight._ImageList.registerClass("Sys.UI.Silverlight._ImageList",Sys.UI.Silverlight._DomElement);Sys.UI.Silverlight.MarkerEventArgs=function(a){this._marker=a;Sys.UI.Silverlight.MarkerEventArgs.initializeBase(this)};Sys.UI.Silverlight.MarkerEventArgs.prototype={get_marker:function(){return this._marker||null}};Sys.UI.Silverlight.MarkerEventArgs.registerClass("Sys.UI.Silverlight.MarkerEventArgs",Sys.EventArgs);Sys.UI.Silverlight.MediaChapterEventArgs=function(a){this._chapter=a;Sys.UI.Silverlight.MediaChapterEventArgs.initializeBase(this)};Sys.UI.Silverlight.MediaChapterEventArgs.prototype={get_chapter:function(){return this._chapter||null}};Sys.UI.Silverlight.MediaChapterEventArgs.registerClass("Sys.UI.Silverlight.MediaChapterEventArgs",Sys.CancelEventArgs);Sys.UI.Silverlight.MediaChapter=function(c,b,a){this._title=c;this._position=b;this._thumbnailSource=a;Sys.UI.Silverlight.MediaChapter.initializeBase(this)};Sys.UI.Silverlight.MediaChapter.prototype={get_position:function(){return this._position},get_thumbnailSource:function(){return this._thumbnailSource||""},get_title:function(){return this._title||""}};Sys.UI.Silverlight.MediaChapter._createChapters=function(){var b=[];for(var a=0,c=arguments.length;a=this._timeline.length?Infinity:this._timeline[this._chapterStarted+1];if(ac)this._ensureChapterStarted(false,a)},_enableBuffering:function(b){var a=b!==null&&b<100;if(a)this._setProperties("text",["BufferingText"],Math.floor(b).toString());this._setProperties("visible",["BufferingText","BufferingArea"],a);var c=this._bufferingStoryboard;if(!c)return;if(!a){c.stop();this._bufferPlaying=false}else if(!this._bufferPlaying){c.begin();this._bufferPlaying=true}},_ensureCaption:function(){var b=this._toggledCaptions&&this.get_enableCaptions(),a=b?this.get_caption():"";this._setProperties("text",["CaptionText","FullScreenCaptionText"],a);if(a)this._setProperties("visible",["CaptionToggleButton"],true)},_ensureChapterStarted:function(c,b){if(!this._me)return;if(!b)b=this.get_position();var a=this._canSeek?this._getChapterAt(b):-1;if(c&&(a!==-1||a!==this._chapterStarted)||a!==this._chapterStarted)this._raiseChapterStarted(a)},_ensureLoaded:function(){if(!this._loaded)throw Error.invalidOperation(Sys.UI.Silverlight.MediaRes.silverlightNotLoaded)},_ensureMedia:function(){var b=this._mediaAvailable,a=this._duration>0,c=a&&this._canSeek,f=this.get_autoPlay()||this.get_autoLoad(),e=!!this.get_mediaSource(),h=!this._children["StartButton"]&&!f&&e;this._setProperties("canActivate",["ChapterArea"],c);this._setProperties("readOnly",["TimeSlider"],!c);this._setProperties("enabled",["TimeSlider"],a);this._setProperties("visible",["TotalTimeText","CurrentTimeText"],a);this._setProperties("enabled",["PreviousButton","NextButton"],c);this._setProperties("enabled",["PauseButton","StopButton"],b);this._setProperties("enabled",["PlayPauseButton","PlayButton"],b||h);var d=this._children["StartButton"];if(d){var g=!b&&!f&&e;d.set_visible(g);d.get_element().IsHitTestVisible=g} if(a){this._setProperties("text",["TotalTimeText"],this._formatTime(this._duration));} this._loadWatermark();},_ensurePosition:function(a){if(this._duration){a=a||this.get_position();this._setProperties("text",["CurrentTimeText"],this._formatTime(a));this._setProperties("value",["TimeSlider"],a/this._duration)}},_formatTime:function(e){var a=Math.floor(e/60/60),b=Math.floor(e/60)-a*60,c=Math.floor(e)-b*60-a*60*60,d="";if(a){a="0"+a;d=a.substr(a.length-2,2)+":"} b="0"+b;d+=b.substr(b.length-2,2)+":";c="0"+c;d+=c.substr(c.length-2,2);return d},_getChapterAt:function(b){for(var a=0,c=this._timeline.length;a<=c;a++)if(a===this._timeline.length||this._timeline[a]-.001>b)return a-1},_loadPlaceholder:function(){var b=this.get_placeholderSource(),a=this._children["PlaceholderImage"];if(a&&b){a.get_element().source=b;a.set_visible(true)}},_loadWatermark:function(){var b=this.get_watermarkSource(),a=this._children["WatermarkImage"],c=this._children["VideoWindow"],d=this._children["FullScreenWatermarkImage"],e=this._children["FullScreenArea"];if(a&&b&&b!==""&&c&&d&&e){a.get_element().source=d.get_element().source=b;a.get_element().opacity=d.get_element().opacity=this.get_watermarkOpacity();this._setWatermarkLocation(c,a,this.get_watermarkPosition());this._setWatermarkLocation(e,d,this.get_watermarkPosition());}},_setWatermarkLocation:function(a,b,p){var c=a.get_element(),d=b.get_element(),offset=10;if(d.ActualWidth==0||d.ActualHeight==0)return;switch(p){case 1:{d["Canvas.Left"]=c["Canvas.Left"]+offset;d["Canvas.Top"]=c["Canvas.Top"]+offset;break;} case 2:{d["Canvas.Left"]=c["Canvas.Left"]+c.width-d.ActualWidth-offset;d["Canvas.Top"]=c["Canvas.Top"]+offset;break;} case 3:{d["Canvas.Left"]=c["Canvas.Left"]+offset;d["Canvas.Top"]=c["Canvas.Top"]+c.height-d.ActualHeight-offset;break;} default:{d["Canvas.Left"]=c["Canvas.Left"]+c.width-d.ActualWidth-offset;d["Canvas.Top"]=c["Canvas.Top"]+c.height-d.ActualHeight-offset;break;}}},_meBufferingProgress:function(){if(!this._me)return;var a=Math.round(this._me.bufferingProgress*100);this._enableBuffering(a)},_mediaQueued:function(){return!this.get_autoPlay()&&!this.get_autoLoad()&&!this._me.source&&this.get_mediaSource()},_meDoubleClick:function(){if(!this._me)return;this._onTogglePlayPause();this._onToggleFullScreen()},_meDownloadProgress:function(){if(!this._me)return;this._enableBuffering(null);this._setProperties("value",["DownloadProgressSlider"],this._me.downloadProgress)},_meMarker:function(f,d){if(!this._me)return;var a=d.marker;if(this._toggledCaptions&&this.get_enableCaptions()){var e=a.type?a.type.toLowerCase():"";if(e==="caption"){var b=a.text?a.text:"";if(b.trim().length===0)b="";this.set_caption(b);this.raisePropertyChanged("caption")}} var c=new Sys.UI.Silverlight.MarkerEventArgs(a);this.onMarkerReached(c);this._raiseEvent("markerReached",c)},_meEnded:function(){if(!this._me)return;this._mediaEnded=true;this._forcePlay=false;this.onMediaEnded(Sys.EventArgs.Empty);this._raiseEvent("mediaEnded")},_meFailed:function(c,b){if(!this._me)return;this._mediaAvailable=false;this._mediaEnded=false;this._canSeek=false;this._forcePlay=false;this._duration=0;this._ensureMedia();this._enableBuffering(null);this.set_caption("");var a=new Sys.UI.Silverlight.ErrorEventArgs(b);this.onMediaFailed(a);this._raiseEvent("mediaFailed",a)},_meOpened:function(){if(!this._me)return;this._mediaEnded=false;this._mediaAvailable=true;this._canSeek=this._me.canSeek;this._duration=this._me.naturalDuration.seconds;this._me.volume=this.get_volume();this._setProperties("visible",["PlaceholderImage"],false);this.set_caption("");this._ensurePosition();this._ensureMedia();if(!this._timerCookie){this._tickTimerDelegate=Function.createDelegate(this,this._tickTimer);this._timerCookie=window.setTimeout(this._tickTimerDelegate,200)} this.onMediaOpened(Sys.EventArgs.Empty);this._raiseEvent("mediaOpened");if(this._forcePlay){this._forcePlay=false;this._me.play()}},_meState:function(){if(!this._me)return;var a=this._me.currentState;if(a==="Stopped"&&this._forcePlayOnStop){this._forcePlayOnStop=false;this._me.play()} if(a===this._oldState)return;this._oldState=a;if(a==="Closed"){this._enableBuffering(null);this._mediaAvailable=false;this._canSeek=false;this._forcePlay=false;this._duration=0;this._mediaEnded=false;this._ensureMedia();this.set_caption("")}else if(a==="Playing"||a==="Paused")this._enableBuffering(null);this._setProperties("state",["PlayPauseButton"],a==="Playing"?1:0);this.onCurrentStateChanged(Sys.EventArgs.Empty);this._raiseEvent("currentStateChanged")},_onCaptionToggle:function(){this._toggledCaptions=!this._toggledCaptions;this._ensureCaption();this._setProperties("state",["CaptionToggleButton"],this._toggledCaptions?0:1)},_onChapterClick:function(d){var b=this.get_chapters();if(d=0){var e=this._timeline[this._chapterStarted],f=this.get_position();if(f-e>1)a=this._chapterStarted;else a=this._chapterStarted-1} var c=a===-1?null:b[a],d=new Sys.UI.Silverlight.MediaChapterEventArgs(c);this.onChapterSelected(d);this._raiseEvent("chapterSelected",d);if(!d.get_cancel())if(c)this.set_currentChapter(c);else this.set_position(0)}},_onStop:function(){this.stop()},_onToggleFullScreen:function(){var a=this.get_element().content;a.FullScreen=!a.FullScreen},_onTogglePlayPause:function(){this.get_currentState()==="Playing"?this.pause():this.play()},_onTimeChanged:function(a){this.set_position(a.get_value()*this._duration)},onVolumeChanged:function(){},_onVolumeChanged:function(a){this.set_volume(a.get_value())},_onVolumeDown:function(){this.set_volume(Math.max(0,this.get_volume()-.02))},_onVolumeUp:function(){this.set_volume(Math.min(1,this.get_volume()+.02))},pause:function(){this._ensureLoaded();this._me.pause()},play:function(){this._ensureLoaded();if(this._mediaQueued()){this._forcePlay=true;this._me.source=this.get_mediaSource();var a=this._children["StartButton"];if(a){a.set_visible(false);a.get_element().IsHitTestVisible=false}}else if(this._mediaEnded){this._mediaEnded=false;this.set_caption("");this._forcePlayOnStop=true;this._me.stop()}else this._me.play()},pluginDispose:function(){if(this._timerCookie){window.clearTimeout(this._timerCookie);this._timerCookie=null} for(var a in this._children)this._children[a].dispose();if(this._me){this._me.stop();this._me=null} if(this._bufferingStoryboard){this._bufferingStoryboard.stop();this._bufferingStoryboard=null} Sys.UI.Silverlight.MediaPlayer.callBaseMethod(this,"pluginDispose")},_raiseChapterStarted:function(a){this._chapterStarted=a;var c=a===-1?null:this.get_chapters()[a],b=new Sys.UI.Silverlight.MediaChapterEventArgs(c);this.onChapterStarted(b);this._raiseEvent("chapterStarted",b)},_raisepluginLoaded:function(){Sys.UI.Silverlight.MediaPlayer.callBaseMethod(this,"_raisepluginLoaded");this._bindAllControls();var a=this._me;this._loadPlaceholder();a.autoPlay=this.get_autoPlay();a.isMuted=this.get_muted();this._setProperties("state",["MuteButton"],this.get_muted()?1:0);a.volume=this.get_volume();this._setProperties("value",["VolumeSlider"],this.get_volume());this._setProperties("items",["ChapterArea"],this.get_chapters());this._ensureCaption();if(this.get_mediaSource()&&(this.get_autoPlay()||this.get_autoLoad()))a.source=this.get_mediaSource();else this._ensureMedia()},_setProperties:function(e,b,d){for(var a=0,f=b.length;a http://www.museumwoubrugge.nl/wordpress/wp-content/plugins/wp-media-player/scripts/expressionplayer.js?ver=5.2.2  Type.registerNamespace('ExpressionPlayer');ExpressionPlayer.UrlParam={startTime:"startTime",chapter:"chapter",loopCount:"loopCount",mediaSource:"mediaSource",volume:"volume",muted:"muted",duration:"duration",autoplay:"autoplay",autoload:"autoload",wmSource:"wmSource",wmOpacity:"wmOpacity",wpPosition:"wmPosition",mediainfo:"mediainfo",fakeoutput:"fakeoutput"};ExpressionPlayer.Player=function(domElement){ExpressionPlayer.Player.initializeBase(this,[domElement]);} ExpressionPlayer.Player.prototype={_fInitialized:false,_fakeOutput:"",_startButton:null,initialize:function(){ExpressionPlayer.Player.callBaseMethod(this,'initialize');var content=this.get_element().content;this.set_autoPlay($getArgument(ExpressionPlayer.UrlParam.autoplay,this.get_autoPlay().toString())==="true");this.set_autoLoad($getArgument(ExpressionPlayer.UrlParam.autoload,this.get_autoLoad().toString())==="true");this.set_watermarkSource($getArgument(ExpressionPlayer.UrlParam.wmSource,this.get_watermarkSource()));this.set_watermarkOpacity($getArgument(ExpressionPlayer.UrlParam.wmOpacity,this.get_watermarkOpacity()));this.set_watermarkPosition($getArgument(ExpressionPlayer.UrlParam.wpPosition,this.get_watermarkPosition()));this.set_mediaSource($getArgument(ExpressionPlayer.UrlParam.mediaSource,this.get_mediaSource()));this.set_mediainfo($getArgument(ExpressionPlayer.UrlParam.mediainfo,this.get_mediainfo()));this.set_muted($getArgument(ExpressionPlayer.UrlParam.muted,this.get_muted().toString())==="true");this.set_volume(parseFloat($getArgument(ExpressionPlayer.UrlParam.volume,this.get_volume())));this.set_fakeOutput($getArgument(ExpressionPlayer.UrlParam.fakeoutput,this.get_fakeOutput()));var chapterArg=$getArgument(ExpressionPlayer.UrlParam.chapter);if(chapterArg!==""){this.set_currentChapter(parseInt(chapterArg));} if(this.get_mediainfo()!==""){this._initMediainfo();} this._fInitialized=true;},_meOpened:function(){ExpressionPlayer.Player.callBaseMethod(this,'_meOpened');this.set_position(parseFloat($getArgument(ExpressionPlayer.UrlParam.startTime,this.get_position())));},set_galleryInfo:function(galleryItems,callbackDelegate){if(this._gallery==null){var galleryElement=this.get_element().content.findName("GalleryArea");if(galleryElement!=null){var galleryToggleButton=this.get_element().content.findName("GalleryToggleButton");this._gallery=new Sys.UI.Silverlight._ImageList(galleryElement,galleryToggleButton,false,callbackDelegate,this);}} if(this._gallery!=null){this._gallery.set_items(galleryItems);}},get_mediainfo:function(){return this._mediainfo;},set_mediainfo:function(mediainfo){this._mediainfo=mediainfo;if(this._fInitialized){this._initMediainfo();}},_initMediainfo:function(){if(typeof(this._mediainfo)==="function"){this.set_chapters(this._mediainfo().chapters);this.set_placeholderSource(this._mediainfo().placeholderSource);this.set_mediaSource(this._mediainfo().mediaSource);} else if(this._mediainfo.mediaSource!=null){this.set_chapters(this._mediainfo.chapters);this.set_placeholderSource(this._mediainfo.placeholderSource);this.set_mediaSource(this._mediainfo.mediaSource);} else{throw Error.invalidOperation("unknown type for mediainfo");}},set_fakeOutput:function(value){if("".length>0){this._fakeOutput=unescape(value);if(this._fakeOutput!=""){this.set_mediainfo({"mediaSource":this._fakeOutput+"/sl.wmv","placeholderSource":this._fakeOutput+"/sl1.jpg","chapters":[new Sys.UI.Silverlight.MediaChapter("",1,this._fakeOutput+"/sl1.jpg"),new Sys.UI.Silverlight.MediaChapter("",2,this._fakeOutput+"/sl2.jpg"),new Sys.UI.Silverlight.MediaChapter("",4,this._fakeOutput+"/sl3.jpg")]});}}},get_fakeOutput:function(){return this._fakeOutput;},set_timeIndex:function(value){if(this._mediaElement&&this._canSeek&&value>this._naturalduration){this._raiseEvent("mediaEnded",Sys.EventArgs.Empty);} else{ExpressionPlayer.Player.callBaseMethod(this,'set_position',[value]);}},add_playPreviousVideo:function(handler){this.get_events().addHandler("playPreviousVideo",handler);},remove_playPreviousVideo:function(handler){this.get_events().removeHandler("playPreviousVideo",handler);},_onPrevious:function(){var chapters=this.get_chapters();var tmWindowMin=2;if(chapters!=null&&chapters.length>0) tmWindowMin=Math.min(tmWindowMin,chapters[0].get_position());if(this.get_position()this._duration){this._raiseEvent("playNextVideo");return;}} else{var chapterLast=chapters[chapters.length-1];if(chapterLast.get_position() http://www.museumwoubrugge.nl/wordpress/wp-content/plugins/wp-media-player/styles/executive/player.js?ver=5.2.2 /////////////////////////////////////////////////////////////////////////////// // // ExtendedPlayer // // This extends the base player class, you may override the base player // member functions or add additional player functionality here. Here // we add a button class that toggles a show/hide animation // /////////////////////////////////////////////////////////////////////////////// Type.registerNamespace('ExtendedPlayer'); ExtendedPlayer.Player = function(domElement) { ExtendedPlayer.Player.initializeBase(this, [domElement]); } ExtendedPlayer.Player.prototype = { onPluginLoaded: function(args) { ExtendedPlayer.Player.callBaseMethod(this, 'onPluginLoaded', [args]); this._showHideControlsButton = new ExpressionPlayer.ShowHideAnimationButton(this, "ToggleControlsButton", "Control", true); }, pluginDispose: function() { if (this._showHideControlsButton) { this._showHideControlsButton.dispose(); } this._showHideControlsButton = null; ExtendedPlayer.Player.callBaseMethod(this, 'pluginDispose'); } } ExtendedPlayer.Player.registerClass('ExtendedPlayer.Player', ExpressionPlayer.Player); // source --> http://www.museumwoubrugge.nl/wordpress/wp-content/plugins/wp-media-player/scripts/startplayer.js?ver=5.2.2 function StartMediaPlayer(parentId,xamlSource,playerWidth,playerHeight){this._hostname=ExpressionPlayer.Player._getUniqueName("xamlHost");Silverlight.createObjectEx({source:xamlSource,parentElement:$get(parentId||"mediaPlayer_0"),id:this._hostname,properties:{width:playerWidth,height:playerHeight,version:'1.0',background:"Black",isWindowless:'false',inplaceInstallPrompt:true},events:{onLoad:Function.createDelegate(this,this._handleLoad)}});} StartMediaPlayer.prototype={_handleLoad:function(){this._player=$create(ExtendedPlayer.Player,{autoPlay:this.autoPlayParam,autoLoad:this.autoLoadParam,scaleMode:1,watermarkSource:this.watermarkSource,watermarkPosition:this.watermarkPosition,watermarkOpacity:this.watermarkOpacity,muted:this.mutedParam,enableCaptions:true,volume:1.0},{mediaOpened:Function.createDelegate(this,this._onMediaOpened),mediaEnded:Function.createDelegate(this,this._onMediaEnded),mediaFailed:Function.createDelegate(this,this._onMediaFailed)},null,$get(this._hostname));this.watermarkSource="";this.watermarkPosition=4;this.watermarkOpacity=1;this._playlist=this.getPlaylist();this._player.set_mediainfo(this._playlist[0]);},_onMediaOpened:function(sender,eventArgs){this._logMediaStatus(1);},_onMediaEnded:function(sender,eventArgs){this._logMediaStatus(2);},_onMediaFailed:function(sender,eventArgs){alert(String.format(Sys.UI.Silverlight.MediaRes.mediaFailed,this._player.get_mediaSource()));},_logMediaStatus:function(status){jQuery.ajax({type:'GET',url:this.ajaxUrl,data:'pid='+this.postId+'&stat='+status+'&file='+encodeURIComponent(this._playlist[0].mediaSource),cache:false});}} function StartWithParent(parentId,appId){new StartMediaPlayer(parentId);} Sys.UI.Silverlight.ControlRes={'runtimeErrorWithoutPosition':"Runtime error {2} in control '{0}', method {6}: {3}",'scaleModeRequiresMatrixTransform':"When ScaleMode is set to zoom or stretch, the root Canvas must have not have a RenderTransform applied, or must only have a ScaleTransform.",'mediaError_NotFound':"Media '{3}' in control '{0}' could not be found.",'runtimeErrorWithPosition':"Runtime error {2} in control '{0}', method {6} (line {4}, col {5}): {3}",'silverlightVersionFormat':"Must be in the format 'MajorVersion.MinorVersion'.",'otherError':"{1} error #{2} in control '{0}': {3}",'cannotChangeSource':"You cannot change the XAML source after initialization.",'parserError':"Invalid XAML for control '{0}'. [{7}] (line {4}, col {5}): {3}",'sourceAlreadySet':"You cannot change the XAML source after initialization.",'parentNotFound':"{1} error #{2} in control '{0}': {3}"};Sys.UI.Silverlight.MediaRes={'volumeRange':"Volume must be a number greater than or equal to 0 and less than or equal to 1.",'mediaFailed':"Unable to load media '{0}'. This may be because there is no such file at this location or the video file is encoded incorrectly.",'noMediaElement':"The XAML document does not contain a media element.",'noThumbElement':"{1} error #{2} in control '{0}': {3}",'invalidChapter':"Must be greater than or equal to 0 and less than the length of the chapter's array.",'silverlightNotLoaded':"{1} error #{2} in control '{0}': {3}"};