
//
//            WW  WW  WW
//            WW  WW  WW
//            WW  WW  WW
//             WWWWWWWW
//     __ __ _ _ _ __  _ __ _  _ 
//     \ V  V / | , , | __ \  V |
//      \_/\_/|_|_|_|_| .__/\_, |
//                    |_|   |___|
//
// ----------------------------------
//
//     Wimpy Player
//     7.80 2020-03-10
//     www.wimpyplayer.com
//     Copyright Michael Gieson
//
// ----------------------------------




if(typeof this.wimpyPlayer == 'undefined') {this.wimpyPlayer={};this.jbeeb=this.jbeeb||{};function MouseEventListener(t){this.init(t)}this.jbeeb=this.jbeeb||{},this.jbeeb.mimes={audio:{mp3:"audio/mpeg",wav:"audio/wav",aac:"audio/mp4",m4a:"audio/mp4",mpa:"audio/mpeg",oga:"audio/ogg",ogg:"audio/ogg",flac:"audio/flac"},video:{m4v:"video/mp4",m4p:"video/mp4",mp4:"video/mp4",ts:"video/mp4",webm:"video/webm",ogx:"video/ogg",ogv:"video/ogg",youtube:"video/youtube",flv:"video/x-flv",f4v:"video/x-f4v"},image:{jpg:"image/jpeg",png:"image/png",gif:"image/gif",tif:"image/tiff",bmp:"image/bmp"},playlist:{xml:"application/xml",php:"application/xml",asp:"application/xml",rss:"application/xml",opml:"application/xml",txt:"text/plain",js:"application/javascript",json:"application/json",jsonp:"application/javascript",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",pls:"text/plain",s3:"application/xml"}},Array.prototype.indexOf||(Array.prototype.indexOf=function(t,e){if(void 0===this||null===this)throw new TypeError('"this" is null or not defined');var i=this.length>>>0;for(e=+e||0,Math.abs(e)===1/0&&(e=0),0>e&&(e+=i,0>e&&(e=0));i>e;e++)if(this[e]===t)return e;return-1}),"b"!="ab".substr(-1)&&(String.prototype.substr=function(t){return function(e,i){return t.call(this,0>e?this.length+e:e,i)}}(String.prototype.substr)),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),i=this,s=function(){},n=function(){return i.apply(this instanceof s&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return s.prototype=this.prototype,n.prototype=new s,n}),this.jbeeb=this.jbeeb||{},function(){"use strict";function t(e,s){if("object"!==i.typeOf(e))return s;for(var n in s)"object"===i.typeOf(e[n])&&"object"===i.typeOf(s[n])?e[n]=t(e[n],s[n]):e[n]=s[n];return e}function e(e,s){var n,h,l,a,o,r=s[0],u=s.length;for((e||"object"!==i.typeOf(r))&&(r={}),n=0;u>n;++n)if(h=s[n],l=i.typeOf(h),"object"===l)for(a in h)o=e?i.clone(h[a]):h[a],r[a]=t(r[a],o);return r}var i=function(){},s=(Array.prototype.indexOf,Object.prototype.toString),n=String.prototype.trim;i.randomNumber=function(t,e){return t+Math.random()*(e-t)},i.randomInt=function(t,e){return Math.round(i.randomNumber(t,e))},i.link=function(t,e,i){var s,n,h,l,a;i=i||{},s=e||"_blank",n=[];for(h in i)h=h.toLowerCase(),l=i[h],"width"==h||"height"==h||"left"==h?n.push(h+"="+l):"location"!=h&&"menubar"!=h&&"resizable"!=h&&"scrollbars"!=h&&"status"!=h&&"titlebar"!=h&&"toolbar"!=h||l&&"no"!=l&&"false"!=l&&"0"!=l&&n.push(h+"=1");a=null,n.length>0&&(a=n.join(",")),window.open(t,s,a)},i.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===s.call(t)},i.empty=function(t,e){for(;t.firstChild;)t.removeChild(t.firstChild);e&&t.parentNode&&t.parentNode.removeChild(t)},i.isEmpty=function(t){var e,s,n=typeof t;if("undefined"==n)return!0;if(null===t)return!0;if("object"==n){e=!0;for(s in t)if(!i.isEmpty(t[s])){e=!1;break}return e}return"string"==n&&""==t},i.typeOf=function(t){var e={}.toString.call(t);return"[object Object]"===e?"object":"[object Array]"===e?"array":"[object String]"===e?"string":"[object Number]"===e?"number":"[object Function]"===e?"function":"[object Null]"===e?"null":"undefined"},i.isNumber=function(t){return"[object Number]"===s.call(t)&&isFinite(t)},i.isInteger=function(t){return parseFloat(t)==parseInt(t)&&!isNaN(t)&&isFinite(t)},i.isString=function(t){return"[object String]"===s.call(t)},i.isNull=function(t){return""===t||null===t||void 0===t||"undefined"==t||"null"==t},i.isFalse=function(t){return t===!1||0===t||"0"===t||"string"==typeof t&&"false"===t.toLowerCase()},i.isTrue=function(t){return t===!0||1===t||"1"===t||"string"==typeof t&&"true"===t.toLowerCase()},i.isDomElement=function(t){return!(!t.nodeName||!t.nodeType)},i.clone=function(t){var e,s,n=t,h=i.typeOf(t);if("array"===h)for(n=[],s=t.length,e=0;s>e;++e)n[e]=i.clone(t[e]);else if("object"===h){n={};for(e in t)n[e]=i.clone(t[e])}return n},i.merge=function(t){return e(t===!0,arguments)},i.sortOn=function(t,e,i,s){if(!e||!t)return t;var n=function(t,e,i){var s=i?function(t){return parseFloat((t+"").replace(/[^0-9.\-]+/g,""))}:function(t){return(t+"").toLowerCase()},n=e?-1:1;return function(e,h){return e=s(e[t]),h=s(h[t]),i?(e-h)*n:(h>e?-1:e>h?1:0)*n}};t.sort(n(e,i,s))},i.arrayShuffle=function(t){var e,i,s,n,h;if(t){for(e=t.length,n=Math.floor,h=Math.random;e;)s=n(h()*e--),i=t[e],t[e]=t[s],t[s]=i;return t}return[]},i.arrayMove=function(t,e,i){t.splice(i,0,t.splice(e,1)[0])},i.arrayInsertArrayAt=function(t,e,i){return Array.prototype.splice.apply(t,[e,0].concat(i)),t},i.arrayInsertAt=function(t,e){var s=Array.prototype.splice.apply(arguments,[2]);return i.arrayInsertArrayAt(t,e,s)},i.rtrim=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,i.trim=n&&!n.call("\ufeff ")?function(t){return null==t?"":n.call(t)}:function(t){return null==t?"":(t+"").replace(i.rtrim,"")},i.initialCaps=function(t){var e,i,s=t.split(" ");for(e=0;e<s.length;e++)i=s[e].charAt(0).toUpperCase(),s[e]=i+s[e].substr(1);return s.join(" ")},i.alphanumeric=function(t,e){return e?t.replace(/[^A-Za-z0-9]/g,""):t.replace(/[^A-Za-z0-9_\-\.]/g,"")},i.numeric=function(t,e){return t.replace(/[^0-9\-\.]/g,"")},i.parseJSON=function(t){if("string"!=typeof t)return null;var e=null;try{e=JSON.parse(t.replace(/[\t\r\n]/g,""))}catch(t){e=null}return e},i.utf8_encode=function(t){return unescape(encodeURIComponent(t))},i.utf8_decode=function(t){return decodeURIComponent(escape(t))},i.rgbToHex=function(t){var e,i;return t?(e=function(t){return 1==t.length?"0"+t:""+t},i=[e(Math.round(t[0]).toString(16)),e(Math.round(t[1]).toString(16)),e(Math.round(t[2]).toString(16))],"#"+i.join("")):"#000000"},i.hexToRgb=function(t){if(!t)return"";var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},i.makeColor=function(t,e){if(!t)return"";var s=i.hexToRgb(t);return i.isNumber(e)?(e>1&&(e/=100),e=","+e,"rgba("+s.join(",")+e+")"):t},i.hexBetween=function(t,e){var s=i.hexToRgb(t),n=i.hexToRgb(e);return i.rgbToHex(i.rgbBetween(s,n))},i.rgbBetween=function(t,e){var i=.5,s=1-i;return[t[0]*s+e[0]*i,t[1]*s+e[1]*i,t[2]*s+e[2]*i]},i.getXYWH=function(t){var e,i,s,n,h=0,l=0,a=0,o=0;if(t){for(e=document.body.getBoundingClientRect(),h-=e.left,l-=e.top,a=t.offsetWidth,o=t.offsetHeight,i=!1,jbeeb.Browser&&(i=jbeeb.Browser.touch);t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)i?(h+=(t.offsetLeft||0)-(t.scrollLeft||0),l+=(t.offsetTop||0)-(t.scrollTop||0)):(h+=t.offsetLeft||0,l+=t.offsetTop||0),t=t.offsetParent;i&&(s=null!=window.scrollX?window.scrollX:window.pageXOffset,n=null!=window.scrollY?window.scrollY:window.pageYOffset,h+=s,l+=n)}return{x:h,y:l,w:a,h:o,xMax:h+a,yMax:l+o}},i.getWindowSize=function(){var t=window,e=document,i=e.documentElement,s=e.body;return{x:(t.pageXOffset||i.scrollLeft)-(i.clientLeft||0),y:(t.pageYOffset||i.scrollTop)-(i.clientTop||0),w:t.innerWidth||i.clientWidth||s.clientWidth,h:t.innerHeight||i.clientHeight||s.clientHeight}},i.getMousePos=function(t){var e=document.documentElement,i=document.body;return null==t.pageX&&null!=t.clientX&&(t.pageX=t.clientX+(e&&e.scrollLeft||i&&i.scrollLeft||0)-(e&&e.clientLeft||i&&i.clientLeft||0),t.pageY=t.clientY+(e&&e.scrollTop||i&&i.scrollTop||0)-(e&&e.clientTop||i&&i.clientTop||0)),{x:t.pageX,y:t.pageY}},i.contains=function(t,e){var i,s,n,h,l;if(!t||!e)return!1;i={},s={x:t.x,y:t.y,w:t.width,h:t.height},n={x:e.x,y:e.y,w:e.width,h:e.height},s.xMax=s.x+s.w,s.yMax=s.y+s.h,n.xMax=n.x+n.w,n.yMax=n.y+n.h;for(h in s)i[h]=s[h]>=n[h];return l=!(i.x||i.y||!i.xMax||!i.yMax)},i.getTimestamp=function(){return(new Date).getTime()},i.bindEvent=function(t,e,i){return t&&(t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener&&t.addEventListener(e,i,!1)),i},i.unbindEvent=function(t,e,i){return t&&(t.attachEvent?t.detachEvent("on"+e,i):t.addEventListener&&t.removeEventListener(e,i,!1)),i},i.getAttributes=function(t){var e,i,s,n,h,l,a,o,r={};if(t&&t.attributes)for(e=0,t.getAttribute&&(e=1),i=t.attributes,s=i.length,n=!1,jbeeb.Browser&&(n=jbeeb.Browser.ie),h=0;s>h;h++)l=i[h],a=l.nodeName+"",e?o=t.getAttribute(a):n?l.specified&&(o=l.nodeValue):o=l.value||l.nodeValue,"class"==a&&(a="className"),r[a]=o;return r},i.decodeURL=function(t){var e,s=i.trim;return t=s(t),"__1"==t.substr(0,3)?t.indexOf("|")>-1?t:jbeeb.Base64?(e=t.substr(3,t.length),s(unescape(jbeeb.Base64.decode(e)))):t:t},i.escapeHTML=function(t){return(""+t).split("&").join("&amp;").split("<").join("&lt;").split('"').join("&quot;")},i.unescapeHTML=function(t){return i.fromHtmlEntities(unescape(""+t)).split("&quot;").join('"').split("&lt;").join("<").split("&amp;").join("&")},i.makeTagString=function(t,e,i){var s,n,h,l,a;if(e=e||"",s=[],i&&"object"==typeof i){s.push("");for(n in i)h=i[n],l="klass"==n?"class":n,null===h?s.push(l):(h+="",a=h.indexOf('"')>-1?"'":'"',s.push(l+"="+a+h+a))}return"<"+t+s.join(" ")+">"+e+"</"+t+">"},i.toHtmlEntities=function(t){var e,i=document.createElement("p");return i.textContent=t,e=i.innerHTML,i=null,e},i.fromHtmlEntities=function(t){return(t+"").replace(/&#\d+;/gm,function(t){return String.fromCharCode(t.match(/\d+/gm)[0])})},i.absoluteURL=function(t){var e=document.createElement("div");return e.innerHTML=i.makeTagString("a","u",{href:t}),t=e.firstChild.href,e=null,t},i.cssClassOps=function(t,e,i,s){var n,h=e.className;h=h.split(" "),n=function(t,e){var i,s,n;if(t)for(i="object"==typeof t,s=e.length;s--;)n=e[s].toLowerCase(),(i?t.indexOf(n)>-1:n==t.toLowerCase())&&e.splice(s,1)},i&&"add"==t?(n(i,h),h.push(i)):i&&"remove"==t?n(i,h):"replace"==t&&(n(i,h),s&&(n(s,h),h.push(s))),e.className=h.join(" ")},jbeeb.Utils=i}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(){function t(){var t,e,i;if(n=1,t=h)for(;t.length;)e=t.shift(),e&&(i=e.fn,i&&i.apply(null,e.args))}function e(){var t=[].slice.call(arguments),e=t.splice(0,1)[0];n?e.apply(null,t):h.push({fn:e,args:t})}function i(){var t,e;if(n=0,t=h)for(e=t.length;e--;)delete t[e]}function s(){i(),h=null,n=null}var n=0,h=[];return{ready:n,fire:t,add:e,cancel:i,destroy:s}};jbeeb.ReadyBoss=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e,i){function s(t,e){var n,h,l,a,o,r,d,f,b,p,m,g,y,v,w,k,j,x,S,E,L,T,C,P,M,F,A,O,U,_,D,B;if(t=t||"","//"==t.substr(0,2)&&(k=u?s(u).protocol:"http",t=k+":"+t),j=t.replace(/\\/g,"/"),j.match(/:\//)||(x="",x=e?u:c,S=s(x,!1),"/"==j.substr(0,1)?(j=S.host+(i?"":"/")+j,j=j.replace(/\.\.\//g,"")):"../"==j.substr(0,3)?(E=S.parenturl.split("/"),L=j.split("../"),T=L.pop(),E.splice(E.length-L.length,L.length,T),j=E.join("/")):(C=S.pathurl,C.length>1&&"/"!=C.substr(-1)&&(C+="/"),j=C+j)),P=!1,"/"==j.substr(-1)&&(j=j.substr(0,j.length-1),P=!0),M=j.split("://"),h=M.shift(),f=(M.shift()||"").replace("//","/"),f=f.split("/"),l=f.shift()||"",l.indexOf("@")>-1&&(M=l.split("@"),F=M[0].split(":"),y=F[0],v=F[1],l=M[1]),l.indexOf(":")>-1&&(M=l.split(":"),a=M[1],l=M[0]),f=f.join("/"),f.indexOf("#")!=-1&&(M=f.split("#"),g=M[1],f=M[0]),f.indexOf("?")!=-1){for(M=f.split("?"),p=M[1],A=p.replace("&amp;","&").split("&"),m={},O=0;O<A.length;O++)U=A[O].split("="),m[U[0]]=U[1]||null;f=M[0]}return M=f.split("/"),d=M.pop(),f=M.join("/"),".."==d&&(d=""),_=d.split("."),_.length>1&&(P?(r="",o=d):(r=_.pop().toLowerCase(),o=_.join("."))),w=h+"://"+l+(a?":"+a:""),f="/"+f+(f.length>0?"/":""),b=w+f,n=w+f+d+(p?"?"+p:"")+(g?"#"+g:""),D=f,B=b,r?(f+=d,b+=d):(f+=d+(""!=d?"/":""),b+=d+(""!=d?"/":""),o=d,p||g||"/"==n.substr(-1)||(n+="/")),i===!1&&("/"==D.substr(-1)&&(D=D.substr(0,D.length-1)),"/"==B.substr(-1)&&(B=B.substr(0,B.length-1)),r||("/"==f.substr(-1)&&(f=f.substr(0,f.length-1)),"/"==b.substr(-1)&&(b=b.substr(0,b.length-1)),"/"==n.substr(-1)&&(n=n.substr(0,n.length-1)))),{source:t||null,url:n||null,protocol:h||null,domain:l||null,port:a||null,basename:o||null,extension:r||null,ext:r||null,filename:d||null,path:f||null,pathurl:b||null,parent:D||null,parenturl:B||null,query:p||null,queryObj:m||null,fragment:g||null,username:y||null,password:v||null,host:w||null}}function n(t){return t=t||"",a(t).split("/").pop()}function h(t){var e=n(t),i=e.split(".");return i.pop(),i.join(".")}function l(t){var e,i;return t=t||"",e=a(t).split("/").pop(),i=e.split("."),i.pop().toLowerCase()}function a(t){t=t||"";var e=t.split("?")[0];return e=e.split("#")[0]}function o(t){var e=a(t).split("/");return e.pop(),""+e.join("/")+(e.length>0?"/":"")}function r(t){var e,i,s,n;return document?(e=document.getElementsByTagName("script"),i=e[e.length-1],s=i.getAttribute("src"),n=s?t?a(s):o(s):""):""}var u,c;return i=i!==!1,u=r(),c="",window&&(c=o(window.location.href)),{parse:s,filename:n,basename:h,basepath:o,scriptPath:u,getScriptPath:r,pagePath:c,ext:l}};jbeeb.PathInfo=t()}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(){this.initialize()},e=t.prototype;t.initialize=function(t){t.addEventListener=e.addEventListener,t.removeEventListener=e.removeEventListener,t.removeAllEventListeners=e.removeAllEventListeners,t.hasEventListener=e.hasEventListener,t.dispatchEvent=e.dispatchEvent},e.b=null,e.initialize=function(){},e.addEventListener=function(t,e,i,s){var n,h=this.b;return h?this.removeEventListener(t,e,i):h=this.b={},n=h[t],n||(n=h[t]=[]),n.push({fn:e,arg:s,scope:i}),e},e.removeEventListener=function(t,e,i){var s,n,h,l=this.b;if(l&&(s=l[t]))for(n=s.length;n--;)h=s[n],h.scope==i&&h.fn==e&&s.splice(n,1)},e.removeAllEventListeners=function(t){t?this.b&&delete this.b[t]:this.b=null},e.dispatchEvent=function(t){var e,i,s,n,h,l,a=this.b;if(t&&a&&(e=a[t]))for(i=[].slice.call(arguments),i.splice(0,1),s=0;s<e.length;s++)n=e[s],n.fn&&(h=i.slice(),l=n.arg,void 0!==l&&h.push(l),h.length?n.scope?n.fn.apply(n.scope,h):n.fn.apply(null,h):n.scope?n.fn.call(n.scope):n.fn())},e.hasEventListener=function(t){var e=this.b;return!(!e||!e[t])},e.toString=function(){return"[EventDispatcher]"},jbeeb.EventDispatcher||(jbeeb.EventDispatcher=t)}(),this.jbeeb=this.jbeeb||{},function(){var t=function(){var t,e=[],i=document,s=i.documentElement.doScroll,n="DOMContentLoaded",h=(s?/^loaded|^c/:/^loaded|^i|^c/).test(i.readyState);return h||i.addEventListener(n,t=function(){for(i.removeEventListener(n,t),h=1;t=e.shift();)t()}),function(t){h?t():e.push(t)}};jbeeb.ready||(jbeeb.ready=t())}(),this.jbeeb=this.jbeeb||{},function(){function t(){return i&&i.call(performance)||(new Date).getTime()}var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame,i=window.performance&&(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow),s=function(t){return this.init(t),this},n=s.prototype;n.addEventListener=null,n.removeEventListener=null,n.removeAllEventListeners=null,n.dispatchEvent=null,n.hasEventListener=null,jbeeb.EventDispatcher.initialize(n),n.g=50,n.j=0,n.k=null,n.l=null,n.m=!1,n.state=0,n.init=function(t){this.m=!!e;var i=t.fps||t.FPS;i?this.g=1e3/i:this.g=t.interval||50,t.startNow&&this.start()},n.stop=function(){this.state=0,this.n(this.o)},n.getInterval=function(){return this.g},n.setInterval=function(t){this.g=t},n.getFPS=function(){return Math.round(1e3/this.g)},n.setFPS=function(t){this.g=1e3/t},n.start=function(){this.state||(this.state=1,this.m?this.n(this.q):this.n(this.r),this.t())},n.q=function(){this.k=null,this.t(),t()-this.j<.97*(this.g-1)||this.u()},n.r=function(){this.k=null,this.t(),this.u()},n.o=function(){this.k=null},n.t=function(){if(null==this.k){if(this.m)return e(this.l),void(this.k=!0);this.k&&clearTimeout(this.k),this.k=setTimeout(this.l,this.g)}},n.n=function(t){this.l=t.bind(this)},n.u=function(){var e=t(),i=e-this.j;this.j=e,this.dispatchEvent("tick",{delta:i,time:e})},n.getTime=function(){return t()},n.destroy=function(){this.j=99999999,this.k&&clearTimeout(this.k),this.k=!1,this.m=!1,this.removeAllEventListeners(),this.addEventListener=null,this.removeEventListener=null,this.removeAllEventListeners=null,this.dispatchEvent=null,this.hasEventListener=null,this.l=null},n.toString=function(){return"[Ticker]"},jbeeb.Ticker||(jbeeb.Ticker=s)}(),this.jbeeb=this.jbeeb||{},function(){"use strict";function t(){return/android|blackberry|iemobile|ipad|iphone|ipod|opera mini|webos/i.test(navigator.userAgent)}var e,i,s,n,h,l,a,o,r,u,c,d,f,b,p,m,g,y,v,w,k,j,x,S,E,L,T,C,P,M,F,A,O,U,_,D,B,I,R,N,z,q,X,H,Y,K,V,W,G,Z,Q,$,J;jbeeb.Browser||(e={},P=("undefined"!=typeof navigator?navigator.userAgent:"").toLowerCase(),M=function(t){var e=P.match(t);return e&&e.length>1&&e[1]||""},x=M(/(ipod|iphone|ipad)/i).toLowerCase(),F=/like android/i.test(P),h=!F&&/android/i.test(P),d=/CrOS/.test(P),m=/silk/i.test(P),A=/sailfish/i.test(P),E=/tizen/i.test(P),k=/(web|hpw)os/i.test(P),O=/windows phone/i.test(P),U=!O&&/windows/i.test(P),_=!x&&!m&&/macintosh/i.test(P),D=!h&&!A&&!E&&!k&&/linux/i.test(P),B=M(/edge\/(\d+(\.\d+)?)/i),I=M(/version\/(\d+(\.\d+)?)/i),R=/tablet/i.test(P),C=/android|blackberry|iemobile|ipad|iphone|ipod|opera mini|webos/i.test(P),N=!0,z=I||0,/opera|opr/i.test(P)?(i=N,z=I||M(/(?:opera|opr)[\s\/](\d+(\.\d+)?)/i)):O?(O=N,B?(r=N,z=B):(u=N,z=M(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(P)?(u=N,z=M(/(?:msie |rv:)(\d+(\.\d+)?)/i)):d?(d=N,f=N,c=N,z=M(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)):/chrome.+? edge/i.test(P)?(r=N,z=B):/chrome|crios|crmo/i.test(P)?(c=N,z=M(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)):x?(x=N,I&&(z=I),/safari/i.test(P)&&(y=N)):/firefox|iceweasel/i.test(P)?(L=N,z=M(/(?:firefox|iceweasel)[ \/](\d+(\.\d+)?)/i)):m?(m=N,z=M(/silk\/(\d+(\.\d+)?)/i)):h?(h=N,z=I):/blackberry|\bbb\d+/i.test(P)||/rim\stablet/i.test(P)?(g=N,z=I||M(/blackberry[\d]+\/(\d+(\.\d+)?)/i)):/bada/i.test(P)?(j=N,z=M(/dolfin\/(\d+(\.\d+)?)/i)):E?(E=N,z=M(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||I):/safari/i.test(P)&&(y=N,z=I),/chromium/i.test(P)&&(b=N),!r&&/(apple)?webkit/i.test(P)?(v=N,!z&&I&&(z=I)):!i&&/gecko\//i.test(P)&&(T=N,z=z||M(/gecko\/(\d+(\.\d+)?)/i)),r||!h&&!m?x&&(S=N):h=N,q="",O?q=M(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):x?(q=M(/os (\d+([_\s]\d+)*) like mac os x/i),q=q.replace(/[_\s]/g,".")):h?q=M(/android[ \/-](\d+(\.\d+)*)/i):g?q=M(/rim\stablet\sos\s(\d+(\.\d+)*)/i):j?q=M(/bada\/(\d+(\.\d+)*)/i):E&&(q=M(/tizen[\/\s](\d+(\.\d+)*)/i)),X=q.split(".")[0],C=t(),i&&(s=/opera mini/i.test(P),n=/opera mobile/i.test(P)),z=parseFloat(z)||100,o=r||u,o&&"CSS1Compat"!=document.compatMode&&(z=8),o&&11>z&&(C=!1),(U||O)&&(H="win"),v&&(c&&10>z||h&&5>z?w=N:y&&5.1>z&&(w=N)),L&&(p=N),h&&(c!=N&&(Y=P.match(/applewebkit\/([\d.]+)/),Y&&Y[1]<537&&(l=N)),a=null!==P.match(/android 2\.[12]/)),v?W="webkit":i?W="o":L?W="moz":o&&z>8&&(W="ms"),$=document.createElement("div"),J=$.style,J.backgroundImage="linear-gradient(to bottom, #000 0%, #FFF 100%)",K=(""+J.backgroundImage).indexOf("gradient")>-1,J=null,$=null,S||s||o&&z>13||y&&z>10||h&&z>4.3||g&&z>7||i&&z>42||n&&z>36||(V=N),G=!!(C||"ontouchstart"in window||"onmsgesturechange"in window||navigator.maxTouchPoints&&navigator.maxTouchPoints>0||navigator.msMaxTouchPoints&&navigator.msMaxTouchPoints>0),(p&&z>3||i&&z>9||o&&z>9||C||G||K||V)&&(Z=N),(o&&z>=11||p&&z>=10||c&&z>=15||y&&z>=5.1||i&&z>=12.1||g&&z>=10)&&(Q=N),y&&U&&(Q=!1),e.ua=P,e.version=z,e.ios=S,e.android=h,e.mobile=C,e.win=U,e.opera=i,e.winphone=O,e.ie=o,e.chromium=b,e.chrome=c,e.moz=p,e.blackberry=g,e.safari=y,e.webkit=v,e.oldWebkit=w,e.w3c_gradient=K,e.w3c_download=V,e.touch=G,e.cssPrefix=W,e.modern=Z,e.stockAndroid=l,e.brokenAndroid=a,e.fullscreen=Q,jbeeb.Browser=e)}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t,e=function(t){this.ready=0,this.$=new jbeeb.Ticker({interval:50,startNow:1});var e=new jbeeb.ReadyBoss;t.onReady&&(e.add(t.onReady),t.onReady=null),this._=e,this.aa=t,this.init()};e.ba=[],t=e.prototype,t.ca=null,t.da=null,t.ea=null,t.fa=null,t.ga=null,t._=null,t.ready=0,t.aa=null,t.ha=!1,t.$=null,t.ia=function(){var t,i,s,n=this.aa;e.ba.push(n.family),this.ca=n.family,this.da=n.testString||"giItT1WQy@!-/#",t=document.createElement("link"),t.type="text/css",t.rel="stylesheet",t.href=n.cssUrl,i=document.getElementsByTagName("head")[0],i.appendChild(t),s=document.createElement("span"),s.innerHTML=this.da,s.style.position="absolute",s.style.left="-10000px",s.style.top="-10000px",s.style.fontSize="300px",s.style.fontFamily="sans-serif",s.style.fontVariant="normal",s.style.fontStyle="normal",s.style.fontWeight="normal",s.style.letterSpacing="0",this.ea=s,document.body.appendChild(s),this.fa=s.offsetWidth,s.style.fontFamily=this.ca,this.$.removeEventListener("tick",this.init,this),this.$.addEventListener("tick",this.tick,this)},t.ja=!1,t.init=function(){var t,i;this.ja||(t=this.aa,e.ba.indexOf(t.family)>-1?(this.ja=!0,this.ka()):(i=0,document.body&&document.body.appendChild&&(i=1),i?(this.ja=!0,this.$.removeEventListener("tick",this.init,this),this.ia()):this.ha||(this.ha=!0,this.$.addEventListener("tick",this.init,this))))},t.tick=function(t){var e=0;this.ea&&this.ea.offsetWidth!=this.fa&&(e=1),this.$.getTime()>3e3&&(e=1),e&&this.ka()},t.ka=function(){this.ready=1,this.la(),this._.fire(),this.$.destroy()},t.la=function(){this.$.removeEventListener("tick",this.init,this),this.$.removeEventListener("tick",this.tick,this),this.ea&&(this.ea.parentNode.removeChild(this.ea),this.ea=null)},t.onReady=function(t){var e=[].slice.call(arguments);this.ready?(t.apply(null,e),this._.fire()):this._.add.apply(null,e)},t.destroy=function(){this.la(),this._.destroy()},t.type="FontFaceLoader",jbeeb.FontFaceLoader||(jbeeb.FontFaceLoader=e)}(),this.jbeeb=this.jbeeb||{},function(){"use strict";jbeeb.Base||(jbeeb.ticker=null,jbeeb.tickerInterval=200,jbeeb.scriptPath=null,jbeeb.pagePath="",jbeeb.assetsBasePath="",jbeeb.focus=null,jbeeb.binit=0),jbeeb.unfocus=function(){if(jbeeb.focus){var t=jbeeb.focus;t.element&&t.element.blur(),jbeeb.focus=null}};var t=function(){};t.ma=0,t._=new jbeeb.ReadyBoss,t.na=function(e){return"JBEEB_"+t.ma++},t.oa=function(e){t._.add(e.init.bind(e))},t.init=function(){jbeeb.Ticker&&(jbeeb.ticker=new jbeeb.Ticker({interval:jbeeb.tickerInterval,startNow:1})),jbeeb.assetsBasePath||(jbeeb.assetsBasePath=""),"http"!=window.location.href.substr(0,4)?(jbeeb.pagePath||(jbeeb.pagePath=""),jbeeb.scriptPath||(jbeeb.scriptPath="")):(jbeeb.pagePath||(jbeeb.pagePath=jbeeb.PathInfo.pagePath),jbeeb.scriptPath||(jbeeb.scriptPath=jbeeb.PathInfo.scriptPath)),t._.fire()},jbeeb.Base||(jbeeb.Base=t,jbeeb.register=t.oa,jbeeb.getUID=t.na)}(),jbeeb.binit||(jbeeb.binit=1,jbeeb.ready(function(){setTimeout(jbeeb.Base.init,10)})),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e,i,s,n){function h(t,i){e&&e(t,i,s,n)}function l(){r=!0;try{a.abort()}catch(t){}}var a,o,r,u,c,d,f;i=i||"text",a=null,o=!1,r=!1,u=!1;try{a=new XMLHttpRequest}catch(t){if(u=!0,"undefined"!=typeof XDomainRequest)a=new XDomainRequest;else try{a=new ActiveXObject("Msxml2.XMLHTTP")}catch(t){try{a=new ActiveXObject("Microsoft.XMLHTTP")}catch(t){a=!1}}}a||h(null,null,s,n),"xml"!=i&&a.overrideMimeType&&(c="text/plain","json"==i&&(c="application/json"),a.overrideMimeType(c));try{d=t.replace("&amp;","&"),u?a.open("get",d):a.open("get",d,!0),a.onreadystatechange=function(){if(4==a.readyState&&!o){if(o=!0,!r){var t;try{t="xml"==i?a.responseXML||a.responseText:a.responseText||a.responseXML}catch(e){t="xml"==i?a.responseXML||a.responseText:a.responseText||a.responseXML}h(t,a.status)}a=null}},a.send(null)}catch(t){"xml"==i?(f="?",h("<"+f+'xml version="1.0"'+f+">",500)):(f="",h(f,500))}return{cancel:l}};jbeeb.TextLoader||(jbeeb.TextLoader=t)}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=0,e=function(e,i){function s(){n=!0}var n,h,l,a,o,r,u,c=[].slice.call(arguments);return c.splice(0,2),n=!1,i&&e&&(h="JBEEB_JSONP_"+t++,l=e+((e.indexOf("?")<0?"?":"&")+"callback="+h),a=document,o=window,o[h]=function(t){var e=a.getElementById(h);e.parentNode.removeChild(e),e=null,n||(c.unshift(t),i.apply(null,c)),delete o[h]},r=a.createElement("script"),r.id=h,r.src=l,u=a.getElementsByTagName("head")[0],u.appendChild(r)),{cancel:s}};jbeeb.JSON_P||(jbeeb.JSON_P=e)}(),this.jbeeb=this.jbeeb||{},function(){"use strict";function t(t){this.pa=t,this.qa=-1,this.ra=[]}function e(t){this.pa=t,this.qa=-1,this.ra=[]}var i={sa:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var i,s,n,h,l,a,o,r,u;if(window.btoa)return window.btoa(e);for(i=[],s=new t(e);s.ta();)n=s.va,s.ta(),h=s.va,s.ta(),l=s.va,a=n>>2,o=(3&n)<<4|h>>4,r=(15&h)<<2|l>>6,u=63&l,isNaN(h)?r=u=64:isNaN(l)&&(u=64),i.push(this.sa.charAt(a)+this.sa.charAt(o)+this.sa.charAt(r)+this.sa.charAt(u));return i.join("")},decode:function(t){var i,s,n,h,l;if(window.atob)return window.atob(t);for(i=[],s=new e(t);s.ta();)n=s.va,128>n?i.push(String.fromCharCode(n)):n>191&&224>n?(s.ta(),h=s.va,i.push(String.fromCharCode((31&n)<<6|63&h))):(s.ta(),h=s.va,s.ta(),l=s.va,i.push(String.fromCharCode((15&n)<<12|(63&h)<<6|63&l)));return i.join("")}};t.prototype={va:Number.NaN,ta:function(){if(this.ra.length>0)return this.va=this.ra.shift(),!0;if(this.qa<this.pa.length-1){var t=this.pa.charCodeAt(++this.qa);return 13==t&&10==this.pa.charCodeAt(this.qa+1)&&(t=10,this.qa+=2),128>t?this.va=t:t>127&&2048>t?(this.va=t>>6|192,this.ra.push(63&t|128)):(this.va=t>>12|224,this.ra.push(t>>6&63|128),this.ra.push(63&t|128)),!0}return this.va=Number.NaN,!1}},e.prototype={va:64,ta:function(){var t,e,s,n,h,l,a,o;return this.ra.length>0?(this.va=this.ra.shift(),!0):this.qa<this.pa.length-1?(t=i.sa,e=t.indexOf(this.pa.charAt(++this.qa)),s=t.indexOf(this.pa.charAt(++this.qa)),n=t.indexOf(this.pa.charAt(++this.qa)),h=t.indexOf(this.pa.charAt(++this.qa)),l=e<<2|s>>4,a=(15&s)<<4|n>>2,o=(3&n)<<6|h,this.va=l,64!=n&&this.ra.push(a),64!=h&&this.ra.push(o),!0):(this.va=64,!1)}},jbeeb.Base64=i}(),this.jbeeb=this.jbeeb||{},function(){"use strict";function t(t){var e,i,s;for(jbeeb.GLOBAL_POINTER_TYPE=t,e=jbeeb.GLOBAL_POINTER_REGISTER,i=e.length;i--;)s=e[i],s.threadDown.call(s,!0),e.splice(i,1)}function e(){jbeeb.GLOBAL_POINTER_REGISTER=[],jbeeb.GLOBAL_POINTER_TYPE=null,document.addEventListener("pointerover",s,!1),document.addEventListener("pointermove",s,!1),document.addEventListener("pointerdown",s,!1),document.addEventListener("touchstart",h,!1),document.addEventListener("mouseover",n,!1),document.addEventListener("mousemove",n,!1)}function i(e){document.removeEventListener("pointerover",s,!1),document.removeEventListener("pointermove",s,!1),document.removeEventListener("pointerdown",s,!1),document.removeEventListener("touchstart",h,!1),document.removeEventListener("mouseover",n,!1),document.removeEventListener("mousemove",n,!1),t(e)}function s(t){i(f.POINTER)}function s(t){i(f.POINTER)}function n(t){i(f.MOUSE)}function n(t){i(f.MOUSE)}function h(t){i(f.TOUCH)}function l(t){var e,i,s,n,h=0,l=0,a=0,o=0;window;if(t){for(e=document.body.getBoundingClientRect(),h=e.left,l=e.top,a=t.offsetWidth,o=t.offsetHeight,c||(c=((i=document.documentElement)||(i=document.body.parentNode))&&"number"==typeof i.scrollLeft?i:document.body),s=c.scrollLeft,n=c.scrollTop;t;)h+=t.offsetLeft||0,l+=t.offsetTop||0,s+=t.scrollLeft||0,n+=t.scrollTop||0,t=t.offsetParent;h+=s||0,l+=n||0}return{x:h,y:l,left:h,top:l,w:a,h:o,width:a,height:o,xMax:h+a,yMax:l+o}}function a(t,e,i){var s=r(t,e.element,e.stage.element),n=s.mouseX,h=s.mouseY,l=e.width,a=e.height;if("out"==i){if(0>n||0>h||n>l||h>a)return!0}else if(n>0&&h>0&&l>n&&a>h)return!0;return!1}function o(t){for(var e=null,i=t,s=0;!e&&i;){if(i.amStage)e=i;else{if(!i.parent)break;i=i.parent}if(s>100)break;s++}return e?(t.stage=e,e):null}function r(t,e,i){var s,n,h,a,o,r,u,c,d,f,b,p,m,g,y=document,v=y.body;return e?(s=l(e),n=l(e.parentNode),h=l(i),null==t.pageX&&null!=t.clientX&&(t.pageX=t.clientX+(y&&y.scrollLeft||v&&v.scrollLeft||0)-(y&&y.clientLeft||v&&v.clientLeft||0),t.pageY=t.clientY+(y&&y.scrollTop||v&&v.scrollTop||0)-(y&&y.clientTop||v&&v.clientTop||0)),a=t.pageX,o=t.pageY,r=s.left,u=s.top,c=n.left,d=n.top,f=h.left,b=h.top,p=document.defaultView.getComputedStyle(v,""),m=parseFloat(p.marginLeft||0),g=parseFloat(p.marginTop||0),{mouseX:a-r+m,mouseY:o-u+g,parentX:c,parentY:d,pageX:a,pageY:o,elemX:r,elemY:u,stageX:f,stageY:b,event:t}):null}var u,c,d=300,f={MOUSE:1,TOUCH:2,POINTER:3},b=[{down:"mousedown",enter:"mouseenter",leave:"mouseleave",move:"mousemove",out:"mouseout",over:"mouseover",up:"mouseup"},{down:"touchstart",enter:null,leave:null,move:"touchmove",out:null,over:null,up:"touchend"},{down:"pointerdown",enter:"pointerenter",leave:"pointerleave",move:"pointermove",out:"pointerout",over:"pointerover",up:"pointerup"}];jbeeb.GLOBAL_POINTER_REGISTER=null,jbeeb.GLOBAL_POINTER_TYPE=null,jbeeb.GLOBAL_POINTER_REGISTER||e(),u=MouseEventListener.prototype,u.wa=null,u.xa=null,u.ya=null,u.enabled=null,u.za=null,u.Aa=null,u.Ba=null,u.Ca=null,u.Da=null,u.Ea=null,u.Fa=null,u.Ga=null,u.Ha=null,u.Ia=null,u.Ja=null,u.Ka=null,u.La=null,u.Ma=null,u.init=function(t){this.wa=t,this.xa=t.element,this.Na={mouseX:0,mouseY:0,pageX:0,pageY:0,elemX:0,elemY:0,x:0,y:0},jbeeb.GLOBAL_POINTER_REGISTER.push(this),this.za={down:this.Oa.bind(this),move:this.Pa.bind(this),up:this.Qa.bind(this),over:this.Ra.bind(this),enter:this.Sa.bind(this),leave:this.Ta.bind(this),out:this.Ua.bind(this)},null===jbeeb.GLOBAL_POINTER_TYPE?(this.Fa=this.Va.bind(this),this.Ga=this.Wa.bind(this),this.Ha=this.Xa.bind(this),this.xa.addEventListener("pointerdown",this.Fa,!1),this.xa.addEventListener("touchstart",this.Ga,!1),this.xa.addEventListener("mousedown",this.Ha,!1)):this.threadDown(),this.enabled=!0},u.Va=function(t){this.Ya(t,f.POINTER,"down")},u.Wa=function(t){this.Ya(t,f.TOUCH,"down")},u.Xa=function(t){this.Ya(t,f.MOUSE,"down")},u.Ya=function(e,i,s){this.ya=i,this.za[s](e),t(i)},u.threadDown=function(t){this.xa&&(t&&(this.xa.removeEventListener("pointerdown",this.Fa,!1),this.xa.removeEventListener("touchstart",this.Ga,!1),this.xa.removeEventListener("mousedown",this.Ha,!1),this.Fa=null,this.Ga=null,this.Ha=null),this.ya=jbeeb.GLOBAL_POINTER_TYPE,this.Za("down"),this.$a&&this.enableMouseOver(1))},u.Za=function(t,e,i){var s,n;i=1==i,this._a(t,e,i),s=e||this.xa,n=b[this.ya-1],n&&s.addEventListener(n[t],this.za[t],i)},u._a=function(t,e,i){i=1==i;var s=e||this.xa;s&&this.ya&&s.removeEventListener(b[this.ya-1][t],this.za[t],i)},u.Oa=function(t){var e,i,s;return!(!this.enabled||!this.xa)&&(this.ab||(this._a("up"),this._a("move",document),this._a("up",document)),this.ab=!1,this.bb=!1,this.ya==f.TOUCH&&(e=t.changedTouches[0]),i=this.wa,this.cb||(this.cb=o(i)),s=r(e||t,this.xa,this.cb.element),this.Na.mouseX=s.mouseX,this.Na.mouseY=s.mouseY,this.Na.pageX=s.pageX,this.Na.pageY=s.pageY,this.Na.elemX=s.elemX,this.Na.elemY=s.elemY,this.Na.x=this.wa.x,this.Na.y=this.wa.y,s.deltaX=0,s.deltaY=0,s.dragX=0,s.dragY=0,s.event=t,s.touch=e,s.startX=this.Na.mouseX,s.startY=this.Na.mouseY,s.start=this.Na,this.Ka=s,this.wa.MELbubble||this.wa.MELpropagate||t.stopPropagation&&(t.stopPropagation(),t.stopImmediatePropagation()),t.preventDefault&&!this.wa.editable&&this.wa.MELpreventDefault?(t.preventDefault(),this.Ma=!0):this.Ma=!1,i.dispatchEvent("mouseDown",i,s),i.dispatchEvent("mouseClick",i,s),this.Za("up",document),i.hasEventListener("mouseDrag")&&(this.Za("move",document),this.bb||(this.bb=!0,i.style.touchAction="none")),void(i.hasEventListener("mouseRepeat")&&(this.Aa||(this.Aa=this.u.bind(this)),this.db=0,this.eb=Date.now(),this.Ba=setInterval(this.Aa,100))))},u.u=function(){Date.now()-this.eb+1>300&&this.wa.dispatchEvent("mouseRepeat",this.wa,this.Ka)},u.ab=null,u.Qa=function(t){if(this._a("move",document),this._a("up",document),this.Ma||t.preventDefault&&t.preventDefault(),!this.ab&&this.wa){this.ab=!0;var e;this.ya==f.TOUCH&&(e=t.changedTouches[0]),this.Ka.event=t,this.Ka.touch=e,this.wa.hasEventListener("mouseRepeat")&&clearInterval(this.Ba),this.Ea&&this.fb(t),this.wa&&this.wa.dispatchEvent&&this.wa.dispatchEvent("mouseUp",this.wa,this.Ka)}},u.Pa=function(t){var e,i;t.stopPropagation&&t.stopPropagation(),this.Ma||t.preventDefault&&t.preventDefault(),this.ya==f.TOUCH&&(e=t.changedTouches[0]),
this.xa&&(i=r(e||t,this.xa,this.cb.element),i&&(i.deltaX=i.pageX-this.Na.pageX,i.deltaY=i.pageY-this.Na.pageY,i.dragX=this.Na.x+i.deltaX,i.dragY=this.Na.y+i.deltaY,i.event=t,i.touch=e,i.startX=this.Na.mouseX,i.startY=this.Na.mouseY,i.start=this.Na,this.Ka=i,this.wa.dispatchEvent("mouseDrag",this.wa,i)))},u.gb=function(t){var e=r(t,this.xa,this.cb.element),i=this.hb;a(t,this.wa)?(i||(this.wa.dispatchEvent("mouseOver",this.wa,e),this.hb=!0),this.wa.dispatchEvent("mouseMove",this.wa,e)):i&&(document.removeEventListener(b[(this.ya||f.MOUSE)-1].move,this.Ia,!1),this.wa.dispatchEvent("mouseOut",this.wa,e),this.La=!1,this.hb=!1)},u.Ra=function(t){this.cb||(this.cb=o(this.wa)),this.La||(document.addEventListener(b[(this.ya||f.MOUSE)-1].move,this.Ia,!1),this.La=!0)},u.enableMouseOver=function(t){return this.Ia||(this.Ia=this.gb.bind(this)),this.ya?(this.cb||(this.cb=o(this.wa)),void(t?this.Za("over"):this._a("over"))):void(this.$a=1)},u.Sa=function(t){this.Qa(t)},u.Ta=function(t){this.Qa(t)},u.Ua=function(t){this.Qa(t)},u.fb=function(t){var e,i;this.Ca||(this.Ca=0,this.Da=Date.now(),this.ib||(this.ib=this.jb.bind(this)),this.kb=setTimeout(this.ib,d)),e=Date.now()-this.Da,this.Ca++,2==this.Ca&&d>e&&(this.cb||(this.cb=o()),i=r(t,this.xa,this.cb.element),this.wa.dispatchEvent("doubleClick",this.wa,i)),e>d&&this.jb()},u.jb=function(){this.Ca=0},u.enableDoubleClick=function(t){this.Ea=t},u.destroy=function(){if(this.za){clearInterval(this.Ba),this._a("down"),this._a("up",document),this._a("move",document),this._a("over"),this.La&&document.removeEventListener(b[(this.ya||f.MOUSE)-1].move,this.Ia,!1);for(var t in this.za)this.za[t]=null;this.ya=null,this.enabled=null,this.za=null,this.Aa=null,this.Ba=null,this.eb=null,this.db=null,this.Ca=null,this.Da=null,this.Ea=null,this.ib=null,this.Fa=null,this.Ga=null,this.Ha=null,this.Ia=null,this.Ja=null,this.$a=null,this.Ka=null,this.hb=null,this.La=null,this.wa=null,this.xa=null}},u.setEnabled=function(t){this.enabled=t},c=null,jbeeb.MouseEventListener=MouseEventListener}(),jbeeb.DomPointer=function(t,e){return new function(){this.type="globalTestObj",this.stage=t,this.amStage=!0,this.element=t,this.MELbubble=!1,this.MELpropagate=!1,this.MEL=new jbeeb.MouseEventListener(this),this.style={},this.listenerKinds=[],this.dispatchEvent=function(i,s,n,h){s.element=t,e(i,s,n,h)},this.addListener=function(t,e,i,s,n){this.listenerKinds.indexOf(t)<0&&this.listenerKinds.push(t)},this.hasEventListener=function(t){return!(this.listenerKinds.indexOf(t)<0)},this.destroy=function(){this.type=null,this.stage=null,this.amStage=null,this.element=null,this.MELbubble=null,this.MELpropagate=null,this.MEL=null,this.style=null,this.dispatchEvent=null,this.addListener=null,this.listenerKinds=null}}},this.jbeeb=this.jbeeb||{},function(){"use strict";function t(t,e,i){t.addEventListener(e,i,!1)}function e(t,e,i){t.removeEventListener(e,i,!1)}function i(t){for(var e=null,i=t,s=0;!e;){if(i.amStage)e=i;else{if(!i.parent)break;i=i.parent}if(s>100)break;s++}e?t.stage=e:t.stage=t}function s(t){if(!c[u])return!1;if("touch"==u){t.changedTouches[0];return t}return t}function n(){for(var t=r.length;t--;)r.splice(t,1)[0]()}function h(t,e,i){a(),u=i,c=o[i],n()}function l(){var t,e,i,s,n,l;for(d={},t=0;t<f.length;t++){e=f[t],i=o[e],d[e]={};for(s in i)n=i[s],n&&(l=function(t,e){return function(i){h(i,t,e)}}(s,e),d[e][n]=l,document.addEventListener(n,l))}}function a(){var t,e,i,s,n;for(t=0;t<f.length;t++){e=f[t],i=d[e];for(s in i)n=i[s],document.removeEventListener(s,n),i[s]=null;d[e]=null}d=null}var o,r,u,c,d,f,b=jbeeb.Utils.getXYWH,p=(jbeeb.Browser.chrome&&jbeeb.Browser.android,function(t){this.init(t)}),m=p.prototype;m.db=0,m.eb=0,m.lb=300,m.mb=0,m.nb=2,m.ob=!1,m.pb=null,m.qb=0,m.rb=0,m.sb=0,m.tb=0,m.Ka={},m.ub=!1,m.vb=!1,m.wb=!0,m.xb=0,m.yb=0,m.zb=!1,m.Ab=0,m.Bb=0,m.wa=null,m.init=function(t){this.db=0,this.eb=0,this.lb=300,this.mb=0,this.nb=2,this.ob=!1,this.pb=null,this.qb=0,this.rb=0,this.sb=0,this.tb=0,this.Ka={},this.ub=!1,this.vb=!1,this.wb=!0,this.xb=0,this.yb=0,this.zb=!1,this.Ab=0,this.Bb=0,this.wa=t,this.Cb=this.Db.bind(this),this.Eb=this.Fb.bind(this),this.Gb=this.Hb.bind(this),this.Ib=this.Jb.bind(this),this.Kb=this.Lb.bind(this),this.Cb=this.Db.bind(this),this.Mb=this.Nb.bind(this),this.Ob=this.Pb.bind(this),c?this.Pb():r.push(this.Ob)},m.Pb=function(){this.Qb=null,e(this.wa.element,c.down,this.Mb),t(this.wa.element,c.down,this.Mb)},m.setEnabled=function(t){this.wb=t},m.Rb=function(t){var e,i,s=t.changedTouches[0];switch(t.type){case"touchstart":e="mousedown";break;case"touchmove":e="mousemove";break;case"touchend":e="mouseup";break;default:return}e&&(t.preventDefault(),i=document.createEvent("MouseEvent"),i.initMouseEvent(e,!0,!0,window,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),i.metouch=1,s.target.dispatchEvent(i))},m.tick=function(t){0==this.db&&(this.mb=0,this.eb=t.time),this.db=t.time-this.eb+1,this.db>300&&(this.mb++,this.mb>this.nb&&(this.mb=0,this.wa.dispatchEvent("mouseRepeat",this.wa,this.Ka)))},m.Sb=function(t,e){var i,s,n,h,l,a,o,r,u,c,d,f,p,m,g=document;for(null==t.pageX&&null!=t.clientX&&(t.pageX=t.clientX+(g&&g.scrollLeft||body&&body.scrollLeft||0)-(g&&g.clientLeft||body&&body.clientLeft||0),t.pageY=t.clientY+(g&&g.scrollTop||body&&body.scrollTop||0)-(g&&g.clientTop||body&&body.clientTop||0)),n=this.wa.stage,this.pb||(this.pb=b(n.element)),h=t.pageX,l=t.pageY,a=0,o=0,r=n.element,this.xb=0,this.yb=0;r;)this.xb+=r.scrollLeft||0,this.yb+=r.scrollTop||0,r=r.parentNode||null;if(h+=this.xb,l+=this.yb,i=h-this.pb.x,s=l-this.pb.y,n.mouseX=i,n.mouseY=s,u=i,c=s,d=e.parent){for(;!d.amStage;)a+=d.element.scrollLeft,o+=d.element.scrollTop,i-=d.x,s-=d.y,d=d.parent;u=i,c=s}return this.zb===!1&&(f=g.defaultView.getComputedStyle(g.body,""),this.zb=parseFloat(f.marginTop),this.Ab=parseFloat(f.marginLeft)),p=i-e.x-this.zb,m=s-e.y-this.Ab,{mouseX:p,mouseY:m,parentX:u,parentY:c,pageX:h,pageY:l,scrollX:a,scrollY:o,event:t}},m.Jb=function(t){var i=s(t);e(document,c.move,this.Kb),this.Ka.event=i,this.wa.hasEventListener("mouseRepeat")&&jbeeb.ticker.removeEventListener("tick",this.tick,this),e(document,c.up,this.Ib),this.db=0,this.wa.dispatchEvent("mouseUp",this.wa,this.Ka)},m.Lb=function(t){var e=s(t);return e.preventDefault(),this.Ka=this.Sb(e,this.wa),this.Ka.startX=this.qb,this.Ka.startY=this.rb,this.Ka.dragX=this.Ka.parentX-this.qb+this.Ka.scrollX,this.Ka.dragY=this.Ka.parentY-this.rb+this.Ka.scrollY,this.Ka.deltaX=this.Ka.dragX-this.sb,this.Ka.deltaY=this.Ka.dragY-this.tb,this.Ka.event=e,this.wa.dispatchEvent("mouseDrag",this.wa,this.Ka),!1},m.Nb=function(n){var h=s(n);return!!this.wb&&(this.wa.stage||i(),this.pb=null,this.Ka=this.Sb(h,this.wa),this.qb=this.Ka.startX=this.Ka.mouseX+this.Ka.scrollX,this.rb=this.Ka.startY=this.Ka.mouseY+this.Ka.scrollY,this.sb=this.Ka.dragX=this.Ka.parentX-this.qb,this.tb=this.Ka.dragY=this.Ka.parentY-this.rb,this.Ka.deltaX=0,this.Ka.deltaY=0,this.Ka.event=h,this.wa.MELbubble||(n.stopPropagation&&n.stopPropagation(),n.preventDefault&&!this.wa.editable&&n.preventDefault()),this.wa.dispatchEvent("mouseDown",this.wa,this.Ka),this.wa.dispatchEvent("mouseClick",this.wa,this.Ka),e(document,c.up,this.Ib),t(document,c.up,this.Ib),this.wa.hasEventListener("mouseDrag")&&(e(document,c.move,this.Kb),t(document,c.move,this.Kb)),this.wa.hasEventListener("mouseRepeat")&&jbeeb.ticker.addEventListener("tick",this.tick,this),!1)},m.Db=function(t){var i=s(t);if(i)return this.Tb(i,"in")?(this.vb||(this.wa.dispatchEvent("mouseOver",this.wa,this.Ka),this.vb=!0),this.wa.dispatchEvent("mouseMove",this.wa,this.Ka),!1):(this.vb&&(e(document,c.move,this.Cb),this.wa.dispatchEvent("mouseOut",this.wa,this.Ka),this.ub=!1,this.vb=!1),!1)},m.Tb=function(t,e){this.Ka=this.Sb(t,this.wa),this.qb=this.Ka.startX=this.Ka.mouseX+this.Ka.scrollX,this.rb=this.Ka.startY=this.Ka.mouseY+this.Ka.scrollY,this.sb=this.Ka.dragX=this.Ka.parentX-this.qb,this.tb=this.Ka.dragY=this.Ka.parentY-this.rb,this.Ka.deltaX=0,this.Ka.deltaY=0,this.Ka.event=t;var i,s,n,h;if(i=this.Ka.mouseX,s=this.Ka.mouseY,n=this.wa.width,h=this.wa.height,"in"==e){if(i>0&&s>0&&n>i&&h>s)return!0}else if(0>i||0>s||i>n||s>h)return!0;return!1},m.Fb=function(n){return s(n)&&(this.wa.stage||i(),this.ub||(e(document,c.move,this.Cb),t(document,c.move,this.Cb),this.ub=!0)),!1},m.enableMouseOver=function(t){if("touch"!=u)if(this.ob=t,this.wa.stage||i(),c)this.Ub();else{var e=this.Ub.bind(this);r.push(e)}},m.Ub=function(){this.ob?(e(this.wa.element,c.over,this.Eb),t(this.wa.element,c.over,this.Eb)):e(this.wa.element,c.over,this.Eb)},m.Hb=function(t){var e=s(t);return this.wa.stage||i(),this.Ka=this.Sb(e,this.wa),this.wa.dispatchEvent("doubleClick",this.wa,this.Ka),!1},m.enableDoubleClick=function(i){1==i?(e(this.wa.element,c.doubleClick,this.Gb),t(this.wa.element,c.doubleClick,this.Gb)):e(this.wa.element,c.doubleClick,this.Gb)},m.destroy=function(){jbeeb.ticker&&jbeeb.ticker.removeEventListener("tick",this.tick,this),e(document,c.op,this.Ib),e(document,c.move,this.Kb),e(document,c.move,this.Cb),e(this.wa.element,c.down,this.Mb),e(this.wa.element,c.over,this.Eb),e(this.wa.element,c.doubleClick,this.Gb),this.Cb=null,this.Eb=null,this.Gb=null,this.Ib=null,this.Kb=null,this.Cb=null,this.Mb=null,this.Qb=null,this.db=null,this.eb=null,this.lb=null,this.mb=null,this.nb=null,this.ob=null,this.pb=null,this.qb=null,this.rb=null,this.sb=null,this.tb=null,this.Ka=null,this.ub=null,this.vb=null,this.wa=null},m.type="Pointer",o={pointer:{down:"pointerdown",up:"pointerup",move:"pointermove",over:"pointerover",out:"pointerout",doubleClick:null},touch:{down:"touchstart",up:"touchend",move:"touchmove",over:null,out:null,doubleClick:"dblclick"},mouse:{down:"mousedown",up:"mouseup",move:"mousemove",over:"mouseover",out:"mouseout",leave:"mouseleave",doubleClick:"dblclick"}},r=[],u=null,c=null,f=["pointer","touch","mouse"],jbeeb.Pointer||(jbeeb.Pointer=p,l())}(),"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(t){return 10>t?"0"+t:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var i,s,n,h,l,a=gap,o=e[t];switch(o&&"object"==typeof o&&"function"==typeof o.toJSON&&(o=o.toJSON(t)),"function"==typeof rep&&(o=rep.call(e,t,o)),typeof o){case"string":return quote(o);case"number":return isFinite(o)?o+"":"null";case"boolean":case"null":return o+"";case"object":if(!o)return"null";if(gap+=indent,l=[],"[object Array]"===Object.prototype.toString.apply(o)){for(h=o.length,i=0;h>i;i+=1)l[i]=str(i,o)||"null";return n=0===l.length?"[]":gap?"[\n"+gap+l.join(",\n"+gap)+"\n"+a+"]":"["+l.join(",")+"]",gap=a,n}if(rep&&"object"==typeof rep)for(h=rep.length,i=0;h>i;i+=1)"string"==typeof rep[i]&&(s=rep[i],n=str(s,o),n&&l.push(quote(s)+(gap?": ":":")+n));else for(s in o)Object.prototype.hasOwnProperty.call(o,s)&&(n=str(s,o),n&&l.push(quote(s)+(gap?": ":":")+n));return n=0===l.length?"{}":gap?"{\n"+gap+l.join(",\n"+gap)+"\n"+a+"}":"{"+l.join(",")+"}",gap=a,n}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,i){var s;if(gap="",indent="","number"==typeof i)for(s=0;i>s;s+=1)indent+=" ";else"string"==typeof i&&(indent=i);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var i,s,n=t[e];if(n&&"object"==typeof n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(s=walk(n,i),void 0!==s?n[i]=s:delete n[i]);return reviver.call(t,e,n)}var j;if(text+="",cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e,i){this.Vb(t,e,i)},e=t.prototype;e.Wb=!1,e.Xb=!1,e.Yb="2147480000",e.Zb=null,e.$b=null,e._b=null,e.ac=null,e.bc=null,e.cc=null,e.dc=null,e.ec=null,e.fc=null,e.gc=null,e.hc=null,e.ic=null,e.jc=null,e.kc=null,e.lc=null,e.Vb=function(t,e,i){var s,n,h,l,a,o,r,u,c,d,f,b,p,m,g=jbeeb.Browser;this.Wb=!1,this.mc={},this.Xb=g.fullscreen,this._b=g,this.fc=i,this.Xb&&(s=g.chrome,n=g.ie,h=g.moz,l=g.webkit,a=g.oldWebkit,o=g.ios,r=g.opera,u="undefined",c=document,d="requestFullscreen",f="exitFullscreen",b="fullscreenchange",p="fullscreen",m="fullscreenElement",l?(a?(d="webkitRequestFullScreen",f="webkitCancelFullScreen"):(d="webkitRequestFullscreen",f="webkitExitFullscreen"),b="webkitfullscreenchange",p="webkitFullscreen",m="webkitFullscreenElement"):h?(d="mozRequestFullScreen",f="mozCancelFullScreen",b="mozfullscreenchange",p="mozFullscreen",m="mozFullScreenElement"):r?(d="oRequestFullScreen",f="oExitFullScreen",b="ofullscreenchange",p="oFullscreen",m="oFullscreenElement"):n&&(d="msRequestFullscreen",f="msExitFullscreen",b="MSFullscreenChange",p="msFullscreen",m="msFullscreenElement"),this.ac=d,this.bc=f,this.cc=b,this.dc=p,this.ec=m,this.jc=this.nc.bind(this)),this.$b=e,this.setFullscreenObject(t)},e.oc=null,e.setFullscreenObject=function(t,e){var i,s;t?(i=t.element,this.Zb=i,this.hc=t,this.oc=0,this.Xb&&"MediaController"==t.type&&e&&(s=(e.nodeName+"").toLowerCase(),"video"==s&&(this.Zb=e,this.oc=1,this._b.ios&&this._b.safari&&(this.ac="webkitEnterFullScreen")))):(this._b.ios&&this._b.safari&&(this.Zb.removeEventListener("webkitbeginfullscreen",this.jc),this.Zb.removeEventListener("webkitendfullscreen",this.jc)),this.Zb=null,this.hc=null,this.oc=0)},e.enter=function(t){this.Zb&&(this.Wb=1,this.Xb?(this.ic=-1,document.removeEventListener(this.cc,this.jc),document.addEventListener(this.cc,this.jc),this._b.webkit?this._b.oldWebkit?this.Zb[this.ac]():void 0!==Element.ALLOW_KEYBOARD_INPUT?this.Zb[this.ac](Element.ALLOW_KEYBOARD_INPUT):this.Zb[this.ac]():this.Zb[this.ac](),this._b.ios&&this._b.safari&&(this.Zb.removeEventListener("webkitbeginfullscreen",this.jc),this.Zb.removeEventListener("webkitendfullscreen",this.jc),this.Zb.addEventListener("webkitbeginfullscreen",this.jc,!1),this.Zb.addEventListener("webkitendfullscreen",this.jc,!1)),this.oc||this.pc()):this.pc(),this.qc(1))},e.nc=function(t){this.ic++,this.ic>0&&this.exit()},e.qc=function(t){this.$b&&this.$b(t)},e.exit=function(t){this.Wb=0,this.ic=-1,this.qc(0),this.Xb?(document[this.bc]&&document[this.bc](),document.removeEventListener(this.cc,this.jc),this._b.ios&&this._b.safari&&(this.Zb.removeEventListener("webkitbeginfullscreen",this.jc),this.Zb.removeEventListener("webkitendfullscreen",this.jc)),this.oc||this.rc()):this.rc()},e.sc=function(t){27==(t.which||t.keyCode)&&this.exit()},e.tc=function(t,e){27==e&&this.exit()},e.uc=null,e.pc=function(){var t,e,i,s=window.getComputedStyle(this.Zb);this.lc={p:s.getPropertyValue("position"),x:parseInt(s.getPropertyValue("left")),y:parseInt(s.getPropertyValue("top")),w:parseInt(s.getPropertyValue("width")),h:parseInt(s.getPropertyValue("height")),z:parseInt(s.getPropertyValue("z-index"))||0},t=this.Zb.style,t.top="0px",t.left="0px",t.width="100%",t.height="100%",this.Xb||(e=new jbeeb.Rube({w:24,h:24,fill:[{color:"#000000",alpha:.45183},{color:"#797979",alpha:.76151}],stroke:[{weight:2,color:"#e0e0e0",alpha:1},{weight:2,color:"#ffffff",alpha:1}],rounded:.31947,text:"x",font:"WimpyPlayerGlyphs",align:"center",textColor:[{color:"#ffffff",alpha:1},{color:"#ffffff",alpha:1}]}),i=e.style,i.position="fixed",i.left="",i.right="10px",i.top="10px",i.zIndex=this.Yb+1,e.addMEL("mouseDown",this.vc,this),e.addMEL("mouseUp",this.wc,this),this.uc=e,document.body.appendChild(e.element),t.zIndex=this.Yb-1,t.position="fixed"),this.kc||(this.kc=this.sc.bind(this)),jbeeb.Utils.bindEvent(window,"keydown",this.kc)},e.vc=function(t,e,i){t.setState(1)},e.wc=function(t,e,i){t.setState(2),this.exit()},e.rc=function(){var t,e,i;jbeeb.Utils.unbindEvent(window,"keydown",this.kc),this.Xb||(t=this.lc,e=this.Zb.style,e.position="relative",e.left=t.x+"px",e.top=t.y+"px",e.width=t.w+"px",e.height=t.h+"px",e.zIndex=t.z,i=this.uc,i.removeAllMEL(),i.destroy()),this.hc.setXYWH(this.hc.x,this.hc.y,this.hc.width,this.hc.height)},e.destroy=function(){this.$b=null,this.jc=null,(0,jbeeb.Utils.unbindEvent)(window,"keydown",this.kc),this.kc=null},jbeeb.Fullscreen=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){var e,i,s,n,h,l,a,o,r,u,c,d,f,b,p=function(t){return"string"==typeof t&&(t=t.toLowerCase()),t===!0||1===t||"1"===t||"true"===t},m=function(t){return void 0!==t&&null!==t},g=function(){return(new Date).getTime()},y=("undefined"!=typeof navigator?navigator.userAgent:"").toLowerCase(),v=function(t){var e=y.match(t);return e&&e.length>1&&e[1]||""},w=!1,k=0;if(/msie|trident/i.test(y)&&(w=!0,k=parseInt(v(/(?:msie |rv:)(\d+(\.\d+)?)/i)||v(/version\/(\d+(\.\d+)?)/i))),w&&"CSS1Compat"!=document.compatMode&&(k=8),e={},e.bgcolor=t.bgcolor||"#000000",t.scale&&(e.scale=t.scale),t.salign&&(e.salign=t.salign),t.allowScriptAccess&&(p(t.allowScriptAccess)?e.allowScriptAccess="always":e.allowScriptAccess=t.allowScriptAccess),t.allowFullScreen&&(e.allowFullScreen=p(t.allowFullScreen)?"true":"false"),t.menu&&(e.menu=p(t.menu)?"true":"false"),t.wmode&&(e.wmode=t.wmode||"opaque"),t.flashvars){i=t.flashvars,s=[];for(n in i)s.push(n+"="+escape(i[n]));e.flashVars=s.join("&")}if(e.allowScriptAccess=e.allowScriptAccess?e.allowScriptAccess:"always",h=t.swf,l=w?"cb="+g():"",h+=e.flashVars?"?"+encodeURIComponent(e.flashVars)+"&"+l:"?"+l,w&&10>k){r="",9>k?(u="jbeebFlashElementReplacing"+g(),t.element.innerHTML='<div id="'+u+'"></div>',o=document.getElementById(u),i="8,0,0,0",c=t.flashVersion,c&&(d=parseInt(i),d>4&&(i=d+",0,0,0")),r+='<object codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+i+'"'):(o=document.createElement("DIV"),t.element.appendChild(o),r+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'),r+=' style="outline:0px;',m(t.x)&&(r+="left:"+(t.x||"0")+"px;"),m(t.y)&&(r+="top:"+(t.y||"0")+"px;"),r+='"',r+=' id="'+t.id+'"',r+=' width="'+t.w+'"',r+=' height="'+t.h+'"',r+=">",r+='<param name="movie" value="'+h+'" />',f="",f+='src="'+h+'" ',f+='name="'+t.id+'" id="'+t.id+'" ',f+='width="'+t.w+'" ',f+='height="'+t.h+'" ';for(n in e)r+='<param name="'+n+'" value="'+e[n]+'" />',f+=n+'="'+e[n]+'" ';9>k?r="<embed "+f+"/>":r+="</object>",o.outerHTML=r,a=document.getElementById(t.id)}else{a=document.createElement("object"),a.id=t.id,a.width=t.w,a.height=t.h,a.style.outline=0,m(t.x)&&(a.style.left=t.x||"0px"),m(t.y)&&(a.style.top=t.y||"0px"),a.type="application/x-shockwave-flash",a.data=h;for(n in e)b=document.createElement("param"),b.setAttribute("name",n),b.setAttribute("value",e[n]),a.appendChild(b);t.element.appendChild(a)}return a};jbeeb.FlashElement=t}(),function(){"use strict";var t=function(t){function e(t){var e,i;if(e="string"==typeof t?document.getElementById(t):t){for(i in e)"function"==typeof e[i]&&(e[i]=null);e.parentNode.removeChild(e)}}var i;i="string"==typeof t?document.getElementById(t):t,i&&/object|embed/i.test(i.nodeName)&&(jbeeb.Browser.ie?(i.style.display="none",function(){4==i.readyState?e(id):setTimeout(arguments.callee,10)}()):i.parentNode.removeChild(i))};jbeeb.FlashElementRemove=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(){function t(t){return t?a:a[0]+"."+a[1]}function e(t){return"string"==typeof t&&(t=t.replace(/\,/gi,".")),t=(""+t).split("."),t[1]=t[1]||0,t[2]=t[2]||0,a[0]>t[0]||a[0]==t[0]&&a[1]>t[1]||a[0]==t[0]&&a[1]==t[1]&&a[2]>=t[2]}var i,s,n,h,l=window.navigator,a=(window.navigator.userAgent.toLowerCase(),[0,0,0]),o="Shockwave Flash",r="application/x-shockwave-flash",u=l.plugins;if(void 0!==u&&"object"==typeof u[o]){if(i=u[o].description,s=l.mimeTypes,i&&(void 0===s||!s[r]||s[r].enabledPlugin))for(a=i.replace(o,"").replace(/^\s+/,"").replace(/\sr/gi,".").split("."),n=0;n<a.length;n++)a[n]=parseInt(a[n].match(/\d+/),10)}else if(void 0!==window.ActiveXObject)try{h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),h&&(i=h.GetVariable("$version"),i&&(i=i.split(" ")[1].split(","),a=[parseInt(i[0],10),parseInt(i[1],10),parseInt(i[2],10)]))}catch(t){}return{hasVersion:e,getVersion:t}};jbeeb.FlashDetect||(jbeeb.FlashDetect=t())}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t,e=function(t){return this.init(t),this};e.ba=[],t=e.prototype,t.w=null,t.h=null,t.controls=null,t.controlsList=null,t.url="",t.onComplete=null,t.target=null,t.amSM=!1,t.rawData=null,t.sourceX=null,t.sourceY=null,t.sourceW=null,t.sourceH=null,t.width=null,t.height=null,t.styles=null,t.bkgdColor=null,t.xc=null,t.yc=null,t.zc=null,t.Ac=null,t.Bc=null,t.Cc=null,t.init=function(t){this.target=t.target,this.amSM=t.amSM,this.onComplete=t.onComplete,this.Bc=t.preSort,this.zc=t.preProcess,this.Ac=t.postProcess,t.url&&this.load(t.url)},t.clear=function(){var t,e;if(this.controls){for(t in this.controls)e=this.controls[t],e&&(e.removeAllMEL&&e.removeAllMEL(),e.removeAllEventListeners&&e.removeAllEventListeners(),e.element&&e.element.parentNode&&e.element.parentNode.removeChild(e.element),this.target&&e&&this.target.removeChild(e),e.destroy&&e.destroy(),e=null),this.controls[t]=null,this.styles[t]=null;this.controls=null,this.controlsList=null}},t.destroy=function(){this.zc=null,this.Ac=null,this.xc&&this.xc.cancel(),this.xc=null,this.yc&&this.yc.cancel(),this.yc=null,this.clear(),this.onComplete=null,this.controls=null,this.controlsList=null,this.styles=null},t.load=function(t,i){var s,n,h,l;if(this.clear(),this.xc&&this.xc.cancel(),this.Cc=0,t)if(this.url=t,i&&(this.onComplete=i),"string"==typeof t)if("{"==t.substr(0,1))this.yc=new jbeeb.DelayCall(this.setup.bind(this),1,t);else{for(s=e.ba,n=0,h=0;h<s.length;h++)l=s[h],t==l.url&&(n=l.raw);n?this.yc=new jbeeb.DelayCall(this.setup.bind(this),1,n):(this.Cc=1,this.xc=new jbeeb.TextLoader(t,this.setup.bind(this)))}else this.yc=new jbeeb.DelayCall(this.setup.bind(this),1,t)},t.setup=function(t){var i,s,n,h,l,a,o,r,u,c,d,f,b;if(this.clear(),this.xc=null,this.controls={},this.controlsList=[],this.styles={},t=t||null,this.Cc&&e.ba.push({url:this.url,raw:t}),i="string"==typeof t?jbeeb.Utils.parseJSON(t)||{}:t||{},i.thumbnail=null,this.rawData=jbeeb.Utils.clone(i),s=this.target,this.bkgdColor=i.bkgdColor||"#FFFFFF",n=jbeeb.Utils.sortOn,h=i.layout,l=null,h){for(n(h,"z",!1,!0),this.Bc&&this.Bc(h),a=0,o=0,r=jbeeb.Utils.isNumber(i.x)?i.x:100,u=jbeeb.Utils.isNumber(i.y)?i.y:100,this.amSM&&(c=jbeeb.Utils.getWindowSize(),r+i.width>c.w&&(r=10),u+i.height>c.h&&(u=10)),this.sourceX=r,this.sourceY=u,this.sourceW=this.width=i.width,this.sourceH=this.height=i.height,d=0;d<h.length;d++)f=h[d],f.children&&n(f.children,"z",!1,!0),this.Dc(f,i),this.amSM&&(f.x+=r,f.y+=u),b=f.x+f.w,b>a&&(a=b),b=f.y+f.h,b>o&&(o=b),this.addObject(f);this.amSM&&(a-=r||0,o-=u||0),this.sourceW=a,this.sourceH=o,s.amStage&&s.setSize(a,o),l=1}this.onComplete&&this.onComplete(l)},t.Dc=function(t,e){var i,s;if(this.Ec(t.image,e),t.children)for(i=t.children,s=0;s<i.length;s++)this.Dc(i[s],e)},t.Ec=function(t,e){var i,s;if(t&&e.images)if(jbeeb.Utils.isArray(t))for(i=0;i<t.length;i++)s=t[i],this.Fc(s,e);else s=t,this.Fc(s,e)},t.Fc=function(t,e){if(t&&t.url&&"JBEEBIMAGE_"==t.url.substr(0,11)){var i=e.images[t.url];i&&"JBEEBIMAGE_"==i.substr(0,11)&&(i=e.images[i]),t.url=i}},t.removeObject=function(t){var e,i,s,n,h=t.name;for(e in this.controls)if(i=this.controls[e],t==i){s=i.name,this.target.removeChild(i),i.destroy(),i=null,this.controls[s]=null,this.styles[s]=null;break}for(n=0;n<this.controlsList.length;n++)this.controlsList[n]==h&&this.controlsList.splice(n,1)},t.addObject=function(t,e){var i,s,n,h,l,a=e||this.target;for(this.zc&&(t=this.zc(t)),i=t.name||jbeeb.getUID(),s=1,n=i;this.controlsList.indexOf(n)>-1;)n=i+"_"+s++;return n!=i&&(i=n),h=t.type,l=this.Gc(t),l?(l.name=i,e?e.addChild(l):(this.controls[i]=l,this.controlsList.push(i),a.addChild(l)),this.styles[i]=jbeeb.Utils.clone(t),this.Ac&&this.Ac(l),l):null},t.Gc=function(t){var e,i=null;return t&&(t.amSM=this.amSM,e=t.type,e&&("Box"==e?(i=this.amSM?new jbeeb.Container(t):new jbeeb.Box(t),i.temp.originalType="Box"):"TextBox"==e?(i=this.amSM?new jbeeb.TextContainer(t):new jbeeb.TextBox(t),i.temp.originalType="TextBox"):"TextScroller"==e?(i=this.amSM?new jbeeb.TextContainer(t):new jbeeb.TextScroller(t),i.temp.originalType="TextScroller"):"Thinker"==e?(i=this.amSM?new jbeeb.TextContainer(t):new jbeeb.Thinker(t),i.temp.originalType="Thinker"):void 0!==jbeeb[e]&&(i=new jbeeb[e](t)),this.Hc(i,t))),i},t.Hc=function(t,e){var i,s,n;if(("Container"==e.type||"TextContainer"==e.type)&&e.children)for(i=e.children,s=0;s<i.length;s++)n=this.Gc(i[s]),n&&t.addChild(n)},t.toString=function(){return"[Skin (url="+this.url+")]"},t.type="Skin",jbeeb.Skin=e}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(){function t(t){var e,i,s,h,l;if(n=!1,e=t.obj)for(i=e.style,i.mozTransition=i.oTransition=i.msTransition=i.webkitTransition=i.transition=t.css,s=t.funcs,h=0;h<s.length;h++)l=s[h],l.f.call(e,l.e)}function e(e){t(e)}var i={},s=!1,n=!1,h=null,l=new jbeeb.Ticker({interval:500}),a={in:"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",linear:"cubic-bezier(0.250, 0.250, 0.750, 0.750)","ease-in-quad":"cubic-bezier(0.550, 0.085, 0.680, 0.530)","ease-in-cubic":"cubic-bezier(0.550, 0.055, 0.675, 0.190)","ease-in-quart":"cubic-bezier(0.895, 0.030, 0.685, 0.220)","ease-in-quint":"cubic-bezier(0.755, 0.050, 0.855, 0.060)","ease-in-sine":"cubic-bezier(0.470, 0.000, 0.745, 0.715)","ease-in-expo":"cubic-bezier(0.950, 0.050, 0.795, 0.035)","ease-in-circ":"cubic-bezier(0.600, 0.040, 0.980, 0.335)","ease-in-back":"cubic-bezier(0.600, -0.280, 0.735, 0.045)","ease-out-quad":"cubic-bezier(0.250, 0.460, 0.450, 0.940)","ease-out-cubic":"cubic-bezier(0.215, 0.610, 0.355, 1.000)","ease-out-quart":"cubic-bezier(0.165, 0.840, 0.440, 1.000)","ease-out-quint":"cubic-bezier(0.230, 1.000, 0.320, 1.000)","ease-out-sine":"cubic-bezier(0.390, 0.575, 0.565, 1.000)","ease-out-expo":"cubic-bezier(0.190, 1.000, 0.220, 1.000)","ease-out-circ":"cubic-bezier(0.075, 0.820, 0.165, 1.000)","ease-in-out-quart":"cubic-bezier(0.770, 0.000, 0.175, 1.000)","ease-in-out-quint":"cubic-bezier(0.860, 0.000, 0.070, 1.000)","ease-in-out-sine":"cubic-bezier(0.445, 0.050, 0.550, 0.950)","ease-in-out-expo":"cubic-bezier(1.000, 0.000, 0.000, 1.000)","ease-in-out-circ":"cubic-bezier(0.785, 0.135, 0.150, 0.860)","ease-in-out-back":"cubic-bezier(0.680, -0.550, 0.265, 1.550)","ease-in-bounce":"cubic-bezier(0.7,0.28,0.67,1.53)","whip-in":"cubic-bezier(0.7,0.28,0.67,1.53)"},o=function(h,l,o,u,c,d){var f,b,p,m,g,y,v,w,k,j,x,S,E;s||(n=!0,r()),f="string"==typeof u?a[u]:1===u?"ease-out":u===-1?"ease-in":"linear",b=[],p=[],m=[];for(g in l)y=l[g],v=h[g],w=y-v,k={v:g,f:h.setAlpha,s:v,e:y,d:w},"alpha"==g?k.f=h.setAlpha:"x"==g?k.f=h.setX:"y"==g?k.f=h.setY:"width"==g?k.f=h.setWidth:"height"==g?k.f=h.setHeight:"scale"==g?k.f=h.setScale:"scrollTop"==g?k.f=function(t){h.element.scrollTop=t}:"scrollLeft"==g&&(k.f=function(t){h.element.scrollLeft=t}),b.push(g),p.push(k);return m="all "+o+"ms "+f,j=h.id+b.sort().join(""),x={elapsed:0,duration:o,delayElapsed:0,delay:c||0,obj:h,funcs:p,complete:d,id:j,css:m},S=i[j],S&&(E=S.elapsed,x.duration=o>E?o-E:o),i[j]=x,c=c||0,c>0?new jbeeb.DelayCall(e,c,x):t(x),x},r=function(){h&&h.cancel(),l.state||(l.start(),l.addEventListener("tick",d,this))},u=function(){n||(h=new jbeeb.DelayCall(c,3e3))},c=function(){l.removeAllEventListeners(),l.stop(),h=null},d=function(t){var e,s,n,h=0,l=t.delta;for(e in i)if(s=i[e])if(h++,s.delayElapsed<s.delay)s.delayElapsed+=l;else if(s.elapsed>s.duration)s.complete&&s.complete(),f(s);else for(n=0;n<s.funcs.length;n++)s.elapsed+=l;else f(s);1>h&&u()},f=function(t){var e,s,n=t.id;t.obj&&(e=t.obj.style,e.mozTransition=e.oTransition=e.msTransition=e.webkitTransition=e.transition="none");for(s in t)t[s]=null;delete i[n]};return{to:o,tick:d,type:"Animate",cancel:f,start:r,stop:u,runDelayed:e}};jbeeb.Animate=t()}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e){this.Ic=t,this.Jc=!1;var i=[].slice.call(arguments);i.splice(0,2),this.Kc=i,this.Lc=setTimeout(this.Mc.bind(this),e||1)},e=t.prototype;e.Ic=null,e.Nc=null,e.Lc=null,e.Jc=null,e.Kc=null,e.Mc=function(){var t,e;this.Jc||(t=this.Ic,e=this.Kc,t&&e&&e.length>0?t.apply(null,e):t()),this.cancel()},e.cancel=function(){this.Jc=!0;var t=this.Lc;t&&clearTimeout(t),this.Ic=null,this.Nc=null,this.Lc=null,this.Kc=null},jbeeb.DelayCall=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=new jbeeb.Ticker({fps:60}),e=function(e,i,s,n,h){var l,a;for(this.Ic=i,this.xa=e,this.Oc=this.Pc.bind(this),l=[],a=0;a<s.length;a++)l.push({prop:s[a],last:null});this.Qc=l,h&&(t.start(),this.start())},i=e.prototype;i.Ic=null,i.xa=null,i.Oc=null,i.Rc=null,i.Sc=null,i.Qc=null,i.Pc=function(){var t,e,i,s,n=window.getComputedStyle(this.xa),h=this.Qc,l=h.length,a=(n.getPropertyValue,0);for(t=0;l>t;t++)if(e=h[t],i=n.getPropertyValue(e.prop),s=e.last,i!=e.last){a=1,e.last=i;break}a&&this.Ic()},i.stop=function(){t.removeEventListener("tick",this.Oc)},i.start=function(e){t.addEventListener("tick",this.Oc)},i.destroy=function(){this.stop(),this.Ic=null,this.xa=null,this.Oc=null,this.Rc=null,this.Sc=null,this.Qc=null},jbeeb.Observer=e}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t)},e=t.prototype;e.name=null,e.Tc=null,e.Uc=null,e.Vc=e.init,e.init=function(t){var e,i,s,n,h,l,a,o,r,u,c=jbeeb.Utils.absoluteURL(t.url),d=c.substring(c.lastIndexOf("/")+1,c.length),f=t.server;f&&(f=jbeeb.Utils.absoluteURL(f),e=jbeeb.PathInfo.parse(jbeeb.Utils.absoluteURL(c)),i=jbeeb.PathInfo.parse(f),e.domain!=i.domain?f=null:(s=e.parenturl,n=i.parenturl,s.substr(0,n.length)!=n&&(f=null))),f?(h=document.createElement("form"),h.method=t.method||"GET",h.action=f,h.target="_blank",l=document.createElement("input"),l.setAttribute("type","hidden"),l.setAttribute("name","f"),l.setAttribute("value",c),h.appendChild(l),document.body.appendChild(h),h.submit()):(window.MouseEvent||document.createEvent)&&jbeeb.Browser.w3c_download?(a=document.createElement("a"),a.href=c,a.target="_blank",a.type="application/octet-stream",a.download=d,window.MouseEvent?(o=new MouseEvent("click",{bubbles:!1,cancelable:!1,view:window}),r=!a.dispatchEvent(o),r&&window.open(c,"Download")):(u=document.createEvent("MouseEvents"),u.initEvent("click",!1,!1,window,null,0,0,0,0,!1,!1,!1,!1,0,null),a.dispatchEvent(u))):window.open(c,"Download")},e.toString=function(){return"[Downloader (name="+this.name+")]"},e.type="Downloader",jbeeb.Downloader=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){var e,i,s,n,h,l,a,o,r,u,c,d,f=function(t){if(!t)return"";var e=null;return e=void 0===t.xml?(new XMLSerializer).serializeToString(t):t.xml},b=function(e){var i,s,n,h;if(e=e.replace(/&amp;/gim,"___AMP___"),e=e.replace(/&/gim,"&amp;"),e=e.replace(/___AMP___/gim,"&amp;"),window.DOMParser){try{s=new DOMParser,i=s.parseFromString(e,"text/xml")}catch(t){
i=null}return i}for(n=[,"Microsoft.XMLDOM","MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument"],h=0;3>h;h++)try{if(t=new ActiveXObject(n[h]))break}catch(e){t=null}if(!t)return null;try{return t.async=!1,t.loadXML(e),t}catch(t){return null}};if("string"==typeof t&&(e=jbeeb.Utils.trim(t).substr(0,1),"<"==e&&(t=b(t))),!t)return[];i=[];try{s=t.firstChild}catch(t){return[{file:"ERROR: Invalid XML"}]}for(n=null,h=jbeeb.Utils.getAttributes(s),h.image&&(n=h.image),!n&&h.visual&&(n=h.visual),l=t.getElementsByTagName("item"),l.length||(l=t.getElementsByTagName("track")),a=0;a<l.length;a++){for(o={},r=l[a].firstChild;null!=r;r=r.nextSibling)if(1==r.nodeType)if(u=r.nodeName,"filename"==u&&(u="file"),"location"==u&&(u="file"),"visual"==u&&(u="image"),"filetype"==u&&(u="kind"),"creator"==u&&(u="artist"),r.firstChild){for(c="",d=r.firstChild;null!=d;d=d.nextSibling)c+=f(d);o[u]=c}else h=jbeeb.Utils.getAttributes(r),"media:content"==u?o.file=h.url:"media:thumbnail"==u&&(o.file=h.url);i.push(o)}return{cover:n,list:i}};jbeeb.PlaylistParserXML=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e){var i,s,n,h,l,a,o,r,u,c,d,f,b,p,m=jbeeb.Utils.trim,g=jbeeb.PathInfo.parse(e);for(g=g.parent?g.parent:"",i=[],s=m(t).split("\n"),n=s[0].toLowerCase(),"[playlist]"==n&&s.shift(),h=0,l=null,a=0;a<s.length;a++)o=m(s[a]),o&&(r={},u=o.split("="),c=u.shift().toLowerCase(),d=m(u.join("=")),f=c.split(/(\d)/),f.length>1&&(b=f.shift(),p=f.join(""),p!=h&&(l&&i.push(l),l={},h=p),"length"==b&&(b="seconds"),"file"==b&&"http"!=d.substr(0,4)&&"/"!=d.substr(0,1)&&(d=g+d),l[b]=d));return{cover:null,list:i}};jbeeb.PlaylistParserPLS=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e){var i,s,n,h,l,a,o,r,u,c,d,f=jbeeb.PathInfo.parse(e);for(f=f.parent?f.parent:"",i=[],s=jbeeb.Utils.trim,n=s(t).split("#EXTINF"),n.shift(),h=0;h<n.length;h++)l={},a=s(n[h]).split("\n"),o=a[0].split(","),l.seconds=s(o.shift().replace(":","")),r=o.join(","),u=r.split(" - "),u.length>1?(l.artist=s(u[0]),u.shift(),c=u.join(" - "),l.title=s(c)):l.title=part1,d=s(a[1]),"http"!=d.substr(0,4)&&"/"!=d.substr(0,1)&&(d=f+d),l.file=d,i.push(l);return{cover:null,list:i}};jbeeb.PlaylistParserM3U=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e){function i(t,e,i,s){i&&(s&&(i=s?s(i):i),t[e]=i)}function s(t){return t?/[A-Za-z]/.test(t)?Date.parse(t):parseInt(t):t}function n(t){var e=["mp3","wav","aac","m4a","mpa","oga","ogg","m4v","m4p","mp4","webm","ogx","ogv"],i=t.split("."),s=i.pop();return e.indexOf(s)>-1}var h,l,a,o,r,u,c,d,f,b,p,m,g,y=[],v=null;if("string"==typeof t&&(t=jbeeb.Utils.parseJSON(t.replace("!","%3F"))),t.responseData&&t.responseData.feed&&(h=t.responseData.feed.entries,l=t.responseData.feed.link,h))for(a=0;a<h.length;a++){if(o=h[a],r={},o.mediaGroups)for(u=o.mediaGroups,c=0;c<u.length;c++)d=u[c],f=d.contents,f&&f.length&&(f=f[0],b=f.url,b&&(r.file=b),f=f.thumbnails,f&&f.length&&(f=f[0],b=f.url,b&&(r.image=b)));b=o.enclosure,b&&(p=b.href,p&&(r.file=p)),m=o.link,r.file||m&&n(m)&&(r.file=m,m=null),r.file&&(g={},i(r,"title",o.title),i(r,"artist",o.author),i(r,"date",o.publishedDate,s),i(r,"link",m||l),y.push(r))}return{cover:v,list:y}};jbeeb.PlaylistParserFEED=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){var e,i,s,n,h,l,a,o,r,u,c,d=function(e){var i,s,n,h;if(window.DOMParser){try{s=new DOMParser,i=s.parseFromString(e,"text/xml")}catch(t){i=null}return i}for(n=[,"Microsoft.XMLDOM","MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument"],h=0;3>h;h++)try{if(t=new ActiveXObject(n[h]))break}catch(e){t=null}return t?(t.async=!1,t.loadXML(e),t):null};if("string"==typeof t&&(e=jbeeb.Utils.trim(t).substr(0,1),"<"==e&&(t=d(t))),!t)return[];i=[];try{s=t.firstChild}catch(t){return[{file:"ERROR: Invalid XML"}]}for(n=jbeeb.Utils.getAttributes,h=null,l=n(s),l.image&&(h=l.image),!h&&l.visual&&(h=l.visual),a=t.getElementsByTagName("outline"),o=0;o<a.length;o++)r={},u=a[o],l=n(u),c=l.url,c&&(r.file=c,c=l.text,c&&(r.title=c),r.kind="rss"),i.push(r);return{cover:h,list:i}};jbeeb.PlaylistParserOPML=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";function t(t){var e=null;return t?e=void 0===t.xml?(new XMLSerializer).serializeToString(t):t.xml:""}function e(e,i){var s,l,a,o,r,u,c,d,f,b,p,m,g,y,v,w,k,j,x,S,E,L,T,C,P=[{file:"ERROR: Invalid XML"}];if(!e)return P;s=[];try{l=e.firstChild}catch(t){return P}for(a=e.getElementsByTagName("Prefix"),a=t(a[0].firstChild),o=a.length,r=e.getElementsByTagName("CommonPrefixes"),u=0;u<r.length;u++){for(d=r[u].firstChild;null!=d;d=d.nextSibling)if(1==d.nodeType&&"Prefix"==d.nodeName&&d.firstChild){for(f="",b=d.firstChild;null!=b;b=b.nextSibling)f+=t(b);c={file:i+"/"+f,kind:"s3",title:f.substr(o,f.length-o-1)}}c&&s.push(c)}for(r=e.getElementsByTagName("Contents"),p=[],m=[],u=0;u<r.length;u++){for(c={},g=!1,d=r[u].firstChild;null!=d;d=d.nextSibling)if(x=d.nodeName,("Key"==x||"LastModified"==x||"Size"==x)&&1==d.nodeType&&d.firstChild){for(f="",b=d.firstChild;null!=b;b=b.nextSibling)f+=t(b);"Key"==x?(y=f,S=y.split("."),k=S.pop(),n.indexOf(k)>-1?(g=!0,j=S.join(".")):h.indexOf(k)>-1&&p.push(y)):"Size"==x?w=f:"LastModified"==x&&(v=Date.parse(f))}g&&m.push({file:y,basepath:j,date:v,size:w,kind:k})}for(u=0;u<m.length;u++){for(E=m[u],L=E.basepath,T=0;T<h.length;T++)if(C=L+"."+h[T],p.indexOf(C)>-1){E.image=i+"/"+C;break}E.file=i+"/"+E.file,delete E.basepath,s.push(E)}return s}function i(t){var e,i,s,n;return"/"==t.substr(-1)&&(t=t.substr(0,t.length-1)),e="",i="://",t.indexOf(i)>-1&&(t=t.split(i),e=t[0]+i,t=t[1]),s=t.split("/"),n=e+s.shift(),{base:n,path:s.join("/")+"/"}}function s(t){var e,s=i(t),n=s.base;return t=n,t+="?delimiter=/",e=s.path,e&&"/"!=e?t+="&prefix="+e:e="",{url:t,base_bucket:n,base_prefix:e}}var n=["mp3","mp4","m4a","mpa","oga","ogg","wav","flac"],h=["png","jpg"],l=function(t,e,i){var n,h;this.Wc=e,n=t.indexOf("?"),n>0&&(t=t.substring(0,n)),h=s(t),this.Xc=i,this.Yc=h.base_bucket,this.Zc=h.base_prefix,this.$c=new jbeeb.TextLoader(h.url,this._c.bind(this),"xml")},a=l.prototype;a.Yc=null,a.Zc=null,a.Wc=null,a.$c=null,a.Xc=null,a._c=function(t){if(!this.Jc){var i=e(t,this.Yc);this.Jc||this.Wc(i,this.Xc)}},a.cancel=function(t){this.Jc=!0,this.$c.cancel()},jbeeb.AWSS3List=l}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t,e,i,s=function(){this.ad=[],this.bd=[]},n=[],h=jbeeb.mimes.playlist;for(t in h)n.push(t);s.cd=n,e=[],h=jbeeb.mimes.audio;for(t in h)e.push(t);h=jbeeb.mimes.video;for(t in h)e.push(t);s.dd=e,i=s.prototype,i.addEventListener=null,i.removeEventListener=null,i.removeAllEventListeners=null,i.dispatchEvent=null,i.hasEventListener=null,jbeeb.EventDispatcher.initialize(i),i.ed=null,i.fd=null,i.gd=0,i.hd=0,i.bd=null,i.ad=null,i.jd=null,i.kd=null,i.load=function(t,e,i){var n,h,l,a;if(this.ld(),t){"string"==typeof t&&(t=this.md(t));for(l in this.ad)if(a=this.ad[l],a.source==t){h=a;break}h||(n=jbeeb.getUID(),h={source:t,kind:s.findkind(t,e),list:null,id:n,cover:i||null},this.ad[n]=h),n=h.id,this.bd.push(n),this.kd=n,this.jd||(this.jd=h),h.list?this.nd(h):this.zc(h)}else this.dispatchEvent("playlistReady",[])},i.isPlaylist=function(t,e){var i,n,h,l,a=typeof t,o=s.cd;return e?(n=o.indexOf(e),n>-1&&(i=!0)):jbeeb.Utils.isArray(t)?i=!0:"object"==a?t.amPlaylist?i=!0:t.kind?(n=o.indexOf(t.kind),n>-1&&(i=!0)):t.file&&(h=t.file.substr(-3),o.indexOf(h)>-1&&(i=!0)):"string"==a&&(l=s.findkind(t,e),i=o.indexOf(l)>-1),i},i.zc=function(t){var e,i,s=t.kind,n=t.source,h="string"==typeof n?1:0,l=h?this.md(n):n,a=h?l.substr(0,1):"";"js"==s||"dtxt"==s||"["==a||"{"==a?this.od(l,t):"jsonp"==s?this.fd=new jbeeb.JSON_P(l,this.od.bind(this),t):"rss"==s?(e="http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&num="+wimpy.maxGoogleFeedItems+"&output=json&q=",e+=encodeURIComponent(l),this.fd=new jbeeb.JSON_P(e,this.od.bind(this),t)):"s3"==s?(this.ed&&this.ed.cancel(),this.ed=new jbeeb.AWSS3List(l,this.od.bind(this),t)):"xml"==s&&"<"==a?this.od(l,t):(this.gd&&(i="?",l.indexOf("?")>-1&&(i="&"),l=l+i+"i",this.hd&&(l+="&j")),l=l.replace("&amp;","&"),s="php"==s||"xml"==s||"asp"==s?"xml":"txt",this.ed&&this.ld(),this.ed=new jbeeb.TextLoader(l,this.pd.bind(this),s,t))},i.qd=function(t,e,i){var s,n,h,l,a,o;if("json"==e||"jsonp"==e?n=jbeeb.Utils.parseJSON(t):"js"==e?n=t:"opml"==e?s=jbeeb.PlaylistParserOPML(t,i):"m3u"==e||"m3u8"==e?s=jbeeb.PlaylistParserM3U(t,i):"pls"==e?s=jbeeb.PlaylistParserPLS(t,i):"rss"==e?s=jbeeb.PlaylistParserFEED(t):"xml"==e||"php"==e?s=jbeeb.PlaylistParserXML(t):"dtxt"==e?n=this.rd(t):"s3"==e?n=t:(h=t.substr(0,1),"["==h||"{"==h?"[playlist]"==t.substr(0,10)?s=jbeeb.PlaylistParserPLS(t,i):n=jbeeb.Utils.parseJSON(t):"<"==h?s=jbeeb.PlaylistParserXML(t):n=this.rd(t)),l=null,s&&(n=s.list,l=s.cover),a=[],n)for(o=0;o<n.length;o++)a.push(this.normalizeTrackData(n[o]));return{list:a,cover:l}},s.findkind=function(t,e){var i,n,h,l;return e=jbeeb.Utils.trim(e||""),e&&s.cd.indexOf(e)>-1?e:(i=null,"string"==typeof t?(t=jbeeb.Utils.trim(t),n=t.substr(0,1),h=0,"["==n||"{"==n?"[playlist]"==t.substr(0,10)?(i="pls",h=1):(i="json",h=1):"<"==n?(i="xml",h=1):/\n/.exec(t)||/\|/.exec(t)?i="dtxt":t.indexOf("?d=")>0||t.indexOf("&d=")>0?i="xml":(l=t.split("."),i=l.pop(),s.dd.indexOf(i)>-1&&(i="dtxt")),i):"js")},i.validate=function(t){var e=s.findkind(t);return this.qd(t,e).list},i.rd=function(t){var e,i,s,n,h;for(t=jbeeb.Utils.trim((t||"")+""),e=[],i=null,/\|/.exec(t)?i="|":/\n/.exec(t)&&(i="\n"),s=null,s=i?t.split(i):[t],n=0;n<s.length;n++)h=this.md(s[n]),""!=h&&e.push({file:h});return e},i.md=function(t){return"string"==typeof t?jbeeb.Utils.trim(jbeeb.Utils.decodeURL(jbeeb.Utils.trim(t))):t},i.any=function(){return this.bd.length>0},i.loadPrevious=function(){this.bd.pop(),this.refresh()},i.refresh=function(){var t,e,i=this.bd.length;1>i?t=this.jd:(e=this.bd[i-1],t=this.ad[e]),this.kd=t.id,this.nd(t)},i.normalizeTrackData=function(t){var e,i,s;return t&&"object"==typeof t?e=jbeeb.Utils.clone(t):"string"==typeof t&&(e={file:t}),e.file=this.md(e.file),i=jbeeb.PathInfo.parse(e.file),e.title||(s=i.basename||e.file,e.title=s.replace(/_/g," ")),e.amPlaylist=this.isPlaylist(e)?1:0,e},i.od=function(t,e){var i,s;t&&e&&(i=this.md(e.source),s=this.qd(t,e.kind,i),this.dispatchEvent("pathChange",i),e.list=s.list,e.cover=e.cover||s.cover,this.nd(e))},i.nd=function(t){t.cover&&this.dispatchEvent("coverart",t.cover),this.dispatchEvent("playlistReady",t.list),this.ld()},i.setPlaylistCoverArt=function(t,e){if(this.ad){var i=this.ad[t];i&&(i.cover=e)}},i.getCurrentPath=function(){return this.ad[this.kd].source||""},i.setID3=function(t,e){this.gd=t||0,this.hd=e||0},i.pd=function(t,e,i){this.od(t,i)},i.ld=function(){this.ed&&(this.ed.cancel(),this.ed=null),this.fd&&(this.fd.cancel(),this.fd=null)},i.reset=function(t,e){this.ld(),this.jd=null,this.bd=[],this.ad=[],t&&this.load(t,e)},i.destroy=function(){this.removeAllEventListeners(),this.ld(),this.jd=null,this.bd=null},i.toString=function(){return"[PlaylistManager (name="+this.name+")]"},i.type="PlaylistManager",jbeeb.PlaylistManager||(jbeeb.PlaylistManager=s)}(),this.jbeeb=this.jbeeb||{},this.jbeeb.utils=this.jbeeb.utils||{},function(){function t(t){t=t||{},this.linMin=t.linMin||0,this.linMax=t.linMax||1,this.minVal=t.minVal||0,this.maxVal=t.maxVal||1,this.base10=t.base10||!1,this.minValLog=Math.log(this.minVal);var e=Math.log(this.maxVal);this.scale=(e-this.minValLog)/(this.linMax-this.linMin)}t.prototype={fromLin:function(t){var e=Math.exp((t-this.linMin)*this.scale+this.minValLog);return e<this.minVal?e=this.minVal:e>this.maxVal&&(e=this.maxVal),e},toLin:function(t){var e=this.linMin+(Math.log(t)-this.minValLog)/this.scale;return e<this.linMin?e=this.linMin:e>this.linMax&&(e=this.linMax),e}},jbeeb.utils.LogRange=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.Vb(t)},e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),t.code={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CONTROL:17,ALT:18,CAPS_LOCK:20,ESC:27,SPACEBAR:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,INSERT:45,DELETE:46,HELP:47,NUM_0:96,NUM_1:97,NUM_2:98,NUM_3:99,NUM_4:100,NUM_5:101,NUM_6:102,NUM_7:103,NUM_8:104,NUM_9:105,NUM_MULTIPLY:106,NUM_ADD:107,NUM_ENTER:108,NUM_SUBTRACT:109,NUM_DECIMAL:110,NUM_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,TILDA:192,SEMI_COLON:186,EQUAL:187,DASH:189,FWD_SLASH:191,BRACKET_LEFT:219,PIPE:220,BRACKET_RIGHT:221,QUOTE:222},e.keycode=null,t.sd=null,e.td=null,e.ud=null,e.xa=null,e.blockAll=!1,e.Vb=function(e){t.sd||(t.sd=[]),e=e||window,this.xa=e,this.td=this.vd.bind(this),this.ud=this.wd.bind(this),jbeeb.Utils.bindEvent(e,"keydown",this.td),jbeeb.Utils.bindEvent(e,"keyup",this.ud)},e.vd=function(t){this.blockAll&&this.block(t),this.xd(t,"keydown")},e.wd=function(t){this.blockAll&&this.block(t),this.xd(t,"keyup")},e.xd=function(e,i){var s=e.which||e.keyCode,n=t.sd.indexOf(s);"keyup"==i?n>-1&&t.sd.splice(n,1):0>n&&t.sd.push(s),this.dispatchEvent(i,e,s,i),this.keycode=s},e.block=function(t){t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation()},e.isDown=function(e){var i;return i="string"==typeof e?t.sd.indexOf(t.code[(e+"").toUpperCase()]):t.sd.indexOf(e),i>-1?1:0},e.alphaNumeric=function(t){return!!this.numeric(t)||(t>64&&91>t||173==t||189==t)},e.navigate=function(t){return 8==t||13==t||t>36&&41>t||46==t},e.numeric=function(t){var e,i;if(this.navigate(t))return!0;for(e=[16,17,18,224],i=e.length;i--;)if(this.isDown(e[i]))return!1;return 109==t||110==t||173==t||189==t||190==t||t>47&&58>t||t>95&&106>t},e.getCode=function(e){return t.code[(e+"").toUpperCase()]},e.destroy=function(){jbeeb.Utils.unbindEvent(this.xa,"keydown",this.td),jbeeb.Utils.unbindEvent(this.xa,"keyup",this.ud),this.xa=null},e.type="Keyboard",jbeeb.Keyboard=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t)},e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),e.amStage=null,e.element=null,e.style=null,e.yd=null,e.alpha=1,e.id=null,e.name=null,e.parent=null,e.stage=null,e.rotation=0,e.scale=1,e.scaleX=1,e.scaleY=1,e.stretchX=1,e.stretchY=1,e.skewX=0,e.skewY=0,e.origin=null,e.originX=0,e.originY=0,e.originType="px",e.shadow=null,e.bevel=null,e.outline=null,e.inset=null,e.visible=!0,e.overflow="visible",e.autoCenter=null,e.x=0,e.y=0,e.width=0,e.height=0,e.flex="wh",e.zd=1,e.Ad=1,e.pin=null,e.Bd=null,e.Cd=null,e.z=0,e.temp=null,e.rounded=null,e.fill=null,e.stroke=null,e.image=null,e.gradient=null,e.Dd=null,e.tooltip=null,e.init=function(t){var e,i,s,n,h;this.temp={},this.style=null,this.alpha=1,this.id=null,this.name=null,this.parent=null,this.rotation=0,this.scale=1,this.scaleX=1,this.scaleY=1,this.skewX=0,this.skewY=0,this.visible=!0,this.overflow="visible",this.x=0,this.y=0,this.width=0,this.height=0,this.flex="wh",this.zd=1,this.Ad=1,this.pin=null,this.Bd=null,this.Cd=null,this.z=0,this.autoCenter=null,this.stroke={},this.fill={},this.shadow=null,this.inset=null,this.gradient={},this.rounded=null,this.tooltip="",jbeeb.storeCSS?this.yd={}:this.yd=null,t=t||{},e=jbeeb.getUID(),this.id=e,t.element?this.element=t.element:(this.element=document.createElement("div"),this.element.id=e,this.element.style.position="absolute",this.element.style.overflow="visible",this.yd&&(this.yd.position="absolute",this.yd.overflow="visible")),t.standalone&&(this.amStage=1),t.aria&&this.setAria(t.aria),i=["Box","Container","Rube","Stage","TextBox","TextContainer"],i.indexOf(this.type)<0&&(this.element.setAttribute("aria-role",this.type),t.name&&this.element.setAttribute("aria-name",t.name)),t.inline?this.Dd="inline-block":this.Dd="block",t.name&&(this.name=t.name),this.element.id=this.type+"_"+this.element.id,s=this.style=this.element.style,s.padding="0px",s.margin="0px",s.border="0px",s.fontSize="100%",s.outline="none !important",s.background="transparent",s.WebkitTextSizeAdjust="100%",s.WebkitTouchCallout="none",s.WebkitTapHighlightColor="none",s.msTouchSelect="none",s.msTextSizeAdjust="100%",s.WebkitBoxSizing=s.MozBoxSizing=s.boxSizing="padding-box",s.OBackgroundClip=s.WebkitBackgroundClip=s.backgroundClip="padding-box",this.yd&&(n=this.yd,n.padding="0px",n.margin="0px",n.border="0px",n.fontSize="100%",n.outline="none !important",n.background="transparent",n.WebkitTextSizeAdjust="100%",n.msTextSizeAdjust="100%",n.boxSizing="padding-box",n.backgroundClip="padding-box"),t.editable||this.setSelectable(!1),h="inherit",t.cursor&&(h=t.cursor),this.setCursor(h),t&&(this.autoCenter=t.center,void 0!==t.flex&&this.setFlex(t.flex),void 0!==t.pin&&this.setPin(t.pin),void 0!==t.overflow&&this.setOverflow(t.overflow),t.tooltip&&this.setTooltip(t.tooltip)),this.setOrigin(0,0,"px"),this.applySkin(t,!1)},e.setAria=function(t,e){var i,s;if(t&&this.element)if(i=typeof t,"object"!=i||jbeeb.Utils.isArray(t))"string"==i&&e&&this.element.setAttribute("aria-"+t.replace(/^aria\-/,""),e);else for(s in t)this.element.setAttribute("aria-"+s,t[s])},e.setSelectable=function(t){var e=this.style,i="none",s="-moz-none";t&&(i="text",s="text"),e.userSelect=e.WebkitUserSelect=e.MozUserSelect=e.OUserSelect=i,e.MozUserSelect=s,this.yd&&(this.yd.userSelect=i,this.yd.MozUserSelect=s)},e.setBorderRender=function(t){var e,i=this.style;e="outside"==t?"content-box":"padding-box",i.WebkitBoxSizing=i.MozBoxSizing=i.boxSizing=e,this.yd&&(this.yd.boxSizing=e)},e.applySkin=function(t,e){var i,s,n,h,l,a,o,r,u;this.stroke={},this.fill={},this.gradient=null,this.rounded=0,this.image=null,this.shadow=null,this.bevel=null,this.outline=null,this.inset=null,e=1==e&&e,e||(i=jbeeb.Utils.isNumber(t.x)?t.x:0,s=jbeeb.Utils.isNumber(t.y)?t.y:0,this.setXY(i,s),t.height&&this.setHeight(t.height),t.width&&this.setWidth(t.width),t.h&&this.setHeight(t.h),t.w&&this.setWidth(t.w)),this.setRounded(t.rounded),n=t.fill,n&&(n=n,"string"==typeof n?(h=n,l=1):(h=n.color,l=n.alpha)),this.setFill(h,l),n=t.stroke,h=null,l=null,a=null,o=null,n&&("string"==typeof n?(h=n,l=1,a=1,o="solid"):null!=n.color&&(h=n.color||"#000000",l=jbeeb.Utils.isNumber(n.alpha)?n.alpha:1,a=n.weight||1,o=n.style||"solid")),this.setStroke(a,h,l,o),this.setStrokeStyle(o),n=t.image,t.image&&("string"==typeof n?(r=n,u=null):(r=n.url,u=n.mode)),this.setImage(r,u),this.setShadow(t.shadow),this.setBevel(t.bevel),this.setOutline(t.outline),this.setInset(t.inset)},e.Ed=function(){var t,e,i,s,n,h,l,a,o,r,u,c,d,f,b,p,m,g,y,v,w,k,j,x,S,E,L,T,C,P,M,F,A,O,U,_,D=this.style;if(D){if(t=[],e="",i="",s="",n="",h="",l="",a="",o="",r=0,u=this.fill,u&&(jbeeb.Utils.isArray(u.color)?r=1:u.color&&(i=jbeeb.Utils.makeColor(u.color,u.alpha))),this.image&&this.image.url&&(e='url("'+this.image.url+'")',c=this.image.mode||"center","pattern"==c||("fit"==c?l="100% 100%":"contain"!=c&&"cover"!=c||(l="contain"),a="no-repeat",o="center center"),r=0),r){for(d=u.color,this.yd&&(this.yd.gradient=1),f=u.alpha||"v",b=[],p=[],m=d.length,jbeeb.Browser?(g=jbeeb.Browser,y=g.oldWebkit,v=g.modern,w=g.cssPrefix,k=g.w3c_gradient):(y=!1,v=!0,w="",k=!0),j=0;m>j;j+=3)x=jbeeb.Utils.makeColor(d[j],d[j+1]),S=d[j+2],S>100?S=100:0>S&&(S=0),y?p.push("color-stop("+S+"%, "+x+")"):b.push(x+" "+S+"%");if(v)k?(E="linear-",L=("v"==f?"to bottom, ":"to right, ")+b.join(",")):y?(T=p.join(","),E="-webkit-",L="v"==f?"linear, left top, left bottom, "+T:"linear, left top, right top, "+T):(E="-"+w+"-linear-",L=("v"==f?"top, ":"left, ")+b.join(",")),e=E+"gradient("+L+")";else if(g.ie&&g.version<9)C="v"==f?"0":"1",P="progid:DXImageTransform.Microsoft.gradient( gradientType="+C+", startColorstr='"+d[0]+"', endColorstr='"+d[d.length-3]+"')",this.style.filter=P,this.style.msFilter='"'+P+'"',this.yd&&(M=this.yd,M.filter=P,M.msFilter='"'+P+'"');else{for(F="",j=0;m>j;j+=3)x=jbeeb.Utils.makeColor(d[j],d[j+1]),F+='<stop offset="'+d[j+2]+'%" stop-color="'+d[j]+'" stop-opacity="'+d[j+1]+'"/>';A="0",O="100","h"==f&&(A="100",O="0"),U="jbeeb-grad-"+this.id,_="",_+='<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none">',_+='  <linearGradient id="'+U+'" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="'+A+'%" y2="'+O+'%">',_+=F,_+="  </linearGradient>",_+='  <rect x="0" y="0" width="1" height="1" fill="url(#'+U+')" />',_+="</svg>",e='url("data:image/svg+xml;base64,'+jbeeb.Base64.encode(_)+'")'}}else this.yd&&(this.yd.gradient=0);D.backgroundColor=i||"",D.backgroundImage=e||"none",D.backgroundSize=l||"",D.backgroundRepeat=a||"",D.backgroundPosition=o||"",this.yd&&(M=this.yd,M.backgroundColor=i||"",M.backgroundImage=e||"none",M.backgroundSize=l||"",M.backgroundRepeat=a||"",M.backgroundPosition=o||"")}},e.setFill=function(t,e){this.fill||(this.fill={}),this.fill.color=t,this.fill.alpha=e,this.Ed()},e.setImage=function(t,e){t?(this.image||(this.image={}),this.image.url=t,this.image.mode=e):this.image=null,this.Ed()},e.setImageSizing=function(t){this.image&&(this.image.mode=t,this.Ed())},e.setStroke=function(t,e,i,s){var n,h,l,a,o,r,u,c,d;this.stroke||(this.stroke={}),"string"==typeof t&&(e=t,t=1),t>0&&(t=Math.round(t)),n=i||1,h=s||"solid",null!=e&&t&&t>=1||(t=0,n=null,h=null),l=this.stroke,l.weight=t,l.color=e,l.alpha=n,l.style=h,a=this.style,t?(h=h,o=t+"px",r=jbeeb.Utils.makeColor(e,n),u=-t+"px",c=-t+"px"):(h="",o="",r="",u="",c=""),a.borderStyle=h,a.borderWidth=o||0,a.borderColor=r,a.marginLeft=u,a.marginTop=c,this.yd&&(d=this.yd,d.borderStyle=h,d.borderWidth=o,d.borderColor=r,d.marginLeft=u,d.marginTop=c),this.Fd()},e.setStrokeStyle=function(t){var e=t||"";this.style.borderStyle=e,this.yd&&(this.yd.borderStyle=e)},e.setCursor=function(t){this.style.cursor=t,this.yd&&(this.yd.cursor=t)},e.setWidth=function(t){var e=this.style;e&&t>0&&(this.width=t,e.width=t+"px",this.autoCenter&&this.center(this.autoCenter),this.rounded&&this.Fd(),this.yd&&(this.yd.width=t+"px"))},e.setHeight=function(t){var e=this.style;e&&t>0&&(this.height=t,e.height=t+"px",this.autoCenter&&this.center(this.autoCenter),this.rounded&&this.Fd(),this.yd&&(this.yd.height=t+"px"))},e.measure=function(){var t=this.element,e=t.clientWidth,i=t.clientHeight;return this.width=e,this.height=i,[e,i]},e.setSize=function(t,e){var i=this.style;i&&t>0&&e>0&&(this.width=t,this.height=e,i.width=t+"px",i.height=e+"px",this.autoCenter&&this.center(this.autoCenter),this.rounded&&this.Fd(),this.yd&&(this.yd.width=t+"px",this.yd.height=e+"px"))},e.setXY=function(t,e){this.x=t,this.y=e;var i=this.style;i.left=t+"px",i.top=e+"px",this.yd&&(this.yd.left=t+"px",this.yd.top=e+"px")},e.setBaseXY=function(t,e){this.setXY(t,e),this.Gd=t,this.Hd=e},e.setXYWH=function(t,e,i,s){var n,h;this.width=i,this.height=s,this.x=t,this.y=e,n=this.style,n.width=(i||0)+"px",n.height=(s||0)+"px",n.left=(t||0)+"px",n.top=(e||0)+"px",this.yd&&(h=this.yd,h.width=(i||0)+"px",h.height=(s||0)+"px",h.left=(t||0)+"px",h.top=(e||0)+"px")},e.setX=function(t){this.x=t,this.style.left=(t||0)+"px",this.yd&&(this.yd.left=(t||0)+"px")},e.setY=function(t){this.y=t,this.style.top=(t||0)+"px",this.yd&&(this.yd.top=(t||0)+"px")},e.setTop=function(t){this.y=t,this.style.top=t+"px",this.yd&&(this.yd.top=(t||0)+"px")},e.setBottom=function(t){this.y=t-this.height,this.style.bottom=t+"px",this.yd&&(this.yd.bottom=(t||0)+"px")},e.setLeft=function(t){this.x=t,this.style.left=(t||0)+"px",this.yd&&(this.yd.left=(t||0)+"px")},e.setRight=function(t){var e=(t||0)-this.width;this.x=e,this.style.right=e+"px",this.yd&&(this.yd.right=e+"px")},e.setZ=function(t){0>t&&(t=0),this.z=t;var e=this.style;e||(this.style=e=this.element.style),e.zIndex=t,this.yd&&(this.yd.zIndex=t)},e.setScale=function(t){this.scale=t,this.scaleX=t,this.scaleY=t;var e="scale("+t+","+t+")";this.Id(e)},e.setScaleX=function(t){this.scaleX=t;var e="scale("+this.scaleX+","+t+")";this.Id(e)},e.setScaleY=function(t){this.scaleY=t;var e="scale("+t+","+this.scaleY+")";this.Id(e)},e.stretch=function(t,e,i){var s,n,h,l,a,o;t>0&&e>0&&(s=this.originX,n=this.originY,h=this.originType,i||(s||n)&&this.setOrigin(0,0,"px"),this.stretchX=t,this.stretchY=e,this.zd&&this.setWidth(this.width*t),this.Ad&&this.setHeight(this.height*e),l=this.x,a=this.y,this.Bd?"r"==this.Bd&&this.parent&&(null==this.Jd&&(this.Jd=this.parent.width-this.x),o=this.parent.width-this.Jd,this.setX(o)):s?this.setX(s+(l-s)*t):this.setX(l*t),this.Cd?"b"==this.Cd&&this.parent&&(null==this.Kd&&(this.Kd=this.parent.height-this.y),o=this.parent.height-this.Kd,this.setY(o)):n?this.setY(n+(a-n)*e):this.setY(a*e),this.dispatchEvent("stretch",this.width,this.height),i||(s||n)&&this.setOrigin(s*t,n*e,h))},e.Jd=null,e.Kd=null,e.setPin=function(t){this.pin=t,this.Bd=0,this.Cd=0,t&&(t=t.toLowerCase(),t.match(/r/)&&(this.Bd="r"),t.match(/l/)&&(this.Bd="l"),t.match(/t/)&&(this.Cd="t"),t.match(/b/)&&(this.Cd="b"),t.match(/s/)&&(this.Bd="s",this.Cd="s"))},e.setFlex=function(t){this.zd=0,this.Ad=0,t&&(t.toLowerCase(),t.match(/w/)?this.zd=1:this.zd=0,t.match(/h/)?this.Ad=1:this.Ad=0),this.flex=t},e.setRotation=function(t){this.rotation=t;var e="rotate("+t+"deg)";this.Id(e)},e.setSkew=function(t,e){this.skewX=t,this.skewY=e;var i="skew("+t+"deg,"+e+"deg)";this.Id(i)},e.setOrigin=function(t,e,i){var s,n,h;this.originX=t,this.originY=e,this.originType=i,s=i?i:"px",n=t+s+" "+e+s,h=this.style,h.WebkitTransformOrigin=h.msTransformOrigin=h.MozTransformOrigin=h.OTransformOrigin=h.transformOrigin=n,this.yd&&(this.yd.transformOrigin=n)},e.Id=function(t){var e=this.style;e.WebkitTransform=e.msTransform=e.MozTransform=e.OTransformOrigin=e.transform=t,this.yd&&(this.yd.transform=t)},e.center=function(t,e){var i,s,n,h,l,a,o;(this.parent||this.amStage)&&this.width&&this.height&&(i=this.x,s=this.y,this.amStage?(n=jbeeb.Utils.getXYWH(this.element.parentNode),h=.5*n.w,l=.5*n.h):(n=this.parent,n.width||n.measure(),h=.5*n.width,l=.5*n.height),a=.5*this.width,o=.5*this.height,"v"==t?s=l-o:"h"==t?i=h-a:(i=h-a,s=l-o),this.setXY(i,s),n=null)},e.setOverflow=function(t){var e,i,s,n;this.overflow=t,e="",i="",s=this.style,"x"!=t&&"y"!=t&&t||("x"==t?(e="auto",i="hidden"):"y"==t&&(e="hidden",i="auto",jbeeb.Browser&&jbeeb.Browser.ie&&this.setWidth(this.width+20)),s.overflowX=e,s.overflowY=i),s.overflow=t,this.yd&&(n=this.yd,n.overflow=t,n.overflowX=e,n.overflowY=i)},e.setVisible=function(t){var e,i;this.visible=t,e=this.style,i=t?this.Dd:"none",e.display=i,this.yd&&(this.yd.display=i)},e.show=function(){this.setVisible(!0)},e.hide=function(){this.setVisible(!1)},e.setAlpha=function(t){this.alpha=t,null!==t&&(this.style.opacity=""+t),this.yd&&(this.yd.opacity=""+t)},e.setRounded=function(t){this.rounded=t,this.Fd()},e.Fd=function(){var t,e,i,s,n,h,l,a="",o=this.rounded;o&&(t=this.width,e=this.height,i=0,s=this.stroke,s&&(n=s.weight,jbeeb.Utils.isNumber(n)&&(i=2*n)),h=.5*((e>t?t:e)+i),jbeeb.Utils.isNumber(o)?a=h*o+"px":o&&"object"==typeof o&&(a+=(h*o.tl||0)+"px "+(h*o.tr||0)+"px "+(h*o.br||0)+"px "+(h*o.bl||0)+"px")),l=this.style,l.MozBorderRadius=l.WebkitBorderRadius=l.OBorderRadius=l.msBorderRadius=l.borderRadius=a,this.yd&&(this.yd.borderRadius=a)},e.onAdded=function(){this.autoCenter&&this.center(this.autoCenter),this.dispatchEvent("added",this)},e.toFront=function(){this.parent&&this.parent.toFront(this)},e.toBack=function(){this.parent&&this.parent.toBack(this)},e.Ld=function(){var t,e,i,s,n,h,l=this.style,a=this.Md(),o=this.Nd(),r=this.Od(),u=this.Pd(),c="none";if(a==[]&&o==[]&&r==[]&&u==[]);else{for(t=o.concat(r,u,a),e=t.length,i=[],s=[],n=0,h=0;e>h;h++)0==n?1==t[h]&&s.push("inset"):4>n?s.push(t[h]+"px"):(s.push(jbeeb.Utils.makeColor(t[h],t[h+1])),i.push(s.join(" ")),s=[],++h,n=-1),n++;i.length>0&&(c=i.join(","))}l.boxShadow=l.MozBoxShadow=l.WebkitBoxShadow=l.OBoxShadow=l.MsBoxShadow=c,this.yd&&(this.yd.boxShadow=c)},e.Md=function(){var t=this.shadow;return t?[0,t.x||0,t.y||0,t.s,t.c||"#000000",t.a||.4]:[]},e.setShadow=function(t){this.shadow=t,this.Ld()},e.Pd=function(){var t=this.inset;return t?[1,t.x||0,t.y||0,t.s,t.c||"#000000",t.a||.4]:[]},e.setInset=function(t){this.inset=t,this.Ld()},e.Nd=function(){var t=this.bevel;return t?[1,-t.x,-t.y,t.s1,t.c1||"#FFFFFF",t.a1,1,t.x,t.y,t.s2,t.c2||"#000000",t.a2]:[]},e.setBevel=function(t){t&&(jbeeb.Utils.isNumber(t)?t={x:-t,y:-t,s1:0,s2:0,c1:"#FFFFFF",c2:"#000000",a1:1,a2:1}:(t.c1=t.c1||"#FFFFFF",t.c2=t.c2||"#000000")),this.bevel=t,this.Ld()},e.Od=function(){if(this.outline){var t=this.outline;return[0,-t.weight,-t.weight,t.spread||0,t.color||"#000000",t.alpha||1,0,t.weight,-t.weight,t.spread||0,t.color||"#000000",t.alpha||1,0,-t.weight,t.weight,t.spread||0,t.color||"#000000",t.alpha||1,0,t.weight,t.weight,t.spread||0,t.color||"#000000",t.alpha||1]}return[]},e.setOutline=function(t){this.outline=t,this.Ld()},e.setMouseEnabled=function(t){var e=this.style,i=0===t||t===!1,s=i?"none":"auto";e.pointerEvents=s,e.msTouchAction=i?"none":"all",this.Qd&&this.Qd.setEnabled(!i),this.yd&&(this.yd.pointerEvents=s)},e.disableMouse=function(){this.setMouseEnabled(0)},e.enableMouse=function(){this.setMouseEnabled(1)},e.Qd=null,e.MELbubble=!1,e.MELpreventDefault=!0,e.MELpropagate=!1,e.addMEL=function(t,e,i,s,n){this.MELbubble=s,this.Qd||(this.Qd=new jbeeb.MouseEventListener(this)),"mouseOver"==t||"mouseOut"==t||"mouseMove"==t?this.Qd.enableMouseOver(1):"doubleClick"==t&&this.Qd.enableDoubleClick(1),this.addEventListener(t,e,i,n)},e.removeMEL=function(t,e,i){this.removeEventListener(t,e,i),"mouseOver"==t?this.Qd&&this.Qd.enableMouseOver(0):"doubleClick"==t&&this.Qd&&this.Qd.enableDoubleClick(0)},e.removeAllMEL=function(){this.Qd&&(this.Qd.destroy(),this.Qd=null)},e.setFloat=function(t){this.style.position="relative",this.style.left="",this.style.top="",this.style.cssFloat=t,this.style.display="inline-block",this.yd&&(this.yd.position="relative",this.yd.left=null,this.yd.top=null,this.yd.cssFloat=t,this.yd.display="inline-block")},e.setTooltip=function(t){this.tooltip=t,this.element.title=jbeeb.Utils.unescapeHTML(t)},e.destroy=function(){this.removeAllEventListeners(),this.Qd&&(this.Qd.destroy(),this.Qd=null),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.element=null),this.parent&&(this.parent.removeChild(this),this.parent=null),this.temp=null,this.stroke=null,this.fill=null,this.gradient=null,this.bevel=null,this.outline=null,this.shadow=null,this.inset=null,this.image=null,this.element=null,this.yd=null},e.getCSS=function(){return this.yd},e.animateAll=function(t,e){if(e=e||"linear",t){var i=this.style;i.mozTransition=i.oTransition=i.msTransition=i.webkitTransition=i.transition="all "+t+"ms "+e}},e.cancelAnimation=function(){var t=this.style;t.mozTransition=t.oTransition=t.msTransition=t.webkitTransition=t.transition="none"},e.toString=function(){return"[Box (name="+this.name+")]"},e.type="Box",jbeeb.Box=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t)},e=t.prototype=new jbeeb.Box(null);e.textFit=null,e.text="",e.Rd="",e.textSize=null,e.textColor=null,e.shadowText=null,e.bevelText=null,e.outlineText=null,e.insetText=null,e.font=null,e.align=null,e.textScale=null,e.selectable=null,e.bold=null,e.padding=null,e.editable=null,e.Sd=null,e.multiline=null,e.baselineShift=null,e.Td=null,e.Ud=null,e.Vd=!1,e.Wd=!1,e.Xd=e.init,e.init=function(t){var e,i,s;t&&(t.editable&&(e=t.multiline?document.createElement("textarea"):document.createElement("input"),this.Sd=1,e.id=jbeeb.getUID(),e.style.position="absolute",e.style.overflow="visible",t.multiline&&(e.style.verticalAlign="top"),this.yd&&(this.yd.position="absolute",this.yd.overflow="visible"),t.multiline||(e.type="text"),t.element=e),this.Wd=t.wrap||0,this.Xd(t),t.element=null,i=this.style,i.textDecoration="none",i.zoom=1,i.size=t.h,
this.text=t.text||"",this.yd&&(s=this.yd,s.textDecoration="none",s.zoom=1,s.size=t.h),this.applySkin(t,!0))},e.Yd=e.applySkin,e.applySkin=function(t,e){var i,s,n,h,l;this.Vd=!0,t.editable&&(i=null,t.fill&&(i="object"==typeof t.fill?t.fill.color:t.fill),t.stroke=t.stroke||i||{weight:1,color:"#000000",alpha:1}),this.Yd(t,e),s=this.style,this.textFit=t.textFit||null,this.font=t.font||"Arial, Helvetica, sans-serif",this.align=t.align||"left",this.textScale=t.textScale||1,this.bold=t.bold||0,this.selectable=t.selectable||0,this.editable=t.editable||0,this.multiline=t.multiline||0,n=t.baselineShift,n=t.multiline?n||1:n||0,this.baselineShift=n,e||(this.text=t.text||""),this.Rd="",this.textColor={},t.textSize&&(this.textSize=t.textSize),1==t.editable&&this.setEditable(1),this.setMultiline(this.multiline,!0),this.setText(this.text),t.textColor&&(h=t.textColor,l={},"string"==typeof h?l={color:h,alpha:1}:(l=h,l.color||(l.color=null,l.alpha=null)),this.setTextColor(l.color||"#000000",l.alpha||1)),t.shadowText&&(this.shadowText=t.shadowText),t.insetText&&(this.insetText=t.insetText),t.bevelText&&(this.bevelText=t.bevelText),t.outlineText&&(this.outlineText=t.outlineText),t.shadow&&(this.shadow=t.shadow),t.inset&&(this.insetText=t.inset),t.bevel&&(this.bevel=t.bevel),t.outline&&(this.outline=t.outline),t.padding&&this.setPadding(t.padding),t.alphaNumeric&&(this.alphaNumeric=1),t.numeric&&(this.numeric=1),this.setBaselineShift(this.baselineShift),this.Vd=!1,this.Zd(),this.$d()},e.setMultiline=function(t,e){var i,s;this.multiline=t,s=this.style,t?(this.textSize||(this.textSize=12),i="normal"):i="nowrap",this.Wd&&(i="normal"),s.whiteSpace=i,this.yd&&(this.yd.whiteSpace=i),this._d()},e.Sd=0,e.ae=null,e.be=null,e.setEditable=function(t){if(t===!0||1===t){this.amSM||this.setCursor("text"),this.Ud?this.Ud.removeAllEventListeners():this.Ud=new jbeeb.Keyboard(this.element),this.Ud.addEventListener("keydown",this.keyHandler,this),this.Ud.addEventListener("keyup",this.keyHandler,this),this.setOverflow("hidden");var e=jbeeb.Utils.bindEvent;this.ae=e(this.element,"focus",this.setFocus.bind(this)),this.be=e(this.element,"blur",this.ce.bind(this)),this.addMEL("mouseUp",this.setFocus,this),this.setMouseEnabled(1),this.element.style.pointerEvents="auto"}else this.amSM||this.setCursor("default"),this.Ud&&this.Ud.removeAllEventListeners(),jbeeb.Utils.unbindEvent(this.element,"focus",this.ae),this.setMouseEnabled(0),this.element.style.pointerEvents="none";this.editable=t},e.numeric=null,e.alphaNumeric=null,e.keyHandler=function(t,e,i){var s=!0;this.alphaNumeric?s=this.Ud.alphaNumeric(e):this.numeric&&(s=this.Ud.numeric(e)),0==this.multiline&&(108!=e&&13!=e||(s=!1,"keyup"==i&&this.dispatchEvent("enter",this,this.text))),9==e&&(s=!1,"keyup"==i&&this.dispatchEvent("tab",this,this.text)),s?(this.Sd&&!this.multiline?this.text=this.element.value:this.de?this.text=this.de.innerHTML:this.text=this.element.innerHTML,"keyup"==i&&this.dispatchEvent("change",this,this.text)):this.Ud.block(t)},e.ce=function(){this.dispatchEvent("change",this,this.text)},e.setPadding=function(t){var e,i,s,n,h,l;this.padding=t,e=this.de?this.de.style:this.style,i="",s="",n="",h="",this.multiline?(i=t+"px",s=t+"px",n=t+"px",h=t+"px"):"left"==this.align?t&&(i=t+"px"):"right"==this.align&&t&&(s=t+"px"),e.paddingLeft=i,e.paddingRight=s,e.paddingTop=n,e.paddingBottom=h,this.yd&&(l=this.yd,l.paddingLeft=i,l.paddingRight=s,l.paddingTop=n,l.paddingBottom=h)},e.ee=function(){var t,e="normal",i=this.font,s=this.textColor||{},n=jbeeb.Utils.makeColor(s.color,s.alpha),h=this.bold?"bold":e,l=this.style;l.fontFamily=i,l.color=n,l.textAlign=this.align,l.fontWeight=h,l.fontStyle=e,this.yd&&(t=this.yd,t.fontFamily=i,t.color=n,t.textAlign=this.align,t.fontWeight=h,t.fontStyle="normal")},e.setFont=function(t){this.font=t,this.style.fontFamily=t,this.de&&this.fe&&(this.de.style.fontFamily=this.font),this.yd&&(this.yd.fontFamily=t),this.Zd()},e.setAlign=function(t){this.align=t,this.style.textAlign=t,"center"==t&&this.setPadding(0),this.yd&&(this.yd.textAlign=t)},e.setBold=function(t){this.bold=t?"bold":"",this.style.fontWeight=this.bold,this.yd&&(this.yd.fontWeight=this.bold),this.Zd()},e.setBaselineShift=function(t){this.baselineShift=t,t?t>2?t=2:-2>t&&(t=-2):t=0,t*=-1,this.Td=1+t,this.Zd()},e.measureText=function(t){var e,i,s,n,h;return this.text||t?(e=document.createElement("div"),document.body.appendChild(e),i=e.style,i.fontSize=this.height*this.textScale+"px",i.fontFamily=this.font,i.fontWeight=this.bold?"bold":"normal",i.position="absolute",i.left=-1e3,i.top=-1e3,e.innerHTML=t||this.text,s=e.clientWidth,n=e.clientHeight,h={w:s,h:n},document.body.removeChild(e),e=null,h):0},e.setTextColor=function(t,e){this.textColor||(this.textColor={}),this.textColor.color=t,this.textColor.alpha=e;var i=jbeeb.Utils.makeColor(t,e);this.style.color=i,this.yd&&(this.yd.color=i),this.ee()},e.fe=null,e.setText=function(t,e){var i,s,n,h;this.element&&(t+="",t="0"!==t&&""==t||!t?"":t,e&&(t=this.Rd+t),this.text=t,this.Sd&&!this.multiline?(this.element.value=t,this.element.alt=t):(i=0,jbeeb.Browser&&(s=jbeeb.Browser,s.ie&&s.version<10&&(i=1)),this.de||(n=document.createElement("span"),h="inherit",i&&(h=this.font),n.style.fontFamily=h,this.element.appendChild(n),this.de=n),this.de.innerHTML=t,this.de.alt=t,this.fe=i),this.Rd!=t&&this.Zd(),this.Rd=t)},e.selectAll=function(){this.Sd&&(jbeeb.focus=this,this.element.focus(),this.element.select())},e.ge=e.setWidth,e.setWidth=function(t){t!=this.width&&(this.ge(t),this._d())},e.he=e.setHeight,e.setHeight=function(t){t!=this.height&&(this.he(t),this._d())},e.je=e.setSize,e.setSize=function(t,e){t==this.width&&e==this.height||(this.je(t,e),this._d())},e.setTextScale=function(t){this.textScale=t||1,this._d()},e.setTextSize=function(t){this.textSize=t,this._d()},e.setTextFit=function(t){this.textFit=t,this._d()},e.ke=e.onAdded,e.onAdded=function(){this.ke(),this.Zd()},e.setFocus=function(t){jbeeb.focus=this,this.element.focus()},e.hiddenText=0,e._d=function(){var t,e,i,s,n,h,l,a,o;(""!=this.text||this.hiddenText)&&(t=null,e=null,i=null,this.textSize?(t=this.textSize,e="1em",i=t+"px"):(s=this.width,n=this.height,s>0&&n>0?"wh"==this.textFit?(h=n>s?s:n,t=this.textScale>0?h*this.textScale:h,(t>s||t>n)&&(h=s>n?s:n,t=this.textScale>0?h*this.textScale:h)):"w"==this.textFit?(l=this.measureText(),a=this.width/l.w/2,jbeeb.Utils.isNumber(a)&&a>0&&(this.textScale=a,t=n*a)):t=n*this.textScale:t=0),t&&(e=this.multiline?1.2*this.baselineShift+"em":this.height*this.Td/t+"em",i=t+"px"),o=this.style,o.lineHeight=e,o.fontSize=i,this.yd&&(this.yd.lineHeight=e,this.yd.fontSize=i))},e.getTextSize=function(){return this.style.fontSize||null},e.Zd=function(){this.Vd||(this._d(),this.ee())},e.$d=function(){var t,e,i,s,n,h,l,a=this.le(),o=this.me(),r=this.ne(),u=this.oe(),c="none";if(a==[]&&o==[]&&r==[]&&u==[]);else{for(t=o.concat(r,a,u),e=t.length,i=[],s=[],n=0,h=0;e>h;h++)0==n?1==t[h]&&s.push("inset"):4>n?s.push(t[h]+"px"):(s.push(jbeeb.Utils.makeColor(t[h],t[h+1])),i.push(s.join(" ")),s=[],++h,n=-1),n++;i.length>0&&(c=i.join(","))}l=this.style,l.textShadow=l.MozTextShadow=l.WebkitTextShadow=l.OTextShadow=l.msTextShadow=c,this.yd&&(this.yd.textShadow=c)},e.le=function(){var t=this.shadowText;return t?[0,t.x,t.y,t.s,t.c,t.a]:[]},e.setShadowText=function(t){this.shadowText=t,this.$d()},e.oe=function(){var t=this.insetText;return t?[1,t.x,t.y,t.s,t.c,t.a]:[]},e.setInsetText=function(t){this.insetText=t,this.$d()},e.me=function(){var t,e;return this.bevelText?(t=this.bevelText,e=[],t.c1&&t.a1>0&&(e=[0,-t.x,-t.y,t.s1,t.c1||"#000000",t.a1]),t.c2&&t.a2>0&&(e=e.concat([0,t.x,t.y,t.s2,t.c2||"#FFFFFF",t.a2])),e):[]},e.setBevelText=function(t){this.bevelText=t,this.$d()},e.ne=function(){if(this.outlineText){var t=this.outlineText;return[0,-t.weight,-t.weight,t.spread||0,t.color||"#000000",t.alpha,0,t.weight,-t.weight,t.spread||0,t.color||"#000000",t.alpha,0,-t.weight,t.weight,t.spread||0,t.color||"#000000",t.alpha,0,t.weight,t.weight,t.spread||0,t.color||"#000000",t.alpha]}return[]},e.setOutlineText=function(t){this.outlineText=t,this.$d()},e.toString=function(){return"[TextBox (name="+this.name+")]"},e.pe=e.destroy,e.destroy=function(){this.Ud&&(this.Ud.destroy(),this.Ud=null),jbeeb.focus==this&&(jbeeb.focus=null),this.ae=null,this.be=null,this.pe()},e.type="TextBox",jbeeb.TextBox=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.likeContainer=1,this.init(t)},e=t.prototype=new jbeeb.Box(null);e.likeContainer=1,e.qe=[],e.addChild=function(t){var e,i,s;if(null==t)return t;if(e=arguments.length,e>0)for(i=0;e>i;i++)s=arguments[i],s.parent&&s.parent.removeChild(s),s.parent=this,s.stage=1==this.amStage?this:this.stage,s.setZ(this.qe.length),this.element.appendChild(s.element),"function"==typeof s.onAdded&&s.onAdded.call(s),this.qe.push(s)},e.removeChild=function(t){var e,i,s=arguments.length;if(s>1){for(e=!0,i=s;i--;)e=e&&this.removeChild(arguments[i]);return e}return this.removeChildAt(this.qe.indexOf(t))},e.removeChildAt=function(t){var e,i,s,n,h=arguments.length;if(h>1){for(e=[],i=0;h>i;i++)e[i]=arguments[i];for(e.sort(function(t,e){return e-t}),s=!0,i=0;h>i;i++)s=s&&this.removeChildAt(e[i]);return s}return t>=0&&t<=this.qe.length-1&&(n=this.qe[t],n&&(n.element&&n.element.parentNode&&n.element.parentNode.removeChild(n.element),n.parent=null),this.qe.splice(t,1),this.re(),!0)},e.removeAllChildren=function(){for(var t=this.qe;t.length;)this.removeChildAt(0)},e.re=function(){var t,e,i=this.qe.length;for(t=0;i>t;t++)e=this.qe[t],e&&e.setZ(t+1)},e.toZ=function(t,e){var i,s,n;if(t){for(i=this.qe.length,s=0,n=i;n--;)if(this.qe[n]==t){s=n;break}s>e&&e--,0>e?e=0:e>i-1&&(e=i-1),jbeeb.Utils.arrayMove(this.qe,s,e),this.re()}},e.toFront=function(t){var e,i,s;if(t){for(e=this.qe.length,i=0,s=e;s--;)if(this.qe[s]==t){i=s;break}jbeeb.Utils.arrayMove(this.qe,i,e-1),this.re()}else this.parent&&this.parent.toFront(this)},e.toBack=function(t){var e,i,s;if(t){for(e=this.qe.length,i=0,s=e;s--;)if(this.qe[s]==t){i=s;break}jbeeb.Utils.arrayMove(this.qe,i,0),this.re()}else this.parent&&this.parent.toBack(this)},e.se=e.init,e.init=function(t){this.se(t),t&&(this.stage=1==this.amStage?this:this.stage,this.qe=[])},e.te=e.stretch,e.stretch=function(t,e,i){var s,n,h=t,l=e,a=this.flex;for(a&&(a.match(/w/)||(h=1),a.match(/h/)||(l=1)),s=this.qe.length;s--;)n=this.qe[s],n&&n.stretch(h,l,i);this.te(t,e,i)},e.ue=e.setFlex,e.setFlex=function(t){for(var e=this.qe.length;e--;)this.qe[e].setFlex(t);this.ue(t)},e.ve=e.animateAll,e.animateAll=function(t,e){for(var i=this.qe.length;i--;)this.qe[i].animateAll(t,e);this.ve(t,e)},e.we=e.cancelAnimation,e.cancelAnimation=function(t){for(var e=this.qe.length;e--;)this.qe[e].cancelAnimation(t);this.we(t)},e.xe=e.setMouseEnabled,e.setMouseEnabled=function(t){for(var e=this.qe.length;e--;)this.qe[e].setMouseEnabled(t);this.xe(t)},e.ye=e.destroy,e.destroy=function(){if(this.qe)for(var t=this.qe.length;t--;)this.qe[t]&&(this.qe[t].destroy(),this.qe[t]&&(this.removeChild(this.qe[t]),this.qe[t]=null));this.qe=null,this.ye()},e.destroyChildren=function(){if(this.qe)for(var t=this.qe.length;t--;)this.qe[t]&&(this.qe[t].destroy(),this.removeChild(this.qe[t]),this.qe[t]=null);this.qe.length=0,this.qe=null,this.qe=[]},e.getChildren=function(){return this.qe},e.getChildByName=function(t){var e,i,s=this.qe.length;for(e=0;s>e;e++)if(i=this.qe[e],i.name==t)return i},e.toString=function(){return"[Container (name="+this.name+")]"},e.type="Container",jbeeb.Container=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t)},e=t.prototype=new jbeeb.TextBox;e.qe=[],e.addChild=function(t){var e,i,s;if(null==t)return t;if(e=arguments.length,e>0)for(i=0;e>i;i++)s=arguments[i],s.parent&&s.parent.removeChild(s),s.parent=this,s.stage=1==this.amStage?this:this.stage,s.setZ(this.qe.length),this.element.appendChild(s.element),s.onAdded&&s.onAdded.call(s),this.qe.push(s)},e.removeChild=function(t){var e,i,s=arguments.length;if(s>1){for(e=!0,i=s;i--;)e=e&&this.removeChild(arguments[i]);return e}return this.removeChildAt(this.qe.indexOf(t))},e.removeChildAt=function(t){var e,i,s,n,h=arguments.length;if(h>1){for(e=[],i=0;h>i;i++)e[i]=arguments[i];for(e.sort(function(t,e){return e-t}),s=!0,i=0;h>i;i++)s=s&&this.removeChildAt(e[i]);return s}return t>=0&&t<=this.qe.length-1&&(n=this.qe[t],n&&(n.element&&n.element.parentNode&&n.element.parentNode.removeChild(n.element),n.parent=null),this.qe.splice(t,1),this.re(),!0)},e.removeAllChildren=function(){for(var t=this.qe;t.length;)this.removeChildAt(0)},e.re=function(){var t,e,i=this.qe.length;for(t=0;i>t;t++)e=this.qe[t],e&&e.setZ(t+1)},e.toFront=function(t){var e,i,s;if(t){for(e=this.qe.length,i=0,s=e;s--;)if(this.qe[s]==t){i=s;break}jbeeb.Utils.arrayMove(this.qe,i,e-1),this.re()}else this.parent&&this.parent.toFront(this)},e.toBack=function(t){var e,i,s;if(t){for(e=this.qe.length,i=0,s=e;s--;)if(this.qe[s]==t){i=s;break}jbeeb.Utils.arrayMove(this.qe,i,0),this.re()}else this.parent&&this.parent.toBack(this)},e.ze=e.init,e.init=function(t){this.ze(t),t&&(this.stage=1==this.amStage?this:this.stage,this.qe=[]),this.setOverflow("hidden")},e.Ae=e.stretch,e.stretch=function(t,e,i){var s,n,h=t,l=e,a=this.flex;for(a&&(a.match(/w/)||(h=1),a.match(/h/)||(l=1)),s=this.qe.length;s--;)n=this.qe[s],n&&n.stretch(h,l,i);this.Ae(t,e,i)},e.Be=e.setFlex,e.setFlex=function(t){for(var e=this.qe.length;e--;)this.qe[e].setFlex(t);this.Be(t)},e.Ce=e.setMouseEnabled,e.setMouseEnabled=function(t){for(var e=this.qe.length;e--;)this.qe[e].setMouseEnabled(t);this.Ce(t)},e.De=e.destroy,e.destroy=function(){if(this.qe)for(var t=this.qe.length;t--;)this.qe[t]&&(this.qe[t].destroy(),this.removeChild(this.qe[t]),this.qe[t]=null);this.qe=null,this.De()},e.destroyChildren=function(){if(this.qe)for(var t=this.qe.length;t--;)this.qe[t]&&(this.qe[t].destroy(),this.removeChild(this.qe[t]),this.qe[t]=null);this.qe.length=0,this.qe=null,this.qe=[]},e.getChildren=function(){return this.qe},e.toString=function(){return"[TextContainer (name="+this.name+")]"},e.type="TextContainer",jbeeb.TextContainer=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t)},e=t.prototype=new jbeeb.TextContainer;e.state=null,e.skinData=null,e.amSM=null,e.maxStates=1,e.Ee=null,e.Fe=e.init,e.init=function(t){t&&(this.skinData={},this.amSM=t.amSM,this.Fe(t),this.maxStates=0,this.Ee=1,this.applySkin(t,!1,!0),this.setState(0),this.amSM||this.setCursor("pointer"))},e.Ge=e.applySkin,e.He=function(){this.skinData&&(this.skinData.fill=null,this.skinData.stroke=null,this.skinData.image=null,this.skinData.bevel=null,this.skinData.shadow=null,this.skinData.outline=null,this.skinData.inset=null,this.skinData.textColor=null,this.skinData.shadowText=null,this.skinData.bevelText=null,this.skinData.outlineText=null,this.skinData.insetText=null),this.fill=null,this.stroke=null,this.image=null,this.shadow=null,this.bevel=null,this.outline=null,this.inset=null,this.textColor=null,this.shadowText=null,this.bevelText=null,this.outlineText=null,this.insetText=null},e.applySkin=function(t,e,i){i=1==i&&i,e=1==e&&e,this.He(),i||this.Ge(t),e||(jbeeb.Utils.isNumber(t.x)&&this.setXY(t.x,jbeeb.Utils.isNumber(t.y)?t.y:0),t.width&&this.setSize(t.width,t.height),t.w&&this.setSize(t.w,t.h)),this.setRounded(t.rounded),this.setSkinPart("fill",t.fill),this.setSkinPart("stroke",t.stroke),this.setSkinPart("image",t.image),this.setSkinPart("bevel",t.bevel),this.setSkinPart("shadow",t.shadow),this.setSkinPart("outline",t.outline),this.setSkinPart("inset",t.inset),this.setSkinPart("textColor",t.textColor),this.setSkinPart("bevelText",t.bevelText),this.setSkinPart("shadowText",t.shadowText),this.setSkinPart("outlineText",t.outlineText),this.setSkinPart("insetText",t.insetText),t.font&&this.setFont(t.font),this.setTextScale(t.textScale),this.setAlign(t.align||"center"),this.setPadding(t.padding),this.setBaselineShift(t.baselineShift),this.Ee=0},e.Ie=function(t,e){var i,s=null;if(t){if("fill"==e||"stroke"==e||"textColor"==e)if("string"==typeof t)s="stroke"==e?[{color:t,alpha:1,weight:1}]:[{color:t,alpha:1}];else if(jbeeb.Utils.isArray(t)){for(i=0;i<t.length;i++)"string"==typeof t[i]&&("stroke"==e?t[i]={color:t[i],alpha:1,weight:1}:t[i]={color:t[i],alpha:1});s=t}else s=[t];else if("image"==e)if("string"==typeof t)s=[{url:t,mode:"center"}];else if(jbeeb.Utils.isArray(t)){for(i=0;i<t.length;i++)"string"==typeof t[i]&&(t[i]={url:t[i],mode:1});s=t}else s=[t];else s=jbeeb.Utils.isArray(t)?t:[t];this.Ee&&s&&1==s.length&&s.push(s[0])}return s},e.setSkinPart=function(t,e){var i,s=this.Ie(jbeeb.Utils.clone(e),t);this.skinData[t]=s,i=1,jbeeb.Utils.isArray(s)&&(i=s.length),i>this.maxStates&&(this.maxStates=i)},e.setSkinState=function(t,e,i){this.skinData[t]||(this.skinData[t]=[null,null]);var s=e+1;s>this.maxStates&&(this.maxStates=s),i?this.skinData[t][e]=jbeeb.Utils.clone(i):this.skinData[t][e]=null},e.setState=function(t,e,i){var s,n,h;this.state==t&&e==this.text||(this.state=t||0,e&&this.setText(e),s=null,n=null,h=i||this.skinData,h&&(n=h.fill,n&&(s=n[t],s?this.setFill(s.color,s.alpha):this.setFill(null)),n=h.stroke,n&&(s=n[t],s?this.setStroke(s.weight,s.color,s.alpha):this.setStroke(null,null)),n=h.image,n&&(s=n[t],s?this.setImage(s.url,s.mode):this.setImage(null)),n=h.shadow,n&&(s=n[t],s?this.setShadow(s):this.setShadow(null)),n=h.inset,n&&(s=n[t],s?this.setInset(s):this.setInset(null)),n=h.bevel,n&&(s=n[t],s?this.setBevel(s):this.setBevel(null)),n=h.outline,n&&(s=n[t],s?this.setOutline(s):this.setOutline(null)),n=h.textColor,n&&(s=n[t],s?this.setTextColor(s.color,s.alpha):this.setTextColor(null)),n=h.shadowText,n&&(s=n[t],s?this.setShadowText(s):this.setShadowText(null)),n=h.insetText,n&&(s=n[t],s?this.setInsetText(s):this.setInsetText(null)),n=h.bevelText,n&&(s=n[t],s?this.setBevelText(s):this.setBevelText(null)),n=h.outlineText,n&&(s=n[t],s?this.setOutlineText(s):this.setOutlineText(null))))},e.Je=e.destroy,e.destroy=function(){this.He(),this.Je()},e.toString=function(){return"[Rube (name="+this.name+")]"},e.type="Rube",jbeeb.Rube=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){var e=new jbeeb.ReadyBoss;return this._=e,this.onReady=e.add.bind(e),this.Ke(t),this},e=t.prototype=new jbeeb.Container;e.ready=null,e.Ke=function(t){var e,i,s,n,h,l;t&&(this.ready=0,e=t.onReady,e&&this._.add(e,this),this.id=jbeeb.getUID(),t.stage?(this.amStage=0,this.Le(t),jbeeb.register(this)):(this.amStage=1,this.parent=this,this.stage=this,i=t.target,s=null,n=0,i&&(s="string"==typeof i?document.getElementById(i):i,s&&1===s.nodeType?(this.element=document.createElement("div"),this.element.id=this.id,s.appendChild(this.element)):n=1),i&&!n||(document.write('<div id="'+this.id+'"></div>'),this.element=document.getElementById(this.id)),t.element=this.element,this.Le(t),this.style=this.element.style,this.style.position="relative",jbeeb.Utils.isTrue(t.inline)?(this.style.cssFloat="left",this.style.display="inline-block",this.style.verticalAlign="top"):(this.style.display="block",this.style.verticalAlign="middle",this.style.marginLeft="auto",this.style.marginRight="auto"),this.style.zoom=1,h=this.width||t.w||1,l=this.height||t.h||1,this.setSize(h,l),this.setOverflow(t.overflow||"visible"),this.setCursor("default"),jbeeb.register(this)))},e.Le=e.init,e.init=function(){var t=jbeeb.Utils.getXYWH(this.element);this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,setTimeout(this.ka.bind(this),5)},e.ka=function(){this.ready=1,this._.fire()},e.onReady=null,e.toString=function(){return"[Stage (name="+this.name+")]"},e.type="Stage",jbeeb.Stage=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t)},e=t.prototype=new jbeeb.Container;e.Me=null,e.Ne=0,e.Oe=12,e.Pe=0,e.Qe=0,e.k=null,e.g=null,e.TextScroller_init=e.init,e.init=function(t){this.Qe=0,this.TextScroller_init({x:t.x,y:t.y,w:t.w,h:t.h}),this.setOverflow("hidden");var e=jbeeb.Utils.clone(t);e.x=0,e.y=0,this.Me=new jbeeb.TextBox(e),this.Me.zd=0,this.addChild(this.Me),this.Re=this.t.bind(this),t.speed&&this.setSpeed(t.speed)},e.Se=e.setSize,e.setSize=function(t,e){this.Se(t,e),this.Me&&this.Me.setHeight(e),this.Te()},e.setText=function(t){this.Me.setX(0),this.Me.setText(jbeeb.Utils.unescapeHTML(t)),this.Te()},e.Te=function(){this.Me&&(this.Ue(),this.Pe=this.Me.measureText().w,this.Ne=this.Pe-this.width,this.Qe&&(this.g=this.Ne/this.Oe*1e3,this.Ve(),this.We&&this.We.cancel(),this.We=new jbeeb.DelayCall(this.t.bind(this),1e3)))},e.Ue=function(){this.k&&clearTimeout(this.k),this.Xe(),this.Me.setX(0)},e.We=null,e.t=function(){var t,e,i=this.Ne;i>0&&(this.k&&clearTimeout(this.k),this.k=setTimeout(this.Re,this.g+500),t=this.Me.x,t>-i||(e=0),0>t||(e=-i),this.Me.setX(e))},e.Xe=function(){this.Me.cancelAnimation()},e.Ve=function(){this.Me.animateAll(this.g,"linear")},e.setSpeed=function(t){this.Oe=t},e.Ye=e.onAdded,e.onAdded=function(){this.Ye(),this.Te()},e.start=function(t){t&&(this.Oe=t),this.Qe=1,this.Ue(),this.Te()},e.stop=function(){this.Qe=0,this.Ue()},e.toString=function(){return"[TextScroller (name="+this.name+")]"},e.type="TextScroller",jbeeb.TextScroller=t}(),this.jbeeb=this.jbeeb||{},function(){function t(t){var e,i,s,n,h,l,a,o;if("object"==typeof t)if(i=t.color,"object"==typeof i){for(s=[],n=0;n<i.length;n+=3)h=i[n],l=i[n+1],a=i[n+2]/100,o=jbeeb.Utils.makeColor(h,l),s.push(a,o);e=s}else e=jbeeb.Utils.makeColor(i,t.alpha);else e=t;return e}var e,i=function(t){this.Ze="cubic-bezier(0.075, 0.820, 0.165, 1.000)",this.likeContainer=0,this.init(t)};i.options={bars:{kind:"range",min:"1",max:"100",step:1,defaultValue:20,optional:!1,getter:"getBars",setter:"setBars",label:"Number of Bars",description:"The number of pixels between each item."},barMargin:{kind:"range",min:"0",max:"100",step:1,defaultValue:0,optional:!1,getter:"getBarMargin",setter:"setBarMargin",label:"Bar Spacing",description:"The height of each line item in pixels."}},e=i.prototype=new jbeeb.Container,i.randomNumber=function(t,e){return t+Math.random()*(e-t)},i.randomInt=function(t,e){return Math.round(t+Math.random()*(e-t))},e.$e=0,e._e=null,e.af=null,e.bf=-1,e.cf=1,e.df=10,e.ef=40,e.ff=!1,e.gf=!1,e.$=0,e.hf=[],e.if=null,e.g=null,e.Re=null,e.k=null,e.Ze=null,e.t=function(){1==this.$e&&(this.k&&clearTimeout(this.k),this.k=setTimeout(this.Re,this.g),this.u())},e.jf=function(){this.$=0,this.ff=!0,this.gf=!1,this.cf=2,this.g=50,this.Re=this.t.bind(this),this.$e=1,this.t()},e.kf=function(){this.$=0,this.gf=!0,this.ff=!1,this.$e=0},e.lf=function(){var t,e,i,s,n,h,l;for(this.k&&clearTimeout(this.k),this.$=0,this.gf=!0,this.ff=!1,this.$e=0,t=this.height,e=.1*t,i=e>2?2:e,s=i,n=t-i,h=0;h<this._e;h++)l=this.hf[h],l.setTop(n),l.setHeight(s)},e.mf=null,e.nf=e.init,e.pf=null,e.init=function(t){this.nf({x:t.x,y:t.y,w:t.w,h:t.h}),this.setOverflow("visible"),this.if=t.amSM,this.if||wimpy&&wimpy.extension&&wimpy.extension.eq&&wimpy.extension.eq.GraphicEq&&wimpy.extension.eq.GraphicEq.canUse()&&(this.mf=!0,this.qf=t.fill,this.rf=t.stroke,this.sf=t.bars,this.tf=t.barMargin),this.pf=t,this.mf||this.uf(t)},e.uf=function(t){this.bf=-1,this.cf=1,this.ef=40,this.ff=!1,this.gf=!1,this.$=0,this.$e=0,this.fill=t.fill,this.vf(t.bars,t.barMargin),this.if&&this.screenshot()},e.wf=null,e.qf=null,e.rf=null,e.sf=null,e.tf=null,e.xf=null,e.initGraphicEq=function(e,i,s){var n,h,l,a,o,r;this.mf&&i?(this.setOverflow("hidden"),n=t(this.qf),this.rf&&(h=jbeeb.Utils.makeColor(this.rf.color,this.rf.alpha),l=this.rf.weight||1),a="string"==typeof i?i:"Peaks",o="#fd008e","Peaks"==a?r={backgroundColor:null,barColor:n,strokeColor:h,barSpace:this.tf}:"Line"==a&&(r={backgroundColor:null,fillColor:n,lineColor:h,lineWidth:l}),this.wf=new wimpy.extension.eq.GraphicEq({player:e,target:this.element,renderer:a,rendererOpts:r,smoothing:s.smoothing,bands:s.bands||this.sf,scale:s.scale||2,bassDamp:s.bassDamp||.5})):(this.mf=!1,this.uf(this.pf))},e.vf=function(t,e){var i,s,n,h,l,a,o,r;for(this._e=t||1,this.af=e||0,i=this.hf.length;i--;)s=this.hf[i],this.removeChild(s),s.destroy();for(this.hf=[],n=this.width,h=this.height,l=(n-e*t)/t,a=.1*h,this.if&&(a=h),1>l&&(l=1,e=(n-l*t)/t,this._e=t,this.af=e),i=0;t>i;i++)o=(l+e)*i,r=new jbeeb.Box({x:o,y:h-a,w:l,h:a,fill:this.fill}),r.animateAll(100,this.Ze),this.addChild(r),this.hf.push(r)},e.u=function(){var t,e,s,n,h,l,a,o,r,u,c=this.height,d=i.randomInt;for(t=0;t<d(0,this._e-1);t++)e=d(0,this._e-1),s=1>=e||e>this._e-this._e/2?this.ef/2:this.ef,e>this._e-this._e/4?s/=2:s=s,n=this.hf[e],this.cf>1?(h=this.cf/this.df*i.randomNumber(1,s)/this.ef,l=c*h,n.setY(-l+c),n.setHeight(l)):(a=.1*c,o=a>2?2:a,r=o,u=c-o,n.setTop(u),n.setHeight(r));(this.ef>this.df||this.ef<1)&&(this.bf*=-1),this.ef+=1/i.randomNumber(2,this.cf)*this.bf,this.ef>this.cf&&(this.ef=this.cf,this.bf=-1),this.ef<1&&(this.ef=1,this.bf=1),1==this.gf&&(this.$++,this.$%2&&this.cf--,this.cf<2&&this.lf()),1==this.ff&&(this.$++,this.$%2&&this.cf++,this.cf>9&&(this.ff=!1))},e.setState=function(t){this.if||this.mf||(1==t?0==this.$e&&this.jf():t==-1?this.lf():1==this.$e&&this.kf())},e.setFill=function(t,e){this.fill.color=t,this.fill.alpha=e;for(var i=0;i<this.hf.length;i++)this.hf[i].setFill(t,e)},e.setStroke=function(t,e,i,s){var n,h={weight:t,color:e,alpha:i,style:s||"solid"};for(this.stroke=h,n=0;n<this.hf.length;n++)this.hf[n].setStroke(t,e,i,s)},e.toString=function(){return"[FakeEQ (name="+this.name+")]"},e.setBars=function(t){this._e=+t||3,this.vf(this._e,this.af),this.screenshot()},e.getBars=function(t){return this._e},e.setBarMargin=function(t){this.af=+t||0,this.vf(this._e,this.af),this.screenshot()},e.getBarMargin=function(t){return this.af},e.setRenderer=function(t){var e=this.wf;e&&e.setRenderer(t)},e.screenshot=function(){var t,e,s,n=this.hf,h=n.length,l=this.height;for(t=0;h>t;t++)e=.2*h>t?l/2-l*Math.cos(Math.PI*(.4*h/t)):l-l*Math.cos(Math.PI*(t/(.4*h))),e*=i.randomNumber(0,2),1>e?e=1:e>l&&(e=l),s=n[t],s.setY(-e+l),s.setHeight(e)},e.resize=function(){this.wf&&this.wf.resize(this.width,this.height)},e.type="FakeEQ",jbeeb.FakeEQ=i}(),this.jbeeb=this.jbeeb||{},function(){var t,e=function(t){this.init(t)};e.defaultSkin={type:"Thinker",x:0,y:0,w:30,h:30,textColor:"#000000",textScale:1,font:"WimpyPlayerGlyphs",align:"center",text:"t"},t=e.prototype=new jbeeb.Container,t.if=!1,t.state=0,t.yf=null,t.zf=t.init,t.init=function(t){var e,i;this.if=t.amSM,this.zf(t),e={x:0,y:0,w:t.w,h:t.h,textColor:t.textColor,textScale:t.textScale,font:"WimpyPlayerGlyphs",align:"center",text:"t"},i=new jbeeb.TextBox(e),this.addChild(i),this.yf=i,this.yf.center(),this.if?(this.yf.setOrigin(0,0,"px"),this.show()):(this.yf.setOrigin(50,50,"%"),this.hide())},t.show=function(){this.state=1,this.setVisible(1),this.if||jbeeb.ticker&&jbeeb.ticker.addEventListener("tick",this.tick,this)},t.hide=function(){this.setVisible(0),this.if||jbeeb.ticker&&jbeeb.ticker.removeEventListener("tick",this.tick,this),this.state=0},t.tick=function(){var t=this.yf.rotation;this.yf.setRotation(t+12)},t.setState=function(t){this.if||(t?this.state||this.show():this.hide())},t.Af=t.stretch,t.stretch=function(t,e,i){this.yf.setOrigin(0,0,"px"),this.Af(t,e,i),this.yf.setOrigin(50,50,"%")},t.toString=function(){return"[Thinker (name="+this.name+")]"},t.type="Thinker",jbeeb.Thinker=e}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t,e,i,s,n,h,l,a,o,r,u){this.init(t,e,i,s,n,h,l,a,o,r,u)},e=t.prototype=new jbeeb.Rube;e.home=null,e.file=null,e.title=null,e.link=null,e.dl=null,e.Bf=null,e.Cf=null,e.data=null,e.Df=null,e.Ef=null,e.Ff=null,e.Gf=null,e.Hf=e.init,e.init=function(t,e,i,s,n,h,l,a,o,r,u){var c,d,f,b,p,m,g,y,v,w,k,j,x;l&&(n=1,h=1),this.home=t,this.Ef=e,c=jbeeb.Utils.clone(i),i.font=i.font||"Arial, Helvetica, sans-serif",i.align=i.align||"left",i.textScale=i.textScale||.7,this.Df=c,this.Hf(i),this.hiddenText=1,this.name="listItem",d=c.x,f=c.y,b=c.w,p=c.h,m="WimpyPlayerGlyphs",y=o,y||(y={file:"f",list:"F",download:"D",link:"i",linkTip:"link",downloadTip:"download"}),this.Cf=h?1:0,this.Bf=n?1:0,v=p*(1/(this.textScale||1))*.15+"px",this.If=[this.file,this.dl,this.link],w=document.createElement("span"),k=w.style,k.position="absolute",k.left="0",k.right=p+"px",this.Ff=w,g=document.createElement("span"),k=g.style,k.marginRight="0.5em",k.marginLeft=v,k.pointerEvents="none",k.fontFamily=a?"sans-serif":m,g.innerHTML=a?e+1:s?y.list:y.file,this.file=g,w.appendChild(g),g=document.createElement("span"),k=g.style,k.pointerEvents="none",g.innerHTML="My Title",this.title=g,w.appendChild(g),this.element.appendChild(w),(h||n)&&(j=document.createElement("div"),k=j.style,k.position="absolute",k.right="0px",k.marginRight=v,k.whiteSpace="nowrap",k.textAlign="right",this.Gf=j,this.Jf=this.Kf.bind(this),x=1.5,h&&(g=document.createElement("span"),k=g.style,k.fontFamily=m,k.marginLeft="0.6em",g.innerHTML=y.download||"D",this.Lf=this.Mf.bind(this),jbeeb.Utils.bindEvent(g,"mousedown",this.Lf),jbeeb.Utils.bindEvent(g,"mouseup",this.Jf),g.title=g.alt=r||y.downloadTip||"download",g.setAttribute("aria-role",g.alt),this.dl=g,j.appendChild(g),x++),n&&(g=document.createElement("span"),k=g.style,k.fontFamily=m,k.marginLeft="0.6em",g.innerHTML=y.link||"i",this.Nf=this.Of.bind(this),jbeeb.Utils.bindEvent(g,"mousedown",this.Nf),jbeeb.Utils.bindEvent(g,"mouseup",this.Jf),this.link=g,j.appendChild(g),x++,g.title=g.alt=u||y.linkTip||"link",g.setAttribute("aria-role",g.alt)),this.element.appendChild(j),w.style.overflow="hidden",w.style.right=x+"em"),this.Pf=this.Qf.bind(this),jbeeb.Utils.bindEvent(w,"mousedown",this.Pf),this.Rf=this.Sf.bind(this),jbeeb.Utils.bindEvent(w,"mouseup",this.Rf),this.disableMouse(),this.setPadding(this.padding),this.stretch(1,1)},e.setIcon=function(t){this.file&&(this.file.innerHTML=t)},e.setText=function(t){this.Tf(jbeeb.Utils.unescapeHTML(t))},e.clearText=function(){this.Tf("")},e.Tf=function(t){var e,i=this.title;i&&(e=jbeeb.Utils.unescapeHTML(t),i.innerHTML=t,i=this.Ff,i.title=i.alt=e,i.setAttribute("aria-label",e))},e.Uf=e.setAlign,e.setAlign=function(t){this.Uf("left")},e.Vf=e.setPadding,e.setPadding=function(t){if(t&&(this.Vf(t),this.Gf)){var e=this.height*(1/(this.textScale||1))*.15;e=this.padding+e+"px",this.Gf.style.marginRight=e,this.file.style.marginLeft=e}},e.Pf=null,e.Rf=null,e.Jf=null,e.Lf=null,e.Nf=null,e.Qf=function(t){this.home.listItemMouse("down",this.Ef,this)},e.Sf=function(t){this.home.listItemMouse("up",this.Ef,this)},e.Kf=function(t){t.preventDefault&&t.preventDefault()},e.Wf=null,e.Mf=function(t){t.preventDefault&&t.preventDefault(),this.Wf="down",setTimeout(this.Xf.bind(this),300)},e.Of=function(t){t.preventDefault&&t.preventDefault(),this.Wf="link",setTimeout(this.Xf.bind(this),300)},e.Xf=function(){this.home.specialClick(this.Wf,this.Ef,this)},e.Yf=e.destroy,e.destroy=function(){e.home=null,jbeeb.Utils.empty(this.element),jbeeb.Utils.unbindEvent(this.dl,"mouseUp",this.Lf),jbeeb.Utils.unbindEvent(this.link,"mouseUp",this.Nf),jbeeb.Utils.unbindEvent(this.Ff,"mouseup",this.Jf),e.file=null,e.title=null,e.link=null,e.dl=null,e.data=null,e.Yf()},e.Zf=e.onAdded,e.onAdded=function(){this.Zf(),this.setState(1),this.setState(0)},e.toString=function(){return"[ListItem (name="+this.name+")]"},e.type="ListItem",jbeeb.ListItem=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t,e,i,s=function(t){this.init(t),this.likeContainer=0},n=[];if(jbeeb.mimes&&jbeeb.mimes.playlist){t=jbeeb.mimes.playlist;for(e in t)n.push(e);s.$f=n}s._f={file:"f",list:"F",download:"D",link:"i",downloadTip:"download",linkTip:"link"},s.defaultSkin={x:0,y:0,w:150,h:120,type:"List",item:{x:0,y:0,w:156,h:19.322,type:"ListItem",name:"listItem",text:"",font:"Arial, Helvetica, sans-serif",textColor:["#000000","#FFFFFF"],textScale:.7,textFit:"wh",fill:[null,"#266FC2"],stroke:1,spacing:0}},s.options={spacing:{kind:"range",min:"0",max:"50",step:1,defaultValue:0,optional:!1,setter:"setSpacing",label:"Spacing",description:"The number of pixels between each item."},lineHeight:{kind:"range",min:"5",max:"100",step:1,defaultValue:24,optional:!1,getter:"getLineHeight",setter:"setLineHeight",
label:"Line Height",description:"The height of each line item in pixels."}},i=s.prototype=new jbeeb.Container,i.ag="title",i.bg=null,i.cg=null,i.dg=0,i.eg=0,i.fg=[],i.gg=[],i.$b=null,i.hg=null,i.ig=null,i.jg=0,i.selectedIndex=-1,i.selectedItem={},i.state=0,i.kg={},i.spacing=0,i.Bf=null,i.Cf=null,i.amSM=!1,i.SMtarget=null,i.lg=null,i.mg=null,i.ng=null,i.og=null,i.pg=null,i.qg=null,i.rg=null,i.sg=null,i.tg=null,i.ug=null,i.vg=null,i.wg=null,i.xg=0,i.yg=null,i.zg=null,i.Ag=0,i.Bg=0,i.Cg=0,i.Dg=null,i.Eg=null,i.Fg=null,i.Gg=null,i.Hg=1,i.Ig=i.init,i.init=function(t){var e,i,s,n,h;this.Hg=1,e=t.glyphs,e&&this.setGlyphs(t.glyphs),e=t.labels,e&&this.setLabels(t.labels),e=t.displayField,e&&this.setDisplayField(t.displayField),this.amSM=t.amSM,this.fg=[],this.gg=[],this.selectedItem={},this.kg={},this.lg=jbeeb.Utils.isTrue(t.numberTracks)?1:0,t.callback&&(this.$b=t.callback),t.callbackMore&&(this.hg=t.callbackMore),t.callbackDownload&&(this.ig=t.callbackDownload),this.Bf=t.useLink,this.Cf=t.useDown,this.Ig(t),i={x:0,y:0,w:t.w,h:20,fill:["#FFFFFF","#266FC2"],textColor:["#000000","#FFFFFF"],textScale:.7},s=jbeeb.Utils.clone(t.item||i),this.kg=s,t.spacing?this.spacing=t.spacing:this.spacing=s.spacing||0,t.lineHeight&&(this.kg.h=t.lineHeight),this.eg=this.kg.h+this.spacing,this.setOverflow("hidden"),this.cg=new jbeeb.Container({x:0,y:0,w:t.w,h:t.h}),this.addChild(this.cg),this.style.scrollBehavior="smooth",this.Jg(),t.scrollbar?this.setScrollbar(t.scrollbar):t.autoScrollbar&&(n=new jbeeb.Slider({x:t.w+(t.autoScrollbarOffset||5),y:0,w:12,h:t.h,invertVal:1}),this.addChild(n),this.setScrollbar(n),this.setWidth(t.w+17)),t.list?this.setList(t.list):this.Kg(),this.amSM||(this.sg=this.Lg.bind(this),this.rg=this.Mg.bind(this),jbeeb.Browser.ios||jbeeb.Browser.mobile?(this.MELpreventDefault=!0,this.element.style.overflowY="auto",this.element.style.webkitOverflowScrolling="touch",this.element.style.msTouchAction=this.element.style.touchAction="pan-y"):(h=jbeeb.Browser.moz?"DOMMouseScroll":"mousewheel",this.Dg=this.Ng.bind(this),jbeeb.Utils.bindEvent(this.element,h,this.Dg)))},i.Kg=function(){this.dg=this.eg*this.gg.length-this.height+1,this.dg<0&&(this.jg=0),this.Og(this.jg),this.Pg(this.jg)},i.Pg=function(t,e){e&&("start"==e?this.qg=!0:"end"==e&&(this.qg=!1)),this.jg=t,this.Qe()},i.Qe=function(){this.element.scrollTop=this.dg*this.jg},i.Lg=function(t){this.bg&&!this.qg&&(this.Qg=this.element.scrollTop,this.Rg||(window.requestAnimationFrame(this.rg),this.Sg=!0))},i.Mg=function(){this.Sg=!1;var t=this.Qg/this.cg.height;this.bg.setValue(t,!0)},i.Jg=function(){var t,e,i,s;for(t=0;t<this.gg.length;++t)this.Tg(this.gg[t],t);this.amSM&&(this.SMtarget=new jbeeb.ListItem(this,1e3,this.kg,0,1,1,this.amSM),this.addChild(this.SMtarget),this.SMtarget.setXY(0,3*-this.eg),this.SMtarget.name=this.name),this.bg&&(e=!0,this.fg.length>0&&(i=this.fg[this.fg.length-1],s=i.y+this.eg,s>this.height||(e=!1)),e?this.bg.enable():this.bg.disable()),this.cg.setHeight(this.gg.length*this.eg)},i.Tg=function(t,e){var i,s,n,h=t.amPlaylist,l=0,a=0;h?(a=0,l=0):(i=jbeeb.Utils.isTrue,s=jbeeb.Utils.isFalse,l=i(this.Cf)?1:0,void 0!==t.downloadable&&(i(t.downloadable)?l=1:s(t.downloadable)&&(l=0)),a=i(this.Bf)?1:0,void 0!==t.link&&(a=s(t.link)?0:1)),n=new jbeeb.ListItem(this,e,this.kg,h,a,l,this.amSM,this.lg,this.ng,t.downloadtip,t.linktip),n.setXY(0,this.eg*e),n.setText(t[this.ag]||t.title),t.icon&&n.setIcon(t.icon),n.setState(0),n.setMouseEnabled(this.Hg),this.cg.addChild(n),this.fg.push(n),this.Ug()},i.redrawList=function(t){this.kg=t||this.kg,this.eg=this.kg.h+this.spacing,this.fg.length=0,this.fg=null,this.fg=[],this.cg.destroyChildren(),this.amSM&&this.SMtarget&&(this.removeChild(this.SMtarget),this.SMtarget.destroy()),this.Jg(),this.Kg()},i.Vg=i.stretch,i.stretch=function(t,e,i){var s,n;t>0&&e>0&&(this.Vg(t,e,i),s=this.spacing*e,n=this.kg.h*e,this.kg.w=this.kg.w*t,this.kg.h=n,this.spacing=s,this.eg=n+s,this.Ug())},i.setList=function(t,e,i){var s,n;if(0!==e&&1!==e&&e!==!0&&e!==!1||enableLink(e,this.pg,!0),0!==i&&1!==i&&i!==!0&&i!==!1||enableDownload(i,this.og,!0),this.Wg(-1),this.jg=0,this.Xg(),s=0,t&&(s=t.length))for(n=0;s>n;n++)this.gg.push(jbeeb.Utils.clone(t[n]));this.redrawList(),this.Pg(0),this.bg&&this.bg.setPageSizePercent(this.height/this.eg/this.gg.length)},i.addItem=function(t){var e,i=jbeeb.Utils.clone(t);this.gg.push(i),e=this.gg.length,this.Tg(i,e-1),this.bg&&this.bg.setPageSizePercent(this.height/this.eg/e)},i.Xg=function(){var t,e,i,s=this.gg.length;for(t=0;s>t;t++)for(e in this.gg[t])this.gg[t][e]=null;for(this.gg=null,this.gg=[],t=0;t<this.fg.length;t++)i=this.fg[t],i.clearText(),i.setState(0);this.Kg(),this.Ug()},i.Ug=function(){var t=this.gg.length;t?this.xg=this.eg/(t*this.eg-this.height):this.xg=0},i.Ng=function(t){var e,i;t.preventDefault&&t.preventDefault(),this.qg=!0,e=t||window.event,i=this.xg*((e.detail?e.detail*-120:e.wheelDelta)/240),this.Og(this.Yg()-i),clearTimeout(this.Fg),this.Zg||(this.Zg=this.$g.bind(this)),this.Fg=setTimeout(this.Zg,1e3)},i.$g=function(){this.qg=!1},i.listItemMouse=function(t,e,i){this.Gg=e,"up"==t&&!this.wg&&this.Hg&&this._g(e)},i.refresh=function(t){var e,i,s=this.fg;for(e=0;e<s.length;e++)i=s[e],i.setState(0);this.highlightItem(t)},i.highlightItem=function(t){this.tg&&this.tg.setState(0);var e=this.fg[t];return e&&e.setState(1),this.Wg(t),e},i.Wg=function(t){this.selectedIndex=t,this.selectedItem=t>-1?this.gg[t]:null},i._g=function(t,e,i){if(null!==t&&t>-1&&t<this.gg.length){var s=this.highlightItem(t);i=i||!1,this.Wg(t),this.Qe(),i||this.$b&&this.$b("click",this.selectedIndex),this.tg=s}},i.scrollTo=function(t,e){var i,s,n=this.getGitem(t);n&&(i={x:0,y:n.y,width:this.width,height:this.eg},s={x:-1,y:this.element.scrollTop-1,width:this.width+1,height:this.height},jbeeb.Utils.contains(s,i)||this.Og(t/(this.gg.length-1)),this._g(t,null,e))},i.Og=function(t,e){0>t?t=0:t>1&&(t=1),this.bg?this.bg.setValue(t,e):(this.jg=t,this.Pg(t))},i.Yg=function(){var t;return t=this.bg?this.bg.getValue():this.jg},i.scrollOne=function(t){var e,i;this.qg=!0,e=this.gg.length,i=Math.round(e*this.Yg())+t,this.Og(i/e),this.ah||(this.ah=this.bh.bind(this)),this.ch&&clearTimeout(this.ch),this.ch=setTimeout(this.ah,300)},i.bh=function(){this.qg=!1},i.setScrollbar=function(t){this.bg=t,this.bg.setInverted(1),this.bg.addEventListener("change",this.Pg,this),this.bg.setStretchThumb(1),this.element.addEventListener("scroll",this.sg,!1)},i.setDisplayField=function(t){this.ag=t},i.setGlyphs=function(t){var e,i=s._f;if(t)for(e in t)i[e]&&t[e]&&(i[e]=t[e]);this.ng=i},i.enableLink=function(t,e,i){this.Bf=t,this.pg=e,i||this.redrawList()},i.enableDownload=function(t,e,i){this.Cf=t,this.og=e,i||this.redrawList()},i.setCallback=function(t){this.$b=t},i.setCallbackMore=function(t){this.hg=t},i.setCallbackDownload=function(t){this.ig=t},i.specialClick=function(t,e,i){var s=this.gg[e];"down"==t?"function"==typeof this.ig&&this.ig(s,e,i):"link"==t&&"function"==typeof this.hg&&this.hg(s,e,i)},i.setNumberTracks=function(t){this.lg=t},i.getGitem=function(t){return this.fg[t]||null},i.getGlist=function(){return this.fg},i.toString=function(){return"[List (name="+this.name+")]"},i.setRounded=function(){},i.setStroke=function(){},i.setFill=function(){},i.setImage=function(){},i.setBevel=function(){},i.setOutline=function(){},i.setShadow=function(){},i.setInset=function(){},i.setAlpha=function(){},i.setState=function(t){},i.smGatherExtra=function(t,e){var i=t.getObjData(this.getGitem(0));i.spacing=this.spacing,e.item=i,e.spacing=this.spacing},i.smPrep=function(){var t,e=[];for(t=1;25>t;t++)e.push({title:"This is Track "+t});this.enableLink(1),this.enableDownload(1),this.setList(e)},i.setMouseEnabled=function(t){var e,i;for(this.Hg=t,e=0;e<this.fg.length;e++)i=this.fg[e],i.setMouseEnabled(t)},i.setSpacing=function(t){this.spacing=+t||0,this.dispatchEvent("listSmUpdate",this,this.kg.h)},i.setLineHeight=function(t){this.kg.h=+t||10,this.dispatchEvent("listSmUpdate",this,this.kg.h)},i.getLineHeight=function(){return this.kg.h},i.getEditObj=function(){return this.amSM?this.SMtarget:null},i.dh=i.destroy,i.destroy=function(){this.Dg&&jbeeb.Utils.unbindEvent(this.element,"mousewheel",this.Dg),this.dh()},i.type="List",jbeeb.List=s}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t,e=function(t){this.init(t),this.likeContainer=1};e.defaultSkin={x:0,y:0,w:100,h:10,type:"Slider",name:"myslider",children:[{x:0,y:0,type:"Rube",name:"track",w:100,h:10,rounded:1,stroke:{weight:1,color:"#979B99"},fill:{color:["#cecece",1,0,"#ececec",1,30,"#fafafa",1,50,"#fdfdfd",1,70,"#fafafa",1,80,"#ececec",1,100],alpha:"v"}},{x:0,y:0,type:"Rube",name:"thumb",w:10,h:10,rounded:1,fill:{color:["#F3F2F8",1,0,"#C0C0C4",1,100],alpha:"v"},shadow:{x:0,y:1,s:2,a:.3},stroke:{weight:1,color:"#979B99"}}]},e.setDefaultSkin=function(t){t.track&&(e.eh=t.track,e.eh.x=0,e.eh.y=0),t.thumb&&(e.fh=t.thumb,e.fh.x=0,e.fh.y=0),t.labelColor&&(e.defaultLabelColor=t.labelColor)},e.eh=e.defaultSkin.children[0],e.fh=e.defaultSkin.children[1],t=e.prototype=new jbeeb.Container,t.defaultLabelColor="#000000",t.value=0,t.gh=!1,t.hh=0,t.track=null,t.thumb=null,t.ih=null,t.jh=null,t.kh=null,t.lh=null,t.mh=null,t.nh=null,t.oh=null,t.ph=0,t.qh=0,t.rh=0,t.sh=0,t.th=!1,t.uh=!1,t.vh=!1,t.label=null,t.icon=null,t.wh=0,t.dragging=!1,t.xh=0,t.yh=null,t.zh=null,t.Ah=null,t.Bh=0,t.Ch=0,t.valueTextbox=null,t.Dh=null,t.Eh=0,t.Fh=0,t.Gh=null,t.state=0,t.Hh=t.init,t.init=function(t){var i,s,n,h,l,a,o,r,u,c,d,f,b,p,m,g,y,v,w,k,j,x,S;if(t){if(this.Hh(t),t.usePaging?this.wh=1:this.wh=0,t.stretchThumb?this.yh=1:this.yh=0,n=t.w>t.h?t.h:t.w,h=t.children)for(l=0;l<h.length;l++)a=h[l],a&&("track"==a.name?i=jbeeb.Utils.clone(a):"thumb"==a.name&&(s=jbeeb.Utils.clone(a)));o=t.w>t.h?1:0,i||(r=jbeeb.Utils.clone(e.eh),r.w=t.w,r.h=t.h,r.fill.alpha=o?"v":"h",i=r),s||(n=t.w>t.h?t.h:t.w,u=1,c=1,o?u=1.8:c=1.8,r=jbeeb.Utils.clone(e.fh),r.w=n*u,r.h=n*c,r.fill.alpha=o?"v":"h",s=r),s.fill||s.stroke||(s.w=1,s.h=1),d=i.x<s.x?i.x:s.x,f=i.y<s.y?i.y:s.y,b=i.w>s.w?i.w:s.w,p=i.h>s.h?i.h:s.h,this.vh=i.w<=i.h,this.track=new jbeeb.Rube(i),this.track.name="track",this.MELbubble=!1,this.MELpropagate=!1,this.thumb=new jbeeb.Rube(s),this.thumb.name="thumb",t.amSM||(this.track.setMouseEnabled(0),this.thumb.setMouseEnabled(0)),this.addChild(this.track,this.thumb),m="translate3d(0,0,0)",g=this.thumb.style,g.WebkitTransform=m,g.MozTransform=m,g.msTransform=m,g.OTransform=m,g.transform=m,this.lh=this.thumb.width,this.mh=this.thumb.height,this.centerThumb(),t.label&&(this.label=new jbeeb.ControlLabel({h:12,relative:this.track,offsetX:t.labelOffsetX,offsetY:t.labelOffsetY,position:t.labelPos,text:t.label,font:t.font,align:t.align,textColor:t.labelColor||e.defaultLabelColor}),this.addChild(this.label)),t.toggler&&(w=t.togglerPos,this.label&&t.lablePos==w?(y=this.label.x,v=this.label.y,this.label.setX(y+20)):"tl"==w?(y=0,v=-20):"tr"==w?(y=this.width+4,v=-20):"l"==w?(y=-20,v=this.height-8):"r"==w&&(y=this.width+4,v=this.height-8),k=new jbeeb.Checkbox({x:y,y:v,w:16,h:16}),this.addChild(k),k.addEventListener("change",this.Ih,this,!1),this.Gh=k),t.icon&&(this.icon=new jbeeb.Box({x:t.icon.x,y:t.icon.y,w:t.icon.w,h:t.icon.w,image:{url:t.icon.image,mode:"fit"},center:t.icon.center}),this.addChild(this.icon)),t.print&&(t.print.editable&&(this.Eh=1),t.print.numeric=1,k=new jbeeb.TextBox(t.print),this.Dh=k,this.addChild(k),j=t.print.pos,x=0,S=0,j.match(/t/i)?S=-k.height:j.match(/b/i)&&(S=this.track.height),j.match(/r/i)&&(x=this.track.width-k.width),k.setXY(x+(t.printOffsetX||0),S+(t.printOffsetY||0)),this.Jh=t.printFixed||1,this.Eh&&this.Dh.addEventListener("enter",this.Kh,this),this.valueTextbox=this.Dh,this.Lh=t.printHandler),this.th=!1,t.amSM||(this.addMEL("mouseDown",this.Mh,this),this.addMEL("mouseOver",this.Nh,this),this.addMEL("mouseOut",this.Oh,this),this.addMEL("mouseDrag",this.Ph,this),this.addMEL("mouseUp",this.Qh,this)),t.invertVal&&(this.gh=t.invertVal),t.logVal&&(this.hh=t.logVal),jbeeb.Utils.isNumber(t.value)?(this.setValue(t.value,!0,"init"),this.Fh=t.value):this.Fh=0,this.Ch=0,this.Ch&&this.setSmoothMove(1)}},t.Kh=function(t,e){var i=this.Lh?this.Lh("set",e):parseFloat(e);this.setValue(i,!0)},t.Rh=function(){var t,e;this.Dh&&(t=this.Lh?this.Lh("get",this.value):parseFloat(this.value),e=t.toFixed(this.Jh),this.Dh.setText(e))},t.setPrintText=function(t,e){this.Dh.setText(t),e||this.setValue(parseFloat(newText),e)},t.Nh=function(t,e,i){this.thumb.setState(1)},t.Oh=function(t,e,i){this.dragging||this.thumb.setState(0)},t.Ih=function(t,e,i){1==t?(this.state=1,this.setValue(i||this.Fh,!0)):(this.state=0,this.setValue(i||0,!0)),e||this.dispatchEvent("toggle",this,t,!1,"manual")},t.setState=function(t,e){this.Gh&&this.Ih(t,!0,e)},t.setLabelText=function(t,e){this.label&&(this.label.setText(t),this.label.setTextColor(e))},t.centerThumb=function(){var t,e,i=this.track.x,s=this.track.y;this.lh=this.thumb.width,this.mh=this.thumb.height,t=this.track.x+this.track.width-this.lh,e=this.track.y+this.track.height-this.mh,this.vh?(this.ih=s,this.jh=e,this.kh=e-s,this.nh=this.mh,this.thumb.setX(this.track.x+this.track.width/2-this.lh/2)):(this.ih=i,this.jh=t,this.kh=t-i,this.nh=this.lh,this.thumb.setY(this.track.y+this.track.height/2-this.mh/2))},t.Sh=t.show(),t.show=function(){this.Sh(),this.centerThumb()},t.getPageSizePercent=function(){return this.oh},t.setPageSizePercent=function(t){if(this.oh=t,1>t?this.nh=this.kh*this.oh:this.oh=1,this.yh){this.oh<1?this.enable():this.disable();var e;this.vh?(e=this.height*this.oh,e<this.width&&(e=this.width),this.thumb.setHeight(e),this.mh=e,this.centerThumb()):(e=this.width*this.oh,e<this.height&&(e=this.height),this.thumb.setWidth(e),this.lh=e,this.centerThumb())}},t.setStretchThumb=function(t){this.yh=t,this.setPageSizePercent(this.oh)},t.Ph=function(t,e,i){this.th||this.Mh(t,e),this.dragging=!0,this.uh=!0;var s=this.vh?this.sh+e.deltaY:this.rh+e.deltaX;this.Th(s,!1,"move"),this.Bh=e.mouseX},t.Qh=function(t,e,i){this.uh?this.dispatchEvent("change",this.value,"end"):this.Uh(t,e,"clickUp"),this.dragging=!1,this.th=!1,this.uh=!1,this.Ch&&this.setSmoothMove(1)},t.Mh=function(t,e,i){this.Ch&&this.setSmoothMove(0),this.dragging=!1,this.th=!0,this.uh=!1,this.ph=e.mouseX,this.qh=e.mouseY,this.rh=this.thumb.x,this.sh=this.thumb.y,this.Uh(t,e,"clickDown"),this.dispatchEvent("change",this.value,"start"),this.thumb.setState(1)},t.Uh=function(t,e,i){if(e){var s;this.wh?this.vh?(s=e.mouseY,s=s<this.thumb.y?this.thumb.y-this.nh:s>this.thumb.y+this.thumb.height?this.thumb.y+this.nh:this.thumb.y):(s=e.mouseX,s=s<this.thumb.x?this.thumb.x-this.nh:s>this.thumb.x+this.thumb.width?this.thumb.x+this.nh:this.thumb.y):(s=this.vh?e.mouseY-this.mh/2:e.mouseX-this.lh/2,"clickDown"==i&&(this.vh?this.sh=s:this.rh=s)),"clickUp"==i?(this.Th(s,!0,"move"),this.Th(s,!1,"end")):this.Th(s,!0,"start")}},t.Th=function(t,e,i){var s,n,h;this.xh||(e=e||!1,i=i||"none",t=t||0,s=t,s<this.ih?(s=this.ih,n=0):s>this.jh?(s=this.jh,n=1):n=(s-this.ih)/this.kh,this.vh?this.thumb.setY(s):this.thumb.setX(s),this.vh&&(n=1-n),this.gh&&(n=1-n),this.hh&&(n=this.Vh(n)),this.value=n,this.Rh(),e||this.dispatchEvent("change",n,i),this.Gh&&(h=this.Gh.checked,n>0?h||(this.state=1,this.Gh.setChecked(1,!0),e||this.dispatchEvent("toggle",this,1,!0,i)):"move"!=i&&h&&(this.state=0,this.Gh.setChecked(0,!0),e||this.dispatchEvent("toggle",this,0,!0,i))))},t.setSmoothMove=function(t){var e,i,s,n;this.zh=t,e="",t?(i=this.vh?"top":"left",s=jbeeb.tickerInterval,e=i+" "+s+"ms linear"):e="none",n=this.thumb.style,n.mozTransition=n.oTransition=n.msTransition=n.webkitTransition=n.transition=e},t.Vh=function(t,e){var i=this.hh;return Math.pow(t/1,e?1/i:i)},t.setUsePaging=function(t){this.wh=t||0},t.getValue=function(){return this.value},t.setValue=function(t,e){t||(t=0),0>t&&(t=0),t>1&&(t=1),this.vh&&(t=1-t),this.gh&&(t=1-t),this.hh&&(t=this.Vh(t,!0)),this.Th(this.ih+t*this.kh,e,"none"),this.amSM&&(this.vh=this.track.width<=this.track.height,this.vh?this.track.center("h"):this.track.center("v"))},t.setInverted=function(t,e){this.gh=t,this.setValue(this.value,e)},t.disable=function(){this.xh=1,this.Th(0,!0,"none"),this.thumb&&this.thumb.hide()},t.enable=function(){this.xh=0,this.value=this.value||0,this.Th(this.value,!0,"none"),this.thumb&&this.thumb.show()},t.nudge=function(t){var e,i=this.nh/10*t;e=this.vh?this.thumb.y+i:this.thumb.x+i,this.Th(e,!1,"start")},t.Wh=t.stretch,t.stretch=function(t,e,i){var s,n;this.Wh(t,e,i),s=this.getPageSizePercent(),n=this.value,this.setPageSizePercent(s),this.lh=this.thumb.width,this.mh=this.thumb.height,this.centerThumb(),this.setValue(n,!0)},t.smPrep=function(){this.setValue(.25,!0)},t.toString=function(){return"[Slider (name="+this.name+")]"},t.type="Slider",jbeeb.Slider=e}(),this.jbeeb=this.jbeeb||{},function(){var t=function(t){this.init(t)},e=t.prototype=new jbeeb.Container;e.$e=0,e.percent=0,e.Xh=null,e.Yh=!1,e.Zh=e.init,e.init=function(t){this.percent=0,t.reverse&&(this.Yh=!0,t.pin="tr"),this.Zh(t),this.$e=0,this.amSM||this.setMouseEnabled(0)},e.$h=function(t){return 0>t&&(t=0),t>1&&(t=1),t},e.update=function(t){var e,i,s;0>t?(this.percent=-1,1===this.$e&&this.setState(0)):(0===this.$e&&this.setState(1),e=this.$h(t),this.percent=e,this.Yh?(s=this.parent.width*(1-e),i=this.parent.width-s):(s=this.parent.width*e,i=0),0>s?s=0:s>this.parent.width&&(s=this.parent.width),this.setXYWH(i,0,s,this.parent.height))},e.getValue=function(){return this.percent},e.setValue=function(t){this.update(t)},e.setState=function(t){this.$e=t,1===t?this.show():this.hide()},e._h=e.stretch,e.stretch=function(t,e,i){this._h(t,e,i),this.update(this.percent,-1)},e.toString=function(){return"[ScrubberProgress (name="+this.name+")]"},e.type="ScrubberProgress",jbeeb.ScrubberProgress=t}(),this.jbeeb=this.jbeeb||{},function(){var t=function(t){this.init(t),this.likeContainer=1},e=t.prototype=new jbeeb.Slider;e.loader=null,e.progress=null,e.ai=null,e.bi=e.init,e.thumb=null,e.track=null,e.progress=null,e.loader=null,e.init=function(t){var e,i,s,n,h={},l={},a=t.children;if(a)for(s=0;s<a.length;s++)n=a[s],"track"==n.name?e=jbeeb.Utils.clone(n):"thumb"==n.name?i=jbeeb.Utils.clone(n):"loader"==n.name?(h=jbeeb.Utils.clone(n),a[s]=null):"progress"==n.name&&(l=jbeeb.Utils.clone(n),a[s]=null);t.usePaging=0,t.smoothMove=0,this.bi(t),h.reverse=!0,h.x=0,h.y=0,h.w=e.w,h.h=e.h,h.name="loaderControl",this.loader=new jbeeb.ScrubberProgress(h),l.x=0,l.y=0,l.w=e.w,l.h=e.h,l.name="progressControl",this.progress=new jbeeb.ScrubberProgress(l),this.track.addChild(this.progress,this.loader),this.amSM||(this.progress.setMouseEnabled(0),this.loader.setMouseEnabled(0),this.track.setOverflow("hidden")),this.track.likeContainer=1,this.thumb&&this.toFront(this.thumb),this.progress.update(0),this.progress.setState(1),this.loader.update(0),this.loader.setState(0),this.addEventListener("change",this.ci,this),this.setValue(0,!0)},e.ci=function(t,e){this.progress.update(t)},e.di=e.setValue,e.setValue=function(t,e){this.di(t,e),this.progress&&this.progress.update(t)},e.ei=e.onAdded,e.onAdded=function(){this.progress.toFront(),this.loader.toFront(),this.ei()},e.fi=e.destroy,e.destroy=function(){this.progress&&this.progress.destroy(),this.progress=null,this.loader&&this.loader.destroy(),this.loader=null,this.ai=null,this.fi()},e.smPrep=function(){this.setValue(.25,!0),this.loader.setState(1),this.loader.update(.75,1),this.progress.setState(1),this.progress.update(.25,1)},e.toString=function(){return"[Scrubber (name="+this.name+")]"},e.type="Scrubber",jbeeb.Scrubber=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t=function(t){this.init(t),this.likeContainer=1},e=t.prototype=new jbeeb.Container;e.face=null,e.mark=null,e.gi=null,e.hi=null,e.ai=null,e.amSM=0,e.ii=e.init,e.init=function(t){var e,i,s,n,h,l,a,o,r,u,c,d=t.w,f=t.h,b=d>f?d:f;if(t.w=b,t.h=b,e=0,i=0,h=t.children)for(l=0;l<h.length;l++)a=h[l],"face"==a.name&&(s=jbeeb.Utils.clone(a));if(s||(s={w:b,h:b,stroke:"#000000",fill:"#cccccc",rounded:1}),h=s.children)for(l=0;l<h.length;l++)a=h[l],"mark"!=a.name&&1!=h.length||(n=jbeeb.Utils.clone(a));s.children=null,this.ii(t),e=new jbeeb.Container(s),o=e.width+2*e.stroke.weight,r=e.height+2*e.stroke.weight,n?(n.x=(o-n.w)/2,n.y=n.y||0):(u=2,n={x:(b+u)/2,y:0,w:u,h:.2*b,fill:"#000000"}),i=new jbeeb.TextBox(n),this.addChild(e),e.addChild(i),this.amSM=t.amSM,this.amSM||(this.addMEL("mouseDown",this.ji,this),this.addMEL("mouseDrag",this.ki,this),e.setMouseEnabled(0),i.setMouseEnabled(0)),this.gi=e,this.hi=i,this.face=e,this.mark=i,this.centerFace(),c=t.minMaxDegrees||60,1>c&&(c=1),this.li=c/2},e.mi=0,e.li=0,e.ni=0,e.oi=0,e.pi=0,e.ji=function(t,e,i){this.oi=e.mouseX,this.pi=e.mouseY,this.qi=this.gi.rotation,this.ni=this.ri(e)},e.ki=function(t,e,i){var s,n,h=this.ri(e),l=this.qi+(this.ni-h);l>180?l-=360:-180>l&&(l+=360),s=this.li,n=0,180-s>l&&l>-180+s?(n=(l+180-s)/(360-2*s),this.gi.setRotation(l)):(l>0&&(n=1),this.ji(t,e,i)),this.si(n)},e.ri=function(t){var e=this.mi;return 180*Math.atan2(e-t.mouseY,e-t.mouseX)/Math.PI*-1},e.si=function(t,e){this.value=t,e||this.dispatchEvent("change",t)},e.setValue=function(t,e){var i,s;this.si(t,e||!1),i=this.li,0>t?t=0:t>1&&(t=1),s=t*(360-2*i)-(180-i),this.gi.setRotation(s)},e.centerFace=function(){var t,e,i,s,n,h,l,a,o,r,u;this.hi.center("h"),t=this.width,e=this.height,i=Math.floor(t>e?t:e),s=2*this.gi.stroke.weight||0,n=this.gi.width+s,h=this.gi.height+s,l=0,n>i&&(i=n,l=1),h>i&&(i=h,l=1),a=i/2-n/2,o=i/2-h/2,this.gi.setXY(a,o),this.gi.center(),this.hi.center("h"),r=n/2,u=h/2,this.gi.setOrigin(r,u),this.mi=(i+s)/2},e.ti=e.stretch,e.stretch=function(t,e,i){this.ti(t,e,i),this.centerFace()},e.toString=function(){return"[Knob (name="+this.name+")]"},e.type="Knob",jbeeb.Knob=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";function t(t){var e=document.createElement(t);return u.brokenAndroid&&(e.canPlayType=function(t){return/audio/i.test(t)?null!==t.match(/audio\/(mpeg|mp3|ogg|oga|webm|wav|mpeg)/gi)?"maybe":"":null!==t.match(/video\/(mp4|m4v|mpeg|mp3|ogg|oga|webm|wav|mpeg)/gi)?"maybe":""}),u.chromium&&(e.canPlayType=function(t){return/audio/i.test(t)?null!==t.match(/audio\/(ogg|oga|webm|wav|mp3|mpeg|m4a)/gi)?"maybe":"":null!==t.match(/video\/(ogg|ogv|oga|webm|wav|mp3|mpeg|mp4|m4v)/gi)?"maybe":""}),e}function e(t){if(t&&t.hasChildNodes)for(var e=t.firstChild;t.hasChildNodes();)t.removeChild(e),e=t.firstChild}function i(t,e){try{e&&t.load();var i=t.play();void 0!==i&&i.then&&i.then(function(t){},function(t){})}catch(t){}}function s(t){return unescape(encodeURIComponent(t))}function n(t,e){try{if(!t.canPlayType)return!1;if(""!==t.canPlayType(e).replace(/no/)||""!==t.canPlayType(e.replace(/m4a/,"mp4")).replace(/no/,""))return!0;if("audio/mpeg"==e&&""!==t.canPlayType('audio/mpeg;codecs="mp3"').replace(/no/))return!0}catch(t){return!1}return!1}function h(t,e){switch(e=e||"",t){case"mp3":return e+"/mpeg";case"aac":case"mpe":case"mpg":case"mpv":case"mp4":case"mpg4":case"m4a":case"m4b":case"m4p":case"m4r":case"m4v":case"mov":case"ts":case"f4v":case"f4a":return e+"/mp4";case"flv":return e+"/x-flv";case"webm":case"webma":case"webmv":return e+"/webm";case"ogg":case"oga":case"ogv":return e+"/ogg";default:return e+"/"+t}}function l(t,e){var i=jbeeb.Utils.decodeURL(t),s=jbeeb.PathInfo.parse(i),n=(""+(e||s.ext)).toLowerCase(),l=/(mp4|m4v|ogg|ogv|m3u8|webm|webmv|flv|wmv|mpeg|mov)/gi.test(n)?"video":"audio";return s.av=l,s.mime=h(n,l),s.kind=e,s.ext=e||s.ext,s}var a,o,r,u,c,d,f,b,p=function(t){this.init(t)};jbeeb.MediaController||(p.ui={}),a={},o=jbeeb.mimes.audio;for(r in o)a[r]=["audio",o[r]];o=jbeeb.mimes.video;for(r in o)a[r]=["video",o[r]];p.vi=a,p.swf="wimpy.swf",p.swfVersion=10,p.fallbackExtensions={audio:"ogg,wav",video:"webm"},p.disableFlash=!0,p.configure=function(t){var e="undefined";typeof t.swf!=e&&(p.swf=t.swf),typeof t.swfVersion!=e&&(p.swfVersion=t.swfVersion),typeof t.fallbackExtensions!=e&&(p.fallbackExtensions=t.fallbackExtensions),typeof t.disableFlash!=e&&(p.disableFlash=t.disableFlash)},u=jbeeb.Browser,c=t("video"),d=void 0!==c.canPlayType||u.brokenAndroid;try{c.canPlayType("video/mp4")}catch(t){d=!1}f=p.prototype=new jbeeb.Container,f.wi="1",f.xi=null,f.yi=null,f.meid=null,f.zi="0",f.Ai="0",f.Bi="100%",f.Ci="100%",f.Di=null,f.Ei=!1,f.fc=!1,f.Fi=!1,f.Gi=!1,f.JesusIsLord=!0,f.file="",f.fileInfo="",f.ready=!1,f.Hi=0,f.Ii=.99999999,f.Ji=1e-8,f.Ki={},f.Li={},f.LOAD_STATUS=0,f.Mi=!1,f.Ni=1,f.Oi=null,f.amFullscreen=0,f.Pi=null,f.Qi=null,f.Ri=null,f.Si=null,f.Ti=null,f.Ui=null,f.Vi=null,f.Wi=null,f.Xi=!1,f.Yi=!1,f.Zi=null,f.$i=0,f._i=0,f.aj=!0,f.bj=!1,f.cj=0,f.dj=null,f.ej=!1,f.fj=null,f.gj=null,f.hj=null,f.ij=null,f.jj=null,f.kj=null,f.lj=0,f.mj=1,f.amMuted=0,f.amPrepped=!1,f.Hi=null,f.nj=0,f.oj=0,f.pj=null,f.qj=f.init,f.init=function(t){var e,i,s,n,h,l;t&&(this.rj=!1,this.sj=!1,this.oj=t.fsDownloadable,this.nj=0,e=t.onReady,e&&(delete t.onReady,this.Zi=e),this.aj=!t.allowOthers,this.ready=!1,this.qj(t),u.stockAndroid&&(this.$i=1,this._i=1),i=jbeeb.getUID(),this.xi=p.ui,this.xi[i]=this,this.meid=i,this.Di="audio",!t.noFullscreen&&jbeeb.Fullscreen&&(this.bj=!0),s=jbeeb.Utils.isTrue,n=jbeeb.Utils.isFalse,h=n(p.disableFlash)||n(t.disableFlash),this.pj=h,l=!h,this.Fi=!!l||d,this.Gi=!l&&jbeeb.FlashDetect.hasVersion(p.swfVersion),this.Ei=!1,this.pj&&!this.Gi&&(this.pj=!1),this.Qi=this.tj.bind(this),this.Ri=this.uj.bind(this),this.Si=this.vj.bind(this),this.Ti=this.wj.bind(this),this.Ui=this.xj.bind(this),this.Vi=this.yj.bind(this),this.Wi=this.zj.bind(this),this.setSpeed(t.speed),this.Aj())},f.setSpeed=function(t){t&&(this.Oe=+t,this.yi&&(this.yi.defaultPlaybackRate=this.Oe,this.yi.playbackRate=this.Oe))},f.Bj=null,f.zj=function(t){var e,i,s,n,h;this.Bj||(this.Bj=0),e=this.fileInfo,i=e.av,s=p.fallbackExtensions[i].split(","),this.Bj<s.length&&(n=jbeeb.Utils.trim(s[this.Bj]),h=e.parenturl+(e.basename?e.basename:"")+"."+n,e=l(h,n),this.fileInfo=e,this.file=h,this.Cj(),this.Bj++)},f.Aj=function(){this.bj&&(this.Oi=new jbeeb.Fullscreen(this,this.Dj.bind(this),this.fc)),this.ready=!0,this.Zi&&this.Zi()},f.Ej=function(t){this.fc=t,this.Aj()},f.getMediaControllers=function(){return this.xi},f.getMediaElement=function(){return this.yi},f.setFullscreen=function(){0===this.amFullscreen?this.Fj():this.Gj()},f.Fj=function(){0==this.amFullscreen&&(this.oj||this.yi.setAttribute("controlsList","nodownload"),this.amFullscreen=1,this.Hj(),this.Oi.enter(),setTimeout(this.Ij.bind(this),1e3))},f.Gj=function(){1==this.amFullscreen&&(this.amFullscreen=0,this.Hj(),this.Oi.exit(),setTimeout(this.Ij.bind(this),1e3))},f.Dj=function(t){this.amFullscreen=t,this.Hj(),setTimeout(this.Ij.bind(this),1e3)},f.Ij=function(){if(this.fc&&this.Ei){var t=this.yi;t.js_getVersion||(t=document.getElementById(this.meid),this.yi=t,this.dispatchEvent("newMediaElement",t)),t.js_FSsetState&&t.js_FSsetState(this.amFullscreen)}},f.Hj=function(){var t;t=this.Xi||this.amFullscreen?1:0,this.Jj(t)},f.setControls=function(t){var e=jbeeb.Utils.isTrue(t);this.Jj(e?1:0),this.Xi=e},f.Jj=function(t){var e=this.yi,i=this.fc,s=this.Ei;t?i&&s?e.js_setControls&&e.js_setControls(t):e.setAttribute("controls","true"):(i&&s&&e.js_setControls&&e.js_setControls(0),setTimeout(this.Kj.bind(this),1e3))},f.Kj=function(){var t=this.yi;this.fc&&this.Ei?t.js_setControls&&t.js_setControls(0):t.removeAttribute&&t.removeAttribute("controls")},f.Lj=function(){var t,i,s,n;if(this.fj&&(clearTimeout(this.fj),this.fj=null),this.Mj&&(this.Mj=null),this.hj&&(clearInterval(this.hj),this.hj=null),this.ij&&(this.ij=null),t=this.yi,t&&t){if(i=t.nodeName,i&&"object"==i.toLowerCase()){if(u.ie){t.style.display="none";for(s in t)"function"==typeof t[s]&&(t[s]=null)}}else n=p.unbindEvent,n(t,"timeupdate",this.Qi),n(t,"ended",this.Ri),n(t,"pause",this.Si),n(t,"play",this.Ti),n(t,"loadstart",this.Vi);if(t.parentNode)try{t.parentNode.removeChild(t)}catch(t){}}this.yi=null,this.yi={},e(this.element)},f.Nj=function(e){var i,s;return this.Lj(),i=t(e),i.setAttribute("id",this.meid),i.setAttribute("webkit-playsinline",""),"audio"==e?(i.setAttribute("width","1"),i.setAttribute("height","1")):(i.setAttribute("width","100%"),i.setAttribute("height","100%")),i.style.cssText="zoom:1;position:absolute;top:"+this.Ai+"px;left:"+this.zi+"px;width:"+this.Bi+";height:"+this.Ci+";",this.element.appendChild(i),s=p.bindEvent,s(i,"timeupdate",this.Qi),s(i,"ended",this.Ri),s(i,"pause",this.Si),s(i,"play",this.Ti),s(i,"loadstart",this.Vi),s(i,"error",this.Wi),i},p.bindEvent=function(t,e,i,s){return t&&(t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener&&t.addEventListener(e,i,!!s)),i},p.unbindEvent=function(t,e,i,s){return t&&(t.attachEvent?t.detachEvent("on"+e,i):t.addEventListener&&t.removeEventListener(e,i,!!s)),i},f.Cj=function(){var t,s,l,a,o,r,u,c,d,f,b,m,g,y=this.fileInfo,v=this.yi,w=this.Di,k=y.av,j=this._i?"video":k;if(v&&v.pause?(v.pause(),v.currentTime&&(v.currentTime=0)):v=null,v&&j==w||(v=this.Nj(j),this.yi=v,this.Oi&&this.Oi.setFullscreenObject(this,v)),this.Di=j,n(v,y.mime))t=y.url,s=y.mime,l=y.ext;else for(a=jbeeb.Utils.trim,o=p.fallbackExtensions[k].split(","),r=o.length,u=y.parenturl,c=y.basename?y.basename:"",d=/\?/.test(y.url),f=y.url.split(".").pop(),!f||f.length>4||d?(u=y.url,c=d?"&ext=":"#"):c+=".",b=0;r>b;b++)if(m=a(o[b]),s=h(m,k),n(v,s)){t=u+c+m,s=s,l=m;break}if(t||(t=y.url),t=jbeeb.Utils.absoluteURL(t),e(v),v.src=t,this.cj&&(v.autoplay="autoplay"),g=document.createElement("source"),"audio/mpeg"==s&&""!==v.canPlayType('audio/mpeg;codecs="mp3"').replace(/no/)&&(s='audio/mpeg;codecs="mp3"'),g.type=s,g.src=t,v.appendChild(g),this.Oe)try{v.defaultPlaybackRate=this.Oe}catch(t){}this.cj&&v&&(v.load&&i(v,!0),this.Oj()),this.dispatchEvent("newMediaElement",v)},f.Pj=function(t){this.cj&&this.yi&&(this.yi.load&&i(this.yi,!0),this.Oj())},f.Oj=function(){if(this.Mi=!0,this.setVolume(this.Ni),this.Qj(1),this.Hj(),this.Oe)try{this.yi.playbackRate=this.Oe}catch(t){}},f.Rj=function(){this.Ei?this.Sj():(this.dj=1,this.Lj(),this.yi=null,this.Mj||(this.Mj=this.gj.bind(this)),this.fj=setTimeout(this.Mj,3e3),this.yi=this.Tj(),this.dispatchEvent("newMediaElement",this.yi),this.Oi&&this.Oi.setFullscreenObject(this,this.yi))},f.Tj=function(){return new jbeeb.FlashElement({element:this.element,id:this.meid,w:this.Bi,h:this.Ci,swf:p.swf,scale:"noscale",salign:"lt",wmode:"opaque",bgcolor:this.fill.color,flashvars:{meid:this.meid,s:0,a:this.wi,baseClass:"jbeeb"}})},f.Qj=function(t){this.Gi&&(this.hj&&(clearInterval(this.hj),this.hj=null),t&&this.fc&&(this.ij||(this.ij=this.Uj.bind(this)),this.hj=setInterval(this.ij,500)))},f.gj=function(){clearTimeout(this.fj);var t=!1;this.yi?this.yi.js_getVersion||(t=!0):t=!0,t&&(this.nj=1e3,this.ej=!0,this.Vj())},f.Wj=function(){if(clearTimeout(this.kj),!this.ej){var t=document.getElementById(this.meid);t&&t.js_getVersion?(this.yi=t,this.dispatchEvent("newMediaElement",t),this.Ei=!0,this.Sj()):this.Vj()}},f.Xj=function(){clearTimeout(this.kj),clearTimeout(this.fj)},f.Sj=function(){var t,e=this.fileInfo;e&&!this.ej&&(this.yi.js_getVersion?(this.Xj(),t=e.url,u.moz&&(t=s(t)),t=jbeeb.Utils.absoluteURL(t),this.yi.js_load(t,e.kind),this.Oj()):(this.Ei=!1,this.jj||(this.jj=this.Wj.bind(this)),this.kj=setTimeout(this.jj,500)))},f.reset=function(t){this.pause(),this.rewind(),this.disableOthers(),this.lj=0,this.fileInfo=null,this.file=null,this.LOAD_STATUS=100,this.Mi=!1,this.amMuted?this.setVolume(this.mj||1):this.setVolume(this.Ni),this.Qj(0),t&&this.Lj()},f.play=function(t,e){this.lj=0,this.Yj(0),this.disableOthers();var s=!1;t&&t!=this.file&&(this.loadAndPlay(t,e),s=!0),s||(this.fc?this.Ei&&this.yi.js_play&&this.yi.js_play():this.yi.paused&&!this.rj&&i(this.yi)),this.Qj(1)},f.stop=function(t){this.reset(t)},f.pause=function(t){this.dispatchEvent("beforePause"),this.yi&&(this.fc?this.Ei&&this.yi.js_pause&&this.yi.js_pause():this.yi.paused||this.sj||this.yi.pause()),t?this.lj=1:this.Qj(0)},f.Zj=function(){this.pause(),this.dispatchEvent("disable")},f.$j=function(){this.dispatchEvent("enable")},f.disableOthers=function(){var t,e,i,s;if(this.aj){t=this.xi,e=this.meid;for(i in t)s=t[i],
i!=e&&s.Zj();this.$j()}},f.loadAndPlay=function(t,e){this.Bj=0,this.Qj(0),e=e||null,this.dispatchEvent("playpause",1),this.disableOthers(),this.cj=!0,this._j(t,e),this.xj(null)},f.prepare=function(t,e){this.amPrepped||(this.Qj(0),this.cj=!1,this._j(t,e)),this.amPrepped=!0},f.ak=function(t){var e=t.av,i=t.ext,s=0;return u&&this.pj&&(s="audio"!=e||this._i?!this.bk(t):u.win&&u.ie&&u.version<12||u.opera?this.Gi&&b.indexOf(i)>-1:u.chrome||u.safari||u.ios||u.android||u.chromium?0:this.Gi&&b.indexOf(i)>-1&&!this.bk(t)),s},f._j=function(t,e,i){var s,n,h,a;e=e||null,s=l(t,e),this.fileInfo=s,this.file=t,n=this.Bi,h="audio"==s.av?"1px":"100%",this.Bi=this.Ci=h,this.yi&&n!=h&&(a=this.yi.style,a.width=h,a.height=h),this.LOAD_STATUS=100,this.Mi=!1,this.lj=0,this.fc=this.ak(s),this.fc?(this.Rj(),this.Qj(1)):this.Cj(),this.xj(null)},f.amHtml=function(){return!this.fc},f.bk=function(t){return this.Fi&&n(c,t.mime)?!("video"==t.av&&u.ie&&u.version<11&&/mp4/gi.test(t.mime)):!this.Gi||b.indexOf(t.ext)<=-1},b=["mp3","m4a","aac","mp4","m4v","m4p","m4p","mpg4","mpeg","mpg","mpe","mpv","flv","f4v","f4p","webm","3gp","3gp","3g2"],p.getMediaInfo=l,f.mute=function(t){var e=this.yi,i=0;1==t?(this.mj=this.Ni||1,i=0,this.fc||(e&&(e.volume=i),this.Ni=i),this.amMuted=1):(i=this.mj||1,this.amMuted=0),this.fc?this.Ei&&(e&&e.js_setMuteState(t),this.setVolume(i)):(e&&(e.volume=i),this.Ni=i,u.ios&&(1==t?this.pause():this.play()))},f.setVolume=function(t){this.Ni=t;var e=this.yi;e&&(this.fc?this.Ei&&e.js_setVolume&&e.js_setVolume(t):e.volume=t)},f.niceTime=function(t){function e(t,e){return 1>t?e?"00":"0":10>t?(e?"0":"")+t:""+t}var i,s,n,h;return t?(i=new Date(1e3*t),s=i.getUTCHours(),n=i.getUTCMinutes(),h=[],s>0?(h.push(e(s)),h.push(e(n,!0))):h.push(e(n)),h.push(e(i.getUTCSeconds(),!0)),h.join(":")):"0:00"},f.rewind=function(){this.fc&&this.Ei&&this.yi.js_rewindPlayerState&&this.yi.js_rewindPlayerState(),this.setPlayheadPercent(0)},f.Yj=function(t){this.Hi=t,this.fc&&this.Ei&&this.yi.js_setScrubState&&this.yi.js_setScrubState(t)},f.setPlayheadPercent=function(t){var e,i,s;this.Hi||this.Yj(1),t>this.Ii&&(t=this.Ii),t<this.Ji&&(t=this.Ji),e=t,0>t?t=0:t>1&&(t=1),this.yi&&(this.fc?this.Ei&&this.yi.js_setPlayheadPercent&&this.yi.js_setPlayheadPercent(t):(i=this.yi.duration,i&&(i===1/0&&(i=0),s=i*t,s>0?i>s||(s=i):s=0,this.yi.currentTime=s,this.dispatchEvent("update",this.ck())))),this.Yj(0)},f.getPlayerState=function(){return this.Ki||{}},f.setPlayerState=function(t){this.Ki=t||{}},f.ck=function(){var t,e,i,s,n,h=0,l=0,a=0,o=.02,r="00:00",u=0,c="00:00",d=0,f="00:00",b=!1,p=this.yi;if(p.readyState>0)if(h=1,p.paused||(l=1),t=void 0!==p.duration?parseFloat(p.duration):.02,e=void 0!==p.currentTime?parseFloat(p.currentTime):0,NaN!=t&&t!=1/0||(t=e),e>t&&(t=e+1),t=Math.floor(100*t)/100,e=Math.ceil(100*e)/100,.01>t&&(t=.01),a=e/t,this.Hi||t>2&&e>2&&(1>a||(clearTimeout(this.dk),this.dk=setTimeout(this.Ri,1e3))),o=t,r=this.niceTime(t||0),u=t-e,c=this.niceTime(u||0),d=e,f=this.niceTime(e||0),"audio"==this.Di){if(i=0,t>0&&(s=p.buffered,s.start&&s.end&&s.length))for(n=0;n<s.length;n++)if(s.start(s.length-1-n)<e){i=s.end(s.length-1-n)/o;break}a&&.85>i&&(b=!0)}else p.readyState<3&&(b=!0);return{init:h,status:l,percent:a,duration:o,duration_nice:r,remaining:u,remaining_nice:c,current:d,current_nice:f,buffering:b}},f.dk=null,f.getLoadState=function(){return this.Li||{loaded:0,percent:0,total:1,status:0}},f.setLoadState=function(t){this.Li=t||{}},f.ek=function(t){var e=0,i=0,s=1,n=this.yi;return parseInt(n.readyState)<0||(300==this.LOAD_STATUS?(i=1,s=1,e=1):(n&&n.buffered&&n.buffered.length>0&&n.buffered.end&&n.duration?(s=parseFloat(n.duration),e=parseFloat(n.buffered.end(n.buffered.length-1))):n&&void 0!=n.bytesTotal&&n.bytesTotal>0&&void 0!=n.bufferedBytes&&(s=parseFloat(n.bytesTotal),e=parseFloat(n.bufferedBytes)),i=(e||0)/(s||1),s>1&&e>1&&i>.9&&(i=1,this.canPlayThrough()),0>i?i=0:i>1&&(i=1))),{total:s,percent:i,loaded:e}},f.canPlayThrough=function(t){this.LOAD_STATUS=300,this.fk(t)},f.tj=function(t){if(!this.lj){var e=this.ck();this.Ki=e,this.Hi||this.dispatchEvent("update",e)}this.LOAD_STATUS<300&&this.fk()},f.fk=function(t){var e=this.ek(t);this.gk(e),this.Li=e,this.dispatchEvent("loading",e)},f.Uj=function(){var t,e,i;this.lj||this.Ei&&this.yi&&this.yi.js_getStatus&&(t=this.yi.js_getStatus(),e=t.playerState,this.Ki=e,this.dispatchEvent("update",e),this.hk<300&&(i=t.loadState,this.gk(i),this.Li=i,this.dispatchEvent("loading",i)))},f.gk=function(t){t.status=this.LOAD_STATUS,200==this.LOAD_STATUS&&(t.percent<.999||(this.LOAD_STATUS=300)),100==this.LOAD_STATUS&&t.percent>0&&t.total>1&&(this.LOAD_STATUS=200),this.Ki.thinking=this.LOAD_STATUS<300?1:0},f.xj=function(t){clearTimeout(this.dk),this.dispatchEvent("launch",this.file)},f.yj=function(t){clearTimeout(this.dk),this.dispatchEvent("loadStart",this.file)},f.wj=function(t){this.rj=!0,this.sj=!1,clearTimeout(this.dk),this.dispatchEvent("start",this.file)},f.vj=function(t){this.rj=!1,this.sj=!0,clearTimeout(this.dk),this.dispatchEvent("stop",this.file)},f.uj=function(t){clearTimeout(this.dk),this.file&&(this.pause(),this.rewind(),this.dispatchEvent("done",this.file))},f.SWFisReady=function(t){this.Ei=!0,this.dj&&this.Sj()},f.Vj=function(){var t,e,i;this.Qj(0),this.Oi&&this.Oi.setFullscreenObject(null),this.Lj(),this.yi=null,this.Ei=!1,t=jbeeb.Utils.clone(this.fileInfo),e=this.file,this.reset(),this.fileInfo=t,this.file=e,this.cj=!0,i=this.nj++,i>2?(p.disableFlash=!0,this.fc=!1,this.Gi=!1,this.Cj()):this.Rj(),this.Hj()},f.SWFexitFS=function(){this.Gj()},f.SWFenterFS=function(){this.Fj()},f.SWFvolume=function(t){this.Ni=t,this.dispatchEvent("extVolumeChange",t)},f.ik=f.destroy,f.destroy=function(){this.dispatchEvent("newMediaElement",null),this.removeAllEventListeners(),this.Oi.destroy(),this.Oi=null,this.yi&&this.Lj(),this.xi=p.ui,this.xi[this.meid]=null,delete this.xi[this.meid],this.yi=null,this.ik()},f.jk=f.setX,f.setX=function(t){this.amFullscreen?this.x=t:this.jk(t)},f.kk=f.setY,f.setY=function(t){this.amFullscreen?this.y=t:this.kk(t)},f.lk=f.setXY,f.setXY=function(t,e){this.amFullscreen?(this.x=t,this.y=e):this.lk(t,e)},f.mk=f.setXYWH,f.setXYWH=function(t,e,i,s){this.amFullscreen?(this.x=t,this.y=e,this.width=i,this.height=s):this.mk(t,e,i,s)},f.nk=f.setSize,f.setSize=function(t,e){this.amFullscreen?(this.width=t,this.height=e):this.nk(t,e)},f.ok=f.setWidth,f.setWidth=function(t){this.amFullscreen?this.width=t:this.ok(t)},f.pk=f.setHeight,f.setHeight=function(t){this.amFullscreen?this.height=t:this.pk(t)},f.toString=function(){return"[MediaController (name="+this.name+")]"},f.type="MediaController",jbeeb.MediaController||(jbeeb.SWFcall=function(t,e,i){var s=jbeeb.MediaController.ui[t];"ended"==e?s.uj(i):"pause"==e?s.vj(i):"play"==e?s.wj(i):"loadstart"==e?s.yj(i):"SWFexitFS"!=e&&"SWFisReady"!=e&&"SWFenterFS"!=e&&"SWFvolume"!=e||s[e](i)},jbeeb.MediaController=p)}(),this.USERCONF_START="UC_START",this.wimpyConfigs=this.wimpyConfigs||{},this.USERCONF_END="UC_END",this.jbeeb=this.jbeeb||{},this.wimpy=this.wimpy||{},this.wimpy.version="7.80",function(){"use strict";var t,e,i,s,n,h,l,a,o,r,u;if(wimpy.qk={disableFlash:!0,defaultPlayer:{target:null,name:null,skin:null,media:null,startUpText:"Click to Play",coverArt:"coverart.jpg",coverArtFit:1,width:null,height:null,autoPlay:0,random:0,sort:null,sortReverse:0,loop:0,volume:1,infoSpeed:10,infoScroll:2,limitPlayTime:null,startOnTrack:null,autoAdvance:1,downloadEnable:0,downloadWindow:null,linkEnable:0,linkWindow:null,inline:0,timeFormat:"1 / 3",infoFormat:"1 - 2 - 3",getid3:0,getid3image:0,plugPlaylist:null,plugEvery:5,plugFirst:0,plugDisables:0,disableControls:null,numberTracks:0,glyphFile:"f",glyphList:"F",glyphDownload:"D",glyphLink:"i",downloadTip:"download",linkTip:"link",disableFlash:!0,responsive:0,size:0,eq:null,eqBands:null,eqSmoothing:null,eqScale:null,eqBassDamp:null,allowOthers:!1,speed:null},server:"wimpy.php",mainPlayControls:"play,stop,pause,rewind,next,playlist,scrubber,coverPlayPause",glyphFamily:"WimpyPlayerGlyphs",glyphCssFile:"wimpy.css",flashFallbackFile:"wimpy.swf",fallbackExtensions:{audio:"mp3,ogg,wav",video:"mp4,webm"},fallbackSkin:'{"version":"1.0","title":"My Skin","created":1396636820012,"x":119,"y":79,"width":300,"height":160,"images":{},"bkgdColor":"#dbdbdb","layout":[{"x":0,"y":0,"w":300,"h":160,"z":0,"type":"Box","name":"Box_2488","stroke":{"weight":1,"color":"#b8b8b8","alpha":1,"style":"solid"},"rounded":0.04595},{"x":126,"y":31,"w":157.363,"h":4.9277,"z":1,"type":"Scrubber","name":"cmp_scrubber","children":[{"x":0,"y":0,"w":157.363,"h":4.9277,"z":1,"type":"Rube","name":"track","fill":[{"color":"#9E9B97","alpha":1},{"color":"#9E9B97","alpha":1}],"stroke":[{"weight":1,"color":"#000000","alpha":0.48625,"style":"solid"},{"weight":1,"color":"#000000","alpha":0.48625,"style":"solid"}],"rounded":1,"text":"","font":"Arial, Helvetica, sans-serif","align":"center","textScale":0.7,"textFit":"wh","bevel":[null,null]},{"w":1,"h":1,"type":"Rube","name":"thumb"},{"x":118.022,"y":0,"w":39.341,"h":4.9277,"z":2,"type":"ScrubberProgress","name":"loader","fill":{"color":"#121212","alpha":0.39456}},{"x":0,"y":0,"w":39.341,"h":4.9277,"z":1,"type":"ScrubberProgress","name":"progress","fill":{"color":"#f0f0f0","alpha":0.74986}}]},{"x":87,"y":12,"w":22,"h":25,"z":2,"type":"Rube","name":"cmp_next","fill":[{"color":"#e5e5e5","alpha":1},{"color":"#bebebe","alpha":1}],"stroke":[{"weight":1,"color":"#b2b2b2","alpha":1,"style":"solid"},{"weight":1,"color":"#666666","alpha":1}],"rounded":0.17724,"text":">","font":"Arial, Helvetica, sans-serif","align":"center","textColor":[{"color":"#555555","alpha":1},{"color":"#ffffff","alpha":1}],"baselineShift":-0.03487,"textScale":0.54533,"textFit":"wh","bevel":[null,null]},{"x":13,"y":12,"w":22,"h":25,"z":3,"type":"Rube","name":"cmp_rewind","fill":[{"color":"#e5e5e5","alpha":1},{"color":"#bebebe","alpha":1}],"stroke":[{"weight":1,"color":"#b2b2b2","alpha":1,"style":"solid"},{"weight":1,"color":"#666666","alpha":1}],"rounded":0.17724,"text":"<","font":"Arial, Helvetica, sans-serif","align":"center","textColor":[{"color":"#555555","alpha":1},{"color":"#ffffff","alpha":1}],"baselineShift":-0.04881,"textScale":0.54533,"textFit":"wh","bevel":[null,null]},{"x":62,"y":12,"w":22,"h":25,"z":4,"type":"Rube","name":"cmp_play","fill":[{"color":"#e5e5e5","alpha":1},{"color":"#bebebe","alpha":1}],"stroke":[{"weight":1,"color":"#b2b2b2","alpha":1,"style":"solid"},{"weight":1,"color":"#666666","alpha":1}],"rounded":0.17724,"text":">","font":"Arial, Helvetica, sans-serif","align":"center","textColor":[{"color":"#555555","alpha":1},{"color":"#ffffff","alpha":1}],"baselineShift":-0.06276,"textScale":1,"textFit":"wh","bevel":[null,null]},{"x":12,"y":47,"w":100,"h":100,"z":5,"type":"Container","name":"cmp_cover","fill":{"color":"#000000","alpha":1}},{"x":125,"y":13,"w":159,"h":12,"z":6,"type":"TextScroller","name":"cmp_info","text":"Click Item to Play *** Click Item to Play","font":"Arial, Helvetica, sans-serif","align":"left","textColor":{"color":"#000000","alpha":1},"textScale":1},{"x":125,"y":52,"w":141,"h":94,"z":7,"type":"List","name":"cmp_playlist","item":{"x":0,"y":0,"w":141,"h":16.8,"z":0,"type":"ListItem","name":"listItem","text":"","font":"Arial, Helvetica, sans-serif","align":"center","textColor":[{"color":"#000000","alpha":1},{"color":"#FFFFFF","alpha":1}],"textScale":0.7,"textFit":"wh","fill":[{"color":null,"alpha":null},{"color":"#266FC2","alpha":1}],"stroke":[{"weight":1,"color":null,"alpha":null},{"weight":1,"color":null,"alpha":null}],"spacing":2}},{"x":276,"y":73,"w":9,"h":72,"z":8,"type":"Slider","name":"cmp_plScroll","fill":{"color":"#e0e0e0","alpha":1},"stroke":{"weight":1,"color":"#8d8d8d","alpha":0.48625,"style":"solid"},"rounded":1,"children":[{"x":0,"y":0,"w":9,"h":72,"z":0,"type":"Rube","name":"track","fill":[{"color":"#e0e0e0","alpha":1},{"color":"#e0e0e0","alpha":1}],"stroke":[{"weight":1,"color":"#8d8d8d","alpha":0.48625,"style":"solid"},{"weight":1,"color":"#8d8d8d","alpha":0.48625,"style":"solid"}],"rounded":1,"text":"","font":"Arial, Helvetica, sans-serif","align":"center","textScale":0.7,"textFit":"wh","bevel":[null,null]},{"x":-0.745,"y":55.301,"w":10.49,"h":16.699,"z":1,"type":"Rube","name":"thumb","fill":[{"color":"#a8a8a8","alpha":1},{"color":"#9E9B97","alpha":1}],"rounded":1,"text":"","font":"Arial, Helvetica, sans-serif","align":"center","textScale":0.7,"textFit":"wh","bevel":[null,null]}]},{"x":274,"y":49,"w":14,"h":17,"z":9,"type":"Rube","name":"cmp_plBack","fill":[{"color":"#e5e5e5","alpha":1},{"color":"#bebebe","alpha":1}],"stroke":[{"weight":1,"color":"#b2b2b2","alpha":1,"style":"solid"},{"weight":1,"color":"#666666","alpha":1}],"rounded":0.17724,"text":"<","font":"Arial, Helvetica, sans-serif","align":"center","bold":"bold","textColor":[{"color":"#555555","alpha":1},{"color":"#ffffff","alpha":1}],"baselineShift":-0.04881,"textScale":0.81032,"textFit":"wh","bevel":[null,null]},{"x":37,"y":12,"w":22,"h":25,"z":10,"type":"Rube","name":"cmp_pause","fill":[{"color":"#e5e5e5","alpha":1},{"color":"#bebebe","alpha":1}],"stroke":[{"weight":1,"color":"#b2b2b2","alpha":1,"style":"solid"},{"weight":1,"color":"#666666","alpha":1}],"rounded":0.17724,"text":"l l","font":"Arial, Helvetica, sans-serif","align":"center","bold":"bold","textColor":[{"color":"#555555","alpha":1},{"color":"#ffffff","alpha":1}],"baselineShift":-0.06276,"textScale":0.64993,"textFit":"wh","bevel":[null,null]}]}',assetsPath:null,maxGoogleFeedItems:-1},wimpy.defaultPlayer=wimpy.qk.defaultPlayer,wimpy.addEventListener=null,wimpy.removeEventListener=null,wimpy.removeAllEventListeners=null,wimpy.dispatchEvent=null,wimpy.hasEventListener=null,jbeeb.EventDispatcher.initialize(wimpy),wimpy.inited,wimpy.rk=null,wimpy.sk=null,wimpy.tk=function(t){"ok"==t?wimpy.serverOK=1:wimpy.serverOK=0},wimpy.init=function(){var i=wimpy.uk.bind(wimpy);wimpy.glyphLoader&&0!=e?wimpy.glyphLoader.onReady(i):wimpy.glyphLoader=new jbeeb.FontFaceLoader({family:wimpy.glyphFamily,cssUrl:r+wimpy.glyphCssFile,onReady:i}),t=1},t=0,e=0,i=0,wimpy.uk=function(){e=1,wimpyButton=new wimpy.WButton,wimpy.rk=new wimpy.PlayerQuery(wimpy.vk.bind(wimpy)),wimpy.rk.init()},wimpy.vk=function(){i=1,wimpy.ka()},wimpy.ka=function(){t&&e&&i&&(wimpy._.ready||(wimpy.dispatchEvent("init"),wimpy._.fire()))},wimpy.cReady=function(){wimpy.ka()},wimpy.parseAttributes=function(t){return wimpy.PlayerQuery.parseAttributes(t)},wimpy.getPlayer=function(t){var e=wimpy.playerList[t]||null;return e||(e=wimpy.getPlayerList()[0]||null),e},wimpy.getPlayerList=function(){var t,e=[];for(t in wimpy.playerList)e.push(wimpy.playerList[t]);return e},wimpy.getPlayerByName=function(t){var e,i;for(e in wimpy.playerList)if(i=wimpy.playerList[e],i.name&&i.name.toLowerCase()==t.toLowerCase())return i},wimpy.playersReady=function(){wimpy.dispatchEvent("ready"),wimpy.wk.fire()},!wimpy.inited){wimpy.inited=1,s=new jbeeb.ReadyBoss,wimpy._=s,wimpy.onInit=wimpy._.add.bind(s),n=new jbeeb.ReadyBoss,wimpy.wk=n,wimpy.onReady=wimpy.wk.add.bind(n),wimpy.playerList={},h=wimpy.qk,l=wimpyConfigs;for(a in h)o=l[a],o||(o=h[a]),"object"==typeof o&&(o=jbeeb.Utils.clone(o)),wimpy[a]=o;r=wimpy.assetsPath?wimpy.assetsPath:wimpy.development?jbeeb.PathInfo.pagePath:jbeeb.PathInfo.scriptPath,u=wimpy.defaultPlayer.skin,u||(wimpy.defaultPlayer.skin=r+"wimpy.skins/_defaultskin.tsv"),u=wimpy.defaultPlayer.coverArt||"coverart.jpg","coverart"==u.substr(0,8)&&(u=r+u),wimpy.defaultPlayer.coverArt=u,wimpy.server="wimpy.php"==wimpy.server?r+wimpy.server:wimpy.server,new jbeeb.TextLoader(wimpy.server+"?o",wimpy.tk.bind(wimpy)),jbeeb.MediaController&&jbeeb.MediaController.configure({swf:r+wimpy.flashFallbackFile,swfVersion:10,fallbackExtensions:wimpy.fallbackExtensions,disableFlash:wimpy.disableFlash,assetsPath:r}),jbeeb.assetsBasePath=r,jbeeb.glyphFamily=wimpy.glyphFamily,jbeeb.glyphCssFile=wimpy.glyphCssFile,jbeeb.flashFallbackFile=wimpy.flashFallbackFile,jbeeb.fallbackExtensions=wimpy.fallbackExtensions,jbeeb.register(wimpy)}}(),function(){"use strict";var t=function(t,e,i){this.xk=t,this.yk=new jbeeb.PlaylistManager,this.yk.addEventListener("coverart",this.zk,this),this.yk.addEventListener("playlistReady",this.Ak,this),this.setup(e),this.name=e.name,this.Bk=i,i.addEventListener("done",this.uj,this),i.addEventListener("update",this.Zd,this),i.addEventListener("loading",this.Ck,this)},e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),e.xk=null,e.Bk=null,e.yk=null,e.Dk=null,e.Ek=-1,e.Fk=null,e.Gk=null,e.Hk=1,e.Ki=null,e.Ik=0,e.Jk=0,e.Kk=0,e.Lk=0,e.Ee=1,e.Mk=null,e.Ni=null,e.t=null,e.Nk=null,e.Ok=null,e.Pk=null,e.Qk=null,e.Rk=null,e.Sk=0,e.Tk=null,e.Uk=null,e.Vk=null,e.Wk=0,e.Xk=-1,e.Yk=0,e.Zk=0,e.$k=0,e._k=0,e.loading=-1,e.setup=function(t){this.Mk=t.media,this.Ni=parseFloat(t.volume)||1,this.t=parseInt(t.loop)||0,this.Nk=parseInt(t.random),this.Ok=t.autoPlay,this.Pk=t.limitPlayTime?parseFloat(t.limitPlayTime)||0:0,this.Qk=0===parseInt(t.autoAdvance)?0:1,this.Rk=t.sort,this.Sk=1===parseInt(t.sortReverse)?1:0,this.gd=t.getid3||0,this.hd=t.getid3image||0,this.al=t.startOnTrack||null,t.plugPlaylist&&(this.Uk=t.plugPlaylist,this.Vk=t.plugEvery?parseInt(t.plugEvery):0,this.Wk=t.plugFirst||0,this.Zk=t.plugDisables||0,this.Tk&&(this.Tk.destroy(),this.Tk=null),this.Tk=new jbeeb.PlaylistManager,this.Tk.addEventListener("playlistReady",this.cl,this)),this.Fk={image:"",artist:"",title:"",album:"",file:""},this.el(),this.Ki={}},e.el=function(){this.Gk=null,this.Gk=[],this.Hk=1},e.fl=null,e.init=function(t){var e=0;t&&this.yk.any()&&(e=1),this.yk.setID3(this.gd,this.hd),e&&!this.Ee?(this.fl=1,this.yk.refresh()):(this.Ee=1,this.yk.reset(),this.setPlaylist(this.Mk),this.setVolume(this.Ni))},e.gl=null,e.zk=function(t){this.gl=t,this.xk.setCoverArtFallback(t),this.xk.setCoverArt(t)},e.scrub=function(t,e){var i,s=this.Bk;"move"==e?(this.Ik=1,s.setPlayheadPercent(t)):"start"==e?(0==this.Ik&&(this.Jk=this.Kk,s.pause(!0)),this.Ik=1):"end"==e?(s.setPlayheadPercent(t),i=this.Jk,1==i?s.play():this.pause(),this.Kk=i,this.Ik=0):s.setPlayheadPercent(t)},e.hl=function(){this.Ki={buffering:this.Ki.buffering,bufferState:this.Ki.bufferState,buffer:this.Ki.buffer,printTime:"0:00",remaining_nice:"0:00",remaining:0,current_nice:"0:00",current:0,duration_nice:"0:00",duration:0,percent:0,status:0,init:0,playing:0,thinking:this.Ki.buffering},this.xk.runtime(this.Ki,!1),this.xk.setActivity(0)},e.getPlayerState=function(){return this.Ki},e.Zd=function(t){this.Ki=t,1==t.status||1==this.Ik?(this.Kk=1,this.xk.runtime(t,this.Ik),this.Pk>0&&t.current>this.Pk&&this.uj()):(this.Kk=0,this.xk.setActivity(0))},e.Ck=function(t){var e,i=t.status;this.loading=0,e=t.percent,300==i?this.loading=-1:this.loading=e,this.xk.setLoading(this.loading)},e.playClick=function(t){var e,i,s;"toggle"==t&&1==this.Kk?this.pause():(this.xk.setPlayPauseState(1),e=this.Fk,e&&e.file?(i=this.Bk.file,s=e.file,i&&s&&i==s?this.il(e):this.jl(e)):this.Dk&&this.kl())},e.pause=function(){this.Kk=0,this.Bk.pause(),this.xk.setPlayPauseState(0)},e.il=function(){this.Kk=1,this.Bk.play(),this.xk.setPlayPauseState(1)},e.setTrackData=function(t){var e=t?this.yk.normalizeTrackData(t):{i:-1};return this.Fk=e,e},e.setCurrentPlayingI=function(t){this.Fk.i=t},e.ll=function(t){var e,i,s,n=this.Dk;if(!n)return!1;for(e=t.file,i=0;i<n.length;i++)if(s=n[i],s.file==e)return s;return!1},e.getTrackData=function(t){var e,i,s;return void 0===t?jbeeb.Utils.clone(this.Fk):(e=this.Dk,e?(i=e.length,1>i?this.Fk?(s=jbeeb.Utils.clone(this.Fk),s.i=-1,s):null:(t>i-1&&(t=i-1),0>t&&(t=0),jbeeb.Utils.clone(e[t]))):e)},e.jl=function(t,e){var i,s=this.xk,n=this.Bk;n.toFront(),this.Kk=1,i=this.setTrackData(t),this.xk.setInfo(i),n.loadAndPlay(i.file,i.kind),this.xk.handleScreen(i),n.setVolume(this.Ni),this.Lk&&n.mute(this.Lk),e!==!0&&this.xk.playlistScrollTo(this.Ek,!0),this.Ee=0,s.setPlayPauseState(1)},e.rewind=function(t){var e,i,s,n=this.Kk;return this.Bk.rewind(),this.xk.rewindScrubber(),e=jbeeb.Utils.isTrue,e(t)&&this.Dk?(i=0,s=parseInt(this.Ki.current),s>3&&(i=1),i?n?this.il():this.pause():this.kl(!1,!0),1):(n?this.il():this.pause(),this.hl(),void this.xk.handleScreen(this.Fk))},e.next=function(){this.kl()},e.setVolume=function(t,e,i){"start"==e&&1==this.Lk&&(this.Lk=0,this.xk.setMuteState(this.Lk)),this.Ni=t,i||this.Bk.setVolume(t)},e.getVolume=function(){return this.Ni},e.setMuteState=function(t){this.Lk=t,this.Bk.mute(t)},e.getMuteState=function(){return this.Lk},e.setLoopState=function(t){var e=t||0;jbeeb.Utils.isTrue(t)&&(e=1),t||e||(e=0),e=parseInt(e),0!==e&&1!==e&&2!==e&&(e=0),this.t=e},e.getLoopState=function(){return this.t},e.setRandomState=function(t){this.Nk=t},e.getRandomState=function(){return this.Nk||0},e.playlistLoadItem=function(t){var e=this.ml(t),i=this.Dk[e];i&&(this.Ek=e,this.yk.isPlaylist(i.file,i.kind)?this.yk.load(i.file,i.kind,i.image):this.jl(i))},e.playlistBack=function(){this.yk.loadPrevious()},e.setPlaylist=function(t,e,i,s){var n,h,l;e=!(e!==!0&&!jbeeb.Utils.isNumber(e))&&(e===!0?1:Math.abs(parseInt(e))),jbeeb.Utils.isNumber(e)&&this.reset(),this.$k=e,this._k=this.Kk,this.Ek=e-1,"string"==typeof t&&"{"==t.substr(0,1)&&(n=jbeeb.Utils.parseJSON(t),n&&(t=n.file,h=n.kind,l=this.yk.isPlaylist(t,h),l?i=h:(t=[n],i=null))),this.yk.load(t,i,s)},e.appendPlaylist=function(t,e,i){"string"==typeof t&&"{"==t.substr(0,1)&&(t=[jbeeb.Utils.parseJSON(t)]),t=this.yk.validate(t),this.Dk||(this.Dk=[]),jbeeb.Utils.isNumber(e)?e-=1:e=this.Dk.length,e>this.Dk.length&&(e=this.Dk.length),jbeeb.Utils.arrayInsertArrayAt(this.Dk,e,t),this._k=this.Kk,this.Ak(this.Dk),i&&this.playlistLoadItem(e)},e.nl=function(){this.Xk=this.Xk+1,this.Xk=this.Th(this.Xk,this.Uk),this.Yk=0;var t=this.Uk[this.Xk];this.Zk&&this.xk.disableControls(),this.jl(t)},e.cl=function(t){this.Tk.removeEventListener("playlistReady",this.cl,this),this.Uk=jbeeb.Utils.clone(t);var e=this.Ee;this.Xk=-1,this.Yk=this.Wk?this.Vk:1,e&&this.Wk&&this.Ok&&this.kl()},e.Ak=function(t){var e,i,s,n,h,l,a,o,r,u,c=jbeeb.Utils.clone(t);if(c=this.ol(c),e=this.Ee,e||1==this.fl||(this.Ek=-1,this.al=null),e&&(this.Ek=null!==this.al?this.al-2:-1),this.Dk=c,this.xk.renderPlaylist(c),this.fl&&(this.fl=0,this.xk.playlistScrollTo(this.Ek,!0),this.xk.setInfo(this.Fk),this.xk.setActivity(0)),this.dispatchEvent("playlistReady",c),i=1,e&&this.Wk&&(i=0),this.Tk&&this.Tk.load(this.Uk),this.el(),s=!0,i&&(n=!1,e&&!this.Wk&&this.Ok&&(this.playClick(),s=!1,n=!0),!n&&jbeeb.Utils.isNumber(this.$k)&&(this.Ek=this.$k-1,this.kl(),s=!1,this.$k=!1),this._k&&(h=this.Fk,l=this.ll(h),l?(this.Fk=jbeeb.Utils.clone(l),this.Ek=l.i,this.xk.playlistScrollTo(this.Ek,!0)):(a=0,h&&h.file&&h.i!=-1&&(this.Ek=h.i,h.i=-1,a=1),a||(this.Ek=-1))),this._k=0),s&&(o=c.length,!this.Bk.amPrepped))for(r=0;o>r;r++)if(u=c[r],u&&!u.amPlaylist&&u.file){this.Bk.prepare(u.file);break}},e.ol=function(t){var e,i,s,n,h,l,a,o,r=this.Rk;if(r){if(s=jbeeb.Utils.clone(t),n=this.al,h=null!==n,h&&(n=parseInt(n)-1,n>0&&n<s.length&&(l=s[n])),"shuffle"==r?s=jbeeb.Utils.arrayShuffle(s):(a="date"==r||"index"==r?1:0,jbeeb.Utils.sortOn(s,r,this.Sk,a)),l)for(e=0;e<s.length;e++)if(o=s[e],o.file==l.file){this.al=e+1;break}i=s}else i=t;for(e=0;e<i.length;e++)i[e].i=e;return i},e.sortPlaylist=function(t,e){"string"==typeof t&&(t=t.toLowerCase()),this.Rk="none"==t?null:t,this.Sk=e?1:0,this.Dk&&(this.Dk=this.ol(this.Dk),this.pl(!0))},e.pl=function(t){var e,i,s,n;if(this.Dk&&(this.xk.renderPlaylist(this.Dk),t&&(this.Fk&&(e=this.Fk.file),i=0,e))){for(s=0;s<this.Dk.length;s++)if(n=this.Dk[s],n.file==e){i=s;break}this.xk.playlistScrollTo(i),this.xk.setInfo(this.Fk)}},e.Th=function(t,e){var i=e.length;return i>t||(t=0),0>t&&(t=i-1),t},e.ml=function(t){return this.Th(t,this.Dk)},e.kl=function(t,e){var i,s,n,h,l,a,o,r,u,c,d,f=!1,b=this.t;if(this.Tk&&(this.Yk<1&&this.Zk&&this.xk.enableControls(),this.Yk++,this.Yk>this.Vk&&(this.nl(),f=!0)),!f&&(0===this.Qk&&1==t&&(this.reset(),this.pause(),f=!0),!f&&(s=null,this.Dk))){if(0===b||2===b)if(this.Nk){if(n=0,this.Gk.length<1){for(this.Gk=null,this.Gk=[],h=this.al,l=null!==h,l&&(h=parseInt(h)-1),i=0;i<this.Dk.length;i++)a=0,this.Dk[i].amPlaylist&&(a=1),l&&i===h&&(a=1),a||this.Gk.push(i);this.Gk=jbeeb.Utils.arrayShuffle(this.Gk),l&&(this.Gk.unshift(h),this.al=null),n=1}s=n&&0===b&&0==this.Hk&&t?null:this.Gk.shift(),n&&(this.Hk=0)}else o=!0,r=0,this.Ek<this.Dk.length-1||(r=1,this.dispatchEvent("playlistComplete")),0===b&&r&&t&&(o=!1),s=o?e?this.ml(--this.Ek):this.ml(this.Fk.i==-1?this.Ek:++this.Ek):null;else t||(e?this.Ek=this.ml(--this.Ek):this.Ek=this.ml(this.Fk.i==-1?this.Ek:++this.Ek)),s=this.Ek;if(null===s)this.ql();else if(u=this.Dk[s])if(u.amPlaylist){for(c=0,d=this.Dk.length,i=0;d>i&&(s++,s<d);i++)if(u=this.Dk[s],u&&!u.amPlaylist){c=1;break}c&&this.playlistLoadItem(s)}else this.playlistLoadItem(s)}},e.getPlaylist=function(){return this.Dk},e.refreshPlaylist=function(){this.pl(!0)},e.ql=function(){this.setTrackData(null),this.Ek=0,this.xk.rewindPlaylist(this.Dk,this.gl)},e.reset=function(t){this.pause(),this.rewind(),this.Bk.stop(t),this.xk.setCoverArt(this.Fk.image)},e.uj=function(){1===this.t?(this.rewind(),this.Bk.amHtml()?this.il():new jbeeb.DelayCall(this.il.bind(this),1)):(this.reset(),0===this.Qk?new jbeeb.DelayCall(this.reset.bind(this),100):this.Dk&&new jbeeb.DelayCall(this.kl.bind(this),100,!0))},e.getPlaying=function(){return this.Kk},e.getIndex=function(){return this.Ek},e.setIndex=function(t){t=t||this.Ek,t>this.Dk.length?t=this.Dk.length-1:0>t&&(t=0),this.Ek=t},e.setLimitPlayTime=function(t){this.Pk=parseFloat(t)||0},e.destroy=function(){this.xk=null,this.Bk=null,this.yk.destroy(),this.yk=null,this.Dk=null,this.Fk=null,this.Gk=null,this.Ki=null,this.Ni=null,this.t=null,this.Nk=null,this.Ok=null,this.Pk=null,this.Qk=null,this.Rk=null,this.Sk=0,this.loading=-1},e.toString=function(){return"[AbsPlayer (name="+this.name+")]"},e.type="AbsPlayer",wimpy.AbsPlayer=t}(),this.jbeeb=this.jbeeb||{},this.wimpyPlayer=this.wimpyPlayer||{},this.WimpyPlayer=this.wimpyPlayer,function(){"use strict";var t=function(t,e){var i=new jbeeb.ReadyBoss;t&&t.onReady&&(i.add(t.onReady,this),t.onReady=null,delete t.onReady),this._=i,this.rl(t),this.sl.target||(this.stage=new jbeeb.Stage({target:this.sl.target||null,inline:this.sl.inline})),wimpy.onInit(this.init.bind(this))},e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),e.sl=null,e.ul=null,e.Bk=null,e.vl=null,e.wl=!1,e.xl=null,e.yl=null,e.zl=null,e.Al=null,e.Bl=null,e.Cl=null,e.Dl=null,e.El=null,e.Fl=null,e.Gl=null,e.Hl=null,e.Il=null,e.Jl=null,e.Kl=null,e.Ll=null,e.Ml=0,e.Nl=null,e.Ol="contain",e.Pl=null,e.Ql=null,e.Rl=null,e.Sl=null,e.Tl=1,e.stage=null,e.ready=0,e.onoff=0,e.id=null,e.playpause=0,e.type="Player",e.Ul=null,e.Vl=null,e.Wl=0,e.Xl=null,e.Yl=null,e.Zl=null,e.$l=null,e.lg=null,e.store={},e.created=null,e._l=null,e.am=null,e.bm=null,e.width=0,e.height=0,e.cm=!1,e.dm=null,e.rl=function(t){var e,i,s,n,h,l,a,o,r,u,c,d,f;if(t&&t.disableControls&&(this._l=t.disableControls),e=jbeeb.Utils.clone(wimpy.defaultPlayer),t)for(i in t)e[i]=t[i];s=parseInt(e.coverArtFit),s=2==s?"contain":3==s?"center":"fit",this.Ol=s,n={},s=e.glyphFile,s&&(n.file=s),s=e.glyphList,s&&(n.list=s),s=e.glyphDownload,s&&(n.download=s),s=e.glyphLink,s&&(n.link=s),s=e.downloadTip,s&&(n.downloadTip=s),s=e.linkTip,s&&(n.linkTip=s),e.glyphs=n,s=e.eq,s&&(this.cm=s,this.dm={bands:e.eqBands,smoothing:e.eqSmoothing,scale:e.eqScale,bassDamp:e.eqBassDamp}),h=e.media||wimpy.server,(jbeeb.Utils.isNull(h)||"none"==h||"NONE"==h)&&(h=null),e.media=h,this.Rl?l=this.Rl:(l=e.target,"string"==typeof l?(this.Sl=l,l=this.Rl=document.getElementById(l)):(this.Rl=l,this.Sl=l?l.id:null)),this.em&&this.em.destroy(),this.Ul=-1,this.Vl=-1,this.bm=0,this.fm=0,this.gm(e),a=e.responsive,!l||e.width||e.height||(o=jbeeb.Utils.getAttributes(l),a!==!1&&(e.fit||a||o.className||o.style)&&(r=jbeeb.Utils.getXYWH(l),u=r.w,c=r.h,u&&u>0||(u=.01),c&&c>0||(c=.01),e.responsive&&(this.fm=1,this.hm=this.im.bind(this),this.em=new jbeeb.Observer(l,this.hm,["display","width","height"],50,!0)),this.bm=1)),this.id||(d=l?l.id||jbeeb.getUID():jbeeb.getUID(),this.id=d,t&&(this.name=t.name||"")),this.lg=e.numberTracks||0,this.created||(this.created=new Date,wimpy.playerList[this.id]=this),this.Gl=e.timeFormat.split(""),this.Hl=(""+e.infoFormat).split(""),this.Il=this.jm(e.startUpText),this.Jl=parseInt(e.infoScroll),f=e.coverArt||wimpy.defaultPlayer.coverArt,"coverart"==f.substr(0,8)&&(f=wimpy.assetsPath+f),this.Nl=f,this.Ql=0,this.sl=e},e.gm=function(t){var e,i,s,n;return t.width&&t.height?t:(e=t.size,void(e&&"string"==typeof e&&(i=e.split(","),i.length>1&&(s=parseFloat(i[0])||0,n=parseFloat(i[1])||0,s>0&&n>0&&(t.width=s,t.height=n)))))},e.em=null,e.fm=null,e.hm=null,e.im=function(){var t,e;this.Rl||(this.Rl=document.getElementById(this.Sl)),this.zl&&(t=this.Rl.offsetWidth,e=this.Rl.offsetHeight,t>0&&e>0&&(this.Ul==t&&this.Vl==e&&Math.round(this.width)==Math.round(t)&&Math.round(this.height)==Math.round(e)||(this.setSize(t,e),this.Ul=t,this.Vl=e,this.Ll&&this.Ll.resize(t,e))))},e.km=null,e.lm=function(){var t,e;this.Rl&&(this.km||(t=document.createElement("span"),e=t.style,e.display="inline-block",e.height="100%",e.verticalAlign="middle",e.marginRight="-0.25em",this.Rl.insertBefore(t,this.Rl.childNodes[0]),this.km=t),e=this.Rl.style,e.textAlign="center",e.whiteSpace="nowrap"),e=this.stage.style,e.display="inline-block",e.verticalAlign="middle",e.textAlign="center"},e.mm=function(){this.km&&(this.Rl.removeChild(this.km),this.km=null)},e.repaint=function(){this.bm?this.im():this.setSize(this.stage.width,this.stage.height),this.showCoverart()},e.init=function(){var t;this.stage||(this.stage=new jbeeb.Stage({target:this.sl.target||null,inline:this.sl.inline})),this.stage.setAria("role","mediaplayer"),this.zl=0,this.ready=0,t=new jbeeb.MediaController({x:0,y:0,w:1,h:1,name:"WP",disableFlash:this.sl.disableFlash,allowOthers:this.sl.allowOthers,speed:this.sl.speed,fsDownloadable:jbeeb.Utils.isTrue(this.sl.downloadEnable)}),t.addEventListener("launch",this.nm,this),t.addEventListener("start",this.om,this),t.addEventListener("stop",this.pm,this),t.addEventListener("done",this.uj,this),t.addEventListener("enable",this.enable,this),t.addEventListener("disable",this.disable,this),t.addEventListener("playpause",this.qm,this),t.addEventListener("beforePause",this.rm,this),t.addEventListener("extVolumeChange",this.sm,this),t.addEventListener("newMediaElement",this.tm,this),this.Bk=t,this.stage.addChild(t),t=new wimpy.AbsPlayer(this,this.sl,this.Bk),t.addEventListener("playlistReady",this.Ak,this),t.addEventListener("playlistComplete",this.um,this),this.ul=t,this.vm()},e.Ak=function(t){this.dispatchEvent("playlistReady",t)},e.um=function(){this.dispatchEvent("playlistComplete",this)},e.rewindPlaylist=function(t,e){this.playlistScrollTo(0,!0),this.setCoverArt(e||this.Nl),this.setInfo(this.Il)},e.wm=function(){return{track:this.ul.getTrackData(),state:this.Ki}},e.nm=function(t){this.dispatchEvent("launch",this.wm())},e.om=function(t){this.dispatchEvent("play",this.wm())},e.pm=function(t){this.dispatchEvent("pause",this.wm())},e.uj=function(t){var e=this.wm();this.xm||setTimeout(function(t,e){return function(){t.dispatchEvent("done",e)}}(this,e),200)},e.vm=function(){this.yl=new jbeeb.Skin({target:this.stage,onComplete:this.ym.bind(this),url:this.sl.skin||wimpy.defaultPlayer.skin})},e.zm=null,e.Am=function(){this.zm&&(this.zm.cancel(),this.zm=null),this.Wl++,this.yl.load(wimpy.fallbackSkin)},e.Bm=function(){var t;this.Wl>1?this.Wl>2||(t=wimpy.fallbackSkin):t=wimpy.defaultPlayer.skin,this.yl.load(t)},e.ym=function(t){var e,i,s,n,h,l,a,o,r,u,c,d,f,b,p,m,g,y,v,w,k,j,x,S,E,L;if(this.Wl++,!t)return void new jbeeb.DelayCall(this.Bm.bind(this),1);for(e=[{name:"cmp_info",type:"TextScroller"},{name:"cmp_thinker",
type:"Thinker"}],i=0;i<e.length;i++)s=e[i],this.yl.controls[s.name]&&(n=jbeeb.Utils.clone(this.yl.styles[s.name]),n.type!=s.type&&(this.yl.removeObject(this.yl.controls[s.name]),this.yl.controls[s.name]&&this.yl.controls[s.name].destroy(),n.type=s.type,this.yl.addObject(n)));h=this.yl.controls,l=this.yl.controlsList,this.vl=h;for(a in h)s=h[a],o=s.type,"cmp_"==a.substr(0,4)&&(r=a.substr(4),"Rube"==o&&(u=null,"play"==r?u=this.Cm:"pause"==r?u=this.Dm:"stop"==r?u=this.Em:"next"==r?u=this.Fm:"rewind"==r?u=this.Gm:"volume"==r?u=this.Hm:"volumeKnob"==r?u=this.Im:"mute"==r?u=this.Jm:"random"==r?u=this.Km:"loop"==r?u=this.Lm:"fullscreen"==r?u=this.Mm:"plScrollUp"==r?u=this.Nm:"plScrollDown"==r?u=this.Om:"plBack"==r?u=this.Pm:"help"==r&&(u=this.Qm),c=s.element,d=r.toLowerCase(),d.match(/(play)/)||(d=d.replace("pl","playlist ")),d=d.replace("scroll"," scroll "),d=d.replace("coverplaypause"," cover play pause "),c.title=c.alt=d,c.setAttribute("aria-role",d),u&&(s.addMEL("mouseDown",u,this,!1,1),s.addMEL("mouseUp",u,this,!1,0)))),"Box"!=o&&"TextBox"!=o&&"TextScroller"!=o&&"Thinker"!=o||s.setMouseEnabled(0);if(f=h.cmp_thinker,f&&(this.Rm=f),f=h.cmp_scrubber,f?(f.addEventListener("change",this.ci,this),this.Pl=f,d="scrub timeline",c=f.thumb.element,c.title=c.alt=d,c.setAttribute("aria-role",d),c=f.track.element,c.title=c.alt=d,c.setAttribute("aria-role",d)):this.Pl=!1,f=h.cmp_volume,f&&(f.setInverted(0),f.addEventListener("change",this.Hm,this),d="adjust volume",c=f.thumb.element,c.title=c.alt=d,c.setAttribute("aria-role",d),c=f.track.element,c.title=c.alt=d,c.setAttribute("aria-role",d)),f=h.cmp_volumeKnob,f&&(f.addEventListener("change",this.Hm,this),d="adjust volume",c=f.element,c.title=c.alt=d),f=h.cmp_playlist,f&&f.setCallback&&(f.setCallback(this.Sm.bind(this)),f.setCallbackMore(this.Tm.bind(this)),f.setCallbackDownload(this.Um.bind(this)),b=h.cmp_plScroll,b&&(b.setUsePaging(1),f.setScrollbar(b)),f=h.cmp_plScrollUp,f&&f.addEventListener("mouseRepeat",this.Nm,this,1),f=h.cmp_plScrollDown,f&&f.addEventListener("mouseRepeat",this.Om,this,1)),this.Vm=null,f=h.cmp_cover){this.Bk.setXYWH(f.x,f.y,f.width,f.height),this.Kl=f,p=jbeeb.Utils.contains,m=[];for(a in h)s=h[a],s.type&&p(f,s)&&m.push({obj:s,ani:null});this.Vm=m}for(!h.cmp_play||h.cmp_pause||h.cmp_stop?this.wl=!1:this.wl=!0,f=h.cmp_coverPlayPause,f&&(g=this.Kl,g?(y=this.yl.addObject({type:"Container",name:"screenPPwrapper",x:g.x,y:g.y,w:g.width,h:g.height}),y.toFront(),y.addChild(f),y.playPause=f,f.center()):y=f,y.addMEL("mouseDown",this.Wm,this,!1,1),y.addMEL("mouseUp",this.Wm,this,!1,0),g&&(this.xl=y,y.addMEL("mouseMove",this.Xm,this,!1,0))),v=[h.cmp_info_title,h.cmp_info_artist,h.cmp_info_album,h.cmp_time],i=0;i<v.length;i++)f=v[i],f&&(f.setOverflow("hidden"),f.setMouseEnabled(0));f=h.cmp_time,this.Fl=!!f&&f,f=h.cmp_fakeEQ,this.Ll=!!f&&f,f?f.initGraphicEq(this,this.cm,this.dm):this.cm&&h.eq&&(w=this.dm||{},k=new wimpyGraphicEq({player:this,target:h.eq,renderer:this.cm,rendererOpts:{},smoothing:w.smoothing,bands:w.bands,scale:w.scale,bassDamp:w.bassDamp})),j=parseFloat(this.sl.width),x=parseFloat(this.sl.height),this.stage.setPin("tl"),S=this.yl.width,E=this.yl.height,L=parseFloat,j>0&&x>0&&S>0&&E>0&&this.stage.stretch(L(j)/S,L(x)/E),this.zl=1,this.Ym("w"),this.width=this.stage.width,this.height=this.stage.height,this.dispatchEvent("skinReady",this.yl),(this.sl.responsive||this.bm)&&this.Zm(!0)},e.Ym=function(t){this.zl&&(this.$m(),this.Zm())},e.$m=function(){var t,e=this.vl,i=parseFloat(this.sl.volume)||1;this.setVolume(i),this.setLoopState(parseInt(this.sl.loop)),this.setRandomState(parseInt(this.sl.random)),e&&(t=e.cmp_playlist,t&&(t.setGlyphs(this.sl.glyphs),t.enableLink(this.sl.linkEnable,this.sl.linkWindow),this.Cl=this.sl.linkWindow||"_blank",t.enableDownload(this.sl.downloadEnable,this.sl.downloadWindow),this.Al=this.sl.downloadWindow||"_blank",t.setNumberTracks(this.lg))),this.setCoverArt(this.sl.coverArt),t=e.cmp_info,t&&(this.sl.infoScroll?t.start(this.sl.infoSpeed):t.stop()),this.setInfo(this.Il),this._l&&this.disableControls(this._l),this.bm&&this.im(),this.fm?this.mm():this.lm(),this.runtime({},0)},e._m=function(){var t,e=this.xl;e&&(t=this.Kl,e.setXYWH(t.x,t.y,t.width,t.height))},e.Zm=function(t){this._.ready&&!t||(this.ready=1,this.Ql&&this.setVolume(this.Tl),this.ul.init(this.Ql),this.Ql=0,this.an(),t||(this._.fire(),this.dispatchEvent("ready")),this.handleScreen(this.wm()))},e.onReady=function(){var t,e=[].slice.call(arguments),i=e.splice(0,1)[0];e.unshift(this),e.unshift(i),t=this._,t.add.apply(t,e)},e.runtime=function(t,e){var i,s,n,h,l,a,o,r,u,c=this.Pl;if(c&&0==e&&c.setValue(t.percent||0,!0),i="0:00",s=t.current_nice||i,n=t.remaining_nice||i,h=t.duration_nice||i,l=this.vl,l&&(c=l.cmp_time_current,c&&c.setText(s),c=l.cmp_time_remain,c&&c.setText("-"+n),c=l.cmp_time_total,c&&c.setText(h)),c=this.Fl){for(a="",o=0,r=0;r<this.Gl.length;r++)u=this.Gl[r],"1"==u?(o=s,o&&(a+=o)):"2"==u?(o=n,o&&(a+=o)):"3"==u?(o=h,o&&(a+=o)):a+=u;c.setText(a)}this.Ki=t,this.Ml<1&&this.setActivity(1),this.bn(t.buffering),this.dispatchEvent("runtime",this,this.Ml,t,e)},e.setActivity=function(t){this.Ml=t;var e=this.Ll;e&&e.setState(t),this.dispatchEvent("activity",t)},e.cn=null,e.Rm=null,e.bn=function(t){var e=this.Rm;e&&this.cn!==t&&(e.setState&&e.setState(t),this.cn=t)},e.disable=function(){this.onoff=0,this.ul.pause(),this.setActivity(-1),this.dispatchEvent("disabled")},e.enable=function(t){this.onoff=1,this.dispatchEvent("enabled")},e.dn=function(t,e){var i,s,n,h,l,a,o="undefined";for(typeof e==o&&(e=wimpy.mainPlayControls,typeof t==o&&(t=1)),i=["play","pause","stop","next","previous","coverPlayPause","scrubber","fullscreen","random","help","loop","mute","volume","volumeKnob","back","playlist","playlistScrollUp","playlistScrollDown","playlistScroll"],s=e.split(","),n=0;n<s.length;n++)h=jbeeb.Utils.trim(s[n]),l="",i.indexOf(h)>-1&&(l="cmp_"),a=this.getSkinElement(l+h),a&&a.setMouseEnabled(t)},e.enableControls=function(t){this.dn(1,t)},e.disableControls=function(t){this.dn(0,t)},e.Wm=function(t,e,i){var s=t.playPause||t;this.Cm(s,e,i,!0),s.setAlpha(1),1===i&&(this.Zl&&(jbeeb.Animate.cancel(this.Zl),this.Zl=null),this.Zl=jbeeb.Animate.to(s,{alpha:0},500,0,0))},e.Xm=function(t,e,i){this.en()},e.gn=function(t,e,i){this.hn()},e.handleScreen=function(t){var e,i,s,n;this.Kl&&(e=this.Bk,i=e.fileInfo,i&&(s=i.av,"video"==s?(e.toFront(),this.hideCoverart(),this.in()):(e.toBack(),n=t.image||t.cover||t.coverArt||t.coverart||this.$l||this.Nl,this.setCoverArt(n)),this.hn()))},e.en=function(){var t=this.xl;t&&(this.Zl&&(jbeeb.Animate.cancel(this.Zl),this.Zl=null),this.Xl&&(this.Xl.cancel(),this.Xl=null),this.in(),t.playPause.setAlpha(1),this.Xl=new jbeeb.DelayCall(this.gn.bind(this),1e3))},e.hn=function(t){var e,i,s,n=this.xl;if(n&&(jbeeb.Browser.ie?n.playPause.setAlpha(0):(this.Yl&&jbeeb.Animate.cancel(this.Yl),this.Yl=jbeeb.Animate.to(n.playPause,{alpha:0},500,1)),e=this.ul.getPlaying(),e&&this.Vm))for(i=0;i<this.Vm.length;i++)s=this.Vm[i],s.ani=jbeeb.Animate.to(s.obj,{alpha:0},500,1)},e.in=function(){var t,e;if(this.Vm)for(t=0;t<this.Vm.length;t++)e=this.Vm[t],e.ani&&e.ani.cancel&&(e.ani.cancel(),e.ani=null),e.obj.toFront(),e.obj.setAlpha(1)},e.jn=function(t){var e=this.xl;e&&(e.toFront(),this.in())},e.Cm=function(t,e,i,s){var n,h;this.dispatchEvent("clickPlay",this.wm()),0===i?(n=1,(this.wl||s)&&(h=this.ul.getPlaying(),h&&(n=0)),1==n?this.ul.playClick(this.wl?"toggle":null):this.ul.pause(),t.setState(0)):t.setState(1)},e.qm=function(t){this.setPlayPauseState(t)},e.setPlayPauseState=function(t){var e,i;this.playpause=t,e=this.vl,e&&(this.wl&&(i=e.cmp_play,i&&(1==t?i.setText("q"):i.setText("p"))),i=this.xl,i&&(1==t?i.playPause.setText("q"):i.playPause.setText("p"),this.jn()),1!=t&&this.setActivity(-1),this.xl&&(this.kn&&clearTimeout(this.kn),this.ln||(this.ln=this.mn.bind(this)),this.kn=setTimeout(this.ln,500)))},e.kn=null,e.ln=null,e.mn=function(){this.playpause?this.hn():this.en()},e.Dm=function(t,e,i){1==i?(this.dispatchEvent("clickPause",this.wm()),this.ul.pause(),t.setState(1)):t.setState(0)},e.Em=function(t,e,i){1==i?(this.dispatchEvent("clickStop",this.wm()),this.nn(),t.setState(1)):t.setState(0)},e.nn=function(t){this.dispatchEvent("stop",this.wm()),this.ul.reset(t),this.setInfo(this.Il)},e.Fm=function(t,e,i){1==i?(this.dispatchEvent("clickNext",this.wm()),this.ul.next(),t.setState(1)):t.setState(0)},e.Gm=function(t,e,i){1==i?(this.dispatchEvent("clickRewind",this.wm()),this.ul.rewind(!0),t.setState(1)):t.setState(0)},e.Hm=function(t,e){this.dispatchEvent("clickVolume",this.wm(),t),this.ul.setVolume(t,e)},e.Jm=function(t,e,i){if(1==i)this.dispatchEvent("clickMute",this.wm(),i),t.setState(1);else{t.setState(0);var s=this.ul.getMuteState();s=s?0:1,this.setMuteState(s)}},e.setMuteState=function(t){var e=this.vl.cmp_mute;e&&(t?e.setState(1,"m"):e.setState(0,"M")),this.ul.setMuteState(t)},e.Km=function(t,e,i){if(1==i)t.setState(1);else{this.dispatchEvent("clickRandom",this.wm(),i),t.setState(0);var s=this.ul.getRandomState();s=s?0:1,this.setRandomState(s)}},e.setRandomState=function(t){var e,i=this.vl;i&&(e=i.cmp_random,e&&(t?e.setState(1):e.setState(0))),this.ul.setRandomState(t)},e.Lm=function(t,e,i){var s,n;1==i?t.setState(1):(this.dispatchEvent("clickLoop",this.wm(),i),s=this.ul.getLoopState(),n=this.ul.getPlaylist(),n&&(n=n.length),1===n?s=s?0:1:(s=s?2==s?1:0:2,s>2&&(s=0),0>s&&(s=0)),this.setLoopState(s))},e.setLoopState=function(t){var e,i=this.vl;i&&(e=i.cmp_loop,e&&(1==t?e.setState(1,"L"):2==t?e.setState(1,"l"):e.setState(0,"l")),this.ul.setLoopState(t))},e.Mm=function(t,e,i){0===i&&(this.dispatchEvent("clickFullscreen",this.wm(),i),this.Bk.setFullscreen(1))},e.Nm=function(t,e,i){if(1==i){this.vl.cmp_playlist.scrollOne(-1),t.setState(1)}else t.setState(0)},e.Om=function(t,e,i){if(1==i){this.vl.cmp_playlist.scrollOne(1),t.setState(1)}else t.setState(0)},e.Pm=function(t,e,i){1==i?(this.dispatchEvent("clickPlaylistBack",this.wm(),i),this.ul.playlistBack(),t.setState(1)):t.setState(0)},e.Sm=function(t,e){this.ul.playlistLoadItem(e)},e.Tm=function(t){"function"==typeof this.Dl?this.Dl(t):t.link&&window.open(t.link,this.Cl),this.dispatchEvent("link",t)},e.Um=function(t){"function"==typeof this.Bl?this.Bl(t):new jbeeb.Downloader({url:t.file,server:wimpy.serverOK?wimpy.server:null}),this.dispatchEvent("download",t)},e.playlistScrollTo=function(t,e){var i,s,n=this.vl.cmp_playlist;n&&(i=this.ul.getPlaylist(),i&&(s=i.length-1,t="alpha"==t?0:"omega"==t?s:"playing"==t?this.ul.getIndex():t,0>t&&(t=0),t>s&&(t=s),jbeeb.Utils.isNumber(t)&&n.scrollTo(t,!!jbeeb.Utils.isTrue(e))))},e.renderPlaylist=function(t){var e,i=this.vl;i&&(e=i.cmp_playlist,e&&e.setList&&e.setList(t))},e.setDownloadHandler=function(t){this.Bl=t},e.setLinkHandler=function(t){this.Dl=t},e.xm=null,e.ci=function(t,e){this.ul.scrub(t,e),this.xm="end"==e,setTimeout(this.on.bind(this),1e3)},e.on=function(){this.xm=!1},e.rewindScrubber=function(t,e){var i=this.Pl;i&&i.setValue(0,!0)},e.setCoverArtFallback=function(t){this.Nl=t},e.setCoverArt=function(t){var e,i=this.Kl;i&&(e=this.$l=t||this.$l||this.Nl,e&&(i.setImage(e,this.Ol),i.toFront()),this.jn())},e.hideCoverart=function(){var t=this.Kl;t&&t.setImage("")},e.showCoverart=function(){this.setCoverArt(this.$l)},e.Qm=function(t,e,i){1==i?(t.setState(1),this.dispatchEvent("clickHelp",this.wm(),i)):t.setState(0)},e.toString=function(){return'[Player id="'+this.id+'" name="'+(this.name||"")+'"]'},e.getTrackDataset=function(t){return this.ul.getTrackData(t)},e.jm=function(t){var e,i;e="string"==typeof t?"{"==t.substr(0,1)?jbeeb.Utils.parseJSON(t):{title:t}:jbeeb.Utils.clone(t);for(i in e)e[i]=jbeeb.Utils.unescapeHTML(jbeeb.Utils.toHtmlEntities(e[i]));return e},e.setInfo=function(t){this.pn(this.jm(t))},e.pn=function(t){var e,i,s,n,h,l,a,o,r,u,c,d,f,b=this.vl;if(b&&(e="",i="",s="",n="",t&&"object"==typeof t?(t.title&&(e=t.title),t.artist&&(i=t.artist),t.album&&(s=t.album)):e=t||"",h=jbeeb.Utils.trim,e=h(e),i=h(i),s=h(s),this.Il||(this.Il={title:""}),l=this.Il.title,a=b.cmp_info_title,a&&a.setText(e||l),a=b.cmp_info_artist,a&&a.setText(i||" "),a=b.cmp_info_album,a&&a.setText(s||" "),a=b.cmp_info)){if(e||i||s){if(o=this.Hl,r=o.length,i||s)for(u=0;r>u;u++)c=o[u]+"","1"===c?n+=e:"2"==c?n+=i||"":"3"==c?n+=s||"":(c=" "==c?"&nbsp;":c,n+=c);else n=e;d=h(n),d.length<1&&(n=l),n+="&nbsp;&nbsp;&nbsp;"}else n=l;f=this.getMediaElement(),f&&(f.title=n),a.setText(n)}},e.getLoading=function(){return this.ul.loading},e.loading=null,e.setLoading=function(t){this.loading=t;var e=this.Pl;e&&e.loader.update(t)},e.play=function(t){t&&this.ul.setTrackData(t),this.ul.playClick(null,!0)},e.pause=function(){this.ul.pause()},e.stop=function(t){this.nn(t)},e.gotoTrack=function(t){this.ul.playlistLoadItem(parseInt(t)-1)},e.next=function(){this.ul.next()},e.prev=function(){this.ul.rewind(!0)},e.rewind=function(t){jbeeb.Utils.isTrue(t)?this.ul.reset():this.ul.rewind(!1)},e.getPosition=function(){var t,e=this.Ki;return e&&(t=e.percent,!jbeeb.Utils.isNumber(t))?0:t},e.setPosition=function(t,e){this.ul.scrub(t,e);var i=this.vl.cmp_scrubber;i&&i.setValue(t,!0)},e.setTime=function(t){var e=this.Ki.duration,i=t/e;this.setPosition(i)},e.getTime=function(){return this.Ki.current},e.getVolume=function(){return this.ul.getVolume()},e.setVolume=function(t){this.ul.setVolume(t,"start"),this.qn(t)},e.qn=function(t){var e,i=this.vl;i&&(e=i.cmp_volume,e&&e.setValue(t,!0),e=i.cmp_volumeKnob,e&&e.setValue(t,!0))},e.sm=function(t){this.ul.setVolume(t,"start",!0),this.qn(t)},e.getMute=function(){return this.ul.getMuteState()},e.setMute=function(t){this.setMuteState(t)},e.getLoop=function(){return this.ul.getLoopState()},e.setLoop=function(t){this.setLoopState(t)},e.getRandom=function(){return this.ul.getRandomState()},e.setRandom=function(t){this.setRandomState(t)},e.getPlaylist=function(){return this.ul.getPlaylist()},e.refreshPlaylist=function(){return this.ul.refreshPlaylist()},e.setPlaylist=function(t,e,i,s){this.ul.setPlaylist(t,e,i,s)},e.appendPlaylist=function(t,e,i){this.ul.appendPlaylist(t,e,i)},e.clearPlaylist=function(){this.ul.setPlaylist([],!1,"js")},e.removePlaylistItems=function(t,e){var i,s,n,h,l=this.ul,a=l.getPlaylist(),o=(l.getIndex(),[]),r=[],u="object"==typeof e;if("i"!=t||u)for(s=0;s<a.length;s++)n=a[s],h=n[t],u?e.indexOf(h)<0?o.push(n):r.push(n):h!=e?o.push(n):r.push(n);else i=parseInt(e),r=a.splice(i,1),o=a.slice();return r.length>0&&new jbeeb.DelayCall(this.rn.bind(this),100,o),r},e.rn=function(t){this.ul.setPlaylist(t,!1,"js")},e.refreshPlaylist=function(t){var e=this.vl.cmp_playlist;e&&e.refresh(t),this.playlistScrollTo(t,!0),this.ul.setIndex(t)},e.getSkinElement=function(t){return this.yl.controls[t]},e.setSkin=function(t,e){this.Tl=this.ul.getVolume(),this.zl=0,this.ready=0,this._.cancel(),this.sn(),this.Ql=1,e?(this.sl.width=this.width,this.sl.height=this.height):(this.sl.width=null,this.sl.height=null),this.yl.load(t||wimpy.defaultPlayer.skin)},e.getSkin=function(){return this.yl},e.tn=function(){var t,e;if(this.Vm){for(t=0;t<this.Vm.length;t++)e=this.Vm[t],e&&(e.obj=null,e.ani=null,e=null);this.Vm=null}},e.sn=function(){var t,e;this.tn(),t=this.Pl,t&&(t.destroy(),this.Pl=null),t=this.xl,t&&(t.destroy(),this.xl=null),t=this.Fl,t&&(t.destroy(),this.Fl=null),t=this.Ll,t&&(t.destroy(),this.Ll=null),t=this.Kl,t&&(t.destroy(),e=this.Bk,e&&e.setXYWH(0,0,1,1),this.Kl=null)},e.reset=function(t){var e,i,s;t=t||{},this.tn(),this._.cancel(),this.ready=0,this.Wl=0,e=this.yl.url,i=jbeeb.Utils.clone(t),this.rl(i),this.ul.setup(this.sl),e!=i.skin?(s=i.width&&i.height?1:0,this.setSkin(i.skin,s)):(this.dispatchEvent("skinReady",this.yl),this.Ym())},e.an=function(){this.setLoading(-1),this.setPlayPauseState(this.ul.getPlaying()),this.setVolume(this.ul.getVolume()),this.handleScreen(this.wm())},e.un=null,e.hide=function(){this.pause();var t=this.stage.element.style;this.un=t.display,t.display="none"},e.show=function(){var t=this.stage.element.style;this.un&&"none"!=this.un?t.display=this.un:"none"==t.display&&this.stage.show(),this.repaint()},e.setSize=function(t,e){this.stage.setPin("tl"),this.stage.stretch(t/this.stage.width,e/this.stage.height),this._m(),this.width=this.stage.width,this.height=this.stage.height,this.dispatchEvent("resize",this,this.width,this.height)},e.setXY=function(t,e){this.stage.setXY(t,e)},e.setX=function(t){this.stage.setX(t)},e.setY=function(t){this.stage.setY(t)},e.getRawSkin=function(){return this.yl.rawData},e.getSkin=function(){return this.yl},e.getControls=function(){return this.vl},e.getStatus=function(){var t,e,i;return this.Ki.activity=this.Ml,t=this.ul.getPlaying(),this.Ki.playing=t,this.Ki.enabled=this.onoff,t?(e=this.Ki.duration<=1,i=!e):(e=!1,i=!1),this.Ki.stopped=e,this.Ki.paused=i,this.Ki},e.getPlaying=function(){return this.ul.getPlaying()},e.getStopped=function(){return this.ul.getPlaying()?0:this.onoff?this.Ki.duration>1?1:2:3},e.sort=function(t,e){this.ul.sortPlaylist(t.toLowerCase(),e)};e.setAlpha=function(t){this.stage.setAlpha(t)};e.addListener=function(t,e,i,s){var n=null;return t&&e&&(n=this.addEventListener(t,e,i,s),"ready"==t&&this.ready?this.dispatchEvent("ready"):"skinReady"==t&&this.zl&&this.dispatchEvent("skinReady",this.yl)),n},e.removeListener=function(t,e,i){t&&e&&this.removeEventListener(t,e,i)},e.destroy=function(){this.tn(),this.em&&(this.em.destroy(),this.em=null),this.hm=null,this._.destroy(),this._=null,this.removeAllEventListeners(),this.Zl&&(jbeeb.Animate.cancel(this.Zl),this.Zl=null),this.Yl&&jbeeb.Animate.cancel(this.Yl),this.Xl&&(this.Xl.cancel(),this.Xl=null),this.ul.destroy(),this.ul=null,this.Bk.destroy(),this.Bk=null,this.sn(),this.vl=null,this.yl.destroy(),this.yl=null,this.stage.destroy(),this.stage=null,this.sl=null},e.vn=null,e.setAnimate=function(t,e){t?(this.stage.animateAll(t,e),this.vn&&this.vn.cancel(),this.vn=new jbeeb.DelayCall(this.wn.bind(this),t)):this.stage.cancelAnimation()},e.setEqRenderer=function(t){var e=this.Ll;e&&e.setRenderer(t)},e.wn=function(){this.stage.cancelAnimation()},e.setLimitPlayTime=function(t){this.ul.setLimitPlayTime(t)},e.setSpeed=function(t){this.Bk.setSpeed(t)},e.center=function(t){this.stage.center(t)},e.getMediaController=function(){return this.Bk},e.getMediaElement=function(){return this.Bk.getMediaElement()},e.tm=function(t){this.dispatchEvent("mediaElementChange",t)},e.rm=function(t){this.dispatchEvent("beforePause",t)},wimpy.Player=t,wimpyPlayer=t,WimpyPlayer=t}(),this.wimpy=this.wimpy||{},function(){"use strict";var t=function(t){this.xn=t},e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),t.yn=[],t.zn={},e.xn=null,e.init=function(){var e,i,s,n,h,l,a,o,r,u=wimpy.defaultPlayer,c={};for(e in u)c[e.toLowerCase()]=e;for(t.zn=c,i=document.querySelectorAll("[data-wimpyplayer]","[data-wimpyPlayer]","[data-WimpyPlayer]","[data-WIMPYYPLAYER]"),s=i.length,n=0,h=t.parseAttributes,l=0;s>l;l++)a=i[l],a.id||(a.id="wdid_"+jbeeb.getUID()),o=a.id,t.yn.indexOf(o)>-1&&(o+=jbeeb.getUID(),a.id=o),r=h(a),t.yn.push(o),r.target=o,wimpy.playerList[o]=new wimpy.Player(r,!0);this.xn(),jbeeb.ticker.addEventListener("tick",this.An,this)},t.parseAttributes=function(e){var i,s,n,h,l,a,o,r,u,c,d,f,b,p;if(!e)return{};i=e,s=jbeeb.Utils.isTrue,n=jbeeb.Utils.isFalse,h=[],l={},a=jbeeb.Utils.getAttributes(i);for(o in a)r=jbeeb.Utils.trim(o.replace("data-","").toLowerCase()),u=t.zn[r],u&&(l[u]=a[o],h.push(r));for(c=-316.0401,d=function(t){if(h.indexOf(t.toLowerCase())>-1){var e=l[t];return""!==e&&void 0!==e?n(e)?0:s(e)?1:e:1}return c},f=["fit","infoScroll","autoAdvance","autoPlay","random","loop","sortReverse","downloadEnable","linkEnable","getid3","getid3image","inline","plugFirst","plugDisables","numberTracks","disableFlash","responsive","eq","eqBands","eqSmoothing","eqScale","eqBassDamp","allowOthers"],b=0;b<f.length;b++)o=f[b],p=d(o),p!=c&&(l[o]=p);return l},e.An=function(){var t,e=wimpy.playerList,i=!1,s=0;for(t in e){if(s++,!e[t].ready){i=!1;break}i=!0}(i||0===s)&&(jbeeb.ticker.removeEventListener("tick",this.An,this),wimpy.playersReady())},wimpy.PlayerQuery=t}(),function(){"use strict";function t(t){for(;t.firstChild;)t.removeChild(t.firstChild)}var e,i,s,n=function(t){this.init(t)},h=n.prototype;h.Bn=null,h.Cn=null,h.Dn=null,h.En=null,h.Fn=null,h.Gn=null,h.Hn=null,h.In=null,h.Jn=null,h.Kn=null,h.Ln=null,h.Mn=null,h.Nn=null,h.On=null,h.Pn=null,h.Qn=null,h.Rn=null,h.Sn=null,h.c_time=null,h.c_total=null,h.c_current=null,h.c_remaining=null,h.c_artist=null,h.c_album=null,h.c_title=null,h.c_coverart=null,h.c_thinker=null,h.c_back=null,h.c_random=null,h.c_loop=null,h.Tn=0,h.Un=0,h.Vn=0,h.Wn=null,e='{"version":"1.0","x":1,"y":1,"width":1,"height":1,"bkgdColor":"#808080","layout":[{"x":0,"y":0,"w":1,"h":1,"z":1,"type":"Rube","name":"cmp_play","fill":[{"color":"#ffffff","alpha":0},{"color":"#ffffff","alpha":0}],"text":""}]}',i='{"version":"1.0","x":0,"y":0,"width":160,"height":120,"layout":[{"x":0,"y":0,"w":160,"h":120,"z":1,"type":"Container","name":"cmp_cover","fill":"#000000"},{"x":62,"y":42,"w":31,"h":30,"z":2,"type":"Rube","name":"cmp_coverPlayPause","text":"p","font":"WimpyPlayerGlyphs","align":"center","textColor":"#ffffff","textScale":1,"textFit":"wh","shadowText":[{"x":0,"y":-0.183,"c":"#000000","a":0.87333,"s":10.167},null]}]}',h.Xn=function(t,e){var i,s,n=this.Dn;for(i=0;i<n.length;i++)if(s=n[i],t[e]==s.getAttribute("data-"+e))return s;return null},h.xj=function(t){var e,i;for(e=0;e<this.Dn.length;e++)jbeeb.Utils.cssClassOps("remove",this.Dn[e],"playing");i=this.Xn(t,"i"),i&&jbeeb.Utils.cssClassOps("add",i,"playing"),this.Yn("launch")},h.Zn=function(t){this.Yn("play")},h.$n=function(t){this.Yn("pause")},h.uj=function(t){this.Yn("done")},h.Yn=function(t){var e=this.c_play,i=this.c_pause,s=this.c_stop;"play"==t?this.Vn?e&&(jbeeb.Utils.cssClassOps("add",e,"pause"),jbeeb.Utils.cssClassOps("remove",e,"play")):(e&&jbeeb.Utils.cssClassOps("add",e,"active"),i&&jbeeb.Utils.cssClassOps("remove",i,"active"),s&&jbeeb.Utils.cssClassOps("remove",s,"active")):this.Vn?e&&(jbeeb.Utils.cssClassOps("remove",e,"pause"),jbeeb.Utils.cssClassOps("add",e,"play")):(e&&jbeeb.Utils.cssClassOps("remove",e,"active"),i&&jbeeb.Utils.cssClassOps("add",i,"active"),s&&jbeeb.Utils.cssClassOps("add",s,"active"))},h._n=function(t,e,i,s){var n,h,l,a,o=e.element;if(!o.getAttribute("data-file")){for(n=o.parentNode,h=0;!n.getAttribute("data-file")&&(n=n.parentNode,1e3>=h);)h++;o=n}l=o.getAttribute("data-amplaylist"),a="1"==l||1===l,a?this.Hn.setPlaylist(o.getAttribute("data-file")):this.Hn.gotoTrack(parseInt(o.getAttribute("data-i"))+1)},h.ao=function(){var t,e;for(t=0;t<this.Dn.length;t++)e=this.Dn[t],e.removeEventListener("click",this.Qn),this.Fn.removeChild(e),e=null;this.Dn=[]},h.bo=function(t){var e,i,s,n,h,l,a,o,r;if(t&&this.Fn){for(this.ao(),e=0;e<t.length;e++){if(i=t[e],s=document.createElement("div"),s.className=this.Gn||"",n=this.co)for(h=0;h<n.length;h++)l=n[h],a=document.createElement(l.tag),a.className=l.klass,"image"==l.field?a.style.backgroundImage="url('"+i[l.field]+"')":a.innerHTML=i[l.field]||" ",o=jbeeb.DomPointer(a,this._n.bind(this)),s.appendChild(a);else s.innerHTML=i.title;o=jbeeb.DomPointer(s,this._n.bind(this)),this.Dn.push(s);for(r in i)s.setAttribute("data-"+r,i[r]);this.Fn.appendChild(s)}this.Cn.push(t),this.Bn=t}},h.play=function(t,e,i){if(this.Vn){this.Hn.getPlaying()?this.Hn.pause():this.Hn.play()}else this.Hn.play()},h.pause=function(){this.Hn.pause()},h.stop=function(){this.Hn.stop()},h.mute=function(){var t,e=this.Hn.getMute(),i=!e;this.Hn.setMute(i),t=this.c_mute,t&&(i?jbeeb.Utils.cssClassOps("add",t,"muted"):jbeeb.Utils.cssClassOps("remove",t,"muted"))},h.next=function(){this.Hn.next()},h.previous=function(){this.Hn.prev()},h.random=function(){var t=this.Hn.getRandom(),e=!t;this.Hn.setRandom(e),this.do(e)},h.do=function(t){"string"==typeof t&&(t=+t),t||(t=0);var e=this.c_random;e&&(t?jbeeb.Utils.cssClassOps("add",e,"active"):jbeeb.Utils.cssClassOps("remove",e,"active"))},h.loop=function(){var t=this.Hn.getLoop(),e=(t+1)%3;this.Hn.setLoop(e),this.eo(e)},h.eo=function(t){"string"==typeof t&&(t=+t),t||(t=0);var e=this.c_loop;e&&(jbeeb.Utils.cssClassOps("remove",e,"loop"),jbeeb.Utils.cssClassOps("remove",e,"loopOne"),jbeeb.Utils.cssClassOps("remove",e,"loopAll"),1===t?jbeeb.Utils.cssClassOps("add",e,"loopOne"):2===t?jbeeb.Utils.cssClassOps("add",e,"loopAll"):jbeeb.Utils.cssClassOps("add",e,"loop"))},h.back=function(){var t,e=this.Cn;e.pop(),e.length>0&&(t=e.pop(),this.Hn.setPlaylist(t))},h.fo=function(t){var e;this.Tn=1,this.Un=1,e=this.c_thinker,e&&(e.style.opacity=1),e=this.c_artist,e&&(e.innerHTML=t.artist||""),e=this.c_album,e&&(e.innerHTML=t.album||""),e=this.c_title,e&&(e.innerHTML=t.title||""),e=this.c_coverart,e&&(e.style.backgroundImage=t.image?"url('"+t.image+"')":""),e=this.go,e&&(e.style.display="block")},h.ho=function(e){var i,s,n,h,l,a,o,r,u,c,d,f,b,p,m,g,y;for(i="string"==typeof this.Kn.target?document.getElementById(this.Kn.target):this.Kn.target,s=["play","pause","stop","mute","next","previous","random","loop","back"],n={play:0,pause:0,stop:0},h=!1,l=!1,a=!1,o=0;o<s.length;o++)r=s[o],u=i.querySelector("[data-"+r+"]"),u&&(this["c_"+r]=u,c=jbeeb.DomPointer(u,this[r].bind(this)),0===n[r]&&(n[r]=1));for(n.play&&0==n.pause&&0==n.stop&&(this.Vn=1),s=["total","current","remaining","artist","album","title","coverart","thinker"],o=0;o<s.length;o++)r=s[o],u=i.querySelector("[data-"+r+"]"),u&&(this["c_"+r]=u);if(e.addListener("launch",this.fo.bind(this)),this.c_thinker&&(this.c_thinker.style.opacity=0),this.Wn&&(this.Wn.loop&&this.eo(this.Wn.loop),this.Wn.random&&this.do(this.Wn.random)),u=i.querySelector("[data-playlist]")){if(this.Fn=u,u=u.querySelector("[data-playlist-item]")){for(this.Gn=u.className,d=u,f=["artist","album","title","image"],p=0;p<f.length;p++)m=f[p],u=d.querySelector("[data-item-"+m+"]"),u&&(b||(b=[]),b.push({field:m,klass:u.className,tag:u.tagName,index:Array.prototype.indexOf.call(d.childNodes,u)}));jbeeb.Utils.sortOn(b,"index"),this.co=b}t(this.Fn)}u=i.querySelector("[data-seek]"),u&&(this.Sn=u,g=u.parentNode,this.io=g,g&&(c=jbeeb.DomPointer(g,this.jo.bind(this)),c.addListener("mouseDrag"))),u=i.querySelector("[data-loading]"),u&&(this.go=u,this.ko=u.parentNode,u.style.display="none",u.style.width="0%",this.lo=1),setInterval(this.Rn,1e3),e.addListener("launch",this.Ln),e.addListener("play",this.Nn),e.addListener("pause",this.Mn),e.addListener("done",this.On),e.addListener("playlistReady",this.Pn),this.In=i,this.Hn=e,this.bo(e.getPlaylist()),this.Wn&&this.Wn.autoPlay&&(y=this.Hn.getTrackDataset(),this.xj(y))},h.jo=function(t,e,i,s){var n=this.Sn,h=this.io.getBoundingClientRect(),l=i.mouseX/(h.width||1);l>1?l=1:0>l&&(l=0),n.style.width=100*l+"%",this.Hn.setPosition(l)},h.mo=function(){var t,e,i=this.Hn.getStatus(),s=this.c_total,n="00:00";s&&(s.innerHTML=i.duration_nice||n),s=this.c_remaining,s&&(s.innerHTML=i.remaining_nice||n),s=this.c_current,s&&(s.innerHTML=i.current_nice||n),s=this.c_thinker,s&&(t=i.activity,this.Tn&&1===t&&(this.c_thinker.style.opacity=0,this.Tn=0)),s=this.Sn,s&&(s.style.width=100*+i.percent+"%"),s=this.go,s&&(e=this.Hn.getLoading(),e&&(0>e?(s.style.display="none",this.Un=0,this.lo=1):(this.lo&&(s.style.display="block",this.lo=0),s.style.width=Math.ceil(100*(1-e))+"%")))},h.init=function(t){var s,n,h;this.Bn=null,this.Cn=[],this.Dn=[],this.En=null,this.Fn=null,this.Hn=null,this.In=null,this.Kn={},this.Gn=null,this.co=null,this.Ln=this.xj.bind(this),this.Nn=this.Zn.bind(this),this.Mn=this.$n.bind(this),this.On=this.uj.bind(this),this.Pn=this.bo.bind(this),this.Qn=this._n.bind(this),this.Rn=this.mo.bind(this),this.no=this.jo.bind(this);for(s in t)this.Kn[s]=t[s];n=this.ho.bind(this),h=this,wimpy.onReady(function(){var s,l,a,o,r,u,c;if(t.forPlayer)s=wimpy.getPlayer(t.forPlayer),n(s);else{l=t.target,a=l.querySelector("[data-coverart]"),o=a?{target:a,skin:i,responsive:!0}:{target:l,skin:e,width:1,height:1},r=[],u=wimpy.PlayerQuery.parseAttributes(l);for(c in u)r[c]=u[c];for(c in o)r[c]=o[c];r.onReady=n,h.Wn=r,new wimpyPlayer(r)}})},s=function(){var t,e,i,s=document.querySelectorAll("[data-wimpyCssPlayer]","[data-wimpycssplayer]","[data-WIMPYCSSPLAYER]");if(s)for(t=0;t<s.length;t++)e=s[t],i=new n({target:e,forPlayer:e.getAttribute("data-forplayer")})},wimpy.wimpyCssPlayer=n,wimpy.onReady(function(){setTimeout(s,10)})}(),this.wimpy=this.wimpy||{},this.wimpy.extension=this.wimpy.extension||{},function(){function t(t){this.init(t)}var e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),e.player=null,e.trackLaunched=function(t){},e.trackPlay=function(t){},e.trackPaused=function(t){},e.trackBeforePause=function(t){},e.trackDone=function(t){},e.playlistReady=function(t){},e.initParams=null,e.init=function(t){var e,i;if(t){if(this.initParams=t,e=this.ho.bind(this),i=t.player,!i)throw Error("ERROR: player not defined");setTimeout(function(){"string"==typeof i?wimpy.onReady(function(){if(t.player){e(wimpy.getPlayer(t.player))}}):e(i)},10)}},e.ho=function(t){this.player=t,t.addListener("launch",this.trackLaunched,this),t.addListener("play",this.trackPlay,this),t.addListener("pause",this.trackPaused,this),t.addListener("beforePause",this.trackBeforePause,this),t.addListener("done",this.trackDone,this),t.addListener("stop",this.trackStop,this),t.addListener("playlistReady",this.playlistReady,this),this.dispatchEvent("onPlayerReady",this.initParams)},e.destroy=function(){this.removeAllEventListeners(),this.addEventListener=null,this.removeEventListener=null,this.removeAllEventListeners=null,this.dispatchEvent=null,this.hasEventListener=null,this.initParams=null,this.player=null},wimpy.extension.IExtension=t}(),this.wimpyButton=this.wimpyButton||{},function(){"use strict";var t,e,i=function(){if(!i.binit){i.binit=1;var t=new jbeeb.ReadyBoss;this.onReady=t.add.bind(t),this._=t,jbeeb.register(this)}};i.binit=0,t=i.prototype,t.addEventListener=null,t.removeEventListener=null,t.removeAllEventListeners=null,t.dispatchEvent=null,t.hasEventListener=null,jbeeb.EventDispatcher.initialize(t),t.cb=null,t.Bk=null,t.state=null,t.playing=0,t.Ck=0,t.oo=0,t.po=0,t.addListener=null,t.removeListener=null,t.qo=null,t._=null,t.onReady=null,t.Ni=1,t.init=function(){var t,e;this.addListener=this.addEventListener,this.removeListener=this.removeEventListener,this.ro=null,this.ro=[],this.cb=new jbeeb.Stage({target:document.body,x:0,y:0,w:1,h:1,fill:{color:"#FFFFFF",alpha:.2},onReady:this.so.bind(this)}),t=this.Ym.bind(this),wimpy.glyphLoader.onReady(t),e=new jbeeb.MediaController({x:0,y:0,w:1,h:1,name:"WB",noFullscreen:1,onReady:this.uo.bind(this)}),e.addEventListener("launch",this.nm,this),e.addEventListener("start",this.om,this),e.addEventListener("stop",this.pm,this),e.addEventListener("done",this.uj,this),e.addEventListener("update",this.Zd,this),e.addEventListener("loading",this.vo,this),e.addEventListener("disable",this.disable,this),this.Bk=e,e.setVolume(1)},t.wo=0,t.uo=function(){this.wo=1,this.Ym()},t.Ym=function(){this.xo||this.cb.ready&&this.wo&&wimpy.glyphLoader.ready&&(this.xo=1,this.yo(),this._.fire())},t.so=function(){this.cb.style.position="fixed",this.cb.addChild(this.Bk),this.Ym()},t.nm=function(t){this.dispatchEvent("launch",t)},t.om=function(t){this.dispatchEvent("play",t),this.zo(1)},t.pm=function(t){this.dispatchEvent("pause",t),this.zo(0)},t.uj=function(t){var e=this.qo;e&&e.loop?(this.Ue(),this.play()):(this.dispatchEvent("done",t),this.rewind(!0))},t.Zd=function(t){var e,i,s;this.state=t,e=t.current,i="",this.oo>100&&e>0&&(s=this.qo,s&&(i=s.limit,i&&e>i&&this.stop())),this.dispatchEvent("runtime",t)},t.vo=function(t){var e=t.status,i=this.po;200>e&&t.percent<.9?0==i&&(i=1,this.Ao(this.qo,"thinking")):1==i&&(i=0,this.Ao(this.qo,"doneThinking")),this.po=i,this.oo=e,300==e?this.Ck=-1:this.Ck=t.percent||0,this.dispatchEvent("thinking",this.po),
this.dispatchEvent("loading",t)},t.zo=function(t,e){this.playing=t;var i=e||this.qo;i&&(i.playing=t)},t.Bo=function(t){t?(this.Co(),this.qo=t,this.Ao(t,"playing"),this.Bk.play(t.file),this.setVolume(t.volume||this.Ni)):(this.Bk.play(),this.setVolume(this.Ni))},t.play=function(t){if(t)this.Co(),this.qo=null,this.Bk.play(t),this.zo(1);else{var e=this.qo;e&&(this.Bo(e),this.zo(1))}},t.Do=function(t){this.zo(1,t),this.Ao(t,"playing"),this.Bk.play()},t.Eo=function(t){this.zo(0,t),this.Ao(t,"paused"),this.Bk.pause(!0)},t.pause=function(){this.Bk.pause(!0);var t=this.qo;t&&this.Ao(t,"paused"),this.zo(0)},t.rewind=function(t){t?this.Eo(this.qo):this.Bo(this.qo),this.Bk.setPlayheadPercent(0)},t.Ue=function(){var t,e;for(this.Eo(),t=this.ro,e=t.length;e--;)t[e].playing=-1;this.Bk.reset(),this.Co(null),this.zo(0)},t.stop=function(){this.Eo(),this.rewind(!0)},t.setVolume=function(t){t=parseFloat(t),t>1?t=1:0>t&&(t=0),this.Ni=t,this.Bk.setVolume(t)},t.getVolume=function(t){return this.Ni},t.ro=null,t.yo=function(){var t,e,i=document.querySelectorAll("[data-wimpybutton]","[data-wimpyButton]");for(t=i.length;t--;)e=i[t],this.Fo(e,jbeeb.Utils.getAttributes(e))},t.deactivate=function(t){var e,i,s,n;if(t&&(e=this.Go(t)))for(i=0;i<this.ro.length;i++)if(s=this.ro[i],s.element==e){this.ro.splice(i,1),n=e.style,n.userSelect=n.WebkitUserSelect=n.MozUserSelect=n.OUserSelect="",n.MozUserSelect="",n.cursor="",jbeeb.Utils.unbindEvent(e,"mousedown",s.Ho),jbeeb.Utils.unbindEvent(e,"mouseup",s.Io);break}},t.activate=function(t){if(t){var e;t.element?e=t.element:t.id&&"string"==typeof t.id&&(e=document.getElementById(t.id)),e&&this.Fo(e,t)}},t.Fo=function(t,e){var i,s,n,h,l,a,o,r,u,c,d,f,b,p,m=((t.tagName+"").toLowerCase(),t.style);m.userSelect=m.WebkitUserSelect=m.MozUserSelect=m.OUserSelect="none",m.MozUserSelect="-moz-none",m.cursor="pointer",i=["media","wimpybutton","playtext","pausetext","loadingtext","width","height","textsize","loop","volume","limit"],s=["loop"],n={};for(h in e)l=h.replace("data-","").toLowerCase(),i.indexOf(l)>-1&&(a=e[h],s.indexOf(l)>-1&&(a=jbeeb.Utils.isFalse(a)?0:1),n[l]=a);for(o=n.width,r=n.height,o&&r?this.setSize(t,o,r,n.textsize):this.Jo(t),u={id:t.id||jbeeb.getUID(),element:t,file:n.media||n.wimpybutton,textPlay:n.playtext||null,textPause:n.pausetext||null,textLoading:n.loadingtext||null,loop:n.loop||null,volume:n.volume?parseFloat(n.volume)||null:null,limit:n.limit?parseInt(n.limit):null,playing:-1},c=0,d=0;d<this.ro.length;d++)if(f=this.ro[d],f.element==t){this.ro[d]=u,c=1;break}return c||(b=this.Ko.bind(this),p=this.Lo.bind(this),jbeeb.Utils.bindEvent(t,"mousedown",b),jbeeb.Utils.bindEvent(t,"mouseup",p),u.Ho=b,u.Io=p,this.ro.push(u)),this.Ao(u,"reset"),t},t.setSize=function(t,e,i,s){var n,h,l,a,o=this.Go(t),r=o.style,u=32,c=1.9;e?(n=parseFloat(e)||u,r.width=n+"px"):r.width=null,i?(h=parseFloat(i)||u,r.height=h+"px",s?(l=parseFloat(s)||u/c,a=h/l,r.fontSize=l+"px",r.lineHeight=a+"em"):(l=h/c,a=h/l,r.fontSize=l+"px",r.lineHeight=a+"em")):(r.height=null,r.fontSize=null,r.lineHeight=null)},t.Jo=function(t){var e,i=this.Go(t);i&&(e=i.style,e&&(e.width&&(e.width=null),e.height&&(e.height=null),e.fontSize&&(e.fontSize=null),e.lineHeight&&(e.lineHeight=null)))},e=["play","pause","loading"],t.Ao=function(t,i){var s,n,h;t&&("paused"==i||"reset"==i?(n="reset"==i?-1:0,s="play",h=t.textPlay):"thinking"==i?(n=1,s="loading",h=t.textLoading):"doneThinking"==i?(n=1,s="pause",h=t.textPause):(n=1,s="pause",h=t.textPause),jbeeb.Utils.cssClassOps("replace",t.element,e,s),t.playing=n,h&&(t.element.innerHTML=h+" "+count))},t.Co=function(t){var e,i,s,n=null,h=this.ro;for(e=h.length;e--;)i=h[e],s=i.element,s&&s&&t==s?n=i:(this.Ao(i,"reset"),i.playing=-1);return n},t.Mo=function(t){var e,i,s=null,n=this.ro;for(e=n.length;e--;)i=n[e],t==i.element&&(s=i);return s},t.setMedia=function(t,e,i){var s=this.Go(t),n=this.Mo(s);n&&(n.file=e,i&&((this.playing||n.playing)&&this.Eo(),this.Ao(n,"reset"),this.Bo(n)))},t.Go=function(t){var e;return"string"==typeof t?e=document.getElementById(t):jbeeb.Utils.isDomElement(t)?e=t:t.element&&(e=t.element),e},t.Ko=function(t){var e=this.Co(t.target||t.srcElement);this.Gh=e},t.Gh=null,t.Lo=function(t){this.Gh=this.Mo(t.target||t.srcElement),new jbeeb.DelayCall(this.No.bind(this),50)},t.No=function(){var t=this.Gh;t&&(1==t.playing?this.Eo(t):this.Bo(t))},t.disable=function(){this.pause(),this.Co()},wimpy.getButton=function(t){return wimpy.getButtonBy("id",t)},wimpy.getButtonBy=function(t,e){var i,s,n;if(wimpyButton)for(i=wimpyButton.ro,s=0;s<i.length;s++)if(n=i[s],n[t]==e)return n;return null},wimpy.getButtonList=function(){return wimpyButton?wimpyButton.ro:null},wimpy.WButton=i}();};
