
//
//            WW  WW  WW
//            WW  WW  WW
//            WW  WW  WW
//             WWWWWWWW
//     __ __ _ _ _ __  _ __ _  _ 
//     \ V  V / | , , | __ \  V |
//      \_/\_/|_|_|_|_| .__/\_, |
//                    |_|   |___|
//
// ----------------------------------
//
//     Wimpy Player
//     7.8.29 2017-09-14
//     www.wimpyplayer.com
//     Copyright Plaino LLC
//
// ----------------------------------




if(typeof this.wimpyPlayer == 'undefined') {this.wimpyPlayer={};this.jbeeb=this.jbeeb||{};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",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",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.body,e.documentElement),s=e.getElementsByTagName("body")[0];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,l,a,o,r=e.className;if(r=r.split(" "),n=r.indexOf(i)>-1,i&&"add"==t&&!n){for(h=!1,l=0;l<r.length;l++)a=r[l],a==i&&(r[l]="");r.push(i)}else if(i&&"remove"==t)for(l=0;l<r.length;l++)a=r[l],a==i&&(r[l]="");else if("replace"==t){for(o=!1,l=0;l<r.length;l++)a=r[l],a==i&&(o?r[l]="":(s?r[l]=s:r[l]="",o=!0));n=r.indexOf(s)>-1,o||n||r.push(s)}e.className=r.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,j,w,k,x,S,E,L,C,T,P,M,F,A,U,O,I,D,N,R,_,z,W,B,X,H,V,Y,q,G,J,K;if(!t)return t;if(k=t.substr(0,4),"blob"==k)return x=t.split(":"),h=x.shift(),S=s(unescape(x.join(":"))),S.protocol=h,S.source=t,S.url=t,S;if("data"==k)return x=t.split(":"),h=x.shift(),E=x.join(":").split(","),L=E.shift(),C=E.join(","),P="",/\;/.test(L)?(M=L.split(";"),T=M[0],P=M[1]):T=L,{source:t||null,url:t||null,protocol:h,mime:T||"test/plain",data:C,encoder:P,basename:"",filename:"",path:"",pathurl:""};if(t=t||"",F=t.replace(/\\/g,"/"),F.indexOf("#")!=-1&&(w=F.split("#"),g=w[1],F=w[0]),F.indexOf("?")!=-1){for(w=F.split("?"),p=w[1],A=p.replace("&amp;","&").split("&"),m={},U=0;U<A.length;U++)O=A[U].split("="),m[O[0]]=O[1]||null;F=w[0]}if(F.match(/:\//)||(I="",I=e?u:c,D=s(I,!1),"/"==F.substr(0,1)?F=D.host+F:(N=D.pathurl,N.length>1&&"/"!=N.substr(-1)&&(N+="/"),F=N+F)),F.indexOf("..")>-1){for(R=F.split("/"),_=[],z=0;z<R.length;z++)W=R[z],".."==W?_.pop():_.push(W);F=_.join("/")}return B=!1,"/"==F.substr(-1)&&(B=!0),w=F.split("://"),h=w.shift(),f=(w.shift()||"").replace("//","/"),f=f.split("/"),l=f.shift()||"",l.indexOf("@")>-1&&(w=l.split("@"),X=w[0].split(":"),y=X[0],v=X[1],l=w[1]),l.indexOf(":")>-1&&(w=l.split(":"),a=w[1],l=w[0]),f=f.join("/"),w=f.split("/"),d=w.pop(),f=w.join("/"),".."==d&&(d=""),H=d.split("."),H.length>1?(r=H.pop().toLowerCase(),o=H.join(".")):(r="",o=d),j=h+"://"+l+(a?":"+a:""),f="/"+f+(f.length>0?"/":""),b=j+f,n=j+f+d+(p?"?"+p:"")+(g?"#"+g:""),V=f,Y=b,r?(f+=d,b+=d):(o=d,B?(f+=d+(""!=d?"/":""),b+=d+(""!=d?"/":""),p||g||"/"==n.substr(-1)||(n+="/")):(f+=d,b+=d)),i===!1&&("/"==V.substr(-1)&&(V=V.substr(0,V.length-1)),"/"==Y.substr(-1)&&(Y=Y.substr(0,Y.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)))),r||!p&&!g||(q=((p?p:"")+(g?g:"")).split("/").pop(),G=q.split("."),G.length&&(J=G.pop(),J.length<4&&(r=J.toLowerCase()),G.length&&(K=G.pop(),""==d&&(d=K),""==o&&(o=K)))),{source:t||null,url:n||null,protocol:h||null,domain:l||null,port:a||null,basename:o||"",extension:r||null,ext:r||null,filename:d||"",path:f||null,pathurl:b||null,parent:V||null,parenturl:Y||null,query:p||null,queryObj:m||null,fragment:g||null,username:y||null,password:v||null,host:j||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=document.getElementsByTagName("script"),s=i[i.length-1],n=s.getAttribute("src");return e=n?t?a(n):o(n):""}var u,c;return i=void 0===i||i,u=r(),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";var t,e,i,s,n,h,l,a,o,r,u,c,d,f,b,p,m,g,y,v,j,w,k,x,S,E,L,C,T,P,M,F,A,U,O,I,D,N,R,_,z,W,B,X,H,V,Y,q,G,J,K,Q,$;jbeeb.Browser||(t={},T=("undefined"!=typeof navigator?navigator.userAgent:"").toLowerCase(),P=function(t){var e=T.match(t);return e&&e.length>1&&e[1]||""},k=P(/(ipod|iphone|ipad)/i).toLowerCase(),M=/like android/i.test(T),n=!M&&/android/i.test(T),c=/CrOS/.test(T),p=/silk/i.test(T),F=/sailfish/i.test(T),S=/tizen/i.test(T),j=/(web|hpw)os/i.test(T),A=/windows phone/i.test(T),U=!A&&/windows/i.test(T),O=!k&&!p&&/macintosh/i.test(T),I=!n&&!F&&!S&&!j&&/linux/i.test(T),D=P(/edge\/(\d+(\.\d+)?)/i),N=P(/version\/(\d+(\.\d+)?)/i),R=/tablet/i.test(T),C=!R&&/[^-]mobi/i.test(T),_=!0,z=N||0,/opera|opr/i.test(T)?(e=_,z=N||P(/(?:opera|opr)[\s\/](\d+(\.\d+)?)/i)):A?(A=_,D?(o=_,z=D):(r=_,z=P(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(T)?(r=_,z=P(/(?:msie |rv:)(\d+(\.\d+)?)/i)):c?(c=_,d=_,u=_,z=P(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)):/chrome.+? edge/i.test(T)?(o=_,z=D):/chrome|crios|crmo/i.test(T)?(u=_,z=P(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)):k?(k=_,N&&(z=N),/safari/i.test(T)&&(g=_)):/firefox|iceweasel/i.test(T)?(E=_,z=P(/(?:firefox|iceweasel)[ \/](\d+(\.\d+)?)/i)):p?(p=_,z=P(/silk\/(\d+(\.\d+)?)/i)):n?(n=_,z=N):/blackberry|\bbb\d+/i.test(T)||/rim\stablet/i.test(T)?(m=_,z=N||P(/blackberry[\d]+\/(\d+(\.\d+)?)/i)):/bada/i.test(T)?(w=_,z=P(/dolfin\/(\d+(\.\d+)?)/i)):S?(S=_,z=P(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||N):/safari/i.test(T)&&(g=_,z=N),/chromium/i.test(T)&&(f=_),!o&&/(apple)?webkit/i.test(T)?(y=_,!z&&N&&(z=N)):!e&&/gecko\//i.test(T)&&(L=_,z=z||P(/gecko\/(\d+(\.\d+)?)/i)),o||!n&&!p?k&&(x=_):n=_,W="",A?W=P(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):k?(W=P(/os (\d+([_\s]\d+)*) like mac os x/i),W=W.replace(/[_\s]/g,".")):n?W=P(/android[ \/-](\d+(\.\d+)*)/i):m?W=P(/rim\stablet\sos\s(\d+(\.\d+)*)/i):w?W=P(/bada\/(\d+(\.\d+)*)/i):S&&(W=P(/tizen[\/\s](\d+(\.\d+)*)/i)),B=W.split(".")[0],(R||k||n&&(3==B||4==B&&!C)||p||C||k||n||m||w)&&(C=_),e&&(i=/opera mini/i.test(T),s=/opera mobile/i.test(T)),z=parseFloat(z)||100,a=o||r,a&&"CSS1Compat"!=document.compatMode&&(z=8),(U||A)&&(X="win"),y&&(u&&10>z||n&&5>z?v=_:g&&5.1>z&&(v=_)),E&&(b=_),n&&(u!=_&&(H=T.match(/applewebkit\/([\d.]+)/),H&&H[1]<537&&(h=_)),l=null!==T.match(/android 2\.[12]/)),y?q="webkit":e?q="o":E?q="moz":a&&z>8&&(q="ms"),Q=document.createElement("div"),$=Q.style,$.cssText="linear-gradient(to bottom, #000 0%, #FFF 100%);",V=(""+$.backgroundImage).indexOf("gradient")>-1,$=null,Q=null,x||i||a&&z>13||g&&z>10||n&&z>4.3||m&&z>7||e&&z>42||s&&z>36||(Y=_),G=!1,(b&&z>3||e&&z>9||a&&z>9||C||G||V||Y)&&(J=_),(a&&z>=11||b&&z>=10||u&&z>=15||g&&z>=5.1||e&&z>=12.1||m&&z>=10)&&(K=_),g&&U&&(K=!1),t.ua=T,t.version=z,t.ios=x,t.android=n,t.mobile=C,t.win=U,t.opera=e,t.winphone=A,t.ie=a,t.chromium=f,t.chrome=u,t.moz=b,t.blackberry=m,t.safari=g,t.webkit=y,t.oldWebkit=v,t.w3c_gradient=V,t.w3c_download=Y,t.touch=G,t.cssPrefix=q,t.modern=J,t.stockAndroid=h,t.brokenAndroid=l,t.fullscreen=K,jbeeb.Browser=t)}(),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";var t=function(t){var e,i,s,n,h,l,a,o,r,u,c,d,f,b,p,m,g,y,v,j,w,k,x,S,E,L,C,T,P,M,F,A,U,O,I,D,N,R,_,z,W,B,X,H,V,Y,q,G,J,K,Q,$,Z=t,tt=!1;return jbeeb.Browser&&(tt=jbeeb.Browser.touch),e=jbeeb.Browser.chrome&&jbeeb.Browser.android,i=jbeeb.Utils.getXYWH,s=document.documentElement,n=document.defaultView,h=document.body,l=0,a=0,o=300,r=0,u=2,c=!1,d=null,f="mousedown",b="mouseup",p="mousemove",m="mouseover",g="mouseout",y="dblclick",v=0,j=0,w=0,k=0,x={},S=!1,E=!1,L=!0,C=function(t){L=t},T={mousedown:"pointerdown",mouseup:"pointerup",mousemove:"pointermove",mouseover:"pointerover",mouseout:"pointerout",dblclick:null},P={mousedown:"touchstart",mouseup:"touchend",mousemove:"touchmove",mouseover:null,mouseout:null,dblclick:"dblclick"},M=jbeeb.Utils.bindEvent,F=jbeeb.Utils.unbindEvent,A=function(t,i,s){if(tt){var n=P[i];n&&(e||t.addEventListener(n,O,!0))}M(t,i,s)},U=function(t,i,s){if(tt){var n=P[i];n&&(e||t.removeEventListener(n,O,!0))}F(t,i,s)},O=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))},I=function(t){0==l&&(r=0,a=t.time),l=t.time-a+1,l>300&&(r++,r>u&&(r=0,Z.dispatchEvent("mouseRepeat",Z,x)))},D=function(){for(var t=null,e=Z,i=0;!t;){if(e.amStage)t=e;else{if(!e.parent)break;e=e.parent}if(i>100)break;i++}t?Z.stage=t:Z.stage=Z},N=0,R=0,_=function(t,e){var l,a,o,r,u,c,f,b,p,m,g,y,v,j;for(null==t.pageX&&null!=t.clientX&&(t.pageX=t.clientX+(s&&s.scrollLeft||h&&h.scrollLeft||0)-(s&&s.clientLeft||h&&h.clientLeft||0),t.pageY=t.clientY+(s&&s.scrollTop||h&&h.scrollTop||0)-(s&&s.clientTop||h&&h.clientTop||0)),o=Z.stage,d||(d=i(o.element)),r=t.pageX,u=t.pageY,c=0,f=0,b=o.element,N=0,R=0;b;)N+=b.scrollLeft||0,R+=b.scrollTop||0,b=b.parentNode||null;if(r+=N,u+=R,l=r-d.x,a=u-d.y,o.mouseX=l,o.mouseY=a,p=l,m=a,g=e.parent){for(;!g.amStage;)c+=g.element.scrollLeft,f+=g.element.scrollTop,l-=g.x,a-=g.y,g=g.parent;p=l,m=a}return z===!1&&(y=n.getComputedStyle(h,""),z=parseFloat(y.marginTop),W=parseFloat(y.marginLeft)),v=l-e.x-z,j=a-e.y-W,{mouseX:v,mouseY:j,parentX:p,parentY:m,pageX:r,pageY:u,scrollX:c,scrollY:f,event:t}},z=!1,W=0,B=function(t,e){return U(document,p,X),x.event=t,Z.hasEventListener("mouseRepeat")&&jbeeb.ticker.removeEventListener("tick",I),U(document,b,B),l=0,(!e&&H?1:0)||Z.dispatchEvent("mouseUp",Z,x),!1},X=function(t,e){return(!e&&H?1:0)||(t.preventDefault(),x=_(t,Z,tt),x.startX=v,x.startY=j,x.dragX=x.parentX-v+x.scrollX,x.dragY=x.parentY-j+x.scrollY,x.deltaX=x.dragX-w,x.deltaY=x.dragY-k,x.event=t,Z.dispatchEvent("mouseDrag",Z,x)),!1},H=0,V=function(t,e){return!!L&&(e&&(H=1),(!e&&H?1:0)||(Z.stage||D(),d=null,x=_(t,Z,tt,!0),v=x.startX=x.mouseX+x.scrollX,j=x.startY=x.mouseY+x.scrollY,w=x.dragX=x.parentX-v,k=x.dragY=x.parentY-j,x.deltaX=0,x.deltaY=0,x.event=t,Z.MELbubble||(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&!Z.editable&&t.preventDefault()),Z.dispatchEvent("mouseDown",Z,x),Z.dispatchEvent("mouseClick",Z,x),U(document,b,B),A(document,b,B),Z.hasEventListener("mouseDrag")&&(U(document,p,X),A(document,p,X)),Z.hasEventListener("mouseRepeat")&&jbeeb.ticker.addEventListener("tick",I)),!1)},Y=function(t){return q(t,"in")?(E||(Z.dispatchEvent("mouseOver",Z,x),E=!0),Z.dispatchEvent("mouseMove",Z,x),!1):(E&&(U(document,p,Y),Z.dispatchEvent("mouseOut",Z,x),S=!1,E=!1),!1)},q=function(t,e){x=_(t,Z,tt),v=x.startX=x.mouseX+x.scrollX,j=x.startY=x.mouseY+x.scrollY,w=x.dragX=x.parentX-v,k=x.dragY=x.parentY-j,x.deltaX=0,x.deltaY=0,x.event=t;var i,s,n,h;if(i=x.mouseX,s=x.mouseY,n=Z.width,h=Z.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},G=function(t){return Z.stage||D(),S||(U(document,p,Y),A(document,p,Y),S=!0),!1},U(Z.element,f,V),A(Z.element,f,V),J=function(t){tt||(c=!0,Z.stage||D(),1==t?(U(Z.element,m,G),A(Z.element,m,G)):U(Z.element,m,G))},K=function(t){return Z.stage||D(),x=_(t,Z,tt,!0),Z.dispatchEvent("doubleClick",Z,x),!1},Q=function(t){1==t?(U(Z.element,y,K),A(Z.element,y,K)):U(Z.element,y,K)},$=function(){jbeeb.ticker&&jbeeb.ticker.removeEventListener("tick",I),U(document,b,B),U(document,p,X),U(document,p,Y),U(Z.element,f,V),U(Z.element,m,G),U(Z.element,y,K),J=null,G=null,q=null,Y=null,V=null,X=null,B=null,_=null,D=null,I=null,A=null,U=null,tt=null,i=null,s=null,h=null,l=null,a=null,o=null,r=null,u=null,c=null,d=null,f=null,b=null,p=null,m=null,g=null,v=null,j=null,w=null,k=null,x=null,S=null,E=null,Z=null},{enableMouseOver:J,enableDoubleClick:Q,tick:I,type:"MouseEventListener",destroy:$,setEnabled:C}};jbeeb.MouseEventListener=t}(),this.jbeeb=this.jbeeb||{},function(){"use strict";function t(t){return t.charAt(0).toUpperCase()+t.slice(1)}var e=function(t){this.init(t)},i=e.prototype;i.addEventListener=null,i.removeEventListener=null,i.removeAllEventListeners=null,i.dispatchEvent=null,i.hasEventListener=null,jbeeb.EventDispatcher.initialize(i),i.amStage=null,i.element=null,i.stage=null,i.parent=null,i.MELbubble=null,i.wa=null,i.xa=null,i.ya=null,i.za=null,Object.defineProperty(i,"x",{get:function(){var t=jbeeb.Utils.getXYWH(this.element),e=t.x;return this.wa=e,e},set:function(t){this.element.style.left=t+"px",this.wa=t}}),Object.defineProperty(i,"y",{get:function(){var t=jbeeb.Utils.getXYWH(this.element),e=t.y;return this.xa=e,e},set:function(t){this.element.style.top=t+"px",this.xa=t}}),Object.defineProperty(i,"width",{get:function(){var t=jbeeb.Utils.getXYWH(this.element),e=t.width;return this.ya=e,e},set:function(t){this.element.style.width=t+"px",this.ya=t}}),Object.defineProperty(i,"height",{get:function(){var t=jbeeb.Utils.getXYWH(this.element),e=t.height;return this.za=e,height},set:function(t){this.element.style.height=t+"px",this.za=t}}),i.init=function(t){var e,i,s,n,h=t.element;for("string"==typeof h&&(h=document.getElementById(h)),this.element=h,this.amStage=!0,
this.stage=null,this.parent={element:h.parentNode,amStage:!0},e=["down","up","click","over","move","drag","out","doubleClick"],i=0;i<e.length;i++)s=e[i],n=t[s],n&&this.addListener(s,n.fn,n.scope,n.arg)},i.setMouseEnabled=function(t){var e=this.element.style,i=0===t||t===!1,s=i?"none":"auto";e.pointerEvents=s,this.Aa&&this.Aa.setEnabled(!i)},i.Aa=null,i.MELbubble=!1,i.MELpreventDefault=!0,i.MELpropagate=!1,i.addListener=function(e,i,s,n,h){e="doubleClick"==e?e:"mouse"+t(e),this.MELbubble=n,this.MELpreventDefault=!1,this.MELpropagate=!1,this.Aa||(this.Aa=new jbeeb.MouseEventListener(this)),"mouseOver"==e||"mouseOut"==e||"mouseMove"==e?this.Aa.enableMouseOver(1):"doubleClick"==e&&this.Aa.enableDoubleClick(1),this.addEventListener(e,i,s,h)},i.removeListener=function(e,i){e="mouse"+t(e),this.removeEventListener(e,i,this),"mouseOver"==e?this.Aa&&this.Aa.enableMouseOver(0):"doubleClick"==e&&this.Aa&&this.Aa.enableDoubleClick(0)},i.removeAllListeners=function(){this.removeAllEventListeners(null),this.Aa&&(this.Aa.destroy(),this.Aa=null)},i.toString=function(){return"[Pointer (name="+this.name+")]"},i.type="Pointer",jbeeb.Pointer=e}(),"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.Ba(t,e,i)},e=t.prototype;e.Ca=!1,e.Da=!1,e.Ea="2147480000",e.Fa=null,e.Ga=null,e.Ha=null,e.Ia=null,e.Ja=null,e.Ka=null,e.La=null,e.Ma=null,e.Na=null,e.Oa=null,e.Pa=null,e.Qa=null,e.Ra=null,e.Sa=null,e.Ta=null,e.Ba=function(t,e,i){var s,n,h,l,a,o,r,u,c,d,f,b,p,m,g=jbeeb.Browser;this.Ca=!1,this.Ua={},this.Da=g.fullscreen,this.Ha=g,this.Na=i,this.Da&&(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.Ia=d,this.Ja=f,this.Ka=b,this.La=p,this.Ma=m,this.Ra=this.Va.bind(this)),this.Ga=e,this.setFullscreenObject(t)},e.Wa=null,e.setFullscreenObject=function(t,e){var i,s;t?(i=t.element,this.Fa=i,this.Pa=t,this.Wa=0,this.Da&&"MediaController"==t.type&&e&&(s=(e.nodeName+"").toLowerCase(),"video"==s&&(this.Fa=e,this.Wa=1,this.Ha.ios&&this.Ha.safari&&(this.Ia="webkitEnterFullScreen")))):(this.Ha.ios&&this.Ha.safari&&(this.Fa.removeEventListener("webkitbeginfullscreen",this.Ra),this.Fa.removeEventListener("webkitendfullscreen",this.Ra)),this.Fa=null,this.Pa=null,this.Wa=0)},e.enter=function(t){this.Fa&&(this.Ca=1,this.Da?(this.Qa=-1,document.removeEventListener(this.Ka,this.Ra),document.addEventListener(this.Ka,this.Ra),this.Ha.webkit?this.Ha.oldWebkit?this.Fa[this.Ia]():void 0!==Element.ALLOW_KEYBOARD_INPUT?this.Fa[this.Ia](Element.ALLOW_KEYBOARD_INPUT):this.Fa[this.Ia]():this.Fa[this.Ia](),this.Ha.ios&&this.Ha.safari&&(this.Fa.removeEventListener("webkitbeginfullscreen",this.Ra),this.Fa.removeEventListener("webkitendfullscreen",this.Ra),this.Fa.addEventListener("webkitbeginfullscreen",this.Ra,!1),this.Fa.addEventListener("webkitendfullscreen",this.Ra,!1)),this.Wa||this.Xa()):this.Xa(),this.Ya(1))},e.Va=function(t){this.Qa++,this.Qa>0&&this.exit()},e.Ya=function(t){this.Ga&&this.Ga(t)},e.exit=function(t){this.Ca=0,this.Qa=-1,this.Ya(0),this.Da?(document[this.Ja]&&document[this.Ja](),document.removeEventListener(this.Ka,this.Ra),this.Ha.ios&&this.Ha.safari&&(this.Fa.removeEventListener("webkitbeginfullscreen",this.Ra),this.Fa.removeEventListener("webkitendfullscreen",this.Ra)),this.Wa||this.Za()):this.Za()},e.$a=function(t){27==(t.which||t.keyCode)&&this.exit()},e._a=function(t,e){27==e&&this.exit()},e.ab=null,e.Xa=function(){var t,e,i,s=window.getComputedStyle(this.Fa);this.Ta={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.Fa.style,t.top="0px",t.left="0px",t.width="100%",t.height="100%",this.Da||(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.Ea+1,e.addMEL("mouseDown",this.bb,this),e.addMEL("mouseUp",this.cb,this),this.ab=e,document.body.appendChild(e.element),t.zIndex=this.Ea-1,t.position="fixed"),this.Sa||(this.Sa=this.$a.bind(this)),jbeeb.Utils.bindEvent(window,"keydown",this.Sa)},e.bb=function(t,e,i){t.setState(1)},e.cb=function(t,e,i){t.setState(2),this.exit()},e.Za=function(){var t,e,i;jbeeb.Utils.unbindEvent(window,"keydown",this.Sa),this.Da||(t=this.Ta,e=this.Fa.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.ab,i.removeAllMEL(),i.destroy()),this.Pa.setXYWH(this.Pa.x,this.Pa.y,this.Pa.width,this.Pa.height)},e.destroy=function(){this.Ga=null,this.Ra=null,(0,jbeeb.Utils.unbindEvent)(window,"keydown",this.Sa),this.Sa=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]||""},j=!1,w=0;if(/msie|trident/i.test(y)&&(j=!0,w=parseInt(v(/(?:msie |rv:)(\d+(\.\d+)?)/i)||v(/version\/(\d+(\.\d+)?)/i))),j&&"CSS1Compat"!=document.compatMode&&(w=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=j?"cb="+g():"",h+=e.flashVars?"?"+encodeURIComponent(e.flashVars)+"&"+l:"?"+l,j&&10>w){r="",9>w?(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>w?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.db=null,t.eb=null,t.fb=null,t.gb=null,t.hb=null,t.ib=null,t.init=function(t){this.target=t.target,this.amSM=t.amSM,this.onComplete=t.onComplete,this.hb=t.preSort,this.fb=t.preProcess,this.gb=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.fb=null,this.gb=null,this.db&&this.db.cancel(),this.db=null,this.eb&&this.eb.cancel(),this.eb=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.db&&this.db.cancel(),this.ib=0,t)if(this.url=t,i&&(this.onComplete=i),"string"==typeof t)if("{"==t.substr(0,1))this.eb=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.eb=new jbeeb.DelayCall(this.setup.bind(this),1,n):(this.ib=1,this.db=new jbeeb.TextLoader(t,this.setup.bind(this)))}else this.eb=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.db=null,this.controls={},this.controlsList=[],this.styles={},t=t||null,this.ib&&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.hb&&this.hb(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.jb(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.jb=function(t,e){var i,s;if(this.kb(t.image,e),t.children)for(i=t.children,s=0;s<i.length;s++)this.jb(i[s],e)},t.kb=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.lb(s,e);else s=t,this.lb(s,e)},t.lb=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.fb&&(t=this.fb(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.mb(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.gb&&this.gb(l),l):null},t.mb=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.nb(i,t))),i},t.nb=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.mb(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,j,w,k,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],j=y-v,w={v:g,f:h.setAlpha,s:v,e:y,d:j},"alpha"==g?w.f=h.setAlpha:"x"==g?w.f=h.setX:"y"==g?w.f=h.setY:"width"==g?w.f=h.setWidth:"height"==g?w.f=h.setHeight:"scale"==g&&(w.f=h.setScale),b.push(g),p.push(w);return m="all "+o+"ms "+f,k=h.id+b.sort().join(""),x={elapsed:0,duration:o,delayElapsed:0,delay:c||0,obj:h,funcs:p,complete:d,id:k,css:m},S=i[k],S&&(E=S.elapsed,x.duration=o>E?o-E:o),i[k]=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.ob=t,this.pb=!1;var i=[].slice.call(arguments);i.splice(0,2),this.qb=i,this.rb=setTimeout(this.sb.bind(this),e||1)},e=t.prototype;e.ob=null,e.tb=null,e.rb=null,e.pb=null,e.qb=null,e.sb=function(){var t,e;this.pb||(t=this.ob,e=this.qb,t&&e&&e.length>0?t.apply(null,e):t()),this.cancel()},e.cancel=function(){this.pb=!0;var t=this.rb;t&&clearTimeout(t),this.ob=null,this.tb=null,this.rb=null,this.qb=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.ob=i,this.ub=e,this.vb=this.wb.bind(this),l=[],a=0;a<s.length;a++)l.push({prop:s[a],last:null});this.xb=l,h&&(t.start(),this.start())},i=e.prototype;i.ob=null,i.ub=null,i.vb=null,i.yb=null,i.zb=null,i.xb=null,i.wb=function(){var t,e,i,s,n=window.getComputedStyle(this.ub),h=this.xb,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.ob()},i.stop=function(){t.removeEventListener("tick",this.vb)},i.start=function(e){t.addEventListener("tick",this.vb)},i.destroy=function(){this.stop(),this.ob=null,this.ub=null,this.vb=null,this.yb=null,this.zb=null,this.xb=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.Ab=null,e.Bb=null,e.Cb=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(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=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"),a=0;a<l.length;a++){for(o={},r=l[a].firstChild;null!=r;r=r.nextSibling)if(1==r.nodeType&&(u=r.nodeName,"filename"==u&&(u="file"),"visual"==u&&(u="image"),"filetype"==u&&(u="kind"),r.firstChild)){for(c="",d=r.firstChild;null!=d;d=d.nextSibling)c+=f(d);o[u]=c}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,j,w,k,x,S,E,L,C,T,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("."),w=S.pop(),n.indexOf(w)>-1?(g=!0,k=S.join(".")):h.indexOf(w)>-1&&p.push(y)):"Size"==x?j=f:"LastModified"==x&&(v=Date.parse(f))}g&&m.push({file:y,basepath:k,date:v,size:j,kind:w})}for(u=0;u<m.length;u++){for(E=m[u],L=E.basepath,C=0;C<h.length;C++)if(T=L+"."+h[C],p.indexOf(T)>-1){E.image=i+"/"+T;break}E.file=i+"/"+E.file,delete E.basepath,s.push(E)}return s}function i(t){var e,i,s;return"/"==t.substr(-1)&&(t=t.substr(0,t.length-1)),e="http://",t=t.replace(e,""),i=t.split("/"),s=e+i.shift(),{base:s,path:i.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"],h=["png","jpg"],l=function(t,e,i){var n,h;this.Db=e,n=t.indexOf("?"),n>0&&(t=t.substring(0,n)),h=s(t),this.Eb=i,this.Fb=h.base_bucket,this.Gb=h.base_prefix,this.Hb=new jbeeb.TextLoader(h.url,this.Ib.bind(this),"xml")},a=l.prototype;a.Fb=null,a.Gb=null,a.Db=null,a.Hb=null,a.Eb=null,a.Ib=function(t){if(!this.pb){var i=e(t,this.Fb);this.pb||this.Db(i,this.Eb)}},a.cancel=function(t){this.pb=!0,this.Hb.cancel()},jbeeb.AWSS3List=l}(),this.jbeeb=this.jbeeb||{},function(){"use strict";var t,e,i,s=function(){this.Jb=[],this.Kb=[]},n=[],h=jbeeb.mimes.playlist;for(t in h)n.push(t);s.Lb=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.Mb=e,i=s.prototype,i.addEventListener=null,i.removeEventListener=null,i.removeAllEventListeners=null,i.dispatchEvent=null,i.hasEventListener=null,jbeeb.EventDispatcher.initialize(i),i.Nb=null,i.Ob=null,i.Pb=0,i.Qb=0,i.Kb=null,i.Jb=null,i.Rb=null,i.Sb=null,i.load=function(t,e,i){var n,h,l,a;if(this.Tb(),t){"string"==typeof t&&(t=this.Ub(t));for(l in this.Jb)if(a=this.Jb[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.Jb[n]=h),n=h.id,this.Kb.push(n),this.Sb=n,this.Rb||(this.Rb=h),h.list?this.Vb(h):this.fb(h)}else this.dispatchEvent("playlistReady",[])},i.isPlaylist=function(t,e){var i,n,h,l,a=typeof t,o=s.Lb;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.fb=function(t){var e,i,s=t.kind,n=t.source,h="string"==typeof n?1:0,l=h?this.Ub(n):n,a=h?l.substr(0,1):"";"js"==s||"dtxt"==s||"["==a||"{"==a?this.Wb(l,t):"jsonp"==s?this.Ob=new jbeeb.JSON_P(l,this.Wb.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.Ob=new jbeeb.JSON_P(e,this.Wb.bind(this),t)):"s3"==s?(this.Nb&&this.Nb.cancel(),this.Nb=new jbeeb.AWSS3List(l,this.Wb.bind(this),t)):"xml"==s&&"<"==a?this.Wb(l,t):(this.Pb&&(i="?",l.indexOf("?")>-1&&(i="&"),l=l+i+"i",this.Qb&&(l+="&j")),l=l.replace("&amp;","&"),s="php"==s||"xml"==s||"asp"==s?"xml":"txt",this.Nb&&this.Tb(),this.Nb=new jbeeb.TextLoader(l,this.Xb.bind(this),s,t))},i.Yb=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?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.Zb(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.Zb(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.Lb.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.Mb.indexOf(i)>-1&&(i="dtxt")),i):"js")},i.validate=function(t){var e=s.findkind(t);
return this.Yb(t,e).list},i.Zb=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.Ub(s[n]),""!=h&&e.push({file:h});return e},i.Ub=function(t){return"string"==typeof t?jbeeb.Utils.trim(jbeeb.Utils.decodeURL(jbeeb.Utils.trim(t))):t},i.any=function(){return this.Kb.length>0},i.loadPrevious=function(){this.Kb.pop(),this.refresh()},i.refresh=function(){var t,e,i=this.Kb.length;1>i?t=this.Rb:(e=this.Kb[i-1],t=this.Jb[e]),this.Sb=t.id,this.Vb(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.Ub(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.Wb=function(t,e){var i,s;t&&e&&(i=this.Ub(e.source),s=this.Yb(t,e.kind,i),this.dispatchEvent("pathChange",i),e.list=s.list,e.cover=e.cover||s.cover,this.Vb(e))},i.Vb=function(t){t.cover&&this.dispatchEvent("coverart",t.cover),this.dispatchEvent("playlistReady",t.list),this.Tb()},i.setPlaylistCoverArt=function(t,e){if(this.Jb){var i=this.Jb[t];i&&(i.cover=e)}},i.getCurrentPath=function(){return this.Jb[this.Sb].source||""},i.setID3=function(t,e){this.Pb=t||0,this.Qb=e||0},i.Xb=function(t,e,i){this.Wb(t,i)},i.Tb=function(){this.Nb&&(this.Nb.cancel(),this.Nb=null),this.Ob&&(this.Ob.cancel(),this.Ob=null)},i.reset=function(t,e){this.Tb(),this.Rb=null,this.Kb=[],this.Jb=[],t&&this.load(t,e)},i.destroy=function(){this.removeAllEventListeners(),this.Tb(),this.Rb=null,this.Kb=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.Ba(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.$b=null,e._b=null,e.ac=null,e.ub=null,e.blockAll=!1,e.Ba=function(e){t.$b||(t.$b=[]),e=e||window,this.ub=e,this._b=this.bc.bind(this),this.ac=this.cc.bind(this),jbeeb.Utils.bindEvent(e,"keydown",this._b),jbeeb.Utils.bindEvent(e,"keyup",this.ac)},e.bc=function(t){this.blockAll&&this.block(t),this.dc(t,"keydown")},e.cc=function(t){this.blockAll&&this.block(t),this.dc(t,"keyup")},e.dc=function(e,i){var s=e.which||e.keyCode,n=t.$b.indexOf(s);"keyup"==i?n>-1&&t.$b.splice(n,1):0>n&&t.$b.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.$b.indexOf(t.code[(e+"").toUpperCase()]):t.$b.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.ub,"keydown",this._b),jbeeb.Utils.unbindEvent(this.ub,"keyup",this.ac),this.ub=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.ec=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.fc=1,e.gc=1,e.pin=null,e.hc=null,e.ic=null,e.z=0,e.temp=null,e.rounded=null,e.fill=null,e.stroke=null,e.image=null,e.gradient=null,e.jc=null,e.tooltip=null,e.init=function(t){var e,i,s,n;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.fc=1,this.gc=1,this.pin=null,this.hc=null,this.ic=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.ec={}:this.ec=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.ec&&(this.ec.position="absolute",this.ec.overflow="visible")),t.standalone&&(this.amStage=1),t.inline?this.jc="inline-block":this.jc="block",t.name&&(this.name=t.name),this.element.id=this.type+"_"+this.element.id,i=this.style=this.element.style,i.padding="0px",i.margin="0px",i.border="0px",i.fontSize="100%",i.outline="0px",i.background="transparent",i.WebkitTextSizeAdjust="100%",i.msTextSizeAdjust="100%",i.WebkitBoxSizing=i.MozBoxSizing=i.boxSizing="padding-box",i.OBackgroundClip=i.WebkitBackgroundClip=i.backgroundClip="padding-box",this.ec&&(s=this.ec,s.padding="0px",s.margin="0px",s.border="0px",s.fontSize="100%",s.outline="0px",s.background="transparent",s.WebkitTextSizeAdjust="100%",s.msTextSizeAdjust="100%",s.boxSizing="padding-box",s.backgroundClip="padding-box"),t.editable||this.setSelectable(!1),n="inherit",t.cursor&&(n=t.cursor),this.setCursor(n),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.pin),t.tooltip&&this.setTooltip(t.tooltip)),this.setOrigin(0,0,"px"),this.applySkin(t,!1)},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.ec&&(this.ec.userSelect=i,this.ec.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.ec&&(this.ec.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.kc=function(){var t,e,i,s,n,h,l,a,o,r,u,c,d,f,b,p,m,g,y,v,j,w,k,x,S,E,L,C,T,P,M,F,A,U,O,I,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.ec&&(this.ec.gradient=1),f=u.alpha||"v",b=[],p=[],m=d.length,jbeeb.Browser?(g=jbeeb.Browser,y=g.oldWebkit,v=g.modern,j=g.cssPrefix,w=g.w3c_gradient):(y=!1,v=!0,j="",w=!0),k=0;m>k;k+=3)x=jbeeb.Utils.makeColor(d[k],d[k+1]),S=d[k+2],S>100?S=100:0>S&&(S=0),y?p.push("color-stop("+S+"%, "+x+")"):b.push(x+" "+S+"%");if(v)w?(E="linear-",L=("v"==f?"to bottom, ":"to right, ")+b.join(",")):y?(C=p.join(","),E="-webkit-",L="v"==f?"linear, left top, left bottom, "+C:"linear, left top, right top, "+C):(E="-"+j+"-linear-",L=("v"==f?"top, ":"left, ")+b.join(",")),e=E+"gradient("+L+")";else if(g.ie&&g.version<9)T="v"==f?"0":"1",P="progid:DXImageTransform.Microsoft.gradient( gradientType="+T+", startColorstr='"+d[0]+"', endColorstr='"+d[d.length-3]+"')",this.style.filter=P,this.style.msFilter='"'+P+'"',this.ec&&(M=this.ec,M.filter=P,M.msFilter='"'+P+'"');else{for(F="",k=0;m>k;k+=3)x=jbeeb.Utils.makeColor(d[k],d[k+1]),F+='<stop offset="'+d[k+2]+'%" stop-color="'+d[k]+'" stop-opacity="'+d[k+1]+'"/>';A="0",U="100","h"==f&&(A="100",U="0"),O="jbeeb-grad-"+this.id,I="",I+='<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none">',I+='  <linearGradient id="'+O+'" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="'+A+'%" y2="'+U+'%">',I+=F,I+="  </linearGradient>",I+='  <rect x="0" y="0" width="1" height="1" fill="url(#'+O+')" />',I+="</svg>",e='url("data:image/svg+xml;base64,'+jbeeb.Base64.encode(I)+'")'}}else this.ec&&(this.ec.gradient=0);D.backgroundColor=i||"",D.backgroundImage=e||"none",D.backgroundSize=l||"",D.backgroundRepeat=a||"",D.backgroundPosition=o||"",this.ec&&(M=this.ec,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.kc()},e.setImage=function(t,e){t?(this.image||(this.image={}),this.image.url=t,this.image.mode=e):this.image=null,this.kc()},e.setImageSizing=function(t){this.image&&(this.image.mode=t,this.kc())},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.ec&&(d=this.ec,d.borderStyle=h,d.borderWidth=o,d.borderColor=r,d.marginLeft=u,d.marginTop=c),this.lc()},e.setStrokeStyle=function(t){var e=t||"";this.style.borderStyle=e,this.ec&&(this.ec.borderStyle=e)},e.setCursor=function(t){this.style.cursor=t,this.ec&&(this.ec.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.lc(),this.ec&&(this.ec.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.lc(),this.ec&&(this.ec.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.lc(),this.ec&&(this.ec.width=t+"px",this.ec.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.ec&&(this.ec.left=t+"px",this.ec.top=e+"px")},e.setBaseXY=function(t,e){this.setXY(t,e),this.mc=t,this.nc=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.ec&&(h=this.ec,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.ec&&(this.ec.left=(t||0)+"px")},e.setY=function(t){this.y=t,this.style.top=(t||0)+"px",this.ec&&(this.ec.top=(t||0)+"px")},e.setTop=function(t){this.y=t,this.style.top=t+"px",this.ec&&(this.ec.top=(t||0)+"px")},e.setBottom=function(t){this.y=t-this.height,this.style.bottom=t+"px",this.ec&&(this.ec.bottom=(t||0)+"px")},e.setLeft=function(t){this.x=t,this.style.left=(t||0)+"px",this.ec&&(this.ec.left=(t||0)+"px")},e.setRight=function(t){var e=(t||0)-this.width;this.x=e,this.style.right=e+"px",this.ec&&(this.ec.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.ec&&(this.ec.zIndex=t)},e.setScale=function(t){this.scale=t,this.scaleX=t,this.scaleY=t;var e="scale("+t+","+t+")";this.oc(e)},e.setScaleX=function(t){this.scaleX=t;var e="scale("+this.scaleX+","+t+")";this.oc(e)},e.setScaleY=function(t){this.scaleY=t;var e="scale("+t+","+this.scaleY+")";this.oc(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.fc&&this.setWidth(this.width*t),this.gc&&this.setHeight(this.height*e),l=this.x,a=this.y,this.hc?"r"==this.hc&&this.parent&&(null==this.pc&&(this.pc=this.parent.width-this.x),o=this.parent.width-this.pc,this.setX(o)):s?this.setX(s+(l-s)*t):this.setX(l*t),this.ic?"b"==this.ic&&this.parent&&(null==this.qc&&(this.qc=this.parent.height-this.y),o=this.parent.height-this.qc,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.pc=null,e.qc=null,e.setPin=function(t){this.pin=t,this.hc=0,this.ic=0,t&&(t=t.toLowerCase(),t.match(/r/)&&(this.hc="r"),t.match(/l/)&&(this.hc="l"),t.match(/t/)&&(this.ic="t"),t.match(/b/)&&(this.ic="b"),t.match(/s/)&&(this.hc="s",this.ic="s"))},e.setFlex=function(t){this.fc=0,this.gc=0,t&&(t.toLowerCase(),t.match(/w/)?this.fc=1:this.fc=0,t.match(/h/)?this.gc=1:this.gc=0),this.flex=t},e.setRotation=function(t){this.rotation=t;var e="rotate("+t+"deg)";this.oc(e)},e.setSkew=function(t,e){this.skewX=t,this.skewY=e;var i="skew("+t+"deg,"+e+"deg)";this.oc(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.ec&&(this.ec.transformOrigin=n)},e.oc=function(t){var e=this.style;e.WebkitTransform=e.msTransform=e.MozTransform=e.OTransformOrigin=e.transform=t,this.ec&&(this.ec.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.ec&&(n=this.ec,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.jc:"none",e.display=i,this.ec&&(this.ec.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.ec&&(this.ec.opacity=""+t)},e.setRounded=function(t){this.rounded=t,this.lc()},e.lc=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.ec&&(this.ec.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.rc=function(){var t,e,i,s,n,h,l=this.style,a=this.sc(),o=this.tc(),r=this.uc(),u=this.vc(),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.ec&&(this.ec.boxShadow=c)},e.sc=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.rc()},e.vc=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.rc()},e.tc=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.rc()},e.uc=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.rc()},e.setMouseEnabled=function(t){var e=this.style,i=0===t||t===!1,s=i?"none":"auto";e.pointerEvents=s,this.Aa&&this.Aa.setEnabled(!i),this.ec&&(this.ec.pointerEvents=s)},e.Aa=null,e.MELbubble=!1,e.MELpreventDefault=!0,e.MELpropagate=!1,e.addMEL=function(t,e,i,s,n){this.MELbubble=s,this.MELpreventDefault=!1,this.MELpropagate=!1,this.Aa||(this.Aa=new jbeeb.MouseEventListener(this)),"mouseOver"==t||"mouseOut"==t||"mouseMove"==t?this.Aa.enableMouseOver(1):"doubleClick"==t&&this.Aa.enableDoubleClick(1),this.addEventListener(t,e,i,n)},e.removeMEL=function(t,e,i){this.removeEventListener(t,e,i),"mouseOver"==t?this.Aa&&this.Aa.enableMouseOver(0):"doubleClick"==t&&this.Aa&&this.Aa.enableDoubleClick(0)},e.removeAllMEL=function(){this.Aa&&(this.Aa.destroy(),this.Aa=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.ec&&(this.ec.position="relative",this.ec.left=null,this.ec.top=null,this.ec.cssFloat=t,this.ec.display="inline-block")},e.setTooltip=function(t){this.tooltip=t,this.element.title=jbeeb.Utils.unescapeHTML(t)},e.destroy=function(){this.removeAllEventListeners(),this.Aa&&(this.Aa.destroy(),this.Aa=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.ec=null},e.getCSS=function(){return this.ec},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.wc="",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.xc=null,e.multiline=null,e.baselineShift=null,e.yc=null,e.zc=null,e.Ac=!1,e.Bc=!1,e.Cc=e.init,e.init=function(t){var e,i,s;t&&(t.editable&&(e=t.multiline?document.createElement("textarea"):document.createElement("input"),this.xc=1,e.id=jbeeb.getUID(),e.style.position="absolute",e.style.overflow="visible",t.multiline&&(e.style.verticalAlign="top"),this.ec&&(this.ec.position="absolute",this.ec.overflow="visible"),t.multiline||(e.type="text"),t.element=e),this.Bc=t.wrap||0,this.Cc(t),t.element=null,i=this.style,i.textDecoration="none",i.zoom=1,i.size=t.h,this.text=t.text||"",this.ec&&(s=this.ec,s.textDecoration="none",s.zoom=1,s.size=t.h),this.applySkin(t,!0))},e.Dc=e.applySkin,e.applySkin=function(t,e){var i,s,n,h,l;this.Ac=!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.Dc(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.wc="",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.Ac=!1,this.Ec(),this.Fc()},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.Bc&&(i="normal"),s.whiteSpace=i,this.ec&&(this.ec.whiteSpace=i),this.Gc()},e.xc=0,e.Hc=null,e.Ic=null,e.setEditable=function(t){if(t===!0||1===t){this.amSM||this.setCursor("text"),this.zc?this.zc.removeAllEventListeners():this.zc=new jbeeb.Keyboard(this.element),this.zc.addEventListener("keydown",this.keyHandler,this),this.zc.addEventListener("keyup",this.keyHandler,this),this.setOverflow("hidden");var e=jbeeb.Utils.bindEvent;this.Hc=e(this.element,"focus",this.setFocus.bind(this)),this.Ic=e(this.element,"blur",this.Jc.bind(this)),this.addMEL("mouseUp",this.setFocus,this),this.setMouseEnabled(1),this.element.style.pointerEvents="auto"}else this.amSM||this.setCursor("default"),this.zc&&this.zc.removeAllEventListeners(),jbeeb.Utils.unbindEvent(this.element,"focus",this.Hc),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.zc.alphaNumeric(e):this.numeric&&(s=this.zc.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.xc&&!this.multiline?this.text=this.element.value:this.Kc?this.text=this.Kc.innerHTML:this.text=this.element.innerHTML,"keyup"==i&&this.dispatchEvent("change",this,this.text)):this.zc.block(t)},e.Jc=function(){this.dispatchEvent("change",this,this.text)},e.setPadding=function(t){var e,i,s,n,h,l;this.padding=t,e=this.Kc?this.Kc.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.ec&&(l=this.ec,l.paddingLeft=i,l.paddingRight=s,l.paddingTop=n,l.paddingBottom=h)},e.Lc=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.ec&&(t=this.ec,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.Kc&&this.Mc&&(this.Kc.style.fontFamily=this.font),this.ec&&(this.ec.fontFamily=t),this.Ec()},e.setAlign=function(t){this.align=t,this.style.textAlign=t,"center"==t&&this.setPadding(0),this.ec&&(this.ec.textAlign=t)},e.setBold=function(t){this.bold=t?"bold":"",this.style.fontWeight=this.bold,this.ec&&(this.ec.fontWeight=this.bold),this.Ec()},e.setBaselineShift=function(t){this.baselineShift=t,t?t>2?t=2:-2>t&&(t=-2):t=0,t*=-1,this.yc=1+t,this.Ec()},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.ec&&(this.ec.color=i),this.Lc()},e.Mc=null,e.setText=function(t,e){var i,s,n,h;this.element&&(t+="",t="0"!==t&&""==t||!t?"":t,e&&(t=this.wc+t),this.text=t,this.xc&&!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.Kc||(n=document.createElement("span"),h="inherit",i&&(h=this.font),n.style.fontFamily=h,this.element.appendChild(n),this.Kc=n),this.Kc.innerHTML=t,this.Kc.alt=t,this.Mc=i),this.wc!=t&&this.Ec(),this.wc=t)},e.selectAll=function(){this.xc&&(jbeeb.focus=this,this.element.focus(),this.element.select())},e.Nc=e.setWidth,e.setWidth=function(t){t!=this.width&&(this.Nc(t),this.Gc())},e.Oc=e.setHeight,e.setHeight=function(t){t!=this.height&&(this.Oc(t),this.Gc())},e.Pc=e.setSize,e.setSize=function(t,e){t==this.width&&e==this.height||(this.Pc(t,e),this.Gc())},e.setTextScale=function(t){this.textScale=t||1,this.Gc()},e.setTextSize=function(t){this.textSize=t,this.Gc()},e.setTextFit=function(t){this.textFit=t,this.Gc()},e.Qc=e.onAdded,e.onAdded=function(){this.Qc(),this.Ec()},e.setFocus=function(t){jbeeb.focus=this,this.element.focus()},e.hiddenText=0,e.Gc=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.yc/t+"em",i=t+"px"),o=this.style,o.lineHeight=e,o.fontSize=i,this.ec&&(this.ec.lineHeight=e,this.ec.fontSize=i))},e.getTextSize=function(){return this.style.fontSize||null},e.Ec=function(){this.Ac||(this.Gc(),this.Lc())},e.Fc=function(){var t,e,i,s,n,h,l,a=this.Rc(),o=this.Sc(),r=this.Tc(),u=this.Uc(),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.ec&&(this.ec.textShadow=c)},e.Rc=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.Fc()},e.Uc=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.Fc()},e.Sc=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.Fc()},e.Tc=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.Fc()},e.toString=function(){return"[TextBox (name="+this.name+")]"},e.Vc=e.destroy,e.destroy=function(){this.zc&&(this.zc.destroy(),this.zc=null),jbeeb.focus==this&&(jbeeb.focus=null),this.Hc=null,this.Ic=null,this.Vc()},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.Wc=[],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.Wc.length),this.element.appendChild(s.element),"function"==typeof s.onAdded&&s.onAdded.call(s),this.Wc.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.Wc.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.Wc.length-1&&(n=this.Wc[t],n&&(n.element&&n.element.parentNode&&n.element.parentNode.removeChild(n.element),n.parent=null),this.Wc.splice(t,1),this.Xc(),!0)},e.removeAllChildren=function(){for(var t=this.Wc;t.length;)this.removeChildAt(0)},e.Xc=function(){var t,e,i=this.Wc.length;for(t=0;i>t;t++)e=this.Wc[t],e&&e.setZ(t+1)},e.toZ=function(t,e){var i,s,n;if(t){for(i=this.Wc.length,s=0,n=i;n--;)if(this.Wc[n]==t){s=n;break}s>e&&e--,0>e?e=0:e>i-1&&(e=i-1),jbeeb.Utils.arrayMove(this.Wc,s,e),this.Xc()}},e.toFront=function(t){var e,i,s;if(t){for(e=this.Wc.length,i=0,s=e;s--;)if(this.Wc[s]==t){i=s;break}jbeeb.Utils.arrayMove(this.Wc,i,e-1),this.Xc()}else this.parent&&this.parent.toFront(this)},e.toBack=function(t){
var e,i,s;if(t){for(e=this.Wc.length,i=0,s=e;s--;)if(this.Wc[s]==t){i=s;break}jbeeb.Utils.arrayMove(this.Wc,i,0),this.Xc()}else this.parent&&this.parent.toBack(this)},e.Yc=e.init,e.init=function(t){this.Yc(t),t&&(this.stage=1==this.amStage?this:this.stage,this.Wc=[])},e.Zc=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.Wc.length;s--;)n=this.Wc[s],n&&n.stretch(h,l,i);this.Zc(t,e,i)},e.$c=e.setFlex,e.setFlex=function(t){for(var e=this.Wc.length;e--;)this.Wc[e].setFlex(t);this.$c(t)},e._c=e.animateAll,e.animateAll=function(t,e){for(var i=this.Wc.length;i--;)this.Wc[i].animateAll(t,e);this._c(t,e)},e.ad=e.cancelAnimation,e.cancelAnimation=function(t){for(var e=this.Wc.length;e--;)this.Wc[e].cancelAnimation(t);this.ad(t)},e.bd=e.setMouseEnabled,e.setMouseEnabled=function(t){for(var e=this.Wc.length;e--;)this.Wc[e].setMouseEnabled(t);this.bd(t)},e.cd=e.destroy,e.destroy=function(){if(this.Wc)for(var t=this.Wc.length;t--;)this.Wc[t]&&(this.Wc[t].destroy(),this.Wc[t]&&(this.removeChild(this.Wc[t]),this.Wc[t]=null));this.Wc=null,this.cd()},e.destroyChildren=function(){if(this.Wc)for(var t=this.Wc.length;t--;)this.Wc[t]&&(this.Wc[t].destroy(),this.removeChild(this.Wc[t]),this.Wc[t]=null);this.Wc.length=0,this.Wc=null,this.Wc=[]},e.getChildren=function(){return this.Wc},e.getChildByName=function(t){var e,i,s=this.Wc.length;for(e=0;s>e;e++)if(i=this.Wc[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.Wc=[],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.Wc.length),this.element.appendChild(s.element),s.onAdded&&s.onAdded.call(s),this.Wc.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.Wc.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.Wc.length-1&&(n=this.Wc[t],n&&(n.element&&n.element.parentNode&&n.element.parentNode.removeChild(n.element),n.parent=null),this.Wc.splice(t,1),this.Xc(),!0)},e.removeAllChildren=function(){for(var t=this.Wc;t.length;)this.removeChildAt(0)},e.Xc=function(){var t,e,i=this.Wc.length;for(t=0;i>t;t++)e=this.Wc[t],e&&e.setZ(t+1)},e.toFront=function(t){var e,i,s;if(t){for(e=this.Wc.length,i=0,s=e;s--;)if(this.Wc[s]==t){i=s;break}jbeeb.Utils.arrayMove(this.Wc,i,e-1),this.Xc()}else this.parent&&this.parent.toFront(this)},e.toBack=function(t){var e,i,s;if(t){for(e=this.Wc.length,i=0,s=e;s--;)if(this.Wc[s]==t){i=s;break}jbeeb.Utils.arrayMove(this.Wc,i,0),this.Xc()}else this.parent&&this.parent.toBack(this)},e.dd=e.init,e.init=function(t){this.dd(t),t&&(this.stage=1==this.amStage?this:this.stage,this.Wc=[]),this.setOverflow("hidden")},e.ed=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.Wc.length;s--;)n=this.Wc[s],n&&n.stretch(h,l,i);this.ed(t,e,i)},e.fd=e.setFlex,e.setFlex=function(t){for(var e=this.Wc.length;e--;)this.Wc[e].setFlex(t);this.fd(t)},e.gd=e.setMouseEnabled,e.setMouseEnabled=function(t){for(var e=this.Wc.length;e--;)this.Wc[e].setMouseEnabled(t);this.gd(t)},e.hd=e.destroy,e.destroy=function(){if(this.Wc)for(var t=this.Wc.length;t--;)this.Wc[t]&&(this.Wc[t].destroy(),this.removeChild(this.Wc[t]),this.Wc[t]=null);this.Wc=null,this.hd()},e.destroyChildren=function(){if(this.Wc)for(var t=this.Wc.length;t--;)this.Wc[t]&&(this.Wc[t].destroy(),this.removeChild(this.Wc[t]),this.Wc[t]=null);this.Wc.length=0,this.Wc=null,this.Wc=[]},e.getChildren=function(){return this.Wc},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.jd=null,e.kd=e.init,e.init=function(t){t&&(this.skinData={},this.amSM=t.amSM,this.kd(t),this.maxStates=0,this.jd=1,this.applySkin(t,!1,!0),this.setState(0),this.amSM||this.setCursor("pointer"))},e.ld=e.applySkin,e.md=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.md(),i||this.ld(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.jd=0},e.nd=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.jd&&s&&1==s.length&&s.push(s[0])}return s},e.setSkinPart=function(t,e){var i,s=this.nd(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.od=e.destroy,e.destroy=function(){this.md(),this.od()},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.pd(t),this},e=t.prototype=new jbeeb.Container;e.ready=null,e.pd=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.qd(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.qd(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.qd=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.rd=null,e.sd=0,e.td=12,e.ud=0,e.vd=0,e.k=null,e.g=null,e.TextScroller_init=e.init,e.init=function(t){this.vd=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.rd=new jbeeb.TextBox(e),this.rd.fc=0,this.addChild(this.rd),this.wd=this.t.bind(this),t.speed&&this.setSpeed(t.speed)},e.xd=e.setSize,e.setSize=function(t,e){this.xd(t,e),this.rd&&this.rd.setHeight(e),this.yd()},e.setText=function(t){this.rd.setX(0),this.rd.setText(jbeeb.Utils.unescapeHTML(t)),this.yd()},e.yd=function(){this.rd&&(this.zd(),this.ud=this.rd.measureText().w,this.sd=this.ud-this.width,this.vd&&(this.g=this.sd/this.td*1e3,this.Ad(),this.Bd&&this.Bd.cancel(),this.Bd=new jbeeb.DelayCall(this.t.bind(this),1e3)))},e.zd=function(){this.k&&clearTimeout(this.k),this.Cd(),this.rd.setX(0)},e.Bd=null,e.t=function(){var t,e,i=this.sd;i>0&&(this.k&&clearTimeout(this.k),this.k=setTimeout(this.wd,this.g+500),t=this.rd.x,t>-i||(e=0),0>t||(e=-i),this.rd.setX(e))},e.Cd=function(){this.rd.cancelAnimation()},e.Ad=function(){this.rd.animateAll(this.g,"linear")},e.setSpeed=function(t){this.td=t},e.Dd=e.onAdded,e.onAdded=function(){this.Dd(),this.yd()},e.start=function(t){t&&(this.td=t),this.vd=1,this.zd(),this.yd()},e.stop=function(){this.vd=0,this.zd()},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.Ed="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.Fd=0,e.Gd=null,e.Hd=null,e.Id=-1,e.Jd=1,e.Kd=10,e.Ld=40,e.Md=!1,e.Nd=!1,e.$=0,e.Od=[],e.Pd=null,e.g=null,e.wd=null,e.k=null,e.Ed=null,e.t=function(){1==this.Fd&&(this.k&&clearTimeout(this.k),this.k=setTimeout(this.wd,this.g),this.u())},e.Qd=function(){this.$=0,this.Md=!0,this.Nd=!1,this.Jd=2,this.g=50,this.wd=this.t.bind(this),this.Fd=1,this.t()},e.Rd=function(){this.$=0,this.Nd=!0,this.Md=!1,this.Fd=0},e.Sd=function(){var t,e,i,s,n,h,l;for(this.k&&clearTimeout(this.k),this.$=0,this.Nd=!0,this.Md=!1,this.Fd=0,t=this.height,e=.1*t,i=e>2?2:e,s=i,n=t-i,h=0;h<this.Gd;h++)l=this.Od[h],l.setTop(n),l.setHeight(s)},e.Td=null,e.Ud=e.init,e.Vd=null,e.init=function(t){this.Ud({x:t.x,y:t.y,w:t.w,h:t.h}),this.setOverflow("visible"),this.Pd=t.amSM,this.Pd||wimpy&&wimpy.extension&&wimpy.extension.eq&&wimpy.extension.eq.GraphicEq&&wimpy.extension.eq.GraphicEq.canUse()&&(this.Td=!0,this.Wd=t.fill,this.Xd=t.stroke,this.Yd=t.bars,this.Zd=t.barMargin),this.Vd=t,this.Td||this.$d(t)},e.$d=function(t){this.Id=-1,this.Jd=1,this.Ld=40,this.Md=!1,this.Nd=!1,this.$=0,this.Fd=0,this.fill=t.fill,this._d(t.bars,t.barMargin),this.Pd&&this.screenshot()},e.ae=null,e.Wd=null,e.Xd=null,e.Yd=null,e.Zd=null,e.be=null,e.initGraphicEq=function(e,i,s){var n,h,l,a,o,r;this.Td&&i?(this.setOverflow("hidden"),n=t(this.Wd),this.Xd&&(h=jbeeb.Utils.makeColor(this.Xd.color,this.Xd.alpha),l=this.Xd.weight||1),a="string"==typeof i?i:"Peaks",o="#fd008e","Peaks"==a?r={backgroundColor:null,barColor:n,strokeColor:h,barSpace:this.Zd}:"Line"==a&&(r={backgroundColor:null,fillColor:n,lineColor:h,lineWidth:l}),this.ae=new wimpy.extension.eq.GraphicEq({player:e,target:this.element,renderer:a,rendererOpts:r,smoothing:s.smoothing,bands:s.bands||this.Yd,scale:s.scale||2,bassDamp:s.bassDamp||.5})):(this.Td=!1,this.$d(this.Vd))},e._d=function(t,e){var i,s,n,h,l,a,o,r;for(this.Gd=t||1,this.Hd=e||0,i=this.Od.length;i--;)s=this.Od[i],this.removeChild(s),s.destroy();for(this.Od=[],n=this.width,h=this.height,l=(n-e*t)/t,a=.1*h,this.Pd&&(a=h),1>l&&(l=1,e=(n-l*t)/t,this.Gd=t,this.Hd=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.Ed),this.addChild(r),this.Od.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.Gd-1);t++)e=d(0,this.Gd-1),s=1>=e||e>this.Gd-this.Gd/2?this.Ld/2:this.Ld,e>this.Gd-this.Gd/4?s/=2:s=s,n=this.Od[e],this.Jd>1?(h=this.Jd/this.Kd*i.randomNumber(1,s)/this.Ld,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.Ld>this.Kd||this.Ld<1)&&(this.Id*=-1),this.Ld+=1/i.randomNumber(2,this.Jd)*this.Id,this.Ld>this.Jd&&(this.Ld=this.Jd,this.Id=-1),this.Ld<1&&(this.Ld=1,this.Id=1),1==this.Nd&&(this.$++,this.$%2&&this.Jd--,this.Jd<2&&this.Sd()),1==this.Md&&(this.$++,this.$%2&&this.Jd++,this.Jd>9&&(this.Md=!1))},e.setState=function(t){this.Pd||this.Td||(1==t?0==this.Fd&&this.Qd():t==-1?this.Sd():1==this.Fd&&this.Rd())},e.setFill=function(t,e){this.fill.color=t,this.fill.alpha=e;for(var i=0;i<this.Od.length;i++)this.Od[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.Od.length;n++)this.Od[n].setStroke(t,e,i,s)},e.toString=function(){return"[FakeEQ (name="+this.name+")]"},e.setBars=function(t){this.Gd=+t||3,this._d(this.Gd,this.Hd),this.screenshot()},e.getBars=function(t){return this.Gd},e.setBarMargin=function(t){this.Hd=+t||0,this._d(this.Gd,this.Hd),this.screenshot()},e.getBarMargin=function(t){return this.Hd},e.setRenderer=function(t){var e=this.ae;e&&e.setRenderer(t)},e.screenshot=function(){var t,e,s,n=this.Od,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.ae&&this.ae.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.Pd=!1,t.state=0,t.ce=null,t.de=t.init,t.init=function(t){var e,i;this.Pd=t.amSM,this.de(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.ce=i,this.ce.center(),this.Pd?(this.ce.setOrigin(0,0,"px"),this.show()):(this.ce.setOrigin(50,50,"%"),this.hide())},t.show=function(){this.state=1,this.setVisible(1),this.Pd||jbeeb.ticker&&jbeeb.ticker.addEventListener("tick",this.tick,this)},t.hide=function(){this.setVisible(0),this.Pd||jbeeb.ticker&&jbeeb.ticker.removeEventListener("tick",this.tick,this),this.state=0},t.tick=function(){var t=this.ce.rotation;this.ce.setRotation(t+12)},t.setState=function(t){this.Pd||(1==t?0==this.state&&this.show():this.hide())},t.ee=t.stretch,t.stretch=function(t,e,i){this.ce.setOrigin(0,0,"px"),this.ee(t,e,i),this.ce.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.fe=null,e.ge=null,e.data=null,e.he=null,e.je=null,e.ke=null,e.le=null,e.me=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,j,w,k,x;l&&(n=1,h=1),this.home=t,this.je=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.he=c,this.me(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.ge=h?1:0,this.fe=n?1:0,v=p*(1/(this.textScale||1))*.15+"px",this.ne=[this.file,this.dl,this.link],j=document.createElement("span"),w=j.style,w.position="absolute",w.left="0",w.right=p+"px",this.ke=j,g=document.createElement("span"),w=g.style,w.marginRight="0.5em",w.marginLeft=v,w.pointerEvents="none",w.fontFamily=a?"sans-serif":m,g.innerHTML=a?e+1:s?y.list:y.file,this.file=g,j.appendChild(g),g=document.createElement("span"),w=g.style,w.pointerEvents="none",g.innerHTML="My Title",this.title=g,j.appendChild(g),this.element.appendChild(j),(h||n)&&(k=document.createElement("div"),w=k.style,w.position="absolute",w.right="0px",w.marginRight=v,w.whiteSpace="nowrap",w.textAlign="right",this.le=k,this.oe=this.pe.bind(this),x=1.5,h&&(g=document.createElement("span"),w=g.style,w.fontFamily=m,w.marginLeft="0.6em",g.innerHTML=y.download||"D",this.qe=this.re.bind(this),jbeeb.Utils.bindEvent(g,"mousedown",this.qe),jbeeb.Utils.bindEvent(g,"mouseup",this.oe),g.title=g.alt=r||y.downloadTip||"downlaod",this.dl=g,k.appendChild(g),x++),n&&(g=document.createElement("span"),w=g.style,w.fontFamily=m,w.marginLeft="0.6em",g.innerHTML=y.link||"i",this.se=this.te.bind(this),jbeeb.Utils.bindEvent(g,"mousedown",this.se),jbeeb.Utils.bindEvent(g,"mouseup",this.oe),this.link=g,k.appendChild(g),x++,g.title=g.alt=u||y.linkTip||"link"),this.element.appendChild(k),j.style.overflow="hidden",j.style.right=x+"em"),this.ue=this.ve.bind(this),jbeeb.Utils.bindEvent(j,"mousedown",this.ue),this.we=this.xe.bind(this),jbeeb.Utils.bindEvent(j,"mouseup",this.we),this.setPadding(this.padding),this.stretch(1,1)},e.setIcon=function(t){this.file&&(this.file.innerHTML=t)},e.setText=function(t){this.ye(jbeeb.Utils.unescapeHTML(t))},e.clearText=function(){this.ye("")},e.ye=function(t){var e,i=this.title;i&&(e=jbeeb.Utils.unescapeHTML(t),i.innerHTML=t,i=this.ke,i.title=i.alt=e)},e.ze=e.setAlign,e.setAlign=function(t){this.ze("left")},e.Ae=e.setPadding,e.setPadding=function(t){if(t&&(this.Ae(t),this.le)){var e=this.height*(1/(this.textScale||1))*.15;e=this.padding+e+"px",this.le.style.marginRight=e,this.file.style.marginLeft=e}},e.ue=null,e.we=null,e.oe=null,e.qe=null,e.se=null,e.ve=function(t){return!1},e.xe=function(t){this.home.listItemMouse("up",this.je,this)},e.pe=function(t){t.preventDefault&&t.preventDefault()},e.Be=null,e.re=function(t){t.preventDefault&&t.preventDefault(),this.Be="down",setTimeout(this.Ce.bind(this),300)},e.te=function(t){t.preventDefault&&t.preventDefault(),this.Be="link",setTimeout(this.Ce.bind(this),300)},e.Ce=function(){this.home.specialClick(this.Be,this.je,this)},e.De=e.destroy,e.destroy=function(){e.home=null,jbeeb.Utils.empty(this.element),jbeeb.Utils.unbindEvent(this.dl,"mouseUp",this.qe),jbeeb.Utils.unbindEvent(this.link,"mouseUp",this.se),jbeeb.Utils.unbindEvent(this.ke,"mouseup",this.oe),e.file=null,e.title=null,e.link=null,e.dl=null,e.data=null,e.De()},e.Ee=e.onAdded,e.onAdded=function(){this.Ee(),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.Fe=n}s.Ge={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.He="title",i.Ie=null,i.Je=null,i.Ke=0,i.Le=0,i.Me=[],i.Ne=[],i.Ga=null,i.Oe=null,i.Pe=null,i.Qe=0,i.selectedIndex=-1,i.selectedItem={},i.state=0,i.Re={},i.spacing=0,i.fe=null,i.ge=null,i.amSM=!1,i.SMtarget=null,i.Se=null,i.Te=null,i.Ue=null,i.Ve=null,i.We=i.init,i.init=function(t){var e,i,s,n,h,l,a;this.Xe=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.Me=[],this.Ne=[],this.selectedItem={},this.Re={},this.Se=jbeeb.Utils.isTrue(t.numberTracks)?1:0,t.callback&&(this.Ga=t.callback),t.callbackMore&&(this.Oe=t.callbackMore),t.callbackDownload&&(this.Pe=t.callbackDownload),this.fe=t.useLink,this.ge=t.useDown,this.We(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.Re=s,t.spacing?this.spacing=t.spacing:this.spacing=s.spacing||0,t.lineHeight&&(this.Re.h=t.lineHeight),this.Le=this.Re.h+this.spacing,this.setOverflow("hidden"),this.Je=new jbeeb.Container({x:0,y:0,w:t.w,h:t.h}),this.addChild(this.Je),this.Ye(),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.Ze(),this.amSM||(this.addMEL("mouseDown",this.$e,this,!1),this.addMEL("mouseUp",this._e,this,!1),this.MELpreventDefault=!0,jbeeb.Browser.touch?(l=this.af.bind(this),a=this.bf.bind(this),this.Je.element.addEventListener("touchstart",l,!1),this.Je.element.addEventListener("touchmove",a,!1)):(h=jbeeb.Browser.moz?"DOMMouseScroll":"mousewheel",this.cf=this.df.bind(this),jbeeb.Utils.bindEvent(this.element,h,this.cf)))},i.ef=null,i.af=function(t){this.ef=this.Je.element.scrollTop+t.touches[0].pageY},i.bf=function(t){t.preventDefault(),this.ff=1;var e=t.touches[0].pageY-this.ef;this.gf(e,!0),this.hf=e},i.setDisplayField=function(t){this.He=t},i.setGlyphs=function(t){var e,i=s.Ge;if(t)for(e in t)i[e]&&t[e]&&(i[e]=t[e]);this.Ve=i},i.enableLink=function(t,e,i){this.fe=t,this.if=e,i||this.redrawList()},i.enableDownload=function(t,e,i){this.ge=t,this.jf=e,i||this.redrawList()},i.jf=null,i.if=null,i.setCallback=function(t){this.Ga=t},i.setCallbackMore=function(t){this.Oe=t},i.setCallbackDownload=function(t){this.Pe=t},i.specialClick=function(t,e,i){var s=this.Ne[e];"down"==t?"function"==typeof this.Pe&&this.Pe(s,e,i):"link"==t&&"function"==typeof this.Oe&&this.Oe(s,e,i)},i.Ze=function(){this.Ke=this.Le*this.Ne.length-this.height+1,this.Ke<0&&(this.Qe=0),this.kf(this.Qe),this.lf(this.Qe)},i.lf=function(t,e){(e&&"start"==e||"end"==e)&&this.mf(),this.Qe=t,this.vd()},i.vd=function(){var t,e,i,s,n,h,l,a=-this.Ke*this.Qe,o=this.Ne,r=o.length;if(r>80)for(t=this.Le,e=this.Me,i=this.height/t,s=-a/t-1,n=s+i+1,h=r;h--;)l=e[h],h>s-10&&n+10>h?l.setVisible(!0):l.setVisible(!1);this.Te?this.Ue=jbeeb.Animate.to(this.Je,{y:a},300,"out"):(this.mf(),this.Je.setY(a))},i.getEditObj=function(){return this.amSM?this.SMtarget:null},i.Ye=function(){var t,e,i,s;for(t=0;t<this.Ne.length;++t)this.nf(this.Ne[t],t);this.amSM&&(this.SMtarget=new jbeeb.ListItem(this,1e3,this.Re,0,1,1,this.amSM),this.addChild(this.SMtarget),this.SMtarget.setXY(0,3*-this.Le),this.SMtarget.name=this.name),this.Ie&&(e=!0,this.Me.length>0&&(i=this.Me[this.Me.length-1],s=i.y+this.Le,s>this.height||(e=!1)),e?this.Ie.enable():this.Ie.disable())},i.setNumberTracks=function(t){this.Se=t},i.nf=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.ge)?1:0,void 0!==t.downloadable&&(i(t.downloadable)?l=1:s(t.downloadable)&&(l=0)),a=i(this.fe)?1:0,void 0!==t.link&&(a=s(t.link)?0:1)),n=new jbeeb.ListItem(this,e,this.Re,h,a,l,this.amSM,this.Se,this.Ve,t.downloadtip,t.linktip),n.setXY(0,this.Le*e),n.setText(t[this.He]||t.title),t.icon&&n.setIcon(t.icon),n.setState(0),n.setMouseEnabled(this.Xe),this.Je.addChild(n),this.Me.push(n),this.pf()},i.redrawList=function(t){this.Re=t||this.Re,this.Le=this.Re.h+this.spacing,this.Me.length=0,this.Me=null,this.Me=[],this.Je.destroyChildren(),this.amSM&&this.SMtarget&&(this.removeChild(this.SMtarget),this.SMtarget.destroy()),this.Ye(),this.Ze()},i.qf=i.stretch,i.stretch=function(t,e,i){var s,n;t>0&&e>0&&(this.qf(t,e,i),s=this.spacing*e,n=this.Re.h*e,this.Re.w=this.Re.w*t,this.Re.h=n,this.spacing=s,this.Le=n+s,this.pf())},i.setList=function(t,e,i){var s,n,h;if(0!==e&&1!==e&&e!==!0&&e!==!1||enableLink(e,this.if,!0),0!==i&&1!==i&&i!==!0&&i!==!1||enableDownload(i,this.jf,!0),this.rf(-1),this.Qe=0,this.sf(),s=0,t&&t.length)for(s=t.length,n=0;s>n;n++)h=jbeeb.Utils.clone(t[n]),this.Ne.push(h);this.redrawList(),this.lf(0),this.Ie&&this.Ie.setPageSizePercent(this.height/this.Le/this.Ne.length)},i.addItem=function(t){var e,i=jbeeb.Utils.clone(t);this.Ne.push(i),e=this.Ne.length,this.nf(i,e-1),this.Ie&&this.Ie.setPageSizePercent(this.height/this.Le/e)},i.sf=function(){var t,e,i,s=this.Ne.length;for(t=0;s>t;t++)for(e in this.Ne[t])this.Ne[t][e]=null;for(this.Ne=null,this.Ne=[],t=0;t<this.Me.length;t++)i=this.Me[t],i.clearText(),i.setState(0);this.Ze(),this.pf()},i.tf=null,i.uf=null,i.vf=null,i.ff=null,i.wf=0,i.xf=null,i.yf=null,i.zf=0,i.Af=0,i.pf=function(){var t=this.Ne.length;t?this.wf=this.Le/(t*this.Le-this.height):this.wf=0},i.Bf=function(t,e,i){e.event.preventDefault(),this.ff=1;var s=e.mouseY;this.gf(s,!0),this.hf=s},i.hf=0,i.gf=function(t,e){var i,s,n=this.wf*((t-this.vf)/this.Le),h=this.uf;e&&this.kf(h-n),i=(new Date).getTime(),s=i-this.yf,this.yf=i,this.zf=h-n*(s/(this.Le/2))},i._e=function(t,e,i){var s,n;this.Te=1,s=this.zf,n=Math.abs(this.vf-e.mouseY),s&&s>.1&&.9>s&&this.yf-this.xf<500&&n>5?(this.kf(s),this.zf=0):n>0&&5>n&&(this.ff=0,null!=this.Cf&&this.Df(this.Cf))},i.$e=function(t,e,i){this.Cf=null,this.Te=0,this.ff=0,this.xf=(new Date).getTime(),this.uf=this.Qe,this.vf=e.mouseY},i.cf=null,i.df=function(t){var e,i;t.preventDefault&&t.preventDefault(),this.Te=1,e=t||window.event,i=this.wf*((e.detail?e.detail*-120:e.wheelDelta)/240),this.kf(this.Ef()-i)},i.Cf=null,i.listItemMouse=function(t,e,i){this.Cf=e,"up"==t&&!this.ff&&this.Xe&&this.Df(e)},i.refresh=function(t){var e,i,s=this.Me;for(e=0;e<s.length;e++)i=s[e],i.setState(0);this.highlightItem(t)},i.highlightItem=function(t){this.tf&&this.tf.setState(0);var e=this.Me[t];return e&&e.setState(1),this.rf(t),e},i.rf=function(t){this.selectedIndex=t,this.selectedItem=t>-1?this.Ne[t]:null},i.Df=function(t,e,i){if(null!==t&&t>-1&&t<this.Ne.length){var s=this.highlightItem(t);i=i||!1,this.rf(t),this.vd(),i||this.Ga&&this.Ga("click",this.selectedIndex),this.tf=s}},i.scrollTo=function(t,e){var i,s,n=this.getGitem(t);n&&(i={x:0,y:n.y+this.Je.y,width:this.width,height:this.Le},s={x:-1,y:-1,width:this.width+1,height:this.height},jbeeb.Utils.contains(s,i)||this.kf(t/(this.Ne.length-1)),this.Df(t,null,e))},i.kf=function(t){0>t?t=0:t>1&&(t=1),this.Ie?this.Ie.setValue(t):(this.Qe=t,this.lf(t))},i.Ef=function(){var t;return t=this.Ie?this.Ie.getValue():this.Qe},i.scrollOne=function(t){var e=this.Ne.length,i=Math.round(e*this.Ef())+t;this.kf(i/e)},i.setScrollbar=function(t){this.Ie=t,this.Ie.setInverted(1),this.Ie.addEventListener("change",this.lf,this),this.Ie.setStretchThumb(1)},i.mf=function(){this.Te=0,this.Ue&&jbeeb.Animate.cancel(this.Ue)},i.getGitem=function(t){return this.Me[t]||null},i.getGlist=function(){return this.Me},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.Xe=1,i.setMouseEnabled=function(t){var e,i;for(this.Xe=t,e=0;e<this.Me.length;e++)i=this.Me[e],i.setMouseEnabled(t)},i.setSpacing=function(t){this.spacing=+t||0,this.dispatchEvent("listSmUpdate",this,this.Re.h)},i.setLineHeight=function(t){this.Re.h=+t||10,this.dispatchEvent("listSmUpdate",this,this.Re.h)},i.getLineHeight=function(){return this.Re.h},i.Ff=i.destroy,i.destroy=function(){this.cf&&jbeeb.Utils.unbindEvent(this.element,"mousewheel",this.cf),this.Ff()},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.Gf=t.track,e.Gf.x=0,e.Gf.y=0),t.thumb&&(e.Hf=t.thumb,e.Hf.x=0,e.Hf.y=0),t.labelColor&&(e.defaultLabelColor=t.labelColor)},e.Gf=e.defaultSkin.children[0],e.Hf=e.defaultSkin.children[1],t=e.prototype=new jbeeb.Container,t.defaultLabelColor="#000000",t.value=0,t.If=!1,t.Jf=0,t.track=null,t.thumb=null,t.Kf=null,t.Lf=null,t.Mf=null,t.Nf=null,t.Of=null,t.Pf=null,t.Qf=null,t.Rf=0,t.Sf=0,t.Tf=0,t.Uf=0,t.Vf=!1,t.Wf=!1,t.Xf=!1,t.label=null,t.icon=null,t.Yf=0,t.dragging=!1,t.Zf=0,t.$f=null,t._f=null,t.ag=null,t.bg=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,j,w,k,x,S;if(t){if(this.bg(t),1==t.usePaging?this.Yf=1:this.Yf=0,1==t.stretchThumb?this.$f=1:this.$f=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.Gf),
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.Hf),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.Xf=i.w<=i.h,this.track=new jbeeb.Rube(i),this.track.name="track",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.Nf=this.thumb.width,this.Of=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&&(j=t.togglerPos,this.label&&t.lablePos==j?(y=this.label.x,v=this.label.y,this.label.setX(y+20)):"tl"==j?(y=0,v=-20):"tr"==j?(y=this.width+4,v=-20):"l"==j?(y=-20,v=this.height-8):"r"==j&&(y=this.width+4,v=this.height-8),w=new jbeeb.Checkbox({x:y,y:v,w:16,h:16}),this.addChild(w),w.addEventListener("change",this.cg,this,!1),this.dg=w),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.eg=1),t.print.numeric=1,w=new jbeeb.TextBox(t.print),this.fg=w,this.addChild(w),k=t.print.pos,x=0,S=0,k.match(/t/i)?S=-w.height:k.match(/b/i)&&(S=this.track.height),k.match(/r/i)&&(x=this.track.width-w.width),w.setXY(x+(t.printOffsetX||0),S+(t.printOffsetY||0)),this.gg=t.printFixed||1,this.eg&&this.fg.addEventListener("enter",this.hg,this),this.valueTextbox=this.fg,this.ig=t.printHandler),this.Vf=!1,t.amSM||(this.jg=this.kg.bind(this),window.addEventListener("mousemove",this.jg,!1),window.addEventListener("touchstart",this.jg,!1)),t.invertVal&&(this.If=t.invertVal),t.logVal&&(this.Jf=t.logVal),jbeeb.Utils.isNumber(t.value)?(this.setValue(t.value,!0,"init"),this.lg=t.value):this.lg=0,this.mg=0,this.mg&&this.setSmoothMove(1)}},t.ng=!1,t.kg=function(t){var e,i,s;this.ng||("touchstart"==t.type?(e=this.og.bind(this),i=this.pg.bind(this),s=this.qg.bind(this),this.element.addEventListener("touchstart",e,!1),this.element.addEventListener("touchmove",i,!1),this.element.addEventListener("touchend",s,!1)):(this.addMEL("mouseDown",this.rg,this),this.addMEL("mouseOver",this.sg,this),this.addMEL("mouseOut",this.tg,this),this.addMEL("mouseDrag",this.ug,this),this.addMEL("mouseUp",this.vg,this)),this.ng=!0),window.removeEventListener("mousemove",this.jg,!1),window.removeEventListener("touchstart",this.jg,!1)},t.wg=null,t.xg=null,t.og=function(t){var e=jbeeb.Utils.getXYWH(this.element);this.xg=e,this.wg=e,this.Rf=t.touches[0].pageX-e.x,this.Sf=t.touches[0].pageY-e.y,t.preventDefault()},t.pg=function(t){var e,i;t.preventDefault(),e=this,i={mouseX:t.touches[0].pageX-this.wg.x,mouseY:t.touches[0].pageY-this.wg.y},this.xg=i,this.ug(e,i)},t.qg=function(t){this.vg(this,this.xg)},t.ug=function(t,e,i){0==this.Vf&&this.rg(t,e),this.dragging=!0,this.Wf=!0;var s;this.Xf?(s=e.mouseY-this.Sf,this.yg(this.Uf+s,!1,"move")):(s=e.mouseX-this.Rf,this.yg(this.Tf+s,!1,"move")),this.zg=e.mouseX},t.mg=0,t.valueTextbox=null,t.fg=null,t.eg=0,t.hg=function(t,e){var i;i=this.ig?this.ig("set",e):parseFloat(e),this.setValue(i,!0)},t.Ag=function(){var t,e;this.fg&&(t=this.ig?this.ig("get",this.value):parseFloat(this.value),e=t.toFixed(this.gg),this.fg.setText(e))},t.setPrintText=function(t,e){this.fg.setText(t),e||this.setValue(parseFloat(newText),e)},t.sg=function(t,e,i){this.thumb.setState(1)},t.tg=function(t,e,i){this.dragging||this.thumb.setState(0)},t.lg=0,t.dg=null,t.cg=function(t,e,i){1==t?(this.state=1,this.setValue(i||this.lg,!0)):(this.state=0,this.setValue(i||0,!0)),e||this.dispatchEvent("toggle",this,t,!1,"manual")},t.state=0,t.setState=function(t,e){this.dg&&this.cg(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.Nf=this.thumb.width,this.Of=this.thumb.height,t=this.track.x+this.track.width-this.Nf,e=this.track.y+this.track.height-this.Of,this.Xf?(this.Kf=s,this.Lf=e,this.Mf=e-s,this.Pf=this.Of,this.thumb.setX(this.track.x+this.track.width/2-this.Nf/2)):(this.Kf=i,this.Lf=t,this.Mf=t-i,this.Pf=this.Nf,this.thumb.setY(this.track.y+this.track.height/2-this.Of/2))},t.Bg=t.show(),t.show=function(){this.Bg(),this.centerThumb()},t.getPageSizePercent=function(){return this.Qf},t.setPageSizePercent=function(t){if(this.Qf=t,1>t?this.Pf=this.Mf*this.Qf:this.Qf=1,this.$f){this.Qf<1?this.enable():this.disable();var e;this.Xf?(e=this.height*this.Qf,e<this.width&&(e=this.width),this.thumb.setHeight(e),this.centerThumb()):(e=this.width*this.Qf,e<this.height&&(e=this.height),this.thumb.setWidth(e),this.centerThumb())}},t.setStretchThumb=function(t){this.$f=t,this.setPageSizePercent(this.Qf)},t.vg=function(t,e,i){this.Wf?this.dispatchEvent("change",this.value,"end"):this.Cg(t,e,"clickUp"),this.dragging=!1,this.Vf=!1,this.Wf=!1,this.mg&&this.setSmoothMove(1)},t.rg=function(t,e,i){this.Yf||this.Cg(t,e,"clickDown"),this.mg&&this.setSmoothMove(0),this.dispatchEvent("change",this.value,"start"),this.Rf=e.mouseX,this.Sf=e.mouseY,this.Tf=this.thumb.x,this.Uf=this.thumb.y,this.Vf=!0,this.Wf=!1,this.thumb.setState(1)},t.setSmoothMove=function(t){var e,i,s,n;this._f=t,e="",t?(i=this.Xf?"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.yg=function(t,e,i){var s,n,h;1!=this.Zf&&(e=e||!1,i=i||"none",t=t||0,s=t,s<this.Kf?(s=this.Kf,n=0):s>this.Lf?(s=this.Lf,n=1):n=(s-this.Kf)/this.Mf,this.Xf?this.thumb.setY(s):this.thumb.setX(s),this.Xf&&(n=1-n),this.If&&(n=1-n),this.Jf&&(n=this.Dg(n)),this.value=n,this.Ag(),e||this.dispatchEvent("change",n,i),this.dg&&(h=this.dg.checked,n>0?h||(this.state=1,this.dg.setChecked(1,!0),e||this.dispatchEvent("toggle",this,1,!0,i)):"move"!=i&&h&&(this.state=0,this.dg.setChecked(0,!0),e||this.dispatchEvent("toggle",this,0,!0,i))))},t.Dg=function(t,e){var i=this.Jf;return Math.pow(t/1,e?1/i:i)},t.setUsePaging=function(t){this.Yf=t||0},t.zg=0,t.Cg=function(t,e,i){var s;1==this.Yf?this.Xf?(s=e.mouseY,s=s<this.thumb.y?this.thumb.y-this.Pf:this.thumb.y+this.Pf):(s=e.mouseX,s=s<this.thumb.x?this.thumb.x-this.Pf:this.thumb.x+this.Pf):s=this.Xf?e.mouseY-this.Of/2:e.mouseX-this.Nf/2,"clickUp"==i?(this.yg(s,!0,"move"),this.yg(s,!1,"end")):this.yg(s,!0,"start")},t.getValue=function(){return this.value},t.setValue=function(t,e){t||(t=0),0>t&&(t=0),t>1&&(t=1),this.Xf&&(t=1-t),this.If&&(t=1-t),this.Jf&&(t=this.Dg(t,!0)),this.yg(this.Kf+t*this.Mf,e,"none"),this.amSM&&(this.Xf=this.track.width<=this.track.height,this.Xf?this.track.center("h"):this.track.center("v"))},t.setInverted=function(t,e){this.If=t,this.setValue(this.value,e)},t.disable=function(){this.Zf=1,this.yg(0,!0,"none"),this.thumb&&this.thumb.hide()},t.enable=function(){this.Zf=0,this.value=this.value||0,this.yg(this.value,!0,"none"),this.thumb&&this.thumb.show()},t.nudge=function(t){var e,i=this.Pf/10*t;e=this.Xf?this.thumb.y+i:this.thumb.x+i,this.yg(e,!1,"start")},t.Eg=t.stretch,t.stretch=function(t,e,i){var s,n;this.Eg(t,e,i),s=this.getPageSizePercent(),n=this.value,this.setPageSizePercent(s),this.Nf=this.thumb.width,this.Of=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.Fd=0,e.percent=0,e.Fg=null,e.Gg=!1,e.Hg=e.init,e.init=function(t){this.percent=0,t.reverse&&(this.Gg=!0,t.pin="tr"),this.Hg(t),this.Fd=0},e.Ig=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.Fd&&this.setState(0)):(0===this.Fd&&this.setState(1),e=this.Ig(t),this.percent=e,this.Gg?(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.Fd=t,1===t?this.show():this.hide()},e.Jg=e.stretch,e.stretch=function(t,e,i){this.Jg(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.Kg=null,e.Lg=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.Lg(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.Mg,this),this.setValue(0,!0)},e.Mg=function(t,e){this.progress.update(t)},e.Ng=e.setValue,e.setValue=function(t,e){this.Ng(t,e),this.progress&&this.progress.update(t)},e.Og=e.onAdded,e.onAdded=function(){this.progress.toFront(),this.loader.toFront(),this.Og()},e.Pg=e.destroy,e.destroy=function(){this.progress&&this.progress.destroy(),this.progress=null,this.loader&&this.loader.destroy(),this.loader=null,this.Kg=null,this.Pg()},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.Qg=null,e.Rg=null,e.Kg=null,e.amSM=0,e.Sg=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.Sg(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.Tg,this),this.addMEL("mouseDrag",this.Ug,this),e.setMouseEnabled(0),i.setMouseEnabled(0)),this.Qg=e,this.Rg=i,this.face=e,this.mark=i,this.centerFace(),c=t.minMaxDegrees||60,1>c&&(c=1),this.Vg=c/2},e.Wg=0,e.Vg=0,e.Xg=0,e.Yg=0,e.Zg=0,e.Tg=function(t,e,i){this.Yg=e.mouseX,this.Zg=e.mouseY,this.$g=this.Qg.rotation,this.Xg=this._g(e)},e.Ug=function(t,e,i){var s,n,h=this._g(e),l=this.$g+(this.Xg-h);l>180?l-=360:-180>l&&(l+=360),s=this.Vg,n=0,180-s>l&&l>-180+s?(n=(l+180-s)/(360-2*s),this.Qg.setRotation(l)):(l>0&&(n=1),this.Tg(t,e,i)),this.ah(n)},e._g=function(t){var e=this.Wg;return 180*Math.atan2(e-t.mouseY,e-t.mouseX)/Math.PI*-1},e.ah=function(t,e){this.value=t,e||this.dispatchEvent("change",t)},e.setValue=function(t,e){var i,s;this.ah(t,e||!1),i=this.Vg,0>t?t=0:t>1&&(t=1),s=t*(360-2*i)-(180-i),this.Qg.setRotation(s)},e.centerFace=function(){var t,e,i,s,n,h,l,a,o,r,u;this.Rg.center("h"),t=this.width,e=this.height,i=Math.floor(t>e?t:e),s=2*this.Qg.stroke.weight||0,n=this.Qg.width+s,h=this.Qg.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.Qg.setXY(a,o),this.Qg.center(),this.Rg.center("h"),r=n/2,u=h/2,this.Qg.setOrigin(r,u),this.Wg=(i+s)/2},e.bh=e.stretch,e.stretch=function(t,e,i){this.bh(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 r.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":""}),r.chromium&&(e.canPlayType=function(t){return/audio/i.test(t)?null!==t.match(/audio\/(ogg|oga|webm|wav|mp3|mpeg)/gi)?"maybe":"":null!==t.match(/video\/(ogg|ogv|oga|webm|wav|mp3|mpeg)/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){return unescape(encodeURIComponent(t))}function s(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 n(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"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 h(t,e){var i=jbeeb.Utils.decodeURL(t),s=jbeeb.PathInfo.parse(i),h=(""+(e||s.ext)).toLowerCase(),l=/(mp4|m4v|ogg|ogv|m3u8|webm|webmv|flv|wmv|mpeg|mov)/gi.test(h)?"video":"audio";return s.av=l,s.mime=n(h,l),s.kind=e,s.ext=e||s.ext,s}var l,a,o,r,u,c,d,f,b,p,m=function(t){this.init(t)};jbeeb.MediaController||(m.ch={}),l={},a=jbeeb.mimes.audio;for(o in a)l[o]=["audio",a[o]];a=jbeeb.mimes.video;for(o in a)l[o]=["video",a[o]];m.dh=l,m.swf="wimpy.swf",m.swfVersion=10,m.fallbackExtensions={audio:"ogg,wav",video:"webm"},m.disableFlash=!1,m.configure=function(t){var e="undefined";typeof t.swf!=e&&(m.swf=t.swf),typeof t.swfVersion!=e&&(m.swfVersion=t.swfVersion),typeof t.fallbackExtensions!=e&&(m.fallbackExtensions=t.fallbackExtensions),typeof t.disableFlash!=e&&(m.disableFlash=t.disableFlash)},r=jbeeb.Browser,u=t("video"),c=void 0!==u.canPlayType||r.brokenAndroid;try{u.canPlayType("video/mp4")}catch(t){c=!1}d=m.prototype=new jbeeb.Container,d.eh="1",d.fh=null,d.gh=null,d.meid=null,d.hh="0",d.ih="0",d.jh="100%",d.kh="100%",d.lh=null,d.mh=!1,d.Na=!1,d.nh=!1,d.oh=!1,d.JesusIsLord=!0,d.file="",d.fileInfo="",d.ready=!1,d.ph=0,d.qh=.99999999,d.rh=1e-8,d.sh={},d.th={},d.uh=0,d.vh=!1,d.wh=1,d.xh=null,d.amFullscreen=0,d.yh=null,d.zh=null,d.Ah=null,d.Bh=null,d.Ch=null,d.Dh=null,d.Eh=null,d.Fh=!1,d.Gh=!1,d.Hh=null,d.Ih=0,d.Jh=0,d.Kh=!0,d.Lh=!1,d.Mh=0,d.Nh=null,d.Oh=!1,d.Ph=null,d.Qh=null,d.Rh=null,d.Sh=null,d.Th=null,d.Uh=null,d.Vh=0,d.Wh=1,d.amMuted=0,d.amPrepped=!1,d.ph=null,d.Xh=0,d.Yh=d.init,d.init=function(t){var e,i,s,n,h;t&&(this.Zh=!1,this.$h=!1,this.Xh=0,e=t.onReady,e&&(delete t.onReady,this.Hh=e),this.Kh=!t.allowOthers,this.ready=!1,this.Yh(t),r.stockAndroid&&(this.Ih=1,this.Jh=1),i=jbeeb.getUID(),this.fh=m.ch,this.fh[i]=this,this.meid=i,this.lh="audio",!t.noFullscreen&&jbeeb.Fullscreen&&(this.Lh=!0),s=jbeeb.Utils.isTrue,n=!!s(m.disableFlash),h=!!s(t.disableFlash),h&&(n=!0),this.nh=!!n||c,this.oh=!n&&jbeeb.FlashDetect.hasVersion(m.swfVersion),this.mh=!1,this.zh=this._h.bind(this),this.Ah=this.ai.bind(this),this.Bh=this.bi.bind(this),this.Ch=this.ci.bind(this),this.Dh=this.di.bind(this),this.Eh=this.ei.bind(this),this.fi())},d.fi=function(){this.Lh&&(this.xh=new jbeeb.Fullscreen(this,this.gi.bind(this),this.Na)),this.ready=!0,this.Hh&&this.Hh()},d.hi=function(t){this.Na=t,this.fi()},d.getMediaControllers=function(){return this.fh},d.getMediaElement=function(){return this.gh},d.setFullscreen=function(){0===this.amFullscreen?this.ii():this.ji()},d.ii=function(){0==this.amFullscreen&&(this.amFullscreen=1,this.ki(),this.xh.enter(),setTimeout(this.li.bind(this),1e3))},d.ji=function(){1==this.amFullscreen&&(this.amFullscreen=0,this.ki(),this.xh.exit(),setTimeout(this.li.bind(this),1e3))},d.gi=function(t){this.amFullscreen=t,this.ki(),setTimeout(this.li.bind(this),1e3)},d.li=function(){if(this.Na&&this.mh){var t=this.gh;t.js_getVersion||(t=document.getElementById(this.meid),this.gh=t,this.dispatchEvent("newMediaElement",t)),t.js_FSsetState&&t.js_FSsetState(this.amFullscreen)}},d.ki=function(){var t;t=this.Fh||this.amFullscreen?1:0,this.mi(t)},d.setControls=function(t){var e=jbeeb.Utils.isTrue(t);this.mi(e?1:0),this.Fh=e},d.mi=function(t){var e=this.gh,i=this.Na,s=this.mh;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.ni.bind(this),1e3))},d.ni=function(){var t=this.gh;this.Na&&this.mh?t.js_setControls&&t.js_setControls(0):t.removeAttribute&&t.removeAttribute("controls")},d.oi=function(){var t,i,s,n;if(this.Ph&&(clearTimeout(this.Ph),this.Ph=null),this.pi&&(this.pi=null),this.Rh&&(clearInterval(this.Rh),this.Rh=null),this.Sh&&(this.Sh=null),t=this.gh,t&&t){if(i=t.nodeName,i&&"object"==i.toLowerCase()){if(r.ie){t.style.display="none";for(s in t)"function"==typeof t[s]&&(t[s]=null)}}else n=m.unbindEvent,n(t,"timeupdate",this.zh),n(t,"ended",this.Ah),n(t,"pause",this.Bh),n(t,"play",this.Ch),n(t,"loadstart",this.Eh);if(t.parentNode)try{t.parentNode.removeChild(t)}catch(t){}}this.gh=null,this.gh={},e(this.element)},d.qi=function(e){var i,s;return this.oi(),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.ih+"px;left:"+this.hh+"px;width:"+this.jh+";height:"+this.kh+";",this.element.appendChild(i),s=m.bindEvent,s(i,"timeupdate",this.zh),s(i,"ended",this.Ah),s(i,"pause",this.Bh),s(i,"play",this.Ch),s(i,"loadstart",this.Eh),i},m.bindEvent=function(t,e,i,s){return t&&(t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener&&t.addEventListener(e,i,!!s)),i},m.unbindEvent=function(t,e,i,s){return t&&(t.attachEvent?t.detachEvent("on"+e,i):t.addEventListener&&t.removeEventListener(e,i,!!s)),i},f=document.createElement("video"),b=!0,f&&(f.play(),b=f.paused),f=null,d.ri=null,d.si=function(){b&&(window.addEventListener("keydown",this.ri),window.addEventListener("mousedown",this.ri),window.addEventListener("touchstart",this.ri))},d.ti=function(){this.ui(),window.removeEventListener("keydown",this.ri),window.removeEventListener("mousedown",this.ri),window.removeEventListener("touchstart",this.ri)},d.vi=function(){var t,i,h,l,a,o,r,u,c,d,f,b,p,g=this.fileInfo,y=this.gh,v=this.lh,j=g.av,w=this.Jh?"video":j;if(y&&y.pause?(y.pause(),y.currentTime&&(y.currentTime=0)):y=null,y&&w==v||(y=this.qi(w),this.gh=y,this.si(),this.xh&&this.xh.setFullscreenObject(this,y)),this.lh=w,s(y,g.mime))t=g.url,i=g.mime,h=g.ext;else for(l=jbeeb.Utils.trim,a=m.fallbackExtensions[j].split(","),o=a.length,r=g.parenturl,u=g.basename?g.basename:"",c=/\?/.test(g.url),d=g.url.split(".").pop(),!d||d.length>4||c?(r=g.url,u=c?"&ext=":"#"):u+=".",f=0;o>f;f++)if(b=l(a[f]),i=n(b,j),s(y,i)){t=r+u+b,i=i,h=b;break}t||(t=g.url),t=jbeeb.Utils.absoluteURL(t),e(y),y.src=t,y.autoplay=!0,p=document.createElement("source"),"audio/mpeg"==i&&""!==y.canPlayType('audio/mpeg;codecs="mp3"').replace(/no/)&&(i='audio/mpeg;codecs="mp3"'),p.type=i,p.src=t,y.appendChild(p),this.Mh&&y&&(y.load&&(y.load(),y.play()),this.wi()),this.dispatchEvent("newMediaElement",y)},d.ui=function(){this.Mh&&this.gh&&(this.gh.load&&(this.gh.load(),this.gh.play()),this.wi())},d.wi=function(){this.vh=!0,this.setVolume(this.wh),this.xi(1),this.ki()},d.yi=function(){this.mh?this.zi():(this.Nh=1,this.oi(),this.gh=null,this.pi||(this.pi=this.Qh.bind(this)),this.Ph=setTimeout(this.pi,3e3),this.gh=this.Ai(),this.dispatchEvent("newMediaElement",this.gh),this.xh&&this.xh.setFullscreenObject(this,this.gh))},d.Ai=function(){return new jbeeb.FlashElement({element:this.element,id:this.meid,w:this.jh,h:this.kh,swf:m.swf,scale:"noscale",salign:"lt",wmode:"opaque",bgcolor:this.fill.color,flashvars:{meid:this.meid,s:0,a:this.eh,baseClass:"jbeeb"}})},d.xi=function(t){this.oh&&(this.Rh&&(clearInterval(this.Rh),this.Rh=null),t&&this.Na&&(this.Sh||(this.Sh=this.Bi.bind(this)),this.Rh=setInterval(this.Sh,500)))},d.Qh=function(){clearTimeout(this.Ph);var t=!1;this.gh?this.gh.js_getVersion||(t=!0):t=!0,t&&(this.Xh=1e3,this.Oh=!0,this.Ci())},d.Di=function(){if(clearTimeout(this.Uh),!this.Oh){var t=document.getElementById(this.meid);t&&t.js_getVersion?(this.gh=t,this.dispatchEvent("newMediaElement",t),this.mh=!0,this.zi()):this.Ci()}},d.Ei=function(){clearTimeout(this.Uh),clearTimeout(this.Ph)},d.zi=function(){var t,e=this.fileInfo;e&&!this.Oh&&(this.gh.js_getVersion?(this.Ei(),t=e.url,r.moz&&(t=i(t)),t=jbeeb.Utils.absoluteURL(t),this.gh.js_load(t,e.kind),this.wi()):(this.mh=!1,this.Th||(this.Th=this.Di.bind(this)),this.Uh=setTimeout(this.Th,500)))},d.reset=function(t){this.pause(),this.rewind(),this.disableOthers(),this.Vh=0,this.fileInfo=null,this.file=null,this.uh=100,this.vh=!1,this.amMuted?this.setVolume(this.Wh||1):this.setVolume(this.wh),this.xi(0),t&&this.oi()},d.play=function(t,e){this.Vh=0,this.Fi(0),this.disableOthers();var i=!1;t&&t!=this.file&&(this.loadAndPlay(t,e),i=!0),i||(this.Na?this.mh&&this.gh.js_play&&this.gh.js_play():this.gh.paused&&!this.Zh&&this.gh.play()),this.xi(1)},d.stop=function(t){this.reset(t)},d.pause=function(t){this.dispatchEvent("beforePause"),this.gh&&(this.Na?this.mh&&this.gh.js_pause&&this.gh.js_pause():this.gh.paused||this.$h||this.gh.pause()),t?this.Vh=1:this.xi(0)},d.Gi=function(){this.pause(),this.dispatchEvent("disable")},d.Hi=function(){this.dispatchEvent("enable")},d.disableOthers=function(){var t,e,i,s;if(this.Kh){t=this.fh,e=this.meid;for(i in t)s=t[i],i!=e&&s.Gi();this.Hi()}},d.loadAndPlay=function(t,e){this.xi(0),e=e||null,this.dispatchEvent("playpause",1),this.disableOthers(),this.Mh=!0,this.Ii(t,e),this.di(null)},d.prepare=function(t,e){this.amPrepped||this.Ih&&t&&(this.xi(0),this.Mh=!1,this.Ii(t,e)),this.amPrepped=!0},d.Ji=function(t){var e=t.av,i=t.ext,s=0,n=!!jbeeb.Utils.isTrue(m.disableFlash);return r&&!n&&(s="audio"!=e||this.Jh?!this.Ki(t):r.win&&r.ie&&r.version<10||r.opera?this.oh&&p.indexOf(i)>-1:r.chrome||r.safari||r.ios||r.android||r.chromium?0:this.oh&&p.indexOf(i)>-1&&!this.Ki(t)),s},d.Ii=function(t,e){var i,s,n,l;e=e||null,i=h(t,e),this.fileInfo=i,this.file=t,s=this.jh,n="audio"==i.av?"1px":"100%",this.jh=this.kh=n,this.gh&&s!=n&&(l=this.gh.style,l.width=n,l.height=n),this.uh=100,this.vh=!1,this.Vh=0,this.Na=this.Ji(i),this.Na?(this.yi(),this.xi(1)):this.vi(),this.di(null)},d.amHtml=function(){return!this.Na},d.Ki=function(t){return this.nh&&s(u,t.mime)?!("video"==t.av&&r.ie&&r.version<11&&/mp4/gi.test(t.mime)):!this.oh||p.indexOf(t.ext)<=-1},p=["mp3","m4a","aac","mp4","m4v","m4p","m4p","mpg4","mpeg","mpg","mpe","mpv","flv","f4v","f4p","webm","3gp","3gp","3g2"],m.getMediaInfo=h,d.mute=function(t){var e=this.gh,i=0;1==t?(this.Wh=this.wh||1,i=0,this.Na||(e&&(e.volume=i),this.wh=i),this.amMuted=1):(i=this.Wh||1,this.amMuted=0),this.Na?this.mh&&(e&&e.js_setMuteState(t),this.setVolume(i)):(e&&(e.volume=i),this.wh=i,r.ios&&(1==t?this.pause():this.play()))},d.setVolume=function(t){this.wh=t;var e=this.gh;e&&(this.Na?this.mh&&e.js_setVolume&&e.js_setVolume(t):e.volume=t)},d.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"},d.rewind=function(){this.Na&&this.mh&&this.gh.js_rewindPlayerState&&this.gh.js_rewindPlayerState(),this.setPlayheadPercent(0)},d.Fi=function(t){this.ph=t,this.Na&&this.mh&&this.gh.js_setScrubState&&this.gh.js_setScrubState(t)},d.setPlayheadPercent=function(t){var e,i,s;this.ph||this.Fi(1),t>this.qh&&(t=this.qh),t<this.rh&&(t=this.rh),e=t,0>t?t=0:t>1&&(t=1),this.gh&&(this.Na?this.mh&&this.gh.js_setPlayheadPercent&&this.gh.js_setPlayheadPercent(t):(i=this.gh.duration,i&&(i===1/0&&(i=0),s=i*t,s>0?i>s||(s=i):s=0,this.gh.currentTime=s,this.dispatchEvent("update",this.Li())))),this.Fi(0)},d.getPlayerState=function(){return this.sh||{}},d.setPlayerState=function(t){this.sh=t||{}},d.Li=function(){var t,e,i=0,s=0,n=0,h=.02,l="00:00",a=0,o="00:00",r=0,u="00:00",c=!1,d=this.gh;return d.readyState>0&&(i=1,d.paused||(s=1),t=void 0!==d.duration?parseFloat(d.duration):.02,e=void 0!==d.currentTime?parseFloat(d.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),n=e/t,this.ph||t>2&&e>2&&(1>n||(clearTimeout(this.Mi),this.Mi=setTimeout(this.Ah,1e3))),h=t,l=this.niceTime(t||0),a=t-e,o=this.niceTime(a||0),r=e,u=this.niceTime(e||0)),4!=d.readyState&&(c=!0),{init:i,status:s,percent:n,duration:h,duration_nice:l,remaining:a,remaining_nice:o,current:r,current_nice:u,buffering:c}},d.Mi=null,d.getLoadState=function(){return this.th||{loaded:0,percent:0,total:1,status:0}},d.setLoadState=function(t){this.th=t||{}},d.Ni=function(t){var e=0,i=0,s=1,n=this.gh;return parseInt(n.readyState)<0||(300==this.uh?(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.Oi()),0>i?i=0:i>1&&(i=1))),{total:s,percent:i,loaded:e}},d.Oi=function(t){this.uh=300,this.Pi(t)},d._h=function(t){if(!this.Vh){var e=this.Li();this.sh=e,this.ph||this.dispatchEvent("update",e)}this.uh<300&&this.Pi()},d.Pi=function(t){var e=this.Ni(t);this.Qi(e),this.th=e,this.dispatchEvent("loading",e)},d.Bi=function(){var t,e,i;this.Vh||this.mh&&this.gh&&this.gh.js_getStatus&&(t=this.gh.js_getStatus(),e=t.playerState,this.sh=e,this.dispatchEvent("update",e),this.uh<300&&(i=t.loadState,this.Qi(i),this.th=i,this.dispatchEvent("loading",i)))},d.Qi=function(t){t.status=this.uh,200==this.uh&&(t.percent<.999||(this.uh=300)),100==this.uh&&t.percent>0&&t.total>1&&(this.uh=200),this.sh.thinking=this.uh<300?1:0},d.di=function(t){clearTimeout(this.Mi),this.dispatchEvent("launch",this.file)},d.ei=function(t){clearTimeout(this.Mi),this.dispatchEvent("loadStart",this.file)},d.ci=function(t){this.Zh=!0,this.$h=!1,clearTimeout(this.Mi),this.dispatchEvent("start",this.file)},d.bi=function(t){this.Zh=!1,this.$h=!0,clearTimeout(this.Mi),this.dispatchEvent("stop",this.file)},d.ai=function(t){clearTimeout(this.Mi),this.file&&(this.pause(),this.rewind(),this.dispatchEvent("done",this.file))},d.SWFisReady=function(t){this.mh=!0,this.Nh&&this.zi()},d.Ci=function(){var t,e,i;this.xi(0),this.xh&&this.xh.setFullscreenObject(null),this.oi(),this.gh=null,this.mh=!1,t=jbeeb.Utils.clone(this.fileInfo),e=this.file,this.reset(),this.fileInfo=t,this.file=e,this.Mh=!0,i=this.Xh++,i>2?(m.disableFlash=!0,this.Na=!1,this.oh=!1,this.vi()):this.yi(),this.ki()},d.SWFexitFS=function(){this.ji()},d.SWFenterFS=function(){this.ii()},d.SWFvolume=function(t){this.wh=t,this.dispatchEvent("extVolumeChange",t)},d.Ri=d.destroy,d.destroy=function(){this.dispatchEvent("newMediaElement",null),this.removeAllEventListeners(),this.xh.destroy(),this.xh=null,this.gh&&this.oi(),this.fh=m.ch,this.fh[this.meid]=null,delete this.fh[this.meid],this.gh=null,this.Ri()},d.Si=d.setX,d.setX=function(t){this.amFullscreen?this.x=t:this.Si(t)},d.Ti=d.setY,d.setY=function(t){this.amFullscreen?this.y=t:this.Ti(t)},d.Ui=d.setXY,d.setXY=function(t,e){this.amFullscreen?(this.x=t,this.y=e):this.Ui(t,e)},d.Vi=d.setXYWH,d.setXYWH=function(t,e,i,s){this.amFullscreen?(this.x=t,this.y=e,this.width=i,this.height=s):this.Vi(t,e,i,s)},d.Wi=d.setSize,d.setSize=function(t,e){this.amFullscreen?(this.width=t,this.height=e):this.Wi(t,e)},d.Xi=d.setWidth,d.setWidth=function(t){this.amFullscreen?this.width=t:this.Xi(t)},d.Yi=d.setHeight,d.setHeight=function(t){this.amFullscreen?this.height=t:this.Yi(t)},d.toString=function(){return"[MediaController (name="+this.name+")]"},d.type="MediaController",jbeeb.MediaController||(jbeeb.SWFcall=function(t,e,i){var s=jbeeb.MediaController.ch[t];"ended"==e?s.ai(i):"pause"==e?s.bi(i):"play"==e?s.ci(i):"loadstart"==e?s.ei(i):"SWFexitFS"!=e&&"SWFisReady"!=e&&"SWFenterFS"!=e&&"SWFvolume"!=e||s[e](i)},jbeeb.MediaController=m)}(),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.8.29",function(){"use strict";var t,e,i,s,n,h,l,a,o,r,u,c;if(wimpy.Zi={disableFlash:!1,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},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.Zi.defaultPlayer,wimpy.addEventListener=null,wimpy.removeEventListener=null,wimpy.removeAllEventListeners=null,wimpy.dispatchEvent=null,wimpy.hasEventListener=null,jbeeb.EventDispatcher.initialize(wimpy),wimpy.inited,wimpy.$i=null,wimpy._i=null,wimpy.aj=function(t){"ok"==t?wimpy.serverOK=1:wimpy.serverOK=0},wimpy.init=function(){var i=wimpy.bj.bind(wimpy);wimpy.glyphLoader&&0!=e?wimpy.glyphLoader.onReady(i):wimpy.glyphLoader=new jbeeb.FontFaceLoader({family:wimpy.glyphFamily,cssUrl:u+wimpy.glyphCssFile,onReady:i}),t=1},t=0,e=0,i=0,s=0,wimpy.bj=function(){e=1,wimpyButton=new wimpy.WButton,wimpy.$i=new wimpy.PlayerQuery(wimpy.cj.bind(wimpy)),wimpy.$i.init()},wimpy.cj=function(){i=1,wimpy.ka()},wimpy.ka=function(){t&&e&&i&&s&&(wimpy._.ready||(wimpy.dispatchEvent("init"),wimpy._.fire()))},wimpy.cReady=function(){s=1,wimpy.ka()},wimpy.parseAttributes=function(t){return wimpy.PlayerQuery.parseAttributes(t)},wimpy.getPlayer=function(t){return wimpy.playerList[t]||null},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.dj.fire()},!wimpy.inited){wimpy.inited=1,n=new jbeeb.ReadyBoss,wimpy._=n,wimpy.onInit=wimpy._.add.bind(n),h=new jbeeb.ReadyBoss,wimpy.dj=h,wimpy.onReady=wimpy.dj.add.bind(h),wimpy.playerList={},l=wimpy.Zi,a=wimpyConfigs;for(o in l)r=a[o],r||(r=l[o]),"object"==typeof r&&(r=jbeeb.Utils.clone(r)),wimpy[o]=r;u=wimpy.assetsPath?wimpy.assetsPath:wimpy.development?jbeeb.PathInfo.pagePath:jbeeb.PathInfo.scriptPath,c=wimpy.defaultPlayer.skin,c||(wimpy.defaultPlayer.skin=u+"wimpy.skins/_defaultskin.tsv"),c=wimpy.defaultPlayer.coverArt||"coverart.jpg","coverart"==c.substr(0,8)&&(c=u+c),wimpy.defaultPlayer.coverArt=c,wimpy.server="wimpy.php"==wimpy.server?u+wimpy.server:wimpy.server,new jbeeb.TextLoader(wimpy.server+"?o",wimpy.aj.bind(wimpy)),jbeeb.MediaController&&jbeeb.MediaController.configure({swf:u+wimpy.flashFallbackFile,swfVersion:10,fallbackExtensions:wimpy.fallbackExtensions,disableFlash:wimpy.disableFlash,assetsPath:u}),jbeeb.assetsBasePath=u,jbeeb.glyphFamily=wimpy.glyphFamily,jbeeb.glyphCssFile=wimpy.glyphCssFile,jbeeb.flashFallbackFile=wimpy.flashFallbackFile,jbeeb.fallbackExtensions=wimpy.fallbackExtensions,jbeeb.register(wimpy)}}(),function(){function t(t){return unescape(encodeURIComponent(t))}function e(t){for(var e={},i=!0,s=t,h=0;i;)s==t&&h>1?i=!1:s==n.length?s=-1:(e[n[s]]=n[h],h++),s++;return e}function i(e){return t(e.toLowerCase().replace(/[^A-Za-z0-9\.\-]/g,""))}var s,n,h,l,a,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),r=[];for(s=0;s<o.length;s++)r[o[s]]=s;for(n=o.slice(0,62).concat(" -./~^?#&:<>=_%()".split("")),h={},l=0;l<n.length;l++)h[n[l]]=e(l);a=function(e,s){function n(t){d=t,f=0}function l(){var t,e,i;if(!d)return p;for(t=p,e=!0;e;){if(f>=d.length){e=!1;break}if(i=d.charAt(f),f++,r[i]){t=r[i],e=!1;break}if("A"==i){t=0,e=!1;break}}return t}function a(t){return t=t.toString(16),1==t.length&&(t="0"+t),t="%"+t,unescape(t)}function o(t){var e,i,s,h;for(n(t),e="",i=Array(4),s=!1;!s&&(i[0]=l())!=p&&(i[1]=l())!=p;)i[2]=l(),i[3]=l(),e+=a(i[0]<<2&255|i[1]>>4),i[2]!=p?(e+=a(i[1]<<4&255|i[2]>>2),i[3]!=p?e+=a(i[2]<<6&255|i[3]):s=!0):s=!0;h="";try{h=decodeURIComponent(e)}catch(t){h=unescape(e)}return c(u(h,!0))}function u(t,e){var i,s,n=t,h=n.substr(0,1),l=Math.ceil(h/2),a=n.substr(1,n.length),o="";for(i=0;i<a.length;i++)s=e&&i%3?+a.charCodeAt(i)-l:+a.charCodeAt(i)-h,o+=String.fromCharCode(s);return unpackSee=o,o}function c(t){var e,i,s,n,l,a=t.split("|"),o=a[0].split("");if(!a[1])return"";for(e=a[1].split(""),i="",s=0,n=0;n<e.length;n++)l=o[s],h[l]&&(i+=h[l][e[n]]),s++,s>o.length-1&&(s=0);return i}var d,f,b,p=-1;return(e=t(e))?(d=null,f=0,b=o(e),s&&(b+=i(s)),b):e},wimpy.ej=a}(),function(){"use strict";function t(){r?(h=jbeeb[e([8,9.7,11.6,10.4,7.3,11,10.2,11.1])][e([11.2,9.7,11.4,11.5,10.1])](r),l=(h[e([11.2,9.7,11.4,10.1,11,11.6,11.7,11.4,10.8])]||"")+e([11.9,10.5,10.9,11.2,12.1,9.5,11.4,10.1,10.3,4.6,11.6,12,11.6]),a=new(jbeeb[e([8.4,10.1,12,11.6,7.6,11.1,9.7,10,10.1,11.4])])(l,i)):wimpy.fj=0}function e(t){var e,i="";for(e=0;e<t.length;e++)i+=String.fromCharCode(parseInt(10*t[e]));return i}function i(t){var i,l,a,o,r,u,c=1,d=e([10,11.1,10.9,9.7,10.5,11]),f=e([10.8,11.1,9.9,9.7,10.8,10.4,11.1,11.5,11.6]);if(h[d]==f&&(c=0),c)if(/<html|<body/i.test(t))c=1;else if(i=e([11.2,11.4,11.1,11.6,11.1,9.9,11.1,10.8]),l=e([10.4,11.6,11.6,11.2]),t&&h[i].substr(0,4)==l)for(a=s(t),o=0;o<a.length;o++){if(r=n(a[o],h[d])){c=0;break}c=1}else c=0;wimpy.fj=c,u=e([9.9,8.2,10.1,9.7,10,12.1]),wimpy[u]()}function s(t){var i,s,n,h,l=[];if(t&&(t=t.replace(/[^A-Za-z0-9\+\/\=\#\n]/g,"")))for(i=t.split("\n"),s=e([3.5]),n=0;n<i.length&&(h=jbeeb.Utils.trim(i[n]),h&&h.substr(0,1)!=s&&l.push(h),n<=400);n++);return l}function n(t,i,s,n){var h,l,a,o,r,u,c,d,f,b=0;return i&&t&&t.length<150&&(h=i.toLowerCase(),l=wimpy.ej(t,h),a=l.split(">"),o={},o[e([11.4,9.7,11.8,10.1])]=1,o[e([11.9,9.7,11.5,11.2])]=2,o[e([10.9,11.2,5.1])]=3,o[e([9.8,11.7,11.6,11.6,11.1,11])]=4,o[e([11.2,10.5,9.9,10.7,10.8,10.1])]=13,o[e([11.9,10.5,10.9,11.2,12.1])]=42,r=a[0].toLowerCase(),u=+a[1],c=Math.floor(+a[2]),d=14>u,d?h.indexOf(r)>-1&&(b=1):(f=a[4]?a[4].toLowerCase():null,f&&f.indexOf(r)>-1&&(b=1))),b}var h,l,a,o=document[e([10.3,10.1,11.6,6.9,10.8,10.1,10.9,10.1,11,11.6,11.5,6.6,12.1,8.4,9.7,10.3,7.8,9.7,10.9,10.1])](e([11.5,9.9,11.4,10.5,11.2,11.6])),r=null,u=e([11.5,11.4,9.9]);o.length&&(u=o[o.length-1].getAttribute(u),u&&(r=u.split("?")[0])),r||(r=window[e([10.8,11.1,9.9,9.7,11.6,10.5,11.1,11])][e([10.4,11.4,10.1,10.2])]),wimpy.gj=e,t()}(),function(){"use strict";var t=function(t,e,i){this.hj=t,this.ij=new jbeeb.PlaylistManager,this.ij.addEventListener("coverart",this.jj,this),this.ij.addEventListener("playlistReady",this.kj,this),this.setup(e),this.name=e.name,this.lj=i,i.addEventListener("done",this.ai,this),i.addEventListener("update",this.Ec,this),i.addEventListener("loading",this.mj,this)},e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),e.hj=null,e.lj=null,e.ij=null,e.nj=null,e.oj=-1,e.pj=null,e.qj=null,e.rj=1,e.sj=0,e.sh=null,e.tj=0,e.uj=0,e.vj=0,e.wj=0,e.jd=1,e.xj=null,e.wh=null,e.t=null,e.yj=null,e.zj=null,e.Aj=null,e.Bj=null,e.Cj=null,e.Dj=0,e.Ej=null,e.Fj=null,e.Gj=null,e.Hj=0,e.Ij=-1,e.Jj=0,e.Kj=0,e.Lj=0,e.Mj=0,e.loading=-1,e.setup=function(t){this.xj=t.media,this.wh=parseFloat(t.volume)||1,this.t=parseInt(t.loop)||0,this.yj=parseInt(t.random),this.zj=t.autoPlay,this.Aj=t.limitPlayTime?parseFloat(t.limitPlayTime)||0:0,this.Bj=0===parseInt(t.autoAdvance)?0:1,this.Cj=t.sort,this.Dj=1===parseInt(t.sortReverse)?1:0,this.Pb=t.getid3||0,this.Qb=t.getid3image||0,this.Nj=t.startOnTrack||null,t.plugPlaylist&&(this.Fj=t.plugPlaylist,this.Gj=t.plugEvery?parseInt(t.plugEvery):0,this.Hj=t.plugFirst||0,this.Kj=t.plugDisables||0,this.Ej&&(this.Ej.destroy(),this.Ej=null),this.Ej=new jbeeb.PlaylistManager,this.Ej.addEventListener("playlistReady",this.Oj,this)),this.pj={image:"",artist:"",title:"",album:"",file:""},this.Pj(),this.sh={}},e.Pj=function(){this.qj=null,this.qj=[],this.rj=1},e.Qj=null,e.init=function(t){var e=0;t&&this.ij.any()&&(e=1),this.ij.setID3(this.Pb,this.Qb),e&&!this.jd?(this.Qj=1,this.ij.refresh()):(this.jd=1,this.ij.reset(),this.setPlaylist(this.xj),this.setVolume(this.wh))},e.Rj=null,e.jj=function(t){this.Rj=t,this.hj.setCoverArtFallback(t),this.hj.setCoverArt(t)},e.scrub=function(t,e){var i,s=this.lj;"move"==e?(this.tj=1,s.setPlayheadPercent(t)):"start"==e?(0==this.tj&&(this.uj=this.vj,s.pause(!0)),this.tj=1):"end"==e?(s.setPlayheadPercent(t),i=this.uj,1==i?s.play():this.pause(),this.vj=i,this.tj=0):s.setPlayheadPercent(t)},e.Sj=function(){this.sh={buffering:this.sh.buffering,bufferState:this.sh.bufferState,buffer:this.sh.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:0},this.hj.runtime(this.sh,!1),this.hj.setActivity(0)},e.getPlayerState=function(){return this.sh},e.Ec=function(t){this.sh=t,1==t.status||1==this.tj?(this.vj=1,this.hj.runtime(t,this.tj),this.Aj>0&&t.current>this.Aj&&this.ai()):(this.vj=0,this.hj.setActivity(0))},e.mj=function(t){var e,i,s=t.status;this.loading=0,e=this.sj,200>s?0==e&&(e=1):1==e&&(e=0),i=t.percent,300==s?(this.loading=-1,e=0):this.loading=i,1===this.loading&&(e=0),this.sj=e,this.hj.setLoading(this.loading,this.sj)},e.playClick=function(t){var e,i,s;"toggle"==t&&1==this.vj?this.pause():(this.hj.setPlayPauseState(1),e=this.pj,e&&e.file?(i=this.lj.file,s=e.file,i&&s&&i==s?this.Tj(e):this.Uj(e)):this.nj&&this.Vj())},e.pause=function(){this.vj=0,this.lj.pause(),this.hj.setPlayPauseState(0)},e.Tj=function(){this.vj=1,this.lj.play(),this.hj.setPlayPauseState(1)},e.setTrackData=function(t){var e=t?this.ij.normalizeTrackData(t):{i:-1};return this.pj=e,e},e.setCurrentPlayingI=function(t){this.pj.i=t},e.Wj=function(t){var e,i,s,n=this.nj;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.pj):(e=this.nj,e?(i=e.length,1>i?this.pj?(s=jbeeb.Utils.clone(this.pj),s.i=-1,s):null:(t>i-1&&(t=i-1),0>t&&(t=0),jbeeb.Utils.clone(e[t]))):e)},e.Uj=function(t,e){var i,s=this.hj,n=this.lj;n.toFront(),this.vj=1,i=this.setTrackData(t),this.hj.setInfo(i),n.loadAndPlay(i.file,i.kind),this.hj.handleScreen(i),n.setVolume(this.wh),this.wj&&n.mute(this.wj),e!==!0&&this.hj.playlistScrollTo(this.oj,!0),this.jd=0,s.setPlayPauseState(1)},e.rewind=function(t){var e,i,s,n=this.vj;return this.lj.rewind(),this.hj.rewindScrubber(),e=jbeeb.Utils.isTrue,e(t)&&this.nj?(i=0,s=parseInt(this.sh.current),s>3&&(i=1),i?n?this.Tj():this.pause():this.Vj(!1,!0),1):(n?this.Tj():this.pause(),this.Sj(),void this.hj.handleScreen(this.pj))},e.next=function(){this.Vj()},e.setVolume=function(t,e,i){"start"==e&&1==this.wj&&(this.wj=0,this.hj.setMuteState(this.wj)),this.wh=t,i||this.lj.setVolume(t)},e.getVolume=function(){return this.wh},e.setMuteState=function(t){this.wj=t,this.lj.mute(t)},e.getMuteState=function(){return this.wj},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.yj=t},e.getRandomState=function(){return this.yj||0},e.playlistLoadItem=function(t){var e=this.Xj(t),i=this.nj[e];i&&(this.oj=e,this.ij.isPlaylist(i.file,i.kind)?this.ij.load(i.file,i.kind,i.image):this.Uj(i))},e.playlistBack=function(){this.ij.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.Lj=e,this.Mj=this.vj,this.oj=e-1,"string"==typeof t&&"{"==t.substr(0,1)&&(n=jbeeb.Utils.parseJSON(t),n&&(t=n.file,h=n.kind,l=this.ij.isPlaylist(t,h),l?i=h:(t=[n],i=null))),this.ij.load(t,i,s)},e.appendPlaylist=function(t,e,i){"string"==typeof t&&"{"==t.substr(0,1)&&(t=[jbeeb.Utils.parseJSON(t)]),t=this.ij.validate(t),this.nj||(this.nj=[]),jbeeb.Utils.isNumber(e)?e-=1:e=this.nj.length,e>this.nj.length&&(e=this.nj.length),jbeeb.Utils.arrayInsertArrayAt(this.nj,e,t),this.Mj=this.vj,this.kj(this.nj),i&&this.playlistLoadItem(e)},e.Yj=function(){this.Ij=this.Ij+1,this.Ij=this.yg(this.Ij,this.Fj),this.Jj=0;var t=this.Fj[this.Ij];this.Kj&&this.hj.disableControls(),this.Uj(t)},e.Oj=function(t){this.Ej.removeEventListener("playlistReady",this.Oj,this),this.Fj=jbeeb.Utils.clone(t);var e=this.jd;this.Ij=-1,this.Jj=this.Hj?this.Gj:1,e&&this.Hj&&this.zj&&this.Vj()},e.kj=function(t){var e,i,s,n,h,l,a,o,r,u,c=jbeeb.Utils.clone(t);if(c=this.Zj(c),e=this.jd,e||1==this.Qj||(this.oj=-1,this.Nj=null),e&&(this.oj=null!==this.Nj?this.Nj-2:-1),this.nj=c,this.hj.renderPlaylist(c),this.Qj&&(this.Qj=0,this.hj.playlistScrollTo(this.oj,!0),this.hj.setInfo(this.pj),this.hj.setActivity(0)),this.dispatchEvent("playlistReady",c),i=1,e&&this.Hj&&(i=0),this.Ej&&this.Ej.load(this.Fj),this.Pj(),s=!0,i&&(n=!1,e&&!this.Hj&&this.zj&&(this.playClick(),s=!1,n=!0),!n&&jbeeb.Utils.isNumber(this.Lj)&&(this.oj=this.Lj-1,this.Vj(),s=!1,this.Lj=!1),this.Mj&&(h=this.pj,l=this.Wj(h),l?(this.pj=jbeeb.Utils.clone(l),this.oj=l.i,this.hj.playlistScrollTo(this.oj,!0)):(a=0,h&&h.file&&h.i!=-1&&(this.oj=h.i,h.i=-1,a=1),a||(this.oj=-1))),this.Mj=0),s&&(o=c.length,!this.lj.amPrepped))for(r=0;o>r;r++)if(u=c[r],u&&!u.amPlaylist&&u.file){this.lj.prepare(u.file);break}},e.Zj=function(t){var e,i,s,n,h,l,a,o,r=this.Cj;if(r){if(s=jbeeb.Utils.clone(t),n=this.Nj,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.Dj,a)),l)for(e=0;e<s.length;e++)if(o=s[e],o.file==l.file){this.Nj=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.Cj="none"==t?null:t,this.Dj=e?1:0,this.nj&&(this.nj=this.Zj(this.nj),this.$j(!0))},e.$j=function(t){var e,i,s,n;if(this.nj&&(this.hj.renderPlaylist(this.nj),t&&(this.pj&&(e=this.pj.file),i=0,e))){for(s=0;s<this.nj.length;s++)if(n=this.nj[s],n.file==e){i=s;break}this.hj.playlistScrollTo(i),this.hj.setInfo(this.pj)}},e.yg=function(t,e){var i=e.length;return i>t||(t=0),0>t&&(t=i-1),t},e.Xj=function(t){return this.yg(t,this.nj)},e.Vj=function(t,e){var i,s,n,h,l,a,o,r,u,c,d,f=!1,b=this.t;if(this.Ej&&(this.Jj<1&&this.Kj&&this.hj.enableControls(),this.Jj++,this.Jj>this.Gj&&(this.Yj(),f=!0)),!f&&(0===this.Bj&&1==t&&(this.reset(),this.pause(),f=!0),!f&&(s=null,this.nj))){if(0===b||2===b)if(this.yj){if(n=0,this.qj.length<1){for(this.qj=null,this.qj=[],h=this.Nj,l=null!==h,l&&(h=parseInt(h)-1),i=0;i<this.nj.length;i++)a=0,this.nj[i].amPlaylist&&(a=1),l&&i===h&&(a=1),a||this.qj.push(i);this.qj=jbeeb.Utils.arrayShuffle(this.qj),l&&(this.qj.unshift(h),this.Nj=null),n=1}s=n&&0===b&&0==this.rj&&t?null:this.qj.shift(),n&&(this.rj=0)}else o=!0,r=0,this.oj<this.nj.length-1||(r=1,this.dispatchEvent("playlistComplete")),0===b&&r&&t&&(o=!1),s=o?e?this.Xj(--this.oj):this.Xj(this.pj.i==-1?this.oj:++this.oj):null;else t||(e?this.oj=this.Xj(--this.oj):this.oj=this.Xj(this.pj.i==-1?this.oj:++this.oj)),s=this.oj;if(null===s)this._j();else if(u=this.nj[s])if(u.amPlaylist){for(c=0,d=this.nj.length,i=0;d>i&&(s++,s<d);i++)if(u=this.nj[s],u&&!u.amPlaylist){c=1;break}c&&this.playlistLoadItem(s)}else this.playlistLoadItem(s)}},e.getPlaylist=function(){return this.nj},e.refreshPlaylist=function(){this.$j(!0)},e._j=function(){this.setTrackData(null),this.oj=0,this.hj.rewindPlaylist(this.nj,this.Rj)},e.reset=function(t){this.pause(),this.rewind(),this.lj.stop(t),this.hj.setCoverArt(this.pj.image)},e.ai=function(){1===this.t?(this.rewind(),this.lj.amHtml()?this.Tj():new jbeeb.DelayCall(this.Tj.bind(this),1)):(this.reset(),0===this.Bj?new jbeeb.DelayCall(this.reset.bind(this),100):this.nj&&new jbeeb.DelayCall(this.Vj.bind(this),100,!0))},e.getPlaying=function(){return this.vj},e.getIndex=function(){return this.oj},e.setIndex=function(t){t=t||this.oj,t>this.nj.length?t=this.nj.length-1:0>t&&(t=0),this.oj=t},e.setLimitPlayTime=function(t){this.Aj=parseFloat(t)||0},e.destroy=function(){this.hj=null,this.lj=null,this.ij.destroy(),this.ij=null,this.nj=null,this.pj=null,this.qj=null,this.sh=null,this.wh=null,this.t=null,this.yj=null,this.zj=null,this.Aj=null,this.Bj=null,this.Cj=null,this.Dj=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.ak(t),this.bk.target||(this.stage=new jbeeb.Stage({target:this.bk.target||null,inline:this.bk.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.bk=null,e.ck=null,e.lj=null,e.dk=null,e.ek=!1,e.fk=null,e.gk=null,e.hk=null,e.ik=null,e.jk=null,e.kk=null,e.lk=null,e.mk=null,e.nk=null,e.ok=null,e.pk=null,e.qk=null,e.rk=null,e.sk=null,e.tk=null,e.uk=0,e.vk=null,e.wk="contain",e.xk=null,e.yk=null,e.zk=null,e.Ak=null,e.Bk=1,e.stage=null,e.ready=0,e.onoff=0,e.id=null,e.playpause=0,e.type="Player",e.Ck=null,e.Dk=null,e.Ek=0,e.Fk=null,e.Gk=null,e.Hk=null,e.Ik=null,e.Jk=null,e.Se=null,e.store={},e.created=null,e.Kk=null,e.Lk=null,e.Mk=null,e.width=0,e.height=0,e.Nk=!1,e.Ok=null,e.ak=function(t){var e,i,s,n,h,l,a,o,r,u,c,d,f;if(t&&t.disableControls&&(this.Kk=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.wk=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.Nk=s,this.Ok={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.zk?l=this.zk:(l=e.target,"string"==typeof l?(this.Ak=l,l=this.zk=document.getElementById(l)):(this.zk=l,this.Ak=l?l.id:null)),this.Pk&&this.Pk.destroy(),this.Ck=-1,this.Dk=-1,this.Mk=0,this.Qk=0,this.Rk(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.Qk=1,this.Sk=this.Tk.bind(this),this.Pk=new jbeeb.Observer(l,this.Sk,["display","width","height"],50,!0)),this.Mk=1)),this.id||(d=l?l.id||jbeeb.getUID():jbeeb.getUID(),this.id=d,t&&(this.name=t.name||"")),this.Se=e.numberTracks||0,this.created||(this.created=new Date,wimpy.playerList[this.id]=this),this.ok=e.timeFormat.split(""),this.pk=(""+e.infoFormat).split(""),this.qk=this.Uk(e.startUpText),this.rk=parseInt(e.infoScroll),f=e.coverArt||wimpy.defaultPlayer.coverArt,"coverart"==f.substr(0,8)&&(f=wimpy.assetsPath+f),this.vk=f,this.yk=0,this.bk=e},e.Rk=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.Pk=null,e.Qk=null,e.Sk=null,e.Tk=function(){var t,e;this.zk||(this.zk=document.getElementById(this.Ak)),this.hk&&(t=this.zk.offsetWidth,e=this.zk.offsetHeight,t>0&&e>0&&(this.Ck==t&&this.Dk==e||(this.setSize(t,e),this.Ck=t,this.Dk=e,this.tk&&this.tk.resize(t,e))))},e.Vk=null,e.Wk=function(){var t,e;this.zk&&(this.Vk||(t=document.createElement("span"),e=t.style,e.display="inline-block",e.height="100%",e.verticalAlign="middle",e.marginRight="-0.25em",this.zk.insertBefore(t,this.zk.childNodes[0]),this.Vk=t),e=this.zk.style,e.textAlign="center",e.whiteSpace="nowrap"),e=this.stage.style,e.display="inline-block",e.verticalAlign="middle",e.textAlign="center"},e.Xk=function(){this.Vk&&(this.zk.removeChild(this.Vk),this.Vk=null)},e.repaint=function(){this.Mk?this.Tk():this.setSize(this.stage.width,this.stage.height),this.showCoverart()},e.init=function(){var t;this.stage||(this.stage=new jbeeb.Stage({target:this.bk.target||null,inline:this.bk.inline})),this.hk=0,this.ready=0,t=new jbeeb.MediaController({x:0,y:0,w:1,h:1,name:"WP",disableFlash:this.bk.disableFlash,allowOthers:this.bk.allowOthers}),t.addEventListener("launch",this.Yk,this),t.addEventListener("start",this.Zk,this),t.addEventListener("stop",this.$k,this),t.addEventListener("done",this.ai,this),t.addEventListener("enable",this.enable,this),t.addEventListener("disable",this.disable,this),t.addEventListener("playpause",this._k,this),t.addEventListener("beforePause",this.al,this),t.addEventListener("extVolumeChange",this.cl,this),t.addEventListener("newMediaElement",this.el,this),this.lj=t,this.stage.addChild(t),t=new wimpy.AbsPlayer(this,this.bk,this.lj),t.addEventListener("playlistReady",this.kj,this),t.addEventListener("playlistComplete",this.fl,this),this.ck=t,this.gl()},e.kj=function(t){this.dispatchEvent("playlistReady",t)},e.fl=function(){this.dispatchEvent("playlistComplete",this)},e.rewindPlaylist=function(t,e){this.playlistScrollTo(0,!0),this.setCoverArt(e||this.vk),this.setInfo(this.qk)},e.Yk=function(t){var e=this.ck.getTrackData();this.dispatchEvent("launch",e)},e.Zk=function(t){var e=this.ck.getTrackData();this.dispatchEvent("play",e)},e.$k=function(t){var e=this.ck.getTrackData();this.dispatchEvent("pause",e)},e.ai=function(t){var e=this.ck.getTrackData();setTimeout(function(t,e){return function(){t.dispatchEvent("done",e)}}(this,e),200)},e.gl=function(){this.gk=new jbeeb.Skin({target:this.stage,onComplete:this.hl.bind(this),url:this.bk.skin||wimpy.defaultPlayer.skin})},e.il=null,e.jl=function(){this.il&&(this.il.cancel(),this.il=null),this.Ek++,this.gk.load(wimpy.fallbackSkin)},e.kl=function(){var t;this.Ek>1?this.Ek>2||(t=wimpy.fallbackSkin):t=wimpy.defaultPlayer.skin,this.gk.load(t)},e.hl=function(t){var e,i,s,n,h,l,a,o,r,u,c,d,f,b,p,m,g,y,v,j,w,k,x,S;if(this.Ek++,!t)return void new jbeeb.DelayCall(this.kl.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.gk.controls[s.name]&&(n=jbeeb.Utils.clone(this.gk.styles[s.name]),n.type!=s.type&&(this.gk.removeObject(this.gk.controls[s.name]),this.gk.controls[s.name]&&this.gk.controls[s.name].destroy(),n.type=s.type,this.gk.addObject(n)));h=this.gk.controls,l=this.gk.controlsList,this.dk=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.ll:"pause"==r?u=this.ml:"stop"==r?u=this.nl:"next"==r?u=this.ol:"rewind"==r?u=this.pl:"volume"==r?u=this.ql:"volumeKnob"==r?u=this.rl:"mute"==r?u=this.sl:"random"==r?u=this.ul:"loop"==r?u=this.vl:"fullscreen"==r?u=this.wl:"plScrollUp"==r?u=this.xl:"plScrollDown"==r?u=this.yl:"plBack"==r?u=this.zl:"help"==r&&(u=this.Al),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,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);for(f=h.cmp_scrubber,f?(f.addEventListener("change",this.Mg,this),this.xk=f,d="scrub timeline",c=f.thumb.element,c.title=c.alt=d,c=f.track.element,c.title=c.alt=d):this.xk=!1,f=h.cmp_volume,f&&(f.setInverted(0),f.addEventListener("change",this.ql,this),d="adjust volume",c=f.thumb.element,c.title=c.alt=d,c=f.track.element,c.title=c.alt=d),f=h.cmp_volumeKnob,f&&(f.addEventListener("change",this.ql,this),d="adjust volume",c=f.element,c.title=c.alt=d),f=h.cmp_playlist,f&&f.setCallback&&(f.setCallback(this.Bl.bind(this)),f.setCallbackMore(this.Cl.bind(this)),f.setCallbackDownload(this.Dl.bind(this)),b=h.cmp_plScroll,b&&(b.setUsePaging(1),f.setScrollbar(b)),f=h.cmp_plScrollUp,f&&f.addEventListener("mouseRepeat",this.xl,this,1),f=h.cmp_plScrollDown,f&&f.addEventListener("mouseRepeat",this.yl,this,1)),f=h.cmp_cover,f&&(this.lj.setXYWH(f.x,f.y,f.width,f.height),this.sk=f),!h.cmp_play||h.cmp_pause||h.cmp_stop?this.ek=!1:this.ek=!0,f=h.cmp_coverPlayPause,f&&(p=this.sk,p?(m=this.gk.addObject({type:"Container",name:"screenPPwrapper",x:p.x,y:p.y,w:p.width,h:p.height}),m.toFront(),m.addChild(f),m.playPause=f,f.center()):m=f,u=this.El,m.addMEL("mouseDown",u,this,!1,1),m.addMEL("mouseUp",u,this,!1,0),p&&(this.fk=m,m.addMEL("mouseMove",this.Fl,this,!1,0))),g=[h.cmp_info_title,h.cmp_info_artist,h.cmp_info_album,h.cmp_time],i=0;i<g.length;i++)f=g[i],f&&(f.setOverflow("hidden"),f.setMouseEnabled(0));f=h.cmp_time,this.nk=!!f&&f,f=h.cmp_fakeEQ,this.tk=!!f&&f,f?f.initGraphicEq(this,this.Nk,this.Ok):this.Nk&&h.eq&&(y=this.Ok||{},v=new wimpyGraphicEq({player:this,target:h.eq,renderer:this.Nk,rendererOpts:{},smoothing:y.smoothing,bands:y.bands,scale:y.scale,bassDamp:y.bassDamp})),j=parseFloat(this.bk.width),w=parseFloat(this.bk.height),this.stage.setPin("tl"),k=this.gk.width,x=this.gk.height,S=parseFloat,j>0&&w>0&&k>0&&x>0&&this.stage.stretch(S(j)/k,S(w)/x),this.hk=1,this.Gl("w"),this.width=this.stage.width,this.height=this.stage.height,this.dispatchEvent("skinReady")},e.Gl=function(t){!this.hk||1!==wimpy.fj&&0!==wimpy.fj||(this.Hl(),this.Il())},e.Hl=function(){var t,e=this.dk,i=parseFloat(this.bk.volume)||1;this.setVolume(i),this.setLoopState(parseInt(this.bk.loop)),this.setRandomState(parseInt(this.bk.random)),e&&(t=e.cmp_playlist,t&&(t.setGlyphs(this.bk.glyphs),t.enableLink(this.bk.linkEnable,this.bk.linkWindow),this.kk=this.bk.linkWindow||"_blank",t.enableDownload(this.bk.downloadEnable,this.bk.downloadWindow),this.ik=this.bk.downloadWindow||"_blank",t.setNumberTracks(this.Se))),this.setCoverArt(this.bk.coverArt),t=e.cmp_info,t&&(this.bk.infoScroll?t.start(this.bk.infoSpeed):t.stop()),this.setInfo(this.qk),this.Kk&&this.disableControls(this.Kk),this.Mk&&this.Tk(),this.Qk?this.Xk():this.Wk(),this.runtime({},0)},e.Jl=function(){var t,e=this.fk;e&&(t=this.sk,e.setXYWH(t.x,t.y,t.width,t.height)),this.Kl()},e.Ll=function(){if(!this.Fk){var t=new jbeeb.Rube({x:0,y:0,w:50,h:20,fill:{color:"#000000",alpha:.5},stroke:{weight:1,color:"#FFFFFF",alpha:.5},text:wimpy.gj([6.8,6.9,7.7,7.9]),textScale:.6,textFit:"wh",textColor:"#FFFFFF"});t.addMEL("mouseDown",this.Ml,this),this.Fk=t,this.stage.addChild(t)}this.Kl()},e.Kl=function(){var t,e,i,s,n,h,l,a=this.Fk;a&&(t=50,e=20,i=this.stage.width,s=this.stage.height,(t>i||e>s)&&(n=t/i,h=e/s,l=n>h?n:h,t/=l,e/=l),a.setSize(t,e),a.center("h"),a.toFront())},e.Nl=function(){this.Fk&&this.Fk.destroy(),this.Fk=null},e.Ml=function(){var t=wimpy.gj([8.5,11.6,10.5,10.8,11.5]),e=wimpy.gj([10.8,10.5,11,10.7]),i=wimpy.gj([10.4,11.6,11.6,11.2,5.8,4.7,4.7,11.9,11.9,11.9,4.6,11.9,10.5,10.9,11.2,12.1,11.2,10.8,9.7,12.1,10.1,11.4,4.6,9.9,11.1,10.9]),s=wimpy.gj([9.5,9.8,10.8,9.7,11,10.7]);jbeeb[t][e](i,s),this.Nl()},e.Il=function(){if(!this._.ready){this.ready=1,this.yk&&this.setVolume(this.Bk),this.ck.init(this.yk),this.yk=0,this.Ol(),1===wimpy.fj&&this.Ll(),this._.fire(),this.dispatchEvent("ready");var t=this.fk;t&&t.toFront()}},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.xk;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.dk,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.nk){for(a="",o=0,r=0;r<this.ok.length;r++)u=this.ok[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.sh=t,this.uk<1&&this.setActivity(1),this.dispatchEvent("runtime",this,this.uk,t,e)},e.setActivity=function(t){this.uk=t;var e=this.tk;e&&e.setState(t),this.dispatchEvent("activity",t)},e.disable=function(){this.onoff=0,this.ck.pause(),this.setActivity(-1),this.dispatchEvent("disabled")},e.enable=function(t){this.onoff=1,this.dispatchEvent("enabled")},e.Pl=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.Pl(1,t)},e.disableControls=function(t){this.Pl(0,t)},e.El=function(t,e,i){var s=t.playPause||t;this.ll(s,e,i,!0),0==i&&(s.setAlpha(1),this.Ik&&(jbeeb.Animate.cancel(this.Ik),this.Ik=null),jbeeb.Browser.ie?t.playPause.setAlpha(0):this.Ik=jbeeb.Animate.to(s,{alpha:0},500,0,0))},e.Fl=function(t,e,i){this.Ql()},e.Rl=function(t,e,i){this.Sl()},e.handleScreen=function(t){var e,i,s,n;this.sk&&(e=this.lj,i=e.fileInfo,i&&(s=i.av,"video"==s?(e.toFront(),this.hideCoverart()):(e.toBack(),n=t.image||t.cover||t.coverArt||t.coverart||this.Jk||this.vk,this.setCoverArt(n)),this.Sl()))},e.Ql=function(){var t=this.fk;t&&(this.Ik&&(jbeeb.Animate.cancel(this.Ik),this.Ik=null),this.Gk&&(this.Gk.cancel(),this.Gk=null),t.playPause.setAlpha(1),this.Gk=new jbeeb.DelayCall(this.Rl.bind(this),1e3))},e.Sl=function(t){var e=this.fk;e&&(jbeeb.Browser.ie?e.playPause.setAlpha(0):(this.Hk&&jbeeb.Animate.cancel(this.Hk),this.Hk=jbeeb.Animate.to(e.playPause,{alpha:0},500,1)))},e.Tl=function(t){var e=this.fk;e&&e.toFront(),e=this.Fk,e&&e.toFront()},e.ll=function(t,e,i,s){var n,h;this.Ul=e.event,1==i?(n=1,(this.ek||s)&&(h=this.ck.getPlaying(),h&&(n=0)),1==n?this.ck.playClick(this.ek?"toggle":null):this.ck.pause(),t.setState(1)):t.setState(0)},e._k=function(t){this.setPlayPauseState(t)},e.setPlayPauseState=function(t){var e,i;this.playpause=t,e=this.dk,e&&(this.ek&&(i=e.cmp_play,i&&(1==t?i.setText("q"):i.setText("p"))),i=this.fk,i&&(1==t?i.playPause.setText("q"):i.playPause.setText("p"),this.Tl()),1!=t&&this.setActivity(-1))},e.ml=function(t,e,i){1==i?(this.ck.pause(),t.setState(1)):t.setState(0)},e.nl=function(t,e,i){1==i?(this.Vl(),t.setState(1)):t.setState(0)},e.Vl=function(t){this.ck.reset(t),this.setInfo(this.qk)},e.ol=function(t,e,i){1==i?(this.ck.next(),t.setState(1)):t.setState(0)},e.pl=function(t,e,i){1==i?(this.ck.rewind(!0),t.setState(1)):t.setState(0)},e.ql=function(t,e){this.ck.setVolume(t,e)},e.sl=function(t,e,i){if(1==i)t.setState(1);else{t.setState(0);var s=this.ck.getMuteState();s=s?0:1,this.setMuteState(s)}},e.setMuteState=function(t){var e=this.dk.cmp_mute;e&&(t?e.setState(1,"m"):e.setState(0,"M")),this.ck.setMuteState(t)},e.ul=function(t,e,i){if(1==i)t.setState(1);else{t.setState(0);var s=this.ck.getRandomState();s=s?0:1,this.setRandomState(s)}},e.setRandomState=function(t){var e,i=this.dk;i&&(e=i.cmp_random,e&&(t?e.setState(1):e.setState(0))),this.ck.setRandomState(t)},e.vl=function(t,e,i){var s,n;1==i?t.setState(1):(s=this.ck.getLoopState(),n=this.ck.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.dk;i&&(e=i.cmp_loop,e&&(1==t?e.setState(1,"L"):2==t?e.setState(1,"l"):e.setState(0,"l")),this.ck.setLoopState(t))},e.wl=function(t,e,i){0===i&&this.lj.setFullscreen(1)},e.xl=function(t,e,i){if(1==i){this.dk.cmp_playlist.scrollOne(-1),t.setState(1)}else t.setState(0)},e.yl=function(t,e,i){if(1==i){this.dk.cmp_playlist.scrollOne(1),t.setState(1)}else t.setState(0)},e.zl=function(t,e,i){1==i?(this.ck.playlistBack(),t.setState(1)):t.setState(0)},e.Bl=function(t,e){this.ck.playlistLoadItem(e)},e.Cl=function(t){"function"==typeof this.lk?this.lk(t):t.link&&window.open(t.link,this.kk),this.dispatchEvent("link",t)},e.Dl=function(t){"function"==typeof this.jk?this.jk(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.dk.cmp_playlist;n&&(i=this.ck.getPlaylist(),i&&(s=i.length-1,t="alpha"==t?0:"omega"==t?s:"playing"==t?this.ck.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.dk;i&&(e=i.cmp_playlist,e&&e.setList&&e.setList(t))},e.setDownloadHandler=function(t){this.jk=t},e.setLinkHandler=function(t){this.lk=t},e.Mg=function(t,e){this.ck.scrub(t,e);
},e.rewindScrubber=function(t,e){var i=this.xk;i&&i.setValue(0,!0)},e.setCoverArtFallback=function(t){this.vk=t},e.setCoverArt=function(t){var e,i=this.sk;i&&(e=this.Jk=t||this.Jk||this.vk,e&&(i.setImage(e,this.wk),i.toFront()),this.Tl())},e.hideCoverart=function(){var t=this.sk;t&&t.setImage("")},e.showCoverart=function(){this.setCoverArt(this.Jk)},e.Al=function(t,e,i){1==i?t.setState(1):t.setState(0)},e.toString=function(){return'[Player id="'+this.id+'" name="'+(this.name||"")+'"]'},e.getTrackDataset=function(t){return this.ck.getTrackData(t)},e.Uk=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.Wl(this.Uk(t))},e.Wl=function(t){var e,i,s,n,h,l,a,o,r,u,c,d,f=this.dk;if(f&&(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.qk||(this.qk={title:""}),l=this.qk.title,a=f.cmp_info_title,a&&a.setText(e||l),a=f.cmp_info_artist,a&&a.setText(i||" "),a=f.cmp_info_album,a&&a.setText(s||" "),a=f.cmp_info)){if(e||i||s){if(o=this.pk,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;a.setText(n)}},e.getLoading=function(){return this.ck.loading},e.setLoading=function(t,e){var i=this.xk;i&&i.loader.update(t),i=this.dk.cmp_thinker,i&&i.setState&&i.state!=e&&i.setState(e)},e.play=function(t){t&&this.ck.setTrackData(t),this.ck.playClick(null,!0)},e.pause=function(){this.ck.pause()},e.stop=function(t){this.Vl(t)},e.gotoTrack=function(t){this.ck.playlistLoadItem(parseInt(t)-1)},e.next=function(){this.ck.next()},e.prev=function(){this.ck.rewind(!0)},e.rewind=function(t){jbeeb.Utils.isTrue(t)?this.ck.reset():this.ck.rewind(!1)},e.getPosition=function(){var t,e=this.sh;return e&&(t=e.percent,!jbeeb.Utils.isNumber(t))?0:t},e.setPosition=function(t,e){this.ck.scrub(t,e);var i=this.dk.cmp_scrubber;i&&i.setValue(t,!0)},e.setTime=function(t){var e=this.sh.duration,i=t/e;this.setPosition(i)},e.getTime=function(){return this.sh.current},e.getVolume=function(){return this.ck.getVolume()},e.setVolume=function(t){this.ck.setVolume(t,"start"),this.Xl(t)},e.Xl=function(t){var e,i=this.dk;i&&(e=i.cmp_volume,e&&e.setValue(t,!0),e=i.cmp_volumeKnob,e&&e.setValue(t,!0))},e.cl=function(t){this.ck.setVolume(t,"start",!0),this.Xl(t)},e.getMute=function(){return this.ck.getMuteState()},e.setMute=function(t){this.setMuteState(t)},e.getLoop=function(){return this.ck.getLoopState()},e.setLoop=function(t){this.setLoopState(t)},e.getRandom=function(){return this.ck.getRandomState()},e.setRandom=function(t){this.setRandomState(t)},e.getPlaylist=function(){return this.ck.getPlaylist()},e.refreshPlaylist=function(){return this.ck.refreshPlaylist()},e.setPlaylist=function(t,e,i,s){this.ck.setPlaylist(t,e,i,s)},e.appendPlaylist=function(t,e,i){this.ck.appendPlaylist(t,e,i)},e.clearPlaylist=function(){this.ck.setPlaylist([],!1,"js")},e.removePlaylistItems=function(t,e){var i,s,n,h,l=this.ck,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.Yl.bind(this),100,o),r},e.Yl=function(t){this.ck.setPlaylist(t,!1,"js")},e.refreshPlaylist=function(t){var e=this.dk.cmp_playlist;e&&e.refresh(t),this.playlistScrollTo(t,!0),this.ck.setIndex(t)},e.getSkinElement=function(t){return this.gk.controls[t]},e.setSkin=function(t,e){this.Bk=this.ck.getVolume(),this.hk=0,this.ready=0,this._.cancel(),this.Zl(),this.yk=1,e||(this.bk.width=null,this.bk.height=null),this.gk.load(t||wimpy.defaultPlayer.skin)},e.Zl=function(){var t,e=this.xk;e&&(e.destroy(),this.xk=null),e=this.fk,e&&(e.destroy(),this.fk=null),e=this.nk,e&&(e.destroy(),this.nk=null),e=this.tk,e&&(e.destroy(),this.tk=null),e=this.Fk,e&&(e.destroy(),this.Fk=null),e=this.sk,e&&(e.destroy(),t=this.lj,t&&t.setXYWH(0,0,1,1),this.sk=null)},e.reset=function(t){var e,i,s;t=t||{},this._.cancel(),this.ready=0,this.Ek=0,e=this.gk.url,i=jbeeb.Utils.clone(t),this.ak(i),this.ck.setup(this.bk),e!=i.skin?(s=i.width&&i.height?1:0,this.setSkin(i.skin,s)):(this.dispatchEvent("skinReady"),this.Gl())},e.Ol=function(){this.setLoading(-1,0),this.setPlayPauseState(this.ck.getPlaying()),this.setVolume(this.ck.getVolume()),this.handleScreen(this.ck.getTrackData())},e.$l=null,e.hide=function(){this.pause();var t=this.stage.element.style;this.$l=t.display,t.display="none"},e.show=function(){var t=this.stage.element.style;this.$l&&"none"!=this.$l?t.display=this.$l:"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.Jl(),this.width=this.stage.width,this.height=this.stage.height,this.dispatchEvent("resize",this)},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.gk.rawData},e.getSkin=function(){return this.gk},e.getControls=function(){return this.dk},e.getStatus=function(){var t,e,i;return this.sh.activity=this.uk,t=this.ck.getPlaying(),this.sh.playing=t,this.sh.enabled=this.onoff,t?(e=this.sh.duration<=1,i=!e):(e=!1,i=!1),this.sh.stopped=e,this.sh.paused=i,this.sh},e.getPlaying=function(){return this.ck.getPlaying()},e.getStopped=function(){return this.ck.getPlaying()?0:this.onoff?this.sh.duration>1?1:2:3},e.sort=function(t,e){this.ck.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.hk&&this.dispatchEvent("skinReady")),n},e.removeListener=function(t,e,i){t&&e&&this.removeEventListener(t,e,i)},e.destroy=function(){this.Pk&&(this.Pk.destroy(),this.Pk=null),this.Sk=null,this._.destroy(),this._=null,this.removeAllEventListeners(),this.Nl(),this.Ik&&(jbeeb.Animate.cancel(this.Ik),this.Ik=null),this.Hk&&jbeeb.Animate.cancel(this.Hk),this.Gk&&(this.Gk.cancel(),this.Gk=null),this.ck.destroy(),this.ck=null,this.lj.destroy(),this.lj=null,this.Zl(),this.dk=null,this.gk.destroy(),this.gk=null,this.stage.destroy(),this.stage=null,this.bk=null},e._l=null,e.setAnimate=function(t,e){t?(this.stage.animateAll(t,e),this._l&&this._l.cancel(),this._l=new jbeeb.DelayCall(this.am.bind(this),t)):this.stage.cancelAnimation()},e.setEqRenderer=function(t){var e=this.tk;e&&e.setRenderer(t)},e.am=function(){this.stage.cancelAnimation()};e.setLimitPlayTime=function(t){this.ck.setLimitPlayTime(t)};e.center=function(t){this.stage.center(t)},e.getMediaController=function(){return this.lj},e.getMediaElement=function(){return this.lj.getMediaElement()},e.el=function(t){this.dispatchEvent("mediaElementChange",t)},e.al=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.bm=t},e=t.prototype;e.addEventListener=null,e.removeEventListener=null,e.removeAllEventListeners=null,e.dispatchEvent=null,e.hasEventListener=null,jbeeb.EventDispatcher.initialize(e),t.cm=[],t.dm={},e.bm=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.dm=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.cm.indexOf(o)>-1&&(o+=jbeeb.getUID(),a.id=o),r=h(a),t.cm.push(o),r.target=o,wimpy.playerList[o]=new wimpy.Player(r,!0);this.bm(),jbeeb.ticker.addEventListener("tick",this.em,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.dm[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.em=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.em,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.fm=null,h.gm=null,h.hm=null,h.im=null,h.jm=null,h.km=null,h.lm=null,h.mm=null,h.nm=null,h.om=null,h.pm=null,h.qm=null,h.rm=null,h.sm=null,h.tm=null,h.um=null,h.vm=null,h.wm=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.xm=0,h.ym=0,h.zm=0,h.Am=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.Bm=function(t,e){var i,s,n=this.hm;for(i=0;i<n.length;i++)if(s=n[i],t[e]==s.getAttribute("data-"+e))return s;return null},h.di=function(t){var e,i;for(e=0;e<this.hm.length;e++)jbeeb.Utils.cssClassOps("remove",this.hm[e],"playing");i=this.Bm(t,"i"),i&&jbeeb.Utils.cssClassOps("add",i,"playing"),this.Cm("launch")},h.Dm=function(t){this.Cm("play")},h.Em=function(t){this.Cm("pause")},h.ai=function(t){this.Cm("done")},h.Cm=function(t){var e=this.c_play,i=this.c_pause,s=this.c_stop;"play"==t?this.zm?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.zm?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.Fm=function(t,e,i){var s,n,h,l,a=t.element;if(!a.getAttribute("data-file")){for(s=a.parentNode,n=0;!s.getAttribute("data-file")&&(s=s.parentNode,1e3>=n);)n++;a=s}h=a.getAttribute("data-amplaylist"),l="1"==h||1===h,l?this.lm.setPlaylist(a.getAttribute("data-file")):this.lm.gotoTrack(parseInt(a.getAttribute("data-i"))+1)},h.Gm=function(){var t,e;for(t=0;t<this.hm.length;t++)e=this.hm[t],e.removeEventListener("click",this.um),this.jm.removeChild(e),e=null;this.hm=[]},h.Hm=function(t){var e,i,s,n,h,l,a,o,r;if(t){for(this.Gm(),e=0;e<t.length;e++){if(i=t[e],s=document.createElement("div"),s.className=this.km||"",n=this.Im)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=new jbeeb.Pointer({element:a,click:{fn:this.Fm,scope:this,arg:null}}),s.appendChild(a);else s.innerHTML=i.title;o=new jbeeb.Pointer({element:s,click:{fn:this.Fm,scope:this,arg:null}}),this.hm.push(s);for(r in i)s.setAttribute("data-"+r,i[r]);this.jm.appendChild(s)}this.gm.push(t),this.fm=t}},h.play=function(t,e,i){if(this.zm){this.lm.getPlaying()?this.lm.pause():this.lm.play()}else this.lm.play()},h.pause=function(){this.lm.pause()},h.stop=function(){this.lm.stop()},h.mute=function(){var t,e=this.lm.getMute(),i=!e;this.lm.setMute(i),t=this.c_mute,t&&(i?jbeeb.Utils.cssClassOps("add",t,"muted"):jbeeb.Utils.cssClassOps("remove",t,"muted"))},h.next=function(){this.lm.next()},h.previous=function(){this.lm.prev()},h.random=function(){var t=this.lm.getRandom(),e=!t;this.lm.setRandom(e),this.Jm(e)},h.Jm=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.lm.getLoop(),e=(t+1)%3;this.lm.setLoop(e),this.Km(e)},h.Km=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.gm;e.pop(),e.length>0&&(t=e.pop(),this.lm.setPlaylist(t))},h.Lm=function(t){var e;this.c_thinker.style.opacity=1;this.xm=1,this.ym=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.Mm,e&&(e.style.display="block")},h.Nm=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.om.target?document.getElementById(this.om.target):this.om.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=new jbeeb.Pointer({element:u,click:{fn:this[r],scope:this,arg:null}}),0===n[r]&&(n[r]=1));for(n.play&&0==n.pause&&0==n.stop&&(this.zm=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(this.c_thinker&&(e.addListener("launch",this.Lm.bind(this)),this.c_thinker.style.opacity=0),this.Am&&(this.Am.loop&&this.Km(this.Am.loop),this.Am.random&&this.Jm(this.Am.random)),u=i.querySelector("[data-playlist]")){if(this.jm=u,u=u.querySelector("[data-playlist-item]")){for(this.km=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.Im=b}t(this.jm)}u=i.querySelector("[data-seek]"),u&&(this.wm=u,g=u.parentNode,this.Om=g,g&&(c=new jbeeb.Pointer({element:g,drag:{fn:this.Pm,scope:this}}))),u=i.querySelector("[data-loading]"),u&&(this.Mm=u,this.Qm=u.parentNode,u.style.display="none",u.style.width="0%",this.Rm=1),setInterval(this.vm,1e3),e.addListener("launch",this.pm),e.addListener("play",this.rm),e.addListener("pause",this.qm),e.addListener("done",this.sm),e.addListener("playlistReady",this.tm),this.mm=i,this.lm=e,this.Hm(e.getPlaylist()),this.Am&&this.Am.autoPlay&&(y=this.lm.getTrackDataset(),this.di(y))},h.Pm=function(t,e,i){var s=this.wm,n=this.Om.getBoundingClientRect(),h=e.parentX/(n.width||1);h>1?h=1:0>h&&(h=0),s.style.width=100*h+"%",this.lm.setPosition(h)},h.Sm=function(){var t,e,i=this.lm.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.xm&&1===t&&(this.c_thinker.style.opacity=0,this.xm=0)),s=this.wm,s&&(s.style.width=100*+i.percent+"%"),s=this.Mm,s&&(e=this.lm.getLoading(),e&&(0>e?(s.style.display="none",this.ym=0,this.Rm=1):(this.Rm&&(s.style.display="block",this.Rm=0),s.style.width=Math.ceil(100*(1-e))+"%")))},h.init=function(t){var s,n,h;this.fm=null,this.gm=[],this.hm=[],this.im=null,this.jm=null,this.lm=null,this.mm=null,this.om={},this.km=null,this.Im=null,this.pm=this.di.bind(this),this.rm=this.Dm.bind(this),this.qm=this.Em.bind(this),this.sm=this.ai.bind(this),this.tm=this.Hm.bind(this),this.um=this.Fm.bind(this),this.vm=this.Sm.bind(this),this.Tm=this.Pm.bind(this);for(s in t)this.om[s]=t[s];n=this.Nm.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.Am=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")||e.getAttribute("data-for")})},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.Nm.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.Nm=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("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=function(){if(!e.binit){e.binit=1;var t=new jbeeb.ReadyBoss;this.onReady=t.add.bind(t),this._=t,jbeeb.register(this)}};e.binit=0,t=e.prototype,t.addEventListener=null,t.removeEventListener=null,t.removeAllEventListeners=null,t.dispatchEvent=null,t.hasEventListener=null,jbeeb.EventDispatcher.initialize(t),t.Um=null,t.lj=null,t.state=null,t.playing=0,t.mj=0,t.Vm=0,t.sj=0,t.addListener=null,t.removeListener=null,t.Wm=null,t._=null,t.onReady=null,t.wh=1,t.init=function(){var t,e;this.addListener=this.addEventListener,this.removeListener=this.removeEventListener,this.Xm=null,this.Xm=[],this.Um=new jbeeb.Stage({target:document.body,x:0,y:0,w:1,h:1,fill:{color:"#FFFFFF",alpha:.2},onReady:this.Ym.bind(this)}),t=this.Gl.bind(this),wimpy.glyphLoader.onReady(t),e=new jbeeb.MediaController({x:0,y:0,w:1,h:1,name:"WB",noFullscreen:1,onReady:this.Zm.bind(this)}),e.addEventListener("launch",this.Yk,this),e.addEventListener("start",this.Zk,this),e.addEventListener("stop",this.$k,this),e.addEventListener("done",this.ai,this),e.addEventListener("update",this.Ec,this),e.addEventListener("loading",this.$m,this),e.addEventListener("disable",this.disable,this),this.lj=e,e.setVolume(1)},t._m=0,t.Zm=function(){this._m=1,this.Gl()},t.Gl=function(){this.an||this.Um.ready&&this._m&&wimpy.glyphLoader.ready&&(this.an=1,this.bn(),this._.fire())},t.Ym=function(){this.Um.style.position="fixed",this.Um.addChild(this.lj),this.Gl()},t.Yk=function(t){this.dispatchEvent("launch",t)},t.Zk=function(t){this.dispatchEvent("play",t),this.cn(1)},t.$k=function(t){this.dispatchEvent("pause",t),this.cn(0)},t.ai=function(t){var e=this.Wm;e&&e.loop?(this.zd(),this.play()):(this.dispatchEvent("done",t),this.rewind(!0))},t.Ec=function(t){var e,i,s;this.state=t,e=t.current,i="",this.Vm>100&&e>0&&(s=this.Wm,s&&(i=s.limit,i&&e>i&&this.stop())),this.dispatchEvent("runtime",t)},t.$m=function(t){var e=t.status,i=this.sj;200>e&&t.percent<.9?0==i&&(i=1,this.dn(this.Wm,"thinking")):1==i&&(i=0,this.dn(this.Wm,"doneThinking")),this.sj=i,this.Vm=e,300==e?this.mj=-1:this.mj=t.percent||0,this.dispatchEvent("thinking",this.sj),this.dispatchEvent("loading",t)},t.cn=function(t,e){this.playing=t;var i=e||this.Wm;i&&(i.playing=t)},t.en=function(t){t?(this.Wm=t,this.dn(t,"playing"),this.lj.play(t.file),this.setVolume(t.volume||this.wh)):(this.lj.play(),this.setVolume(this.wh))},t.play=function(t){if(t)this.gn(),this.Wm=null,this.lj.play(t),this.cn(1);else{var e=this.Wm;e&&(this.en(e),this.cn(1))}},t.hn=function(t){this.cn(1,t),this.dn(t,"playing"),this.lj.play()},t.in=function(t){this.cn(0,t),this.dn(t,"paused"),this.lj.pause(!0)},t.pause=function(){this.lj.pause(!0);var t=this.Wm;t&&this.dn(t,"paused"),this.cn(0)},t.rewind=function(t){t?this.in(this.Wm):this.en(this.Wm),this.lj.setPlayheadPercent(0)},t.zd=function(){var t,e;for(this.in(),t=this.Xm,e=t.length;e--;)t[e].playing=-1;this.lj.reset(),this.gn(null),this.cn(0)},t.stop=function(){this.in(),this.rewind(!0)},t.setVolume=function(t){t=parseFloat(t),t>1?t=1:0>t&&(t=0),this.wh=t,this.lj.setVolume(t)},t.getVolume=function(t){return this.wh},t.Xm=null,t.bn=function(){var t,e,i=document.querySelectorAll("[data-wimpybutton]","[data-wimpyButton]");for(t=i.length;t--;)e=i[t],this.jn(e,jbeeb.Utils.getAttributes(e))},t.deactivate=function(t){var e,i,s,n;if(t&&(e=this.kn(t)))for(i=0;i<this.Xm.length;i++)if(s=this.Xm[i],s.element==e){this.Xm.splice(i,1),n=e.style,n.userSelect=n.WebkitUserSelect=n.MozUserSelect=n.OUserSelect="",n.MozUserSelect="",n.cursor="",jbeeb.Utils.unbindEvent(e,"mousedown",s.ln),jbeeb.Utils.unbindEvent(e,"mouseup",s.mn);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.jn(e,t)}},t.jn=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.nn(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.Xm.length;d++)if(f=this.Xm[d],f.element==t){this.Xm[d]=u,c=1;break}return c||(b=this.on.bind(this),p=this.pn.bind(this),jbeeb.Utils.bindEvent(t,"mousedown",b),jbeeb.Utils.bindEvent(t,"mouseup",p),u.ln=b,u.mn=p,this.Xm.push(u)),this.dn(u,"reset"),t},t.setSize=function(t,e,i,s){var n,h,l,a,o=this.kn(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.nn=function(t){var e,i=this.kn(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)))},t.dn=function(t,e){var i,s,n,h;t&&("paused"==e||"reset"==e?(n="reset"==e?-1:0,i="pause",s="play",h=t.textPlay):"thinking"==e?(n=1,i="",s="loading",h=t.textLoading):"doneThinking"==e?(n=1,i="loading",s="",h=t.textPause):(n=1,i="play",s="pause",h=t.textPause),jbeeb.Utils.cssClassOps("replace",t.element,i,s),t.playing=n,h&&(t.element.innerHTML=h))},t.gn=function(t){var e,i,s,n=null,h=this.Xm;for(e=h.length;e--;)i=h[e],s=i.element,t==s?n=i:(this.dn(i,"reset"),i.playing=-1);return n},t.qn=function(t){var e,i,s=null,n=this.Xm;for(e=n.length;e--;)i=n[e],t==i.element&&(s=i);return s},t.setMedia=function(t,e,i){var s=this.kn(t),n=this.qn(s);n&&(n.file=e,i&&((this.playing||n.playing)&&this.in(),this.dn(n,"reset"),this.en(n)))},t.kn=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.on=function(t){var e=this.gn(t.target||t.srcElement);this.dg=e},t.dg=null,t.pn=function(t){this.dg=this.qn(t.target||t.srcElement),new jbeeb.DelayCall(this.rn.bind(this),50)},t.rn=function(){var t=this.dg;t&&(1==t.playing?this.in(t):this.en(t))},t.disable=function(){this.pause(),this.gn()},wimpy.getButton=function(t){return wimpy.getButtonBy("id",t)},wimpy.getButtonBy=function(t,e){var i,s,n;if(wimpyButton)for(i=wimpyButton.Xm,s=0;s<i.length;s++)if(n=i[s],n[t]==e)return n;return null},wimpy.getButtonList=function(){return wimpyButton?wimpyButton.Xm:null},wimpy.WButton=e}();};
