/home/techb158/ileadtechnology.com/public/js
NameSizeModeActions
.js7969960644editdlrm
app.js2949730644editdlrm
bootstrap.bundle.js1958550644editdlrm
bootstrap.bundle.js.map.js3266340644editdlrm
colorbox.js291680644editdlrm
country.js17280644editdlrm
custom-file-input.js9760644editdlrm
custom-js.js20644editdlrm
custom-toggle.js91960644editdlrm
datepicker.js1092000644editdlrm
fontawesome-iconpicker.js520570644editdlrm
FWDUVPlayer.js7576570644editdlrm
image.js10090644editdlrm
index.php530644editdlrm
jquery-2.min.js843190644editdlrm
jquery-3.3.1.min.js869270644editdlrm
jquery-ui.js5207140644editdlrm
jquery.lazy.min.js50220644editdlrm
jquery.lazy.plugins.min.js44120644editdlrm
jquery.min.js843190644editdlrm
jquery.owl-filter.js12880644editdlrm
jquery.payform.min.js84560644editdlrm
lightbox-plus-jquery.min.js987170644editdlrm
pace.min.js125070644editdlrm
protip.js333040644editdlrm
script.js19710644editdlrm
select2.min.js683820644editdlrm
share.js6150644editdlrm
subscription-pricing.js18080644editdlrm
sweetalert2@9.js669600644editdlrm
theme.js274440644editdlrm
tinymce.min.js3928220644editdlrm
venom-button.js103220644editdlrm
venom-button.min.js81060644editdlrm
Edit: /home/techb158/ileadtechnology.com/public/js/FWDUVPlayer.js (757657B)
var _fwd_fwdScope,asual;!function(t){function l(){}l.dumy=document.createElement("div"),l.trim=function(e){return e.replace(/\s/gi,"")},l.trimAndFormatUrl=function(e){return e=(e=e.toLocaleLowerCase()).replace(/ /g,"-")},l.storArrayBasedOnObjectValue=function(e,t){e.sort(function(o){var s=1;"-"===o[0]&&(s=-1,o=o.substr(1));return function(e,t){return(e[o]t[o]?1:0)*s}}(t))},l.getCookie=function(e){for(var t=e+"=",o=document.cookie.split(";"),s=0;s>>32-t}function d(e,t){var o=2147483648&e,s=2147483648&t,n=1073741824&e,i=1073741824&t,a=(1073741823&e)+(1073741823&t);return n&i?2147483648^a^o^s:n|i?1073741824&a?3221225472^a^o^s:1073741824^a^o^s:a^o^s}function t(e,t,o,s,n,i,a){var r;return e=d(e,d(d((r=t)&o|~r&s,n),a)),d(l(e,i),t)}function o(e,t,o,s,n,i,a){var r;return e=d(e,d(d(t&(r=s)|o&~r,n),a)),d(l(e,i),t)}function s(e,t,o,s,n,i,a){return e=d(e,d(d(t^o^s,n),a)),d(l(e,i),t)}function n(e,t,o,s,n,i,a){return e=d(e,d(d(o^(t|~s),n),a)),d(l(e,i),t)}function i(e){for(var t="",o="",s=0;s<=3;s++)t+=(o="0"+(e>>>8*s&255).toString(16)).substr(o.length-2,2);return t}for(var a,r,_,u,c=Array(),c=function(e){for(var t,o=e.length,s=o+8,n=16*(1+(s-s%64)/64),i=Array(n-1),a=0,r=0;r>>29,i}(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",o=0;o>6|192):(t+=String.fromCharCode(s>>12|224),t+=String.fromCharCode(s>>6&63|128)),t+=String.fromCharCode(63&s|128))}return t}(e)),p=1732584193,h=4023233417,m=2562383102,b=271733878,g=0;g>>16&255,c=_>>>8&255,p=255&_;r.style.position="absolute",r.style.left="0px",r.style.top="0px",r.style.margin="0px",r.style.padding="0px",r.style.maxWidth="none",r.style.maxHeight="none",r.style.border="none",r.style.lineHeight="1",r.style.backgroundColor="transparent",r.style.backfaceVisibility="hidden",r.style.webkitBackfaceVisibility="hidden",r.style.MozBackfaceVisibility="hidden",r.style.MozImageRendering="optimizeSpeed",r.style.WebkitImageRendering="optimizeSpeed",null==s&&(s=e.width,n=e.height),r.width=s,r.height=n,l.drawImage(e,0,0,e.naturalWidth,e.naturalHeight,0,0,s,n),a=l.getImageData(0,0,s,n),d=l.getImageData(0,0,s,n);for(var h=0,m=a.data.length;h>>16&255,u=d>>>8&255,c=255&d;n||(n=e.width,i=e.height),t.width=n,t.height=i,r.drawImage(e,0,0,e.naturalWidth,e.naturalHeight,0,0,n,i),a=r.getImageData(0,0,n,i),l=r.getImageData(0,0,n,i);for(var p=0,h=a.data.length;ps.length)throw new Error("invalid index!");e.insertBefore(t,s[o])},l.hasCanvas=function(){return Boolean(document.createElement("canvas"))},l.hitTest=function(e,t,o){if(!e)throw Error("Hit test target is null!");var s=e.getBoundingClientRect();return t>=parseInt(s.left)&&t<=parseInt(s.left+(s.right-s.left))&&o>=parseInt(s.top)&&o<=parseInt(s.top+(s.bottom-s.top))},l.hitBuggyTest=function(e,t,o){if(!e)throw Error("Hit test target is null!");e.getBoundingClientRect();return!1},l.hasWEBGL=function(){try{var e=document.createElement("canvas");return!!t.WebGLRenderingContext&&(e.getContext("webgl")||e.getContext("experimental-webgl"))}catch(e){return!1}}(),l.isLocal="file:"==document.location.protocol,l.getScrollOffsets=function(){return null!=t.pageXOffset?{x:t.pageXOffset,y:t.pageYOffset}:"CSS1Compat"==document.compatMode?{x:document.documentElement.scrollLeft,y:document.documentElement.scrollTop}:void 0},l.getViewportSize=function(){return!(l.hasPointerEvent&&1>0,0!==this._cycle&&this._cycle===this._totalTime/a&&h<=e&&this._cycle--,this._time=this._totalTime-this._cycle*a,this._yoyo&&0!=(1&this._cycle)&&(this._time=b-this._time),this._time>b?this._time=b:this._time<0&&(this._time=0)),this._easeType?(r=this._time/b,(1===(l=this._easeType)||3===l&&.5<=r)&&(r=1-r),3===l&&(r*=2),1===(d=this._easePower)?r*=r:2===d?r*=r*r:3===d?r*=r*r*r:4===d&&(r*=r*r*r*r),1===l?this.ratio=1-r:2===l?this.ratio=r:this._time/b<.5?this.ratio=r/2:this.ratio=1-r/2):this.ratio=this._ease.getRatio(this._time/b)),p!==this._time||o||m!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!o&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=p,this._totalTime=h,this._rawPrevTime=g,this._cycle=m,S.lazyTweens.push(this),void(this._lazy=[e,t]);this._time&&!s?this.ratio=this._ease.getRatio(this._time/b):s&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==p&&0<=e&&(this._active=!0),0===h&&(2===this._initted&&0this._duration&&(e=this._duration),this._yoyo&&0!=(1&this._cycle)?e=this._duration-e+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(e+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(e,t)):this._time},e.duration=function(e){return arguments.length?b.prototype.duration.call(this,e):this._duration},e.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},e.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},e.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},e.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},b},!0),w=180/Math.PI,P=[],T=[],B=[],g={},o=_fwd_fwdScope.FWDFWD_fwdDefine.globals,e=(b=_fwd_fwdScope.FWDFWD_fwdDefine.plugin({propName:"bezier",priority:-1,version:"1.3.7",API:2,fwd_global:!0,init:function(e,t,o){this._target=e,t instanceof Array&&(t={values:t}),this._func={},this._mod={},this._props=[],this._timeRes=null==t.timeResolution?6:parseInt(t.timeResolution,10);var s,n,i,a,r,l,d=t.values||[],_={},u=d[0],c=t.autoRotate||o.vars.orientToBezier;for(s in this._autoRotate=c?c instanceof Array?c:[["x","y","rotation",!0!==c&&Number(c)||0]]:null,u)this._props.push(s);for(i=this._props.length;-1<--i;)s=this._props[i],this._overwriteProps.push(s),n=this._func[s]="function"==typeof e[s],_[s]=n?e[s.indexOf("set")||"function"!=typeof e["get"+s.substr(3)]?s:"get"+s.substr(3)]():parseFloat(e[s]),r||_[s]!==d[0][s]&&(r=_);if(this._beziers="cubic"!==t.type&&"quadratic"!==t.type&&"soft"!==t.type?p(d,isNaN(t.curviness)?1:t.curviness,!1,"thruBasic"===t.type,t.correlate,r):function(e,t,o){var s,n,i,a,r,l,d,_,u,c,p,h={},m="cubic"===(t=t||"soft")?3:2,b="soft"===t,g=[];if(b&&o&&(e=[o].concat(e)),null==e||e.length<1+m)throw"invalid Bezier data";for(u in e[0])g.push(u);for(l=g.length;-1<--l;){for(h[u=g[l]]=r=[],c=0,_=e.length,d=0;d<_;d++)s=null==o?e[d][u]:"string"==typeof(p=e[d][u])&&"="===p.charAt(1)?o[u]+Number(p.charAt(0)+p.substr(2)):Number(p),b&&1>0||6)-1,u=[],c=[];for(o in e)!function(e,t,o){for(var s,n,i,a,r,l,d,_,u,c,p,h=1/o,m=e.length;-1<--m;)for(i=(c=e[m]).a,a=c.d-i,r=c.c-i,l=c.b-i,s=n=0,_=1;_<=o;_++)s=n-(n=((d=h*_)*d*a+3*(u=1-d)*(d*r+u*l))*d),t[p=m*o+_-1]=(t[p]||0)+s*s}(e[o],a,t);for(n=a.length,s=0;s>0]=c,r[i]=d,l=0,c=[]);return{length:d,lengths:r,segments:u}}(this._beziers,this._timeRes),this._length=l.length,this._lengths=l.lengths,this._segments=l.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length),c=this._autoRotate)for(this._initialRotations=[],c[0]instanceof Array||(this._autoRotate=c=[c]),i=c.length;-1<--i;){for(a=0;a<3;a++)s=c[i][a],this._func[s]="function"==typeof e[s]&&e[s.indexOf("set")||"function"!=typeof e["get"+s.substr(3)]?s:"get"+s.substr(3)];s=c[i][2],this._initialRotations[i]=(this._func[s]?this._func[s].call(this._target):this._target[s])||0,this._overwriteProps.push(s)}return this._startRatio=o.vars.runBackwards?1:0,!0},set:function(e){var t,o,s,n,i,a,r,l,d,_=this._segCount,u=this._func,c=this._target,p=e!==this._startRatio;if(this._timeRes){if(l=this._lengths,d=this._curSeg,e*=this._length,P=this._li,e>this._l2&&P<_-1){for(r=_-1;P=e;);0===P&&ethis._s2&&P=e;);0===P&&e>0)*(1/_))*_;for(o=1-i,P=this._props.length;-1<--P;)s=this._props[P],a=(i*i*(n=this._beziers[s][t]).da+3*o*(i*n.ca+o*n.ba))*i+n.a,this._mod[s]&&(a=this._mod[s](a,c)),u[s]?c[s](a):"x"==s?c.setX(a):"y"==s?c.setY(a):"z"==s?c.setZ(a):"angleX"==s?c.setAngleX(a):"angleY"==s?c.setAngleY(a):"angleZ"==s?c.setAngleZ(a):"w"==s?c.setWidth(a):"h"==s?c.setHeight(a):"alpha"==s?c.setAlpha(a):"scale"==s?c.setScale2(a):c[s]=a;if(this._autoRotate)for(var h,m,b,g,f,y,v,S=this._autoRotate,P=S.length;-1<--P;)s=S[P][2],y=S[P][3]||0,v=!0===S[P][4]?1:w,n=this._beziers[S[P][0]],h=this._beziers[S[P][1]],n&&h&&(n=n[t],h=h[t],m=n.a+(n.b-n.a)*i,m+=((g=n.b+(n.c-n.b)*i)-m)*i,g+=(n.c+(n.d-n.c)*i-g)*i,b=h.a+(h.b-h.a)*i,b+=((f=h.b+(h.c-h.b)*i)-b)*i,f+=(h.c+(h.d-h.c)*i-f)*i,a=p?Math.atan2(f-b,g-m)*v+y:this._initialRotations[P],this._mod[s]&&(a=this._mod[s](a,c)),u[s]?c[s](a):c[s]=a)}})).prototype,b.bezierThrough=p,b.cubicToQuadratic=S,b._autoCSS=!0,b.quadraticToCubic=function(e,t,o){return new f(e,(2*t+e)/3,(2*t+o)/3,o)},b._cssRegister=function(){var e,p,h,m,t=o.CSSPlugin;t&&(e=t._internals,p=e._parseToProxy,h=e._setPluginRatio,m=e.CSSPropTween,e._registerComplexSpecialProp("bezier",{parser:function(e,t,o,s,n,i){t instanceof Array&&(t={values:t}),i=new b;var a,r,l,d=t.values,_=d.length-1,u=[],c={};if(_<0)return n;for(a=0;a<=_;a++)l=p(e,d[a],s,n,i,_!==a),u[a]=l.end;for(r in t)c[r]=t[r];return c.values=u,(n=new m(e,"bezier",0,0,l.pt,2)).data=l,n.plugin=i,n.setRatio=h,0===c.autoRotate&&(c.autoRotate=!0),!c.autoRotate||c.autoRotate instanceof Array||(a=!0===c.autoRotate?0:Number(c.autoRotate),c.autoRotate=null!=l.end.left?[["left","top","rotation",a,!1]]:null!=l.end.x&&[["x","y","rotation",a,!1]]),c.autoRotate&&(s._transform||s._enableTransforms(!1),l.autoRotate=s._target._fwdTransform,l.proxy.rotation=l.autoRotate.rotation||0,s._overwriteProps.push("rotation")),i._onInitTween(l.proxy,c,s._tween),n}}))},e._mod=function(e){for(var t,o=this._overwriteProps,s=o.length;-1<--s;)(t=e[o[s]])&&"function"==typeof t&&(this._mod[o[s]]=t)},e._kill=function(e){var t,o,s=this._props;for(t in this._beziers)if(t in e)for(delete this._beziers[t],delete this._func[t],o=s.length;-1<--o;)s[o]===t&&s.splice(o,1);if(s=this._autoRotate)for(o=s.length;-1<--o;)e[s[o][2]]&&s.splice(o,1);return this._super._kill.call(this,e)},_fwd_fwdScope.FWDFWD_fwdDefine("plugins.CSSPlugin",["plugins.TweenPlugin","FWDTweenLite"],function(i,M){var h,T,B,m,R=function(){i.call(this,"css"),this._overwriteProps.length=0,this.setRatio=R.prototype.setRatio},d=_fwd_fwdScope.FWDFWD_fwdDefine.globals,b={},e=R.prototype=new i("css");function a(e,t){return t.toUpperCase()}function t(e){return $.createElementNS?$.createElementNS("http://www.w3.org/1999/xhtml",e):$.createElement(e)}function r(e){return A.test("string"==typeof e?e:(e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100:1}function g(e){window.console&&console.log(e)}function D(e,t){var o,s,n=(t=t||Z).style;if(void 0!==n[e])return e;for(e=e.charAt(0).toUpperCase()+e.substr(1),o=["O","Moz","ms","Ms","Webkit"],s=5;-1<--s&&void 0===n[o[s]+e];);return 0<=s?(ne="-"+(ie=3===s?"ms":o[s]).toLowerCase()+"-",ie+e):null}function f(e,t){var o,s,n,i={};if(t=t||ae(e,null))if(o=t.length)for(;-1<--o;)-1!==(n=t[o]).indexOf("-transform")&&ke!==n||(i[n.replace(c,a)]=t.getPropertyValue(n));else for(o in t)-1!==o.indexOf("Transform")&&Ae!==o||(i[o]=t[o]);else if(t=e.currentStyle||e.style)for(o in t)"string"==typeof o&&void 0===i[o]&&(i[o.replace(c,a)]=t[o]);return se||(i.opacity=r(e)),s=ze(e,t,!1),i.rotation=s.rotation,i.skewX=s.skewX,i.scaleX=s.scaleX,i.scaleY=s.scaleY,i.x=s.x,i.y=s.y,Me&&(i.z=s.z,i.rotationX=s.rotationX,i.rotationY=s.rotationY,i.scaleZ=s.scaleZ),i.filters&&delete i.filters,i}function y(e,t,o,s,n){var i,a,r,l={},d=e.style;for(a in o)"cssText"!==a&&"length"!==a&&isNaN(a)&&(t[a]!==(i=o[a])||n&&n[a])&&-1===a.indexOf("Origin")&&("number"!=typeof i&&"string"!=typeof i||(l[a]="auto"!==i||"left"!==a&&"top"!==a?""!==i&&"auto"!==i&&"none"!==i||"string"!=typeof t[a]||""===t[a].replace(_,"")?i:0:de(e,a),void 0!==d[a]&&(r=new ye(d,a,d[a],r))));if(s)for(a in s)"className"!==a&&(l[a]=s[a]);return{difs:l,firstMPT:r}}function W(e,t){return"function"==typeof e&&(e=e(E,V)),"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(t)||0}function F(e,t){return"function"==typeof e&&(e=e(E,V)),null==e?t:"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+t:parseFloat(e)||0}function H(e,t,o,s){var n,i,a,r,l;return"function"==typeof e&&(e=e(E,V)),(r=null==e?t:"number"==typeof e?e:(n=360,i=e.split("_"),a=((l="="===e.charAt(1))?parseInt(e.charAt(0)+"1",10)*parseFloat(i[0].substr(2)):parseFloat(i[0]))*(-1===e.indexOf("rad")?1:K)-(l?0:t),i.length&&(s&&(s[o]=t+a),-1!==e.indexOf("short")&&(a%=n)!=a%180&&(a=a<0?a+n:a-n),-1!==e.indexOf("_cw")&&a<0?a=(a+3599999999640)%n-(a/n|0)*n:-1!==e.indexOf("ccw")&&0>16,e>>8&255,255&e];else{if(","===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),pe[e])o=pe[e];else if("#"===e.charAt(0))4===e.length&&(e="#"+(s=e.charAt(1))+s+(n=e.charAt(2))+n+(i=e.charAt(3))+i),o=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e];else if("hsl"===e.substr(0,3))if(o=c=e.match(O),t){if(-1!==e.indexOf("="))return e.match(I)}else a=Number(o[0])%360/360,r=Number(o[1])/100,s=2*(l=Number(o[2])/100)-(n=l<=.5?l*(r+1):l+r-l*r),3s--)for(;++ss--)for(;++s>0];return s.parse(e,a,n,i)}}function fe(e,t,o,s,n,i){var a=new ve(e,t,o,s-o,n,-1,i);return a.b=o,a.e=a.xs0=s,a}me=new RegExp(me+")","gi"),R.colorStringFilter=function(e){var t,o=e[0]+e[1];me.test(o)&&(t=-1!==o.indexOf("hsl(")||-1!==o.indexOf("hsla("),e[0]=s(e[0],t),e[1]=s(e[1],t)),me.lastIndex=0},M.defaultStringFilter||(M.defaultStringFilter=R.colorStringFilter),te._setPluginRatio=function(e){this.plugin.setRatio(e);for(var t,o,s,n,i,a=this.data,r=a.proxy,l=a.firstMPT;l;)t=r[l.v],l.r?t=Math.round(t):t<1e-6&&-1e-6r.length?l.length:r.length,a=0;ai.pr;)a=a._next;(i._prev=a?a._prev:l)?i._prev._next=i:r=i,(i._next=a)?a._prev=i:l=i,i=d}this._firstPT=r}return!0},e.parse=function(e,t,o,s){var n,i,a,r,l,d,_,u,c,p,h=e.style;for(n in t)"function"==typeof(d=t[n])&&(d=d(E,V)),(i=b[n])?o=i.parse(e,d,n,this,o,s,t):(l=re(e,n,B)+"",c="string"==typeof d,"color"===n||"fill"===n||"stroke"===n||-1!==n.indexOf("Color")||c&&N.test(d)?(c||(d=(3<(d=he(d)).length?"rgba(":"rgb(")+d.join(",")+")"),o=Se(h,n,l,d,!0,"transparent",o,0,s)):c&&G.test(d)?o=Se(h,n,l,d,!0,null,o,0,s):(_=(a=parseFloat(l))||0===a?l.substr((a+"").length):"",""!==l&&"auto"!==l||(_="width"===n||"height"===n?(a=function(e,t,o){if("svg"===(e.nodeName+"").toLowerCase())return(o||ae(e))[t]||0;if(e.getBBox&&He(e))return e.getBBox()[t]||0;var s=parseFloat("width"===t?e.offsetWidth:e.offsetHeight),n=_e[t],i=n.length;for(o=o||ae(e,null);-1<--i;)s-=parseFloat(re(e,"padding"+n[i],o,!0))||0,s-=parseFloat(re(e,"border"+n[i]+"Width",o,!0))||0;return s}(e,n,B),"px"):"left"===n||"top"===n?(a=de(e,n,B),"px"):(a="opacity"!==n?0:1,"")),""===(u=(p=c&&"="===d.charAt(1))?(r=parseInt(d.charAt(0)+"1",10),d=d.substr(2),r*=parseFloat(d),d.replace(x,"")):(r=parseFloat(d),c?d.replace(x,""):""))&&(u=n in T?T[n]:_),d=r||0===r?(p?r+a:r)+u:t[n],_!==u&&""!==u&&(r||0===r)&&a&&(a=le(e,n,a,_),"%"===u?(a/=le(e,n,100,"%")/100,!0!==t.strictUnits&&(l=a+"%")):"em"===u||"rem"===u||"vw"===u||"vh"===u?a/=le(e,n,1,u):"px"!==u&&(r=le(e,n,r,u),u="px"),p&&(!r&&0!==r||(d=r+a+u))),p&&(r+=a),!a&&0!==a||!r&&0!==r?void 0!==h[n]&&(d||d+""!="NaN"&&null!=d)?(o=new ve(h,n,r||a||0,0,o,-1,n,!1,0,l,d)).xs0="none"!==d||"display"!==n&&-1===n.indexOf("Style")?d:l:g("invalid "+n+" tween value: "+t[n]):(o=new ve(h,n,a,r-a,o,0,n,!1!==U&&("px"===u||"zIndex"===n),0,l,d)).xs0=u)),s&&o&&!o.plugin&&(o.plugin=s);return o},e.setRatio=function(e){var t,o,s,n=this._firstPT;if(1!==e||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(e||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(t=n.c*e+n.s,n.r?t=Math.round(t):t<1e-6&&-1e-6this._p3?this._calcEnd?1-(e=(e-this._p3)/this._p1)*e:t+(e-t)*(e=(e-this._p3)/this._p1)*e*e*e:this._calcEnd?1:t},p.ease=new p(.7,.7),h.config=p.config=function(e,t,o){return new p(e,t,o)},(h=(s=_("easing.SteppedEase",function(e){e=e||1,this._p1=1/e,this._p2=e+1},!0)).prototype=new b).constructor=s,h.getRatio=function(e){return e<0?e=0:1<=e&&(e=.999999999),(this._p2*e>>0)*this._p1},h.config=s.config=function(e){return new s(e)},(h=(n=_("easing.RoughEase",function(e){for(var t,o,s,n,i,a,r=(e=e||{}).taper||"none",l=[],d=0,_=0|(e.points||20),u=_,c=!1!==e.randomize,p=!0===e.clamp,h=e.template instanceof b?e.template:null,m="number"==typeof e.strength?.4*e.strength:.4;-1<--u;)t=c?Math.random():1/_*u,o=h?h.getRatio(t):t,s="none"===r?m:"out"===r?(n=1-t)*n*m:"in"===r?t*t*m:t<.5?(n=2*t)*n*.5*m:(n=2*(1-t))*n*.5*m,c?o+=Math.random()*s-.5*s:u%2?o+=.5*s:o-=.5*s,p&&(1t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&e<=t.t;)t=t.prev;return(this._prev=t).v+(e-t.t)/t.gap*t.c},h.config=function(e){return new n(e)},n.ease=new n,t("Bounce",e("BounceOut",function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}),e("BounceIn",function(e){return(e=1-e)<1/2.75?1-7.5625*e*e:e<2/2.75?1-(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?1-(7.5625*(e-=2.25/2.75)*e+.9375):1-(7.5625*(e-=2.625/2.75)*e+.984375)}),e("BounceInOut",function(e){var t=e<.5;return(e=t?1-2*e:2*e-1)<1/2.75?e*=7.5625*e:e=e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,t?.5*(1-e):.5*e+.5})),t("Circ",e("CircOut",function(e){return Math.sqrt(1- --e*e)}),e("CircIn",function(e){return-(Math.sqrt(1-e*e)-1)}),e("CircInOut",function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)})),t("Elastic",(i=function(e,t,o){var s=_("easing."+e,function(e,t){this._p1=1<=e?e:1,this._p2=(t||o)/(e<1?e:1),this._p3=this._p2/l*(Math.asin(1/this._p1)||0),this._p2=l/this._p2},!0),n=s.prototype=new b;return n.constructor=s,n.getRatio=t,n.config=function(e,t){return new s(e,t)},s})("ElasticOut",function(e){return this._p1*Math.pow(2,-10*e)*Math.sin((e-this._p3)*this._p2)+1},.3),i("ElasticIn",function(e){return-(this._p1*Math.pow(2,10*--e)*Math.sin((e-this._p3)*this._p2))},.3),i("ElasticInOut",function(e){return(e*=2)<1?this._p1*Math.pow(2,10*--e)*Math.sin((e-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*--e)*Math.sin((e-this._p3)*this._p2)*.5+1},.45)),t("Expo",e("ExpoOut",function(e){return 1-Math.pow(2,-10*e)}),e("ExpoIn",function(e){return Math.pow(2,10*(e-1))-.001}),e("ExpoInOut",function(e){return(e*=2)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))})),t("Sine",e("SineOut",function(e){return Math.sin(e*d)}),e("SineIn",function(e){return 1-Math.cos(e*d)}),e("SineInOut",function(e){return-.5*(Math.cos(Math.PI*e)-1)})),_("easing.EaseLookup",{find:function(e){return b.map[e]}},!0),u(a.SlowMo,"SlowMo","ease,"),u(n,"RoughEase","ease,"),u(s,"SteppedEase","ease,"),c},!0)}),_fwd_fwdScope.FWDFWD_fwdDefine&&_fwd_fwdScope._fwd_fwdQueue.pop()(),function(p,h){"use strict";var m={},b=p.FWDGlobals=p.FWDGlobals||p;if(!b.FWDTweenLite){var g,t,o,f=function(e){for(var t=e.split("."),o=b,s=0;s=o&&ethis._duration?this._duration:e,t)):this._time},te.totalTime=function(e,t,o){if(g||U.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(e<0&&!o&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,n=this._timeline;if(si;)n=n._prev;return n?(e._next=n._next,n._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=n,this._recent=e,this._timeline&&this._uncache(!0),this},te._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},te.render=function(e,t,o){var s,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;n;)s=n._next,(n._active||e>=n._startTime&&!n._paused)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(e-n._startTime)*n._timeScale,t,o):n.render((e-n._startTime)*n._timeScale,t,o)),n=s},te.rawTime=function(){return g||U.wake(),this._totalTime};var V=c("FWDTweenLite",function(e,t,o){if(d.call(this,t,o),this.render=V.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"==typeof e&&V.selector(e)||e;var s,n,i,a=e.jquery||e.length&&e!==p&&e[0]&&(e[0]===p||e[0].nodeType&&e[0].style&&!e.nodeType),r=this.vars.overwrite;if(this._overwrite=r=null==r?X[V.defaultOverwrite]:"number"==typeof r?r>>0:X[r],(a||e instanceof Array||e.push&&v(e))&&"number"!=typeof e[0])for(this._targets=i=l(e),this._propLookup=[],this._siblings=[],s=0;s=G){for(o in G=U.frame+(parseInt(V.autoSleep,10)||120),N){for(e=(t=N[o].tweens).length;-1<--e;)t[e]._gc&&t.splice(e,1);0===t.length&&delete N[o]}if((!(o=Q._first)||o._paused)&&V.autoSleep&&!z._first&&1===U._listeners.tick.length){for(;o&&o._paused;)o=o._next;o||U.sleep()}}},U.addEventListener("tick",d._updateRoot);var K=function(e,t,o){var s,n,i=e._fwdTweenID;if(N[i||(e._fwdTweenID=i="t"+Y++)]||(N[i]={target:e,tweens:[]}),t&&((s=N[i].tweens)[n=s.length]=t,o))for(;-1<--n;)s[n]===t&&s.splice(n,1);return N[i].tweens},J=function(e,t,o,s){var n,i,a=e.vars.onOverwrite;return a&&(n=a(e,t,o,s)),(a=V.onOverwrite)&&(i=a(e,t,o,s)),!1!==n&&!1!==i},$=function(e,t,o,s,n){var i,a,r;if(1===s||4<=s){for(r=n.length,p=0;pd&&((c||!a._initted)&&d-a._startTime<=2e-10||(_[u++]=a)));for(p=u;-1<--p;)if(a=_[p],2===s&&a._kill(o,e,t)&&(i=!0),2!==s||!a._firstPT&&a._initted){if(2!==s&&!J(a,t))continue;a._enabled(!1,!1)&&(i=!0)}return i},Z=function(e,t,o){for(var s=e._timeline,n=s._timeScale,i=e._startTime;s._timeline;){if(i+=s._startTime,n*=s._timeScale,s._paused)return-100;s=s._timeline}return t<(i/=n)?i-t:o&&i===t||!e._initted&&i-t<2*y?y:(i+=e.totalDuration()/e._timeScale/n)>t+y?0:i-t-y};te._init=function(){var e,t,o,s,n,i,a=this.vars,r=this._overwrittenProps,l=this._duration,d=!!a.immediateRender,_=a.ease;if(a.startAt){for(s in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),n={},a.startAt)n[s]=a.startAt[s];if(n.overwrite=!1,n.immediateRender=!0,n.lazy=d&&!1!==a.lazy,n.startAt=n.delay=null,this._startAt=V.to(this.target,0,n),d)if(0r.pr;)s=s._next;(r._prev=s?s._prev:i)?r._prev._next=r:n=r,(r._next=s)?s._prev=r:i=r,r=a}r=t._firstPT=n}for(;r;)r.pg&&"function"==typeof r.t[e]&&r.t[e]()&&(o=!0),r=r._next;return o},ee.activate=function(e){for(var t=e.length;-1<--t;)e[t].API===ee.API&&(R[(new e[t])._propName]=e[t]);return!0},n.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,o=e.propName,s=e.priority||0,n=e.overwriteProps,i={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=c("plugins."+o.charAt(0).toUpperCase()+o.substr(1)+"Plugin",function(){ee.call(this,o,s),this._overwriteProps=n||[]},!0===e.fwd_global),r=a.prototype=new ee(o);for(t in(r.constructor=a).API=e.API,i)"function"==typeof e[t]&&(r[i[t]]=e[t]);return a.version=e.version,ee.activate([a]),a},a=p._fwd_fwdQueue){for(r=0;rJavaScript error: "+e+" on line "+o+" for "+t;n.main_do.setInnerHTML(s),n.main_do.screen.scrollTop=n.main_do.screen.scrollHeight},n.log=function(e){var t=n.main_do.getInnerHTML()+"
"+e;n.main_do.setInnerHTML(t),n.main_do.getScreen().scrollTop=1e4},n.init()};t.setPrototype=function(){t.prototype=new FWDUVPDisplayObject("div","absolute")},t.prototype=null,e.FWDConsole=t}(window),function(e){var p=function(e,t,o,s,n,i,a,r,l,d,_,u){var c=this;p.prototype;c.main_do=null,c.icon_do=null,c.iconS_do=null,c.bk_do=null,c.text_do=null,c.border_do=null,c.thumbHolder_do=null,c.icon_img=e,c.useHEX=d,c.nBC=_,c.sBC=u,c.borderNColor_str=n,c.borderSColor_str=i,c.adsBackgroundPath_str=a,c.position_str=s,c.textNormalColor_str=r,c.textSelectedColor_str=l,c.text_str=o,c.iconOverPath_str=t,c.totalWidth=215,c.totalHeight=64,c.fontSize=12,c.hasThumbanil_bl=!1,c.isShowed_bl=!1,c.isMbl=FWDUVPUtils.isMobile,c.hasPointerEvent_bl=FWDUVPUtils.hasPointerEvent,c.init=function(){c.setOverflow("visible"),c.setupMainContainers(),c.hide(!1,!0)},c.setupMainContainers=function(){c.main_do=new FWDUVPDisplayObject("div"),c.main_do.hasTransform3d_bl=!1,c.main_do.hasTransform2d_bl=!1,c.main_do.setBackfaceVisibility(),c.bk_do=new FWDUVPDisplayObject("div"),c.bk_do.getStyle().background="url('"+c.adsBackgroundPath_str+"')",c.text_do=new FWDUVPDisplayObject("div"),c.text_do.screen.className="UVP-skip",c.text_do.hasTransform3d_bl=!1,c.text_do.hasTransform2d_bl=!1,c.text_do.setBackfaceVisibility(),c.text_do.setOverflow("visible"),c.text_do.getStyle().display="inline",c.text_do.getStyle().fontFamily="Arial",c.text_do.getStyle().fontSize="22px",c.text_do.getStyle().whiteSpace="nowrap",c.text_do.getStyle().color=c.textNormalColor_str,c.text_do.getStyle().fontSmoothing="antialiased",c.text_do.getStyle().webkitFontSmoothing="antialiased",c.text_do.getStyle().textRendering="optimizeLegibility",c.thumbHolder_do=new FWDUVPDisplayObject("div"),c.thumbHolder_do.setWidth(c.totalHeight-8),c.thumbHolder_do.setHeight(c.totalHeight-8),c.thumbHolder_do.setX(c.totalWidth-c.thumbHolder_do.w-4),c.thumbHolder_do.setY(4),c.border_do=new FWDUVPDisplayObject("div"),c.border_do.getStyle().border="1px solid "+c.borderNColor_str,c.border_do.setButtonMode(!0),c.main_do.setWidth(c.totalWidth),c.main_do.setHeight(c.totalHeight),c.bk_do.setWidth(c.totalWidth),c.bk_do.setHeight(c.totalHeight),"left"==c.position_str?(c.border_do.setX(-1),c.border_do.setWidth(c.totalWidth-1)):c.border_do.setWidth(c.totalWidth),c.border_do.setHeight(c.totalHeight-2),c.setWidth(c.totalWidth),c.setHeight(c.totalHeight),c.useHEX?(c.icon_do=new FWDUVPDisplayObject("div"),c.icon_do.setWidth(c.icon_img.width),c.icon_do.setHeight(c.icon_img.height),c.icon_do_canvas=FWDUVPUtils.getCanvasWithModifiedColor(c.icon_img,c.nBC).canvas,c.icon_do.screen.appendChild(c.icon_do_canvas)):(c.icon_do=new FWDUVPDisplayObject("img"),c.icon_do.setScreen(c.icon_img),c.icon_do.setWidth(c.icon_img.width),c.icon_do.setHeight(c.icon_img.height)),c.iconS_img=new Image,c.iconS_img.src=c.iconOverPath_str,c.useHEX?(c.iconS_do=new FWDUVPDisplayObject("div"),c.iconS_do.setWidth(c.icon_do.w),c.iconS_do.setHeight(c.icon_do.h),c.iconS_img.onload=function(){c.iconS_do_canvas=FWDUVPUtils.getCanvasWithModifiedColor(c.iconS_img,c.sBC).canvas,c.iconS_do.screen.appendChild(c.iconS_do_canvas)}):(c.iconS_do=new FWDUVPDisplayObject("img"),c.iconS_do.setScreen(c.iconS_img),c.iconS_do.setWidth(c.icon_do.w),c.iconS_do.setHeight(c.icon_do.h)),c.iconS_do.setAlpha(0),c.main_do.addChild(c.bk_do),c.main_do.addChild(c.text_do),c.main_do.addChild(c.thumbHolder_do),c.main_do.addChild(c.icon_do),c.main_do.addChild(c.iconS_do),c.main_do.addChild(c.border_do),FWDUVPUtils.isIEAndLessThen9&&(c.dumy_do=new FWDUVPDisplayObject("div"),c.dumy_do.setBkColor("#00FF00"),c.dumy_do.setAlpha(1e-4),c.dumy_do.setWidth(c.totalWidth),c.dumy_do.setHeight(c.totalHeight),c.dumy_do.setButtonMode(!0),c.main_do.addChild(c.dumy_do)),c.addChild(c.main_do),c.updateText(c.text_str),FWDUVPUtils.isIEAndLessThen9?c.isMbl?c.hasPointerEvent_bl?(c.dumy_do.screen.addEventListener("pointerup",c.onMouseUp),c.dumy_do.screen.addEventListener("pointerover",c.onMouseOver),c.dumy_do.screen.addEventListener("pointerout",c.onMouseOut)):c.dumy_do.screen.addEventListener("touchend",c.onMouseUp):c.dumy_do.screen.addEventListener?(c.dumy_do.screen.addEventListener("mouseover",c.onMouseOver),c.dumy_do.screen.addEventListener("mouseout",c.onMouseOut),c.dumy_do.screen.addEventListener("mouseup",c.onMouseUp)):c.dumy_do.screen.attachEvent&&(c.dumy_do.screen.attachEvent("onmouseover",c.onMouseOver),c.dumy_do.screen.attachEvent("onmouseout",c.onMouseOut),c.dumy_do.screen.attachEvent("onmouseup",c.onMouseUp)):c.isMbl?c.hasPointerEvent_bl?(c.border_do.screen.addEventListener("pointerup",c.onMouseUp),c.border_do.screen.addEventListener("pointerover",c.onMouseOver),c.border_do.screen.addEventListener("pointerout",c.onMouseOut)):c.border_do.screen.addEventListener("touchend",c.onMouseUp):c.border_do.screen.addEventListener?(c.border_do.screen.addEventListener("mouseover",c.onMouseOver),c.border_do.screen.addEventListener("mouseout",c.onMouseOut),c.border_do.screen.addEventListener("mouseup",c.onMouseUp)):c.border_do.screen.attachEvent&&(c.border_do.screen.attachEvent("onmouseover",c.onMouseOver),c.border_do.screen.attachEvent("onmouseout",c.onMouseOut),c.border_do.screen.attachEvent("onmouseup",c.onMouseUp))},c.onMouseOver=function(e){e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE&&"mouse"!=e.pointerType||c.setSelectedState()},c.onMouseOut=function(e){e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE&&"mouse"!=e.pointerType||c.setNormalState()},c.onMouseUp=function(e){e.preventDefault&&e.preventDefault(),2!=e.button&&c.isShowed_bl&&c.dispatchEvent(p.MOUSE_UP)},c.updateText=function(e){var t;c.text_do.setInnerHTML(e),setTimeout(function(){t=c.text_do.getWidth()+8+c.iconS_do.w,c.text_do.setX(parseInt(c.totalWidth-t)/2),c.text_do.setY(parseInt((c.totalHeight-c.text_do.getHeight())/2)+2),c.icon_do.setX(c.text_do.x+t-c.iconS_do.w),c.icon_do.setY(parseInt((c.totalHeight-c.iconS_do.h)/2)+2),c.iconS_do.setX(c.text_do.x+t-c.iconS_do.w),c.iconS_do.setY(parseInt((c.totalHeight-c.iconS_do.h)/2)+2)},50)},c.resize=function(e){var t=c.totalWidth;e&&(t=64),e?(c.text_do.setVisible(!1),c.icon_do.setX(Math.round((t-c.iconS_do.w)/2)-1),c.icon_do.setY(Math.round((c.totalHeight-c.iconS_do.h)/2))):(c.text_do.setVisible(!0),c.icon_do.setX(c.text_do.x+c.text_do.getWidth()+8+c.iconS_do.w-c.iconS_do.w),c.icon_do.setY(parseInt((c.totalHeight-c.iconS_do.h)/2)+2)),c.iconS_do.setX(c.icon_do.x),c.iconS_do.setY(c.icon_do.y),c.setWidth(t),c.main_do.setWidth(t),c.bk_do.setWidth(t),c.border_do.setWidth(t-1)},c.setNormalState=function(){FWDAnimation.to(c.iconS_do,.5,{alpha:0,ease:Expo.easeOut}),FWDAnimation.to(c.text_do.screen,.5,{css:{color:c.textNormalColor_str},ease:Expo.easeOut}),FWDAnimation.to(c.border_do.screen,.5,{css:{borderColor:c.borderNColor_str},ease:Expo.easeOut})},c.setSelectedState=function(){FWDAnimation.to(c.iconS_do,.5,{alpha:1,ease:Expo.easeOut}),FWDAnimation.to(c.text_do.screen,.5,{css:{color:c.textSelectedColor_str},ease:Expo.easeOut}),FWDAnimation.to(c.border_do.screen,.5,{css:{borderColor:c.borderSColor_str},ease:Expo.easeOut})},c.show=function(e){c.isShowed_bl||(c.isShowed_bl=!0,c.setVisible(!0),FWDAnimation.killTweensOf(c.main_do),e&&!c.isMbl?"left"==c.position_str?FWDAnimation.to(c.main_do,.8,{x:0,delay:.8,ease:Expo.easeInOut}):FWDAnimation.to(c.main_do,.8,{x:1-c.totalWidth,delay:.8,ease:Expo.easeInOut}):"left"==c.position_str?c.main_do.setX(0):c.main_do.setX(-c.totalWidth),c.text_do.getStyle().color=c.textNormalColor_str)},c.hide=function(e,t){(c.isShowed_bl||t)&&(c.isShowed_bl=!1,c.hasThumbanil_bl=!1,FWDAnimation.killTweensOf(c.main_do),e&&!c.isMbl?"left"==c.position_str?FWDAnimation.to(c.main_do,.8,{x:-c.totalWidth,ease:Expo.easeInOut,onComplete:c.hideCompleteHandler}):FWDAnimation.to(c.main_do,.8,{x:0,ease:Expo.easeInOut,onComplete:c.hideCompleteHandler}):("left"==c.position_str?c.main_do.setX(-c.totalWidth):c.main_do.setX(0),c.hideCompleteHandler()))},c.hideCompleteHandler=function(){c.smallImage_img&&(c.smallImage_img.onload=null,c.smallImage_img.src="",FWDAnimation.killTweensOf(c.icon_do)),1!=c.main_do.alpha&&c.main_do.setAlpha(1),c.thumbHolder_do.setVisible(!1),c.setVisible(!1)},c.hideWithOpacity=function(){FWDUVPUtils.isIEAndLessThen9||FWDAnimation.to(c.main_do,.8,{alpha:.5})},c.showWithOpacity=function(){FWDUVPUtils.isIEAndLessThen9||FWDAnimation.to(c.main_do,.8,{alpha:1})},c.init()};p.setPrototype=function(){p.prototype=null,p.prototype=new FWDUVPTransformDisplayObject("div")},p.CLICK="onClick",p.MOUSE_OVER="onMouseOver",p.SHOW_TOOLTIP="showTooltip",p.MOUSE_OUT="onMouseOut",p.MOUSE_UP="onMouseDown",p.prototype=null,e.FWDUVPAdsButton=p}(window),function(e){var a=function(e,t,o,s,n){var i=this;a.prototype;i.main_do=null,i.bk_do=null,i.text_do=null,i.border_do=null,i.thumbHolder_do=null,i.borderNColor_str=t,i.borderSColor_str=o,i.adsBackgroundPath_str=s,i.position_str=e,i.timeColor_str=n,i.totalWidth=215,i.totalHeight=64,i.fontSize=12,i.hasThumbanil_bl=!1,i.isShowed_bl=!1,i.isMbl=FWDUVPUtils.isMobile,i.hasPointerEvent_bl=FWDUVPUtils.hasPointerEvent,i.init=function(){i.setOverflow("visible"),i.setupMainContainers(),i.hide(!1,!0)},i.setupMainContainers=function(){i.main_do=new FWDUVPDisplayObject("div"),i.main_do.hasTransform3d_bl=!1,i.main_do.hasTransform2d_bl=!1,i.main_do.setBackfaceVisibility(),i.bk_do=new FWDUVPDisplayObject("div"),i.bk_do.getStyle().background="url('"+i.adsBackgroundPath_str+"')",i.text_do=new FWDUVPDisplayObject("div"),i.text_do.screen.className="UVP-skip-in",i.text_do.hasTransform3d_bl=!1,i.text_do.hasTransform2d_bl=!1,i.text_do.setBackfaceVisibility(),i.text_do.getStyle().fontFamily="Arial",i.text_do.getStyle().fontSize="12px",i.text_do.getStyle().lineHeight="18px",i.text_do.getStyle().textAlign="center",i.text_do.getStyle().color=i.timeColor_str,i.text_do.getStyle().fontSmoothing="antialiased",i.text_do.getStyle().webkitFontSmoothing="antialiased",i.text_do.getStyle().textRendering="optimizeLegibility",i.text_do.setInnerHTML("..."),i.thumbHolder_do=new FWDUVPDisplayObject("div"),i.thumbHolder_do.setWidth(i.totalHeight-8),i.thumbHolder_do.setHeight(i.totalHeight-8),i.thumbHolder_do.setX(i.totalWidth-i.thumbHolder_do.w-4),i.thumbHolder_do.setY(4),i.border_do=new FWDUVPDisplayObject("div"),i.border_do.getStyle().border="1px solid "+i.borderNColor_str,i.main_do.setWidth(i.totalWidth),i.main_do.setHeight(i.totalHeight),i.bk_do.setWidth(i.totalWidth),i.bk_do.setHeight(i.totalHeight),"left"==i.position_str?(i.border_do.setX(-1),i.border_do.setWidth(i.totalWidth-1)):i.border_do.setWidth(i.totalWidth),i.border_do.setHeight(i.totalHeight-2),i.setWidth(i.totalWidth),i.setHeight(i.totalHeight),i.main_do.addChild(i.bk_do),i.main_do.addChild(i.text_do),i.main_do.addChild(i.thumbHolder_do),i.main_do.addChild(i.border_do),i.addChild(i.main_do)},i.loadThumbnail=function(e){if(i.hasThumbanil_bl=!0,i.smallImage_img){i.smallImage_img.removeAttribute("width"),i.smallImage_img.removeAttribute("height"),i.smallImage_img.onload=null,i.smallImage_img.src="";try{FWDUVPUtils.isIE||i.thumbHolder_do.removeChild(i.thumbnail_do)}catch(e){}}i.thumbnail_do||(i.thumbnail_do=new FWDUVPDisplayObject("img"),i.smallImage_img=new Image),i.thumbHolder_do.setVisible(!0),i.smallImage_img.onload=i.onSmallImageLoad,i.smallImage_img.src=e},i.onSmallImageLoad=function(){i.smallImageOriginalW=i.smallImage_img.width,i.smallImageOriginalH=i.smallImage_img.height,i.thumbnail_do.setScreen(i.smallImage_img),i.thumbHolder_do.addChild(i.thumbnail_do);var e=i.thumbHolder_do.w/i.smallImageOriginalW,t=i.thumbHolder_do.h/i.smallImageOriginalH,o=0;t<=e?o=e:e<=t&&(o=t),i.thumbnail_do.setWidth(Math.round(i.smallImageOriginalW*o)),i.thumbnail_do.setHeight(Math.round(i.smallImageOriginalH*o)),i.thumbnail_do.setX(Math.round((i.thumbHolder_do.w-i.thumbnail_do.w)/2)),i.thumbnail_do.setY(Math.round((i.thumbHolder_do.h-i.thumbnail_do.h)/2)),i.thumbnail_do.setAlpha(0),FWDAnimation.to(i.thumbnail_do,.8,{alpha:1}),i.updateText()},i.updateText=function(e){e&&i.text_do.setInnerHTML(e),i.hasThumbanil_bl?(i.text_do.setX(16),i.text_do.setWidth(i.totalWidth-i.totalHeight-26)):(i.text_do.setX(8),i.text_do.setWidth(i.totalWidth-16)),i.text_do.setY(parseInt((i.totalHeight-i.text_do.getHeight())/2))},i.show=function(e){i.isShowed_bl||(i.isShowed_bl=!0,i.setVisible(!0),FWDAnimation.killTweensOf(i.main_do),e&&!i.isMbl?"left"==i.position_str?FWDAnimation.to(i.main_do,.8,{x:0,delay:.2,ease:Expo.easeInOut}):FWDAnimation.to(i.main_do,.8,{x:1-i.totalWidth,delay:.2,ease:Expo.easeInOut}):"left"==i.position_str?i.main_do.setX(0):i.main_do.setX(-i.totalWidth))},i.hide=function(e,t){(i.isShowed_bl||t)&&(i.isShowed_bl=!1,i.hasThumbanil_bl=!1,FWDAnimation.killTweensOf(i.main_do),e&&!i.isMbl?"left"==i.position_str?FWDAnimation.to(i.main_do,.8,{x:-i.totalWidth,ease:Expo.easeInOut,onComplete:i.hideCompleteHandler}):FWDAnimation.to(i.main_do,.8,{x:0,ease:Expo.easeInOut,onComplete:i.hideCompleteHandler}):("left"==i.position_str?i.main_do.setX(-i.totalWidth):i.main_do.setX(0),i.hideCompleteHandler()))},i.hideCompleteHandler=function(){i.smallImage_img&&(i.smallImage_img.onload=null,i.smallImage_img.src="",FWDAnimation.killTweensOf(i.thumbnail_do)),1!=i.main_do.alpha&&i.main_do.setAlpha(1),i.thumbHolder_do.setVisible(!1),i.setVisible(!1)},i.hideWithOpacity=function(){FWDUVPUtils.isIEAndLessThen9||FWDAnimation.to(i.main_do,.8,{alpha:.5})},i.showWithOpacity=function(){FWDUVPUtils.isIEAndLessThen9||FWDAnimation.to(i.main_do,.8,{alpha:1})},i.init()};a.setPrototype=function(){a.prototype=null,a.prototype=new FWDUVPTransformDisplayObject("div")},a.CLICK="onClick",a.MOUSE_OVER="onMouseOver",a.SHOW_TOOLTIP="showTooltip",a.MOUSE_OUT="onMouseOut",a.MOUSE_UP="onMouseDown",a.prototype=null,e.FWDUVPAdsStart=a}(window),function(window){var FWDUVPAnnotation=function(props_obj){var _s=this,prototype=FWDUVPAnnotation.prototype;_s.id=props_obj.id,_s.startTime=props_obj.start,_s.endTime=props_obj.end,_s.htmlContent_str=props_obj.content,_s.left=props_obj.left,_s.top=props_obj.top,_s.showCloseButton_bl=props_obj.showCloseButton_bl,_s.clickSource=props_obj.clickSource,_s.clickSourceTarget=props_obj.clickSourceTarget,_s.closeButtonNpath=props_obj.closeButtonNpath,_s.closeButtonSPath=props_obj.closeButtonSPath,_s.normalStateClass=props_obj.normalStateClass,_s.selectedStateClass=props_obj.selectedStateClass,_s.showAnnotationsPositionTool_bl=props_obj.showAnnotationsPositionTool_bl,_s.prt=props_obj.prt,_s.curX=_s.left,_s.curY=_s.top,_s._d=props_obj._d,_s.useHEX=props_obj.useHEX,_s.nBC=props_obj.nBC,_s.sBC=props_obj.sBC,_s.handPath_str=props_obj.handPath_str,_s.grabPath_str=props_obj.grabPath_str,_s.dummy_do=null,_s.isShowed_bl=!1,_s.isClsd=!1,_s.init=function(){-1!=_s._d.sknPth.indexOf("hex_white")&&(_s.sBC="#FFFFFF"),_s.setOverflow("visible"),_s.setAlpha(0),_s.setVisible(!1),FWDUVPUtils.hasTransform2d&&(_s.getStyle().transformOrigin="0% 0%"),_s.screen.innerHTML=_s.htmlContent_str,_s.screen.className=_s.normalStateClass,_s.setBackfaceVisibility(),_s.getStyle().fontSmoothing="antialiased",_s.getStyle().webkitFontSmoothing="antialiased",_s.getStyle().textRendering="optimizeLegibility",_s.dummy_do=new FWDUVPDisplayObject("div"),_s.dummy_do.getStyle().width="100%",_s.dummy_do.getStyle().height="100%",_s.addChild(_s.dummy_do),setTimeout(function(){_s.w=_s.getWidth(),_s.h=_s.getHeight()},100),_s.showCloseButton_bl&&!_s.showAnnotationsPositionTool_bl&&(FWDUVPSimpleSizeButton.setPrototype(),_s.clsBtn=new FWDUVPSimpleSizeButton(_s.closeButtonNpath,_s.closeButtonSPath,26,26,_s.useHEX,_s.nBC,_s.sBC,!0),_s.clsBtn.setScale2(0),_s.clsBtn.addListener(FWDUVPSimpleSizeButton.MOUSE_UP,_s.closeClickButtonCloseHandler),_s.clsBtn.getStyle().position="absolute",_s.addChild(_s.clsBtn)),_s.showAnnotationsPositionTool_bl&&(_s.info_do=new FWDUVPDisplayObject("div"),_s.info_do.getStyle().backgroundColor="#FFFFFF",_s.info_do.getStyle().boxShadow="2px 2px 2px #888888;",_s.info_do.getStyle().fontSmoothing="antialiased",_s.info_do.getStyle().webkitFontSmoothing="antialiased",_s.info_do.getStyle().textRendering="optimizeLegibility",_s.addChild(_s.info_do),setTimeout(function(){_s.info_do.screen.innerHTML="
_d-left="+Math.round(_s.curX*_s.prt.scaleInverse)+"
_d-top="+Math.round(_s.curY*_s.prt.scaleInverse)+"
",_s.setX(Math.round(_s.curX*_s.prt.scale)),_s.setY(Math.round(_s.curY*_s.prt.scale))},100),_s.isMbl?_s.hasPointerEvent_bl?_s.screen.addEventListener("pointerdown",_s.selfOnDownHandler):_s.screen.addEventListener("touchdown",_s.selfOnDownHandler):window.addEventListener&&_s.screen.addEventListener("mousedown",_s.selfOnDownHandler),_s.getStyle().cursor="url("+_s.handPath_str+"), default"),_s.clickSource&&!_s.showAnnotationsPositionTool_bl&&(_s.dummy_do.setButtonMode(!0),_s.dummy_do.screen.addEventListener("click",_s.onClickHandler),_s.dummy_do.screen.addEventListener("mouseover",_s.onMouseOverHandler),_s.dummy_do.screen.addEventListener("mouseout",_s.onMouseOutHandler))},_s.selfOnDownHandler=function(e){e.preventDefault&&e.preventDefault(),_s.getStyle().cursor="url("+_s.grabPath_str+"), default",_s.prt.addChild(_s);var t=FWDUVPUtils.getViewportMouseCoordinates(e);_s.startX=t.screenX-_s.prt.getGlobalX(),_s.startY=t.screenY-_s.prt.getGlobalY(),_s.curX=_s.x,_s.curY=_s.y,_s.isMbl?_s.hasPointerEvent_bl?(window.addEventListener("pointermove",_s.selfMoveHandler),window.addEventListener("pointerup",_s.selfEndHandler)):(window.addEventListener("touchmove",_s.selfMoveHandler),window.addEventListener("touchend",_s.selfEndHandler)):window.addEventListener&&(window.addEventListener("mousemove",_s.selfMoveHandler),window.addEventListener("mouseup",_s.selfEndHandler))},_s.selfMoveHandler=function(e){e.preventDefault&&e.preventDefault();var t=FWDUVPUtils.getViewportMouseCoordinates(e);_s.localX=t.screenX-_s.prt.getGlobalX(),_s.localY=t.screenY-_s.prt.getGlobalY(),_s.curX=_s.x,_s.curY=_s.y,_s.curX+=_s.localX-_s.startX,_s.curY+=_s.localY-_s.startY,_s.setX(_s.curX),_s.setY(_s.curY),_s.startX=t.screenX-_s.prt.getGlobalX(),_s.startY=t.screenY-_s.prt.getGlobalY(),_s.info_do.screen.innerHTML="
_d-left="+Math.round(_s.curX*_s.prt.scaleInverse)+"
_d-top="+Math.round(_s.curY*_s.prt.scaleInverse)+"
"},_s.selfEndHandler=function(e){_s.getStyle().cursor="url("+_s.handPath_str+"), default",_s.isMbl?_s.hasPointerEvent_bl?(window.removeEventListener("pointermove",_s.selfMoveHandler),window.removeEventListener("pointerup",_s.selfEndHandler)):(window.removeEventListener("touchmove",_s.selfMoveHandler),window.removeEventListener("touchend",_s.selfEndHandler)):window.removeEventListener&&(window.removeEventListener("mousemove",_s.selfMoveHandler),window.removeEventListener("mouseup",_s.selfEndHandler))},_s.onMouseOverHandler=function(e){_s.setSelectedAtate()},_s.onMouseOutHandler=function(e){_s.setNormalState()},_s.onClickHandler=function(){-1!=_s.clickSource.indexOf("https")||-1!=_s.clickSource.indexOf("http")?window.open(_s.clickSource,_s.clickSourceTarget):eval(_s.clickSource)},_s.closeClickButtonCloseHandler=function(){_s.hide(),_s.isClsd=!0},_s.show=function(){_s.isShowed_bl||_s.isClsd||(_s.isShowed_bl=!0,_s.setVisible(!0),FWDAnimation.killTweensOf(_s),FWDAnimation.to(_s,.8,{alpha:1,ease:Quint.easeOut}),_s.clsBtn&&FWDAnimation.to(_s.clsBtn,.8,{scale:1,delay:.2,ease:Elastic.easeOut}))},_s.hide=function(){_s.isShowed_bl&&(FWDAnimation.killTweensOf(_s),_s.isShowed_bl=!1,_s.setVisible(!1),_s.setAlpha(0),_s.clsBtn&&(FWDAnimation.killTweensOf(_s.clsBtn),_s.clsBtn.setScale2(0)))},_s.setNormalState=function(){_s.selectedStateClass&&FWDAnimation.to(_s.screen,.8,{className:_s.normalStateClass,ease:Quint.easeOut})},_s.setSelectedAtate=function(){_s.selectedStateClass&&FWDAnimation.to(_s.screen,.8,{className:_s.selectedStateClass,ease:Quint.easeOut})},_s.updateHEXColors=function(e,t){_s.clsBtn&&_s.clsBtn.updateHEXColors(e,t,_s.buttonWidth,_s.buttonHeight)},_s.init()};FWDUVPAnnotation.setPrototype=function(){FWDUVPAnnotation.prototype=null,FWDUVPUtils.hasTransform2d?FWDUVPAnnotation.prototype=new FWDUVPTransformDisplayObject("div"):FWDUVPAnnotation.prototype=new FWDUVPDisplayObject("div")},FWDUVPAnnotation.prototype=null,window.FWDUVPAnnotation=FWDUVPAnnotation}(window),function(r){var e=function(n,i){var a=this;e.prototype;a.nBC=i.nBC,a.sBC=i.sBC,a.ann_ar=[],a.showAnnotationsPositionTool_bl=i.showAnnotationsPositionTool_bl,a.init=function(){a.setOverflow("visible")},a.setupAnnotations=function(e){if(a.ann_ar)for(var t=0;t=t.startTime&&e<=t.endTime?(t.show(),a.position()):t.hide()},a.position=function(e){var t=n.sW/n.maxWidth;if(a.setX(Math.round((n.sW-t*n.maxWidth)/2)),a.setY(Math.round((n.tempVidStageHeight-t*n.maxHeight)/2)),a.scale=n.sW/n.maxWidth,a.scaleY=a.scale,a.scaleX=a.scale,a.scaleInverse=n.maxWidth/n.sW,!a.showAnnotationsPositionTool_bl)for(var o=0;on.maxWidth/3&&(s.finalX-=n.playlistWidth+n.spaceBetweenControllerAndPlaylist),s.finalY=Math.floor(s.top*a.scaleY),s.clsBtn&&(s.clsBtn.setWidth(Math.round(s.clsBtn.buttonWidth*a.scaleInverse)),s.clsBtn.setHeight(Math.round(s.clsBtn.buttonHeight*a.scaleInverse)),s.clsBtn.n_do.setWidth(Math.round(s.clsBtn.buttonWidth*a.scaleInverse)),s.clsBtn.n_do.setHeight(Math.round(s.clsBtn.buttonHeight*a.scaleInverse)),s.clsBtn.n_do_canvas&&(s.clsBtn.n_do_canvas.style.width=Math.round(s.clsBtn.buttonWidth*a.scaleInverse)+"px",s.clsBtn.n_do_canvas.style.height=Math.round(s.clsBtn.buttonheight*a.scaleInverse)+"px",s.clsBtn.s_do_canvas.style.width=Math.round(s.clsBtn.buttonWidth*a.scaleInverse)+"px",s.clsBtn.s_do_canvas.style.height=Math.round(s.clsBtn.buttonheight*a.scaleInverse)+"px"),s.clsBtn.s_do.setWidth(Math.round(s.clsBtn.buttonWidth*a.scaleInverse)),s.clsBtn.s_do.setHeight(Math.round(s.clsBtn.buttonHeight*a.scaleInverse)),s.clsBtn.setX(Math.floor(s.getWidth()-s.clsBtn.w/2)),s.clsBtn.setY(Math.floor(-s.clsBtn.h/2))),s.prevFinalX!=s.finalX&&(e?FWDAnimation.to(s,.8,{x:s.finalX,ease:Expo.easeInOut}):s.setX(s.finalX)),s.prevFinalY!=s.finalY&&(e?FWDAnimation.to(s,.8,{y:s.finalY,ease:Expo.easeInOut}):s.setY(s.finalY)),s.prevFinalX=s.finalX,s.prevFinalY=s.finalY}},a.updateHEXColors=function(e,t){if(a.nBC=e,a.sBC=t,a.ann_ar)for(var o=0;o
",void 0,"UVPCategoriesNextAndPrevNormalState","UVPCategoriesNextAndPrevSelectedState")):(FWDUVPSimpleButton.setPrototype(),m.clsBtn=new FWDUVPSimpleButton(m.catCloseN_img,o.catCloseSPath_str,void 0,!0,o.useHEX,o.nBC,m.sBC,!1,!1,!1,!1,!0)),m.clsBtn.addListener(FWDUVPSimpleButton.MOUSE_UP,m.closeButtonOnMouseUpHandler),m.useVectorIcons_bl?(FWDUVPSimpleButton.setPrototype(),m.nextButton_do=new FWDUVPSimpleButton(void 0,void 0,void 0,!0,void 0,void 0,void 0,"
",void 0,"UVPCategoriesNextAndPrevNormalState","UVPCategoriesNextAndPrevSelectedState")):(FWDUVPSimpleButton.setPrototype(),m.nextButton_do=new FWDUVPSimpleButton(m.catNextN_img,o.catNextSPath_str,void 0,!0,o.useHEX,o.nBC,m.sBC,!1,!1,!1,!1,!0)),m.nextButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,m.nextButtonOnMouseUpHandler),m.useVectorIcons_bl?(FWDUVPSimpleButton.setPrototype(),m.prevButton_do=new FWDUVPSimpleButton(void 0,void 0,void 0,!0,void 0,void 0,void 0,"
",void 0,"UVPCategoriesNextAndPrevNormalState","UVPCategoriesNextAndPrevSelectedState")):(FWDUVPSimpleButton.setPrototype(),m.prevButton_do=new FWDUVPSimpleButton(m.catPrevN_img,o.catPrevSPath_str,void 0,!0,o.useHEX,o.nBC,m.sBC,!1,!1,!1,!1,!0)),m.prevButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,m.prevButtonOnMouseUpHandler))},m.closeButtonOnMouseUpHandler=function(){m.hide()},m.nextButtonOnMouseUpHandler=function(){var e=m.howManyThumbsToDisplayH*m.howManyThumbsToDisplayV;m.tempId+=e,m.tempId>m.totalThumbnails-1&&(m.tempId=m.totalThumbnails-1);var t=Math.floor(m.tempId/e);m.tempId=t*e,m.resizeAndPositionThumbnails(!0,"next"),m.disableEnableNextAndPrevButtons(!1,!0)},m.prevButtonOnMouseUpHandler=function(){var e=m.howManyThumbsToDisplayH*m.howManyThumbsToDisplayV;m.tempId-=e,m.tempId<0&&(m.tempId=0);var t=Math.floor(m.tempId/e);m.tempId=t*e,m.resizeAndPositionThumbnails(!0,"prev"),m.disableEnableNextAndPrevButtons(!0,!1)},m.positionButtons=function(){m.clsBtn.setX(m.sW-m.clsBtn.w-m.buttonsMargins),m.clsBtn.setY(m.buttonsMargins),m.nextButton_do.setX(m.sW-m.nextButton_do.w-m.buttonsMargins),m.nextButton_do.setY(parseInt((m.sH-m.nextButton_do.h)/2)),m.prevButton_do.setX(m.buttonsMargins),m.prevButton_do.setY(parseInt((m.sH-m.prevButton_do.h)/2))},m.disableEnableNextAndPrevButtons=function(e,t){var o=m.howManyThumbsToDisplayH*m.howManyThumbsToDisplayV,s=Math.floor(m.tempId/o),n=Math.ceil(m.totalThumbnails/o)-1;m.howManyThumbsToDisplayH,m.howManyThumbsToDisplayH;o>=m.totalThumbnails?(m.nextButton_do.disable(),m.prevButton_do.disable(),m.nextButton_do.setDisabledState(),m.prevButton_do.setDisabledState()):0==s?(m.nextButton_do.enable(),m.prevButton_do.disable(),m.nextButton_do.setEnabledState(),m.prevButton_do.setDisabledState()):(s==n?(m.nextButton_do.disable(),m.prevButton_do.enable(),m.nextButton_do.setDisabledState()):(m.nextButton_do.enable(),m.prevButton_do.enable(),m.nextButton_do.setEnabledState()),m.prevButton_do.setEnabledState()),e||m.prevButton_do.setNormalState(),t||m.nextButton_do.setNormalState()},m.setupMobileMove=function(){m.hasPointerEvent_bl?m.screen.addEventListener("pointerdown",m.mobileDownHandler):m.screen.addEventListener("touchstart",m.mobileDownHandler)},m.mobileDownHandler=function(e){var t;e.touches&&1!=e.touches.length||(t=FWDUVPUtils.getViewportMouseCoordinates(e),m.mouseX=t.screenX,m.mouseY=t.screenY,m.hasPointerEvent_bl?(window.addEventListener("pointerup",m.mobileUpHandler),window.addEventListener("pointermove",m.mobileMoveHandler)):(window.addEventListener("touchend",m.mobileUpHandler),window.addEventListener("touchmove",m.mobileMoveHandler)))},m.mobileMoveHandler=function(e){var t;e.preventDefault&&e.preventDefault(),e.touches&&1!=e.touches.length||(m.showDisable(),t=FWDUVPUtils.getViewportMouseCoordinates(e),m.dif=m.mouseX-t.screenX,m.mouseX=t.screenX,m.mouseY=t.screenY)},m.mobileUpHandler=function(e){m.hideDisable(),10m.thumbnailMaxWidth&&(m.howManyThumbsToDisplayH+=1,m.thumbW=Math.floor((p-m.spacerH*(m.howManyThumbsToDisplayH-1))/m.howManyThumbsToDisplayH)),m.thumbH=Math.floor(m.thumbW/m.thumbnailMaxWidth*m.thumbnailMaxHeight),m.howManyThumbsToDisplayV=Math.floor(h/(m.thumbH+m.spacerV)),m.howManyThumbsToDisplayV<1&&(m.howManyThumbsToDisplayV=1),i=Math.min(m.howManyThumbsToDisplayH,m.totalThumbnails)*(m.thumbW+m.spacerH)-m.spacerH,a=Math.min(Math.ceil(m.totalThumbnails/m.howManyThumbsToDisplayH),m.howManyThumbsToDisplayV)*(m.thumbH+m.spacerV)-m.spacerV,r=m.howManyThumbsToDisplayH>m.totalThumbnails?0:p-i,m.howManyThumbsToDisplayH>m.totalThumbnails&&(m.howManyThumbsToDisplayH=m.totalThumbnails),_=m.howManyThumbsToDisplayH*m.howManyThumbsToDisplayV,s=Math.floor(m.tempId/_),m.isSearched_bl&&(s=0),d=m.howManyThumbsToDisplayH*s,firstId=s*_,(l=firstId+_)>m.totalThumbnails&&(l=m.totalThumbnails);for(c=0;c=firstId&&c=m.totalThumbnails?(m.nextButton_do.setVisible(!1),m.prevButton_do.setVisible(!1)):(m.nextButton_do.setVisible(!0),m.prevButton_do.setVisible(!0))}},m.loadImages=function(){m.countLoadedThumbs>m.totalThumbnails-1||(m.image_img&&(m.image_img.onload=null,m.image_img.onerror=null),m.image_img=new Image,m.image_img.onerror=m.onImageLoadError,m.image_img.onload=m.onImageLoadComplete,m.image_img.src=m.categories_ar[m.countLoadedThumbs].thumbnailPath)},m.onImageLoadError=function(e){},m.onImageLoadComplete=function(e){m.thumbs_ar[m.countLoadedThumbs].setImage(m.image_img),m.countLoadedThumbs++,m.loadWithDelayId_to=setTimeout(m.loadImages,40)},m.disableOrEnableThumbnails=function(){for(var e,t=0;ta.mainButtonsHolder_do.h?a.allowToScrollAndScrollBarIsActive_bl=!0:a.allowToScrollAndScrollBarIsActive_bl=!1,!a.allowToScrollAndScrollBarIsActive_bl&&a.scrMainHolder_do?a.scrMainHolder_do.setVisible(!1):a.allowToScrollAndScrollBarIsActive_bl&&a.scrMainHolder_do&&a.isShd&&a.scrMainHolder_do.setVisible(!0),a.scrHandler_do&&a.updateScrollBarSizeActiveAndDeactivate(),a.getMaxWidthResizeAndPosition(),a.updateScrollBarHandlerAndContent()},a.hide=function(e,t){(a.isShd||t)&&(FWDAnimation.killTweensOf(a),a.isShd=!1,FWDAnimation.killTweensOf(a.mainButtonsHolder_do),FWDAnimation.killTweensOf(a.bk_do),e?(FWDAnimation.to(a.mainButtonsHolder_do,.8,{y:-a.ttBtnH,ease:Expo.easeInOut,onComplete:a.hideComplete}),FWDAnimation.to(a.bk_do,.8,{alpha:0})):(a.mainButtonsHolder_do.setY(a.buttonHeight-a.ttBtnH),a.bk_do.setAlpha(0),a.setHeight(a.buttonHeight)))},a.hideComplete=function(){a.mainButtonsHolder_do.setVisible(!1),a.bk_do.setVisible(!1)},a.show=function(e,t){a.isShd&&!t||(FWDAnimation.killTweensOf(a),a.mainButtonsHolder_do.setY(-a.ttBtnH),a.isShd=!0,a.mainButtonsHolder_do.setVisible(!0),a.bk_do.setVisible(!0),a.resizeAndPosition(),FWDAnimation.killTweensOf(a.mainButtonsHolder_do),FWDAnimation.killTweensOf(a.bk_do),a.scrMainHolder_do&&a.allowToScrollAndScrollBarIsActive_bl&&a.scrMainHolder_do.setVisible(!0),e?(FWDAnimation.to(a.bk_do,.8,{alpha:1}),FWDAnimation.to(a.mainButtonsHolder_do,.8,{y:a.buttonHeight+n.spaceBetweenThumbnails,ease:Expo.easeInOut})):(a.bk_do.setAlpha(1),a.mainButtonsHolder_do.setY(a.buttonHeight+n.spaceBetweenThumbnails)))},a.setupScrollLogic=function(){a.setupMobileScrollbar(),a.isMbl||a.setupScrollbar(),a.addMouseWheelSupport_bl&&a.addMouseWheelSupport()},a.setupMobileScrollbar=function(){a.hasPointEvt?a.mainButtonsHolder_do.screen.addEventListener("pointerdown",a.scrollBarTouchStartHandler):a.mainButtonsHolder_do.screen.addEventListener("touchstart",a.scrollBarTouchStartHandler),a.isMbl&&(a.updateMobileScrollBarId_int=setInterval(a.updateMobileScrollBar,16))},a.scrollBarTouchStartHandler=function(e){e.preventDefault&&e.preventDefault(),a.isScrollingOnMove_bl=!1,FWDAnimation.killTweensOf(a.buttonsHolder_do);var t=FWDUVPUtils.getViewportMouseCoordinates(e);a.isDragging_bl=!0,a.lastPresedY=t.screenY,a.checkLastPresedY=t.screenY,a.hasPointEvt?(s.addEventListener("pointerup",a.scrollBarTouchEndHandler),s.addEventListener("pointermove",a.scrollBarTouchMoveHandler)):(s.addEventListener("touchend",a.scrollBarTouchEndHandler),s.addEventListener("touchmove",a.scrollBarTouchMoveHandler)),s.addEventListener("mouseup",a.scrollBarTouchEndHandler),s.addEventListener("mousemove",a.scrollBarTouchMoveHandler),clearInterval(a.updateMoveMobileScrollbarId_int),a.updateMoveMobileScrollbarId_int=setInterval(a.updateMoveMobileScrollbar,20)},a.scrollBarTouchMoveHandler=function(e){var t,o,s;e.preventDefault&&e.preventDefault(),e.stopImmediatePropagation(),a.ttBtnH=a.checkLastPresedY+6||t.screenY<=a.checkLastPresedY-6)&&(a.isScrollingOnMove_bl=!0),o=t.screenY-a.lastPresedY,a.thmbsFinY+=o,a.thmbsFinY=Math.round(a.thmbsFinY),a.lastPresedY=t.screenY,a.vy=2*o,a.isMobile||(0a.scrMainHolder_do.h-a.scrHandler_do.h-1&&(a.scrBarHandY=a.scrMainHolder_do.h-a.scrHandler_do.h-1),FWDAnimation.killTweensOf(a.scrHandler_do),FWDAnimation.killTweensOf(a.scrHandlerLines_do),a.scrHandler_do.setY(a.scrBarHandY),a.scrHandlerLines_do.setY(a.scrBarHandY+parseInt((a.scrHandler_do.h-a.scrHandlerLinesN_do.h)/2)))))},a.scrollBarTouchEndHandler=function(e){a.isDragging_bl=!1,clearInterval(a.updateMoveMobileScrollbarId_int),clearTimeout(a.disableOnMoveId_to),a.disableOnMoveId_to=setTimeout(function(){n.prt.hideDisable()},100),a.hasPointEvt?(s.removeEventListener("pointerup",a.scrollBarTouchEndHandler),s.removeEventListener("pointermove",a.scrollBarTouchMoveHandler)):(s.removeEventListener("touchend",a.scrollBarTouchEndHandler),s.removeEventListener("touchmove",a.scrollBarTouchMoveHandler)),s.removeEventListener("mousemove",a.scrollBarTouchMoveHandler)},a.updateMoveMobileScrollbar=function(){a.buttonsHolder_do.setY(a.thmbsFinY)},a.updateMobileScrollBar=function(e){a.isDragging_bl||(a.ttBtnH=a.scrTrack_do.h-a.scrHandler_do.h?a.scrBarHandY=a.scrTrack_do.h-a.scrHandler_do.h:a.scrBarHandY<=0&&(a.scrBarHandY=0),a.scrHandler_do.setY(a.scrBarHandY),FWDAnimation.killTweensOf(a.scrHandler_do),FWDAnimation.to(a.scrHandlerLines_do,.8,{y:o,ease:Quart.easeOut}),a.updateScrollBarHandlerAndContent(!0)},a.scrollBarHandlerEndHandler=function(e){var t=FWDUVPUtils.getViewportMouseCoordinates(e);a.isDragging_bl=!1,FWDUVPUtils.hitTest(a.scrHandler_do.screen,t.screenX,t.screenY)||(FWDAnimation.killTweensOf(a.scrHandlerLinesN_do),FWDAnimation.killTweensOf(a.scrHandlerLinesS_do),FWDAnimation.to(a.scrHandlerLinesN_do,.8,{alpha:1,ease:Expo.easeOut}),FWDAnimation.to(a.scrHandlerLinesS_do,.8,{alpha:0,ease:Expo.easeOut})),n.prt.hideDisable(),FWDAnimation.killTweensOf(a.scrHandler_do),FWDAnimation.to(a.scrHandler_do,.4,{y:a.scrBarHandY,ease:Quart.easeOut}),s.removeEventListener?(s.removeEventListener("mousemove",a.scrollBarHandlerMoveHandler),s.removeEventListener("mouseup",a.scrollBarHandlerEndHandler)):document.detachEvent&&(document.detachEvent("onmousemove",a.scrollBarHandlerMoveHandler),document.detachEvent("onmouseup",a.scrollBarHandlerEndHandler))},a.updateScrollBarSizeActiveAndDeactivate=function(){a.disableForAWhileAfterThumbClick_bl||(a.allowToScrollAndScrollBarIsActive_bl?(a.allowToScrollAndScrollBarIsActive_bl=!0,a.scrMainHolder_do.setX(a.sW-a.scrMainHolder_do.w),a.scrMainHolder_do.setHeight(a.mainButtonsHolder_do.h),a.scrTrack_do.setHeight(a.scrMainHolder_do.h),a.scrTrackMiddle_do.setHeight(a.scrTrack_do.h-2*a.scrTrackTop_do.h),a.scrTrackBottom_do.setY(a.scrTrackMiddle_do.y+a.scrTrackMiddle_do.h),a.scrMainHolder_do.setAlpha(1),a.scrHandler_do.setButtonMode(!0),a.scrHandlerLines_do.setButtonMode(!0)):(a.allowToScrollAndScrollBarIsActive_bl=!1,a.scrMainHolder_do.setX(a.sW-a.scrMainHolder_do.w),a.scrMainHolder_do.setHeight(a.mainButtonsHolder_do.h),a.scrTrack_do.setHeight(a.scrMainHolder_do.h),a.scrTrackMiddle_do.setHeight(a.scrTrack_do.h-2*a.scrTrackTop_do.h),a.scrTrackBottom_do.setY(a.scrTrackMiddle_do.y+a.scrTrackMiddle_do.h),a.scrMainHolder_do.setAlpha(.5),a.scrHandler_do.setY(0),a.scrHandler_do.setButtonMode(!1),a.scrHandlerLines_do.setButtonMode(!1)),a.scrHandler_do.setHeight(Math.max(120,Math.round(Math.min(1,a.scrMainHolder_do.h/a.ttBtnH)*a.scrMainHolder_do.h))),a.scrHandlerMiddle_do.setHeight(a.scrHandler_do.h-2*a.scrHandlerTop_do.h),a.scrHandlerBottom_do.setY(a.scrHandlerMiddle_do.y+a.scrHandlerMiddle_do.h),FWDAnimation.killTweensOf(a.scrHandlerLines_do),a.scrHandlerLines_do.setY(a.scrBarHandY+parseInt((a.scrHandler_do.h-a.scrHandlerLines_do.h)/2)),a.scrHandlerBottom_do.setY(a.scrHandler_do.h-a.scrHandlerBottom_do.h))},a.addMouseWheelSupport=function(){a.screen.addEventListener?(a.screen.addEventListener("DOMMouseScroll",a.mouseWheelHandler),a.screen.addEventListener("mousewheel",a.mouseWheelHandler)):a.screen.attachEvent&&a.screen.attachEvent("onmousewheel",a.mouseWheelHandler)},a.mouseWheelHandler=function(e){if(e.preventDefault&&e.preventDefault(),a.disableMouseWheel_bl||a.isDragging_bl)return!1;var t=e.detail||e.wheelDelta;e.wheelDelta&&(t*=-1),0=a.scrTrack_do.h-a.scrHandler_do.h?a.scrBarHandY=a.scrTrack_do.h-a.scrHandler_do.h:a.scrBarHandY<=0&&(a.scrBarHandY=0);var o=a.scrBarHandY+parseInt((a.scrHandler_do.h-a.scrHandlerLines_do.h)/2);if(FWDAnimation.killTweensOf(a.scrHandler_do),FWDAnimation.killTweensOf(a.scrHandlerLines_do),FWDAnimation.to(a.scrHandlerLines_do,.8,{y:o,ease:Quart.easeOut}),FWDAnimation.to(a.scrHandler_do,.5,{y:a.scrBarHandY,ease:Quart.easeOut}),a.isDragging_bl=!0,a.updateScrollBarHandlerAndContent(!0),a.isDragging_bl=!1,!e.preventDefault)return!1;e.preventDefault()},a.updateScrollBarHandlerAndContent=function(e,t){var o;a.disableForAWhileAfterThumbClick_bl||(a.allowToScrollAndScrollBarIsActive_bl||t)&&(o=0,a.isDragging_bl&&!a.isMbl?("Infinity"==(o=a.scrBarHandY/(a.scrMainHolder_do.h-a.scrHandler_do.h))?o=0:1<=o&&(scrollPercent=1),a.thmbsFinY=-1*Math.round(o*(a.ttBtnH-a.mainButtonsHolder_do.h)),0==a.mainButtonsHolder_do.h&&(a.thmbsFinY=0)):(o=a.curId/(a.ttBtns-1),a.thmbsFinY=Math.min(0,-1*Math.round(o*(a.ttBtnH-a.mainButtonsHolder_do.h))),0==a.mainButtonsHolder_do.h&&(a.thmbsFinY=0),a.scrMainHolder_do&&(a.scrBarHandY=Math.round((a.scrMainHolder_do.h-a.scrHandler_do.h)*o),a.scrBarHandY<0?a.scrBarHandY=0:a.scrBarHandY>a.scrMainHolder_do.h-a.scrHandler_do.h-1&&(a.scrBarHandY=a.scrMainHolder_do.h-a.scrHandler_do.h-1),FWDAnimation.killTweensOf(a.scrHandler_do),FWDAnimation.killTweensOf(a.scrHandlerLines_do),e?(FWDAnimation.to(a.scrHandler_do,.4,{y:a.scrBarHandY,ease:Quart.easeOut}),FWDAnimation.to(a.scrHandlerLines_do,.8,{y:a.scrBarHandY+parseInt((a.scrHandler_do.h-a.scrHandlerLinesN_do.h)/2),ease:Quart.easeOut})):(a.scrHandler_do.setY(a.scrBarHandY),a.scrHandlerLines_do.setY(a.scrBarHandY+parseInt((a.scrHandler_do.h-a.scrHandlerLinesN_do.h)/2))))),a.lastThumbnailFinalY!=a.thmbsFinY&&(FWDAnimation.killTweensOf(a.buttonsHolder_do),e?FWDAnimation.to(a.buttonsHolder_do,.5,{y:a.thmbsFinY,ease:Quart.easeOut}):a.buttonsHolder_do.setY(a.thmbsFinY)),a.lastThumbnailFinalY=a.thmbsFinY)},a.init()};t.setPrototype=function(){t.prototype=new FWDUVPDisplayObject("div")},t.OPEN="open",t.HIDE_COMPLETE="infoWindowHideComplete",t.BUTTON_PRESSED="buttonPressed",t.prototype=null,s.FWDUVPComboBox=t}(window),function(){var d=function(t,e,o,s,n,i,a,r){var l=this;d.prototype;l.bk_sdo=null,l.text_sdo=null,l.dumy_sdo=null,l.label1_str=e,l.bkNClr=o,l.bkSClr=s,l.txtNClr=n,l.txtSClr=i,l.totalWidth=400,l.totalHeight=r,l.id=a,l.hasPointerEvent_bl=FWDUVPUtils.hasPointerEvent,l.isMbl=FWDUVPUtils.isMobile,l.isDisabled_bl=!1,l.init=function(){l.setBackfaceVisibility(),l.setButtonMode(!0),l.setupMainContainers(),l.setWidth(l.totalWidth),l.setHeight(l.totalHeight),l.setNormalState()},l.setupMainContainers=function(){l.bk_sdo=new FWDUVPDisplayObject("div"),l.bk_sdo.setBkColor(l.bkNClr),l.addChild(l.bk_sdo),l.text_sdo=new FWDUVPDisplayObject("div"),l.text_sdo.getStyle().whiteSpace="nowrap",l.text_sdo.screen.className="fwduvp-cb-button",l.text_sdo.setBackfaceVisibility(),l.text_sdo.setOverflow("visible"),l.text_sdo.setDisplay("inline-block"),l.text_sdo.getStyle().fontFamily="Arial",l.text_sdo.getStyle().fontSize="13px",l.text_sdo.getStyle().padding="6px",l.text_sdo.getStyle().fontWeight="100",l.text_sdo.getStyle().color=l.nBC,l.text_sdo.getStyle().fontSmoothing="antialiased",l.text_sdo.getStyle().webkitFontSmoothing="antialiased",l.text_sdo.getStyle().textRendering="optimizeLegibility",FWDUVPUtils.isIEAndLessThen9?l.text_sdo.screen.innerText=l.label1_str:l.text_sdo.setInnerHTML(l.label1_str),l.addChild(l.text_sdo),l.dumy_sdo=new FWDUVPDisplayObject("div"),FWDUVPUtils.isIE&&(l.dumy_sdo.setBkColor("#FF0000"),l.dumy_sdo.setAlpha(0)),l.addChild(l.dumy_sdo),l.hasPointerEvent_bl?(l.screen.addEventListener("pointerup",l.onClick),l.screen.addEventListener("pointerover",l.onMouseOver),l.screen.addEventListener("pointerout",l.onMouseOut)):l.screen.addEventListener&&(l.isMbl||(l.screen.addEventListener("mouseover",l.onMouseOver),l.screen.addEventListener("mouseout",l.onMouseOut),l.screen.addEventListener("mouseup",l.onClick)),l.screen.addEventListener("touchend",l.onClick))},l.onMouseOver=function(e){l.isDisabled_bl||e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||(FWDAnimation.killTweensOf(l.text_sdo),l.setSelectedState(!0),l.dispatchEvent(d.MOUSE_OVER))},l.onMouseOut=function(e){l.isDisabled_bl||e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||(FWDAnimation.killTweensOf(l.text_sdo),l.setNormalState(!0),l.dispatchEvent(d.MOUSE_OUT))},l.onClick=function(e){l.isDisabled_bl||t.isScrollingOnMove_bl||(e.preventDefault&&e.preventDefault(),l.dispatchEvent(d.CLICK,{id:l.id}))},l.onMouseDown=function(e){l.isDisabled_bl||t.isScrollingOnMove_bl||(e.preventDefault&&e.preventDefault(),l.dispatchEvent(d.MOUSE_DOWN,{id:l.id}))},l.setSelectedState=function(e){FWDAnimation.killTweensOf(l.bk_sdo.screen),FWDAnimation.killTweensOf(l.text_sdo.screen),e?(FWDAnimation.to(l.bk_sdo.screen,.6,{css:{backgroundColor:l.bkSClr},ease:Quart.easeOut}),FWDAnimation.to(l.text_sdo.screen,.6,{css:{color:l.txtSClr},ease:Quart.easeOut})):(l.bk_sdo.setBkColor(l.bkSClr),l.text_sdo.getStyle().color=l.txtSClr)},l.setNormalState=function(e){FWDAnimation.killTweensOf(l.bk_sdo.screen),FWDAnimation.killTweensOf(l.text_sdo.screen),e?(FWDAnimation.to(l.bk_sdo.screen,.6,{css:{backgroundColor:l.bkNClr},ease:Quart.easeOut}),FWDAnimation.to(l.text_sdo.screen,.6,{css:{color:l.txtNClr},ease:Quart.easeOut})):(l.bk_sdo.setBkColor(l.bkNClr),l.text_sdo.getStyle().color=l.txtNClr)},l.centerText=function(){l.dumy_sdo.setWidth(l.totalWidth),l.dumy_sdo.setHeight(l.totalHeight),l.bk_sdo.setWidth(l.totalWidth),l.bk_sdo.setHeight(l.totalHeight),l.text_sdo.setX(4),l.text_sdo.setY(Math.round((l.totalHeight-l.text_sdo.getHeight())/2))},l.getMaxTextWidth=function(){return l.text_sdo.getWidth()},l.disable=function(){l.isDisabled_bl=!0,l.setButtonMode(!1),l.setSelectedState(!0)},l.enable=function(){l.isDisabled_bl=!1,l.setNormalState(!0),l.setButtonMode(!0)},l.init()};d.setPrototype=function(){d.prototype=new FWDUVPDisplayObject("div")},d.FIRST_BUTTON_CLICK="onFirstClick",d.SECOND_BUTTON_CLICK="secondButtonOnClick",d.MOUSE_OVER="onMouseOver",d.MOUSE_OUT="onMouseOut",d.MOUSE_DOWN="onMouseDown",d.CLICK="onClick",d.prototype=null,window.FWDUVPComboBoxButton=d}(window),function(){var h=function(e,t,o,s,n,i,a,r,l,d,_,u,c){var p=this;h.prototype;p.arrowN_str=o,p.arrowS_str=s,p.label1_str=n,p.bkNColor=i,p.bkSColor=a,p.tNColor=r,p.tSColor=l,p.useHEX=_,p.nBC=u,p.sBC=c,p.totalWidth=400,p.totalHeight=d,p.arrowWidth=e,p.arrowHeight=t,p.hasPointEvt=FWDUVPUtils.hasPointerEvent,p.isMbl=FWDUVPUtils.isMobile,p.isDble=!1,p.init=function(){p.setBackfaceVisibility(),p.setButtonMode(!0),p.setupMainContainers(),p.setWidth(p.totalWidth),p.setHeight(p.totalHeight)},p.setupMainContainers=function(){p.bk_sdo=new FWDUVPDisplayObject("div"),p.bk_sdo.getStyle().backgroundColor=p.bkNColor,p.addChild(p.bk_sdo),p.text_sdo=new FWDUVPDisplayObject("div"),p.text_sdo.getStyle().whiteSpace="nowrap",p.text_sdo.screen.className="fwduvp-cb-selector",p.text_sdo.setBackfaceVisibility(),p.text_sdo.setOverflow("visible"),p.text_sdo.setDisplay("inline-block"),p.text_sdo.getStyle().fontFamily="Arial",p.text_sdo.getStyle().fontSize="13px",p.text_sdo.getStyle().fontWeight="100",p.text_sdo.getStyle().padding="6px",p.text_sdo.getStyle().color=p.nBC,p.text_sdo.getStyle().fontSmoothing="antialiased",p.text_sdo.getStyle().webkitFontSmoothing="antialiased",p.text_sdo.getStyle().textRendering="optimizeLegibility",FWDUVPUtils.isIEAndLessThen9?p.text_sdo.screen.innerText=p.label1_str:p.text_sdo.setInnerHTML(p.label1_str),p.addChild(p.text_sdo),p.arrow_do=new FWDUVPDisplayObject("div"),p.arrow_do.screen.className="arrow",p.arrow_do.setOverflow("visible"),p.useHEX?(p.arrowN_img=new Image,p.arrowN_img.src=p.arrowN_str,p.arrowS_img=new Image,p.arrowS_img.src=p.arrowS_str,p.arrowN_sdo=new FWDUVPDisplayObject("div"),p.arrowS_sdo=new FWDUVPDisplayObject("div"),p.arrowS_img.onload=function(){p.arrowN_sdo.setWidth(p.arrowN_img.width),p.arrowN_sdo.setHeight(p.arrowN_img.height),p.nBC=p.bkNColor,p.scrubberLines_n_canvas=FWDUVPUtils.getCanvasWithModifiedColor(p.arrowN_img,p.nBC,!0),p.scrubbelinesNImage_img=p.scrubberLines_n_canvas.image,p.arrowN_sdo.getStyle().background="url('"+p.scrubbelinesNImage_img.src+"') repeat-y",p.arrowS_sdo.setWidth(p.arrowS_img.width),p.arrowS_sdo.setHeight(p.arrowS_img.height),p.sBC=p.arrowS_str,p.scrubberLines_s_canvas=FWDUVPUtils.getCanvasWithModifiedColor(p.arrowS_img,p.sBC,!0),p.scrubbelinesSImage_img=p.scrubberLines_s_canvas.image,p.arrowS_sdo.getStyle().background="url('"+p.scrubbelinesSImage_img.src+"') repeat-y"}):(p.arrowN_sdo=new FWDUVPDisplayObject("div"),p.arrowN_sdo.screen.style.backgroundImage="url("+p.arrowN_str+")",p.arrowS_sdo=new FWDUVPDisplayObject("div"),p.arrowS_sdo.screen.style.backgroundImage="url("+p.arrowS_str+")"),p.arrowS_sdo.setAlpha(0),p.arrow_do.addChild(p.arrowN_sdo),p.arrow_do.addChild(p.arrowS_sdo),p.addChild(p.arrow_do),p.arrowN_sdo.setWidth(p.arrowWidth),p.arrowN_sdo.setHeight(p.arrowHeight),p.arrowS_sdo.setWidth(p.arrowWidth),p.arrowS_sdo.setHeight(p.arrowHeight),p.dumy_sdo=new FWDUVPDisplayObject("div"),FWDUVPUtils.isIE&&(p.dumy_sdo.setBkColor("#FF0000"),p.dumy_sdo.setAlpha(0)),p.addChild(p.dumy_sdo),p.hasPointEvt?(p.screen.addEventListener("pointerup",p.onClick),p.screen.addEventListener("pointerover",p.onMouseOver),p.screen.addEventListener("pointerout",p.onMouseOut)):p.screen.addEventListener&&(p.screen.addEventListener("mouseover",p.onMouseOver),p.screen.addEventListener("mouseout",p.onMouseOut),p.screen.addEventListener("mouseup",p.onClick),p.screen.addEventListener("touchend",p.onClick))},p.onMouseOver=function(e){p.isDble||e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||(FWDAnimation.killTweensOf(p.text_sdo),p.setSelectedState(!0,0),p.dispatchEvent(h.MOUSE_OVER))},p.onMouseOut=function(e){p.isDble||e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||(FWDAnimation.killTweensOf(p.text_sdo),p.setNormalState(!0,!0),p.dispatchEvent(h.MOUSE_OUT))},p.onClick=function(e){p.isDeveleper_bl?window.open("http://www.webdesign-flash.ro","_blank"):(e.preventDefault&&e.preventDefault(),p.dispatchEvent(h.CLICK,{e:e}))},p.onMouseDown=function(e){e.preventDefault&&e.preventDefault(),p.dispatchEvent(h.MOUSE_DOWN,{e:e})},p.setSelectedState=function(e,t){e?(FWDAnimation.to(p.bk_sdo,.6,{alpha:1,ease:Expo.easeOut}),FWDAnimation.to(p.text_sdo.screen,.6,{css:{color:p.tSColor},ease:Expo.easeOut}),FWDAnimation.to(p.arrowS_sdo,.6,{alpha:1,ease:Expo.easeOut})):(p.bk_sdo.setAlpha(1),p.text_sdo.getStyle().color=p.tSColor,p.arrowS_sdo.alpha=1)},p.setNormalState=function(e,t){var o=t?0:.6,o=0;FWDAnimation.killTweensOf(p.bk_sdo),FWDAnimation.killTweensOf(p.text_sdo.screen),FWDAnimation.killTweensOf(p.arrowS_sdo),e?(FWDAnimation.to(p.bk_sdo,.6,{alpha:0,delay:o,ease:Expo.easeOut}),FWDAnimation.to(p.text_sdo.screen,.6,{css:{color:p.tNColor},delay:o,ease:Expo.easeOut}),FWDAnimation.to(p.arrowS_sdo,.6,{alpha:0,delay:o,ease:Expo.easeOut})):(p.bk_sdo.setAlpha(0),p.text_sdo.getStyle().color=p.tNColor,p.arrowS_sdo.alpha=0)},p.centerText=function(){p.dumy_sdo.setWidth(p.totalWidth),p.dumy_sdo.setHeight(p.totalHeight),p.bk_sdo.setWidth(p.totalWidth),p.bk_sdo.setHeight(p.totalHeight),p.text_sdo.setX(2),p.text_sdo.setY(Math.round((p.totalHeight-p.text_sdo.getHeight())/2)),p.arrow_do.setX(p.totalWidth-p.arrowWidth-5),p.arrow_do.setY(Math.round((p.totalHeight-p.arrowHeight)/2))},p.getMaxTextWidth=function(){return p.text_sdo.getWidth()},p.disable=function(){p.isDble=!0,p.setSelectedState(!0),FWDUVPUtils.hasTransform2d&&(FWDAnimation.to(p.arrowN_sdo.screen,.8,{css:{rotation:180},ease:Quart.easeOut}),FWDAnimation.to(p.arrowS_sdo.screen,.8,{css:{rotation:180},ease:Quart.easeOut})),p.setNormalState(!0)},p.enable=function(){p.isDble=!1,FWDUVPUtils.hasTransform2d&&(FWDAnimation.to(p.arrowN_sdo.screen,.8,{css:{rotation:0},ease:Quart.easeOut}),FWDAnimation.to(p.arrowS_sdo.screen,.8,{css:{rotation:0},ease:Quart.easeOut})),p.setButtonMode(!0)},p.setText=function(e){FWDUVPUtils.isIEAndLessThen9?p.text_sdo.screen.innerText=e:p.text_sdo.setInnerHTML(e)},p.init()};h.setPrototype=function(){h.prototype=new FWDUVPDisplayObject("div")},h.FIRST_BUTTON_CLICK="onFirstClick",h.SECOND_BUTTON_CLICK="secondButtonOnClick",h.MOUSE_OVER="onMouseOver",h.MOUSE_OUT="onMouseOut",h.MOUSE_DOWN="onMouseDown",h.CLICK="onClick",h.prototype=null,window.FWDUVPComboBoxSelector=h}(window),function(){var p=function(e,t,o,s,n,i,a,r,l,d,_,u){var c=this;p.prototype;c.iconCSSString=l,c.icon2CSSString=d,c.normalCalssName=_,c.selectedCalssName=u,c.n1Img=e,c.s1Path_str=t,c.n2Img=o,c.s2Path_str=s,c.firstButton_do,c.n1_do,c.s1_do,c.secondButton_do,c.n2_do,c.s2_do,c.n1Img&&(c.buttonWidth=c.n1Img.width,c.buttonHeight=c.n1Img.height),c.useHEX=i,c.nBC=a,c.sBC=r,c.isSelectedState_bl=!1,c.currentState=1,c.isDisabled_bl=!1,c.isMaximized_bl=!1,c.disptachMainEvent_bl=n,c.isDisabled_bl=!1,c.isMbl=FWDUVPUtils.isMobile,c.hasPointerEvent_bl=FWDUVPUtils.hasPointerEvent,c.allowToCreateSecondButton_bl=!c.isMbl||c.hasPointerEvent_bl,c.useFontAwesome_bl=Boolean(c.iconCSSString),c.init=function(){c.hasTransform2d_bl=!1,c.setButtonMode(!0),c.setWidth(c.buttonWidth),c.setHeight(c.buttonHeight),c.setupMainContainers(),c.secondButton_do.setVisible(!1),c.setNormalState()},c.setupMainContainers=function(){c.useFontAwesome_bl?(c.setOverflow("visible"),c.firstButton_do=new FWDUVPDisplayObject("div"),c.firstButton_do.setOverflow("visible"),c.n1_do=new FWDUVPDisplayObject("div"),c.n1_do.setInnerHTML(c.iconCSSString),c.firstButton_do.addChild(c.n1_do),c.secondButton_do=new FWDUVPDisplayObject("div"),c.secondButton_do.setOverflow("visible"),c.n2_do=new FWDUVPDisplayObject("div"),c.n2_do.setInnerHTML(c.icon2CSSString),c.secondButton_do.addChild(c.n2_do),c.setFinalSize()):(c.firstButton_do=new FWDUVPDisplayObject("div"),c.firstButton_do.setWidth(c.buttonWidth),c.firstButton_do.setHeight(c.buttonHeight),c.useHEX?(c.n1_do=new FWDUVPDisplayObject("div"),c.n1_do.setWidth(c.buttonWidth),c.n1_do.setHeight(c.buttonHeight),c.n1_sdo_canvas=FWDUVPUtils.getCanvasWithModifiedColor(c.n1Img,c.nBC).canvas,c.n1_do.screen.appendChild(c.n1_sdo_canvas)):(c.n1_do=new FWDUVPDisplayObject("img"),c.n1_do.setScreen(c.n1Img)),c.firstButton_do.addChild(c.n1_do),c.allowToCreateSecondButton_bl&&(c.s1_img=new Image,c.s1_img.src=c.s1Path_str,c.useHEX?(c.s1_do=new FWDUVPTransformDisplayObject("div"),c.s1_do.setWidth(c.buttonWidth),c.s1_do.setHeight(c.buttonHeight),c.s1_img.onload=function(){c.s1_do_canvas=FWDUVPUtils.getCanvasWithModifiedColor(c.s1_img,c.sBC).canvas,c.s1_do.screen.appendChild(c.s1_do_canvas)}):(c.s1_do=new FWDUVPDisplayObject("img"),c.s1_do.setScreen(c.s1_img),c.s1_do.setWidth(c.buttonWidth),c.s1_do.setHeight(c.buttonHeight)),c.s1_do.setAlpha(0),c.firstButton_do.addChild(c.s1_do)),c.secondButton_do=new FWDUVPDisplayObject("div"),c.secondButton_do.setWidth(c.buttonWidth),c.secondButton_do.setHeight(c.buttonHeight),c.useHEX?(c.n2_do=new FWDUVPDisplayObject("div"),c.n2_do.setWidth(c.buttonWidth),c.n2_do.setHeight(c.buttonHeight),c.n2_sdo_canvas=FWDUVPUtils.getCanvasWithModifiedColor(c.n2Img,c.nBC).canvas,c.n2_do.screen.appendChild(c.n2_sdo_canvas)):(c.n2_do=new FWDUVPDisplayObject("img"),c.n2_do.setScreen(c.n2Img)),c.secondButton_do.addChild(c.n2_do),c.allowToCreateSecondButton_bl&&(c.s2_img=new Image,c.s2_img.src=c.s2Path_str,c.useHEX?(c.s2_do=new FWDUVPTransformDisplayObject("div"),c.s2_do.setWidth(c.buttonWidth),c.s2_do.setHeight(c.buttonHeight),c.s2_img.onload=function(){c.s2_do_canvas=FWDUVPUtils.getCanvasWithModifiedColor(c.s2_img,c.sBC).canvas,c.s2_do.screen.appendChild(c.s2_do_canvas)}):(c.s2_do=new FWDUVPDisplayObject("img"),c.s2_do.setScreen(c.s2_img),c.s2_do.setWidth(c.buttonWidth),c.s2_do.setHeight(c.buttonHeight)),c.s2_do.setAlpha(0),c.secondButton_do.addChild(c.s2_do))),c.addChild(c.secondButton_do),c.addChild(c.firstButton_do),c.hasPointerEvent_bl?(c.screen.addEventListener("pointerup",c.onMouseUp),c.screen.addEventListener("pointerover",c.onMouseOver),c.screen.addEventListener("pointerout",c.onMouseOut)):c.screen.addEventListener&&(c.isMbl||(c.screen.addEventListener("mouseover",c.onMouseOver),c.screen.addEventListener("mouseout",c.onMouseOut),c.screen.addEventListener("mouseup",c.onMouseUp)),c.screen.addEventListener("toustart",c.onDown),c.screen.addEventListener("touchend",c.onMouseUp))},c.onMouseOver=function(e,t){c.isDisabled_bl||c.isSelectedState_bl||e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE&&"mouse"!=e.pointerType||(c.dispatchEvent(p.MOUSE_OVER,{e:e}),c.dispatchEvent(p.SHOW_TOOLTIP,{e:e}),c.setSelectedState(!0))},c.onMouseOut=function(e){!c.isDisabled_bl&&c.isSelectedState_bl&&(e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE&&"mouse"!=e.pointerType||(c.setNormalState(!0),c.dispatchEvent(p.MOUSE_OUT)))},c.onDown=function(e){e.preventDefault&&e.preventDefault()},c.onMouseUp=function(e){c.isDisabled_bl||2==e.button||(e.preventDefault&&e.preventDefault(),c.isMbl||c.onMouseOver(e,!1),c.disptachMainEvent_bl&&c.dispatchEvent(p.MOUSE_UP,{e:e}))},c.checkCount=0,c.setFinalSize=function(){var e,t;clearInterval(c.checkId_int),c.lastWidth=c.n1_do.screen.firstChild.offsetWidth,5l.totalWidth&&(l.totalWidth=e.getMaxTextWidth());for(s=0;so-2&&(a=n-l.totalWidth),a<0&&(a=parseInt((o-l.totalWidth)/2)),a<0&&(a=0),r+l.totalHeight>s-2&&(r=i-l.totalHeight),r<0&&(r=parseInt((s-l.totalHeight)/2)),r<0&&(r=0),l.setX(a),l.setY(r)},l.disable=function(){l.copyURL_do&&l.copyURL_do.disable(),l.copyURLTime_do&&l.copyURLTime_do.disable()},l.enable=function(){l.copyURL_do&&l.copyURL_do.enable(),l.copyURLTime_do&&l.copyURLTime_do.enable()},l.removeFromDOM=function(){l.setX(-5e3)},l.init()};e.setPrototype=function(){e.prototype=new FWDUVPDisplayObject("div")},e.prototype=null,window.FWDUVPContextMenu=e}(window),function(){var r=function(e,t,o,s,n,i){var a=this;r.prototype;a.label1_str=e,a.label2_str=t,a.nBC=o,a.sBC=s,a.disabledColor_str=n,a.totalWidth=400,a.totalHeight=20,a.padding,a.text1_sdo=null,a.text2_sdo=null,a.dumy_sdo=null,a.isMbl=FWDUVPUtils.isMobile,a.currentState=1,a.isDisabled_bl=!1,a.isMaximized_bl=!1,a.showSecondButton_bl=null!=t,a.isDeveleper_bl=!1,a.init=function(){a.setBackfaceVisibility(),a.setButtonMode(!0),a.setupMainContainers(),a.setWidth(a.totalWidth),a.setHeight(a.totalHeight),a.setButtonState(0)},a.setupMainContainers=function(){a.text1_sdo=new FWDUVPDisplayObject("div"),a.text1_sdo.setBackfaceVisibility(),a.text1_sdo.setDisplay("inline-block"),a.text1_sdo.getStyle().fontFamily="Arial",a.text1_sdo.getStyle().fontSize="12px",a.text1_sdo.getStyle().color=a.nBC,a.text1_sdo.getStyle().fontSmoothing="antialiased",a.text1_sdo.setInnerHTML(a.label1_str),a.addChild(a.text1_sdo),a.showSecondButton_bl&&(a.text2_sdo=new FWDUVPDisplayObject("div"),a.text2_sdo.setBackfaceVisibility(),a.text2_sdo.setDisplay("inline-block"),a.text2_sdo.getStyle().fontFamily="Arial",a.text2_sdo.getStyle().fontSize="12px",a.text2_sdo.getStyle().color=a.nBC,a.text2_sdo.getStyle().fontSmoothing="antialiased",a.text2_sdo.setInnerHTML(a.label2_str),a.addChild(a.text2_sdo)),a.dumy_sdo=new FWDUVPDisplayObject("div"),FWDUVPUtils.isIE&&(a.dumy_sdo.setBkColor("#FF0000"),a.dumy_sdo.setAlpha(0)),a.addChild(a.dumy_sdo),a.isMbl?a.screen.addEventListener("touchstart",a.onMouseDown):a.screen.addEventListener&&(a.screen.addEventListener("mouseover",a.onMouseOver),a.screen.addEventListener("mouseout",a.onMouseOut),a.screen.addEventListener("mousedown",a.onMouseDown),a.screen.addEventListener("click",a.onClick))},a.onMouseOver=function(e){a.isDisabled_bl||(FWDAnimation.killTweensOf(a.text1_sdo),e?(FWDAnimation.to(a.text1_sdo.screen,.5,{css:{color:a.sBC},ease:Expo.easeOut}),a.showSecondButton_bl&&FWDAnimation.to(a.text2_sdo.screen,.5,{css:{color:a.sBC},ease:Expo.easeOut})):(a.text1_sdo.getStyle().color=a.sBC,a.showSecondButton_bl&&(FWDAnimation.killTweensOf(a.text2_sdo),a.text2_sdo.getStyle().color=a.sBC)),a.dispatchEvent(r.MOUSE_OVER))},a.onMouseOut=function(e){a.isDisabled_bl||(FWDAnimation.killTweensOf(a.text1_sdo),FWDAnimation.to(a.text1_sdo.screen,.5,{css:{color:a.nBC},ease:Expo.easeOut}),a.showSecondButton_bl&&(FWDAnimation.killTweensOf(a.text2_sdo),FWDAnimation.to(a.text2_sdo.screen,.5,{css:{color:a.nBC},ease:Expo.easeOut})),a.dispatchEvent(r.MOUSE_OUT))},a.onClick=function(e){a.isDeveleper_bl?window.open("http://www.webdesign-flash.ro","_blank"):a.isDisabled_bl||(e.preventDefault&&e.preventDefault(),a.dispatchEvent(r.CLICK))},a.onMouseDown=function(e){a.isDisabled_bl||(e.preventDefault&&e.preventDefault(),a.dispatchEvent(r.MOUSE_DOWN,{e:e}))},a.toggleButton=function(){a.showSecondButton_bl&&(1==a.currentState?(a.text1_sdo.setVisible(!0),a.text2_sdo.setVisible(!1),a.currentState=0,a.dispatchEvent(r.FIRST_BUTTON_CLICK)):(a.text1_sdo.setVisible(!1),a.text2_sdo.setVisible(!0),a.currentState=1,a.dispatchEvent(r.SECOND_BUTTON_CLICK)))},a.setButtonState=function(e){0==e?(a.text1_sdo.setVisible(!0),a.showSecondButton_bl&&a.text2_sdo.setVisible(!1),a.currentState=0):1==e&&(a.text1_sdo.setVisible(!1),a.showSecondButton_bl&&a.text2_sdo.setVisible(!0),a.currentState=1)},a.centerText=function(){a.dumy_sdo.setWidth(a.totalWidth),a.dumy_sdo.setHeight(a.totalHeight),FWDUVPUtils.isIEAndLessThen9?(a.text1_sdo.setY(Math.round((a.totalHeight-a.text1_sdo.getHeight())/2)-1),a.showSecondButton_bl&&a.text2_sdo.setY(Math.round((a.totalHeight-a.text2_sdo.getHeight())/2)-1)):(a.text1_sdo.setY(Math.round((a.totalHeight-a.text1_sdo.getHeight())/2)),a.showSecondButton_bl&&a.text2_sdo.setY(Math.round((a.totalHeight-a.text2_sdo.getHeight())/2))),a.text1_sdo.setHeight(a.totalHeight+2),a.showSecondButton_bl&&a.text2_sdo.setHeight(a.totalHeight+2)},a.getMaxTextWidth=function(){var e=a.text1_sdo.getWidth(),t=0;return a.showSecondButton_bl&&(t=a.text2_sdo.getWidth()),Math.max(e,t)},a.disable=function(){a.isDisabled_bl=!0,FWDAnimation.killTweensOf(a.text1_sdo),FWDAnimation.to(a.text1_sdo.screen,.5,{css:{color:a.disabledColor_str},ease:Expo.easeOut}),a.setButtonMode(!1)},a.enable=function(){a.isDisabled_bl=!1,FWDAnimation.killTweensOf(a.text1_sdo),FWDAnimation.to(a.text1_sdo.screen,.5,{css:{color:a.nBC},ease:Expo.easeOut}),a.setButtonMode(!0)},a.init()};r.setPrototype=function(){r.prototype=new FWDUVPDisplayObject("div")},r.FIRST_BUTTON_CLICK="onFirstClick",r.SECOND_BUTTON_CLICK="secondButtonOnClick",r.MOUSE_OVER="onMouseOver",r.MOUSE_OUT="onMouseOut",r.MOUSE_DOWN="onMouseDown",r.CLICK="onClick",r.prototype=null,window.FWDUVPContextMenuButton=r}(window),function(){var s=function(m,b){var g=this;s.prototype;g._d=m,g.bkLeft_img=m.bkLeft_img,g.bkRight_img=m.bkRight_img,g.playN_img=m.playN_img,g.pauseN_img=m.pauseN_img,g.mainScrubberBkLeft_img=m.mainScrubberBkLeft_img,g.mainScrubberDragLeft_img=m.mainScrubberDragLeft_img,g.mainScrubberDragLeftSource=m.mainScrubberDragLeft_img.src,g.mainScrubberLine_img=m.mainScrubberLine_img,g.volumeScrubberBkLeft_img=m.volumeScrubberBkLeft_img,g.volumeScrubberDragBottom_img=m.volumeScrubberDragBottom_img,g.volumeScrubberLine_img=m.volumeScrubberLine_img,g.volumeN_img=m.volumeN_img,g.progressLeft_img=m.progressLeft_img,g.categoriesN_img=m.categoriesN_img,g.prt=b,g.playlistN_img=m.playlistN_img,g.ytbQualityN_img=m.ytbQualityN_img,g.infoN_img=m.infoN_img,g.downloadN_img=m.downloadN_img,g.facebookN_img=m.facebookN_img,g.fullScreenN_img=m.fullScreenN_img,g.normalScreenN_img=m.normalScreenN_img,g.hidePlaylistN_img=m.hidePlaylistN_img,g.showPlaylistN_img=m.showPlaylistN_img,g.embedN_img=m.embedN_img,g.buttons_ar=[],g.useHEX=m.useHEX,g.nBC=m.nBC,g.sBC=m.sBC,g.bkMiddlePath_str=m.bkMiddlePath_str,g.mainScrubberBkMiddlePath_str=m.mainScrubberBkMiddlePath_str,g.volumeScrubberBkMiddlePath_str=m.volumeScrubberBkMiddlePath_str,g.mainScrubberDragMiddlePath_str=m.mainScrubberDragMiddlePath_str,g.volumeScrubberDragMiddlePath_str=m.volumeScrubberDragMiddlePath_str,g.timeColor_str=m.timeColor_str,g.progressMiddlePath_str=m.progressMiddlePath_str,g.youtubeQualityButtonNormalColor_str=m.youtubeQualityButtonNormalColor_str,g.youtubeQualityButtonSelectedColor_str=m.youtubeQualityButtonSelectedColor_str,g.youtubeQualityArrowPath_str=m.youtubeQualityArrowPath_str,g.controllerBkPath_str=m.controllerBkPath_str,g.ytbQualityButtonPointerPath_str=m.ytbQualityButtonPointerPath_str,g.buttonsToolTipFontColor_str=m.buttonsToolTipFontColor_str,g.buttonsToolTipHideDelay=m.buttonsToolTipHideDelay,g.ttYtbBtns=0,g.sW=0,g.sH=m.controllerHeight,g.scrbsBkLARW=g.mainScrubberBkLeft_img.width,g.maiScrbW=0,g.mainScrbMinW=100,g.volumeScrubberOfsetHeight=m.volumeScrubberOfsetHeight,g.volumeScrubberHeight=m.volumeScrubberHeight+g.volumeScrubberOfsetHeight,g.volScrbW=g.mainScrubberBkLeft_img.height,g.mainScrbH=g.mainScrubberBkLeft_img.height,g.mainScrbDrgLW=g.mainScrubberDragLeft_img.width,g.scrubbersOffsetWidth=m.scrubbersOffsetWidth,g.volume=m.volume,g.lastVolume=g.volume,g.startSpaceBetweenButtons=m.startSpaceBetweenButtons,g.spaceBetweenButtons=m.spaceBetweenButtons,g.percentPlayed=0,g.percentLoaded=0,g.lastTimeLength=0,g.prevYtbQualityButtonsLength=0,g.pointerWidth=8,g.pointerHeight=5,g.timeOffsetLeftWidth=m.timeOffsetLeftWidth,g.timeOffsetRightWidth=m.timeOffsetRightWidth,g.timeOffsetTop=m.timeOffsetTop,g.mainScrubberOffestTop=m.mainScrubberOffestTop,g.isVolumeScrubberShowed_bl=!0,g.volumeScrubberIsDragging_bl=!1,g.showButtonsToolTip_bl=m.showButtonsToolTip_bl,g.showPlaylistsButtonAndPlaylists_bl=m.showPlaylistsButtonAndPlaylists_bl,g.showPlaylistButtonAndPlaylist_bl=m.showPlaylistButtonAndPlaylist_bl,g.showEmbedButton_bl=m.showEmbedButton_bl,g.showPlaylistByDefault_bl=m.showPlaylistByDefault_bl,g.showShuffleButton_bl=m.showShuffleButton_bl,g.showLoopButton_bl=m.showLoopButton_bl,g.showNP_bl=b._d.showNextAndPrevButtonsInController_bl,g.showNextAndPrevButtonsInController_bl=m.showNextAndPrevButtonsInController_bl,g.showFullScreenButton_bl=m.showFullScreenButton_bl,g.disableVideoScrubber_bl=m.disableVideoScrubber_bl,g.showYoutubeQualityButton_bl=m.showYoutubeQualityButton_bl,g.showShareButton_bl=m.showShareButton_bl,g.showInfoButton_bl=m.showInfoButton_bl,g.showDownloadVideoButton_bl=m.showDownloadVideoButton_bl,g.showVolumeScrubber_bl=m.showVolumeScrubber_bl,g.allowToChangeVolume_bl=m.allowToChangeVolume_bl,g.showTime_bl=m.showTime_bl,g.showVolumeButton_bl=m.showVolumeButton_bl,g.showControllerWhenVideoIsStopped_bl=m.showControllerWhenVideoIsStopped_bl,g.showRewindButton_bl=m.showRewindButton_bl,g.isMainScrubberScrubbing_bl=!1,g.isMainScrubberDisabled_bl=!1,g.isVolumeScrubberDisabled_bl=!1,g.isMainScrubberLineVisible_bl=!1,g.isVolumeScrubberLineVisible_bl=!1,g.showSubBtn=m.showSubBtn,g.hasYtbButton_bl=!1,g.muted=b._d.autoPlay_bl,g.isShowed_bl=!0,g.forceToShowMainScrubberOverCotroller_bl=!1,g.isMainScrubberOnTop_bl=!1,g.showNextAndPrevButtons_bl=m.showNextAndPrevButtons_bl,g.isPlaylistShowed_bl=m.isPlaylistShowed_bl,g.areYtbQualityButtonsShowed_bl=!0,g.repeatBackground_bl=m.repeatBackground_bl,g.isMbl=FWDUVPUtils.isMobile,g.hasPointerEvent_bl=FWDUVPUtils.hasPointerEvent,g.useVectorIcons_bl=m.useVectorIcons_bl,g.init=function(){var e;g.setOverflow("visible"),g.mainHld=new FWDUVPDisplayObject("div"),m.useAToB&&g.setupATB(),g.repeatBackground_bl?(g.bk_do=new FWDUVPDisplayObject("div"),g.bk_do.getStyle().background="url('"+g.controllerBkPath_str+"')"):(g.bk_do=new FWDUVPDisplayObject("img"),(e=new Image).src=g.controllerBkPath_str,g.bk_do.setScreen(e)),g.mainHld.addChild(g.bk_do),g.mainHld.setOverflow("visible"),g.mainHld.getStyle().zIndex=1,g.addChild(g.mainHld),g.showYoutubeQualityButton_bl&&(g.ytbQuality_ar=["hd2160","hd1440","highres","hd1080","hd720","large","medium","small","tiny"],g.ytbButtons_ar=[],g.ttYtbBtns=g.ytbQuality_ar.length,g.setupYtbButtons()),g.showNextAndPrevButtonsInController_bl&&g.setupPrevButton(),g.setupPlayPauseButton(),g.showRewindButton_bl&&g.setupRewindButton(),g.showNextAndPrevButtonsInController_bl&&g.setupNextButton(),g.setupMainScrubber(),g.showTime_bl&&g.setupTime(),g.showVolumeButton_bl&&g.setupVolumeButton(),g.showPlaylistsButtonAndPlaylists_bl&&g.setupCategoriesButton(),g.showPlaylistButtonAndPlaylist_bl&&g.setupPlaylistButton(),g.showYoutubeQualityButton_bl&&g.setupYoutubeQualityButton(),g.showShareButton_bl&&g.setupShareButton(),g.showEmbedButton_bl&&g.setupEmbedButton(),m.useAToB&&g.setupAtbButton(),g.showInfoButton_bl&&g.setupInfoButton(),m.showPlaybackRateButton_bl&&g.setupPlaybackRateButton(),g.showDownloadVideoButton_bl&&g.setupDownloadButton(),g.showSubBtn&&g.setupSubtitleButton(),m.showChromecastButton_bl&&g.setupChromecastButton(),g.showFullScreenButton_bl&&g.setupFullscreenButton(),g.showButtonsToolTip_bl&&g.setupToolTips(),g.showVolumeScrubber_bl&&(g.setupVolumeScrubber(),g.hideVolumeScrubber()),g.hide(!1)},g.resizeAndPosition=function(){g.sW=b.tempVidStageWidth,g.positionButtons(),g.setY(b.tempVidStageHeight-g.sH),g.hideQualityButtons(!1),g.ytbButtonsHolder_do&&(FWDAnimation.killTweensOf(g.ytbButtonsHolder_do),g.ytbButtonsHolder_do.setY(b.tempStageHeight)),g.subtitlesButtonsHolder_do&&(FWDAnimation.killTweensOf(g.subtitlesButtonsHolder_do),g.subtitlesButtonsHolder_do.setY(b.sH)),g.playbackRatesButtonsHolder_do&&(FWDAnimation.killTweensOf(g.playbackRatesButtonsHolder_do),g.playbackRatesButtonsHolder_do.setY(b.sH)),g.positionAdsLines()},g.getButtonIndex=function(e){return FWDUVPUtils.indexOfArray(g.buttons_ar,e)},g.positionButtons=function(){if(g.sW){var e,t,o,s,n,i,a=0,r=0,l=0,d=0,_=g.showTime_bl;if(m.playlist_ar[b.id]){g.showDownloadVideoButton_bl&&(m.playlist_ar[b.id].downloadable?-1==g.getButtonIndex(g.downloadButton_do)&&(g.ccBtn_do&&-1!=g.getButtonIndex(g.ccBtn_do)?(t=g.getButtonIndex(g.ccBtn_do),g.buttons_ar.splice(t,0,g.downloadButton_do)):g.fullScreenButton_do?(t=g.getButtonIndex(g.fullScreenButton_do),g.buttons_ar.splice(t,0,g.downloadButton_do)):g.buttons_ar.splice(g.buttons_ar.length,0,g.downloadButton_do),g.downloadButton_do.setVisible(!0)):-1!=(o=g.getButtonIndex(g.downloadButton_do))&&(g.buttons_ar.splice(o,1),g.downloadButton_do.setVisible(!1))),g.showInfoButton_bl&&(m.playlist_ar[b.id].desc?-1==g.getButtonIndex(g.infoButton_do)&&(g.downloadButton_do&&-1!=g.getButtonIndex(g.downloadButton_do)?(t=g.getButtonIndex(g.downloadButton_do),g.buttons_ar.splice(t,0,g.infoButton_do)):g.ccBtn_do&&-1!=g.getButtonIndex(g.ccBtn_do)?(t=g.getButtonIndex(g.ccBtn_do),g.buttons_ar.splice(t,0,g.infoButton_do)):g.fullScreenButton_do?(t=g.getButtonIndex(g.fullScreenButton_do),g.buttons_ar.splice(t,0,g.infoButton_do)):g.buttons_ar.splice(g.buttons_ar.length,0,g.infoButton_do),g.infoButton_do.setVisible(!0)):-1!=(o=g.getButtonIndex(g.infoButton_do))&&(g.buttons_ar.splice(o,1),g.infoButton_do.setVisible(!1))),m.useAToB&&(m.playlist_ar[b.id].atb?-1==FWDUVPUtils.indexOfArray(g.buttons_ar,g.atbButton_do)&&(g.infoButton_do&&-1!=g.getButtonIndex(g.infoButton_do)?(t=g.getButtonIndex(g.infoButton_do),g.buttons_ar.splice(t,0,g.atbButton_do)):g.downloadButton_do&&-1!=g.getButtonIndex(g.downloadButton_do)?(t=g.getButtonIndex(g.downloadButton_do),g.buttons_ar.splice(t,0,g.atbButton_do)):g.ccBtn_do&&-1!=g.getButtonIndex(g.ccBtn_do)?(t=g.getButtonIndex(g.ccBtn_do),g.buttons_ar.splice(t,0,g.atbButton_do)):g.fullScreenButton_do?(t=g.getButtonIndex(g.fullScreenButton_do),g.buttons_ar.splice(t,0,g.atbButton_do)):g.buttons_ar.splice(g.buttons_ar.length,0,g.atbButton_do),g.atbButton_do.setVisible(!0)):-1!=(s=FWDUVPUtils.indexOfArray(g.buttons_ar,g.atbButton_do))&&(g.buttons_ar.splice(s,1),g.atbButton_do.setVisible(!1),g.atb.hide(!0))),g.showSubBtn&&(m.playlist_ar[b.id].subtitleSource?-1==FWDUVPUtils.indexOfArray(g.buttons_ar,g.subtitleButton_do)&&(g.playbackRateButton_do&&-1!=g.getButtonIndex(g.playbackRateButton_do)?(t=g.getButtonIndex(g.playbackRateButton_do),g.buttons_ar.splice(t,0,g.subtitleButton_do)):g.atbButton_do&&-1!=g.getButtonIndex(g.atbButton_do)?(t=g.getButtonIndex(g.atbButton_do),g.buttons_ar.splice(t,0,g.subtitleButton_do)):g.infoButton_do&&-1!=g.getButtonIndex(g.infoButton_do)?(t=g.getButtonIndex(g.infoButton_do),g.buttons_ar.splice(t,0,g.subtitleButton_do)):g.downloadButton_do&&-1!=g.getButtonIndex(g.downloadButton_do)?(t=g.getButtonIndex(g.downloadButton_do),g.buttons_ar.splice(t,0,g.subtitleButton_do)):g.ccBtn_do&&-1!=g.getButtonIndex(g.ccBtn_do)?(t=g.getButtonIndex(g.ccBtn_do),g.buttons_ar.splice(t,0,g.subtitleButton_do)):g.fullScreenButton_do?(t=g.getButtonIndex(g.fullScreenButton_do),g.buttons_ar.splice(t,0,g.subtitleButton_do)):g.buttons_ar.splice(g.buttons_ar.length,0,g.subtitleButton_do),g.subtitleButton_do.setVisible(!0)):-1!=(n=FWDUVPUtils.indexOfArray(g.buttons_ar,g.subtitleButton_do))&&(g.buttons_ar.splice(n,1),g.subtitleButton_do.setVisible(!1),g.subtitleButton_do.setX(-5e3))),b.videoType_str!=FWDUVPlayer.VIMEO||m.showDefaultControllerForVimeo_bl?(-1==FWDUVPUtils.indexOfArray(g.buttons_ar,g.playPauseButton_do)&&g.playPauseButton_do&&(t=0,g.buttons_ar.splice(t,0,g.playPauseButton_do),g.playPauseButton_do.setVisible(!0)),-1==FWDUVPUtils.indexOfArray(g.buttons_ar,g.rewindButton_do)&&g.rewindButton_do&&(t=FWDUVPUtils.indexOfArray(g.buttons_ar,g.playPauseButton_do),g.buttons_ar.splice(t,0,g.rewindButton_do),g.rewindButton_do.setVisible(!0)),g.showVolumeButton_bl&&(g.showTime_bl?-1==FWDUVPUtils.indexOfArray(g.buttons_ar,g.volBtn)&&(t=FWDUVPUtils.indexOfArray(g.buttons_ar,g.time_do)+1,g.buttons_ar.splice(t,0,g.volBtn),g.volBtn.setVisible(!0)):-1==FWDUVPUtils.indexOfArray(g.buttons_ar,g.volBtn)&&(t=FWDUVPUtils.indexOfArray(g.buttons_ar,g.mainScrubber_do)+1,g.buttons_ar.splice(t,0,g.volBtn),g.volBtn.setVisible(!0))),g.mainScrubber_do.setVisible(!0)):(-1!=(i=FWDUVPUtils.indexOfArray(g.buttons_ar,g.playPauseButton_do))&&(g.buttons_ar.splice(i,1),g.playPauseButton_do.setVisible(!1),g.playPauseButton_do.setX(-500)),g.mainScrubber_do.setVisible(!1));for(var u=[],c=0;cs.w&&(n+=-1*(a=-1*(s.w-(n+t.w)))),t.positionPointer(a,!1),t.setX(n),t.setY(i),t.show())},g.setupAdsLines=function(e,t,o,s){if(!g.createdAdsOnce_bl&&(g.curLinesId!=t||g.curLinesCat!=o||s)&&(g.curLinesId=t,g.curLinesCat=o,e)){if(g.resetsAdsLines(),g.linesHolder_do||(g.linesHolder_do=new FWDUVPDisplayObject("div"),g.linesHolder_do.setOverflow("visible"),g.mainScrubber_do.addChild(g.linesHolder_do)),g.createdAdsOnce_bl=!0,g.lines_ar=e,g.lines_ar){var n;g.line_ar=[];for(var i=0;i",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),g.playbackRateButton_do=new FWDUVPSimpleButton(m.playbackRateNPath_img,m.playbackRateSPath_str,void 0,!0,g.useHEX,g.nBC,g.sBC)),g.playbackRateButton_do.setY(parseInt((g.sH-g.playbackRateButton_do.h)/2));var e=setInterval(function(){0n&&(n=t.w),t.setY(s),s+=t.h):-3e3!=t.x&&t.setX(-3e3);for(e=0;eg.sW-g.thumbnailsPreview_do.w-1&&(o=s-g.sW+g.thumbnailsPreview_do.w,s=g.sW-g.thumbnailsPreview_do.w-1),g.thumbnailsPreview_do.setLabel(FWDUVPUtils.formatTime(Math.round(b.totalDuration*t)),Math.round(b.totalDuration*t),o),g.thumbnailsPreview_do.setX(s),g.thumbnailsPreview_do.setY(g.mainScrubber_do.y-g.thumbnailsPreview_do.h-2))},g.updateTooltipOnMove=function(e){var t=FWDUVPUtils.getViewportMouseCoordinates(e).screenX-g.mainScrubber_do.getGlobalX();t<0?t=0:t>g.maiScrbW-g.scrubbersOffsetWidth&&(t=g.maiScrbW-g.scrubbersOffsetWidth);var o=t/g.maiScrbW;g.updateToolTip(t,o),g.updateThumbnailsPreview(t,o)},g.mainScrubberWMouseMove=function(e){var t=FWDUVPUtils.getViewportMouseCoordinates(e);g.vcX=t.screenX,g.vcY=t.screenY,FWDUVPUtils.hitTest(g.mainScrubber_do.screen,g.vcX,g.vcY)||g.isMainScrubberScrubbing_bl||(window.removeEventListener("mousemove",g.mainScrubberWMouseMove),g.ttm.hide());var o=FWDUVPUtils.getViewportMouseCoordinates(e).screenX-g.mainScrubber_do.getGlobalX();o<0?o=0:o>g.maiScrbW-g.scrubbersOffsetWidth&&(o=g.maiScrbW-g.scrubbersOffsetWidth);var s=o/g.maiScrbW;g.updateThumbnailsPreview(o,s)},g.mainScrubberOnOverHandler=function(e){var t,o;g.isMainScrubberDisabled_bl||(m.showMainScrubberToolTipLabel_bl&&!b.hasThumbnailsPreview&&g.ttm.show(),g.thumbnailsPreview_do&&b.hasThumbnailsPreview&&g.thumbnailsPreview_do.show(),g.isMbl||!g.ttm&&!g.thumbnailsPreview_do||(window.removeEventListener("mousemove",g.mainScrubberWMouseMove),window.addEventListener("mousemove",g.mainScrubberWMouseMove)),(t=FWDUVPUtils.getViewportMouseCoordinates(e).screenX-g.mainScrubber_do.getGlobalX())<0?t=0:t>g.maiScrbW-g.scrubbersOffsetWidth&&(t=g.maiScrbW-g.scrubbersOffsetWidth),o=t/g.maiScrbW,g.updateToolTip(t,o),g.updateThumbnailsPreview(t,o))},g.mainScrubberOnOutHandler=function(e){g.isMainScrubberScrubbing_bl||(g.ttm&&g.ttm.hide(),g.thumbnailsPreview_do&&b.hasThumbnailsPreview&&g.thumbnailsPreview_do.hide())},g.mainScrubberOnDownHandler=function(e){var t,o;g.isMainScrubberDisabled_bl||2==e.button||(b.showDisable(),e.preventDefault&&e.preventDefault(),g.isMainScrubberScrubbing_bl=!0,(t=FWDUVPUtils.getViewportMouseCoordinates(e).screenX-g.mainScrubber_do.getGlobalX())<0?t=0:t>g.maiScrbW-g.scrubbersOffsetWidth&&(t=g.maiScrbW-g.scrubbersOffsetWidth),o=t/g.maiScrbW,m.showMainScrubberToolTipLabel_bl&&!b.hasThumbnailsPreview&&g.ttm.show(),g.thumbnailsPreview_do&&b.hasThumbnailsPreview&&g.thumbnailsPreview_do.show(),g.updateToolTip(t,o),g.updateMainScrubber(o),g.updateThumbnailsPreview(t,o),g.dispatchEvent(s.START_TO_SCRUB),g.dispatchEvent(s.SCRUB,{percent:o}),g.hasPointerEvent_bl?(window.addEventListener("pointermove",g.mainScrubberMoveHandler),window.addEventListener("pointerup",g.mainScrubberEndHandler)):(window.addEventListener("mousemove",g.mainScrubberMoveHandler),window.addEventListener("mouseup",g.mainScrubberEndHandler),window.addEventListener("touchmove",g.mainScrubberMoveHandler),window.addEventListener("touchend",g.mainScrubberEndHandler)))},g.mainScrubberMoveHandler=function(e){e.preventDefault&&e.preventDefault();var t=FWDUVPUtils.getViewportMouseCoordinates(e).screenX-g.mainScrubber_do.getGlobalX();t<0?t=0:t>g.maiScrbW-g.scrubbersOffsetWidth&&(t=g.maiScrbW-g.scrubbersOffsetWidth);var o=t/g.maiScrbW;g.updateToolTip(t,o),g.updateMainScrubber(o),g.updateThumbnailsPreview(t,o),g.dispatchEvent(s.SCRUB,{percent:o})},g.mainScrubberEndHandler=function(e){var t;b.hideDisable(),e&&(t=FWDUVPUtils.getViewportMouseCoordinates(e),FWDUVPUtils.hitTest(g.mainScrubber_do.screen,t.screenX,t.screenY)||(g.ttm&&g.ttm.hide(),g.thumbnailsPreview_do&&b.hasThumbnailsPreview&&g.thumbnailsPreview_do.hide())),g.isMainScrubberScrubbing_bl=!1,g.dispatchEvent(s.STOP_TO_SCRUB),g.hasPointerEvent_bl?(window.removeEventListener("pointermove",g.mainScrubberMoveHandler),window.removeEventListener("pointerup",g.mainScrubberEndHandler)):(window.removeEventListener("mousemove",g.mainScrubberMoveHandler),window.removeEventListener("mouseup",g.mainScrubberEndHandler),window.removeEventListener("touchmove",g.mainScrubberMoveHandler),window.removeEventListener("touchend",g.mainScrubberEndHandler))},g.disableMainScrubber=function(){g.mainScrubber_do&&(g.isMainScrubberDisabled_bl=!0,g.mainScrubber_do.setButtonMode(!1),g.mainScrubberEndHandler(),g.mainScrubberOnOutHandler(),g.updateMainScrubber(0),g.updatePreloaderBar(0))},g.enableMainScrubber=function(){g.mainScrubber_do&&!g.isLive&&(g.isMainScrubberDisabled_bl=!1,g.disableVideoScrubber_bl||g.mainScrubber_do.setButtonMode(!0))},g.updateMainScrubber=function(e){var t;g.mainScrubber_do&&(g.isLive&&(e=0),t=parseInt(e*g.maiScrbW),isNaN(t)||null==t||(t<0&&(t=0),g.percentPlayed=e,!FWDUVPlayer.hasHTML5Video&&t>=g.mainProgress_do.w&&(t=g.mainProgress_do.w),t<1&&g.isMainScrubberLineVisible_bl?(g.isMainScrubberLineVisible_bl=!1,FWDAnimation.to(g.mainScrubberBarLine_do,.5,{alpha:0})):1g.maiScrbW-g.scrubbersOffsetWidth&&(t=g.maiScrbW-g.scrubbersOffsetWidth),t<0&&(t=0),FWDAnimation.to(g.mainScrubberBarLine_do,.8,{x:t+1,ease:Expo.easeOut})))},g.updatePreloaderBar=function(e){var t;g.mainProgress_do&&(g.isLive&&(e=0),g.percentLoaded=e,t=parseInt(g.percentLoaded*g.maiScrbW),isNaN(t)||null==t||(t<0&&(t=0),.98<=g.percentLoaded?(g.percentLoaded=1,g.mainProgress_do.setY(-30)):0!=g.mainProgress_do.y&&1!=g.percentLoaded&&g.mainProgress_do.setY(0),t>g.maiScrbW-g.scrubbersOffsetWidth&&(t=g.maiScrbW-g.scrubbersOffsetWidth),t<0&&(t=0),g.mainProgress_do.setWidth(t)))},g.setupPrevButton=function(){g.useVectorIcons_bl?(FWDUVPSimpleButton.setPrototype(),g.prevButton_do=new FWDUVPSimpleButton(void 0,void 0,void 0,!0,void 0,void 0,void 0,"",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),g.prevButton_do=new FWDUVPSimpleButton(m.prev2N_img,m.prevSPath_str,void 0,!0,g.useHEX,g.nBC,g.sBC)),g.prevButton_do.addListener(FWDUVPSimpleButton.SHOW_TOOLTIP,g.prevButtonShowTooltipHandler),g.prevButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,g.prevButtonOnMouseUpHandler),g.prevButton_do.setY(parseInt((g.sH-g.prevButton_do.h)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),g.nextButton_do=new FWDUVPSimpleButton(m.next2N_img,m.nextSPath_str,void 0,!0,g.useHEX,g.nBC,g.sBC)),g.nextButton_do.addListener(FWDUVPSimpleButton.SHOW_TOOLTIP,g.nextButtonShowTooltipHandler),g.nextButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,g.nextButtonOnMouseUpHandler),g.nextButton_do.setY(parseInt((g.sH-g.nextButton_do.h)/2));var e=setInterval(function(){0","","UVPMainButtonsNormalState play","UVPMainButtonsSelectedState play")):(FWDUVPComplexButton.setPrototype(),g.playPauseButton_do=new FWDUVPComplexButton(g.playN_img,m.playSPath_str,g.pauseN_img,m.pauseSPath_str,!0,g.useHEX,g.nBC,g.sBC)),g.buttons_ar.push(g.playPauseButton_do),g.playPauseButton_do.setY(parseInt((g.sH-g.playPauseButton_do.buttonHeight)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState cats","UVPMainButtonsSelectedState cats")):(FWDUVPSimpleButton.setPrototype(),g.categoriesButton_do=new FWDUVPSimpleButton(g.categoriesN_img,m.categoriesSPath_str,void 0,!0,g.useHEX,g.nBC,g.sBC)),g.categoriesButton_do.addListener(FWDUVPSimpleButton.SHOW_TOOLTIP,g.categoriesButtonShowTooltipHandler),g.categoriesButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,g.categoriesButtonOnMouseUpHandler),g.categoriesButton_do.setY(parseInt((g.sH-g.categoriesButton_do.h)/2));var e=setInterval(function(){0","","UVPMainButtonsNormalState playlist","UVPMainButtonsSelectedState playlist")):(FWDUVPComplexButton.setPrototype(),g.playlistButton_do=new FWDUVPComplexButton(g.hidePlaylistN_img,m.hidePlaylistSPath_str,g.showPlaylistN_img,m.showPlaylistSPath_str,!0,g.useHEX,g.nBC,g.sBC)),g.buttons_ar.push(g.playlistButton_do),g.playlistButton_do.setY(parseInt((g.sH-g.playlistButton_do.buttonHeight)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),g.embedButton_do=new FWDUVPSimpleButton(g.embedN_img,m.embedPathS_str,void 0,!0,g.useHEX,g.nBC,g.sBC)),g.embedButton_do.addListener(FWDUVPSimpleButton.SHOW_TOOLTIP,g.embedButtonShowToolTipHandler),g.embedButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,g.embedButtonOnMouseUpHandler),g.embedButton_do.setY(parseInt((g.sH-g.embedButton_do.h)/2));var e=setInterval(function(){0n&&(n=t.w),t.setY(s),s+=t.h):-3e3!=t.x&&t.setX(-3e3);for(e=0;e","","UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPComplexButton.setPrototype(),g.subtitleButton_do=new FWDUVPComplexButton(m.showSubtitleNPath_img,m.showSubtitleSPath_str,m.hideSubtitleNPath_img,m.hideSubtitleSPath_str,!0,g.useHEX,g.nBC,g.sBC));var e=setInterval(function(){0n&&(n=t.w),t.setY(s),s+=t.h):-3e3!=t.x&&t.setX(-3e3);for(e=0;e",m.hdIcn,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),g.ytbQualityButton_do=new FWDUVPSimpleButton(g.ytbQualityN_img,m.ytbQualitySPath_str,m.ytbQualityDPath_str,!0,g.useHEX,g.nBC,g.sBC)),g.ytbQualityButton_do.setX(-300),g.ytbQualityButton_do.setY(parseInt((g.sH-g.ytbQualityButton_do.h)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),g.infoButton_do=new FWDUVPSimpleButton(g.infoN_img,m.infoSPath_str,void 0,!0,g.useHEX,g.nBC,g.sBC));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState dw","UVPMainButtonsSelectedState dw")):(FWDUVPSimpleButton.setPrototype(),g.downloadButton_do=new FWDUVPSimpleButton(g.downloadN_img,m.downloadSPath_str,void 0,!0,g.useHEX,g.nBC,g.sBC)),g.downloadButton_do.addListener(FWDUVPSimpleButton.SHOW_TOOLTIP,g.downloadButtonShowToolTipHandler),g.downloadButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,g.downloadButtonOnMouseUpHandler),g.downloadButton_do.setX(-300),g.downloadButton_do.setY(parseInt((g.sH-g.downloadButton_do.h)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),g.atbButton_do=new FWDUVPSimpleButton(m.atbNPath_img,m.atbSPath_str,void 0,!0,g.useHEX,g.nBC,g.sBC)),g.atbButton_do.setX(-5e3),g.atbButton_do.setY(parseInt((g.sH-g.atbButton_do.h)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),g.shareButton_do=new FWDUVPSimpleButton(m.shareN_img,m.shareSPath_str,void 0,!0,g.useHEX,g.nBC,g.sBC)),g.buttons_ar.push(g.shareButton_do),g.shareButton_do.setY(parseInt((g.sH-g.shareButton_do.h)/2));var e=setInterval(function(){0","","UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPComplexButton.setPrototype(),g.ccBtn_do=new FWDUVPComplexButton(m.castN_img,m.castSPath_str,m.uncastN_img,m.uncastSPath_str,!0,g.useHEX,g.nBC,g.sBC));var e=setInterval(function(){0","","UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPComplexButton.setPrototype(),g.fullScreenButton_do=new FWDUVPComplexButton(g.fullScreenN_img,m.fullScreenSPath_str,g.normalScreenN_img,m.normalScreenSPath_str,!0,g.useHEX,g.nBC,g.sBC)),g.buttons_ar.push(g.fullScreenButton_do),g.fullScreenButton_do.setY(parseInt((g.sH-g.fullScreenButton_do.buttonHeight)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),g.rewindButton_do=new FWDUVPSimpleButton(m.rewindN_img,m.rewindSPath_str,void 0,!0,g.useHEX,g.nBC,g.sBC)),g.buttons_ar.push(g.rewindButton_do),g.rewindButton_do.setY(parseInt((g.sH-g.rewindButton_do.h)/2));var e=setInterval(function(){0","","UVPMainButtonsNormalState volume","UVPMainButtonsSelectedState volume")):(FWDUVPVolumeButton.setPrototype(),g.volBtn=new FWDUVPVolumeButton(g.volumeN_img,m.volumeSPath_str,m.volumeDPath_str,g.useHEX,g.nBC,g.sBC)),g.volBtn.addListener(FWDUVPVolumeButton.SHOW_TOOLTIP,g.volumeButtonShowTooltipHandler),g.volBtn.addListener(FWDUVPVolumeButton.MOUSE_OVER,g.volumeOnMouseOverHandler),g.volBtn.addListener(FWDUVPVolumeButton.MOUSE_UP,g.volumeOnMouseUpHandler),g.volBtn.setY(parseInt((g.sH-g.volBtn.h)/2));var e=setInterval(function(){0g.volumeScrubber_do.h-g.scrubbersOffsetWidth&&(t=g.volumeScrubber_do.h-g.scrubbersOffsetWidth),o=1-t/g.volumeScrubber_do.h,g.lastVolume=o,g.updateVolume(o),g.isMbl?g.hasPointerEvent_bl?(window.addEventListener("MSPointerMove",g.volumeScrubberMoveHandler),window.addEventListener("pointerup",g.volumeScrubberEndHandler)):(window.addEventListener("touchmove",g.volumeScrubberMoveHandler),window.addEventListener("touchend",g.volumeScrubberEndHandler)):window.addEventListener?(window.addEventListener("mousemove",g.volumeScrubberMoveHandler),window.addEventListener("mouseup",g.volumeScrubberEndHandler)):document.attachEvent&&(document.attachEvent("onmousemove",g.volumeScrubberMoveHandler),document.attachEvent("onmouseup",g.volumeScrubberEndHandler)))},g.volumeScrubberMoveHandler=function(e){var t,o;g.isVolumeScrubberDisabled_bl||(e.preventDefault&&e.preventDefault(),(t=FWDUVPUtils.getViewportMouseCoordinates(e).screenY-g.volumeScrubber_do.getGlobalY())g.volumeScrubber_do.h&&(t=g.volumeScrubber_do.h),o=1-t/g.volumeScrubber_do.h,g.lastVolume=o,g.updateVolume(o))},g.volumeScrubberEndHandler=function(){b.hideDisable(),g.volumeScrubberIsDragging_bl=!1,g.isMbl?g.hasPointerEvent_bl?(window.removeEventListener("MSPointerMove",g.volumeScrubberMoveHandler),window.removeEventListener("pointerup",g.volumeScrubberEndHandler)):(window.removeEventListener("touchmove",g.volumeScrubberMoveHandler),window.removeEventListener("touchend",g.volumeScrubberEndHandler)):window.removeEventListener?(window.removeEventListener("mousemove",g.volumeScrubberMoveHandler),window.removeEventListener("mouseup",g.volumeScrubberEndHandler)):document.detachEvent&&(document.detachEvent("onmousemove",g.volumeScrubberMoveHandler),document.detachEvent("onmouseup",g.volumeScrubberEndHandler))},g.disableVolumeScrubber=function(){g.isVolumeScrubberDisabled_bl=!0,g.volumeScrubber_do.setButtonMode(!1),g.volumeScrubberEndHandler()},g.enableVolumeScrubber=function(){g.isVolumeScrubberDisabled_bl=!1,g.volumeScrubber_do.setButtonMode(!0)},g.updateVolumeScrubber=function(e){var t=g.volumeScrubberHeight-g.volumeScrubberOfsetHeight,o=Math.round(e*t);g.volumeScrubberDrag_do.setHeight(Math.max(0,o-g.volumeScrubberDragBottom_do.h)),g.volumeScrubberDrag_do.setY(t-o),o<1&&g.isVolumeScrubberLineVisible_bl?(g.isVolumeScrubberLineVisible_bl=!1,FWDAnimation.to(g.volumeScrubberBarLine_do,.5,{alpha:0}),FWDAnimation.to(g.volumeScrubberDragBottom_do,.5,{alpha:0})):1data-source is required in the plalists html element at position "+(t+1)})},50);if(!FWDUVPUtils.hasAttribute(child,"data-thumbnail-path"))return void setTimeout(function(){null!=_s&&_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Attribute data-thumbnail-path is required in the playlists html element at position "+(t+1)})},50);o.source=FWDUVPUtils.getAttributeValue(child,"data-source"),s=-1==o.source.indexOf("=")&&-1==o.source.indexOf(".xml")&&-1==o.source.indexOf("vimeo.com")&&-1==o.source.indexOf("youtube.")?document.getElementById(o.source):o.source,_s.catsRef_ar.push(s),o.thumbnailPath=FWDUVPUtils.getAttributeValue(child,"data-thumbnail-path"),o.htmlContent=child.innerHTML,o.htmlText_str=child.innerText,o.vimeoUserId=FWDUVPUtils.getAttributeValue(child,"data-user-id"),o.clientId=FWDUVPUtils.getAttributeValue(child,"data-client-id"),o.vimeoSecret=FWDUVPUtils.getAttributeValue(child,"data-vimeo-secret"),o.vimeoToken=FWDUVPUtils.getAttributeValue(child,"data-vimeo-token"),FWDUVPUtils.hasAttribute(child,"data-playlist-name")?o.playlistName=FWDUVPUtils.getAttributeValue(child,"data-playlist-name"):o.playlistName="not defined!",o.pass=FWDUVPUtils.getAttributeValue(child,"data-password"),_s.cats_ar[t]=o}for(t=0;t<_s.totalCats;t++){o={},s=null;child=e[t],s=document.getElementById(FWDUVPUtils.getAttributeValue(child,"data-source"))}_s.startAtPlaylist=_s.props.startAtPlaylist||0,isNaN(_s.startAtPlaylist)&&(_s.startAtPlaylist=0),_s.startAtPlaylist<0?_s.startAtPlaylist=0:_s.startAtPlaylist>_s.totalCats-1&&(_s.startAtPlaylist=_s.totalCats-1),_s.playlistBottomHeight=_s.props.playlistBottomHeight||0,_s.playlistBottomHeight=Math.min(800,_s.playlistBottomHeight),_s.subtitlesOffLabel_str=_s.props.subtitlesOffLabel||"Subtitle off",_s.videoSourcePath_str=_s.props.videoSourcePath||void 0,_s.timeColor_str=_s.props.timeColor||"#FF0000",_s.youtubeQualityButtonNormalColor_str=_s.props.youtubeQualityButtonNormalColor||"#FF0000",_s.youtubeQualityButtonSelectedColor_str=_s.props.youtubeQualityButtonSelectedColor||"#FF0000",_s.posterBackgroundColor_str=_s.props.posterBackgroundColor||"transparent",_s.showPlaylistButtonAndPlaylist_bl=_s.props.showPlaylistButtonAndPlaylist,_s.showPlaylistButtonAndPlaylist_bl="no"!=_s.showPlaylistButtonAndPlaylist_bl,_s.useResumeOnPlay_bl=_s.props.useResumeOnPlay,_s.useResumeOnPlay_bl="yes"==_s.useResumeOnPlay_bl,_s.useResumeOnPlay_bl=_s.props.useResumeOnPlay,_s.useResumeOnPlay_bl="yes"==_s.useResumeOnPlay_bl,_s.showOnlyThumbnail=_s.props.showOnlyThumbnail,_s.showOnlyThumbnail="yes"==_s.showOnlyThumbnail,_s.showThumbnail_bl=_s.props.showThumbnail,_s.showThumbnail_bl="no"!=_s.showThumbnail_bl,_s.showOnlyThumbnail&&(_s.showThumbnail_bl=!0),_s.showPlaylistOnFullScreen=_s.props.showPlaylistOnFullScreen,_s.showPlaylistOnFullScreen="yes"==_s.showPlaylistOnFullScreen,_s.stopAfterLastVideoHasPlayed_bl=_s.props.stopAfterLastVideoHasPlayed,_s.stopAfterLastVideoHasPlayed_bl="yes"==_s.stopAfterLastVideoHasPlayed_bl,_s.usePlaylistsSelectBox_bl=_s.props.usePlaylistsSelectBox,_s.usePlaylistsSelectBox_bl="yes"==_s.usePlaylistsSelectBox_bl,_s.executeCuepointsOnlyOnce_bl=_s.props.executeCuepointsOnlyOnce,_s.executeCuepointsOnlyOnce_bl="yes"==_s.executeCuepointsOnlyOnce_bl,_s.showPlaylistByDefault_bl=_s.props.showPlaylistByDefault,_s.showPlaylistByDefault_bl="no"!=_s.showPlaylistByDefault_bl,_s.playAfterVideoStop_bl=_s.props.playAfterVideoStop,_s.playAfterVideoStop_bl="no"!=_s.playAfterVideoStop_bl,_s.openerAlignment_str=_s.props.openerAlignment,_s.openerEqulizerOffsetTop=_s.props.openerEqulizerOffsetTop||0,_s.openerEqulizerOffsetLeft=_s.props.openerEqulizerOffsetLeft||0,_s.showOpener_bl=_s.props.showOpener,_s.showOpener_bl="yes"==_s.showOpener_bl,_s.stickyOnScrollShowOpener_bl=_s.props.stickyOnScrollShowOpener,_s.stickyOnScrollShowOpener_bl="yes"==_s.stickyOnScrollShowOpener_bl,_s.showOpenerPlayPauseButton_bl=_s.props.showOpenerPlayPauseButton,_s.showOpenerPlayPauseButton_bl="yes"==_s.showOpenerPlayPauseButton_bl,_s.animate_bl=_s.props.animatePlayer,_s.animate_bl="yes"==_s.animate_bl,_s.showChromecastButton_bl=_s.props.showChromecastButton,_s.showChromecastButton_bl="yes"==_s.showChromecastButton_bl,FWDUVPUtils.isChrome&&!FWDUVPUtils.isLocal&&-1!=location.href.indexOf("https:")||(_s.showChromecastButton_bl=!1),_s.showAnnotationsPositionTool_bl=_s.props.showAnnotationsPositionTool,_s.showAnnotationsPositionTool_bl="yes"==_s.showAnnotationsPositionTool_bl,_s.showAnnotationsPositionTool_bl&&(_s.showPlaylistByDefault_bl=!1),_s.showPlaylistName_bl=_s.props.showPlaylistName,_s.showPlaylistName_bl="no"!=_s.showPlaylistName_bl,_s.showSearchInpt=_s.props.showSearchInput,_s.showSearchInpt="no"!=_s.showSearchInpt,_s.showSubByDflt=_s.props.showSubtitleByDefault,_s.showSubByDflt="no"!=_s.showSubByDflt,_s.showSubBtn=_s.props.showSubtitleButton,_s.showSubBtn="no"!=_s.showSubBtn,_s.forceDisableDownloadButtonForFolder_bl=_s.props.forceDisableDownloadButtonForFolder,_s.forceDisableDownloadButtonForFolder_bl="yes"==_s.forceDisableDownloadButtonForFolder_bl,_s.nBC=_s.props.normalHEXButtonsColor||"#FFFFFF",-1!=_s.sknPth.indexOf("dark")?_s.sBC="#FFFFFF":_s.sBC="#000000",_s.playlistPosition_str=_s.props.playlistPosition||"bottom",test="bottom"==_s.playlistPosition_str||"right"==_s.playlistPosition_str,test||(_s.playlistPosition_str="right"),_s.folderVideoLabel_str=_s.props.folderVideoLabel||"Video ",_s.logoPosition_str=_s.props.logoPosition||"topleft",_s.logoPosition_str=String(_s.logoPosition_str).toLowerCase(),test="topleft"==_s.logoPosition_str||"topright"==_s.logoPosition_str||"bottomleft"==_s.logoPosition_str||"bottomright"==_s.logoPosition_str,test||(_s.logoPosition_str="topleft"),_s.thumbnailSelectedType_str=_s.props.thumbnailSelectedType||"opacity","blackAndWhite"!=_s.thumbnailSelectedType_str&&"threshold"!=_s.thumbnailSelectedType_str&&"opacity"!=_s.thumbnailSelectedType_str&&(_s.thumbnailSelectedType_str="opacity"),(_s.isMbl||FWDUVPUtils.isIEAndLessThen9)&&(_s.thumbnailSelectedType_str="opacity"),"file:"==document.location.protocol&&(_s.thumbnailSelectedType_str="opacity"),_s.adsButtonsPosition_str=_s.props.adsButtonsPosition||"left",_s.adsButtonsPosition_str=String(_s.adsButtonsPosition_str).toLowerCase(),test="left"==_s.adsButtonsPosition_str||"right"==_s.adsButtonsPosition_str,test||(_s.adsButtonsPosition_str="left"),_s.skipToVideoButtonText_str=_s.props.skipToVideoButtonText||"not defined",_s.skipToVideoText_str=_s.props.skipToVideoText,_s.adsTextNormalColor=_s.props.adsTextNormalColor||"#FF0000",_s.adsTextSelectedColor=_s.props.adsTextSelectedColor||"#FF0000",_s.adsBorderNormalColor_str=_s.props.adsBorderNormalColor||"#FF0000",_s.adsBorderSelectedColor_str=_s.props.adsBorderSelectedColor||"#FF0000",_s.volume=_s.props.volume,null!=_s.volume&&!isNaN(_s.volume)||(_s.volume=1),1<_s.volume?_s.volume=1:_s.volume<=0&&(_s.volume=0),_s.rewTm=_s.props.rewindTime,null!=_s.rewTm&&!isNaN(_s.rewTm)||(_s.rewTm=10),_s.rewTm<=1&&(_s.rewTm=1),_s.buttonsToolTipFontColor_str=_s.props.buttonsToolTipFontColor||"#FF0000",_s.toolTipsButtonFontColor_str=_s.props.toolTipsButtonFontColor||"#FF0000",_s.shareAndEmbedTextColor_str=_s.props.shareAndEmbedTextColor||"#FF0000",_s.inputBackgroundColor_str=_s.props.inputBackgroundColor||"#FF0000",_s.inputColor_str=_s.props.inputColor||"#FF0000",_s.searchInputBackgroundColor_str=_s.props.searchInputBackgroundColor||"#FF0000",_s.borderColor_str=_s.props.borderColor||"#FF0000",_s.searchInputColor_str=_s.props.searchInputColor||"#FF0000",_s.youtubeAndFolderVideoTitleColor_str=_s.props.youtubeAndFolderVideoTitleColor||"#FF0000",_s.folderAudioSecondTitleColor_str=_s.props.folderAudioSecondTitleColor||"#666666",_s.youtubeDescriptionColor_str=_s.props.youtubeDescriptionColor||"#FF0000",_s.youtubeOwnerColor_str=_s.props.youtubeOwnerColor||"#FF0000",_s.secondaryLabelsColor_str=_s.props.secondaryLabelsColor||"#FF0000",_s.mainLabelsColor_str=_s.props.mainLabelsColor||"#FF0000",_s.playlistBackgroundColor_str=_s.props.playlistBackgroundColor||"#FF0000",_s.thumbnailNormalBackgroundColor_str=_s.props.thumbnailNormalBackgroundColor||"#FF0000",_s.playlistNameColor_str=_s.props.playlistNameColor||"#FF0000",_s.thumbnailHoverBackgroundColor_str=_s.props.thumbnailHoverBackgroundColor||"#FF0000",_s.thumbnailDisabledBackgroundColor_str=_s.props.thumbnailDisabledBackgroundColor||"#FF0000",_s.mainSelectorBackgroundSelectedColor=_s.props.mainSelectorBackgroundSelectedColor||"#FFFFFF",_s.mainSelectorTextNormalColor=_s.props.mainSelectorTextNormalColor||"#FFFFFF",_s.mainSelectorTextSelectedColor=_s.props.mainSelectorTextSelectedColor||"#000000",_s.mainButtonBackgroundNormalColor=_s.props.mainButtonBackgroundNormalColor||"#212021",_s.mainButtonBackgroundSelectedColor=_s.props.mainButtonBackgroundSelectedColor||"#FFFFFF",_s.mainButtonTextNormalColor=_s.props.mainButtonTextNormalColor||"#FFFFFF",_s.mainButtonTextSelectedColor=_s.props.mainButtonTextSelectedColor||"#000000",_s.logoLink_str=_s.props.logoLink||"none",_s.startAtVideo=parseInt(_s.props.startAtVideo)||0,_s.audioVisualizerLinesColor_str=_s.props.audioVisualizerLinesColor||"#0099FF",_s.audioVisualizerCircleColor_str=_s.props.audioVisualizerCircleColor||"#FFFFFF",_s.privateVideoPassword_str=_s.props.privateVideoPassword,_s.youtubeAPIKey=_s.props.youtubeAPIKey||"AIzaSyCgbixU3aIWCkiZ76h_E-XpEGig5mFhnVY",_s.contextMenuBackgroundColor_str=_s.props.contextMenuBackgroundColor||"#000000",_s.contextMenuBorderColor_str=_s.props.contextMenuBorderColor||"#FF0000",_s.contextMenuSpacerColor_str=_s.props.contextMenuSpacerColor||"#FF0000",_s.contextMenuItemNormalColor_str=_s.props.contextMenuItemNormalColor||"#FF0000",_s.contextMenuItemSelectedColor_str=_s.props.contextMenuItemSelectedColor||"#FF0000",_s.contextMenuItemDisabledColor_str=_s.props.contextMenuItemDisabledColor||"#FF0000",_s.showScriptDeveloper_bl=_s.props.showScriptDeveloper,_s.showScriptDeveloper_bl="yes"==_s.showScriptDeveloper_bl,_s.showContextmenu_bl=_s.props.showContextmenu,_s.showContextmenu_bl="no"!=_s.showContextmenu_bl,_s.useFingerPrintStamp=_s.props.useFingerPrintStamp,_s.useFingerPrintStamp="yes"==_s.useFingerPrintStamp,window.fwduvpFingerPrintStamp||(_s.useFingerPrintStamp=!1),_s.frequencyOfFingerPrintStamp=_s.props.frequencyOfFingerPrintStamp||5e3,_s.durationOfFingerPrintStamp=_s.props.durationOfFingerPrintStamp||400,_s.nextAndPrevSetButtonsMargins=_s.props.nextAndPrevSetButtonsMargins||0,_s.buttonsMargins=_s.props.buttonsMargins||0,_s.thumbnailMaxWidth=_s.props.thumbnailMaxWidth||330,_s.thumbnailMaxHeight=_s.props.thumbnailMaxHeight||330,_s.horizontalSpaceBetweenThumbnails=_s.props.horizontalSpaceBetweenThumbnails,_s.verticalSpaceBetweenThumbnails=_s.props.verticalSpaceBetweenThumbnails,_s.totalPlaylists=_s.cats_ar.length,_s.controllerHeight=_s.props.controllerHeight||50,_s.startSpaceBetweenButtons=_s.props.startSpaceBetweenButtons||0,_s.controllerHideDelay=_s.props.controllerHideDelay||2,_s.controllerHideDelay*=1e3,_s.spaceBetweenButtons=_s.props.spaceBetweenButtons||0,_s.scrubbersOffsetWidth=_s.props.scrubbersOffsetWidth||0,_s.mainScrubberOffestTop=_s.props.mainScrubberOffestTop||0,_s.volumeScrubberOffsetTopWidth=_s.props.volumeScrubberOffsetTopWidth||0,_s.timeOffsetLeftWidth=_s.props.timeOffsetLeftWidth||0,_s.timeOffsetRightWidth=_s.props.timeOffsetRightWidth||0,_s.timeOffsetTop=_s.props.timeOffsetTop||0,_s.embedWindowCloseButtonMargins=_s.props.embedAndInfoWindowCloseButtonMargins||0,_s.logoMargins=_s.props.logoMargins||0,_s.maxPlaylistItems=_s.props.maxPlaylistItems||50,_s.volumeScrubberHeight=_s.props.volumeScrubberHeight||10,_s.volumeScrubberOfsetHeight=_s.props.volumeScrubberOfsetHeight||0,200<_s.volumeScrubberHeight&&(_s.volumeScrubberHeight=200),_s.buttonsToolTipHideDelay=_s.props.buttonsToolTipHideDelay||1.5,_s.thumbnailWidth=_s.props.thumbnailWidth||80,_s.thumbnailHeight=_s.props.thumbnailHeight||80,_s.spaceBetweenThumbnails=_s.props.spaceBetweenThumbnails||0,_s.timeOffsetTop=_s.props.timeOffsetTop||0,_s.scrollbarOffestWidth=_s.props.scrollbarOffestWidth||0,_s.scollbarSpeedSensitivity=_s.props.scollbarSpeedSensitivity||.5,_s.facebookAppId_str=_s.props.facebookAppId,_s.aopwBorderSize=_s.props.aopwBorderSize||0,_s.aopwTitle=_s.props.aopwTitle||"Advertisement",_s.aopwTitleColor_str=_s.props.aopwTitleColor||"#FFFFFF",_s.aopwWidth=_s.props.aopwWidth||200,_s.aopwHeight=_s.props.aopwHeight||200,_s.fillEntireVideoScreen_bl=_s.props.fillEntireVideoScreen,_s.fillEntireVideoScreen_bl="yes"==_s.fillEntireVideoScreen_bl,_s.fillEntireposterScreen_bl=_s.props.fillEntireposterScreen,_s.fillEntireposterScreen_bl="yes"==_s.fillEntireposterScreen_bl,_s.goFullScreenOnPlay_bl=_s.props.goFullScreenOnButtonPlay,_s.goFullScreenOnPlay_bl="yes"==_s.goFullScreenOnPlay_bl,_s.showContextMenu_bl=_s.props.showContextMenu,_s.showContextMenu_bl="no"!=_s.showContextMenu_bl,_s.showController_bl=_s.props.showController,_s.showController_bl="no"!=_s.showController_bl,_s.showButtonsToolTip_bl=_s.props.showButtonsToolTips,_s.showButtonsToolTip_bl="no"!=_s.showButtonsToolTip_bl,_s.isMbl&&(_s.showButtonsToolTip_bl=!1),_s.addKeyboardSupport_bl=_s.props.addKeyboardSupport,_s.addKeyboardSupport_bl="no"!=_s.addKeyboardSupport_bl,_s.playsinline="yes"==_s.props.playsinline,_s.useAToB="yes"==_s.props.useAToB,_s.atbTimeBackgroundColor=_s.props.atbTimeBackgroundColor||"transparent",_s.atbTimeTextColorNormal=_s.props.atbTimeTextColorNormal||"#888888",_s.atbTimeTextColorSelected=_s.props.atbTimeTextColorSelected||"#FFFFFF",_s.atbButtonTextNormalColor=_s.props.atbButtonTextNormalColor||"#888888",_s.atbButtonTextSelectedColor=_s.props.atbButtonTextSelectedColor||"#FFFFFF",_s.atbButtonBackgroundNormalColor=_s.props.atbButtonBackgroundNormalColor||"#FFFFFF",_s.atbButtonBackgroundSelectedColor=_s.props.atbButtonBackgroundSelectedColor||"#000000",_s.addMouseWheelSupport_bl=_s.props.addMouseWheelSupport,_s.addMouseWheelSupport_bl="no"!=_s.addMouseWheelSupport_bl,_s.addScrOnMM_bl=_s.props.addScrollOnMouseMove,_s.addScrOnMM_bl="yes"==_s.addScrOnMM_bl,_s.showPlaylistsSearchInput_bl=_s.props.showPlaylistsSearchInput,_s.showPlaylistsSearchInput_bl="yes"==_s.showPlaylistsSearchInput_bl,_s.scrubbersToolTipLabelBackgroundColor=_s.props.scrubbersToolTipLabelBackgroundColor||"#FFFFFF",_s.scrubbersToolTipLabelFontColor=_s.props.scrubbersToolTipLabelFontColor||"#000000",_s.autoPlay_bl=_s.props.autoPlay,_s.autoPlay_bl="yes"==_s.autoPlay_bl,_s.autoPlayText=_s.props.autoPlayText||"",_s.showNextAndPrevButtons_bl=_s.props.showNextAndPrevButtons,_s.showNextAndPrevButtons_bl="no"!=_s.showNextAndPrevButtons_bl,_s.showPlaylistsButtonAndPlaylists_bl=_s.props.showPlaylistsButtonAndPlaylists,_s.showPlaylistsButtonAndPlaylists_bl="no"!=_s.showPlaylistsButtonAndPlaylists_bl,_s.showEmbedButton_bl=_s.props.showEmbedButton,_s.showEmbedButton_bl="no"!=_s.showEmbedButton_bl,_s.showScrubberWhenControllerIsHidden_bl=_s.props.showScrubberWhenControllerIsHidden,_s.showScrubberWhenControllerIsHidden_bl="no"!=_s.showScrubberWhenControllerIsHidden_bl,_s.showMainScrubberToolTipLabel_bl=_s.props.showMainScrubberToolTipLabel,_s.showMainScrubberToolTipLabel_bl="yes"==_s.showMainScrubberToolTipLabel_bl,_s.showPlaylistsByDefault_bl=_s.props.showPlaylistsByDefault,_s.showPlaylistsByDefault_bl="yes"==_s.showPlaylistsByDefault_bl,_s.loop_bl=_s.props.loop,_s.loop_bl="yes"==_s.loop_bl,_s.shuffle_bl=_s.props.shuffle,_s.shuffle_bl="yes"==_s.shuffle_bl,_s.showLoopButton_bl=_s.props.showLoopButton,_s.showLoopButton_bl="no"!=_s.props.showLoopButton,_s.showShuffleButton_bl=_s.props.showShuffleButton,_s.showShuffleButton_bl="no"!=_s.props.showShuffleButton,_s.showDownloadVideoButton_bl=_s.props.showDownloadButton,_s.showDownloadVideoButton_bl="no"!=_s.showDownloadVideoButton_bl,_s.randomizePlaylist_bl=_s.props.randomizePlaylist,_s.randomizePlaylist_bl="yes"==_s.randomizePlaylist_bl,_s.showDefaultControllerForVimeo_bl=_s.props.showDefaultControllerForVimeo,_s.showDefaultControllerForVimeo_bl="yes"==_s.showDefaultControllerForVimeo_bl,_s.showInfoButton_bl=_s.props.showInfoButton,_s.showInfoButton_bl="no"!=_s.showInfoButton_bl,_s.showLogo_bl=_s.props.showLogo,_s.showLogo_bl="yes"==_s.showLogo_bl,_s.hideLogoWithController_bl=_s.props.hideLogoWithController,_s.hideLogoWithController_bl="yes"==_s.hideLogoWithController_bl,_s.showPoster_bl=_s.props.showPoster,_s.showPoster_bl="yes"==_s.showPoster_bl,_s.useVectorIcons_bl=_s.props.useVectorIcons,_s.useVectorIcons_bl="yes"==_s.useVectorIcons_bl,_s.showVolumeButton_bl=_s.props.showVolumeButton,_s.showVolumeButton_bl="no"!=_s.showVolumeButton_bl,_s.showVolumeScrubber_bl=_s.showVolumeButton_bl,_s.showControllerWhenVideoIsStopped_bl=_s.props.showControllerWhenVideoIsStopped,_s.showControllerWhenVideoIsStopped_bl="yes"==_s.showControllerWhenVideoIsStopped_bl,_s.showNextAndPrevButtonsInController_bl=_s.props.showNextAndPrevButtonsInController,_s.showNextAndPrevButtonsInController_bl="yes"==_s.showNextAndPrevButtonsInController_bl,_s.showTime_bl=_s.props.showTime,_s.showTime_bl="no"!=_s.showTime_bl,_s.shwPpoppAdClsBtn=_s.props.showPopupAdsCloseButton,_s.shwPpoppAdClsBtn="no"!=_s.shwPpoppAdClsBtn,_s.showRewindButton_bl=_s.props.showRewindButton,_s.showRewindButton_bl="no"!=_s.showRewindButton_bl,_s.disableVideoScrubber_bl=_s.props.disableVideoScrubber,_s.disableVideoScrubber_bl="yes"==_s.disableVideoScrubber_bl,_s.showPlaybackRateButton_bl=_s.props.showPlaybackRateButton,_s.showPlaybackRateButton_bl="yes"==_s.showPlaybackRateButton_bl,_s.defaultPlaybackRate_str=_s.props.defaultPlaybackRate,null==_s.defaultPlaybackRate_str&&(_s.defaultPlaybackRate_str=1),_s.defaultPlaybackRate_ar=["0.25","0.5","1","1.25","1.5","2"],_s.defaultPlaybackRate_ar.reverse();for(var n=!1,t=0;t<_s.defaultPlaybackRate_ar.length;t++)_s.defaultPlaybackRate_ar[t]==_s.defaultPlaybackRate_str&&(n=!0,_s.startAtPlaybackIndex=t);n||(_s.startAtPlaybackIndex=3,_s.defaultPlaybackRate_str=_s.defaultPlaybackRate_ar[_s.startAtPlaybackIndex]),_s.showFullScreenButton_bl=_s.props.showFullScreenButton,_s.showFullScreenButton_bl="no"!=_s.showFullScreenButton_bl,_s.repeatBackground_bl=_s.props.repeatBackground,_s.repeatBackground_bl="no"!=_s.repeatBackground_bl,_s.playVideoOnlyWhenLoggedIn_bl=_s.props.playVideoOnlyWhenLoggedIn,_s.playVideoOnlyWhenLoggedIn_bl="yes"==_s.playVideoOnlyWhenLoggedIn_bl,_s.playIfLoggedIn=_s.props.playIfLoggedIn,_s.playIfLoggedIn="yes"==_s.playIfLoggedIn,_s.playIfLoggedInMessage=_s.props.playIfLoggedInMessage||"Please loggin",_s.showShareButton_bl=_s.props.showShareButton,_s.showShareButton_bl="no"!=_s.showShareButton_bl,_s.openNewPageAtTheEndOfTheAds_bl=_s.props.openNewPageAtTheEndOfTheAds,_s.openNewPageAtTheEndOfTheAds_bl="yes"==_s.openNewPageAtTheEndOfTheAds_bl,_s.playAdsOnlyOnce_bl=_s.props.playAdsOnlyOnce,_s.playAdsOnlyOnce_bl="yes"==_s.playAdsOnlyOnce_bl,_s.startAtRandomVideo_bl=_s.props.startAtRandomVideo,_s.startAtRandomVideo_bl="yes"==_s.startAtRandomVideo_bl,_s.stopVideoWhenPlayComplete_bl=_s.props.stopVideoWhenPlayComplete,_s.stopVideoWhenPlayComplete_bl="yes"==_s.stopVideoWhenPlayComplete_bl,_s.closeLightBoxWhenPlayComplete=_s.props.closeLightBoxWhenPlayComplete,_s.closeLightBoxWhenPlayComplete="yes"==_s.closeLightBoxWhenPlayComplete,_s.showYoutubeQualityButton_bl=_s.props.showQualityButton,_s.showYoutubeQualityButton_bl="no"!=_s.showYoutubeQualityButton_bl,_s.thumbnailsPreviewWidth=_s.props.thumbnailsPreviewWidth||300,_s.thumbnailsPreviewHeight=_s.props.thumbnailsPreviewHeight||168,_s.thumbnailsPreviewBackgroundColor=_s.props.thumbnailsPreviewBackgroundColor||"#000",_s.thumbnailsPreviewBorderColor=_s.props.thumbnailsPreviewBorderColor||"#333",_s.thumbnailsPreviewLabelBackgroundColor=_s.props.thumbnailsPreviewLabelBackgroundColor||"#FFF",_s.thumbnailsPreviewLabelFontColor=_s.props.thumbnailsPreviewLabelFontColor||"#000",_s.arrowN_str=_s.sknPth+"combobox-arrow-normal.png",_s.arrowS_str=_s.sknPth+"combobox-arrow-selected.png",_s.hlsPath_str=_s.mainFolderPath_str+"java/hls.js",_s.dashPath_str=_s.mainFolderPath_str+"java/dash.all.min.js",_s.threeJsPath_str=_s.mainFolderPath_str+"java/three.js",_s.threeJsControlsPath_str=_s.mainFolderPath_str+"java/threeControled.js",_s.isDark=!0,-1==_s.sknPth.indexOf("dark")&&(_s.isDark=!1),_s.logoPath_str=_s.sknPth+"logo.png",_s.adLinePat_str=_s.sknPth+"ad-line.png",_s.props.logoPath&&(_s.logoPath_str=_s.props.logoPath),_s.mainScrubberDragLeftAddPath_str=_s.sknPth+"scrubber-left-drag-add.png",_s.mainScrubberDragMiddleAddPath_str=_s.sknPth+"scrubber-middle-drag-add.png",_s.mainPreloader_img=new Image,_s.mainPreloader_img.onerror=_s.onSkinLoadErrorHandler,_s.mainPreloader_img.onload=_s.onPreloaderLoadHandler,_s.mainPreloader_img.src=_s.sknPth+"preloader.jpg",_s.hdIcn=_s.sknPth+"hd.png",_s.skinPaths_ar=[{img:_s.skipIconPath_img=new Image,src:_s.sknPth+"skip-icon.png"},{img:_s.mainScrubberBkLeft_img=new Image,src:_s.sknPth+"scrubber-left-background.png"},{img:_s.mainScrubberDragLeft_img=new Image,src:_s.sknPth+"scrubber-left-drag.png"},{img:_s.mainScrubberLine_img=new Image,src:_s.sknPth+"scrubber-line.png"},{img:_s.progressLeft_img=new Image,src:_s.sknPth+"progress-left.png"},{img:_s.volumeScrubberDragBottom_img=new Image,src:_s.sknPth+"volume-scrubber-bottom-drag.png"},{img:_s.popwColseN_img=new Image,src:_s.sknPth+"popw-close-button.png"},{img:_s.embedColoseN_img=new Image,src:_s.sknPth+"embed-close-button.png"}],_s.useVectorIcons_bl||(_s.skinPaths_ar.push({img:_s.prevN_img=new Image,src:_s.sknPth+"prev-video.png"},{img:_s.nextN_img=new Image,src:_s.sknPth+"next-video.png"},{img:_s.playN_img=new Image,src:_s.sknPth+"play.png"},{img:_s.pauseN_img=new Image,src:_s.sknPth+"pause.png"},{img:_s.volumeN_img=new Image,src:_s.sknPth+"volume.png"},{img:_s.largePlayN_img=new Image,src:_s.sknPth+"large-play.png"},{img:_s.categoriesN_img=new Image,src:_s.sknPth+"categories-button.png"},{img:_s.replayN_img=new Image,src:_s.sknPth+"replay-button.png"},{img:_s.shuffleN_img=new Image,src:_s.sknPth+"shuffle-button.png"},{img:_s.fullScreenN_img=new Image,src:_s.sknPth+"full-screen.png"},{img:_s.ytbQualityN_img=new Image,src:_s.sknPth+"youtube-quality.png"},{img:_s.shareN_img=new Image,src:_s.sknPth+"share.png"},{img:_s.facebookN_img=new Image,src:_s.sknPth+"facebook.png"},{img:_s.infoN_img=new Image,src:_s.sknPth+"info-button.png"},{img:_s.downloadN_img=new Image,src:_s.sknPth+"download-button.png"},{img:_s.normalScreenN_img=new Image,src:_s.sknPth+"normal-screen.png"},{img:_s.embedN_img=new Image,src:_s.sknPth+"embed.png"},{img:_s.passColoseN_img=new Image,src:_s.sknPth+"embed-close-button.png"},{img:_s.showSubtitleNPath_img=new Image,src:_s.sknPth+"show-subtitle-icon.png"},{img:_s.hideSubtitleNPath_img=new Image,src:_s.sknPth+"hide-subtitle-icon.png"},{img:_s.playbackRateNPath_img=new Image,src:_s.sknPth+"playback-rate-normal.png"}),_s.useAToB&&_s.skinPaths_ar.push({img:_s.atbNPath_img=new Image,src:_s.sknPth+"a-to-b-button.png"})),(_s.showOpener_bl&&prt.displayType==FWDUVPlayer.STICKY||_s.stickyOnScrollShowOpener_bl&&prt.stickyOnScroll)&&(_s.skinPaths_ar.push({img:_s.openerPauseN_img=new Image,src:_s.sknPth+"open-pause-button-normal.png"},{img:_s.openerPlayN_img=new Image,src:_s.sknPth+"open-play-button-normal.png"},{img:_s.animationPath_img=new Image,src:_s.sknPth+"equalizer.png"},{img:_s.closeN_img=new Image,src:_s.sknPth+"opener-close.png"},{img:_s.openTopN_img=new Image,src:_s.sknPth+"open-button-normal-top.png"},{img:_s.openBottomN_img=new Image,src:_s.sknPth+"open-button-normal-bottom.png"}),_s.openerPauseS_str=_s.sknPth+"open-pause-button-selected.png",_s.openerPlayS_str=_s.sknPth+"open-play-button-selected.png",_s.openerAnimationPath_str=_s.sknPth+"equalizer.png",_s.openTopSPath_str=_s.sknPth+"open-button-selected-top.png",_s.openBottomSPath_str=_s.sknPth+"open-button-selected-bottom.png",_s.openTopSPath_str=_s.sknPth+"open-button-selected-top.png",_s.openBottomSPath_str=_s.sknPth+"open-button-selected-bottom.png",_s.closeSPath_str=_s.sknPth+"opener-close-over.png"),_s.showRewindButton_bl&&(_s.skinPaths_ar.push({img:_s.rewindN_img=new Image,src:_s.sknPth+"rewind.png"}),_s.rewindSPath_str=_s.sknPth+"rewind-over.png"),_s.showInfoButton_bl&&_s.skinPaths_ar.push({img:_s.infoWindowClooseN_img=new Image,src:_s.sknPth+"embed-close-button.png"}),_s.showNextAndPrevButtonsInController_bl&&!_s.useVectorIcons_bl&&_s.skinPaths_ar.push({img:_s.next2N_img=new Image,src:_s.sknPth+"next-video.png"},{img:_s.prev2N_img=new Image,src:_s.sknPth+"prev-video.png"}),_s.showShareButton_bl&&!_s.useVectorIcons_bl&&(_s.skinPaths_ar.push({img:_s.shareClooseN_img=new Image,src:_s.sknPth+"embed-close-button.png"},{img:_s.facebookN_img=new Image,src:_s.sknPth+"facebook.png"},{img:_s.googleN_img=new Image,src:_s.sknPth+"google-plus.png"},{img:_s.twitterN_img=new Image,src:_s.sknPth+"twitter.png"},{img:_s.likedInkN_img=new Image,src:_s.sknPth+"likedin.png"},{img:_s.bufferkN_img=new Image,src:_s.sknPth+"buffer.png"},{img:_s.diggN_img=new Image,src:_s.sknPth+"digg.png"},{img:_s.redditN_img=new Image,src:_s.sknPth+"reddit.png"},{img:_s.thumbrlN_img=new Image,src:_s.sknPth+"thumbrl.png"}),_s.facebookSPath_str=_s.sknPth+"facebook-over.png",_s.googleSPath_str=_s.sknPth+"google-plus-over.png",_s.twitterSPath_str=_s.sknPth+"twitter-over.png",_s.likedInSPath_str=_s.sknPth+"likedin-over.png",_s.bufferSPath_str=_s.sknPth+"buffer-over.png",_s.diggSPath_str=_s.sknPth+"digg-over.png",_s.redditSPath_str=_s.sknPth+"reddit-over.png",_s.thumbrlSPath_str=_s.sknPth+"thumbrl-over.png"),_s.atbSPath_str=_s.sknPth+"a-to-b-button-over.png",_s.popwColseSPath_str=_s.sknPth+"popw-close-button-over.png",_s.popwWindowBackgroundPath_str=_s.sknPth+"popw-window-background.png",_s.popwBarBackgroundPath_str=_s.sknPth+"popw-bar-background.png",_s.playbackRateSPath_str=_s.sknPth+"playback-rate-selected.png",_s.prevSPath_str=_s.sknPth+"prev-video-over.png",_s.nextSPath_str=_s.sknPth+"next-video-over.png",_s.playSPath_str=_s.sknPth+"play-over.png",_s.pauseSPath_str=_s.sknPth+"pause-over.png",_s.bkMiddlePath_str=_s.sknPth+"controller-middle.png",_s.hdPath_str=_s.sknPth+"hd.png",_s.youtubeQualityArrowPath_str=_s.sknPth+"youtube-quality-arrow.png",_s.ytbQualityButtonPointerPath_str=_s.sknPth+"youtube-quality-pointer.png",_s.controllerBkPath_str=_s.sknPth+"controller-background.png",_s.skipIconSPath_str=_s.sknPth+"skip-icon-over.png",_s.adsBackgroundPath_str=_s.sknPth+"ads-background.png",_s.shareSPath_str=_s.sknPth+"share-over.png",_s.mainScrubberBkRightPath_str=_s.sknPth+"scrubber-right-background.png",_s.mainScrubberBkMiddlePath_str=_s.sknPth+"scrubber-middle-background.png",_s.mainScrubberDragMiddlePath_str=_s.sknPth+"scrubber-middle-drag.png",_s.volumeScrubberBkBottomPath_str=_s.sknPth+"volume-scrubber-bottom-background.png",_s.volumeScrubberBkMiddlePath_str=_s.sknPth+"volume-scrubber-middle-background.png",_s.volumeScrubberBkTopPath_str=_s.sknPth+"volume-scrubber-top-background.png",_s.volumeScrubberDragBottomPath_str=_s.sknPth+"volume-scrubber-bottom-drag.png",_s.volumeScrubberLinePath_str=_s.sknPth+"volume-scrubber-line.png",_s.volumeScrubberDragMiddlePath_str=_s.sknPth+"volume-scrubber-middle-drag.png",_s.volumeSPath_str=_s.sknPth+"volume-over.png",_s.volumeDPath_str=_s.sknPth+"volume-disabled.png",_s.categoriesSPath_str=_s.sknPth+"categories-button-over.png",_s.replaySPath_str=_s.sknPth+"replay-button-over.png",_s.toopTipBk_str=_s.sknPth+"tooltip-background.png",_s.toopTipPointer_str=_s.sknPth+"tooltip-pointer.png",_s.shufflePathS_str=_s.sknPth+"shuffle-button-over.png",_s.passButtonNPath_str=_s.sknPth+"pass-button.png",_s.passButtonSPath_str=_s.sknPth+"pass-button-over.png",_s.largePlayS_str=_s.sknPth+"large-play-over.png",_s.fullScreenSPath_str=_s.sknPth+"full-screen-over.png",_s.ytbQualitySPath_str=_s.sknPth+"youtube-quality-over.png",_s.ytbQualityDPath_str=_s.sknPth+"youtube-quality-hd.png",_s.facebookSPath_str=_s.sknPth+"facebook-over.png",_s.infoSPath_str=_s.sknPth+"info-button-over.png",_s.downloadSPath_str=_s.sknPth+"download-button-over.png",_s.normalScreenSPath_str=_s.sknPth+"normal-screen-over.png",_s.progressMiddlePath_str=_s.sknPth+"progress-middle.png",_s.embedPathS_str=_s.sknPth+"embed-over.png",_s.embedWindowClosePathS_str=_s.sknPth+"embed-close-button-over.png",_s.embedWindowInputBackgroundPath_str=_s.sknPth+"embed-window-input-background.png",_s.embedCopyButtonNPath_str=_s.sknPth+"embed-copy-button.png",_s.embedCopyButtonSPath_str=_s.sknPth+"embed-copy-button-over.png",_s.sendButtonNPath_str=_s.sknPth+"send-button.png",_s.sendButtonSPath_str=_s.sknPth+"send-button-over.png",_s.embedWindowBackground_str=_s.sknPth+"embed-window-background.png",_s.showSubtitleSPath_str=_s.sknPth+"show-subtitle-icon-over.png",_s.hideSubtitleSPath_str=_s.sknPth+"hide-subtitle-icon-over.png",_s.inputArrowPath_str=_s.sknPth+"input-arrow.png",_s.showPlaylistsButtonAndPlaylists_bl&&(_s.skinPaths_ar.push({img:new Image,src:_s.sknPth+"categories-background.png"}),_s.useVectorIcons_bl||_s.skinPaths_ar.push({img:_s.catNextN_img=new Image,src:_s.sknPth+"categories-next-button.png"},{img:_s.catPrevN_img=new Image,src:_s.sknPth+"categories-prev-button.png"},{img:_s.catCloseN_img=new Image,src:_s.sknPth+"categories-close-button.png"}),_s.catBkPath_str=_s.sknPth+"categories-background.png",_s.catThumbBkPath_str=_s.sknPth+"categories-thumbnail-background.png",_s.catThumbBkTextPath_str=_s.sknPth+"categories-thumbnail-text-backgorund.png",_s.catNextSPath_str=_s.sknPth+"categories-next-button-over.png",_s.catPrevSPath_str=_s.sknPth+"categories-prev-button-over.png",_s.catCloseSPath_str=_s.sknPth+"categories-close-button-over.png"),_s.poppAdClsNPth=_s.sknPth+"close-button-normal.png",_s.poppAdClsSPth=_s.sknPth+"close-button-selected.png",_s.annotationAddCloseNPath_str=_s.sknPth+"annotation-close-button-normal.png",_s.annotationAddCloseSPath_str=_s.sknPth+"annotation-close-button-selected.png",_s.showPlaylistButtonAndPlaylist_bl&&(_s.playlistThumbnailsBkPath_str=_s.sknPth+"playlist-thumbnail-background.png",_s.playlistBkPath_str=_s.sknPth+"playlist-background.png","bottom"==_s.playlistPosition_str?(_s.skinPaths_ar.push({img:_s.hidePlaylistN_img=new Image,src:_s.sknPth+"hide-horizontal-playlist.png"},{img:_s.showPlaylistN_img=new Image,src:_s.sknPth+"show-horizontal-playlist.png"}),_s.hidePlaylistSPath_str=_s.sknPth+"hide-horizontal-playlist-over.png",_s.showPlaylistSPath_str=_s.sknPth+"show-horizontal-playlist-over.png"):(_s.skinPaths_ar.push({img:_s.hidePlaylistN_img=new Image,src:_s.sknPth+"hide-vertical-playlist.png"},{img:_s.showPlaylistN_img=new Image,src:_s.sknPth+"show-vertical-playlist.png"}),_s.hidePlaylistSPath_str=_s.sknPth+"hide-vertical-playlist-over.png",_s.showPlaylistSPath_str=_s.sknPth+"show-vertical-playlist-over.png"),_s.skinPaths_ar.push({img:_s.scrBkTop_img=new Image,src:_s.sknPth+"playlist-scrollbar-background-top.png"},{img:_s.scrDragTop_img=new Image,src:_s.sknPth+"playlist-scrollbar-drag-top.png"},{img:_s.scrLinesN_img=new Image,src:_s.sknPth+"playlist-scrollbar-lines.png"}),_s.scrBkMiddlePath_str=_s.sknPth+"playlist-scrollbar-background-middle.png",_s.scrBkBottomPath_str=_s.sknPth+"playlist-scrollbar-background-bottom.png",_s.scrDragMiddlePath_str=_s.sknPth+"playlist-scrollbar-drag-middle.png",_s.scrDragBottomPath_str=_s.sknPth+"playlist-scrollbar-drag-bottom.png",_s.scrLinesSPath_str=_s.sknPth+"playlist-scrollbar-lines-over.png",_s.inputArrowPath_str=_s.sknPth+"input-arrow.png"),_s.showChromecastButton_bl&&(_s.skinPaths_ar.push({img:_s.castN_img=new Image,src:_s.sknPth+"cast.png"},{img:_s.uncastN_img=new Image,src:_s.sknPth+"uncast.png"}),_s.castSPath_str=_s.sknPth+"cast-over.png",_s.uncastSPath_str=_s.sknPth+"uncast-over.png"),_s.totalGraphics=_s.skinPaths_ar.length}else setTimeout(function(){null!=_s&&(errorMessage_str="At least one playlist is required!",_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:errorMessage_str}))},50)}else setTimeout(function(){null!=_s&&(errorMessage_str="The playlist with the id "+_s.categoriesId_str+" is not found!",_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:errorMessage_str}))},50);else setTimeout(function(){null!=_s&&(errorMessage_str="The skinPath property is not defined in the constructor function!",_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:errorMessage_str}))},50);else setTimeout(function(){null!=_s&&(errorMessage_str="The mainFolderPath property is not defined in the constructor function!",_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:errorMessage_str}))},50);else setTimeout(function(){null!=_s&&(errorMessage_str="The playlistsId property is not defined in the constructor function!",_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:errorMessage_str}))},50)},_s.onPreloaderLoadHandler=function(){_s.countLoadedSCript=0,_s.scripts=[],_s.useAToB&&_s.scripts.push("FWDUVPATB.js"),_s.thumbnailsPreview&&_s.scripts.push("FWDUVPThumbnailsPreview.js"),_s.showChromecastButton_bl&&(_s.scripts.push("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"),_s.scripts.push("FWDUVPCC.js")),_s.useFingerPrintStamp&&_s.scripts.push("FWDUVPFPS.js"),_s.totalScripts=_s.scripts.length,_s.dispatchEvent(FWDUVPData.PRELOADER_LOAD_DONE),_s.loadPlugin()},_s.loadPlugin=function(){var e,t;_s.countLoadedSCript==_s.totalScripts?_s.loadSkin():(e=document.createElement("script"),t=_s.scripts[_s.countLoadedSCript],/\?/.test(t)?t+="&version="+FWDUVPlayer.V:t+="?version="+FWDUVPlayer.V,document.head.appendChild(e),-1!=t.indexOf("gstatic")?e.src=t:e.src=_s.mainFolderPath_str+"java/"+t,e.onload=_s.loadPlugin,e.onerror=function(e){console.log(e),"FWDUVPFPS.js"==t?_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:'You have enabled the FingerPrintstamp plugin, the fingerpintstamp js file named FWDUVPFPS.js is not found. Please make sure that the content folder contains the java folder that contains the FWDUVPFPS.js file. '}):"FWDUVPATB.js"==t?_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:'You have enabled the A to B plugin, the A to B js file named FWDUVPATB.js is not found. Please make sure that the content folder contains the java folder that contains the FWDUVPATB.js file. '}):"FWDUVPThumbnailsPreview.js"==t?_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:'You have enabled the thumbnal preview plugin, the thumbnail preview js file named FWDUVPThumbnailsPreview.js is not found. Please make sure that the content folder contains the java folder that contains the FWDUVPThumbnailsPreview.js file. '}):"FWDUVPCC.js"==t?_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:'You have enabled the chromecast plugin, the js file named FWDUVPCC.js is not found. Please make sure that the content folder contains the java folder that contains the FWDUVPCC.js file.'}):-1!=t.indexOf("gstatic.js")&&_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:'Choromecast framework javascript file can\'t be loaded '+t+" "})}),_s.countLoadedSCript++},_s.countImaLoadedSCript=0,_s.startToLoadIMA=function(){_s.imaScripts||(_s.imaScripts=["//imasdk.googleapis.com/js/sdkloader/ima3.js",_s.mainFolderPath_str+"java/FWDUVPIMA.js"],_s.totalImaScripts=_s.imaScripts.length,_s.loadIMA())},_s.loadIMA=function(){var e,t;_s.countImaLoadedSCript==_s.totalImaScripts?(_s.imaReady=!0,_s.dispatchEvent(FWDUVPData.IMA_READY)):(e=document.createElement("script"),t=_s.imaScripts[_s.countImaLoadedSCript],document.head.appendChild(e),e.src=t,e.onload=_s.loadIMA,e.onerror=function(e){1==_s.countImaLoadedSCript?_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"IMA SDK can't be loaded"}):2==_s.countImaLoadedSCript&&_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:'IMA file FWDUVPIMA.js is not found. Please make sure that the content folder contains the java folder that contains the FWDUVPIMA.js file. '}),_s.dispatchEvent(FWDUVPData.IMA_ERROR)},_s.countImaLoadedSCript++)},_s.loadSkin=function(){for(var e,t,o=0;o<_s.totalGraphics;o++)e=_s.skinPaths_ar[o].img,t=_s.skinPaths_ar[o].src,e.onload=_s.onSkinLoadHandler,e.onerror=_s.onSkinLoadErrorHandler,e.src=t},_s.onSkinLoadHandler=function(e){_s.countLoadedSkinImages++,_s.countLoadedSkinImages==_s.totalGraphics&&(_s.showOnlyThumbnail&&(_s.thumbnailWidth=_s.thumbnailWidth-_s.scrBkTop_img.width,_s.showSearchInpt=!1),setTimeout(function(){_s.dispatchEvent(FWDUVPData.SKIN_LOAD_COMPLETE)},50))},_s.onSkinLoadErrorHandler=function(e){message=FWDUVPUtils.isIEAndLessThen9?"Graphics image not found!":"The skin icon with label "+e.target.src+" can't be loaded, check path!",window.console&&console.log(e);var t={text:message};setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,t)},50)},_s.downloadVideo=function(e,t){if(FWDUVPUtils.isLocal)return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Downloading video files local is not allowed or possible! To function properly please test online."}),_s.isPlaylistDispatchingError_bl=!1},50));if(!e)return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Not allowed to download _s video!"}),_s.isPlaylistDispatchingError_bl=!1},50));if(!e.match(/\.mp3|\.mp4/gi))return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Only mp4 video files hosted on your server can be downloaded."}),_s.isPlaylistDispatchingError_bl=!1},50));var o=e,s=location.origin,n=location.pathname;if(-1!=n.indexOf(".")&&(n=n.substr(0,n.lastIndexOf("/")+1)),-1==e.indexOf("http:")&&-1==e.indexOf("https:")&&(e=s+n+e),t){t=(t=decodeURIComponent(t)).replace(/[^A-Z0-9\-\_\.]+/gi,"_"),e=FWDUVPUtils.getValidSource(e);var i=_s.videoDownloaderPath_str;if(_s.dlIframe||(_s.dlIframe=document.createElement("IFRAME"),_s.dlIframe.style.display="none",document.documentElement.appendChild(_s.dlIframe)),_s.isMbl&&!FWDUVPUtils.isAndroid){if(_s.openDownloadLinkOnMobile_bl)return void window.open(o,"_blank");var a=_s.getValidEmail();if(!a)return;if(null!=_s.emailXHR){try{_s.emailXHR.abort()}catch(e){}_s.emailXHR.onreadystatechange=null,_s.emailXHR.onerror=null,_s.emailXHR=null}return _s.emailXHR=new XMLHttpRequest,_s.emailXHR.onreadystatechange=function(e){4==_s.emailXHR.readyState&&(200==_s.emailXHR.status?"sent"==_s.emailXHR.responseText?alert("Email sent."):alert("Error sending email, _s is a server side error, the php file can't send the email!"):alert("Error sending email: "+_s.emailXHR.status+": "+_s.emailXHR.statusText))},_s.emailXHR.onerror=function(e){try{window.console&&console.log(e),window.console&&console.log(e.message)}catch(e){}alert("Error sending email: "+e.message)},_s.emailXHR.open("get",_s.mailPath_str+"?mail="+a+"&name="+t+"&path="+e,!0),void _s.emailXHR.send()}_s.dlIframe.src=i+"?path="+e+"&name="+t}},_s.getValidEmail=function(){for(var e=prompt("Please enter your email address where the video download link will be sent:"),t=/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;!t.test(e)||""==e;){if(null===e)return;e=prompt("Please enter a valid email address:")}return e},_s.loadPlaylist=function(e){if(_s.id=e,_s.playlist_ar=void 0,_s.stopToLoadPlaylist(),!_s.isPlaylistDispatchingError_bl){clearTimeout(_s.dispatchPlaylistLoadCompleteWidthDelayId_to);var t=_s.catsRef_ar[e];if(void 0===t)return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"loadPlaylist() - Please specify a DOM playlist id or youtube playlist id!"}),_s.isPlaylistDispatchingError_bl=!1},50));if(null===t)return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"The playlist with id "+_s.cats_ar[e].source+" is not found in the DOM."}),_s.isPlaylistDispatchingError_bl=!1},50));if(!isNaN(t))return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"loadPlaylist() - The parameter must be of type string!"}),_s.isPlaylistDispatchingError_bl=!1},50));if(_s.resetYutubeVimeoPlaylistLoader(),_s.isYoutbe_bl=!1,_s.loadFromFolder_bl=!1,_s.isVimeoAlbum_bl=!1,_s.playlist_ar=[],_s.playlistPass=_s.cats_ar[e].pass,t.length)if(-1!=t.indexOf("list=")||-1!=t.indexOf("youtube."))_s.isYoutbe_bl=!0,_s.playlist_ar=_s.plsCache_ar[_s.id],_s.playlist_ar?_s.youtubePlLoadComplete():_s.loadYoutubePlaylist(t);else if(-1!=t.indexOf("vimeo.com"))_s.isVimeo_bl=!0,_s.loadVimeoPlaylist(t,_s.cats_ar[e].vimeoUserId,_s.cats_ar[e].clientId,_s.cats_ar[e].vimeoSecret,_s.cats_ar[e].vimeoToken);else{if(-1!=t.indexOf("list="))return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Loading youtube playlist is only possible by setting useYoutube=\"yes\"."}),_s.isPlaylistDispatchingError_bl=!1},50));-1!=t.indexOf("folder=")?_s.loadFolderPlaylist(t):-1==t.indexOf(".xml")&&-1==t.indexOf("http:")&&-1==t.indexOf("https:")&&-1==t.indexOf("www.")||_s.loadXMLPlaylist(t)}else _s.parseDOMPlaylist(t,_s.cats_ar[e].source)}},_s.loadXMLPlaylist=function(e){if(!_s.isPlaylistDispatchingError_bl){if("file:"==document.location.protocol)return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Loading XML files local is not allowed or possible!. To function properly please test online."}),_s.isPlaylistDispatchingError_bl=!1},50));_s.sourceURL_str=e,_s.xhr=new XMLHttpRequest,_s.xhr.onreadystatechange=_s.ajaxOnLoadHandler,_s.xhr.onerror=_s.ajaxOnErrorHandler;try{_s.xhr.open("get",_s.proxyPath_str+"?url="+_s.sourceURL_str+"&rand="+parseInt(99999999*Math.random()),!0),_s.xhr.setRequestHeader("Content-Type","text/xml"),_s.xhr.send()}catch(e){var t=e;e&&e.message&&(t=e.message),_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"XML file can't be loaded! "+_s.sourceURL_str+". "+t})}}},_s.loadFolderPlaylist=function(e){if(!_s.isPlaylistDispatchingError_bl){if("file:"==document.location.protocol)return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Creating a video playlist from a folder is not allowed or possible local! To function properly please test online."}),_s.isPlaylistDispatchingError_bl=!1},50));_s.loadFromFolder_bl=!0,_s.sourceURL_str=e.substr(e.indexOf("=")+1),_s.xhr=new XMLHttpRequest,_s.xhr.onreadystatechange=_s.ajaxOnLoadHandler,_s.xhr.onerror=_s.ajaxOnErrorHandler;try{_s.xhr.open("get",_s.proxyFolderPath_str+"?dir="+encodeURIComponent(_s.sourceURL_str)+"&videoLabel="+_s.folderVideoLabel_str+"&rand="+parseInt(9999999*Math.random()),!0),_s.xhr.send()}catch(e){e&&e.message&&e.message,_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Folder proxy file path is not found: "+_s.proxyFolderPath_str+""})}}},_s.loadVimeoPlaylist=function(e,t,o,s,n){if("file:"==document.location.protocol)return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Loading Vimeo albums local is not allowed or possible! To function properly please test online."}),_s.isPlaylistDispatchingError_bl=!1},50));_s.isVimeoAlbum_bl=!0,e&&(_s.vimeoAlbumURL=e),t&&(_s.userId=t),o&&(_s.clientId=o),s&&(_s.vimeoSecret=s),n&&(_s.vimeoToken=n);var i=(i=_s.vimeoAlbumURL.match(/\/[\d]+/gi))[0].substr(1),a="";_s.clientId&&(a="&client_id="+_s.clientId+"&vimeo_secret="+_s.vimeoSecret+"&vimeo_token="+_s.vimeoToken),_s.nextPageToken_str?_s.sourceURL_str=_s.mainFolderPath_str+"vimeo/vimeo_data.php?rand="+Math.round(99999999*Math.random())+"&type=vimeo_user_album&user="+_s.userId+"&album_id="+i+"&page="+_s.nextPageToken_str+"&per_page=50"+a:_s.sourceURL_str=_s.mainFolderPath_str+"vimeo/vimeo_data.php?rand="+Math.round(99999999*Math.random())+"&type=vimeo_user_album&user="+_s.userId+"&album_id="+i+"&page=1&per_page=50"+a,_s.xhr=new XMLHttpRequest,_s.xhr.onreadystatechange=_s.ajaxOnLoadHandler,_s.xhr.onerror=_s.ajaxOnErrorHandler;try{_s.xhr.open("get",_s.sourceURL_str,!0),_s.xhr.send()}catch(e){e&&e.message&&e.message,_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading vimeo album! "+_s.vimeoAlbumURL+""})}},_s.parseVimeoPlaylist=function(e){if(_s.stopToLoadPlaylist(),e.body.error)_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:e.body.error+" "+e.body.developer_message});else{var t;e=e.body,_s.vimeoObject_ar||(_s.vimeoObject_ar=[]);for(var o=0;o"+s.name+"

";var a=(a=s.description)||"";a=(a=165"+s.name+"

"+s.description+"

",n.downloadable=!1;try{n.thumbSource=s.pictures.sizes[2].link}catch(e){}n.posterSource="none",n.downloadable=!1,_s.playlist_ar.push(n)}_s.randomizePlaylist_bl&&(_s.playlist_ar=FWDUVPUtils.randomizeArray(_s.playlist_ar)),_s.maxPlaylistItems<_s.playlist_ar.length&&(_s.playlist_ar=_s.playlist_ar.splice(0,_s.maxPlaylistItems)),clearTimeout(_s.dispatchPlaylistLoadCompleteWidthDelayId_to),_s.dispatchPlaylistLoadCompleteWidthDelayId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.PLAYLIST_LOAD_COMPLETE)},50),_s.isDataLoaded_bl=!0}},_s.loadYoutubePlaylist=function(e){if(!_s.isPlaylistDispatchingError_bl||_s.isYoutbe_bl){if(_s.isChannel=-1!=e.indexOf("channel/"),_s.url=e,_s.youtubeUrl_str||(e=(-1!=e.indexOf("list=")?/list=(.*?)(?:&|$)/i.exec(e):/channel\/(.*?)(?:&|$)/i.exec(e))[1],_s.youtubeUrl_str=e),_s.nextPageToken_str?_s.isChannel?_s.sourceURL_str="https://www.googleapis.com/youtube/v3/search?part=snippet&pageToken="+_s.nextPageToken_str+"&channelId="+_s.youtubeUrl_str+"&key="+_s.youtubeAPIKey+"&maxResults=50&callback="+prt.instanceName_str+"._d.parseYoutubePlaylist":_s.sourceURL_str="https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&pageToken="+_s.nextPageToken_str+"&playlistId="+_s.youtubeUrl_str+"&key="+_s.youtubeAPIKey+"&maxResults=50&callback="+prt.instanceName_str+"._d.parseYoutubePlaylist":_s.isChannel?_s.sourceURL_str="https://www.googleapis.com/youtube/v3/search?part=snippet&channelId="+_s.youtubeUrl_str+"&key="+_s.youtubeAPIKey+"&maxResults=50&callback="+prt.instanceName_str+"._d.parseYoutubePlaylist":_s.sourceURL_str="https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId="+_s.youtubeUrl_str+"&key="+_s.youtubeAPIKey+"&maxResults=50&callback="+prt.instanceName_str+"._d.parseYoutubePlaylist",null==_s.scs_el)try{_s.scs_el=document.createElement("script"),_s.scs_el.src=_s.sourceURL_str,_s.scs_el.id=prt.instanceName_str+"._d.parseYoutubePlaylist",document.documentElement.appendChild(_s.scs_el)}catch(e){}_s.JSONPRequestTimeoutId_to=setTimeout(function(){var e;_s.isChannel&&(e="channel"),_s.JSONPRequestTimeoutError("Error loading youtube "+e+"!"+_s.youtubeUrl_str+"")},6e3)}},_s.JSONPRequestTimeoutError=function(e){_s.stopToLoadPlaylist(),_s.isPlaylistDispatchingError_bl=!0,showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:e}),_s.isPlaylistDispatchingError_bl=!1},50)},_s.resetYutubeVimeoPlaylistLoader=function(){_s.isYoutbe_bl=!1,_s.youtubeObject_ar=null,_s.vimeoObject_ar=null,_s.nextPageToken_str=null,_s.youtubeUrl_str=null},_s.ajaxOnErrorHandler=function(e){try{window.console&&console.log(e),window.console&&console.log(e.message)}catch(e){}_s.isVimeoAlbum_bl?_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading vimeo album! "+_s.vimeoAlbumURL+""}):_s.loadFromFolder_bl?_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading file : "+_s.proxyFolderPath_str+". Make sure the path is correct"}):_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading file : "+_s.proxyPath_str+". Make sure the path is correct"})},_s.ajaxOnLoadHandler=function(e){var response,isXML=!1;if(4==_s.xhr.readyState)if(404==_s.xhr.status)_s.isVimeoAlbum_bl?_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading vimeo album! "+_s.vimeoAlbumURL+""}):_s.loadFromFolder_bl?_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Folder proxy file path is not found: "+_s.proxyFolderPath_str+""}):_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Proxy file path is not found: "+_s.proxyPath_str+""});else if(408==_s.xhr.status)_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Server has timeout!"});else if(200==_s.xhr.status){if(-1!=_s.xhr.responseText.indexOf("Warning:"))return void _s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading folder: "+_s.sourceURL_str+". Make sure that the folder path is correct!"});response=window.JSON?JSON.parse(_s.xhr.responseText):eval("("+_s.xhr.responseText+")"),response.body?_s.parseVimeoPlaylist(response):response.folder?_s.parseFolderJSON(response):response.li?_s.parseXML(response):response.error&&_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading file: "+_s.sourceURL_str+". Make sure the file path (xml or podcast) is correct and well formatted!"})}},_s.parseYoutubePlaylist=function(e){if(!_s.isPlaylistDispatchingError_bl&&_s.isYoutbe_bl){var t,o;if(e.error)return _s.isChannel&&(t="channel"),_s.JSONPRequestTimeoutError("Error loading youtube "+t+"! "+_s.youtubeUrl_str+""),void(console&&console.log(e));_s.playlist_ar=[],_s.youtubeObject_ar||(_s.youtubeObject_ar=[]);for(var s=0;s"+n.snippet.title+"

";var a=n.snippet.description;a=(a=190 "+a+"

",i.titleText=n.snippet.title,i.titleText=n.snippet.title,i.desc=void 0,i.desc="

"+n.snippet.title+"

"+n.snippet.description+"

",i.downloadable=!1;try{i.thumbSource=n.snippet.thumbnails.default.url,_s.showOnlyThumbnail&&(n.snippet.thumbnails.standard?i.thumbSource=n.snippet.thumbnails.standard.url:n.snippet.thumbnails.high&&(i.thumbSource=n.snippet.thumbnails.high.url))}catch(e){}i.posterSource="none",-1==n.snippet.title.indexOf("eleted video")&&-1==n.snippet.title.indexOf("his video is unavailable")&&_s.playlist_ar.push(i)}}_s.randomizePlaylist_bl&&(_s.playlist_ar=FWDUVPUtils.randomizeArray(_s.playlist_ar)),_s.maxPlaylistItems<_s.playlist_ar.length&&(_s.playlist_ar=_s.playlist_ar.splice(0,_s.maxPlaylistItems)),_s.plsCache_ar[_s.id]=_s.playlist_ar,_s.youtubePlLoadComplete()}},_s.youtubePlLoadComplete=function(){clearTimeout(_s.dispatchPlaylistLoadCompleteWidthDelayId_to),_s.dispatchPlaylistLoadCompleteWidthDelayId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.PLAYLIST_LOAD_COMPLETE)},50),_s.isDataLoaded_bl=!0},_s.isDataLoaded_bl=!0,_s.setYoutubePlaylistHEXColor=function(e){_s.youtubeAndFolderVideoTitleColor_str=e},_s.closeJsonPLoader=function(){clearTimeout(_s.JSONPRequestTimeoutId_to)},_s.parseDOMPlaylist=function(element,id){if(!_s.isPlaylistDispatchingError_bl){var children_ar=FWDUVPUtils.getChildren(element),totalChildren=children_ar.length,child,has360Video=!1;if(_s.playlist_ar=[],0!=totalChildren){for(var i=0;idata-thumb-source
is required in the playlist at position "+(i+1)})},50));if(!FWDUVPUtils.hasAttribute(child,"data-video-source"))return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Attribute data-video-source is required in the playlist at position "+(i+1)})},50));if(obj.thumbSource=encodeURI(FWDUVPUtils.getAttributeValue(child,"data-thumb-source")),obj.videoSource=FWDUVPUtils.getAttributeValue(child,"data-video-source"),obj._dPlaybackRate=FWDUVPUtils.getAttributeValue(child,"data-playback-rate"),obj.startAtVideo=FWDUVPUtils.getAttributeValue(child,"data-start-at-video")||0,obj.isLive=FWDUVPUtils.getAttributeValue(child,"data-is-live"),obj.atb="yes"==FWDUVPUtils.getAttributeValue(child,"data-use-a-to-b"),obj.thumbnailsPreview=FWDUVPUtils.getAttributeValue(child,"data-thumbnails-preview"),_s.useAToB||(obj.atb=!1),"yes"==obj.isLive?obj.isLive=!0:obj.isLive=!1,obj.isPrivate=FWDUVPUtils.getAttributeValue(child,"data-is-private"),"yes"==obj.isPrivate?obj.isPrivate=!0:obj.isPrivate=!1,obj.redirectURL=FWDUVPUtils.getAttributeValue(child,"data-redirect-url"),obj.redirectTarget=FWDUVPUtils.getAttributeValue(child,"data-redirect-target"),obj.privateVideoPassword_str=FWDUVPUtils.getAttributeValue(child,"data-private-video-password"),obj.startAtTime=FWDUVPUtils.getAttributeValue(child,"data-start-at-time"),"00:00:00"!=obj.startAtTime&&FWDUVPUtils.checkTime(obj.startAtTime)||(obj.startAtTime=void 0),obj.stopAtTime=FWDUVPUtils.getAttributeValue(child,"data-stop-at-time"),"00:00:00"!=obj.stopAtTime&&FWDUVPUtils.checkTime(obj.stopAtTime)||(obj.stopAtTime=void 0),-1!=obj.videoSource.indexOf("{source:"))try{obj.videoLabels_ar=[],obj.videoSource=eval(obj.videoSource);for(var m=0;mdata-video-source attribute contains an array of videos at position "+(i+1)+""})},50))}else src=obj.videoSource,-1!=src.indexOf("encrypt:")&&(src=atob(src.substr(8))),obj.videoSource=[{source:FWDUVPUtils.getValidSource(src)}];if(FWDUVPUtils.hasAttribute(child,"data-subtitle-soruce")){if(obj.subtitleSource=FWDUVPUtils.getAttributeValue(child,"data-subtitle-soruce"),-1!=obj.subtitleSource.indexOf("{source:")){if(obj.startAtSubtitle=FWDUVPUtils.getAttributeValue(child,"data-start-at-subtitle")||0,-1!=obj.subtitleSource.indexOf("{source:")){try{obj.subtitleSource=eval(obj.subtitleSource)}catch(e){return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Please make sure that the data-subtitle-source attribute contains an array of subtitles at position "+(i+1)+""})},50))}obj.subtitleSource.splice(0,0,{source:"none",label:_s.subtitlesOffLabel_str}),obj.subtitleSource.reverse()}}else obj.subtitleSource=[{source:obj.subtitleSource}];if(obj.subtitleSource)for(var x=0;x"+id+""}),_s.isPlaylistDispatchingError_bl=!1},50)}},_s.parseFolderJSON=function(e){var t;_s.playlist_ar=[];for(var o=e.folder,s=0;s...

",t.titleText=o[s]["@attributes"]["data-title"],t.title="

"+o[s]["@attributes"]["data-title"]+"

",t.desc=void 0,_s.playlist_ar[s]=t;_s.randomizePlaylist_bl&&(_s.playlist_ar=FWDUVPUtils.randomizeArray(_s.playlist_ar)),_s.maxPlaylistItems<_s.playlist_ar.length&&(_s.playlist_ar=_s.playlist_ar.splice(0,_s.maxPlaylistItems)),clearTimeout(_s.dispatchPlaylistLoadCompleteWidthDelayId_to),_s.dispatchPlaylistLoadCompleteWidthDelayId_to=setTimeout(function(){_s.dispatchEvent(FWDUVPData.PLAYLIST_LOAD_COMPLETE)},50),_s.isDataLoaded_bl=!0},_s.parseXML=function(response){var obj;_s.playlist_ar=[];var obj_ar=response.li,has360Video=!1;obj_ar.length||(obj_ar=[obj_ar]);for(var i=0,vsrc;idata-video-source
attribute contains an array of videos at position "+(i+1)+""})},50))}else{var src=obj.videoSource;-1!=src.indexOf("encrypt:")&&(src=atob(src.substr(8))),obj.videoSource=[{source:FWDUVPUtils.getValidSource(src)}]}if(obj.subtitleSource=obj_ar[i]["@attributes"]["data-subtitle-soruce"],obj.startAtSubtitle=obj_ar[i]["@attributes"]["data-start-at-subtitle"]||0,obj.subtitleSource){if(-1!=obj.subtitleSource.indexOf("{source:")){if(-1!=obj.subtitleSource.indexOf("{source:")){try{obj.subtitleSource=eval(obj.subtitleSource),-1!=obj.subtitleSource.indexOf("encrypt:")&&(obj.subtitleSource=atob(src.substr(8)))}catch(e){return _s.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){_s.dispatchEvent(FWDRVPData.LOAD_ERROR,{text:"Please make sure that the data-subtitle-source attribute contains an array of subtitles at position "+(i+1)+""})},50))}obj.subtitleSource.splice(0,0,{source:"none",label:_s.subtitlesOffLabel_str}),obj.subtitleSource.reverse()}}else obj.subtitleSource=[{source:obj.subtitleSource}];if(obj.subtitleSource)for(var x=0;xFWDUVPVast.js is not found. Please make sure that the content folder contains the java folder that contains the FWDUVPVast.js file. '})},void(_s.vastLoaded_bl=!0)}_s.vast.setSource(e)},_s.closeVast=function(){_s.vast&&_s.vast.closeVast()},_s.fixVmapTimes=function(e,t,o,s){_s.vast&&_s.vast.fixVmapTimes(e,t,o,s)},_s.resetVastId=function(){_s.vast&&(_s.vast.id=-1)},_s.showPropertyError=function(e){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"The property called "+e+" is not defined."})},_s.stopToLoadPlaylist=function(){_s.closeJsonPLoader();try{_s.scs_el.src=null,document.documentElement.removeChild(_s.scs_el),_s.scs_el=null}catch(e){}if(null!=_s.xhr){try{_s.xhr.abort()}catch(e){}_s.xhr.onreadystatechange=null,_s.xhr.onerror=null,_s.xhr=null}},_s.showPropertyError=function(e){_s.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"The property called "+e+" is not defined."})},_s.init()};FWDUVPData.setPrototype=function(){FWDUVPData.prototype=new FWDUVPEventDispatcher},FWDUVPData.prototype=null,FWDUVPData.VAST_LOADING="vastLoading",FWDUVPData.VAST_LOADED="vastLoaded",FWDUVPData.PLAYLIST_LOAD_COMPLETE="playlistLoadComplete",FWDUVPData.PRELOADER_LOAD_DONE="onPreloaderLoadDone",FWDUVPData.LOAD_DONE="onLoadDone",FWDUVPData.LOAD_ERROR="onLoadError",FWDUVPData.IMAGE_LOADED="onImageLoaded",FWDUVPData.SKIN_LOAD_COMPLETE="onSkinLoadComplete",FWDUVPData.SKIN_PROGRESS="onSkinProgress",FWDUVPData.IMAGES_PROGRESS="onImagesPogress",FWDUVPData.IMA_READY="imaReady",FWDUVPData.IMA_ERROR="ima_error",window.FWDUVPData=FWDUVPData}(window),window.FWDUVPDisplayObject=function(e,t,o,s){var i=this;i.listeners={events_ar:[]},i.type=e,i.children_ar=[],i.style,i.screen,i.transform,i.position=t||"absolute",i.overflow=o||"hidden",i.display=s||"inline-block",i.visible=!0,i.buttonMode,i.x=0,i.y=0,i.w=0,i.h=0,i.rect,i.alpha=1,i.innerHTML="",i.opacityType="",i.isHtml5_bl=!1,i.hasTransform3d_bl=FWDUVPUtils.hasTransform3d,i.hasTransform2d_bl=FWDUVPUtils.hasTransform2d,i.hasBeenSetSelectable_bl=!1,i.init=function(){i.setScreen()},i.getTransform=function(){for(var e,t=["transform","msTransform","WebkitTransform","MozTransform","OTransform"];e=t.shift();)if(void 0!==i.screen.style[e])return e;return!1},i.getOpacityType=function(){var e=void 0!==i.screen.style.opacity?"opacity":"filter";return e},i.setScreen=function(e){"img"==i.type&&e?(i.screen=null,i.screen=e):i.screen=document.createElement(i.type),i.setMainProperties()},i.setMainProperties=function(){i.transform=i.getTransform(),i.setPosition(i.position),i.setOverflow(i.overflow),i.opacityType=i.getOpacityType(),"opacity"==i.opacityType&&(i.isHtml5_bl=!0),"filter"==i.opacityType&&(i.screen.style.filter="inherit"),i.screen.style.left="0px",i.screen.style.top="0px",i.screen.style.margin="0px",i.screen.style.padding="0px",i.screen.style.maxWidth="none",i.screen.style.maxHeight="none",i.screen.style.border="none",i.screen.style.lineHeight="1",i.screen.style.backfaceVisibility="hidden",i.screen.style.webkitBackfaceVisibility="hidden",i.screen.style.MozBackfaceVisibility="hidden","img"==e&&(i.setWidth(i.screen.width),i.setHeight(i.screen.height))},i.setBackfaceVisibility=function(){i.screen.style.backfaceVisibility="visible",i.screen.style.webkitBackfaceVisibility="visible",i.screen.style.MozBackfaceVisibility="visible"},i.setSelectable=function(e){e?(FWDUVPUtils.isFirefox||FWDUVPUtils.isIE?(i.screen.style.userSelect="element",i.screen.style.MozUserSelect="element",i.screen.style.msUserSelect="element"):FWDUVPUtils.isSafari?(i.screen.style.userSelect="text",i.screen.style.webkitUserSelect="text"):(i.screen.style.userSelect="auto",i.screen.style.webkitUserSelect="auto"),i.screen.style.khtmlUserSelect="auto",i.screen.style.oUserSelect="auto",FWDUVPUtils.isIEAndLessThen9?(i.screen.ondragstart=null,i.screen.onselectstart=null,i.screen.ontouchstart=null):(i.screen.ondragstart=void 0,i.screen.onselectstart=void 0,i.screen.ontouchstart=void 0),i.screen.style.webkitTouchCallout="default",i.hasBeenSetSelectable_bl=!1):(i.screen.style.userSelect="none",i.screen.style.MozUserSelect="none",i.screen.style.webkitUserSelect="none",i.screen.style.khtmlUserSelect="none",i.screen.style.oUserSelect="none",i.screen.style.msUserSelect="none",i.screen.msUserSelect="none",i.screen.ondragstart=function(e){return!1},i.screen.onselectstart=function(){return!1},i.screen.ontouchstart=function(){return!1},i.screen.style.webkitTouchCallout="none",i.hasBeenSetSelectable_bl=!0)},i.getScreen=function(){return i.screen},i.setVisible=function(e){i.visible=e,1==i.visible?i.screen.style.visibility="visible":i.screen.style.visibility="hidden"},i.getVisible=function(){return i.visible},i.setResizableSizeAfterParent=function(){i.screen.style.width="100%",i.screen.style.height="100%"},i.getStyle=function(){return i.screen.style},i.setOverflow=function(e){i.overflow=e,i.screen.style.overflow=i.overflow},i.setPosition=function(e){i.position=e,i.screen.style.position=i.position},i.setDisplay=function(e){i.display=e,i.screen.style.display=i.display},i.setButtonMode=function(e){i.buttonMode=e,1==i.buttonMode?i.screen.style.cursor="pointer":i.screen.style.cursor="default"},i.setBkColor=function(e){i.screen.style.backgroundColor=e},i.setInnerHTML=function(e){i.innerHTML=e,i.screen.innerHTML=i.innerHTML},i.getInnerHTML=function(){return i.innerHTML},i.getRect=function(){return i.screen.getBoundingClientRect()},i.setAlpha=function(e){i.alpha=e,"opacity"==i.opacityType?i.screen.style.opacity=i.alpha:"filter"==i.opacityType&&(i.screen.style.filter="alpha(opacity="+100*i.alpha+")",i.screen.style.filter="progid:DXImageTransform.Microsoft.Alpha(Opacity="+Math.round(100*i.alpha)+")")},i.getAlpha=function(){return i.alpha},i.getRect=function(){return i.screen.getBoundingClientRect()},i.getGlobalX=function(){return i.getRect().left},i.getGlobalY=function(){return i.getRect().top},i.setX=function(e){i.x=e,i.hasTransform3d_bl?i.screen.style[i.transform]="translate3d("+i.x+"px,"+i.y+"px,0)":i.hasTransform2d_bl?i.screen.style[i.transform]="translate("+i.x+"px,"+i.y+"px)":i.screen.style.left=i.x+"px"},i.getX=function(){return i.x},i.setY=function(e){i.y=e,i.hasTransform3d_bl?i.screen.style[i.transform]="translate3d("+i.x+"px,"+i.y+"px,0)":i.hasTransform2d_bl?i.screen.style[i.transform]="translate("+i.x+"px,"+i.y+"px)":i.screen.style.top=i.y+"px"},i.getY=function(){return i.y},i.setWidth=function(e){i.w=e,"img"==i.type&&(i.screen.width=i.w),i.screen.style.width=i.w+"px"},i.getWidth=function(){return"div"==i.type||"input"==i.type?0!=i.screen.offsetWidth?i.screen.offsetWidth:i.w:"img"==i.type?0!=i.screen.offsetWidth?i.screen.offsetWidth:0!=i.screen.width?i.screen.width:i._w:"canvas"==i.type?0!=i.screen.offsetWidth?i.screen.offsetWidth:i.w:void 0},i.setHeight=function(e){i.h=e,"img"==i.type&&(i.screen.height=i.h),i.screen.style.height=i.h+"px"},i.getHeight=function(){return"div"==i.type||"input"==i.type?0!=i.screen.offsetHeight?i.screen.offsetHeight:i.h:"img"==i.type?0!=i.screen.offsetHeight?i.screen.offsetHeight:0!=i.screen.height?i.screen.height:i.h:"canvas"==i.type?0!=i.screen.offsetHeight?i.screen.offsetHeight:i.h:void 0},i.addChild=function(e){i.contains(e)&&i.children_ar.splice(FWDUVPUtils.indexOfArray(i.children_ar,e),1),i.children_ar.push(e),i.screen.appendChild(e.screen)},i.removeChild=function(e){if(!i.contains(e))throw Error("##removeChild()## Child dose't exist, it can't be removed!");i.children_ar.splice(FWDUVPUtils.indexOfArray(i.children_ar,e),1),i.screen.removeChild(e.screen)},i.contains=function(e){return-1!=FWDUVPUtils.indexOfArray(i.children_ar,e)},i.addChildAt=function(e,t){if(0==i.getNumChildren())i.children_ar.push(e),i.screen.appendChild(e.screen);else if(1==t)i.screen.insertBefore(e.screen,i.children_ar[0].screen),i.screen.insertBefore(i.children_ar[0].screen,e.screen),i.contains(e)?i.children_ar.splice(FWDUVPUtils.indexOfArray(i.children_ar,e),1,e):i.children_ar.splice(FWDUVPUtils.indexOfArray(i.children_ar,e),0,e);else{if(t<0||t>i.getNumChildren()-1)throw Error("##getChildAt()## Index out of bounds!");i.screen.insertBefore(e.screen,i.children_ar[t].screen),i.contains(e)?i.children_ar.splice(FWDUVPUtils.indexOfArray(i.children_ar,e),1,e):i.children_ar.splice(FWDUVPUtils.indexOfArray(i.children_ar,e),0,e)}},i.getChildAt=function(e){if(e<0||e>i.getNumChildren()-1)throw Error("##getChildAt()## Index out of bounds!");if(0==i.getNumChildren())throw Error("##getChildAt## Child dose not exist!");return i.children_ar[e]},i.getChildIndex=function(e){return i.contains(e)?FWDUVPUtils.indexOfArray(i.children_ar,e):0},i.removeChildAtZero=function(){i.screen.removeChild(i.children_ar[0].screen),i.children_ar.shift()},i.getNumChildren=function(){return i.children_ar.length},i.addListener=function(e,t){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");if("function"!=typeof t)throw Error("listener must be of type Function.");var o={};o.type=e,o.listener=t,(o.target=i).listeners.events_ar.push(o)},i.dispatchEvent=function(e,t){if(null!=i.listeners){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");for(var o=0,s=i.listeners.events_ar.length;o"+_d.title+"