function g(a){throw a;}
var l=void 0,m=!0,q=null,s=!1,v,w=this,aa=function(a,b){var c=a.split("."),d=w;!(c[0]in d)&&d.execScript&&d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.length&&x(b)?d[e]=b:d=d[e]?d[e]:d[e]={}},ba=function(){},ca=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&
"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},x=function(a){return a!==l},y=function(a){return"array"==ca(a)},da=function(a){var b=ca(a);return"array"==b||"object"==b&&"number"==typeof a.length},z=function(a){return"string"==
typeof a},ea=function(a){return"number"==typeof a},fa=function(a){return"function"==ca(a)},ga=function(a){a=ca(a);return"object"==a||"array"==a||"function"==a},ja=function(a){return a[ha]||(a[ha]=++ia)},ha="closure_uid_"+Math.floor(2147483648*Math.random()).toString(36),ia=0,ka=function(a,b,c){return a.call.apply(a.bind,arguments)},la=function(a,b,c){a||g(Error());if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,
d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},ma=function(a,b,c){ma=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ka:la;return ma.apply(q,arguments)},na=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=Array.prototype.slice.call(arguments);b.unshift.apply(b,c);return a.apply(this,b)}},oa=Date.now||function(){return+new Date},A=function(a,b){function c(){}c.prototype=b.prototype;a.e=b.prototype;a.prototype=
new c};Function.prototype.bind=Function.prototype.bind||function(a,b){if(1<arguments.length){var c=Array.prototype.slice.call(arguments,1);c.unshift(this,a);return ma.apply(q,c)}return ma(this,a)};var pa=function(a){this.stack=Error().stack||"";if(a)this.message=""+a};A(pa,Error);pa.prototype.name="CustomError";var qa=function(a,b){for(var c=1;c<arguments.length;c++)var d=(""+arguments[c]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,d);return a},xa=function(a){if(!ra.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(sa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(ta,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(ua,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(va,"&quot;"));return a},sa=/&/g,ta=/</g,ua=/>/g,va=/\"/g,ra=/[&<>\"]/,ya={},za=function(a){return ya[a]||(ya[a]=(""+a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))};var Aa=function(a,b){b.unshift(a);pa.call(this,qa.apply(q,b));b.shift();this.Cb=a};A(Aa,pa);Aa.prototype.name="AssertionError";var B=function(a,b,c){if(!a){var d=Array.prototype.slice.call(arguments,2),e="Assertion failed";if(b)var e=e+(": "+b),f=d;g(new Aa(""+e,f||[]))}};var D=Array.prototype,Ba=D.indexOf?function(a,b,c){B(a.length!=q);return D.indexOf.call(a,b,c)}:function(a,b,c){c=c==q?0:0>c?Math.max(0,a.length+c):c;if(z(a))return!z(b)||1!=b.length?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},E=D.forEach?function(a,b,c){B(a.length!=q);D.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=z(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Ca=D.map?function(a,b,c){B(a.length!=q);return D.map.call(a,b,c)}:function(a,b,
c){for(var d=a.length,e=Array(d),f=z(a)?a.split(""):a,h=0;h<d;h++)h in f&&(e[h]=b.call(c,f[h],h,a));return e},Da=function(a,b){var c=Ba(a,b);0<=c&&(B(a.length!=q),D.splice.call(a,c,1))},Ea=function(a){return D.concat.apply(D,arguments)},Fa=function(a){if(y(a))return Ea(a);for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b},Ha=function(a,b,c,d){B(a.length!=q);D.splice.apply(a,Ga(arguments,1))},Ga=function(a,b,c){B(a.length!=q);return 2>=arguments.length?D.slice.call(a,b):D.slice.call(a,b,c)};var Ia,Ja=function(a){return(a=a.className)&&"function"==typeof a.split?a.split(/\s+/):[]},Ka=function(a,b){var c=Ja(a),d=Ga(arguments,1),e;e=c;for(var f=0,h=0;h<d.length;h++)0<=Ba(e,d[h])||(e.push(d[h]),f++);e=f==d.length;a.className=c.join(" ");return e},La=function(a,b){for(var c=Ja(a),d=Ga(arguments,1),e=c,f=0,h=0;h<e.length;h++)0<=Ba(d,e[h])&&(Ha(e,h--,1),f++);a.className=c.join(" ")};var F=function(a,b){this.x=x(a)?a:0;this.y=x(b)?b:0};F.prototype.U=function(){return new F(this.x,this.y)};F.prototype.toString=function(){return"("+this.x+", "+this.y+")"};var Ma=function(a,b){return new F(a.x-b.x,a.y-b.y)};var G=function(a,b){this.width=a;this.height=b};G.prototype.U=function(){return new G(this.width,this.height)};G.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};G.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};G.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Na=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Oa="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Pa=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Oa.length;f++)c=Oa[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Qa,Ra,Sa,Ta,Ua,Va,Wa=function(){return w.navigator?w.navigator.userAgent:q},Xa=function(){return w.navigator};Ua=Ta=Sa=Ra=Qa=s;var Ya;if(Ya=Wa()){var Za=Xa();Qa=0==Ya.indexOf("Opera");Ra=!Qa&&-1!=Ya.indexOf("MSIE");Ta=(Sa=!Qa&&-1!=Ya.indexOf("WebKit"))&&-1!=Ya.indexOf("Mobile");Ua=!Qa&&!Sa&&"Gecko"==Za.product}var $a=Qa,I=Ra,J=Ua,K=Sa,ab=Ta,bb=Xa();Va=-1!=(bb&&bb.platform||"").indexOf("Mac");var cb=!!Xa()&&-1!=(Xa().appVersion||"").indexOf("X11"),db;
a:{var eb="",fb;if($a&&w.opera)var gb=w.opera.version,eb="function"==typeof gb?gb():gb;else if(J?fb=/rv\:([^\);]+)(\)|;)/:I?fb=/MSIE\s+([^\);]+)(\)|;)/:K&&(fb=/WebKit\/(\S+)/),fb)var hb=fb.exec(Wa()),eb=hb?hb[1]:"";if(I){var ib,jb=w.document;ib=jb?jb.documentMode:l;if(ib>parseFloat(eb)){db=""+ib;break a}}db=eb}
var kb=db,lb={},L=function(a){var b;if(!(b=lb[a])){b=0;for(var c=(""+kb).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),d=(""+a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var h=c[f]||"",j=d[f]||"",i=RegExp("(\\d*)(\\D*)","g"),k=RegExp("(\\d*)(\\D*)","g");do{var p=i.exec(h)||["","",""],n=k.exec(j)||["","",""];if(0==p[0].length&&0==n[0].length)break;b=((0==p[1].length?0:parseInt(p[1],10))<(0==n[1].length?0:parseInt(n[1],10))?-1:(0==p[1].length?
0:parseInt(p[1],10))>(0==n[1].length?0:parseInt(n[1],10))?1:0)||((0==p[2].length)<(0==n[2].length)?-1:(0==p[2].length)>(0==n[2].length)?1:0)||(p[2]<n[2]?-1:p[2]>n[2]?1:0)}while(0==b)}b=lb[a]=0<=b}return b},mb={},nb=function(a){return mb[a]||(mb[a]=I&&document.documentMode&&document.documentMode>=a)};var ob=!I||nb(9);!J&&!I||I&&nb(9)||J&&L("1.9.1");var pb=I&&!L("9");var N=function(a){return a?new qb(M(a)):Ia||(Ia=new qb)},rb=function(a){return z(a)?document.getElementById(a):a},ub=function(a,b){var c=b||document;return sb(c)?c.querySelectorAll("."+a):c.getElementsByClassName?c.getElementsByClassName(a):tb(a,b)},vb=function(a,b){var c=b||document,d=q;return(d=sb(c)?c.querySelector("."+a):ub(a,b)[0])||q},sb=function(a){return a.querySelectorAll&&a.querySelector&&(!K||wb(document)||L("528"))},tb=function(a,b){var c,d,e,f;c=b||document;if(sb(c)&&a)return c.querySelectorAll(""+
(a?"."+a:""));if(a&&c.getElementsByClassName){var h=c.getElementsByClassName(a);return h}h=c.getElementsByTagName("*");if(a){f={};for(d=e=0;c=h[d];d++){var j=c.className;"function"==typeof j.split&&0<=Ba(j.split(/\s+/),a)&&(f[e++]=c)}f.length=e;return f}return h},yb=function(a,b){Na(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in xb?a.setAttribute(xb[d],b):0==d.lastIndexOf("aria-",0)?a.setAttribute(d,b):a[d]=b})},xb={cellpadding:"cellPadding",cellspacing:"cellSpacing",
colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",maxlength:"maxLength",type:"type"},O=function(a,b,c){return zb(document,arguments)},zb=function(a,b){var c=b[0],d=b[1];if(!ob&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',xa(d.name),'"');if(d.type){c.push(' type="',xa(d.type),'"');var e={};Pa(e,d);d=e;delete d.type}c.push(">");c=c.join("")}c=a.createElement(c);if(d)z(d)?c.className=d:y(d)?Ka.apply(q,[c].concat(d)):
yb(c,d);2<b.length&&Ab(a,c,b,2);return c},Ab=function(a,b,c,d){function e(c){c&&b.appendChild(z(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];da(f)&&!(ga(f)&&0<f.nodeType)?E(Bb(f)?Fa(f):f,e):e(f)}},wb=function(a){return"CSS1Compat"==a.compatMode},Cb=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)},Db=function(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&
a!=b;)b=b.parentNode;return b==a},M=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},Eb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Fb={IMG:" ",BR:"\n"},Gb=function(a,b,c){if(!(a.nodeName in Eb))if(3==a.nodeType)c?b.push((""+a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Fb)b.push(Fb[a.nodeName]);else for(a=a.firstChild;a;)Gb(a,b,c),a=a.nextSibling},Bb=function(a){if(a&&"number"==typeof a.length){if(ga(a))return"function"==typeof a.item||"string"==
typeof a.item;if(fa(a))return"function"==typeof a.item}return s},Ib=function(a){return Hb(a,function(a){return 0<=Ba(Ja(a),"company-summary")})},Hb=function(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return q},qb=function(a){this.c=a||w.document||document};v=qb.prototype;v.V=N;v.a=function(a){return z(a)?this.c.getElementById(a):a};v.L=function(a,b){return vb(a,b||this.c)};v.Q=function(a,b,c){return zb(this.c,arguments)};v.createElement=function(a){return this.c.createElement(a)};
v.createTextNode=function(a){return this.c.createTextNode(a)};var Jb=function(a){return wb(a.c)},Kb=function(a){var b=a.c,a=!K&&wb(b)?b.documentElement:b.body,b=b.parentWindow||b.defaultView;return new F(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)};qb.prototype.appendChild=function(a,b){a.appendChild(b)};qb.prototype.append=function(a,b){Ab(M(a),a,arguments,1)};qb.prototype.contains=Db;var Lb=function(a){Lb[" "](a);return a};Lb[" "]=ba;var Mb=!I||nb(9),Ob=!I||nb(9),Pb=I&&!L("8");!K||L("528");J&&L("1.9b")||I&&L("8")||$a&&L("9.5")||K&&L("528");!J||L("8");var Qb=function(){};Qb.prototype.Na=s;Qb.prototype.k=function(){if(!this.Na)this.Na=m,this.d()};Qb.prototype.d=function(){this.Ab&&Rb.apply(q,this.Ab)};var Sb=function(a){a&&"function"==typeof a.k&&a.k()},Rb=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];da(d)?Rb.apply(q,d):Sb(d)}};var Tb=function(a,b){this.type=a;this.currentTarget=this.target=b};A(Tb,Qb);v=Tb.prototype;v.d=function(){delete this.type;delete this.target;delete this.currentTarget};v.w=s;v.T=m;v.stopPropagation=function(){this.w=m};v.preventDefault=function(){this.T=s};var Ub=function(a,b){a&&this.Z(a,b)};A(Ub,Tb);var Vb=[1,4,2];v=Ub.prototype;v.target=q;v.relatedTarget=q;v.offsetX=0;v.offsetY=0;v.clientX=0;v.clientY=0;v.screenX=0;v.screenY=0;v.button=0;v.keyCode=0;v.charCode=0;v.ctrlKey=s;v.altKey=s;v.shiftKey=s;v.metaKey=s;v.xb=s;v.r=q;
v.Z=function(a,b){var c=this.type=a.type;Tb.call(this,c);this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(J){var e;a:{try{Lb(d.nodeName);e=m;break a}catch(f){}e=s}e||(d=q)}}else if("mouseover"==c)d=a.fromElement;else if("mouseout"==c)d=a.toElement;this.relatedTarget=d;this.offsetX=K||a.offsetX!==l?a.offsetX:a.layerX;this.offsetY=K||a.offsetY!==l?a.offsetY:a.layerY;this.clientX=a.clientX!==l?a.clientX:a.pageX;this.clientY=a.clientY!==l?a.clientY:a.pageY;this.screenX=
a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;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.xb=Va?a.metaKey:a.ctrlKey;this.state=a.state;this.r=a;delete this.T;delete this.w};v.stopPropagation=function(){Ub.e.stopPropagation.call(this);this.r.stopPropagation?this.r.stopPropagation():this.r.cancelBubble=m};
v.preventDefault=function(){Ub.e.preventDefault.call(this);var a=this.r;if(a.preventDefault)a.preventDefault();else if(a.returnValue=s,Pb)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};v.ra=function(){return this.r};v.d=function(){Ub.e.d.call(this);this.relatedTarget=this.currentTarget=this.target=this.r=q};var Wb=function(){},Xb=0;v=Wb.prototype;v.key=0;v.v=s;v.na=s;v.Z=function(a,b,c,d,e,f){fa(a)?this.Ia=m:a&&a.handleEvent&&fa(a.handleEvent)?this.Ia=s:g(Error("Invalid listener argument"));this.n=a;this.Ea=b;this.src=c;this.type=d;this.capture=!!e;this.X=f;this.na=s;this.key=++Xb;this.v=s};v.handleEvent=function(a){return this.Ia?this.n.call(this.X||this.src,a):this.n.handleEvent.call(this.n,a)};var Yb={},P={},Q={},Zb={},R=function(a,b,c,d,e){if(b){if(y(b)){for(var f=0;f<b.length;f++)R(a,b[f],c,d,e);return q}var d=!!d,h=P;b in h||(h[b]={j:0,h:0});h=h[b];d in h||(h[d]={j:0,h:0},h.j++);var h=h[d],j=ja(a),i;h.h++;if(h[j]){i=h[j];for(f=0;f<i.length;f++)if(h=i[f],h.n==c&&h.X==e){if(h.v)break;return i[f].key}}else i=h[j]=[],h.j++;f=$b();f.src=a;h=new Wb;h.Z(c,f,a,b,d,e);c=h.key;f.key=c;i.push(h);Yb[c]=h;Q[j]||(Q[j]=[]);Q[j].push(h);a.addEventListener?(a==w||!a.Ca)&&a.addEventListener(b,f,d):a.attachEvent(b in
Zb?Zb[b]:Zb[b]="on"+b,f);return c}g(Error("Invalid event type"))},$b=function(){var a=ac,b=Ob?function(c){return a.call(b.src,b.key,c)}:function(c){c=a.call(b.src,b.key,c);if(!c)return c};return b},bc=function(a,b,c,d,e){if(y(b))for(var f=0;f<b.length;f++)bc(a,b[f],c,d,e);else a=R(a,b,c,d,e),Yb[a].na=m},cc=function(a,b,c,d,e){if(y(b))for(var f=0;f<b.length;f++)cc(a,b[f],c,d,e);else if(d=!!d,a=dc(a,b,d))for(f=0;f<a.length;f++)if(a[f].n==c&&a[f].capture==d&&a[f].X==e){ec(a[f].key);break}},ec=function(a){if(!Yb[a])return s;
var b=Yb[a];if(b.v)return s;var c=b.src,d=b.type,e=b.Ea,f=b.capture;c.removeEventListener?(c==w||!c.Ca)&&c.removeEventListener(d,e,f):c.detachEvent&&c.detachEvent(d in Zb?Zb[d]:Zb[d]="on"+d,e);c=ja(c);e=P[d][f][c];if(Q[c]){var h=Q[c];Da(h,b);0==h.length&&delete Q[c]}b.v=m;e.Ja=m;fc(d,f,c,e);delete Yb[a];return m},fc=function(a,b,c,d){if(!d.ca&&d.Ja){for(var e=0,f=0;e<d.length;e++)d[e].v?d[e].Ea.src=q:(e!=f&&(d[f]=d[e]),f++);d.length=f;d.Ja=s;0==f&&(delete P[a][b][c],P[a][b].j--,0==P[a][b].j&&(delete P[a][b],
P[a].j--),0==P[a].j&&delete P[a])}},gc=function(a){var b,c=0,d=b==q;b=!!b;if(a==q)Na(Q,function(a){for(var e=a.length-1;0<=e;e--){var f=a[e];if(d||b==f.capture)ec(f.key),c++}});else if(a=ja(a),Q[a])for(var a=Q[a],e=a.length-1;0<=e;e--){var f=a[e];if(d||b==f.capture)ec(f.key),c++}},dc=function(a,b,c){var d=P;return b in d&&(d=d[b],c in d&&(d=d[c],a=ja(a),d[a]))?d[a]:q},ic=function(a,b,c,d,e){var f=1,b=ja(b);if(a[b]){a.h--;a=a[b];a.ca?a.ca++:a.ca=1;try{for(var h=a.length,j=0;j<h;j++){var i=a[j];i&&
!i.v&&(f&=hc(i,e)!==s)}}finally{a.ca--,fc(c,d,b,a)}}return Boolean(f)},hc=function(a,b){var c=a.handleEvent(b);a.na&&ec(a.key);return c},ac=function(a,b){if(!Yb[a])return m;var c=Yb[a],d=c.type,e=P;if(!(d in e))return m;var e=e[d],f,h;if(!Ob){var j;if(!(j=b))a:{j="window.event".split(".");for(var i=w;f=j.shift();)if(i[f]!=q)i=i[f];else{j=q;break a}j=i}f=j;j=m in e;i=s in e;if(j){if(0>f.keyCode||f.returnValue!=l)return m;a:{var k=s;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(p){k=m}if(k||f.returnValue==
l)f.returnValue=m}}k=new Ub;k.Z(f,this);f=m;try{if(j){for(var n=[],r=k.currentTarget;r;r=r.parentNode)n.push(r);h=e[m];h.h=h.j;for(var o=n.length-1;!k.w&&0<=o&&h.h;o--)k.currentTarget=n[o],f&=ic(h,n[o],d,m,k);if(i){h=e[s];h.h=h.j;for(o=0;!k.w&&o<n.length&&h.h;o++)k.currentTarget=n[o],f&=ic(h,n[o],d,s,k)}}else f=hc(c,k)}finally{if(n)n.length=0;k.k()}return f}d=new Ub(b,this);try{f=hc(c,d)}finally{d.k()}return f};var S=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};S.prototype.U=function(){return new S(this.top,this.right,this.bottom,this.left)};S.prototype.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};S.prototype.contains=function(a){return!this||!a?s:a instanceof S?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};var jc=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};jc.prototype.U=function(){return new jc(this.left,this.top,this.width,this.height)};jc.prototype.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
jc.prototype.contains=function(a){return a instanceof jc?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};var lc=function(a,b,c){z(b)?kc(a,c,b):Na(b,na(kc,a))},kc=function(a,b,c){a.style[za(c)]=b},U=function(a,b){var c=M(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,q))?c[b]||c.getPropertyValue(b):""},mc=function(a,b){return a.currentStyle?a.currentStyle[b]:q},V=function(a,b){return U(a,b)||mc(a,b)||a.style&&a.style[b]},nc=function(a){var b=a.getBoundingClientRect();if(I)a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+
a.body.clientTop;return b},oc=function(a){if(I&&!nb(8))return a.offsetParent;for(var b=M(a),c=V(a,"position"),d="fixed"==c||"absolute"==c,a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=V(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return q},rc=function(a){for(var b=new S(0,Infinity,Infinity,0),c=N(a),d=c.c.body,e=c.c.documentElement,f=!K&&wb(c.c)?c.c.documentElement:
c.c.body;a=oc(a);)if((!I||0!=a.clientWidth)&&(!K||0!=a.clientHeight||a!=d)&&a!=d&&a!=e&&"visible"!=V(a,"overflow")){var h=pc(a),j;j=a;if(J&&!L("1.9")){var i=parseFloat(U(j,"borderLeftWidth"));if(qc(j))var k=j.offsetWidth-j.clientWidth-i-parseFloat(U(j,"borderRightWidth")),i=i+k;j=new F(i,parseFloat(U(j,"borderTopWidth")))}else j=new F(j.clientLeft,j.clientTop);h.x+=j.x;h.y+=j.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=
Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=c.c.parentWindow||c.c.defaultView||window;e=c.document;K&&!L("500")&&!ab?("undefined"==typeof c.innerHeight&&(c=window),e=c.innerHeight,a=c.document.documentElement.scrollHeight,c==c.top&&a<e&&(e-=15),c=new G(c.innerWidth,e)):(c=wb(e)?e.documentElement:e.body,c=new G(c.clientWidth,c.clientHeight));b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&
b.bottom>b.top&&b.right>b.left?b:q},pc=function(a){var b,c=M(a),d=V(a,"position"),e=J&&c.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==d&&(b=c.getBoxObjectFor(a))&&(0>b.screenX||0>b.screenY),f=new F(0,0),h;b=c?9==c.nodeType?c:M(c):document;h=I&&!nb(9)&&!Jb(N(b))?b.body:b.documentElement;if(a==h)return f;if(a.getBoundingClientRect)b=nc(a),a=Kb(N(c)),f.x=b.left+a.x,f.y=b.top+a.y;else if(c.getBoxObjectFor&&!e)b=c.getBoxObjectFor(a),a=c.getBoxObjectFor(h),f.x=b.screenX-a.screenX,f.y=b.screenY-
a.screenY;else{b=a;do{f.x+=b.offsetLeft;f.y+=b.offsetTop;b!=a&&(f.x+=b.clientLeft||0,f.y+=b.clientTop||0);if(K&&"fixed"==V(b,"position")){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;break}b=b.offsetParent}while(b&&b!=a);if($a||K&&"absolute"==d)f.y-=c.body.offsetTop;for(b=a;(b=oc(b))&&b!=c.body&&b!=h;)if(f.x-=b.scrollLeft,!$a||"TR"!=b.tagName)f.y-=b.scrollTop}return f},tc=function(a,b){var c=sc(a),d=sc(b);return new F(c.x-d.x,c.y-d.y)},sc=function(a){var b=new F;if(1==a.nodeType)if(a.getBoundingClientRect)a=
nc(a),b.x=a.left,b.y=a.top;else{var c=Kb(N(a)),a=pc(a);b.x=a.x-c.x;b.y=a.y-c.y}else{var c=fa(a.ra),d=a;a.targetTouches?d=a.targetTouches[0]:c&&a.ra().targetTouches&&(d=a.ra().targetTouches[0]);b.x=d.clientX;b.y=d.clientY}return b},uc=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},wc=function(a){if("none"!=V(a,"display"))return vc(a);var b=a.style,c=b.display,d=b.visibility,e=b.position;b.visibility="hidden";b.position="absolute";b.display="inline";a=vc(a);b.display=c;b.position=
e;b.visibility=d;return a},vc=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=K&&!b&&!c;return(!x(b)||d)&&a.getBoundingClientRect?(a=nc(a),new G(a.right-a.left,a.bottom-a.top)):new G(b,c)},xc=function(a){var b=pc(a),a=wc(a);return new jc(b.x,b.y,a.width,a.height)},yc=function(a,b){a.style.display=b?"":"none"},qc=function(a){return"rtl"==V(a,"direction")},zc=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;
a.style.left=b;var e=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return e},Ac={thin:2,medium:4,thick:6},Bc=function(a,b){if("none"==mc(a,b+"Style"))return 0;var c=mc(a,b+"Width");return c in Ac?Ac[c]:zc(a,c)};var W=function(a){this.g=a;this.ba=[]};A(W,Qb);var Cc=[];W.prototype.f=function(a,b,c,d,e){y(b)||(Cc[0]=b,b=Cc);for(var f=0;f<b.length;f++)this.ba.push(R(a,b[f],c||this,d||s,e||this.g||this));return this};W.prototype.O=function(a,b,c,d,e){if(y(b))for(var f=0;f<b.length;f++)this.O(a,b[f],c,d,e);else{a:{c=c||this;e=e||this.g||this;d=!!d;if(a=dc(a,b,d))for(b=0;b<a.length;b++)if(!a[b].v&&a[b].n==c&&a[b].capture==d&&a[b].X==e){a=a[b];break a}a=q}if(a)a=a.key,ec(a),Da(this.ba,a)}return this};
var Dc=function(a){E(a.ba,ec);a.ba.length=0};W.prototype.d=function(){W.e.d.call(this);Dc(this)};W.prototype.handleEvent=function(){g(Error("EventHandler.handleEvent not implemented"))};var Ec=function(){};A(Ec,Qb);v=Ec.prototype;v.Ca=m;v.$=q;v.ha=function(a){this.$=a};v.addEventListener=function(a,b,c,d){R(this,a,b,c,d)};v.removeEventListener=function(a,b,c,d){cc(this,a,b,c,d)};
v.dispatchEvent=function(a){var b=a.type||a,c=P;if(b in c){if(z(a))a=new Tb(a,this);else if(a instanceof Tb)a.target=a.target||this;else{var d=a,a=new Tb(b,this);Pa(a,d)}var d=1,e,c=c[b],b=m in c,f;if(b){e=[];for(f=this;f;f=f.$)e.push(f);f=c[m];f.h=f.j;for(var h=e.length-1;!a.w&&0<=h&&f.h;h--)a.currentTarget=e[h],d&=ic(f,e[h],a.type,m,a)&&a.T!=s}if(s in c)if(f=c[s],f.h=f.j,b)for(h=0;!a.w&&h<e.length&&f.h;h++)a.currentTarget=e[h],d&=ic(f,e[h],a.type,s,a)&&a.T!=s;else for(e=this;!a.w&&e&&f.h;e=e.$)a.currentTarget=
e,d&=ic(f,e,a.type,s,a)&&a.T!=s;a=Boolean(d)}else a=m;return a};v.d=function(){Ec.e.d.call(this);gc(this);this.$=q};var Fc=w.window,Gc=function(a,b,c){fa(a)?c&&(a=ma(a,c)):a&&"function"==typeof a.handleEvent?a=ma(a.handleEvent,a):g(Error("Invalid listener argument"));return 2147483647<b?-1:Fc.setTimeout(a,b||0)};var Hc=function(){};(function(a){a.Ra=function(){return a.zb||(a.zb=new a)}})(Hc);Hc.prototype.fb=0;Hc.Ra();var X=function(a){this.t=a||N();this.yb=Jc};A(X,Ec);X.prototype.eb=Hc.Ra();var Jc=q;v=X.prototype;v.ya=q;v.l=s;v.b=q;v.yb=q;v.Va=q;v.B=q;v.W=q;v.P=q;v.ta=s;v.a=function(){return this.b};v.L=function(a){return this.b?this.t.L(a,this.b):q};var Kc=function(a){return a.G||(a.G=new W(a))};X.prototype.ha=function(a){this.B&&this.B!=a&&g(Error("Method not supported"));X.e.ha.call(this,a)};X.prototype.V=function(){return this.t};X.prototype.Q=function(){this.b=this.t.createElement("div")};
var Lc=function(a,b){a.l&&g(Error("Component already rendered"));if(b){a.ta=m;if(!a.t||a.t.c!=M(b))a.t=N(b);a.fa(b);a.s()}else g(Error("Invalid element to decorate"))};v=X.prototype;v.fa=function(a){this.b=a};v.s=function(){this.l=m;Mc(this,function(a){!a.l&&a.a()&&a.s()})};v.M=function(){Mc(this,function(a){a.l&&a.M()});this.G&&Dc(this.G);this.l=s};
v.d=function(){X.e.d.call(this);this.l&&this.M();this.G&&(this.G.k(),delete this.G);Mc(this,function(a){a.k()});!this.ta&&this.b&&Cb(this.b);this.B=this.Va=this.b=this.P=this.W=q};v.Sa=function(){return this.b};var Mc=function(a,b){a.W&&E(a.W,b,l)};
X.prototype.removeChild=function(a,b){if(a){var c=z(a)?a:a.ya||(a.ya=":"+(a.eb.fb++).toString(36)),a=this.P&&c?(c in this.P?this.P[c]:l)||q:q;if(c&&a){var d=this.P;c in d&&delete d[c];Da(this.W,a);b&&(a.M(),a.b&&Cb(a.b));c=a;c==q&&g(Error("Unable to set parent component"));c.B=q;X.e.ha.call(c,q)}}a||g(Error("Child is not in parent component"));return a};var Y=function(a,b){X.call(this,b);this.o=a||""};A(Y,X);Y.prototype.H=q;var Nc="placeholder"in document.createElement("input");v=Y.prototype;v.R=s;v.Q=function(){this.b=this.V().Q("input",{type:"text"})};v.fa=function(a){Y.e.fa.call(this,a);if(!this.o)this.o=a.getAttribute("label")||"";var b;a:{var c=M(a);try{b=c&&c.activeElement;break a}catch(d){}b=q}if(b==a)this.R=m,La(this.a(),this.Y);Nc?this.a().placeholder=this.o:this.a().setAttribute("aria-label",this.o)};
v.s=function(){Y.e.s.call(this);var a=new W(this);a.f(this.a(),"focus",this.xa);a.f(this.a(),"blur",this.ab);Nc?this.u=a:(J&&a.f(this.a(),["keypress","keydown","keyup"],this.bb),a.f(M(this.a())?M(this.a()).parentWindow||M(this.a()).defaultView:window,"load",this.cb),this.u=a,Oc(this));Pc(this);this.a().$a=this};v.M=function(){Y.e.M.call(this);Qc(this);this.a().$a=q};var Oc=function(a){if(!a.jb&&a.u&&a.a().form)a.u.f(a.a().form,"submit",a.kb),a.jb=m},Qc=function(a){if(a.u)a.u.k(),a.u=q};v=Y.prototype;
v.d=function(){Y.e.d.call(this);Qc(this)};v.Y="label-input-label";v.xa=function(){this.R=m;La(this.a(),this.Y);if(!Nc&&!Rc(this)&&!this.hb){var a=this,b=function(){a.a().value=""};I?Gc(b,10):b()}};v.ab=function(){if(!Nc)this.u.O(this.a(),"click",this.xa),this.H=q;this.R=s;Pc(this)};v.bb=function(a){if(27==a.keyCode){if("keydown"==a.type)this.H=this.a().value;else if("keypress"==a.type)this.a().value=this.H;else if("keyup"==a.type)this.H=q;a.preventDefault()}};
v.kb=function(){if(!Rc(this))this.a().value="",Gc(this.wb,10,this)};v.wb=function(){if(!Rc(this))this.a().value=this.o};v.cb=function(){Pc(this)};var Rc=function(a){return!!a.a()&&""!=a.a().value&&a.a().value!=a.o};Y.prototype.clear=function(){this.a().value="";if(this.H!=q)this.H=""};var Pc=function(a){if(Nc){if(a.a().placeholder!=a.o)a.a().placeholder=a.o}else Oc(a),a.a().setAttribute("aria-label",a.o);Rc(a)?La(a.a(),a.Y):(!a.hb&&!a.R&&Ka(a.a(),a.Y),Nc||Gc(a.lb,10,a))};
Y.prototype.lb=function(){if(this.a()&&!Rc(this)&&!this.R)this.a().value=this.o};var Z=function(a,b){this.g=new W(this);var c=a||q;Sc(this);this.b=c;if(b)this.D=b};A(Z,Ec);v=Z.prototype;v.b=q;v.Wa=m;v.Ha=q;v.F=s;v.nb=s;v.ma=-1;v.Da=-1;v.Xa=s;v.vb=m;v.D="toggle_display";v.a=function(){return this.b};var Sc=function(a){a.F&&g(Error("Can not change this state of the popup while showing."))};Z.prototype.S=function(){return this.F};
Z.prototype.J=function(a){this.A&&this.A.stop();this.z&&this.z.stop();if(a){if(!this.F&&this.dispatchEvent("beforeshow")){this.b||g(Error("Caller must call setElement before trying to show the popup"));this.m();a=M(this.b);this.Xa&&this.g.f(a,"keydown",this.Ya,m);if(this.Wa)if(this.g.f(a,"mousedown",this.va,m),I){var b;try{b=a.activeElement}catch(c){}for(;b&&"IFRAME"==b.nodeName;){try{var d=b.contentDocument||b.contentWindow.document}catch(e){break}a=d;b=a.activeElement}this.g.f(a,"mousedown",this.va,
m);this.g.f(a,"deactivate",this.ua)}else this.g.f(a,"blur",this.ua);"toggle_display"==this.D?(this.b.style.visibility="visible",yc(this.b,m)):"move_offscreen"==this.D&&this.m();this.F=m;this.A?(bc(this.A,"end",this.wa,s,this),this.A.play()):this.wa()}}else Tc(this)};Z.prototype.m=ba;var Tc=function(a,b){if(!a.F||!a.dispatchEvent({type:"beforehide",target:b}))return s;a.g&&Dc(a.g);a.z?(bc(a.z,"end",na(a.La,b),s,a),a.z.play()):a.La(b);return m};v=Z.prototype;
v.La=function(a){if("toggle_display"==this.D)this.nb?Gc(this.Fa,0,this):this.Fa();else if("move_offscreen"==this.D)this.b.style.left="-200px",this.b.style.top="-200px";this.F=s;this.Da=oa();this.dispatchEvent({type:"hide",target:a})};v.Fa=function(){this.b.style.visibility="hidden";yc(this.b,s)};v.wa=function(){this.ma=oa();this.Da=-1;this.dispatchEvent("show")};v.va=function(a){a=a.target;!Db(this.b,a)&&(!this.Ha||Db(this.Ha,a))&&!(150>oa()-this.ma)&&Tc(this,a)};
v.Ya=function(a){27==a.keyCode&&Tc(this,a.target)&&(a.preventDefault(),a.stopPropagation())};v.ua=function(a){if(this.vb){var b=M(this.b);if(I||$a){if(a=b.activeElement,!a||Db(this.b,a)||"BODY"==a.tagName)return}else if(a.target!=b)return;150>oa()-this.ma||Tc(this)}};v.d=function(){Z.e.d.call(this);this.g.k();Sb(this.A);Sb(this.z);delete this.b;delete this.g};var Uc=function(){},Vc=new Uc,Wc=["click",J?"keypress":"keydown"];Uc.prototype.f=function(a,b,c,d,e){c=function(a){if("click"==a.type&&(Mb?0==a.r.button:"click"==a.type||a.r.button&Vb[0])&&(!K||!Va||!a.ctrlKey))b.call(d,a);else if(13==a.keyCode||3==a.keyCode)a.type="keypress",b.call(d,a)};c.tb=b;c.ub=d;e?e.f(a,Wc,c):R(a,Wc,c)};Uc.prototype.O=function(a,b,c,d,e){for(var f=0;c=Wc[f];f++)for(var h=dc(a,c,s)||[],j,i=0;j=h[i];i++)if(j.n.tb==b&&j.n.ub==d){e?e.O(a,c,j.n):cc(a,c,j.n);break}};var Xc=function(){this.aa=0;this.sb=this.startTime=q};A(Xc,Ec);var Yc,$c=function(a,b){y(b)||(b=[b]);B(0<b.length,"At least one Css3Property should be specified.");var c=Ca(b,function(a){if(z(a))return a;B(a&&a.Pa&&ea(a.duration)&&a.Qa&&ea(a.Oa));return a.Pa+" "+a.duration+"s "+a.Qa+" "+a.Oa+"s"});Zc(a,c.join(","))},Zc=function(a,b){a.style.WebkitTransition=b;a.style.MozTransition=b;a.style.qb=b};var ad=function(a,b,c,d,e){Xc.call(this);this.b=a;this.ob=b;this.mb=c;this.Aa=d;this.pb=y(e)?e:[e]};A(ad,Xc);v=ad.prototype;
v.play=function(){if(1==this.aa)return s;this.dispatchEvent("begin");this.dispatchEvent("play");this.startTime=oa();this.aa=1;if(!x(Yc)){var a=document.createElement("div");a.innerHTML='<div style="-webkit-transition:opacity 1s linear;-moz-transition:opacity 1s linear;-o-transition:opacity 1s linear">';a=a.firstChild;Yc=x(a.style.WebkitTransition)||x(a.style.MozTransition)||x(a.style.qb)}if(Yc)return lc(this.b,this.mb),Gc(this.rb,l,this),m;this.ja(s);return s};
v.rb=function(){$c(this.b,this.pb);lc(this.b,this.Aa);this.la=Gc(ma(this.ja,this,s),1E3*this.ob)};v.stop=function(){if(1==this.aa){if(this.la)Fc.clearTimeout(this.la),this.la=0;this.ja(m)}};v.ja=function(a){Zc(this.b,"");lc(this.b,this.Aa);this.sb=oa();this.aa=0;a?this.dispatchEvent("stop"):this.dispatchEvent("finish");this.dispatchEvent("end")};v.d=function(){this.stop();ad.e.d.call(this)};var bd=function(a,b,c,d){return new ad(a,0.218,{opacity:c},{opacity:d},{Pa:"opacity",duration:0.218,Qa:b,Oa:0})};var cd={};var dd=function(){};dd.prototype.m=function(){};var ed=function(a,b){this.gb=4;this.ia=b||l;Z.call(this,a)};A(ed,Z);ed.prototype.K=function(a){this.ia=a||l;this.S()&&this.m()};ed.prototype.m=function(){if(this.ia){var a=!this.S()&&"move_offscreen"!=this.D,b=this.a();if(a)b.style.visibility="hidden",yc(b,m);this.ia.m(b,this.gb,this.Bb);a&&yc(b,s)}};var fd=function(a){this.q=a;this.Ka={"0":this.q+"-arrowright",1:this.q+"-arrowup",2:this.q+"-arrowdown",3:this.q+"-arrowleft"}};A(fd,dd);v=fd.prototype;v.Ga=s;v.oa=2;v.Ma=20;v.pa=3;v.ka=-5;v.ea=function(a){this.I=a};v.K=function(a,b,c,d){if(a!=q)this.pa=a;if(b!=q)this.oa=b;if(ea(c))this.Ma=Math.max(c,15);if(ea(d))this.ka=d};
v.m=function(a,b,c){B(this.sa,"Must call setElements first.");a=this.oa;2==a&&(a=0);gd(this,this.pa,a,2==this.oa?hd(this.pa)?this.C.offsetHeight/2:this.C.offsetWidth/2:this.Ma,c)};v.ga=function(a){this.Ga=a};
var gd=function(a,b,c,d,e,f){if(a.I){var h=id(b,c),j,i=a.I,k=wc(i);var k=(hd(b)?k.height/2:k.width/2)-d,p=(h&4&&qc(i)?h^2:h)&-5;if(j=rc(i))i=xc(i),i=new S(i.top,i.left+i.width,i.top+i.height,i.left),hd(b)?i.top<j.top&&!(p&1)?k-=j.top-i.top:i.bottom>j.bottom&&p&1&&(k-=i.bottom-j.bottom):i.left<j.left&&!(p&2)?k-=j.left-i.left:i.right>j.right&&p&2&&(k-=i.right-j.right);j=k;var p=hd(b)?6:9,i=a.I,n=id(b^3,c),k=a.C;j=hd(b)?new F(a.ka,j):new F(j,a.ka);var p=a.Ga?p:0,r,o=k.offsetParent;if(o){var t="HTML"==
o.tagName||"BODY"==o.tagName;if(!t||"static"!=V(o,"position"))r=pc(o),t||(r=Ma(r,new F(o.scrollLeft,o.scrollTop)))}o=xc(i);if(t=rc(i)){var C=new jc(t.left,t.top,t.right-t.left,t.bottom-t.top),t=Math.max(o.left,C.left),H=Math.min(o.left+o.width,C.left+C.width);if(t<=H){var T=Math.max(o.top,C.top),C=Math.min(o.top+o.height,C.top+C.height);if(T<=C)o.left=t,o.top=T,o.width=H-t,o.height=C-T}}t=N(i);T=N(k);if(t.c!=T.c){var H=t.c.body,T=T.c.parentWindow||T.c.defaultView,C=new F(0,0),wa=M(H)?M(H).parentWindow||
M(H).defaultView:window,Nb=H;do{var Ic=wa==T?pc(Nb):sc(Nb);C.x+=Ic.x;C.y+=Ic.y}while(wa&&wa!=T&&(Nb=wa.frameElement)&&(wa=wa.parent));H=Ma(C,pc(H));I&&!Jb(t)&&(H=Ma(H,Kb(t)));o.left+=H.x;o.top+=H.y}i=(n&4&&qc(i)?n^2:n)&-5;n=new F(i&2?o.left+o.width:o.left,i&1?o.top+o.height:o.top);r&&(n=Ma(n,r));j&&(n.x+=(i&2?-1:1)*j.x,n.y+=(i&1?-1:1)*j.y);var u;if(p&&(u=rc(k))&&r)u.top-=r.y,u.right-=r.x,u.bottom-=r.y,u.left-=r.x;a:{i=u;j=n.U();r=0;n=(h&4&&qc(k)?h^2:h)&-5;u=wc(k);h=u.U();if(e||0!=n)n&2?j.x-=h.width+
(e?e.right:0):e&&(j.x+=e.left),n&1?j.y-=h.height+(e?e.bottom:0):e&&(j.y+=e.top);if(p){if(i){r=j;n=0;if(65==(p&65)&&(r.x<i.left||r.x>=i.right))p&=-2;if(132==(p&132)&&(r.y<i.top||r.y>=i.bottom))p&=-5;if(r.x<i.left&&p&1)r.x=i.left,n|=1;if(r.x<i.left&&r.x+h.width>i.right&&p&16)h.width=Math.max(h.width-(r.x+h.width-i.right),0),n|=4;if(r.x+h.width>i.right&&p&1)r.x=Math.max(i.right-h.width,i.left),n|=1;p&2&&(n|=(r.x<i.left?16:0)|(r.x+h.width>i.right?32:0));if(r.y<i.top&&p&4)r.y=i.top,n|=2;if(r.y>=i.top&&
r.y+h.height>i.bottom&&p&32)h.height=Math.max(h.height-(r.y+h.height-i.bottom),0),n|=8;if(r.y+h.height>i.bottom&&p&4)r.y=Math.max(i.bottom-h.height,i.top),n|=2;p&8&&(n|=(r.y<i.top?64:0)|(r.y+h.height>i.bottom?128:0));r=n}else r=256;if(r&496){k=r;break a}}i=j;j=J&&(Va||cb)&&L("1.9");i instanceof F?(p=i.x,i=i.y):(p=i,i=l);k.style.left=uc(p,j);k.style.top=uc(i,j);if(!(u==h||(!u||!h?0:u.width==h.width&&u.height==h.height)))p=Jb(N(M(k))),I&&(!p||!L("8"))?(u=k.style,p?(I?(p=zc(k,mc(k,"paddingLeft")),j=
zc(k,mc(k,"paddingRight")),i=zc(k,mc(k,"paddingTop")),n=zc(k,mc(k,"paddingBottom")),p=new S(i,j,n,p)):(p=U(k,"paddingLeft"),j=U(k,"paddingRight"),i=U(k,"paddingTop"),n=U(k,"paddingBottom"),p=new S(parseFloat(i),parseFloat(j),parseFloat(n),parseFloat(p))),I?(j=Bc(k,"borderLeft"),i=Bc(k,"borderRight"),n=Bc(k,"borderTop"),k=Bc(k,"borderBottom"),k=new S(n,i,k,j)):(j=U(k,"borderLeftWidth"),i=U(k,"borderRightWidth"),n=U(k,"borderTopWidth"),k=U(k,"borderBottomWidth"),k=new S(parseFloat(n),parseFloat(i),
parseFloat(k),parseFloat(j))),u.pixelWidth=h.width-k.left-p.left-p.right-k.right,u.pixelHeight=h.height-k.top-p.top-p.bottom-k.bottom):(u.pixelWidth=h.width,u.pixelHeight=h.height)):(k=k.style,J?k.MozBoxSizing="border-box":K?k.WebkitBoxSizing="border-box":k.boxSizing="border-box",k.width=Math.max(h.width,0)+"px",k.height=Math.max(h.height,0)+"px");k=r}if(!f&&k&496){gd(a,b^3,c,d,e,m);return}}jd(a,b,c,d)},jd=function(a,b,c,d){var e=a.sa;Na(a.Ka,function(a){La(e,a)},a);Ka(e,a.Ka[b]);e.style.top=e.style.left=
e.style.right=e.style.bottom="";a.I?(c=tc(a.I,a.C),d=kd(a.I,b),hd(b)?(a=Math.min(Math.max(c.y+d.y,15),a.C.offsetHeight-15),e.style.top=a+"px"):(a=Math.min(Math.max(c.x+d.x,15),a.C.offsetWidth-15),e.style.left=a+"px")):e.style[0==c?hd(b)?"top":"left":hd(b)?"bottom":"right"]=d+"px"},id=function(a,b){switch(a){case 2:return 0==b?1:3;case 1:return 0==b?0:2;case 0:return 0==b?6:7;default:return 0==b?4:5}},kd=function(a,b){var c=0,d=0,e=wc(a);switch(b){case 2:c=e.width/2;break;case 1:c=e.width/2;d=e.height;
break;case 0:d=e.height/2;break;case 3:c=e.width,d=e.height/2}return new F(c,d)},hd=function(a){return 0==a||3==a};I&&L(8);var ld;(ld="ScriptEngine"in w&&"JScript"==w.ScriptEngine())&&(w.ScriptEngineMajorVersion(),w.ScriptEngineMinorVersion(),w.ScriptEngineBuildVersion());var md=function(a,b){this.i=ld?[]:"";a!=q&&this.append.apply(this,arguments)};ld?(md.prototype.qa=0,md.prototype.append=function(a,b,c){b==q?this.i[this.qa++]=a:(this.i.push.apply(this.i,arguments),this.qa=this.i.length);return this}):md.prototype.append=function(a,b,c){this.i+=a;if(b!=q)for(var d=1;d<arguments.length;d++)this.i+=arguments[d];return this};md.prototype.clear=function(){ld?this.qa=this.i.length=0:this.i=""};
md.prototype.toString=function(){if(ld){var a=this.i.join("");this.clear();a&&this.append(a);return a}return this.i};var nd=function(a){X.call(this,a);this.N=new fd(this.q);this.p=new ed;this.za=0};A(nd,X);v=nd.prototype;v.q="jfk-bubble";v.da=m;v.ib=s;v.ea=function(a){this.N.ea(a);this.m()};v.K=function(a,b,c,d){B(!this.l,"Must call setPosition() before rendering");this.N.K(a,b,c,d)};var od=function(a,b){var c=a.Sa();if(b&&c)z(b)?c.innerHTML=b:(c.innerHTML="",c.appendChild(b))};v=nd.prototype;v.ga=function(a){this.N.ga(a)};v.Sa=function(){return this.L(this.q+"-content-id")};
v.Q=function(){var a;a:{var b={Za:this.da};a=(this.V()||N()).createElement("DIV");var b=b||cd,c=new md;c.append('<div class="',"jfk-bubble",'"><div class="',"jfk-bubble-content-id",'"></div>');b.Za&&c.append('<div class="',"jfk-bubble-closebtn-id"," ","jfk-bubble-closebtn",'" aria-label="',"Close",'" role=button tabindex=0></div>');c.append('<div class="',"jfk-bubble-arrow-id"," ","jfk-bubble-arrow",'"><div class="',"jfk-bubble-arrowimplbefore",'"></div><div class="',"jfk-bubble-arrowimplafter",'"></div></div></div>');
a.innerHTML=c.toString();if(1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType)){a=b;break a}}this.b=a;od(this,this.Ta);yc(this.a(),s);a=this.p;b=this.a();Sc(a);a.b=b;a=this.p;b=bd(this.a(),"ease-out",0,1);c=bd(this.a(),"ease-in",1,0);a.A=b;a.z=c};
v.s=function(){nd.e.s.call(this);Kc(this).f(this.p,["beforeshow","show","beforehide","hide"],this.Ua);if(this.da){var a=Kc(this),b=this.L(this.q+"-closebtn-id"),c=na(this.J,s);Vc.f(b,c,l,a.g,a)}a=this.a();B(a,"getElement() returns null.");b=this.L(this.q+"-arrow-id");B(b,"No arrow element is found!");c=this.N;c.C=a;c.sa=b;this.p.K(this.N)};v.J=function(a){this.p.J(a)};v.S=function(){return this.p.S()};v.m=function(){this.S()&&this.p.m()};v.d=function(){this.p.k();delete this.p;nd.e.d.call(this)};
v.Ba=function(){var a=sc(this.a());this.za&&a.y<this.za&&this.J(s);return s};v.Ua=function(a){if("show"==a.type||"hide"==a.type){var b=Kc(this),c=this.V(),c=I?c.c.parentWindow||c.c.defaultView:c.c;"show"==a.type?b.f(c,"scroll",this.Ba):b.O(c,"scroll",this.Ba)}b=this.dispatchEvent(a.type);this.ib&&"hide"==a.type&&this.k();return b};var pd,qd,rd,sd,td,ud,$;aa("gv.Init",function(){pd=window.COMPANY_CATEGORIES;qd=window.COMPANIES;rd=document.body.id;"team-list"==rd&&vd();"portfolio"==rd&&wd()});
var xd=function(){var a=window.location.hash.split("#");return 2==a.length&&""!=a[1]?a[1]:q},zd=function(a){a=a.target.getAttribute("pivot");window._gaq.push(["_trackEvent","LeftNav",a]);window.location.hash=a==q?"":"#"+a;yd(a)},yd=function(a){Ad(a);switch(rd){case "team-list":Bd(a);break;case "portfolio":var b=Cd(a);Dd(a,b)}},Ad=function(a){var b=rb("search");if(b)b.value="";E(sd,function(b){b.getAttribute("pivot")==a?(Ka(b,"selected"),Ka(b.parentNode,"selected")):(La(b,"selected"),La(b.parentNode,
"selected"))})},vd=function(){sd=ub("pivot-links");E(sd,function(a){R(a,"click",zd)});yd(xd())},Bd=function(a){var b=ub("pivot-group");E(b,function(b){var d=b.getAttribute("pivot");a==d||a==q?yc(b,m):yc(b,s)})},wd=function(){td=vb("company-list");sd=ub("pivot-links");E(sd,function(a){R(a,"click",zd)});var a=xd();a?yd(a):Ad(q);a=rb("search");Lc(new Y,a);R(a,"keyup",Ed);a=rb("content");R(a,"mouseover",Fd);R(a,"mousemove",Gd)},Ed=function(a){var b=a?a.target.value:"",c=xd(),d=[];E(qd,function(a){if(!c||
0<=Ba(a.cats,c)){var f=(""+b).toLowerCase(),h=(""+a.name.substr(0,b.length)).toLowerCase();0==(f<h?-1:f==h?0:1)&&d.push(a)}});Dd(c,d)};aa("clearSearch",function(){rb("search").value="";Ed()});
var Gd=function(a){"content"==a.target.id&&(window.clearTimeout(ud),Sb($))},Fd=function(a){var b=Ib(a.target);if(b){window.clearTimeout(ud);var c=b.getAttribute("company");if(!$||!rb("bubble-"+c))Sb($),ud=window.setTimeout(function(){$=new nd;$.ga(m);$.ea(b.getElementsByClassName("logo")[0]);$.K(1,2,l,-15);var a=$;B(!a.l,"Must call setShowClosebox() before rendering");a.da=s;var a='<span class="bubble-title">'+c+"</span> ",e=b.getElementsByClassName("company-description")[0];if(pb&&"innerText"in e)e=
e.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var f=[];Gb(e,f,m);e=f.join("")}e=e.replace(/ \xAD /g," ").replace(/\xAD/g,"");e=e.replace(/\u200B/g,"");pb||(e=e.replace(/ +/g," "));" "!=e&&(e=e.replace(/^\s*/,""));e=a+e;a=O("div","bubble-content");a.id="bubble-"+c;a.innerHTML=e;e=$;B(z(a)||a.nodeType,"Content must be a string or HTML.");e.Ta=a;od(e,a);a=$;e=td;a.l&&g(Error("Component already rendered"));a.b||a.Q();e?e.insertBefore(a.b,q):a.t.c.body.appendChild(a.b);(!a.B||a.B.l)&&a.s();$.J(m)},300)}},
Cd=function(a){if(!a)return qd;var b=[];E(qd,function(c){c&&c.cats&&E(c.cats,function(d){d==a&&b.push(c)})});return b},Dd=function(a,b){var c=O("table",{id:a+"-table"}),d=O("thead"),e=O("tbody");c.appendChild(d);c.appendChild(e);td.innerHTML="";var d=O("h1"),e="",f=rb("search");/^[\s\xa0]*$/.test(f.value)?e=a?pd[a]:pd.all:(e=e+"Showing companies matching <span>"+xa(f.value),e+='</span> &mdash;<a href="javascript:;" onclick="clearSearch()">view all</a>');d.innerHTML=e;td.appendChild(d);td.appendChild(c);
var h=0,j;E(b,function(a){0==h&&(j=O("tr"),c.appendChild(j));var b=O("td"),d=O("a",{className:"portfolio-company",href:"/portfolio/"+a.id}),e=O("div",{className:"company-summary"});e.setAttribute("company",a.name);var f=O("img",{className:"logo",src:"/images/company_logos/"+a.id+".jpg"}),o=O("div",{className:"company-description"}),a=a.description;if("textContent"in o)o.textContent=a;else if(o.firstChild&&3==o.firstChild.nodeType){for(;o.lastChild!=o.firstChild;)o.removeChild(o.lastChild);o.firstChild.data=
a}else{for(var t;t=o.firstChild;)o.removeChild(t);o.appendChild(M(o).createTextNode(a))}lc(o,"display","none");d.appendChild(e);e.appendChild(f);e.appendChild(o);b.appendChild(d);0==h%3&&(j=O("tr"),c.appendChild(j));j.appendChild(b);h++})};

