(function(){var f,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ba="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function da(){da=function(){};ba.Symbol||(ba.Symbol=ea)}var fa=0;function ea(a){return"jscomp_symbol_"+(a||"")+fa++} function ga(){da();var a=ba.Symbol.iterator;a||(a=ba.Symbol.iterator=ba.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ka(this)}});ga=function(){}}function ka(a){var b=0;return na(function(){return ba||1342177279>>=1)b+=b;return d}}); ra("Array.prototype.fill",function(a){return a?a:function(a,c,d){var b=this.length||0;0>c&&(c=Math.max(0,b+c));if(null==d||d>b)d=b;d=Number(d);0>d&&(d=Math.max(0,b+d));for(c=Number(c||0);c>>0),Da=0; function Ea(a,b,c){return a.call.apply(a.bind,arguments)}function Fa(a,b,c){if(!a)throw Error();if(2")&&(a=a.replace(Sa,">"));-1!=a.indexOf('"')&&(a=a.replace(Ta,"""));-1!=a.indexOf("'")&&(a=a.replace(Ua,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Va,"�"));return a}var Pa=/&/g,Ra=//g,Ta=/"/g,Ua=/'/g,Va=/\x00/g,Oa=/[\x00&<>"']/; function Wa(a){var b={"&":"&","<":"<",">":">",""":'"'},c;c=sa.document.createElement("div");return a.replace(Xa,function(a,e){var d=b[a];if(d)return d;if("#"==e.charAt(0)){var h=Number("0"+e.substr(1));isNaN(h)||(d=String.fromCharCode(h))}d||(c.innerHTML=a+" ",d=c.firstChild.nodeValue.slice(0,-1));return b[a]=d})} function Ya(a){return a.replace(/&([^;]+);/g,function(a,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if("#"==c.charAt(0)){var b=Number("0"+c.substr(1));if(!isNaN(b))return String.fromCharCode(b)}return a}})} var Xa=/&([^;\s<&]+);?/g,Za={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},$a={"'":"\\'"},bb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};function cb(a){a=p(void 0)?a.toFixed(void 0):String(a);var b=a.indexOf(".");-1==b&&(b=a.length);return bb("0",Math.max(0,2-b))+a} function db(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Ha()).toString(36)} function eb(a,b){for(var c=0,d=Ma(String(a)).split("."),e=Ma(String(b)).split("."),g=Math.max(d.length,e.length),h=0;0==c&&hb?1:0} function gb(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}function hb(a){var b=xa(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#c?Math.max(0,a.length+c):c;if(xa(a))return xa(b)&&1==b.length?a.indexOf(b,c):-1;for(;c=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function Qb(a){for(var b={},c=0,d=0;db?1:aparseFloat(tc)){sc=String(vc);break a}}sc=tc}var hc={};function wc(a){return gc(a,function(){return 0<=eb(sc,a)})}function xc(a){return Number(yc)>=a}var zc;var Ac=sa.document; zc=Ac&&jc?rc()||("CSS1Compat"==Ac.compatMode?parseInt(sc,10):5):void 0;var yc=zc;var Bc=!jc||xc(9),Cc=!jc||xc(9),Dc=jc&&!wc("9");!nc||wc("528");mc&&wc("1.9b")||jc&&wc("8")||ic&&wc("9.5")||nc&&wc("528");mc&&!wc("8")||jc&&wc("9");function Ec(a){return nc?"webkit"+a:ic?"o"+a.toLowerCase():a.toLowerCase()} var Fc=jc?"focusin":"DOMFocusIn",Gc=jc?"focusout":"DOMFocusOut",Hc=Ec("AnimationEnd"),Ic={t2:"click",a7:"rightclick",e3:"dblclick",U4:"mousedown",a5:"mouseup",Z4:"mouseover",Y4:"mouseout",X4:"mousemove",V4:"mouseenter",W4:"mouseleave",t7:"selectionchange",u7:"selectstart",T8:"wheel",D4:"keypress",C4:"keydown",E4:"keyup",f2:"blur",a4:"focus",f3:"deactivate",b4:Fc,c4:Gc,p2:"change",P6:"reset",s7:"select",g8:"submit",z4:"input",z6:"propertychange",A3:"dragstart",JJ:"drag",x3:"dragenter",z3:"dragover", y3:"dragleave",D3:"drop",w3:"dragend",u8:"touchstart",t8:"touchmove",s8:"touchend",r8:"touchcancel",c2:"beforeunload",D2:"consolemessage",E2:"contextmenu",i3:"devicemotion",j3:"deviceorientation",o3:"DOMContentLoaded",L3:"error",x4:"help",F4:"load",N4:"losecapture",D5:"orientationchange",O6:"readystatechange",Q6:"resize",p7:"scroll",E8:"unload",n2:"canplay",o2:"canplaythrough",E3:"durationchange",G3:"emptied",I3:"ended",I4:"loadeddata",J4:"loadedmetadata",R5:"pause",X5:"play",oT:"playing",N6:"ratechange", q7:"seeked",r7:"seeking",R7:"stalled",h8:"suspend",q8:"timeupdate",H8:"volumechange",M8:"waiting",w4:"hashchange",G5:"pagehide",H5:"pageshow",k6:"popstate",H2:"copy",Q5:"paste",$S:"cut",W1:"beforecopy",X1:"beforecut",a2:"beforepaste",y5:"online",x5:"offline",P4:"message",C2:"connect",S1:Ec("AnimationStart"),Q1:Hc,R1:Ec("AnimationIteration"),v8:Ec("TransitionEnd"),d6:"pointerdown",j6:"pointerup",c6:"pointercancel",g6:"pointermove",i6:"pointerover",h6:"pointerout",e6:"pointerenter",f6:"pointerleave", v4:"gotpointercapture",O4:"lostpointercapture",b5:"MSGestureChange",c5:"MSGestureEnd",d5:"MSGestureHold",e5:"MSGestureStart",f5:"MSGestureTap",g5:"MSGotPointerCapture",h5:"MSInertiaStart",i5:"MSLostPointerCapture",j5:"MSPointerCancel",k5:"MSPointerDown",l5:"MSPointerEnter",m5:"MSPointerHover",n5:"MSPointerLeave",o5:"MSPointerMove",p5:"MSPointerOut",q5:"MSPointerOver",r5:"MSPointerUp",PJ:"text",o8:jc?"textinput":"textInput",A2:"compositionstart",B2:"compositionupdate",z2:"compositionend",Z1:"beforeinput", M3:"exit",G4:"loadabort",H4:"loadcommit",K4:"loadredirect",L4:"loadstart",M4:"loadstop",R6:"responsive",H7:"sizechanged",F8:"unresponsive",G8:"visibilitychange",b8:"storage",t3:"DOMSubtreeModified",p3:"DOMNodeInserted",r3:"DOMNodeRemoved",s3:"DOMNodeRemovedFromDocument",q3:"DOMNodeInsertedIntoDocument",m3:"DOMAttrModified",n3:"DOMCharacterDataModified",b2:"beforeprint",L1:"afterprint"};function Jc(){0!=Kc&&(Lc[Ba(this)]=this);this.ts=this.ts;this.Op=this.Op}var Kc=0,Lc={};Jc.prototype.ts=!1;Jc.prototype.Ab=function(){if(!this.ts&&(this.ts=!0,this.Gc(),0!=Kc)){var a=Ba(this);delete Lc[a]}};Jc.prototype.Gc=function(){if(this.Op)for(;this.Op.length;)this.Op.shift()()};function Mc(a){a&&"function"==typeof a.Ab&&a.Ab()};function Nc(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Tp=!1;this.zS=!0}Nc.prototype.stopPropagation=function(){this.Tp=!0};Nc.prototype.preventDefault=function(){this.defaultPrevented=!0;this.zS=!1};function Oc(a){a.stopPropagation()}function Pc(a){a.preventDefault()};function Qc(a,b){Nc.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.$e=this.state=null;a&&this.Hn(a,b)}v(Qc,Nc);var Rc=[1,4,2]; Qc.prototype.Hn=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;if(e){if(mc){var g;a:{try{fc(e.nodeName);g=!0;break a}catch(h){}g=!1}g||(e=null)}}else"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.offsetX=nc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=nc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX: a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;this.$e= a;a.defaultPrevented&&this.preventDefault()};Qc.prototype.stopPropagation=function(){Qc.L.stopPropagation.call(this);this.$e.stopPropagation?this.$e.stopPropagation():this.$e.cancelBubble=!0};Qc.prototype.preventDefault=function(){Qc.L.preventDefault.call(this);var a=this.$e;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Dc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Sc="closure_lm_"+(1E6*Math.random()|0),Tc={},Uc=0;function z(a,b,c,d,e){if(va(b)){for(var g=0;ge.keyCode||void 0!=e.returnValue)){a:{var g=!1;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(l){g=!0}if(g||void 0==e.returnValue)e.returnValue=!0}e=[];for(g=c.currentTarget;g;g=g.parentNode)e.push(g);for(var g=a.type,h=e.length-1;!c.Tp&&0<=h;h--){c.currentTarget=e[h];var k=dd(e[h],g,!0,c),d=d&&k}for(h=0;!c.Tp&& h>>0);function Vc(a){if(za(a))return a;a[fd]||(a[fd]=function(b){return a.handleEvent(b)});return a[fd]};function gd(){this.Cm=[];this.oC={};this.zU=[]}gd.prototype.Ab=function(){for(var a=oa(this.zU),b=a.next();!b.done;b=a.next())b=b.value,za(b.Ab)&&b.Ab(),b.disposed=!0;a=oa(this.Cm);for(b=a.next();!b.done;b=a.next())cd(b.value);this.Cm=[];a=oa(Object.keys(this.oC));for(b=a.next();!b.done;b=a.next()){var b=b.value,c=this.oC[b];c.p9.removeHandler(c.gB,c.context,c.C0);delete this.oC[b]}};function hd(a,b,c){return Math.min(Math.max(a,b),c)}function id(a,b,c){return a+c*(b-a)};function jd(a,b){this.x=p(a)?a:0;this.y=p(b)?b:0}f=jd.prototype;f.clone=function(){return new jd(this.x,this.y)};f.Qj=function(a){return a instanceof jd&&kd(this,a)};function kd(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function md(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}function nd(a,b){var c=a.x-b.x,d=a.y-b.y;return c*c+d*d}function od(a,b){return new jd(a.x-b.x,a.y-b.y)}function pd(a,b){return new jd(a.x+b.x,a.y+b.y)} f.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};f.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};f.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};f.translate=function(a,b){a instanceof jd?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),ya(b)&&(this.y+=b));return this};f.scale=function(a,b){var c=ya(b)?b:a;this.x*=a;this.y*=c;return this};function qd(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}f=qd.prototype;f.clone=function(){return new qd(this.top,this.right,this.bottom,this.left)};f.contains=function(a){return this&&a?a instanceof qd?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; f.expand=function(a,b,c,d){Aa(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};f.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; f.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};f.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};f.translate=function(a,b){a instanceof jd?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,ya(b)&&(this.top+=b,this.bottom+=b));return this}; f.scale=function(a,b){var c=ya(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function rd(a,b){this.width=a;this.height=b}function sd(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}f=rd.prototype;f.clone=function(){return new rd(this.width,this.height)};f.mR=function(){return this.width*this.height};f.Mp=function(){return!this.mR()};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};f.scale=function(a,b){var c=ya(b)?b:a;this.width*=a;this.height*=c;return this};function td(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=td.prototype;f.clone=function(){return new td(this.left,this.top,this.width,this.height)};f.contains=function(a){return a instanceof jd?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height}; f.DR=function(a){var b=a.x":(d=Sd(c),e+=">"+Pd(d)+"",d=d.nw());(a=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(a)?0:null);return Td(e,d)} function Vd(a,b,c){var d={},e;for(e in a)d[e]=a[e];for(e in b)d[e]=b[e];for(e in c){var g=e.toLowerCase();if(g in a)throw Error('Cannot override "'+g+'" attribute, got "'+e+'" with value "'+c[e]+'"');g in b&&delete d[g];d[e]=c[e]}return d}Td("",0);Td("",0);var Wd=Td("
",0);function Yd(a){Zd();return Td(a,null)}var Zd=ta;function $d(){return nc?"Webkit":mc?"Moz":jc?"ms":ic?"O":null}function ae(a,b){if(b&&a in b)return a;var c=$d();return c?(c=c.toLowerCase(),c+=hb(a),!p(b)||c in b?c:null):null};var be=!jc||xc(9),ce=!mc&&!jc||jc&&xc(9)||mc&&wc("1.9.1"),de=jc&&!wc("9"),ee=jc||ic||nc;function fe(a){return a?new ge(je(a)):Ja||(Ja=new ge)}function ke(a,b){return xa(b)?a.getElementById(b):b} function le(a,b,c){var d=document;c=c||d;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))return c.querySelectorAll(a+(b?"."+b:""));if(b&&c.getElementsByClassName){c=c.getElementsByClassName(b);if(a){for(var d={},e=0,g=0,h;h=c[g];g++)a==h.nodeName&&(d[e++]=h);d.length=e;return d}return c}c=c.getElementsByTagName(a||"*");if(b){d={};for(g=e=0;h=c[g];g++)a=h.className,"function"==typeof a.split&&Hb(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;return d}return c} function me(a,b){ob(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:ne.hasOwnProperty(d)?a.setAttribute(ne[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}var ne={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"}; function oe(a){var b=a.scrollingElement?a.scrollingElement:nc||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement;a=a.parentWindow||a.defaultView;return jc&&wc("10")&&a.pageYOffset!=b.scrollTop?new jd(b.scrollLeft,b.scrollTop):new jd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function pe(a,b,c){return qe(document,arguments)} function qe(a,b){var c=String(b[0]),d=b[1];if(!be&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Na(d.name),'"');if(d.type){c.push(' type="',Na(d.type),'"');var e={};Ab(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(xa(d)?c.className=d:va(d)?c.className=d.join(" "):me(c,d));2=a.length)throw Df;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");} function Gf(a,b){if(wa(a))try{y(a,b,void 0)}catch(c){if(c!==Df)throw c;}else{a=Ff(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==Df)throw c;}}}function Hf(a,b,c){var d=0,e=a,g=c||1;1=e||0>g&&d<=e)throw Df;var a=d;d+=g;return a};return h}function If(a){if(wa(a))return Mb(a);a=Ff(a);var b=[];Gf(a,function(a){b.push(a)});return b};function Jf(a,b){this.Qi={};this.Rb=[];this.ex=this.zl=0;var c=arguments.length;if(12*this.zl&&Lf(this),!0):!1}; function Lf(a){if(a.zl!=a.Rb.length){for(var b=0,c=0;b=d.Rb.length)throw Df;var e=d.Rb[b++];return a?e:d.Qi[e]};return e};function Of(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))}function Pf(a){a=String(a);if(Of(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}function Qf(a){try{return eval("("+a+")")}catch(b){throw b;}} function Rf(a,b){var c=[];Sf(new Tf(b),a,c);return c.join("")}function Tf(a){this.HB=a} function Sf(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(va(b)){var d=b;b=d.length;c.push("[");for(var e="",g=0;g>=8;b[c++]=e}hg();a=bg;c=[];for(d=0;d>2,g=(g&3)<<4|h>>4,h=(h&15)<<2|l>>6,l=l&63;k||(l=64,e||(h=64));c.push(a[m],a[g],a[h],a[l])}b=c.join("")}return b} function ig(a){if(fg)return sa.atob(a);var b="";jg(a,function(a){b+=String.fromCharCode(a)});return b}function kg(a){var b=[];jg(a,function(a){b.push(a)});return b}function jg(a,b){function c(b){for(;d>4);64!=h&&(b(g<<4&240|h>>2),64!=k&&b(h<<6&192|k))}} function hg(){if(!bg){bg={};cg={};for(var a=0;65>a;a++)bg[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),cg[bg[a]]=a,62<=a&&(cg["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};function lg(a,b){this.wa=a;this.LT=b||[]}r("iSpring.ios.mobile.MobileAppCommand",lg,void 0);lg.prototype.id=function(){return Ba(this)};lg.prototype.Gp=function(){if(!mg)return!1;var a=this.wa,b=this.LT,c=this.id(),b=Rf(b,null),a="isplayer://"+a+"/"+c+"/"+gg(b);return ng(a)};function ng(a){try{var b=B("iframe");C(b,{width:"1px",height:"1px",border:"0"});b.src=a;document.body.appendChild(b);Cf(function(){xe(b)},100)}catch(c){return!1}return!0};function og(a){this.length=a.length||a;for(var b=0;b',d=Td(d,null),c.document.write(Pd(d)),c.document.close())):c=c.open(Cd(d),e,g);return c};function Ng(a,b,c,d){c=c||0;var e=Array.prototype.slice.call(arguments,3);return setTimeout(function(){a.apply(b||null,e)},c)}function Og(){return H&&!Pg?"about:blank":""}function Qg(){var a=Rg();return Math.max(1,Math.min(a.width,a.height)/420)} function Rg(){if(Sg)return new rd(document.documentElement.clientWidth,document.documentElement.clientHeight);if(H&&jc)return new rd(screen.width,screen.height);var a=p(window.devicePixelRatio)?window.devicePixelRatio:1;return Pg?new rd(screen.width/a,screen.height/a):H?Tg&&(a=Math.max(screen.width,screen.height),document.documentElement.clientWidth>a)?new rd(Math.max(document.documentElement.clientWidth,a),Math.max(document.documentElement.clientHeight,Math.min(screen.width,screen.height))):new rd(screen.width, screen.height):new rd(screen.width*a,screen.height*a)}function Ug(){var a;var b=window.location.search.substr(1);if(b){a={};for(var b=b.split("&"),c=0;c=oh,qh=Tg&&7<=oh,rh=Tg&&8<=oh,sh=Tg&&9<=oh,th=Tg&&10<=oh,uh=jc&&"9."==sc.substr(0,2),vh=jc&&"10."==sc.substr(0,3),wh=-1!=ah.toLowerCase().indexOf("edge"),yh=xh&&jc,Pg=kh&&!hh&&!Xf&&!ic,zh=-1!=ah.toLowerCase().indexOf("micromessenger"),mg=-1!=ah.indexOf("ismobile"),Ah=mg&&Yf,Bh=mg&&kh,Ch;if(!(Ch=Sg))if(window._ispringFullsizeSkin)Ch=!1;else{var Dh=Rg();Ch=700>Math.min(Dh.width,Dh.height)} var xh=Ch,Eh=Yf&&!Ah&&10>oh||yh&&xh,Fh=p(window.ISPlayer),Gh=Fh&&xh,Hh=!1,Ih=(kh||Tg)&&!Fh,Sh=!H&&(jc||wh||hh);function Th(){return 1==window._ispringDebug||"1"==Ug().isdebug}var Uh; if(bc("Windows")){var Vh=Zb,Wh="",Xh;if(bc("Windows")){Xh=/Windows (?:NT|Phone) ([0-9.]+)/;var Yh=Xh.exec(Vh),Wh=Yh?Yh[1]:"0.0"}else cc()||bc("iPad")||bc("iPod")?(Xh=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,Wh=(Yh=Xh.exec(Vh))&&Yh[1].replace(/_/g,".")):bc("Macintosh")?(Xh=/Mac OS X ([0-9_.]+)/,Wh=(Yh=Xh.exec(Vh))?Yh[1].replace(/_/g,"."):"10"):bc("Android")?(Xh=/Android\s+([^\);]+)(\)|;)/,Wh=(Yh=Xh.exec(Vh))&&Yh[1]):bc("CrOS")&&(Xh=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,Wh=(Yh=Xh.exec(Vh))&&Yh[1]); Uh=!(0<=eb(Wh||"","6"))}else Uh=!1;var Zh=Uh;function $h(){this.JO=[];this.Lj=[]}$h.prototype.push=function(a,b){if(!(b in this.Lj)){this.Lj[b]=[];var c=this.JO,d;d=Sb;for(var e=0,g=c.length,h;e>1,l;l=d(b,c[k]);0d&&Ob(c,-(d+1),0,b)}this.Lj[b].push(a)};$h.prototype.remove=function(a,b){b in this.Lj&&Ib(this.Lj[b],a)};function ai(a,b){return b in a.Lj?a.Lj[b]:[]}function bi(a){var b=[],c=a.Lj;a=a.JO;for(var d=0;d button.std {background-color: __button_face_over__;}.vscrollbar {position: absolute;right: 0;bottom: 0;width: 16px;top: 0;}.vscrollbar .thumb {width: 9px;border-radius: 4px;position: relative;background-color: rgba(0, 0, 0, 0.5);border: 1px solid rgba(255, 255, 255, 0.5);left: 4px;}.hscrollbar {position: absolute;left: 0;bottom: 0;width: 100%;height: 16px;}.hscrollbar .thumb {height: 9px;border-radius: 4px;position: relative;background-color: rgba(0, 0, 0, 0.5);border: 1px solid rgba(255, 255, 255, 0.5);top: 4px;}button.std[disabled] {background-color: __button_face_normal__;}.popupsLayer {z-index: 9;position: absolute;margin-left: 0 !important;}.popupsLayer .outline {position: relative;}.popupsLayer .outline .title {font-weight: bold;padding-bottom: 10px;}.popupsLayer .volume_popup .corner {background: transparent;height: 13px;position: absolute;}.popupsLayer .outline_popup .corner {background: url("+ a[0]+");width: 16px;height: 9px;position: absolute;bottom: -7px;}.popupsLayer .outline_popup,.popupsLayer .outlineTitle_popup {padding: 8px;}.popupsLayer .presenter_popup .corner,.popupsLayer .marker_popup .corner,.popupsLayer .notes_popup .corner,.popupsLayer .attachments_popup .corner,.popupsLayer .outlineTitle_popup .corner,.popupsLayer .content .corner {background: url("+a[1]+");width: 18px;height: 10px;position: absolute;top: -8px;}.popupsLayer .component_base.volume_popup,.popupsLayer .component_base.outline_popup,.popupsLayer .component_base.presenter_popup,.popupsLayer .component_base.marker_popup,.popupsLayer .component_base.notes_popup,.popupsLayer .component_base.attachments_popup,.popupsLayer .component_base.outlineTitle_popup,.popupsLayer .component_base.content {border-radius: 4px;border-left: 1px solid rgba(0, 0, 0, 0.25);border-top: 1px solid rgba(0, 0, 0, 0.25);border-right: 1px solid rgba(0, 0, 0, 0.5);border-bottom: 1px solid rgba(0, 0, 0, 0.5);box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.5);width: 100%;height: 100%;position: absolute;top: 0;left: 0;}.popupsLayer .component_base.volume_popup {background: __panel_background__;}.popupsLayer .component_base.outline_popup,.popupsLayer .component_base.presenter_popup,.popupsLayer .component_base.marker_popup,.popupsLayer .component_base.notes_popup,.popupsLayer .component_base.attachments_popup,.popupsLayer .component_base.outlineTitle_popup,.popupsLayer .component_base.content {background: __popup_background__;}.popupsLayer .component_container.notes,.popupsLayer .component_base.notes {position: relative !important;}.popupsLayer .component_container.notes {margin-top: 7px;margin-bottom: 7px;padding: 0 5px;}.popupsLayer .component_container.notes > .component_base.notes {font-family: PFn;font-size: 12px;word-wrap: break-word;width: 100%;padding: 0 5px;}.popupsLayer .component_container.notes > .component_base.notes .notesText p {margin-top: 0;margin-bottom: 0;white-space: pre-wrap;}.popupsLayer .component_container.notes > .component_base.notes .notesText p,.popupsLayer .component_container.notes > .component_base.notes .notesText span {color: __text__ !important;font-family: Open Sans, Arial, sans-serif;}.popupsLayer .component_container.notes > .component_base.notes .notesText p:first-child {margin-top: 0;}.popupsLayer .component_container.notes > .component_base.notes .notesText p:last-child {margin-bottom: 0;}.popupsLayer .component_container.notes > .component_base.notes .notesText p,.popupsLayer .component_container.notes > .component_base.notes .notesText p.bold span.nobold,.popupsLayer .component_container.notes > .component_base.notes .notesText p.italic span.noitalic,.popupsLayer .component_container.notes > .component_base.notes .notesText p.bold.italic span.nobold.noitalic {font-weight: normal;font-style: normal;}.popupsLayer .component_container.notes > .component_base.notes .notesText p span.bold,.popupsLayer .component_container.notes > .component_base.notes .notesText p.bold,.popupsLayer .component_container.notes > .component_base.notes .notesText p.italic span.bold.noitalic,.popupsLayer .component_container.notes > .component_base.notes .notesText p.bold.italic span.noitalic {font-weight: bold;font-style: normal;}.popupsLayer .component_container.notes > .component_base.notes .notesText p span.italic,.popupsLayer .component_container.notes > .component_base.notes .notesText p.bold span.nobold.italic,.popupsLayer .component_container.notes > .component_base.notes .notesText p.italic,.popupsLayer .component_container.notes > .component_base.notes .notesText p.bold.italic span.nobold {font-weight: normal;font-style: italic;}.popupsLayer .component_container.notes > .component_base.notes .notesText p span.bold.italic,.popupsLayer .component_container.notes > .component_base.notes .notesText p.bold span.italic,.popupsLayer .component_container.notes > .component_base.notes .notesText p.italic span.bold,.popupsLayer .component_container.notes > .component_base.notes .notesText p.bold.italic {font-weight: bold;font-style: italic;}.popupsLayer .component_container.attachments_popup .vscrollbar {top: 8px;bottom: 8px;}.popupsLayer .component_container.presenter_popup .vscrollbar {top: 4px;bottom: 8px;}.popupsLayer > div {position: absolute;}.universal {overflow: hidden;background-color: __player_background__;}.universal * {box-sizing: border-box;}.universal div {-webkit-tap-highlight-color: transparent;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;-webkit-touch-callout: none;-webkit-user-drag: none;}.universal > div,.universal > nav {position: absolute;}.universal .popup_layer .message_box .title,.universal .popup_layer .confirm_window .title {font-family: PFnb;}.universal .popup_layer .message_box .message,.universal .popup_layer .confirm_window .message {font-family: PFn;}.universal .popup_layer .message_box button,.universal .popup_layer .confirm_window button {font-family: PFnb;line-height: 100%;}.universal .launch_layer {width: 100%;height: 100%;z-index: 10;background: url("+ a[2]+") no-repeat center;background-color: rgba(0, 0, 0, 0.75);}.universal .launch_layer:active {background-image: url("+a[3]+");}.universal .launch_layer[disabled], .universal .launch_layer:active[disabled] {width: 50px;height: 50px;position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;border-radius: 10px;background-color: rgba(0, 0, 0, 0.5);}.universal .launch_layer[disabled]::after, .universal .launch_layer:active[disabled]::after {content: '';position: absolute;background: url("+a[4]+ ");background-size: cover;top: 0;left: 0;bottom: 0;right: 0;-webkit-animation: preloader_spin 1s infinite linear;animation: preloader_spin 1s infinite linear;}.universal > .title {background: __panel_background__;}.universal > .title .right {position: absolute;right: 0;}.universal > .title .right .logo {right: 0;}.universal > .title .logoContainer {height: 100%;margin-left: 12px;margin-right: 12px;}.universal > .title .logo {position: absolute;z-index: 1;}.universal > .title .misc {width: 100%;position: absolute;height: 20px;bottom: 0;top: 0;margin-bottom: auto;margin-top: auto;}.universal > .title .misc button {font-family: PFn;position: static;padding: 1px;border: 1px solid transparent;background-color: transparent;font-size: 12px;color: __panel_text__;}.universal > .title .misc .component_container:focus button {border: 1px dashed __panel_text__;}.universal > .title .misc button[disabled],.universal > .title .misc[disabled] button {opacity: 0.5;}.universal > .title .buttons_container_left {position: absolute;overflow: hidden;bottom: 0;left: 11px;right: 0;}.universal > .title .buttons_container_left .separator {float: left;}.universal > .title .buttons_container_left .component_container {float: left;position: relative;}.universal > .title .buttons_container_left .component_container:first-child {margin-left: 1px;}.universal > .title .buttons_container_right {position: absolute;overflow: hidden;left: 0;bottom: 0;right: 11px;}.universal > .title .buttons_container_right .separator {float: right;}.universal > .title .buttons_container_right .component_container {float: right;position: relative;}.universal > .title .buttons_container_right .component_container:first-child {margin-right: 1px;}.universal > .title .buttons_container_left .separator,.universal > .title .buttons_container_right .separator {position: relative;background: url("+ a[5]+");width: 2px;height: 16px;margin-left: 22px;margin-right: 22px;margin-top: 2px;}.universal .content_area {margin-left: auto;margin-right: auto;left: 0;right: 0;}.universal .content_area > div,.universal .content_area > aside {position: absolute !important;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;z-index: 1;}.universal .content_area .side_panel {overflow: hidden;z-index: 0;}.universal .content_area .side_panel > div {position: absolute;top: 0;}.universal .content_area .side_panel .logo {background: __companyLogo_background__;border-radius: 4px;width: 100%;}.universal .content_area .side_panel .logo a {margin-left: auto;margin-right: auto;left: 0;right: 0;position: absolute;}.universal .content_area .side_panel .logo a canvas {width: 100%;height: 100%;}.universal .content_area .side_panel .video_placeholder {background-color: black;}.universal .content_area .side_panel .content {padding-top: 39px;background: __popup_background__;border-radius: 5px;padding-bottom: 6px;width: 100%;}.universal .content_area .side_panel .content .outline,.universal .content_area .side_panel .content .notes {position: relative;}.universal .content_area .side_panel .content .outline *,.universal .content_area .side_panel .content .notes * {font-family: PFn;}.universal .content_area .side_panel .content .title {font-family: PFnb;color: __text__;position: absolute;height: 30px;top: 0;line-height: 30px;font-size: 14px;margin-left: 12px;margin-right: 12px;background-color: __popup_background__ !important;}.universal .content_area .side_panel .content .component_container.notes {top: 38px;}.universal .content_area .side_panel .notes.component_container {position: absolute;width: 100%;top: 0;bottom: 5px;padding-right: 5px;}.universal .content_area .side_panel .notes.component_container:focus {outline: 1px dashed __listItem_face_pressed__;}.universal .content_area .side_panel .notes.component_container > .component_base > .component_base {font-family: PFn;width: 100%;font-size: 12px;word-wrap: break-word;padding: 0 5px;}.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p {margin-top: 0;margin-bottom: 0;white-space: pre-wrap;}.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText span {color: __text__ !important;font-family: Open Sans, Arial, sans-serif;}.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p:first-child {margin-top: 0;}.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p:last-child {margin-bottom: 0;}.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p.bold span.nobold,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p.italic span.noitalic,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p.bold.italic span.nobold.noitalic {font-weight: normal;font-style: normal;}.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p span.bold,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p.bold,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p.italic span.bold.noitalic,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p.bold.italic span.noitalic {font-weight: bold;font-style: normal;}.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p span.italic,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p.bold span.nobold.italic,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p.italic,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p.bold.italic span.nobold {font-weight: normal;font-style: italic;}.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p span.bold.italic,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p.bold span.italic,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p.italic span.bold,.universal .content_area .side_panel .notes.component_container > .component_base > .component_base .notesText p.bold.italic {font-weight: bold;font-style: italic;}.universal .content_area .side_panel .outline {width: 100%;height: 100%;}.universal .content_area .side_panel .tabs .component_container.bg > div {overflow: visible !important;}.universal .content_area .side_panel .tabs .component_base.bg {border-radius: 5px;border-top-left-radius: 0;background: __popup_background__;}.universal .content_area .side_panel .tabs .tab {display: inline-block;margin-left: -10px;}.universal .content_area .side_panel .tabs .tab:focus button::after {content: '';position: absolute;top: 7px;right: 16px;bottom: 6px;left: 18px;outline: 1px dashed __text__;}.universal .content_area .side_panel .tabs .tab.first:focus button::after {left: 8px;}.universal .content_area .side_panel .tabs .tab button, .universal .content_area .side_panel .tabs .tab.mobile:hover button {color: __button_content_normal__;}.universal .content_area .side_panel .tabs .tab svg path, .universal .content_area .side_panel .tabs .tab.mobile:hover svg path {fill: __button_face_normal__;}.universal .content_area .side_panel .tabs .tab:hover button {color: __button_content_over__;}.universal .content_area .side_panel .tabs .tab:hover svg path {fill: __button_face_over__;}.universal .content_area .side_panel .tabs .tab.selected {z-index: 1;}.universal .content_area .side_panel .tabs .tab.selected button {color: __text__;}.universal .content_area .side_panel .tabs .tab.selected svg path {fill: __popup_background__;}.universal .content_area .side_panel .tabs .tab svg {position: absolute;top: 0;z-index: -1;left: 0;}.universal .content_area .side_panel .tabs .tab.first {margin-left: 0;}.universal .content_area .side_panel .tabs .tab.first button {padding-left: 20px;}.universal .content_area .side_panel .tabs .tab button {font-family: PFnb;height: 30px;top: 0;border: 0;white-space: nowrap;background: transparent;overflow: hidden;text-overflow: ellipsis;font-size: 14px;padding-right: 20px;padding-left: 30px;opacity: 0.99;}.universal .content_area .preloader {width: 50px;height: 50px;position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;border-radius: 10px;background-color: rgba(0, 0, 0, 0.5);}.universal .content_area .preloader::after {content: '';position: absolute;background: url("+ a[4]+");background-size: cover;top: 0;left: 0;bottom: 0;right: 0;-webkit-animation: preloader_spin 1s infinite linear;animation: preloader_spin 1s infinite linear;}.universal .content_area .video_container {background-color: black;}.universal .content_area .video_container .video_player .poster {position: absolute;top: 0;left: 0;width: 100%;height: 100%;}.universal .content_area .video_container video {position: absolute;width: 100%;height: 100%;margin: auto;top: 0;right: 0;bottom: 0;left: 0;}.universal .content_area .markerToolContainer {position: absolute;z-index: 3;}.universal .content_area .markerToolContainer.line {cursor: url(data/marker.cur) 3 3, crosshair;}.universal .content_area .markerToolContainer.marker {cursor: url(data/highlighter.cur) 3 10, crosshair;}.universal .content_area .markerToolContainer.eraser {cursor: url(data/eraser.cur) 5 5, crosshair;}.universal .content_area .closed_caption_panel {position: absolute;height: 110px;bottom: 0;background-color: rgba(0, 0, 0, 0.5);}.universal .content_area .closed_caption_panel.mobile {height: 149px;}.universal .content_area .component_container.closedCaptions {position: absolute;left: 10px;right: 4px;top: 8px;bottom: 8px;z-index: 5;}.universal .content_area .closedCaptions .vscrollbar {position: absolute;right: 0;height: 100%;width: 16px;top: 0;padding-top: 4px;padding-bottom: 4px;}.universal .content_area .closedCaptions .vscrollbar .up {width: 16px;height: 4px;top: 0;position: absolute;}.universal .content_area .closedCaptions .vscrollbar .down {width: 16px;height: 4px;bottom: 0;position: absolute;}.universal .content_area .closedCaptions .vscrollbar .thumb {width: 7px;border-radius: 4px;position: relative !important;background-color: #FFFFFF;left: 5px;}.universal .content_area .closedCaptions.mobile .vscrollbar {height: auto;top: 4px;bottom: 4px;padding-top: 0;padding-bottom: 0;}.universal .content_area .closedCaptions #vThumb {background-color: #FFFFFF !important;border: 0 !important;}.universal .content_area .component_base.closedCaptions {font-family: PFn;color: white;line-height: 19px;font-size: 14px;width: 100%;padding-right: 23px;word-wrap: break-word;white-space: pre-wrap;text-shadow: #000000 -1px 1px 2px;}.universal .content_area .component_base.closedCaptions p {position: relative !important;margin: 0;}.universal .content_area .component_container.maximized {margin: 0;z-index: 5;position: absolute;width: 32px;height: 32px;top: 5px;background-color: transparent;}.universal .content_area .floatPanelOverlay {width: 100%;height: 100%;position: absolute;top: 0;left: 0;}.universal .content_area.hasLeftPanel .component_container.maximized {right: 5px;}.universal .content_area.hasRightPanel .component_container.maximized {left: 5px;}.universal .content_area button.maximized,.universal .content_area button.maximized:hover {width: 100%;height: 100%;}.universal .content_area button.maximized {background: url("+ a[6]+");}.universal .content_area button.maximized:hover {background: url("+a[7]+");}.universal .control_panel {height: 50px;background: __panel_background__;}.universal .control_panel .hbox {position: absolute;top: 0;bottom: 0;margin: auto;}.universal .control_panel .hbox.right {right: 12px;top: 10px;}.universal .control_panel .hbox.right button {position: relative;}.universal .control_panel .hbox.right > div {position: relative;float: left;margin-left: 8px;}.universal .control_panel .hbox.left {left: 12px;top: 10px;}.universal .control_panel .hbox.left .component_container.outline {margin-right: 24px;}.universal .control_panel .hbox.left > div {position: relative;float: left;margin-right: 8px;}.universal .control_panel .hbox.left > div.play,.universal .control_panel .hbox.left > div.pause,.universal .control_panel .hbox.left > div.progressbar {margin-right: 16px;}.universal .control_panel .component_container.next svg,.universal .control_panel .component_container.prev svg {position: absolute;pointer-events: none;}.universal .control_panel .component_container.next svg path, .universal .control_panel .component_container.next:hover.disabled svg path, .universal .control_panel .component_container.next:active.disabled svg path, .universal .control_panel .component_container.next.selected.disabled svg path, .universal .control_panel .component_container.next.disabled svg path,.universal .control_panel .component_container.prev svg path,.universal .control_panel .component_container.prev:hover.disabled svg path,.universal .control_panel .component_container.prev:active.disabled svg path,.universal .control_panel .component_container.prev.selected.disabled svg path,.universal .control_panel .component_container.prev.disabled svg path {fill: __button_face_normal__;}.universal .control_panel .component_container.next:hover svg path, .universal .control_panel .component_container.next:active svg path, .universal .control_panel .component_container.next:focus svg path,.universal .control_panel .component_container.prev:hover svg path,.universal .control_panel .component_container.prev:active svg path,.universal .control_panel .component_container.prev:focus svg path {fill: __button_face_over__;}.universal .control_panel button.volume {border-radius: 5px;}.universal .control_panel button.volume, .universal .control_panel button.volume.mobile:hover, .universal .control_panel button.volume.mobile:active {background: __button_face_normal__ url("+ a[8]+") no-repeat center;}.universal .control_panel button.volume:hover, .universal .control_panel button.volume:active, .universal .control_panel button.volume.mobile.active, .universal .control_panel button.volume.selected {background: __button_face_over__ url("+a[9]+") no-repeat center;}.universal .control_panel button.volume.mobile.active[disabled], .universal .control_panel button.volume:hover[disabled], .universal .control_panel button.volume:active[disabled], .universal .control_panel button.volume.selected[disabled], .universal .control_panel button.volume[disabled] {background-color: __button_face_normal__;}.universal .control_panel .component_container:focus > button.volume {background: __button_face_over__ url("+ a[9]+") no-repeat center;}.universal .control_panel button.volume.muted {border-radius: 5px;}.universal .control_panel button.volume.muted, .universal .control_panel button.volume.muted.mobile:hover, .universal .control_panel button.volume.muted.mobile:active {background: __button_face_normal__ url("+a[10]+") no-repeat center;}.universal .control_panel button.volume.muted:hover, .universal .control_panel button.volume.muted:active, .universal .control_panel button.volume.muted.mobile.active, .universal .control_panel button.volume.muted.selected {background: __button_face_over__ url("+ a[11]+") no-repeat center;}.universal .control_panel button.volume.muted.mobile.active[disabled], .universal .control_panel button.volume.muted:hover[disabled], .universal .control_panel button.volume.muted:active[disabled], .universal .control_panel button.volume.muted.selected[disabled], .universal .control_panel button.volume.muted[disabled] {background-color: __button_face_normal__;}.universal .control_panel .component_container:focus > button.volume.muted {background: __button_face_over__ url("+ a[11]+") no-repeat center;}.universal .control_panel button.cc {border-radius: 5px;}.universal .control_panel button.cc, .universal .control_panel button.cc.mobile:hover, .universal .control_panel button.cc.mobile:active {background: __button_face_normal__ url("+a[12]+") no-repeat center;}.universal .control_panel button.cc:hover, .universal .control_panel button.cc:active, .universal .control_panel button.cc.mobile.active, .universal .control_panel button.cc.selected {background: __button_face_over__ url("+ a[13]+") no-repeat center;}.universal .control_panel button.cc.mobile.active[disabled], .universal .control_panel button.cc:hover[disabled], .universal .control_panel button.cc:active[disabled], .universal .control_panel button.cc.selected[disabled], .universal .control_panel button.cc[disabled] {background-color: __button_face_normal__;}.universal .control_panel .component_container:focus > button.cc {background: __button_face_over__ url("+a[13]+") no-repeat center;}.universal .control_panel button.replay {border-radius: 5px;}.universal .control_panel button.replay, .universal .control_panel button.replay.mobile:hover, .universal .control_panel button.replay.mobile:active {background: __button_face_normal__ url("+ a[14]+") no-repeat center;}.universal .control_panel button.replay:hover, .universal .control_panel button.replay:active, .universal .control_panel button.replay.mobile.active, .universal .control_panel button.replay.selected {background: __button_face_over__ url("+a[15]+") no-repeat center;}.universal .control_panel button.replay.mobile.active[disabled], .universal .control_panel button.replay:hover[disabled], .universal .control_panel button.replay:active[disabled], .universal .control_panel button.replay.selected[disabled], .universal .control_panel button.replay[disabled] {background-color: __button_face_normal__;}.universal .control_panel .component_container:focus > button.replay {background: __button_face_over__ url("+ a[15]+") no-repeat center;}.universal .control_panel button.fullscreen {border-radius: 5px;}.universal .control_panel button.fullscreen, .universal .control_panel button.fullscreen.mobile:hover, .universal .control_panel button.fullscreen.mobile:active {background: __button_face_normal__ url("+a[16]+") no-repeat center;}.universal .control_panel button.fullscreen:hover, .universal .control_panel button.fullscreen:active, .universal .control_panel button.fullscreen.mobile.active, .universal .control_panel button.fullscreen.selected {background: __button_face_over__ url("+ a[17]+") no-repeat center;}.universal .control_panel button.fullscreen.mobile.active[disabled], .universal .control_panel button.fullscreen:hover[disabled], .universal .control_panel button.fullscreen:active[disabled], .universal .control_panel button.fullscreen.selected[disabled], .universal .control_panel button.fullscreen[disabled] {background-color: __button_face_normal__;}.universal .control_panel .component_container:focus > button.fullscreen {background: __button_face_over__ url("+a[17]+") no-repeat center;}.universal .control_panel button {font-family: PFnb;font-size: 13px;}.universal .control_panel button.mobile.active[disabled], .universal .control_panel button.mobile:active[disabled], .universal .control_panel button.mobile:hover[disabled], .universal .control_panel button.mobile[disabled], .universal .control_panel button:hover[disabled], .universal .control_panel button:active[disabled], .universal .control_panel button.selected[disabled], .universal .control_panel button[disabled] {color: __button_content_disabled__;}.universal .control_panel button, .universal .control_panel button.mobile:hover {color: __button_content_normal__;}.universal .control_panel button.mobile.active, .universal .control_panel button:hover, .universal .control_panel button:active, .universal .control_panel button:focus {color: __button_content_over__;}.universal .control_panel button.outline {position: relative;height: 30px;}.universal .control_panel button.outline.selected {background: __button_face_over__;color: __button_content_over__;}.universal .control_panel button.outline span {padding-left: 6px;padding-right: 6px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;display: block;}.universal .control_panel button.prev, .universal .control_panel button.next {height: 30px;overflow: visible;background-color: transparent !important;}.universal .control_panel button.prev {padding: 6px 14px 7px 17px;}.universal .control_panel button.next {padding: 6px 16px 7px 14px;}.universal .control_panel button.volume, .universal .control_panel button.cc, .universal .control_panel button.replay, .universal .control_panel button.fullscreen {top: 2px;}.universal .control_panel button.fullscreen {background-repeat: no-repeat;background-position: center;background-image: url("+ a[16]+");}.universal .control_panel button.fullscreen:hover, .universal .control_panel button.fullscreen:active {background-image: url("+a[17]+");}.universal .control_panel button.fullscreen.selected, .universal .control_panel button.fullscreen.selected:hover[disabled], .universal .control_panel button.fullscreen.selected:active[disabled] {background-image: url("+a[18]+");background-color: __button_face_normal__;}.universal .control_panel button.fullscreen.selected:hover, .universal .control_panel button.fullscreen.selected:active {background-image: url("+ a[19]+");background-color: __button_face_over__;}.universal .control_panel .volume,.universal .control_panel .cc,.universal .control_panel .replay,.universal .control_panel .fullscreen {width: 26px;height: 26px;padding: 0;}.universal .control_panel .play,.universal .control_panel .pause {width: 47px;height: 30px;}.universal .control_panel .component_container.play, .universal .control_panel .component_container.pause {cursor: pointer;}.universal .control_panel .component_container.play > svg, .universal .control_panel .component_container.pause > svg {position: absolute;margin: auto;top: 0;bottom: 0;left: 0;right: 0;}.universal .control_panel .component_container.play.disabled_state, .universal .control_panel .component_container.pause.disabled_state {cursor: default !important;}.universal .control_panel .component_container.play .play_icon,.universal .control_panel .component_container.play .play_icon_disabled,.universal .control_panel .component_container.play .play_icon_hover,.universal .control_panel .component_container.play .pause_icon,.universal .control_panel .component_container.play .pause_icon_hover, .universal .control_panel .component_container.pause .play_icon,.universal .control_panel .component_container.pause .play_icon_disabled,.universal .control_panel .component_container.pause .play_icon_hover,.universal .control_panel .component_container.pause .pause_icon,.universal .control_panel .component_container.pause .pause_icon_hover {display: none;}.universal .control_panel .component_container.play .play_icon {display: block;}.universal .control_panel .component_container.play.active .play_icon {display: none;}.universal .control_panel .component_container.play.active .play_icon_hover {display: block;}.universal .control_panel .component_container.play.active button {background: __button_face_over__;}.universal .control_panel .component_container.pause > svg {top: 1px;}.universal .control_panel .component_container.pause .pause_icon {display: block;}.universal .control_panel .component_container.pause.active .pause_icon {display: none;}.universal .control_panel .component_container.pause.active .pause_icon_hover {display: block;}.universal .control_panel .component_container.pause.active button {background: __button_face_over__;}.universal .control_panel .component_container.disabled_state .play_icon,.universal .control_panel .component_container.disabled_state .play_icon_hover,.universal .control_panel .component_container.disabled_state .pause_icon,.universal .control_panel .component_container.disabled_state .pause_icon_hover {display: none;}.universal .control_panel .component_container.disabled_state .play_icon_disabled {display: block;}.universal .control_panel .progressbar {float: left;position: relative;height: 28px;width: 191px;top: -1px;}.universal .control_panel .progressbar.locked {cursor: default;}.universal .control_panel .progressbar.locked .bg,.universal .control_panel .progressbar.locked .thumb,.universal .control_panel .progressbar.locked .progress {cursor: url(data/lock.cur), no-drop;}.universal .control_panel .progressbar .bg {width: 100%;height: 8px;bottom: 0;position: absolute;border-radius: 1px;background-color: __progress_loading__;}.universal .control_panel .progressbar .bg.center {bottom: 9px;}.universal .control_panel .progressbar .progress {position: absolute;background: __progress_playback__;bottom: 0;left: 0;height: 8px;}.universal .control_panel .progressbar .progress.center {bottom: 9px;}.universal .control_panel .progressbar .thumb {width: 16px;height: 16px;background: url("+ a[20]+");bottom: -4px;position: absolute;margin-left: -8px;}.universal .control_panel .progressbar .thumb.center {bottom: 5px;}.universal .control_panel .progressbar .label {font-family: PFn;font-size: 12px;color: __panel_text__;position: absolute;}.universal .control_panel .progressbar .label.slides {margin-left: 4px;}.universal .control_panel .progressbar .label.time {right: 0;margin-right: 4px;}.ie.universal .title .misc button {padding: 0 2px 0 0;}.ie.universal .content_area .markerToolContainer.line {cursor: url(data/marker.cur), crosshair;}.ie.universal .content_area .markerToolContainer.marker {cursor: url(data/highlighter.cur), crosshair;}.ie.universal .content_area .markerToolContainer.eraser {cursor: url(data/eraser.cur), crosshair;}.ie.universal .control_panel .left.hbox .component_container.outline {margin-right: 0 !important;}.ie.universal .control_panel button.outline span {padding-left: 3px;padding-right: 3px;}.ie.universal .control_panel button.outline:active {padding: 4px 6px 6px 4px;}.ie.universal .control_panel button.outline.selected {padding-top: 2px;padding-bottom: 3px;}.ie.universal .control_panel button.outline.selected:active {padding-top: 4px;padding-bottom: 6px;}.ie.universal .control_panel button.prev {padding: 6px 15px 4px 16px;}.ie.universal .control_panel button.prev:active {padding-right: 16px;padding-bottom: 6px;padding-left: 15px;}.ie.universal .control_panel button.prev:active[disabled], .ie.universal .control_panel button.prev[disabled] {padding-right: 15px;padding-left: 16px;padding-bottom: 5px;}.ie.universal .control_panel button.next {padding-top: 6px;padding-bottom: 4px;}.ie.universal .control_panel button.next:active {padding-right: 17px;padding-left: 13px;padding-bottom: 6px;}.ie.universal .control_panel button.next:active[disabled], .ie.universal .control_panel button.next[disabled] {padding-right: 17px;padding-left: 13px;padding-bottom: 5px;}.ie.universal .control_panel button.outline {padding-left: 14px;padding-right: 14px;}.ie.universal .control_panel button.outline:active {padding-left: 13px;padding-right: 15px;}.ie.universal.ie9 .treecontrol .treenode.expanded.over.viewed > div.open, .ie.universal.ie9 .treecontrol .treenode.expanded.over > div.open {background: url("+ a[21]+") no-repeat center;}.ie.universal.ie9 .treecontrol .treenode.expanded.selected > div.open, .ie.universal.ie9 .treecontrol .treenode.expanded.selected.viewed > div.open, .ie.universal.ie9 .treecontrol .treenode.expanded.over.selected.viewed > div.open, .ie.universal.ie9 .treecontrol .treenode.expanded.over.selected > div.open {background: url("+a[22]+") no-repeat center;}.ie.universal.ie9 .treecontrol .treenode.expanded > div.open {background: url("+a[23]+") no-repeat center;}.opera.universal .title .misc button {padding: 0 2px 0 0;}.opera.universal .control_panel button.outline {padding: 2px 5px 3px 5px;}.opera.universal .control_panel button.outline:active {padding: 4px 6px 6px 4px;}.opera.universal .control_panel button.outline.selected {padding-top: 2px;padding-bottom: 3px;}.opera.universal .control_panel button.outline.selected:active {padding-top: 4px;padding-bottom: 6px;}.opera.universal .control_panel button.prev:active {padding: 5px 14px 5px 2px;}.opera.universal .control_panel button.prev[disabled], .opera.universal .control_panel button.prev:active[disabled] {padding: 0 13px 0 2px;}.opera.universal .control_panel button.next:active {padding: 5px 2px 5px 14px;}.opera.universal .control_panel button.next[disabled], .opera.universal .control_panel button.next:active[disabled] {padding: 0 2px 0 14px;}.gecko.universal .control_panel button.outline {padding-left: 0;padding-right: 0;}.gecko.universal .control_panel button.outline span {padding-left: 14px;padding-right: 14px;}.gecko.universal .treecontrol .treenode .thumb {overflow: hidden;}.mobile.universal {position: absolute;overflow: visible;top: 0;width: 100%;height: 100%;}.mobile.universal * {cursor: default !important;}.mobile.universal .component_container.notes .component_base.notes {font-family: PFn;font-size: 12px;word-wrap: break-word;width: 100%;padding: 0 5px;}.mobile.universal .component_container.notes .component_base.notes .notesText p {margin-top: 0;margin-bottom: 0;white-space: pre-wrap;}.mobile.universal .component_container.notes .component_base.notes .notesText p,.mobile.universal .component_container.notes .component_base.notes .notesText span {color: __text__ !important;font-family: Open Sans, Arial, sans-serif;}.mobile.universal .component_container.notes .component_base.notes .notesText p:first-child {margin-top: 0;}.mobile.universal .component_container.notes .component_base.notes .notesText p:last-child {margin-bottom: 0;}.mobile.universal .component_container.notes .component_base.notes .notesText p,.mobile.universal .component_container.notes .component_base.notes .notesText p.bold span.nobold,.mobile.universal .component_container.notes .component_base.notes .notesText p.italic span.noitalic,.mobile.universal .component_container.notes .component_base.notes .notesText p.bold.italic span.nobold.noitalic {font-weight: normal;font-style: normal;}.mobile.universal .component_container.notes .component_base.notes .notesText p span.bold,.mobile.universal .component_container.notes .component_base.notes .notesText p.bold,.mobile.universal .component_container.notes .component_base.notes .notesText p.italic span.bold.noitalic,.mobile.universal .component_container.notes .component_base.notes .notesText p.bold.italic span.noitalic {font-weight: bold;font-style: normal;}.mobile.universal .component_container.notes .component_base.notes .notesText p span.italic,.mobile.universal .component_container.notes .component_base.notes .notesText p.bold span.nobold.italic,.mobile.universal .component_container.notes .component_base.notes .notesText p.italic,.mobile.universal .component_container.notes .component_base.notes .notesText p.bold.italic span.nobold {font-weight: normal;font-style: italic;}.mobile.universal .component_container.notes .component_base.notes .notesText p span.bold.italic,.mobile.universal .component_container.notes .component_base.notes .notesText p.bold span.italic,.mobile.universal .component_container.notes .component_base.notes .notesText p.italic span.bold,.mobile.universal .component_container.notes .component_base.notes .notesText p.bold.italic {font-weight: bold;font-style: italic;}.mobile.universal .tap_area {position: absolute;left: 0;top: 0;right: 0;bottom: 0;}.mobile.universal .title {position: absolute;margin-left: 0;}.mobile.universal .title .misc {height: 100%;}.mobile.universal .title .misc .buttons_container_right,.mobile.universal .title .misc .buttons_container_left {height: 100%;}.mobile.universal .title .misc .buttons_container_right .separator_container,.mobile.universal .title .misc .buttons_container_left .separator_container {position: relative;height: 100%;width: 46px;}.mobile.universal .title .misc .buttons_container_right .separator_container .separator,.mobile.universal .title .misc .buttons_container_left .separator_container .separator {position: absolute;margin-top: auto;margin-bottom: auto;top: 0;bottom: 0;}.mobile.universal .title .misc .buttons_container_right .component_container,.mobile.universal .title .misc .buttons_container_left .component_container {height: 100%;}.mobile.universal .title .misc .buttons_container_right .component_container button,.mobile.universal .title .misc .buttons_container_left .component_container button {height: 100%;}.mobile.universal .title .misc .buttons_container_left .separator_container {float: left;}.mobile.universal .title .misc .buttons_container_right .separator_container {float: right;}.mobile.universal .content .title {margin-left: 0;margin-top: 0;}.mobile.universal .control_panel {height: 56px;position: absolute;margin-left: 0;width: 100%;}.mobile.universal .control_panel .hbox {position: absolute;top: 0;bottom: 0;margin: auto;}.mobile.universal .control_panel .hbox.right {top: 10px;}.mobile.universal .control_panel .hbox.left {top: 10px;}.mobile.universal .control_panel .hbox.left .progressbar {margin-left: 7px;margin-right: 19px;}.mobile.universal .control_panel[disabled] button {color: __button_content_disabled__ !important;}.mobile.universal .control_panel[disabled] button.cc {background-image: url("+ a[24]+") !important;}.mobile.universal .control_panel[disabled] button.replay {background-image: url("+a[25]+") !important;}.mobile.universal .control_panel[disabled] button.fullscreen {background-image: url("+a[26]+") !important;}.mobile.universal .control_panel .component_container.next svg path, .mobile.universal .control_panel .component_container.next:hover svg path, .mobile.universal .control_panel .component_container.next:active svg path,.mobile.universal .control_panel .component_container.prev svg path,.mobile.universal .control_panel .component_container.prev:hover svg path,.mobile.universal .control_panel .component_container.prev:active svg path {fill: __button_face_normal__;}.mobile.universal .control_panel .component_container.next.disabled svg path,.mobile.universal .control_panel .component_container.prev.disabled svg path {fill: __button_face_normal__ !important;}.mobile.universal .control_panel .component_container.next.active svg path, .mobile.universal .control_panel .component_container.next.active:hover svg path, .mobile.universal .control_panel .component_container.next.active:active svg path,.mobile.universal .control_panel .component_container.prev.active svg path,.mobile.universal .control_panel .component_container.prev.active:hover svg path,.mobile.universal .control_panel .component_container.prev.active:active svg path {fill: __button_face_over__;}.mobile.universal .control_panel button.replay {border-radius: 5px;}.mobile.universal .control_panel button.replay, .mobile.universal .control_panel button.replay.mobile:hover, .mobile.universal .control_panel button.replay.mobile:active {background: __button_face_normal__ url("+ a[27]+") no-repeat center;}.mobile.universal .control_panel button.replay:hover, .mobile.universal .control_panel button.replay:active, .mobile.universal .control_panel button.replay.mobile.active, .mobile.universal .control_panel button.replay.selected {background: __button_face_over__ url("+a[28]+") no-repeat center;}.mobile.universal .control_panel button.replay.mobile.active[disabled], .mobile.universal .control_panel button.replay:hover[disabled], .mobile.universal .control_panel button.replay:active[disabled], .mobile.universal .control_panel button.replay.selected[disabled], .mobile.universal .control_panel button.replay[disabled] {background-color: __button_face_normal__;}.mobile.universal .control_panel .component_container:focus > button.replay {background: __button_face_over__ url("+ a[28]+") no-repeat center;}.mobile.universal .control_panel button.cc {border-radius: 5px;}.mobile.universal .control_panel button.cc, .mobile.universal .control_panel button.cc.mobile:hover, .mobile.universal .control_panel button.cc.mobile:active {background: __button_face_normal__ url("+a[29]+") no-repeat center;}.mobile.universal .control_panel button.cc:hover, .mobile.universal .control_panel button.cc:active, .mobile.universal .control_panel button.cc.mobile.active, .mobile.universal .control_panel button.cc.selected {background: __button_face_over__ url("+ a[30]+") no-repeat center;}.mobile.universal .control_panel button.cc.mobile.active[disabled], .mobile.universal .control_panel button.cc:hover[disabled], .mobile.universal .control_panel button.cc:active[disabled], .mobile.universal .control_panel button.cc.selected[disabled], .mobile.universal .control_panel button.cc[disabled] {background-color: __button_face_normal__;}.mobile.universal .control_panel .component_container:focus > button.cc {background: __button_face_over__ url("+a[30]+") no-repeat center;}.mobile.universal .control_panel button.fullscreen {border-radius: 5px;}.mobile.universal .control_panel button.fullscreen, .mobile.universal .control_panel button.fullscreen.mobile:hover, .mobile.universal .control_panel button.fullscreen.mobile:active {background: __button_face_normal__ url("+ a[31]+") no-repeat center;}.mobile.universal .control_panel button.fullscreen:hover, .mobile.universal .control_panel button.fullscreen:active, .mobile.universal .control_panel button.fullscreen.mobile.active, .mobile.universal .control_panel button.fullscreen.selected {background: __button_face_over__ url("+a[32]+") no-repeat center;}.mobile.universal .control_panel button.fullscreen.mobile.active[disabled], .mobile.universal .control_panel button.fullscreen:hover[disabled], .mobile.universal .control_panel button.fullscreen:active[disabled], .mobile.universal .control_panel button.fullscreen.selected[disabled], .mobile.universal .control_panel button.fullscreen[disabled] {background-color: __button_face_normal__;}.mobile.universal .control_panel .component_container:focus > button.fullscreen {background: __button_face_over__ url("+ a[32]+") no-repeat center;}.mobile.universal .control_panel button {font-size: 14px;}.mobile.universal .control_panel button.outline {height: 36px;}.mobile.universal .control_panel button.play {background-image: url("+a[33]+");background-repeat: no-repeat;background-position: center;}.mobile.universal .control_panel button.play[disabled] {background-image: url("+a[34]+");}.mobile.universal .control_panel button.play.active {background-image: url("+a[35]+");background-repeat: no-repeat;background-position: center;}.mobile.universal .control_panel button.play.selected {background-image: url("+ a[36]+");}.mobile.universal .control_panel button.play.selected.active {background-image: url("+a[37]+");}.mobile.universal .control_panel button.fullscreen {background-repeat: no-repeat;background-position: center;}.mobile.universal .control_panel button.fullscreen[disabled] {background-image: url("+a[26]+");}.mobile.universal .control_panel button.fullscreen.active {background-image: url("+a[32]+");}.mobile.universal .control_panel button.fullscreen, .mobile.universal .control_panel button.fullscreen:hover, .mobile.universal .control_panel button.fullscreen:active {background-image: url("+ a[31]+");background-color: __button_face_normal__;}.mobile.universal .control_panel button.fullscreen.disabled svg path {fill: __button_face_normal__ !important;}.mobile.universal .control_panel button.fullscreen.active, .mobile.universal .control_panel button.fullscreen.active:hover, .mobile.universal .control_panel button.fullscreen.active:active {background-image: url("+a[32]+");background-color: __button_face_over__;}.mobile.universal .control_panel button.fullscreen.selected, .mobile.universal .control_panel button.fullscreen.selected:hover, .mobile.universal .control_panel button.fullscreen.selected:active {background-image: url("+ a[38]+");background-color: __button_face_normal__;}.mobile.universal .control_panel button.fullscreen.selected.active, .mobile.universal .control_panel button.fullscreen.selected.active:hover, .mobile.universal .control_panel button.fullscreen.selected.active:active {background-image: url("+a[39]+");background-color: __button_face_over__;}.mobile.universal .control_panel button.prev, .mobile.universal .control_panel button.next {min-width: 60px;height: 36px;padding-top: 8px;}.mobile.universal .control_panel button.prev {padding-left: 20px;padding-right: 14px;}.mobile.universal .control_panel button.next {padding-left: 14px;padding-right: 20px;}.mobile.universal .control_panel .component_container:focus > button.fullscreen {background: __button_face_normal__ url("+ a[32]+") no-repeat center !important;}.mobile.universal .control_panel .component_container:focus > button.fullscreen.selected {background: __button_face_normal__ url("+a[39]+") no-repeat center !important;}.mobile.universal .control_panel .play {width: 49px;height: 36px;}.mobile.universal .control_panel .cc,.mobile.universal .control_panel .replay,.mobile.universal .control_panel .fullscreen {width: 32px;height: 32px;}.mobile.universal .control_panel .progressbar {height: 30px;width: 191px;top: 0;}.mobile.universal .control_panel .progressbar .thumb {width: 22px;height: 22px;background: url("+ a[40]+");bottom: -7px;position: absolute;margin-left: -10px;}.mobile.universal .control_panel .progressbar .thumb.center {bottom: 2px;}.mobile.universal .control_panel .progressbar .label {top: -2px;}.mobile.universal .content_area.portrait > div,.mobile.universal .content_area.portrait > aside {margin-top: 0 !important;margin-bottom: 0 !important;margin-left: auto;margin-right: auto;}.mobile.universal .content_area.portrait .component_container.maximized {display: none !important;}.mobile.universal .content_area button.maximized,.mobile.universal .content_area button.maximized:hover {background: url("+ a[41]+");width: 36px;height: 36px;}.mobile.universal .content_area .side_panel .tabs button.tab {height: 34px;padding-top: 3px;}.volume_control {position: relative;-webkit-transform: translate(0, 0);}.volume_control button.mute {background: url("+a[42]+") no-repeat center;border: 0;}.volume_control button.mute.selected {background: url("+a[43]+") no-repeat center;left: 3px;}.volume_control .mute {position: absolute;}.volume_control .volumeSlider {position: absolute;}.volume_control .volumeSlider.muted .progress {opacity: 0;}.volume_control .volumeSlider.muted .thumb {opacity: 0.25;}.volume_control .volumeSlider .back {background-color: __progress_background__;width: 6px;border-radius: 2px;position: absolute;left: 0;right: 0;margin: auto;}.volume_control .volumeSlider .progress {background: __progress_playback__;width: 6px;border-radius: 2px;position: absolute;left: 0;right: 0;bottom: 0;margin: auto;}.volume_control .volumeSlider .thumb {background: url("+ a[44]+");position: absolute;left: 0;right: 0;width: 16px;height: 7px;margin: auto;}.treecontrol {background-color: __popup_background__;position: absolute;left: 10px;top: 10px;}.treecontrol > div {position: relative;}.treecontrol:focus {outline: 1px dashed __listItem_face_pressed__;}.treecontrol .component_container .component_base {padding-top: 9px;padding-bottom: 9px;}.treecontrol .component_container .vscrollbar {top: 9px;bottom: 9px;}.treecontrol .component_container .vscrollbar .up {height: 9px;}.treecontrol .component_container .vscrollbar .down {height: 9px;}.treecontrol.loading::after {content: attr(loadingI18N);position: absolute;top: 0;right: 10px;bottom: 0;left: 10px;margin: auto;text-align: center;line-height: 30px;height: 30px;font-size: 14px;font-family: Open Sans, Arial, sans-serif;color: #969696;border-radius: 5px;background: #FFFFFF;}.treecontrol .treenode {position: relative;}.treecontrol .treenode.hidden {display: none;}.treecontrol .treenode.hidden.hidden_image {display: block;}.treecontrol .treenode.hidden.hidden_image .thumb {background: #FFFFFF !important;}.treecontrol .treenode .text {font-family: PFn;color: __text__;font-size: 12px;width: 100%;position: absolute;overflow: hidden;vertical-align: middle;word-wrap: break-word;padding-left: 5px;}.treecontrol .treenode .textContainer {overflow: hidden;}.treecontrol .treenode.over.viewed .text, .treecontrol .treenode.over .text {color: __listItem_label_over__;}.treecontrol .treenode.over.viewed > div.open, .treecontrol .treenode.over > div.open {background: url("+ a[45]+") no-repeat center;position: absolute;}.treecontrol .treenode.selected .text, .treecontrol .treenode.selected.viewed .text, .treecontrol .treenode.over.selected.viewed .text, .treecontrol .treenode.over.selected .text {color: __listItem_label_pressed__;width: 100%;position: absolute;overflow: hidden;}.treecontrol .treenode.selected > div.textContainer, .treecontrol .treenode.selected.viewed > div.textContainer, .treecontrol .treenode.over.selected.viewed > div.textContainer, .treecontrol .treenode.over.selected > div.textContainer {position: absolute;}.treecontrol .treenode.selected > div.open, .treecontrol .treenode.selected.viewed > div.open, .treecontrol .treenode.over.selected.viewed > div.open, .treecontrol .treenode.over.selected > div.open {background: url("+ a[46]+") no-repeat center;position: absolute;}.treecontrol .treenode.selected > div.nodeContentBase, .treecontrol .treenode.selected.viewed > div.nodeContentBase, .treecontrol .treenode.over.selected.viewed > div.nodeContentBase, .treecontrol .treenode.over.selected > div.nodeContentBase {border-radius: 4px;background-color: __listItem_face_pressed__;position: relative;}.treecontrol .treenode.viewed .text {color: __listItem_label_visited__;}.treecontrol .treenode.over > div.nodeContentBase {border-radius: 3px;background-color: __listItem_face_over__;position: relative;}.treecontrol .treenode > div.open {width: 20px;height: 20px;cursor: pointer;}.treecontrol .treenode > div.open.component_container {left: 0;top: 0;width: 20px;height: 20px;position: absolute;padding-top: 5px;padding-left: 5px;}.treecontrol .treenode > div.open {background: url("+ a[47]+") no-repeat center;position: absolute;}.treecontrol .treenode .thumb {position: absolute;outline: 1px solid rgba(0, 0, 0, 0.25);}.treecontrol .treenode > div.nodeContentBase {border-radius: 3px;position: relative;}.opera .treecontrol .treenode .thumb {outline: 0;overflow: hidden;border: 1px solid rgba(0, 0, 0, 0.25);}.slideList {background-color: __popup_background__;position: absolute;left: 10px;top: 10px;}.slideList > div {position: relative;}.slideList .slideItem {position: relative;}.slideList .slideItem .text {font-family: PFn;color: __text__;font-size: 12px;width: 100%;position: relative;overflow: hidden;vertical-align: middle;padding: 7px;}.slideList .slideItem.over .text {color: __listItem_label_over__;}.slideList .slideItem.over > div.textContainer {position: relative;border-radius: 3px;background-color: __listItem_face_over__;}.slideList .slideItem.selected .text, .slideList .slideItem.over.selected .text {color: __listItem_label_pressed__;width: 100%;position: relative;overflow: hidden;}.slideList .slideItem.selected > div.textContainer, .slideList .slideItem.over.selected > div.textContainer {position: relative;border-radius: 3px;background-color: __listItem_face_pressed__;}.slideList .slideItem.viewed .text, .slideList .slideItem.over.viewed .text, .slideList .slideItem.over.selected.viewed .text {color: __listItem_label_visited__;}.slideList .slideItem.viewed > div.textContainer, .slideList .slideItem.over.viewed > div.textContainer, .slideList .slideItem.over.selected.viewed > div.textContainer {position: relative;}/* outline tab */.universal .outline .search_field {font-family: PFni;position: absolute;border: 1px solid rgba(0, 0, 0, 0.2);background-color: rgba(255, 255, 255, 0.5);border-radius: 2px;padding-left: 12px;padding-right: 29px;margin: 0;font-size: 14px;color: #4D4D4D;}.universal .outline .search_field.focused {font-style: normal;color: #000000;-webkit-user-select: text;-moz-user-select: text;-ms-user-select: text;user-select: text;-webkit-touch-callout: default;}.universal .outline .search_field.active {font-style: normal;color: #000000;font-family: Open Sans, Arial, sans-serif;}.universal .outline button.clear_search {background: url("+ a[48]+") no-repeat center;}.universal .outline .component_container.search_button {top: 2px;right: 2px;}.universal .outline button.search_button {background-image: url("+a[49]+");background-repeat: no-repeat;background-position: center;background-color: transparent;}.universal .outline .search_button {width: 22px;height: 26px;}.universal .outline .search_result {font-family: PFnb;position: absolute;font-size: 12px;color: __text__;}/* presenter info panel */.side_panel .presenterinfo_panel {background: __popup_background__;border-radius: 4px;width: 100%;}.side_panel .presenterinfo_panel .bioButton {position: absolute;cursor: pointer;}.side_panel .presenterinfo_panel .bioButton:focus .bio.button::after {content: '';position: absolute;top: 2px;right: 2px;bottom: 2px;left: 2px;border: 1px dashed __text__;}.side_panel .presenterinfo_panel .bioButton .bio.label {position: relative;vertical-align: middle;text-overflow: ellipsis;display: block !important;line-height: 20px;word-wrap: normal;}.side_panel .presenterinfo_panel .bioButton .bio.button {background: url("+ a[50]+") no-repeat center;position: relative;float: left;}.side_panel .presenterinfo_panel .bioButton .bio.button.selected {background: url("+a[51]+") no-repeat center;}.presenterinfo_panel .label {font-family: PFn;display: table-cell;position: absolute;word-wrap: break-word;color: __text__;overflow: hidden;text-overflow: ellipsis;}.presenterinfo_panel .phone {font-size: 12px;overflow: hidden;word-wrap: normal;font-weight: bold;}.presenterinfo_panel div:focus > .email,.presenterinfo_panel div:focus > .web_site {outline: 1px dashed __text__;}.presenterinfo_panel .email,.presenterinfo_panel .web_site {font-size: 12px;line-height: 16px;padding-left: 2px;padding-right: 2px;color: __hyperlink__;overflow: hidden;word-wrap: normal;}.presenterinfo_panel .presenterPhoto {margin: 13px;position: absolute;}.presenterinfo_panel .bioContent.label {display: block !important;position: relative !important;line-height: 22px;white-space: pre-line;padding-right: 6px;}.presenterinfo_panel .component_container.bioScrollPane .vscrollbar {right: -6px;}.component_container.attachments_panel {position: relative !important;}/* attachments panel */.attachments_panel {position: relative;width: 292px;}.attachments_panel .component_base {position: relative;margin-top: -1px;}.attachments_panel .separator {background: rgba(0, 0, 0, 0.1);height: 1px;position: relative;margin: 0 11px;}.attachments_panel .separator:last-child {position: absolute;left: 0;right: 0;}.attachments_panel .attachItem a {font-family: PFn;position: relative;display: block;text-decoration: none;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;font-size: 12px;color: __text__;margin: 0 12px 0 15px;padding: 14px 3px 15px 26px;background: url("+ a[52]+") no-repeat left;}.attachments_panel .attachItem:focus a::after {content: '';position: absolute;top: 14px;bottom: 15px;left: 24px;right: 1px;outline: 1px dashed __text__;}.attachments_panel .attachItem:hover a {text-decoration: underline;}.attachments_panel .attachItem.web a {background-image: url("+a[53]+");color: __hyperlink__;}.attachments_panel .attachItem:first-child a {margin-top: 13px;}.attachments_panel .attachItem:last-child a {margin-bottom: 13px;}/* marker panel */.markerPanel {padding: 6px;width: 143px;}.markerPanel .markerPanelItem {font-family: PFn;font-size: 12px;position: relative;padding: 5px 5px 5px 32px;opacity: 1;}.markerPanel .markerPanelItem.pen, .markerPanel .markerPanelItem.pen.mobile:hover {background: url("+ a[54]+") no-repeat 8px;}.markerPanel .markerPanelItem.pen:hover, .markerPanel .markerPanelItem.pen:focus {background-image: url("+a[55]+");}.markerPanel .markerPanelItem.pen:active {background-image: url("+a[56]+");}.markerPanel .markerPanelItem.highlighter, .markerPanel .markerPanelItem.highlighter.mobile:hover {background: url("+a[57]+") no-repeat 8px;}.markerPanel .markerPanelItem.highlighter:hover, .markerPanel .markerPanelItem.highlighter:focus {background-image: url("+a[58]+");}.markerPanel .markerPanelItem.highlighter:active {background-image: url("+ a[59]+");}.markerPanel .markerPanelItem.eraser, .markerPanel .markerPanelItem.eraser.mobile:hover {background: url("+a[60]+") no-repeat 8px;}.markerPanel .markerPanelItem.eraser:hover, .markerPanel .markerPanelItem.eraser:focus {background-image: url("+a[61]+");}.markerPanel .markerPanelItem.eraser:active {background-image: url("+a[62]+");}.markerPanel .markerPanelItem, .markerPanel .markerPanelItem.mobile:hover {color: __text__;background-color: transparent;}.markerPanel .markerPanelItem:hover, .markerPanel .markerPanelItem:focus {border-radius: 5px;background-color: __listItem_face_over__;color: __listItem_label_over__;}.markerPanel .markerPanelItem:active {border-radius: 5px;background-color: __listItem_face_pressed__;color: __listItem_label_pressed__;}.markerPanel .markerPanelItem.mobile[disabled]:hover, .markerPanel .markerPanelItem[disabled]:hover, .markerPanel .markerPanelItem[disabled]:focus, .markerPanel .markerPanelItem[disabled]:active, .markerPanel .markerPanelItem[disabled] {opacity: 0.5;background-color: __popup_background__;color: __text__;}.markerPanel .markerPanelItem.selected {border-radius: 5px;background-color: __listItem_face_pressed__;color: __listItem_label_pressed__;}.markerPanel .separator {position: relative;background: rgba(0, 0, 0, 0.1);height: 1px;margin-top: 3px;margin-bottom: 3px;}.mobile .markerPanel .markerPanelItem {padding: 9px 5px 9px 27px;}.mobile .bioContent.label {padding-right: 12px;}.mobile .component_container.bioScrollPane .vscrollbar {right: 0;}.android_default * {text-rendering: auto !important;}body {margin: 0;padding: 0;overflow: hidden;cursor: default;-ms-touch-action: none;touch-action: none;-webkit-tap-highlight-color: transparent;}body .password_form,body .info_panel {position: absolute;background: #F7F7F7;border-radius: 4px;width: 513px;height: 210px;font-family: Arial;}body .password_form *,body .info_panel * {box-sizing: border-box;}body .password_form .password_label {position: absolute;color: #3A3A3A;font-size: 15px;top: 63px;left: 55px;}body .password_form .wrong_password_label {position: absolute;color: #DD4A37;font-size: 12px;top: 131px;left: 55px;}body .password_form input {position: absolute;width: 330px;height: 32px;background: #FFFFFF;border: 1px solid #D1D2D4;padding: 1px;border-radius: 2px;font-size: 18px;color: #231F20;left: 54px;top: 94px;padding-left: 8px;}body .password_form .btn_ok {position: absolute;width: 60px;height: 32px;opacity: 0.99;}body .password_form .btn_ok.component_container {top: 94px;right: 55px;}body .password_form .btn_ok button {border: transparent;background: transparent;color: #343434;font-family: Arial;font-size: 15px;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);}body .password_form .btn_ok button::before {background: -webkit-linear-gradient(top, #D3D3D3, #BABABA);background: linear-gradient(to bottom, #D3D3D3, #BABABA);position: absolute;content: '';top: 0;right: 0;bottom: 0;left: 0;border-radius: 4px;z-index: -1;}body .password_form .btn_ok button::after {background: -webkit-linear-gradient(top, #DCDCDC, #D1D1D1);background: linear-gradient(to bottom, #DCDCDC, #D1D1D1);position: absolute;content: '';top: 1px;right: 1px;bottom: 1px;left: 1px;border-radius: 4px;z-index: -1;}body .info_panel {display: table;}body .info_panel .label {position: static;display: table-cell;vertical-align: middle;width: 100%;padding-left: 120px;padding-right: 40px;color: #3A3A3A;font-size: 15px;}body .info_panel::after {position: absolute;content: '';width: 63px;height: 63px;top: 73px;left: 46px;}body .info_panel.domain::after {background: transparent url("+ a[63]+");}body .info_panel.time::after {background: transparent url("+a[64]+");}.component_base,.component_container {position: absolute;}:focus {outline: none;}::-moz-focus-inner {border: 0;}input {-webkit-appearance: none;-moz-appearance: none;appearance: none;}button {cursor: pointer;margin: 0;border: 0;}button[disabled] {cursor: default;}.__player_view_id__ .slide {white-space: nowrap;font-size: 0;}.__player_view_id__ .slide a {text-decoration: none;cursor: pointer;}.__player_view_id__ .slide a img {border: 0;}.__player_view_id__ .slide * {-webkit-transform-origin: 0 0;-ms-transform-origin: 0 0;transform-origin: 0 0;}.__player_view_id__ .slide.relpos,.__player_view_id__ .slide .relpos {position: relative !important;vertical-align: top;}.__player_view_id__ .slide.kern,.__player_view_id__ .slide .kern {text-rendering: optimizeLegibility;font-feature-settings: 'kern' 1;}.__player_view_id__ .slide.nokern,.__player_view_id__ .slide .nokern {text-rendering: optimizeSpeed;font-feature-settings: 'kern' 0;}.__player_view_id__.ie * {font-feature-settings: normal !important;}.__player_view_id__ .fullscreen {-webkit-transform: none !important;-ms-transform: none !important;transform: none !important;top: 0 !important;left: 0 !important;}.__player_view_id__ .fullscreen > video,.__player_view_id__ .fullscreen .video_player {background-color: black;width: __slide_width__ !important;height: __slide_height__ !important;z-index: 100;-webkit-transform: none !important;-ms-transform: none !important;transform: none !important;}.__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen {background: url("+ a[65]+") no-repeat;}.__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:hover {background: url("+a[66]+") no-repeat;}.__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:active {background: url("+a[67]+") no-repeat;}.__player_view_id__ .video_player video {width: 100%;height: 100%;margin: auto;top: 0;right: 0;bottom: 0;left: 0;}.__player_view_id__ .video_player.poster_frame_hide_video video {display: none;}.__player_view_id__ .video_player.poster_frame video {opacity: 0;}.__player_view_id__ .video_player.poster_frame_hide_video .poster, .__player_view_id__ .video_player.poster_frame .poster {position: absolute;width: 100%;height: 100%;}.__player_view_id__ .video_player .controls {height: 36px;background: rgba(45, 50, 55, 0.85098);border: 1px solid #444648;cursor: default;border-radius: 4px;}.__player_view_id__ .video_player .controls,.__player_view_id__ .video_player .controls * {-webkit-backface-visibility: hidden;backface-visibility: hidden;}.__player_view_id__ .video_player .controls .progress {background-color: #75787A;height: 14px;left: 62px;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;cursor: pointer;}.__player_view_id__ .video_player .controls .progress .bookmark {width: 10px;height: 10px;margin-top: -5px;margin-left: -5px;top: 50%;background: url("+ a[68]+") no-repeat;cursor: pointer;}.__player_view_id__ .video_player .controls .progress .bookmark:hover, .__player_view_id__ .video_player .controls .progress .bookmark:active {background: url("+a[69]+") no-repeat;}.__player_view_id__ .video_player .controls .progress .loading {background-color: #B1B3B5;height: 100%;}.__player_view_id__ .video_player .controls .progress .playing {background-color: #FFFFFF;height: 100%;}.__player_view_id__ .video_player .controls .progress .tooltip {background: url("+ a[70]+") no-repeat;width: 60px;height: 25px;top: -33px;margin-left: -30px;font-family: Arial;font-size: 12px;padding-top: 2px;text-align: center;}.__player_view_id__ .video_player .controls .volume_popup {border-radius: 3px;background: rgba(45, 50, 55, 0.85098);top: -67px;right: 55px;padding: 8px;box-sizing: border-box;width: 28px;height: 64px;}.__player_view_id__ .video_player .controls .volume_popup .volume {background: url("+a[71]+");position: relative;cursor: pointer;width: 12px;height: 48px;}.__player_view_id__ .video_player .controls .volume_popup .volume .back {background: url("+ a[72]+");width: 100%;}.__player_view_id__ .video_player .controls button {width: 100%;height: 100%;}.__player_view_id__ .video_player .controls button.mute {background: url("+a[73]+");}.__player_view_id__ .video_player .controls button.mute:hover {background: url("+a[74]+");}.__player_view_id__ .video_player .controls button.mute:active {background: url("+a[75]+");}.__player_view_id__ .video_player .controls button.mute.selected {background: url("+a[76]+");}.__player_view_id__ .video_player .controls button.mute.selected:hover {background: url("+ a[77]+");}.__player_view_id__ .video_player .controls button.mute.selected:active {background: url("+a[78]+");}.__player_view_id__ .video_player .controls button.play {background: url("+a[79]+") no-repeat;}.__player_view_id__ .video_player .controls button.play:hover {background: url("+a[80]+") no-repeat;}.__player_view_id__ .video_player .controls button.play:active {background: url("+a[81]+") no-repeat;}.__player_view_id__ .video_player .controls button.play.selected {background: url("+a[82]+") no-repeat;}.__player_view_id__ .video_player .controls button.play.selected:hover {background: url("+ a[83]+") no-repeat;}.__player_view_id__ .video_player .controls button.play.selected:active {background: url("+a[84]+") no-repeat;}.__player_view_id__ .video_player .controls button.play::after {background: url("+a[85]+");width: 1px;height: 32px;right: 0;top: 1px;position: absolute;content: '';}.__player_view_id__ .video_player .controls button.toggle_fullscreen {background: url("+a[86]+") no-repeat;}.__player_view_id__ .video_player .controls button.toggle_fullscreen:hover {background: url("+a[87]+ ") no-repeat;}.__player_view_id__ .video_player .controls button.toggle_fullscreen:active {background: url("+a[88]+") no-repeat;}.__player_view_id__ .video_player .controls button.toggle_fullscreen::before {background: url("+a[85]+") no-repeat;width: 1px;height: 32px;left: 0;top: 1px;position: absolute;content: '';}.__player_view_id__ .video_player .controls .component_container.toggle_fullscreen, .__player_view_id__ .video_player .controls .component_container.play {width: 52px;height: 34px;}.__player_view_id__ .video_player .controls .component_container.toggle_fullscreen {right: -1px;}.__player_view_id__ .video_player .controls .component_container.mute {width: 22px;height: 22px;right: 58px;top: 6px;}.popup_layer {position: absolute;}.popup_layer .modal_layer {background: #000000;opacity: 0.4;z-index: 10;width: 100%;height: 100%;}.popup_layer .message_box,.popup_layer .confirm_window {background: #FFFFFF;border-radius: 5px;border: 1px solid rgba(0, 0, 0, 0.75);width: 357px;height: 150px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;margin: auto;z-index: 10;}.popup_layer .message_box::after,.popup_layer .confirm_window::after {background-color: #E6E6E6;width: 100%;height: 1px;top: 30px;position: absolute;content: '';}.popup_layer .message_box .title,.popup_layer .message_box .message,.popup_layer .confirm_window .title,.popup_layer .confirm_window .message {font-family: Helvetica, sans-serif;font-size: 14px;color: #323232;}.popup_layer .message_box .title,.popup_layer .confirm_window .title {position: absolute;left: 13px;top: 7px;font-weight: bold;background: transparent;}.popup_layer .message_box .message,.popup_layer .confirm_window .message {position: absolute;top: 47px;left: 69px;margin-right: 25px;}.popup_layer .message_box .message::before,.popup_layer .confirm_window .message::before {background-color: #E6E6E6;width: 35px;height: 35px;left: -45px;position: absolute;content: '';}.popup_layer .message_box button,.popup_layer .confirm_window button {font-size: 14px;border-radius: 5px;color: #323232;width: 68px;height: 30px;}.popup_layer .message_box button, .popup_layer .message_box button.mobile:hover, .popup_layer .message_box button.mobile:active,.popup_layer .confirm_window button,.popup_layer .confirm_window button.mobile:hover,.popup_layer .confirm_window button.mobile:active {background: #D4D4D4;}.popup_layer .message_box button:hover, .popup_layer .message_box button:active, .popup_layer .message_box button.mobile.active,.popup_layer .confirm_window button:hover,.popup_layer .confirm_window button:active,.popup_layer .confirm_window button.mobile.active {background: #B8B8B8;}.popup_layer .confirm_window button.btn_yes {left: 101px;top: 98px;}.popup_layer .confirm_window button.btn_no {left: 181px;top: 98px;}.popup_layer .confirm_window .message::before {background: url("+ a[89]+");}.popup_layer .message_box button.btn_ok {left: 141px;top: 98px;}.popup_layer .message_box .message::before {background: url("+a[90]+");}.transitionSlide.paused * {-webkit-animation-play-state: paused !important;animation-play-state: paused !important;}.framesLayer .video_player {-webkit-transform-origin: 0 0;-ms-transform-origin: 0 0;transform-origin: 0 0;}.trial_banner .content {display: block;}.trial_banner .content_hover {display: none;}.trial_banner .days_remaining {position: absolute !important;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;}.trial_banner:hover .content {display: none;}.trial_banner:hover .content_hover {display: block;}"}(), e;for(e in a)if(a.hasOwnProperty(e))var g="__"+e.replace(RegExp("\\.","g"),"_")+"__",d=d.replace(new RegExp(g,"g"),a[e]);for(var h in b)b.hasOwnProperty(h)&&(d=d.replace(new RegExp(h,"g"),b[h]));d=d.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.It);return gi(d)}; hi.prototype.It=function(a,b,c){return"url(data:image/svg+xml;base64,"+gg('\r\n\r\n\r\n\r\n\r\n')+")"};function ii(a){return(a+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}function ji(a,b,c){for(var d in b)if(b.hasOwnProperty(d)){var e=b[d];c&&(d=c(d));a=a.replace(new RegExp(d,"g"),e)}return a};function ki(a){this.kj=a}function li(a,b,c){if(a.kj.hasOwnProperty(b))b=a.kj[b],p(c)&&(b=ji(b,c,a.zD));else throw Error("unknown template id: "+b);return te(Yd(b))}ki.prototype.zD=function(a){return"{"+a+"}"};function mi(a){this.kj=a}v(mi,ki);function ni(a,b){return H?li(a,"next_btn_mobile",{WIDTH:b,CENTER_WIDTH:b-20}):li(a,"next_btn",{WIDTH:b,CENTER_WIDTH:b-18})}function oi(a,b){return H?li(a,"prev_btn_mobile",{WIDTH:b,CENTER_WIDTH:b-20}):li(a,"prev_btn",{WIDTH:b,CENTER_WIDTH:b-18})}function pi(a,b){return li(a,"play_pause_btn",{"button.content.normal":b["button.content.normal"],"button.content.disabled":b["button.content.disabled"],"button.content.over":b["button.content.over"]})} mi.prototype.C_=function(a){return H?li(this,"tab1_mobile",{WIDTH:a,CENTER_WIDTH:a-28}):li(this,"tab1",{WIDTH:a,CENTER_WIDTH:a-24})};mi.prototype.F_=function(a){return H?li(this,"tab2_mobile",{WIDTH:a}):li(this,"tab2",{WIDTH:a})};function qi(a){if(a.classList)return a.classList;a=a.className;return xa(a)&&a.match(/\S+/g)||[]}function ri(a,b){return a.classList?a.classList.contains(b):Hb(qi(a),b)}function si(a,b){a.classList?a.classList.add(b):ri(a,b)||(a.className+=0document.documentElement.clientHeight+200?a.xP=!0:a.xP&&Pg?(a.xP=!1,document.documentElement.clientHeight>a.Mx&&Ng(function(){Wi(this,b)},a,200)):p(a.Uq)||(Vi(a,b||!1),kh?a.tC||Li(document.body):Zf&&(c||window.scrollTo(0,0)))} function Vi(a,b){if(Sg||$g||jc&&!H){var c=window.window.pageYOffset;document.body.style.display="none"}if(Xf||H&&ch)document.body.style.display="none";var d=document.documentElement.clientWidth,e=qh||Yf?window.innerHeight:document.documentElement.clientHeight;document.body.style.display="";H?Sg&&0document.documentElement.clientHeight}f.MK=function(a,b,c){if(a||!(!Fh&&qh&&Yf&&document.documentElement.clientHeight>window.innerHeight||Tg&&b==this.wt&&c==this.Mx))this.wt=b,this.Mx=c,this.uG.F(b,c),hh&&(bd&&(d=k,e=h)}return e?(e.PA(b,c),!0):!1}function ej(a,b){a.hi[b.ws()]=b}function kj(a,b){var c=b.ws();c in a.hi&&delete a.hi[c]}function lj(a,b){return b in a.hi?a.hi[b]:null};function mj(){this.pA=new I;this.QK=new I;this.hQ=new I;this.gQ=new I}f=mj.prototype;f.kl=null;f.BA=!1;f.ws=function(){return"tap"};f.kB=function(a,b){if("touchEnd"==a)return this.BA?1:0;var c=new jd(b.touches()[0].clientX(),b.touches()[0].clientY());if("touchStart"==a&&1==b.touches().length)return this.kl=c,this.BA=!0,this.hQ.F(),yh||z(window,"scroll",this.Dp,!1,this),0;if(!this.kl)return 0;nd(c,this.kl)<=(kh?50:200)||this.BA&&this.Dp();return 0}; f.PA=function(a,b){this.pA.F(this.kl.x,this.kl.y,b.QA());var c=Ha();this.aM&&1E3>c-this.aM&&nd(this.lV,this.kl)<=(kh?50:200)&&this.QK.F(this.kl.x,this.kl.y,b.QA());this.aM=c;this.lV=this.kl};f.Dp=function(){bd(window,"scroll",this.Dp,!1,this);this.BA=!1;this.gQ.F()};function nj(a){Ae(a)?this.I=this.ib=a:(this.ib=pe("DIV",oj("component_container",a)),this.I=this.BK(oj("component_base",a)),this.ib.appendChild(this.I));this.Cm=[];this.ip=!1;if(lh){var b=new dj(this.displayObject());this.Mf=new Zi;this.Mf.$x.addHandler(function(){1==bi(this.Mf.oj).length&&fj(b)},this);this.Mf.yL.addHandler(function(){0==bi(this.Mf.oj).length&&gj(b)},this);a=new mj;a.pA.addHandler(function(a,b,e){this.Fr(!1);this.ip&&e.preventDefault();this.enabled()&&this.Iq(e)},this);a.gQ.addHandler(function(){this.Fr(!0)}, this);a.hQ.addHandler(function(){this.enabled()&&pj(this)},this);ej(b,a)}else this.ip=!0,this.Mf=new Zi,this.Mf.$x.addHandler(function d(){this.Mf.$x.removeHandler(d,this);var a=z(this.displayObject(),"mouseover",function(){this.enabled()&&0d?d+=1:ga?this.ph:b/a));this.iE=!0}};f.resize=function(a,b){this.Va=a;this.Pa=b;this.RQ.resize(a,b);bf(this.ib,a,b);this.iE=!1}; f.G=function(a){a=a.displayObject();this.displayObject().appendChild(a)};f.removeChild=function(a){a=a.displayObject();a.parentNode==this.displayObject()&&this.displayObject().removeChild(a)};var Rj=window.navigator.msPointerEnabled?"MSPointerDown":lh?"touchstart":"mousedown",Sj=window.navigator.msPointerEnabled?"MSPointerUp":lh?"touchend":"mouseup",Tj=window.navigator.msPointerEnabled?"MSPointerMove":lh?"touchmove":"mousemove";function Uj(a,b){this.Qb=a;this.Eg=b}Uj.prototype.getData=function(a){return null==this.kj?null:this.kj[a]};Uj.prototype.setData=function(a,b){null==this.kj&&(this.kj={});this.kj[a]=b};function Vj(a,b,c){bd(a.Qb,Rj,b,!1,c)}function Wj(a,b){C(a.Qb,"pointer-events",b)}function Xj(a,b){for(var c in b)a.Qb.setAttribute(c,b[c])}Uj.prototype.remove=function(){var a=this.Eg,b=a.gm.indexOf(this);if(-1==b)throw Error();a.gm.splice(b,1);a.Qb.removeChild(this.Qb)};function Yj(a,b,c,d){this.Eg=a;this.xe=b;this.fg=c;this.vl=d?d:window}function Zj(a){z(a.xe.Qb,Rj,a.aF,!1,a);z(a.vl,Sj,a.ON,!1,a);ak(a,function(b){Wj(b,"painted");z(b.Qb,Rj,a.hz,!1,a)})}function bk(a){Vj(a.xe,a.aF,a);bd(a.vl,Sj,a.ON,!1,a);ak(a,function(b){Wj(b,"none");Vj(b,a.hz,a)})}f=Yj.prototype;f.setScale=function(a,b){this.W=new jd(a,b)};f.aF=function(a){this.qm&&this.qm.F();a.preventDefault();a.stopPropagation();z(this.vl,Tj,this.vN,!1,this);this.Xq=this.Ht(a)}; f.ON=function(){bd(this.vl,Tj,this.vN,!1,this);this.pm&&this.pm.F()};f.hz=function(a){var b=a.currentTarget;b&&b instanceof SVGElement&&(this.aF(a),ck(this,b))};f.Ht=function(a){kh?(a=$e(a,this.xe.Qb),a.x/=this.W.x,a.y/=this.W.y):a=new jd(a.clientX,a.clientY);return a}; f.vN=function(a){a=this.Ht(a);for(var b=Math.floor(md(a,this.Xq)),c=a.x-this.Xq.x,d=a.y-this.Xq.y,e=1;e<=b;++e){var g=e/b;a:{var h;h=this.Xq.x+g*c;g=this.Xq.y+g*d;if(kh){var k=this.fg.Qb,l=k.createSVGRect();l.x=h;l.y=g;l.width=1;l.height=1;h=k.getIntersectionList(l,k);if(!h||0==h.length)break a;h=h[h.length-1]}else h=this.vl.document.elementFromPoint(h,g);ck(this,h)}}this.Xq=a}; function ck(a,b){if(null!=b&&b!==a.xe.Qb&&b instanceof SVGElement){var c=dk(a.Eg,b);if(null!=c){var d=c.getData("drawingId");if(null!==d){var e=[];a.Eg.forEach(function(a){a.getData("drawingId")===d&&e.push(a)});for(c=0;cc?[["M",d-5,",",c-10],["L",d+5,",",c-10],["L",e+5,",",g-10],["L",e+5,",",g+10],["L",e-5,",",g+10],["L",d-5,",",c+10]]:[["M",d-5,",",c-10],["L",e-5,",",g-10],["L",e+5,",",g-10],["L",e+5,",",g+10],["L",d+5,",",c+10],["L",d-5,",",c+10]];for(g=0;g< c.length;++g)c[g][1]=Math.min(this.iK.width,c[g][1]),c[g][3]=Math.min(this.iK.height,c[g][3]),c[g]=c[g].join("");this.bR=a;this.dR=b;this.gt(this.At,c.join(""))};f.gt=function(a,b){var c=wk(this.Eg,b);c.setData("drawingId",a);Wj(c,"none");Xj(c,{stroke:"none",fill:"#ffff00"})};f.xI=function(a,b){this.bR=a;this.dR=b;this.At+=1;this.Ew(a,b)};f.save=function(){var a=[];this.Eg.forEach(function(b){a.push([b.getData("drawingId"),b.Qb.getAttribute("d")])});return[this.At,a]}; f.load=function(a){this.Eg.Ui();this.At=a[0];y(a[1],function(a){this.gt(a[0],a[1])},this)};function Bk(a,b,c){nj.call(this);if(ag||Tg)this.ih=B("canvas"),C(this.ih,"position","relative"),this.ih.width=a,this.ih.height=b,this.sM=B("canvas"),this.hM=B("canvas");var d=this.fg=new yk(this.I,a,b),e=document.createElementNS("http://www.w3.org/2000/svg","rect"),g=new Uj(e,d);Xj(g,{x:0,y:0,width:a,height:b});d.Qb.appendChild(e);d.gm.push(g);this.xe=g;Xj(this.xe,{opacity:0});this.wo=new fk(this.xe,c);this.oE=xk(this.fg);Xj(this.oE,{opacity:.4});this.pE=new Ak(this.oE,new td(0,0,a,b));this.pV=xk(this.fg); this.fE=new zk(this.pV);this.zo=new Yj(this.fg,this.xe,this.fg,c);this.dG=Ck;this.qm=new I;this.pm=new I;this.wo.VI(this.qm);this.wo.UI(this.pm);this.zo.VI(this.qm);this.zo.UI(this.pm);this.mu(!1)}v(Bk,nj);Bk.prototype.setScale=function(a,b){this.wo.setScale(a,b);this.zo.setScale(a,b)};Bk.prototype.mu=function(a){C(this.I,"pointer-events",a?"all":"none");if(ag||Tg){var b=null!=this.fg.Qb.parentNode;a&&!b?ye(this.fg.Qb,this.ih):!a&&b&&(Dk(this),ye(this.ih,this.fg.Qb))}}; function Dk(a){var b=a.fg.Qb.cloneNode(!0),c=Fe(b,function(a){return"g"==a.nodeName});c.removeAttribute("opacity");var d=B("div");d.appendChild(b);xe(c);var e=d.innerHTML;ve(b);b.appendChild(c);b={ignoreMouse:!0,ignoreAnimation:!0};canvg(a.sM,d.innerHTML,b);canvg(a.hM,e,b);d=a.ih.getContext("2d");d.clearRect(0,0,a.ih.width,a.ih.height);d.globalAlpha=.4;d.drawImage(a.sM,0,0);d.globalAlpha=1;d.drawImage(a.hM,0,0)} function Ek(a,b){a.dG=b;a.mu(b!=Ck);switch(b){case Ck:var c=a.wo;Vj(c.xe,c.$E,c);bk(a.zo);break;case Fk:c=a.wo;c.pC=a.fE;gk(c);bk(a.zo);break;case Gk:c=a.wo;c.pC=a.pE;gk(c);bk(a.zo);break;case Hk:c=a.wo,Vj(c.xe,c.$E,c),Zj(a.zo)}}Bk.prototype.HH=function(){this.oE.Ui();var a=this,b=[];this.fg.forEach(function(c){c!==a.xe&&b.push(c)});for(var c=0;cb||b>a.xh.length)throw Error("index is out of bounds");if(a.Vm!=b){var c=a.Vm;a.Vm=b;p(c)&&a.xh[c].Ma(!1);a.xh[b].Ma(!0);p(c)&&a.xk.removeChild(a.yG[c]);a.xk.G(a.yG[a.Vm])}}Mk.prototype.resize=function(a,b){Mk.L.resize.call(this,a,b);this.Dd.resize(a,b-this.Dd.y());Pk(this);p(a)&&0!=a&&a!=this.width()&&this.gI()}; Mk.prototype.gI=function(){for(var a=this.width(),a=a- -10*(this.xh.length-1),a=a-11,b=a/this.xh.length,c=[],d=0,e=a,g={},h=0;hb?c.push(g.tab):e-=k;th?Ng(function(a){return function(){Lk(a.tab)}}(g),this,200):Lk(g.tab);d+=k}if(d>a)for(b=e/c.length,h=0;hthis.OR)if(this.dispatchEvent(new al("start",this,a.clientX,a.clientY,a)))this.Fp=!0;else{this.ts||this.dB(a);return}}c=dl(this,b,c);b=c.x;c=c.y;this.Fp&&this.dispatchEvent(new al("beforedrag",this,a.clientX,a.clientY,a,b,c))&& (el(this,a,b,c),a.preventDefault())}};function dl(a,b,c){var d=oe(fe(a.ic).ic);b+=d.x-a.zI.x;c+=d.y-a.zI.y;a.zI=d;a.deltaX+=b;a.deltaY+=c;return new jd(bl(a,a.deltaX),cl(a,a.deltaY))}f.s0=function(a){var b=dl(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;el(this,a,b.x,b.y)};function el(a,b,c,d){a.$w&&$k(a)?a.target.style.right=c+"px":a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new al("drag",a,b.clientX,b.clientY,b,c,d))} function bl(a,b){var c=a.XR,d=isNaN(c.left)?null:c.left,c=isNaN(c.width)?0:c.width;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}function cl(a,b){var c=a.XR,d=isNaN(c.top)?null:c.top,c=isNaN(c.height)?0:c.height;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}function al(a,b,c,d,e,g,h){Nc.call(this,a);this.clientX=c;this.clientY=d;this.QA=e;this.left=p(g)?g:b.deltaX;this.top=p(h)?h:b.deltaY}v(al,Nc);function fl(a,b,c){a=Math.max(a,b);return a=Math.min(a,c)}function gl(a){--a;a|=a>>1;a|=a>>2;a|=a>>4;a|=a>>8;return(a|a>>16)+1};function hl(a,b,c){Jc.call(this);this.lI=a;this.Lp=b||0;this.As=c;this.VZ=t(this.m_,this)}v(hl,Jc);f=hl.prototype;f.Uj=0;f.Gc=function(){hl.L.Gc.call(this);this.stop();delete this.lI;delete this.As};f.start=function(a){this.stop();this.Uj=Cf(this.VZ,p(a)?a:this.Lp)};f.stop=function(){this.hI()&&sa.clearTimeout(this.Uj);this.Uj=0};f.hI=function(){return 0!=this.Uj};f.m_=function(){this.Uj=0;this.lI&&this.lI.call(this.As)};var wb={},il=null;function jl(a){a=Ba(a);delete wb[a];vb()&&il&&il.stop()}function kl(){il||(il=new hl(function(){ll()},20));var a=il;a.hI()||a.start()}function ll(){var a=Ha();ob(wb,function(b){ml(b,a)});vb()||kl()};function nl(){rf.call(this);this.Nd=ol;this.endTime=this.startTime=null}v(nl,rf);var ol=0;nl.prototype.Oi=function(){return 1==this.Nd};nl.prototype.Fl=function(){this.Bf("begin")};nl.prototype.Ri=function(){this.Bf("end")};nl.prototype.Bf=function(a){this.dispatchEvent(a)};function pl(a,b,c,d){nl.call(this);if(!va(a)||!va(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.Ts=a;this.GR=b;this.duration=c;this.iR=d;this.coords=[];this.$w=!1;this.pb=0}v(pl,nl);f=pl.prototype; f.play=function(a){if(a||this.Nd==ol)this.pb=0,this.coords=this.Ts;else if(this.Oi())return!1;jl(this);this.startTime=a=Ha();-1==this.Nd&&(this.startTime-=this.duration*this.pb);this.endTime=this.startTime+this.duration;this.pb||this.Fl();this.Bf("play");-1==this.Nd&&this.Bf("resume");this.Nd=1;var b=Ba(this);b in wb||(wb[b]=this);kl();ml(this,a);return!0};f.stop=function(a){jl(this);this.Nd=ol;a&&(this.pb=1);ql(this,this.pb);this.Bf("stop");this.Ri()}; f.pause=function(){this.Oi()&&(jl(this),this.Nd=-1,this.Bf("pause"))};f.setProgress=function(a){this.pb=a;this.Oi()&&(this.startTime=Ha()-this.duration*this.pb,this.endTime=this.startTime+this.duration)};f.Gc=function(){this.Nd==ol||this.stop(!1);this.iS();pl.L.Gc.call(this)};f.destroy=function(){this.Ab()}; function ml(a,b){bc?c+=1:16*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+(b-a)*(2/3-c)*6:a}var ul=/^#(?:[0-9a-f]{3}){1,2}$/i,Bl=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i; function wl(a){var b=a.match(Bl);if(b){a=Number(b[1]);var c=Number(b[2]),b=Number(b[3]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=b&&255>=b)return[a,c,b]}return[]}function zl(a){return 1==a.length?"0"+a:a};function Cl(a,b,c,d,e){pl.call(this,b,c,d,e);this.element=a}v(Cl,pl);f=Cl.prototype;f.Ql=ta;f.UR=function(){p(this.Ll)||(this.Ll=jf(this.element));return this.Ll};f.vB=function(){this.Ql();Cl.L.vB.call(this)};f.Ri=function(){this.Ql();Cl.L.Ri.call(this)};f.Fl=function(){this.Ql();Cl.L.Fl.call(this)};function Dl(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");Cl.apply(this,arguments)}v(Dl,Cl); Dl.prototype.Ql=function(){var a=this.$w&&this.UR()?"right":"left";this.element.style[a]=Math.round(this.coords[0])+"px";this.element.style.top=Math.round(this.coords[1])+"px"};function El(a,b,c,d,e){ya(b)&&(b=[b]);ya(c)&&(c=[c]);Cl.call(this,a,b,c,d,e);if(1!=b.length||1!=c.length)throw Error("Start and end points must be 1D");this.rB=Fl}v(El,Cl);var Gl=1/1024,Fl=-1;f=El.prototype;f.Ql=function(){var a=this.coords[0];Math.abs(a-this.rB)>=Gl&&(D(this.element,a),this.rB=a)}; f.Fl=function(){this.rB=Fl;El.L.Fl.call(this)};f.Ri=function(){this.rB=Fl;El.L.Ri.call(this)};f.show=function(){this.element.style.display=""};f.Jh=function(){this.element.style.display="none"};function Hl(a,b,c){El.call(this,a,1,0,b,c)}v(Hl,El);function Il(a,b,c){El.call(this,a,0,1,b,c)}v(Il,El);function Jl(a,b){rf.call(this);this.oc=a;var c=Ae(this.oc)?this.oc:this.oc?this.oc.body:null;this.Y_=!!c&&jf(c);this.YR=z(this.oc,mc?"DOMMouseScroll":"mousewheel",this,b)}v(Jl,rf); Jl.prototype.handleEvent=function(a){var b=0,c=0,d=a.$e;"mousewheel"==d.type?(a=Kl(-d.wheelDelta),p(d.wheelDeltaX)?(b=Kl(-d.wheelDeltaX),c=Kl(-d.wheelDeltaY)):c=a):(a=d.detail,100a&&(a=-3),p(d.axis)&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);ya(this.aS)&&(b=hd(b,-this.aS,this.aS));ya(this.bS)&&(c=hd(c,-this.bS,this.bS));this.Y_&&(b=-b);b=new Ll(a,d,b,c);this.dispatchEvent(b)};function Kl(a){return nc&&(oc||qc)&&0!=a%40?a:a/40} Jl.prototype.Gc=function(){Jl.L.Gc.call(this);cd(this.YR);this.YR=null};function Ll(a,b,c,d){Qc.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d}v(Ll,Qc);function Ml(a,b,c,d,e){nj.call(this,a);p(e)||(e={});p(d)&&(e.snap=d);Nl(this,e,b,c);this.Xk=new I}v(Ml,nj); function Nl(a,b,c,d){d=d||"auto";c=c||"auto";if(H){J(a,"overflow","hidden");a.$=new nj(a.I);var e=!1;b.hideScrollbar=p(b.hideScrollbar)?b.hideScrollbar:!0;b.onBeforeScrollEnd=function(a){e&&a.preventDefault()};b.vScroll="hidden"!=d;b.hScroll="hidden"!=c;b.scrollbarClass="scrollbar";b.onBeforeScrollStart=function(a){e=!1;a.target&&"INPUT"!=a.target.nodeName&&"A"!=a.target.nodeName&&a.preventDefault()};a.Vf=new iScroll(a.displayObject(),b);a.Vf.options.onScrollMove=function(){e=!0;a.Xk.F()};a.Vf.options.onScrollEnd= function(){a.Xk.F()}}else C(a.I,"overflow","hidden"),C(a.I,"width","100%"),C(a.I,"height","100%"),a.$=new K,a.$.displayObject().className=a.I.className,ue(a.I,a.$.displayObject()),"hidden"!=d&&(a.Kb=Ol(a),a.Kb.CG.addHandler(a.QN,a),a.G(a.Kb)),"hidden"!=c&&(a.Pb=Pl(a),a.Pb.CG.addHandler(a.QN,a),a.G(a.Pb)),b=new Jl(a.displayObject()),a.yY=!0,z(a.displayObject(),"mouseover",a.NY,!1,a),z(a.displayObject(),"mouseout",a.wj,!1,a),z(b,"mousewheel",a.QE,!1,a),z(document,Sj,a.iz,!1,a),z(a.I,"scroll",a.MW,!1, a)}f=Ml.prototype;f.VD=!1;f.uy=!1;f.invalidate=function(){var a=this;setTimeout(function(){a.Vf?a.Vf.refresh():Ql(a)},0)};f.QN=function(){this.uy=!0};f.iz=function(a){this.uy&&(a.$e.stopImmediatePropagation(),this.uy=!1,!this.VD&&this.yY&&Rl(this))};f.QE=function(a){if(this.Kb&&a.deltaY){var b=0b.top?h=b.top:e+db.left?k=b.left:g+cc)throw Error("minScrollPosition must be less or equal than maxScrollPosition");a.yr=b;a.Gm=0;a.Gy=c;a.kF=d;a.py();Sl(a,a.lg)}f.py=function(){};f.St=function(){}; function cm(a,b){var c=fl(b,a.Gm,a.Gy);a.lg!=c&&(a.lg=c,a.Xk.F())}function dm(a){return a.Gy-a.Gm}f.KG=function(){};f.mX=function(a){a.stopPropagation();Sl(this,this.lg+-this.rj);em(this,this.Fi,-this.rj)};f.aW=function(a){a.stopPropagation();Sl(this,this.lg+this.rj);em(this,this.uo,this.rj)}; function em(a,b,c){a.Lz=b;z(a.Lz.displayObject(),"mouseover",a.GN,!1,a);z(a.Lz.displayObject(),"mouseout",a.FN,!1,a);z(document,Sj,a.VO,!1,a);a.Gr.stop();a.NF=function(){Sl(this,this.lg+this.dY)};a.dY=c;a.Gr.start()}f.VO=function(){bd(this.Lz.displayObject(),"mouseover",this.GN,!1,this);bd(this.Lz.displayObject(),"mouseout",this.FN,!1,this);bd(document,Sj,this.VO,!1,this);this.Gr.stop();this.NF=null};f.GN=function(){this.Gr.start()};f.FN=function(){this.Gr.stop()};f.GW=function(){this.NF&&this.NF()}; f.eX=function(a){this.CG.F();a.stopPropagation();var b=this.lQ();this.qo=new Xk(this.hb.displayObject(),null,b);this.qo.nJ(a);this.qo.deltaY=this.hb.displayObject().offsetTop-this.Fi.height();this.qo.deltaX=this.hb.displayObject().offsetLeft-this.Fi.width();z(this.qo,Zk.JJ,this.wu,!1,this);a=this.hb.displayObject();si(a,"active")};f.cN=function(a){this.qo&&(a.preventDefault(),this.qo.Ab(),this.qo=void 0,a=this.hb.displayObject(),ui(a,"active"))};f.wu=function(){}; f.resize=function(a,b){bm.L.resize.call(this,a,b);this.py()};function Wl(){bm.call(this,"vscrollbar")}v(Wl,bm);f=Wl.prototype;f.py=function(){var a=this.height()-this.Fi.height()-this.uo.height();0==dm(this)?this.hb.Ra(a):this.hb.Ra(Math.max(this.EM,Math.ceil(this.yr/(dm(this)+this.yr)*a)));this.St()};f.St=function(){var a=this.pl();0==dm(this)?this.hb.Kc(a.top):this.hb.Kc(Math.round((this.lg-this.Gm)/dm(this)*a.height))}; f.pl=function(){var a=new td(0,0,0,0);a.top=this.Fi.height();a.height=this.height()-this.uo.height()-this.hb.height()-a.top;a.left=this.hb.x();return a};f.lQ=function(){var a=this.pl();a.top=0;return a};f.KG=function(a){var b=this.pl();a=a.offsetY-this.Fi.height()-this.hb.height()/2;a=fl(a,0,b.height);b=0!=this.kF?this.kF:this.yr;b=a<=this.hb.y()?-b:b;Sl(this,this.lg+b);this.wu()};f.wu=function(){var a=this.pl(),a=parseFloat(this.hb.displayObject().style.top)/a.height;cm(this,a*dm(this)+this.Gm)}; function Yl(){bm.call(this,"hscrollbar")}v(Yl,bm);f=Yl.prototype;f.py=function(){var a=this.width()-this.Fi.width()-this.uo.width();0==dm(this)?this.hb.ua(a):this.hb.ua(Math.max(this.EM,Math.ceil(this.yr/(dm(this)+this.yr)*a)));this.St()};f.St=function(){var a=this.pl();0==dm(this)?this.hb.Yg(a.left):this.hb.Yg(Math.round((this.lg-this.Gm)/dm(this)*a.width))}; f.pl=function(){var a=new td(0,0,0,0);a.left=this.Fi.width();a.width=this.width()-this.uo.width()-this.hb.width()-a.left;a.top=this.hb.y();return a};f.lQ=function(){var a=this.pl();a.left=0;return a};f.KG=function(a){var b=this.pl();a=a.offsetX-this.Fi.width()-this.hb.width()/2;a=fl(a,0,b.width);this.hb.Yg(a);this.wu()};f.wu=function(){var a=this.pl(),a=parseFloat(this.hb.displayObject().style.left)/a.width;cm(this,a*dm(this)+this.Gm)};function fm(a){Ml.call(this,"notes","hidden","auto");xj(this,"tabpanel");this.B=a;this.B.Mc().addHandler(this.sr,this);this.Ig=new Qk("notesText");this.content().G(this.Ig);-1!=this.B.ja()&&this.sr()}v(fm,Ml);fm.prototype.sr=function(){var a=this.B.fa().Zg();this.uf!=a&&(this.uf=a,this.Ig.N(null!==this.uf),this.uf&&(Rk(this.Ig,12),a=this.uf.gf().replace(//g,"
"),uj(this.Ig,a)),Zl(this,0,0),this.displayObject().style.height="",gm(this))}; fm.prototype.MI=function(a,b){this.gO=b;this.ua(a);Ng(function(){gm(this)},this)};function gm(a){a.displayObject().style.height="";0!=a.height()&&a.gOb.P?-1:a.Pe.title?1:d.titlee.text?1:d.texte.El?1:d.El=sc||(a.type="button");return a};f.selected=function(){return this.Um}; f.Ma=function(a){a?si(this.I,"selected"):ui(this.I,"selected");this.dV&&this.I.setAttribute("aria-pressed",a);this.Um=a};f.enabled=function(){return this.Tb};f.la=function(a){Jm.L.la.call(this,a);var b=this.I;b.disabled=a?"":"disabled";if(a){var c=this.displayObject();ui(c,"disabled")}else c=this.displayObject(),si(c,"disabled");!a&&b.blur&&b.blur();this.Tb=a};f.To=function(){this.Ma(!this.Um)};f.Fr=function(a){Jm.L.Fr.call(this,a);-1==this.bD&&this.I.blur()}; f.Iq=function(a){this.enabled()&&Jm.L.Iq.call(this,a)};f.xg=function(a){this.Iv=!1;Jm.L.xg.call(this,a);this.Iv=!0};function Km(a,b,c){this.Nm=a;this.lv=b;this.BP=c}Km.prototype.padding=function(){return this.Nm};function Lm(){}Lm.prototype.yR=function(a,b,c,d,e,g){return new rm(0,b,c,d,e,g)};function Mm(a,b,c,d,e,g,h){rm.call(this,0,b,c,d,e,g);this.Nm=h.padding();this.lv=h.lv;this.BP=h.BP;C(this.Bd.I,"position","absolute");C(this.Bd.I,"line-height","15px");this.lv&&null!=this.data().Uh()&&(this.vc=new K("thumb"),b=this.data().pc(),b=this.$r?2this.Bd.height();)a=Je(this.Vd.displayObject()),this.Vd.qa(a.substr(0, a.length-2)+"\u2026");this.I.setAttribute("title",this.title())}else this.Bd.Ra(this.Vd.height()),this.I.hasAttribute("title")&&this.I.removeAttribute("title");this.Rt()}; Mm.prototype.Rt=function(){var a=0==this.Bd.height()||this.Bd.height()g?(a=!1,g=l):0>g&&(a=!1,g=0);0>m&&(m=k,e=!1,b.substring(c+d).length> h&&(e=!0));h=c+d+m;0"+b.substr(c,d)+"")+b.substring(c+d,k);b=a?"\u2026"+b:b;return(e?b+"\u2026":b).replace(/\n/g,"
")}function dn(a){for(var b=a.B.ja(),c=0;c/g))for(var c=0;c=a.count())throw Error("index is out of range");return a.th[0]}function xn(a,b){for(var c=a.th,d=0;dFj(b,e.sg()))return e}return null};function yn(a,b){this.Pd=a;this.O=b;this.th=[];for(var c=this.Pd.zc,d=null,e=0;eg||g>=c.count())throw Error("index is out of range");var g=c.zc[g],h=g.Bb();switch(g.type()){case "play":d&&zn(this,d,h);d=g;break;case "togglePlay":d&&An(this,d,h)?(zn(this,d,h),d=null):(d&&zn(this,d),d=g);break;case "stop":d&&(zn(this,d,h),d=null)}}d&&zn(this,d)}yn.prototype.uH=function(){return new vn(this.th)}; function zn(a,b,c){c&&!An(a,b,c)&&(c=null);c||(c=Bn(a,b));a.th.push(new un(b,b.Bb(),c))}function An(a,b,c){a=Bn(a,b);return 0<=Fj(a,c)}function Bn(a,b){var c=a.Pd,d=c.Bj,e=c.Ng,g=null;if(ya(d))g=c.duration(),g=g-(b.Qn()||0)+g*(d-1);else switch(d){case Cn:e=-1;break;case Dn:e=Math.max(e,0)}d=b.Bb();e=0>e?new Ej(d.P(),d.na()+1,0):new Ej(d.P()+e+1,-1,0);c=null;null!==g&&(c=a.O,d=c.fe(d,!0,!1),g=Math.min(d+g,c.duration()),c=c.Dh(g,!0,!1));return c&&0>Fj(c,e)?c:e};function En(a,b){this.wb=a;this.Fc=b;this.vb=""+Fn++}var Fn=0;En.prototype.id=function(){return this.vb};En.prototype.name=function(){return this.wb};En.prototype.time=function(){return this.Fc};function Gn(){this.uq=[]}Gn.prototype.count=function(){return this.uq.length};Gn.prototype.add=function(a){this.uq.push(a)};function Hn(a,b){if(0>b||b>=a.count())throw Error();return a.uq[b]};function In(){this.zc=[]}In.prototype.count=function(){return this.zc.length};function Jn(a,b,c){this.vb=a;this.sk=b;this.ta=c;this.uq=new Gn;this.zc=new In}f=Jn.prototype;f.Ng=-1;f.Bj=1;f.pg=1;f.th=null;f.id=function(){return this.vb};f.duration=function(){return this.ta};f.volume=function(){return this.pg};f.setVolume=function(a){this.pg=a};f.Nj=function(){return this.uq};function Kn(a,b){a.th||(a.th=(new yn(a,b)).uH());return a.th}var Dn="untilNextSlide",Cn="untilNextClick";function Ln(a,b,c){Jn.call(this,a,b,c)}v(Ln,Jn);Ln.prototype.Wq=!1;Ln.prototype.Uf="";Ln.prototype.gf=function(){return this.Uf};function Mn(a,b,c,d){this.Lq=a;this.ta=b;this.Ud=c||null;this.bQ=d||!1}Mn.prototype.Ud=null;Mn.prototype.o_=function(){return this.Lq};Mn.prototype.effectType=Mn.prototype.o_;Mn.prototype.duration=function(){return this.ta};Mn.prototype.duration=Mn.prototype.duration;Mn.prototype.clone=function(){return new Mn(this.Lq,this.ta,this.Ud,this.bQ)};function Nn(){}Nn.prototype.QM=null;Nn.prototype.GO=null;Nn.prototype.Mn=function(){return this.QM};function On(a,b){a.QM=b}Nn.prototype.Is=function(){return this.GO};function Pn(a,b){a.GO=b};function Qn(){}r("ispring.utils.assets.IAsset",Qn,void 0);Qn.prototype.pd=function(){};Qn.prototype.isLoaded=Qn.prototype.pd;Qn.prototype.pb=function(){};Qn.prototype.progress=Qn.prototype.pb;Qn.prototype.load=function(){};Qn.prototype.load=Qn.prototype.load;Qn.prototype.yJ=function(){};Qn.prototype.unload=Qn.prototype.yJ;Qn.prototype.Mh=function(){};Qn.prototype.loadCompleteEvent=Qn.prototype.Mh;Qn.prototype.Jn=function(){};Qn.prototype.loadFailedEvent=Qn.prototype.Jn;Qn.prototype.mI=function(){}; Qn.prototype.loadProgressEvent=Qn.prototype.mI;function Rn(){}r("ispring.utils.assets.IGraphicAsset",Rn,void 0);Rn.prototype.width=function(){};Rn.prototype.width=Rn.prototype.width;Rn.prototype.height=function(){};Rn.prototype.height=Rn.prototype.height;Rn.prototype.An=function(){};Rn.prototype.createInstance=Rn.prototype.An;Rn.prototype.xH=function(){};Rn.prototype.createImgInstance=Rn.prototype.xH;r("ispring.presenter.presentation.assets.ISlideThumbnail",function(){},void 0);function Sn(a,b){this.FL=a;this.DK=b}function Tn(a){this.TC=a}Tn.prototype.UA=function(){return this.TC};function Un(){this.JM={}}Un.prototype.dS=function(a){return w(this.JM,a,!0)};Un.prototype.navigationActionIsEnabled=Un.prototype.dS;function Vn(){}r("ispring.presenter.presentation.ICompany",Vn,void 0);Vn.prototype.he=function(){};Vn.prototype.logo=Vn.prototype.he;Vn.prototype.Zb=function(){};Vn.prototype.webSiteUrl=Vn.prototype.Zb;Vn.prototype.ix=function(){};Vn.prototype.webSiteTarget=Vn.prototype.ix;function Wn(){}r("ispring.presenter.presentation.IPresenter",Wn,void 0);Wn.prototype.name=function(){};Wn.prototype.name=Wn.prototype.name;Wn.prototype.Vj=function(){};Wn.prototype.jobTitle=Wn.prototype.Vj;Wn.prototype.Li=function(){};Wn.prototype.biography=Wn.prototype.Li;Wn.prototype.Zb=function(){};Wn.prototype.webSiteUrl=Wn.prototype.Zb;Wn.prototype.Sg=function(){};Wn.prototype.email=Wn.prototype.Sg;Wn.prototype.Vg=function(){};Wn.prototype.phone=Wn.prototype.Vg;Wn.prototype.Xa=function(){}; Wn.prototype.company=Wn.prototype.Xa;Wn.prototype.$j=function(){};Wn.prototype.photo=Wn.prototype.$j;function Xn(){}r("ispring.presenter.presentation.slides.IAnimationStep",Xn,void 0);Xn.prototype.Ki=function(){};Xn.prototype.automaticAdvance=Xn.prototype.Ki;Xn.prototype.duration=function(){};Xn.prototype.duration=Xn.prototype.duration;Xn.prototype.startTime=function(){};Xn.prototype.startTime=Xn.prototype.startTime;function Yn(){}r("ispring.presenter.presentation.slides.IAnimationSteps",Yn,void 0);Yn.prototype.count=function(){};Yn.prototype.count=Yn.prototype.count;Yn.prototype.Yb=function(){};Yn.prototype.getStep=Yn.prototype.Yb;Yn.prototype.duration=function(){};Yn.prototype.duration=Yn.prototype.duration;function Zn(){}r("ispring.presenter.presentation.slides.ISlide",Zn,void 0);Zn.prototype.type=function(){};Zn.prototype.type=Zn.prototype.type;Zn.prototype.index=function(){};Zn.prototype.index=Zn.prototype.index;Zn.prototype.Kf=function(){};Zn.prototype.visibleIndex=Zn.prototype.Kf;Zn.prototype.visible=function(){};Zn.prototype.visible=Zn.prototype.visible;Zn.prototype.pd=function(){};Zn.prototype.isLoaded=Zn.prototype.pd;Zn.prototype.title=function(){};Zn.prototype.title=Zn.prototype.title; Zn.prototype.Zg=function(){};Zn.prototype.slideNotes=Zn.prototype.Zg;Zn.prototype.transition=function(){};Zn.prototype.transition=Zn.prototype.transition;Zn.prototype.duration=function(){};Zn.prototype.duration=Zn.prototype.duration;Zn.prototype.Uh=function(){};Zn.prototype.thumbnail=Zn.prototype.Uh;Zn.prototype.startTime=function(){};Zn.prototype.startTime=Zn.prototype.startTime;Zn.prototype.pc=function(){};Zn.prototype.nestingLevel=Zn.prototype.pc;Zn.prototype.text=function(){}; Zn.prototype.text=Zn.prototype.text;Zn.prototype.Wj=function(){};Zn.prototype.metaCommands=Zn.prototype.Wj;Zn.prototype.je=function(){};Zn.prototype.presenter=Zn.prototype.je;Zn.prototype.Ln=function(){};Zn.prototype.Ja=function(){};Zn.prototype.animationSteps=Zn.prototype.Ja;Zn.prototype.Dh=function(){};Zn.prototype.convertTimeToTimestamp=Zn.prototype.Dh;Zn.prototype.ns=function(){};function $n(){this.Mo=[]}$n.prototype.add=function(a){this.Mo.push(a)};$n.prototype.count=function(){return this.Mo.length};function ao(a,b){if(0>b||b>=a.Mo.length)throw Error("index is out of range");return a.Mo[b]}function bo(a,b){for(var c=0;ca||a>=this.count())throw Error("index is out of bounds");return this.zc[a]};eo.prototype.getMetaCommand=eo.prototype.VH;eo.prototype.count=function(){return this.zc.length};eo.prototype.count=eo.prototype.count;function fo(a,b,c){this.KX=a;this.sF=null!=b?b:0;this.io=p(c)?c:!0;this.vh=0}fo.prototype.Ki=function(){return this.io};fo.prototype.automaticAdvance=fo.prototype.Ki;fo.prototype.duration=function(){return this.KX+this.sF};fo.prototype.duration=fo.prototype.duration;fo.prototype.startTime=function(){return this.vh};fo.prototype.startTime=fo.prototype.startTime;fo.prototype.hJ=function(a){this.vh=a};function go(){this.wv=[]}go.prototype.ta=0;go.prototype.add=function(a){a.hJ(this.ta);this.wv.push(a);this.ta+=a.duration()};go.prototype.count=function(){return this.wv.length};go.prototype.count=go.prototype.count;go.prototype.Yb=function(a){if(0>a||a>=this.wv.length)throw Error("stepIndex is out of range");return this.wv[a]};go.prototype.getStep=go.prototype.Yb;go.prototype.duration=function(){return this.ta};go.prototype.duration=go.prototype.duration;function ho(a,b){this.oq=a;this.tV=b}ho.prototype.loop=function(){return this.tV};function M(a){this.wa=a;this.bZ=new $n;this.CA=new $n;this.DV=new eo;this.WT=new Nn;this.yE=new Un;this.VQ=new I;this.nq=new go}f=M.prototype;f.vh=0;f.mh=-1;f.UQ=-1;f.Ye=!0;f.UL=!1;f.Tc=null;f.ye="";f.sA="";f.io=!1;f.ht=!0;f.vc=null;f.AE=0;f.hj=!1;f.GA=!1;f.sc=null;f.Ja=function(){return this.nq};M.prototype.animationSteps=M.prototype.Ja;M.prototype.type=function(){return this.wa};M.prototype.type=M.prototype.type;M.prototype.index=function(){return this.mh};M.prototype.index=M.prototype.index; M.prototype.Kf=function(){if(!this.Ye)throw Error("slide is hidden");return this.UQ};M.prototype.visibleIndex=M.prototype.Kf;M.prototype.visible=function(){return this.Ye};M.prototype.visible=M.prototype.visible;M.prototype.N=function(a){this.Ye=a};M.prototype.pd=function(){return this.UL};M.prototype.isLoaded=M.prototype.pd;M.prototype.src=function(){return this.Tc};M.prototype.title=function(){return this.ye};M.prototype.title=M.prototype.title;M.prototype.setTitle=function(a){this.ye=a}; M.prototype.Zg=function(){return this.uf};M.prototype.slideNotes=M.prototype.Zg;M.prototype.Ki=function(){return this.io};M.prototype.transition=function(){return this.og};M.prototype.transition=M.prototype.transition;M.prototype.duration=function(){var a=this.og.duration();return this.nq.duration()+a};M.prototype.duration=M.prototype.duration;M.prototype.Nc=function(){return this.bZ};M.prototype.Oc=function(){return this.CA};M.prototype.Uh=function(){return this.vc};M.prototype.thumbnail=M.prototype.Uh; M.prototype.startTime=function(){return this.vh};M.prototype.startTime=M.prototype.startTime;M.prototype.hJ=function(a){this.vh=a};M.prototype.ns=function(){return this.ht};M.prototype.pc=function(){return this.AE};M.prototype.nestingLevel=M.prototype.pc;M.prototype.text=function(){return this.sA};M.prototype.text=M.prototype.text;M.prototype.Ow=function(a){this.sA=a};M.prototype.Wj=function(){return this.DV};M.prototype.metaCommands=M.prototype.Wj;M.prototype.je=function(){return this.sc}; M.prototype.presenter=M.prototype.je;M.prototype.Nw=function(a){this.sc=a};M.prototype.Ch=function(){return this.WT};M.prototype.Ln=function(){return this.yE};M.prototype.navigationSettings=M.prototype.Ln;f=M.prototype;f.completed=function(){return this.hj};f.cC=function(){return this.GA};function io(a,b){a.GA!=b&&(a.GA=b,a.VQ.F(a.index()))}f.persistState=function(){return{completed:this.hj,visited:this.GA}};f.Bp=function(a){this.hj=w(a,"completed",!1);io(this,w(a,"visited",!1))}; f.Dh=function(a,b){if(isNaN(a))throw Error("NaN time not accepted");if(0>a)throw Error("negative time not accepted");var c=0;if(b&&null!=this.transition()){var d=this.transition().duration();d=a)break;a-=e.duration()}if(c==d.count())if(.001>=a)--c,e=d.Yb(c),a=e.duration();else throw Error("time out of bounds");}return new Ej(this.index(),c,a)};M.prototype.convertTimeToTimestamp=M.prototype.Dh;function jo(){this.O=[];this.FA=[];this.TP=new I}jo.prototype.eH=0;jo.prototype.dH=0;jo.prototype.ka=function(a){if(0>a||a>=this.O.length)throw Error("slideIndex is out of range");return this.O[a]};jo.prototype.getSlide=jo.prototype.ka;jo.prototype.count=function(){return this.O.length};jo.prototype.count=jo.prototype.count;jo.prototype.duration=function(){if(0==this.count())return 0;var a=this.O[this.O.length-1];return a.startTime()+a.duration()};jo.prototype.duration=jo.prototype.duration; jo.prototype.zH=function(a,b,c){return new Ej(a,b,c)};jo.prototype.createTimestamp=jo.prototype.zH; jo.prototype.fe=function(a,b,c){if(!a)throw Error("Invalid timestamp");var d=a.P();if(d>=this.count())throw Error("Slide index is out of bounds");if(0>d)return NaN;p(b)||(b=!0);p(c)||(c=!0);for(var e=0,g=0;g=a.count())throw Error("stepIndex is out of bounds");a=a.Yb(l);g>a.duration()&& (g=a.duration());e+=a.startTime()+g}else b&&(g>k.duration()&&(g=k.duration()),e+=g);return e};jo.prototype.convertTimestampToTime=jo.prototype.fe; jo.prototype.Dh=function(a,b,c){if(isNaN(a))throw Error("NaN time not accepted");if(0>a)throw Error("negative time not accepted");for(var d=null,e=0;e=a||h&&.001>=a-g)break;a-=g}if(e==this.count()&&0<=a)throw Error("time out of bounds");c=0;b&&(b=d.transition().duration(),b=a)break;a-=e.duration()}if(c==b.count())if(.001>=a)--c,e=b.Yb(c),a=e.duration();else throw Error("time out of bounds");}return new Ej(d.index(),c,a)};jo.prototype.convertTimeToTimestamp=jo.prototype.Dh;function ko(a,b){b.mh=a.O.length;b.hJ(a.duration());a.O.push(b);if(b.visible()){b.UQ=a.FA.length;a.FA.push(b);var c=b.duration(),d=b.transition()?b.transition().duration():0;a.eH+=c;a.dH+=c-d}b.VQ.addHandler(function(a){this.TP.F(a)},a)}jo.prototype.pk=function(){return this.FA.length}; jo.prototype.visibleSlidesCount=jo.prototype.pk;jo.prototype.En=function(a){if(0>a||a>=this.pk())throw Error("Slide index is out of range");return this.FA[a]};jo.prototype.getVisibleSlide=jo.prototype.En;jo.prototype.BJ=function(){return this.eH};jo.prototype.visibleSlidesDuration=jo.prototype.BJ;jo.prototype.Xn=function(){return this.dH};jo.prototype.visibleAnimationStepsDuration=jo.prototype.Xn;function lo(a,b,c,d){var e=this;K.call(this,"outline");xj(this,"tabpanel");this.Y=c;this.O=a;this.B=b;this.B.Mc().addHandler(this.sr,this);this.ma=d;this.QG=new I;this.gc=new mo(d,new Um(new Km(7,this.Y.Vw,this.Y.Gs)),no(this),this.Y.Gs,this.Y.e0,this.Y.Kn);this.gc.hv.addHandler(this.ZW,this);this.gc.RM.addHandler(function(){return e.QG.F()},this);this.gc.N(!0);this.Pg=new an(this.B,d);this.Pg.N(!1);this.Pg.MN.addHandler(function(a){this.Xm!=a.Kf()&&this.B.jc(a.index())},this);this.Y.search&&(this.ui= new Qk("search_result"),oo=d.pa(po,"Search"),this.xb=new K("search_field","INPUT"),this.xb.I.setAttribute("autocomplete","off"),this.xb.I.setAttribute("value",oo),this.xb.displayObject().defaultValue=oo,z(this.xb.I,"input",this.QW,!1,this),z(this.xb.I,"keydown",this.Jd,!1,this),z(this.xb.I,"focus",this.OW,!1,this),z(this.xb.I,"blur",this.PW,!1,this),this.Qe=new Jm(!1,"search_button"),this.Qe.la(!1),this.Qe.xg(!0),z(this.Qe.I,"click",this.NW,!1,this),this.Lf=new Jm(!1,"clear_search"),vj(this.Lf,"clear search results"), this.Lf.resize(qo-2,qo-2),this.Lf.N(!1),this.Lf.xa().addHandler(this.fW,this),this.G(this.ui),this.G(this.xb),this.G(this.Qe),this.G(this.Lf),this.ui.qa(d.pa(ro,"SEARCH RESULTS:")),this.ui.N(!1),this.ui.move(so+6,qo+2*so));a=this.Qe?qo+so:0;this.gc.move(0,a);this.Pg.move(0,this.Y.search?a+2*so+to+11:a);this.G(this.gc);this.G(this.Pg);this.O.TP.addHandler(function(a){a=this.O.ka(a);a=a.visible()?Gm(this.gc,a.Kf()):null;this.Y.mB&&null!=a&&si(a.I,"viewed")},this)}v(lo,K);f=lo.prototype; f.la=function(a){lo.L.la.call(this,a);this.xb&&this.xb.la(a)};f.invalidate=function(a){Ng(function(){if(a||this.height())this.Ra(a?a:this.height()),this.gc&&(this.gc.ua(this.width()),this.gc.invalidate()),this.Pg&&this.Pg.ua(this.width()),this.selectNode(),this.Za()},this)};f.sr=function(){var a=this.B.fa();this.Xm=a.visible()?a.Kf():-1;this.selectNode();for(a=0;ac;)--d,e=this.Ba[d],e.visible()&&(a-=e.height(),Ao(e,!0));this.vD=d;for(this.HG.Ra(a);a=Math.abs(a.y-b.y)};Do.prototype.HQ=function(a,b){var c=b.x-a.x;return 40=Math.abs(a.y-b.y)};function Eo(){this.gv=new I}v(Eo,Co);Eo.prototype.ws=function(){return"scrollRight"};Eo.prototype.JQ=function(a,b){return a.x>=b.x}; Eo.prototype.IQ=function(a,b){return a.x-b.x>=Math.abs(a.y-b.y)};Eo.prototype.HQ=function(a,b){var c=a.x-b.x;return 40=Math.abs(a.y-b.y)};function Fo(a){this.$=a.content;this.lU=""==a.zn?a.content:a.zn;this.yf=a.url;this.Va=a.width;this.Pa=a.height;this.RG=a.Pl;this.zy=a.language;this.so=a.Bl;this.ro=a.Al}f=Fo.prototype;f.content=function(){return this.$};f.zn=function(){return this.lU};f.url=function(){return this.yf};f.width=function(){return this.Va};f.height=function(){return this.Pa};f.Pl=function(){return this.RG};f.language=function(){return this.zy};f.Bl=function(){return this.so};f.Al=function(){return this.ro};function Go(a){Fo.call(this,a)}v(Go,Fo);function Ho(a){this.RG=a.Pl;this.zy=a.language;this.so=a.Bl;this.ro=a.Al.split(",")}function Io(a){var b=a.RG,c=Date.now(),d=0;0=b?a.ro[2]:1==c?a.ro[0]:a.ro[1]):c=1==b?a.ro[0]:a.ro[1];return c};function Ko(a,b){this.Ul=a;var c=b-a.width()-1;this.jo=new td(c,2,a.width(),a.height());this.hm=new K("trial_banner");this.hm.ua(this.jo.width);this.hm.Ra(this.jo.height);J(this.hm,"cursor","pointer");c=B("DIV");c.innerHTML=a.content();si(c,"content");this.hm.I.appendChild(c);c=B("DIV");c.innerHTML=a.zn();si(c,"content_hover");this.hm.I.appendChild(c);var c=new K("days_remaining"),d=new Ho({Pl:this.Ul.Pl(),language:this.Ul.language(),Bl:this.Ul.Bl(),Al:this.Ul.Al()});c.qa(Io(d));this.hm.G(c);a.url()&& z(this.hm.displayObject(),"click",this.PV,!1,this)}Ko.prototype.Ka=function(){return this.jo};Ko.prototype.displayObject=function(){return this.hm.displayObject()};Ko.prototype.PV=function(a){a.stopPropagation();a=this.Ul.url();mg?(new lg("openWindow",[a])).Gp():Mg(a,void 0)};function Lo(a,b){for(var c=a.content(),d=RegExp('',"gi"),e=[],g=d.exec(c);g;)e.push(g[1]),g=d.exec(c);for(d=0;de&&a.wq.push(c):0<=e&&a.wq.splice(e,1);Qo(a);a.hc()!=d&&a.IC.F(a);a.JC.F(a)} function So(a,b,c){var d=a.hc(),e=a.Vr.indexOf(c);b?0>e&&a.Vr.push(c):0<=e&&a.Vr.splice(e,1);Qo(a);a.hc()!=d&&a.IC.F(a);a.JC.F(a)}No.prototype.Cb=function(){return this.pn};No.prototype.tickEvent=No.prototype.Cb;No.prototype.Sh=function(){return this.jA};No.prototype.startEvent=No.prototype.Sh;No.prototype.Tn=function(){return this.mA};No.prototype.stopEvent=No.prototype.Tn;No.prototype.Sb=function(){return this.Bi};No.prototype.stateChangeEvent=No.prototype.Sb;No.prototype.Vv=function(){return this.IC}; No.prototype.bufferStateChangeEvent=No.prototype.Vv;No.prototype.sH=function(){return this.JC};No.prototype.bufferedObjectChangeEvent=No.prototype.sH;function Oo(a,b){return a.Tr||a.Yc(b)||a.wh(b)}function Qo(a){var b="stopped";a.ml&&(b=a.Tr?"suspended":a.hc()?"buffering":a.Mz?"rewinding":"started");a.Qa!=b&&(a.Qa=b,a.Bi.F(a))}No.prototype.Yc=function(a){return 1n.length))){m=3;if(0<=n[0].search("rgb")||0<=n[0].search("#"))m=0;var q=n.splice(m,n.length-3).join(""),u=parseFloat(n[2]),n=parseFloat(l.top)|| 0,m=parseFloat(l.left)||0,x=1,A=1,E=0,F=l.msTransform;F&&(F=F.match(/matrix\(\s*([\d.-]+),\s*([\d.-]+),\s*([\d.-]+),\s*([\d.-]+),\s*[\d.-]+,\s*[\d.-]+\s*\)/))&&5==F.length&&(x=parseFloat(F[1]),A=parseFloat(F[4]),E=parseFloat(F[3]));if(10>d)k.style.color=q,0a?b.$i:b.O[a]).fn)}f.Ps=function(a){hf(this.ra(),a)};f.width=function(){return this.Va};f.height=function(){return this.Pa};f.ra=function(){return this.Ua};f.ym=function(a){var b=a.Or;this.Ec=a.Ec;this.Or=b}; function wp(a){a.Jh();a.Ua=B("DIV");C(a.Ua,"position","absolute");a.Zz=B("DIV");C(a.Zz,"position","absolute");a.Ua.appendChild(a.Zz);a.Zz.appendChild(a.Or);a.aA=B("DIV");C(a.aA,"position","absolute");a.Ua.appendChild(a.aA);a.aA.appendChild(a.Ec);a.fn.appendChild(a.Ua)}f.Jh=function(){this.Ua&&(xe(this.Ua),this.Ua=null)};f.content=function(){return this.aA};f.background=function(){return this.Zz};f.ZE=function(a){this.ym(a)}; f.resize=function(a,b){if(this.Va!=a||this.Pa!=b)this.Va=a,this.Pa=b,this.Tk(a,b)};f.Tk=function(a,b){var c=Math.min(a/this.dO,b/this.cO,this.ju);this.Ec&&xp(this,this.Ec,c);this.Or&&xp(this,this.Or,c)};function xp(a,b,c){Ii(b,c);Ve(b,(a.Va-a.dO*c)/2,(a.Pa-a.cO*c)/2)};function yp(a,b,c,d,e,g){this.sk=g;up.call(this,a,b,c,d,e,g)}v(yp,up);yp.prototype.Ya=function(){return this.sk.Ya()};yp.prototype.Ps=function(a){this.ra().style.opacity=""+(a?1:0)};yp.prototype.Mj=function(a){a?a.appendChild(this.Ec):xe(this.Ec)};function zp(a,b,c){this.Ua=a;this.Aa=b;this.nq=a.Ja();this.uc=a.index();this.ya=c;this.vv=new I;this.Rc=new I;this.nn=new I}zp.prototype.DO=null;zp.prototype.Om=!1;zp.prototype.ra=function(){return this.Ua};zp.prototype.slide=zp.prototype.ra;f=zp.prototype;f.view=function(){return this.Aa};f.activate=function(a){this.Ia=a;this.ya.X().Cb().addHandler(this.fb,this)};f.deactivate=function(){this.Ia=null;this.ya.X().Cb().removeHandler(this.fb,this)};f.play=function(){this.ya.start()};f.pause=function(){this.ya.stop()}; f.P=function(){return this.uc};f.gH=function(){};f.AR=function(){};function Ap(a,b,c){a.ya.zg(a.P(),b,c,!0)}function Bp(a){a.yB(a.nq.count()-1)}function Cp(a){a.pause();Ap(a,0,0)}f.yB=function(a){var b=this.nq.Yb(a);this.pause();Ap(this,a,b.duration())};f.Ja=function(){return this.nq};function Dp(a){var b=a.ya.X().timestamp();if(null==a.Ia||b.P()!=a.P()||0>b.na())throw Error("playback controller not active");}f.XA=function(){Dp(this);return this.ya.X().timestamp().na()}; zp.prototype.currentStepIndex=zp.prototype.XA;zp.prototype.AH=function(){Dp(this);var a=this.Ja().Yb(this.XA());return Math.min(a.duration(),this.ya.X().timestamp().Da())};zp.prototype.currentStepPosition=zp.prototype.AH;zp.prototype.d_=function(){Dp(this);var a=this.Ja().Yb(this.XA());return 0=d.time){a=d.freeze?d.RH:d.RH+a-d.time;break a}}throw Error("invalid clock");}return a}Xp.prototype.add=function(a){var b=this.lo();b.Fc+=a;return b};Xp.prototype.lo=function(){return new Xp(this.xK,this.Fc)};function Zp(a){this.mn=new Xp(this);this.nx=[];this.Jj=[{time:0,RH:a,freeze:!1}]} function $p(a,b,c,d){b={time:b,RH:c,freeze:d||!1};0==a.Jj.length?a.Jj.push(b):(c=a.Jj[a.Jj.length-1],c.time!=b.time&&aq(a,c.time,b.time)?a.Jj.push(b):a.Jj.splice(a.Jj.length-1,1,b))}Zp.prototype.persistState=function(){return{t:this.mn.time(),p:Mb(this.Jj)}};function aq(a,b,c){return Gb(a.nx,function(a){return a>=b&&a<=c})};function bq(a,b){this.R=a||null;this.hj=void 0!==b?b:!0}bq.prototype.R=null;bq.prototype.X=function(){return this.R};bq.prototype.completed=function(){return this.hj};function cq(a,b,c){bq.call(this,b,c);this.Yn=a||!1}v(cq,bq);cq.prototype.absolute=function(){return this.Yn};cq.prototype.add=function(a){if(this.Yn&&a.Yn)throw Error("can't add absolute transforms");var b=a.Yn?a:this,c=b===a?this:a,b=b.lo().px(c);b.Yn=this.Yn||a.Yn;return b};function dq(a,b,c,d,e){cq.call(this,c,d,e);this.Yh=a;this.Zn=[];this.Rk=b||0}v(dq,cq);f=dq.prototype;f.color=function(){return this.Yh};f.C0=function(){return this.Rk};f.lo=function(){var a=new dq(this.Yh.clone(),this.Rk,this.absolute(),this.X(),this.completed());a.Zn=Mb(this.Zn);return a};f.px=function(a){if(this.absolute()){this.Yh.add(a.Yh);for(var b=0;b=l?(e-g)/(2*l):(e-g)/(2-2*l));c=[Math.round(h+360)%360,k,l];break a}c= b}a:{switch(a){case "rgb":b=c[1];d=c[2];a=c[0]/360;0==b?d=c=a=255*d:(b=.5>d?d*(1+b):d+b-b*d,e=2*d-b,d=255*Al(e,b,a+1/3),c=255*Al(e,b,a),a=255*Al(e,b,a-1/3));a=[Math.round(d),Math.round(c),Math.round(a)];break a}a=c}}return a};f.clone=function(){return new eq(this.Zc,Mb(this.ud))};f.add=function(a){this.Zc!=a.Zc&&(this.ud=this.If(a.Zc),this.Zc=a.Zc);this.ud[0]+=a.ud[0];this.ud[1]+=a.ud[1];this.ud[2]+=a.ud[2]};f.multiple=function(a){this.ud[0]*=a;this.ud[1]*=a;this.ud[2]*=a}; f.toString=function(){var a=this.If("rgb");a[0]=Math.round(a[0]);a[1]=Math.round(a[1]);a[2]=Math.round(a[2]);return xl(a[0],a[1],a[2])};f.Qj=function(a){var b=this.Zc==a.Zc?this.ud:this.If(a.Zc);return Tb(b,a.ud)};function fq(a,b,c,d){this.vb=a;this.jo=b;this.qZ=c||null;this.pZ=d||null;this.uC=[];this.vC=[];this.aD={}}f=fq.prototype;f.mL=!1;f.id=function(){return this.vb};f.Ka=function(){return this.jo};f.fh=function(){return this.qZ};f.Wh=function(){return this.pZ};function gq(a,b){return b in a.aD?a.aD[b]:null};function hq(){this.uj=[];this.Uy={}}hq.prototype.count=function(){return this.uj.length};hq.prototype.add=function(a){this.uj.push(a);this.Uy[a.id()]=a};function iq(a,b){if(b in a.Uy)return a.Uy[b];throw Error("can't find animated object with specified id");};function jq(){this.gq=this.fq=this.Zp=this.Wp=this.Ip=this.fill=this.xw=""};function kq(a,b,c){this.type=a;this.text=b;this.Oh=c};function lq(a,b,c,d){this.id=a;this.Ka=b;this.fh=c;this.Wh=d;this.state=new mq;nq(this.state,oq,!0).add(new pq(this.Ka.left,!0));nq(this.state,qq,!0).add(new pq(this.Ka.top,!0))};function rq(a,b,c){this.type=a;this.Ka=b;this.nk=[];this.yn=[];this.zIndex=c;this.nc=null;this.qR=!1;this.text="";this.Wn=this.Gn=!1;this.rotation=0;this.Sv=!1;this.us=new jq}function sq(a){var b=[];a.nc&&b.push(a.nc);y(a.nk,function(a){b.push(a)},a);return b} function tq(a){if(a.nc){var b=a.nc.Ka,c=a.Ka,d=a.Np,c=new td(c.left-.5*d,c.top-.5*d,c.width+d,c.height+d),d=Math.abs(b.top-c.top),e=Math.abs(b.width-c.width),g=Math.abs(b.height-c.height);a.Sv=1E-4>Math.abs(b.left-c.left)&&1E-4>d&&1E-4>e&&1E-4>g&&!a.qR}};function uq(a,b){this.vb=a;this.yf=b}f=uq.prototype;f.Va=0;f.Pa=0;f.qQ=0;f.Ci=1;f.um=!1;f.NK=!1;f.vb="";f.yf="";f.width=function(){return this.Va};f.ua=function(a){this.Va=a};f.height=function(){return this.Pa};f.Ra=function(a){this.Pa=a};f.timeout=function(){return this.qQ*this.Ci};f.setTimeout=function(a){this.qQ=0<=a?a:0};f.Vi=function(a){this.Ci=a};f.SH=function(){return this.um};f.Ms=function(a){this.um=a};f.fw=function(){return this.NK};f.id=function(){return this.vb};f.url=function(){return this.yf};function vq(){this.ul=[]}vq.prototype.add=function(a){this.ul.push(a)};vq.prototype.count=function(){return this.ul.length};vq.prototype.Vi=function(a){for(var b=0;b=this.no.length)throw Error("");var a=this.no.pop();this.add(a);return a};f.clear=function(a,b){var c=Vq(this);a=p(a)?a:0;b=p(b)?b:c.length;c.splice(a,b-a)};f.apply=function(a){for(var b=Vq(this),c=0;c=a)return 0;if(1<=a)return 1;var b=this.AT,c=this.vU,d=1-(b+c),e=1/(b/2+d+c/2),g=0;0b?b:a,2)/2,a-=b);0d?d:a),a-=d);0a||a>this.duration())throw Error("invalid action's run time");return this.tp?this.tp.normalize(a,this.duration(),b):a};function dr(){}v(dr,cr);function er(a){var b=0;a instanceof cr&&(b=a.duration());return b}function fr(){}fr.prototype.sd=function(a,b,c,d){a.sd(b,c,d)};fr.prototype.complete=function(a,b,c){if(a instanceof Zq)a.sd(b,c);else if(a instanceof cr)a.complete(b,c);else throw Error("unknown action");};var gr=null;function hr(){gr||(gr=new fr);return gr}function ir(){}ir.prototype.sd=function(a,b,c,d){a.Ph(b,c,d)}; ir.prototype.complete=function(a,b,c){if(a instanceof Zq)a.Ph(b,c);else if(a instanceof cr)a.Iw(b,c);else throw Error("unknown action");};var jr=null;function kr(){jr||(jr=new ir);return jr};function lr(a){this.Db=a||[];this.RF=a?a.slice().reverse():[]}v(lr,dr);f=lr.prototype;f.ta=-1;f.zf=function(a){if(0<=this.ta)throw Error("ActionsSequence was already initialized");this.Db.push(a);this.RF.splice(0,0,a)};f.LC=function(){for(var a=0,b=0;bthis.ta&&(this.ta=this.LC());return this.ta};f.sd=function(a,b,c){a=this.Mg(a);this.Ib(this.Db,hr(),a,b,c)};f.complete=function(a,b){this.Nf(this.Db,hr(),a,b)}; f.Ph=function(a,b,c){a=this.Mg(a,!0);this.Ib(this.RF,kr(),a,b,c)};f.Iw=function(a,b){this.Nf(this.RF,kr(),a,b)}; f.Ib=function(a,b,c,d,e){var g=Ba(this)+"",h=d.zc;h.push();var k=0,l=0,m=d.Pq.get(g),n;if(n=m)n=m,n=Yp(n.X())==Yp(e)&&n.time()<=c;n&&(k=m.BT+1,l=m.duration(),h.add(m.zc));m=null;n=!1;for(var q=a.length,u=k;ua||a>=this.count()?null:this.uj[a]};yr.prototype.Vi=function(a){for(var b=0;bDb(this.Zd,a)&&this.Zd.push(a)};zr.prototype.hx=function(){return this.ul};function Ar(a,b,c){zp.call(this,a,b,c);this.Oe=b.Ya()}v(Ar,zp);f=Ar.prototype;f.Qu=!1;f.Ya=function(){return this.Oe};f.activate=function(a){Ar.L.activate.call(this,a);this.Oe.setActionAvailability(a.xF);if(!this.Qu){this.Qu=!0;var b=this.Ua,c=b.tF;c&&this.Oe.restoreState(c,a.hg.Hi+b.KF);this.Oe.stateChangedEvent().addHandler(this.FW,this,1);this.Oe.start()}this.Om&&this.Oe.activate()};f.deactivate=function(){Ar.L.deactivate.call(this);this.Om&&this.Oe.deactivate()}; f.Uo=function(){null!=this.Ia&&this.Qu&&this.Oe.activate()};f.FW=function(a){a.actionPrevented()||(a.preventAction(),this.mz())};function Br(){M.call(this,"scenario")}v(Br,M);f=Br.prototype;f.uF=null;f.yz=null;f.$F=0;f.kH=function(){return this.sC};f.iJ=function(a){this.zp=a};f.Il=function(){return this.Ju};f.Mw=function(a){this.Ju=a};f.persistState=function(a){var b=Br.L.persistState.call(this,a);a&&a.fv?(a=a.tb(),b.scenarioState=a.persistState(),a=Gp(a),b.scenarioInfo=a.Ww()):(b.scenarioState=this.uF,b.scenarioInfo=this.yz?this.yz.Ww():null,b.scenarioInactivityDuration=this.$F);return b}; f.Bp=function(a,b){Br.L.Bp.call(this,a,b);this.uF=a.scenarioState;var c=a.scenarioInfo;c&&(this.yz=new Fp(c.completed,c.passed,c.canBePassed));"scenarioInactivityDuration"in a&&(this.$F=a.scenarioInactivityDuration+b)};function Cr(a,b,c){zp.call(this,a,b,c);this.Pe=b.tb()}v(Cr,zp);f=Cr.prototype;f.fv=!1;f.tb=function(){return this.Pe};f.activate=function(a){Cr.L.activate.call(this,a);this.Pe.setActionAvailability(a.xF);if(!this.fv){this.fv=!0;var b=this.Ua,c=b.uF;c&&this.Pe.restoreState(c,a.hg.Hi+b.$F);this.Pe.stateChangedEvent().addHandler(this.LW,this,1);this.Pe.start()}this.Om&&this.Pe.activate()};f.deactivate=function(){Cr.L.deactivate.call(this);this.Om&&this.Pe.deactivate()}; f.Uo=function(){null!=this.Ia&&this.fv&&this.Pe.activate()};f.LW=function(a){a.actionPrevented()||(a.preventAction(),this.mz())};function Dr(a){this.ta=a}Dr.prototype.duration=function(){return this.ta};Dr.prototype.tw=function(a){return a<=this.ta};Dr.prototype.vJ=function(){return[this.ta]};function Er(a){this.zh=a}Er.prototype.zg=function(a,b,c,d,e){b=Ur(e);c=null;for(var g=new sr(this.zh);g.next()&&g.Ag()!==b;)g.Ag()?c=Vr(e,g.Ag()):g.actions()&&c&&g.actions().complete(a,c.mn);c=new sr(this.zh);c.seekTo(b);e=Vr(e,b).mn;c.next()&&c.actions()&&(b=c.actions(),b.duration()<=d?b.complete(a,e):b.sd(d,a,e))};function Wr(a){this.Qa=a}Wr.prototype.state=function(){return this.Qa};function Xr(a){this.Qa="waitForTrigger";this.SG=a}v(Xr,Wr);Xr.prototype.Ag=function(){return this.SG};function Yr(a){this.zh=a}Yr.prototype.Qk=-1;Yr.prototype.AO=null;Yr.prototype.zg=function(a,b,c,d,e,g){if(g){g=Ur(e);var h=Vr(e,g).mn;this.AO==c&&this.Qk==b&&(b+=1);g===c?Zr(this,a,g,h,b,d):(e=Vr(e,c).mn,Zr(this,a,c,e,b,Number.MAX_VALUE),Zr(this,a,g,h,0,d));this.AO=g;this.Qk=d}};function Zr(a,b,c,d,e,g){e=Math.round(e);g=Math.round(g);a=new tr(a.zh);for(a.seekTo(c);a.next()&&ur(a);){c=ur(a);var h=Math.round(c.YF);h>=e&&h<=g&&c.sd(b,d.add(h))}};function $r(a,b,c){this.Ve=a;this.zh=b;this.td=new as(zq(b.mp),a);this.FM=[new Er(b),new Yr(b)];this.nU=new Xq;this.reset(c);this.Zr=new I}f=$r.prototype;f.Fc=0;f.Ws=function(){return this.Zr};f.$B=function(){return this.zh};f.time=function(){return this.Fc};f.resume=function(a){var b=Ur(this.td);b&&$p(Vr(this.td,b),this.Fc,a)}; f.seek=function(a,b){if(aa)break}else{var l=k.Ag();if(l.required())break;else g=new Zp(Yp(g.add(h))),this.td.Af(l,g),g=g.mn,a-=h,h=0}this.Fc=a;b=new Wq(b,this.nU);for(k=0;kc)throw Error("trigger wasn't activated");return a.Gv[c]}function Ur(a){var b=a.Zd.length;return 0c;++c)b.fillRect(0,6*c,80==a||160==a?6*(16-c-1):6*c,6);a&32&&Js(this,Ks[180])}v(Us,Gs);Us.prototype.Qg=function(a){Is(this);this.re.drawImage(this.cQ,-192*(1-a),0)};function Vs(a){Gs.call(this,a);var b=Ks[0];switch(a.ug()){case 128:b=Ks[90];break;case 64:b=Ks[180];break;case 16:b=Ks[270]}Js(this,b)}v(Vs,Gs);Vs.prototype.Qg=function(a){var b=this.Dc;Is(this);this.re.fillRect(0,0,b.width*a,b.height)};function Ws(a){Gs.call(this,a);a=a.ug();a&1&&Js(this,Ks[90]);a&4&&(this.gr="maskOut",this.Tt=!0)}v(Ws,Gs);Ws.prototype.Qg=function(a){var b=this.Dc;Is(this);a*=b.width;this.re.fillRect(b.width/2-a/2,0,a,b.height)};function Xs(a,b,c,d){Gs.call(this,a,102,102);this.fU=d;this.oY=c;b||Js(this,Ks[90]);a=Math.ceil(this.Dc.width/d);c=Math.ceil(this.Dc.height/c);this.Dt=this.vk(a,c);this.Oz=this.vk(this.Dc.width+a,c)}v(Xs,Gs); Xs.prototype.Qg=function(a){Is(this);var b=this.Dt.width,c=this.Dt.height,d=this.Dt.getContext("2d");d.clearRect(0,0,b,c);d.fillStyle="rgba(255,255,255,1)";d.fillRect(0,0,b*a,c);a=this.Oz.getContext("2d");a.clearRect(0,0,this.Oz.width,this.Oz.height);b=this.Dt;for(c=0;ca;++a)this.qF.push(at(100)),this.pF.push(this.vk(20,20));var b=at(25);for(a=0;aa;++a)for(c=20*a,d=0;5>d;++d)b.drawImage(this.pF[this.HX[5*a+d]],c,20*d)};function bt(a){Gs.call(this,a)}v(bt,Gs);bt.prototype.Qg=function(a){var b=this.Dc,c=this.re;Is(this);c.fillStyle="rgba(255,255,255,1)";c.fillRect(0,0,b.width*a,b.height)};function ct(a){Gs.call(this,a);a.ug()&2&&Js(this,Ks[90]);this.PO=If(Hf(0,100));Vb(this.PO)}v(ct,Gs);ct.prototype.Qg=function(a){Is(this);var b=this.re,c=this.Dc.width;a=Math.floor(100*a);for(var d=0;da.indexOf("http://www.w3.org/2000/svg")&&(a=']*>/g,"").replace(/<\/a>/g,"")}f.qS=function(){};function ot(){}v(ot,gt);ot.prototype.mk=function(a,b){ot.L.mk.call(this,a,b);ht(this,a,b.context());var c=b.context();try{var d=Ue(a,"backgroundColor"),e=a.style.width,g=a.style.height;if(""!=d&&"transparent"!=d&&""!=e&&""!=g){var h=tl(d);c.save();c.fillStyle=h.$H;c.fillRect(0,0,parseFloat(e),parseFloat(g));c.restore()}}catch(k){}"block"==sa.window.getComputedStyle(a,null).display&&(b.YC=0)};var pt=!jc&&!dc();function sp(a){return pt&&a.dataset?"width"in a.dataset?a.dataset.width:null:a.getAttribute("data-"+"width".replace(/([A-Z])/g,"-$1").toLowerCase())};function qt(){}v(qt,gt); qt.prototype.mk=function(a,b){qt.L.mk.call(this,a,b);var c=b.context(),d=ic?a.currentStyle:sa.window.getComputedStyle(a,null),e=0;"relative"==d.position&&(e=b.YC,b.YC=e+a.offsetWidth);ht(this,a,c,e);e=a.innerHTML;e=-1!=e.indexOf("&")?"document"in sa?Wa(e):Ya(e):e;if(Ma(e)){c.font=[d.fontStyle,d.fontVariant,d.fontWeight,d.fontSize,d.fontFamily].join(" ");c.fillStyle=d.color;var g=parseFloat(sp(a)),h=rt(d.textShadow);if(h){c.save();c.fillStyle="rgba(0,0,0,1)";var k=2*c.canvas.width;c.translate(k,0); k=[-k,0];st(c).transform(k,0,k,0,1);c.shadowOffsetX=h.offsetX+k[0];c.shadowOffsetY=h.offsetY+k[1];c.shadowColor=h.color;c.shadowBlur=h.blur;tt(c,e,d,g);c.restore()}else tt(c,e,d,g)}};function st(a){var b=new wi;a=a.os;for(var c=0;cb.pb()&&Bs(d,!0)):(d.Sm=null,d.yx&&(Bs(d,!1),jc&&It(a)))} function It(a){if(a=a.Bc.querySelector("video")){var b=Be(a),c=ef(b);c.width&&(cf(b,c.width+1),setTimeout(function(){cf(b,c.width)},0))}}function Dt(a,b,c){c=c||a.Bc;a=tb(b.ig);for(var d=0;de||e>=b.uj.length)throw Error("index is out of range");var g=b.uj[e],h=a.Sl.get(g.id());d||(nq(h,oq,!0).add(new pq(g.Ka().left,!0)),nq(h,qq,!0).add(new pq(g.Ka().top,!0)));if(h=(h=Kt(a.TQ,g,h))?h.VU:null)h=new es(g.id(),h),c.OL.zf(h),c.mp.zf(g.id(),new Dr(0),0)}} f.reset=function(a,b){p(a)||(a=-1);p(b)||(b=0);this.pe||Mt(this);this.Fz=this.jj();this.HO=a;this.IO=b;Ot(this.pe,this.Fz);0<=a&&(this.ql(0,0),this.seek(a,b));this.ql(0,0,!1)};f.activate=function(){if(this.Sa)throw Error("already activated");this.Sa=!0;this.R.Cb().addHandler(this.fb,this);this.R.Sh().addHandler(this.ZM,this)};f.deactivate=function(){Pt(this);this.Sa=!1;this.R.Cb().removeHandler(this.fb,this);this.R.Sh().removeHandler(this.ZM,this)}; function Pt(a){if(!a.pe)throw Error("animation controller isn't activated");}f.play=function(){Pt(this);this.pe.resume(this.jj())};f.pause=function(){Pt(this)}; f.ql=function(a,b,c){var d=[];c=p(c)?c:this.R.le();a=this.pe.zg(a,this.Sl,c);d.push(a);for(a=0;ax.level())q=x;n=q}else if(n instanceof Bq){n=vs(q);q=null;for(u=0;u=this.pe.td.Zd.length?0:this.pe.time();if(a>d||a==d&&(!p(b)||e<=b)){for(;Qt(this)!=a;)this.pe.ms("__step",c),e=0;p(b)&&0b.na()||c!=a.uc?!1:!0}f.fb=function(a,b){var c=a.timestamp();if(St(this,c)){var d=c.na(),c=1E3*c.Da(),e=this.jj(),g=e-this.Fz;this.Fz=e;e=c-this.IO;if(d!=this.HO||b)e=0,this.seek(d,c);this.ql(e,g);this.HO=d;this.IO=c}}; f.ZM=function(a){a=a.timestamp();St(this,a)&&this.ql(0,0)};function Tt(a,b){this.Ua=a;this.Fe=b;this.rE={}}f=Tt.prototype;f.lu=null;f.Ku=null;f.activate=function(a){this.lu=[];this.Ku={};Ut(this,this.Ua.Nc(),t(a.WH,a));Ut(this,this.Ua.Oc(),t(a.Gh,a))};function Ut(a,b,c){for(var d=0;da)){for(var e=c.Nj(),c=[],g=e.count(),h=0;h=d&&l<=a&&c.push(k)}for(d=0;da||a>=this.count())throw Error("index is out of range");return this.Ei[a]};wu.prototype.getTrack=wu.prototype.qw;function xu(){this.Ei=[]}v(xu,wu);xu.prototype.z_=function(a){return this.qw(a)};xu.prototype.getAudioTrack=xu.prototype.z_;function yu(a,b,c,d,e){this.vb=a;this.Uf=b;this.Va=c;this.Pa=d;this.Pk=e}v(yu,pn);yu.prototype.gf=function(){return this.Uf};yu.prototype.width=function(){return this.Va};yu.prototype.height=function(){return this.Pa};yu.prototype.rg=function(){return-1!=this.Uf.indexOf("controls")};function zu(a,b,c,d){tu.call(this,b,c,d);this.mb=a}v(zu,tu);zu.prototype.video=function(){return this.mb};zu.prototype.width=function(){return this.mb.width()};zu.prototype.width=zu.prototype.width;zu.prototype.height=function(){return this.mb.height()};zu.prototype.height=zu.prototype.height;function Au(){this.Ei=[]}v(Au,wu);Au.prototype.zs=function(a){return this.qw(a)};Au.prototype.getVideoTrack=Au.prototype.zs;function Bu(){this.QT=new xu;this.CZ=new Au}Bu.prototype.vn=function(){return this.QT};Bu.prototype.audioTracks=Bu.prototype.vn;Bu.prototype.Jf=function(){return this.CZ};Bu.prototype.videoTracks=Bu.prototype.Jf;function Cu(){this.Tb=!0}Cu.prototype.enabled=function(){return this.Tb};Cu.prototype.enabled=Cu.prototype.enabled;Cu.prototype.la=function(a){this.Tb=a};Cu.prototype.De=function(){return this.JV};function Du(a,b,c){this.gV=a;this.EK=b||!1;this.Uz=c||!1}f=Du.prototype;f.EK=!1;f.Uz=!1;f.key=function(){return this.gV};f.WA=function(){return this.EK};f.shift=function(){return this.Uz};function Eu(a){this.wa=a;this.tP=[]}Eu.prototype.type=function(){return this.wa};Eu.prototype.$p=function(){return this.tP};function Fu(){this.Db=[]}Fu.prototype.count=function(){return this.Db.length};Fu.prototype.zf=function(a){this.Db.push(a)};function Gu(a,b){if(0>b||b>=a.count())throw Error("actionIndex is out of range");return a.Db[b]};function Hu(){this.Db=new Fu}Hu.prototype.Tb=!0;Hu.prototype.enabled=function(){return this.Tb};Hu.prototype.la=function(a){this.Tb=a};Hu.prototype.actions=function(){return this.Db};function Iu(){}Iu.prototype.hR=!0;Iu.prototype.FJ=function(){return this.hR};var Ju={f4:"free",S6:"restricted",v7:"sequential"};r("ispring.presenter.presentation.settings.NavigationType",Ju,void 0);r("FREE","free",Ju);r("RESTRICTED","restricted",Ju);r("SEQUENTIAL","sequential",Ju);function Ku(){this.FV=new Cu;this.Wt=new Hu;this.MU=new Iu;this.LM="free"}Ku.prototype.Xj=function(){return this.FV};Ku.prototype.mouse=Ku.prototype.Xj;Ku.prototype.In=function(){return this.Wt};Ku.prototype.vs=function(){return this.MU};Ku.prototype.navigationType=function(){return this.LM};Ku.prototype.navigationType=Ku.prototype.navigationType;function Lu(){}Lu.prototype.PP=null;Lu.prototype.zO=null;Lu.prototype.XB=function(){return this.PP};Lu.prototype.DB=function(){return this.zO};function Mu(a,b){this.yf=a;this.on=b}Mu.prototype.url=function(){return this.yf};Mu.prototype.target=function(){return this.on};Mu.prototype.open=function(){Mg(this.yf,{target:this.on})};var Nu={K3:["BC","AD"],J3:["Before Christ","Anno Domini"],s5:"JFMAMJJASOND".split(""),T7:"JFMAMJJASOND".split(""),Q4:"January February March April May June July August September October November December".split(" "),S7:"January February March April May June July August September October November December".split(" "),z7:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),V7:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),R8:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), X7:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),B7:"Sun Mon Tue Wed Thu Fri Sat".split(" "),W7:"Sun Mon Tue Wed Thu Fri Sat".split(" "),t5:"SMTWTFS".split(""),U7:"SMTWTFS".split(""),A7:["Q1","Q2","Q3","Q4"],E6:["1st quarter","2nd quarter","3rd quarter","4th quarter"],P1:["AM","PM"],c3:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],p8:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],d3:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],bT:6,S8:[5,6],cT:5},Ou=Nu, Ou=Nu;function Pu(a,b,c,d,e,g){xa(a)?(this.gh=a==Qu?b:0,this.Ug=a==Ru?b:0,this.Rg=a==Su?b:0,this.Kh=a==Tu?b:0,this.Nh=a==Uu?b:0,this.Qh=a==Vu?b:0):(this.gh=a||0,this.Ug=b||0,this.Rg=c||0,this.Kh=d||0,this.Nh=e||0,this.Qh=g||0)} Pu.prototype.aC=function(a){var b=Math.min(this.gh,this.Ug,this.Rg,this.Kh,this.Nh,this.Qh),c=Math.max(this.gh,this.Ug,this.Rg,this.Kh,this.Nh,this.Qh);if(0>b&&0b&&c.push("-");c.push("P");(this.gh||a)&&c.push(Math.abs(this.gh)+"Y");(this.Ug||a)&&c.push(Math.abs(this.Ug)+"M");(this.Rg||a)&&c.push(Math.abs(this.Rg)+"D");if(this.Kh||this.Nh||this.Qh||a)c.push("T"),(this.Kh||a)&&c.push(Math.abs(this.Kh)+"H"),(this.Nh||a)&&c.push(Math.abs(this.Nh)+"M"), (this.Qh||a)&&c.push(Math.abs(this.Qh)+"S");return c.join("")};Pu.prototype.Qj=function(a){return a.gh==this.gh&&a.Ug==this.Ug&&a.Rg==this.Rg&&a.Kh==this.Kh&&a.Nh==this.Nh&&a.Qh==this.Qh};Pu.prototype.clone=function(){return new Pu(this.gh,this.Ug,this.Rg,this.Kh,this.Nh,this.Qh)};var Qu="y",Ru="m",Su="d",Tu="h",Uu="n",Vu="s";Pu.prototype.add=function(a){this.gh+=a.gh;this.Ug+=a.Ug;this.Rg+=a.Rg;this.Kh+=a.Kh;this.Nh+=a.Nh;this.Qh+=a.Qh}; function Wu(a,b,c){ya(a)?(this.yb=Xu(a,b||0,c||1),Yu(this,c||1)):Aa(a)?(this.yb=Xu(a.getFullYear(),a.getMonth(),a.getDate()),Yu(this,a.getDate())):(this.yb=new Date(Ha()),a=this.yb.getDate(),this.yb.setHours(0),this.yb.setMinutes(0),this.yb.setSeconds(0),this.yb.setMilliseconds(0),Yu(this,a))}function Xu(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}f=Wu.prototype;f.IR=Ou.bT;f.JR=Ou.cT;f.clone=function(){var a=new Wu(this.yb);a.IR=this.IR;a.JR=this.JR;return a}; f.getFullYear=function(){return this.yb.getFullYear()};f.getYear=function(){return this.getFullYear()};f.getMonth=function(){return this.yb.getMonth()};f.getDate=function(){return this.yb.getDate()};f.getTime=function(){return this.yb.getTime()};f.getDay=function(){return this.yb.getDay()};f.getUTCFullYear=function(){return this.yb.getUTCFullYear()};f.getUTCMonth=function(){return this.yb.getUTCMonth()};f.getUTCDate=function(){return this.yb.getUTCDate()};f.getUTCDay=function(){return this.yb.getDay()}; f.getUTCHours=function(){return this.yb.getUTCHours()};f.getUTCMinutes=function(){return this.yb.getUTCMinutes()};f.getTimezoneOffset=function(){return this.yb.getTimezoneOffset()};f.set=function(a){this.yb=new Date(a.getFullYear(),a.getMonth(),a.getDate())};f.setFullYear=function(a){this.yb.setFullYear(a)};f.setYear=function(a){this.setFullYear(a)};f.setMonth=function(a){this.yb.setMonth(a)};f.setDate=function(a){this.yb.setDate(a)};f.setTime=function(a){this.yb.setTime(a)};f.setUTCFullYear=function(a){this.yb.setUTCFullYear(a)}; f.setUTCMonth=function(a){this.yb.setUTCMonth(a)};f.setUTCDate=function(a){this.yb.setUTCDate(a)}; f.add=function(a){if(a.gh||a.Ug){var b=this.getMonth()+a.Ug+12*a.gh,c=this.getYear()+Math.floor(b/12),b=b%12;0>b&&(b+=12);var d;a:{switch(b){case 1:d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.Rg&&(a=new Date((new Date(this.getYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.Rg),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()), this.setDate(a.getDate()),Yu(this,a.getDate()))};f.aC=function(a,b){var c=[this.getFullYear(),cb(this.getMonth()+1),cb(this.getDate())].join(a?"-":""),d;if(b)if(d=this.getTimezoneOffset(),0==d)d="Z";else{var e=Math.abs(d)/60,g=Math.floor(e),e=60*(e-g);d=(0=this.HS.valueOf()&&a.valueOf()<=this.hw.valueOf()};Zu.prototype.iterator=function(){return new $u(this)};function $u(a){this.tI=a.getStartDate().clone();this.hw=Number(a.hw.aC())}v($u,Ef);$u.prototype.next=function(){if(Number(this.tI.aC())>this.hw)throw Df;var a=this.tI.clone();this.tI.add(new Pu(Su,1));return a};function av(){}f=av.prototype;f.oQ=null;f.PK=null;f.password=function(){return this.jO};f.Us=function(){return this.oQ};function bv(a,b){a.oQ=b}f.cB=function(){return this.PK};function cv(){}f=cv.prototype;f.rM=!1;f.Tl=!1;f.Pz=!1;f.Uk="never";f.Dl=function(){return this.rM};cv.prototype.loopPlayback=cv.prototype.Dl;cv.prototype.wn=function(){return this.Tl};cv.prototype.autoStart=cv.prototype.wn;cv.prototype.NB=function(a){this.Tl=a};cv.prototype.M0=function(){return this.Uk};cv.prototype.resumeMode=cv.prototype.M0;cv.prototype.QI=function(){return this.Pz};function dv(){}dv.prototype.Bo=!0;dv.prototype.kw=function(){return this.Bo};dv.prototype.fitToWindow=dv.prototype.kw;function ev(){this.yE=new Ku;this.LX=new cv;this.KT=new dv;this.DZ=new Lu;this.XX=new av}f=ev.prototype;f.jG=null;f.ma=null;f.UP="";f.navigation=function(){return this.yE};f.Jc=function(){return this.LX};ev.prototype.playback=ev.prototype.Jc;ev.prototype.tn=function(){return this.KT};ev.prototype.appearance=ev.prototype.tn;ev.prototype.c1=function(){return this.jG};ev.prototype.skin=ev.prototype.c1;ev.prototype.Jp=function(){return this.ma};ev.prototype.i18n=ev.prototype.Jp;ev.prototype.jq=function(){return this.DZ}; ev.prototype.Js=function(){return this.XX};function fv(){}r("ispring.presenter.presentation.IPresenters",fv,void 0);fv.prototype.count=function(){};fv.prototype.count=fv.prototype.count;fv.prototype.pw=function(){};fv.prototype.getPresenter=fv.prototype.pw;function gv(){}r("ispring.presenter.presentation.resources.references.IReference",gv,void 0);gv.prototype.type=function(){};gv.prototype.type=gv.prototype.type;gv.prototype.title=function(){};gv.prototype.title=gv.prototype.title;gv.prototype.url=function(){};gv.prototype.url=gv.prototype.url;gv.prototype.target=function(){};gv.prototype.target=gv.prototype.target;gv.prototype.navigate=function(){};gv.prototype.navigate=gv.prototype.navigate;function hv(){}r("ispring.presenter.presentation.resources.references.IReferences",hv,void 0);hv.prototype.count=function(){};hv.prototype.count=hv.prototype.count;hv.prototype.xs=function(){};hv.prototype.getReference=hv.prototype.xs;function iv(){}r("ispring.presenter.presentation.resources.IResources",iv,void 0);iv.prototype.Xg=function(){};iv.prototype.references=iv.prototype.Xg;function jv(){}r("ispring.presenter.presentation.IPresentation",jv,void 0);jv.prototype.Xs=function(){};jv.prototype.uniqueId=jv.prototype.Xs;jv.prototype.U=function(){};jv.prototype.slides=jv.prototype.U;jv.prototype.title=function(){};jv.prototype.title=jv.prototype.title;jv.prototype.D=function(){};jv.prototype.slideWidth=jv.prototype.D;jv.prototype.C=function(){};jv.prototype.slideHeight=jv.prototype.C;jv.prototype.Ti=function(){};jv.prototype.presenters=jv.prototype.Ti;jv.prototype.Xa=function(){}; jv.prototype.company=jv.prototype.Xa;jv.prototype.Jl=function(){};jv.prototype.resources=jv.prototype.Jl;function kv(a,b){this.Tc=a;this.jo=b}f=kv.prototype;f.xu=1;f.yf=null;f.on="_self";f.src=function(){return this.Tc};f.Ka=function(){return this.jo};f.opacity=function(){return this.xu};f.Ef=function(a){this.xu=a};f.url=function(){return this.yf};f.target=function(){return this.on};function lv(){this.oG=[]}lv.prototype.count=function(){return this.oG.length};lv.prototype.add=function(a){this.oG.push(a)};function mv(a,b){for(var c=a.count(),d=0;da||a>=this.count())throw Error("index is out of range");return this.Dr[a]};nv.prototype.getPresenter=nv.prototype.pw;function ov(a,b,c){this.wb=a;this.sV=b;this.wZ=[].concat(c)}ov.prototype.name=function(){return this.wb};ov.prototype.localName=function(){return this.sV};ov.prototype.AJ=function(){return this.wZ};function pv(){this.pq={}}pv.prototype.JH=function(a){return a in this.pq};function qv(a,b,c,d){this.wa=a;this.ye=b;this.yf=c;this.on=d}qv.prototype.type=function(){return this.wa};qv.prototype.type=qv.prototype.type;qv.prototype.title=function(){return this.ye};qv.prototype.title=qv.prototype.title;qv.prototype.url=function(){return this.yf};qv.prototype.url=qv.prototype.url;qv.prototype.target=function(){return this.on};qv.prototype.target=qv.prototype.target;qv.prototype.navigate=function(a){Mg(this.yf,{target:a||this.on})};qv.prototype.navigate=qv.prototype.navigate;function rv(){this.Tu=[]}rv.prototype.count=function(){return this.Tu.length};rv.prototype.count=rv.prototype.count;rv.prototype.xs=function(a){if(0>a||a>=this.count())throw Error("index is out of range");return this.Tu[a]};rv.prototype.getReference=rv.prototype.xs;function sv(){this.Tu=new rv}sv.prototype.Xg=function(){return this.Tu};sv.prototype.references=sv.prototype.Xg;function tv(){}tv.prototype.jb=null;tv.prototype.Ov="";tv.prototype.YQ="_blank";tv.prototype.he=function(){return this.jb};tv.prototype.logo=tv.prototype.he;tv.prototype.YI=function(a){this.jb=a};tv.prototype.Zb=function(){return this.Ov};tv.prototype.webSiteUrl=tv.prototype.Zb;tv.prototype.jJ=function(a){this.Ov=a};tv.prototype.ix=function(){return this.YQ};tv.prototype.webSiteTarget=tv.prototype.ix;function uv(a){this.vb=a;this.O=new jo;this.Y=new ev;this.HK=new lv;this.nL=[];this.Dr=new nv;this.HV=new Bu;this.QF=new sv;this.sG=new pv;this.LQ=new pv;this.MX=[]}f=uv.prototype;f.ye="";f.ni=null;f.Ul=null;f.js=null;f.Ac=null;f.Xs=function(){return this.vb};uv.prototype.uniqueId=uv.prototype.Xs;uv.prototype.U=function(){return this.O};uv.prototype.slides=uv.prototype.U;uv.prototype.title=function(){return this.ye};uv.prototype.title=uv.prototype.title;uv.prototype.setTitle=function(a){this.ye=a}; uv.prototype.D=function(){return this.Te};uv.prototype.slideWidth=uv.prototype.D;uv.prototype.C=function(){return this.Re};uv.prototype.slideHeight=uv.prototype.C;uv.prototype.settings=function(){return this.Y};uv.prototype.settings=uv.prototype.settings;f=uv.prototype;f.sB=function(){if(!this.ni){var a=If(Hf(this.O.count()));this.ni=new To(this.O,"__m",a)}return this.ni};f.Rv=function(){return this.Ul};f.gx=function(){return this.js};f.fonts=function(){return this.nL};f.Ti=function(){return this.Dr}; uv.prototype.presenters=uv.prototype.Ti;uv.prototype.Xa=function(){return this.Ac};uv.prototype.company=uv.prototype.Xa;uv.prototype.Yp=function(a){this.Ac=a};uv.prototype.Xc=function(){return this.HV};uv.prototype.narration=uv.prototype.Xc;uv.prototype.Jl=function(){return this.QF};uv.prototype.resources=uv.prototype.Jl;uv.prototype.Rp=function(){return this.MX};function vv(a){this.uc=a}vv.prototype.type=function(){return"gotoSlide"};vv.prototype.P=function(){return this.uc};function wv(a){this.wa=a}wv.prototype.type=function(){return this.wa};function xv(a){this.wa="gotoSlide";this.uc=a}v(xv,wv);xv.prototype.P=function(){return this.uc};function yv(a){this.B=a}yv.prototype.IH=function(a){switch(a.type()){case "closePlayerWindow":this.B.Sx.F();return;case "gotoNextSlide":mu(this.B);return;case "gotoSlide":this.CD(a.P());return}throw Error("unknown action type");};yv.prototype.CD=function(a){this.B.jc(a)};function O(a,b,c,d,e,g,h,k){var l=this;this.J=a;this.O=a.U();this.Se=c;this.VY=d;this.ya=e;this.R=e.X();this.bM=this.R.timestamp();this.Ia=g;this.Yd=h;this.NG=k;this.Pz=a.settings().Jc().QI();this.zj=new I;this.YO=new I;c.gn.addHandler(this.ZE,this);this.R.Cb().addHandler(this.fb,this);this.R.Sh().addHandler(function(){this.NG.X().Sh().F()},this);this.R.Tn().addHandler(function(){this.NG.X().Tn().F()},this);this.Yd.Xw().addHandler(this.TN,this);this.Yd.Ol().addHandler(function(){this.zQ.F()},this); this.Yd.Xw().addHandler(function(){this.yQ.F()},this);this.WY=[];this.gy=new zv;this.Ne="pausedSlide";this.ni=a.sB();this.Hj=[];a=this.R.timestamp().P();0<=a&&(this.R.Ml()?this.nj(a,!0,!1,!1,!1):this.fb(this.R));this.$D=Ha();this.WJ=new ou;this.WJ.Cb().addHandler(this.OV,this);this.WJ.start();this.qx=new I;this.QP=new I;this.vv=new I;this.NP=new I;this.Sx=new I;this.jL=new I;this.zQ=new I;this.yQ=new I;this.lF=new gu;this.lF.isSupported()&&z(this.lF,"visibilitychange",this.wX,!1,this);z(window,"beforeunload", function(){Av(l,!1)})}f=O.prototype;f.Dz=!1;f.V=-1;f.Dg=-1;f.Iu=null;f.Sa=!1;f.cH=-1;f.play=function(){0>this.V?this.jc(this.Be()):Bv(this)&&!this.R.hc()?this.Hh():this.gd.play()};O.prototype.play=O.prototype.play;function Bv(a){var b=a.R.timestamp(),c=b.na(),b=b.Da(),d=a.gd.Ja(),c=0<=c?d.Yb(c):null;return"suspended"==a.R.state()||null!==c&&b>=c.duration()}O.prototype.pause=function(){this.gd&&this.gd.pause()};O.prototype.pause=O.prototype.pause; O.prototype.jc=function(a,b,c){this.nj(a,b,!0,!1,!0,void 0,!(void 0===c||c))};O.prototype.gotoSlide=O.prototype.jc;O.prototype.Fn=function(a){if(!this.gy.Mp()){p(a)||(a=!0);var b=this.gy.pop();b&&this.nj(b.index(),a,!1)}};O.prototype.gotoLastSlideViewed=O.prototype.Fn;O.prototype.Be=function(){var a=Uo(this.ni);return Xo(a)?a.fa().index():this.ni.U()[0]};O.prototype.firstSlideIndex=O.prototype.Be; O.prototype.Pi=function(){var a=Uo(this.ni);a.V=a.Qr.length;if(Yo(a))return a.fa().index();a=this.ni.U().length;return this.ni.U()[a-1]};O.prototype.lastSlideIndex=O.prototype.Pi;O.prototype.Rj=function(a){this.nj(this.Be(),a)};O.prototype.gotoFirstSlide=O.prototype.Rj;O.prototype.Sj=function(a){this.nj(this.Pi(),a)};O.prototype.gotoLastSlide=O.prototype.Sj;O.prototype.od=function(a){a=p(a)?a:!0;Cv(this,a,!0)};O.prototype.gotoNextSlide=O.prototype.od; function mu(a){var b;b=p(b)?b:!0;Cv(a,b,!0,!0)}O.prototype.ff=function(a){p(a)||(a=!0);if(0>this.V)throw Error("current slide is null");Dv(this,a,!1)};O.prototype.gotoPreviousSlide=O.prototype.ff; O.prototype.Hh=function(){if(0>this.V)throw Error("Slide has not been loaded");var a=this.R.timestamp(),b=a.na(),c=a.Da(),a=this.gd,d=a.Ja(),e=0<=b?d.Yb(b):null,g=e?e.duration():0,d=b==d.count()-1&&(c>=g||e.Ki());0>b?(Ev(this.Yd,!1),this.OG&&Cv(this,!0,!1)):d?(Bp(a),Cv(this,!0,!0)):(this.iy=g<=c,b=a.Ua.Ja(),c=a.ya.X().timestamp().na(),c==b.count()-1?Bp(a):(a.play(),Ap(a,c+1,0)),Fv(this),this.iy=!1)};O.prototype.gotoNextStep=O.prototype.Hh; O.prototype.Ih=function(a,b,c,d){void 0==d&&(d=!1);if(a>this.O.count()||0>a)throw Error("slideIndex is out of bounds");var e=this.O.ka(a);if(0>b)c=b=0;else{var g=e.Ja().count();b>g-1&&(b=g-1)}this.Yd.state()!=Gv&&Ev(this.Yd,!1);if(g=a!=this.V){Av(this);this.Se.Ns(a);if(!e.pd()){this.vm=arguments;this.vm.P=a;Ro(this.ya,!0,this.Se);return}this.vm&&(this.vm=null,Ro(this.ya,!1,this.Se));if(0==b&&0==c){this.nj(a,d,!0,!1,!0,!1);return}e=this.Ce(a);if(e instanceof Vt){e.Fe.reset(b,1E3*c);var h=Hv(this.Ia.hg, a);(h=h?h.zB():null)&&e.IB(h)}}this.ya.zg(a,b,c,!0);g&&this.qx.F(a);d?this.ya.start():this.ya.stop();Fv(this)};O.prototype.gotoTimestamp=O.prototype.Ih;function Dv(a,b,c,d){d=void 0===d?!1:d;var e=a.hf();if(0>e){if(0>a.V)return;e=a.V}a.Iu=!1;a.nj(e,b,!0,c,void 0,void 0,d)}O.prototype.hf=function(){if(0>this.V)return-1;var a=this.fa().Ch().Is();return a?"gotoSlide"==a.type()?a.P():-1:Iv(this)};O.prototype.previousSlideIndex=O.prototype.hf; function Iv(a){var b=a.fa(),c=Jv(a);if(a.V!=c)return Kv(a).U()[0];c=Uo(Kv(a));if(c.seekTo(a.Dg)){for(a=b.visible();Wo(c)&&!(c.fa().cC()||!a||a&&c.fa().visible()););return(a=c.fa())?a.index():-1}return-1}O.prototype.Tj=function(){var a=this.Ce(this.V),b=!0,c=this.R.timestamp(),d=c.na();0>d?(Ev(this.Yd,!1),this.OG||(Dv(this,!1,!0,!0),b=!1)):0d&&(d=0);this.Dg=d;this.nj(c.U()[d],!0,!0,!1,!0,!0)}};f.eB=function(){if(this.Hj.length){var a=this.Hj.pop();a.Xu?(this.Dg=a.TY,this.jc(a.Xu.P())):(this.Hj=[],this.Dg=this.V)}else this.Sx.F()};f.KI=function(){var a=this.V,b=this.Ce(a);b instanceof Vt&&Rt(b.Fe);Mv(this.Ia.hg,a);this.Ih(a,0,0,!0)}; f.OV=function(){var a=this.$D;this.$D=Ha();if(!(0>this.ja())){var b=this.R.le(),c=b?(this.$D-a)/1E3:0,d=this.R.timestamp(),a=d.P(),e=d.na(),d=d.Da(),d=d+c,c=this.fa();if(b&&0<=e){var b=c.Ja(),c=b.Yb(e),g=c.duration();if(d>=g)if(c.Ki()){++e;if(e==b.count()){this.ya.zg(a,e-1,c.duration());Cv(this,!0,!1);return}d=0}else{this.ya.zg(a,e,g);Po(this.ya,!0);return}}this.ya.zg(a,e,d)}}; f.TN=function(){this.Se.la(!0);var a=this.Ce(this.V);a.gH();var b=Hv(this.Ia.hg,this.V),c=b?b.zB():null;this.iy=!0;b&&this.gY?(this.ya.zg(this.V,b.na(),b.Da()),this.gd instanceof Vt&&c&&this.gd.restoreState(c),this.Tl?a.play():a.pause()):this.Tl?(a.play(),Ap(a,0,0)):Cp(a);this.iy=!1;(this.OG||b)&&Fv(this)}; function Cv(a,b,c,d){if(0>a.V)throw Error("current slide is null");var e=!!a.fa().Ch().Mn();d=d?Nv(a):a.Ee();0<=d?0this.V)return-1;var a=this.fa().Ch().Mn();return a?"gotoSlide"==a.type()?a.P():-1:Nv(this)};O.prototype.nextSlideIndex=O.prototype.Ee; O.prototype.nj=function(a,b,c,d,e,g,h){a<<=0;if(a>=this.O.count()||0>a)throw Error("Invalid slide index");void 0==b&&(b=!0);void 0==c&&(c=!0);void 0==d&&(d=!1);void 0==e&&(e=!0);void 0==g&&(g=!0);void 0==h&&(h=!0);if(a!=this.V)if(this.Yd.state()!=Gv&&Ev(this.Yd,!1),this.Se.Ns(a),2!=this.Se.ys(a))this.vm=arguments,this.vm.P=a,Ro(this.ya,!0,this.Se);else{this.vm=null;this.Se.la(!1);this.Tl=b;this.OG=d;this.gY=h;var k=d?this.V:a;this.og=this.O.ka(k).transition().clone();this.jL.F(this.og,this.V,a);Av(this); this.ya.zg(k,-1,0);k=this.Ce(a);if(k instanceof Vt){h||Mv(this.Ia.hg,a);var l=Hv(this.Ia.hg,a);(l=l?l.zB():null)?k.restoreState(l):(Rt(k.Fe),k.Fe.reset(0,0))}this.Sz(a,c);if(k=g&&0l.V;l.vj=A?x.background():l.ng.oe[l.V];l.Po=x.oe[m];x=[];0<=l.V&&(x=l.J.U().ka(l.V),x=x instanceof zr?x.Pr:[]);var E=l.J.U().ka(m),E=E instanceof zr?E.Pr:[];l.V=m;m=l;vp(m.vj);wp(m.Po);wp(m.vj);q=new Qv(l.Te,l.Re,u,l.Po, l.vj,l.tm,q);q.nr=x;q.lr=E;q.nu=A;"RandomTransition"==n&&(n=Rv[Math.floor(Math.random()*Rv.length)],n=n[Math.floor(Math.random()*n.length)]);n=(n=Sv[n])?n(q):new Tv(q);l.Cg=n;l.Cg.Es()&&(A=l.Cg,A.R=l.R,A.R.Sh().addHandler(A.YM,A),A.R.Tn().addHandler(A.XM,A),l.Cg.$c.addHandler(l.SN,l));n.Cs()?Uv(l):n.Su.addHandler(l.cF,l)}else Vv(this.Yd,a);this.gd&&(l=this.gd,Ep(l,this.Sa),l.activate(this.Ia));this.qx.F(a);this.ya.start(d);g&&((l=this.og.Ud)?(n=this.Ia.mediaController(),Wv(n,l,n.R.timestamp(),0)): this.og.bQ&&ss(this.Ia.mediaController()));k||this.TN();e&&Fv(this)}};function Fv(a){a.iy||a.YO.F()}O.prototype.playbackState=function(){var a=this.R.state(),b=this.R.timestamp().na();return"stopped"==a?0>b?"pausedTransition":"pausedSlide":"suspended"==a?"suspended":"buffering"==a?"buffering":0>b?"playingTransition":"playingSlide"};O.prototype.playbackState=O.prototype.playbackState;f=O.prototype; f.fb=function(a){a=a.timestamp();var b=a.P(),c=a.na(),d=a.Da();if(0>c){var e=d,g=0;if(this.og&&this.og.Lq!=Xv){var h=this.Yd.wG*this.og.duration();isNaN(h)&&(h=0);g=Math.max(0,this.og.duration()-h);e-=h}this.NG.setProgress(0this.V)throw Error("Current slide is undefined");return this.O.ka(this.V)};O.prototype.currentSlide=O.prototype.fa;f=O.prototype;f.Uc=function(){if(!this.gd)throw Error("Current slide is undefined");return this.gd}; f.Sz=function(a,b){if(this.V!=a){b&&0<=this.V&&this.gy.push(this.O.ka(this.V));this.gd&&(this.gd.AR(),this.gd.deactivate());var c=Kv(this).U(),d=-1;null===this.Iu||(d=this.Iu?c.indexOf(a,this.Dg):c.lastIndexOf(a,this.Dg));c=0<=d?d:c.indexOf(a);0<=c&&(this.Dg=c);this.Iu=null;this.V=a;c=this.O.ka(a);c.cC()||io(c,!0);b&&(d=this.Ia.hg,d.Ek!=a&&(d.Ek=a,d.nl=!0));this.gd=this.Ce(a);this.NP.F(a);Yv(this,c);this.QP.F(a)}}; function Yv(a,b){var c=b.index(),d=a.Ce(c),d=b.persistState(d),e=a.Ia.hg;e.hn[c]=d;e.nl=!0;e.invalidate()} f.Ce=function(a){if(!this.O.ka(a).pd())return null;var b=this.WY,c=b[a];c||(c=cu(this.VY,a),b[a]=c,c.stateChangedEvent().addHandler(this.aX,this),c instanceof Vt?c.Ws().addHandler(function(a){this.V==a&&Av(this)},this):c instanceof Ar?c.Ya().quizPlayerEvent().addHandler(this.EW,this):c instanceof Kp?c.kc().interactionPlayerEvent().addHandler(this.qW,this):c instanceof Cr&&c.tb().scenarioPlayerEvent().addHandler(this.KW,this));return c}; f.EW=function(a){switch(a){case "gotoPreviousSlide":this.ff();break;case "skipQuizSlide":this.od();break;case "quizFinished":a=this.fa();var b=this.Uc(),b=Mp(b.Ya());a=Qp(b)?a.nF:a.sD;var b=this.fa(),c=this.Uc().Ya(),d=Mp(c);"graded"==d.Jz&&Rp(d)&&!Qp(d)&&b.NI()&&c.restartQuiz();(new lu(this)).IH(a)}};f.qW=function(a){switch(a){case "gotoNextSlide":this.od();break;case "gotoPreviousSlide":this.ff()}}; f.KW=function(a){switch(a){case "skipScenarioSlide":this.od();break;case "scenarioFinished":a=this.fa();var b=this.Uc();a=Gp(b.tb()).scenarioPassed()?a.oF:a.tD;(new yv(this)).IH(a)}};f.aX=function(a){Yv(this,a)};f.Mc=function(){return this.QP};O.prototype.slideChangeEvent=O.prototype.Mc;O.prototype.Ol=function(){return this.zQ};O.prototype.bC=function(){return this.yQ};O.prototype.Sn=function(){return this.vv};O.prototype.stepChangeEvent=O.prototype.Sn;O.prototype.mJ=function(){return this.NP}; O.prototype.Si=function(){return this.zj};O.prototype.playbackCompleteEvent=O.prototype.Si;function Pv(a){a.Dz||(a.Dz=!0,a.zj.F())}O.prototype.ZE=function(a){var b=this.vm;b&&b.P==a.index()&&(this.vm=null,Ro(this.ya,!1,this.Se),b.callee.apply(this,b))};O.prototype.Ya=function(){return 0>this.V||!(this.fa()instanceof Op)?null:this.Uc().Ya()};O.prototype.quizPlayer=O.prototype.Ya;O.prototype.kc=function(){return 0>this.V||!(this.fa()instanceof Jp)?null:this.Uc().kc()}; O.prototype.tb=function(){return 0>this.V||!(this.fa()instanceof Br)?null:this.Uc().tb()};O.prototype.scenarioPlayer=O.prototype.tb;O.prototype.Ss=function(){return this.Yd};O.prototype.slideTransitionController=O.prototype.Ss;O.prototype.lW=function(a){var b=this.Ce(this.V);b&&(b=b.view(),b instanceof pp&&b.vp.F(a,new op,!0))};O.prototype.wX=function(){hu(this.lF)?(this.cU=this.R.le(),this.pause()):this.cU&&Ng(function(){this.play()},this,100)}; function Av(a,b){b=void 0===b?!0:b;if(a.Pz){var c=a.X().timestamp();if(0<=c.P()&&0<=c.na()){var d=a.Ce(c.P()),d=d instanceof Vt?d.persistState():null,d=new ju(d,c.na(),c.Da()),e=a.Ia.hg;b&&(e.Bv=!0);Mv(e,c.P(),d);e.invalidate()}}}function zv(a){this.O=[];this.ku=a||1}f=zv.prototype;f.O=null;f.ku=0;f.$m=0;f.Kk=0;f.Jo=!1;f.push=function(a){this.Jo||(this.O[this.Kk]=a,this.Kk=(this.Kk+1)%this.ku,this.$m=Math.min(this.$m+1,this.ku))}; f.pop=function(){if(this.Jo||this.Mp())return null;this.Kk=0>this.Kk-1?this.ku-1:this.Kk-1;this.$m--;return this.O[this.Kk]};f.top=function(){return this.Mp()?null:this.O[0>this.Kk-1?this.ku-1:this.Kk-1]};f.Mp=function(){return!this.$m};f.size=function(){return this.$m};f.lock=function(){this.Jo=!0};f.unlock=function(){this.Jo=!1};function Lv(a,b,c){this.nG=a;this.Xu=b;this.TY=c}Lv.prototype.Xu=null;function aw(){this.SK=new I;this.UK=new I;this.RK=new I}f=aw.prototype;f.Kq=!1;f.Jq=!1;f.iA=null;f.Mu=null;f.ws=function(){return"drag"};f.kB=function(a,b){if(1==b.touches().length){if("touchStart"==a)return this.Kq&&(this.Jq=this.Kq=!1),this.Jq=!1,1;if("touchMove"==a&&this.Jq)return 1}this.Kq&&(this.Jq=this.Kq=!1,this.RK.F(this.Mu.x,this.Mu.y));return 0}; f.PA=function(a,b){var c=new jd(b.touches()[0].clientX(),b.touches()[0].clientY());this.Jq?(c=od(c,this.iA),kd(c,this.Mu)||(this.Kq||(this.Kq=!0,this.UK.F(this.iA.x,this.iA.y)),this.Mu=c,this.SK.F(c.x,c.y))):(this.Jq=!0,this.iA=c,this.Mu=new jd)};f.Dp=function(){};function bw(){this.Ir=new I;this.hP=new I}f=bw.prototype;f.Xt=-1;f.ky=0;f.ws=function(){return"scale"};f.kB=function(a,b){var c=2==b.touches().length,d=!c&&0this.kA&&(fw(this),this.kA=this.Lo);gw(this,hd(this.kA*a,1,4))};f.tX=function(){this.kA=-1};f.sX=function(a,b){var c=new jd(a,b);this.yt.push({offset:c,time:Ha()});this.We(pd(this.Gj,c))};f.rX=function(){fw(this);this.yt=[];this.Gj=this.Hb.clone()}; f.qX=function(){var a=this.yt.length;if(2<=a){var b=this.yt[a-2],c=this.yt[a-1],d=c.time-b.time;0=g.duration()}if(g){g=new ow("currentSlideIsLastSlide");break a}}else if(ww(this,a)&&-1==this.B.hf()&&(g=this.B.X().timestamp(),0==g.na()&&0==g.Da()||this.fa().Ch().Is())){g=new ow("currentSlideIsFirstSlide");break a}g=null}e.presentationFlow=g;"quizSwitchToNextSlide"!= a&&"quizSwitchToNextSlideWithoutBranching"!=a&&"scenarioSwitchToNextSlide"!=a&&"scenarioSwitchToNextSlideWithoutBranching"!=a&&(e[Xm]=xw(this,a,b));g="quizSwitchToNextSlideWithoutBranching"==a||"scenarioSwitchToNextSlideWithoutBranching"==a?Nv(this.B):this.B.Ee();e[Zm]=yw(this,a,b,g);e[$m]=zw(this,a,b,g);g=Wm;k="playPauseControl"!=a||vw(this,a)?(k=0<=this.B.ja()?this.B.fa():null)?k.Ln().dS(a)?null:new ow("currentSlideIsLocked"):null:null;e[g]=k;var k=g=null,l;for(l in e)e.hasOwnProperty(l)&&(h=e[l])&& (g=l,k=h);return null===g?null:new uw(a,g,k,b,c,d)};P.prototype.checkNavigationRestriction=P.prototype.md; function xw(a,b,c){var d=a.B,e=a.J.settings().navigation().navigationType(),g=0<=d.ja()?d.fa():null;if(!g)return null;var h;var k=a.B,l=0<=k.ja()?k.fa():null;if(l){h=a.J.U();switch(b){case cn:l=h.ka(c);break;case "switchToNextSlide":case "switchToNextStep":case "playPauseControl":vw(a,b)&&(c=k.Ee(),0<=c?l=h.ka(c):(c=!!a.fa().Ch().Mn(),a.J.settings().Jc().Dl()&&!c&&(l=h.ka(a.Be()))));break;case "switchToPreviousSlide":case "switchToPreviousStep":ww(a,b)&&(a=k.hf(),0<=a&&(l=h.ka(a)));break;case Ym:l= null}h=l}else h=null;if(h==g)return null;if(!h)return b==Ym&&"free"!=e?new ow("presentationSeekingDisabled"):null;switch(e){case "restricted":if(h.cC())break;if(h.index()!=d.Ee()&&h.index()!=d.hf())return new ow("forwardNavigationIsRestricted");if("slide"==g.type()&&!g.completed())return new ow("currentSlideIsNotCompleted");break;case "sequential":if(h.index()!=d.Ee()&&(0!=h.index()||"switchToNextSlide"!=b))return h.cC()?new ow("backwardNavigationIsRestricted"):new ow("forwardNavigationIsRestricted"); if("slide"==g.type()&&!g.completed())return new ow("currentSlideIsNotCompleted")}return null} function yw(a,b,c,d){vw(a,b)?c=d:ww(a,b)&&(c=a.hf());if(!p(c))return null;d=a.B.Uc().view();if((d instanceof Sp||d instanceof tp)&&!d.Tw()&&c!=a.B.ja())return new ow("interactionNotCompleted");if(!(0=c.Da()}return!1}function Cw(a,b,c,d){return(b=a.md(b,c,d,null))?(a.KM.F(b),!1):!0}P.prototype.play=function(){Cw(this,"playPauseControl",this.B.ja(),null)&&this.B.play()};P.prototype.play=P.prototype.play;P.prototype.pause=function(){Cw(this,"playPauseControl",this.B.ja(),null)&&this.B.pause()};P.prototype.pause=P.prototype.pause; P.prototype.jc=function(a,b){Cw(this,cn,a,null)&&this.B.jc(a,b)};P.prototype.gotoSlide=P.prototype.jc;P.prototype.Fn=function(a){var b=this.B.gy.top(),b=b?b.index():-1;-1!=b&&Cw(this,cn,b,null)&&this.B.Fn(a)};P.prototype.gotoLastSlideViewed=P.prototype.Fn;P.prototype.Rj=function(a){Cw(this,cn,this.B.Be(),null)&&this.B.Rj(a)};P.prototype.gotoFirstSlide=P.prototype.Rj;P.prototype.Sj=function(a){Cw(this,cn,this.B.Pi(),null)&&this.B.Sj(a)};P.prototype.gotoLastSlide=P.prototype.Sj; P.prototype.od=function(a){Cw(this,"switchToNextSlide",this.B.Ee(),null)&&this.B.od(a)};P.prototype.gotoNextSlide=P.prototype.od;P.prototype.ff=function(a){Cw(this,"switchToPreviousSlide",this.B.hf(),null)&&this.B.ff(a)};P.prototype.gotoPreviousSlide=P.prototype.ff;P.prototype.Hh=function(){Cw(this,"switchToNextStep",this.B.ja(),null)&&this.B.Hh()};P.prototype.gotoNextStep=P.prototype.Hh;P.prototype.Tj=function(){Cw(this,"switchToPreviousStep",this.B.ja(),null)&&this.B.Tj()}; P.prototype.gotoPreviousStep=P.prototype.Tj;P.prototype.Ih=function(a,b,c,d){Cw(this,a==this.B.ja()?"slideSeeking":Ym,a,new Ej(a,b,c))&&this.B.Ih(a,b,c,d)};P.prototype.gotoTimestamp=P.prototype.Ih;P.prototype.Be=function(){return this.B.Be()};P.prototype.firstSlideIndex=P.prototype.Be;P.prototype.Pi=function(){return this.B.Pi()};P.prototype.lastSlideIndex=P.prototype.Pi;P.prototype.Ee=function(){return this.B.Ee()};P.prototype.nextSlideIndex=P.prototype.Ee;P.prototype.hf=function(){return this.B.hf()}; P.prototype.previousSlideIndex=P.prototype.hf;P.prototype.ja=function(){return this.B.ja()};P.prototype.currentSlideIndex=P.prototype.ja;P.prototype.fa=function(){return this.B.fa()};P.prototype.currentSlide=P.prototype.fa;P.prototype.playbackState=function(){return this.B.playbackState()};P.prototype.playbackState=P.prototype.playbackState;P.prototype.X=function(){return this.B.X()};P.prototype.clock=P.prototype.X;P.prototype.Mc=function(){return this.B.Mc()};P.prototype.slideChangeEvent=P.prototype.Mc; P.prototype.Sn=function(){return this.B.Sn()};P.prototype.stepChangeEvent=P.prototype.Sn;P.prototype.mJ=function(){return this.B.mJ()};P.prototype.Ol=function(){return this.B.Ol()};P.prototype.bC=function(){return this.B.bC()};P.prototype.Si=function(){return this.B.Si()};P.prototype.playbackCompleteEvent=P.prototype.Si;P.prototype.Dw=function(){return this.KM};P.prototype.navigationRestrictedEvent=P.prototype.Dw;P.prototype.DI=function(){return this.B.DI()};P.prototype.Uc=function(){return this.B.Uc()}; P.prototype.Ya=function(){return this.B.Ya()};P.prototype.quizPlayer=P.prototype.Ya;P.prototype.tb=function(){return this.B.tb()};P.prototype.scenarioPlayer=P.prototype.tb;P.prototype.kc=function(){return this.B.kc()};P.prototype.Ss=function(){return this.B.Ss()};P.prototype.slideTransitionController=P.prototype.Ss;P.prototype.pJ=function(a,b){this.B.pJ(a,b)};P.prototype.eB=function(){this.B.eB()};P.prototype.KI=function(){this.B.KI()};function Dw(){}f=Dw.prototype;f.qA=null;f.rA=null;f.start=function(a,b,c,d){b=bb(b[0],8);var e={};e.family=a;e.bold=!0===c;e.italic=!0===d;this.qA=new Ew(e,"arial,'URW Gothic L',sans-serif",b);this.rA=new Ew(e,"Georgia,'Century Schoolbook L',serif",b)};f.finish=function(){this.qA.Ab();this.qA=null;this.rA.Ab();this.rA=null};f.check=function(){return Fw(this.qA)||Fw(this.rA)}; function Ew(a,b,c){for(var d=w(a,"family",""),d=String(d),e=['"'],g=0;gk))if(k=h,k in $a)h=$a[k];else if(k in Za)h=$a[k]=Za[k];else{m=k.charCodeAt(0);if(31m)h=k;else{if(256>m){if(h="\\x",16>m||256m&&(h+="0");h+=m.toString(16).toUpperCase()}h=$a[k]=h}m=h}e[l]=m}e.push('"');d=e.join("");this.rp=B("span");this.rp.innerHTML=c;C(this.rp,{position:"absolute",top:"-999px",left:"-999px", fontSize:"100px",fontFamily:b,fontWeight:w(a,"bold",!1)?"bold":"normal",fontStyle:w(a,"italic",!1)?"italic":"normal",opacity:"0"});document.body.appendChild(this.rp);this.CX=ef(this.rp).width;C(this.rp,"fontFamily",d+","+b)}Ew.prototype.Ab=function(){xe(this.rp)};function Fw(a){return ef(a.rp).width!=a.CX};var Gw={};function Hw(a,b,c,d){var e;d=d||c;var g="",h=!1,k=!1;xa(a)?g=a:(g=w(a,"family",""),h=w(a,"bold",!1),k=w(a,"italic",!1));if(g in Gw)(Gw[g]?c:d)();else{e=e||5E3;var l=new Dw;l.start(g,b,h,k);var m=Ha(),n=setInterval(function(){var a=!1,b=!1;l.check()?b=a=!0:Ha()-m>e&&(a=!0,b=!1);a&&(clearInterval(n),l.finish(),b?c():d())},50)}} function Iw(a,b){va(b)||(b=[b]);var c=[];y(b,function(a){c.push(a.cZ+"('"+a.src()+"')"+(a.format()?" format('"+a.format()+"')":""))});return"@font-face {\n\t\t\t font-family: '"+a+"';\n\t\t\t src: "+c.join(",")+";\n\t\t\t \n\t\t\t \n\t\t\t}"}function Jw(a,b,c){this.cZ=a;this.Tc=b;this.LU=c||null}Jw.prototype.src=function(){return this.Tc};Jw.prototype.format=function(){return this.LU};function Kw(a){this.js=a;var b=B("img");b.src=a.src();D(b,a.opacity());a.url()&&(C(b,"cursor","pointer"),z(b,"click",this.BX,!1,this));this.OK=b}Kw.prototype.Ka=function(){return this.js.Ka()};Kw.prototype.displayObject=function(){return this.OK};Kw.prototype.BX=function(a){a.stopPropagation();a=this.js.url();Mg(a,{target:this.js.target()})};function Qv(a,b,c,d,e,g,h){this.Te=a;this.Re=b;this.TD=c;this.Ke=d;this.Me=e||null;this.tm=g;this.Qx=h}f=Qv.prototype;f.D=function(){return this.Te};f.C=function(){return this.Re};f.ha=function(){return this.TD};f.Ga=function(){return this.Ke};f.Nb=function(){return this.Me};f.oa=function(){return this.tm};function Q(a){this.TD=a.ha();this.Po=a.Ga();this.vj=a.Nb();this.Vt=!0;this.vz=a;this.Te=a.D();this.Re=a.C();this.Su=new I;this.$c=new I;this.tm=a.oa();this.Qx=a.Qx;this.Te>this.Re?(this.kE=Math.min(this.Te,1024),this.Ko=this.kE/this.Te,this.jE=this.Re*this.Ko):(this.jE=Math.min(this.Re,1024),this.Ko=this.jE/this.Re,this.kE=this.Te*this.Ko);this.ZF=pe("DIV");Ii(this.ZF,1/this.Ko,1/this.Ko);this.$d=H}f=Q.prototype; f.start=function(){this.tm.appendChild(this.ZF);si(this.Nb().ra(),"transitionSlide");si(this.Ga().ra(),"transitionSlide");this.initialize();this.setProgress(0)};f.terminate=function(){this.setProgress(1);this.$A();this.R&&(this.R.Sh().removeHandler(this.YM,this),this.R.Tn().removeHandler(this.XM,this));ui(this.Nb().ra(),"transitionSlide");ui(this.Ga().ra(),"transitionSlide");ve(this.tm)}; function Lw(a,b){b?(si(a.Nb().ra(),"paused"),si(a.Ga().ra(),"paused")):(ui(a.Nb().ra(),"paused"),ui(a.Ga().ra(),"paused"))}f.setProgress=function(a){this.Cs()&&this.va(this.ha()?1-a:a)};f.Cs=function(){return this.Vt};f.nu=function(){return this.vz.nu};f.ha=function(){return this.TD};f.initialize=function(){};f.$A=function(){};f.va=function(){};f.Ga=function(){return this.ha()?this.vj:this.Po};f.Nb=function(){return this.ha()?this.Po:this.vj};function Mw(a,b){null!=a.Nb()&&a.Nb().Ps(b)} function S(a,b){a.Ga().Ps(b)} f.za=function(a,b,c,d,e,g){function h(){if(!--k){var a=u,b=x,c=A,d=E,e=F;this.Na=q;this.sa=a;this.Hm=b;this.Ny=d;this.Jm=c;this.Wy=e;1!=this.Vt&&(this.Vt=!0,this.Su.F(!0))}}0!=this.Vt&&(this.Vt=!1,this.Su.F(!1));for(var k=0,l=0;la?(b=U(0,0,.5,-90),this.xt=b(a),b=U(0,0,.5,-45),this.to=b(a),b=U(0,0,.5,40),a=this.M==Qw?"translateX("+-c+"px) translateZ("+this.xt+"px) rotateY("+this.to+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)":"translateX("+c+"px) translateZ("+this.xt+"px) rotateY("+-this.to+"deg) rotateX("+b(a)+"deg) translateX("+-c+"px)"):.85>a?(b=U(.5,-90,.85,0),this.xt=b(a),b=U(.5,-45,.85,0),this.to=b(a),b=U(.5,40,.85,90),a=this.M==Qw?"translateX("+ -c+"px) translateZ("+this.xt+"px) rotateY("+this.to+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)":"translateX("+c+"px) translateZ("+this.xt+"px) rotateY("+-this.to+"deg) rotateX("+b(a)+"deg) translateX("+-c+"px)"):(this.ha()&&(this.to=0),b=U(.85,90,1,180),a="translateX("+-c+"px) rotateY("+this.to+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)");G(this.vd,a)}else.5>a?(b=U(0,1,.5,0),a="scaleY("+b(a)+")",D(this.Xb,1),D(this.Wb,0),G(this.Xb,a)):(b=U(.5,0,1,1),a="scaleY("+b(a)+")",D(this.Wb,1),D(this.Xb, 0),G(this.Wb,a))}; Ow.prototype.ji=function(){this.Xb=this.sa;this.Wb=this.Na;var a=pe("DIV");this.vd=pe("DIV");var b=this.D(),c=this.C();try{Jg(a,b+"px"),Kg(a,b/2+"px "+c/2+"px"),Ig(this.vd,"preserve-3d"),this.vd.appendChild(this.Xb),this.vd.appendChild(this.Wb),a.appendChild(this.vd),this.oa().appendChild(a)}catch(d){this.oa().appendChild(this.Xb),this.oa().appendChild(this.Wb)}C(this.Xb,"position","absolute");C(this.Wb,"position","absolute");bf(this.vd,b,c);bf(this.Xb,b,c);bf(this.Wb,b,c);this.Jb&&(G(this.Xb,"translateZ(10px)"), G(this.Wb,"rotateX(180deg)"))};var Qw=1;function Rw(a,b,c){Q.call(this,a);this.Jb=c;this.ha()?vp(this.Ga()):vp(this.Nb());this.za(!0,!0);this.Wk=b==Qw}v(Rw,Q); Rw.prototype.initialize=function(){Mw(this,!1);S(this,!1);this.Xb=this.sa;this.Wb=this.Na;var a=pe("DIV");this.vd=pe("DIV");var b=this.D(),c=this.C();try{Jg(a,Math.max(b,c)+"px"),Kg(a,b/2+"px "+c/2+"px"),Ig(this.vd,"preserve-3d"),Lg(this.vd,"hidden"),this.Wk?(this.vd.appendChild(this.Xb),this.vd.appendChild(this.Wb)):(this.vd.appendChild(this.Wb),this.vd.appendChild(this.Xb)),a.appendChild(this.vd),this.oa().appendChild(a)}catch(d){this.Wk?(this.vd.appendChild(this.Xb),this.vd.appendChild(this.Wb)): (this.vd.appendChild(this.Wb),this.vd.appendChild(this.Xb))}C(this.Xb,"position","absolute");C(this.Wb,"position","absolute");bf(this.vd,b,c);bf(this.Xb,b,c);bf(this.Wb,b,c);this.Jb&&(this.Wk?G(this.Xb,"rotateY(180deg)"):G(this.Wb,"rotateY(180deg)"))};Rw.prototype.va=function(a){this.Jb?this.MF(a):this.uD(a)};Rw.prototype.MF=function(a){a=this.Wk?1-a:a;var b=.25*(1-Math.cos(2*a*Math.PI));a=Sw(.63,.43)(a);var c=Math.max(this.D(),this.C());G(this.vd,"rotateY("+-180*a+"deg)translateZ("+b*c*-.3+"px)")}; Rw.prototype.uD=function(a){a=Sw(.63,.43)(a);if(.5>a){var b=U(0,1,.5,0);a="scaleX("+b(a)+")";D(this.Xb,1);D(this.Wb,0);G(this.Xb,a)}else b=U(.5,0,1,1),a="scaleX("+b(a)+")",D(this.Wb,1),D(this.Xb,0),G(this.Wb,a)};function Tw(a,b){Q.call(this,a);this.TJ=b;this.za(!1,!0);this.kt=[];var c=this.D();switch(this.TJ){case Uw:c=this.C();break;case Vw:c=this.D()}this.qq=Math.floor(c/7);for(var c=[],d=0;db.KB?1:0});for(d=0;d=this.kt[c].getStartTime()+ .2?b.addColorStop(h,g):d>=this.kt[c].getStartTime()?b.addColorStop(h,"rgba(255,255,255,"+k+")"):b.addColorStop(h,a)}e.fillStyle=b;e.beginPath();e.rect(0,0,this.D(),this.C());e.fill();e.restore()};var Uw=0,Vw=1;function Ww(a,b){this.Qm=a;this.vh=b}Ww.prototype.getStartTime=function(){return this.vh};function Sw(a,b){return function(c){if(0!=a||1!=b){for(var d=c,e=0;4>e;++e){var g=3*(1-3*b+3*a)*d*d+2*(3*b-6*a)*d+3*a;if(0==g)break;d-=((((1-3*b+3*a)*d+(3*b-6*a))*d+3*a)*d-c)/g}c=((-2*d+3)*d+0)*d}return c}}var Xw=Sw(.42,.58);function U(a,b,c,d){return function(e){return b+(d-b)/(c-a)*(e-a)}}function Pw(a,b,c){if(c=b)return 1;a=(c-a)/(b-a);return-2*Math.pow(a,3)+3*Math.pow(a,2)} function Yw(a,b,c,d){if(dd?(h=1-d/.2,k=0):1<=d&&(e=1-(d-1)/.2,g=1);c.addColorStop(k,"rgba(0,0,0,"+Ni(h)+")");c.addColorStop(g,"rgba(0,0,0,"+Ni(e)+")");b.fillStyle=c;b.fillRect(0,0,this.D(),this.C());b.restore();b=.8-.2;c=this.GE;e=0;for(d=[1];;){g=2*a-.03125*e;if(0>=g)break;else 1>g&&d.push(g);++e}d.push(0); e=this.ks;g=this.ls;e=c.createRadialGradient(e,g,0,e,g,this.XQ);for(g=d.length-1;0<=g;--g){var h=d[g],k=a,k=2*k,k=1-Pw(k-.2,k,h),l=a,l=2*l,k=.3*(.5*Math.cos(8*Math.PI*(h-2*a))+.5)*k*Pw(l-.2-b-.2,l-.2-b,h),k=k*(1-.5*h),k="rgba(0,0,0,alpha)".replace("alpha",Ni(k).toString());e.addColorStop(h,k)}c.fillStyle=e;c.fillRect(0,0,this.D(),this.C())};var $w=0,cx=1,ax=2,bx=3,dx=4;function ex(a,b){Q.call(this,a);this.M=b;this.za(!0,!0)}v(ex,Q);ex.prototype.initialize=function(){var a=this.D(),b=this.C();S(this,!1);Mw(this,!1);this.Fu=1.25*Math.max(a,b);this.lp=B("DIV");this.oa().appendChild(this.lp);try{this.JD(),this.Jb=!0}catch(c){this.Jb=!1}this.Ao=tg();ug(this.Ao,.5*a,.5*b,this.Fu);this.KD(this.M==fx)}; ex.prototype.KD=function(a){function b(a,b){var c=b&1;return c*(a-1)+(1-2*c)*(b>>1)}var c=this.sa,d=this.Na,e=this.D(),g=this.C(),e=Math.floor(e/7),g=Math.floor(g/5),h=c.width-6*e,k=c.height-4*g;this.tk=[];for(var l=0;5>l;++l)for(var m=b(5,l),n=m*g,q=4==m?k:g+1,u=0;7>u;++u){var x=b(7,u),A=new gx(c,d,x*e,n,6==x?h:e+1,q,a,this.Ao,this.Jb);this.lp.appendChild(A.nm);this.tk[7*m+x]=A}hx(this)}; ex.prototype.JD=function(){var a=this.D(),b=this.C();bf(this.lp,a,b);var c=(.5*a).toString()+"px "+(.5*b).toString()+"px";Jg(this.lp,this.Fu.toString()+"px");Kg(this.lp,c);mc&&(c=B("DIV"),this.lp.appendChild(c),bf(c,a,b),C(c,"position","absolute"),Ig(c,"preserve-3d"),this.lp=c)}; function hx(a){for(var b=.7-.15,c=a.M==fx?b/4:0,d=a.M==ix?b/6:0,b=0,e=1,g=0;5>g;++g)for(var h=0;7>h;++h){var k=g*c+h*d+.15*Math.random(),b=Math.max(k,b),e=Math.min(k,e);a.tk[h+7*g].nH=k}c=e;b=.7/(b-c);for(d=0;5>d;++d)for(e=0;7>e;++e)g=a.tk[e+7*d],g.nH=(g.nH-c)*b}ex.prototype.va=function(a){for(var b=this.tk.length,c=0;ce:1=c&&kx(a,!0);G(a.nm,(a.Lt?"rotateX(-":"rotateY(")+b.toString()+"deg)")}else a.ty?90<=b&&kx(a,!1):90>=b&&kx(a,!0),G(a.nm,(a.Lt?"scaleY(":"scaleX(")+Math.cos(a.Ax*Math.PI/180).toString()+")");D(a.Tz,.5*Math.sin(a.Ax*Math.PI/180))}} function kx(a,b){var c=b?a.sL:a.vx,d=b?a.vx:a.sL;a.ty=b;C(c,"visibility","visible");C(d,"visibility","hidden")};function lx(a){Q.call(this,a);this.$d=!1;this.za(!1,!0);this.FE=0;a=this.D();var b=this.C(),c=mx!=a||nx!=b;if(!ox||c)ox=[],mx=a,nx=b,px(a,b)}var mx,nx,ox;v(lx,Q);lx.prototype.initialize=function(){Mw(this,!1);S(this,!0);var a=this.sa;this.oa().appendChild(a);this.ou=T(this.D(),this.C());this.ou.getContext("2d").drawImage(a,0,0)}; function px(a,b){for(var c=ox,d=a/54,e=b/42,g=0,h=0,k=0;54>k;++k){for(var h=0,l=Math.round((k+1)*d)-g,m=g,n=0;42>n;++n){var q=Math.round((n+1)*e)-h,u=new qx(m,h,l,q);u.Pn=Math.random();c.push(u);h+=q}g+=l}c.sort(function(a,b){return a.Pnb.Pn?1:0});d=c.length;for(k=0;ka){var m=k/l;k>l?(k=a,l=k/m):(l=a,k=l*m)}a=new rd(k,l);k=a.width;l=a.height;a=T(k,l);m=a.getContext("2d");p(g)?g(m,e,k,l):m.drawImage(e,0,0,k,l);e=h.createTexture();h.activeTexture(b);h.bindTexture(h.TEXTURE_2D,e);h.texImage2D(h.TEXTURE_2D,0,h.RGBA,h.RGBA,h.UNSIGNED_BYTE,a);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MAG_FILTER,h.LINEAR);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MIN_FILTER, h.LINEAR_MIPMAP_LINEAR);h.generateMipmap(h.TEXTURE_2D);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.CLAMP_TO_EDGE);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_T,h.CLAMP_TO_EDGE);h.bindTexture(h.TEXTURE_2D,null);h.activeTexture(b);h.bindTexture(h.TEXTURE_2D,e);h.uniform1i(c,d);return e}f.Sf=function(){alert("Please override _getFragmentShaderSource");return""};f.Tf=function(){alert("Please override _getVertexShaderSource");return""};f.Zf=function(){}; function vx(a,b,c){var d=a.K;b=d.createShader(b);d.shaderSource(b,c);d.compileShader(b);return d.getShaderParameter(b,d.COMPILE_STATUS)?b:(a.Zm=!1,null)}function zx(a,b,c){a=a.K;var d=b.length/c,e=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,e);a.bufferData(a.ARRAY_BUFFER,new Float32Array(b),a.DYNAMIC_DRAW);e.Ds=c;e.fS=d;return e} function Ax(a,b){var c=a.K,d=b.length/1,e=c.createBuffer();c.bindBuffer(c.ELEMENT_ARRAY_BUFFER,e);c.bufferData(c.ELEMENT_ARRAY_BUFFER,new Uint16Array(b),c.DYNAMIC_DRAW);e.Ds=1;e.fS=d;return e}function Bx(a){if(0==a.xE.length)throw"Invalid popMatrix!";a.Ha=a.xE.pop()}function Cx(a){var b=mat4.create();mat4.set(a.Ha,b);a.xE.push(b)}function Dx(a,b,c,d){mat4.translate(a.Ha,[-d[0],-d[1],-d[2]]);mat4.rotate(a.Ha,b*Math.PI/180,c);mat4.translate(a.Ha,d)} function Ex(a,b,c,d,e){var g=a.K;g.bindBuffer(g.ARRAY_BUFFER,b.Qd);p(d)&&d();g.vertexAttribPointer(a.$G,b.Qd.Ds,g.FLOAT,!1,0,0);null!=b.tj&&(g.bindBuffer(g.ARRAY_BUFFER,b.tj),p(e)&&e(),g.vertexAttribPointer(a.Kt(),b.tj.Ds,g.FLOAT,!1,0,0));g.bindBuffer(g.ARRAY_BUFFER,b.Wd);g.vertexAttribPointer(a.AG,b.Wd.Ds,g.FLOAT,!1,0,0);a.BC();g.bindBuffer(g.ELEMENT_ARRAY_BUFFER,b.Od);p(c)||(c=g.TRIANGLES);g.drawElements(c,b.Od.fS,g.UNSIGNED_SHORT,0)} f.Kt=function(){alert("override _getVertexNormalAttributeLocation");return-1};f.lh=function(){alert("override _getSamplerUniform");return null};f.BC=function(){};function Fx(a){a.$G=Gx(a,"aVertexPosition");a.AG=Gx(a,"aTextureCoord");a.sO=Hx(a,"uPMVMatrix");a.IM=Hx(a,"uNMatrix")}function Ix(a,b){for(var c=0,d=0;dh;++h)for(var k=c;k=Z.yI,ha=x,ja=A,pa=E,qb=F,Xd=this.M==ez||this.M==fz,Lb=this.ha(),Qa=this.D(),ab=this.C(),vm=this.wx.getContext("2d"),wm=Py,ca=Qy,of=Ry,ma=this.sa,xm=this.Na;la&&(la=wm[ia], ia=(Xd?ca:of)[ia],ca=Z.QH.getContext("2d"),of=Z.pH.getContext("2d"),Qa-=ha+pa,ab-=ja+qb,ca.drawImage(la,ha,ja,pa,qb,0,0,pa,qb),of.drawImage(ia,Qa,ab,pa,qb,0,0,pa,qb),ca.save(),ca.globalCompositeOperation="source-out",ca.drawImage(ma,ha,ja,pa,qb,0,0,pa,qb),ca.restore(),of.save(),of.globalCompositeOperation="source-out",of.drawImage(xm,Qa,ab,pa,qb,0,0,pa,qb),of.restore(),vm.clearRect(Lb&&Xd?Qa:ha,Lb&&!Xd?ab:ja,pa,qb),Z.TR=!0)}Z.zJ(a,h,k,q.c_)}}}; function hz(a,b,c){this.FX=a;this.WR=[];this.nY=b;this.yy=c}hz.prototype.zJ=function(a){var b=this.yy;a=(a-this.nY)/cz;a=Math.min(Math.max(a,0),1);a=Math.PI*a*(b?1:-1);G(this.FX,(b?"rotateY":"rotateX")+"("+a+"rad)");this.c_=a}; function dz(a,b,c,d,e,g,h,k,l,m,n,q){this.QH=b;this.pH=c;G(c,(n?"rotateY":"rotateX")+"(180deg)");this.$m=g;this.$b=a;this.zi=d;this.Ai=e;this.Ao=m;this.yI=h;this.eO=h+(k-h)/2;this.EX=.8+this.yI-.2;this.lS=.8+this.eO-.2;this.xU=0>l?-1:1;this.yV=Math.abs(l);this.NV=q;this.yy=n;this.TR=!1;iz(this,!0)} dz.prototype.zJ=function(a,b,c,d){var e=this.$b,g=this.yV,h=this.$m,k=jz(a,this.yI,this.EX,g);a=jz(a,this.eO,this.lS,g);var g=this.yy,l=this.NV,m=this.xU,n=l?-m:m;g&&(n=l?m:-m);l=l?Math.max(k,a):Math.min(k,a);h=Math.atan2(k-a,h)*n;k>a?Hg(e,"0% 0%"):Hg(e,"100% 100%");l*=m;G(e,"translateZ("+l+"px)"+((g?"rotateY":"rotateX")+"("+h+"rad)"));g=l;e=this.zi;k=this.Ai;m=this.$m;n=this.yy;a=Array(16);a[0]=0;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=0;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=0;a[11]=0;a[12]=0;a[13]=0;a[14]= 0;a[15]=0;a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=1;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=1;a[11]=0;a[12]=0;a[13]=0;a[14]=0;a[15]=1;n?(b-=(e-m)/2,Dg(a,b,0,0),Fg(a,d),Dg(a,-b,0,0),Dg(a,0,0,g),Fg(a,h)):(b=c-(k-m)/2,Dg(a,0,b,0),Eg(a,d),Dg(a,0,-b,0),Dg(a,0,0,g),Eg(a,h));b=zg();Ag(b,e,k,0,1);Cg(a,b,b);d=zg();Ag(d,b[0],b[1],b[2],0);Bg(d,this.Ao,d);b=zg();Ag(b,e,k,1,0);c=zg();Ag(c,e,k,0,0);Bg(b,c,b);Cg(a,b,b);d=xg(b,d);this.ty?0<=d&&iz(this,!1):0>=d&&iz(this,!0)}; function iz(a,b){var c=b?a.QH:a.pH,d=b?a.pH:a.QH;a.ty=b;C(c,"visibility","visible");C(d,"visibility","hidden")}function jz(a,b,c,d){return a>=b&&a<=b+.2?d*(a-b)/.2:a>=c?Math.max(d-d*(a-c)/.2,0):a>=b?d:0}var ez=0,fz=2,gz=3;function kz(a,b){Q.call(this,a);this.M=b;this.za(!0,!0)}v(kz,rx);f=kz.prototype;f.initialize=function(){Mw(this,!1);S(this,!1);ux(this,this.sa);this.Cc();mat4.translate(this.Ha,[-this.D()/2,this.C()/2,0]);Mx(this)}; f.Zf=function(){Fx(this);this.IK=Gx(this,"aDelay");this.yM=Gx(this,"aMaxDistance");this.$u=Hx(this,"uSampler1");this.ev=Hx(this,"uSampler2");this.ve=Hx(this,"uPhase");var a=Hx(this,"uSlideWidth"),b=Hx(this,"uHorizontal");this.K.uniform1f(Hx(this,"uSlideHeight"),this.C());this.K.uniform1f(a,this.D());this.K.uniform1i(b,this.M==ez||this.M==fz?1:0)};f.Rf=function(){wx(this,this.IK);wx(this,this.yM)}; f.BC=function(){var a=this.K;a.bindBuffer(a.ARRAY_BUFFER,this.cD);a.vertexAttribPointer(this.IK,this.cD.Ds,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.eD);a.vertexAttribPointer(this.yM,this.eD.Ds,a.FLOAT,!1,0,0)}; f.Cc=function(){var a=this.D(),b=this.C(),c=kh&&H,d=Tg&&H||c,c=d?26:50,d=d?20:45,e=a/c,g=b/d;this.rc=new lz;for(var h=0;h endTime)\n\r\n\t\t\t{\n\r\n\t\t\t\tpPhase = 1.0;\n\r\n\t\t\t}\n\r\n\t\t\tfloat z = 4.0 * aMaxDistance * pPhase * (pPhase - 1.0);\n\r\n\t\t\tfloat rotation = 180.0 * pPhase;\n\r\n\t\t\t\n\r\n\t\t\tmat4 m = mat4(1.0);\n\r\n\t\t\t\t\n\r\n\t\t\tvec3 pivotPoint = vec3(- uSlideWidth / 2.0, uSlideHeight / 2.0, 0.0);\n\r\n\t\t\tm = m * translationMatrix(-pivotPoint.x, -pivotPoint.y, -pivotPoint.z);\n\r\n\t\t\tif (uHorizontal)\n\r\n\t\t\t{\n\r\n\t\t\t m = m * rotationYmatrix(rotation);//left right\n\r\n\t\t\t}\n\r\n\t\t\telse \n\r\n\t\t\t{\n\r\n\t\t\t\tm = m * rotationXmatrix(rotation);//top bottom\n\r\n\t\t\t}\n\r\n\t\t\tm = m * translationMatrix(pivotPoint.x, pivotPoint.y, pivotPoint.z);\n\r\n\t\t\tm = m * translationMatrix(0.0, 0.0, z);\n\r\n\t\t\t\t\n\r\n\t\t\treturn m;\n\r\n\t\t}\n\r\n\t\t\n\r\n\t\tvec3 getVertexPosition() \n\r\n\t\t{ \n\r\n\t\t\tmat4 m = positionMatrix();\n\r\n\t\t\tvec4 v = m * vec4(aVertexPosition, 1.0);\n\r\n\t\t\treturn v.xyz;\n\r\n\t\t} \n\r\n\t\tvec3 getNormal() \n\r\n\t\t{\n\r\n\t\t\tmat4 m = positionMatrix();\n\r\n\t\t\tvec4 v = m * vec4(0 ,0, 1, 0.0);\n\r\n\t\t\treturn v.xyz;\n\r\n\t\t}\n\r\n\t\tvoid main(void)\n\r\n\t\t{\n\r\n\t\t\tvTextureCoord = aTextureCoord;\n\r\n\t\t\t\n\r\n\t\t\tvec3 pos = getVertexPosition();\n\r\n\t\t\tvec3 n = getNormal();\n\r\n\t\t\tn = normalize(n);\n\r\n\t\t\tgl_Position = uPMVMatrix * vec4(pos, 1.0); \n\r\n\t\t\tvNormal = uNMatrix * n;\n\r\n\t\t}\n\r\n\t"}; function lz(){this.zK=0;this.DF=[];this.dD=[];this.fD=[];this.BG=[];this.Mt=[]}f=lz.prototype;f.FI=function(){return this.DF};f.CH=function(){return this.dD};f.DH=function(){return this.fD};f.uJ=function(){return this.BG};f.Bs=function(){return this.Mt}; function mz(a,b,c,d,e,g,h){this.Lb=a;this.Mb=b;this.wl=0;this.Va=c;this.Pa=d;this.xQ=e;this.wQ=g;this.Ey=(.5=1-this.kq&&(b=!1,G(this.Ob,"translateZ("+this.GJ*(1-a)+"px) rotateY("+(1-a)/this.kq*c*this.KJ+"deg)"),this.vy||this.ha()||(this.vy=this.kr=!0));if(b||this.kr)b=this.D()+this.OJ,a=this.kr?this.ha()?0:1:(a-this.kq)/(1-2*this.kq),this.kr&&(this.kr=!1),a=a*c*b,G(this.Me,"translateX("+ a+"px)"),this.Sk&&G(this.or,"translate("+a+"px, "+(this.C()+this.$s)+"px)"),G(this.Ke,"translateX("+(a-c*b)+"px)"),this.Sk&&G(this.mr,"translate("+(a-c*b)+"px, "+(this.C()+this.$s)+"px)")}};f.qc=function(a,b){var c=B("DIV");cf(c,a);df(c,b);C(c,"position","absolute");return c}; function oz(a,b,c){b=b.getContext("2d");b.save();b.translate(0,a.C()/4);b.scale(1,-1);b.drawImage(c,0,.75*a.C(),a.D(),a.C()/4,0,0,a.D(),a.C()/4);b.restore();b.globalCompositeOperation="destination-out";c=b.createLinearGradient(a.D()/4,0,a.D()/4,a.C()/4);c.addColorStop(0,"rgba(0, 255, 0, 0)");c.addColorStop(.8,"rgba(0, 255, 0, 1)");b.fillStyle=c;b.beginPath();b.rect(0,0,a.D(),a.C()/4);b.fill()}f.kr=!1;f.vy=!1;f.$s=7.5;f.kq=.3;f.KJ=20;f.IJ=20;f.GJ=-100;f.OJ=70;var pz=0,qz=1;function rz(a){Q.call(this,a);vp(this.Ga());this.$d=!1}v(rz,Q);rz.prototype.initialize=function(){Mw(this,!0);S(this,!0)};rz.prototype.va=function(a){.3>a?D(this.Ga().ra(),0):D(this.Ga().ra(),1)};function sz(a,b){Q.call(this,a);this.M=b;this.za(!0,!1)}v(sz,rx);f=sz.prototype;f.initialize=function(){Mw(this,!0);S(this,!1);ux(this,this.Na);this.Cc();mat4.translate(this.Ha,[-this.D()/2,this.C()/2,0]);Mx(this)};f.Sf=function(){return"\t\r\n\t\tprecision mediump float;\r\n\t\t\r\n\t\tvarying vec2 vTextureCoord;\r\n\t\tvarying vec3 vNormal;\r\n\t\t\r\n\t\tuniform sampler2D uSampler;\r\n\t\t\r\n\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\r\n\t\tconst float AMBIENT_INTENSITY = 0.4;\n\r\n\t\tconst float DIFFUSE_INTENSITY = 0.6;\n\r\n\t\t\r\n\t\tvoid main(void) \r\n\t\t{ \r\n\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\r\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \r\n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \r\n\t\t} \r\n\t"}; f.Tf=function(){return"\r\n\tattribute vec3 aVertexPosition;\n\r\n\tattribute vec2 aTextureCoord;\n\r\n\t\t\n\r\n\tuniform mat4 uPMVMatrix;\n\r\n\tuniform mat3 uNMatrix;\n\r\n\t\t\n\r\n\tuniform float uPhase;\n\r\n\tuniform bool uDirectionIsLeft;\n\r\n\tuniform float uSlideHeight;\n\r\n\tuniform float uSlideWidth;\n\r\n\t\t\n\r\n\tvarying vec2 vTextureCoord;\n\r\n\tvarying vec3 vNormal;\n\r\n\t\t\n\r\n\tconst float TIME_1 = 0.2;\n\r\n\tconst float TIME_2 = 0.6;\n\r\n\tconst float TIME_3 = 0.7;\n\r\n\tconst float TIME_4 = 0.8;\n\r\n\t\t\n\r\n\tconst float START_PHASE = 0.3;\n\r\n\tconst float END_PHASE = 0.7;\n\r\n\t\t\n\r\n\tconst float ANGLE_1 = 0.0;\n\r\n\tconst float ANGLE_2 = -180.0;\n\r\n\tconst float ANGLE_3 = ANGLE_2 - 20.0;\n\r\n\t\t\n\r\n\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\r\n\t{\n\r\n\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\r\n\t}\n\r\n\t\t\n\r\n\tvec3 ellipse(float angle, vec3 pos, vec2 center, vec2 radius)\n\r\n\t{\n\r\n\t\tfloat ang = radians(angle);\n\r\n\t\treturn vec3(pos.x, center.x + radius.x * cos(ang), -(center.y + radius.y * sin(ang)));\n\r\n\t}\n\r\n\t\t\n\r\n\tfloat goBack(float y, float phase, float constAngleTime)\n\r\n\t{\n\r\n\t\tfloat time = linearInterpolation(y, 0.0, TIME_3, uSlideHeight, TIME_4);\n\r\n\t\t\n\r\n\t\tif (phase > time)\n\r\n\t\t{\n\r\n\t\t\treturn linearInterpolation(phase, time, ANGLE_3, 1.0, ANGLE_2);\n\r\n\t\t}\n\r\n\t\tfloat angle = linearInterpolation(phase, constAngleTime, ANGLE_2, time, ANGLE_3);\n\r\n\t\treturn angle;\n\r\n\t}\n\r\n\t\t\n\r\n\tfloat getRowAngleByPhase(vec3 pos, float phase)\n\r\n\t{\n\r\n\t\tconst float HORIZONTAL_DELAY = 0.05;\n\r\n\t\tfloat colDelay = uDirectionIsLeft\n\r\n\t\t\t? linearInterpolation(pos.x, 0.0, 0.0, uSlideWidth, HORIZONTAL_DELAY)\n\r\n\t\t\t: linearInterpolation(pos.x, 0.0, HORIZONTAL_DELAY, uSlideWidth, 0.0);\n\r\n\t\t\t\n\r\n\t\tphase = linearInterpolation(phase, 0.0, colDelay, 1.0, 1.0);\n\r\n\t\t\t\n\r\n\t\tfloat constAngleTime = linearInterpolation(pos.y, 0.0, TIME_2, uSlideHeight, TIME_1);\n\r\n\t\tif (phase > constAngleTime)\n\r\n\t\t{\n\r\n\t\t\treturn goBack(pos.y, phase, constAngleTime);\n\r\n\t\t}\n\r\n\t\t\t\n\r\n\t\tfloat angle = linearInterpolation(phase, 0.0, ANGLE_1, constAngleTime, ANGLE_2);\n\r\n\t\treturn angle;\n\r\n\t}\n\r\n\t\t\n\r\n\tvec3 getVertexPosition(float phase, vec3 pos)\n\r\n\t{\n\r\n\t\tfloat R_1 = uSlideHeight;\n\r\n\t\tfloat R_2 = uSlideHeight * 0.25;\n\r\n\t\tvec2 r = vec2(linearInterpolation(pos.y, 0.0, R_1, uSlideHeight, 0.0), linearInterpolation(pos.y, 0.0, R_2, uSlideHeight, 0.0));\n\r\n\t\t\t\n\r\n\t\tfloat angle = getRowAngleByPhase(pos, phase);\n\r\n\t\tvec3 v = ellipse(angle, pos, vec2(0.0, 0.0), r);\n\r\n\t\treturn v;\n\r\n\t}\n\r\n\tvec3 getVertexNormal(float phase, vec3 pos)\n\r\n\t{\n\r\n\t\tconst float DELTA_W = 1.0;\n\r\n\t\tconst float DELTA_H = 1.0;\n\r\n\t\t\t\n\r\n\t\tfloat deltaWidth = (pos.x == uSlideWidth) ? -DELTA_W : DELTA_W;\n\r\n\t\tfloat deltaHeight = (pos.y == uSlideHeight) ? -DELTA_H : DELTA_H;\n\r\n\t\t\t\n\r\n\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + deltaWidth, pos.y, pos.z));\n\r\n\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + deltaHeight, pos.z));\n\r\n\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\r\n\t\t\t\n\r\n\t\tvec3 v1 = right - p;\n\r\n\t\tvec3 v2 = down - p;\n\r\n\t\t\t\n\r\n\t\tvec3 n = (pos.x == uSlideWidth) ? cross(v1, v2) : cross(v2, v1);\n\r\n\t\t\t\n\r\n\t\treturn normalize(n);\n\r\n\t}\n\r\n\t\t\n\r\n\tvoid main(void)\n\r\n\t{\n\r\n\t\tfloat phase = uPhase;\n\r\n\t\tif (phase < START_PHASE)\n\r\n\t\t{\n\r\n\t\t\tphase = 0.0;\n\r\n\t\t}\n\r\n\t\telse if (phase > END_PHASE)\n\r\n\t\t{\n\r\n\t\t\tphase = 1.0;\n\r\n\t\t}\n\r\n\t\telse\n\r\n\t\t{\n\r\n\t\t\tphase = linearInterpolation(phase, START_PHASE, 0.0, END_PHASE, 1.0);\n\r\n\t\t}\n\r\n\t\t\n\r\n\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\r\n\t\tvec4 p = vec4(getVertexPosition(phase, vertex), 1.0);\n\r\n\t\tgl_Position = uPMVMatrix * p;\n\r\n\t\tvTextureCoord = aTextureCoord;\n\r\n\t\t\t\n\r\n\t\tvec3 pNormal = getVertexNormal(phase, vertex);\n\r\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\r\n\t\tvNormal = transformedNormal;\n\r\n\t\t\n\r\n\t}\n\r\n"}; f.va=function(a){this.K.uniform1f(this.ve,a);Ex(this,this.zt,this.K.TRIANGLE_STRIP)};f.Zf=function(){Fx(this);this.Ld=Hx(this,"uSampler");this.ve=Hx(this,"uPhase");var a=Hx(this,"uDirectionIsLeft"),b=Hx(this,"uSlideWidth");this.K.uniform1f(Hx(this,"uSlideHeight"),this.C());this.K.uniform1f(b,this.D());this.K.uniform1i(a,this.M==tz?1:0)};f.Rf=function(){}; f.Cc=function(){this.se=yy(30,30,this.D(),this.C());this.wd=this.M==tz?By(30,30):Ay(30,30);this.zt=new Cy;var a=zx(this,Ux(this.se),3);this.zt.Qd=a;a=zx(this,Vx(this.se),2);this.zt.Wd=a;a=Ax(this,this.wd);this.zt.Od=a};f.Ot=function(a){this.ov=yx(this,this.K.TEXTURE0,this.lh(),0,a,t(this.xD,this))};f.Qf=function(){xx(this,this.zt)};f.xD=function(a,b,c,d){a.translate(0,d);a.scale(1,-1);a.drawImage(b,0,0,c,d)};f.lh=function(){return this.Ld};var tz=0;function uz(a){Q.call(this,a);this.vz=a;this.za(!0,!1)}v(uz,Q);uz.prototype.initialize=function(){var a=this.D(),b=this.C();S(this,!1);var c=T(a,b);this.zu=c.getContext("2d");this.Ub=T(a,b);this.qe=this.Ub.getContext("2d");a*=.5;b*=.5;this.Xe=Math.sqrt(a*a+b*b);C(c,"position","absolute");this.oa().appendChild(c)};var vz=1/15; uz.prototype.va=function(a){var b=this.D(),c=this.C(),d=this.qe;d.clearRect(0,0,b,c);b=(1.5+1.08*a)*Math.PI;a=b-.08*Math.PI;this.gD(a,b);b=.5*this.D();c=.5*this.C();a>=1.5*Math.PI&&(d.beginPath(),d.moveTo(b,c),d.arc(b,c,this.Xe,3*Math.PI-a,a,!1),d.lineTo(b,c),d.fillStyle="#000",d.fill());d=this.zu;d.drawImage(this.Na,0,0);d.save();d.globalCompositeOperation="destination-in";d.drawImage(this.Ub,0,0);d.restore()}; uz.prototype.Px=function(a,b,c,d,e,g,h){var k=this.qe;k.fillStyle="rgba(0,0,0,"+h.toString()+")";k.beginPath();k.moveTo(a,b);k.lineTo(c,d);k.lineTo(e,g);k.fill()}; uz.prototype.gD=function(a,b){var c=.5*this.D(),d=.5*this.C(),e=vz,g=b-a,h=a;h<1.5*Math.PI&&(e=(1.5*Math.PI-a)/g,h=1.5*Math.PI);for(var k=c+this.Xe*Math.cos(h),l=d+this.Xe*Math.sin(h),m=c+this.Xe*Math.cos(3*Math.PI-h),h=d+this.Xe*Math.sin(3*Math.PI-h);1>=e;){var n=a+e*g;n>2.5*Math.PI&&(n=2.5*Math.PI);var q=c+this.Xe*Math.cos(n),u=d+this.Xe*Math.sin(n);this.Px(c,d,k,l,q,u,1-e);var x=c+this.Xe*Math.cos(3*Math.PI-n),A=d+this.Xe*Math.sin(3*Math.PI-n);this.Px(c,d,m,h,x,A,1-e);e+=vz;k=q;l=u;m=x;h=A;if(n== 2.5*Math.PI)break}};function wz(a,b){Q.call(this,a);this.za(!0,!0);this.wa=b;this.ji()}v(wz,Q);wz.prototype.initialize=function(){Mw(this,!0);S(this,!1)}; wz.prototype.va=function(a){var b=this.D(),c=this.C();this.jh.clearRect(0,0,b,c);this.jh.drawImage(this.Na,0,0);this.jh.save();this.jh.globalCompositeOperation="destination-in";var d=this.Ub.getContext("2d");d.clearRect(0,0,b,c);for(var e=0;e 1.0 || vTextureCoord.y < 0.0 || vTextureCoord.y > 1.0) \r\n\t\t\t{ \r\n\t\t\t\tgl_FragColor = mix(vec4(0.0), vec4(0.0), 0.0);\n\r\n\t\t\t\treturn;\r\n\t\t\t} \r\n\t\t\tvec4 color1 = texture2D(uSampler1, vTextureCoord);\n\r\n\t\t\tvec4 color2 = texture2D(uSampler2, vTextureCoord);\n\r\n\t\t\tvec4 mixedColor = mix(color1, color2, vAlpha);\n\r\n\t\t\tgl_FragColor = vec4(vShadow * mixedColor.rgb, mixedColor.a);\n\r\n\t\t} \r\n\t"}; f.Ot=function(){this.ov=yx(this,this.K.TEXTURE0,this.$u,0,this.sa);this.pv=yx(this,this.K.TEXTURE1,this.ev,1,this.Na)};function Cz(a,b,c){Q.call(this,a);this.M=b;this.Hd=c;this.$d=!1;this.LD(b);Dz(this)}v(Cz,Q);f=Cz.prototype;f.Ck=function(){return this.Hd?this.Nb().ra():this.Ga().ra()};f.Jt=function(){return this.Hd?this.Ga().ra():this.Nb().ra()}; f.initialize=function(){var a=this.D(),b=this.C(),c=Math.max(a,b);C(this.Jt(),"position","absolute");C(this.Ck(),"position","absolute");bf(this.Jt(),a,b);bf(this.Ck(),a,b);var d=pe("DIV");me(d,{id:"projection"});C(d,"position","absolute");bf(d,a,b);this.oa().appendChild(d);Jg(d,1.25*c+"px");c=pe("DIV");me(c,{id:"view"});C(c,"position","absolute");bf(c,a,b);d.appendChild(c);Ig(c,"preserve-3d");this.Aa=c;hh&&(Ig(this.Jt(),"preserve-3d"),Ig(this.Ck(),"preserve-3d"));a=this.Jt();c.appendChild(a);c.appendChild(this.Lr); a=this.Ck();c.appendChild(a);this.ha()||this.Hd?this.ha()&&this.Hd?(S(this,!0),Mw(this,!1)):!this.ha()&&this.Hd?(S(this,!1),Mw(this,!0)):this.ha()&&!this.Hd&&(S(this,!0),Mw(this,!1)):(S(this,!1),Mw(this,!0));C(this.Lr,"visibility","hidden")}; function Dz(a){function b(a,b,c,d,g,k,h,m){a=l.createLinearGradient(a,b,c,d);a.addColorStop(0,"rgba(0,0,0, "+e+")");a.addColorStop(1,"rgba(0,0,0,0)");l.fillStyle=a;l.fillRect(g,k,h,m)}function c(a,b,c,e,g){l.save();l.translate(a,b);l.scale(d/d,1);l.beginPath();l.moveTo(0,0);l.arc(0,0,d,c,e,!1);l.moveTo(0,0);l.fillStyle=g;l.fill();l.restore()}var d=Ez,e=Fz,g=a.D(),h=a.C(),k=T(g,h);C(k,"position","absolute");bf(k,g*Gz,h*Gz);var l=k.getContext("2d");l.scale(Gz,Gz);l.fillStyle="rgba(0, 0, 0, "+e+")"; l.fillRect(d,d,g-2*d,h-2*d);b(d,d,d,d-d,d,d-d,g-2*d,d);b(d,h-d,d,h,d,h-d,g-2*d,d);b(d,d,d-d,d,d-d,d,d,h-2*d);b(g-d,d,g,d,g-d,d,d,h-2*d);var m=l.createRadialGradient(0,0,0,0,0,d);m.addColorStop(0,"rgba(0,0,0, "+e+")");m.addColorStop(1,"rgba(0,0,0,0)");c(g-d,h-d,0,.5*Math.PI,m);c(d,h-d,.5*Math.PI,Math.PI,m);c(d,d,Math.PI,1.5*Math.PI,m);c(g-d,d,1.5*Math.PI,2*Math.PI,m);a.Lr=k} f.uE=function(a){a=a1-Hz?1-a:Hz;var b=Math.max(this.D(),this.C()),b=U(0,0,Hz,.2*-b),c=U(0,0,Hz,10);Hg(this.Aa,"50% 100%");G(this.Aa,"rotateX("+c(a)+"deg) translateZ("+b(a)+"px)")}; f.LD=function(a){var b=this.D(),c=this.C();this.wi=this.vi=this.mj=this.lj=0;switch(a){case Iz:this.mj=1;this.vi=Jz*b;this.wi=-Jz*c;break;case Kz:this.mj=-1;this.vi=-Jz*b;this.wi=Jz*c;break;case Lz:this.lj=-1;this.vi=Jz*b;this.wi=Jz*c;break;case Mz:this.lj=1;this.vi=-Jz*b;this.wi=-Jz*c;break;case Nz:this.mj=this.lj=-1;this.vi=-Jz*b;this.wi=Jz*c;break;case Oz:this.lj=-1;this.mj=1;this.vi=-Jz*b;this.wi=-Jz*c;break;case Pz:this.lj=1;this.mj=-1;this.vi=Jz*b;this.wi=Jz*c;break;case Qz:this.mj=this.lj= 1,this.vi=Jz*b,this.wi=-Jz*c}this.Hd?(this.mj*=-1,this.wi*=-1):(this.lj*=-1,this.vi*=-1)}; f.va=function(a){this.Hd&&(a=1-a);this.uE(a);if(a>=Rz&&a=Sz&&(this.ha()||this.Hd?this.ha()&&this.Hd&&S(this,!1):Mw(this,!1),C(this.Lr,"visibility","hidden"))};var Kz=0,Lz=1,Mz=2,Iz=3,Oz=4,Nz=5,Qz=6,Pz=7,Hz=.4,Rz=.1,Sz=.7,Tz=800,Uz=.5,Fz=.3,Ez=50,Jz=1,Gz=1;function Vz(a,b,c){var d=new V;this.Vn=a;this.Ys=b;this.Zs=c;this.n=d};function Wz(a){Q.call(this,a);this.za(!1,!0)}v(Wz,rx); var Xz=[0,1,2,3,2,4,5,4,6,7,6,8,9,8,10,11,10,12,13,12,14,15,14,16,17,16,18,19,18,20,21,20,22,1,23,24,2,24,25,4,25,26,6,26,27,8,27,28,10,28,29,12,29,30,14,30,31,16,31,32,18,32,33,20,33,34,23,35,36,24,36,37,25,37,38,26,38,39,27,39,40,28,40,41,29,41,42,30,42,43,31,43,44,32,44,45,33,45,46,35,47,48,36,48,49,37,49,50,38,50,51,39,51,52,40,52,53,41,53,54,42,54,55,43,55,56,44,56,57,45,57,58,47,59,60,48,60,61,49,61,62,50,62,63,51,63,64,52,64,65,53,65,66,54,66,67,55,67,68,56,68,69,57,69,70,59,71,72,60,72,73, 61,73,74,62,74,75,63,75,76,64,76,77,65,77,78,66,78,79,67,79,80,68,80,81,69,81,82,71,83,84,72,84,85,73,85,86,74,86,87,75,87,88,76,88,89,77,89,90,78,90,91,79,91,92,80,92,93,81,93,94,83,95,96,84,96,97,85,97,98,86,98,99,87,99,100,88,100,101,89,101,102,90,102,103,91,103,104,92,104,105,93,105,106,0,2,3,3,4,5,5,6,7,7,8,9,9,10,11,11,12,13,13,14,15,15,16,17,17,18,19,19,20,21,21,22,107,1,24,2,2,25,4,4,26,6,6,27,8,8,28,10,10,29,12,12,30,14,14,31,16,16,32,18,18,33,20,20,34,22,23,36,24,24,37,25,25,38,26,26,39, 27,27,40,28,28,41,29,29,42,30,30,43,31,31,44,32,32,45,33,33,46,34,35,48,36,36,49,37,37,50,38,38,51,39,39,52,40,40,53,41,41,54,42,42,55,43,43,56,44,44,57,45,45,58,46,47,60,48,48,61,49,49,62,50,50,63,51,51,64,52,52,65,53,53,66,54,54,67,55,55,68,56,56,69,57,57,70,58,59,72,60,60,73,61,61,74,62,62,75,63,63,76,64,64,77,65,65,78,66,66,79,67,67,80,68,68,81,69,69,82,70,71,84,72,72,85,73,73,86,74,74,87,75,75,88,76,76,89,77,77,90,78,78,91,79,79,92,80,80,93,81,81,94,82,83,96,84,84,97,85,85,98,86,86,99,87,87, 100,88,88,101,89,89,102,90,90,103,91,91,104,92,92,105,93,93,106,94],Yz="/+8MAP/rSADoi0gA6I8MANFLSADRTwwAuitIALovDACi60gAou8MAIurSACLrwwAC6tIAAuvDAAi60gAIu8MADorSAA6LwwAUUtIAFFPDABoi0gAaI8MAH/rSAD/54QA6IeEANFHhAC6J4QAoueEAIunhAALp4QAIueEADonhABRR4QAaIeEAH/nhAD/48AA6IPAANFDwAC6I8AAouPAAIujwAALo8AAIuPAADojwABRQ8AAaIPAAH/jwAD/4AAA6IAAANFAAAC6IAAAouAAAIugAAALoAAAIuAAADogAABRQAAAaIAAAH/gAAD/88AA6JPAANFTwAC6M8AAovPAAIuzwAALs8AAIvPAADozwABRU8AAaJPAAH/zwAD/94QA6JeEANFXhAC6N4QAoveEAIu3hAALt4QAIveEADo3hABRV4QAaJeEAH/3hAD/+0gA6JtIANFbSAC6O0gAovtIAIu7SAALu0gAIvtIADo7SABRW0gAaJtIAH/7SAD//wwA6J8MANFfDAC6PwwAov8MAIu/DAALvwwAIv8MADo/DABRXwwAaJ8MAH//DAB/7wwA 8u/+EviMJALjCzwa4S7kSs1rNAHNrw4Gt0s8DLfPDAyhC0wLoa8UC4qrWAuLbyALC6tgCwrvIAsiK1gLIS8QCziLPAs3LuwNTqsQDEzOvgJkiugHYU5gLXpLHAn8aCwJ5WeUC85nZAm3p2gLoQd4C4pnjAsMJ5wLIsecCzlnhAtQB2QLZodIC31HbAv+JDQL5yPgC8/DrAu4o5wLoaOoC4rDwAsMA9ALIuPcCznD0AtQo7QLZ4OUC36DnAv+oEQL56AkC9CQBAu5cBwLonAcC4twDAsLgAQLIoAUCzmAGAtQoAALZ9AoC37QSAv+k5wL55OYC9CzuAu5s9QLotPgC4vz2AsK88QLIdOwCzjTqAtP87QLZzPoC340PAv9N3AL5pdMC8/3aAu5V4gLorecC4v3oAsKt5QLIXeACjgXdA1Ot3AGZZecC3x4PAn6WxwK5HrsB86bFAu4ezwLohtYC4ubZAsK+1wLIZtQCjf7SA9OGz4KY3tEJnh8NAD1frIJ4V5gMMz+wgO3PvANoT8UC4rfJAsLvyQLIj8YCji/DBBPHv4TYb7EY3K/+ht1TrII 4w9GCOysIArfCtim3S6MudHrDgHSzswEu8soObxO6DWk6ywqpU7sKo3rJCyOLuQsCOsYKwjO2C4gCxAuH87IHjcrCBo17oBVTEqAbUsNlBBcKKoNWcrMc3JJkhHziKAA4gc4g9DHUgO653A7pAdwKI1HZCwJZ1gsICdQKzcnTC5OR0QcYyaManbmFAf5JNAP48P0Pc6DrgG5A8A4ooPAKYwjrCwKQ5wsIMOQLDdjkCtOQ4QuZONIHXrCuED6QPAl5ABcKs1gIC+3ABQuoMAQLIqAACsL0BgsIjAoKjhQKDBOcCwtZRBgKnsxBCP58sw849NQIM0zkC22U6Arn7OsLIkzuCsNc8wtJBPUJDqTzEJP07ILZFP0S3k05Ar2tjgI4na0Y80XTB+2F1wtnzdoLIhXeCsOd4QtJVeMJTv3hEBRd2YGYhdQhHNYrADyOb4D3BjqEsvaqGi2OxgenxsoLYf7OCsO+0gsJftMJzz7QD5SuyIFXzr0pWy8LAjlnEIq2LrgccqdzA61XqRRnv7kIYf++C0PPwgsJl8MKD1/BDlTnuQAXN6ouGRffgNlrCov 1W44NeArWEHX6ij31I3c/9EqMDXSDfQ1u+pkhL0OMH+larxUpm6IWo5rFGWPTtxiCItYYAgPJGQfi4RpH49AXTYrSEYzDbi6RmkgtkSr5E1R5mgxVMj8n2eGlg3lB+Qp3WaQ4dCGcDe65pyBpGbwUY1nSGkJh5BhIGfIWjaH2I9KZug7WuS8qmoDBCHoJGAH4kL4wdBCtD66AtB1oyMoVYwDhGUK48xkIcQIZTikZEtNg/ycX+MEKm/gZIPwYToG5BC0lM1QvG63EIwxoVB0g4qQNFoMYBhPIwBMfjoApFpRIPw+ZcCQm3CRigbvMMCB3xNMJcx0XJe2lFxNn9QgZYjz6GAOM5RvJRNITDuzCH1RktQzYTMAxmfUiA/ps3Qf2dUIpcmXQDa09/SBnnfgXYe3qF4PV1xuJhcUSzx20IJR1qAyXTao4mQ38Cvm9woM0RbELcU5YLO0m4BFndukaIbbdF8QWyhpJzrcTT1alIdSemQzWLpM9l/baD3XmOon01lAn8L8IEqxnfi4nb9gXoY/PGMRHvRlKD6oVT5+WIZTPiQ0VT4FAFcelDlX6GIn x+00d9EKJG7PSWU3xSyFPMtpOHHFjOBru2jdC7yMmSipaeCPrC2knZLKzLmU7pCtBCuIoALvQKwZy6TqGm9IyjALKLUsrT0xP+iBFj5rpMFJBjh1UklElFhE1hjXJtBW1uYRI8yFbHS6BTzrpiYkhZBHCMEGh9iqHWh4mzDn6QlBZmiUV6VYyVyh4EDOo7Be3UKxB80BkIq4QZDKowJgiY1DQMEJBCSgH2TgzjXFTJ1I5Bj8VeKgYWLwdK3eQrQz3JC0ysZxGPS00bB1n9EwwYnwbJ8MAGiUISEM0jahfJpMwbCBXwBE0l4yxC7iICym0VJwYsg09Pu0NWSdnbT0xYb0JKgPkzTAJbJYjzpxzOZNEiR0WTKtGE8zxFrYMchC05UI1cC3GIevWFT6m1iEkoRX1KISdvzGKFYkhTtViPdMFdhyVRY5K1d27GLYFQoNyDbAc7041Q+uW6yrl9vY1oG7hJ8VGsDDKxngiTxZLQ9LWZRwTnm5OFD6PG/HtnAP0Pnwhby8FL+qPZkpl5+MxQAfRK0XfoC0Lh2cjT0c5SZEvSxlRBzZN0e9QG9IhZAt sGuEisDqQKa6x8lHsKrJTbYHAImvKmSDsccRV6zq0VOqJyCVq8sEgZyIrTejrEU2iCrlDI3uHUoKqw2QCM5xUB5quSIaa+2sMahtZyyLoSY4RqC1PgokqEPFNBO/ptxswyTRKLhjZIi1wzlSpkNYtJUFQSuCJ2zaEIhlPSXoLYAxpqjcR+Vk8EoCIF27gzRlziKU576wGI+0MMFCoXAQ7Y0h4SQFhBTTFKThZChl2QQ9ZL0zRIK0hFKQZMLL4mgzzhD8wrqxiSSmMhzalnHBX4ew2L8MwMi7G6FZVzEC+U8+AuClTyBQ5EvzIF3SUBiawVMMfLz1SS2nddDrknWVTYEUJNMSEekkJzA87jhQnWY7MMSaRdHJQzuzxJnFslRWxxV477OXyNajGA1lj3jQ/QZXdNYZNVkwKrO4tDXUhWY4NGCaPtUhUkcWkJ/HdeQjuXd4s7NZeWCee0kgiLrlbgta3QIgGM06LVd4lC54FVw2GASVOjihWT852KG5lhyHuZr8gKqcPReZfCWphz6BSg++QTclfHUoK1swbyf7oUMuO0yELNsxVjCcBJM4xXiO qubgL7knVJmqRcEtryjU3p7jgJeiZsBOpmVhTKvoTQSX5Eypm6e0cKIleVupSNEOjwgBQ5kK8SyCiRHTh8spWhCqEWAHaP3fIidZiBdKPVsnBmjAJQocuDZmoCipJVSmtQMFQq0A+JGxonVOn2DIz5diZY2GBVlQAsVt/hbG8a4f5gTzN4XE9j4DaFKrQrBXwCK0wrhx2LuvkOGDnbHdMYmgCXcCAxkKC0IF1BjEHVovhck9NkPIfkPgULS6wogPwRDkmrVxkVOhMpk4kJGNoIeQKNwMQJDEFwBxdyjjFZEtZBy9P2FM4znyaG3EkBxTsxL8YrMU3SCd9a0VipU9lwFTdO8RMNFZJGHtEjKQYYYvAMi0NzAlZS4TTNW7U1QiurTg4aaXKOibNs2gh1jBWApWmP4cE9VKItFIqCazjWInkfCnL1OFXz7T8LC1tuQGrldww6XXLYOSub1nAFip3RN2fYgktt0MJZSEXCjWzRgsFOxiMlbVGjEVFGCvNdiSoVm8lZn55VuKeMnmBrr5aRmZqWIgGbi3H5eUDyW5/Mkn+BAbKdng4TF4sCcpZXiK".split(" "); f=Wz.prototype;f.initialize=function(){Mw(this,!1);S(this,!0);ux(this,this.sa);this.Cc();this.K.enable(this.K.DEPTH_TEST);var a=mat4.create();mat4.identity(a);a[0]=this.D()/921.6;a[5]=this.C()/518.4;this.Ha=mat4.multiply(this.Ha,a,this.Ha);this.xv=mat4.create();mat4.set(this.Ha,this.xv)};f.MC=function(a){for(var b=0;b>>0;e.push(new V($z((0==(h>>31&1)?1:-1)*((h&2145386496)>>21),460.8,11),$z((0==(h>>20&1)?1:-1)*((h&1047552)>>10),275.3,11),$z((0==(h>>9&1)?1:-1)*(h&511),211.2,10)))}for(g=0;gYz.length-1&&(c=Yz.length-1,b=0);if(0!=b||this.ha()&&!this.bV){if(this.iV!=c){var d=c!=Yz.length-1?Yz[c+1]:null;this.jV=Zz(this,Yz[c],!0);this.PM=null!=d?Zz(this,d,!0):null}for(d=0;dthis.LJ&&(g.UD=!0)}};function lA(a,b,c){b=T(b,c);C(b,"position","absolute");a.oa().appendChild(b);return b} function nA(a,b,c,d,e,g){b=b.getContext("2d");b.save();b.fillStyle="#FFFFFF";$f&&(sA(a,b,c,d),b.globalCompositeOperation="destination-in");b.beginPath();var h=Math.round(.5*e),k=Math.round(.5*g);e=Math.round(e);g=Math.round(g);b.moveTo(h,-1);b.lineTo(e+1,k);b.lineTo(h,g+1);b.lineTo(-1,k);b.lineTo(h,-1);b.fill();$f||(b.globalCompositeOperation="source-in",sA(a,b,c,d));b.restore()} function oA(a,b,c,d,e,g){b=b.getContext("2d");b.save();b.fillStyle="#FFFFFF";$f&&(sA(a,b,c,d),b.globalCompositeOperation="destination-in");var h=Math.round(.5*e)+.5;e=Math.round(e)+.5;var k=Math.round(g)+.5;b.beginPath();b.moveTo(h,-1);b.lineTo(e,Math.round(.25*g)-1);b.lineTo(e,Math.round(.75*g)+1);b.lineTo(h,k);b.lineTo(-1,Math.round(.75*g)+1);b.lineTo(-1,Math.round(.25*g)-1);b.lineTo(h,1);b.fill();$f||(b.globalCompositeOperation="source-in",sA(a,b,c,d));b.restore()} function sA(a,b,c,d){c=Math.round(c);d=Math.round(d);b.drawImage(a,-c,-d)}function rA(a,b,c){switch(a.M){case gA:return b.Mb>=c?b.Mb-c:0;case hA:return b.Mb<=c?c-b.Mb:0;case iA:return b.Lb>=c?b.Lb-c:0}return b.Lb<=c?c-b.Lb:0}fA.prototype.LJ=.3;fA.prototype.gC=.7;var kA=0,gA=0,hA=1,iA=2,jA=3;function mA(){}f=mA.prototype;f.Lb=0;f.Mb=0;f.VL=!0;f.WL=!0;f.me=0;f.Rq=!0;f.sv=0;f.UD=!1;f.sy=!1;f.Yg=function(a){this.Lb=a;this.Za()};f.Kc=function(a){this.Mb=a;this.Za()}; function pA(a,b){a.VL=b;null!=a.mv&&D(a.mv,b?1:0);b&&a.Za()}function qA(a,b){a.WL=b;null!=a.Mr&&D(a.Mr,b?1:0);b&&a.Za()}f.Za=function(){null!=this.mv&&this.VL&&Ve(this.mv,this.Lb,this.Mb);null!=this.Mr&&this.WL&&Ve(this.Mr,this.Lb,this.Mb)};function tA(){var a=Array(2);uA(a,0,0);return a}function uA(a,b,c){a[0]=b;a[1]=c};function vA(a,b){Q.call(this,a);this.wa=b;this.za(!0,!0)}v(vA,Q);f=vA.prototype; f.initialize=function(){Mw(this,!1);S(this,!1);this.NC=this.jQ=!1;this.Oy=[];this.Xy=[];var a=this.D(),b=this.C();this.qE=Math.max(a,b);var c=this.wk(this.oa(),a,b,!0);Jg(c,this.qE+"px");this.Aa=this.wk(c,a,b,!0);this.HE=this.wk(this.Aa,a,b,!0);this.Py=this.wk(this.Aa,a,b,!0);C(this.Py,"visibility","hidden");if(this.wa==wA||this.wa==xA){for(var a=Tg?4:8,b=this.ha()?this.Na:this.sa,c=this.ha()?this.sa:this.Na,d=this.D(),e=this.C(),g=a/2-1,h=0;hMath.random()?-1:1));this.Xy[h]=this.Eq(this.HE,d,e,k,m,l);this.Oy[h]=this.Eq(this.Py,d,e,k,m,l)}d/=128;e/=96;g=0;l=[];for(h=0;128>h;++h){for(var k=0,m=Math.round((h+1)*d)-g,n=g,q=0;96>q;++q){if(0==l.length)for(var u=0;uc&&(E=c-A);if(!x&&A+E>=c)if(E>.5*h+k)E=k;else{Z.Ls=void 0;R=tA();uA(R,Z.yl.x,0);N=tA();uA(N,A+E,F);Z.yl.On.x+=E;Z.yl.On.y=d;continue}x?(R=tA(),uA(R,A,0),N=tA(),uA(N,A+E,F),Z.yl={zw:R,On:N}):(R=tA(),uA(R,A,F),N=tA(),uA(N,A+E,d),Z.Ls={zw:R,On:N},n.push({ww:void 0,yl:void 0,Ls:void 0}),q=n[++u],R=tA(),uA(R,A,0),N=tA(),uA(N,A+E,F),q.ww={zw:R,On:N});q=E;x=!x}for(var ia=a.ha()?a.Na:a.sa,la=a.ha()?a.sa:a.Na,e=.5>Math.random()?-1:1, g=0;g=a)&&(this.NC=!0);if(0<=a&&.4>a){var d=U(0,0,.4,1);a=d(a)}else.6<=a&&1>a?(d=U(.6,1,1,0),a=d(a)):a=1;var d=-this.qE*a/2,e=30*a*(this.NC?-1:1);c&&b&&(e=-e);G(this.Aa,"translateZ("+d+"px) rotateY("+e+"deg) rotateX("+-15*a+"deg)")}; f.va=function(a){if(1!=a||!this.ha()){this.uE(a);var b=2*this.qE,c=this.ha(),d=this.Xy;if(c&&.47>=a||!c&&.47<=a)d=this.Oy,this.jQ||(this.jQ=!0,C(this.Py,"visibility","visible"),C(this.HE,"visibility","hidden"));for(var c=d.length,e=0;eh){var k=U(0,0,.4,1);h=k(h)}else.522<=h&&.922>h?(k=U(.522,1,.922,0),h=k(h)):h=.4<=h&&.522>h?1:0;h*=g.l_;k=a;if(.401<=k&&.461>k)var l=U(.401,0,.461,1),k=l(k);else.461<=k&&.521>k?(l=U(.461,1,.521,0),k=l(k)):k=0;G(g.canvas,"translateZ("+(k* b*g.direction+h)+"px)")}}};function zA(a,b,c,d){this.canvas=a;this.startTime=b;this.l_=c;this.direction=d}var AA=1,wA=2,xA=3;function BA(a,b){Q.call(this,a);this.M=b;this.za(!0,!0)}v(BA,Q);BA.prototype.initialize=function(){Mw(this,!1);S(this,!1);var a=T(this.D(),this.C());C(a,"position","absolute");this.oa().appendChild(a);this.$z=a}; BA.prototype.va=function(a){var b=this.D(),c=this.C(),d=b*Pw(0,b,Math.floor(a*b));a=c*Pw(0,c,Math.floor(a*c));var e=this.$z.getContext("2d");e.clearRect(0,0,b,c);switch(this.M){case CA:e.drawImage(this.Na,0,a-c);e.drawImage(this.sa,0,a);break;case DA:e.drawImage(this.Na,b-d,0);e.drawImage(this.sa,-d,0);break;case EA:e.drawImage(this.Na,d-b,0);e.drawImage(this.sa,d,0);break;case FA:e.drawImage(this.Na,0,c-a),e.drawImage(this.sa,0,-a)}};var CA=0,DA=1,EA=2,FA=3;function GA(a){Q.call(this,a);this.za(!1,!0)}v(GA,rx);f=GA.prototype;f.initialize=function(){Mw(this,!1);S(this,!0);ux(this,this.sa);this.Cc();mat4.translate(this.Ha,[-this.D()/2,this.C()/2,0]);Mx(this)};f.Sf=function(){return" \n\r\n\t\tprecision mediump float; \n\r\n\t\t\n\r\n\t\tvarying vec2 vTextureCoord; \n\r\n\t\tvarying vec3 vNormal; \n\r\n\t\t\n\r\n\t\tuniform sampler2D uSampler; \n\r\n\t\t\n\r\n\t\tvoid main(void) \n\r\n\t\t{ \n\r\n\t\t\tvec3 n = normalize(vNormal); \n\r\n\t\t\tvec3 lightingDirection = vec3(0.0, 0.0, 1.0); \n\r\n\t\t\tfloat directionalLightWeighting = abs(dot(n, lightingDirection)); \n\r\n\t\t\tfloat intentsity = 0.7 + 0.3 * directionalLightWeighting; \n\r\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \n\r\n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\r\n\t\t } \n\r\n\t"}; f.Tf=function(){return" \n\r\n\t\tattribute vec3 aVertexPosition; \n\r\n\t\tattribute vec2 aTextureCoord; \n\r\n\t\t\n\r\n\t\tuniform mat4 uPMVMatrix; \n\r\n\t\tuniform mat3 uNMatrix; \n\r\n\t\t\n\r\n\t\tuniform float uPhase; \n\r\n\t\tuniform float uSlideHeight; \n\r\n\t\tuniform float uSlideWidth; \n\r\n\t\tuniform bool uLeftCurtain; \n\r\n\t\t\n\r\n\t\tvarying vec2 vTextureCoord; \n\r\n\t\tvarying vec3 vNormal; \n\r\n\t\t\n\r\n\t\tconst float WAVES_COUNT = 10.0; \n\r\n\t\tconst float MIN_AMP_KOEF = 0.5; \n\r\n\t\tconst float WAVE_APPEAR_DURATION = 0.1; \n\r\n\t\tconst float WAVES_START_APPEAR_PHASE = 0.075; \n\r\n\t\tconst float WAVES_READY_PHASE = 0.275; \n\r\n\t\tconst float STRETCH_KOEF = 1.25; \n\r\n\t\tconst float MAX_CORNER_BOUNCE_AT_START_KOEF = 1.5; \n\r\n\t\tconst float MAX_CORNER_BOUNCE_AT_END_KOEF = 3.5; \n\r\n\t\tconst float DELTA_W = 1.0; \n\r\n\t\tconst float DELTA_H = 1.0; \n\r\n\t\tconst float PI = 3.14159265358979323846264; \n\r\n\t\t\n\r\n\t\tfloat sinX; \n\r\n\t\tfloat waveStartAppearTime; \n\r\n\t\tfloat rowRatio; \n\r\n\t\tfloat diagonalRatio; \n\r\n\t\tfloat forcedXPath; \n\r\n\t\tfloat xDampAmp; \n\r\n\t\tfloat yAmp; \n\r\n\t\tvec4 xTimesPart1; \n\r\n\t\tvec4 xTimesPart2; \n\r\n\t\tvec2 xTimesPart3; \n\r\n\t\tvec4 yTimesPart1; \n\r\n\t\tvec3 yTimesPart2; \n\r\n\t\t\n\r\n\t\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1) \n\r\n\t\t{ \n\r\n\t\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0)); \n\r\n\t\t} \n\r\n\t\t\n\r\n\t\tfloat calcAmpKoef(float x) \n\r\n\t\t{ \n\r\n\t\t\tconst float X0 = 0.0; \n\r\n\t\t\tconst float X1 = 0.5; \n\r\n\t\t\tconst float X2 = 1.0; \n\r\n\t\t\t\n\r\n\t\t\tconst float Y0 = 0.25; \n\r\n\t\t\tconst float Y1 = 0.16; \n\r\n\t\t\tconst float Y2 = 0.0; \n\r\n\t\t\t\n\r\n\t\t\tfloat part1 = (x - X1) * (x - X2) * Y0 / (X0 - X1) / (X0 - X2); \n\r\n\t\t\tfloat part2 = (x - X0) * (x - X2) * Y1 / (X1 - X0) / (X1 - X2); \n\r\n\t\t\tfloat part3 = (x - X0) * (x - X1) * Y2 / (X2 - X0) / (X2 - X1); \n\r\n\t\t\t\n\r\n\t\t\treturn part1 + part2 + part3; \n\r\n\t\t} \n\r\n\t\t\n\r\n\t\tfloat smoothStep(float min, float max, float x) \n\r\n\t\t{ \n\r\n\t\t\tif (x < min) \n\r\n\t\t\t{ \n\r\n\t\t\t\treturn 0.0; \n\r\n\t\t\t} \n\r\n\t\t\tif (x >= max) \n\r\n\t\t\t{ \n\r\n\t\t\t\treturn 1.0; \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tfloat value = (x - min) / (max - min); \n\r\n\t\t\tfloat squaredValue = value * value; \n\r\n\t\t\t\n\r\n\t\t\treturn -2.0 * squaredValue * value + 3.0 * squaredValue; \n\r\n\t\t} \n\r\n\t\t\n\r\n\t\tfloat calcAmp()\n\r\n\t\t{ \n\r\n\t\t\tfloat periodKoef = linearInterpolation(uPhase, waveStartAppearTime, 1.0, waveStartAppearTime + WAVE_APPEAR_DURATION, MIN_AMP_KOEF); \n\r\n\t\t\tperiodKoef = clamp(periodKoef, MIN_AMP_KOEF, 1.0); \n\r\n\t\t\t\n\r\n\t\t\treturn calcAmpKoef(periodKoef) * uSlideWidth / WAVES_COUNT; \n\r\n\t\t} \n\r\n\t\t\n\r\n\t\tfloat calcX() \n\r\n\t\t{ \n\r\n\t\t\tfloat forcedX = smoothStep(xTimesPart1.x, xTimesPart1.y, uPhase) * forcedXPath + smoothStep(xTimesPart1.z, xTimesPart1.w, uPhase) * 0.75; \n\r\n\t\t\tfloat dampAmpKoef = (uPhase <= xTimesPart2.w + 0.35) ? 1.0 : (diagonalRatio == 0.0 ? 1.0 : diagonalRatio); \n\r\n\t\t\tfloat stretchWidth = smoothStep(xTimesPart2.w, xTimesPart3.x, uPhase); \n\r\n\t\t\tfloat compressionWidth = smoothStep(xTimesPart3.x, xTimesPart3.y, uPhase); \n\r\n\t\t\tfloat deltaWidthKoef = (linearInterpolation(diagonalRatio, 0.0, 0.0, 1.0, compressionWidth) - linearInterpolation(diagonalRatio, 0.0, 0.0, 1.0, stretchWidth)) * STRETCH_KOEF; \n\r\n\t\t\t\n\r\n\t\t\tfloat dampX = smoothStep(xTimesPart2.x, xTimesPart2.y, uPhase); \n\r\n\t\t\tdampX -= smoothStep(xTimesPart2.y, xTimesPart2.z, uPhase) * 1.25; \n\r\n\t\t\tdampX += deltaWidthKoef; \n\r\n\t\t\t\n\r\n\t\t\treturn (forcedX + dampX * xDampAmp / dampAmpKoef) * uSlideWidth; \n\r\n\t\t} \n\r\n\t\t\n\r\n\t\tfloat calcY(vec3 vertex) \n\r\n\t\t{ \n\r\n\t\t\tfloat cornerBounceAtStartKoef = linearInterpolation(uPhase, yTimesPart1.y, 0.0, yTimesPart1.z, MAX_CORNER_BOUNCE_AT_START_KOEF); \n\r\n\t\t\tfloat x0 = uLeftCurtain ? uSlideWidth * 0.25 : uSlideWidth * 0.5; \n\r\n\t\t\tfloat x1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth * 0.75; \n\r\n\t\t\tfloat fx0 = uLeftCurtain ? cornerBounceAtStartKoef : MAX_CORNER_BOUNCE_AT_START_KOEF; \n\r\n\t\t\tfloat fx1 = uLeftCurtain ? MAX_CORNER_BOUNCE_AT_START_KOEF: cornerBounceAtStartKoef ; \n\r\n\t\t\tfloat colBounceAtStartKoef = linearInterpolation(vertex.x, x0, fx0, x1, fx1); \n\r\n\t\t\tcolBounceAtStartKoef = clamp(colBounceAtStartKoef, 0.0, MAX_CORNER_BOUNCE_AT_START_KOEF); \n\r\n\t\t\t\n\r\n\t\t\tfloat cornerBounceAtEndKoef = linearInterpolation(uPhase, yTimesPart2.y, 0.0, yTimesPart2.z, MAX_CORNER_BOUNCE_AT_END_KOEF); \n\r\n\t\t\tx0 = uLeftCurtain ? 0.0 : uSlideWidth * 0.5; \n\r\n\t\t\tx1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth; \n\r\n\t\t\tfx0 = uLeftCurtain ? cornerBounceAtEndKoef : MAX_CORNER_BOUNCE_AT_END_KOEF; \n\r\n\t\t\tfx1 = uLeftCurtain ? MAX_CORNER_BOUNCE_AT_END_KOEF: cornerBounceAtEndKoef ; \n\r\n\t\t\tfloat colBounceAtEndKoef = linearInterpolation(vertex.x, x0, fx0, x1, fx1); \n\r\n\t\t\t\n\r\n\t\t\tfloat y0 = -smoothStep(yTimesPart1.x, yTimesPart1.y, uPhase) * colBounceAtStartKoef; \n\r\n\t\t\ty0 += smoothStep(yTimesPart1.y, yTimesPart1.z, uPhase) * MAX_CORNER_BOUNCE_AT_START_KOEF; \n\r\n\t\t\ty0 -= smoothStep(yTimesPart1.z, yTimesPart1.w, uPhase) * 0.25; \n\r\n\t\t\ty0 += smoothStep(yTimesPart1.w, yTimesPart2.x, uPhase) * 0.25; \n\r\n\t\t\ty0 -= smoothStep(yTimesPart2.x, yTimesPart2.y, uPhase) * colBounceAtEndKoef; \n\r\n\t\t\ty0 += smoothStep(yTimesPart2.y, yTimesPart2.z, uPhase) * (MAX_CORNER_BOUNCE_AT_END_KOEF + 1.0); \n\r\n\t\t\t\n\r\n\t\t\treturn (y0 * yAmp + rowRatio) * uSlideHeight; \n\r\n\t\t} \n\r\n\t\t\n\r\n\t\tvec3 getVertexPosition(vec3 vertex) \n\r\n\t\t{ \n\r\n\t\t\tfloat amp = calcAmp(); \n\r\n\t\t\tfloat z = -amp * sinX; \n\r\n\t\t\tfloat xKoef = uLeftCurtain ? 1.0 : -1.0; \n\r\n\t\t\t\n\r\n\t\t\treturn vec3(vertex.x - calcX() * xKoef, -calcY(vertex), z); \n\r\n\t\t} \n\r\n\t\t\n\r\n\t\tvoid initVertexParams(vec3 vertex) \n\r\n\t\t{ \n\r\n\t\t\tfloat periodWidth = uSlideWidth / WAVES_COUNT; \n\r\n\t\t\tfloat frequency = PI * 2.0 / periodWidth; \n\r\n\t\t\tsinX = sin(frequency * vertex.x); \n\r\n\t\t\t\n\r\n\t\t\trowRatio = vertex.y / uSlideHeight; \n\r\n\t\t\t\n\r\n\t\t\tfloat halfRowRatio = rowRatio * 0.5; \n\r\n\t\t\tfloat halfSquaredRowRatio = rowRatio * halfRowRatio; \n\r\n\t\t\t\n\r\n\t\t\tfloat maxDT = 0.1; \n\r\n\t\t\tfloat dtAmp = 2.0 * maxDT; \n\r\n\t\t\tfloat dt = dtAmp * halfRowRatio; \n\r\n\t\t\t\n\r\n\t\t\tfloat distT = (0.6 - dt); \n\r\n\t\t\t\n\r\n\t\t\tfloat xT1 = dt; \n\r\n\t\t\tfloat xT2 = 0.4 + dt; \n\r\n\t\t\tfloat xT3 = xT2 + distT * 0.5; \n\r\n\t\t\tfloat xT4 = 1.0 + (1.0 - xT3); \n\r\n\t\t\t\n\r\n\t\t\tfloat xDampT1 = (xT1 + xT2) * 0.45; \n\r\n\t\t\tfloat xDampT2 = xT2; \n\r\n\t\t\tfloat xDampT3 = xT3; \n\r\n\t\t\tfloat xDampT4 = xDampT2 + (xDampT3 - xDampT2) * 0.5; \n\r\n\t\t\tfloat xDampT5 = xDampT3 + 0.075; \n\r\n\t\t\tfloat xDampT6 = 1.0; \n\r\n\t\t\t\n\r\n\t\t\tdistT = (0.7 - dt); \n\r\n\t\t\t\n\r\n\t\t\tfloat yT2 = 0.3 + dt; \n\r\n\t\t\tfloat yT3 = yT2 + distT * 0.5; \n\r\n\t\t\t\n\r\n\t\t\tfloat yDampT1 = 0.0; \n\r\n\t\t\tfloat yDampT2 = (yDampT1 * 2.0 + 0.35) * 0.5; \n\r\n\t\t\tfloat yDampT3 = yT2; \n\r\n\t\t\tfloat yDampT4 = (yT2 + yT2 + yT3) / 3.0; \n\r\n\t\t\tfloat yDampT5 = (yT2 + yT3 + yT3) / 3.0; \n\r\n\t\t\tfloat yDampT6 = yT3 + 0.1175; \n\r\n\t\t\tfloat yDampT7 = 1.0; \n\r\n\t\t\t\n\r\n\t\t\txTimesPart1 = vec4(xT1, xT2, xT3 - 0.125, xT4); \n\r\n\t\t\txTimesPart2 = vec4(xDampT1, xDampT2, xDampT3, xDampT4); \n\r\n\t\t\txTimesPart3 = vec2(xDampT5, xDampT6); \n\r\n\t\t\t\n\r\n\t\t\tyTimesPart1 = vec4(yDampT1 + 0.05, yDampT2, yDampT3, yDampT4); \n\r\n\t\t\tyTimesPart2 = vec3(yDampT5, yDampT6, yDampT7); \n\r\n\t\t\t\n\r\n\t\t\twaveStartAppearTime = linearInterpolation(vertex.y, 0.0, WAVES_START_APPEAR_PHASE, uSlideHeight, WAVES_READY_PHASE - WAVE_APPEAR_DURATION); \n\r\n\t\t\t\n\r\n\t\t\tfloat colRatio = (uLeftCurtain ? vertex.x : uSlideWidth - vertex.x) / (uSlideWidth * 0.5); \n\r\n\t\t\tdiagonalRatio = (colRatio + rowRatio) * 0.5; \n\r\n\t\t\t\n\r\n\t\t\tfloat x0 = uLeftCurtain ? 0.0 : uSlideWidth * 0.5; \n\r\n\t\t\tfloat x1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth; \n\r\n\t\t\tfloat fx0 = uLeftCurtain ? 0.2 : 0.0; \n\r\n\t\t\tfloat fx1 = uLeftCurtain ? 0.0 : 0.2; \n\r\n\t\t\tforcedXPath = 0.2 * (colRatio + linearInterpolation(vertex.x, x0, fx0, x1, fx1)); \n\r\n\t\t\t\n\r\n\t\t\tfloat mxDampAmp = 0.1 * diagonalRatio; \n\r\n\t\t\tfloat dampAcc = 2.0 * mxDampAmp; \n\r\n\t\t\txDampAmp = dampAcc * halfRowRatio; \n\r\n\t\t\t\n\r\n\t\t\tfloat maxYAmp = 0.02; \n\r\n\t\t\tfloat dyAmp = 2.0 * maxYAmp * diagonalRatio * rowRatio; \n\r\n\t\t\tyAmp = dyAmp * halfSquaredRowRatio; \n\r\n\t\t} \n\r\n\t\t\n\r\n\t\tvec3 getVertexNormal(vec3 vertex, vec3 p) \n\r\n\t\t{ \n\r\n\t\t\tbool rightSideXPos = vertex.x == (uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth); \n\r\n\t\t\tfloat deltaWidth = rightSideXPos ? -DELTA_W : DELTA_W; \n\r\n\t\t\t\n\r\n\t\t\tvec3 rightVertex = vec3(vertex.x + deltaWidth, vertex.y, vertex.z); \n\r\n\t\t\tinitVertexParams(rightVertex); \n\r\n\t\t\tvec3 right = getVertexPosition(rightVertex); \n\r\n\t\t\t\n\r\n\t\t\tvec3 downVertex = vec3(vertex.x, vertex.y + DELTA_H, vertex.z); \n\r\n\t\t\tinitVertexParams(downVertex); \n\r\n\t\t\tvec3 down = getVertexPosition(downVertex); \n\r\n\t\t\t\n\r\n\t\t\tvec3 v1 = vec3(right.x - p.x, right.y - p.y, right.z - p.z); \n\r\n\t\t\tvec3 v2 = vec3(down.x - p.x, down.y - p.y, down.z - p.z); \n\r\n\t\t\t\n\r\n\t\t\tvec3 n = rightSideXPos ? cross(v1, v2) : cross(v2, v1); \n\r\n\t\t\tn = normalize(n); \n\r\n\t\t\t\n\r\n\t\t\treturn n; \n\r\n\t\t} \n\r\n\t\t\n\r\n\t\tvoid main(void) \n\r\n\t\t{ \n\r\n\t\t\tvTextureCoord = aTextureCoord; \n\r\n\t\t\t\n\r\n\t\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z); \n\r\n\t\t\tinitVertexParams(vertex); \n\r\n\t\t\tvec3 p = getVertexPosition(vertex); \n\r\n\t\t\t\n\r\n\t\t\tvec3 pNormal = getVertexNormal(vertex, p); \n\r\n\t\t\tvec3 transformedNormal = uNMatrix * pNormal; \n\r\n\t\t\tvNormal = transformedNormal; \n\r\n\t\t\t\n\r\n\t\t\tif (vertex.y == 0.0) \n\r\n\t\t\t{ \n\r\n\t\t\t\tfloat maxDY = calcAmpKoef(MIN_AMP_KOEF) * uSlideWidth / WAVES_COUNT * 0.4; \n\r\n\t\t\t\tp.y += max(0.0, min(maxDY, linearInterpolation(uPhase, WAVES_START_APPEAR_PHASE, 0.0, WAVES_START_APPEAR_PHASE + WAVE_APPEAR_DURATION, maxDY))); \n\r\n\t\t\t} \n\r\n\t\t\tgl_Position = uPMVMatrix * vec4(p, 1.0); \n\r\n\t\t} \n\r\n\t"}; f.tJ=function(){if(p(this.Zm))return this.Zm;this.Fo();return this.Zm=this.Zm};f.Fo=function(){p(this.K)||GA.L.Fo.call(this)};f.va=function(a){this.K.uniform1f(this.ve,a);this.VK=!0;Ex(this,this.$t,this.K.TRIANGLE_STRIP);this.VK=!1;Ex(this,this.Yu,this.K.TRIANGLE_STRIP)};f.Zf=function(){Fx(this);this.Ld=Hx(this,"uSampler");this.ve=Hx(this,"uPhase");this.nV=Hx(this,"uLeftCurtain");var a=Hx(this,"uSlideWidth");this.K.uniform1f(Hx(this,"uSlideHeight"),this.C());this.K.uniform1f(a,this.D())}; f.Qf=function(){xx(this,this.$t);xx(this,this.Yu)};f.Rf=function(){};f.BC=function(){this.K.uniform1i(this.nV,this.VK?1:0)};f.Cc=function(){var a=this.D(),b=this.C();this.fM=zy(a,b,0,31);this.aP=zy(a,b,30,61);this.wd=Ay(15,31);this.$t=new Cy;a=zx(this,Ux(this.fM),3);this.$t.Qd=a;a=zx(this,Vx(this.fM),2);this.$t.Wd=a;a=Ax(this,this.wd);this.$t.Od=a;this.Yu=new Cy;a=zx(this,Ux(this.aP),3);this.Yu.Qd=a;a=zx(this,Vx(this.aP),2);this.Yu.Wd=a;a=Ax(this,this.wd);this.Yu.Od=a};f.lh=function(){return this.Ld};function HA(a){Q.call(this,a);this.za(!1,!0)}v(HA,Q);HA.prototype.initialize=function(){Mw(this,!1);S(this,!0);this.Ub=T(this.D(),this.C());this.oa().appendChild(this.Ub)}; HA.prototype.va=function(a){var b=(this.D()/2+50)*(1-a),c=b-50,d=(this.C()/2+50)*(1-a),e=d-50,g=this.Ub.getContext("2d");g.clearRect(0,0,this.D(),this.C());g.drawImage(this.sa,0,0);g.save();g.globalCompositeOperation="destination-out";d=g.createLinearGradient(0,d,0,e);d.addColorStop(0,"rgba(255, 255, 255, 1)");d.addColorStop(1,"rgba(255, 255, 255, 0)");b=g.createLinearGradient(b,0,c,0);b.addColorStop(0,"rgba(255, 255, 255, 1)");b.addColorStop(1,"rgba(255, 255, 255, 0)");c=this.D()/2+(this.D()/2+50)* a;c=g.createLinearGradient(c-50,0,c,0);c.addColorStop(0,"rgba(255, 255, 255, 1)");c.addColorStop(1,"rgba(255, 255, 255, 0)");e=this.C()/2+(this.C()/2+50)*a;a=g.createLinearGradient(0,e-50,0,e);a.addColorStop(0,"rgba(255, 255, 255, 1)");a.addColorStop(1,"rgba(255, 255, 255, 0)");g.fillStyle=d;g.fillRect(0,0,this.D()/2,this.C()/2);g.fillStyle=b;g.fillRect(0,0,this.D()/2,this.C()/2);g.fillStyle=a;g.fillRect(0,this.C()/2,this.D()/2,this.C()/2);g.fillStyle=b;g.fillRect(0,this.C()/2,this.D()/2,this.C()/ 2);g.fillStyle=d;g.fillRect(this.D()/2,0,this.D()/2,this.C()/2);g.fillStyle=c;g.fillRect(this.D()/2,0,this.D()/2,this.C()/2);g.fillStyle=a;g.fillRect(this.D()/2,this.C()/2,this.D()/2,this.C()/2);g.fillStyle=c;g.fillRect(this.D()/2,this.C()/2,this.D()/2,this.C()/2);g.restore()};function IA(a,b,c){Q.call(this,a);this.M=b;this.Ut=c;this.za(!0,!0)}v(IA,Q);f=IA.prototype; f.initialize=function(){Mw(this,!1);S(this,!1);var a=this.D(),b=this.C();this.Fd=this.qc(a,b);this.oa().appendChild(this.Fd);var c=T(a,b),d=T(a,b);this.Ob=this.qc(a,b);this.vf=this.qc(a,b);this.tf=this.qc(a,b);this.Ut||(this.Ik=T(a,b));this.vf.appendChild(c);this.tf.appendChild(d);this.Fd.appendChild(this.Ob);this.Ob.appendChild(this.tf);this.Ob.appendChild(this.vf);this.Ut||(C(this.Ik,"position","absolute"),this.Ob.appendChild(this.Ik));c=c.getContext("2d");d=d.getContext("2d");c.drawImage(this.sa, 0,0);d.drawImage(this.Na,0,0);this.Ut||(this.Ik.getContext("2d").drawImage(this.Na,0,0),this.ha()||D(this.Ik,0));this.wy=!1;this.Ut&&(Jg(this.Fd,Math.max(a,b)+"px"),Kg(this.Fd,this.D()/2+"px "+this.C()/2+"px"),Ig(this.Ob,"preserve-3d"))};f.qc=function(a,b){var c=B("DIV");cf(c,a);df(c,b);C(c,"position","absolute");return c}; f.va=function(a){var b,c=this.M==JA?-1:1;if(this.Ut){b=.25*(1-Math.cos(2*a*Math.PI));var d=Math.max(this.C(),this.D()),e=this.gT,g=this.hT,h=this.fC,k=-c*b*this.D()/2,l=b*this.C()*1.5;G(this.Ob,"translateZ("+d+"px) translateY("+l+"px) translateX("+k+"px) rotateX("+-e*b+"deg) rotateY("+-c*g*b+"deg) rotateZ("+c*h*b+"deg)");KA(this,a,!1);KA(this,a,!0)}else e=this.C()/2,b=.25*(1-Math.cos(2*a*Math.PI)),d=-e*b,e=(this.C()+e)*b,Ve(this.vf,0,d),Ve(this.tf,0,e),Ve(this.Ik,0,e),e=new wi,d=new wi,e.rotate(this.fC* Math.PI/180*c*b,0,0),d.rotate(this.fC*Math.PI/180*c*b,0,0),Bi(this.vf,e),Bi(this.tf,d),Bi(this.Ik,d),b=Math.max(1-a,.8),e.scale(b,b),Bi(this.vf,e),b=this.ha()?Math.max(a,.8):Math.max(.5>a?1-a:a,.8),d.scale(b,b),Bi(this.tf,d),Bi(this.Ik,d),.5<=a&&!this.wy&&!this.ha()?(this.wy=!0,D(this.Ik,1)):.5>=a&&!this.wy&&this.ha()&&(this.wy=!0,D(this.Ik,0))}; function KA(a,b,c){var d=a.C()/2,e=.25*(1-Math.cos(2*b*Math.PI)),d=(c?-(d+a.Yi):a.C()+d+a.Yi)*e;b=-(c?1+b:2-b)*Math.max(a.D(),a.C());G(c?a.vf:a.tf,"translateY("+d+"px) translateZ("+b+"px)")}f.gT=30;f.hT=20;f.fC=30;f.Yi=20;var JA=1;function LA(a){Q.call(this,a);this.$d=!1;this.za(!0,!0)}v(LA,Q);LA.prototype.initialize=function(){this.bA=!1;Mw(this,!1);S(this,!1);var a=this.D(),b=this.C(),c=this.Na,d=this.sa;C(c,"position","absolute");C(d,"position","absolute");this.oa().appendChild(this.ha()?d:c);this.oa().appendChild(this.ha()?c:d);this.ou=T(a,b);var e=this.ou.getContext("2d");this.OM=T(a,b);this.OM.getContext("2d").drawImage(c,0,0);e.drawImage(d,0,0)}; LA.prototype.va=function(a){var b=this.Na,c=this.sa;.2>a?(!this.bA&&this.ha()&&(this.bA=!0,xe(b)),MA(this,c,this.ou,a/.2)):(this.bA||this.ha()||(this.bA=!0,xe(c)),MA(this,b,this.OM,(1-a)/.8))};function MA(a,b,c,d){b=b.getContext("2d");var e=a.D();a=a.C();b.drawImage(c,0,0,e,a);b.save();b.globalCompositeOperation="lighter";b.fillStyle="rgba(255, 255, 255,"+Ni(d)+")";b.rect(0,0,e,a);b.fill();b.restore()};function NA(a,b,c){Q.call(this,a);this.Jb=c;this.za(!0,!0);this.Wk=b==JA}v(NA,Q);f=NA.prototype; f.initialize=function(){Mw(this,!1);S(this,!1);var a=this.D(),b=this.C();this.JA=this.qc(a,b);this.oa().appendChild(this.JA);this.$l=this.qc(a,b);this.Me=this.qc(a,b);this.Ke=this.qc(a,b);this.Wk?(this.Me.appendChild(this.Na),this.Ke.appendChild(this.sa)):(this.Me.appendChild(this.sa),this.Ke.appendChild(this.Na));this.JA.appendChild(this.$l);this.Wk?(this.$l.appendChild(this.Me),this.$l.appendChild(this.Ke)):(this.$l.appendChild(this.Ke),this.$l.appendChild(this.Me));this.LA=!1;this.Jb&&(Jg(this.JA, Math.max(a,b)+"px"),Kg(this.JA,this.D()/2+"px "+this.C()/2+"px"),Ig(this.$l,"preserve-3d"))};f.va=function(a){a=this.Wk?1-a:a;this.Jb?this.MF(a):this.uD(a)};f.MF=function(a){function b(b){var k=b?-1:1,h=b?this.Me:this.Ke;b="translateZ("+(b?e:g).call(this,a)*d+"px)rotateY("+-30*k*c+"deg)translateX("+k*c*this.D()*1.05+"px)";G(h,b)}var c=.25*(1-Math.cos(2*a*Math.PI)),d=Math.max(this.D(),this.C()),e=U(0,0,1,-.3),g=U(0,-.3,1,0);b.call(this,!0);b.call(this,!1)}; f.uD=function(a){function b(a){var b=a?-1:1;a=a?this.Me:this.Ke;var d=new wi;d.scale(1-.5*c,1-.5*c);d.translate(b*c*this.D()*1.05,0);Bi(a,d)}this.Wk?.5>a&&!this.LA&&(this.$l.appendChild(this.Me),this.LA=!0):.5<=a&&!this.LA&&(this.$l.appendChild(this.Ke),this.LA=!0);var c=.25*(1-Math.cos(2*a*Math.PI));this.D();this.C();b.call(this,!0);b.call(this,!1)};f.qc=function(a,b){var c=B("DIV");cf(c,a);df(c,b);C(c,"position","absolute");return c};function OA(a){Q.call(this,a);vp(this.Ga())}v(OA,Q);OA.prototype.initialize=function(){Mw(this,!0);this.$d=!1;this.Ge=document.createElement("div");cf(this.Ge,this.D());df(this.Ge,this.C());C(this.Ge,"backgroundColor","#000000");C(this.Ge,"position","relative");this.oa().appendChild(this.Ge)};OA.prototype.va=function(a){.5>a?(D(this.Ge,1-2*(.5-a)),S(this,!1)):(D(this.Ge,1-2*(a-.5)),S(this,!0))};function PA(a){Q.call(this,a);this.za(!1,!0)}v(PA,rx);f=PA.prototype;f.initialize=function(){Mw(this,!1);S(this,!0);ux(this,this.sa);this.Cc();mat4.translate(this.Ha,[-this.D()/2,this.C()/2,0]);Mx(this)};f.tJ=function(){if(p(QA))return QA;this.Fo();return QA=this.Zm};f.Fo=function(){p(this.K)||PA.L.Fo.call(this)};f.va=function(a){this.K.uniform1f(this.ve,a);Ex(this,this.te,this.K.TRIANGLE_STRIP)}; f.Cc=function(){this.se=yy(10,35,this.D(),this.C());this.wd=Ay(10,35);this.te=new Cy;var a=zx(this,Ux(this.se),3);this.te.Qd=a;a=zx(this,Vx(this.se),2);this.te.Wd=a;a=Ax(this,this.wd);this.te.Od=a};f.Qf=function(){xx(this,this.te)};f.Zf=function(){Fx(this);this.Ld=Hx(this,"uSampler");this.ve=Hx(this,"uPhase");var a=Hx(this,"uSlideWidth");this.K.uniform1f(Hx(this,"uSlideHeight"),this.C());this.K.uniform1f(a,this.D())};f.Rf=function(){};f.lh=function(){return this.Ld};f.Sf=function(){return"\t\r\n\t\tprecision mediump float;\n\r\n\t\t\t\n\r\n\t\tvarying vec2 vTextureCoord;\n\r\n\t\tvarying vec3 vNormal;\n\r\n\t\t\t\n\r\n\t\tuniform sampler2D uSampler;\n\r\n\t\t\r\n\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\r\n\t\tconst float AMBIENT_INTENSITY = 0.3;\n\r\n\t\tconst float DIFFUSE_INTENSITY = 0.7;\n\r\n\t\t\t\n\r\n\t\tvoid main(void)\n\r\n\t\t{\n\r\n\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\r\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\r\n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\r\n\t\t}\n\r\n\t"}; f.Tf=function(){return"\n\r\nattribute vec3 aVertexPosition;\n\r\nattribute vec3 aVertexNormal;\n\r\nattribute vec2 aTextureCoord;\n\r\n\t\n\r\nuniform mat4 uPMVMatrix;\n\r\nuniform mat3 uNMatrix;\n\r\n\t\n\r\nuniform float uPhase;\n\r\nuniform float uSlideHeight;\n\r\nuniform float uSlideWidth;\n\r\n\t\n\r\nvarying vec2 vTextureCoord;\n\r\nvarying vec3 vNormal;\n\r\n\t\n\r\nconst float START_EFFECT_TIME = 0.0;\n\r\nconst float START_FLY_EFFECT_TIME = 0.4;\n\r\nconst float STOP_FLY_EFFECT_TIME = 0.8;\n\r\nconst float START_TOP_CENTER = 0.0;\n\r\nconst float START_TOP_CORNERS_TIME = 0.1;\n\r\nconst float START_BOTTOM_CORNERS_TIME = 0.0;\n\r\n\t\n\r\nconst float HORIZONTAL_WAVES_COUNT = 3.0;\n\r\nfloat HORIZONTAL_MAX_AMPLITUDE;\n\r\nconst float HORIZONTAL_WAVE_RUNNING_START_TIME = 0.0;\n\r\n\t\n\r\nconst float MAX_FLEX_DELAY = 0.1;\n\r\n\n\r\nfloat MAX_STRETCHING_Z;\n\r\nfloat MAX_STRETCHING_Y;\n\r\nfloat HORIZONTAL_TOP_STRETCHING;\n\r\nfloat VERTICAL_TOP_STRETCHING;\n\r\n\t\n\r\nconst float PI = 3.141592654;\n\r\n\t\n\r\nfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\r\n{\n\r\n\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\r\n}\n\r\nvec2 getMirrorPoint(vec2 a, vec2 b, vec2 p)\n\r\n{\n\r\n\treturn a + reflect(a - p, b - a);\n\r\n}\n\r\nfloat calcCenterWave(float x, float phase, float A, float F, float dx, float dy)\n\r\n{\n\r\n\tfloat CENTER_LINE_POS = uSlideWidth * 0.5;\n\r\n\tfloat startX = CENTER_LINE_POS;\n\r\n\tif (x < startX)\n\r\n\t{\n\r\n\t\tx = getMirrorPoint(vec2(CENTER_LINE_POS, 0), vec2(CENTER_LINE_POS , uSlideHeight), vec2(x, 0)).x;\n\r\n\t}\n\r\n\tfloat s = linearInterpolation(phase, 0.0, startX, 1.0, uSlideWidth);\n\r\n\tif ((x < startX) || (x < s))\n\r\n\t{\n\r\n\t\treturn 0.0;\n\r\n\t}\n\r\n\tfloat x0 = - linearInterpolation(phase, 0.0, 2.0 * PI * startX / uSlideWidth * HORIZONTAL_WAVES_COUNT, 1.0, PI * 2.0 * HORIZONTAL_WAVES_COUNT);\n\r\n\treturn A + A * sin(F * x +-PI / 2.0 + x0);\n\r\n}\n\r\nfloat getColWaveDelay(float phase, vec3 pos)\n\r\n{\n\r\n\tphase = linearInterpolation(phase, HORIZONTAL_WAVE_RUNNING_START_TIME, 0.0, 1.0, 1.0);\n\r\n\tfloat MAX_AMPLITUDE = linearInterpolation(phase, 0.0, 0.0, 1.0, HORIZONTAL_MAX_AMPLITUDE);\n\r\n\tfloat A = linearInterpolation(pos.y, 0.0, 0.0, uSlideHeight, MAX_AMPLITUDE);\n\r\n\tfloat F = (PI * 2.0 / uSlideWidth) * HORIZONTAL_WAVES_COUNT;\n\r\n\treturn calcCenterWave(pos.x, phase, A, F, 0.0, 0.0);\n\r\n}\n\r\nvec3 getVertexPosition(float phase, vec3 pos)\n\r\n{\n\r\n\tfloat CENTER = uSlideWidth * 0.5;\n\r\n\tphase = pow(phase, 4.0);\n\r\n\tfloat modifiedPhase = phase;\n\r\n\t\n\r\n\tfloat deltaZVertical = linearInterpolation(abs(pos.y), 0.0, 1.0, uSlideHeight / 2.0, 0.0);\n\r\n\tif (abs(pos.y) > uSlideHeight * 0.5)\n\r\n\t{\n\r\n\t\tdeltaZVertical = 0.0;\n\r\n\t}\n\r\n\tbool isLeft = (pos.x < CENTER);\n\r\n\tfloat stretch;\n\r\n\tfloat yDelay; \n\r\n\tvec3 delta = vec3(0, 0, 0);\n\r\n\tif (modifiedPhase > START_TOP_CENTER)\n\r\n\t{\n\r\n\t\tif (isLeft)\n\r\n\t\t{\n\r\n\t\t\tyDelay = linearInterpolation(pos.x, 0.0, MAX_FLEX_DELAY, CENTER, 0.0);\n\r\n\t\t\tstretch = linearInterpolation(pos.x, 0.0, 0.0, CENTER, 1.0);\n\r\n\t\t}\n\r\n\t\telse\n\r\n\t\t{\n\r\n\t\t\tyDelay = linearInterpolation(pos.x, CENTER, 0.0, uSlideWidth, MAX_FLEX_DELAY);\n\r\n\t\t\tstretch = linearInterpolation(pos.x, CENTER, 1.0, uSlideWidth, 0.0);\n\r\n\t\t}\n\r\n\t\tfloat deltaZHorizontal = pow(stretch, 3.0);\n\r\n\t\tmodifiedPhase = linearInterpolation(modifiedPhase, START_TOP_CENTER, 0.0, 1.0, 1.0);\n\r\n\t\tif (modifiedPhase >= yDelay)\n\r\n\t\t{\n\r\n\t\t\tdelta.y = linearInterpolation(modifiedPhase, yDelay, 0.0, 1.0, MAX_STRETCHING_Y * deltaZHorizontal * deltaZVertical);\n\r\n\t\t\tdelta.z = linearInterpolation(modifiedPhase, yDelay, 0.0, 1.0, MAX_STRETCHING_Z * deltaZHorizontal * deltaZVertical);\n\r\n\t\t}\n\r\n\t\tdelta.y = -delta.y;\n\r\n\t}\n\r\n\tif (phase > HORIZONTAL_WAVE_RUNNING_START_TIME)\n\r\n\t{\n\r\n\t\tdelta.z += getColWaveDelay(phase, pos);\n\r\n\t}\n\r\n\treturn pos - delta;\r\n}\n\r\nfloat getPower(float h1, float h2, float v1, float v2, vec2 pos, float max2)\n\r\n{\n\r\n float a1 = min(max(linearInterpolation(pos.x, h1, 1.0, h2, 0.0), 0.0), 1.0);\n\r\n float a2 = linearInterpolation(pos.y, v1, 1.0, v2, max2);\n\r\n return a1 * a2;\n\r\n}\n\r\nvec3 updateVertex(float phase, vec3 translation)\n\r\n{\n\r\n\tfloat pPhase = phase;\n\r\n\tvec3 delta = vec3(0, 0, 0);\n\r\n\tvec3 v0 = getVertexPosition(phase, aVertexPosition);\n\r\n\t\t\n\r\n\tif (phase > START_TOP_CORNERS_TIME)\n\r\n\t{\n\r\n\t\tpPhase = linearInterpolation(phase, START_TOP_CORNERS_TIME, 0.0, 1.0, 1.0);\n\r\n\t\tpPhase = pow(pPhase, 4.0);\n\r\n\t\t\n\r\n\t\tfloat p1 = getPower(0.0, uSlideWidth * 0.5, 0.0, uSlideHeight, v0.xy, 2.0);\n\r\n\t\tfloat p2 = getPower(uSlideWidth, uSlideWidth * 0.5, 0.0, uSlideHeight, v0.xy, 2.0);\n\r\n\t\t\n\r\n\t\tdelta += vec3(p2 - p1, -p1 - p2, 0) * vec3(HORIZONTAL_TOP_STRETCHING, VERTICAL_TOP_STRETCHING, 0) * vec3(pPhase, pPhase, 0);\n\r\n\t}\n\r\n\tif (phase > START_BOTTOM_CORNERS_TIME)\n\r\n\t{\n\r\n\t\tpPhase = linearInterpolation(phase, START_BOTTOM_CORNERS_TIME, 0.0, 1.0, 1.0);\n\r\n\t\tpPhase = pow(pPhase, 4.0);\n\r\n\t\t\n\r\n\t\tfloat p1 = getPower(0.0, uSlideWidth * 0.25, uSlideHeight, 0.0, v0.xy, 0.0);\n\r\n\t\tfloat p2 = getPower(uSlideWidth, uSlideWidth * 0.75, uSlideHeight, 0.0, v0.xy, 0.0);\n\r\n\t\t\n\r\n\t\tdelta += vec3(0.5, 1, 0.25) * vec3(p2 - p1, p2, p2) * vec3(uSlideWidth, uSlideHeight, uSlideHeight) * vec3(pPhase, pPhase, pPhase);\n\r\n\t}\n\r\n\tdelta.y = -min(uSlideHeight * 0.75, abs(delta.y));\n\r\n\treturn (translation + v0 + delta);\n\r\n}\n\r\nvec3 getPosition(float phase, vec3 pos) \n\r\n{\n\r\n \tfloat maxSide = sqrt(uSlideHeight * uSlideHeight + (uSlideWidth * 0.5) * (uSlideWidth * 0.5)) * 2.0;\n\r\n\tvec3 translation = vec3(0.0);\n\r\n\tif ((phase >= START_FLY_EFFECT_TIME) && (phase <= STOP_FLY_EFFECT_TIME))\n\r\n\t{\n\r\n\t\tfloat modifiedPhase = linearInterpolation(phase, START_FLY_EFFECT_TIME, 0.0, STOP_FLY_EFFECT_TIME, 1.0);\n\r\n\t\tmodifiedPhase = pow(modifiedPhase, 4.0);\n\r\n\t\ttranslation = vec3(0.0, modifiedPhase * maxSide, 0.0);\n\r\n\t}\n\r\n\telse if (phase > STOP_FLY_EFFECT_TIME)\n\r\n\t{\n\r\n\t\ttranslation = vec3(0.0, maxSide, 0.0);\n\r\n\t}\n\r\n\tif (phase >= START_EFFECT_TIME)\n\r\n\t{\n\r\n\t\tfloat modifiedPhase = linearInterpolation(phase, START_EFFECT_TIME, 0.0, 1.0, 1.0);\n\r\n\t\treturn updateVertex(modifiedPhase, translation);\n\r\n\t}\n\r\n\treturn updateVertex(0.0, translation); \n\r\n}\n\r\n\n\r\nvec3 getVertexNormal(float phase, vec3 pos) \n\r\n{ \n\r\n\tfloat deltaWidth = (pos.x == uSlideWidth) ? -1.0 : 1.0;\n\r\n\tfloat deltaHeight = 1.0;\n\r\n\t\t\n\r\n\tvec3 right = getVertexPosition(phase, vec3(pos.x + deltaWidth, pos.y, pos.z));\n\r\n\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + deltaHeight, pos.z));\n\r\n\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\r\n\t\t\n\r\n\tvec3 v1 = right - p;\n\r\n\tvec3 v2 = down - p;\n\r\n\t\t\n\r\n\tvec3 n = (pos.x == uSlideWidth) ? cross(v1, v2) : cross(v2, v1);\n\r\n\tn = normalize(n);\n\r\n\t\t\n\r\n\treturn n;\n\r\n} \n\r\nvoid main()\n\r\n{\n\r\n\tMAX_STRETCHING_Z = 0.74 * uSlideHeight;\n\r\n\tMAX_STRETCHING_Y = 0.74 * uSlideHeight;\n\r\n\tHORIZONTAL_TOP_STRETCHING = 0.42 * uSlideWidth;\n\r\n\tVERTICAL_TOP_STRETCHING = 0.05 * uSlideHeight;\n\r\n\tHORIZONTAL_MAX_AMPLITUDE = 0.93 * uSlideHeight;\n\r\n\t\r\n \tvTextureCoord = aTextureCoord;\n\r\n\t\n\r\n\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\r\n\tvec4 p = vec4(getPosition(uPhase, vertex), 1.0);\n\r\n\tgl_Position = uPMVMatrix * p;\n\r\n\t\n\r\n\tvec3 transformedNormal = uNMatrix * getVertexNormal(uPhase, vertex); \n\r\n\tvNormal = transformedNormal;\n\r\n}\n\r\n"}; var QA=void 0;function RA(a){Q.call(this,a);this.za(!1,!0)}v(RA,Q);RA.prototype.initialize=function(){Mw(this,!1);this.Mk=T(this.D(),this.C());this.oa().appendChild(this.Mk);this.jh=this.Mk.getContext("2d")}; RA.prototype.va=function(a){var b=this.D(),c=this.C(),d=this.sa,e=this.jh;e.clearRect(0,0,b,c);e.drawImage(d,0,0);e.save();d=a*Math.max(b,c);e.globalCompositeOperation="destination-out";var g=e.createRadialGradient(b/2,c/2,a*d,b/2,c/2,d);g.addColorStop(0,"#FFFFFF");g.addColorStop(.15,"rgba(255,255,255,128)");g.addColorStop(1,"rgba(255,255,255,0)");e.fillStyle=g;e.beginPath();e.arc(b/2,c/2,d,0,2*Math.PI,!0);e.fill();e.restore();this.ha()&&0>=a&&S(this,!1)};function SA(a,b){this.x=a;this.y=b}v(SA,jd);f=SA.prototype;f.clone=function(){return new SA(this.x,this.y)};f.scale=jd.prototype.scale;f.normalize=function(){return this.scale(1/Math.sqrt(this.x*this.x+this.y*this.y))};f.add=function(a){this.x+=a.x;this.y+=a.y;return this};f.$g=function(a){this.x-=a.x;this.y-=a.y;return this};f.rotate=function(a){var b=Math.cos(a);a=Math.sin(a);var c=this.y*b+this.x*a;this.x=this.x*b-this.y*a;this.y=c;return this}; f.Qj=function(a){return this==a?!0:a instanceof SA&&!!a&&this.x==a.x&&this.y==a.y};function TA(a,b,c,d){this.type=a;this.DS=b.type;(this.element=d.querySelector("#"+c.id))&&"13"==b.type&&(a=b.us,""!=(a.Ip||a.Zp||a.Wp||a.fq||a.gq)?(this.element.style.width=b.nc.Ka.width+2*b.Np+"px",this.element.style.height=b.nc.Ka.height+2*b.Np+"px"):(this.element.style.width=b.Ka.width+2*b.Np+"px",this.element.style.height=b.Ka.height+2*b.Np+"px"),this.element.style.overflow="hidden");a=c.state;this.id=c.id;this.Ka=c.Ka;this.Qs=b.Ka;this.Sv=b.Sv;this.Cd=b.Cd||new qd(0,0,0,0);this.b_=this.Qs.width/ (1-this.Cd.left-this.Cd.right);this.a_=this.Qs.height/(1-this.Cd.top-this.Cd.bottom);this.fh=c.fh;this.Wh=c.Wh;this.element&&(this.opacity=this.element.style.opacity,this.zIndex=this.element.style.zIndex,this.transform=Ei(this.element)||new wi);this.G1=Kq(a,oq,pq).Hb;this.H1=Kq(a,qq,pq).Hb;this.Jw=Nq(a).scale()*Oq(a).scale();this.Kw=Pq(a).scale()*Qq(a).scale();this.rotation=Lq(a).angle()+Mq(a).angle();this.dx=ud(this.Ka).x-ud(b.Ka).x;this.dy=ud(this.Ka).y-ud(b.Ka).y;this.Z0=b.rotation;this.Gn=b.Gn; this.Wn=b.Wn;this.pB="";this.element&&this.element.firstElementChild&&"13"==b.type?(this.LL=this.element.firstElementChild.style.left||"",this.ML=this.element.firstElementChild.style.top||"",this.pB=this.element.firstElementChild.style.transform||"",this.element.firstElementChild.style.left="0",this.element.firstElementChild.style.top="0",this.element.firstElementChild.style.transform=""):this.ML=this.LL=""} TA.prototype.clear=function(){this.element&&(Bi(this.element,this.transform),this.element.style.opacity=this.opacity,this.element.style.zIndex="",this.element.style.animation="",this.element.firstElementChild&&"13"==this.DS&&(this.element.firstElementChild.style.animation="",this.element.firstElementChild.style.left=this.LL,this.element.firstElementChild.style.top=this.ML,this.element.firstElementChild.style.transform=this.pB))};function UA(a){a&&(this.element=a,this.AI="",this.transform=a.style.transform||"matrix(1, 0, 0, 1, 0, 0)",this.opacity=a.style.opacity||1,this.zIndex=a.style.zIndex)}UA.prototype.setProgress=function(a){var b;b=1;this.AI=Math.round(100*a*Math.pow(10,b))*Math.pow(10,-b)+"%"};function VA(a,b,c,d,e,g,h,k){this.GU=b;this.HU=c;this.nN=g;this.$c=new I;this.gl=[];if(d.nc||e.nc)g=d.nc,g||(g=yb(e.nc),g.Ka=d.Ka,g.id="_morphBg"),this.gl.push(new TA("bg",d,g,b));this.Jb=!0;try{WA(b.firstElementChild,h,k),WA(c.firstElementChild,h,k)}catch(l){this.Jb=!1}y(d.nk,function(a){this.gl.push(new TA("text",d,a,b))},this);this.Nr=[];if(e.nc||d.nc)h=e.nc,h||(h=yb(d.nc),h.Ka=e.Ka,h.id="_morphBg"),this.Nr.push(new TA("bg",e,h,c));y(e.nk,function(a){this.Nr.push(new TA("text",e,a,c))},this);h= this.gl[0];k=this.Nr[0];this.rY=k.Jw/h.Jw-1;this.tY=k.Kw/h.Kw-1;this.mY=XA(k.rotation-h.rotation);this.sY=e.Ka.width/d.Ka.width-1;this.uY=e.Ka.height/d.Ka.height-1;this.eP=XA(e.rotation-d.rotation);this.GZ=d.zIndex;this.HZ=e.zIndex-d.zIndex;h=ud(d.Ka);k=ud(e.Ka);this.cR=k.x-h.x;this.eR=k.y-h.y;this.xm=d.Gn;this.qn=d.Wn;this.Zx=e.Gn;this.zA=e.Wn;this.oU=d.Cd;this.pU=e.Cd;if(d.Cd||e.Cd)this.Fj=d.Cd||new qd(0,0,0,0),this.Bt=e.Cd||new qd(0,0,0,0),h=YA(e.us),this.zL=YA(d.us)||h;this.fK=d.Sv&&e.Sv;this.nN&& this.MD(a)}function YA(a){return""!=(a.Ip||a.Zp||a.Wp||a.fq||a.gq)}function WA(a,b,c,d){a&&(d?(Jg(a,""),Ig(a,""),Lg(a,""),Kg(a,"")):(Jg(a,b+"px"),Ig(a,"preserve-3d"),Lg(a,"hidden"),Kg(a,b/2+"px "+c/2+"px")))}f=VA.prototype; f.MD=function(a){var b=[];y(this.gl,function(a){b.push(new ZA(a.element,a.id))},this);y(this.Nr,function(a){b.push(new ZA(a.element,a.id))},this);var c=[0,.005,.01,.015,.02,.025,.03,.035,.04,.045,.05,.1,.15,.2,.25,.3,.35,.4,.45,.46,.47,.48,.49,.495,.498,.499];y(c,function(a){var c=$A(this,a);y(b,function(b){var d=c[b.id];d.setProgress(a);b.Rn.push(d)},this)},this);Eb(c,function(a){a=1-a;var c=$A(this,a);y(b,function(b){var d=c[b.id];d.setProgress(a);b.Rn.push(d)},this)},this);this.zq=0;this.JG=b.length; var d="";y(b,function(b){d+=aB(b);var c=b.element;c?(c.style.animation=b.id+" "+a+"s 1 linear",c.firstElementChild&&(c.firstElementChild.style.animation=b.id+"_ "+a+"s 1 linear"),z(c,Hc,this.fi,!1,this)):this.fi()},this);this.vt=gi(d)};f.update=function(a){this.ZD!=a&&$A(this,a);this.ZD=a};f.fi=function(){this.zq++;this.zq==this.JG&&this.$c.F()}; function aB(a){var b="@keyframes "+a.id+" {\n";y(a.Rn,function(a){b+=a.AI+" {transform: "+a.transform+";opacity:"+a.opacity+";z-index:"+a.zIndex+"}\n"});var b=b+"}\n",c="";a.Rn[0].Wv&&(c="@keyframes "+a.id+"_ {\n",y(a.Rn,function(a){c+=a.AI+" {transform:"+a.Wv+"}\n"}),c+="}\n");return b+c} function $A(a,b){var c=a.gl[0],d=a.rY*b+1,d=d*c.Jw,e=a.tY*b+1,e=e*c.Kw,g=Math.round(a.HZ*b)+a.GZ,h=a.mY*b,h=h+c.rotation,k=a.sY*b+1,l=a.uY*b+1;if(a.Fj)var m=new qd((a.Bt.top-a.Fj.top)*b+a.Fj.top,(a.Bt.right-a.Fj.right)*b+a.Fj.right,(a.Bt.bottom-a.Fj.bottom)*b+a.Fj.bottom,(a.Bt.left-a.Fj.left)*b+a.Fj.left);var n={};y(a.gl,function(a){if(this.fK)var c=1;else c=1-Math.pow(b,2),.425>b&&(c=b*(1-Math.pow(.425,2)-1)/.425+1);var q=!0,A=m;this.zL&&(this.oU?(A=this.Fj,q=!1):A=void 0);c=bB(a,d,e,h,k,l,this.eP* b,this.cR*b,this.eR*b,c,g,A,cB(this,a,b,!1),q);dB(this,c);n[a.id]=c},a);y(a.Nr,function(a,c){c=Math.min(this.gl.length-1,c);var q=this.gl[c],u=eB(-q.dx,-q.dy,h,d,e),E=eB(-a.dx,-a.dy,h,d,e);if(this.fK)var F=b;else F=1+Math.pow(b-1,3),.425Math.PI?a-=2*Math.PI:a<-Math.PI&&(a+=2*Math.PI);return a==Math.PI||a==-Math.PI?-a:a} function cB(a,b,c,d){var e="13"==b.DS;if(!a.Jb||e){var g=e=1;"bg"==b.type&&(c=d?2*(c-.5):2*(.5-c),a.xm!=a.Zx&&(e=c),a.qn!=a.zA&&(g=c));a="scaleX("+e+") scaleY("+g+")"}else e=a.xm!=a.Zx,g=a.qn!=a.zA,"bg"!=b.type||!e&&!g?a="":g&&!e?a="rotateX("+(a.qn&&!a.zA?-1:1)*c*180+"deg)"+(d?" scaleY(-1)":""):e&&!g?a="rotateY("+(a.xm&&!a.Zx?1:-1)*c*180+"deg)"+(d?" scaleX(-1)":""):a.xm&&!a.qn||!a.xm&&a.qn?(b=Pw(0,1,c),a="rotateX("+-90*Pw(0,1,.5>c?2*b:2*(1-b))+"deg) rotateZ("+180*(a.xm&&!a.qn?1:!a.xm&&a.qn?-1:1)* b+"deg)"+(d?" scaleX(-1) scaleY(-1) ":"")):(b=Pw(0,1,c),a="rotateX("+90*Pw(0,1,.5>c?2*b:2*(1-b))+"deg) rotateZ("+180*(a.zA&&a.Zx?1:a.qn&&a.xm?-1:1)*b+"deg)"+(d?" scaleX(-1) scaleY(-1) ":""));return a} function bB(a,b,c,d,e,g,h,k,l,m,n,q,u,x){var A=new wi;A.translate(a.G1,a.H1);A.rotate(d,0,0);A.scale(b,c);(b=a.fh)&&(A=yi(A,b));(b=a.Wh)&&(A=yi(b.clone(),A));b=new wi;b.rotate(-a.Z0,0,0);b.translate(a.dx,a.dy);b=yi(b,a.fh);yi(b,zi(A));c=zi(b);e="rotate("+h+"rad) "+u+(" scaleX("+e+") scaleY("+g+")");k=Ai(k,l);k=Ri(Di(),k)+" "+Ri(Di(),c)+" "+e+" ";l=b;l=Ri(Di(),l);l=k+l+" "+Ri(Di(),A);k=new UA(a.element);k.transform=l;""!=a.opacity&&(m*=a.opacity);k.opacity=m;k.zIndex=n;q?(m=(1-a.Cd.right-a.Cd.left)/ (1-q.right-q.left),n=(1-a.Cd.top-a.Cd.bottom)/(1-q.top-q.bottom),k.Wv=a.pB+" translate("+-(a.Gn?q.right:q.left)*a.b_*m+"px, "+-(a.Wn?q.bottom:q.top)*a.a_*n+"px) scale("+m+", "+n+")"):x&&(k.Wv=a.pB);return k}function eB(a,b,c,d,e){var g=new SA(a,b);g.rotate(c);g.scale(d,e);g.$g(new SA(a,b));return g}function ZA(a,b){this.element=a;this.id=b;this.Rn=[]};function fB(a,b){if(a instanceof fB)this.Ae=a.If();else{var c;if(c=wa(a))a:{for(var d=c=0;d=b?g+1:g])},a);return c}function mB(a,b){var c=new fB(a.Lc.height,b.Ni().width);hB(c,function(a,e,g){for(var d=a=0;da.CE.size())for(g=1;g<=a.JE.size()-a.CE.size();g++)if(d+ 1==g+a.CE.size()){d=-1;break}b.push(d)}return b}function tB(a,b){for(var c=[],d=0;d>16&255,a>>8&255,a&255]};function wB(a,b){this.AU=md(ud(a.Ka),ud(b.Ka));var c=a.us,d=b.us,e;e=0+(c.xw!=d.xw?1:0);e+=c.fill!=d.fill?1:0;e+=c.Ip!=d.Ip?1:0;e+=c.Wp!=d.Wp?1:0;e+=c.Zp!=d.Zp?1:0;e+=c.fq!=d.fq?1:0;this.wU=e+=c.gq!=d.gq?2:0}wB.prototype.DR=function(){return this.AU};wB.prototype.YH=function(){return 1E3*this.wU+this.DR()/1E3};function xB(a,b,c){var d=this;this.SM=a.content();this.NM=a.content();this.links=[];this.Jy=[];a=yB(this,this.NM,c);b=yB(this,this.SM,b);var e={},g={};y(a,function(a){var b=a.type;e[b]=!0;g[b]?g[b].push(a):g[b]=[a]});var h={};y(b,function(a){var b=a.type;e[b]=!0;h[b]?h[b].push(a):h[b]=[a]});this.eS=[];this.gS=[];y(tb(e),function(a){zB(d,h[a]||[],g[a]||[])},this)} xB.prototype.NU=function(a,b){var c=a.object(),d=b.object(),e=new wB(c,d),g=AB(c,d);g||(this.Jy.push(BB(c,d,!1)),this.Jy.push(BB(c,d,!0)));return g?e.YH():1E13};function BB(a,b,c){return c?Ba(b)+"_"+Ba(a):Ba(a)+"_"+Ba(b)} function zB(a,b,c){function d(a){for(var b=new pB,c=0;cEB(d.Oh,e.Oh)}return!0}return a.Oh&&b.Oh?.0325>EB(a.Oh,b.Oh):!0} function EB(a,b){for(var c=a.length,d=[0,0,0],e=0;e coeff * u)\n\r\n\t\t{\n\r\n\t\t\treturn u;\n\r\n\t\t}\n\r\n\t\telse\n\r\n\t\t{\n\r\n\t\t\tfloat a = 180.0 * (maxSide - centerX) / (PI * r);\n\r\n\t\t\tfloat b = linearInterpolation(coeff * u, centerX, -90.0, maxSide + 1.0, a - 90.0);\n\r\n\t\t\t\n\r\n\t\t\tif (coeff * u >= centerX + m)\n\r\n\t\t\t{\n\r\n\t\t\t\treturn coeff * (centerX - (coeff * u - centerX - m));\n\r\n\t\t\t}\n\r\n\t\t\telse\n\r\n\t\t\t{\n\r\n\t\t\t\tfloat ang = b * PI / 180.0;\n\r\n\t\t\t\treturn coeff * (centerX + r * cos(ang));\n\r\n\t\t\t}\n\r\n\t\t}\n\r\n\t}\n\r\n\t\t\n\r\n\tfloat calcY(float phase, float u, float r, float maxSide)\n\r\n\t{\n\r\n\t\tu = abs(u);\n\r\n\t\t\t\n\r\n\t\tfloat centerX = linearInterpolation(phase, 0.0, maxSide, 1.0, 0.0);\n\r\n\t\tfloat centerY = r;\n\r\n\t\t\n\r\n\t\tfloat m = PI * r;\n\r\n\t\tif (centerX >= u)\n\r\n\t\t{\n\r\n\t\t\treturn 0.0;\n\r\n\t\t}\n\r\n\t\telse\n\r\n\t\t{\n\r\n\t\t\tif (u > centerX + m)\n\r\n\t\t\t{\n\r\n\t\t\t\treturn linearInterpolation(u, centerX + m, r * 2.0, centerX + m + m, r * 2.5);\n\r\n\t\t\t}\n\r\n\t\t\telse\n\r\n\t\t\t{\n\r\n\t\t\t\tfloat a = 180.0 * (maxSide - centerX) / (PI * r);\n\r\n\t\t\t\tfloat b = linearInterpolation(u, centerX, -90.0, maxSide+1.0, a - 90.0);\n\r\n\t\t\t\t\n\r\n\t\t\t\tfloat ang = b * PI / 180.0;\n\r\n\t\t\t\treturn centerY + r * sin(ang);\n\r\n\t\t\t}\n\r\n\t\t}\n\r\n\t}\n\r\n\t\t\n\r\n\tvec3 getVertexPosition(float phase, vec3 pos) \n\r\n\t{\n\r\n\t\tvec3 originPos = getOriginPos(pos);\n\r\n\t\tfloat maxSide = sqrt(uSlideWidth * uSlideWidth + uSlideHeight * uSlideHeight);\n\r\n\t\t\t\n\r\n\t\tfloat r = max(uSlideWidth, uSlideHeight) / 4.0;\n\r\n\t\tvec3 v = vec3(calcX(phase, originPos.x, r, maxSide), originPos.y, calcY(phase, originPos.x, r, maxSide));\n\r\n\t\t\t\n\r\n\t\tmat4 m;\n\r\n\t\tif (uDirectionIsLeft)\n\r\n\t\t{\n\r\n\t\t\tm = rotationZmatrix(-ANGLE);\n\r\n\t\t}\n\r\n\t\telse\n\r\n\t\t{\n\r\n\t\t\tm = rotationZmatrix(ANGLE);\n\r\n\t\t}\n\r\n\t\t\n\r\n\t\treturn (m * vec4(v.xyz, 1.0)).xyz;\n\r\n\t}\n\r\n\t\t\n\r\n\tvec3 getVertexNormal(float phase, vec3 pos) \n\r\n\t{ \n\r\n\t\tconst float DELTA_W = 1.0;\n\r\n\t\tconst float DELTA_H = 1.0;\n\r\n\t\t\t\n\r\n\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + DELTA_W, pos.y, pos.z));\n\r\n\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + DELTA_H, pos.z));\n\r\n\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\r\n\t\t\t\n\r\n\t\tvec3 v1 = right - p;\n\r\n\t\tvec3 v2 = down - p;\n\r\n\t\t\t\n\r\n\t\treturn normalize(cross(v2, v1));\n\r\n\t} \n\r\n\t \n\r\n\tvoid main(void) \n\r\n\t{ \n\r\n\t\tfloat phase = uPhase;\n\r\n\t\tvec3 vertex = vec3(aVertexPosition.x, aVertexPosition.y, aVertexPosition.z); \n\r\n\t\tvec4 p = vec4(getVertexPosition(phase, vertex), 1.0); \n\r\n\t\tgl_Position = uPMVMatrix * p; \n\r\n\t\tvTextureCoord = aTextureCoord; \n\r\n\t\t\t\n\r\n\t\tvec3 pNormal = getVertexNormal(phase, vertex); \n\r\n\t\tvec3 transformedNormal = uNMatrix * pNormal; \n\r\n\t\tvNormal = transformedNormal;\n\r\n\t}\n\r\n"}; f.va=function(a){a=U(0,0,1,1.2)(a);this.K.uniform1f(this.ve,a);Ex(this,this.te,this.K.TRIANGLE_STRIP)};f.Zf=function(){Fx(this);this.Ld=Hx(this,"uSampler");this.ve=Hx(this,"uPhase");var a=Hx(this,"uDirectionIsLeft"),b=Hx(this,"uSlideWidth");this.K.uniform1f(Hx(this,"uSlideHeight"),this.C());this.K.uniform1f(b,this.D());this.K.uniform1i(a,this.M==RB?1:0)};f.Rf=function(){}; f.Cc=function(){this.se=yy(30,30,this.D(),this.C());this.wd=Ay(30,30);this.te=new Cy;var a=zx(this,Ux(this.se),3);this.te.Qd=a;a=zx(this,Vx(this.se),2);this.te.Wd=a;a=Ax(this,this.wd);this.te.Od=a};f.lh=function(){return this.Ld};f.Qf=function(){xx(this,this.te)};var RB=0;function SB(a,b,c,d){Q.call(this,a);this.rb=c;this.M=b;this.Jb=d;this.rb?this.za(!1,!1,!0,!0,!1,!1):this.za(!0,!0)}v(SB,Q); SB.prototype.initialize=function(){Mw(this,!1);S(this,!1);var a=this.D(),b=this.C();this.Xb=this.rb?this.Jm:this.sa;this.Wb=this.rb?this.Hm:this.Na;var c=pe("DIV");this.im=pe("DIV");this.Xl=T(a,b);C(this.Xl,"backgroundColor","#000000");D(this.Xl,0);this.Yl=T(a,b);C(this.Yl,"backgroundColor","#000000");D(this.Yl,0);this.im.appendChild(this.Xb);this.im.appendChild(this.Wb);this.im.appendChild(this.Xl);this.im.appendChild(this.Yl);c.appendChild(this.im);if(this.rb){var d=this.Nb().background();this.oa().appendChild(d); d=this.Ga().background();this.oa().appendChild(d)}this.oa().appendChild(c);try{Jg(c,a+"px"),Kg(c,a/2+"px "+b/2+"px"),Ig(this.im,"preserve-3d")}catch(e){}C(this.Xb,"position","absolute");C(this.Wb,"position","absolute");C(this.Xl,"position","absolute");C(this.Yl,"position","absolute");bf(this.im,a,b);bf(this.Xb,a,b);bf(this.Wb,a,b);d=c="";switch(this.M){case TB:c="translateZ("+b/2+"px)";d="rotateX(90deg) translateZ("+b/2+"px)";break;case UB:c="translateZ("+b/2+"px)";d="rotateX(-90deg) translateZ("+ b/2+"px)";break;case VB:c="translateZ("+a/2+"px)";d="rotateY(90deg) translateZ("+a/2+"px)";break;case WB:c="translateZ("+a/2+"px)",d="rotateY(-90deg) translateZ("+a/2+"px)"}G(this.Xb,c);G(this.Yl,c);G(this.Wb,d);G(this.Xl,d)}; SB.prototype.va=function(a){this.rb&&D(this.Ga().background(),a);a=Pw(0,1,a);var b="",c="",d="",e=90*a,g=-this.D()/2,h=-this.C()/2,k=this.D()*(1-a)+g,l=this.C()*a+h,m;switch(this.M){case TB:m=U(0,180*Math.atan(this.C()/(2*this.D()))/Math.PI,1,180*-Math.atan(this.C()/(2*this.D()))/Math.PI);b="translateY("+l+"px) rotateX("+-e+"deg) translateY("+-h+"px) translateZ("+h+"px)";this.Jb||(c="translate(0px, "+-h+"px) scale(1, "+(1-a)+") translate(0px,"+h+"px)",d="translate(0px, "+l+"px) scale(1, "+a+") translate(0px,"+ h+"px)");break;case UB:m=U(0,180*Math.atan(this.C()/(2*this.D()))/Math.PI,1,180*-Math.atan(this.C()/(2*this.D()))/Math.PI);b="translateY("+-l+"px) rotateX("+e+"deg) translateY("+h+"px) translateZ("+h+"px)";this.Jb||(c="translate(0px, "+h+"px) scale(1, "+(1-a)+") translate(0px,"+-h+"px)",d="translate(0px, "+-l+"px) scale(1, "+a+") translate(0px,"+-h+"px)");break;case VB:m=U(0,180*Math.atan(.5)/Math.PI,1,180*-Math.atan(.5)/Math.PI);b="translateX("+k+"px) rotateY("+-e+"deg) translateX("+g+"px) translateZ("+ g+"px)";this.Jb||(c="translate("+g+"px, 0px) scale("+(1-a)+", 1) translate("+-g+"px, 0px)",d="translate("+k+"px, 0px) scale("+a+", 1) translate("+-g+"px, 0px)");break;case WB:m=U(0,180*Math.atan(.5)/Math.PI,1,180*-Math.atan(.5)/Math.PI),b="translateX("+-k+"px) rotateY("+e+"deg) translateX("+-g+"px) translateZ("+g+"px)",this.Jb||(c="translate("+-g+"px, 0px) scale("+(1-a)+", 1) translate("+g+"px, 0px)",d="translate("+-k+"px, 0px) scale("+a+", 1) translate("+g+"px, 0px)")}this.rb||(.5>a?(g=U(0,90,45, 0),g=.5*Math.sin(g(e)*Math.PI/180),D(this.Xl,g)):(g=U(45,0,90,90),g=.5*Math.sin(g(e)*Math.PI/180),D(this.Yl,g)));this.Jb?(a=e-m(a),0>=a?(D(this.Wb,0),D(this.Xl,0)):90<=a?(D(this.Xb,0),D(this.Yl,0)):(D(this.Wb,1),D(this.Xb,1)),G(this.im,b)):(G(this.Xb,c),G(this.Wb,d),G(this.Yl,c),G(this.Xl,d))};var UB=0,TB=1,VB=2,WB=3;function XB(a,b){Q.call(this,a);this.M=b;this.$d=!1;this.za(!1,!1,!0,!0,!1,!1)}v(XB,Q);XB.prototype.initialize=function(){Mw(this,!1);S(this,!1);var a=this.Ga().background();this.oa().appendChild(a);a=this.Nb().background();this.oa().appendChild(a);this.Fx=T(this.D(),this.C());C(this.Fx,"position","absolute");this.oa().appendChild(this.Fx);this.DC=T(this.D(),this.C());C(this.DC,"position","absolute");this.oa().appendChild(this.DC)}; XB.prototype.va=function(a){var b=this.D(),c=this.C(),d=this.Fx.getContext("2d");d.clearRect(0,0,b,c);var e;e=.5>a?this.M==YB||this.M==ZB?U(0,-b,.5,b):U(0,b,.5,-b):this.M==YB||this.M==ZB?U(.5,b,1,-b):U(.5,-b,1,b);e=d.createLinearGradient(e(a),0,e(a)+b,0);this.M==YB||this.M==ZB?(e.addColorStop(0,"rgba(0, 0, 0, 1)"),e.addColorStop(1,"rgba(0, 0, 0, 0)")):(e.addColorStop(0,"rgba(0, 0, 0, 0)"),e.addColorStop(1,"rgba(0, 0, 0, 1)"));this.M==$B||this.M==ZB?(D(this.Nb().background(),1-a),.5>a?d.drawImage(this.Jm, 0,0):d.drawImage(this.Hm,0,0),d.save(),d.globalCompositeOperation="destination-out",d.fillStyle=e,d.fillRect(0,0,this.D(),this.C()),d.restore()):(.5>a?(D(this.Nb().background(),1),d.drawImage(this.Jm,0,0)):(D(this.Nb().background(),0),d.drawImage(this.Hm,0,0)),d=this.DC.getContext("2d"),d.clearRect(0,0,b,c),d.fillStyle=e,d.fillRect(0,0,this.D(),this.C()));.5>a?(b=U(0,0,.5,aC),c=U(0,0,.5,bC),d=U(0,1,.5,1+cC)):(b=U(.5,-aC,1,0),c=U(.5,bC,1,0),d=U(.5,1+cC,1,1));a="scale("+d(a)+") translate("+b(a)+"px,"+ c(a)+"px)";G(this.Fx,a)};var aC=-30,bC=-20,cC=.1,$B=0,ZB=1,YB=2;function dC(a,b){Q.call(this,a);this.M=b;this.za(!1,!0)}v(dC,rx);f=dC.prototype;f.initialize=function(){Mw(this,!1);S(this,!0);ux(this,this.sa);this.Cc();this.K.enable(this.K.DEPTH_TEST);mat4.translate(this.Ha,[-this.D()/2,this.C()/2,0]);this.xv=mat4.create();mat4.set(this.Ha,this.xv)}; f.Cc=function(){this.ue=yy(20,20,this.D(),this.C());for(var a=0==this.M?By(20,20):Ay(20,20),b=[],c=0,d=a.length;c+2e)){var g=a[c++];if(!(0>g))for(var h=!0;ck)break;e!=g&&e!=k&&g!=k&&b.push(e,g,k);h?e=k:g=k;h=!h}}}this.wd=b;this.rn=new Sx;for(a=0;ax;x++)u[0].push(eC(3,x,m));for(x=0;4>x;x++)u[1].push(eC(3,x,q));for(x=0;2>x;x++)u[2].push(eC(1,x,n));this.KQ.push(u)}this.xf=[];for(c=0;4>c;c++)for(d=0;4>d;d++)for(e=0;2>e;e++)g=this.mh(c,d,e),h=d,k=e,l=[0,0,0],l[0]=a[0]+c/3*(b[0]-a[0]),l[1]=a[1]+h/3*(b[1]-a[1]),l[2]=a[2]+k/1*(b[2]-a[2]),h=l,this.xf[g]=h[0],this.xf[g+1]=h[1],this.xf[g+2]= h[2];this.Lu={}};function eC(a,b,c){for(var d=1,e=1;e<=b;e++)d*=(a-(b-e))/e;return d*Math.pow(c,b)*Math.pow(1-c,a-b)}f.mh=function(a,b,c){return 3*(a+4*b+16*c)};f.Qf=function(){xx(this,this.Bg)};f.Rf=function(){wx(this,this.Gi)};f.Sf=function(){return"precision mediump float;\r\n\t\t\t\r\n\t\t\tvarying vec2 vTextureCoord;\r\n\t\t\tvarying vec3 vNormal;\r\n\t\t\t\r\n\t\t\tuniform sampler2D uSampler;\r\n\t\t\t\r\n\t\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\r\n\t\t\tconst float AMBIENT_INTENSITY = 0.4;\n\r\n\t\t\tconst float DIFFUSE_INTENSITY = 0.6;\n\r\n\t\t\t\r\n\t\t\tvoid main(void)\r\n\t\t\t{\r\n\t\t\t\tfloat diffuseFactor = dot(normalize(vNormal), LIGHT_DIRECTION);\r\n\t\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * diffuseFactor * diffuseFactor;\n\r\n\t\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \r\n\t\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \r\n\t\t\t}"}; f.Tf=function(){return"attribute vec3 aVertexPosition;\r\n\t\t\tattribute vec3 aVertexNormal;\r\n\t\t\tattribute vec2 aTextureCoord;\r\n\t\t\t\r\n\t\t\tuniform mat4 uPMVMatrix;\r\n\t\t\t\r\n\t\t\tuniform mat3 uNMatrix;\r\n\t\t\t\r\n\t\t\tvarying vec2 vTextureCoord;\r\n\t\t\tvarying vec3 vNormal;\r\n\t\t\t\r\n\t\t\tvoid main(void)\r\n\t\t\t{\r\n\t\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\r\n\t\t\t\tvTextureCoord = aTextureCoord;\r\n\t\t\t\tvNormal = uNMatrix * normalize(aVertexNormal);\r\n\t\t\t}"}; f.Zf=function(){Fx(this);this.Gi=Gx(this,"aVertexNormal");this.Ld=Hx(this,"uSampler")};f.lh=function(){return this.Ld};function fC(a,b,c,d){var e=a.mh(b,c,0),g=b.toString()+c.toString(),h;p(a.Lu[g])?h=[a.Lu[g][0],a.Lu[g][1],a.Lu[g][2]]:(h=[a.xf[e+0],a.xf[e+1],a.xf[e+2]],a.Lu[g]=[h[0],h[1],h[2]]);mat4.multiplyVec3(d,h,h);a.xf[e+0]=h[0];a.xf[e+1]=h[1];a.xf[e+2]=h[2];e=a.mh(b,c,1);a.xf[e+0]=h[0];a.xf[e+1]=h[1];a.xf[e+2]=h[2]}f.Kt=function(){return this.Gi}; f.MC=function(){for(var a=0;ab&&hC(a,e,0,.2*a.C(),b);.6<=b&&hC(a,g,.2*a.C(),-.7*a.C(),b);mat4.identity(h);mat4.translate(h,[0,0,-.3*a.C()*Math.sin(1.5*Math.PI*d)]);c=0==a.M?0:3;fC(a,c,0,h)} function jC(a,b){for(var c=0;c.2*a.D()?gC(a,d,b):0:d.position().x()<.8*a.D()?gC(a,d,b):0;d=a.rn.Fa[c];e=new V(0,0,e);for(var g=a,h=a.KQ[c],k,l=new V,m=0;4>m;m++){for(var n=new V,q=0;4>q;q++){for(var u=new V,x=0;2>x;x++){var A=g.mh(m,q,x);k=h[2][x];Nx(u,new V(g.xf[A+0]*k,g.xf[A+1]*k,g.xf[A+2]*k))}k=h[1][q];Nx(n,new V(u.x()*k,u.y()*k,u.z()*k))}k=h[0][m];Nx(l,new V(n.x()*k,n.y()*k,n.z()*k))}Rx(d,l.add(e));Lx(a.rn.Fa[c],new V)}a.MC();for(c= 0;ca.D()?l.createLinearGradient(b,c,(k?-b:b)*g*2+d,e):l.createLinearGradient(b,c,d,(h?-c:c)*g*2+e);a.addColorStop(0,"rgba(255,255,255,0)");a.addColorStop(.2g?g+.2:1,"#FFFFFF");a.addColorStop(1,"#FFFFFF");return a}function oC(a,b,c,d,e,g){a.fillStyle=b;a.beginPath();a.rect(c,d,e,g);a.fill()};function pC(a,b){Q.call(this,a);this.vz=a;this.M=b;switch(b){case qC:this.za(!0,!1);break;case rC:this.za(!1,!0)}}v(pC,Q);pC.prototype.initialize=function(){var a=this.D(),b=this.C(),c=T(a,b);this.zu=c.getContext("2d");this.Ub=T(a,b);this.qe=this.Ub.getContext("2d");switch(this.M){case qC:Mw(this,!0);S(this,!1);this.$z=this.Na;break;case rC:Mw(this,!1),S(this,!0),this.$z=this.sa}C(c,"position","absolute");this.oa().appendChild(c);this.Qq=.05*a;this.wm=.05*b}; pC.prototype.va=function(a){this.M==rC&&(a=1-a);var b=Math.round(this.D()),c=Math.round(this.C()),d=Math.round(a*b),e=Math.round(a*c);a=Math.round(.5*(b-d));var g=Math.round(.5*(c-e)),h=a+d,k=g+e,l=this.qe;l.clearRect(0,0,b,c);l.fillStyle="#000";l.fillRect(a,g,d,e);sC(this,a,g,a,g-this.wm,a,g-this.wm,d,this.wm);sC(this,a,k,a,k+this.wm,a,k,d,this.wm);sC(this,a,g,a-this.Qq,g,a-this.Qq,g,this.Qq,e);sC(this,h,g,h+this.Qq,g,h,g,this.Qq,e);b=l.createRadialGradient(0,0,0,0,0,this.wm);b.addColorStop(0,"rgba(0,0,0,1)"); b.addColorStop(1,"rgba(0,0,0,0)");this.vo(h,k,0,.5*Math.PI,b);this.vo(a,k,.5*Math.PI,Math.PI,b);this.vo(a,g,Math.PI,1.5*Math.PI,b);this.vo(h,g,1.5*Math.PI,2*Math.PI,b);b=this.zu;b.drawImage(this.$z,0,0);b.save();b.globalCompositeOperation="destination-in";b.drawImage(this.Ub,0,0);b.restore()};function sC(a,b,c,d,e,g,h,k,l){a=a.qe;b=a.createLinearGradient(b,c,d,e);b.addColorStop(0,"rgba(0,0,0,1)");b.addColorStop(1,"rgba(0,0,0,0)");a.fillStyle=b;a.fillRect(g,h,k,l)} pC.prototype.vo=function(a,b,c,d,e){var g=this.qe;g.save();g.translate(a,b);g.scale(this.Qq/this.wm,1);g.beginPath();g.moveTo(0,0);g.arc(0,0,this.wm,c,d,!1);g.moveTo(0,0);g.fillStyle=e;g.fill();g.restore()};var qC=0,rC=1;function tC(a,b,c){Q.call(this,a);this.M=b;this.FC=c}v(tC,Q);tC.prototype.initialize=function(){Mw(this,!0);S(this,!0);vp(this.Ga());this.$d=!1;var a=this.Nb().content();this.oa().appendChild(a);a=this.Ga().content();this.oa().appendChild(a)}; tC.prototype.va=function(a){var b=this.D(),c=this.C(),d=0,e=0,g=0,h=0;this.M==uC||this.M==vC?(d=this.M==uC?1:-1,g=this.M==uC?-1:1):(e=this.M==wC?1:-1,h=this.M==wC?-1:1);var k=this.FC?Yw(0,.7,7,a):Xw(a),d=Math.floor(k*d*b),e=Math.floor(k*e*c);Ve(this.Nb().content(),d,e);Ve(this.Ga().content(),g*b+d,h*c+e);D(this.Ga().background(),a)};var wC=0,vC=1,uC=2;function xC(a,b,c,d){Q.call(this,a);this.wa=b;this.rb=c;this.cV=d;this.rb?this.za(!1,!1,!0,!0,!0,!0):this.za(!0,!0)}v(xC,Q); xC.prototype.initialize=function(){Mw(this,!1);S(this,!1);var a=this.D(),b=this.C();if(this.rb){var c=T(a,b);C(c,"position","absolute");this.oa().appendChild(c);c.getContext("2d").drawImage(this.Ny,0,0);this.Oo=c;c=T(a,b);C(c,"position","absolute");this.oa().appendChild(c);c.getContext("2d").drawImage(this.Wy,0,0);this.Qo=c}this.rG=T(a,b);C(this.rG,"position","absolute");this.oa().appendChild(this.rG);this.jh=this.rG.getContext("2d")}; xC.prototype.va=function(a){var b=this.D(),c=this.C();this.rb&&(D(this.Qo,1-a),D(this.Oo,a));var d=this.rb?this.Jm:this.sa,e=this.rb?this.Hm:this.Na,g=this.jh;g.clearRect(0,0,b,c);b=this.wa==yC?1:-1;a=Pw(0,1,a);c=U(0,6,1,1);c=this.cV?Yw(4,.8,4,a):this.wa==yC?2-a:c(a);c=this.wa==yC?1/c:c;this.wa==yC?(zC(this,a,c,g,e),AC(this,2*a,b,g,d)):(AC(this,.5*a,b,g,d),zC(this,a,c,g,e))};var yC=0; function zC(a,b,c,d,e){var g=a.D()/2*(1-c);a=a.C()/2*(1-c);d.save();d.translate(g,a);d.scale(c,c);d.globalAlpha=2*b;d.drawImage(e,0,0);d.restore()}function AC(a,b,c,d,e){var g=-c*a.D()*b/2;a=-c*a.C()*b/2;c=1+c*b;d.save();d.translate(g,a);d.scale(c,c);b=Math.min(1-2*b,1);b=Math.max(b,0);d.globalAlpha=b;d.drawImage(e,0,0);d.restore()};function BC(a,b,c,d){Q.call(this,a);this.wa=b;this.rb=c;this.FC=d;this.rb?(this.$d=!1,this.za(!1,!1,!0,!0,!1,!1)):this.za(!0,!0)}v(BC,Q);BC.prototype.initialize=function(){Mw(this,!1);S(this,!1);this.ji()}; BC.prototype.va=function(a){this.rb&&(D(this.Nb().background(),1-a),D(this.Ga().background(),a));var b=this.D(),b=b/(b+(1.4-2.8*a*a*.5)*b),b=this.rb?this.FC?Yw(0,.7,4,b):Xw(b):b;G(this.sj,"scale("+b+", "+b+")");var b=this.D()/2,c=this.C()/2,d="",e="",g=0,h=0,k=0,l=0,m=120*a,n=U(0,1,1,.5),q=1.5*Pw(0,1,a);switch(this.wa){case CC:d="translateX("+-b+"px) translateZ("+q*this.D()+"px) rotateY("+m+"deg) translateX("+b+"px)";e="translateX("+b+"px) translateZ("+q*this.D()+"px) rotateY("+-m+"deg) translateX("+ -b+"px)";this.Jb||(g=a*-b,h=a*b,d="translate("+-b+"px, 0px) scale("+n(a)+", 1) translate("+b+"px, 0px",e="translate("+b+"px, 0px) scale("+n(a)+", 1) translate("+-b+"px, 0px");break;case DC:d="translateY("+-c+"px) translateZ("+q*this.C()+"px) rotateX("+-m+"deg) translateY("+c+"px)",e="translateY("+c+"px) translateZ("+q*this.C()+"px) rotateX("+m+"deg) translateY("+-c+"px)",this.Jb||(k=a*-c,l=a*c,d="translate(0px,"+-c+"px) scale(1, "+n(a)+") translate(0px, "+c+"px)",e="translate(0px, "+c+"px) scale(1, "+ n(a)+") translate(0px, "+-c+"px)")}this.Jb||(Ve(this.Ro,g,k),Ve(this.So,h,l));G(this.Ro,d);G(this.So,e);D(this.Ro,1-a);D(this.So,1-a)}; BC.prototype.ji=function(){var a=this.D(),b=this.C();if(this.rb){var c=this.Ga().background();this.oa().appendChild(c)}this.sj=T(a,b);C(this.sj,"position","absolute");this.oa().appendChild(this.sj);this.rb&&(c=this.Nb().background(),this.oa().appendChild(c));this.sj.getContext("2d").drawImage(this.rb?this.Hm:this.Na,0,0);this.Ro=T(a,b);c=this.Ro.getContext("2d");this.So=T(a,b);var d=this.So.getContext("2d"),e=pe("DIV");this.oa().appendChild(e);e.appendChild(this.Ro);e.appendChild(this.So);try{Jg(e, a+"px"),Kg(e,a/2+"px "+b/2+"px"),Ig(this.Ro,"preserve-3d"),Ig(this.So,"preserve-3d"),this.Jb=!0}catch(g){this.Jb=!1}C(this.Ro,"position","absolute");C(this.So,"position","absolute");c.clearRect(0,0,a,b);d.clearRect(0,0,a,b);e=this.rb?this.Jm:this.sa;switch(this.wa){case CC:c.drawImage(e,0,0,a/2,b,0,0,a/2,b);d.drawImage(e,a/2,0,a/2,b,a/2,0,a/2,b);break;case DC:c.drawImage(e,0,0,a,b/2,0,0,a,b/2),d.drawImage(e,0,b/2,a,b/2,0,b/2,a,b/2)}};var CC=0,DC=1;function EC(a,b,c){Q.call(this,a);this.M=b;(this.rb=c)?this.za(!1,!1,!0,!0,!0,!0):this.za(!0,!0)}v(EC,Q); EC.prototype.initialize=function(){Mw(this,!1);S(this,!1);var a=this.D(),b=this.C();if(this.rb){var c=T(a,b);C(c,"position","absolute");this.oa().appendChild(c);c.getContext("2d").drawImage(this.Ny,0,0);this.Oo=c;c=T(a,b);C(c,"position","absolute");this.oa().appendChild(c);c.getContext("2d").drawImage(this.Wy,0,0);this.Qo=c}this.Fd=this.qc(a,b);this.oa().appendChild(this.Fd);var d=T(a,b),c=T(a,b);this.Ob=B("DIV");cf(this.Ob,a);df(this.Ob,b);this.vf=this.qc(this.D(),this.C());this.tf=this.qc(this.D(), this.C());this.vf.appendChild(d);this.tf.appendChild(c);this.Fd.appendChild(this.Ob);this.Ob.appendChild(this.vf);this.Ob.appendChild(this.tf);d=d.getContext("2d");c=c.getContext("2d");d.drawImage(this.rb?this.Jm:this.sa,0,0);c.drawImage(this.rb?this.Hm:this.Na,0,0);c=this.M==FC||this.M==GC?-1:1;d=this.M==FC||this.M==HC;Jg(this.Fd,Math.max(a,b)+"px");Kg(this.Fd,this.Yi+a/2+"px "+b/2+"px");Ig(this.Ob,"preserve-3d");d?(G(this.vf,"translateZ(-"+(this.Yi+Math.floor(a/2))+"px) rotateY(0deg)"),G(this.tf, "translateX("+c*(this.Yi+Math.floor(a/2))+"px) rotateY("+-90*c+"deg)")):(G(this.vf,"translateZ(-"+(this.Yi+Math.floor(b/2))+"px) rotateX(0deg)"),G(this.tf,"translateY("+c*(this.Yi+Math.floor(b/2))+"px) rotateX("+90*c+"deg)"))}; EC.prototype.va=function(a){var b=this.D(),c=this.C();this.rb&&(D(this.Qo,1-a),D(this.Oo,a));var d=.25*(1-Math.cos(2*a*Math.PI));a=Pw(0,1,a);var e=this.M==FC||this.M==GC?-1:1,g=this.M==FC||this.M==HC,b=g?b+2*this.Yi:c+2*this.Yi;g?G(this.Ob,"translateZ("+(-d*b+b/2)+"px) rotateY("+90*e*a+"deg)"):G(this.Ob,"translateZ("+(-d*b+b/2)+"px) rotateX("+90*-e*a+"deg)")};EC.prototype.qc=function(a,b){var c=B("DIV");cf(c,a);df(c,b);C(c,"position","absolute");return c};EC.prototype.Yi=20;var GC=1,HC=2,FC=3;function IC(a,b,c){this.a=a;this.b=b;this.c=c}function JC(a,b){var c=-a.b,d=a.a,e=-c*b.x()-d*b.y(),c=new IC(c,d,e);if(null==c)return null;d=KC(a,c);c=2*d.x()-b.x();d=2*d.y()-b.y();return new W(c,d)}function KC(a,b){var c=a.a*b.b-b.a*a.b;return 1E-9>Math.abs(c)?null:new W((a.b*b.c-b.b)*a.c/c,(a.c*b.a-b.c*a.a)/c)}function LC(a,b){var c=a.y()-b.y(),d=b.x()-a.x(),e=a.x()*b.y()-b.x()*a.y();return new IC(c,d,e)};function MC(a,b){Q.call(this,a);this.M=b;this.za(!0,!0)}v(MC,rx);f=MC.prototype; f.initialize=function(){Mw(this,!1);S(this,!0);ux(this,this.sa);var a=this.D(),b=-this.C()/2,a=a/2-.2*a,c=3*b/4,d=LC(new W(-a,-b),new W(a/2,-b/2)),e=LC(new W(-a/4,-b),new W(0,0)),g=LC(new W(a/2,-b/2),new W(a,b)),h=LC(new W(0,0),new W(a,b/4)),k=KC(d,e),l=KC(g,h),m=new W(U(0,.5,a,.8)(l.x()),U(0,.5,b,1)(l.y())),n=new W(U(-a,.2,0,.5)(k.x()),U(-b,0,0,.5)(k.y())),q=new V(5*a/8,3*-b/8,-(10*c/16)),u=new V(-a/8,-b/2,15*-c/32),x=new V(a/2,b/8,15*-c/32),A=new V(5*-a/8,5*-b/16,9*-c/8),E=new V(a/2,b/4,5*-c/6), F=new V(-a/10,b/10,-c),R=new V(4*-a/8,-b/8,3*-c/16),N=new V(-a/16,5*b/8,3*-c/16),Z=new V(5*a/16,5*b/8,-c),ia=new V(14*-a/32,4*-b/8,0),la=new V(4*a/8,23*b/32,0),ha=new V(5*-a/16,3*-b/16,-c/4),ja=new V(3*a/16,5*b/16,0),e=new V(3*-a/4,3*b/4,0),g=new NC(new V(a,-b,0),new V(15*a/16,9*-b/16,-c),new W(.8,0)),h=new NC(new V(7*a/8,7*-b/8,0),new V(9*a/12,-b/2,-(46*c/48)),new W(.7625,.0625)),d=new NC(new V(a/2,-b,0),new V(6*a/9,8*-b/12,47*-c/48),new W(.65,0)),c=new NC(new V(a,-b/2,0),new V(19*a/24,4*-b/9,47* -c/48),new W(.8,.25)),pa=new NC(new V(a/2,-b/2,0),q,new W(.65,.25)),k=new NC(new V(k.x(),k.y(),0),u,new W(n.x(),n.y())),l=new NC(new V(l.x(),l.y(),0),x,new W(m.x(),m.y())),q=new NC(new V(-a/4,-b,0),q,new W(.425,0)),E=new NC(new V(a,b/4,0),E,new W(.8,.625)),F=new NC(new V(0,0,0),F,new W(.5,.5)),R=new NC(new V(-a/2,-b/2,0),R,new W(.35,.25)),N=new NC(new V(a/2,b/2,0),N,new W(.65,.75)),A=new NC(new V(-a,-b,0),A,new W(.2,0)),Z=new NC(new V(a,b,0),Z,new W(.8,1)),ia=new NC(new V(-a,-b/2,0),ia,new W(.2,.25)), la=new NC(new V(a/2,b,0),la,new W(.65,1)),ha=new NC(new V(-a/2,0,0),ha,new W(.35,.5)),ja=new NC(new V(0,b/2,0),ja,new W(.5,.75)),b=new NC(new V(-a,b,0),e,new W(.2,1));this.sh=[g,g,h,h,d,c,h,h,d,c,pa,pa,d,c,k,l,pa,pa,d,c,k,l,q,E,pa,pa,k,l,F,F,k,l,F,F,R,N,k,l,q,E,A,Z,k,l,R,N,A,Z,F,F,ha,ja,R,N,R,N,A,Z,ia,la,R,N,ia,la,ha,ja,F,F,ha,ja,b,b,ha,ja,ia,la,b,b];if(this.M==OC){b=[];a=this.C();a=LC(new W(0,-a/2),new W(0,a/2));for(g=0;g=a?TC(this,a):.2>=a?(d=U(.1,.1,.2,1),a=d(a),Dx(this,-60*a,[1,0,0],[0,0,0]),mat4.translate(this.Ha,[0,0,20*-a]),this.pi=QC(a,this.sh),Dx(this,-15*c*a,[0,0,1],[0,0,0])):.4>=a?(this.pi=QC(1,this.sh),Dx(this,-60,[1,0,0],[0,0,0]),Dx(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.Ha,[0,0,-20]),d=U(.2,0,.4,1),a=Math.pow(d(a),3),mat4.translate(this.Ha,[0,0,-a*b/20])):.5>a?(this.pi=QC(1,this.sh),Dx(this,-60,[1,0,0], [0,0,0]),Dx(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.Ha,[0,0,-(20+b/20)]),d=U(.4,0,.5,1),a=d(a),mat4.translate(this.Ha,[0,0,-a*b/30]),UC(a,this.sh,this.pi,8)):(this.pi=QC(1,this.sh),Dx(this,-60,[1,0,0],[0,0,0]),Dx(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.Ha,[0,0,-(20+b/20+b/30)]),d=U(.5,0,1,1),a=d(a),UC(a,this.sh,this.pi,40),a=Pw(0,1,a),mat4.translate(this.Ha,[c*a*b,a*b/2,a*b/2]),Dx(this,-30*c*a,[0,0,1],[0,0,0]),Dx(this,-60*c*a,[0,1,0],[0,0,0]));Mx(this);Ex(this,this.aO,this.K.TRIANGLES, t(this.QD,this),t(this.OD,this));Bx(this)};f.QD=function(){this.K.bufferSubData(this.K.ARRAY_BUFFER,0,new Float32Array(Ux(this.pi)))};f.OD=function(){Ix(this.pi,this.iF);this.K.bufferSubData(this.K.ARRAY_BUFFER,0,new Float32Array(xy(this.pi)))}; function TC(a,b){var c=U(0,0,.1,.1);a.pi=QC(c(b),a.sh);Dx(a,-60*c(b),[1,0,0],[0,0,0]);c=U(0,0,.1,1);a.eu=QC(c(b),a.eE);a.Zu=QC(c(b),a.TF);Mx(a);Ex(a,a.gM,a.K.TRIANGLES,t(function(){this.K.bufferSubData(this.K.ARRAY_BUFFER,0,new Float32Array(Ux(this.eu)))},a),t(function(){Ix(this.eu,this.dE);this.K.bufferSubData(this.K.ARRAY_BUFFER,0,new Float32Array(xy(this.eu)))},a));Ex(a,a.bP,a.K.TRIANGLES,t(function(){this.K.bufferSubData(this.K.ARRAY_BUFFER,0,new Float32Array(Ux(this.Zu)))},a),t(function(){Ix(this.Zu, this.SF);this.K.bufferSubData(this.K.ARRAY_BUFFER,0,new Float32Array(xy(this.Zu)))},a))} function UC(a,b,c,d){p(d)||(d=50);for(var e=[new VC([0,1],0,0,-5),new VC([2,3,6,7],0,0,-5),new VC([4,8,12,18],0,0,-5),new VC([5,9,13,19],0,0,-5),new VC([20,14,26,30,42,36],0,0,15),new VC([15,21,37,43,31,27],0,0,15),new VC([44,34,52,60,54],0,0,20),new VC([35,45,55,61,53],0,0,20),new VC([40,46,56],0,0,30),new VC([41,47,57],20,20,30),new VC([58,62,74],20,20,15),new VC([75,63,59],0,0,15),new VC([76,70,71,77],0,0,-20)],g=0;gb&&(b=-b,this.Vk=!0);this.tG=b;this.za(!0,!1)}v(WC,Q);WC.prototype.initialize=function(){var a=this.D(),b=this.C();S(this,!1);var c=T(a,b);this.zu=c.getContext("2d");this.Ub=T(a,b);this.qe=this.Ub.getContext("2d");this.qe.scale(1,b/a);a*=.5;this.Xe=Math.sqrt(2*a*a);C(c,"position","absolute");this.oa().appendChild(c)};var XC=1/15; WC.prototype.va=function(a){var b=this.D();this.C();var c=this.qe,d=2/this.tG,e=.2/this.tG;this.Vk&&(d=-d,e=-e);c.clearRect(0,0,b,b);for(b=0;b=g)c.beginPath(),c.moveTo(h,h),this.Vk?c.arc(h,h,this.Xe,g,k,!0):c.arc(h,h,this.Xe,g,k,!1),c.lineTo(h,h),c.fillStyle="#000",c.fill()}a=this.zu;a.drawImage(this.Na,0,0);a.save();a.globalCompositeOperation="destination-in"; a.drawImage(this.Ub,0,0);a.restore()};WC.prototype.Px=function(a,b,c,d,e,g,h){var k=this.qe;k.fillStyle="rgba(0,0,0,"+Ni(h).toString()+")";k.beginPath();k.moveTo(a,b);k.lineTo(c,d);k.lineTo(e,g);k.fill()}; WC.prototype.gD=function(a,b,c,d){var e=.5*this.D(),g=XC;b-=a;var h=a;if(this.Vk&&h>c||!this.Vk&&h=g;){var k=a+g*b;if(this.Vk&&kd)k=d;var l=e+this.Xe*Math.cos(k),m=e+this.Xe*Math.sin(k);this.Px(e,e,c,h,l,m,1-g);g+=XC;c=l;h=m;if(k==d)break}};function YC(a){Q.call(this,a);vp(this.Ga());this.$d=!1}v(YC,Q);YC.prototype.initialize=function(){Mw(this,!0);S(this,!0);this.Ge=document.createElement("div");cf(this.Ge,this.D());df(this.Ge,this.C());C(this.Ge,"backgroundColor","#000000");C(this.Ge,"position","relative");this.oa().appendChild(this.Ge)};YC.prototype.va=function(a){.5>a?(D(this.Ga().ra(),0),D(this.Ge,0)):.8>a?D(this.Ge,1):(D(this.Ge,0),D(this.Ga().ra(),1))};function ZC(a,b,c){Q.call(this,a);this.M=b;this.Hd=c;this.$d=!1;this.LD(b)}v(ZC,Q);f=ZC.prototype;f.initialize=function(){Mw(this,!0);S(this,!0);vp(this.Ck())};f.Ck=function(){return this.Hd?this.Nb():this.Ga()};f.Jt=function(){return this.Hd?this.Ga():this.Nb()}; f.LD=function(a){var b=this.D(),c=this.C();this.Ai=this.zi=0;switch(a){case Iz:this.Ai=c;break;case Kz:this.Ai=-c;break;case Lz:this.zi=b;break;case Mz:this.zi=-b;break;case Nz:this.zi=b;this.Ai=-c;break;case Oz:this.zi=b;this.Ai=c;break;case Pz:this.zi=-b;this.Ai=-c;break;case Qz:this.zi=-b,this.Ai=c}this.Hd&&(this.zi*=-1,this.Ai*=-1)};f.va=function(a){a=Xw(a);this.Hd&&(a=1-a);var b=U(0,this.zi,1,0),c=U(0,this.Ai,1,0);Ve(this.Ck().ra(),b(a),c(a))};function $C(a,b){Q.call(this,a);this.M=b;this.$d=!1;this.za(!1,!0);var c;this.M==aD?(c=bD,this.He=(1-cD)/(c-1),this.RJ=2*this.D()/Math.pow(cD,2)):(this.He=.25,this.RJ=2*this.C()/Math.pow(cD,2))}v($C,Q);function dD(a,b,c,d,e,g){var h=T(e+1,g+1);h.getContext("2d").drawImage(a.sa,c,d,e,g,0,0,e+1,g+1);b.push(new eD(h,c,d,e,g))} $C.prototype.initialize=function(){var a;a=this.M==aD?bD:fD;var b=this.D(),c=this.C();this.sq=[];this.tq=[];for(var d=b/a,e=c/a,g=0,h=0;h=b?0:a.RJ*Math.pow(b,2)/2} function hD(a,b){var c=a.C(),d=0,e=a.He,g=0,h=1,k=e,l=1;a.ha()&&(d=c,e=1-e,g=1-g,h=1-h,k=e,l=1-l);if(!a.ha()){if(be)return d;return c*(g+(h-g)/(l-k)*(b-k))} $C.prototype.va=function(a){var b,c,d,e=this.sa.getContext("2d");e.clearRect(0,0,this.D(),this.C());if(this.M==aD){for(b=0;bmD&&a<1-mD){var d=U(mD,1,1-mD,4),e=U(mD,0,1-mD,-30);G(this.Yy,"rotate("+ e(a)+"deg) scale("+d(a)+", "+d(a)+")")}a>nD&&(this.ir.clearRect(0,0,b,c),this.EL.clearRect(0,0,b,c),this.ir.drawImage(this.Na,0,0),this.ir.save(),this.ir.globalCompositeOperation="destination-in",jD(this,this.EL,this.mK,a),this.ir.drawImage(this.DL,0,0),this.ir.restore(),this.BE.drawImage(this.vM,0,0),a=g.ZB&&d<=g.ZB+.05){var k=(d-g.ZB)/.05;h=g.BH?1-k:k}else h=da){var b=U(0,0,.3,1)(a);this.vo(b,!0);this.vo(b,!1)}var b=this.D(),c=this.C(),c=Math.max(b,c),d=this.M==uD?1:-1;Cx(this);.1<=a&&(.1=a?(a=U(.1,0,.4,1)(a),vD(this,a),mat4.translate(this.Ha,[0,0,-a*c/4]),Dx(this,-60*a,[1,0,0],[-d*b/4,0,0]),Dx(this,45*d*a,[0,0,1],[-d*b/4,0,0])):.4=a?(a=U(.4,0,.5,1)(a),vD(this,1),mat4.translate(this.Ha,[0,0,-c/4]),mat4.translate(this.Ha,[d*a*c/50,-a*c/50,a*c/50]),Dx(this,-60,[1,0,0],[-d*b/4, 0,0]),Dx(this,45*d,[0,0,1],[-d*b/4,0,0])):.5a?(a=U(.5,0,.55,1)(a),vD(this,1),mat4.translate(this.Ha,[0,0,-c/4]),mat4.translate(this.Ha,[d*c/50,-c/50,c/50]),Dx(this,-60,[1,0,0],[-d*b/4,0,0]),Dx(this,45*d,[0,0,1],[-d*b/4,0,0]),Dx(this,-1*a,[1,0,0],[0,0,0])):.55= 0.0 && phase <= CHANGE_PHASE) \n\r\n\t\t\t\t{ \n\r\n\t\t\t\t\tangle = -ANGLE * (phase + (PHASE_OFFSET_FUNC1(x) * PHASE_FUNC(phase))); \n\r\n\t\t\t\t} \n\r\n\t\t\t\telse \n\r\n\t\t\t\t{ \n\r\n\t\t\t\t\tangle = -ANGLE * (phase + PHASE_OFFSET_FUNC1(x)); \n\r\n\t\t\t\t} \n\r\n\t\t\t\treturn max(angle, -ANGLE); \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tvec2 getPosition(float x) \n\r\n\t\t\t{ \n\r\n\t\t\t\tfloat a = uSlideWidth * 0.5 * C_FUNC1(x); \n\r\n\t\t\t\tfloat b = a * COEF_1; \n\r\n\t\t\t\tvec2 center = vec2(uSlideWidth * 0.5, 0.0); \n\r\n\t\t\t\tfloat angle = getAngleInDoubleLeft(x, uPhase); \n\r\n\t\t\t\t\n\r\n\t\t\t\tvec2 pos = ellipse(angle, center, vec2(a, b)); \n\r\n\t\t\t\tpos.y = pos.y - (b * C_FUNC1(x) * PHASE_FUNC1(uPhase)); \n\r\n\t\t\t\tpos.y = max(pos.y, 1.0); \n\r\n\t\t\t\treturn pos; \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tvoid main(void) \n\r\n\t\t\t{ \n\r\n\t\t\t\tvec3 pNormal; \n\r\n\t\t\t\tfloat x = aVertexPosition.x; \n\r\n\t\t\t\tif (x <= uSlideWidth * 0.5) \n\r\n\t\t\t\t{ \n\r\n\t\t\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0); \n\r\n\t\t\t\t\tpNormal = vec3(0.0, 0.0, 1.0); \n\r\n\t\t\t\t} \n\r\n\t\t\t\telse \n\r\n\t\t\t\t{ \n\r\n\t\t\t\t\tvec2 pos = getPosition(x); \n\r\n\t\t\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y); \n\r\n\t\t\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0); \n\r\n\t\t\t\t\t\n\r\n\t\t\t\t\tfloat nextX = x + uDeltaX; \n\r\n\t\t\t\t\tvec2 pr = getPosition(nextX); \n\r\n\t\t\t\t\tpNormal = getNormal(v, pr); \n\r\n\t\t\t\t} \n\r\n\t\t\t\tvec3 transformedNormal = uNMatrix * pNormal; \n\r\n\t\t\t\tvNormal = transformedNormal; \n\r\n\t\t\t\tvTextureCoord = aTextureCoord; \n\r\n\t\t\t} \n\r\n\t\t";case 1:return" \n\r\n\t\t\tfloat C_FUNC2(float x) \n\r\n\t\t\t{ \n\r\n\t\t\t\treturn linearInterpolation(x, 0.0, 1.0, uSlideWidth * 0.5, 0.0); \n\r\n\t\t\t} \n\r\n\t\t\tfloat PHASE_OFFSET_FUNC2(float x) \n\r\n\t\t\t{ \n\r\n\t\t\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth * 0.5, PHASE_OFFSET); \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tfloat getAngleInDoubleRight(float x, float phase) \n\r\n\t\t\t{ \n\r\n\t\t\t\tfloat angle; \n\r\n\t\t\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE) \n\r\n\t\t\t\t{ \n\r\n\t\t\t\t\tangle = ANGLE * (1.0 + phase + (PHASE_OFFSET_FUNC2(x) * PHASE_FUNC(phase))); \n\r\n\t\t\t\t} \n\r\n\t\t\t\telse \n\r\n\t\t\t\t{ \n\r\n\t\t\t\t\tangle = ANGLE * (1.0 + phase + PHASE_OFFSET_FUNC2(x)); \n\r\n\t\t\t\t} \n\r\n\t\t\t\treturn min(angle, ANGLE * 2.0); \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tvec2 getPosition(float x) \n\r\n\t\t\t{ \n\r\n\t\t\t\tfloat a = uSlideWidth * 0.5 * C_FUNC2(x); \n\r\n\t\t\t\tfloat b = a * COEF_1; \n\r\n\t\t\t\tvec2 center = vec2(uSlideWidth * 0.5, 0.0); \n\r\n\t\t\t\tfloat angle = getAngleInDoubleRight(x, uPhase); \n\r\n\t\t\t\t\n\r\n\t\t\t\tvec2 pos = ellipse(angle, center, vec2(a, b)); \n\r\n\t\t\t\tpos.y = pos.y - (b * C_FUNC2(x) * PHASE_FUNC1(uPhase)); \n\r\n\t\t\t\tpos.y = max(pos.y, 1.0); \n\r\n\t\t\t\treturn pos; \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tvoid main(void) \n\r\n\t\t\t{ \n\r\n\t\t\t\tvec3 pNormal; \n\r\n\t\t\t\tfloat x = aVertexPosition.x; \n\r\n\t\t\t\tif (x >= uSlideWidth * 0.5) \n\r\n\t\t\t\t{ \n\r\n\t\t\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0); \n\r\n\t\t\t\t\tpNormal = vec3(0.0, 0.0, 1.0); \n\r\n\t\t\t\t} \n\r\n\t\t\t\telse \n\r\n\t\t\t\t{ \n\r\n\t\t\t\t\tvec2 pos = getPosition(x); \n\r\n\t\t\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y); \n\r\n\t\t\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0); \n\r\n\t\t\t\t\t\n\r\n\t\t\t\t\tfloat nextX = x + uDeltaX; \n\r\n\t\t\t\t\tvec2 pr = getPosition(nextX); \n\r\n\t\t\t\t\tpNormal = getNormal(v, pr); \n\r\n\t\t\t\t} \n\r\n\t\t\t\tvec3 transformedNormal = uNMatrix * pNormal; \n\r\n\t\t\t\tvNormal = transformedNormal; \n\r\n\t\t\t\tvTextureCoord = aTextureCoord; \n\r\n\t\t\t} \n\r\n\t\t"; case 2:return" \n\r\n\t\t\tfloat C_FUNC3(float x) \n\r\n\t\t\t{ \n\r\n\t\t\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth, 1.0); \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tfloat PHASE_OFFSET_FUNC3(float x) \n\r\n\t\t\t{ \n\r\n\t\t\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth, PHASE_OFFSET); \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tfloat getAngleInSingleLeft(float x, float phase) \n\r\n\t\t\t{ \n\r\n\t\t\t\tfloat angle; \n\r\n\t\t\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE) \n\r\n\t\t\t\t{ \n\r\n\t\t\t\t\tangle = -ANGLE * (phase - (PHASE_OFFSET_FUNC3(x) * PHASE_FUNC(phase))); \n\r\n\t\t\t\t} \n\r\n\t\t\t\telse \n\r\n\t\t\t\t{ \n\r\n\t\t\t\t\tangle = -ANGLE * (phase - PHASE_OFFSET_FUNC3(x)); \n\r\n\t\t\t\t} \n\r\n\t\t\t\treturn min(angle, 0.0); \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tvec2 getPosition(float x) \n\r\n\t\t\t{ \n\r\n\t\t\t\tfloat a = uSlideWidth * C_FUNC3(x); \n\r\n\t\t\t\tfloat b = a * COEF_2; \n\r\n\t\t\t\tvec2 center = vec2(0.0, 0.0); \n\r\n\t\t\t\tfloat angle = getAngleInSingleLeft(x, uPhase); \n\r\n\t\t\t\t\n\r\n\t\t\t\tvec2 pos = ellipse(angle, center, vec2(a, b)); \n\r\n\t\t\t\tpos.y = pos.y - (b * C_FUNC3(x) * PHASE_FUNC2(uPhase)); \n\r\n\t\t\t\tpos.y = max(pos.y, 0.0); \n\r\n\t\t\t\treturn pos; \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tvoid main(void) \n\r\n\t\t\t{ \n\r\n\t\t\t\tvec2 pos = getPosition(aVertexPosition.x); \n\r\n\t\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y); \n\r\n\t\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0); \n\r\n\t\t\t\tvTextureCoord = aTextureCoord; \n\r\n\t\t\t\t\n\r\n\t\t\t\tfloat nextX = aVertexPosition.x + uDeltaX; \n\r\n\t\t\t\tvec2 pr = getPosition(nextX); \n\r\n\t\t\t\tvec3 pNormal = getNormal(v, pr); \n\r\n\t\t\t\tvec3 transformedNormal = uNMatrix * pNormal; \n\r\n\t\t\t\tvNormal = transformedNormal; \n\r\n\t\t\t} \n\r\n\t\t"; case 3:return" \n\r\n\t\t\tfloat C_FUNC4(float x) \n\r\n\t\t\t{ \n\r\n\t\t\t\treturn linearInterpolation(x, 0.0, 1.0, uSlideWidth, 0.0); \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tfloat PHASE_OFFSET_FUNC4(float x) \n\r\n\t\t\t{ \n\r\n\t\t\t\treturn linearInterpolation(x, 0.0, PHASE_OFFSET, uSlideWidth, 0.0); \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tfloat getAngleInSingleRight(float x, float phase) \n\r\n\t\t\t{ \n\r\n\t\t\t\tfloat angle; \n\r\n\t\t\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE) \n\r\n\t\t\t\t{ \n\r\n\t\t\t\t\tangle = ANGLE * (1.0 + phase - (PHASE_OFFSET_FUNC4(x) * PHASE_FUNC(phase))); \n\r\n\t\t\t\t} \n\r\n\t\t\t\telse \n\r\n\t\t\t\t{ \n\r\n\t\t\t\t\tangle = ANGLE * (1.0 + phase - PHASE_OFFSET_FUNC4(x)); \n\r\n\t\t\t\t} \n\r\n\t\t\t\treturn max(angle, ANGLE); \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tvec2 getPosition(float x) \n\r\n\t\t\t{ \n\r\n\t\t\t\tfloat a = uSlideWidth * C_FUNC4(x); \n\r\n\t\t\t\tfloat b = a * COEF_2; \n\r\n\t\t\t\tvec2 center = vec2(uSlideWidth, 0.0); \n\r\n\t\t\t\tfloat angle = getAngleInSingleRight(x, uPhase); \n\r\n\t\t\t\t\n\r\n\t\t\t\tvec2 pos = ellipse(angle, center, vec2(a, b)); \n\r\n\t\t\t\tpos.y = pos.y - (b * C_FUNC4(x) * PHASE_FUNC2(uPhase)); \n\r\n\t\t\t\tpos.y = max(pos.y, 0.0); \n\r\n\t\t\t\treturn pos; \n\r\n\t\t\t} \n\r\n\t\t\t\n\r\n\t\t\tvoid main(void) \n\r\n\t\t\t{ \n\r\n\t\t\t\tvec2 pos = getPosition(aVertexPosition.x); \n\r\n\t\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y); \n\r\n\t\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0); \n\r\n\t\t\t\tvTextureCoord = aTextureCoord; \n\r\n\t\t\t\t\n\r\n\t\t\t\tfloat nextX = aVertexPosition.x + uDeltaX; \n\r\n\t\t\t\tvec2 pr = getPosition(nextX); \n\r\n\t\t\t\tvec3 pNormal = getNormal(v, pr); \n\r\n\t\t\t\tvec3 transformedNormal = uNMatrix * pNormal; \n\r\n\t\t\t\tvNormal = transformedNormal; \n\r\n\t\t\t} \n\r\n\t\t"; default:throw Error("Unknown transition page curl type");}}f.Cc=function(){var a=this.D(),b=this.C();this.se=yy(2,40,a,b);this.wd=Ay(2,40);this.Au=new Cy;a=zx(this,Ux(this.se),3);this.Au.Qd=a;a=zx(this,Vx(this.se),2);this.Au.Wd=a;a=Ax(this,this.wd);this.Au.Od=a};function yD(a){var b=Yg(),c=jc&&11>=parseFloat(sc)?!1:Yg(),d=Zg();if(!Sv){var e={};e[Xv]=function(a){return new Tv(a)};e.Cut=function(a){return new rz(a)};e.CutThroughBlack=function(a){return new YC(a)};c?(e.BlindsHorizontal=function(a){return new IB(a,1)},e.BlindsVertical=function(a){return new IB(a,Az)}):(e.BlindsHorizontal=function(a){return new wz(a,1)},e.BlindsVertical=function(a){return new wz(a,xz)});e.CheckerboardAcross=function(a){return new ex(a,ix)};e.CheckerboardDown=function(a){return new ex(a, fx)};e.Dissolve=function(a){return new lx(a)};e.FadeThroughBlack=function(a){return new OA(a)};b&&2013>a&&2007!=a?(e.CoverLeft=function(a){return new Cz(a,Lz,!1)},e.CoverUp=function(a){return new Cz(a,Iz,!1)},e.CoverRight=function(a){return new Cz(a,Mz,!1)},e.CoverDown=function(a){return new Cz(a,Kz,!1)},e.CoverLeftUp=function(a){return new Cz(a,Oz,!1)},e.CoverRightUp=function(a){return new Cz(a,Qz,!1)},e.CoverLeftDown=function(a){return new Cz(a,Nz,!1)},e.CoverRightDown=function(a){return new Cz(a, Pz,!1)},e.UncoverLeft=function(a){return new Cz(a,Lz,!0)},e.UncoverUp=function(a){return new Cz(a,Iz,!0)},e.UncoverRight=function(a){return new Cz(a,Mz,!0)},e.UncoverDown=function(a){return new Cz(a,Kz,!0)},e.UncoverLeftUp=function(a){return new Cz(a,Oz,!0)},e.UncoverRightUp=function(a){return new Cz(a,Qz,!0)},e.UncoverLeftDown=function(a){return new Cz(a,Nz,!0)},e.UncoverRightDown=function(a){return new Cz(a,Pz,!0)}):(e.CoverLeft=function(a){return new ZC(a,Lz,!1)},e.CoverUp=function(a){return new ZC(a, Iz,!1)},e.CoverRight=function(a){return new ZC(a,Mz,!1)},e.CoverDown=function(a){return new ZC(a,Kz,!1)},e.CoverLeftUp=function(a){return new ZC(a,Oz,!1)},e.CoverRightUp=function(a){return new ZC(a,Qz,!1)},e.CoverLeftDown=function(a){return new ZC(a,Nz,!1)},e.CoverRightDown=function(a){return new ZC(a,Pz,!1)},e.UncoverLeft=function(a){return new ZC(a,Lz,!0)},e.UncoverUp=function(a){return new ZC(a,Iz,!0)},e.UncoverRight=function(a){return new ZC(a,Mz,!0)},e.UncoverDown=function(a){return new ZC(a, Kz,!0)},e.UncoverLeftUp=function(a){return new ZC(a,Oz,!0)},e.UncoverRightUp=function(a){return new ZC(a,Qz,!0)},e.UncoverLeftDown=function(a){return new ZC(a,Nz,!0)},e.UncoverRightDown=function(a){return new ZC(a,Pz,!0)});e.RandomBarsHorizontal=function(a){return new Tw(a,Uw)};e.RandomBarsVertical=function(a){return new Tw(a,Vw)};e.StripsLeftUp=function(a){return new Jy(a,Ly)};e.StripsRightUp=function(a){return new Jy(a,Ny)};e.StripsLeftDown=function(a){return new Jy(a,Ky)};e.StripsRightDown=function(a){return new Jy(a, My)};e.WipeLeft=function(a){return new Ey(a,Hy)};e.WipeUp=function(a){return new Ey(a,Gy)};e.WipeRight=function(a){return new Ey(a,Iy)};e.WipeDown=function(a){return new Ey(a,Fy)};e.BoxOut=function(a){return new pC(a,qC)};e.BoxIn=function(a){return new pC(a,rC)};e.SplitHorizontalOut=function(a){return new aA(a,cA)};e.SplitHorizontalIn=function(a){return new aA(a,bA)};e.SplitVerticalOut=function(a){return new aA(a,eA)};e.SplitVerticalIn=function(a){return new aA(a,dA)};e.ShapeCircle=function(a){return new RA(a)}; e.ShapeDiamond=function(a){return new mC(a)};e.CombHorizontal=function(a){return new $C(a,aD)};e.CombVertical=function(a){return new $C(a,1)};e.FadeSmoothly=function(a){return new Nw(a)};e.Newsflash=function(a){return new lC(a)};e.ShapePlus=function(a){return new HA(a)};e.PushDown=function(a){return new BA(a,CA)};e.PushLeft=function(a){return new BA(a,DA)};e.PushRight=function(a){return new BA(a,EA)};e.PushUp=function(a){return new BA(a,FA)};e.Wedge=function(a){return new uz(a)};e.Wheel1Spoke=function(a){return new WC(a, 1)};e.Wheel2Spokes=function(a){return new WC(a,2)};e.Wheel3Spokes=function(a){return new WC(a,3)};e.Wheel4Spokes=function(a){return new WC(a,4)};e.Wheel8Spokes=function(a){return new WC(a,8)};e.WheelReverse1Spoke=function(a){return new WC(a,-1)};e.MorphByObject=function(a){return new FB(a)};e.MorphByWord=function(a){return new FB(a)};e.MorphByChar=function(a){return new FB(a)};b?d?(e.VortexLeft=function(a){return new kz(a,ez)},e.VortexUp=function(a){return new kz(a,1)},e.VortexRight=function(a){return new kz(a, fz)},e.VortexDown=function(a){return new kz(a,gz)}):(e.VortexLeft=function(a){return new Oy(a,ez)},e.VortexUp=function(a){return new Oy(a,1)},e.VortexRight=function(a){return new Oy(a,fz)},e.VortexDown=function(a){return new Oy(a,gz)}):(e.VortexLeft=function(a){return new lx(a)},e.VortexUp=function(a){return new lx(a)},e.VortexRight=function(a){return new lx(a)},e.VortexDown=function(a){return new lx(a)});!d||Tg||kh?(e.RippleCenter=function(a){return new Zw(a,$w)},e.RippleRightUp=function(a){return new Zw(a, cx)},e.RippleLeftUp=function(a){return new Zw(a,ax)},e.RippleLeftDown=function(a){return new Zw(a,bx)},e.RippleRightDown=function(a){return new Zw(a,dx)}):(e.RippleCenter=function(a){return new Bz(a,$w)},e.RippleRightUp=function(a){return new Bz(a,cx)},e.RippleLeftUp=function(a){return new Bz(a,ax)},e.RippleLeftDown=function(a){return new Bz(a,bx)},e.RippleRightDown=function(a){return new Bz(a,dx)});e.GlitterDiamondLeft=function(a){return new fA(a,kA,iA)};e.GlitterDiamondUp=function(a){return new fA(a, kA,gA)};e.GlitterDiamondRight=function(a){return new fA(a,kA,jA)};e.GlitterDiamondDown=function(a){return new fA(a,kA,hA)};e.GlitterHexagonLeft=function(a){return new fA(a,1,iA)};e.GlitterHexagonUp=function(a){return new fA(a,1,gA)};e.GlitterHexagonRight=function(a){return new fA(a,1,jA)};e.GlitterHexagonDown=function(a){return new fA(a,1,hA)};b?(e.GalleryLeft=function(a){return new nz(a,pz,!1)},e.GalleryRight=function(a){return new nz(a,qz,!1)}):(e.GalleryLeft=function(a){return new BA(a,DA)},e.GalleryRight= function(a){return new BA(a,EA)});b?(e.ConveyorLeft=function(a){return new nz(a,pz,!0)},e.ConveyorRight=function(a){return new nz(a,qz,!0)}):(e.ConveyorLeft=function(a){return new tC(a,vC,!0)},e.ConveyorRight=function(a){return new tC(a,uC,!0)});e.DoorsVertical=function(a){return new BC(a,CC,!1,!0)};e.DoorsHorizontal=function(a){return new BC(a,DC,!1,!0)};e.WindowVertical=function(b){return new BC(b,CC,!0,2013>a)};e.WindowHorizontal=function(b){return new BC(b,DC,!0,2013>a)};e.WarpIn=function(a){return new xC(a, yC,!1,!1)};e.WarpOut=function(a){return new xC(a,1,!1,!1)};e.FlyThroughIn=function(a){return new xC(a,yC,!0,!1)};e.FlyThroughOut=function(a){return new xC(a,1,!0,!1)};e.FlyThroughInBounce=function(a){return new xC(a,yC,!0,!0)};e.FlyThroughOutBounce=function(a){return new xC(a,1,!0,!0)};e.RevealSmoothLeft=function(a){return new XB(a,$B)};e.RevealSmoothRight=function(a){return new XB(a,ZB)};e.RevealBlackLeft=function(a){return new XB(a,YB)};e.RevealBlackRight=function(a){return new XB(a,3)};e.Honeycomb= function(a){return new iD(a)};b?(e.FerrisWheelLeft=function(a){return new GB(a,0)},e.FerrisWheelRight=function(a){return new GB(a,HB)}):(e.FerrisWheelLeft=function(a){return new tC(a,wC,!0)},e.FerrisWheelRight=function(a){return new tC(a,wC,!0)});var g=2013<=a?NA:IA,h=2013<=a?Rw:Ow;e.SwitchLeft=function(a){return new g(a,0,c)};e.SwitchRight=function(a){return new g(a,JA,c)};e.FlipLeft=function(a){return new h(a,0,c)};e.FlipRight=function(a){return new h(a,Qw,c)};e.Flashbulb=function(a){return new LA(a)}; c?(e.ShredStripsIn=function(a){return new vA(a,0)},e.ShredStripsOut=function(a){return new vA(a,AA)},e.ShredRectangleIn=function(a){return new vA(a,wA)},e.ShredRectangleOut=function(a){return new vA(a,xA)}):(e.ShredStripsIn=function(a){return new lx(a)},e.ShredStripsOut=function(a){return new lx(a)},e.ShredRectangleIn=function(a){return new lx(a)},e.ShredRectangleOut=function(a){return new lx(a)});e.CubeLeft=function(a){return new SB(a,VB,!1,c)};e.CubeUp=function(a){return new SB(a,UB,!1,c)};e.CubeRight= function(a){return new SB(a,WB,!1,c)};e.CubeDown=function(a){return new SB(a,TB,!1,c)};e.RotateLeft=function(a){return new SB(a,VB,!0,c)};e.RotateUp=function(a){return new SB(a,UB,!0,c)};e.RotateRight=function(a){return new SB(a,WB,!0,c)};e.RotateDown=function(a){return new SB(a,TB,!0,c)};c?(e.BoxLeft=function(a){return new EC(a,HC,!1)},e.BoxUp=function(a){return new EC(a,0,!1)},e.BoxRight=function(a){return new EC(a,FC,!1)},e.BoxDown=function(a){return new EC(a,GC,!1)},e.OrbitLeft=function(a){return new EC(a, HC,!0)},e.OrbitUp=function(a){return new EC(a,0,!0)},e.OrbitRight=function(a){return new EC(a,FC,!0)},e.OrbitDown=function(a){return new EC(a,GC,!0)}):(e.BoxLeft=function(a){return new BA(a,DA)},e.BoxUp=function(a){return new BA(a,FA)},e.BoxRight=function(a){return new BA(a,EA)},e.BoxDown=function(a){return new BA(a,CA)},e.OrbitLeft=function(a){return new tC(a,vC,!0)},e.OrbitUp=function(a){return new tC(a,3,!0)},e.OrbitRight=function(a){return new tC(a,uC,!0)},e.OrbitDown=function(a){return new tC(a, wC,!0)});e.PanLeft=function(b){return new tC(b,vC,2013>a)};e.PanUp=function(b){return new tC(b,3,2013>a)};e.PanRight=function(b){return new tC(b,uC,2013>a)};e.PanDown=function(b){return new tC(b,wC,2013>a)};d?(e.AirplaneLeft=function(a){return new tD(a,uD)},e.AirplaneRight=function(a){return new tD(a,1)},e.OrigamiLeft=function(a){return new MC(a,OC)},e.OrigamiRight=function(a){return new MC(a,SC)},e.DrapeLeft=function(a){return new sz(a,tz)},e.DrapeRight=function(a){return new sz(a,1)},e.FallOverLeft= function(a){return new Dy(a,0)},e.FallOverRight=function(a){return new Dy(a,1)},e.Curtains=function(a){var b=new GA(a);return b.tJ()?b:new Nw(a)},e.Fracture=function(a){return new NB(a)},e.Crush=function(a){return new Wz(a)},e.WindRight=function(a){return new dC(a,0)},e.WindLeft=function(a){return new dC(a,1)},e.PeelOffLeft=function(a){return new QB(a,RB)},e.PeelOffRight=function(a){return new QB(a,1)},e.Prestige=function(a){var b=new PA(a);return b.tJ()?b:new Nw(a)},e.PageCurlDoubleLeft=function(a){return new wD(a, 0)},e.PageCurlDoubleRight=function(a){return new wD(a,1)},e.PageCurlSingleLeft=function(a){return new wD(a,2)},e.PageCurlSingleRight=function(a){return new wD(a,3)}):(e.AirplaneLeft=function(a){return new Nw(a)},e.AirplaneRight=function(a){return new Nw(a)},e.OrigamiLeft=function(a){return new Nw(a)},e.OrigamiRight=function(a){return new Nw(a)},e.DrapeLeft=function(a){return new Nw(a)},e.DrapeRight=function(a){return new Nw(a)},e.FallOverLeft=function(a){return new Nw(a)},e.FallOverRight=function(a){return new Nw(a)}, e.Curtains=function(a){return new Nw(a)},e.Fracture=function(a){return new Nw(a)},e.Crush=function(a){return new Nw(a)},e.WindRight=function(a){return new Nw(a)},e.WindLeft=function(a){return new Nw(a)},e.PeelOffLeft=function(a){return new Nw(a)},e.PeelOffRight=function(a){return new Nw(a)},e.Prestige=function(a){return new Nw(a)},e.PageCurlDoubleLeft=function(a){return new Nw(a)},e.PageCurlDoubleRight=function(a){return new Nw(a)},e.PageCurlSingleLeft=function(a){return new Nw(a)},e.PageCurlSingleRight= function(a){return new Nw(a)});Sv=e}} var Sv,Rv=[["PushUp","PushLeft","PushRight","PushDown"],["ShapePlus","ShapeCircle","ShapeDiamond"],["BlindsVertical","BlindsHorizontal"],["BoxIn","BoxOut"],["CheckerboardAcross","CheckerboardDown"],["Flashbulb"],["WipeDown","WipeUp","WipeLeft","WipeRight"],["RandomBarsVertical","RandomBarsHorizontal"],["FadeSmoothly","FadeThroughBlack"],[Xv],["Cut","CutThroughBlack"],["CombHorizontal","CombVertical"],["Dissolve"],["FlyThroughIn","FlyThroughOut","FlyThroughInBounce","FlyThroughOutBounce"],["WarpIn", "WarpOut"],["Newsflash"],["BoxLeft","BoxUp","BoxRight","BoxDown"],["OrbitUp","OrbitDown","OrbitLeft","OrbitRight"],["WindowHorizontal","WindowVertical"],["DoorsHorizontal","DoorsVertical"],["FerrisWheelLeft","FerrisWheelRight"],["SwitchLeft","SwitchRight"],["GalleryLeft","GalleryRight"],["RippleCenter","RippleRightUp","RippleLeftUp","RippleLeftDown","RippleRightDown"],["VortexLeft","VortexRight","VortexUp","VortexDown"],["ShredStripsIn","ShredStripsOut","ShredRectangleIn","ShredRectangleOut"],["FlipLeft", "FlipRight"],"CoverLeft CoverUp CoverRight CoverDown CoverLeftUp CoverRightUp CoverLeftDown CoverRightDown".split(" "),"UncoverDown UncoverLeft UncoverLeftDown UncoverLeftUp UncoverRight UncoverRightDown UncoverRightUp UncoverUp".split(" "),["StripsLeftDown","StripsLeftUp","StripsRightDown","StripsRightUp"],["Honeycomb"],["SplitVerticalIn","SplitVerticalOut","SplitHorizontalIn","SplitHorizontalOut"],"Wedge Wheel1Spoke Wheel2Spokes Wheel3Spokes Wheel4Spokes Wheel8Spokes WheelReverse1Spoke".split(" "), ["RevealSmoothLeft","RevealSmoothRight","RevealBlackLeft","RevealBlackRight"],["CubeLeft","CubeUp","CubeRight","CubeDown"],["RotateLeft","RotateUp","RotateRight","RotateDown"],"GlitterDiamondDown GlitterDiamondUp GlitterDiamondLeft GlitterDiamondRight GlitterHexagonDown GlitterHexagonUp GlitterHexagonLeft GlitterHexagonRight".split(" "),["ConveyorLeft","ConveyorRight"],["PanLeft","PanUp","PanRight","PanDown"],["AirplaneLeft","AirplaneRight"],["OrigamiLeft","OrigamiRight"],["DrapeLeft","DrapeRight"], ["FallOverLeft","FallOverRight"],["Curtains"],["Fracture"],["Crush"],["WindRight","WindLeft"],["PeelOffLeft","PeelOffRight"],["Prestige"],["PageCurlDoubleLeft","PageCurlDoubleRight","PageCurlSingleLeft","PageCurlSingleRight"]];function zD(a){this.Aa=a;this.nb=B("DIV");si(this.nb,"framesLayer");this.Sd=new I;a.Sd.addHandler(this.vu,this);a.displayObject().appendChild(this.nb)}f=zD.prototype;f.vu=function(a,b,c,d){Ve(this.nb,c,d);C(this.nb,"clip","rect(0px,"+a+"px,"+b+"px,0px)");this.Sd.F()};f.LI=function(){return this.Sd};f.position=function(a,b){var c=this.Aa.Ue;return this.Qm(c.querySelector("#"+a),c,b||this.scale())};f.scale=function(){return this.Aa.scale()}; f.Qm=function(a,b,c){var d=new jd(0,0);if(!a)return d;a=Ze(a);b=Ze(b);d=od(a,b);return d=new jd(d.x/c,d.y/c)};f.displayObject=function(){return this.nb};function AD(a){this.Aa=a;this.Aa.Sd.addHandler(this.VE,this);this.fj=[]}function BD(a,b){a.fj.push(b);var c=b.displayObject();Hg(c,"0 0");a.Aa.displayObject().appendChild(c)}AD.prototype.VE=function(a,b,c,d){for(a=0;aa?this.Cg.setProgress(a):Ev(this))};function Ev(a,b){p(b)||(b=rh);a.ZK&&(a.R.Cb().removeHandler(a.RN,a),a.ZK=!1);Pg&&clearInterval(a.aY);a.Cg.Cs()||a.Cg.Su.removeHandler(a.cF,a);a.Cg.$c.removeHandler(a.SN,a);a.Cg.terminate();a.Cg=null;vp(a.vj);wp(a.Po);wp(a.vj);a.vj.Jh();a.vj=null;a.Po=null;b?Ng(a.bN,a):a.bN()}f.bN=function(){ve(this.tm);this.XK.F(this.V)};f=ta.prototype;f.ps=ta;f.YA=ta;f.resize=ta;f.width=ta;f.height=ta;f.videoWidth=ta;f.videoHeight=ta;f.Rs=ta;f.Os=ta;f.TI=ta;f.Xv=ta;f.Hw=ta;function ED(a,b,c,d){Jn.call(this,a,b,c);this.mO=d}v(ED,Jn);ED.prototype.bI=function(){return this.QU};ED.prototype.JB=function(){return this.jY};ED.prototype.BI=function(){return this.JX};function FD(a,b){this.Og=a;this.J=b;this.ID={};this.Va=b.D();this.Pa=b.C();this.ln=kw(b.U());this.Sd=new I;for(var c=b.fonts(),d=Xf||jc,e=[],g=0;gthis.Ru?this.resize(a,b):this.ua(a)};function TD(a,b,c,d,e){K.call(this,"side_panel","ASIDE");xj(this,"complementary");vj(this,"side panel");this.J=b;b=b.U();this.B=c;this.B.Mc().addHandler(this.wf,this);c=a.Hc.Xi;this.ua(266);c.Rh&&(this.Sc=new UD(d,null,!1),this.Sc.N(!1),this.Sc.dN.addHandler(function(){this.Sc.resize(this.width(),this.height()-this.Sc.y());this.$&&this.$.N(!1)},this),this.Sc.aN.addHandler(function(){this.$&&(this.$.N(!0),this.tg())},this),this.Sc.ru.addHandler(function(){this.tg()},this));c.ik&&(this.Zh=new Sk(this.width()), this.YI(this.Zh.displayObject(),this.width(),300),this.Zh.IN.addHandler(function(){VD(this);this.tg()},this));c.zb&&(this.ri=new lo(b,this.B,a.outline,d));c.kf&&(this.uf=new fm(this.B),qj(this.uf,0));c.zb&&c.kf?(a=new Mk(H?34:30,"tabs"),a.oo=new qd(9,7,0,7),Pk(a),this.ri.displayObject().id="outlineTabPanel",c=Nk(a,d.pa(WD,"OUTLINE"),this.ri.displayObject()),Kk(c,t(e.C_,e)),c.iv.addHandler(function(){this.ri.invalidate()},this),Ki(c.displayObject(),"first"),this.uf.displayObject().id="notesTabPanel", d=Nk(a,d.pa(XD,"NOTES"),this.uf.displayObject()),Kk(d,t(e.F_,e)),d.iv.addHandler(function(){this.uf.invalidate()},this),a.ua(this.width()),this.$=a,this.G(this.$)):c.zb?this.$=YD(this,d.pa(WD,"OUTLINE"),this.ri):c.kf&&(this.$=YD(this,d.pa(XD,"NOTES"),this.uf));this.rN=new I;this.Kg=new Jm(!0,"maximized");this.Kg.xg(!0);this.Kg.Ef(0);H&&this.Kg.N(!1);this.Kg.xa().addHandler(this.uW,this);this.lL=new K("floatPanelOverlay")}v(TD,K);f=TD.prototype;f.Zh=null; f.la=function(a){TD.L.la.call(this,a);this.$&&this.$.la(a);this.ri&&this.ri.la(a)};function ZD(a){var b=gf(a.Kg.displayObject());ya(b)||(b=0);a.FU=new El(a.Kg.displayObject(),b,1,150);a.FU.play()}function $D(a,b){p(b)||(b=!1);var c=gf(a.Kg.displayObject());ya(c)||(c=0);a.fL=new El(a.Kg.displayObject(),c,0,250,function(a){return Math.max(0,250*a)/250});b&&z(a.fL,"end",function(){C(this.Kg.displayObject(),"display","none")},!1,a);a.fL.play()}f.uW=function(){this.rN.F();H&&(this.Kg.Ef(1),aE(this))}; f.WN=function(a){this.xA||(a.preventDefault(),this.Kg.N(!0),ZD(this),aE(this))};function aE(a){a.xA&&sa.clearTimeout(a.xA);a.xA=Cf(function(){$D(this,!0);this.xA=void 0},3E3,a)}f.Lm=function(a){a.relatedTarget&&Ce(this.mb.displayObject(),a.relatedTarget)||ZD(this)};f.wj=function(a){a.relatedTarget&&Ce(this.mb.displayObject(),a.relatedTarget)||$D(this,!1)}; f.wf=function(){if(-1!=this.B.ja()){bE(this);if(this.Sc&&(this.Sc.Hp()&&(this.Sc.collapse(),this.$.N(!0)),-1!=this.B.ja())){var a=this.B.fa();this.Sc.Nw(a.je())}this.Zh&&((a=this.B.fa().je())?a.Xa()&&a.Xa().he()?this.Zh.Yp(a.Xa()):this.jv():this.jv());this.tg()}};f.jv=function(){this.J.Xa()&&this.J.Xa().he()?this.Zh.Yp(this.J.Xa()):this.Zh.Yp(null)};f.QQ=0;f.SQ=0;f.OQ=0;f.NQ=0;f.YI=function(a,b,c){this.jb&&this.removeChild(this.jb.displayObject());this.Ji(a,0);this.jb=new SD(a,b/c);VD(this);this.tg()}; function cE(a,b){a.mb&&(a.mb instanceof SD?tj(a,a.mb.displayObject())&&a.removeChild(a.mb.displayObject()):a.mb.displayObject().style.margin="",a.mb.displayObject().removeChild(a.Kg.displayObject()),a.mb.displayObject().removeChild(a.lL.displayObject()),H?bd(a.mb.displayObject(),Rj,a.WN,!1,a):(bd(a.mb.displayObject(),"mouseover",a.Lm,!1,a),bd(a.mb.displayObject(),"mouseout",a.wj,!1,a)));if(a.mb=b)b instanceof Lj?b.displayObject().style.margin="0":a.G(a.mb.displayObject()),H?z(b.displayObject(),Rj, a.WN,!1,a):(z(b.displayObject(),"mouseover",a.Lm,!1,a),z(b.displayObject(),"mouseout",a.wj,!1,a)),a.mb.displayObject().appendChild(a.Kg.displayObject()),a.mb.displayObject().appendChild(a.lL.displayObject());VD(a);bE(a);a.tg()}f.setTransform=function(a,b,c){var d=Ai(a,0);d.scale(b,b);Bi(this.displayObject(),d);p(c)&&(this.displayObject().style.opacity=c+"");this.mb instanceof Lj&&(this.OQ=a,dE(this,b),p(c)&&(this.mb.displayObject().style.opacity=c+""))}; function bE(a){if(a.Sc)if(a.mb)tj(a,a.Sc.displayObject())&&a.removeChild(a.Sc.displayObject());else if(a.$){var b=a.Sc.displayObject();a=a.$.displayObject();a.parentNode&&a.parentNode.insertBefore(b,a)}else a.G(a.Sc.displayObject())}f.Ra=function(a){TD.L.Ra.call(this,a);VD(this);this.tg()};function YD(a,b,c){c.ua(a.width()-14);c.Yg(7);var d=new K("content"),e=new Qk("title");e.qa(b);d.G(e);d.G(c);a.G(d);return d}f.setScale=function(a){this.W=a;Ii(this.displayObject(),a)}; f.N=function(a){this.visible()!=a&&(TD.L.N.call(this,a),a&&this.tg(!0),this.$ instanceof Mk&&this.$.gI(),this.ri&&this.ri.Za())}; f.tg=function(a){if(this.visible()){var b=0;this.jb&&(b+=this.Zh.height(),0=a.B.ja()){b=e;break}}return b}function xE(a){var b=null;0<=a.B.ja()&&(b=a.B.fa());var c=a.pp.ik&&(null!=b&&null!=b.je()&&null!=b.je().Xa()&&null!=b.je().Xa().he()||null!=a.J.Xa()&&null!=a.J.Xa().he());return a.pp.kf||a.pp.zb||c||a.pp.Rh&&b&&null!=b.je()||p(yE(a))} function QE(a){function b(a){-1!=a.timestamp().na()&&(a.Cb().removeHandler(b,this),this.hd&&this.Em.G(this.hd),this.ez(c))}var c=Ck;a.hd&&(c=a.hd.dG,Ek(a.hd,Ck));var d=a.B.ja();ve(a.Em.displayObject());a.hd=a.WK[d];a.B.X().Cb().addHandler(b,a);JE(a)} f.ez=function(a){a!=Ck&&(this.Em||(this.WK=[],this.Em=new K("markerToolContainer"),this.Z.displayObject().appendChild(this.Em.displayObject())),this.hd||(this.hd=new Bk(this.HF.width,this.HF.height),this.Em.G(this.hd),this.hd.setScale(this.W.x,this.W.y),this.WK[this.B.ja()]=this.hd,JE(this)));var b=[Ck,Fk,Gk,Hk],c=b.splice(b.indexOf(a),1);vi(this.Em.I,b);ti(this.Em.I,c);this.hd&&Ek(this.hd,a)};function ME(a){return.5=sc||Hg(this.sn.displayObject(),"0 0");this.hF=new I}f=UE.prototype;f.oi=400;f.ph=300;f.W=1;function VE(a,b){a.sn.N(!0);a.IA.push(b);b.Vo.addHandler(a.eF,a);b.Mi().addHandler(a.dF,a,-1);if(b.No){var c=a.sn.displayObject(),d=b.No.displayObject();c.appendChild(d)}c=a.sn.displayObject();d=b.displayObject();c.appendChild(d);b.pz?a.eF(b):a.dF(b)} function WE(a,b){var c=Db(a.IA,b);0<=c&&(Jb(a.IA,c),b.pz&&b.close(),b.Vo.removeHandler(a.eF,a),b.Mi().removeHandler(a.dF,a,-1),xe(b.displayObject()),b.No&&xe(b.No.displayObject()));a.sn.N(0c||m>d)n*=Math.min(1,c/l,d/m),q=-1*(l-c)/(2*n),u=-1*(m-d)/(2*n);else if(l>e||m>g)l>e&&(q=-1*(l-e)/(2*b)),m>g&&(u=-1*(m-g)/(2*b));p(k.setScale)?k.setScale(a.W):(l=new wi,l.scale(n,n),Xf||(u=0),l.translate(q,u),jc&&8>=sc||Bi(k.I,l))}};function YE(){};function ZE(){this.xn=[];this.c0=[]};function $E(){};function aF(){};function bF(){this.hq=new ZE;this.Xi=new YE;this.Ze=new aF};function cF(){this.search=this.Vw=this.mB=this.Gs=!0};function dF(){this.Hc=new bF;this.outline=new cF};function eF(a,b,c,d){SE.call(this,"confirm_window");this.No=TE();this.dM=new Qk("title");this.dM.qa(a);this.G(this.dM);this.cM=new Qk("message",!1);this.cM.qa(b);this.G(this.cM);this.KC=new K("buttons_panel");this.G(this.KC);this.HC=new Jm(!1,["btn_yes"]);this.HC.qa(c);this.KC.G(this.HC);this.HC.xa().addHandler(this.TV,this);this.GC=new Jm(!1,["btn_no"]);this.GC.qa(d);this.KC.G(this.GC);this.GC.xa().addHandler(this.SV,this);this.Aq=new I}v(eF,SE);eF.prototype.TV=function(){this.Aq.F(this,!0)}; eF.prototype.SV=function(){this.Aq.F(this,!1)};eF.prototype.open=function(){eF.L.open.call(this);J(this,"height","");J(this,"position","relative");J(this,"height",this.height()+"px");J(this,"position","")};function fF(){nl.call(this);this.gk=[]}v(fF,nl);fF.prototype.add=function(a){Hb(this.gk,a)||(this.gk.push(a),z(a,"finish",this.hS,!1,this))};fF.prototype.remove=function(a){Ib(this.gk,a)&&bd(a,"finish",this.hS,!1,this)};fF.prototype.Gc=function(){y(this.gk,function(a){a.Ab()});this.gk.length=0;fF.L.Gc.call(this)};function gF(){fF.call(this);this.MH=0}v(gF,fF); gF.prototype.play=function(a){if(0==this.gk.length)return!1;if(a||this.Nd==ol)this.MH=0,this.Fl();else if(this.Oi())return!1;this.Bf("play");-1==this.Nd&&this.Bf("resume");var b=-1==this.Nd&&!a;this.startTime=Ha();this.endTime=null;this.Nd=1;y(this.gk,function(c){b&&-1!=c.Nd||c.play(a)});return!0};gF.prototype.pause=function(){this.Oi()&&(y(this.gk,function(a){a.Oi()&&a.pause()}),this.Nd=-1,this.Bf("pause"))}; gF.prototype.stop=function(a){y(this.gk,function(b){b.Nd==ol||b.stop(a)});this.Nd=ol;this.endTime=Ha();this.Bf("stop");this.Ri()};gF.prototype.hS=function(){this.MH++;this.MH==this.gk.length&&(this.endTime=Ha(),this.Nd=ol,this.Bf("finish"),this.Ri())};function hF(a,b){nj.call(this,b);this.Uu=a;this.tt=new K("corner");this.displayObject().appendChild(this.tt.displayObject());qj(this,-1);xj(this,"dialog")}v(hF,nj);function iF(a,b){a.Bq&&tj(a,a.Bq)&&(a.removeChild(a.Bq),a.Bq=null);a.Bq=b;a.G(a.Bq)}hF.prototype.content=function(){return this.Bq};function jF(a){return a.height()+(a.tt.height()-2)}hF.prototype.kS=function(){};hF.prototype.RI=function(a){Ii(this.displayObject(),a)};function kF(a){this.Dx=new I;this.tO=new I;this.nb=a;this.si=[];z(document,Rj,this.To,!0,this);z(document,"keydown",this.Jd,!0,this);z(document,"focus",this.dW,!0,this)}f=kF.prototype;f.To=function(a){this.Pf&&lF(this,a.target)};f.Jd=function(a){this.Pf&&27==a.keyCode&&(a=this.Pf.Uu,mF(this),a.focus())};function lF(a,b){var c=a.Pf.Uu;!a.Pf||Ce(a.Pf.displayObject(),b)||Ce(c,b)||mF(a)}f.dW=function(a){this.Pf&&lF(this,a.target)};f.hk=function(a,b,c){this.mV=a;this.lY=b;this.ph=c}; f.setScale=function(a,b){this.ST=a;this.zT=b};f.createPopup=function(a,b,c){a=new hF(a,c);iF(a,b);nF(this,a);return a};function nF(a,b){for(var c=a.si.length,d=0;dc.width()&&p(c.xM)&&(a=c.width()* c.xM);c.tt.Yg(a-Math.round(c.tt.width()/2));this.Ar=new jd(n,h);this.mg&&(this.mg.stop(!1),this.mg.Ab());this.mg=new gF;this.eL=new El(c.displayObject(),0,1,150);this.mg.add(this.eL);l=d?10:-10;n=new Dl(c.displayObject(),[n,h+l],[n,h],150);this.mg.add(n);this.mg.play()},a)}function qF(a,b,c,d,e){p(e)||(e=0);mF(a);if(b){b=a.si.length;for(var g=0;gc;){var e=Je(a.displayObject());if(1==e.length)break;a.qa(e.substr(0,e.length-2)+"\u2026");d=!0}d?a.I.setAttribute("title",b):a.I.removeAttribute("title")}}f.Hp=function(){return this.ub.selected()};f.collapse=function(){this.Wl.N(!1);this.ub.Ma(!1);this.Ra(this.eU)};function QF(a,b){a.ua(282);a.Pm=b} function LF(a){K.call(this,"presenterPhoto");this.ru=new I;a.pd()?this.EN(a):(a.load(),a.Mh().addHandler(this.EN,this))}v(LF,K);LF.prototype.EN=function(a){a=a.An();var b=Math.min(94/a.width,105/a.height),c=a.width*b,b=a.height*b;bf(a,c,b);this.lc=new K("photo");this.lc.G(a);this.lc.resize(c,b);this.resize(c,b);this.G(this.lc);this.ru.F()};function MF(a){return a.lc?a.lc.width():0}function PF(a){return a.lc?a.lc.height():0} function KF(a){K.call(this,"bioButton");this.WM=new I;qj(this,0);this.ub=new K("bio button");this.ub.resize(20,20);qj(this.ub,-1);this.hh=new Qk("bio label");this.hh.qa(a.pa(RF,"need translate"));Rk(this.hh,12);this.hh.Ra(20);qj(this.hh,-1);Xf&&(this.hh.I.style.width="100%");this.G(this.ub);this.G(this.hh);z(this.ub.displayObject(),"click",this.To,!1,this);z(this.hh.displayObject(),"click",this.To,!1,this);z(this.displayObject(),"keydown",this.Jd,!1,this);this.Za()}v(KF,K);f=KF.prototype; f.Za=function(){this.ub.Kc(10-this.ub.height()/2);this.Ra(this.ub.height());var a=this;setTimeout(function(){var b=a.ub.width()+a.hh.width();a.ua(b)},0)};f.To=function(){ri(this.ub.I,"selected")?ui(this.ub.I,"selected"):si(this.ub.I,"selected");this.WM.F()};f.selected=function(){return ri(this.ub.I,"selected")};f.Ma=function(a){a?si(this.ub.I,"selected"):ui(this.ub.I,"selected")};f.xa=function(){return this.WM}; f.resize=function(a,b){if(!Xf)this.hh.I.style.maxWidth=a+"px";else if(a){var c=Math.min(a-this.ub.width(),this.hh.width());0"+c+""),this.kd.N(this.Y.zb),b.G(this.kd),c=new lo(this.O,this.B,a.outline,h),c.ua(265),c.invalidate(),c.QG.addHandler(function(){m.BN()},this),this.Kd=c,e=new K("outline popup"),e.G(c),this.Xo=new cG(this.kd.displayObject(),this.Kd,e,"outline_popup"),this.Xo.Ar=0,this.Xo.xM=.5,nF(this.sb,this.Xo);this.Y.jk&&(this.Gb=new uG(!1,"std play"),H||this.Gb.G(pi(l,a.$v)),this.Gb.xa().addHandler(this.su,this),b.G(this.Gb),-1==this.B.ja()&&(this.Gb.la(!1),this.B.Mc().addHandler(function q(){this.B.Mc().removeHandler(q); this.Gb.la(!0)},this)),this.B.X().Sb().addHandler(this.Am,this));this.Y.Wg.visible&&(this.gb=new hG,this.gb.LO.addHandler(this.ur,this),this.gb.MO.addHandler(this.uu,this),this.gb.KO.addHandler(this.kz,this),b.G(this.gb),lG(this.gb,this.Y.Wg.enabled),this.gb.Qw(this.Y.Wg.Qw),this.gb.xg(!0),this.B.Mc().addHandler(this.ZU,this));this.Y.ES&&(this.OF=new Jm(!1,"replay"),vj(this.OF,"replay"),this.OF.xa().addHandler(this.HW,this),b.G(this.OF));this.Y.Sw&&(this.xi=new Jm(!1,"volume",!0),this.xi.xg(!0),this.xi.setAttribute("tabindex", "-1"),this.xi.xa().addHandler(this.xX,this),b.G(this.xi),this.HA=new rG("volume_control"),this.HA.GG.addHandler(this.zX,this),this.HA.Nv.addHandler(this.ZN,this),this.ZN(d.volume()),this.sb.createPopup(this.xi.displayObject(),this.HA,"volume_popup"));this.Y.Pw&&(this.zx=new Jm(!0,"cc",!0),vj(this.zx,"closed captions"),this.zx.xa().addHandler(this.UV,this),b.G(this.zx));this.Y.Rw&&(this.Ak=new Jm(!1,"fullscreen"),vj(this.Ak,"show fullscreen"),this.Ak.xa().addHandler(this.kW,this),b.G(this.Ak));this.G(b); this.eM=b;this.sb.Dx.addHandler(this.KE,this)}if(this.Y.kk||this.Y.Wi)a=new K("hbox right"),this.Y.kk&&(this.zd=new Jm(!1,"prev"),this.zd.qa(h.pa("PB_CONTROL_PANEL_PREV","PREV")),vj(this.zd,"previous slide"),this.zd.xa().addHandler(this.tu,this),a.G(this.zd)),this.Y.Wi&&(this.Qc=new Jm(!1,"next"),this.Qc.qa(h.pa("PB_CONTROL_PANEL_NEXT","NEXT")),vj(this.Qc,"next slide"),this.Qc.xa().addHandler(this.qu,this),a.G(this.Qc)),Hw("PFnb","0",t(function(){this.zd&&(th?Ng(function(){this.zd.Ji(oi(l,this.zd.width()), 0)},this,200):this.zd.Ji(oi(l,this.zd.width()),0));this.Qc&&(th?Ng(function(){this.Qc.Ji(ni(l,this.Qc.width()),0)},this,200):this.Qc.Ji(ni(l,this.Qc.width()),0))},this)),this.G(a),this.Am(),this.zm(),this.$O=a;this.B.X().Cb().addHandler(this.fb,this);this.B.Mc().addHandler(this.YE,this);this.wP=new I;this.rP=new I;this.Eb=k;Ng(function(){Ng(function(){vG(this)},this)},this)}v(sG,K);f=sG.prototype;f.resize=function(a,b){sG.L.resize.call(this,a,b);vG(this)}; f.YE=function(){var a="quiz"==this.B.fa().type();this.zd&&this.zd.N(!a);this.Qc&&this.Qc.N(!a)};function vG(a){if(a.kd){var b=a.width()-wG(a)+xG;a.kd.I.style.maxWidth=b+"px";jc&&(a.kd.width()b,d=Pe();if(!d||"INPUT"!=d.tagName){this.qb&&(Ii(this.qb.displayObject(),1),this.qb.ua(a));var d=1,e=0;if(this.Ta&&this.Ta.visible()){d=this.Ta;d.kd&&d.kd.N(!c&&this.JY||d.Y.zb);this.Ta.ua(a);var g=Math.max(a,wG(this.Ta)),d=a/g,e=Math.round(-this.Ta.height()*(1-d));this.Ta.setScale(d);this.Ta.ua(g);J(this.Ta,"top",b-(this.Ta.height()+e)+"px")}e=HG(this)+e;!c&&H?yj(this.Eb, "portrait"):Ji(this.Eb.displayObject(),"portrait")&&zj(this.Eb,"portrait");c=new rd(a-24,b-e);e=IG(this,c,JG(this));this.Eb.tg(e,JG(this));this.Eb.setScale(1,1);KE(this.Eb,e.height);e=this.qb&&this.qb.visible()?1*(this.qb.height()+12):12;this.Eb.Kc(Math.round(e));this.qb&&this.qb.visible()&&(this.qb.Pm=c.height-20);this.Ta&&this.Ta.visible()&&this.Ta.$I(c.height-20);this.Ah.hk(a,b);this.sb.hk(10,a-10,c.height);this.sb.setScale(1,d);mF(this.sb);J(this,"opacity","")}}else if(a&&b){var d=HG(this),g= IG(this,new rd(a-24,b-d),JG(this)),h=g.width+24,e=g.height+HG(this),d=KG(this,a,b,g),c=Math.round(h*d),e=Math.round(e*d);this.Eb.tg(g,JG(this));JG(this)?(C(this.displayObject(),"-webkit-border-radius",""),C(this.displayObject(),"-moz-border-radius",""),C(this.displayObject(),"border-radius","")):(g=Math.round(7*d),C(this.displayObject(),"-webkit-border-radius",g+"px"),C(this.displayObject(),"-moz-border-radius",g+"px"),C(this.displayObject(),"border-radius",g+"px"));var k=this.qb&&this.qb.visible()? (this.qb.height()+12)*d:12*d,g=e-HG(this)*d;this.sb.hk(10,h-10,g);this.Ah.hk(c,e);var k=k-this.Eb.height()*(1-d)/2,h=Math.floor((a-c)/2),l=Math.floor((b-e)/2);JG(this)||(h=Math.max(0,h),l=Math.max(0,l));this.Eb.ua(this.Eb.width()*d);J(this,"left",h+"px");J(this,"top",l+"px");this.resize(c,e);c/=d;this.qb&&(this.qb.Pm=g-20,Ii(this.qb.displayObject(),d),this.qb.ua(c));this.Eb.Kc(Math.round(k));JG(this)&&this.Eb.ua(Math.min(this.Eb.width(),a-24*d));KE(this.Eb,g/d);this.Eb.setScale(d,d);this.Ta&&(c=Math.max(c, wG(this.Ta)),this.Ta.$I(g-20),this.Ta.setScale(d),this.Ta.ua(c),J(this.Ta,"bottom",Math.round(-this.Ta.height()*(1-d))+"px"));this.sb.setScale(d,d);mF(this.sb);this.Ta&&J(this.Ta,"top","");J(this,"opacity","")}};f.UE=function(a){if(a.action()==MG){var b=this.B.Be();NG(this,b);"prompt"==this.J.settings().Jc().Uk&&(a.MB(OG),PG(this,a))}else a.action()==QG&&NG(this,a.P())};f.xg=function(){}; function NG(a,b){for(var c=a.J.U().ka(b).Wj(),d,e=0;e video,.__player_view_id__ .fullscreen .video_player {background-color: black;width: __slide_width__ !important;height: __slide_height__ !important;z-index: 100;-webkit-transform: none !important;-ms-transform: none !important;transform: none !important;}.__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen {background: url("+ c[4]+") no-repeat;}.__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:hover {background: url("+c[5]+") no-repeat;}.__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:active {background: url("+c[6]+") no-repeat;}.__player_view_id__ .video_player video {width: 100%;height: 100%;margin: auto;top: 0;right: 0;bottom: 0;left: 0;}.__player_view_id__ .video_player.poster_frame_hide_video video {display: none;}.__player_view_id__ .video_player.poster_frame video {opacity: 0;}.__player_view_id__ .video_player.poster_frame_hide_video .poster, .__player_view_id__ .video_player.poster_frame .poster {position: absolute;width: 100%;height: 100%;}.__player_view_id__ .video_player .controls {height: 36px;background: rgba(45, 50, 55, 0.85098);border: 1px solid #444648;cursor: default;border-radius: 4px;}.__player_view_id__ .video_player .controls,.__player_view_id__ .video_player .controls * {-webkit-backface-visibility: hidden;backface-visibility: hidden;}.__player_view_id__ .video_player .controls .progress {background-color: #75787A;height: 14px;left: 62px;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;cursor: pointer;}.__player_view_id__ .video_player .controls .progress .bookmark {width: 10px;height: 10px;margin-top: -5px;margin-left: -5px;top: 50%;background: url("+ c[7]+") no-repeat;cursor: pointer;}.__player_view_id__ .video_player .controls .progress .bookmark:hover, .__player_view_id__ .video_player .controls .progress .bookmark:active {background: url("+c[8]+") no-repeat;}.__player_view_id__ .video_player .controls .progress .loading {background-color: #B1B3B5;height: 100%;}.__player_view_id__ .video_player .controls .progress .playing {background-color: #FFFFFF;height: 100%;}.__player_view_id__ .video_player .controls .progress .tooltip {background: url("+ c[9]+") no-repeat;width: 60px;height: 25px;top: -33px;margin-left: -30px;font-family: Arial;font-size: 12px;padding-top: 2px;text-align: center;}.__player_view_id__ .video_player .controls .volume_popup {border-radius: 3px;background: rgba(45, 50, 55, 0.85098);top: -67px;right: 55px;padding: 8px;box-sizing: border-box;width: 28px;height: 64px;}.__player_view_id__ .video_player .controls .volume_popup .volume {background: url("+c[10]+");position: relative;cursor: pointer;width: 12px;height: 48px;}.__player_view_id__ .video_player .controls .volume_popup .volume .back {background: url("+ c[11]+");width: 100%;}.__player_view_id__ .video_player .controls button {width: 100%;height: 100%;}.__player_view_id__ .video_player .controls button.mute {background: url("+c[12]+");}.__player_view_id__ .video_player .controls button.mute:hover {background: url("+c[13]+");}.__player_view_id__ .video_player .controls button.mute:active {background: url("+c[14]+");}.__player_view_id__ .video_player .controls button.mute.selected {background: url("+c[15]+");}.__player_view_id__ .video_player .controls button.mute.selected:hover {background: url("+ c[16]+");}.__player_view_id__ .video_player .controls button.mute.selected:active {background: url("+c[17]+");}.__player_view_id__ .video_player .controls button.play {background: url("+c[18]+") no-repeat;}.__player_view_id__ .video_player .controls button.play:hover {background: url("+c[19]+") no-repeat;}.__player_view_id__ .video_player .controls button.play:active {background: url("+c[20]+") no-repeat;}.__player_view_id__ .video_player .controls button.play.selected {background: url("+c[21]+") no-repeat;}.__player_view_id__ .video_player .controls button.play.selected:hover {background: url("+ c[22]+") no-repeat;}.__player_view_id__ .video_player .controls button.play.selected:active {background: url("+c[23]+") no-repeat;}.__player_view_id__ .video_player .controls button.play::after {background: url("+c[24]+");width: 1px;height: 32px;right: 0;top: 1px;position: absolute;content: '';}.__player_view_id__ .video_player .controls button.toggle_fullscreen {background: url("+c[25]+") no-repeat;}.__player_view_id__ .video_player .controls button.toggle_fullscreen:hover {background: url("+c[26]+ ") no-repeat;}.__player_view_id__ .video_player .controls button.toggle_fullscreen:active {background: url("+c[27]+") no-repeat;}.__player_view_id__ .video_player .controls button.toggle_fullscreen::before {background: url("+c[24]+") no-repeat;width: 1px;height: 32px;left: 0;top: 1px;position: absolute;content: '';}.__player_view_id__ .video_player .controls .component_container.toggle_fullscreen, .__player_view_id__ .video_player .controls .component_container.play {width: 52px;height: 34px;}.__player_view_id__ .video_player .controls .component_container.toggle_fullscreen {right: -1px;}.__player_view_id__ .video_player .controls .component_container.mute {width: 22px;height: 22px;right: 58px;top: 6px;}.popup_layer {position: absolute;}.popup_layer .modal_layer {background: #000000;opacity: 0.4;z-index: 10;width: 100%;height: 100%;}.popup_layer .message_box,.popup_layer .confirm_window {background: #FFFFFF;border-radius: 5px;border: 1px solid rgba(0, 0, 0, 0.75);width: 357px;height: 150px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;margin: auto;z-index: 10;}.popup_layer .message_box::after,.popup_layer .confirm_window::after {background-color: #E6E6E6;width: 100%;height: 1px;top: 30px;position: absolute;content: '';}.popup_layer .message_box .title,.popup_layer .message_box .message,.popup_layer .confirm_window .title,.popup_layer .confirm_window .message {font-family: Helvetica, sans-serif;font-size: 14px;color: #323232;}.popup_layer .message_box .title,.popup_layer .confirm_window .title {position: absolute;left: 13px;top: 7px;font-weight: bold;background: transparent;}.popup_layer .message_box .message,.popup_layer .confirm_window .message {position: absolute;top: 47px;left: 69px;margin-right: 25px;}.popup_layer .message_box .message::before,.popup_layer .confirm_window .message::before {background-color: #E6E6E6;width: 35px;height: 35px;left: -45px;position: absolute;content: '';}.popup_layer .message_box button,.popup_layer .confirm_window button {font-size: 14px;border-radius: 5px;color: #323232;width: 68px;height: 30px;}.popup_layer .message_box button, .popup_layer .message_box button.mobile:hover, .popup_layer .message_box button.mobile:active,.popup_layer .confirm_window button,.popup_layer .confirm_window button.mobile:hover,.popup_layer .confirm_window button.mobile:active {background: #D4D4D4;}.popup_layer .message_box button:hover, .popup_layer .message_box button:active, .popup_layer .message_box button.mobile.active,.popup_layer .confirm_window button:hover,.popup_layer .confirm_window button:active,.popup_layer .confirm_window button.mobile.active {background: #B8B8B8;}.popup_layer .confirm_window button.btn_yes {left: 101px;top: 98px;}.popup_layer .confirm_window button.btn_no {left: 181px;top: 98px;}.popup_layer .confirm_window .message::before {background: url("+ c[28]+");}.popup_layer .message_box button.btn_ok {left: 141px;top: 98px;}.popup_layer .message_box .message::before {background: url("+c[29]+");}.transitionSlide.paused * {-webkit-animation-play-state: paused !important;animation-play-state: paused !important;}.framesLayer .video_player {-webkit-transform-origin: 0 0;-ms-transform-origin: 0 0;transform-origin: 0 0;}.trial_banner .content {display: block;}.trial_banner .content_hover {display: none;}.trial_banner .days_remaining {position: absolute !important;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;}.trial_banner:hover .content {display: none;}.trial_banner:hover .content_hover {display: block;}"; for(var d in a)if(a.hasOwnProperty(d)){var e="__"+d.replace(RegExp("\\.","g"),"_")+"__";c=c.replace(new RegExp(e,"g"),a[d])}for(var g in b)b.hasOwnProperty(g)&&(c=c.replace(new RegExp(g,"g"),b[g]));c=c.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.It);return gi(c)}; RG.prototype.It=function(a,b,c){return"url(data:image/svg+xml;base64,"+gg('\r\n\r\n\r\n\r\n\r\n')+")"};var VF="attachment",WF="webLink",SG={U1:VF,P8:WF};r("ispring.presenter.presentation.resources.references.ReferenceType",SG,void 0);r("ATTACHMENT",VF,SG);r("WEB_LINK",WF,SG);function TG(){}f=TG.prototype;f.wb="";f.YL="";f.hK="";f.Ov="";f.Pc="";f.gg="";f.Ac=null;f.lc=null;f.name=function(){return this.wb};TG.prototype.name=TG.prototype.name;TG.prototype.Vj=function(){return this.YL};TG.prototype.jobTitle=TG.prototype.Vj;TG.prototype.Li=function(){return this.hK};TG.prototype.biography=TG.prototype.Li;TG.prototype.Zb=function(){return this.Ov};TG.prototype.webSiteUrl=TG.prototype.Zb;TG.prototype.jJ=function(a){this.Ov=a};TG.prototype.Sg=function(){return this.Pc}; TG.prototype.email=TG.prototype.Sg;TG.prototype.Vg=function(){return this.gg};TG.prototype.phone=TG.prototype.Vg;TG.prototype.Xa=function(){return this.Ac};TG.prototype.company=TG.prototype.Xa;TG.prototype.Yp=function(a){this.Ac=a};TG.prototype.$j=function(){return this.lc};TG.prototype.photo=TG.prototype.$j;ta.prototype={XH:ta};function UG(a,b,c){wq.call(this,b,c);this.mt=a}v(UG,wq);UG.prototype.NA=function(a){return this.mt.id()==a};UG.prototype.clone=function(a){return a.yH(this.mt,this.required())};function VG(){this.Zd=[]}VG.prototype.Ep=function(a,b){var c=new xq(a,this.Zd.length,b);this.Zd.push(c);return c};VG.prototype.yH=function(a,b){var c=new UG(a,this.Zd.length,b);this.Zd.push(c);return c};VG.prototype.XH=function(a){return this.Zd[a]};function WG(a,b){this.vb=a;this.MQ=b}f=WG.prototype;f.vb="";f.MQ="";f.Va=0;f.Pa=0;f.yh=0;f.Ci=1;f.width=function(){return this.Va};f.ua=function(a){this.Va=a};f.height=function(){return this.Pa};f.Ra=function(a){this.Pa=a};f.id=function(){return this.vb};f.Xh=function(){return this.MQ};f.Da=function(){return this.yh*this.Ci};f.Vi=function(a){this.Ci=a};function XG(a,b){WG.call(this,a,b)}v(XG,WG);function YG(){this.fu=new I;this.hu=new I;this.jM=new I}YG.prototype.fr=!1;YG.prototype.$q=!1;YG.prototype.Rd=0;YG.prototype.pd=function(){return this.fr};YG.prototype.isLoaded=YG.prototype.pd;YG.prototype.pb=function(){return this.Rd};YG.prototype.progress=YG.prototype.pb;YG.prototype.load=function(){this.fr||this.$q||(this.$q=!0,this.Jg())};YG.prototype.load=YG.prototype.load;YG.prototype.yJ=function(){if(this.fr||this.$q)this.Ie&&(ZG(this),this.Ie.src="",this.Ie=null),this.$q=this.fr=!1,this.op(0)}; YG.prototype.unload=YG.prototype.yJ;YG.prototype.op=function(a){this.Rd!=a&&(this.Rd=a,this.jM.F(this))};YG.prototype.Mh=function(){return this.fu};YG.prototype.loadCompleteEvent=YG.prototype.Mh;YG.prototype.Jn=function(){return this.hu};YG.prototype.loadFailedEvent=YG.prototype.Jn;YG.prototype.mI=function(){return this.jM};YG.prototype.loadProgressEvent=YG.prototype.mI;var $G=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function aH(a,b,c){if(va(b))for(var d=0;de?a[1]="?":e==d.length-1&&(a[1]=void 0)}a=a.join("");YG.call(this);this.Du=a;this.Va=b;this.Pa=c}v(cH,YG);f=cH.prototype;f.Ie=null;f.Jg=function(){this.Ie=new Image;this.Ie.onload=t(this.$y,this);this.Ie.onerror=t(this.nW,this);this.Ie.src=this.Du}; function ZG(a){a.Ie&&(a.Ie.onload=null,a.Ie.onerror=null)}f.$y=function(){ZG(this);this.$q=!1;this.fr=!0;this.op(1);this.fu.F(this)};f.nW=function(){ZG(this);this.$q=this.fr=!1;this.hu.F(this);this.op(0)};function dH(a){if(!a.pd())throw Error("asset not loaded");}f.path=function(){return this.Du};f.width=function(){if(null!=this.Va)return this.Va;if(!this.Ie)return 0;dH(this);return this.Ie.width};cH.prototype.width=cH.prototype.width; cH.prototype.height=function(){if(null!=this.Pa)return this.Pa;if(!this.Ie)return 0;dH(this);return this.Ie.height};cH.prototype.height=cH.prototype.height;cH.prototype.An=function(){dH(this);var a=B("canvas");a.width=this.width();a.height=this.height();a.getContext("2d").drawImage(this.Ie,0,0);return a};cH.prototype.createInstance=cH.prototype.An;cH.prototype.xH=function(){dH(this);return this.Ie.cloneNode(!0)};cH.prototype.createImgInstance=cH.prototype.xH;function eH(a,b,c){cH.call(this,a,b,c)}v(eH,cH);eH.prototype.url=function(){return this.Du};eH.prototype.url=eH.prototype.url;function fH(){}fH.prototype.type=function(){return"none"};function gH(a){this.rc=a;this.sQ=[];for(var b=0,c=0;cthis.ta)return!1;if(0==a&&b>=this.ta)return!0;for(var c=this.rc.length,d=0;dthis.ta)return!1;if(0==a&&b>=this.ta)return!0;var c=this.kp,d=this.Zi.duration(),e=Math.floor(a/(d+c)),g=Math.floor(b/(d+c));if(1=h&&this.Zi.tw(Math.max(a-h,0),b-h))return!0}return!1};hH.prototype.vJ=function(){return[this.ta]};function iH(a,b,c,d){this.kp=c||0;this.ta=a.duration()*b+(b-1)*this.kp;this.Bj=b;this.ZL=a;d?(this.kp-=d.duration()-a.duration(),this.zC=d):this.zC=a}v(iH,dr);f=iH.prototype;f.duration=function(){return this.ta};f.sd=function(a,b,c){a=this.Mg(a);this.Ib(hr(),a,b,c)};f.complete=function(a,b){this.Nf(hr(),a,b)};f.Ph=function(a,b,c){a=this.Mg(a,!0);this.Ib(kr(),a,b,c)};f.Iw=function(a,b){this.Nf(kr(),a,b)}; f.Ib=function(a,b,c,d){if(b==this.duration())this.Nf(a,c,d);else{var e=this.zC.duration()+this.kp,g=Math.floor(b/e);this.WC=g=this.WC.duration()?a.complete(this.WC,c,d):a.sd(this.WC,b,c,d)}};f.Nf=function(a,b,c){a.complete(this.ZL,b,c)};function jH(){}jH.prototype.apply=function(){};function kH(a,b,c){this.Yf=a;this.vb=b;this.NO=c}v(kH,Zq);kH.prototype.sd=function(a,b){this.Ib(this.NO,a,b)};kH.prototype.Ph=function(a,b){this.Ib(!this.NO,a,b)};kH.prototype.Ib=function(a,b){var c=b.zc,d;if(a)d=new jH,b.Pq.set(this.vb,d),c.add(d);else if(d=b.Pq.get(this.vb))d=Db(Vq(c),d),0<=d&&c.clear(d)};function lH(a,b){kH.call(this,a,b,!0)}v(lH,kH);function mH(a,b){kH.call(this,a,b,!1)}v(mH,kH);function nH(a){this.ta=a}v(nH,cr);nH.prototype.ta=0;nH.prototype.duration=function(){return this.ta};nH.prototype.sd=function(){};nH.prototype.Ph=function(){};function oH(a){this.Db=a||[]}v(oH,dr);f=oH.prototype;f.EE=null;f.ta=-1;f.zf=function(a){if(0<=this.ta)throw Error("ParallelActions was already initialized");this.Db.push(a)};f.LC=function(){for(var a=0,b=0;bthis.ta&&(this.ta=this.LC());return this.ta}; function pH(a){if(a.EE)return a.EE;for(var b=[],c=a.duration(),d=a.Db.length,e=0;e=a.ta?1:b/a.ta}AH.prototype.sd=function(a,b,c){var d=this.Mg(a);this.Ib(d>=this.ta?1:d/this.ta,b,c,!1,a==this.ta)};AH.prototype.Ph=function(a,b,c){var d=this.Mg(a,!0);this.Ib(1-(d>=this.ta?1:d/this.ta),b,c,!0,a==this.ta)};function CH(a,b,c,d){b.zc.add(new ds(a.Yf,c,d))} function DH(a,b,c,d){var e=Ba(a),g=b.Pq.get(e);g?d=g.value:(a=b.UX.get(a.Yf),d=d(a),b.Pq.set(e,{value:d,o9:Yp(c)}));return d};function EH(a,b){this.jp=a;this.WF=b}EH.prototype.nd=function(a,b,c,d,e,g){b=this.qf(b,d,g);this.jp&&e&&this.WF&&(a=this.qf(BH(a),d,g),b=b.add(a.Pp()));return b};function FH(a,b){EH.call(this,!0,b);this.W=a}v(FH,EH);FH.prototype.qf=function(a,b,c){return new Fq((this.W-1)*a+1,!1,b,c)};function GH(a,b,c){EH.call(this,b,c);this.pY=a}v(GH,EH);GH.prototype.qf=function(a,b,c){return new Fq(this.pY(a),!this.jp,b,c)};function HH(a,b){this.nD=a;this.lb=b}HH.prototype.nd=function(a,b,c,d,e,g){var h=this.lb;a=DH(a,c,d,function(a){switch(h){case "scaleX":return Nq(a).scale();case "scaleX2":return Oq(a).scale();case "scaleY":return Pq(a).scale();case "scaleY2":return Qq(a).scale()}return null});return null===a?null:new Fq((this.nD-a)*b+a,!0,d,g)};function IH(a,b,c,d){EH.call(this,c,d);this.eK=a;this.nD=b}v(IH,EH);IH.prototype.qf=function(a,b,c){return new Fq((this.nD-this.eK)*a+this.eK,!this.jp,b,c)};function JH(a,b,c,d){AH.call(this,a,b);this.lb=c;this.ii=d}v(JH,AH);JH.prototype.Ib=function(a,b,c,d,e){(a=this.ii.nd(this,a,b,c,d,e))&&CH(this,b,this.lb,a)};function KH(a){this.lb=a}v(KH,xH);KH.prototype.Jg=function(a,b){var c=this.ga();if(c.xl in a)var d=vH(this),e=b.duration(),g=!b.wg(),c=new JH(d,e,this.lb,new FH(a[c.xl],g));else if(c.fB in a)var d=vH(this),e=b.duration(),g=zH(a[c.fB]),h=!b.wg(),c=new JH(d,e,this.lb,new GH(g,w(a,c.GB,!1),h));else c.from in a?(d=vH(this),e=b.duration(),g=!b.wg(),c=new JH(d,e,this.lb,new IH(a[c.from],a[c.Hf],w(a,c.GB,!1),g))):(d=vH(this),e=b.duration(),g=this.lb,c=new JH(d,e,g,new HH(a[c.Hf],g)));return c}; function LH(){this.lb="scaleX"}v(LH,KH);function MH(){this.lb="scaleY"}v(MH,KH);function NH(){this.lb="scaleX2"}v(NH,KH);function OH(){this.lb="scaleY2"}v(OH,KH);function PH(a,b,c,d){this.Yf=a;this.VX=b;this.WX=c;this.lb=d?"cssTextProperties":"cssProperties"}v(PH,Zq);PH.prototype.sd=function(a,b){var c=Cq(this.VX,this.WX,b,!0);a.zc.add(new ds(this.Yf,this.lb,c))};PH.prototype.Ph=function(){};function QH(){}v(QH,tH);QH.prototype.Jg=function(a){var b=this.ga(),c=a[b.E0],d=a[b.Z_];if(d){var e=uH(this);Hb(e.vC,c)||e.vC.push(c)}else e=uH(this),Hb(e.uC,c)||e.uC.push(c);return new PH(vH(this),c,a[b.Hf],d)};function RH(a,b,c,d,e,g,h,k){this.jx=a;this.lx=b;this.x1=c;this.y1=d;this.x2=e;this.y2=g;this.kx=h;this.mx=k}RH.prototype.clone=function(){return new RH(this.jx,this.lx,this.x1,this.y1,this.x2,this.y2,this.kx,this.mx)};RH.prototype.Qj=function(a){return this.jx==a.jx&&this.lx==a.lx&&this.x1==a.x1&&this.y1==a.y1&&this.x2==a.x2&&this.y2==a.y2&&this.kx==a.kx&&this.mx==a.mx};function SH(){this.uh=[]}f=SH.prototype;f.Qk=0;f.BO=0;f.CO=0;f.moveTo=function(a){this.uh.push(new TH(a))};f.lineTo=function(a,b){var c=this.end();this.uh.push(new UH(a,c,b))};function VH(a,b,c,d,e){var g=a.end();a.uh.push(new WH(b,g,c,d,e))}f.end=function(){if(0==this.uh.length)throw Error("path must be started with moveTo");return this.uh[this.uh.length-1].end()}; f.BB=function(a){if(0>a||1=this.Qk&&(b=this.BO,c=this.CO);for(var d=null;ba){d=e.BB((a-c)/(g-c));break}c=g}this.Qk=a;this.BO=b;this.CO=c;return d?d:this.end()};function XH(a){this.ta=a}XH.prototype.duration=function(){return this.ta};function TH(a){this.ta=0;this.Qm=a}v(TH,XH);TH.prototype.end=function(){return this.Qm}; function UH(a,b,c){this.ta=a;this.Wx=b;this.yA=c}v(UH,XH);UH.prototype.end=function(){return this.yA};UH.prototype.BB=function(a){var b=this.Wx,c=this.yA;return new jd((c.x-b.x)*a+b.x,(c.y-b.y)*a+b.y)};function WH(a,b,c,d,e){this.ta=a;this.jD=e;this.TT=new RH(b.x,b.y,c.x,c.y,d.x,d.y,e.x,e.y)}v(WH,XH);WH.prototype.end=function(){return this.jD}; WH.prototype.BB=function(a){var b=this.TT,c;if(0==a)c=b.jx;else if(1==a)c=b.kx;else{c=id(b.jx,b.x1,a);var d=id(b.x1,b.x2,a),e=id(b.x2,b.kx,a);c=id(c,d,a);d=id(d,e,a);c=id(c,d,a)}0==a?a=b.lx:1==a?a=b.mx:(d=id(b.lx,b.y1,a),e=id(b.y1,b.y2,a),b=id(b.y2,b.mx,a),d=id(d,e,a),e=id(e,b,a),a=id(d,e,a));return new jd(c,a)};function YH(a,b,c){AH.call(this,a,b);this.Du=c}v(YH,AH);YH.prototype.Ib=function(a,b,c,d,e){a=this.Du.BB(a);CH(this,b,oq,new pq(a.x,!0,c,e));CH(this,b,qq,new pq(a.y,!0,c,e))};function aI(){}v(aI,xH);aI.prototype.Jg=function(a,b){var c=this.ga();return new YH(vH(this),b.duration(),bI(this,a[c.path]))}; function bI(a,b){function c(){return new jd(d()+h,d()+k)}function d(){var a=b.match(/^\s*([-0-9\.]+)/);if(a)return b=b.substr(a[0].length),parseFloat(a[1]);throw Error("incorrect path");}function e(){var a=b.match(/^\s*([m|l|c])/i);return a?(b=b.substr(a[0].length),a[1].toLowerCase()):null}var g=uH(a),h=g.Ka().left,k=g.Ka().top;b=b.replace(/,/g," ");for(g=new SH;;){var l=e();if(!l)break;switch(l){case "m":g.moveTo(c());break;case "l":g.lineTo(d(),c());break;case "c":VH(g,d(),c(),c(),c())}}return g} ;function lI(a,b){this.Yf=a;this.Ye=b}v(lI,Zq);lI.prototype.sd=function(a,b){this.Ib(this.Ye,a,b)};lI.prototype.Ph=function(a,b){this.Ib(!this.Ye,a,b)};lI.prototype.Ib=function(a,b,c){b.zc.add(new ds(this.Yf,"visibility",new Gq(a,c)))};function nI(){}v(nI,tH);nI.prototype.Jg=function(a){var b=this.ga();return new lI(vH(this),a[b.Hf])};function TI(a,b){this.ZP=a;this.oD=b}TI.prototype.nd=function(a,b,c,d,e,g){return new Hq((this.oD-this.ZP)*b+this.ZP,d,g)};function UI(a){this.oD=a}UI.prototype.nd=function(a,b,c,d,e,g){a=DH(a,c,d,function(a){return Rq(a).shift()});return null===a?null:new Hq((this.oD-a)*b+a,d,g)};function VI(a,b,c){AH.call(this,a,b);this.ii=c}v(VI,AH);VI.prototype.Ib=function(a,b,c,d,e){(a=this.ii.nd(this,a,b,c,d,e))&&CH(this,b,"shiftX",a)};function WI(){}v(WI,xH);WI.prototype.Jg=function(a,b){var c=this.ga();if(c.from in a)var d=vH(this),e=b.duration(),c=new VI(d,e,new TI(a[c.from],a[c.Hf]));else d=vH(this),e=b.duration(),c=new VI(d,e,new UI(a[c.Hf]));return c};function XI(a,b){this.EU=a;this.lb=b}XI.prototype.nd=function(a,b,c,d,e,g){var h=this.lb;a=DH(a,c,d,function(a){return h==oq?Kq(a,oq,pq).Hb:Kq(a,qq,pq).Hb});return null===a?null:new pq((this.EU-a)*b+a,!0,d,g)};function YI(a,b){this.jp=a;this.WF=b}YI.prototype.nd=function(a,b,c,d,e,g){b=this.qf(b,d,g);this.jp&&e&&this.WF&&(a=this.qf(BH(a),d,g),b=b.add(a.Pp()));return b};function ZI(a,b){YI.call(this,!0,b);this.tU=a}v(ZI,YI);ZI.prototype.qf=function(a,b,c){return new pq(this.tU*a,!1,b,c)};function $I(a,b,c,d){YI.call(this,c,d);this.Wx=a;this.yA=b}v($I,YI);$I.prototype.qf=function(a,b,c){return new pq((this.yA-this.Wx)*a+this.Wx,!this.jp,b,c)};function aJ(a,b,c){YI.call(this,b,c);this.NX=a}v(aJ,YI);aJ.prototype.qf=function(a,b,c){return new pq(this.NX(a),!this.jp,b,c)};function bJ(a,b,c,d){AH.call(this,a,b);this.lb=c;this.ii=d}v(bJ,AH);bJ.prototype.Ib=function(a,b,c,d,e){(a=this.ii.nd(this,a,b,c,d,e))&&CH(this,b,this.lb,a)};function cJ(a){this.lb=a}v(cJ,xH);cJ.prototype.Jg=function(a,b){var c=this.ga();if(c.xl in a)var d=vH(this),e=b.duration(),g=!b.wg(),c=new bJ(d,e,this.lb,new ZI(a[c.xl],g));else if(c.fB in a)var d=vH(this),e=b.duration(),g=zH(a[c.fB]),h=!b.wg(),c=new bJ(d,e,this.lb,new aJ(g,w(a,c.GB,!1),h));else c.from in a?(d=vH(this),e=b.duration(),g=!b.wg(),c=new bJ(d,e,this.lb,new $I(a[c.from],a[c.Hf],w(a,c.GB,!1),g))):(d=vH(this),e=b.duration(),g=this.lb,c=new bJ(d,e,g,new XI(a[c.Hf],g)));return c}; function dJ(){this.lb=oq}v(dJ,cJ);function eJ(){this.lb=qq}v(eJ,cJ);function fJ(a,b,c){this.YP=a;this.kD=b;this.Wf=c}fJ.prototype.nd=function(a,b,c,d,e,g){return new zs((this.kD-this.YP)*b+this.YP,this.Wf,d,g)};function gJ(a,b){this.kD=a;this.Wf=b}gJ.prototype.nd=function(a,b,c,d,e,g){a=DH(a,c,d,function(a){return(a=Kq(a,"filter"))&&a instanceof zs?a.alpha():1});return null===a?null:new zs((this.kD-a)*b+a,this.Wf,d,g)};function hJ(a,b,c){AH.call(this,a,b);this.ii=c}v(hJ,AH);hJ.prototype.Ib=function(a,b,c,d,e){(a=this.ii.nd(this,a,b,c,d,e))&&CH(this,b,"filter",a)};function iJ(){}v(iJ,xH);iJ.prototype.Jg=function(a,b){var c=this.ga();if(c.xl in a)throw vH(this),b.duration(),this.level(),Error("not implemented");if(c.from in a)var d=vH(this),e=b.duration(),g=this.level(),c=new hJ(d,e,new fJ(a[c.from],a[c.Hf],g));else d=vH(this),e=b.duration(),g=this.level(),c=new hJ(d,e,new gJ(a[c.Hf],g));return c};function jJ(a,b){this.me=a;this.XF=b}jJ.prototype.qf=function(a,b,c){return new Eq(this.me*a,!1,b,c)};jJ.prototype.nd=function(a,b,c,d,e,g){b=this.qf(b,d,g);e&&this.XF&&(a=this.qf(BH(a),d,g),b=b.add(a.Pp()));return b};function kJ(a,b){this.rL=a;this.iZ=b}kJ.prototype.nd=function(a,b,c,d,e,g){return new Eq((this.iZ-this.rL)*b+this.rL,!0,d,g)};function lJ(a){this.me=a}lJ.prototype.nd=function(a,b,c,d,e,g){a=DH(a,c,d,function(a){return Lq(a).angle()+Mq(a).angle()});return null===a?null:new Eq((this.me-a)*b+a,!0,d,g)};function mJ(a,b,c,d){AH.call(this,a,b);this.lb=c;this.ii=d}v(mJ,AH);mJ.prototype.Ib=function(a,b,c,d,e){(a=this.ii.nd(this,a,b,c,d,e))&&CH(this,b,this.lb,a)};function nJ(){}v(nJ,xH);nJ.prototype.Jg=function(a,b){var c=this.ga();if(c.xl in a)var d=vH(this),e=b.duration(),g=!b.wg(),c=new mJ(d,e,"rotateBy",new jJ(a[c.xl]*Math.PI/180,g));else c.from in a?(d=vH(this),e=b.duration(),c=new mJ(d,e,"rotateTo",new kJ(a[c.from]*Math.PI/180,a[c.Hf]*Math.PI/180))):(d=vH(this),e=b.duration(),c=new mJ(d,e,"rotateTo",new lJ(a[c.Hf]*Math.PI/180)));return c};function oJ(a,b,c,d){AH.call(this,a,b);this.Fm=c;this.Wf=d}v(oJ,AH);oJ.prototype.Ib=function(a,b,c,d,e){e||CH(this,b,"filter",new ys(this.Fm,a,this.Wf,c,e))};function pJ(){}v(pJ,xH); pJ.prototype.Jg=function(a,b){var c;var d=this.ga().Fs;c={};c[d.SZ]="blinds";c[d.UZ]="box";c[d.XZ]="circle";c[d.g_]="diamond";c[d.y0]="plus";c[d.WZ]="checkerboard";c[d.k_]="dissolve";c[d.H0]="randombar";c[d.PZ]="barn";c[d.n1]="strips";c[d.B1]="wedge";c[d.F1]="wipe";c[d.D1]="wheelCw";c[d.C1]="wheelCcw";d=a[d];if(d in c)c=c[d];else throw Error("unknown mask type");var d=this.ga().ug,e=d in a?a[d]:null;if(null===e)d=e;else if(/[^0-9]/.test(e)){var g={};g[d.O_]=1;g[d.s1]=2;g[d["in"]]=4;g[d.t0]=8;g[d.t_]= 16;g[d.u_]=32;g[d.v_]=64;g[d.w_]=128;g[d.a0]=48;g[d.b0]=160;g[d.P0]=80;g[d.Q0]=192;g[d.P_]=5;g[d.Q_]=9;g[d.t1]=6;g[d.u1]=10;if(e in g)d=g[e];else throw Error("unknown mask sub type");}else d=parseInt(e,10);a:{d=d||null;for(e=0;eg&&(e-=360)}return[(e-g)*c+g,(b[1]-a[1])*c+a[1],(b[2]-a[2])*c+a[2]]};function tJ(a,b,c,d){this.Zc=a;this.eZ=b;this.lD=c;this.Rk=d}tJ.prototype.nd=function(a,b,c,d,e,g){return new dq(new eq(this.Zc,sJ(this.eZ,this.lD,b,this.Zc)),this.Rk,!0,d,g)};function uJ(a,b,c,d){this.Zc=a;this.Yh=b;this.Rk=c;this.XF=d}uJ.prototype.qf=function(a,b,c){return new dq(new eq(this.Zc,[this.Yh[0]*a,this.Yh[1]*a,this.Yh[2]*a]),this.Rk,!1,b,c)};uJ.prototype.nd=function(a,b,c,d,e,g){b=this.qf(b,d,g);e&&this.XF&&(a=this.qf(BH(a),d,g),b=b.add(a.Pp()));return b};function vJ(a,b,c,d){this.lb=a;this.Zc=b;this.lD=c;this.Rk=d}vJ.prototype.nd=function(a,b,c,d,e,g){var h=this.lb;a=DH(a,c,d,function(a){var b=null;switch(h){case "textColor":b=Kq(a,"textColor");break;case "strokeColor":b=Kq(a,"strokeColor");break;case "fillColor":b=Kq(a,"fillColor");break;case "imgColor":b=Kq(a,"imgColor")}return b?b.color():null});if(!a)return null;a=a.If(this.Zc);return new dq(new eq(this.Zc,sJ(a,this.lD,b,this.Zc)),this.Rk,!0,d,g)};function wJ(a,b,c,d){AH.call(this,a,b);this.lb=c;this.ii=d}v(wJ,AH);wJ.prototype.Ib=function(a,b,c,d,e){(a=this.ii.nd(this,a,b,c,d,e))&&CH(this,b,this.lb,a)};function xJ(){}v(xJ,xH);xJ.prototype.Jg=function(a,b){for(var c=this.ga(),c=yJ(this,a[c.target]),d=[],e=0;eu?u/(x+.001):1;x>q.fZ&&(q.Ci=u);q=u;u=new oH;A=!1;n=n[k.Bh];for(x=0;xe)e=fi(d).length;if(d.insertRule)d.insertRule(c,e);else if(c=/^([^\{]+)\{([^\{]+)\}/.exec(c),3==c.length)d.addRule(c[1],c[2],e);else throw Error("Your CSSRule appears to be ill-formatted.");++qK}}else a.gE=pe("link",{rel:"stylesheet",type:"text/css",href:b}),le("head",void 0,void 0)[0].appendChild(a.gE)};function sK(){};var tK;function uK(){}v(uK,sK);uK.prototype.An=function(){var a;a:{if(!this.PR&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c=a.Fk.length)a.Xf();else{var b=a.context(),c=a.Fk[a.rt];CK(a,c);c.start(b)}}EK.prototype.vr=function(a){EK.L.vr.call(this,a);FK(this)};function GK(a,b){BK.call(this,a,b)}v(GK,BK);GK.prototype.rD=!1;GK.prototype.start=function(a){GK.L.start.call(this,a);for(var b=0;b=b.charCodeAt(c)){c=!0;break a}c=!1}Hw(l,c?b.substr(0,1):"0",k,h)}this.rl()}else this.Xf()};f.jW=function(){++this.Kx;this.rl()};f.iW=function(){++this.Kx;this.rl()};f.rl=function(){this.Kx==this.Jx?this.Xf():this.op(this.Kx/this.Jx)};function bL(a,b){this.J=a;this.RT=b||"";this.gn=new I;this.UY=new I;this.hl=[];this.mM={};this.Tb=!0;this.kM=H?[0,1,2,-1,3,4,-2,5]:[0,1,2,-1,3,4,-2,5,6,7,8,9,10];for(var c=a.U(),d=c.count(),e=0;ethis.gZ-this.Fb.currentTime()&&this.sP()};function jL(a,b){var c=a.Fb,d=kL(a);if(!d&&!a.GF){a.GF=!0;var e=t(a.tZ,a);setTimeout(e,300);Pg&&(a.TG=setInterval(e,1E3))}!b||c.ss()&&d||a.Ap||(a.Ap=!0,Ro(a.ya,!0,a),c.gj.addHandler(a.TE,a))}f.tZ=function(){lL(this);this.Fb.ready()?clearInterval(this.TG):this.Fb.load()}; f.TE=function(){Pg&&1==this.Fb.duration()?this.nK=setInterval(t(this.$T,this),200):mL(this)};f.$T=function(){1!=this.Fb.duration()&&mL(this)};function mL(a){a.GF=!1;clearInterval(a.TG);clearInterval(a.nK);a.Ap&&(a.Ap=!1,a.Fb.gj.removeHandler(a.TE,a),Ro(a.ya,!1,a))}f.activate=function(){uu(this.Ev,"activated");this.Fb.Sb().addHandler(this.uN,this)};f.deactivate=function(){uu(this.Ev,"deactivated");this.Fb.Sb().removeHandler(this.uN,this);this.Yc&&(this.Yc=!1,Ro(this.ya,!1,this));this.kb=!1;this.Fb.pause()}; f.Xp=function(a,b,c){if(!this.Yc||b)if(Hh)this.Fb.seek(a);else{lL(this);var d=this.Fb,e=a-d.currentTime(),g=b?.01:.5;e>g&&!b&&!this.Yc&&!c?this.nA(a):Math.abs(e)>g&&d.iB(a);this.kb&&!this.Fb.playing()&&this.Fb.play()}};f.play=function(a){this.kb||this.Ap||(this.Xp(a,!this.Fb.playing()),this.kb=!0,this.Fb.play())};f.pause=function(){this.kb&&(this.kb=!1,this.Yc||this.wh||this.Fb.pause())}; f.uN=function(){var a=!1;this.Fb.state()==nL&&(a=!0);this.Yc!=a&&(this.Yc=a,uu(this.Ev,a?"buffering":"activated"),Ro(this.ya,a,this),a||this.kb||this.Fb.pause(),this.Ed.F())};f.WG=function(){this.Fb.lf(this.qO)};function lL(a){kL(a)||a.WG();a.Ap&&a.Fb.ss()&&a.TE()}function kL(a){var b=a.Fb.src();a=a.qO;if(b)for(var c=0;cc.x||c.x>a.Ii.width()||0>c.y)return!1;c=$e(b,a.Je.displayObject());return!(c.y>a.Je.height())}f.uu=function(a){this.Jo=!0;z(document,Tj,this.ur,!1,this);z(document,Sj,this.kz,!1,this);this.H.playing()&&(this.H.pause(),this.Zo=!0);this.ur(a);a.preventDefault()};f.ur=function(a){this.H.seek(wL(this,a)*this.H.duration())}; f.kz=function(a){bd(document,Tj,this.ur,!1,this);bd(document,Sj,this.kz,!1,this);this.ur(a);this.Zo&&(this.H.play(),this.Zo=!1);this.Jo=!1;this.oM.F()};function wL(a,b){var c=a.gb.width()-2,d=$e(b,a.CF.I).x/a.PF*a.W,c=Math.min(1,d/c);return c=Math.max(0,c)}function xL(a){function b(a){a=a.toString();1==a.length&&(a="0"+a);return a}a=Math.round(a);var c=Math.floor(a/3600);a%=3600;return b(c)+":"+b(Math.floor(a/60))+":"+b(a%60)} function vL(a,b){K.call(this,"bookmark");this.mt=b;this.H=a;this.N(!1);a.duration()?AL(this):a.DM.addHandler(function(){AL(this)},this);z(this.displayObject(),Rj,this.wW,!1,this)}v(vL,K);function AL(a){a.displayObject().style.left=a.mt.time()/a.H.duration()*100+"%";a.N(!0)}vL.prototype.wW=function(a){a.stopPropagation();this.H.seek(this.mt.time());return Li(this.displayObject().parentNode)};var nL="buffering";function BL(a){this.qh=a;z(a,"play",this.NE,!1,this);z(a,"playing",this.qr,!1,this);z(a,"pause",this.qr,!1,this);z(a,"seeking",this.PE,!1,this);z(a,"ended",this.qr,!1,this);z(a,"waiting",this.qr,!1,this);z(a,"timeupdate",this.rr,!1,this);z(a,"progress",this.pN,!1,this);z(a,"loadeddata",this.pN,!1,this);z(a,"canplaythrough",this.Zy,!1,this);CL(this)||z(a,"loadedmetadata",this.vW,!1,this);(this.kg=a.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA)||ad(a,"canplay",this.OE,!1,this);this.Bi=new I;this.DM= new I;this.Rc=new I;this.iM=new I;this.np=new I;this.WQ=new I;this.wE=new I;this.gj=new I;this.Tm=new I;this.IX=new I;this.li()}var DL=new I;f=BL.prototype;f.Qa="paused";f.kg=!1;f.kb=!1;f.$o=!1;f.Yc=!1;f.Kr=-1;f.zk=-1;f.FK=0;f.ot=-1;f.$C=0;function Y(a){if(!a.qh)throw Error("media player was disposed");return a.qh}f.state=function(){return this.Qa};function EL(a){var b=Y(a);return Tg||!a.rg()?!a.kb:b.paused} f.li=function(){var a;a=(a=this.qh)?a.error?"error":a.ended?"ended":EL(this)?"paused":this.Yc?nL:"playing":"disposed";var b=this.Qa;b!=a&&(this.Qa=a,this.Bi.F(this,b))};function FL(a){return!!a.qh&&!a.qh.error&&p(a.qh.play)}function CL(a){return FL(a)&&Y(a).readyState>=HTMLMediaElement.HAVE_METADATA}f.ready=function(){return FL(this)&&this.kg}; f.Qt=function(){var a=this.fm,b=Y(this).getAttribute("preload"),b=b&&"metadata"!=b?Xf?HTMLMediaElement.HAVE_CURRENT_DATA:HTMLMediaElement.HAVE_FUTURE_DATA:HTMLMediaElement.HAVE_METADATA;Xf&&Y(this).readyState>=HTMLMediaElement.HAVE_CURRENT_DATA&&!this.kg?this.OE():(this.fm=this.kg&&FL(this)&&Y(this).readyState>=b,this.fm||!H||1!=Y(this).networkState||1!=this.kV||Fh||(this.fm=!0,this.IX.F(this)),this.fm||this.Vq?this.fm&&(clearInterval(this.Vq),this.Vq=void 0):this.Vq=setInterval(t(this.Qt,this),2E3), !a&&this.fm&&this.gj.F(this),this.kV=Y(this).networkState)};f.ss=function(){this.Qt();return this.fm};f.Zy=function(){this.Qt()};f.playing=function(){return this.kb}; f.play=function(){if(FL(this)){this.kb=!0;Tg&&"VIDEO"==Y(this).tagName&&this.src()&&!Y(this).src&&(Y(this).src=this.src());var a=Y(this).play();a&&a["catch"](function(a){return window.console.log(a)});if(qh){var b=Y(this).currentTime,c=0;clearInterval(this.Bx);this.Bx=setInterval(t(function(){++c;Y(this).currentTimea.ot&&(a.ot=setInterval(t(a.ZT,a),500))}function IL(a){0=d&&e>=Math.min(this.currentTime()+5,this.duration())){c= !1;Y(this).paused&&Y(this).play();break}}this.Yc!=c&&(this.Yc=c,this.li())}};f.Cl=function(a){Y(this).controls=a};f.rg=function(){return Y(this).controls||Yf&&!Fh}; f.lf=function(a){if(this.qh&&this.qh.play){if(!xa(a))a:{va(a)||(a=[a]);for(var b=0;bHa()-this.Yt;this.playing()||a||(this.HD=!0,a=Y(this),a.play(),a.pause())}};function KL(a){BL.call(this,a);Tg&&DL.addHandler(this.AW,this)}v(KL,BL);KL.prototype.AW=function(a){this.playing()&&a instanceof JL&&this.play()};KL.prototype.videoWidth=function(){return CL(this)?Y(this).videoWidth:0};KL.prototype.videoHeight=function(){return CL(this)?Y(this).videoHeight:0};function LL(a){ML(this,a);this.Bi=new I;this.Rc=new I;this.Ed=new I;this.np=new I;this.xp=new I;this.gj=new I;this.Rl=new I}f=LL.prototype;f.Sa=!1;f.kb=!1;f.Yt=-1;function ML(a,b){if(a.H!==b){var c=1,d=!1;a.H&&(d=a.H,d.Sb().removeHandler(a.jz,a),d.Rc.removeHandler(a.CN,a),d.np.removeHandler(a.DN,a),d.gj.removeHandler(a.Zy,a),c=d.volume(),d=d.muted());a.H=b;b.Sb().addHandler(a.jz,a);b.Rc.addHandler(a.CN,a);b.np.addHandler(a.DN,a);b.gj.addHandler(a.Zy,a);b.setVolume(c);b.ie(d)}} f.activate=function(){this.Sa||(this.Sa=!0,this.Rl.F(this,!0))};f.deactivate=function(){this.Sa&&(this.Sa=!1,this.Rl.F(this,!1))};f.state=function(){return this.H.state()};f.yw=function(){return this.H.yw()};f.ready=function(){return this.H.ready()};f.playing=function(){return this.H.playing()};f.hc=function(){return this.H.state()==nL};f.ss=function(){return this.H.ss()};f.load=function(){var a=Y(this.H);ic||kh||qh&&!rh?(a.play(),a.pause()):a.load()};f.play=function(){this.kb=!0;this.H.play()}; f.fk=function(a){this.kb=!0;NL(this);this.H.fk(a)};f.pause=function(){this.kb=!1;this.H.pause()};f.stop=function(){this.kb=!1;NL(this);this.H.stop()};f.seek=function(a){NL(this);this.H.seek(a)};f.iB=function(a){NL(this);this.H.iB(a)};f.currentTime=function(){return this.H.currentTime()};f.duration=function(){return this.H.duration()};f.volume=function(){return this.H.volume()};f.setVolume=function(a){this.H.setVolume(a)};f.muted=function(){return this.H.muted()};f.ie=function(a){this.H.ie(a)}; f.Cl=function(a){this.H.Cl(a)};f.rg=function(){return this.H.rg()};f.Sb=function(){return this.Bi};f.CB=function(){return this.Rc};f.jz=function(a,b){this.Bi.F(this,b);var c=a.state();(this.kb&&"paused"==c||!this.kb&&"playing"==c)&&this.xp.F(this,this.kb?"pause":"play");this.kb=a.playing();c!=nL&&b!=nL||this.Ed.F(this)};f.CN=function(){this.Rc.F(this)};function NL(a){a.Yt=Ha();a.mP=!0}f.DN=function(){this.np.F(this);500=Fj(e.sg(),b)||0=b&&c.push(e)}return c}function dM(a,b,c){c=eM(a,c);var d=eM(a,b.Bb());a=eM(a,b.sg())-d;return hd(c-d,0,a)}function eM(a,b){return a.O.fe(b,!0,!1)} f.Xp=function(){if(this.Sa)for(var a=this.R.timestamp(),b=this.mq,c=0;c"),e=a.video().Pk;e&&d.Os(e,!0);return new oL(a,d,b,c,a.video().Pk)};function gM(a,b,c,d,e){var g=Yf?10>oh:!1,g=Hh?new XL:new OL(g?"":"");ZL.call(this,a,b,c,d,H?new pL(g):new fM);this.Aa=new YL(g);this.wc=g;this.Ad=e;this.Ad.Vp().addHandler(this.Kj,this);this.Kj();this.uO=new K;this.uO.Ef(0);document.body.appendChild(this.uO.displayObject())}v(gM,ZL);gM.prototype.activate=function(){if(Ih){var a=Y(this.wc.H);a.src=Og();a.play();a.pause()}gM.L.activate.call(this)};gM.prototype.view=function(){return this.Aa}; gM.prototype.view=gM.prototype.view;gM.prototype.EF=function(a){gM.L.EF.call(this,a);H&&(clearTimeout(this.PX),a.length&&(this.PX=Ng(function(){var b=a[0].video().Pk;b&&$L(this,a[0]).wc.Os(b)},this,500)))};gM.prototype.Kj=function(){this.wc.setVolume(this.Ad.Up())};gM.prototype.ft=function(a){gM.L.ft.call(this,a);H||(this.wc=$L(this,a).wc,this.Aa.SS(this.wc),this.Kj())};function hM(){}f=hM.prototype;f.Hn=function(){};f.uR=function(){return!0};f.vR=function(){return!0};f.SI=function(){};f.sR=function(){return!0};f.tR=function(){return!0};var iM,jM=!1;r("onYouTubePlayerAPIReady",function(){jM=!0;var a=iM;kM(a)&&a.fb(a.R);iM=null},void 0);var lM=!1;function mM(a){var b=B("SCRIPT");z(b,"load",function(){lM=!0;kM(a)&&a.fb(a.R)});var c=window.location.toString().match($G)[1]||null;b.src="https"==c?"https://players.youku.com/jsapi":"http://player.youku.com/jsapi";document.body.appendChild(b)};function nM(a,b){this.H=null;this.Dk=!1;this.nb=a;this.Aj=b;this.Tm=new I;this.$b=B("DIV");a.displayObject().appendChild(this.$b);hf(this.$b,this.sf);this.We(a)}f=nM.prototype;f.Dk=!1;f.sf=!1;f.wI=function(){this.Dk=!0;this.Za(this.nb);this.kv(this.sf);this.Tm.F(this)};f.q0=function(){};f.r0=function(){};f.p0=function(){};f.kg=function(){return this.Dk&&null!=this.H};f.$=function(){return this.kg()?this.H.getIframe():null};f.stop=function(){if(this.kg())try{this.H.stopVideo()}catch(a){}}; f.visible=function(){return this.sf};f.Za=function(a){this.We(a);var b=this.$();if(b){var c=a.scale();a=c*this.Aj.width();c*=this.Aj.height();bf(b,a,c)}};f.We=function(a){var b=this.Aj.id();a=a.position(b,1);Ve(this.$b,a.x,a.y)};f.TB=function(a){this.sf!=a&&(this.sf=a,this.kv(a))}; f.kv=function(a){if(a){if(!this.H){var b=this.$b,c=this.nb.scale(),d=this.Aj,c={width:c*d.width(),height:c*d.height(),videoId:d.Xh(),playerVars:{controls:1,loop:0,enablejsapi:1,autohide:2,autoplay:0,showinfo:1,rel:0},events:{onReady:t(this.wI,this),onPlaybackQualityChange:t(this.q0,this),onStateChange:t(this.r0,this),onError:t(this.p0,this)}},d="_"+d.id(),e=B("DIV");e.setAttribute("id",d);b.appendChild(e);this.H=new YT.Player(d,c);this.Za(this.nb)}}else ve(this.$b),this.H=null,this.Dk=!1;hf(this.$b, a)};f.readyEvent=function(){return this.Tm};function oM(a,b){this.H=null;this.Dk=!1;this.nb=a;this.Aj=b;this.Tm=new I;this.$b=B("DIV");a.displayObject().appendChild(this.$b);hf(this.$b,this.sf);this.We(a)}f=oM.prototype;f.Dk=!1;f.sf=!1;f.wI=function(){this.Dk=!0;this.Za(this.nb);this.kv(this.sf);this.Tm.F(this)};f.o0=function(){};f.n0=function(){};f.kg=function(){return this.Dk&&null!=this.H};f.stop=function(){if(this.kg())try{this.H.pauseVideo()}catch(a){}};f.visible=function(){return this.sf}; f.Za=function(a){this.We(a);if(this.kg()){var b=this.$,c=a.scale();a=c*this.Aj.width();c*=this.Aj.height();bf(b,a,c)}};f.We=function(a){a=a.position(this.Aj.id(),1);Ve(this.$b,a.x,a.y)};f.TB=function(a){this.sf!=a&&(this.sf=a,this.kv(a))}; f.kv=function(a){if(a){if(!this.H){var b=this.$b,c=this.nb.scale(),d=this.Aj,e={styleid:"0",client_id:d.vH(),vid:d.Xh(),autoplay:!1,show_related:!1,events:{onPlayerReady:t(this.wI,this),onPlayStart:t(this.o0,this),onPlayEnd:t(this.n0,this)}},g="_"+d.id(),h=B("DIV");h.setAttribute("id",g);var k=c*d.width(),c=c*d.height();bf(h,k,c);C(h,"background","#494949");k=B("DIV");C(k,"position","absolute");C(k,"top","50%");C(k,"left","50%");C(k,"transform","translate(-50%, -50%)");h.appendChild(k);c=B("DIV"); si(c,"preloader");C(c,"position","relative");k.appendChild(c);c=B("DIV");De(c,"\u8bf7\u7a0d\u540e");C(c,"position","relative");C(c,"font-family",'Tahoma, Arial, Helvetica, "Microsoft YaHei New", "Microsoft Yahei", "\u5fae\u8f6f\u96c5\u9ed1", \u5b8b\u4f53, SimSun, STXihei, "\u534e\u6587\u7ec6\u9ed1", sans-serif');C(c,"font-weight","lighter");C(c,"font-size","32px");C(c,"color","white");C(c,"text-align","center");C(c,"margin-top","12px");k.appendChild(c);b.appendChild(h);this.$=h;this.H=new YKU.Player(g, e);this.Za(this.nb)}}else ve(this.$b),this.H=null,this.Dk=!1;hf(this.$b,a)};f.readyEvent=function(){return this.Tm};function pM(a,b,c){this.ob={};this.nb=a;this.O=c;this.R=b;a.Sd.addHandler(this.vu,this);b.Cb().addHandler(this.fb,this)}f=pM.prototype;f.V=-1;f.gR=!1;f.fR=!1;function qM(a,b,c){var d=0;if(0>b||b>=a.O.count())return d;a=a.O.ka(b);if(a instanceof zr)for(a=a.Ct,b=0;bb||b>=a.O.count())&&(b=a.O.ka(b),b instanceof zr)){b=b.Ct;for(var d=0;d=Fj(b,wn(e.CI).Bb()),e.rJ(g))}}} vM.prototype.pr=function(){this.R.le()&&this.zE&&(wM(this),this.zE=!1)};vM.prototype.KL=function(a){for(var b=this.O,c=a.Nc(),d=0;d=c.na()&&0==c.Da()?!HM(a)&&!IM(a):!0}function HM(a){return 0=b&&(this.H.seek(0),this.H.play(),a=!1)}a&&(this.xj(),this.H.deactivate())}}; f.Km=function(){this.Ed.F(this);!this.hc()&&this.playing()&&this.Di&&this.H.pause()};f.NS=function(){this.Di=!1;this.H.play()};f.MS=function(){this.Di=!0;this.hc()||this.H.pause()};f.xj=function(){this.yd&&(this.yd=!1,this.Vu(),this.zj.F(this))};f.Si=function(){return this.zj};function NM(a){this.J=a;this.ob=[];this.rO={}}f=NM.prototype;f.ya=null;f.QC=!1;f.Cx=null;f.dJ=function(a,b){this.ya=b;this.QC=a.le();a.Sb().addHandler(this.pr,this)};f.add=function(a,b){b=b||OM;if(!Hb(this.ob,a)){this.ob.push(a);var c=Ba(a)+"";this.rO[c]=b;a.Si().addHandler(this.tN,this);a.Ed.addHandler(this.sN,this)}};f.remove=function(a){Ib(this.ob,a);Ro(this.ya,!1,a);a.Si().removeHandler(this.tN,this);a.Ed.removeHandler(this.sN,this)};f.contains=function(a){return Hb(this.ob,a)}; function Zv(a){a=Mb(a.ob);for(var b=0;b=Math.abs(c.Da()-b.Da())));c&&(this.Cx=b,c=(b=QM(this,a.timestamp()))&&RM(this,a.timestamp()),PM(this,a,b,c,!0))};function QM(a,b){var c=a.J.U().ka(b.P());if(0>b.na())return!1;c=c.Ja().Yb(b.na());return b.Da()>=c.duration()}function RM(a,b){var c=a.J.U().ka(b.P());return b.na()==c.Ja().count()-1}f.tN=function(a){this.remove(a)};f.sN=function(a){Ro(this.ya,a.hc(),a)}; function SM(a){this.yB=!1;this.v0=a}var OM=new SM(!1),TM=new SM(!0),UM=new SM(!0);function VM(a,b,c,d){this.O=a;this.R=b;this.Pd=c;this.H=d;this.zj=new I;this.Ed=new I;this.H.Sb().addHandler(this.fz,this);this.H.np.addHandler(this.UO,this)}f=VM.prototype;f.Xd=null;f.Cz=0;f.Gj=null;f.yd=!1;f.Di=!1;f.xG=!1;f.activate=function(){this.Sa=!0;this.H.Sa||this.H.activate()};f.deactivate=function(){this.H.playing()||this.H.deactivate();this.Sa=!1};f.playing=function(){return this.H.playing()};f.hc=function(){return this.yd&&(this.H.hc()||!this.H.ss())}; f.play=function(a){this.Hl(this.R.timestamp(),p(a)?a:null,!1)};function WM(a,b){var c=a.H;if(H&&c instanceof LL){var d=c.H,e=d.src();d.lf(Og());d.play();setTimeout(function(){d.lf(e);a.Hl(b,0,!0)},0)}else a.Hl(b,0,!0)} f.Hl=function(a,b,c){this.Vu();var d=this.H;this.R.Cb().addHandler(this.fb,this);d.Ed.addHandler(this.Km,this);d.gj.addHandler(this.Km,this);d.xp.addHandler(this.UN,this);this.yd=!0;this.Di=!1;this.xG=c;this.Xd=a;this.Gj=null!=b?b:null;if(this.xG){var e=this;a=function(){XM(e,!0);d.play();e.Km()};ih&&!H?setTimeout(a,150):(kh&&d.lf(d.src()),a())}else null!=b?d.fk(b):d.play()};f.pause=function(){this.xj();this.H.pause();YM(this)}; f.stop=function(a){this.xj();this.H.pause();var b=this.Pd instanceof ED&&this.Pd.JB();a=a||b?0:this.H.duration();this.H.seek(a);YM(this);ZM(this)};f.Vu=function(){this.R.Cb().removeHandler(this.fb,this);this.H.Ed.removeHandler(this.Km,this);this.H.gj.removeHandler(this.Km,this);this.H.xp.removeHandler(this.UN,this)}; f.fb=function(){if(this.Xd){var a=this.Xd,b=this.R.timestamp(),c=b.P()-a.P(),d=0==c,a=d?b.na()-a.na():0,d=d&&0==a;0>c||0>a?c=!0:(a=this.Pd.Ng,c=0>a?!d:c>a);c&&(this.xj(),this.H.pause(),YM(this))}}; f.fz=function(){var a=this.H.state();if("ended"==a){++this.Cz;var b=!1,c=this.Pd.Bj;if(ya(c))b=this.Cze?a.nA(g):c.seek(g)}} f.nA=function(a){this.wh||this.hc()||(this.wh=!0,So(this.R,!0,this),this.H.Rc.addHandler(function c(){.1>a-this.H.currentTime()&&(this.H.Rc.removeHandler(c,this),$M(this))},this))};function $M(a){a.wh&&(a.wh=!1,So(a.R,!1,a))}f.tr=function(){this.ll=this.R.timestamp();this.R.Cb().addHandler(this.qK,this);this.R.Sb().addHandler(this.pK,this);if(this.Pd instanceof ED){var a=this.H;a.show(!0);this.Pd.BI()&&a.Ms(!0);a.Rs(!1)}}; function ZM(a){a.ll=void 0;a.R.Cb().removeHandler(a.qK,a);a.R.Sb().removeHandler(a.pK,a);a.hy=!1;a.$L="ended";if(a.Pd instanceof ED){var b=a.H;a.Pd.JB()&&b.stop();b.Ms(!1);a.Pd.bI()&&b.show(!1)}a.Ed.F(a);$M(a)}f.pK=function(){var a;if(a=this.yd)a:if(this.R.suspended()){a=this.R.timestamp();if(0a||1b||b>(this.qg?this.qg.length:0))throw Error("Child component index out of bounds");this.Oj&&this.qg||(this.Oj={},this.qg=[]);if(a.getParent()==this){var d=LN(a);this.Oj[d]=a;Ib(this.qg,a)}else xb(this.Oj,LN(a),a);MN(a,this);Ob(this.qg,b,0,a);a.Cf&&this.Cf&&a.getParent()==this?(c=this.oc,b=c.childNodes[b]||null,b!=a.Fh()&&c.insertBefore(a.Fh(),b)):c?(this.oc||this.ew(),b=this.qg?this.qg[b+1]||null:null,NN(a, this.oc,b?b.oc:null)):this.Cf&&!a.Cf&&a.oc&&a.oc.parentNode&&1==a.oc.parentNode.nodeType&&a.iw()};f.UR=function(){null==this.Ll&&(this.Ll=jf(this.Cf?this.oc:this.bB.ic.body));return this.Ll};function ON(a,b){a.qg&&y(a.qg,b,void 0)}f.removeChild=function(a,b){if(a){var c=xa(a)?a:LN(a);a=this.Oj&&c?w(this.Oj,c)||null:null;if(c&&a){var d=this.Oj;c in d&&delete d[c];Ib(this.qg,a);b&&(PN(a),a.oc&&xe(a.oc));MN(a,null)}}if(!a)throw Error("Child is not in parent component");return a};var QN=["classid","data","movie","type","typemustmatch"];function RN(a,b){function c(a,b){for(var c in a)for(var d=c.toLowerCase(),e=0;ea/$N.width||1>b)&&C(d,"backgroundSize", "contain")}};f.Jh=function(){if(this.Ye)if(this.Ye=!1,this.kL)this.nb.Sd.removeHandler(this.oN,this),this.Nq.Ab(),this.Nq=null;else{var a=YN(this);if(a){var b=ZN();ui(a,b);ve(a)}}};function XN(a){var b=a.nb.scale(),c=a.sm;a.Nq.setSize(c.width()*b,c.height()*b)}function WN(a){var b=document.getElementById(a.sm.Pj()),c=a.nb.scale(),d=Ei(b);if(d)var e=d.qd,b=d.rd;else e=parseFloat(Te(b,"left")),b=parseFloat(Te(b,"top"));Ve(a.Nq.Fh(),e*c,b*c)}f.oN=function(){WN(this);XN(this)}; function YN(a){if(a.Vx)return a.Vx;a.Vx=ke(document,a.sm.Pj());return a.Vx}var $N=new rd(74,89); function ZN(){if(p(VN))return VN;var a="_sf"+db();VN=a;gi("."+a+" {background: #A42222;}."+a+" div {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABZCAYAAACZkrJEAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTAw9HKhAAAFA0lEQVR4Xu3c21MTVxwHcP/B+iwyPimoT46WPulY6INDR3mwdhTojJeOgC1MMZHhoha85EJIMCg1CTXQJEsokJCEJJgbyc/fiW5nJ2NjCL/dPecYZ74zIYa9fPZ7zh4Y3SNHWn9aAi0BYoGZM2dhGuMd/OW/bHgW4a+RESDelVibc/T0QPDRI0hHo1CpVP43UY/n64Kabj8By9iWnUCgLkwt2lcD5er5ARIHxNFiSQ9l7/oO8ru7B2rP54ag1FBbOK/Um3cO8ndSQoVwcj4IQiOflQrKicMs+4W7VyMoUg89/+AgtqisW6Iet/jLg5AVh1oZkXRM1C04VNKP6yEdgdRtCw0Vw6tsBBLbh7BQYQOGm/YiCAm1OjRsWJOEHXoLuASolPcNT9S9INZdr5BKGo7ELoxQUBuzs6Ygxfx+eDM0JEajvN09UNnHIadj0ooCrwYGYPL0GTFQPverv0ISh5xOSO8sVpgSGUcFqw45HZDCuF1re7u47dE2ynH6rC5Itu5uOYBUrKwSQagSWfLJBEzI0iIVaflaHxmQim2XrUkMq4BXn7JNUiIF8DZNiRS0WOSak9Rhl08koFwqkSTu88mJFOgfIAFi0DkEnzguyRKgdoFJ2aa5b7vkbNOr77uxTUWSxH1v5URizcpEwiRIDFvaIUfZJt/9+/K2advlImlTLrEjLxIbdlRz01J/v7xQoYcWKBdxEj9kcjuStymPJ3hYpGa/fx2HvBD//M3DlgTFgmlZd82LAbWFB9qCaqDTZiKxfQvRqKWr10xtkzBQmXDIdChFhDnK7GHH9s891D/jD6FcwLudyVHmOb/r5eJxRMqbHmXeye/ywMsmcQ6Q2DFwDZUO4STegqq/eLJd6OIGietGbeLkyUubuIbiCYkdS4THyXy1uiQw/06nPQYuofbzOeAtYaeDr+VBcHycDGnx1i1g8WjixtfaLODXalz4Ws08vq7m5k1wYmYuX+YLiqpJKwjewC8lxPxIcPwPbNN7kvx29Ki8UPs5RCLIuoOz+YSytxt4chRIbBsTnZ1ytukJnhgVktRtSq2tQim3R5I53u5OVMPu7a/3oPQekQiSRHCq4+JqO49xyFEAqduQtk1725sIlSWJ4rDJ2abUWpAESIW2ynin2369BKU9bBJRInYJ27T92otAGdIMfSPRKtzadhy2EKmISJTx3rsrz9z09Px5yG7+C8UsIhEmg9vk6jbe7MFMdXSCYrOR4mihJ/ECNHtsXHwfa5Bie4lAad0Sxu1zcbKNHMQYTqJTHR3VOH/shcDYKA6xDd1wVPgM7qOR4+PiM8UMtsWkvOjtFQlqF6GMT/jlC3GQqv/9C5GMTvzdilhIZkE9aGsTECqNjTIwjy9dEg+p2qh0CqGMifPnG2IiGQm1eOeOuEhGQTluCNwkdRFX2E2CXklHFZi5eFHsJukNFV/xw/CxY3IgMaw8Noo67tu36wKN4rNRnPjkQzUz+NCa3/E9FvUCPsDXLFz8+PIRKoFQNIlhi0ZPnWr45BTNU54dCBfRfO0ZHgE7vscPVAqRDplYwA/TTcxFWhiGwnBUmElsmU0WqLXnz5oCUjFqG8Te/7OvD9yfwJbxIYAcNWoHG9V41j0LMHvlCskJ1DaKofw99wxUoDBPD2CvhxQL+GDt+RzYf7oOlnPnSHC0DdFCqcPsKT7MhoV9jiuosZMngWW0JtxUvnUgLQGpBD4AN9FCi/luT4wAAAAASUVORK5CYII=) no-repeat;background-position: center;}");return a} ;function aO(a,b,c,d){this.Z=a;this.nb=b;this.R=c;this.O=d;this.wD=[];c.Cb().addHandler(this.fb,this)}aO.prototype.V=-1;aO.prototype.fb=function(){var a=this.R.timestamp(),b=a.P();if(b!=this.V){if(0<=this.V){var c=this.O.ka(this.V);c instanceof zr&&bO(this,c,-1)}this.V=b}if(0<=b&&(c=this.O.ka(b),c instanceof zr)){var b=c,d=a.na(),a=0>d?-1:b.Ja().Yb(d).startTime()+a.Da();bO(this,c,a)}}; function bO(a,b,c){b=b.iD;for(var d=0;de||e>=b.count())throw Error("index is out of range");var e=b.Et[e],g=a,h=Ba(e)+"";h in g.wD||(g.wD[h]=new UN(e,g.Z,g.nb));g=g.wD[h];c>=e.Da()?g.show():g.Jh()}};function cO(a,b,c){this.$=null;this.tl=b;this.yF=c;b.fw()&&(this.$b=B("DIV"),a.displayObject().appendChild(this.$b),this.$b.style.overflow="hidden",Tg&&(this.$b.style["-webkit-overflow-scrolling"]="touch",this.$b.style.overflow="auto"),a=B("IFRAME"),a.setAttribute("src",this.tl.url()),a.style.border=0,a.style.backgroundColor="#ffffff",a.setAttribute("webkitallowfullscreen",""),a.setAttribute("mozallowfullscreen",""),a.setAttribute("allowfullscreen",""),this.$=a)}f=cO.prototype;f.sf=!1; f.Za=function(a){var b=this.tl;if(this.$&&this.$b&&b.fw()){var c=a.scale(),d=c*b.width(),c=c*b.height();a=a.position(b.id(),1);bf(this.$b,d,c);Ve(this.$b,a.x,a.y);bf(this.$,d,c)}};f.visible=function(){return this.sf}; f.TB=function(a){if(this.sf!=a)if(this.sf=a,this.tl.fw()){if(a){this.$b.appendChild(this.$);try{this.$.contentWindow.ispringPresentationPlayer=this.yF}catch(d){}}else ve(this.$b);hf(this.$b,a)}else if(a){if(!this.$){a=this.tl;var b={resizable:!0,statusbar:!1,toolbar:!1,location:!1,scrollbars:!1,menubar:!1},c=this.tl.width()||this.tl.height();a.SH()?(b.width=screen.availWidth,b.height=screen.availHeight,b.top=0,b.left=0):c&&(b.width=Math.max(this.tl.width(),100),b.height=Math.max(this.tl.height(), 100));this.$=mg?this.gF(a.url()):Mg(a.url(),b)}}else{if(this.$)try{this.$.close()}catch(d){}this.$=null}};f.gF=function(a){(new lg("openWindow",[a])).Gp();return null};function dO(a,b,c,d){this.ob={};this.yF=d;this.nb=a;this.O=c;b.Cb().addHandler(this.fb,this);a.Sd.addHandler(this.vu,this)}f=dO.prototype;f.V=-1;f.fb=function(a){a=a.timestamp();this.V!=a.P()&&eO(this,this.V,-1);this.V=a.P();-1!=a.na()&&(a=this.qG(a),eO(this,this.V,a))};f.H=function(a){var b=a.id();this.ob[b]||(this.ob[b]=new cO(this.nb,a,this.yF));return this.ob[b]};f.vu=function(){var a=this;fO(this,this.V,function(b){b.Za(a.nb)})}; function eO(a,b,c){a.mG(b);fO(a,a.V,function(b){var d=b.tl.timeout()<=c;d&&(b.visible()||b.Za(a.nb));b.TB(d)})}f.ul=function(a){return this.cA(a)&&(a=this.O.ka(a),a instanceof zr)?a.hx():null};f.mG=function(a){return this.cA(a)?this.O.ka(a).Ja().duration():-1};f.qG=function(a){var b=a.na(),c=a.P();return this.O.ka(c).Ja().Yb(b).startTime()+a.Da()};f.cA=function(a){return 0<=a&&ag||g>=b.count()?null:b.ul[g])g=a.H(g),c(g)}};function gO(a,b,c,d){this.Wt=a;this.O=b;this.Ad=c;this.Gt=d;a=!H;this.hV!=a&&((this.hV=a)&&this.Wt.enabled()?(z(document,"keydown",this.Jd,!1,this),z(document,"keyup",this.mN,!1,this)):(bd(document,"keydown",this.Jd,!1,this),bd(document,"keyup",this.mN,!1,this)))}f=gO.prototype;f.B=null;f.tv=-1;f.Zo=!1;f.Lw=function(a){this.B=a}; f.Jd=function(a){var b;a:{b=this.Wt.actions();for(var c=0;cc.ja())){var d=c.X(),e=a.O;0>a.tv&&(a.tv=Ha(),a.Zo=d.le(),c.pause());var g=(1+(Ha()-a.tv)/1E3)*(b?1:-1),d=d.timestamp(),h=e.fe(d,!1,!0),e=e.Dh(hd(h+g,0,e.Xn()),!1,!0);e.P()>d.P()?1==c.Uc().pS()?c.od(!1):Bp(c.Uc()):e.P()b.Ee();c.Ml()||e?!d&&e?Zv(a.Ea.Hk):"bySlides"==a.J.settings().navigation().Xj().De()?b.od():b.Hh():b.play()} f.slideAreaDoubleTapped=function(){this.Ox(this.QY)&&Gh&&ISPlayer.slideAreaDoubleTapped()};f.Ox=function(a,b){var c=new op,d=Pb(Mb(arguments),1);a.F.apply(a,[].concat(qa(d.concat(c))));return!c.actionPrevented()};var sO={t4:"gotoPreviousSlide",ZS:"continuePresentation",aT:"finishAction",I7:"skipQuiz"};r("ispring.quiz.player.QuizPlayerControllerActionType",sO,void 0);r("GOTO_PREVIOUS_SLIDE","gotoPreviousSlide",sO);r("CONTINUE_PRESENTATION","continuePresentation",sO);r("FINISH_ACTION","finishAction",sO);r("SKIP_QUIZ","skipQuiz",sO);function tO(a,b,c){this.J=a;var d=Ug();if("1"==d.resume||"review"==window.launchMode)a.settings().Jc().Uk="always";else if("0"==d.resume||"browse"==window.launchMode)a.settings().Jc().Uk="never";var d=Ih?new GM(a):new hM,e=new jO,g=new zN,h=new cN(a,g,d),k=new rO(a,h);this.Gt=new FG;var l=new gO(a.settings().navigation().In(),a.U(),g,this.Gt),m=new oN;m.stateChangedEvent().addHandler(this.mz,this);this.Ia=new mO(e,c,h,g,g,k,0,this,m);new yD(b);this.Aa=new FD(this.Ia,a);b=this.Aa.B;m=this.Aa.tc;d.Hn(b.X()); h.dJ(b.X(),b.ya);l.Lw(m);k.B=b;k.tc=m;e.Lw(b);e.OB(h);uO(this,e);k=this.Aa.kh;l=k.displayObject();c.Se.kh=l;new pM(k,b.X(),a.U());new dO(k,b.X(),a.U(),this);new aO(this.Aa,k,b.X(),a.U());this.CM=new vN(a);this.CM.Lw(b);this.lA=new I;this.$P=new I;this.Tq=new I;this.wK=new I;this.nn=new I;this.SO=new I;this.tx=new mN(a.U(),b.X(),b.ya,a.Xc().vn(),g);this.sl=new gM(a.U(),b.X(),b.ya,a.Xc().Jf(),g);this.BV=new vM(a.U(),h,b.X(),c.Se);new CN(b,g,d);H&&new EM(e);this.qU=new oO(a.U(),k,b,g);this.AV=Ih?new rN(g): new hN;b.YO.addHandler(this.IW,this);b.Si().addHandler(this.xj,this);b.Sx.addHandler(this.gW,this);b.jL.addHandler(this.KU,this);b.Mc().addHandler(this.YE,this);this.Id=g;Fh&&(ISPlayer.setPauseMediaCallback(t(this.rF,this)),ISPlayer.setContentType("slide"))}tO.prototype.iL=!1;function uO(a,b){var c=pe("DIV");c.getCore=function(){return b};c.setAttribute("id",a.J.settings().UP);a.Aa.displayObject().appendChild(c)} function vO(a,b,c,d){var e=a.Aa.B.X(),g=!d;g&&a.Uo();c&&wO(a);g&&c||e.Sb().addHandler(function k(){e.Ml()&&(e.Sb().removeHandler(k,this,-1),g||a.Uo(),c||wO(a))},a,-1);a.Tq.F(b,c,d)}tO.prototype.Uo=function(){this.qU.activate();this.Aa.B.activate()};function wO(a){a.iL||(a.iL=!0,a.AV.activate(),a.tx.activate(),a.sl.activate(),a.Ia.mediaController().activate())}tO.prototype.rS=function(){return this.J};tO.prototype.presentation=tO.prototype.rS;tO.prototype.view=function(){return this.Aa}; tO.prototype.view=tO.prototype.view;tO.prototype.version=function(){return"8.0"};tO.prototype.version=tO.prototype.version;tO.prototype.persistState=function(){return this.Ia.hg.LB()};tO.prototype.persistState=tO.prototype.persistState;tO.prototype.E_=function(a,b){var c={width:a,height:b,rR:!1};this.SO.F(c);return c.rR?new rd(c.width,c.height):(c=Math.min(a/this.J.D(),b/this.J.C()),new rd(a*c,b*c))};tO.prototype.getOptimalPlayerSize=tO.prototype.E_;tO.prototype.mz=function(){this.nn.F(new op)}; tO.prototype.start=function(a){var b=null;a&&(b=qN(a));a=this.J.settings().Jc();var c=this.view().B,d=b,e=this.view().B.Be(),g;if(!(g=!d)){a:{g=this.J.U().count();for(var h=this.view().B.Be(),k=0;kg||g>=this.J.U().count();d="review"==window.launchMode;d=h&&null!=e&&0<=e&&("never"!=a.Uk||d);h&&(g=c.Be());c=d?e:g;b=new xO(this,b);e=new tN(b);e.NB(a.wn());e.MB(d? MG:QG);e.BS(c);this.lA.F(e);switch(e.action()){case MG:b.resume(e.P());break;case QG:b.start(e.P());break;case OG:b.aQ=!0;break;default:throw Error("unknown startup action");}};tO.prototype.Gw=function(){return this.Ia.Gw()};tO.prototype.l1=function(){return this.lA};tO.prototype.startupEvent=tO.prototype.l1;tO.prototype.startupCompletedEvent=function(){return this.$P};tO.prototype.startupCompletedEvent=tO.prototype.startupCompletedEvent;tO.prototype.W_=function(){return this.Tq}; tO.prototype.initialSlideShownEvent=tO.prototype.W_;tO.prototype.IW=function(){this.tx.Xp();this.sl.Xp();this.BV.Xp()};tO.prototype.xj=function(){var a=this.J.settings().jq().DB();a&&a.open()};tO.prototype.jw=function(){return this.CM.jw()};tO.prototype.executeMetaCommandEvent=tO.prototype.jw;tO.prototype.OZ=function(){return this.tx};tO.prototype.audioNarrationController=tO.prototype.OZ;tO.prototype.v1=function(){return this.sl};tO.prototype.videoNarrationController=tO.prototype.v1; tO.prototype.gW=function(){var a=new op;this.wK.F(a);if(!a.actionPrevented())if(mg)(new lg("closeWindow")).Gp();else try{Pg||(window.open("","_self",""),window.close())}catch(b){}};tO.prototype.YZ=function(){return this.wK};tO.prototype.closeWindowEvent=tO.prototype.YZ;tO.prototype.stateChangedEvent=function(){return this.nn};tO.prototype.stateChangedEvent=tO.prototype.stateChangedEvent;tO.prototype.y_=function(){return this.J.settings().navigation().Xj().enabled()}; tO.prototype.gestureNavigationEnabled=tO.prototype.y_;function yO(a,b){var c;if(c=null==a.Aa.tc.md(b))c=!(-1==a.Aa.B.Ee()&&-1==a.Aa.B.hf());return c}function zO(a,b){return null==a.Aa.tc.md("quizArbitrarySlideSwitching",b)}function AO(a,b){return null==a.Aa.tc.md("ScenarioArbitrarySlideSwitching",b)} function BO(a,b){var c=a.Aa.B,d=c.fa(),c=c.Uc().view(),c=Gp(c.tb());switch(b){case "skipScenario":return"atAnyTime"==d.zp&&yO(a,"switchToNextSlide");case "continuePresentation":return d=c.scenarioPassed()?d.oF:d.tD,"gotoSlide"==d.type()&&AO(a,d.P())||"gotoNextSlide"==d.type()&&yO(a,"scenarioSwitchToNextSlideWithoutBranching");case "finishAction":return d=c.scenarioPassed()?d.oF:d.tD,"closePlayerWindow"==d.type()||"gotoSlide"==d.type()&&AO(a,d.P())||"gotoNextSlide"==d.type()&&yO(a,"scenarioSwitchToNextSlide")}return!1} function CO(a,b){var c=a.Aa.B,d=c.fa(),c=c.Uc().view(),e=Mp(c.Ya());switch(b){case "gotoPreviousSlide":return"sequential"!=a.J.settings().navigation().navigationType()&&c.Tw()&&-1!=a.Aa.B.hf();case "skipQuiz":if(d="atAnyTime"==d.zp)d=yO(a,"switchToNextSlide")&&-1!=a.Aa.B.Ee();return d;case "continuePresentation":return d=Qp(e)?d.nF:d.sD,"gotoSlide"==d.type()?zO(a,d.P()):"gotoNextSlide"==d.type()&&yO(a,"quizSwitchToNextSlideWithoutBranching");case "finishAction":return d=Qp(e)?d.nF:d.sD,"gotoSlide"== d.type()?zO(a,d.P()):"closePlayerWindow"==d.type()||"gotoNextSlide"==d.type()&&yO(a,"quizSwitchToNextSlide")}return!1}tO.prototype.jR=function(a){var b=this.Aa.B.fa();if(b instanceof Op)a=CO(this,a);else if(b instanceof Jp)a:{switch(a){case "gotoNextPresentationSlide":a=yO(this,"switchToNextSlide");break a;case "gotoPreviousPresentationSlide":a=-1!=this.Aa.B.hf();break a}a=!1}else a=b instanceof Br?BO(this,a):!1;return a};tO.prototype.actionAvailable=tO.prototype.jR; tO.prototype.KU=function(a,b,c){var d=this.J.U();b=0<=b?d.ka(b):null;c=0<=c?d.ka(c):null;if(b instanceof Op||c instanceof Op||b instanceof Jp||c instanceof Jp||b instanceof Br||c instanceof Br)xh?(a.Lq=Xv,a.ta=0):a.Lq="FadeSmoothly"};tO.prototype.YE=function(){var a=this.Aa.B.Ee();this.tx.Ns(a);this.sl.Ns(a)};tO.prototype.rF=function(){var a=this.Aa.B;if(!(0>a.ja())){a.pause();this.Id.xB();var b=this.Aa.B.Ya();b&&b.pauseMedia();(b=this.Aa.B.tb())&&b.pauseMedia();b=a.fa();b instanceof Jp&&a.Ce(b.index()).kc().pauseMedia()}}; function xO(a,b){this.H=a;this.dQ=b}xO.prototype.SX=!1;xO.prototype.aQ=!1;xO.prototype.dQ=null;xO.prototype.start=function(a,b){DO(this,a,b,QG)};xO.prototype.start=xO.prototype.start;xO.prototype.resume=function(a,b){DO(this,a,b,MG,this.dQ)};xO.prototype.resume=xO.prototype.resume; function DO(a,b,c,d,e){if(a.SX)throw Error("presentation was already started");var g=a.H;if(e){var h=g.Ia.hg;pN(h,e);$v(h,0);e=g.J.U();for(var k=0;kb.getTime()-d.getTime(),g=0>=c.getTime()-b.getTime(); if(0>c.getTime()-d.getTime()){b=e&&g;break a}if(0>d.getTime()-c.getTime()){b=e||g;break a}}b=c&&0>b.getTime()-c.getTime()?!1:!(d&&0<=b.getTime()-d.getTime())}b=!b}b?(a=LO(this,"PLAYER_CORE_PROTECTION_RESTRICTED_TIME_LABEL","Sorry, the presentation's creator disabled viewing the presentation at the moment"),xh?new GO("time",a,!1):new IO(a,"time")):a.jO?KO(this,a.password()):MO(this)}};function LO(a,b,c){a=a.J.settings().Jp();return a.hasOwnProperty(b)?a[b]:c} function MO(a){var b=new hL(a.J);a.H=new tO(a.J,a.OX,b);a.gp.F(a.H)};var NO=function(){function a(){throw Error("stream error");}function b(a){return"undefined"==typeof a}function c(b){var c=0,d=b[c++],e=b[c++];(-1==d||-1==e||8!=(d&15)||0!=((d<<8)+e)%31||e&32)&&a();this.tH=b;this.rs=c;this.Uv=this.Yv=this.Zv=0;this.GH=!1;this.RA=null}var d=[],e=[],g=[],h,k;(function(){var a=[],b,c=2;for(b=0;8>b;++b)a.push(c),c+=1<<(b>>1);for(b=0;3>b;++b)d.push(b+16);for(b=0;7>=b;++b)d.push((8-b)%8),d.push(8+b);for(b=1;3>b;++b)e.push(b);for(b=0;28>b;++b){var h=b>>1<<16,c=b%8,h=h+((a[c]<< (b-c)/2)+1);e.push(h)}for(b=3;7>b;++b)g.push(b);c=7;for(b=0;24>b;++b)a=b>>2,h=(a<<16)+c,c+=1<b;++b)g.push(258)})();c.prototype.FH=function(a){var b=this.RA,c=b?b.length:0;if(a>c;this.Zv= d-c;this.rs=h;return e&(1<>16;e&=65535;(0==c||c>d;this.Zv=c-d;this.rs=k;return e};c.prototype.lw=function(a){for(var b=a.length,c=0,d=0;dc&&(c=a[d]);for(var e=1<>=1;for(d=N;d>=1;if(0==m){var n=this.tH,q=this.rs,u;b(u=n[q++])&&a();var x=u;b(u=n[q++])&&a();x|=u<<8;b(u=n[q++])&&a();m=u;b(u=n[q++])&&a();(m|u<<8)!=(~x&65535)&&a();this.Zv=this.Yv=0;u=this.Uv;m=this.FH(u+x);this.Uv=x=u+x;for(var A=u;A=E;++E)n[E]=8;for(;255>=E;++E)n[E]= 9;for(;279>=E;++E)n[E]=7;for(;287>=E;++E)n[E]=8;h=this.lw(n);m=Array(31);for(E=0;32>E;++E)m[E]=5;k=this.lw(m);k[0][15]=0;k[0][31]=0}q=h;u=k}else if(2==m){m=this.Cn(5)+257;u=this.Cn(5)+1;q=this.Cn(4)+4;n=Array(d.length);for(E=0;EF)A+1>=x&&(m=this.FH(A+1),x=m.length),m[A++]=F;else{if(256==F){this.Uv=A;break}var F=F-257,F=g[F],R=F>>16;0>16;0=x&&(m=this.FH(A+n),x=m.length);for(R=0;Rg?(d[++l]=String.fromCharCode(g),++e):191g?(h=c[e+1],d[++l]=String.fromCharCode((g&31)<<6|h&63),e+=2):(h=c[e+1],k=c[e+2],d[++l]=String.fromCharCode((g&15)<<12|(h&63)<<6|k&63),e+=3):++e;b(d.join(""))};function PO(){this.gp=new I;this.yO=new I}PO.prototype.Bn=function(a,b){Aa(a)?QO(this,a,b):RO(this,a,b)};function RO(a,b,c){OO(b,function(b){b=Qf(b);if(!b)throw Error("invalid presentation json!");QO(a,b,c)})}function QO(a,b,c){var d=(new MJ).load(b);b=parseInt(w(b,OJ().z0,"2007"),10);a.yO.F(d);var e=new JO(d,b);e.gp.addHandler(function h(a){e.gp.removeHandler(h);a.view().displayObject().id=c;si(a.view().displayObject(),c);if(jc){var b=a.view().displayObject();si(b,"ie")}this.gp.F(a)},a);e.Bn()};function SO(a){this.jr=a}SO.prototype.pa=function(a,b,c){a=this.jr.hasOwnProperty(a)?this.jr[a]:c;return p(a)?(p(b)&&(a=ji(a,b,this.zD)),a):""};SO.prototype.getMessage=SO.prototype.pa;SO.prototype.zD=function(a){return"%"+a.toUpperCase()+"%"};function TO(a,b,c,d){K.call(this,c+" "+this.AD());this.Z=a.view();this.J=a.J;this.B=a.view().B;this.ya=this.B.X();this.tc=a.view().tc;this.Ah=new UE(this.displayObject());this.ma=new SO(b);d&&(this.jl=new Ti,this.jl.uG.addHandler(function(a,b){this.Bm(a,b)},this),Ng(this.jl.hB,this.jl));a.lA.addHandler(this.UE,this);a.view().tc.Dw().addHandler(this.RE,this)}v(TO,K);f=TO.prototype;f.Bm=function(a,b){this.resize(a,b);this.Ah.hk(a,b)}; f.UE=function(a){if(a.action()==MG&&"prompt"==this.J.settings().Jc().Uk){var b=this.B.Be(),c=a.P();a.MB(OG);var d=this.Ah,e=a.vG,g=this.ma.pa("PB_RESUME_PRESENTATION_WINDOW_TITLE"),h=this.ma.pa("PB_RESUME_PRESENTATION_WINDOW_TEXT"),k=this.ma.pa("PB_MESSAGE_BOX_YES"),l=this.ma.pa("PB_MESSAGE_BOX_NO");Gh?ISPlayer.showConfirmWindowWithcallback(Rf({message:h,yesLabel:k,noLabel:l}),t(function(a){parseInt(a,10)?e.resume(c,!0):e.start(b,!0)},this)):function(){var a=new eF(g,h,k,l);a.Aq.addHandler(function q(g, h){a.Aq.removeHandler(q);a.close();WE(d,a);this.Z.setOverlayDisplayed(!1);h?e.resume(c,!0):e.start(b,!0)},this);VE(d,a);a.open();p(a.setScale)&&a.setScale(this.W);this.Z.setOverlayDisplayed(!0)}.apply(this)}};f.Oq=function(a,b){return(a.ka(b).Kf()+1).toString()}; f.RE=function(a){var b={},c=this.J.U();switch(a.jf().type()){case "currentSlideIsNotCompleted":var d="PB_CURRENT_SLIDE_IS_NOT_COMPLETED";break;case "backwardNavigationIsRestricted":case "forwardNavigationIsRestricted":d="sequential"==this.J.settings().navigation().navigationType()?"PB_NAVIGATION_IS_SEQUENTIAL":"PB_NAVIGATION_IS_RESTRICTED";break;case "interactionNotCompleted":d="PB_QUIZ_SLIDE_WINDOW_TEXT";this.B.fa()instanceof Br&&(d="PB_SCENARIO_SLIDE_WINDOW_TEXT");break;case "precedingQuizNotPassed":case "precedingQuizFailed":d= "PB_PRECEDING_QUIZ_NOT_PASSED_WINDOW_TEXT";b["%SLIDE_INDEX%"]=this.Oq(c,a.jf().ke());break;case "precedingQuizNotCompleted":d="PB_PRECEDING_QUIZ_NOT_COMPLETED_WINDOW_TEXT";b["%SLIDE_INDEX%"]=this.Oq(c,a.jf().ke());break;case "precedingScenarioNotPassed":d="PB_PRECEDING_SCENARIO_NOT_PASSED_WINDOW_TEXT";b["%SLIDE_INDEX%"]=this.Oq(c,a.jf().ke());break;case "precedingScenarioFailed":d="PB_PRECEDING_SCENARIO_FAILED_WINDOW_TEXT";b["%SLIDE_INDEX%"]=this.Oq(c,a.jf().ke());break;case "precedingScenarioNotCompleted":d= "PB_PRECEDING_SCENARIO_NOT_COMPLETED_WINDOW_TEXT";b["%SLIDE_INDEX%"]=this.Oq(c,a.jf().ke());break;default:return}a=this.ma.pa("PB_RESTRICTION_MESSAGE_BOX_TITLE");d=this.ma.pa(d);d=ji(d,b);this.fG(a,d)}; f.fG=function(a,b){var c=this.ma.pa("PB_MESSAGE_BOX_OK"),d=this.B.X().suspended();if(Gh)c={message:b,okLabel:c},Po(this.ya,!0),ISPlayer.showMessageBoxWithcallback(Rf(c),t(function(){Po(this.ya,d)},this));else{var e=new eG(a,b,c),g=this.Z;e.Mi().addHandler(function k(){e.Mi().removeHandler(k);WE(this.Ah,e);g.setOverlayDisplayed(!1);Po(this.ya,d)},this);Po(this.ya,!0);VE(this.Ah,e);e.open();g.setOverlayDisplayed(!0)}}; f.AD=function(){var a=H?"mobile":"desktop";jc?a+=" ie":Pg?a+=" android_default":nc?a+=" webkit":ic?a+=" opera":mc&&(a+=" gecko");return a};f.Rz=function(a){this.jl&&(this.jl.tC=a,yh&&(document.body.style.msTouchAction=a?"pan-x pan-y":"none"),Sg&&(a=window.pageYOffset,Li(document.body),window.scrollTo(0,a)))};function UO(a,b,c){p(c)||(c=!0);TO.call(this,a,b,"none",c);b=a.J;b.settings().tn().kw()||H||(this.BF=b.D(),this.zF=b.C(),document.body.style.overflow="auto");b=this.AF=a.view();this.G(b.displayObject());var d=this.B=b.B;xh&&d.Mc().addHandler(this.wf,this);a.Tq.addHandler(function(b,c,h){if(h){b=new K("launch_layer");var e=new hE(a,b);e.fp.addHandler(function m(){e.fp.removeHandler(m);d.play()});e.show()}})}v(UO,TO); UO.prototype.Bm=function(a,b){this.BF&&this.zF?(this.move(Math.max(0,Math.floor((a-this.BF)/2)),Math.max(0,Math.floor((b-this.zF)/2))),a=this.BF,b=this.zF):kh&&(b+=2);this.AF.resize(a,b);UO.L.Bm.call(this,a,b);VO(this)}; UO.prototype.wf=function(){var a=this.B.ja(),b=-1!=a?this.B.fa():null;this.rf&&(this.rf.Mj(),this.rf.Ya().changeAllowTouchScrollEvent().removeHandler(this.Rz,this),this.rf=void 0);b instanceof Op?(this.rf=this.AF.ng.oe[a],this.rf.Mj(this.displayObject()),this.rf.Ya().changeAllowTouchScrollEvent().addHandler(this.Rz,this),VO(this),yj(this,"quiz_mode")):(zj(this,"quiz_mode"),this.Rz(!1))}; function VO(a){if(xh){var b=a.B.ja();-1!=b&&(b=a.AF.ng.oe[b],b instanceof yp&&b.Ya().resize(a.width(),a.height()))}};function WO(a){this.vb=a}WO.prototype.la=function(a){this.Tb!=a&&(this.Tb=a,ISPlayer.setButtonEnabledstate(this.vb,a))};WO.prototype.Ma=function(a){this.Um!=a&&(this.Um=a,ISPlayer.setButtonSelectedstate(this.vb,a))};r("ispring.presenter.player.skin.universal.iphone.ButtonId",{NEXT:"next",x6:"previous",a6:"playPause",C7:"showMenu",u2:"closeMenu"},void 0);function XO(a,b,c){this.B=a;this.O=b;this.vq=c.Tv;a=c.Nl;this.My="bySlides"==this.vq.De;b=[];this.vq.Wi&&(this.Qc=new WO("next"),b.push("next"));this.vq.kk&&(this.FO=new WO("previous"),b.push("previous"));this.vq.jk&&(this.Hu=new WO("playPause"),b.push("playPause"));a.lJ&&b.push("showMenu");this.B.X().Sb().addHandler(this.Am,this);this.B.X().Cb().addHandler(this.fb,this);this.Am();this.zm();ISPlayer.initControlPanel(Rf({buttons:b,showProgressBar:this.vq.UB}));ISPlayer.setControlPanelButtonClickedCallback(t(this.RV, this))}f=XO.prototype;f.RV=function(a){switch(a){case "playPause":this.su();break;case "next":this.qu();break;case "previous":this.tu();break;case "showMenu":if("playingSlide"==this.B.playbackState()||"playingTransition"==this.B.playbackState())this.B.pause(),this.Wu=!0;break;case "closeMenu":this.Wu&&(this.Wu=!1,this.B.play())}};f.fb=function(){if(this.Hu&&!this.B.X().le()&&-1!=this.B.ja()){var a=this.B.md("playPauseControl");this.Hu.la(jP(a))}this.zm();this.RD()}; f.su=function(){var a=this.B.X().state();"started"==a||"buffering"==a?this.B.pause():this.B.play()};f.tu=function(){this.My?this.B.ff():this.B.Tj()};f.qu=function(){this.My?this.B.od():this.B.Hh()};function jP(a){return!(a&&(a.Kl()!=Xm||a.Cw()==Ym)&&a.Kl()!=Zm)}f.Am=function(){if(this.Hu){var a=this.B.X().state(),a="started"==a||"buffering"==a,b=!1;-1!=this.B.ja()&&(b=this.B.md("playPauseControl"),b=jP(b));this.Hu.la(b);this.Hu.Ma(a)}}; f.zm=function(){if(this.Qc){var a=this.B.md(this.My?"switchToNextSlide":"switchToNextStep");this.Qc.la(jP(a))}this.FO&&(a=this.B.md(this.My?"switchToPreviousSlide":"switchToPreviousStep"),this.FO.la(jP(a)))};f.RD=function(){var a=this.vq.vS?Gj(this.B,this.O):Hj(this.B,this.O);a!=this.ZD&&(this.ZD=a,ISPlayer.setProgress(a))};function pP(){};function sP(){};function CP(){};function LP(a,b){var c=b.Hc.Ze,d=new CP;c&&c.visible&&c.VB&&(d.visible=!0,d.VB=!0);this.Nl=d;c=b.Hc.Ze;d=new sP;c&&c.visible&&(d.visible=!0);d.visible&&(d.De=c.De,d.Wi=c.Wi,d.kk=c.kk,d.jk=c.jk,d.UB=c.Wg&&c.Wg.visible,d.vS=d.UB&&"presentationTimeline"==c.Wg.mode,d.visible=d.Wi||d.kk||d.jk||d.UB);this.Tv=d;0=this.B.ja()){a=d;break}}aQ.L.wf.call(this);a?ISPVideoPlayer.showNarration(Rf({width:a.width(),height:a.height()})):ISPVideoPlayer.hideNarration();a=-1!=this.B.ja()?this.B.fa():null;b=-1;a&&a.visible()&&(b=this.B.fa().Kf());ISPlayer.setCurrentSlideIndex(b)}; aQ.prototype.sx=function(){var a=ZP(this);a!=this.TX&&(this.TX=a,ISPlayer.setPresentationFitted(a));return!1};function bQ(a,b,c,d){K.call(this,"bottom_panel");this.B=b;this.Y=d;this.O=c;this.W=Qg();d.Wi||d.kk||d.jk?(d.Wi&&(this.Qc=new Jm(!1,"next"),this.Qc.ip=!0,this.G(this.Qc),this.Qc.xa().addHandler(this.qu,this)),d.kk&&(this.zd=new Jm(!1,"prev"),this.zd.ip=!0,this.G(this.zd),this.zd.xa().addHandler(this.tu,this),d.Wi||J(this.zd,"right","0")),d.jk&&(this.Gb=new Jm(!1,"play"),this.G(this.Gb),this.Gb.xa().addHandler(this.su,this),-1==this.B.ja()&&(this.Gb.la(!1),this.B.Mc().addHandler(function g(){this.B.Mc().removeHandler(g); this.Gb.la(!0)},this)))):this.Ra(0);d.UB&&(this.gb=new K("progress"),this.G(this.gb));this.B.X().Sb().addHandler(this.Am,this);this.B.X().Cb().addHandler(this.fb,this);this.Am();this.zm();Ii(this.displayObject(),this.W);Hg(this.displayObject(),"0 100%")}v(bQ,K);f=bQ.prototype;f.su=function(){this.Gb.selected()?this.B.pause():this.B.play()};f.tu=function(){this.enabled()&&("bySlides"==this.Y.De?this.B.ff():"bySteps"==this.Y.De&&this.B.Tj())}; f.qu=function(){this.enabled()&&("bySlides"==this.Y.De?this.B.od():"bySteps"==this.Y.De&&this.B.Hh())};f.ua=function(a){bQ.L.ua.call(this,a/this.W)};f.fb=function(){if(this.Gb&&!this.B.X().le()&&-1!=this.B.ja()){var a=this.B.md("playPauseControl");Vm(this.Gb.I,a)}this.zm();this.gb&&(a=this.Y.vS?Gj(this.B,this.O):Hj(this.B,this.O),J(this.gb,"width",100*a+"%"))}; f.Am=function(){if(this.Gb){var a=this.B.X().state(),b="started"==a||"buffering"==a;this.wF&&(clearTimeout(this.wF),this.wF=void 0);this.wF=Ng(function(){this.Gb.Ma(b)},this,50);-1!=this.B.ja()&&(a=this.B.md("playPauseControl"),Vm(this.Gb.I,a))}};f.zm=function(){var a="bySlides"==this.Y.De;if(this.Qc){var b=this.B.md(a?"switchToNextSlide":"switchToNextStep");Vm(this.Qc.I,b)}this.zd&&(a=this.B.md(a?"switchToPreviousSlide":"switchToPreviousStep"),Vm(this.zd.I,a))};function cQ(a,b,c){K.call(this,"top_panel");this.B=b;this.W=Qg();this.RP=new K("slide_info");this.G(this.RP);c.VB&&(this.uk=new Jm(!1),this.G(this.uk));c.lJ&&(this.sE=new Jm(!1,"menu"),this.G(this.sE));Ii(this.displayObject(),this.W);Hg(this.displayObject(),"0 0")}v(cQ,K);cQ.prototype.gJ=function(a){uj(this.RP,a)};function dQ(a){return a.sE?a.sE.xa():new I}function eQ(a){return a.uk?a.uk.xa():new I}cQ.prototype.ua=function(a){cQ.L.ua.call(this,a/this.W)};function fQ(){this.eG=new I}function gQ(a){var b=!1,b=void 0==b?!0:b;setTimeout(function(){hQ(a,b)},50)}function iQ(){var a;/iphone|ipod|ipad/gi.test(navigator.platform)?(a=navigator.appVersion.substr(navigator.appVersion.indexOf(" OS ")+4),a=a.substr(0,a.indexOf(" ")),a=a.replace(/_/g,".")):a="";if(""==a)return 0;var b=a.indexOf(".");return 0>=b?Number(a):Number(a.substr(0,b))} function jQ(){var a=location.search||"",b=location.host,c=location.pathname.split("/");--c.length;return b+c.join("/")+"/"+a}function kQ(){var a=document.createElement("iframe");a.style.border="none";a.style.width="1px";a.style.height="1px";return a} function hQ(a,b){var c=a.fT+"://"+jQ();if(9<=iQ())setTimeout(function(){b?location.replace(a.eC):a.eG.F()},2718),window.top.location.replace(c);else{var d=+new Date;setTimeout(function(){document.body.removeChild(e);1500>+new Date-d&&(b?location.replace(a.eC):a.eG.F())},1E3);var e=kQ();e.src=c;document.body.appendChild(e)}}fQ.prototype.fT="ismobile";fQ.prototype.eC="https://itunes.apple.com/us/app/ispring-mobile/id642452385?mt=8";function lQ(a){K.call(this,"launch_video_panel");this.yq=new I;this.ma=a;this.By=new fQ;this.ym();this.By.eG.addHandler(function(){this.Go.N(!1);this.Io.N(!0);uj(this.Ig,mQ(this,!1));this.oh()},this)}v(lQ,K);function mQ(a,b){return b?a.ma.pa("PB_LAUNCH_IN_APP_MESSAGE"):a.ma.pa("PB_DOWNLOAD_APP_MESSAGE")}f=lQ.prototype; f.ym=function(){var a=new K("bg");this.G(a);a.xa().addHandler(function(){this.yq.F()},this);this.Ig=new K("info");this.G(this.Ig);uj(this.Ig,mQ(this,!0));this.Go=new Jm(!1,"launch_btn");this.Go.qa(this.ma.pa("PB_LAUNCH_BTN_LABEL"));this.G(this.Go);this.Io=new Jm(!1,"loadApp_btn");this.Io.N(!1);this.G(this.Io);this.Go.xa().addHandler(function(){gQ(this.By)},this);this.Io.xa().addHandler(function(){Mg(this.By.eC)},this)};f.N=function(a){lQ.L.N.call(this,a);this.oh()}; f.Tk=function(a,b){lQ.L.Tk.call(this,a,b);Ng(this.oh,this)};f.oh=function(){var a=this.Ig.height()+this.Go.height()+20,a=Math.floor(.5*(this.height()-a));this.Io.visible()&&(a-=25);this.Ig.Kc(a);this.Go.Kc(a+this.Ig.height()+20);this.Io.Kc(a+this.Ig.height()+20)};f.ma=null;f.By=null;f.Go=null;f.Io=null;f.Ig=null;f.yq=null;function nQ(a){Lj.call(this,a)}v(nQ,Lj);nQ.prototype.qy=function(){nQ.L.qy.call(this);var a=Math.floor((this.oi-this.width())/2),b=Math.floor((this.ph-this.height())/2);Hi(this.displayObject(),a,b)};function oQ(a,b){K.call(this,a);this.Xr=new K("","INPUT");this.G(this.Xr);b&&(this.Er=new K("prompt"),this.Er.qa(b),J(this.Er,"pointer-events","none"),this.G(this.Er),z(this.displayObject(),[Fc,Gc],this.TL,!1,this));this.iQ=new I;z(this.Xr.displayObject(),"input",this.KK,!1,this)}v(oQ,K);f=oQ.prototype;f.text=function(){return this.Xr.displayObject().value};f.Ow=function(a){this.text()!=a&&(this.Xr.displayObject().value=a,this.TL(),this.KK())};f.WI=function(){this.Xr.displayObject().focus()}; f.KK=function(){this.iQ.F(this)};f.TL=function(){this.Er&&(Pe()==this.Xr.displayObject()?this.Er.N(!1):this.Er.N(!this.text()))};function pQ(a,b,c){K.call(this,"top_panel");this.ma=b;this.Y=c;this.ye=new K("title");this.G(this.ye);this.vK=new Jm(!1,"close",!1);this.G(this.vK);c.outline.search&&(this.Qe=new Jm(!1,"search",!1),this.Qe.N(!1),this.G(this.Qe),this.Qe.xa().addHandler(this.GP,this),this.we=new qQ(a,b),this.we.N(!1),this.we.Jr.addHandler(function(a){this.Jr.F(a)},this),this.G(this.we),this.we.xx.xa().addHandler(function(){this.Jr.F("");null!=this.we&&this.we.N(!1)},this));this.ux=new Jm(!1,"back",!1);this.G(this.ux); this.Jr=new I}v(pQ,K);f=pQ.prototype;f.Mi=function(){return this.vK.xa()};f.bJ=function(a){this.GX=a};f.setLayout=function(a){this.$a=a;rQ(this);"outline"==this.$a?sQ(this,!0):(sQ(this,!1),null!=this.we&&this.we.N(!1))};function sQ(a,b){a.Qe&&a.Qe.N(b)}f.QB=function(a){this.we&&(this.we.QB(a),a&&this.GP(!1))};f.invalidate=function(){this.we&&this.we.visible()&&this.we.invalidate()}; function rQ(a){var b;"outline"==a.$a&&p(a.Cu)?(b=a.GX,a.ux.N(!0),sQ(a,!1)):(a.ux.N(!1),"outline"==a.$a&&sQ(a,!0));p(b)||(b=tQ(a,a.$a));a.ye.qa(b)}function tQ(a,b){switch(b){case "outline":return a.ma.pa(xF);case "notes":return a.ma.pa(wF);case "attachments":return a.ma.pa(vF);case "presenterInfo":return a.ma.pa(uF)}throw Error("unknown page type");}f.GP=function(a){p(a)||(a=!0);this.we.N(!0);a&&this.we.WI()}; function qQ(a,b){K.call(this,"search_panel");this.Qz=new K("search_container");this.G(this.Qz);this.Yk=new oQ("search_input",b.pa(po));this.Qz.G(this.Yk);this.Lf=new Jm(!1,"clear");this.Lf.I.appendChild(li(a,"clear_icon"));this.Qz.G(this.Lf);this.xx=new Jm(!1,"cancel");this.xx.qa(b.pa("PB_SEARCH_CANCEL"));this.G(this.xx);this.Yk.iQ.addHandler(this.fX,this);this.Lf.xa().addHandler(function(){this.Yk.Ow("")},this);this.Jr=new I}v(qQ,K);f=qQ.prototype;f.WI=function(){this.Yk.WI()}; f.N=function(a){qQ.L.N.call(this,a);a?(this.invalidate(),this.Lf.N(""!=this.Yk.text())):(this.HL=!0,this.Yk.Ow(""),this.HL=!1)};f.invalidate=function(){J(this.Qz,"right",this.xx.width()+"px")};f.QB=function(a){this.Yk.Ow(a)};f.fX=function(){this.Lf.N(""!=this.Yk.text());this.HL||this.Jr.F(this.Yk.text())};function uQ(a,b,c){K.call(this,"presenter_info");if(c){if(b=c.$j()){var d=new K("photo_container");this.Ji(d,0);J(d,"background-image","url('"+b.path()+"')");J(d,"background-size",b.width()+"px "+b.height()+"px");J(d,"background-repeat","no-repeat");J(d,"background-position","center");d.resize(b.width()+12,b.height()+12)}c.name()&&(b=new K("name"),b.qa(c.name()),this.G(b));c.Vj()&&(b=new K("job"),b.qa(c.Vj()),this.G(b));if(c.Vg()||c.Sg()||c.Zb())b=vQ(),yj(b,"first"),this.G(b);c.Vg()&&(wQ(this,li(a, "phone_icon"),"tel:"+c.Vg(),c.Vg()),this.G(vQ()));c.Sg()&&(wQ(this,li(a,"email_icon"),"mailto:"+c.Sg(),c.Sg()),this.G(vQ()));c.Zb()&&(wQ(this,li(a,"url_icon"),c.Zb(),c.Zb()),this.G(vQ()));c.Li()&&(a=new K("bio"),a.qa(c.Li()),this.G(a))}else c=new K("photo_container"),this.Ji(c,0),a=new nj(li(a,"no_presenter")),c.G(a),c.resize(a.width()+12,a.height()+12),a=new K("no_presenter_label"),a.qa(b.pa("PB_PRESENTER_NO_INFO")),this.G(a)}v(uQ,K);function vQ(){return new K("separator")} function wQ(a,b,c,d){var e=new K("item");a.G(e);e.G(b);b=new K("text");b.qa(d);e.G(b);e.xa().addHandler(function(){Mg(c,{target:"_blank"})},a)};function xQ(a,b){K.call(this,"bottom_panel");this.ma=b;this.ko=[];this.EP=new I}v(xQ,K);function yQ(a,b){var c=new Jm(!1);c.qa(zQ(a,b));yj(c,AQ(b));a.G(c);c.xa().addHandler(function(){this.EP.F(b)},a);a.ko.push(c)}xQ.prototype.resize=function(a,b){xQ.L.resize.call(this,a,b);for(var c=Math.floor(a),d=Math.floor(c/this.ko.length),c=c-this.ko.length*d,e=0;eb?Math.floor((a-b)/2):0);this.Ra(a)};function GQ(a,b,c,d,e){K.call(this,"menu_layer");this.Ur=a;this.ma=b;this.O=c;this.QF=d;this.Y=e;this.Wa=new pQ(a,b,e);this.G(this.Wa);this.Ok=[];e.zb&&this.Ok.push("outline");e.SB&&this.Ok.push("attachments");e.Rh&&this.Ok.push("presenterInfo");e.kf&&this.Ok.push("notes");this.$=new Ml("content","hidden");this.G(this.$);if(1oh&&!e;QQ(this,a);this.yP&&RQ(this);this.Y.Nl.visible&&(this.Wa=new cQ(0,this.tc,this.Y.Nl),this.G(this.Wa),this.Wa.xa().addHandler(function(){this.gs=!1;this.Gg()},this),dQ(this.Wa).addHandler(function(){this.Xz()},this),eQ(this.Wa).addHandler(function(){this.gs=!this.gs;this.Gg()},this),this.Y.Nl.lJ&&(this.Lg=new GQ(d,this.ma,a.J.U(),a.J.Jl().Xg(),this.Y.vg),this.Lg.N(!1),this.G(this.Lg),this.Lg.Mi().addHandler(this.dU,this), this.Lg.xL.addHandler(function(a){this.Ex();g.tc.jc(a.index(),!0)},this),1b;if(null!=this.Wa&&!e){var g=parseFloat(Te(this.Wa.displayObject(),"height"));isNaN(g)||(d+=g)}C(this.Z.displayObject(),"top","");d&&C(this.Z.displayObject(),"top",d+"px");null==this.yc||e||(e=parseFloat(Te(this.yc.displayObject(),"height")),isNaN(e)||(d+=e));d=b-d;PQ.L.PD.call(this,a,d,c);a>b?yj(this,"landscape"):zj(this,"landscape");TQ(this,!0);this.ia.hk(a,d);this.Ho&&this.Ho.resize(a,d);this.Lg&&(this.Lg.resize(a/this.W,b/this.W),this.Lg.visible()&&JQ(this.Lg)); this.Wa&&this.Wa.ua(a);this.yc&&(J(this.yc,"bottom",c+"px"),this.yc.ua(a))};function RQ(a){a.Ho=new lQ(a.ma);a.Ho.N(!1);a.Ho.yq.addHandler(function(){this.gs=!1;this.Gg()},a);a.G(a.Ho.displayObject())}function TQ(a,b){if(Ji(a.displayObject(),"landscape"))if((-1!=a.B.ja()?a.B.fa():null)instanceof zr){if(null!=a.Wa){var c=0!=a.Wa.opacity();UQ(a,b?!1:c)}}else UQ(a,!0);else UQ(a,!0)} function QQ(a,b){a.ia=new nQ(!Sg&&!a.yP);a.ia.N(!1);Hg(a.ia.displayObject(),"left top");a.G(a.ia.displayObject());z(a.ia.displayObject(),"click",a.XE,!0,a);a.B.X().Sb().addHandler(function(){var a="buffering"==this.B.X().state(),b=this.ia;a?b.ti.show():b.ti.Jh()},a);Nj(a.ia,b.sl.view());for(var c=a.J.Xc().Jf(),d=0;d=this.B.ja()){a=d;break}}this.Ej=a?!0:!1;a=-1!=this.B.ja()?this.B.fa():null;this.Wa&&(b="-",a&&a.visible()&&(b=this.B.fa().Kf()+1),this.Wa.gJ(b+"/"+this.J.U().pk()));this.Gg();TQ(this)}; f.Gg=function(){var a=this.gs&&this.Ej;if(this.Wa){var b=this.Wa,c=this.Ej;b.uk&&(a?(yj(b.uk,"show_slide"),zj(b.uk,"show_video")):(zj(b.uk,"show_slide"),yj(b.uk,"show_video")),b.uk.la(c))}this.Ho?this.Ho.N(a):(this.ia.N(a),this.ia.displayObject().style.left=a?"0":"-100%",this.Z.displayObject().style.opacity=a?"0":"");Bh&&a&&Li(this.ia.displayObject())};function SQ(a,b){b.OP.addHandler(function(a,b,e){Ji(this.displayObject(),"landscape")&&(e.preventAction(),this.XE())},a)} f.XE=function(a){if(Ji(this.displayObject(),"landscape")){var b=!1,c=this.B.Uc();p(a)&&p(a.target)&&(b=c.view(),null===b.Sq?b=!1:(a=Be(a.target),b=-1!=Db(b.Sq,a)));a=!1;null!=this.Wa&&(a=0==this.Wa.opacity());b&&a||UQ(this,a)}};function UQ(a,b){null!=a.Wa&&VQ(a.Wa,b);null!=a.yc&&VQ(a.yc,b)}function VQ(a,b){var c=b?"":"none";a.Ef(b?1:0);J(a,"pointer-events",c)}f.WB=function(a){this.Wa&&J(this.Wa,"z-index",a?"99":"")};PQ.prototype.showTopPanel=PQ.prototype.WB; PQ.prototype.showBottomPanel=function(a){this.yc&&J(this.yc,"z-index",a?"99":"")};PQ.prototype.showBottomPanel=PQ.prototype.showBottomPanel;var WQ=/#(.)(.)(.)(.)/;function XQ(a){if(!YQ.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(WQ,"#$1$1$2$2$3$3$4$4"));a=a.toLowerCase();return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16),parseInt(a.substr(7,2),16)/255]}var YQ=/^#(?:[0-9a-f]{4}){1,2}$/i;function ZQ(a){var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"};function $Q(a){this.tB=a}$Q.prototype.set=function(a,b){p(b)?this.tB.set(a,Rf(b)):this.tB.remove(a)};$Q.prototype.get=function(a){var b;try{b=this.tB.get(a)}catch(c){return}if(null!==b)try{return Pf(b)}catch(c){throw"Storage: Invalid value was encountered";}};$Q.prototype.remove=function(a){this.tB.remove(a)};function aR(){};function bR(){}v(bR,aR);bR.prototype.set=function(){};bR.prototype.get=function(){return null};bR.prototype.remove=function(){};function cR(){}v(cR,aR);cR.prototype.jB=function(){var a=0;Gf(this.qk(!0),function(){a++});return a};cR.prototype.clear=function(){var a=If(this.qk(!0)),b=this;y(a,function(a){b.remove(a)})};function dR(a,b){this.Aw=a;this.Hs=b+"::"}v(dR,cR);dR.prototype.set=function(a,b){this.Aw.set(this.Hs+a,b)};dR.prototype.get=function(a){return this.Aw.get(this.Hs+a)};dR.prototype.remove=function(a){this.Aw.remove(this.Hs+a)};dR.prototype.qk=function(a){var b=this.Aw.qk(!0),c=this,d=new Ef;d.next=function(){for(var d=b.next();d.substr(0,c.Hs.length)!=c.Hs;)d=b.next();return a?d.substr(c.Hs.length):c.Aw.get(d)};return d};function eR(a){this.Th=a}v(eR,cR);f=eR.prototype;f.iI=function(){if(!this.Th)return!1;try{return this.Th.setItem("__sak","1"),this.Th.removeItem("__sak"),!0}catch(a){return!1}};f.set=function(a,b){try{this.Th.setItem(a,b)}catch(c){if(0==this.Th.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};f.get=function(a){a=this.Th.getItem(a);if(!xa(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};f.remove=function(a){this.Th.removeItem(a)}; f.jB=function(){return this.Th.length};f.qk=function(a){var b=0,c=this.Th,d=new Ef;d.next=function(){if(b>=c.length)throw Df;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!xa(d))throw"Storage mechanism: Invalid value was encountered";return d};return d};f.clear=function(){this.Th.clear()};f.key=function(a){return this.Th.key(a)};function fR(){var a=null;try{a=window.localStorage||null}catch(b){}this.Th=a}v(fR,eR);function gR(a,b){this.LS=a;this.Ff=null;if(jc&&!xc(9)){hR||(hR=new Jf);this.Ff=hR.get(a);this.Ff||(b?this.Ff=document.getElementById(b):(this.Ff=document.createElement("userdata"),this.Ff.addBehavior("#default#userData"),document.body.appendChild(this.Ff)),hR.set(a,this.Ff));try{this.Ff.load(this.LS)}catch(c){this.Ff=null}}}v(gR,cR);var iR={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},hR=null; function jR(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(a){return iR[a]})}f=gR.prototype;f.iI=function(){return!!this.Ff};f.set=function(a,b){this.Ff.setAttribute(jR(a),b);kR(this)};f.get=function(a){a=this.Ff.getAttribute(jR(a));if(!xa(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};f.remove=function(a){this.Ff.removeAttribute(jR(a));kR(this)};f.jB=function(){return lR(this).attributes.length}; f.qk=function(a){var b=0,c=lR(this).attributes,d=new Ef;d.next=function(){if(b>=c.length)throw Df;var d=c[b++];if(a)return decodeURIComponent(d.nodeName.replace(/\./g,"%")).substr(1);d=d.nodeValue;if(!xa(d))throw"Storage mechanism: Invalid value was encountered";return d};return d};f.clear=function(){for(var a=lR(this),b=a.attributes.length;0 .top_panel .show_video.component_container button.active::after {background-image: url("+c[1]+");}.universal_mini > .top_panel .show_video.component_container button[disabled]::after, .universal_mini > .top_panel .show_video.component_container button.active[disabled]::after {background-image: url("+c[2]+");}.universal_mini > .top_panel .show_slide.component_container {width: 57px;height: 100%;left: 0;}.universal_mini > .top_panel .show_slide.component_container button {width: 100%;height: 100%;}.universal_mini > .top_panel .show_slide.component_container button::after {content: '';position: absolute;width: 21px;height: 17px;background-image: url("+ c[3]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto;}.universal_mini > .top_panel .show_slide.component_container button.active::after {background-image: url("+c[3]+");}.universal_mini > .top_panel .menu.component_container {width: 58px;height: 100%;position: absolute;right: 0;}.universal_mini > .top_panel .menu.component_container button {width: 100%;height: 100%;}.universal_mini > .top_panel .menu.component_container button::after {content: '';position: absolute;width: 22px;height: 20px;background-image: url("+ c[4]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto;}.universal_mini > .top_panel .menu.component_container button.active::after {background-image: url("+c[5]+");}.universal_mini > .top_panel .slide_info {width: 100%;position: absolute;color: #495060;text-align: center;font-size: 17px;font-weight: bold;line-height: 46px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;z-index: 1;pointer-events: none;font-family: Helvetica, Roboto, Arial;}.universal_mini > .bottom_panel {width: 100%;height: 46px;background: rgba(247, 247, 247, 0.95);position: absolute;top: auto;bottom: 0;}.universal_mini > .bottom_panel::before {content: '';width: 100%;height: 1px;position: absolute;background: #BABABA;}.universal_mini > .bottom_panel::before, .universal_mini > .bottom_panel::after {bottom: 100%;}.universal_mini > .bottom_panel .progress {position: absolute;top: -1px;left: 0;height: 3px;background: #339BE0;}.universal_mini > .bottom_panel .play.component_container {width: 57px;height: 100%;position: absolute;left: 8px;}.universal_mini > .bottom_panel .play.component_container button {width: 100%;height: 100%;}.universal_mini > .bottom_panel .play.component_container button::after {content: '';position: absolute;width: 17px;height: 20px;background-image: url("+ c[6]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto;}.universal_mini > .bottom_panel .play.component_container button.active::after {background-image: url("+c[7]+");}.universal_mini > .bottom_panel .play.component_container button[disabled]::after, .universal_mini > .bottom_panel .play.component_container button.active[disabled]::after {background-image: url("+c[8]+");}.universal_mini > .bottom_panel .play.component_container button.selected::after {background-image: url("+ c[9]+");}.universal_mini > .bottom_panel .play.component_container button.selected.active::after {background-image: url("+c[10]+");}.universal_mini > .bottom_panel .next.component_container {width: 64px;height: 100%;position: absolute;right: 2px;}.universal_mini > .bottom_panel .next.component_container button {width: 100%;height: 100%;}.universal_mini > .bottom_panel .next.component_container button::after {content: '';position: absolute;width: 11px;height: 20px;background-image: url("+c[11]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto;}.universal_mini > .bottom_panel .next.component_container button.active::after {background-image: url("+ c[12]+");}.universal_mini > .bottom_panel .next.component_container button[disabled]::after, .universal_mini > .bottom_panel .next.component_container button.active[disabled]::after {background-image: url("+c[13]+");}.universal_mini > .bottom_panel .prev.component_container {width: 64px;height: 100%;position: absolute;right: 66px;}.universal_mini > .bottom_panel .prev.component_container button {width: 100%;height: 100%;}.universal_mini > .bottom_panel .prev.component_container button::after {content: '';position: absolute;width: 11px;height: 20px;background-image: url("+ c[14]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto;}.universal_mini > .bottom_panel .prev.component_container button.active::after {background-image: url("+c[15]+");}.universal_mini > .bottom_panel .prev.component_container button[disabled]::after, .universal_mini > .bottom_panel .prev.component_container button.active[disabled]::after {background-image: url("+c[16]+");}.universal_mini .panels_overlay {position: absolute;top: 0;right: 0;bottom: 0;left: 0;}.universal_mini .panels_overlay {background: rgba(0, 0, 0, 0.1);}.universal_mini.quiz_mode {overflow: visible;height: auto !important;}.universal_mini.quiz_mode #playerView,.universal_mini.quiz_mode .video_container {display: none;}.universal_mini.quiz_mode.interaction_slide .bottom_panel {box-shadow: 0 4px 16px 0 #646464;position: fixed;bottom: 0 !important;}.universal_mini.quiz_mode.interaction_slide .bottom_panel .play,.universal_mini.quiz_mode.interaction_slide .bottom_panel .progress {display: none;}.universal_mini.quiz_mode .top_panel {position: fixed;top: -1px;height: 47px;}.universal_mini.quiz_mode .top_panel .slide_info {top: 1px;}.universal_mini.quiz_mode .top_panel .menu.component_container {top: 1px;height: 46px;}.universal_mini .launch_video_panel {width: 100%;height: 100%;}.universal_mini .launch_video_panel .bg {background: black;opacity: 0.5;width: 100%;height: 100%;}.universal_mini .launch_video_panel .info {position: absolute;left: 0;right: 0;text-align: center;padding-left: 50px;padding-right: 50px;font-size: 18px;font-family: Helvetica, Arial, sans-serif;font-weight: lighter;color: #FFFFFF;}.universal_mini .launch_video_panel .launch_btn {margin: auto;right: 0;left: 0;display: inline-block;width: 157px;height: 48px;background: #339BE0;border-radius: 7px;color: white;text-decoration: none;text-align: center;line-height: 48px;font-size: 20px;font-weight: bold;}.universal_mini .launch_video_panel .loadApp_btn {display: inline-block;width: 169px;height: 50px;background-image: url("+ c[17]+");background-size: contain;left: 0;right: 0;margin: auto;}.universal_mini * {cursor: default !important;}.universal_mini,.universal_mini > div {position: absolute;top: 0;}.universal_mini .launch_layer {width: 100%;height: 100%;background: url("+c[18]+") no-repeat center;background-color: rgba(0, 0, 0, 0.75);}.universal_mini .launch_layer:active {background-image: url("+c[19]+");}.universal_mini .launch_layer[disabled], .universal_mini .launch_layer:active[disabled] {background-image: none;}.universal_mini .video_container video {position: absolute;}.universal_mini .preloader {width: 50px;height: 50px;position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;border-radius: 10px;background-color: rgba(0, 0, 0, 0.5);}.universal_mini .preloader::after {content: '';position: absolute;background: url("+ c[20]+");background-size: cover;top: 0;left: 0;bottom: 0;right: 0;-webkit-animation: preloader_spin 1s infinite linear;animation: preloader_spin 1s infinite linear;}.universal_mini .menu_layer {position: absolute;background: #FFFFFF;z-index: 1;}.universal_mini .menu_layer .top_panel {position: absolute;height: 46px;background: #F7F7F7;}.universal_mini .menu_layer .top_panel::before {content: '';width: 100%;height: 1px;position: absolute;background: #BABABA;bottom: 0;}.universal_mini .menu_layer .top_panel .title {position: absolute;color: #495060;top: 1px;text-align: center;font-size: 17px;font-weight: bold;line-height: 46px;left: 44px;right: 44px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;z-index: 1;pointer-events: none;font-family: Helvetica, Roboto, Arial;}.universal_mini .menu_layer .top_panel .search,.universal_mini .menu_layer .top_panel .close,.universal_mini .menu_layer .top_panel .back {position: absolute;height: 46px;top: 0;border: 0;background: transparent;}.universal_mini .menu_layer .top_panel .search {width: 58px;height: 46px;}.universal_mini .menu_layer .top_panel .search button {width: 100%;height: 100%;}.universal_mini .menu_layer .top_panel .search button::after {content: '';position: absolute;width: 20px;height: 20px;background-image: url("+ c[21]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto;}.universal_mini .menu_layer .top_panel .search button.active::after {background-image: url("+c[22]+");}.universal_mini .menu_layer .top_panel .close {width: 58px;height: 46px;right: 0;}.universal_mini .menu_layer .top_panel .close button {width: 100%;height: 100%;}.universal_mini .menu_layer .top_panel .close button::after {content: '';position: absolute;width: 20px;height: 20px;background-image: url("+ c[23]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto;}.universal_mini .menu_layer .top_panel .close button.active::after {background-image: url("+c[24]+");}.universal_mini .menu_layer .top_panel .search.component_container {left: 0;}.universal_mini .menu_layer .top_panel .back {width: 57px;height: 46px;left: 0;}.universal_mini .menu_layer .top_panel .back button {width: 100%;height: 100%;}.universal_mini .menu_layer .top_panel .back button::after {content: '';position: absolute;width: 11px;height: 20px;background-image: url("+ c[14]+");background-repeat: no-repeat;background-size: contain;top: 0;right: 0;bottom: 0;left: 0;margin: auto;}.universal_mini .menu_layer .top_panel .back button.active::after {background-image: url("+c[15]+");}.universal_mini .menu_layer .top_panel.with_search .back {right: 44px;}.universal_mini .menu_layer .top_panel .search_panel {position: absolute;background: #F7F7F7;top: 0;right: 0;bottom: 0;left: 0;z-index: 1;}.universal_mini .menu_layer .top_panel .search_panel::before {content: '';width: 100%;height: 1px;position: absolute;background: #BABABA;bottom: 0;}.universal_mini .menu_layer .top_panel .search_panel .search_container {border: 1px solid #D9E8EF;background: #FFFFFF;border-radius: 4px;position: absolute;top: 5px;bottom: 5px;left: 8px;}.universal_mini .menu_layer .top_panel .search_panel .search_container::before {content: '';position: absolute;width: 20px;height: 20px;background: url("+ c[21]+");background-size: cover;left: 10px;top: 7px;}.universal_mini .menu_layer .top_panel .search_panel .search_container.empty .clear {display: none;}.universal_mini .menu_layer .top_panel .search_panel .search_container .clear {background: transparent;position: absolute;width: 30px;height: 100%;right: 0;}.universal_mini .menu_layer .top_panel .search_panel .search_container .clear svg {position: absolute;top: 0;right: 0;bottom: 0;left: 0;margin: auto;}.universal_mini .menu_layer .top_panel .search_panel .search_container .search_input {position: absolute;top: 0;right: 30px;bottom: 0;left: 40px;border: 0;}.universal_mini .menu_layer .top_panel .search_panel .search_container .search_input input,.universal_mini .menu_layer .top_panel .search_panel .search_container .search_input .prompt {font-family: Helvetica, Roboto, Arial;font-size: 17px;line-height: 28px;padding: 3px 0;color: #24BADE;}.universal_mini .menu_layer .top_panel .search_panel .search_container .search_input input {position: absolute;width: 100%;background: transparent;margin: 0;border: 0;}.universal_mini .menu_layer .top_panel .search_panel .search_container .search_input .prompt {color: #848891;position: absolute;top: 0;right: 0;bottom: 0;left: 0;}.universal_mini .menu_layer .top_panel .search_panel .cancel.component_container {position: absolute;top: 0;right: 0;}.universal_mini .menu_layer .top_panel .search_panel .cancel.component_container button {background: transparent;border: 0;position: relative;line-height: 46px;padding: 0 18px;color: #339BE0;font-family: Helvetica, Roboto, Arial;font-size: 17px;}.universal_mini .menu_layer .top_panel .search_panel .cancel.component_container button.active {color: #A6CBEF;}.universal_mini .menu_layer.tab_control .content.component_container {bottom: 50px;}.universal_mini .menu_layer.tab_control .bottom_panel {position: absolute;bottom: 0;height: 50px;background: #F7F7F7;}.universal_mini .menu_layer.tab_control .bottom_panel::before {content: '';width: 100%;height: 1px;position: absolute;background: #BABABA;top: 0;}.universal_mini .menu_layer.tab_control .bottom_panel > div {height: 100%;position: relative;float: left;}.universal_mini .menu_layer.tab_control .bottom_panel > div button {position: absolute;width: 100%;height: 100%;background: transparent;border: 0;color: #929292;font-family: Helvetica, Roboto, Arial;font-size: 11px;line-height: 13px;padding-top: 35px;}.universal_mini .menu_layer.tab_control .bottom_panel > div button::after {content: '';position: absolute;width: 26px;height: 26px;top: 6px;left: 0;right: 0;margin: auto;background-size: contain;background-repeat: no-repeat;background-position: center;}.universal_mini .menu_layer.tab_control .bottom_panel > div button.selected {color: #39AFD8;}.universal_mini .menu_layer.tab_control .bottom_panel > div.outline button::after {background-image: url("+ c[25]+");}.universal_mini .menu_layer.tab_control .bottom_panel > div.outline button.selected::after {background-image: url("+c[26]+");}.universal_mini .menu_layer.tab_control .bottom_panel > div.resources button::after {background-image: url("+c[27]+");}.universal_mini .menu_layer.tab_control .bottom_panel > div.resources button.selected::after {background-image: url("+c[28]+");}.universal_mini .menu_layer.tab_control .bottom_panel > div.presenter button::after {background-image: url("+c[29]+");}.universal_mini .menu_layer.tab_control .bottom_panel > div.presenter button.selected::after {background-image: url("+ c[30]+");}.universal_mini .menu_layer.tab_control .bottom_panel > div.notes button::after {background-image: url("+c[31]+");}.universal_mini .menu_layer.tab_control .bottom_panel > div.notes button.selected::after {background-image: url("+c[32]+");}.universal_mini .menu_layer .content.component_container {position: absolute;top: 46px;bottom: 0;width: 100%;}.universal_mini .menu_layer .content.component_container.animation .content.component_base > div {position: absolute;}.universal_mini .menu_layer .content.component_container .content.component_base {width: 100%;position: relative;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .separator,.universal_mini .menu_layer .content.component_container .content.component_base .resources .separator {background: #FFFFFF;position: relative;width: 100%;height: 1px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .separator:first-child,.universal_mini .menu_layer .content.component_container .content.component_base .resources .separator:first-child {position: absolute;top: -1px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .separator:last-child,.universal_mini .menu_layer .content.component_container .content.component_base .resources .separator:last-child {position: absolute;bottom: -1px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .separator::after,.universal_mini .menu_layer .content.component_container .content.component_base .resources .separator::after {position: absolute;content: '';top: 0;bottom: 0;background: #D8D8D8;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list {position: relative;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item {position: relative;min-height: 54px;font-family: Helvetica, Roboto, Arial;font-size: 17px;color: #32383F;margin-bottom: 1px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level1 {padding-left: 24px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level1::after {left: 34px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level2 {padding-left: 48px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level2::after {left: 58px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level3 {padding-left: 72px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level3::after {left: 82px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level4 {padding-left: 96px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.level4::after {left: 106px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item::after {content: '';position: absolute;left: 10px;right: 10px;bottom: -1px;height: 1px;background: #D8D8D8;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item .image {float: left;margin: 5px 8px 6px 12px;border: 1px solid #CDCDCD;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item .text {position: relative;margin: 0;padding-right: 10px;padding-bottom: 1px;line-height: 21px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.text_only .text {padding-left: 13px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.active, .universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.selected {background: #E0F1FB;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.parent::before {content: '';position: absolute;top: 0;bottom: 0;right: 10px;width: 12px;height: 19px;margin: auto;background: url("+ c[33]+");background-size: contain;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .item.parent .text {padding-right: 25px;}.universal_mini .menu_layer .content.component_container .content.component_base .slides_list .separator::after {right: 10px;left: 10px;}.universal_mini .menu_layer .content.component_container .content.component_base .resources .item {width: 100%;height: 47px;position: relative;display: block;}.universal_mini .menu_layer .content.component_container .content.component_base .resources .item.active {background: #E0F1FB;margin-top: -1px;margin-bottom: -1px;height: 49px;z-index: 1;}.universal_mini .menu_layer .content.component_container .content.component_base .resources .item.active .text {top: 1px;}.universal_mini .menu_layer .content.component_container .content.component_base .resources .item.active svg {top: 1px;bottom: 1px;}.universal_mini .menu_layer .content.component_container .content.component_base .resources .item .text {position: absolute;height: 47px;left: 44px;right: 20px;font-size: 15px;color: #231F20;font-family: Helvetica, Roboto, Arial;line-height: 47px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}.universal_mini .menu_layer .content.component_container .content.component_base .resources .item svg {position: absolute;left: 20px;top: 0;bottom: 0;margin: auto;}.universal_mini .menu_layer .content.component_container .content.component_base .resources .separator::after {right: 20px;left: 20px;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info {padding-top: 18px;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .photo_container {position: relative;margin-left: auto;margin-right: auto;margin-bottom: 10px;border: 1px solid #E6E6E6;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .photo_container canvas,.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .photo_container svg {position: absolute;top: 0;right: 0;bottom: 0;left: 0;margin: auto;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .no_presenter_label {position: relative;font-family: Helvetica, Roboto, Arial;font-size: 14px;color: #404A5B;padding: 0 40px;text-align: center;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .name {position: relative;font-family: Helvetica, Roboto, Arial;color: #404A5B;font-size: 20px;font-weight: bold;text-align: center;margin-bottom: 1px;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .job {position: relative;font-family: Helvetica, Roboto, Arial;color: #404A5B;font-size: 14px;text-align: center;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .separator {position: relative;width: 100%;height: 1px;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .separator.first {margin-top: 15px;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .separator:last-child {position: absolute;bottom: -1px;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .separator::after {position: absolute;content: '';top: 0;right: 16px;bottom: 0;left: 16px;background: #D8D8D8;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item {width: 100%;height: 47px;position: relative;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item.active {background: #E0F1FB;margin-top: -1px;margin-bottom: -1px;height: 49px;z-index: 1;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item.active .text {top: 1px;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item.active svg {top: 1px;bottom: 1px;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item .text {position: absolute;height: 47px;left: 59px;right: 16px;font-size: 14px;color: #313333;font-family: Helvetica, Roboto, Arial;line-height: 47px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .item svg {position: absolute;left: 30px;top: 0;bottom: 0;margin: auto;}.universal_mini .menu_layer .content.component_container .content.component_base .presenter_info .bio {padding: 15px 16px 10px 16px;position: relative;font-family: Helvetica, Roboto, Arial;color: #313333;font-size: 14px;white-space: pre-wrap;}.universal_mini .menu_layer .content.component_container .content.component_base .empty_results {padding: 15px 12px;color: #231F20;font-family: Helvetica, Roboto, Arial;font-size: 14px;}.universal_mini .menu_layer .content.component_container .content.component_base .notes {padding: 18px 20px;font-family: Helvetica, Roboto, Arial;font-size: 15px;width: auto !important;white-space: pre-wrap;word-wrap: break-word;}body {margin: 0;padding: 0;cursor: default;-ms-touch-action: pan-y;touch-action: pan-y;overflow-x: hidden;overflow-y: auto;}body .info_panel {position: relative;top: 0;background: #FFFFFF;font-family: Helvetica, Roboto, Arial;padding-top: 161px;padding-bottom: 50px;}body .info_panel,body .info_panel * {box-sizing: border-box;}body .info_panel.domain::before {background: transparent url("+ c[34]+") no-repeat center;}body .info_panel.time::before {background: transparent url("+c[35]+") no-repeat center;}body .info_panel.password::before {background: transparent url("+c[36]+") no-repeat center;}body .info_panel::before {position: absolute;width: 100%;top: 55px;height: 63px;content: '';}body .info_panel .message {position: relative;color: #414A5B;font-size: 16px;padding-left: 15px;padding-right: 15px;text-align: center;}body .password .password_field {position: relative;margin-left: 20px;margin-right: 20px;padding-top: 23px;padding-bottom: 26px;}body .password .password_field input {position: relative;width: 100%;height: 34px;border: 1px solid #D6D6D6;border-top: 1px solid #BABABA;padding-left: 8px;font-size: 20px;}body .password .wrong_password_label {position: absolute;font-size: 12px;color: #DD4A37;left: 22px;right: 22px;margin-top: -21px;}body .ok.component_container {position: fixed;bottom: 0;height: 50px;background: #434E50;}body .ok.component_container.active {background: #637375;}body .ok.component_container button {top: 0;bottom: 0;left: 0;width: 100%;position: absolute;background: transparent;border: 0;line-height: 50px;color: #E2E2E2;font-size: 16px;}body .ok.component_container button[disabled] {color: #647577;}.launch_layer {z-index: 999 !important;}.component_base,.component_container {position: absolute;}:focus {outline: none;}::-moz-focus-inner {border: 0;}input {-webkit-appearance: none;-moz-appearance: none;appearance: none;}button {cursor: pointer;margin: 0;border: 0;}button[disabled] {cursor: default;}.__player_view_id__ .slide {white-space: nowrap;font-size: 0;}.__player_view_id__ .slide a {text-decoration: none;cursor: pointer;}.__player_view_id__ .slide a img {border: 0;}.__player_view_id__ .slide * {-webkit-transform-origin: 0 0;-ms-transform-origin: 0 0;transform-origin: 0 0;}.__player_view_id__ .slide.relpos,.__player_view_id__ .slide .relpos {position: relative !important;vertical-align: top;}.__player_view_id__ .slide.kern,.__player_view_id__ .slide .kern {text-rendering: optimizeLegibility;font-feature-settings: 'kern' 1;}.__player_view_id__ .slide.nokern,.__player_view_id__ .slide .nokern {text-rendering: optimizeSpeed;font-feature-settings: 'kern' 0;}.__player_view_id__ .fullscreen {-webkit-transform: none !important;-ms-transform: none !important;transform: none !important;top: 0 !important;left: 0 !important;}.__player_view_id__ .fullscreen > video {background-color: black;width: __slide_width__ !important;height: __slide_height__ !important;z-index: 100;}.__player_view_id__ .video_player video {width: 100%;height: 100%;}.__player_view_id__ .video_player.iphone::after {background: transparent url("+ c[37]+") no-repeat center;position: absolute;width: 100%;height: 100%;top: 0;right: 0;content: '';}.__player_view_id__ .video_player.iphone video {opacity: 0;}.__player_view_id__ .video_player.iphone.without_controls video {display: none;}.__player_view_id__ .video_player .controls {height: 36px;background: rgba(45, 50, 55, 0.85098);border: 1px solid #444648;cursor: default;border-radius: 4px;}.__player_view_id__ .video_player .controls .progress {background-color: #75787A;height: 14px;left: 62px;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;cursor: pointer;}.__player_view_id__ .video_player .controls .progress .bookmark {width: 10px;height: 10px;margin-top: -5px;margin-left: -5px;top: 50%;background: url("+ c[38]+") no-repeat;cursor: pointer;}.__player_view_id__ .video_player .controls .progress .bookmark:hover, .__player_view_id__ .video_player .controls .progress .bookmark:active {background: url("+c[39]+") no-repeat;}.__player_view_id__ .video_player .controls .progress .loading {background-color: #B1B3B5;height: 100%;}.__player_view_id__ .video_player .controls .progress .playing {background-color: #FFFFFF;height: 100%;}.__player_view_id__ .video_player .controls .progress .tooltip {background: url("+ c[40]+") no-repeat;width: 60px;height: 25px;top: -33px;margin-left: -30px;font-family: Helvetica, Roboto, Arial;font-size: 12px;padding-top: 2px;text-align: center;}.__player_view_id__ .video_player .controls .volume_popup {border-radius: 3px;background: rgba(45, 50, 55, 0.85098);top: -67px;right: 55px;padding: 8px;}.__player_view_id__ .video_player .controls .volume_popup .volume {background: url("+c[41]+");position: relative;cursor: pointer;width: 12px;height: 48px;}.__player_view_id__ .video_player .controls .volume_popup .volume .back {background: url("+ c[42]+");width: 100%;}.__player_view_id__ .video_player .controls button {width: 100%;height: 100%;}.__player_view_id__ .video_player .controls button.mute {background: url("+c[43]+");}.__player_view_id__ .video_player .controls button.mute:hover {background: url("+c[44]+");}.__player_view_id__ .video_player .controls button.mute:active {background: url("+c[45]+");}.__player_view_id__ .video_player .controls button.mute.selected {background: url("+c[46]+");}.__player_view_id__ .video_player .controls button.mute.selected:hover {background: url("+ c[47]+");}.__player_view_id__ .video_player .controls button.mute.selected:active {background: url("+c[48]+");}.__player_view_id__ .video_player .controls button.play {background: url("+c[49]+") no-repeat;}.__player_view_id__ .video_player .controls button.play:hover {background: url("+c[50]+") no-repeat;}.__player_view_id__ .video_player .controls button.play:active {background: url("+c[51]+") no-repeat;}.__player_view_id__ .video_player .controls button.play.selected {background: url("+c[52]+") no-repeat;}.__player_view_id__ .video_player .controls button.play.selected:hover {background: url("+ c[53]+") no-repeat;}.__player_view_id__ .video_player .controls button.play.selected:active {background: url("+c[54]+") no-repeat;}.__player_view_id__ .video_player .controls button.play::after {background: url("+c[55]+");width: 1px;height: 32px;right: 0;top: 1px;position: absolute;content: '';}.__player_view_id__ .video_player .controls button.toggle_fullscreen {background: url("+c[56]+") no-repeat;}.__player_view_id__ .video_player .controls button.toggle_fullscreen:hover {background: url("+c[57]+ ") no-repeat;}.__player_view_id__ .video_player .controls button.toggle_fullscreen:active {background: url("+c[58]+") no-repeat;}.__player_view_id__ .video_player .controls button.toggle_fullscreen::before {background: url("+c[55]+") no-repeat;width: 1px;height: 32px;left: 0;top: 1px;position: absolute;content: '';}.__player_view_id__ .video_player .controls .component_container.toggle_fullscreen, .__player_view_id__ .video_player .controls .component_container.play {width: 52px;height: 34px;}.__player_view_id__ .video_player .controls .component_container.toggle_fullscreen {right: -1px;}.__player_view_id__ .video_player .controls .component_container.mute {width: 22px;height: 22px;right: 58px;top: 6px;}.modal_layer {background: #000000;opacity: 0.7;z-index: 1;width: 100%;height: 100%;}.message_box,.confirm_window {border-radius: 4px;min-height: 150px;min-width: 300px;z-index: 1;background: #FFFFFF;position: absolute;width: 300px;top: 0;right: 0;bottom: 0;left: 0;margin: auto;}.message_box .title,.confirm_window .title {display: none !important;}.message_box .message,.confirm_window .message {padding: 34px 34px 24px 34px;font-size: 14px;line-height: 18px;color: #231F20;font-family: Helvetica, Roboto, Arial;}.message_box .btn_ok.component_container {padding-bottom: 24px;position: relative;text-align: center;height: 44px;width: 100%;}.message_box .btn_ok.component_container button {vertical-align: middle;line-height: 44px;height: 44px;padding-left: 20px;padding-right: 20px;min-width: 110px;margin-left: 5px;margin-right: 5px;position: static;-webkit-appearance: none;-moz-appearance: none;appearance: none;border: 0;border-radius: 4px;font-size: 16px;background: #339BE0;color: #FFFFFF;}.message_box .btn_ok.component_container button.active {background: #058ACC;}.confirm_window .buttons_panel {text-align: center;position: relative;padding-bottom: 24px;height: 44px;width: 100%;}.confirm_window .buttons_panel > div {width: 50%;float: right;position: relative;}.confirm_window .buttons_panel > div button {vertical-align: middle;line-height: 44px;height: 44px;padding-left: 20px;padding-right: 20px;min-width: 110px;margin-left: 5px;margin-right: 5px;position: static;-webkit-appearance: none;-moz-appearance: none;appearance: none;border: 0;border-radius: 4px;font-size: 16px;background: #339BE0;color: #FFFFFF;}.confirm_window .buttons_panel > div.active button {background: #058ACC;}.confirm_window .buttons_panel > div:only-child {width: 100%;text-align: center !important;}.confirm_window .buttons_panel > div:nth-child(1) {text-align: left;}.confirm_window .buttons_panel > div:nth-child(2) {text-align: right;}.trial_banner .content {display: block;}.trial_banner .content_hover {display: none;}.trial_banner .days_remaining {position: absolute !important;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;}.trial_banner:hover .content {display: none;}.trial_banner:hover .content_hover {display: block;}"; for(var d in a)if(a.hasOwnProperty(d)){var e="__"+d.replace(RegExp("\\.","g"),"_")+"__";c=c.replace(new RegExp(e,"g"),a[d])}for(var g in b)b.hasOwnProperty(g)&&(c=c.replace(new RegExp(g,"g"),b[g]));c=c.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.It);return gi(c)}; pR.prototype.It=function(a,b,c){return"url(data:image/svg+xml;base64,"+gg('\r\n\r\n\r\n\r\n\r\n')+")"};r("PresentationPlayer.start",function(a,b,c,d,e){var g=0',clear_icon:'', email_icon:'',next:'', no_presenter:'', phone_icon:'', url_icon:''}: {"btn_pause_big.svg":' \t\t', "btn_play_big.svg":' ', next_btn:'',next_btn_mobile:'', play_pause_btn:' ', prev_btn:' ',prev_btn_mobile:'', tab1:'',tab1_mobile:' ', tab2:'',tab2_mobile:''}); e=!1;try{e=window.isLearn()}catch(h){}return d==PQ?new d(a,b,g,c,e):new d(a,b,g,c)}function qR(a){var b=a.J.settings().Jp();return new UO(a,b||{})};})(); (function(){var r=Math,d=function(m){return m>>0},v=(/webkit/i).test(navigator.appVersion)?"webkit":(/firefox/i).test(navigator.userAgent)?"Moz":(/trident/i).test(navigator.userAgent)?"ms":"opera" in window?"O":"",w=(/android/gi).test(navigator.appVersion),i=(/iphone|ipad/gi).test(navigator.appVersion),c=(/playbook/gi).test(navigator.appVersion),n=(/hp-tablet/gi).test(navigator.appVersion),k=false,u="ontouchstart" in window&&!n,f=v+"Transform" in document.documentElement.style,g=i||c,o=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(m){return setTimeout(m,1)}})(),l=(function(){return window.cancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout})(),h="onorientationchange" in window?"orientationchange":"resize",b=u?"touchstart":"mousedown",p=u?"touchmove":"mousemove",e=u?"touchend":"mouseup",t=u?"touchcancel":"mouseup",q=v=="Moz"?"DOMMouseScroll":"mousewheel",a="translate"+(k?"3d(":"("),j=k?",0)":")",s=function(y,m){var z=this,A=document,x;z.wrapper=typeof y=="object"?y:A.getElementById(y);z.wrapper.style.overflow="hidden";z.scroller=z.wrapper.children[0];z.options={hScroll:true,vScroll:true,x:0,y:0,bounce:true,bounceLock:false,momentum:true,lockDirection:true,useTransform:true,useTransition:false,topOffset:0,checkDOMChanges:false,handleClick:true,ignoreEmptyScroll:false,minThumbSize:16,hScrollbar:true,vScrollbar:true,fixedScrollbar:w,hideScrollbar:i,fadeScrollbar:i&&k,scrollbarClass:"",zoom:false,zoomMin:1,zoomMax:4,doubleTapZoom:2,wheelAction:"scroll",snap:false,snapThreshold:1,onRefresh:null,onBeforeScrollStart:function(B){B.preventDefault()},onScrollStart:null,onBeforeScrollMove:null,onScrollMove:null,onBeforeScrollEnd:null,onScrollEnd:null,onTouchEnd:null,onDestroy:null,onZoomStart:null,onZoom:null,onZoomEnd:null};for(x in m){z.options[x]=m[x]}z.x=z.options.x;z.y=z.options.y;z.options.useTransform=f?z.options.useTransform:false;z.options.hScrollbar=z.options.hScroll&&z.options.hScrollbar;z.options.vScrollbar=z.options.vScroll&&z.options.vScrollbar;z.options.zoom=z.options.useTransform&&z.options.zoom;z.options.useTransition=g&&z.options.useTransition;if(z.options.zoom&&w){a="translate(";j=")"}z.scroller.style[v+"TransformOrigin"]="0 0";if(z.options.useTransition){z.scroller.style[v+"TransitionProperty"]=z.options.useTransform?"-"+v.toLowerCase()+"-transform":"top left";z.scroller.style[v+"TransitionDuration"]="0";z.scroller.style[v+"TransitionTimingFunction"]="cubic-bezier(0.33,0.66,0.66,1)"}if(z.options.useTransform){z.scroller.style[v+"Transform"]=a+z.x+"px,"+z.y+"px"+j}else{z.scroller.style.cssText+=";position:absolute;top:"+z.y+"px;left:"+z.x+"px"}if(z.options.useTransition){z.options.fixedScrollbar=true}z.refresh();z._bind(h,window);z._bind(b);if(!u){z._bind("mouseout",z.wrapper);if(z.options.wheelAction!="none"){z._bind(q)}}if(z.options.checkDOMChanges){z.checkDOMTime=setInterval(function(){z._checkDOMChanges()},500)}};s.prototype={enabled:true,x:0,y:0,steps:[],scale:1,currPageX:0,currPageY:0,pagesX:[],pagesY:[],aniTime:null,wheelZoomCount:0,handleEvent:function(x){var m=this;switch(x.type){case b:if(!u&&x.button!==0){return}m._start(x);break;case p:m._move(x);break;case e:case t:m._end(x);break;case h:m._resize();break;case q:m._wheel(x);break;case"mouseout":m._mouseout(x);break;case"webkitTransitionEnd":m._transitionEnd(x);break}},_checkDOMChanges:function(){if(this.moved||this.zoomed||this.animating||(this.scrollerW==this.scroller.offsetWidth*this.scale&&this.scrollerH==this.scroller.offsetHeight*this.scale)){return}this.refresh()},_scrollbar:function(m){var y=this,z=document,x;if(!y[m+"Scrollbar"]){if(y[m+"ScrollbarWrapper"]){if(f){y[m+"ScrollbarIndicator"].style[v+"Transform"]=""}y[m+"ScrollbarWrapper"].parentNode.removeChild(y[m+"ScrollbarWrapper"]);y[m+"ScrollbarWrapper"]=null;y[m+"ScrollbarIndicator"]=null}return}if(!y[m+"ScrollbarWrapper"]){x=z.createElement("div");if(y.options.scrollbarClass){x.className=m+y.options.scrollbarClass}else{x.style.cssText="position:absolute;z-index:100;"+(m=="h"?"height:7px;bottom:1px;left:2px;right:"+(y.vScrollbar?"7":"2")+"px":"width:7px;bottom:"+(y.hScrollbar?"7":"2")+"px;top:2px;right:1px")}x.style.cssText+=";pointer-events:none;opacity:"+(y.options.hideScrollbar?"0":"1");y.wrapper.appendChild(x);y[m+"ScrollbarWrapper"]=x;x=z.createElement("div");x.id=m+"Thumb";x.className="thumb";if(!y.options.scrollbarClass){x.style.cssText="position:absolute;z-index:100;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.5);-"+v+"-background-clip:border-box;-"+v+"-box-sizing:content-box;"+(m=="h"?"height:100%":"width:100%")+";-"+v+"-border-radius:4px;border-radius:4px;"+(m=="h"?"bottom":"right")+":2px;"}x.style.cssText+=";pointer-events:none;-"+v+"-transform:"+a+"0,0"+j;if(y.options.useTransition){x.style.cssText+=";-"+v+"-transition-timing-function:cubic-bezier(0.33,0.66,0.66,1)"}y[m+"ScrollbarWrapper"].appendChild(x);y[m+"ScrollbarIndicator"]=x}if(m=="h"){y.hScrollbarSize=y.hScrollbarWrapper.clientWidth;y.hScrollbarIndicatorSize=r.max(d(y.hScrollbarSize*y.hScrollbarSize/y.scrollerW),y.options.minThumbSize);y.hScrollbarIndicator.style.width=y.hScrollbarIndicatorSize+"px";y.hScrollbarMaxScroll=y.hScrollbarSize-y.hScrollbarIndicatorSize;y.hScrollbarProp=y.hScrollbarMaxScroll/y.maxScrollX}else{y.vScrollbarSize=y.vScrollbarWrapper.clientHeight;y.vScrollbarIndicatorSize=r.max(d(y.vScrollbarSize*y.vScrollbarSize/y.scrollerH),y.options.minThumbSize);y.vScrollbarIndicator.style.height=y.vScrollbarIndicatorSize+"px";y.vScrollbarMaxScroll=y.vScrollbarSize-y.vScrollbarIndicatorSize;y.vScrollbarProp=y.vScrollbarMaxScroll/y.maxScrollY}y._scrollbarPos(m,true)},_resize:function(){var m=this;setTimeout(function(){m.refresh()},w?200:0)},_pos:function(m,z){this._posImpl(m,z);this._scrollbarPos("h");this._scrollbarPos("v")},_posImpl:function(m,z){if(this.zoomed){return}m=this.hScroll?m:0;z=this.vScroll?z:0;if(this.options.useTransform){this.scroller.style[v+"Transform"]=a+m+"px,"+z+"px"+j+" scale("+this.scale+")"}else{m=d(m);z=d(z);this.scroller.style.left=m+"px";this.scroller.style.top=z+"px"}this.x=m;this.y=z;if(this.options.onScrollMove){this.options.onScrollMove.call(this)}},_scrollbarPos:function(m,z){var y=this,A=m=="h"?y.x:y.y,x;if(!y[m+"Scrollbar"]){return}A=y[m+"ScrollbarProp"]*A;if(A<0){if(!y.options.fixedScrollbar){x=y[m+"ScrollbarIndicatorSize"]+d(A*3);if(x<8){x=8}y[m+"ScrollbarIndicator"].style[m=="h"?"width":"height"]=x+"px"}A=0}else{if(A>y[m+"ScrollbarMaxScroll"]){if(!y.options.fixedScrollbar){x=y[m+"ScrollbarIndicatorSize"]-d((A-y[m+"ScrollbarMaxScroll"])*3);if(x<8){x=8}y[m+"ScrollbarIndicator"].style[m=="h"?"width":"height"]=x+"px";A=y[m+"ScrollbarMaxScroll"]+(y[m+"ScrollbarIndicatorSize"]-x)}else{A=y[m+"ScrollbarMaxScroll"]}}}y[m+"ScrollbarWrapper"].style.opacity=z&&y.options.hideScrollbar?"0":"1";y[m+"ScrollbarIndicator"].style[v+"Transform"]=a+(m=="h"?A+"px,0":"0,"+A+"px")+j},_start:function(E){var D=this,z=u?E.touches[0]:E,A,m,F,C,B;if(!D.enabled){return}if(D.options.onBeforeScrollStart){D.options.onBeforeScrollStart.call(D,E)}if(D.options.useTransition||D.options.zoom){D._transitionTime(0)}D.moved=false;D.animating=false;D.zoomed=false;D.distX=0;D.distY=0;D.absDistX=0;D.absDistY=0;D.dirX=0;D.dirY=0;if(D.options.zoom&&u&&E.touches.length>1){C=r.abs(E.touches[0].pageX-E.touches[1].pageX);B=r.abs(E.touches[0].pageY-E.touches[1].pageY);D.touchesDistStart=r.sqrt(C*C+B*B);D.originX=r.abs(E.touches[0].pageX+E.touches[1].pageX-D.wrapperOffsetLeft*2)/2-D.x;D.originY=r.abs(E.touches[0].pageY+E.touches[1].pageY-D.wrapperOffsetTop*2)/2-D.y;if(D.options.onZoomStart){D.options.onZoomStart.call(D,E)}}if(D.options.momentum){if(D.options.useTransform){A=getComputedStyle(D.scroller,null)[v+"Transform"].replace(/[^0-9-.,]/g,"").split(",");m=A[4]*1;F=A[5]*1}else{m=getComputedStyle(D.scroller,null).left.replace(/[^0-9-]/g,"")*1;F=getComputedStyle(D.scroller,null).top.replace(/[^0-9-]/g,"")*1}if(m!=D.x||F!=D.y){if(D.options.useTransition){D._unbind("webkitTransitionEnd")}else{l(D.aniTime)}D.steps=[];D._pos(m,F)}}D.absStartX=D.x;D.absStartY=D.y;D.startX=D.x;D.startY=D.y;D.pointX=z.pageX;D.pointY=z.pageY;D.startTime=E.timeStamp||Date.now();if(D.options.onScrollStart){D.options.onScrollStart.call(D,E)}D._bind(p);D._bind(e);D._bind(t)},_move:function(E){var C=this,F=u?E.touches[0]:E,A=F.pageX-C.pointX,y=F.pageY-C.pointY,m=C.x+A,G=C.y+y,B,z,x,D=E.timeStamp||Date.now();if(C.options.ignoreEmptyScroll){if(C.maxScrollY==C.minScrollY){y=0}if(C.maxScrollX==0){A=0}}if(C.options.onBeforeScrollMove){C.options.onBeforeScrollMove.call(C,E)}if(C.options.zoom&&u&&E.touches.length>1){B=r.abs(E.touches[0].pageX-E.touches[1].pageX);z=r.abs(E.touches[0].pageY-E.touches[1].pageY);C.touchesDist=r.sqrt(B*B+z*z);C.zoomed=true;x=1/C.touchesDistStart*C.touchesDist*this.scale;if(xC.options.zoomMax){x=2*C.options.zoomMax*Math.pow(0.5,C.options.zoomMax/x)}}C.lastScale=x/this.scale;m=this.originX-this.originX*C.lastScale+this.x,G=this.originY-this.originY*C.lastScale+this.y;this.scroller.style[v+"Transform"]=a+m+"px,"+G+"px"+j+" scale("+x+")";if(C.options.onZoom){C.options.onZoom.call(C,E)}return}C.pointX=F.pageX;C.pointY=F.pageY;if(m>0||m=0||C.maxScrollX>=0?0:C.maxScrollX}if(G>C.minScrollY||G=C.minScrollY||C.maxScrollY>=0?C.minScrollY:C.maxScrollY}C.distX+=A;C.distY+=y;C.absDistX=r.abs(C.distX);C.absDistY=r.abs(C.distY);if(C.absDistX<6&&C.absDistY<6){return}if(C.options.lockDirection){if(C.absDistX>C.absDistY+5){G=C.y;y=0}else{if(C.absDistY>C.absDistX+5){m=C.x;A=0}}}C.moved=true;C._pos(m,G);C.dirX=A>0?-1:A<0?1:0;C.dirY=y>0?-1:y<0?1:0;if(D-C.startTime>300){C.startTime=D;C.startX=C.x;C.startY=C.y}if(C.options.onScrollMove){C.options.onScrollMove.call(C,E)}},_end:function(E){if(u&&E.touches.length!=0){return}var C=this,K=u?E.changedTouches[0]:E,F,J,y={dist:0,time:0},m={dist:0,time:0},B=(E.timeStamp||Date.now())-C.startTime,G=C.x,D=C.y,I,H,x,A,z;C._unbind(p);C._unbind(e);C._unbind(t);if(C.options.onBeforeScrollEnd){C.options.onBeforeScrollEnd.call(C,E)}if(C.zoomed){z=C.scale*C.lastScale;z=Math.max(C.options.zoomMin,z);z=Math.min(C.options.zoomMax,z);C.lastScale=z/C.scale;C.scale=z;C.x=C.originX-C.originX*C.lastScale+C.x;C.y=C.originY-C.originY*C.lastScale+C.y;C.scroller.style[v+"TransitionDuration"]="200ms";C.scroller.style[v+"Transform"]=a+C.x+"px,"+C.y+"px"+j+" scale("+C.scale+")";C.zoomed=false;C.refresh();if(C.options.onZoomEnd){C.options.onZoomEnd.call(C,E)}return}if(!C.moved){if(u){if(C.doubleTapTimer&&C.options.zoom){clearTimeout(C.doubleTapTimer);C.doubleTapTimer=null;if(C.options.onZoomStart){C.options.onZoomStart.call(C,E)}C.zoom(C.pointX,C.pointY,C.scale==1?C.options.doubleTapZoom:1);if(C.options.onZoomEnd){setTimeout(function(){C.options.onZoomEnd.call(C,E)},200)}}else{if(this.options.handleClick){C.doubleTapTimer=setTimeout(function(){C.doubleTapTimer=null;F=K.target;while(F.nodeType!=1){F=F.parentNode}if(F.tagName!="SELECT"&&F.tagName!="INPUT"&&F.tagName!="TEXTAREA"){J=document.createEvent("MouseEvents");J.initMouseEvent("click",true,true,E.view,1,K.screenX,K.screenY,K.clientX,K.clientY,E.ctrlKey,E.altKey,E.shiftKey,E.metaKey,0,null);J._fake=true;F.dispatchEvent(J)}},C.options.zoom?250:0)}}}C._resetPos(200);if(C.options.onTouchEnd){C.options.onTouchEnd.call(C,E)}return}if(B<300&&C.options.momentum){y=G?C._momentum(G-C.startX,B,-C.x,C.scrollerW-C.wrapperW+C.x,C.options.bounce?C.wrapperW:0):y;m=D?C._momentum(D-C.startY,B,-C.y,(C.maxScrollY<0?C.scrollerH-C.wrapperH+C.y-C.minScrollY:0),C.options.bounce?C.wrapperH:0):m;G=C.x+y.dist;D=C.y+m.dist;if((C.x>0&&G>0)||(C.xC.minScrollY&&D>C.minScrollY)||(C.y=0?0:m.x=m.minScrollY||m.maxScrollY>0?m.minScrollY:m.yz.options.zoomMax){C=z.options.zoomMax}if(C!=z.scale){if(!z.wheelZoomCount&&z.options.onZoomStart){z.options.onZoomStart.call(z,B)}z.wheelZoomCount++;z.zoom(B.pageX,B.pageY,C,400);setTimeout(function(){z.wheelZoomCount--;if(!z.wheelZoomCount&&z.options.onZoomEnd){z.options.onZoomEnd.call(z,B)}},400)}return}x=z.x+A;m=z.y+y;if(x>0){x=0}else{if(xz.minScrollY){m=z.minScrollY}else{if(m=A+B.time){C._pos(B.x,B.y);C.animating=false;if(C.options.onAnimationEnd){C.options.onAnimationEnd.call(C)}C._startAni();return}D=(D-A)/B.time-1;z=r.sqrt(1-D*D);F=(B.x-x)*z+x;E=(B.y-m)*z+m;C._pos(F,E);if(C.animating){C.aniTime=o(y)}};y()},_transitionTime:function(m){m+="ms";this.scroller.style[v+"TransitionDuration"]=m;if(this.hScrollbar){this.hScrollbarIndicator.style[v+"TransitionDuration"]=m}if(this.vScrollbar){this.vScrollbarIndicator.style[v+"TransitionDuration"]=m}},_momentum:function(D,x,B,m,F){var C=0.0006,y=r.abs(D)/x,z=(y*y)/(2*C),E=0,A=0;if(D>0&&z>B){A=F/(6/(z/y*C));B=B+A;y=y*B/z;z=B}else{if(D<0&&z>m){A=F/(6/(z/y*C));m=m+A;y=y*m/z;z=m}}z=z*(D<0?-1:1);E=y/C;return{dist:z,time:d(E)}},_offset:function(m){var y=-m.offsetLeft,x=-m.offsetTop;while(m=m.offsetParent){y-=m.offsetLeft;x-=m.offsetTop}if(m!=this.wrapper){y*=this.scale;x*=this.scale}return{left:y,top:x}},_snap:function(G,F){var D=this,C,B,E,A,z,m;E=D.pagesX.length-1;for(C=0,B=D.pagesX.length;C=D.pagesX[C]){E=C;break}}if(E==D.currPageX&&E>0&&D.dirX<0){E--}G=D.pagesX[E];z=r.abs(G-D.pagesX[D.currPageX]);z=z?r.abs(D.x-G)/z*500:0;D.currPageX=E;E=D.pagesY.length-1;for(C=0;C=D.pagesY[C]){E=C;break}}if(E==D.currPageY&&E>0&&D.dirY<0){E--}F=D.pagesY[E];m=r.abs(F-D.pagesY[D.currPageY]);m=m?r.abs(D.y-F)/m*500:0;D.currPageY=E;A=200;return{x:G,y:F,time:A}},_bind:function(y,x,m){(x||this.scroller).addEventListener(y,this,!!m)},_unbind:function(y,x,m){(x||this.scroller).removeEventListener(y,this,!!m)},resize:function(x,m){if(x){this.wrapperWidth=x}if(m){this.wrapperHeight=m}this.refresh()},destroy:function(){var m=this;m.scroller.style[v+"Transform"]="";m.hScrollbar=false;m.vScrollbar=false;m._scrollbar("h");m._scrollbar("v");m._unbind(h,window);m._unbind(b);m._unbind(p);m._unbind(e);m._unbind(t);if(!m.options.hasTouch){m._unbind("mouseout",m.wrapper);m._unbind(q)}if(m.options.useTransition){m._unbind("webkitTransitionEnd")}if(m.options.checkDOMChanges){clearInterval(m.checkDOMTime)}if(m.options.onDestroy){m.options.onDestroy.call(m)}},refresh:function(){var B=this,y,A,x,z,D=0,C=0;if(B.scaleB.wrapperH);B.hScrollbar=B.hScroll&&B.options.hScrollbar&&B.maxScrollX<0;B.vScrollbar=B.vScroll&&B.options.vScrollbar&&B.maxScrollY<0;y=B._offset(B.wrapper);B.wrapperOffsetLeft=-y.left;B.wrapperOffsetTop=-y.top;var E=document.defaultView.getComputedStyle(B.scroller,null);B.wrapperOffsetTop+=parseInt(E["padding-top"]);if(typeof B.options.snap=="string"){B.pagesX=[];B.pagesY=[];z=B.scroller.querySelectorAll(B.options.snap);for(A=0,x=z.length;A=B.maxScrollX){B.pagesX[C]=D;D=D-B.wrapperW;C++}if(B.maxScrollX%B.wrapperW){B.pagesX[B.pagesX.length]=B.maxScrollX-B.pagesX[B.pagesX.length-1]+B.pagesX[B.pagesX.length-1]}D=0;C=0;B.pagesY=[];while(D>=B.maxScrollY){B.pagesY[C]=D;D=D-B.wrapperH;C++}if(B.maxScrollY%B.wrapperH){B.pagesY[B.pagesY.length]=B.maxScrollY-B.pagesY[B.pagesY.length-1]+B.pagesY[B.pagesY.length-1]}}}B._scrollbar("h");B._scrollbar("v");if(!B.zoomed){B._resetPos(200)}},scrollTo:function(m,F,E,D){var C=this,B=m,A,z;if(!E){C._posImpl(m,F);return}C.stop();if(!B.length){B=[{x:m,y:F,time:E,relative:D}]}for(A=0,z=B.length;A=x.y-x.wrapper.clientHeight){return}else{if(z.topx.x-x.wrapper.clientWidth){return}else{if(z.left0?0:z.leftx.minScrollY?x.minScrollY:z.topB.pagesX.length-1?B.pagesX.length-1:A;z=z<0?0:z>B.pagesY.length-1?B.pagesY.length-1:z;B.currPageX=A;B.currPageY=z;m=B.pagesX[A];D=B.pagesY[z]}else{m=-B.wrapperW*A;D=-B.wrapperH*z;if(m0?0:z.xz.minScrollY?z.minScrollY:z.yi;i++){var r=g[i],f=r.toUpperCase()+"_"+t;if(f in a)return"@-"+r.toLowerCase()+"-"+n}return!1};l.atRule=m;var g=l._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];l._prefixes=g,o(),a(r),delete l.addTest,delete l.addAsyncTest;for(var v=0;v255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return e.length==1&&(e="0"+e),t.length==1&&(t="0"+t),n.length==1&&(n="0"+n),"#"+e+t+n},this.getHelpXML=function(){var e=new Array;for(var r=0;r "+f.toRGB()+" -> "+f.toHex());a.appendChild(l),a.appendChild(c),u.appendChild(a)}catch(h){}return u}}canvg=function(){function t(){var e={};return e.FRAMERATE=30,e.MAX_VIRTUAL_PIXELS=3e4,e.init=function(t){e.Definitions={},e.Styles={},e.Animations=[],e.Images=[],e.ctx=t,e.ViewPort=new function(){this.viewPorts=[],this.Clear=function(){this.viewPorts=[]},this.SetCurrent=function(e,t){this.viewPorts.push({width:e,height:t})},this.RemoveCurrent=function(){this.viewPorts.pop()},this.Current=function(){return this.viewPorts[this.viewPorts.length-1]},this.width=function(){return this.Current().width},this.height=function(){return this.Current().height},this.ComputeSize=function(e){return e!=null&&typeof e=="number"?e:e=="x"?this.width():e=="y"?this.height():Math.sqrt(Math.pow(this.width(),2)+Math.pow(this.height(),2))/Math.sqrt(2)}}},e.init(),e.ImagesLoaded=function(){for(var t=0;t]*>/,"");var n=new ActiveXObject("Microsoft.XMLDOM");return n.async="false",n.loadXML(e),n},e.Property=function(t,n){this.name=t,this.value=n,this.hasValue=function(){return this.value!=null&&this.value!==""},this.numValue=function(){if(!this.hasValue())return 0;var e=parseFloat(this.value);return(this.value+"").match(/%$/)&&(e/=100),e},this.valueOrDefault=function(e){return this.hasValue()?this.value:e},this.numValueOrDefault=function(e){return this.hasValue()?this.numValue():e};var r=this;this.Color={addOpacity:function(t){var n=r.value;if(t!=null&&t!=""){var i=new RGBColor_(r.value);i.ok&&(n="rgba("+i.r+", "+i.g+", "+i.b+", "+t+")")}return new e.Property(r.name,n)}},this.Definition={getDefinition:function(){var t=r.value.replace(/^(url\()?#([^\)]+)\)?$/,"$2");return e.Definitions[t]},isUrl:function(){return r.value.indexOf("url(")==0},getFillStyle:function(t){var n=this.getDefinition();return n!=null&&n.createGradient?n.createGradient(e.ctx,t):n!=null&&n.createPattern?n.createPattern(e.ctx,t):null}},this.Length={DPI:function(e){return 96},EM:function(t){var n=12,r=new e.Property("fontSize",e.Font.Parse(e.ctx.font).fontSize);return r.hasValue()&&(n=r.Length.toPixels(t)),n},toPixels:function(t){if(!r.hasValue())return 0;var n=r.value+"";return n.match(/em$/)?r.numValue()*this.EM(t):n.match(/ex$/)?r.numValue()*this.EM(t)/2:n.match(/px$/)?r.numValue():n.match(/pt$/)?r.numValue()*1.25:n.match(/pc$/)?r.numValue()*15:n.match(/cm$/)?r.numValue()*this.DPI(t)/2.54:n.match(/mm$/)?r.numValue()*this.DPI(t)/25.4:n.match(/in$/)?r.numValue()*this.DPI(t):n.match(/%$/)?r.numValue()*e.ViewPort.ComputeSize(t):r.numValue()}},this.Time={toMilliseconds:function(){if(!r.hasValue())return 0;var e=r.value+"";return e.match(/s$/)?r.numValue()*1e3:e.match(/ms$/)?r.numValue():r.numValue()}},this.Angle={toRadians:function(){if(!r.hasValue())return 0;var e=r.value+"";return e.match(/deg$/)?r.numValue()*(Math.PI/180):e.match(/grad$/)?r.numValue()*(Math.PI/200):e.match(/rad$/)?r.numValue():r.numValue()*(Math.PI/180)}}},e.Font=new function(){this.Styles=["normal","italic","oblique","inherit"],this.Variants=["normal","small-caps","inherit"],this.Weights=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900","inherit"],this.CreateFont=function(t,n,r,i,s,o){var u=o!=null?this.Parse(o):this.CreateFont("","","","","",e.ctx.font);return{fontFamily:s||u.fontFamily,fontSize:i||u.fontSize,fontStyle:t||u.fontStyle,fontWeight:r||u.fontWeight,fontVariant:n||u.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var t=this;this.Parse=function(n){var r={},i=e.trim(e.compressSpaces(n||"")).split(" "),s={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},o="";for(var u=0;uthis.x2&&(this.x2=e)}if(t!=null){if(isNaN(this.y1)||isNaN(this.y2))this.y1=t,this.y2=t;tthis.y2&&(this.y2=t)}},this.addX=function(e){this.addPoint(e,null)},this.addY=function(e){this.addPoint(null,e)},this.addBoundingBox=function(e){this.addPoint(e.x1,e.y1),this.addPoint(e.x2,e.y2)},this.addQuadraticCurve=function(e,t,n,r,i,s){var o=e+2/3*(n-e),u=t+2/3*(r-t),a=o+1/3*(i-e),f=u+1/3*(s-t);this.addBezierCurve(e,t,o,a,u,f,i,s)},this.addBezierCurve=function(e,t,n,r,i,s,o,u){var a=[e,t],f=[n,r],l=[i,s],c=[o,u];this.addPoint(a[0],a[1]),this.addPoint(c[0],c[1]);for(var h=0;h<=1;h++){var p=function(e){return Math.pow(1-e,3)*a[h]+3*Math.pow(1-e,2)*e*f[h]+3*(1-e)*Math.pow(e,2)*l[h]+Math.pow(e,3)*c[h]},d=6*a[h]-12*f[h]+6*l[h],v=-3*a[h]+9*f[h]-9*l[h]+3*c[h],m=3*f[h]-3*a[h];if(v==0){if(d==0)continue;var g=-m/d;0=this.tokens.length-1},this.isCommandOrEnd=function(){return this.isEnd()?!0:this.tokens[this.i+1].match(/^[A-Za-z]$/)!=null},this.isRelativeCommand=function(){return this.command==this.command.toLowerCase()},this.getToken=function(){return this.i=this.i+1,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){var t=new e.Point(this.getScalar(),this.getScalar());return this.makeAbsolute(t)},this.getAsControlPoint=function(){var e=this.getPoint();return this.control=e,e},this.getAsCurrentPoint=function(){var e=this.getPoint();return this.current=e,e},this.getReflectedControlPoint=function(){if(this.previousCommand.toLowerCase()!="c"&&this.previousCommand.toLowerCase()!="s")return this.current;var t=new e.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y);return t},this.makeAbsolute=function(e){return this.isRelativeCommand()&&(e.x=this.current.x+e.x,e.y=this.current.y+e.y),e},this.addMarker=function(e,t,n){n!=null&&this.angles.length>0&&this.angles[this.angles.length-1]==null&&(this.angles[this.angles.length-1]=this.points[this.points.length-1].angleTo(n)),this.addMarkerAngle(e,t==null?null:t.angleTo(e))},this.addMarkerAngle=function(e,t){this.points.push(e),this.angles.push(t)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var e=0;e1&&(c*=Math.sqrt(g),h*=Math.sqrt(g));var y=(d==v?-1:1)*Math.sqrt((Math.pow(c,2)*Math.pow(h,2)-Math.pow(c,2)*Math.pow(m.y,2)-Math.pow(h,2)*Math.pow(m.x,2))/(Math.pow(c,2)*Math.pow(m.y,2)+Math.pow(h,2)*Math.pow(m.x,2)));isNaN(y)&&(y=0);var b=new e.Point(y*c*m.y/h,y*-h*m.x/c),w=new e.Point((u.x+l.x)/2+Math.cos(p)*b.x-Math.sin(p)*b.y,(u.y+l.y)/2+Math.sin(p)*b.x+Math.cos(p)*b.y),E=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2))},S=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(E(e)*E(t))},x=function(e,t){return(e[0]*t[1]=1&&(k=0),v==0&&k>0&&(k-=2*Math.PI),v==1&&k<0&&(k+=2*Math.PI);var L=new e.Point(w.x-c*Math.cos((T+k)/2),w.y-h*Math.sin((T+k)/2));n.addMarkerAngle(L,(T+k)/2+(v==0?1:-1)*Math.PI/2),n.addMarkerAngle(l,k+(v==0?1:-1)*Math.PI/2),r.addPoint(l.x,l.y);if(t!=null){S=c>h?c:h;var A=c>h?1:c/h,O=c>h?h/c:1;t.translate(w.x,w.y),t.rotate(p),t.scale(A,O),t.arc(0,0,S,T,T+k,1-v),t.scale(1/A,1/O),t.rotate(-p),t.translate(-w.x,-w.y)}}break;case"Z":t!=null&&t.closePath(),n.current=n.start}}return r},this.getMarkers=function(){var e=this.PathParser.getMarkerPoints(),t=this.PathParser.getMarkerAngles(),n=[];for(var r=0;rthis.maxDuration){if(this.attribute("repeatCount").value!="indefinite")return this.attribute("fill").valueOrDefault("remove")=="remove"&&!this.removed?(this.removed=!0,this.getProperty().value=this.initialValue,!0):!1;this.duration=0}this.duration=this.duration+e;var t=!1;if(this.begin0&&t[n-1]!=" "&&n0&&t[n-1]!=" "&&(n==t.length-1||t[n+1]==" ")&&(s="initial"),typeof e.glyphs[r]!="undefined"&&(i=e.glyphs[r][s],i==null&&e.glyphs[r].type=="glyph"&&(i=e.glyphs[r]))}else i=e.glyphs[r];return i==null&&(i=e.missingGlyph),i},this.renderChildren=function(t){var n=this.parent.style("font-family").Definition.getDefinition();if(n!=null){var r=this.parent.style("font-size").numValueOrDefault(e.Font.Parse(e.ctx.font).fontSize),i=this.parent.style("font-style").valueOrDefault(e.Font.Parse(e.ctx.font).fontStyle),s=this.getText();n.isRTL&&(s=s.split("").reverse().join(""));var o=e.ToNumberArray(this.parent.attribute("dx").value);for(var u=0;u0?t.childNodes[0].value:t.text,this.getText=function(){return this.text}},e.Element.tspan.prototype=new e.Element.TextElementBase,e.Element.tspan=e.Element.tspan,e.Element.tref=function(t){this.base=e.Element.TextElementBase,this.base(t),this.getText=function(){var e=this.attribute("xlink:href").Definition.getDefinition();if(e!=null)return e.children[0].getText()}},e.Element.tref.prototype=new e.Element.TextElementBase,e.Element.tref=e.Element.tref,e.Element.a=function(t){this.base=e.Element.TextElementBase,this.base(t),this.hasText=!0;for(var n=0;n0){var y=m[g].indexOf("url"),b=m[g].indexOf(")",y),w=m[g].substr(y+5,b-y-6),E=e.parseXml(e.ajax(w)),S=E.getElementsByTagName("font");for(var x=0;x