syndilights/open-lighting-architecture/ola-0.8.4/olad/www/ola.js

272 lines
136 KiB
JavaScript

function aa(){return function(){}}function ba(a){return function(b){this[a]=b}}function e(a){return function(){return this[a]}}function k(a){return function(){return a}}var m,ca=ca||{},n=this;function da(a,b){for(var c=a.split("."),d=b||n,f;f=c.shift();)if(d[f])d=d[f];else return null;return d}function q(){}function r(a){a.g=function(){return a.Di||(a.Di=new a)}}
function ea(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(!(a instanceof Object)&&(Object.prototype.toString.call(a)=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call")))return"function"}else return"null";
else if(b=="function"&&typeof a.call=="undefined")return"object";return b}function fa(a){return ea(a)=="array"}function ga(a){var b=ea(a);return b=="array"||b=="object"&&typeof a.length=="number"}function s(a){return typeof a=="string"}function ha(a){return typeof a=="number"}function ia(a){return ea(a)=="function"}function ja(a){a=ea(a);return a=="object"||a=="array"||a=="function"}function ka(a){return a[la]||(a[la]=++ma)}
var la="closure_uid_"+Math.floor(Math.random()*2147483648).toString(36),ma=0;function na(a,b){var c=b||n;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var f=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(f,d);return a.apply(c,f)}}else return function(){return a.apply(c,arguments)}}
function oa(a){var b=Array.prototype.slice.call(arguments,1);return function(){var c=Array.prototype.slice.call(arguments);c.unshift.apply(c,b);return a.apply(this,c)}}var pa=Date.now||function(){return+new Date};function qa(a,b){var c=b||{};for(var d in c){var f=(""+c[d]).replace(/\$/g,"$$$$");a=a.replace(RegExp("\\{\\$"+d+"\\}","gi"),f)}return a}function t(a,b){function c(){}c.prototype=b.prototype;a.b=b.prototype;a.prototype=new c;a.prototype.constructor=a};function ra(a){for(var b=1;b<arguments.length;b++){var c=String(arguments[b]).replace(/\$/g,"$$$$");a=a.replace(/\%s/,c)}return a}function sa(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")}function ta(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")}
function ua(a,b){if(b)return a.replace(va,"&amp;").replace(wa,"&lt;").replace(xa,"&gt;").replace(ya,"&quot;");else{if(!za.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(va,"&amp;");if(a.indexOf("<")!=-1)a=a.replace(wa,"&lt;");if(a.indexOf(">")!=-1)a=a.replace(xa,"&gt;");if(a.indexOf('"')!=-1)a=a.replace(ya,"&quot;");return a}}var va=/&/g,wa=/</g,xa=/>/g,ya=/\"/g,za=/[&<>\"]/;function Aa(a,b){return ta(a.replace(/ /g," &#160;"),b)}
function Ba(a,b){for(var c=0,d=sa(String(a)).split("."),f=sa(String(b)).split("."),g=Math.max(d.length,f.length),h=0;c==0&&h<g;h++){var i=d[h]||"",j=f[h]||"",l=RegExp("(\\d*)(\\D*)","g"),o=RegExp("(\\d*)(\\D*)","g");do{var p=l.exec(i)||["","",""],w=o.exec(j)||["","",""];if(p[0].length==0&&w[0].length==0)break;c=Ca(p[1].length==0?0:parseInt(p[1],10),w[1].length==0?0:parseInt(w[1],10))||Ca(p[2].length==0,w[2].length==0)||Ca(p[2],w[2])}while(c==0)}return c}
function Ca(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};var Da,Ea,Fa,Ga,Ha,Ia,Ja;function Ka(){return n.navigator?n.navigator.userAgent:null}function La(){return n.navigator}Ha=Ga=Fa=Ea=Da=false;var Ma;if(Ma=Ka()){var Na=La();Da=Ma.indexOf("Opera")==0;Ea=!Da&&Ma.indexOf("MSIE")!=-1;Ga=(Fa=!Da&&Ma.indexOf("WebKit")!=-1)&&Ma.indexOf("Mobile")!=-1;Ha=!Da&&!Fa&&Na.product=="Gecko"}var Oa=Da,u=Ea,x=Ha,y=Fa,Pa=Ga,Qa,Ra=La();Qa=Ra&&Ra.platform||"";Ia=Qa.indexOf("Mac")!=-1;Ja=Qa.indexOf("Win")!=-1;
var Sa=!!La()&&(La().appVersion||"").indexOf("X11")!=-1,Ta,Ua="",Va;if(Oa&&n.opera){var Wa=n.opera.version;Ua=typeof Wa=="function"?Wa():Wa}else{if(x)Va=/rv\:([^\);]+)(\)|;)/;else if(u)Va=/MSIE\s+([^\);]+)(\)|;)/;else if(y)Va=/WebKit\/(\S+)/;if(Va){var Xa=Va.exec(Ka());Ua=Xa?Xa[1]:""}}Ta=Ua;var Ya={};function z(a){return Ya[a]||(Ya[a]=Ba(Ta,a)>=0)};function Za(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function $a(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b}function ab(a){var b=[],c=0;for(var d in a)b[c++]=d;return b}function bb(a){for(var b in a)return false;return true}function cb(a,b){var c;if(c=b in a)delete a[b];return c}function db(a,b,c){if(b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c}var eb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];
function fb(a){for(var b,c,d=1;d<arguments.length;d++){c=arguments[d];for(b in c)a[b]=c[b];for(var f=0;f<eb.length;f++){b=eb[f];if(Object.prototype.hasOwnProperty.call(c,b))a[b]=c[b]}}}function gb(){var a=arguments.length;if(a==1&&fa(arguments[0]))return gb.apply(null,arguments[0]);if(a%2)throw Error("Uneven number of arguments");for(var b={},c=0;c<a;c+=2)b[arguments[c]]=arguments[c+1];return b};function hb(a){this.stack=Error().stack||"";if(a)this.message=String(a)}t(hb,Error);hb.prototype.name="CustomError";function ib(a,b){b.unshift(a);hb.call(this,ra.apply(null,b));b.shift();this.yj=a}t(ib,hb);ib.prototype.name="AssertionError";function jb(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),d="Assertion failed";if(b){d+=": "+b;var f=c}throw new ib(""+d,f||[]);}}function kb(a){throw new ib("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));};var A=Array.prototype,lb=A.indexOf?function(a,b,c){jb(a.length!=null);return A.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(s(a)){if(!s(b)||b.length!=1)return-1;return a.indexOf(b,c)}for(c=c;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},mb=A.forEach?function(a,b,c){jb(a.length!=null);A.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=s(a)?a.split(""):a,g=0;g<d;g++)g in f&&b.call(c,f[g],g,a)},nb=A.map?function(a,b,c){jb(a.length!=null);return A.map.call(a,
b,c)}:function(a,b,c){for(var d=a.length,f=Array(d),g=s(a)?a.split(""):a,h=0;h<d;h++)if(h in g)f[h]=b.call(c,g[h],h,a);return f},ob=A.some?function(a,b,c){jb(a.length!=null);return A.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=s(a)?a.split(""):a,g=0;g<d;g++)if(g in f&&b.call(c,f[g],g,a))return true;return false},pb=A.every?function(a,b,c){jb(a.length!=null);return A.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=s(a)?a.split(""):a,g=0;g<d;g++)if(g in f&&!b.call(c,f[g],g,a))return false;
return true};function B(a,b){return lb(a,b)>=0}function qb(a){if(!fa(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0}function rb(a,b){var c=lb(a,b),d;if(d=c>=0)sb(a,c);return d}function sb(a,b){jb(a.length!=null);return A.splice.call(a,b,1).length==1}function tb(){return A.concat.apply(A,arguments)}function ub(a){if(fa(a))return tb(a);else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}}
function vb(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],d;if(fa(c)||(d=ga(c))&&c.hasOwnProperty("callee"))a.push.apply(a,c);else if(d)for(var f=a.length,g=c.length,h=0;h<g;h++)a[f+h]=c[h];else a.push(c)}}function wb(a){jb(a.length!=null);return A.splice.apply(a,xb(arguments,1))}function xb(a,b,c){jb(a.length!=null);return arguments.length<=2?A.slice.call(a,b):A.slice.call(a,b,c)};var yb=[];var zb;function Ab(){}Ab.prototype.Pd=false;Ab.prototype.w=function(){if(!this.Pd){this.Pd=true;this.e()}};Ab.prototype.e=aa();function C(a,b){this.type=a;this.currentTarget=this.target=b}t(C,Ab);m=C.prototype;m.e=function(){delete this.type;delete this.target;delete this.currentTarget};m.$b=false;m.vd=true;m.stopPropagation=function(){this.$b=true};m.preventDefault=function(){this.vd=false};function Bb(a){a.preventDefault()};function Cb(a,b){a&&this.xc(a,b)}t(Cb,C);var Db=[1,4,2];m=Cb.prototype;m.target=null;m.relatedTarget=null;m.offsetX=0;m.offsetY=0;m.clientX=0;m.clientY=0;m.screenX=0;m.screenY=0;m.button=0;m.keyCode=0;m.charCode=0;m.ctrlKey=false;m.altKey=false;m.shiftKey=false;m.metaKey=false;m.Yi=false;m.Oa=null;
m.xc=function(a,b){var c=this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(x)try{d=d.nodeName&&d}catch(f){d=null}}else if(c=="mouseover")d=a.fromElement;else if(c=="mouseout")d=a.toElement;this.relatedTarget=d;this.offsetX=a.offsetX!==undefined?a.offsetX:a.layerX;this.offsetY=a.offsetY!==undefined?a.offsetY:a.layerY;this.clientX=a.clientX!==undefined?a.clientX:a.pageX;this.clientY=a.clientY!==undefined?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||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.Yi=Ia?a.metaKey:a.ctrlKey;this.Oa=a;delete this.vd;delete this.$b};function Eb(a,b){return u?a.type=="click"?b==0:!!(a.Oa.button&Db[b]):a.Oa.button==b}
m.stopPropagation=function(){Cb.b.stopPropagation.call(this);if(this.Oa.stopPropagation)this.Oa.stopPropagation();else this.Oa.cancelBubble=true};var Fb=u&&!z("9");Cb.prototype.preventDefault=function(){Cb.b.preventDefault.call(this);var a=this.Oa;if(a.preventDefault)a.preventDefault();else{a.returnValue=false;if(Fb)try{if(a.ctrlKey||a.keyCode>=112&&a.keyCode<=123)a.keyCode=-1}catch(b){}}};Cb.prototype.e=function(){Cb.b.e.call(this);this.relatedTarget=this.currentTarget=this.target=this.Oa=null};function Gb(){}var Hb=0;m=Gb.prototype;m.key=0;m.Ic=false;m.ag=false;m.xc=function(a,b,c,d,f,g){if(ia(a))this.Dg=true;else if(a&&a.handleEvent&&ia(a.handleEvent))this.Dg=false;else throw Error("Invalid listener argument");this.Dc=a;this.Wg=b;this.src=c;this.type=d;this.capture=!!f;this.Yd=g;this.ag=false;this.key=++Hb;this.Ic=false};m.handleEvent=function(a){if(this.Dg)return this.Dc.call(this.Yd||this.src,a);return this.Dc.handleEvent.call(this.Dc,a)};var Ib;var Jb=(Ib="ScriptEngine"in n&&n.ScriptEngine()=="JScript")?n.ScriptEngineMajorVersion()+"."+n.ScriptEngineMinorVersion()+"."+n.ScriptEngineBuildVersion():"0";function Kb(a,b){this.Xb=b;this.Z=[];if(a>this.Xb)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(var c=0;c<a;c++)this.Z.push(this.lc())}t(Kb,Ab);m=Kb.prototype;m.Nb=null;m.hg=null;m.Ra=function(){if(this.Z.length)return this.Z.pop();return this.lc()};m.Fb=function(a){this.Z.length<this.Xb?this.Z.push(a):this.Ob(a)};m.lc=function(){return this.Nb?this.Nb():{}};m.Ob=function(a){if(this.hg)this.hg(a);else if(ja(a))if(ia(a.w))a.w();else for(var b in a)delete a[b]};
m.e=function(){Kb.b.e.call(this);for(var a=this.Z;a.length;)this.Ob(a.pop());delete this.Z};var Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb;
(function(){function a(){return{T:0,Ua:0}}function b(){return[]}function c(){function w(V){return h.call(w.src,w.key,V)}return w}function d(){return new Gb}function f(){return new Cb}var g=Ib&&!(Ba(Jb,"5.7")>=0),h;Qb=function(w){h=w};if(g){Lb=function(){return i.Ra()};Mb=function(w){i.Fb(w)};Nb=function(){return j.Ra()};Ob=function(w){j.Fb(w)};Pb=function(){return l.Ra()};Rb=function(){l.Fb(c())};Sb=function(){return o.Ra()};Tb=function(w){o.Fb(w)};Ub=function(){return p.Ra()};Vb=function(w){p.Fb(w)};
var i=new Kb(0,600);i.Nb=a;var j=new Kb(0,600);j.Nb=b;var l=new Kb(0,600);l.Nb=c;var o=new Kb(0,600);o.Nb=d;var p=new Kb(0,600);p.Nb=f}else{Lb=a;Mb=q;Nb=b;Ob=q;Pb=c;Rb=q;Sb=d;Tb=q;Ub=f;Vb=q}})();var Wb={},Xb={},Yb={},$b={};
function D(a,b,c,d,f){if(b)if(fa(b)){for(var g=0;g<b.length;g++)D(a,b[g],c,d,f);return null}else{d=!!d;var h=Xb;b in h||(h[b]=Lb());h=h[b];if(!(d in h)){h[d]=Lb();h.T++}h=h[d];var i=ka(a),j;h.Ua++;if(h[i]){j=h[i];for(g=0;g<j.length;g++){h=j[g];if(h.Dc==c&&h.Yd==f){if(h.Ic)break;return j[g].key}}}else{j=h[i]=Nb();h.T++}g=Pb();g.src=a;h=Sb();h.xc(c,g,a,b,d,f);c=h.key;g.key=c;j.push(h);Wb[c]=h;Yb[i]||(Yb[i]=Nb());Yb[i].push(h);if(a.addEventListener){if(a==n||!a.gg)a.addEventListener(b,g,d)}else a.attachEvent(ac(b),
g);return c}else throw Error("Invalid event type");}function bc(a,b,c,d,f){if(fa(b)){for(var g=0;g<b.length;g++)bc(a,b[g],c,d,f);return null}d=!!d;a=cc(a,b,d);if(!a)return false;for(g=0;g<a.length;g++)if(a[g].Dc==c&&a[g].capture==d&&a[g].Yd==f)return dc(a[g].key);return false}
function dc(a){if(!Wb[a])return false;var b=Wb[a];if(b.Ic)return false;var c=b.src,d=b.type,f=b.Wg,g=b.capture;if(c.removeEventListener){if(c==n||!c.gg)c.removeEventListener(d,f,g)}else c.detachEvent&&c.detachEvent(ac(d),f);c=ka(c);f=Xb[d][g][c];if(Yb[c]){var h=Yb[c];rb(h,b);h.length==0&&delete Yb[c]}b.Ic=true;f.Mg=true;ec(d,g,c,f);delete Wb[a];return true}
function ec(a,b,c,d){if(!d.fe)if(d.Mg){for(var f=0,g=0;f<d.length;f++)if(d[f].Ic){var h=d[f].Wg;h.src=null;Rb(h);Tb(d[f])}else{if(f!=g)d[g]=d[f];g++}d.length=g;d.Mg=false;if(g==0){Ob(d);delete Xb[a][b][c];Xb[a][b].T--;if(Xb[a][b].T==0){Mb(Xb[a][b]);delete Xb[a][b];Xb[a].T--}if(Xb[a].T==0){Mb(Xb[a]);delete Xb[a]}}}}
function fc(a,b,c){var d=0,f=a==null,g=b==null,h=c==null;c=!!c;if(f)Za(Yb,function(j){for(var l=j.length-1;l>=0;l--){var o=j[l];if((g||b==o.type)&&(h||c==o.capture)){dc(o.key);d++}}});else{a=ka(a);if(Yb[a]){a=Yb[a];for(f=a.length-1;f>=0;f--){var i=a[f];if((g||b==i.type)&&(h||c==i.capture)){dc(i.key);d++}}}}return d}function cc(a,b,c){var d=Xb;if(b in d){d=d[b];if(c in d){d=d[c];a=ka(a);if(d[a])return d[a]}}return null}var E="click",gc="keydown";
function ac(a){if(a in $b)return $b[a];return $b[a]="on"+a}function hc(a,b,c,d,f){var g=1;b=ka(b);if(a[b]){a.Ua--;a=a[b];if(a.fe)a.fe++;else a.fe=1;try{for(var h=a.length,i=0;i<h;i++){var j=a[i];if(j&&!j.Ic)g&=ic(j,f)!==false}}finally{a.fe--;ec(c,d,b,a)}}return Boolean(g)}function ic(a,b){var c=a.handleEvent(b);a.ag&&dc(a.key);return c}
function jc(a,b){if(!Wb[a])return true;var c=Wb[a],d=c.type,f=Xb;if(!(d in f))return true;f=f[d];var g,h;if(zb===undefined)zb=u&&!n.addEventListener;if(zb){g=b||da("window.event");var i=true in f,j=false in f;if(i){if(g.keyCode<0||g.returnValue!=undefined)return true;a:{var l=false;if(g.keyCode==0)try{g.keyCode=-1;break a}catch(o){l=true}if(l||g.returnValue==undefined)g.returnValue=true}}l=Ub();l.xc(g,this);g=true;try{if(i){for(var p=Nb(),w=l.currentTarget;w;w=w.parentNode)p.push(w);h=f[true];h.Ua=
h.T;for(var V=p.length-1;!l.$b&&V>=0&&h.Ua;V--){l.currentTarget=p[V];g&=hc(h,p[V],d,true,l)}if(j){h=f[false];h.Ua=h.T;for(V=0;!l.$b&&V<p.length&&h.Ua;V++){l.currentTarget=p[V];g&=hc(h,p[V],d,false,l)}}}else g=ic(c,l)}finally{if(p){p.length=0;Ob(p)}l.w();Vb(l)}return g}d=new Cb(b,this);try{g=ic(c,d)}finally{d.w()}return g}Qb(jc);yb[yb.length]=function(a){jc=a(jc);Qb(jc)};function kc(a){this.Ea=a}t(kc,Ab);var lc=new Kb(0,100);m=kc.prototype;m.f=function(a,b,c,d,f){if(fa(b))for(var g=0;g<b.length;g++)this.f(a,b[g],c,d,f);else{a=D(a,b,c||this,d||false,f||this.Ea||this);if(this.v)this.v[a]=true;else if(this.$){this.v=lc.Ra();this.v[this.$]=true;this.$=null;this.v[a]=true}else this.$=a}return this};
m.ja=function(a,b,c,d,f){if(this.$||this.v)if(fa(b))for(var g=0;g<b.length;g++)this.ja(a,b[g],c,d,f);else{a:{c=c||this;f=f||this.Ea||this;d=!!(d||false);if(a=cc(a,b,d))for(b=0;b<a.length;b++)if(a[b].Dc==c&&a[b].capture==d&&a[b].Yd==f){a=a[b];break a}a=null}if(a){a=a.key;dc(a);if(this.v)cb(this.v,a);else if(this.$==a)this.$=null}}return this};m.ud=function(){if(this.v){for(var a in this.v){dc(a);delete this.v[a]}lc.Fb(this.v);this.v=null}else this.$&&dc(this.$)};m.e=function(){kc.b.e.call(this);this.ud()};
m.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function F(a,b){this.width=a;this.height=b}function mc(a,b){if(a==b)return true;if(!a||!b)return false;return a.width==b.width&&a.height==b.height}m=F.prototype;m.Na=function(){return new F(this.width,this.height)};m.toString=function(){return"("+this.width+" x "+this.height+")"};m.lb=function(){return!(this.width*this.height)};m.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
m.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function G(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0}G.prototype.Na=function(){return new G(this.x,this.y)};G.prototype.toString=function(){return"("+this.x+", "+this.y+")"};function nc(a,b){return new G(a.x-b.x,a.y-b.y)};function oc(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}oc.prototype.Na=function(){return new oc(this.top,this.right,this.bottom,this.left)};oc.prototype.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};oc.prototype.contains=function(a){return!this||!a?false:a instanceof oc?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};function pc(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}m=pc.prototype;m.Na=function(){return new pc(this.left,this.top,this.width,this.height)};m.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
m.Bg=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a){this.left=b;this.top=d;this.width=c-b;this.height=a-d;return true}}return false};
m.contains=function(a){return a instanceof pc?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};m.qg=function(){return new F(this.width,this.height)};var qc;function rc(a){return(a=a.className)&&typeof a.split=="function"?a.split(/\s+/):[]}function H(a){var b=rc(a),c;c=xb(arguments,1);for(var d=0,f=0;f<c.length;f++)if(!B(b,c[f])){b.push(c[f]);d++}c=d==c.length;a.className=b.join(" ");return c}function sc(a){var b=rc(a),c;c=xb(arguments,1);for(var d=0,f=0;f<b.length;f++)if(B(c,b[f])){wb(b,f--,1);d++}c=d==c.length;a.className=b.join(" ");return c}
function tc(a,b,c){for(var d=rc(a),f=false,g=0;g<d.length;g++)if(d[g]==b){wb(d,g--,1);f=true}if(f){d.push(c);a.className=d.join(" ")}return f};function I(a){return a?new uc(J(a)):qc||(qc=new uc)}function K(a){return s(a)?document.getElementById(a):a}function vc(a,b,c){return wc(document,a,b,c)}
function wc(a,b,c,d){a=d||a;b=b&&b!="*"?b.toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(!y||xc(document)||z("528"))&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var f=0,g=0,h;h=a[g];g++)if(b==h.nodeName)d[f++]=h;d.length=f;return d}else return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(g=f=0;h=a[g];g++){b=h.className;if(typeof b.split=="function"&&B(b.split(/\s+/),c))d[f++]=h}d.length=f;return d}else return a}
function yc(a,b){Za(b,function(c,d){if(d=="style")a.style.cssText=c;else if(d=="class")a.className=c;else if(d=="for")a.htmlFor=c;else if(d in zc)a.setAttribute(zc[d],c);else a[d]=c})}var zc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"};
function Ac(a){var b=a.document;if(y&&!z("500")&&!Pa){if(typeof a.innerHeight=="undefined")a=window;b=a.innerHeight;var c=a.document.documentElement.scrollHeight;if(a==a.top)if(c<b)b-=15;return new F(a.innerWidth,b)}a=xc(b);if(Oa&&!z("9.50"))a=false;a=a?b.documentElement:b.body;return new F(a.clientWidth,a.clientHeight)}function Bc(a){return a.parentWindow||a.defaultView}function L(){return Cc(document,arguments)}
function Cc(a,b){var c=b[0],d=b[1];if(u&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',ua(d.name),'"');if(d.type){c.push(' type="',ua(d.type),'"');var f={};fb(f,d);d=f;delete d.type}c.push(">");c=c.join("")}c=a.createElement(c);if(d)if(s(d))c.className=d;else fa(d)?H.apply(null,[c].concat(d)):yc(c,d);b.length>2&&Dc(a,c,b,2);return c}
function Dc(a,b,c,d){function f(h){if(h)b.appendChild(s(h)?a.createTextNode(h):h)}for(d=d;d<c.length;d++){var g=c[d];ga(g)&&!(ja(g)&&g.nodeType>0)?mb(Ec(g)?ub(g):g,f):f(g)}}function M(a){return document.createElement(a)}function xc(a){return a.compatMode=="CSS1Compat"}function Fc(a){for(var b;b=a.firstChild;)a.removeChild(b)}function Gc(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function Hc(a){return Ic(a.firstChild,true)}function Jc(a){return Ic(a.nextSibling,true)}
function Ic(a,b){for(;a&&a.nodeType!=1;)a=b?a.nextSibling:a.previousSibling;return a}function Kc(a,b){if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function J(a){return a.nodeType==9?a:a.ownerDocument||a.document}
function Lc(a,b){if("textContent"in a)a.textContent=b;else if(a.firstChild&&a.firstChild.nodeType==3){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else{Fc(a);a.appendChild(J(a).createTextNode(b))}}var Mc={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Nc={IMG:" ",BR:"\n"};function Oc(a){var b=a.getAttributeNode("tabindex");if(b&&b.specified){a=a.tabIndex;return ha(a)&&a>=0}return false}
function Pc(a){if(u&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Qc(a,b,true);a=b.join("")}a=a.replace(/\xAD/g,"");a=a.replace(/ +/g," ");if(a!=" ")a=a.replace(/^\s*/,"");return a}function Qc(a,b,c){if(!(a.nodeName in Mc))if(a.nodeType==3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Nc)b.push(Nc[a.nodeName]);else for(a=a.firstChild;a;){Qc(a,b,c);a=a.nextSibling}}
function Ec(a){if(a&&typeof a.length=="number")if(ja(a))return typeof a.item=="function"||typeof a.item=="string";else if(ia(a))return typeof a.item=="function";return false}function uc(a){this.r=a||n.document||document}m=uc.prototype;m.i=I;function Rc(a){return a.r}m.a=function(a){return s(a)?this.r.getElementById(a):a};m.d=function(){return Cc(this.r,arguments)};m.createElement=function(a){return this.r.createElement(a)};m.createTextNode=function(a){return this.r.createTextNode(a)};
function Sc(a){return xc(a.r)}function Tc(a){a=!y&&xc(a.r)?a.r.documentElement:a.r.body;return new G(a.scrollLeft,a.scrollTop)}m.appendChild=function(a,b){a.appendChild(b)};m.pg=Hc;m.contains=Kc;function N(){}t(N,Ab);m=N.prototype;m.gg=true;m.pe=null;m.Bf=ba("pe");m.addEventListener=function(a,b,c,d){D(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){bc(this,a,b,c,d)};
m.dispatchEvent=function(a){a=a;if(s(a))a=new C(a,this);else if(a instanceof C)a.target=a.target||this;else{var b=a;a=new C(a.type,this);fb(a,b)}b=1;var c,d=a.type,f=Xb;if(d in f){f=f[d];d=true in f;var g;if(d){c=[];for(g=this;g;g=g.pe)c.push(g);g=f[true];g.Ua=g.T;for(var h=c.length-1;!a.$b&&h>=0&&g.Ua;h--){a.currentTarget=c[h];b&=hc(g,c[h],a.type,true,a)&&a.vd!=false}}if(false in f){g=f[false];g.Ua=g.T;if(d)for(h=0;!a.$b&&h<c.length&&g.Ua;h++){a.currentTarget=c[h];b&=hc(g,c[h],a.type,false,a)&&a.vd!=
false}else for(c=this;!a.$b&&c&&g.Ua;c=c.pe){a.currentTarget=c;b&=hc(g,c,a.type,false,a)&&a.vd!=false}}a=Boolean(b)}else a=true;return a};m.e=function(){N.b.e.call(this);fc(this);this.pe=null};function Uc(a,b,c){this.target=a;this.handle=b||a;this.de=c||new pc(NaN,NaN,NaN,NaN);this.r=J(a);this.$a=new kc(this);D(this.handle,"mousedown",this.fh,false,this)}t(Uc,N);var Vc=u||x&&z("1.9.3");m=Uc.prototype;m.screenX=0;m.screenY=0;m.gh=0;m.hh=0;m.mc=0;m.nc=0;m.Q=true;m.ub=false;m.zg=0;m.Ki=0;m.Ci=false;m.H=e("$a");m.M=ba("Q");m.e=function(){Uc.b.e.call(this);bc(this.handle,"mousedown",this.fh,false,this);this.$a.w();delete this.target;delete this.handle;delete this.$a};
m.fh=function(a){if(this.Q&&!this.ub&&(a.type!="mousedown"||Eb(a,0))){if(this.zg==0){Wc(this,a);if(this.ub)a.preventDefault();else return}else a.preventDefault();var b=this.r,c=b.documentElement,d=!Vc;this.$a.f(b,"mousemove",this.Li,d);this.$a.f(b,"mouseup",this.Rd,d);if(Vc){c.setCapture(false);this.$a.f(c,"losecapture",this.Rd)}else this.$a.f(b?Bc(b):window,"blur",this.Rd);u&&this.Ci&&this.$a.f(b,"dragstart",Bb);this.ej&&this.$a.f(this.ej,"scroll",this.Ui,d);this.screenX=this.gh=a.screenX;this.screenY=
this.hh=a.screenY;this.mc=this.target.offsetLeft;this.nc=this.target.offsetTop;this.sd=Tc(I(this.r));this.Ki=pa()}};function Wc(a,b){if(a.dispatchEvent(new Xc("start",a,b.clientX,b.clientY,b))!==false)a.ub=true}m.Rd=function(a,b){this.$a.ud();Vc&&this.r.releaseCapture();if(this.ub){this.ub=false;this.dispatchEvent(new Xc("end",this,a.clientX,a.clientY,a,Yc(this,this.mc),Zc(this,this.nc),b))}};
m.Li=function(a){if(this.Q){var b=a.screenX-this.screenX,c=a.screenY-this.screenY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.ub){var d=this.gh-this.screenX,f=this.hh-this.screenY;if(d*d+f*f>this.zg){Wc(this,a);if(!this.ub){this.Rd(a);return}}}c=$c(this,b,c);b=c.x;c=c.y;if(this.ub)if(this.dispatchEvent(new Xc("beforedrag",this,a.clientX,a.clientY,a,b,c))!==false){ad(this,a,b,c,false);a.preventDefault()}}};
function $c(a,b,c){var d=Tc(I(a.r));b+=d.x-a.sd.x;c+=d.y-a.sd.y;a.sd=d;a.mc+=b;a.nc+=c;return new G(Yc(a,a.mc),Zc(a,a.nc))}m.Ui=function(a){var b=$c(this,0,0);a.clientX=this.sd.x-this.screenX;a.clientY=this.sd.x-this.screenY;ad(this,a,b.x,b.y,true)};function ad(a,b,c,d){a.Oe(c,d);a.dispatchEvent(new Xc("drag",a,b.clientX,b.clientY,b,c,d))}function Yc(a,b){var c=a.de,d=!isNaN(c.left)?c.left:null;c=!isNaN(c.width)?c.width:0;return Math.min(d!=null?d+c:Infinity,Math.max(d!=null?d:-Infinity,b))}
function Zc(a,b){var c=a.de,d=!isNaN(c.top)?c.top:null;c=!isNaN(c.height)?c.height:0;return Math.min(d!=null?d+c:Infinity,Math.max(d!=null?d:-Infinity,b))}m.Oe=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};function Xc(a,b,c,d,f,g,h,i){C.call(this,a);this.clientX=c;this.clientY=d;this.uj=f;this.left=g!==undefined?g:b.mc;this.top=h!==undefined?h:b.nc;this.jg=b;this.vj=!!i}t(Xc,C);function bd(a,b){var c=J(a);if(c.defaultView&&c.defaultView.getComputedStyle)if(c=c.defaultView.getComputedStyle(a,""))return c[b];return null}function cd(a,b){return bd(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style[b]}function dd(a){return cd(a,"position")}function ed(a,b,c){var d,f=x&&(Ia||Sa)&&z("1.9");if(b instanceof G){d=b.x;b=b.y}else{d=b;b=c}a.style.left=fd(d,f);a.style.top=fd(b,f)}function gd(a){return new G(a.offsetLeft,a.offsetTop)}
function hd(a){var b=a.getBoundingClientRect();if(u){a=a.ownerDocument;b.left-=a.documentElement.clientLeft+a.body.clientLeft;b.top-=a.documentElement.clientTop+a.body.clientTop}return b}
function id(a){if(u)return a.offsetParent;var b=J(a),c=cd(a,"position"),d=c=="fixed"||c=="absolute";for(a=a.parentNode;a&&a!=b;a=a.parentNode){c=cd(a,"position");d=d&&c=="static"&&a!=b.documentElement&&a!=b.body;if(!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c=="fixed"||c=="absolute"))return a}return null}
function jd(a){var b=new oc(0,Infinity,Infinity,0),c=I(a),d=c.r.body,f=!y&&xc(c.r)?c.r.documentElement:c.r.body,g;for(a=a;a=id(a);)if((!u||a.clientWidth!=0)&&(!y||a.clientHeight!=0||a!=d)&&(a.scrollWidth!=a.clientWidth||a.scrollHeight!=a.clientHeight)&&cd(a,"overflow")!="visible"){var h=kd(a),i;i=a;if(x&&!z("1.9")){var j=parseFloat(bd(i,"borderLeftWidth"));if(ld(i)){var l=i.offsetWidth-i.clientWidth-j-parseFloat(bd(i,"borderRightWidth"));j+=l}i=new G(j,parseFloat(bd(i,"borderTopWidth")))}else i=new G(i.clientLeft,
i.clientTop);h.x+=i.x;h.y+=i.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);g=g||a!=f}d=f.scrollLeft;f=f.scrollTop;if(y){b.left+=d;b.top+=f}else{b.left=Math.max(b.left,d);b.top=Math.max(b.top,f)}if(!g||y){b.right+=d;b.bottom+=f}c=Ac(Bc(c.r)||window);b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return b.top>=0&&b.left>=0&&b.bottom>b.top&&b.right>b.left?b:null}
function kd(a){var b,c=J(a),d=cd(a,"position"),f=x&&c.getBoxObjectFor&&!a.getBoundingClientRect&&d=="absolute"&&(b=c.getBoxObjectFor(a))&&(b.screenX<0||b.screenY<0),g=new G(0,0),h;b=c?c.nodeType==9?c:J(c):document;h=u&&!Sc(I(b))?b.body:b.documentElement;if(a==h)return g;if(a.getBoundingClientRect){b=hd(a);a=Tc(I(c));g.x=b.left+a.x;g.y=b.top+a.y}else if(c.getBoxObjectFor&&!f){b=c.getBoxObjectFor(a);a=c.getBoxObjectFor(h);g.x=b.screenX-a.screenX;g.y=b.screenY-a.screenY}else{b=a;do{g.x+=b.offsetLeft;
g.y+=b.offsetTop;if(b!=a){g.x+=b.clientLeft||0;g.y+=b.clientTop||0}if(y&&dd(b)=="fixed"){g.x+=c.body.scrollLeft;g.y+=c.body.scrollTop;break}b=b.offsetParent}while(b&&b!=a);if(Oa||y&&d=="absolute")g.y-=c.body.offsetTop;for(b=a;(b=id(b))&&b!=c.body&&b!=h;){g.x-=b.scrollLeft;if(!Oa||b.tagName!="TR")g.y-=b.scrollTop}}return g}function md(a,b){var c=nd(a),d=nd(b);return new G(c.x-d.x,c.y-d.y)}
function nd(a){var b=new G;if(a.nodeType==1)if(a.getBoundingClientRect){var c=hd(a);b.x=c.left;b.y=c.top}else{c=Tc(I(a));a=kd(a);b.x=a.x-c.x;b.y=a.y-c.y}else{b.x=a.clientX;b.y=a.clientY}return b}function od(a,b,c){if(b instanceof F){c=b.height;b=b.width}else{if(c==undefined)throw Error("missing height argument");c=c}a.style.width=fd(b,true);a.style.height=fd(c,true)}function fd(a,b){if(typeof a=="number")a=(b?Math.round(a):a)+"px";return a}
function pd(a){var b=Oa&&!z("10");if(cd(a,"display")!="none")return b?new F(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new F(a.offsetWidth,a.offsetHeight);var c=a.style,d=c.display,f=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";if(b){b=a.offsetWidth||a.clientWidth;a=a.offsetHeight||a.clientHeight}else{b=a.offsetWidth;a=a.offsetHeight}c.display=d;c.position=g;c.visibility=f;return new F(b,a)}
function qd(a){var b=kd(a);a=pd(a);return new pc(b.x,b.y,a.width,a.height)}function rd(a,b){var c=a.style;if("opacity"in c)c.opacity=b;else if("MozOpacity"in c)c.MozOpacity=b;else if("filter"in c)c.filter=b===""?"":"alpha(opacity="+b*100+")"}function O(a,b){a.style.display=b?"":"none"}
function sd(a,b){var c=I(b),d=null;if(u){d=c.r.createStyleSheet();td(d,a)}else{var f=wc(c.r,"head",void 0,void 0)[0];if(!f){d=wc(c.r,"body",void 0,void 0)[0];f=c.d("head");d.parentNode.insertBefore(f,d)}d=c.d("style");td(d,a);c.appendChild(f,d)}return d}function td(a,b){if(u)a.cssText=b;else a[y?"innerText":"innerHTML"]=b}function ld(a){return"rtl"==cd(a,"direction")}var ud=x?"MozUserSelect":y?"WebkitUserSelect":null;
function vd(a,b,c){c=!c?a.getElementsByTagName("*"):null;if(ud){b=b?"none":"";a.style[ud]=b;if(c){a=0;for(var d;d=c[a];a++)d.style[ud]=b}}else if(u||Oa){b=b?"on":"";a.setAttribute("unselectable",b);if(c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)}}function wd(a){return new F(a.offsetWidth,a.offsetHeight)}
function xd(a,b){var c=Sc(I(J(a)));if(u&&(!c||!z("8"))){var d=a.style;if(c){c=yd(a,"padding");var f=zd(a);d.pixelWidth=b.width-f.left-c.left-c.right-f.right;d.pixelHeight=b.height-f.top-c.top-c.bottom-f.bottom}else{d.pixelWidth=b.width;d.pixelHeight=b.height}}else{d=a.style;if(x)d.MozBoxSizing="border-box";else if(y)d.WebkitBoxSizing="border-box";else if(Oa&&!z("9.50"))d.setProperty("box-sizing","border-box");else d.boxSizing="border-box";d.width=b.width+"px";d.height=b.height+"px"}}
function Ad(a){var b=J(a),c=u&&a.currentStyle;if(c&&Sc(I(b))&&c.width!="auto"&&c.height!="auto"&&!c.boxSizing){b=Bd(a,c.width,"width","pixelWidth");a=Bd(a,c.height,"height","pixelHeight");return new F(b,a)}else{c=wd(a);b=yd(a,"padding");a=zd(a);return new F(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)}}
function Bd(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);else{var f=a.style[c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=f;a.runtimeStyle[c]=g;return b}}function Cd(a,b){return Bd(a,a.currentStyle?a.currentStyle[b]:null,"left","pixelLeft")}
function yd(a,b){if(u){var c=Cd(a,b+"Left"),d=Cd(a,b+"Right"),f=Cd(a,b+"Top"),g=Cd(a,b+"Bottom");return new oc(f,d,g,c)}else{c=bd(a,b+"Left");d=bd(a,b+"Right");f=bd(a,b+"Top");g=bd(a,b+"Bottom");return new oc(parseFloat(f),parseFloat(d),parseFloat(g),parseFloat(c))}}var Dd={thin:2,medium:4,thick:6};function Ed(a,b){if((a.currentStyle?a.currentStyle[b+"Style"]:null)=="none")return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;if(c in Dd)return Dd[c];return Bd(a,c,"left","pixelLeft")}
function zd(a){if(u){var b=Ed(a,"borderLeft"),c=Ed(a,"borderRight"),d=Ed(a,"borderTop");a=Ed(a,"borderBottom");return new oc(d,c,a,b)}else{b=bd(a,"borderLeftWidth");c=bd(a,"borderRightWidth");d=bd(a,"borderTopWidth");a=bd(a,"borderBottomWidth");return new oc(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}};function Fd(){}r(Fd);Fd.prototype.Pi=0;Fd.g();function P(a){this.p=a||I();this.wd=Gd}t(P,N);P.prototype.Bi=Fd.g();var Gd=null;function Hd(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close";default:}throw Error("Invalid component state");}m=P.prototype;m.vc=null;m.u=false;m.c=null;m.wd=null;m.pf=null;m.z=null;m.X=null;m.Ma=null;
m.sh=false;function Id(a){return a.vc||(a.vc=":"+(a.Bi.Pi++).toString(36))}function Jd(a,b){if(a.z&&a.z.Ma){cb(a.z.Ma,a.vc);db(a.z.Ma,b,a)}a.vc=b}m.a=e("c");m.H=function(){return this.tc||(this.tc=new kc(this))};function Kd(a,b){if(a==b)throw Error("Unable to set parent component");if(b&&a.z&&a.vc&&Ld(a.z,a.vc)&&a.z!=b)throw Error("Unable to set parent component");a.z=b;P.b.Bf.call(a,b)}m.Bf=function(a){if(this.z&&this.z!=a)throw Error("Method not supported");P.b.Bf.call(this,a)};m.i=e("p");
m.d=function(){this.c=this.p.createElement("div")};m.W=function(a){Md(this,a)};function Md(a,b,c){if(a.u)throw Error("Component already rendered");a.c||a.d();b?b.insertBefore(a.c,c||null):a.p.r.body.appendChild(a.c);if(!a.z||a.z.u)a.n()}m.m=function(a){if(this.u)throw Error("Component already rendered");else if(a&&this.K(a)){this.sh=true;if(!this.p||this.p.r!=J(a))this.p=I(a);this.A(a);this.n()}else throw Error("Invalid element to decorate");};m.K=k(true);m.A=ba("c");
m.n=function(){this.u=true;Nd(this,function(a){!a.u&&a.a()&&a.n()})};m.Da=function(){Nd(this,function(a){a.u&&a.Da()});this.tc&&this.tc.ud();this.u=false};m.e=function(){P.b.e.call(this);this.u&&this.Da();if(this.tc){this.tc.w();delete this.tc}Nd(this,function(a){a.w()});!this.sh&&this.c&&Gc(this.c);this.z=this.pf=this.c=this.Ma=this.X=null};m.oa=function(a,b){this.ic(a,Q(this),b)};
m.ic=function(a,b,c){if(a.u&&(c||!this.u))throw Error("Component already rendered");if(b<0||b>Q(this))throw Error("Child component index out of bounds");if(!this.Ma||!this.X){this.Ma={};this.X=[]}if(a.z==this){this.Ma[Id(a)]=a;rb(this.X,a)}else db(this.Ma,Id(a),a);Kd(a,this);wb(this.X,b,0,a);if(a.u&&this.u&&a.z==this){c=this.L();c.insertBefore(a.a(),c.childNodes[b]||null)}else if(c){this.c||this.d();b=R(this,b+1);Md(a,this.L(),b?b.c:null)}else this.u&&!a.u&&a.c&&a.n()};m.L=e("c");
function Od(a){if(a.wd==null)a.wd=ld(a.u?a.c:a.p.r.body);return a.wd}m.Kc=function(a){if(this.u)throw Error("Component already rendered");this.wd=a};function Q(a){return a.X?a.X.length:0}function Ld(a,b){var c;if(a.Ma&&b){c=a.Ma;c=b in c?c[b]:void 0;c=c||null}else c=null;return c}function R(a,b){return a.X?a.X[b]||null:null}function Nd(a,b,c){a.X&&mb(a.X,b,c)}function Pd(a,b){return a.X&&b?lb(a.X,b):-1}
m.removeChild=function(a,b){if(a){var c=s(a)?a:Id(a);a=Ld(this,c);if(c&&a){cb(this.Ma,c);rb(this.X,a);if(b){a.Da();a.c&&Gc(a.c)}Kd(a,null)}}if(!a)throw Error("Child is not in parent component");return a};function Qd(a,b){this.md=a||1;this.Fd=b||Rd;this.Le=na(this.lj,this);this.mf=pa()}t(Qd,N);Qd.prototype.enabled=false;var Rd=n.window;m=Qd.prototype;m.wa=null;m.setInterval=function(a){this.md=a;if(this.wa&&this.enabled){this.stop();this.start()}else this.wa&&this.stop()};m.lj=function(){if(this.enabled){var a=pa()-this.mf;if(a>0&&a<this.md*0.8)this.wa=this.Fd.setTimeout(this.Le,this.md-a);else{this.dispatchEvent(Sd);if(this.enabled){this.wa=this.Fd.setTimeout(this.Le,this.md);this.mf=pa()}}}};
m.start=function(){this.enabled=true;if(!this.wa){this.wa=this.Fd.setTimeout(this.Le,this.md);this.mf=pa()}};m.stop=function(){this.enabled=false;if(this.wa){this.Fd.clearTimeout(this.wa);this.wa=null}};m.e=function(){Qd.b.e.call(this);this.stop();delete this.Fd};var Sd="tick";function Td(a,b,c){if(ia(a)){if(c)a=na(a,c)}else if(a&&typeof a.handleEvent=="function")a=na(a.handleEvent,a);else throw Error("Invalid listener argument");return b>2147483647?-1:Rd.setTimeout(a,b||0)};function Ud(a){if(typeof a.ib=="function")return a.ib();if(s(a))return a.split("");if(ga(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return $a(a)}function Vd(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(ga(a)||s(a))mb(a,b,c);else{var d;if(typeof a.hd=="function")d=a.hd();else if(typeof a.ib!="function")if(ga(a)||s(a)){d=[];for(var f=a.length,g=0;g<f;g++)d.push(g);d=d}else d=ab(a);else d=void 0;f=Ud(a);g=f.length;for(var h=0;h<g;h++)b.call(c,f[h],d&&d[h],a)}};function Wd(a){this.ba={};this.v=[];var b=arguments.length;if(b>1){if(b%2)throw Error("Uneven number of arguments");for(var c=0;c<b;c+=2)this.J(arguments[c],arguments[c+1])}else a&&this.Ie(a)}m=Wd.prototype;m.T=0;m.Nf=0;m.ma=e("T");m.ib=function(){Xd(this);for(var a=[],b=0;b<this.v.length;b++)a.push(this.ba[this.v[b]]);return a};m.hd=function(){Xd(this);return this.v.concat()};m.Ne=function(a){return Yd(this.ba,a)};m.lb=function(){return this.T==0};
m.clear=function(){this.ba={};this.Nf=this.T=this.v.length=0};m.remove=function(a){if(Yd(this.ba,a)){delete this.ba[a];this.T--;this.Nf++;this.v.length>2*this.T&&Xd(this);return true}return false};function Xd(a){if(a.T!=a.v.length){for(var b=0,c=0;b<a.v.length;){var d=a.v[b];if(Yd(a.ba,d))a.v[c++]=d;b++}a.v.length=c}if(a.T!=a.v.length){var f={};for(c=b=0;b<a.v.length;){d=a.v[b];if(!Yd(f,d)){a.v[c++]=d;f[d]=1}b++}a.v.length=c}}m.rc=function(a,b){if(Yd(this.ba,a))return this.ba[a];return b};
m.J=function(a,b){if(!Yd(this.ba,a)){this.T++;this.v.push(a);this.Nf++}this.ba[a]=b};m.Ie=function(a){var b;if(a instanceof Wd){b=a.hd();a=a.ib()}else{b=ab(a);a=$a(a)}for(var c=0;c<b.length;c++)this.J(b[c],a[c])};m.Na=function(){return new Wd(this)};function Yd(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Zd(a,b,c,d,f){if(!u&&!(y&&z("525")))return true;if(Ia&&f)return $d(a);if(f&&!d)return false;if(!c&&(b==17||b==18))return false;if(u&&d&&b==a)return false;switch(a){case 13:return true;case 27:return!y}return $d(a)}
function $d(a){if(a>=48&&a<=57)return true;if(a>=96&&a<=106)return true;if(a>=65&&a<=90)return true;if(y&&a==0)return true;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return true;default:return false}};function ae(a,b){if(x){a.setAttribute("role",b);a.zj=b}}function be(a,b,c){x&&a.setAttribute("aria-"+b,c)};function ce(a){this.c=a;a=u?"focusout":"blur";this.Fi=D(this.c,u?"focusin":"focus",this,!u);this.Gi=D(this.c,a,this,!u)}t(ce,N);ce.prototype.handleEvent=function(a){var b=new Cb(a.Oa);b.type=a.type=="focusin"||a.type=="focus"?"focusin":"focusout";try{this.dispatchEvent(b)}finally{b.w()}};ce.prototype.e=function(){ce.b.e.call(this);dc(this.Fi);dc(this.Gi);delete this.c};function de(a,b,c){P.call(this,c);this.Y=a||"modal-dialog";this.Mf=!!b;this.pa=ee}t(de,P);m=de.prototype;m.Td=null;m.gi=true;m.cf=true;m.Mf=false;m.he=true;m.ig=true;m.$h=0.5;m.ye="";m.la="";m.pa=null;m.pc=null;m.ea=false;m.bi=false;m.S=null;m.O=null;m.Ja=null;m.gb=null;m.If=null;m.ob=null;m.Ca=null;m.ka=null;m.ca=function(a){this.ye=a;this.gb&&Lc(this.gb,a)};m.t=function(a){this.la=a;if(this.Ca)this.Ca.innerHTML=a};m.L=function(){this.a()||this.W();return this.Ca};
m.d=function(){fe(this);var a=this.i();this.c=a.d("div",{className:this.Y,tabIndex:0},this.Ja=a.d("div",{className:this.Y+"-title",id:Id(this)},this.gb=a.d("span",this.Y+"-title-text",this.ye),this.ob=a.d("span",this.Y+"-title-close")),this.Ca=a.d("div",this.Y+"-content"),this.ka=a.d("div",this.Y+"-buttons"),this.jh=a.d("span",{tabIndex:0}));this.If=this.Ja.id;ae(this.a(),"dialog");be(this.a(),"labelledby",this.If||"");if(this.la)this.Ca.innerHTML=this.la;O(this.ob,this.cf);O(this.a(),false);if(this.pa){a=
this.pa;a.c=this.ka;a.W()}};function fe(a){if(a.Mf&&a.he&&!a.O){var b;b=a.i().d("iframe",{frameborder:0,style:"border:0;vertical-align:bottom;",src:'javascript:""'});a.O=b;a.O.className=a.Y+"-bg";O(a.O,false);rd(a.O,0)}else if((!a.Mf||!a.he)&&a.O){Gc(a.O);a.O=null}if(a.he&&!a.S){a.S=a.i().d("div",a.Y+"-bg");rd(a.S,a.$h);O(a.S,false)}else if(!a.he&&a.S){Gc(a.S);a.S=null}}
m.W=function(a){if(this.u)throw Error("Component already rendered");this.a()||this.d();a=a||Rc(this.i()).body;ge(this,a);de.b.W.call(this,a)};function ge(a,b){a.O&&b.appendChild(a.O);a.S&&b.appendChild(a.S)}m.K=function(a){return a&&a.tagName&&a.tagName=="DIV"&&de.b.K.call(this,a)};
m.A=function(a){de.b.A.call(this,a);H(this.a(),this.Y);a=this.Y+"-content";if(this.Ca=vc(null,a,this.a())[0])this.la=this.Ca.innerHTML;else{this.Ca=this.i().d("div",a);if(this.la)this.Ca.innerHTML=this.la;this.a().appendChild(this.Ca)}a=this.Y+"-title";var b=this.Y+"-title-text",c=this.Y+"-title-close";if(this.Ja=vc(null,a,this.a())[0]){this.gb=vc(null,b,this.Ja)[0];this.ob=vc(null,c,this.Ja)[0]}else{this.Ja=this.i().d("div",a);this.a().insertBefore(this.Ja,this.Ca)}if(this.gb)this.ye=Pc(this.gb);
else{this.gb=this.i().d("span",b,this.ye);this.Ja.appendChild(this.gb)}be(this.a(),"labelledby",this.If||"");if(!this.ob){this.ob=this.i().d("span",c);this.Ja.appendChild(this.ob)}O(this.ob,this.cf);a=this.Y+"-buttons";if(this.ka=vc(null,a,this.a())[0]){this.pa=new he(this.i());this.pa.m(this.ka)}else{this.ka=this.i().d("div",a);this.a().appendChild(this.ka);if(this.pa){a=this.pa;a.c=this.ka;a.W()}}fe(this);ge(this,J(this.a()).body);O(this.a(),false)};
m.n=function(){de.b.n.call(this);this.Td=new ce(Rc(this.i()));if(this.ig&&!this.pc){var a=new Uc(this.a(),this.Ja);H(this.Ja,this.Y+"-title-draggable");this.pc=a}this.H().f(this.ob,E,this.Wi).f(this.Td,"focusin",this.Ti);ae(this.a(),"dialog");this.gb.id!==""&&be(this.a(),"labelledby",this.gb.id)};m.Da=function(){this.I()&&this.l(false);this.Td.w();this.Td=null;if(this.pc){this.pc.w();this.pc=null}de.b.Da.call(this)};
m.l=function(a){if(a!=this.ea){var b=Rc(this.i()),c=(b?Bc(b):window)||window;this.u||this.W(b.body);if(a){ie(this);this.sa();this.H().f(this.a(),gc,this.me,true).f(this.a(),"keypress",this.me,true).f(c,"resize",this.Sg,true)}else this.H().ja(this.a(),gc,this.me,true).ja(this.a(),"keypress",this.me,true).ja(c,"resize",this.Sg,true);this.O&&O(this.O,a);this.S&&O(this.S,a);O(this.a(),a);a&&this.focus();if(this.ea=a)this.H().f(this.ka,E,this.Og);else{this.H().ja(this.ka,E,this.Og);this.dispatchEvent(je);
this.bi&&this.w()}}};m.I=e("ea");m.focus=function(){try{this.a().focus()}catch(a){}if(this.pa){var b=this.pa.Nd;if(b)for(var c=Rc(this.i()),d=this.ka.getElementsByTagName("button"),f=0,g;g=d[f];f++)if(g.name==b){try{if(y||Oa){var h=c.createElement("input");h.style.cssText="position:fixed;width:0;height:0;left:0;top:0;";this.a().appendChild(h);h.focus();this.a().removeChild(h)}g.focus()}catch(i){}break}}};
function ie(a){a.O&&O(a.O,false);a.S&&O(a.S,false);var b=Rc(a.i()),c=Ac((b?Bc(b):window)||window||window),d=Math.max(b.body.scrollWidth,c.width);b=Math.max(b.body.scrollHeight,c.height);if(a.O){O(a.O,true);od(a.O,d,b)}if(a.S){O(a.S,true);od(a.S,d,b)}if(a.ig){c=pd(a.a());a.pc.de=new pc(0,0,d-c.width,b-c.height)}}
m.sa=function(){var a=Rc(this.i()),b=(a?Bc(a):window)||window;if(dd(this.a())=="fixed")var c=a=0;else{c=Tc(this.i());a=c.x;c=c.y}var d=pd(this.a());b=Ac(b||window);a=Math.max(a+b.width/2-d.width/2,0);c=Math.max(c+b.height/2-d.height/2,0);ed(this.a(),a,c)};m.Wi=function(){if(this.cf){var a=this.pa,b=a&&a.Me;if(b)this.dispatchEvent(new ke(b,a.rc(b)))&&this.l(false);else this.l(false)}};
m.e=function(){de.b.e.call(this);if(this.S){Gc(this.S);this.S=null}if(this.O){Gc(this.O);this.O=null}this.jh=this.ka=this.ob=null};function S(a,b){a.pa=b;if(a.ka)if(a.pa){var c=a.pa;c.c=a.ka;c.W()}else a.ka.innerHTML=""}m.Og=function(a){a:{for(a=a.target;a!=null&&a!=this.ka;){if(a.tagName=="BUTTON"){a=a;break a}a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;this.dispatchEvent(new ke(a,this.pa.rc(a)))&&this.l(false)}};
m.me=function(a){var b=false,c=false,d=this.pa,f=a.target;if(a.type==gc)if(this.gi&&a.keyCode==27){var g=d&&d.Me;f=f.tagName=="SELECT"&&!f.disabled;if(g&&!f){c=true;b=this.dispatchEvent(new ke(g,d.rc(g)))}else f||(b=true)}else{if(a.keyCode==9&&a.shiftKey&&f==this.a())c=true}else if(a.keyCode==13){if(f.tagName=="BUTTON")g=f.name;else if(d){var h=d.Nd,i;if(i=h)a:{i=d.c.getElementsByTagName("BUTTON");for(var j=0,l;l=i[j];j++)if(l.name==h||l.id==h){i=l;break a}i=null}i=i;f=(f.tagName=="TEXTAREA"||f.tagName==
"SELECT")&&!f.disabled;if(i&&!i.disabled&&!f)g=h}if(g){c=true;b=this.dispatchEvent(new ke(g,String(d.rc(g))))}}if(b||c){a.stopPropagation();a.preventDefault()}b&&this.l(false)};m.Sg=function(){ie(this)};m.Ti=function(a){this.jh==a.target&&Td(this.ii,0,this)};m.ii=function(){u&&Rc(this.i()).body.focus();this.a().focus()};function ke(a,b){this.type=le;this.key=a;this.caption=b}t(ke,C);var le="dialogselect",je="afterhide";function he(a){this.p=a||I();Wd.call(this)}var ee,me,ne;t(he,Wd);m=he.prototype;
m.Y="goog-buttonset";m.Nd=null;m.c=null;m.Me=null;m.J=function(a,b,c,d){Wd.prototype.J.call(this,a,b);if(c)this.Nd=a;if(d)this.Me=a;return this};m.W=function(){if(this.c){this.c.innerHTML="";var a=I(this.c);Vd(this,function(b,c){var d=a.d("button",{name:c},b);if(c==this.Nd)d.className=this.Y+"-default";this.c.appendChild(d)},this)}};
m.m=function(a){if(!(!a||a.nodeType!=1)){this.c=a;a=this.c.getElementsByTagName("button");for(var b=0,c,d,f;c=a[b];b++){d=c.name||c.id;f=Pc(c)||c.value;if(d){var g=b==0;this.J(d,f,g,c.name==oe);g&&H(c,this.Y+"-default")}}}};var oe="cancel",pe=qa("OK"),qe=qa("Cancel"),re=qa("Yes"),se=qa("No"),te=qa("Save"),ue=qa("Continue");me=(new he).J("ok",pe,true,true);ee=(new he).J("ok",pe,true).J(oe,qe,false,true);ne=(new he).J("yes",re,true).J("no",se,false,true);
(new he).J("yes",re).J("no",se,true).J(oe,qe,false,true);(new he).J("continue",ue).J("save",te).J(oe,qe,true,true);function ve(a,b,c,d){P.call(this,d);this.C=c;this.cd=a;this.oa(a);this.xd=b;this.oa(b)}t(ve,P);m=ve.prototype;m.cc=null;m.fa=null;m.Jc=null;m.uc=5;m.ff=null;m.Zg=null;m.bd=null;m.fg=true;m.ab=null;m.d=function(){var a=this.i(),b=a.d("div","goog-splitpane-first-container"),c=a.d("div","goog-splitpane-second-container"),d=a.d("div","goog-splitpane-handle");this.c=a.d("div","goog-splitpane",b,c,d);this.fa=b;this.Jc=c;this.Ba=d;we(this);xe(this)};
m.K=function(a){var b="goog-splitpane-first-container";b=vc(null,b,a)[0];if(!b)return false;this.fa=b;b="goog-splitpane-second-container";b=vc(null,b,a)[0];if(!b)return false;this.Jc=b;b="goog-splitpane-handle";a=vc(null,b,a)[0];if(!a)return false;this.Ba=a;return true};m.A=function(a){ve.b.A.call(this,a);we(this);a=wd(a);ye(this,new F(a.width,a.height));xe(this)};
function xe(a){var b=a.i();a.cd.a()||a.cd.d();b.appendChild(a.fa,a.cd.a());a.xd.a()||a.xd.d();b.appendChild(a.Jc,a.xd.a());a.cc=new Uc(a.Ba,a.Ba);a.fa.style.position="absolute";a.Jc.style.position="absolute";a=a.Ba.style;a.position="absolute";a.overflow="hidden";a.zIndex=2}m.n=function(){ve.b.n.call(this);var a=this.a();if(dd(a)=="static")a.style.position="relative";this.H().f(this.Ba,"dblclick",this.oi).f(this.cc,"start",this.qi).f(this.cc,"drag",this.ri).f(this.cc,"end",this.pi);ze(this,this.ff)};
function Ae(a){return a.C=="vertical"}function we(a){if(Ae(a)){a.Ba.style.height=a.uc+"px";H(a.Ba,"goog-splitpane-handle-vertical")}else{a.Ba.style.width=a.uc+"px";H(a.Ba,"goog-splitpane-handle-horizontal")}}
m.Cd=function(a){if(this.C!=a){this.C=a;a=Ae(this);if(this.u){Ae(this)?tc(this.Ba,"goog-splitpane-handle-horizontal","goog-splitpane-handle-vertical"):tc(this.Ba,"goog-splitpane-handle-vertical","goog-splitpane-handle-horizontal");if(ha(this.bd)){var b=wd(this.a());ze(this,this.bd*(a?b.height/b.width:b.width/b.height))}else ze(this)}}};function Be(a,b,c){ed(b,c.left,c.top);xd(b,new F(Math.max(c.width,0),Math.max(c.height,0)))}
function ze(a,b){var c=wd(a.a()),d=Ae(a),f=ha(b)?b:ha(a.bd)?a.bd:Math.floor((d?c.height:c.width)/2);a.bd=f;var g,h,i,j,l,o,p;if(d){f=f;i=d=c.width;j=a.uc;h=c.height-f-j;g=c.width;p=0+f;o=0;l=p+j;c=0}else{d=f;f=c.height;i=a.uc;j=c.height;g=c.width-d-i;h=c.height;o=0+d;p=0;c=o+i;l=0}Be(a,a.fa,new pc(0,0,d,f));typeof a.cd.xf=="function"&&a.cd.xf(new F(d,f));Be(a,a.Ba,new pc(o,p,i,j));Be(a,a.Jc,new pc(c,l,g,h));typeof a.xd.xf=="function"&&a.xd.xf(new F(g,h));a.dispatchEvent("change")}
function ye(a,b){xd(a.a(),b);a.ab&&xd(a.ab,b);ze(a)}
m.qi=function(){if(!this.ab){var a="position: relative";if(u)a+=";background-color: #000;filter: Alpha(Opacity=0)";this.ab=this.i().d("div",{style:a});this.i().appendChild(this.a(),this.ab)}this.ab.style.zIndex=1;xd(this.ab,wd(this.a()));var b=gd(this.fa);var c=a=0,d=b.x;b=b.y;var f=wd(this.fa),g=Ad(this.fa),h=Ad(this.Jc);if(Ae(this)){c=g.height+h.height;b+=f.height-g.height}else{a=g.width+h.width;d+=f.width-g.width}this.cc.de=new pc(d,b,a,c)||new pc(NaN,NaN,NaN,NaN)};
m.ri=function(a){if(this.fg)Ae(this)?ze(this,a.top-gd(this.fa).y):ze(this,a.left-gd(this.fa).x)};m.pi=function(a){this.ab.style.zIndex=-1;this.fg||(Ae(this)?ze(this,a.top-gd(this.fa).y):ze(this,a.left-gd(this.fa).x))};m.oi=function(){var a=md(this.Ba,this.fa),b=wd(this.fa),c=Ad(this.fa),d=Ae(this);if(d){b=b.height-c.height;a=a.y}else{b=b.width-c.width;a=a.x}if(b==a)ze(this,this.Zg);else{this.Zg=d?wd(this.fa).height:wd(this.fa).width;ze(this,b)}};
m.e=function(){ve.b.e.call(this);this.cc.w();this.cc=null;Gc(this.ab);this.ab=null};function Ce(){}var De;r(Ce);function Ee(a,b){var c=new a;c.k=function(){return b};return c}m=Ce.prototype;m.Qa=aa();m.d=function(a){return a.i().d("div",this.sc(a).join(" "),a.la)};m.L=function(a){return a};m.ad=function(a,b,c){if(a=a.a?a.a():a)if(u&&!z("7")){var d=Fe(this,rc(a),b);d.push(b);oa(c?H:sc,a).apply(null,d)}else c?H(a,b):sc(a,b)};m.K=k(true);
m.m=function(a,b){b.id&&Jd(a,b.id);var c=this.L(b);if(c&&c.firstChild)Ge(a,c.firstChild.nextSibling?ub(c.childNodes):c.firstChild);else a.la=null;var d=0,f=this.k(),g=this.k(),h=false,i=false;c=false;var j=rc(b);mb(j,function(p){if(!h&&p==f){h=true;if(g==f)i=true}else if(!i&&p==g)i=true;else d|=this.Ve(p)},this);a.o=d;if(!h){j.push(f);if(g==f)i=true}i||j.push(g);var l=a.Pa;l&&j.push.apply(j,l);if(u&&!z("7")){var o=Fe(this,j);if(o.length>0){j.push.apply(j,o);c=true}}if(!h||!i||l||c)b.className=j.join(" ");
return b};m.yc=function(a){Od(a)&&this.Kc(a.a(),true);a.B()&&this.Hb(a,a.I())};m.yd=function(a,b){vd(a,!b,!u&&!Oa)};m.Kc=function(a,b){this.ad(a,this.k()+"-rtl",b)};m.Ab=function(a){var b;if(a.da&32&&(b=a.U()))return Oc(b);return false};m.Hb=function(a,b){var c;if(a.da&32&&(c=a.U())){if(!b&&a.o&32){try{c.blur()}catch(d){}a.o&32&&a.Sb(null)}if(Oc(c)!=b){c=c;if(b)c.tabIndex=0;else c.removeAttribute("tabIndex")}}};m.l=function(a,b){O(a,b)};
m.Aa=function(a,b,c){var d=a.a();if(d){var f=this.ed(b);f&&this.ad(a,f,c);this.Sc(d,b,c)}};m.Sc=function(a,b,c){if(x){De||(De=gb(1,"disabled",4,"pressed",8,"selected",16,"checked",64,"expanded"));(b=De[b])&&be(a,b,c)}};m.t=function(a,b){var c=this.L(a);if(c){Fc(c);if(b)if(s(b))Lc(c,b);else{var d=function(f){if(f){var g=J(c);c.appendChild(s(f)?g.createTextNode(f):f)}};if(fa(b))mb(b,d);else ga(b)&&!("nodeType"in b)?mb(ub(b),d):d(b)}}};m.U=function(a){return a.a()};m.k=k("goog-control");
m.sc=function(a){var b=this.k(),c=[b],d=this.k();d!=b&&c.push(d);b=a.o;for(d=[];b;){var f=b&-b;d.push(this.ed(f));b&=~f}c.push.apply(c,d);(a=a.Pa)&&c.push.apply(c,a);u&&!z("7")&&c.push.apply(c,Fe(this,c));return c};function Fe(a,b,c){var d=[];if(c)b=b.concat([c]);mb([],function(f){if(pb(f,oa(B,b))&&(!c||B(f,c)))d.push(f.join("_"))});return d}m.ed=function(a){this.Kd||He(this);return this.Kd[a]};
m.Ve=function(a){if(!this.ih){this.Kd||He(this);var b=this.Kd,c={};for(var d in b)c[b[d]]=d;this.ih=c}a=parseInt(this.ih[a],10);return isNaN(a)?0:a};function He(a){var b=a.k();a.Kd=gb(1,b+"-disabled",2,b+"-hover",4,b+"-active",8,b+"-selected",16,b+"-checked",32,b+"-focused",64,b+"-open")};function Ie(a,b){if(!a)throw Error("Invalid class name "+a);if(!ia(b))throw Error("Invalid decorator function "+b);Je[a]=b}function Ke(a){for(var b=rc(a),c=0,d=b.length;c<d;c++)if(a=b[c]in Je?Je[b[c]]():null)return a;return null}var Le={},Je={};function Me(a){var b=Ke(a);b&&b.m(a);return b};function Ne(a,b){a&&Oe(this,a,b)}t(Ne,N);m=Ne.prototype;m.c=null;m.ae=null;m.jf=null;m.be=null;m.Db=-1;m.Bb=-1;
var Pe={"3":13,"12":144,"63232":38,"63233":40,"63234":37,"63235":39,"63236":112,"63237":113,"63238":114,"63239":115,"63240":116,"63241":117,"63242":118,"63243":119,"63244":120,"63245":121,"63246":122,"63247":123,"63248":44,"63272":46,"63273":36,"63275":35,"63276":33,"63277":34,"63289":144,"63302":45},Qe={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Re={61:187,
59:186},Se=u||y&&z("525");m=Ne.prototype;m.Ye=function(a){if(y&&(this.Db==17&&!a.ctrlKey||this.Db==18&&!a.altKey))this.Bb=this.Db=-1;if(Se&&!Zd(a.keyCode,this.Db,a.shiftKey,a.ctrlKey,a.altKey))this.handleEvent(a);else this.Bb=x&&a.keyCode in Re?Re[a.keyCode]:a.keyCode};m.si=function(){this.Bb=this.Db=-1};
m.handleEvent=function(a){var b=a.Oa,c,d;if(u&&a.type=="keypress"){c=this.Bb;d=c!=13&&c!=27?b.keyCode:0}else if(y&&a.type=="keypress"){c=this.Bb;d=b.charCode>=0&&b.charCode<63232&&$d(c)?b.charCode:0}else if(Oa){c=this.Bb;d=$d(c)?b.keyCode:0}else{c=b.keyCode||this.Bb;d=b.charCode||0;if(Ia&&d==63&&!c)c=191}var f=c,g=b.keyIdentifier;if(c)if(c>=63232&&c in Pe)f=Pe[c];else{if(c==25&&a.shiftKey)f=9}else if(g&&g in Qe)f=Qe[g];a=f==this.Db;this.Db=f;b=new Te(f,d,a,b);try{this.dispatchEvent(b)}finally{b.w()}};
m.a=e("c");function Oe(a,b,c){a.be&&a.detach();a.c=b;a.ae=D(a.c,"keypress",a,c);a.jf=D(a.c,gc,a.Ye,c,a);a.be=D(a.c,"keyup",a.si,c,a)}m.detach=function(){if(this.ae){dc(this.ae);dc(this.jf);dc(this.be);this.be=this.jf=this.ae=null}this.c=null;this.Bb=this.Db=-1};m.e=function(){Ne.b.e.call(this);this.detach()};function Te(a,b,c,d){d&&this.xc(d,void 0);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c}t(Te,Cb);function T(a,b,c){P.call(this,c);if(!(b=b)){b=this.constructor;for(var d;b;){d=ka(b);if(d=Le[d])break;b=b.b?b.b.constructor:null}b=d?ia(d.g)?d.g():new d:null}this.h=b;this.la=a}t(T,P);m=T.prototype;m.la=null;m.o=0;m.da=39;m.Zf=255;m.Ff=0;m.ea=true;m.Pa=null;m.Xd=true;m.Id=false;function Ue(a,b){a.u&&b!=a.Xd&&Ve(a,b);a.Xd=b}m.U=function(){return this.h.U(this)};m.Ud=function(){return this.ha||(this.ha=new Ne)};
m.ad=function(a,b){if(b){if(a){if(this.Pa)B(this.Pa,a)||this.Pa.push(a);else this.Pa=[a];this.h.ad(this,a,true)}}else if(a&&this.Pa){rb(this.Pa,a);if(this.Pa.length==0)this.Pa=null;this.h.ad(this,a,false)}};m.d=function(){var a=this.h.d(this);this.c=a;if(x){var b=this.h.Qa();b&&ae(a,b)}this.Id||this.h.yd(a,false);this.I()||this.h.l(a,false)};m.L=function(){return this.h.L(this.a())};m.K=function(a){return this.h.K(a)};
m.A=function(a){this.c=a=this.h.m(this,a);if(x){var b=this.h.Qa();b&&ae(a,b)}this.Id||this.h.yd(a,false);this.ea=a.style.display!="none"};m.n=function(){T.b.n.call(this);this.h.yc(this);if(this.da&-2){this.Xd&&Ve(this,true);if(this.da&32){var a=this.U();if(a){var b=this.Ud();Oe(b,a);this.H().f(b,"key",this.jb).f(a,"focus",this.Wd).f(a,"blur",this.Sb)}}}};
function Ve(a,b){var c=a.H(),d=a.a();if(b){c.f(d,"mouseover",a.af).f(d,"mousedown",a.Ub).f(d,"mouseup",a.kd).f(d,"mouseout",a.$e);u&&c.f(d,"dblclick",a.tg)}else{c.ja(d,"mouseover",a.af).ja(d,"mousedown",a.Ub).ja(d,"mouseup",a.kd).ja(d,"mouseout",a.$e);u&&c.ja(d,"dblclick",a.tg)}}m.Da=function(){T.b.Da.call(this);this.ha&&this.ha.detach();this.I()&&this.B()&&this.h.Hb(this,false)};m.e=function(){T.b.e.call(this);if(this.ha){this.ha.w();delete this.ha}delete this.h;this.Pa=this.la=null};
m.t=function(a){this.h.t(this.a(),a);this.la=a};function Ge(a,b){a.la=b}function We(a,b){var c=a.la;if(!c||s(c))return c;return(c=fa(c)?nb(c,b).join(""):Pc(c))&&sa(c)}m.dd=function(){return We(this,Pc)};m.Kc=function(a){T.b.Kc.call(this,a);var b=this.a();b&&this.h.Kc(b,a)};m.yd=function(a){this.Id=a;var b=this.a();b&&this.h.yd(b,a)};m.I=e("ea");m.l=function(a,b){if(b||this.ea!=a&&this.dispatchEvent(a?"show":"hide")){var c=this.a();c&&this.h.l(c,a);this.B()&&this.h.Hb(this,a);this.ea=a;return true}return false};
m.B=function(){return!!!(this.o&1)};m.M=function(a){var b=this.z;if(!(b&&typeof b.B=="function"&&!b.B())&&Xe(this,1,!a)){if(!a){this.setActive(false);this.fb(false)}this.I()&&this.h.Hb(this,a);this.Aa(1,!a)}};m.fb=function(a){Xe(this,2,a)&&this.Aa(2,a)};m.zc=function(){return!!(this.o&4)};m.setActive=function(a){Xe(this,4,a)&&this.Aa(4,a)};m.nd=function(){return!!(this.o&8)};m.Ef=function(a){Xe(this,8,a)&&this.Aa(8,a)};m.Ac=function(){return!!(this.o&16)};
m.zd=function(a){Xe(this,16,a)&&this.Aa(16,a)};m.N=function(a){Xe(this,64,a)&&this.Aa(64,a)};m.Aa=function(a,b){if(this.da&a&&b!=!!(this.o&a)){this.h.Aa(this,a,b);this.o=b?this.o|a:this.o&~a}};function Ye(a,b,c){if(a.u&&a.o&b&&!c)throw Error("Component already rendered");!c&&a.o&b&&a.Aa(b,false);a.da=c?a.da|b:a.da&~b}function Ze(a,b){return!!(a.Zf&b)&&!!(a.da&b)}function Xe(a,b,c){return!!(a.da&b)&&!!(a.o&b)!=c&&(!(a.Ff&b)||a.dispatchEvent(Hd(b,c)))&&!a.Pd}
m.af=function(a){!$e(a,this.a())&&this.dispatchEvent("enter")&&this.B()&&Ze(this,2)&&this.fb(true)};m.$e=function(a){if(!$e(a,this.a())&&this.dispatchEvent("leave")){Ze(this,4)&&this.setActive(false);Ze(this,2)&&this.fb(false)}};function $e(a,b){return!!a.relatedTarget&&Kc(b,a.relatedTarget)}m.Ub=function(a){if(this.B()){Ze(this,2)&&this.fb(true);if(Eb(a,0)){Ze(this,4)&&this.setActive(true);this.h.Ab(this)&&this.U().focus()}}!this.Id&&Eb(a,0)&&a.preventDefault()};
m.kd=function(a){if(this.B()){Ze(this,2)&&this.fb(true);this.zc()&&this.Yb(a)&&Ze(this,4)&&this.setActive(false)}};m.tg=function(a){this.B()&&this.Yb(a)};m.Yb=function(a){Ze(this,16)&&this.zd(!this.Ac());Ze(this,8)&&this.Ef(true);Ze(this,64)&&this.N(!!!(this.o&64));var b=new C("action",this);if(a)for(var c=["altKey","ctrlKey","metaKey","shiftKey","platformModifierKey"],d,f=0;d=c[f];f++)b[d]=a[d];return this.dispatchEvent(b)};m.Wd=function(){Ze(this,32)&&Xe(this,32,true)&&this.Aa(32,true)};
m.Sb=function(){Ze(this,4)&&this.setActive(false);Ze(this,32)&&Xe(this,32,false)&&this.Aa(32,false)};m.jb=function(a){if(this.I()&&this.B()&&this.Tb(a)){a.preventDefault();a.stopPropagation();return true}return false};m.Tb=function(a){return a.keyCode==13&&this.Yb(a)};if(!ia(T))throw Error("Invalid component class "+T);if(!ia(Ce))throw Error("Invalid renderer class "+Ce);var af=ka(T);Le[af]=Ce;Ie("goog-control",function(){return new T(null)});function bf(){}t(bf,Ce);r(bf);bf.prototype.d=function(a){return a.i().d("div",this.k())};bf.prototype.m=function(a,b){if(b.tagName=="HR"){var c=b;b=this.d(a);c.parentNode&&c.parentNode.insertBefore(b,c);Gc(c)}else H(b,this.k());return b};bf.prototype.t=aa();bf.prototype.k=k("goog-menuseparator");function cf(a,b){T.call(this,null,a||bf.g(),b);Ye(this,1,false);Ye(this,2,false);Ye(this,4,false);Ye(this,32,false);this.o=1}t(cf,T);cf.prototype.n=function(){cf.b.n.call(this);ae(this.a(),"separator")};Ie("goog-menuseparator",function(){return new cf});function df(){}r(df);m=df.prototype;m.Qa=aa();function ef(a,b,c){if(b)b.tabIndex=c?0:-1}m.d=function(a){return a.i().d("div",this.sc(a).join(" "))};m.L=function(a){return a};m.K=function(a){return a.tagName=="DIV"};m.m=function(a,b){b.id&&Jd(a,b.id);var c=this.k(),d=false,f=rc(b);f&&mb(f,function(g){if(g==c)d=true;else if(g)if(g==c+"-disabled")a.M(false);else if(g==c+"-horizontal")a.Cd(ff);else g==c+"-vertical"&&a.Cd(gf)},this);d||H(b,c);hf(this,a,b);return b};
function hf(a,b,c,d){if(c){d=d||c.firstChild;for(var f;d&&d.parentNode==c;){f=d.nextSibling;if(d.nodeType==1){var g=a.fd(d);if(g){g.c=d;b.B()||g.M(false);b.oa(g);g.m(d)}}else if(!d.nodeValue||sa(d.nodeValue)=="")c.removeChild(d);d=f}}}m.fd=function(a){return Ke(a)};m.yc=function(a){a=a.a();vd(a,true,x);if(u)a.hideFocus=true;var b=this.Qa();b&&ae(a,b)};m.U=function(a){return a.a()};m.k=k("goog-container");
m.sc=function(a){var b=this.k(),c=[b,a.C==ff?b+"-horizontal":b+"-vertical"];a.B()||c.push(b+"-disabled");return c};m.og=function(){return gf};function U(a,b,c){P.call(this,c);this.h=b||df.g();this.C=a||this.h.og()}t(U,P);var ff="horizontal",gf="vertical";m=U.prototype;m.Eg=null;m.ha=null;m.h=null;m.C=null;m.ea=true;m.Q=true;m.Te=true;m.ga=-1;m.V=null;m.mb=false;m.Wh=false;m.Xi=true;m.sb=null;m.U=function(){return this.Eg||this.h.U(this)};m.Ud=function(){return this.ha||(this.ha=new Ne(this.U()))};m.d=function(){this.c=this.h.d(this)};m.L=function(){return this.h.L(this.a())};m.K=function(a){return this.h.K(a)};
m.A=function(a){this.c=this.h.m(this,a);if(a.style.display=="none")this.ea=false};m.n=function(){U.b.n.call(this);Nd(this,function(b){b.u&&jf(this,b)},this);var a=this.a();this.h.yc(this);this.l(this.ea,true);this.H().f(this,"enter",this.We).f(this,"highlight",this.Xe).f(this,"unhighlight",this.bf).f(this,"open",this.wi).f(this,"close",this.li).f(a,"mousedown",this.Ub).f(J(a),"mouseup",this.ni).f(a,["mousedown","mouseup","mouseover","mouseout"],this.ki);this.Ab()&&kf(this,true)};
function kf(a,b){var c=a.H(),d=a.U();b?c.f(d,"focus",a.Wd).f(d,"blur",a.Sb).f(a.Ud(),"key",a.jb):c.ja(d,"focus",a.Wd).ja(d,"blur",a.Sb).ja(a.Ud(),"key",a.jb)}m.Da=function(){lf(this,-1);this.V&&this.V.N(false);this.mb=false;U.b.Da.call(this)};m.e=function(){U.b.e.call(this);if(this.ha){this.ha.w();this.ha=null}this.h=this.V=this.sb=null};m.We=k(true);
m.Xe=function(a){var b=Pd(this,a.target);if(b>-1&&b!=this.ga){var c=R(this,this.ga);c&&c.fb(false);this.ga=b;c=R(this,this.ga);this.mb&&c.setActive(true);if(this.Xi&&this.V&&c!=this.V)c.da&64?c.N(true):this.V.N(false)}be(this.a(),"activedescendant",a.target.a().id)};m.bf=function(a){if(a.target==R(this,this.ga))this.ga=-1;be(this.a(),"activedescendant","")};m.wi=function(a){if((a=a.target)&&a!=this.V&&a.z==this){this.V&&this.V.N(false);this.V=a}};m.li=function(a){if(a.target==this.V)this.V=null};
m.Ub=function(a){if(this.Q)this.mb=true;var b=this.U(),c;a:{if(b)if((c=b.getAttributeNode("tabindex"))&&c.specified){c=b.tabIndex;c=ha(c)&&c>=0;break a}c=false}c?b.focus():a.preventDefault()};m.ni=function(){this.mb=false};
m.ki=function(a){var b;a:{b=a.target;if(this.sb)for(var c=this.a();b&&b.parentNode&&b!=c;){var d=b.id;if(d in this.sb){b=this.sb[d];break a}b=b.parentNode}b=null}if(b)switch(a.type){case "mousedown":b.Ub(a);break;case "mouseup":b.kd(a);break;case "mouseover":b.af(a);break;case "mouseout":b.$e(a);break}};m.Wd=aa();m.Sb=function(){lf(this,-1);this.mb=false;this.V&&this.V.N(false)};m.jb=function(a){if(this.B()&&this.I()&&(Q(this)!=0||this.Eg)&&this.Tb(a)){a.preventDefault();a.stopPropagation();return true}return false};
m.Tb=function(a){var b=R(this,this.ga);if(b&&typeof b.jb=="function"&&b.jb(a))return true;if(this.V&&this.V!=b&&typeof this.V.jb=="function"&&this.V.jb(a))return true;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return false;switch(a.keyCode){case 27:if(this.Ab())this.U().blur();else return false;break;case 36:mf(this);break;case 35:nf(this);break;case 38:if(this.C==gf)of(this);else return false;break;case 37:if(this.C==ff)Od(this)?pf(this):of(this);else return false;break;case 40:if(this.C==gf)pf(this);
else return false;break;case 39:if(this.C==ff)Od(this)?of(this):pf(this);else return false;break;default:return false}return true};function jf(a,b){var c=b.a();c=c.id||(c.id=Id(b));if(!a.sb)a.sb={};a.sb[c]=b}m.oa=function(a,b){U.b.oa.call(this,a,b)};m.ic=function(a,b,c){a.Ff|=2;a.Ff|=64;if(this.Ab()||!this.Wh)Ye(a,32,false);Ue(a,false);U.b.ic.call(this,a,b,c);c&&this.u&&jf(this,a);b<=this.ga&&this.ga++};
m.removeChild=function(a,b){if(a=s(a)?Ld(this,a):a){var c=Pd(this,a);if(c!=-1)if(c==this.ga)a.fb(false);else c<this.ga&&this.ga--;(c=a.a())&&c.id&&cb(this.sb,c.id)}a=U.b.removeChild.call(this,a,b);Ue(a,true);return a};m.Cd=function(a){if(this.a())throw Error("Component already rendered");this.C=a};m.I=e("ea");
m.l=function(a,b){if(b||this.ea!=a&&this.dispatchEvent(a?"show":"hide")){this.ea=a;var c=this.a();if(c){O(c,a);this.Ab()&&ef(this.h,this.U(),this.Q&&this.ea);b||this.dispatchEvent(this.ea?"aftershow":"afterhide")}return true}return false};m.B=e("Q");
m.M=function(a){if(this.Q!=a&&this.dispatchEvent(a?"enable":"disable")){if(a){this.Q=true;Nd(this,function(b){if(b.th)delete b.th;else b.M(true)})}else{Nd(this,function(b){if(b.B())b.M(false);else b.th=true});this.mb=this.Q=false}this.Ab()&&ef(this.h,this.U(),a&&this.ea)}};m.Ab=e("Te");m.Hb=function(a){a!=this.Te&&this.u&&kf(this,a);this.Te=a;this.Q&&this.ea&&ef(this.h,this.U(),a)};function lf(a,b){var c=R(a,b);if(c)c.fb(true);else a.ga>-1&&R(a,a.ga).fb(false)}m.fb=function(a){lf(this,Pd(this,a))};
function mf(a){qf(a,function(b,c){return(b+1)%c},Q(a)-1)}function nf(a){qf(a,function(b,c){b--;return b<0?c-1:b},0)}function pf(a){qf(a,function(b,c){return(b+1)%c},a.ga)}function of(a){qf(a,function(b,c){b--;return b<0?c-1:b},a.ga)}function qf(a,b,c){c=c<0?Pd(a,a.V):c;var d=Q(a);c=b.call(a,c,d);for(var f=0;f<=d;){var g=R(a,c);if(g&&a.bg(g)){lf(a,c);return true}f++;c=b.call(a,c,d)}return false}m.bg=function(a){return a.I()&&a.B()&&!!(a.da&2)};var W={};function rf(){}rf.prototype.id=q;rf.prototype.Ld=function(a){if(this.id()>a.id())return 1;else if(this.id()<a.id())return-1;return 0};function sf(a,b,c,d){T.call(this,"",c,d);this.La=a;this.Kb=b}t(sf,T);sf.prototype.item=e("La");sf.prototype.K=k(false);sf.prototype.n=function(){sf.b.n.call(this);D(this.a(),E,function(){this.Kb(this.La)},false,this)};sf.prototype.update=function(a){this.t(a.name())};function tf(a,b){this.tb=a;this.eg=b}
function uf(a,b){var c=0,d=0,f=b.length;for(b.sort(function(j,l){return j.Ld(l)});c!=Q(a.tb)&&d!=f;){var g=b[d],h=R(a.tb,c),i=h.item();i=g.Ld(i);if(i==-1){g=a.eg.qd(g);a.tb.ic(g,c,true);d++;c++}else if(i==0){h.update(b[d]);c++;d++}else delete a.tb.removeChild(h,true)}for(;c<Q(a.tb);)delete a.tb.removeChild(R(a.tb,c),true);for(;d<f;d++){g=a.eg.qd(b[d]);a.tb.oa(g,true)}};function vf(a){this.Gd=a.id;this.Ge=a.name;this.Qf=a.input_ports;this.Rf=a.output_ports;this.Tf=a.rdm_devices}t(vf,rf);vf.prototype.id=e("Gd");vf.prototype.name=e("Ge");function wf(a){this.Gd=a.id;this.Ge=a.name}t(wf,rf);wf.prototype.id=e("Gd");wf.prototype.name=e("Ge");wf.prototype.Ld=function(a){if(this.name()>a.name())return 1;else if(this.name()<a.name())return-1;return 0};function xf(a){this.ba=new Wd;a&&this.Ie(a)}function yf(a){var b=typeof a;return b=="object"&&a||b=="function"?"o"+ka(a):b.substr(0,1)+a}m=xf.prototype;m.ma=function(){return this.ba.ma()};m.add=function(a){this.ba.J(yf(a),a)};m.Ie=function(a){a=Ud(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};m.ud=function(a){a=Ud(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};m.remove=function(a){return this.ba.remove(yf(a))};m.clear=function(){this.ba.clear()};m.lb=function(){return this.ba.lb()};
m.contains=function(a){return this.ba.Ne(yf(a))};m.Bg=function(a){var b=new xf;a=Ud(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};m.ib=function(){return this.ba.ib()};m.Na=function(){return new xf(this)};function Af(a){return Bf(a||arguments.callee.caller,[])}
function Bf(a,b){var c=[];if(B(b,a))c.push("[...circular reference...]");else if(a&&b.length<50){c.push(Cf(a)+"(");for(var d=a.arguments,f=0;f<d.length;f++){f>0&&c.push(", ");var g;g=d[f];switch(typeof g){case "object":g=g?"object":"null";break;case "string":g=g;break;case "number":g=String(g);break;case "boolean":g=g?"true":"false";break;case "function":g=(g=Cf(g))?g:"[fn]";break;case "undefined":default:g=typeof g;break}if(g.length>40)g=g.substr(0,40)+"...";c.push(g)}b.push(a);c.push(")\n");try{c.push(Bf(a.caller,
b))}catch(h){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")}function Cf(a){a=String(a);if(!Df[a]){var b=/function ([^\(]+)/.exec(a);Df[a]=b?b[1]:"[Anonymous]"}return Df[a]}var Df={};function Ef(a,b,c,d,f){this.reset(a,b,c,d,f)}Ef.prototype.fj=0;Ef.prototype.Se=null;Ef.prototype.Re=null;var Ff=0;Ef.prototype.reset=function(a,b,c,d,f){this.fj=typeof f=="number"?f:Ff++;this.kh=d||pa();this.Cc=a;this.Ni=b;this.Hi=c;delete this.Se;delete this.Re};Ef.prototype.Af=ba("Cc");function Gf(a){this.Oi=a}Gf.prototype.z=null;Gf.prototype.Cc=null;Gf.prototype.X=null;Gf.prototype.ld=null;function Hf(a,b){this.name=a;this.value=b}Hf.prototype.toString=e("name");var If=new Hf("SHOUT",1200),Jf=new Hf("SEVERE",1E3),Kf=new Hf("WARNING",900),Lf=new Hf("INFO",800),Mf=new Hf("CONFIG",700),Nf=new Hf("FINE",500),Of=new Hf("FINEST",300),Pf=new Hf("ALL",0);m=Gf.prototype;m.Af=ba("Cc");
function Qf(a){if(a.Cc)return a.Cc;if(a.z)return Qf(a.z);kb("Root logger has no level set.");return null}m.log=function(a,b,c){if(a.value>=Qf(this).value){a=this.ji(a,b,c);for(b=this;b;){c=b;var d=a;if(c.ld)for(var f=0,g=void 0;g=c.ld[f];f++)g(d);b=b.z}}};
m.ji=function(a,b,c){var d=new Ef(a,String(b),this.Oi);if(c){d.Se=c;var f;var g=arguments.callee.caller;try{var h,i=da("window.location.href");h=typeof c=="string"?{message:c,name:"Unknown error",lineNumber:"Not available",fileName:i,stack:"Not available"}:!c.lineNumber||!c.fileName||!c.stack?{message:c.message,name:c.name,lineNumber:c.lineNumber||c.xj||"Not available",fileName:c.fileName||c.filename||c.sourceURL||i,stack:c.stack||"Not available"}:c;f="Message: "+ua(h.message)+'\nUrl: <a href="view-source:'+
h.fileName+'" target="_new">'+h.fileName+"</a>\nLine: "+h.lineNumber+"\n\nBrowser stack:\n"+ua(h.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+ua(Af(g)+"-> ")}catch(j){f="Exception trying to expose exception! You win, we lose. "+j}d.Re=f}return d};m.info=function(a,b){this.log(Lf,a,b)};function Rf(a,b,c){a.log(Nf,b,c)}m.Dd=ba("z");var Sf={},Tf=null;function Uf(){if(!Tf){Tf=new Gf("");Sf[""]=Tf;Tf.Af(Mf)}}function Vf(){Uf();return Tf}
function Wf(a){Uf();var b;if(!(b=Sf[a])){b=new Gf(a);var c=a.lastIndexOf("."),d=a.substr(0,c);c=a.substr(c+1);d=Wf(d);if(!d.X)d.X={};d.X[c]=b;b.Dd(d);b=Sf[a]=b}return b};function Xf(){if(x){this.Mb={};this.Ee={};this.we=[]}}Xf.prototype.aa=Wf("goog.net.xhrMonitor");Xf.prototype.Q=x;Xf.prototype.M=function(a){this.Q=x&&a};function Yf(a,b){if(a.Q){var c=s(b)?b:ja(b)?ka(b):"";a.aa.log(Of,"Pushing context: "+b+" ("+c+")",void 0);a.we.push(c)}}function Zf(a){if(a.Q){var b=a.we.pop();a.aa.log(Of,"Popping context: "+b,void 0);$f(a,b)}}
function ag(a,b){if(a.Q){var c=ka(b);Rf(a.aa,"Opening XHR : "+c);for(var d=0;d<a.we.length;d++){var f=a.we[d];bg(a,a.Mb,f,c);bg(a,a.Ee,c,f)}}}function $f(a,b){var c=a.Ee[b],d=a.Mb[b];if(c&&d){a.aa.log(Of,"Updating dependent contexts",void 0);mb(c,function(f){mb(d,function(g){bg(this,this.Mb,f,g);bg(this,this.Ee,g,f)},this)},a)}}function bg(a,b,c,d){b[c]||(b[c]=[]);B(b[c],d)||b[c].push(d)}var cg=new Xf;function dg(){}dg.prototype.Jd=null;function eg(){return fg(gg)}var gg;function hg(){}t(hg,dg);function fg(a){return(a=ig(a))?new ActiveXObject(a):new XMLHttpRequest}function jg(a){var b={};if(ig(a)){b[0]=true;b[1]=true}return b}hg.prototype.df=null;
function ig(a){if(!a.df&&typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{new ActiveXObject(d);return a.df=d}catch(f){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.df}gg=new hg;function kg(a){this.headers=new Wd;this.Tc=a||null}t(kg,N);m=kg.prototype;m.aa=Wf("goog.net.XhrIo");m.hb=false;m.F=null;m.De=null;m.cb="";m.Gg="";m.od=0;m.Cb="";m.Qe=false;m.Zd=false;m.ef=false;m.Vb=false;m.xe=0;m.ec=null;
m.send=function(a,b,c,d){if(this.hb)throw Error("[goog.net.XhrIo] Object is active with another request");b=b||"GET";this.cb=a;this.Cb="";this.od=0;this.Gg=b;this.Qe=false;this.hb=true;this.F=this.Tc?fg(this.Tc):new eg;this.De=this.Tc?this.Tc.Jd||(this.Tc.Jd=jg(this.Tc)):gg.Jd||(gg.Jd=jg(gg));ag(cg,this.F);this.F.onreadystatechange=na(this.Rg,this);try{Rf(this.aa,lg(this,"Opening Xhr"));this.ef=true;this.F.open(b,a,true);this.ef=false}catch(f){Rf(this.aa,lg(this,"Error opening Xhr: "+f.message));
mg(this,5,f);return}a=c||"";var g=this.headers.Na();d&&Vd(d,function(i,j){g.J(j,i)});b=="POST"&&!g.Ne("Content-Type")&&g.J("Content-Type","application/x-www-form-urlencoded;charset=utf-8");Vd(g,function(i,j){this.F.setRequestHeader(j,i)},this);try{if(this.ec){Rd.clearTimeout(this.ec);this.ec=null}if(this.xe>0){Rf(this.aa,lg(this,"Will abort after "+this.xe+"ms if incomplete"));this.ec=Rd.setTimeout(na(this.mj,this),this.xe)}Rf(this.aa,lg(this,"Sending request"));this.Zd=true;this.F.send(a);this.Zd=
false}catch(h){Rf(this.aa,lg(this,"Send error: "+h.message));mg(this,5,h)}};m.dispatchEvent=function(a){if(this.F){Yf(cg,this.F);try{return kg.b.dispatchEvent.call(this,a)}finally{Zf(cg)}}else return kg.b.dispatchEvent.call(this,a)};m.mj=function(){if(typeof ca!="undefined")if(this.F){this.Cb="Timed out after "+this.xe+"ms, aborting";this.od=8;Rf(this.aa,lg(this,this.Cb));this.dispatchEvent("timeout");this.abort(8)}};
function mg(a,b,c){a.hb=false;if(a.F){a.Vb=true;a.F.abort();a.Vb=false}a.Cb=c;a.od=b;ng(a);og(a)}function ng(a){if(!a.Qe){a.Qe=true;a.dispatchEvent("complete");a.dispatchEvent("error")}}m.abort=function(a){if(this.F){Rf(this.aa,lg(this,"Aborting"));this.hb=false;this.Vb=true;this.F.abort();this.Vb=false;this.od=a||7;this.dispatchEvent("complete");this.dispatchEvent("abort");og(this)}};m.e=function(){if(this.F){if(this.hb){this.hb=false;this.Vb=true;this.F.abort();this.Vb=false}og(this,true)}kg.b.e.call(this)};
m.Rg=function(){!this.ef&&!this.Zd&&!this.Vb?this.tf():pg(this)};m.tf=function(){pg(this)};
function pg(a){if(a.hb)if(typeof ca!="undefined")if(a.De[1]&&qg(a)==4&&rg(a)==2)Rf(a.aa,lg(a,"Local request error detected and ignored"));else if(a.Zd&&qg(a)==4)Rd.setTimeout(na(a.Rg,a),0);else{a.dispatchEvent("readystatechange");if(qg(a)==4){Rf(a.aa,lg(a,"Request complete"));a.hb=false;var b;a:switch(rg(a)){case 0:case 200:case 204:case 304:b=true;break a;default:b=false;break a}if(b){a.dispatchEvent("complete");a.dispatchEvent("success")}else{a.od=6;var c;try{c=qg(a)>2?a.F.statusText:""}catch(d){Rf(a.aa,
"Can not get status: "+d.message);c=""}a.Cb=c+" ["+rg(a)+"]";ng(a)}og(a)}}}function og(a,b){if(a.F){var c=a.F,d=a.De[0]?q:null;a.F=null;a.De=null;if(a.ec){Rd.clearTimeout(a.ec);a.ec=null}if(!b){Yf(cg,c);a.dispatchEvent("ready");Zf(cg)}if(cg.Q){var f=ka(c);Rf(cg.aa,"Closing XHR : "+f);delete cg.Ee[f];for(var g in cg.Mb){rb(cg.Mb[g],f);cg.Mb[g].length==0&&delete cg.Mb[g]}}try{c.onreadystatechange=d}catch(h){a.aa.log(Jf,"Problem encountered resetting onreadystatechange: "+h.message,void 0)}}}m.zc=e("hb");
function qg(a){return a.F?a.F.readyState:0}function rg(a){try{return qg(a)>2?a.F.status:-1}catch(b){a.aa.log(Kf,"Can not get status: "+b.message,void 0);return-1}}
function sg(a,b){if(a.F){var c=a.F.responseText;if(b&&c.indexOf(b)==0)c=c.substring(b.length);var d;a:{c=String(c);if(/^\s*$/.test(c)?false:/^[\],:{}\s\u2028\u2029]*$/.test(c.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x10-\x1f\x80-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{d=eval("("+c+")");break a}catch(f){}throw Error("Invalid JSON string: "+c);}return d}}
function tg(a){return s(a.Cb)?a.Cb:String(a.Cb)}function lg(a,b){return b+" ["+a.Gg+" "+a.cb+" "+rg(a)+"]"}yb[yb.length]=function(a){kg.prototype.tf=a(kg.prototype.tf)};function ug(){this.vb=[]}m=ug.prototype;m.kb=0;m.dc=0;m.Sd=function(a){this.vb[this.dc++]=a};m.oc=function(){if(this.kb!=this.dc){var a=this.vb[this.kb];delete this.vb[this.kb];this.kb++;return a}};m.ma=function(){return this.dc-this.kb};m.lb=function(){return this.dc-this.kb==0};m.clear=function(){this.dc=this.kb=this.vb.length=0};m.contains=function(a){return B(this.vb,a)};m.remove=function(a){a=lb(this.vb,a);if(a<0)return false;if(a==this.kb)this.oc();else{sb(this.vb,a);this.dc--}return true};
m.ib=function(){return this.vb.slice(this.kb,this.dc)};function vg(a,b){this.Kg=a||0;this.Xb=b||10;if(this.Kg>this.Xb)throw Error(wg);this.Z=new ug;this.yb=new xf;this.Hd()}t(vg,Ab);var wg="[goog.structs.Pool] Min can not be greater than max";m=vg.prototype;m.Ra=function(){for(var a;this.Z.ma()>0;){a=this.Z.oc();if(this.qf(a))break;else this.Hd()}if(!a&&this.ma()<this.Xb)a=this.lc();(a=a)&&this.yb.add(a);return a};m.Fb=function(a){if(this.yb.remove(a)){this.Je(a);return true}return false};
m.Je=function(a){this.yb.remove(a);this.qf(a)&&this.ma()<this.Xb?this.Z.Sd(a):this.Ob(a)};m.Hd=function(){for(var a=this.Z;this.ma()<this.Kg;)a.Sd(this.lc());for(;this.ma()>this.Xb&&this.Z.ma()>0;)this.Ob(a.oc())};m.lc=function(){return{}};m.Ob=function(a){if(typeof a.w=="function")a.w();else for(var b in a)a[b]=null};m.qf=function(a){if(typeof a.ai=="function")return a.ai();return true};m.contains=function(a){return this.Z.contains(a)||this.yb.contains(a)};m.ma=function(){return this.Z.ma()+this.yb.ma()};
m.lb=function(){return this.Z.lb()&&this.yb.lb()};m.e=function(){vg.b.e.call(this);if(this.yb.ma()>0)throw Error("[goog.structs.Pool] Objects not released");delete this.yb;for(var a=this.Z;!a.lb();)this.Ob(a.oc());delete this.Z};function xg(a,b){this.$=a;this.xa=b}xg.prototype.s=e("xa");xg.prototype.Na=function(){return new xg(this.$,this.xa)};function yg(a){this.Ta=[];if(a)a:{var b,c;if(a instanceof yg){b=a.hd();c=a.ib();if(a.ma()<=0){a=this.Ta;for(var d=0;d<b.length;d++)a.push(new xg(b[d],c[d]));break a}}else{b=ab(a);c=$a(a)}for(d=0;d<b.length;d++)zg(this,b[d],c[d])}}function zg(a,b,c){var d=a.Ta;d.push(new xg(b,c));b=d.length-1;a=a.Ta;for(c=a[b];b>0;){d=Math.floor((b-1)/2);if(a[d].$>c.$){a[b]=a[d];b=d}else break}a[b]=c}m=yg.prototype;
m.remove=function(){var a=this.Ta,b=a.length,c=a[0];if(!(b<=0)){if(b==1)qb(a);else{a[0]=a.pop();a=0;b=this.Ta;for(var d=b.length,f=b[a];a<Math.floor(d/2);){var g=a*2+1,h=a*2+2;g=h<d&&b[h].$<b[g].$?h:g;if(b[g].$>f.$)break;b[a]=b[g];a=g}b[a]=f}return c.s()}};m.ib=function(){for(var a=this.Ta,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].s());return b};m.hd=function(){for(var a=this.Ta,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].$);return b};m.Ne=function(a){return ob(this.Ta,function(b){return b.$==a})};
m.Na=function(){return new yg(this)};m.ma=function(){return this.Ta.length};m.lb=function(){return this.Ta.length==0};m.clear=function(){qb(this.Ta)};function Ag(){yg.call(this)}t(Ag,yg);Ag.prototype.Sd=function(a,b){zg(this,a,b)};Ag.prototype.oc=function(){return this.remove()};function Bg(a,b){this.qe=new Ag;vg.call(this,a,b)}t(Bg,vg);Bg.prototype.Ra=function(a,b){if(!a)return Bg.b.Ra.call(this);this.qe.Sd(b||100,a);Cg(this)};function Cg(a){for(var b=a.qe;b.ma()>0;){var c=a.Ra();if(c)b.oc().apply(a,[c]);else return}}Bg.prototype.Je=function(a){Bg.b.Je.call(this,a);Cg(this)};Bg.prototype.Hd=function(){Bg.b.Hd.call(this);Cg(this)};Bg.prototype.e=function(){Bg.b.e.call(this);this.qe.clear();this.qe=null};function Dg(a,b,c){Bg.call(this,b,c);this.Ai=a}t(Dg,Bg);Dg.prototype.lc=function(){var a=new kg,b=this.Ai;b&&Vd(b,function(c,d){a.headers.J(d,c)});return a};Dg.prototype.Ob=function(a){a.w()};Dg.prototype.qf=function(a){return!a.Pd&&!a.zc()};W=W||{};function X(){this.Ug=new Dg({},1);this.pb={}}t(X,N);r(X);function Eg(a){C.call(this,"server_info_change");this.ac=a}t(Eg,C);function Fg(a){C.call(this,"plugin_list_change");this.plugins=a}t(Fg,C);function Gg(a){C.call(this,"universe_list_change");this.pb=a}t(Fg,C);function Hg(a){C.call(this,"plugin_change");this.Zi=a}t(Hg,C);function Ig(a){C.call(this,"universe_change");this.fc=a}t(Ig,C);function Jg(a,b){C.call(this,"uids_change");this.nh=a;this.mh=b}t(Jg,C);
function Kg(a){Y(a,"/json/server_stats",function(b){var c=sg(b.target);this.dispatchEvent(new Eg(c));Z(this,b.target)})}function Lg(a,b){Y(a,"/reload",function(c){b(c);Z(this,c.target)})}function Mg(a,b){Y(a,"/quit",function(c){b(c);Z(this,c.target)})}
function Ng(a){Y(a,"/json/universe_plugin_list",function(b){if(rg(b.target)!=200)W.Ec.info("Request failed: "+String(b.target.cb)+" : "+tg(b.target));else{var c=sg(b.target);this.pb={};for(var d=0;d<c.universes.length;++d)this.pb[c.universes[d].id]=true;this.dispatchEvent(new Fg(c.plugins));this.dispatchEvent(new Gg(c.universes))}Z(this,b.target)})}function Og(a,b){Y(a,"/json/plugin_info?id="+b,function(c){var d=sg(c.target);this.dispatchEvent(new Hg(d));Z(this,c.target)})}
function Pg(a,b){Y(a,"/json/universe_info?id="+b,function(c){var d=sg(c.target);this.dispatchEvent(new Ig(d));Z(this,c.target)})}function Qg(a,b,c){var d="/json/get_ports";if(b!=undefined)d+="?id="+b;Y(a,d,function(f){c(f);Z(this,f.target)})}function Rg(a,b,c,d,f){Y(a,"/new_universe",function(g){f(g);Z(this,g.target)},"POST","id="+b+(c?"&name="+encodeURI(c):"")+"&add_ports="+d.join(","))}function Sg(a,b,c){Y(a,"/rdm/run_discovery?id="+b,function(d){c(d);Z(this,d.target)})}
function Tg(a,b,c,d){Y(a,"/json/rdm/supported_sections?id="+b+"&uid="+c,function(f){d(f);Z(this,f.target)})}function Ug(a,b,c,d,f,g){Y(a,"/json/rdm/section_info?id="+b+"&uid="+c+"&section="+d+"&hint="+f,function(h){g(h);Z(this,h.target)})}function Vg(a,b,c,d,f,g,h){Y(a,"/json/rdm/set_section_info?id="+b+"&uid="+c+"&section="+d+"&hint="+f+"&"+g,function(i){h(i);Z(this,i.target)})}
function Wg(a,b){Y(a,"/json/rdm/uids?id="+b,function(c){if(rg(c.target)!=200)W.Ec.info("Request failed: "+String(c.target.cb)+" : "+tg(c.target));else{var d=sg(c.target);this.dispatchEvent(new Jg(d.universe,d.uids))}Z(this,c.target)})}
function Xg(a,b,c,d,f,g,h,i){b="id="+b+"&name="+c+"&merge_mode="+d+"&add_ports="+h.join(",")+"&remove_ports="+g.join(",");modified_port_ids=[];for(c=0;c<f.length;++c){d=f[c];b+="&"+d.id+"_priority_value="+d.vf;if(d.Lg!=undefined)b+="&"+d.id+"_priority_mode="+d.Lg;modified_port_ids.push(d.id)}b+="&modify_ports="+modified_port_ids.join(",");Y(a,"/modify_universe",function(j){i(j);Z(this,j.target)},"POST",b)}
function Yg(a,b,c){Y(a,"/set_dmx",function(d){Z(this,d.target)},"POST","u="+b+"&d="+c.join(","))}function Y(a,b,c,d,f){var g=a.Ug.Ra(undefined,1);if(g==undefined){a=$.g();S(a,me);a.ca("Failed to Communicate with Server");a.t("The request pool was empty, the server is probably down.");a.l(true)}else{D(g,"complete",c,false,a);g.send(b,d,f)}}function Z(a,b){fc(b);a.Ug.Fb(b)};function Zg(){this.Yg=pa()}var $g=new Zg;Zg.prototype.J=ba("Yg");Zg.prototype.reset=function(){this.J(pa())};Zg.prototype.rc=e("Yg");function ah(a){this.bj=a||"";this.jj=$g}ah.prototype.bh=true;ah.prototype.ij=true;ah.prototype.hj=true;ah.prototype.dh=false;function bh(a){if(a<10)return"0"+a;return String(a)}function ch(a){ah.call(this,a)}t(ch,ah);ch.prototype.dh=true;function dh(a){this.cj=na(this.Uh,this);this.mg=new ch;this.Cg=this.mg.bh=false;this.c=a;this.ci=this.c.ownerDocument||this.c.document;sd(".dbg-sev{color:#F00}.dbg-w{color:#C40}.dbg-sh{font-weight:bold;color:#000}.dbg-i{color:#444}.dbg-f{color:#999}.dbg-ev{color:#0A0}.dbg-m{color:#990}.logmsg{border-bottom:1px solid #CCC;padding:2px}.logsep{background-color: #8C8;}.logdiv{border:1px solid #CCC;background-color:#FCFCFC;font:medium monospace}",this.c);this.c.className+=" logdiv"}
dh.prototype.Uh=function(a){var b=this.c.scrollHeight-this.c.scrollTop-this.c.clientHeight<=100,c=this.ci.createElement("div");c.className="logmsg";var d=this.mg,f;switch(a.Cc.value){case If.value:f="dbg-sh";break;case Jf.value:f="dbg-sev";break;case Kf.value:f="dbg-w";break;case Lf.value:f="dbg-i";break;case Nf.value:default:f="dbg-f";break}var g=[];g.push(d.bj," ");if(d.bh){var h=new Date(a.kh);g.push("[",bh(h.getFullYear()-2E3)+bh(h.getMonth()+1)+bh(h.getDate())+" "+bh(h.getHours())+":"+bh(h.getMinutes())+
":"+bh(h.getSeconds())+"."+bh(Math.floor(h.getMilliseconds()/10)),"] ")}if(d.ij){h=(a.kh-d.jj.rc())/1E3;var i=h.toFixed(3),j=0;if(h<1)j=2;else for(;h<100;){j++;h*=10}for(;j-- >0;)i=" "+i;g.push("[",Aa(i),"s] ")}d.hj&&g.push("[",ua(a.Hi),"] ");g.push('<span class="',f,'">',ta(Aa(ua(a.Ni))));if(d.dh&&a.Se)g.push("<br>",ta(Aa(a.Re||"")));g.push("</span><br>");c.innerHTML=g.join("");this.c.appendChild(c);if(b)this.c.scrollTop=this.c.scrollHeight};dh.prototype.clear=function(){this.c.innerHTML=""};function eh(a,b,c,d,f,g,h,i){var j,l=c.offsetParent;if(l){var o=l.tagName=="HTML"||l.tagName=="BODY";if(!o||dd(l)!="static"){j=kd(l);o||(j=nc(j,new G(l.scrollLeft,l.scrollTop)))}}l=qd(a);(o=jd(a))&&l.Bg(new pc(o.left,o.top,o.right-o.left,o.bottom-o.top));o=I(a);var p=I(c);if(o.r!=p.r){var w=o.r.body;p=Bc(p.r);var V=new G(0,0),Zb=J(w)?Bc(J(w)):window,zf=w;do{var Xh=Zb==p?kd(zf):nd(zf);V.x+=Xh.x;V.y+=Xh.y}while(Zb&&Zb!=p&&(zf=Zb.frameElement)&&(Zb=Zb.parent));p=V;p=nc(p,kd(w));if(u&&!Sc(o))p=nc(p,Tc(o));
l.left+=p.x;l.top+=p.y}a=(b&4&&ld(a)?b^2:b)&-5;b=new G(a&2?l.left+l.width:l.left,a&1?l.top+l.height:l.top);if(j)b=nc(b,j);if(f){b.x+=(a&2?-1:1)*f.x;b.y+=(a&1?-1:1)*f.y}var v;if(h)if((v=jd(c))&&j){v.top=Math.max(0,v.top-j.y);v.right-=j.x;v.bottom-=j.y;v.left=Math.max(0,v.left-j.x)}a:{f=b;v=v;f=f.Na();j=0;a=(d&4&&ld(c)?d^2:d)&-5;d=pd(c);i=i?i.Na():d;if(g||a!=0){if(a&2)f.x-=i.width+(g?g.right:0);else if(g)f.x+=g.left;if(a&1)f.y-=i.height+(g?g.bottom:0);else if(g)f.y+=g.top}if(h){if(v){g=f;j=0;if(g.x<
v.left&&h&1){g.x=v.left;j|=1}if(g.x<v.left&&g.x+i.width>v.right&&h&16){i.width-=g.x+i.width-v.right;j|=4}if(g.x+i.width>v.right&&h&1){g.x=Math.max(v.right-i.width,v.left);j|=1}if(h&2)j|=(g.x<v.left?16:0)|(g.x+i.width>v.right?32:0);if(g.y<v.top&&h&4){g.y=v.top;j|=2}if(g.y>=v.top&&g.y+i.height>v.bottom&&h&32){i.height-=g.y+i.height-v.bottom;j|=8}if(g.y+i.height>v.bottom&&h&4){g.y=Math.max(v.bottom-i.height,v.top);j|=2}if(h&8)j|=(g.y<v.top?64:0)|(g.y+i.height>v.bottom?128:0);h=j}else h=256;j=h;if(j&
496){c=j;break a}}ed(c,f);mc(d,i)||od(c,i);c=j}return c};function fh(){}fh.prototype.sa=aa();function gh(a,b){this.element=a;this.kc=b}t(gh,fh);gh.prototype.sa=function(a,b,c){eh(this.element,this.kc,a,b,undefined,c)};function hh(a,b){this.Ea=new kc(this);var c=a||null;ih(this);this.c=c;if(b)this.Qc=b}t(hh,N);m=hh.prototype;m.c=null;m.Yf=true;m.Xf=null;m.Bc=false;m.gj=false;m.lf=-1;m.Fg=-1;m.wg=false;m.di=true;m.Qc="toggle_display";m.a=e("c");function ih(a){if(a.Bc)throw Error("Can not change this state of the popup while showing.");}m.I=e("Bc");
m.l=function(a){if(a){if(!this.Bc)if(this.dispatchEvent("beforeshow")){if(!this.c)throw Error("Caller must call setElement before trying to show the popup");this.sa();a=J(this.c);this.wg&&this.Ea.f(a,gc,this.Si,true);if(this.Yf){this.Ea.f(a,"mousedown",this.Qg,true);if(u){for(var b=a.activeElement;b&&b.nodeName=="IFRAME";){try{var c=y?b.document||b.contentWindow.document:b.contentDocument||b.contentWindow.document}catch(d){break}a=c;b=a.activeElement}this.Ea.f(a,"mousedown",this.Qg,true);this.Ea.f(a,
"deactivate",this.Pg)}else this.Ea.f(a,"blur",this.Pg)}if(this.Qc=="toggle_display"){this.c.style.visibility="visible";O(this.c,true)}else this.Qc=="move_offscreen"&&this.sa();this.Bc=true;this.lf=pa();this.Fg=-1;this.dispatchEvent("show")}}else jh(this)};m.sa=q;
function jh(a,b){if(!a.Bc||!a.dispatchEvent({type:"beforehide",target:b}))return false;a.Ea&&a.Ea.ud();if(a.Qc=="toggle_display")a.gj?Td(a.xg,0,a):a.xg();else if(a.Qc=="move_offscreen"){a.c.style.left="-200px";a.c.style.top="-200px"}a.Bc=false;a.Fg=pa();a.dispatchEvent({type:"hide",target:b});return true}m.xg=function(){this.c.style.visibility="hidden";O(this.c,false)};m.Qg=function(a){a=a.target;if(!Kc(this.c,a)&&(!this.Xf||Kc(this.Xf,a))&&!(pa()-this.lf<150))jh(this,a)};
m.Si=function(a){if(a.keyCode==27)if(jh(this,a.target)){a.preventDefault();a.stopPropagation()}};m.Pg=function(a){if(this.di){var b=J(this.c);if(u||Oa){if((a=b.activeElement)&&Kc(this.c,a))return}else if(a.target!=b)return;pa()-this.lf<150||jh(this)}};m.e=function(){hh.b.e.call(this);this.Ea.w();delete this.c;delete this.Ea};function kh(a,b,c){gh.call(this,a,b);this.Vh=c}t(kh,gh);kh.prototype.sa=function(a,b,c,d){var f=eh(this.element,this.kc,a,b,null,c,10,d);if(f&496){var g=this.kc,h=b;if(f&48){g^=2;h^=2}if(f&192){g^=1;h^=1}f=eh(this.element,g,a,h,null,c,10,d);if(f&496)this.Vh?eh(this.element,this.kc,a,b,null,c,5,d):eh(this.element,this.kc,a,b,null,c,0,d)}};function lh(a,b){this.Vg=4;this.uf=b||undefined;hh.call(this,a)}t(lh,hh);lh.prototype.Cf=function(a){this.uf=a||undefined;this.I()&&this.sa()};lh.prototype.sa=function(){if(this.uf){var a=!this.I()&&this.Qc!="move_offscreen",b=this.a();if(a){b.style.visibility="hidden";O(b,true)}this.uf.sa(b,this.Vg,this.Ji);a&&O(b,false)}};W=W||{};W.Ec=Wf("ola");function mh(){Vf().Af(Pf);var a=new dh(K("log"));if(true!=a.Cg){var b=Vf(),c=a.cj;if(!b.ld)b.ld=[];b.ld.push(c);a.Cg=true}this.ge=K("log_control");(new T).m(this.ge);D(this.ge,E,this.Ka,false,this);a=document.getElementById("log_popup");a=this.Eb=new lh(a);ih(a);a.wg=true;a=this.Eb;ih(a);a.Yf=true}
mh.prototype.Ka=function(){this.Eb.l(false);var a=this.Eb;a.Vg=2;a.I()&&a.sa();a=this.Eb;var b=new oc(2,2,2,2);a.Ji=b==null||b instanceof oc?b:new oc(b,void 0,void 0,void 0);a.I()&&a.sa();this.Eb.Cf(new kh(this.ge,3));this.Eb.l(true)};function nh(){this.dg=[]}t(nh,Ce);r(nh);function oh(a,b){var c=a.dg[b];if(!c){switch(b){case 0:c=a.k()+"-highlight";break;case 1:c=a.k()+"-checkbox";break;case 2:c=a.k()+"-content";break}a.dg[b]=c}return c}m=nh.prototype;m.Qa=k("menuitem");m.d=function(a){var b=a.i().d("div",this.sc(a).join(" "),ph(this,a.la,a.i()));qh(this,a,b,!!(a.da&8)||!!(a.da&16));return b};m.L=function(a){return a&&a.firstChild};
m.m=function(a,b){var c=Hc(b),d=oh(this,2);c&&c.className.indexOf(d)!=-1||b.appendChild(ph(this,b.childNodes,a.i()));if(B(rc(b),"goog-option")){a.re(true);this.re(a,b,true)}return nh.b.m.call(this,a,b)};m.t=function(a,b){var c=this.L(a),d=rh(this,a)?c.firstChild:null;nh.b.t.call(this,a,b);if(d&&!rh(this,a))c.insertBefore(d,c.firstChild||null)};function ph(a,b,c){a=oh(a,2);return c.d("div",a,b)}m.Df=function(a,b,c){if(b){ae(b,c?"menuitemradio":this.Qa());qh(this,a,b,c)}};
m.re=function(a,b,c){if(b){ae(b,c?"menuitemcheckbox":this.Qa());qh(this,a,b,c)}};function rh(a,b){var c=a.L(b);if(c){c=c.firstChild;var d=oh(a,1);return!!c&&!!c.className&&c.className.indexOf(d)!=-1}return false}function qh(a,b,c,d){if(d!=rh(a,c)){d?H(c,"goog-option"):sc(c,"goog-option");c=a.L(c);if(d){a=oh(a,1);c.insertBefore(b.i().d("div",a),c.firstChild||null)}else c.removeChild(c.firstChild)}}
m.ed=function(a){switch(a){case 2:return oh(this,0);case 16:case 8:return"goog-option-selected";default:return nh.b.ed.call(this,a)}};m.Ve=function(a){var b=oh(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return nh.b.Ve.call(this,a)}};m.k=k("goog-menuitem");function sh(a,b,c,d){T.call(this,a,d||nh.g(),c);this.ia(b)}t(sh,T);m=sh.prototype;m.s=function(){var a=this.pf;return a!=null?a:this.dd()};m.ia=ba("pf");m.Df=function(a){Ye(this,8,a);this.Ac()&&!a&&this.zd(false);var b=this.a();b&&this.h.Df(this,b,a)};m.re=function(a){Ye(this,16,a);var b=this.a();b&&this.h.re(this,b,a)};m.dd=function(){return We(this,function(a){return B(rc(a),"goog-menuitem-accel")?"":Pc(a)})};Ie("goog-menuitem",function(){return new sh(null)});function th(a,b){var c=Ee(Ce,uh);T.call(this,null,c,b);Ye(this,4,false);this.Za=a!==undefined?a:vh}t(th,T);var vh=false,uh="goog-checkbox",wh=uh+"-checked",xh=uh+"-unchecked",yh=uh+"-undetermined",zh={oj:wh,rj:xh,sj:yh},Ah=gb(true,wh,vh,xh,null,yh);m=th.prototype;m.Ei=null;m.Ac=function(){return this.Za==true};m.zd=function(a){if(a!=this.Za){this.Za=a;Bh(this)}};m.Pc=function(){this.Za=this.Za?vh:true;Bh(this)};m.d=function(){this.A(this.i().createElement("span"))};
m.A=function(a){th.b.A.call(this,a);a=rc(a);if(B(a,yh))this.Za=null;else if(B(a,wh))this.Za=true;else if(B(a,xh))this.Za=vh;else Bh(this)};m.n=function(){th.b.n.call(this);if(this.Xd)this.H().f(this.Ei||this.a(),E,this.sg)};function Bh(a){var b=a.a();if(b){a=Ah[a.Za];var c=rc(b);if(!B(c,a)){var d=[a],f=$a(zh);mb(c,function(g){B(f,g)||d.push(g)});b.className=d.join(" ")}}}m.M=function(a){th.b.M.call(this,a);if(a=this.a())a.tabIndex=this.B()?0:-1};
m.sg=function(a){a.stopPropagation();a=this.Za?"uncheck":"check";if(this.B()&&this.dispatchEvent(a)){this.Pc();this.dispatchEvent("change")}};m.Tb=function(a){a.keyCode==32&&this.sg(a);return false};Ie(uh,function(){return new th});function Ch(a,b,c,d){kh.call(this,a,b,c);this.dj=d}t(Ch,kh);Ch.prototype.sa=function(a,b,c,d){this.dj?eh(this.element,this.kc,a,b,null,c,33,d):Ch.b.sa.call(this,a,b,c,d)};function Dh(){}t(Dh,Ce);r(Dh);m=Dh.prototype;m.Qa=k("button");m.Sc=function(a,b,c){if(x)b==16?be(a,"pressed",c):Dh.b.Sc.call(this,a,b,c)};m.d=function(a){var b=Dh.b.d.call(this,a),c=a.jd();c&&this.Ed(b,c);(c=a.s())&&this.ia(b,c);a.da&16&&this.Sc(b,16,false);return b};m.m=function(a,b){b=Dh.b.m.call(this,a,b);var c=this.s(b);a.xa=c;a.Jf=this.jd(b);a.da&16&&this.Sc(b,16,false);return b};m.s=q;m.ia=q;m.jd=function(a){return a.title};m.Ed=function(a,b){if(a)a.title=b||""};m.k=k("goog-button");function Eh(){}t(Eh,Dh);r(Eh);m=Eh.prototype;m.Qa=aa();m.d=function(a){Fh(this,a);return a.i().d("button",{"class":this.sc(a).join(" "),disabled:!a.B(),title:a.jd()||"",value:a.s()||""},a.dd()||"")};m.K=function(a){return a.tagName=="BUTTON"||a.tagName=="INPUT"&&(a.type=="button"||a.type=="submit"||a.type=="reset")};m.m=function(a,b){Fh(this,a);b.disabled&&H(b,this.ed(1));return Eh.b.m.call(this,a,b)};m.yc=function(a){a.H().f(a.a(),E,a.Yb)};m.yd=q;m.Kc=q;m.Ab=function(a){return a.B()};m.Hb=q;
m.Aa=function(a,b,c){Eh.b.Aa.call(this,a,b,c);if((a=a.a())&&b==1)a.disabled=c};m.s=function(a){return a.value};m.ia=function(a,b){if(a)a.value=b};m.Sc=q;function Fh(a,b){Ue(b,false);b.Zf&=-256;Ye(b,32,false)};function Gh(a,b,c){T.call(this,a,b||Eh.g(),c)}t(Gh,T);m=Gh.prototype;m.s=e("xa");m.ia=function(a){this.xa=a;this.h.ia(this.a(),a)};m.jd=e("Jf");m.Ed=function(a){this.Jf=a;this.h.Ed(this.a(),a)};m.e=function(){Gh.b.e.call(this);delete this.xa;delete this.Jf};m.n=function(){Gh.b.n.call(this);if(this.da&32){var a=this.U();a&&this.H().f(a,"keyup",this.Tb)}};m.Tb=function(a){if(a.keyCode==13&&a.type=="key"||a.keyCode==32&&a.type=="keyup")return this.Yb(a);return a.keyCode==32};Ie("goog-button",function(){return new Gh(null)});function Hh(){}t(Hh,df);r(Hh);m=Hh.prototype;m.Qa=k("menu");m.K=function(a){return a.tagName=="UL"||Hh.b.K.call(this,a)};m.fd=function(a){return a.tagName=="HR"?new cf:Hh.b.fd.call(this,a)};m.Lb=function(a,b){return Kc(a.a(),b)};m.k=k("goog-menu");m.yc=function(a){Hh.b.yc.call(this,a);a=a.a();be(a,"haspopup","true")};Ie("goog-menuseparator",function(){return new cf});function Ih(a,b){U.call(this,gf,b||Hh.g(),a);this.Hb(false)}t(Ih,U);m=Ih.prototype;m.Ke=true;m.Xh=false;m.k=function(){return this.h.k()};m.Lb=function(a){if(this.h.Lb(this,a))return true;for(var b=0,c=Q(this);b<c;b++){var d=R(this,b);if(typeof d.Lb=="function"&&d.Lb(a))return true}return false};m.Xa=function(a){this.oa(a,true)};m.jc=function(a,b){this.ic(a,b,true)};m.gd=function(a){return R(this,a)};m.Ue=function(){return Q(this)};
m.Cf=function(a,b){var c=this.I();c||O(this.a(),true);var d=this.a(),f=a,g=b,h=kd(d);if(f instanceof G){g=f.y;f=f.x}ed(d,d.offsetLeft+(f-h.x),d.offsetTop+(g-h.y));c||O(this.a(),false)};m.l=function(a,b){var c=Ih.b.l.call(this,a,b);c&&a&&this.u&&this.Ke&&this.U().focus();return c};m.We=function(a){this.Ke&&this.U().focus();return Ih.b.We.call(this,a)};m.bg=function(a){return(this.Xh||a.B())&&a.I()&&!!(a.da&2)};
m.A=function(a){var b=this.h,c;c=this.i();c=wc(c.r,"div",b.k()+"-content",a);for(var d,f=0;d=c[f];f++)hf(b,this,d);Ih.b.A.call(this,a)};function Jh(){}t(Jh,Dh);r(Jh);m=Jh.prototype;m.d=function(a){var b={"class":"goog-inline-block "+this.sc(a).join(" "),title:a.jd()||""};return a.i().d("div",b,this.Md(a.la,a.i()))};m.L=function(a){return a&&a.firstChild.firstChild};m.Md=function(a,b){return b.d("div","goog-inline-block "+(this.k()+"-outer-box"),b.d("div","goog-inline-block "+(this.k()+"-inner-box"),a))};m.K=function(a){return a.tagName=="DIV"};
m.m=function(a,b){Kh(b,true);Kh(b,false);var c;a:{if((c=a.i().pg(b))&&c.className.indexOf(this.k()+"-outer-box")!=-1)if((c=a.i().pg(c))&&c.className.indexOf(this.k()+"-inner-box")!=-1){c=true;break a}c=false}c||b.appendChild(this.Md(b.childNodes,a.i()));H(b,"goog-inline-block",this.k());return Jh.b.m.call(this,a,b)};m.k=k("goog-custom-button");
function Kh(a,b){if(a)for(var c=b?a.firstChild:a.lastChild,d;c&&c.parentNode==a;){d=b?c.nextSibling:c.previousSibling;if(c.nodeType==3){var f=c.nodeValue;if(sa(f)=="")a.removeChild(c);else{c.nodeValue=b?f.replace(/^[\s\xa0]+/,""):f.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function Lh(){}t(Lh,Jh);r(Lh);if(x)Lh.prototype.t=function(a,b){var c=Lh.b.L.call(this,a&&a.firstChild);if(c){var d=this.createCaption(b,I(a)),f=c.parentNode;f&&f.replaceChild(d,c)}};m=Lh.prototype;m.L=function(a){a=Lh.b.L.call(this,a&&a.firstChild);if(x&&a&&a.__goog_wrapper_div)a=a.firstChild;return a};m.m=function(a,b){var c=vc("*","goog-menu",b)[0];if(c){O(c,false);J(c).body.appendChild(c);var d=new Ih;d.m(c);a.Bd(d)}return Lh.b.m.call(this,a,b)};
m.Md=function(a,b){return Lh.b.Md.call(this,[this.createCaption(a,b),b.d("div","goog-inline-block "+(this.k()+"-dropdown"),"\u00a0")],b)};m.createCaption=function(a,b){return b.d("div","goog-inline-block "+(this.k()+"-caption"),a)};m.k=k("goog-menu-button");function Mh(a,b,c,d){Gh.call(this,a,c||Lh.g(),d);Ye(this,64,true);b&&this.Bd(b);this.wa=new Qd(500)}t(Mh,Gh);m=Mh.prototype;m.Wf=true;m.yf=false;m.hf=false;m.n=function(){Mh.b.n.call(this);this.j&&Nh(this,this.j,true);be(this.a(),"haspopup","true")};m.Da=function(){Mh.b.Da.call(this);if(this.j){this.N(false);this.j.Da();Nh(this,this.j,false);var a=this.j.a();a&&Gc(a)}};m.e=function(){Mh.b.e.call(this);if(this.j){this.j.w();delete this.j}delete this.aj;this.wa.w()};
m.Ub=function(a){Mh.b.Ub.call(this,a);if(this.zc()){this.N(!!!(this.o&64));if(this.j)this.j.mb=!!(this.o&64)}};m.kd=function(a){Mh.b.kd.call(this,a);if(this.j&&!this.zc())this.j.mb=false};m.Yb=function(){this.setActive(false);return true};m.mi=function(a){this.j&&this.j.I()&&!this.Lb(a.target)&&this.N(false)};m.Lb=function(a){return a&&Kc(this.a(),a)||this.j&&this.j.Lb(a)||false};
m.Tb=function(a){if(a.keyCode==32){a.preventDefault();if(a.type!="keyup")return false}else if(a.type!="key")return false;if(this.j&&this.j.I()){var b=this.j.jb(a);if(a.keyCode==27){this.N(false);return true}return b}if(a.keyCode==40||a.keyCode==38||a.keyCode==32){this.N(true);return true}return false};m.Ze=function(){this.N(false)};m.ti=function(){this.zc()||this.N(false)};m.Sb=function(a){this.hf||this.N(false);Mh.b.Sb.call(this,a)};function Oh(a){a.j||a.Bd(new Ih(a.i()));return a.j||null}
m.Bd=function(a){var b=this.j;if(a!=b){if(b){this.N(false);this.u&&Nh(this,b,false);delete this.j}if(a){this.j=a;Kd(a,this);a.l(false);var c=this.hf;(a.Ke=c)&&a.Hb(true);this.u&&Nh(this,a,true)}}return b};m.Xa=function(a){Oh(this).oa(a,true)};m.jc=function(a,b){Oh(this).ic(a,b,true)};m.gd=function(a){return this.j?R(this.j,a):null};m.Ue=function(){return this.j?Q(this.j):0};m.l=function(a,b){var c=Mh.b.l.call(this,a,b);c&&!this.I()&&this.N(false);return c};
m.M=function(a){Mh.b.M.call(this,a);this.B()||this.N(false)};
m.N=function(a){Mh.b.N.call(this,a);if(this.j&&!!(this.o&64)==a){if(a){this.j.u||this.j.W();this.qh=jd(this.a());this.$f=qd(this.a());Ph(this);lf(this.j,-1)}else{this.setActive(false);this.j.mb=false;if(this.ne!=null){this.ne=undefined;var b=this.j.a();b&&od(b,"","")}}this.j.l(a);b=this.H();var c=a?b.f:b.ja;c.call(b,Rc(this.i()),"mousedown",this.mi,true);this.hf&&c.call(b,this.j,"blur",this.ti);c.call(b,this.wa,Sd,this.Vi);a?this.wa.start():this.wa.stop()}};
function Ph(a){if(a.j.u){var b=a.aj||a.a();b=new Ch(b,a.Wf?5:7,!a.yf,a.yf);var c=a.j.a();if(!a.j.I()){c.style.visibility="hidden";O(c,true)}if(!a.ne&&a.yf)a.ne=pd(c);b.sa(c,a.Wf?4:6,null,a.ne);if(!a.j.I()){O(c,false);c.style.visibility="visible"}}}
m.Vi=function(){var a=qd(this.a()),b=jd(this.a()),c;c=this.$f;c=c==a?true:!c||!a?false:c.left==a.left&&c.width==a.width&&c.top==a.top&&c.height==a.height;if(!(c=!c)){c=this.qh;c=c==b?true:!c||!b?false:c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left;c=!c}if(c){this.$f=a;this.qh=b;Ph(this)}};function Nh(a,b,c){var d=a.H();c=c?d.f:d.ja;c.call(d,b,"action",a.Ze);c.call(d,b,"highlight",a.Xe);c.call(d,b,"unhighlight",a.bf)}m.Xe=function(a){be(this.a(),"activedescendant",a.target.a().id)};
m.bf=function(){R(this.j,this.j.ga)||be(this.a(),"activedescendant","")};Ie("goog-menu-button",function(){return new Mh(null)});function Qh(a){this.Wb=[];Rh(this,a)}t(Qh,N);m=Qh.prototype;m.Gb=null;m.$g=null;m.Ue=function(){return this.Wb.length};m.gd=function(a){return this.Wb[a]||null};function Rh(a,b){if(b){mb(b,function(c){Sh(this,c,false)},a);vb(a.Wb,b)}}m.Xa=function(a){this.jc(a,this.Ue())};m.jc=function(a,b){if(a){Sh(this,a,false);wb(this.Wb,b,0,a)}};m.Vd=e("Gb");m.bc=function(a){if(a!=this.Gb){Sh(this,this.Gb,false);this.Gb=a;Sh(this,a,true)}this.dispatchEvent("select")};
m.xb=function(){return this.Gb?lb(this.Wb,this.Gb):-1};m.ta=function(a){this.bc(this.gd(a))};m.clear=function(){qb(this.Wb);this.Gb=null};m.e=function(){Qh.b.e.call(this);delete this.Wb;this.Gb=null};function Sh(a,b,c){if(b)if(typeof a.$g=="function")a.$g(b,c);else typeof b.Ef=="function"&&b.Ef(c)};function Th(a,b,c,d){Mh.call(this,a,b,c,d);this.Od=a;Uh(this)}t(Th,Mh);m=Th.prototype;m.D=null;m.Od=null;m.n=function(){Th.b.n.call(this);Uh(this)};m.A=function(a){Th.b.A.call(this,a);if(a=this.dd()){this.Od=a;Uh(this)}else this.ta(0)};m.e=function(){Th.b.e.call(this);if(this.D){this.D.w();this.D=null}this.Od=null};m.Ze=function(a){this.bc(a.target);Th.b.Ze.call(this,a);a.stopPropagation();this.dispatchEvent("action")};m.zi=function(){var a=this.Vd();Th.b.ia.call(this,a&&a.s());Uh(this)};
m.Bd=function(a){var b=Th.b.Bd.call(this,a);if(a!=b){this.D&&this.D.clear();if(a)this.D?Nd(a,function(c){this.D.Xa(c)},this):Vh(this,a)}return b};m.Xa=function(a){Th.b.Xa.call(this,a);this.D?this.D.Xa(a):Vh(this,Oh(this))};m.jc=function(a,b){Th.b.jc.call(this,a,b);this.D?this.D.jc(a,b):Vh(this,Oh(this))};m.bc=function(a){this.D&&this.D.bc(a)};m.ta=function(a){this.D&&this.bc(this.D.gd(a))};
m.ia=function(a){if(a!=null&&this.D)for(var b=0,c;c=this.D.gd(b);b++)if(c&&typeof c.s=="function"&&c.s()==a){this.bc(c);return}this.bc(null)};m.Vd=function(){return this.D?this.D.Vd():null};m.xb=function(){return this.D?this.D.xb():-1};function Vh(a,b){a.D=new Qh;b&&Nd(b,function(c){this.D.Xa(c)},a);a.H().f(a.D,"select",a.zi)}function Uh(a){var b=a.Vd();a.t(b?b.dd():a.Od)}m.N=function(a){Th.b.N.call(this,a);this.o&64&&lf(Oh(this),this.xb())};Ie("goog-select",function(){return new Th(null)});function Wh(a,b){P.call(this,b);this.data=a}t(Wh,P);m=Wh.prototype;m.K=k(false);
m.d=function(){this.Ib=this.p.d("tr",{});this.Ib.style.cursor="pointer";var a=L("td",{},"");this.p.appendChild(this.Ib,a);this.rb=new th;this.rb.zd(true);this.rb.W(a);this.p.appendChild(this.Ib,L("td",{},this.data.device));this.p.appendChild(this.Ib,L("td",{},this.data.description));a=this.data.priority;if(a==undefined)this.p.appendChild(this.Ib,L("td",{},"Not supported"));else{this.db=M("input");this.db.value=a.value;this.db.maxLength=3;this.db.size=3;if(a.current_mode==undefined)a=L("td",{},this.db);
else{this.eb=new Th;this.eb.Xa(new sh("Inherit"));this.eb.Xa(new sh("Override"));this.eb.ta(a.current_mode=="inherit"?0:1);this.Sf();a=M("td");this.eb.W(a);this.p.appendChild(a,this.db)}this.p.appendChild(this.Ib,a)}this.c=this.Ib};m.n=function(){if(this.eb!=undefined){D(this.eb,"action",this.Sf,false,this);D(this.eb.a(),E,function(a){a.stopPropagation()})}this.db!=undefined&&D(this.db,E,function(a){a.stopPropagation()});D(this.Ib,E,function(){this.rb.Pc()},false,this)};m.td=function(){return this.data.id};
m.nd=function(){return this.rb.Ac()};m.vf=function(){if(this.db)return this.db.value};m.Sf=function(){this.db.style.visibility=this.eb.xb()?"visible":"hidden"};function Yh(a){P.call(this,a)}t(Yh,P);m=Yh.prototype;m.d=function(){this.A(this.p.createElement("tbody"))};m.A=function(a){Yh.b.A.call(this,a)};m.K=function(a){return a.tagName=="TBODY"};m.wf=function(){for(;Q(this);)delete this.removeChild(R(this,0),true)};
m.update=function(a){this.wf();for(var b=a.length,c=0;c<b;++c)this.oa(new Wh(a[c]),true)};function Zh(a,b,c,d){function f(h){if(h){h.tabIndex=0;D(h,E,g.ke,false,g);D(h,gc,g.le,false,g)}}this.Qb=K(a)||null;this.$c=K(d||null);this.G=(this.nf=ia(b)?b:null)||!b?null:K(b);this.wb=c==true;var g=this;f(this.Qb);f(this.$c);this.zf(this.wb)}t(Zh,N);m=Zh.prototype;m.e=function(){this.Qb&&fc(this.Qb);this.$c&&fc(this.$c);Zh.b.e.call(this)};m.Pc=function(){this.zf(!this.wb)};
m.zf=function(a){if(this.G)O(this.G,a);else if(a&&this.nf)this.G=this.nf();if(this.$c){O(this.Qb,!a);O(this.$c,a)}else $h(this,a);this.wb=a;this.dispatchEvent(new ai("toggle",this,this.wb))};function $h(a,b){if(a.Qb){var c=a.Qb;b?H(c,"goog-zippy-expanded"):sc(c,"goog-zippy-expanded");c=a.Qb;!b?H(c,"goog-zippy-collapsed"):sc(c,"goog-zippy-collapsed")}}m.le=function(a){if(a.keyCode==13||a.keyCode==32){this.Pc();a.preventDefault();a.stopPropagation()}};m.ke=function(){this.Pc()};
function ai(a,b,c){C.call(this,a,b);this.hi=c}t(ai,C);function bi(a,b,c,d){if(!fa(a)||!fa(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.Nc=a;this.fi=b;this.duration=c;this.Vf=d;this.coords=[]}t(bi,N);var ci={},di=null;function ei(){Rd.clearTimeout(di);var a=pa();for(var b in ci)fi(ci[b],a);di=bb(ci)?null:Rd.setTimeout(ei,20)}function gi(a){a=ka(a);delete ci[a];if(di&&bb(ci)){Rd.clearTimeout(di);di=null}}m=bi.prototype;m.o=0;m.ng=0;m.za=0;m.startTime=null;
m.kg=null;m.kf=null;m.play=function(a){if(a||this.o==0){this.za=0;this.coords=this.Nc}else if(this.o==1)return false;gi(this);this.startTime=pa();if(this.o==-1)this.startTime-=this.duration*this.za;this.kg=this.startTime+this.duration;this.kf=this.startTime;this.za||this.rd();hi(this,"play");this.o==-1&&hi(this,"resume");this.o=1;a=ka(this);a in ci||(ci[a]=this);di||(di=Rd.setTimeout(ei,20));fi(this,this.startTime);return true};
m.stop=function(a){gi(this);this.o=0;if(a)this.za=1;ii(this,this.za);hi(this,"stop");this.je()};m.e=function(){this.o!=0&&this.stop(false);hi(this,"destroy");bi.b.e.call(this)};function fi(a,b){a.za=(b-a.startTime)/(a.kg-a.startTime);if(a.za>=1)a.za=1;a.ng=1E3/(b-a.kf);a.kf=b;ia(a.Vf)?ii(a,a.Vf(a.za)):ii(a,a.za);if(a.za==1){a.o=0;gi(a);hi(a,"finish");a.je()}else a.o==1&&a.sf()}function ii(a,b){a.coords=Array(a.Nc.length);for(var c=0;c<a.Nc.length;c++)a.coords[c]=(a.fi[c]-a.Nc[c])*b+a.Nc[c]}
m.sf=function(){hi(this,"animate")};m.rd=function(){hi(this,"begin")};m.je=function(){hi(this,"end")};function hi(a,b){a.dispatchEvent(new ji(b,a))}function ji(a,b){C.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.Bj=b.coords[2];this.duration=b.duration;this.za=b.za;this.wj=b.ng;this.Aj=b.o;this.tj=b}t(ji,C);function ki(a,b,c){var d=L("div",{style:"overflow:hidden"});b=K(b);b.parentNode.replaceChild(d,b);d.appendChild(b);this.Qd=d;this.Ya=null;Zh.call(this,a,b,c);a=this.wb;this.Qd.style.display=a?"":"none";$h(this,a)}t(ki,Zh);m=ki.prototype;m.Zh=500;m.Yh=function(a){return 1-Math.pow(1-a,3)};
m.zf=function(a){if(!(this.wb==a&&!this.Ya)){if(this.Qd.style.display=="none")this.Qd.style.display="";var b=this.G.offsetHeight,c=0;if(this.Ya){a=this.wb;fc(this.Ya);this.Ya.stop(false);c=b-Math.abs(parseInt(this.G.style.marginTop,10))}else c=a?0:b;$h(this,a);this.Ya=new bi([0,c],[0,a?b:0],this.Zh,this.Yh);D(this.Ya,["begin","animate","end"],this.Qi,false,this);D(this.Ya,"end",na(this.Ri,this,a));this.Ya.play(false)}};m.Qi=function(a){this.G.style.marginTop=a.y-this.G.offsetHeight+"px"};
m.Ri=function(a){if(a)this.G.style.marginTop="0";fc(this.Ya);this.wb=a;this.Ya=null;if(!a)this.Qd.style.display="none";this.dispatchEvent(new ai("toggle",this,a))};W=W||{};function $(){de.call(this,null,true)}t($,de);r($);function li(a){a.ca("Waiting for server response....");S(a,null);a.t('<div align="center"><img src="/loader.gif"></div>')};function mi(a,b,c){sh.call(this,a,b,c);this.Df(true)}t(mi,sh);mi.prototype.Yb=function(){return this.dispatchEvent("action")};Ie("goog-option",function(){return new mi(null)});function ni(a){this.element=K(a);this.Zc=this.P=undefined;this.Pe=[];this.Va=undefined}function oi(a,b){pi(a,a.element);Tg(X.g(),a.P,qi(b),function(c){ri(a,c)});a.Zc=qi(b)}ni.prototype.clear=function(){this.Zc=undefined;this.element.innerHTML=""};function pi(a,b){b.innerHTML='<div align="center"><img src="/loader.gif"><br>Loading...</div>'}
function ri(a,b){a.element.innerHTML="";a.Pe=[];for(var c=sg(b.target),d=c.length,f=0;f<d;++f){var g=M("fieldset"),h=M("legend"),i=M("img");i.src="/blank.gif";i.width="12";i.height="12";h.appendChild(i);i=document.createTextNode(" "+c[f].name);h.appendChild(i);i=M("div");i.align="center";pi(a,i);g.appendChild(h);g.appendChild(i);a.element.appendChild(g);g=new ki(h,i);a.Pe.push(i);D(g,"toggle",function(j){return function(l){if(l.hi)this.Va[j].loaded||si(this,j)}}(f),false,a);c.data=undefined;c.loaded=
false}a.Va=c}function si(a,b){Ug(X.g(),a.P,a.Zc,a.Va[b].id,a.Va[b].hint,function(c){ti(a,c,b)});a.Va[b].loaded=true}
function ti(a,b,c){b=sg(b.target);var d=a.Pe[c];d.innerHTML="";if(b.error)ui(a,"Error",b.error);else{var f=b.items,g=f.length,h=M("form");h.id=a.Va[c].id;h.onsubmit=function(){vi(a,c);return false};var i=M("table");i.className="ola-table";for(var j=false,l=0;l<g;++l){wi(a,i,f[l]);j|=f[l].id&&!f[l].button}h.appendChild(i);d.appendChild(h);if(b.refresh){f=new xi("Refresh");f.W(d);D(f,"action",function(){si(this,c)},false,a)}if(j){f=new xi(b.save_button||"Save");f.W(d);D(f,"action",function(){vi(this,
c)},false,a)}a.Va[c].data=b}}
function wi(a,b,c){var d=c.type;a=c.value;var f=c.id;if(d=="hidden"){var g=M("input");g.id=f;g.type="hidden";g.value=a;b.appendChild(g)}else{g=M("tr");b.appendChild(g);b=M("td");b.innerHTML=c.description;g.appendChild(b);b=M("td");g.appendChild(b);if(f)if(d=="string"||d=="uint"||d=="hidden"){g=M("input");g.value=a;g.name=f;if(d=="hidden")g.type="hidden";b.appendChild(g);c.button&&(new xi(c.button)).W(b)}else if(d=="bool"){d=new th;d.zd(a==1);d.W(b);c.object=d}else{d=new Th;f=a.length;for(g=0;g<f;++g)d.Xa(new mi(a[g].label));
c.selected_offset!=undefined&&d.ta(c.selected_offset);d.W(b);c.object=d}else b.innerHTML=a}}
function vi(a,b){for(var c=a.Va[b].data.items,d=c.length,f=K(a.Va[b].id),g="",h=0;h<d;++h){var i=c[h].id;if(i)if(c[h].type=="uint"){var j=f.elements[i].value,l=parseInt(j);if(isNaN(l)){ui(a,"Invalid Value",c[h].description+" must be an integer");return}var o=c[h].min;if(o!=undefined&&l<o){ui(a,"Invalid Value",c[h].description+" must be > "+(o-1));return}o=c[h].max;if(o!=undefined&&l>o){ui(a,"Invalid Value",c[h].description+" must be < "+(o+1));return}g+=i+"="+j+"&"}else if(c[h].type=="string"){j=
f.elements[i].value;g+=i+"="+j+"&"}else if(c[h].type=="bool")g+=i+"="+(c[h].object.Ac()?"1":"0")+"&";else if(c[h].type=="select"){j=c[h].object.xb();j=c[h].value[j].value;g+=i+"="+j+"&"}}Vg(X.g(),a.P,a.Zc,a.Va[b].id,a.Va[b].hint,g,function(p){p=sg(p.target);p.error?ui(a,"Set Failed",p.error):si(a,b)})}function ui(a,b,c){a=$.g();a.ca("Set Failed");a.t(c);S(a,me);a.l(true)};function yi(){}t(yi,bf);r(yi);yi.prototype.d=function(a){return a.i().d("div",this.k()+" goog-inline-block","\u00a0")};yi.prototype.m=function(a,b){b=yi.b.m.call(this,a,b);H(b,"goog-inline-block");return b};yi.prototype.k=k("goog-toolbar-separator");function zi(a,b){cf.call(this,a||yi.g(),b)}t(zi,cf);Ie("goog-toolbar-separator",function(){return new zi});function Ai(){}t(Ai,df);r(Ai);Ai.prototype.Qa=k("toolbar");Ai.prototype.fd=function(a){return a.tagName=="HR"?new cf(yi.g()):Ai.b.fd.call(this,a)};Ai.prototype.k=k("goog-toolbar");Ai.prototype.og=function(){return ff};function Bi(a,b,c){U.call(this,b,a||Ai.g(),c)}t(Bi,U);function Ci(){}t(Ci,Jh);r(Ci);Ci.prototype.k=k("goog-toolbar-button");function Di(a,b,c){Gh.call(this,a,b||Ci.g(),c)}t(Di,Gh);Ie("goog-toolbar-button",function(){return new Di(null)});function Ei(a){this.c=a;this.Hg=D(this.c,x?"DOMMouseScroll":"mousewheel",this)}t(Ei,N);
Ei.prototype.handleEvent=function(a){var b=0,c=0,d=0;a=a.Oa;if(a.type=="mousewheel"){c=1;if(u||y&&(Ja||z("532.0")))c=40;d=-a.wheelDelta/c;if(a.wheelDeltaX!==undefined){b=-a.wheelDeltaX/c;c=-a.wheelDeltaY/c}else c=d}else{d=a.detail;if(d>100)d=3;else if(d<-100)d=-3;if(a.axis!==undefined&&a.axis===a.HORIZONTAL_AXIS)b=d;else c=d}if(ha(this.Ig))b=Math.min(Math.max(b,-this.Ig),this.Ig);if(ha(this.Jg))c=Math.min(Math.max(c,-this.Jg),this.Jg);b=new Fi(d,a,b,c);try{this.dispatchEvent(b)}finally{b.w()}};
Ei.prototype.e=function(){Ei.b.e.call(this);dc(this.Hg);delete this.Hg};function Fi(a,b,c,d){b&&this.xc(b,void 0);this.type="mousewheel";this.detail=a;this.mc=c;this.nc=d}t(Fi,Cb);function Gi(a,b,c,d,f){bi.call(this,b,c,d,f);this.element=a}t(Gi,bi);Gi.prototype.Ae=q;Gi.prototype.sf=function(){this.Ae();Gi.b.sf.call(this)};Gi.prototype.je=function(){this.Ae();Gi.b.je.call(this)};Gi.prototype.rd=function(){this.Ae();Gi.b.rd.call(this)};function Hi(a,b,c){if(b.length!=2||c.length!=2)throw Error("Start and end points must be 2D");Gi.apply(this,arguments)}t(Hi,Gi);
Hi.prototype.Ae=function(){this.element.style.left=Math.round(this.coords[0])+"px";this.element.style.top=Math.round(this.coords[1])+"px"};function Ii(a,b,c,d){Hi.call(this,a,[a.offsetLeft,a.offsetTop],b,c,d)}t(Ii,Hi);Ii.prototype.rd=function(){this.Nc=[this.element.offsetLeft,this.element.offsetTop];Ii.b.rd.call(this)};function Ji(){}t(Ji,N);m=Ji.prototype;m.xa=0;m.Sa=0;m.Fa=100;m.ya=0;m.Oc=1;m.bb=false;m.Fc=false;m.ia=function(a){a=Ki(this,a);if(this.xa!=a){this.xa=a+this.ya>this.Fa?this.Fa-this.ya:a<this.Sa?this.Sa:a;!this.bb&&!this.Fc&&this.dispatchEvent("change")}};m.s=function(){return Ki(this,this.xa)};m.Ad=function(a){a=Ki(this,a);if(this.ya!=a){this.ya=a<0?0:this.xa+a>this.Fa?this.Fa-this.xa:a;!this.bb&&!this.Fc&&this.dispatchEvent("change")}};
m.Rb=function(){var a;a=this.ya;a=this.Oc==null?a:Math.round(a/this.Oc)*this.Oc;return a};m.te=function(a){if(this.Sa!=a){var b=this.bb;this.bb=true;this.Sa=a;if(a+this.ya>this.Fa)this.ya=this.Fa-this.Sa;a>this.xa&&this.ia(a);if(a>this.Fa){this.ya=0;this.se(a);this.ia(a)}this.bb=b;!this.bb&&!this.Fc&&this.dispatchEvent("change")}};m.na=function(){return Ki(this,this.Sa)};
m.se=function(a){a=Ki(this,a);if(this.Fa!=a){var b=this.bb;this.bb=true;this.Fa=a;a<this.xa+this.ya&&this.ia(a-this.ya);if(a<this.Sa){this.ya=0;this.te(a);this.ia(this.Fa)}if(a<this.Sa+this.ya)this.ya=this.Fa-this.Sa;this.bb=b;!this.bb&&!this.Fc&&this.dispatchEvent("change")}};m.ra=function(){return Ki(this,this.Fa)};function Ki(a,b){if(a.Oc==null)return b;return a.Sa+Math.round((b-a.Sa)/a.Oc)*a.Oc};function Li(a){P.call(this,a);this.q=new Ji;D(this.q,"change",this.xi,false,this)}t(Li,P);var Mi={Ch:"vertical",pj:"horizontal"};m=Li.prototype;m.C="horizontal";m.gf=false;m.Mi=false;m.qb=10;m.pd=0;m.d=function(){Li.b.d.call(this);this.A(this.i().d("div",this.k(this.C)))};
m.A=function(a){Li.b.A.call(this,a);H(a,this.k(this.C));a=this.a();var b=vc(null,"goog-slider-thumb",a)[0];if(!b){b=this.i().d("div","goog-slider-thumb");ae(b,"button");b=b;a.appendChild(b)}this.R=this.va=b;ae(this.a(),"slider");Ni(this)};
m.n=function(){Li.b.n.call(this);this.Be=new Uc(this.R);this.lg=new Uc(this.va);this.Be.Oe=this.lg.Oe=q;this.ha=new Ne(this.a());this.ie=new Ei(this.a());this.H().f(this.Be,"beforedrag",this.rg).f(this.lg,"beforedrag",this.rg).f(this.ha,"key",this.Ye).f(this.a(),"mousedown",this.ui).f(this.ie,"mousewheel",this.vi);this.a().tabIndex=0;Oi(this)};
m.rg=function(a){var b=a.jg==this.Be?this.R:this.va,c;if(this.C=="vertical"){c=this.a().clientHeight-b.offsetHeight;c=(c-a.top)/c*(this.ra()-this.na())+this.na()}else{c=this.a().clientWidth-b.offsetWidth;c=a.left/c*(this.ra()-this.na())+this.na()}c=a.jg==this.Be?Math.min(Math.max(c,this.na()),this.s()+this.Rb()):Math.min(Math.max(c,this.s()),this.ra());Pi(this,b,c)};
m.Ye=function(a){var b=true;switch(a.keyCode){case 36:Qi(this,this.na());break;case 35:Qi(this,this.ra());break;case 33:Ri(this,this.qb);break;case 34:Ri(this,-this.qb);break;case 37:case 40:Ri(this,a.shiftKey?-this.qb:-this.Kf);break;case 39:case 38:Ri(this,a.shiftKey?this.qb:this.Kf);break;default:b=false}b&&a.preventDefault()};
m.ui=function(a){this.a().focus&&this.a().focus();var b=a.target;if(!Kc(this.R,b)&&!Kc(this.va,b))if(this.Mi)Qi(this,Si(this,a));else{this.Gf(a);this.Ia=Ti(this,Si(this,a));this.Ag=this.C=="vertical"?this.ce<this.Ia.offsetTop:this.ce>this.Ia.offsetLeft+this.Ia.offsetWidth;a=J(this.a());this.H().f(a,"mouseup",this.ug,true).f(this.a(),"mousemove",this.Gf);if(!this.zb){this.zb=new Qd(200);this.H().f(this.zb,Sd,this.vg)}this.vg();this.zb.start()}};m.vi=function(a){Ri(this,(a.detail>0?-1:1)*this.Kf);a.preventDefault()};
m.vg=function(){var a;if(this.C=="vertical"){var b=this.ce,c=this.Ia.offsetTop;if(this.Ag){if(b<c)a=Ui(this,this.Ia)+this.qb}else if(b>c+this.Ia.offsetHeight)a=Ui(this,this.Ia)-this.qb}else{b=this.ce;c=this.Ia.offsetLeft;if(this.Ag){if(b>c+this.Ia.offsetWidth)a=Ui(this,this.Ia)+this.qb}else if(b<c)a=Ui(this,this.Ia)-this.qb}a!==undefined&&Pi(this,this.Ia,a)};m.ug=function(){this.zb&&this.zb.stop();var a=J(this.a());this.H().ja(a,"mouseup",this.ug,true).ja(this.a(),"mousemove",this.Gf)};
function Vi(a,b){var c=md(b,a.a());return a.C=="vertical"?c.y:c.x}m.Gf=function(a){this.ce=Vi(this,a)};function Si(a,b){var c=a.na(),d=a.ra();if(a.C=="vertical"){var f=a.R.offsetHeight,g=a.a().clientHeight-f;f=Vi(a,b)-f/2;return(d-c)*(g-f)/g+c}else{f=a.R.offsetWidth;g=a.a().clientWidth-f;f=Vi(a,b)-f/2;return(d-c)*f/g+c}}function Ui(a,b){if(b==a.R)return a.q.s();else if(b==a.va)return a.q.s()+a.q.Rb();else throw Error("Illegal thumb element. Neither minThumb nor maxThumb");}
function Ri(a,b){var c=Ui(a,a.R)+b,d=Ui(a,a.va)+b;c=Math.min(Math.max(c,a.na()),a.ra()-a.pd);d=Math.min(Math.max(d,a.na()+a.pd),a.ra());Wi(a,c,d-c)}function Pi(a,b,c){var d=null;if(b==a.va&&c<=a.q.ra()&&c>=a.q.s()+a.pd)d=c-a.q.s();var f=d||a.q.Rb();if(b==a.R&&c>=a.na()&&c<=a.q.s()+f-a.pd){b=f-(c-a.q.s());if(Ki(a.q,c)+Ki(a.q,b)==Ki(a.q,c+b)){Wi(a,c,b);d=null}}d!=null&&a.q.Ad(d)}
function Wi(a,b,c){if(a.na()<=b&&b<=a.ra()-c&&a.pd<=c&&c<=a.ra()-b)if(!(b==a.s()&&c==a.Rb())){a.q.Fc=true;a.q.Ad(0);a.q.ia(b);a.q.Ad(c);a.q.Fc=false;Oi(a);a.dispatchEvent("change")}}m.na=function(){return this.q.na()};m.te=function(a){this.q.te(a)};m.ra=function(){return this.q.ra()};m.se=function(a){this.q.se(a)};function Ti(a,b){return b<=a.q.s()+a.q.Rb()/2?a.R:a.va}m.xi=function(){Oi(this);Ni(this);this.dispatchEvent("change")};
function Oi(a){if(a.R&&!a.gf){var b=Xi(a,Ui(a,a.R)),c=Xi(a,Ui(a,a.va));if(a.C=="vertical"){a.R.style.top=b.y+"px";a.va.style.top=c.y+"px"}else{a.R.style.left=b.x+"px";a.va.style.left=c.x+"px"}}}function Xi(a,b){var c=new G;if(a.R){var d=a.na(),f=a.ra();d=b==d&&d==f?0:(b-d)/(f-d);if(a.C=="vertical"){f=a.R.offsetHeight;f=a.a().clientHeight-f;c.y=f-Math.round(d*f)}else{f=a.a().clientWidth-a.R.offsetWidth;c.x=Math.round(d*f)}}return c}
function Qi(a,b){b=Math.min(a.ra(),Math.max(b,a.na()));a.Yc&&a.Yc.stop(true);var c=Ti(a,b),d=Xi(a,b);d=new Ii(c,a.C=="vertical"?[c.offsetLeft,d.y]:[d.x,c.offsetTop],100);a.Yc=d;a.H().f(d,"end",a.ei);a.gf=true;Pi(a,c,b);d.play(false)}m.ei=function(){this.gf=false};m.Cd=function(a){if(this.C!=a){var b=this.k(this.C),c=this.k(a);this.C=a;if(this.a()){tc(this.a(),b,c);this.R.style.left=this.R.style.top="";this.va.style.left=this.va.style.top="";Oi(this)}}};
m.e=function(){Li.b.e.call(this);this.zb&&this.zb.w();delete this.zb;this.Yc&&this.Yc.w();delete this.Yc;delete this.R;delete this.va;this.q.w();delete this.q;if(this.ha){this.ha.w();delete this.ha}if(this.ie){this.ie.w();delete this.ie}};m.Kf=1;m.s=function(){return this.q.s()};m.ia=function(a){Pi(this,this.R,a)};m.Rb=function(){return this.q.Rb()};m.Ad=function(a){Pi(this,this.va,this.q.s()+a)};m.l=function(a){O(this.a(),a);a&&Oi(this)};
function Ni(a){var b=a.a();if(b){be(b,"valuemin",a.na());be(b,"valuemax",a.ra());be(b,"valuenow",a.s())}};function Yi(a){Li.call(this,a);this.q.Ad(0)}t(Yi,Li);Yi.prototype.k=function(a){return a=="vertical"?"goog-slider-vertical":"goog-slider-horizontal"};function Zi(){this.ah=false;this.Mc=[];this.eh=[];this.data=Array($i);this.ph=[];this.Wa=0;this.Hf=new Qd(1E3)}t(Zi,N);var $i=512;function aj(){C.call(this,"console-change-event")}t(aj,C);m=Zi.prototype;m.getData=e("data");
function bj(a){if(!a.ah){var b=new Bi;a.Zb=new Di("Previous Page");a.Gc=new Di("Next Page");a.Zb.M(false);var c=new Di("Blackout");c.Ed("Set all channels to 0");var d=new Di("Full");d.Ed("Set all channels to full");b.oa(a.Zb,true);b.oa(a.Gc,true);b.oa(new zi,true);b.oa(c,true);b.oa(d,true);b.W(K("console_toolbar"));D(a.Zb,"action",a.Kh,false,a);D(a.Gc,"action",a.Jh,false,a);D(c,"action",a.Gh,false,a);D(d,"action",a.Ih,false,a);c=K("channel_values");for(b=0;b<$i;++b){d=M("div");d.innerHTML=0;d.title=
"Channel "+(b+1);c.appendChild(d);a.ph.push(d)}c=K("console_channel_row");d=K("console_value_row");var f=K("console_slider_row");for(b=0;b<16;++b){var g=M("td");g.innerHTML=b+1;c.appendChild(g);g=M("td");g.innerHTML="0";d.appendChild(g);a.eh.push(g);g=M("td");f.appendChild(g);var h=new Yi;h.Cd(Mi.Ch);h.te(0);h.se(255);h.W(g);D(h,"change",function(i){return function(){var j=this.Mc[i].s();this.eh[i].innerHTML=j;var l=this.Wa+i;cj(this,l,j);if(this.data[l]!=j){this.data[l]=j;this.dispatchEvent(new aj)}}}(b),
false,a);a.Mc.push(h)}a.ah=true;dj(a,0);D(a.Hf,Sd,function(){this.dispatchEvent(new aj)},false,a)}}m.update=function(){this.Wa==0?this.Zb.M(false):this.Zb.M(true);this.Wa==$i-16?this.Gc.M(false):this.Gc.M(true);ej(this);for(var a=0;a<this.Mc.length;++a)this.Mc[a].ia(this.data[a]);var b=this.data.length;for(a=0;a<b;++a)cj(this,a,this.data[a])};m.Jh=function(){this.Wa+=16;this.Zb.M(true);var a=$i-16;if(this.Wa>=a){this.Wa=a;this.Gc.M(false)}ej(this)};
m.Kh=function(){this.Wa-=16;this.Gc.M(true);if(this.Wa<=0){this.Wa=0;this.Zb.M(false)}ej(this)};function ej(a){var b=K("console_channel_row");b=Hc(b);for(var c=a.Wa;c<a.data.length&&b!=undefined;){b.innerHTML=c+1;c++;b=Jc(b)}}m.Gh=function(){dj(this,0)};m.Ih=function(){dj(this,255)};function dj(a,b){for(var c=a.data.length,d=0;d<c;++d){a.data[d]=b;cj(a,d,b)}for(d=0;d<a.Mc.length;++d)a.Mc[d].ia(b);a.dispatchEvent(new aj)}
function cj(a,b,c){a=a.ph[b];if(a!=undefined){a.innerHTML=c;b=255-c;a.style.background="rgb("+b+","+b+","+b+")";a.style.color=c>90?"#ffffff":"#000000"}};function fj(a,b,c,d){this.p=c||I();this.qa=a;this.Ga=[];this.kj=b?b:gj;this.oh=!!d;this.qa.className="goog-tabpane";a=[];for(b=Hc(this.qa);b;){a.push(b);b=Jc(b)}this.ua=this.p.d("ul",{className:"goog-tabpane-tabs",tabIndex:"0"});this.G=this.p.d("div","goog-tabpane-cont");this.qa.appendChild(this.G);switch(this.kj){case gj:this.qa.insertBefore(this.ua,this.G);this.qa.insertBefore(hj(this),this.G);H(this.qa,"goog-tabpane-top");break;case 1:this.qa.appendChild(this.ua);this.qa.appendChild(hj(this));
H(this.qa,"goog-tabpane-bottom");break;case 2:this.qa.insertBefore(this.ua,this.G);H(this.qa,"goog-tabpane-left");break;case 3:this.qa.insertBefore(this.ua,this.G);H(this.qa,"goog-tabpane-right");break;default:throw Error("Invalid tab location");}this.ua.tabIndex=0;D(this.ua,this.oh?"mousedown":E,this.ke,false,this);D(this.ua,gc,this.le,false,this);for(c=0;b=a[c];c++)ij(this,new jj(b))}t(fj,N);var gj=0;
function hj(a){sd(".goog-tabpane-clear { clear: both; height: 0px; overflow: hidden }");return a.p.d("div","goog-tabpane-clear")}m=fj.prototype;m.e=function(){fj.b.e.call(this);bc(this.ua,this.oh?"mousedown":E,this.ke,false,this);bc(this.ua,gc,this.le,false,this);delete this.qa;this.G=this.ua=null};
function ij(a,b,c){if(b.z&&b.z!=a&&b.z instanceof fj){var d=b.z,f=b;if(ha(f))f=d.Ga[f];d.Ga.splice(f.wc,1);f.Dd(null);Gc(f.qc);Gc(f.G);for(var g=0;f=d.Ga[g];g++)f.Dd(d,g)}d=a.Ga.length;if(c!==undefined&&c!=d){d=c;a.Ga.splice(d,0,b);a.ua.insertBefore(b.qc,a.ua.childNodes[d])}else{a.Ga.push(b);a.ua.appendChild(b.qc)}b.Dd(a,d);if(!a.Ha){a.Ha=b;a.dispatchEvent(new kj("change",a,a.Ha))}a.G.appendChild(b.G);lj(b,b==a.Ha);for(c=d+1;b=a.Ga[c];c++)b.wc=c}
m.ta=function(a){if(a>=0&&a<this.Ga.length){a=this.Ga[a];if(a.B()&&(!this.Ha||a!=this.Ha)){lj(this.Ha,false);lj(a,true);this.Ha=a;this.dispatchEvent(new kj("change",this,this.Ha))}}};m.xb=function(){return this.Ha?this.Ha.wc:-1};m.L=function(){return this.G||null};m.a=function(){return this.qa||null};m.ke=function(a){for(var b=a.target;b!=this.ua;){if(b.tagName=="LI"){var c;for(c=0;b=b.previousSibling;c++);this.ta(c);break}b=b.parentNode}a.preventDefault()};
m.le=function(a){if(!(a.altKey||a.metaKey||a.ctrlKey))switch(a.keyCode){case 37:a=this.Ha.wc-1;this.ta(a<0?this.Ga.length-1:a);break;case 39:a=this.Ha.wc+1;this.ta(a>=this.Ga.length?0:a);break;case 36:this.ta(0);break;case 35:this.ta(this.Ga.length-1);break}};function jj(a,b,c){var d,f;if(s(a)&&b===undefined)d=a;else if(b){d=b;f=a}else if(a){if(b=Hc(a)){d=Pc(b);b.parentNode.removeChild(b)}f=a}this.p=c||I();this.G=f||this.p.d("div");this.qc=this.p.d("li",null,d);this.wc=this.z=null;this.Q=true}m=jj.prototype;
m.ca=function(a){Lc(this.qc,a)};m.L=e("G");m.M=function(a){this.Q=a;this.qc.className=a?"goog-tabpane-tab":"goog-tabpane-tab-disabled"};m.B=e("Q");function lj(a,b){if(a.B()){a.G.style.display=b?"":"none";a.qc.className=b?"goog-tabpane-tab-selected":"goog-tabpane-tab"}}m.Dd=function(a,b){this.z=a;this.wc=b!==undefined?b:null};function kj(a,b,c){C.call(this,a,b);this.page=c}t(kj,C);function mj(a,b){P.call(this,b);this.data=a}t(mj,P);mj.prototype.K=k(false);mj.prototype.d=function(){var a=this.p.d("tr",{});a.style.cursor="pointer";var b=L("td",{},"");this.p.appendChild(a,b);this.rb=new th;this.rb.W(b);this.p.appendChild(a,L("td",{},this.data.device));this.p.appendChild(a,L("td",{},this.data.is_output?"Output":"Input"));this.p.appendChild(a,L("td",{},this.data.description));this.c=a;D(a,E,function(){this.rb.Pc()},false,this)};mj.prototype.td=function(){return this.data.id};
mj.prototype.nd=function(){return this.rb.Ac()};function nj(a){P.call(this,a)}t(nj,P);m=nj.prototype;m.d=function(){this.A(this.p.createElement("tbody"))};m.A=function(a){nj.b.A.call(this,a)};m.K=function(a){return a.tagName=="TBODY"};function oj(a){for(var b=[],c=Q(a),d=0;d<c;++d){var f=R(a,d);f.nd()&&b.push(f.td())}return b}m.wf=function(){for(;Q(this);)delete this.removeChild(R(this,0),true)};
m.update=function(a){var b=this;Qg(X.g(),a,function(c){if(rg(c.target)!=200)W.Ec.info(String(c.target.cb)+" : "+tg(c.target));else{b.wf();c=sg(c.target);for(var d=c.length,f=0;f<d;++f)b.oa(new mj(c[f]),true)}})};W=W||{};function pj(a){this.element=K(a)}pj.prototype.Ka=function(){this.element.style.display="block"};pj.prototype.hc=function(){this.element.style.display="none"};W=W||{};function qj(a){this.Fe=a.device_id;this.Xc=a.manufacturer_id;this.Vc=a.device;this.Wc=a.manufacturer}t(qj,rf);qj.prototype.id=e("Gd");function rj(a,b,c){if(b<0)b=4294967295+b+1;for(a=b.toString(16);a.length<c;)a="0"+a;return a}function qi(a){return rj(a,a.Xc,4)+":"+rj(a,a.Fe,8)}qj.prototype.toString=function(){var a="";if(this.Wc)a+=this.Wc;if(this.Wc&&this.Vc)a+=", ";if(this.Vc)a+=this.Vc;if(this.Wc||this.Vc)a+=" [";a+=qi(this);if(this.Wc||this.Vc)a+="]";return a};
qj.prototype.Ld=function(a){if(this.Xc>a.Xc)return 1;else if(this.Xc<a.Xc)return-1;return this.Fe-a.Fe};function sj(a,b,c,d){sf.call(this,a,b,c,d);this.t(a.toString())}t(sj,sf);sj.prototype.n=function(){tj.b.n.call(this);this.a().title=this.item().toString()};sj.prototype.update=function(a){this.t(a.toString())};function uj(a){this.Kb=a}uj.prototype.qd=function(a){return new sj(a,this.Kb)};W=W||{};W.Ah=5E3;
function vj(a,b){this.element=K(a);this.rf=b;this.P=undefined;this.nb=new fj(K(a+"_tab_pane"));ij(this.nb,new jj(K("tab_page_1"),"Settings"));ij(this.nb,new jj(K("tab_page_2"),"RDM"));ij(this.nb,new jj(K("tab_page_3"),"Console"));D(this.nb,"change",this.He,false,this);wj(this);this.nb.ta(1);xj(this);this.nb.ta(0);this.Pb=new Zi;D(this.Pb,"console-change-event",this.Hh,false,this);var c=X.g();D(c,"universe_change",this.Ph,false,this);D(c,"uids_change",this.Sh,false,this);this.ze=new Qd(W.Ah);D(this.ze,
Sd,function(){this.P!=undefined&&Wg(X.g(),this.P)},false,this)}t(vj,pj);function wj(a){var b=K("universe_save_button");Me(b);D(b,E,function(){yj(this,false)},false,a);a.of=Me(K("universe_merge_mode"));a.$d=new Yh;a.$d.m(K("input_ports"));a.oe=new Yh;a.oe.m(K("output_ports"));new ki("additional_ports_expander","additional_ports");a.Jb=new nj;a.Jb.m(K("universe_available_ports"))}
function xj(a){var b=K("force_discovery_button");Me(b);D(b,E,function(){zj(this)},false,a);a.ue=new ve(new P,new P,"horizontal");a.ue.ff=250;a.ue.uc=2;a.ue.m(K("rdm_split_pane"));var c=new ni("rdm_attributes");a.Xg=c;b=new U;b.m(K("uid_container"));a.nj=new tf(b,new uj(function(d){oi(c,d)}))}
function Aj(a){var b=K("ola-splitpane-content");b=wd(b);var c=a.nb.xb();if(c==0)xd(K("tab_page_1"),new F(b.width-7,b.height-34));else if(c==1)ye(a.ue,new F(b.width-7,b.height-62));else c==2&&xd(K("tab_page_3"),new F(b.width-7,b.height-34))}m=vj.prototype;m.Ka=function(a,b){if(this.P!=a){for(var c=this.Pb,d=c.data.length,f=0;f<d;++f)c.data[f]=0;c.Wa=0;c=this.Xg;c.P=a;c.Zc=undefined;this.Xg.clear()}this.P=a;vj.b.Ka.call(this);b&&this.nb.ta(0);this.He()};m.hc=function(){this.ze.stop();vj.b.hc.call(this)};
m.He=function(){var a=this.nb.xb();if(this.element.style.display=="block"){var b=X.g();this.ze.stop();this.Pb.Hf.stop();Aj(this);if(a==0){Pg(b,this.P);this.Jb.update(this.P)}else if(a==1){Wg(b,this.P);this.ze.start()}else if(a==2){bj(this.Pb);this.Pb.update();this.Pb.Hf.start()}}};
m.Ph=function(a){if(this.P!=a.fc.id)W.Ec.info("Mismatched universe, expected "+this.P+", got "+a.fc.id);else{K("universe_id").innerHTML=a.fc.id;K("universe_name").value=a.fc.name;a.fc.merge_mode=="HTP"?this.of.ta(0):this.of.ta(1);this.$d.update(a.fc.input_ports);this.oe.update(a.fc.output_ports)}};m.Sh=function(a){if(a.nh==this.P){for(var b=[],c=0;c<a.mh.length;++c)b.push(new qj(a.mh[c]));uf(this.nj,b)}else W.Ec.info("RDM universe mismatch, was "+a.nh+", expected "+this.P)};
function Bj(a,b,c){var d=b.vf();if(d!=undefined){a={};a.id=b.td();a.vf=d;b=b.eb?b.eb.s():void 0;if(b!=undefined)a.Lg=b=="Inherit"?0:1;c.push(a)}}
function yj(a,b){for(var c=$.g(),d=[],f=[],g=false,h=Q(a.$d),i=0;i<h;++i){var j=R(a.$d,i);if(j.nd()){g=true;Bj(a,j,d)}else f.push(j.td())}h=Q(a.oe);for(i=0;i<h;++i){j=R(a.oe,i);if(j.nd()){g=true;Bj(a,j,d)}else f.push(j.td())}h=oj(a.Jb);if(!g&&h.length==0)if(b)a.uh=true;else{D(c,le,a.Mh,false,a);c.ca("Confirm Universe Removal");S(c,ne);c.t("Removing all ports will cause this universe to be deleted. Is this ok?");c.l(true);return}else a.uh=false;g=K("universe_name").value;if(g==""){c.ca("Empty Universe Name");
S(c,me);c.t("The universe name cannot be empty")}else{Xg(X.g(),a.P,g,a.of.s(),d,f,h,function(l){var o=$.g();if(rg(l.target)==200){o.l(false);a.uh&&a.rf.Uc();a.He()}else{o.ca("Failed to Save Settings");o.t(String(l.target.cb)+" : "+tg(l.target));S(o,me);o.l(true)}});c=$.g();li(c)}c.l(true)}m.Mh=function(a){var b=$.g();if(a.key=="yes"){b.l(false);yj(this,true)}};
function zj(a){Sg(X.g(),a.P,function(b){var c=$.g();S(c,me);if(rg(b.target)==200){c.ca("Discovery Process Started");c.t("The discovery process has begun.")}else{c.ca("Failed to Start Discovery Process");c.t(String(b.target.cb)+" : "+tg(b.target))}c.l(true)});a=$.g();li(a);a.l(true)}m.Hh=function(){var a=this.Pb.getData();Yg(X.g(),this.P,a)};function xi(a,b,c){Gh.call(this,a,b||Jh.g(),c)}t(xi,Gh);Ie("goog-custom-button",function(){return new xi(null)});function Cj(a){P.call(this,a)}t(Cj,P);Cj.prototype.d=function(){this.A(this.p.createElement("tbody"))};Cj.prototype.A=function(a){Cj.b.A.call(this,a)};Cj.prototype.K=function(a){return a.tagName=="TBODY"};function Dj(a,b){P.call(this,b);this.La=a}t(Dj,P);Dj.prototype.item=e("La");Dj.prototype.K=k(false);Dj.prototype.d=function(){this.c=this.p.d("tr",{},L("td",{},this.La.id().toString()),L("td",{},this.La.name()),L("td",{},this.La.Qf.toString()),L("td",{},this.La.Rf.toString()),L("td",{},this.La.Tf.toString()))};
Dj.prototype.update=function(a){var b=this.a();b=Hc(b);b=Jc(b);b.innerHTML=a.name();b=Jc(b);b.innerHTML=a.Qf.toString();b=Jc(b);b.innerHTML=a.Rf.toString();b=Jc(b);b.innerHTML=a.Tf.toString()};function Ej(){}Ej.prototype.qd=function(a){return new Dj(a)};
function Fj(a){var b=X.g();this.element=K(a);a=K("reload_button");Me(a);D(a,E,this.Lh,false,this);a=K("stop_button");Me(a);D(a,E,this.Nh,false,this);a=K("new_universe_button");Me(a);D(b,"server_info_change",this.Rh,false,this);D(b,"universe_list_change",this.Oh,false,this);Kg(b);b=new Cj;b.m(K("active_universe_list"));this.Lf=new tf(b,new Ej)}t(Fj,pj);m=Fj.prototype;
m.Rh=function(a){K("server_hostname").innerHTML=a.ac.hostname;K("server_ip").innerHTML=a.ac.ip;K("server_broadcast").innerHTML=a.ac.broadcast;K("server_mac").innerHTML=a.ac.hw_address;K("server_version").innerHTML=a.ac.version;K("server_uptime").innerHTML=a.ac.up_since;if(!a.ac.quit_enabled)K("stop_button").style.display="none"};m.Oh=function(a){for(var b=[],c=0;c<a.pb.length;++c)b.push(new vf(a.pb[c]));uf(this.Lf,b)};
m.Nh=function(){var a=$.g();D(a,le,this.Uf,false,this);a.ca("Please confirm");S(a,ne);a.t("Are you sure? OLA may not be configured to restart automatically");a.l(true)};m.Uf=function(a){var b=$.g();bc(b,le,this.Uf,false,this);if(a.key=="yes"){li(b);b.l(true);Mg(X.g(),function(c){var d=$.g();if(rg(c.target)==200)d.l(false);else{d.ca("Failed to stop the server");d.t(String(c.target.cb)+" : "+tg(c.target));S(d,me)}});return false}};
m.Lh=function(){var a=$.g();li(a);a.l(true);Lg(X.g(),function(b){var c=$.g();if(rg(b.target)==200)c.l(false);else{c.ca("Failed to Reload plugins");c.t(String(b.target.cb)+" : "+tg(b.target));S(c,me)}})};W=W||{};function Gj(a,b){this.element=K(a);this.rf=b;var c=K("cancel_new_universe_button");Me(c);D(c,E,b.Uc,false,b);c=K("confirm_new_universe_button");Me(c);D(c,E,this.Fh,false,this);this.Jb=new nj;this.Jb.m(K("available_ports"))}t(Gj,pj);Gj.prototype.Ka=function(){K("new_universe_id").value="";K("new_universe_name").value="";this.Jb.update();vj.b.Ka.call(this)};
Gj.prototype.Fh=function(){var a=$.g(),b=K("new_universe_id");b=parseInt(b.value);if(isNaN(b)||b<0||b>65535){a.ca("Invalid Universe Number");S(a,me);a.t("The universe number must be between 0 and 65535")}else{var c=X.g();if(c.pb[b]!=undefined){a.ca("Universe already exists");S(a,me);a.t("Universe "+b+" already exists")}else{var d=K("new_universe_name").value,f=oj(this.Jb);if(f.length==0){a.ca("No ports selected");S(a,me);a.t("At least one port must be bound to the universe")}else{var g=this;Rg(c,
b,d,f,function(h){var i=$.g();if(rg(h.target)!=200){i.ca("New Universe Failed");i.t(String(h.target.cb)+" : "+tg(h.target));S(i,me);i.l(true)}else{h=sg(h.target);if(h.ok){i.l(false);i=g.rf;h=h.universe;Hj(i);i.Rc.Ka(h,true);Ng(X.g())}else{i.ca("New Universe Failed");S(i,me);i.t(h.message);i.l(true)}}});li(a)}}}a.l(true)};W=W||{};function Ij(a){this.element=K(a);D(X.g(),"plugin_change",this.Eh,false,this)}t(Ij,pj);Ij.prototype.Eh=function(a){K("plugin_description").innerHTML=a.Zi.description};function Jj(a){this.gc=a||window;this.ee=D(this.gc,"resize",this.yi,false,this);this.Lc=Ac(this.gc||window);if(y&&Ja||Oa&&this.gc.self!=this.gc.top)this.Ce=window.setInterval(na(this.cg,this),Kj)}t(Jj,N);var Kj=500;m=Jj.prototype;m.ee=null;m.gc=null;m.Lc=null;m.Ce=null;m.qg=function(){return this.Lc?this.Lc.Na():null};m.e=function(){Jj.b.e.call(this);if(this.ee){dc(this.ee);this.ee=null}if(this.Ce){window.clearInterval(this.Ce);this.Ce=null}this.Lc=this.gc=null};m.yi=function(){this.cg()};
m.cg=function(){var a=Ac(this.gc||window);if(!mc(a,this.Lc)){this.Lc=a;this.dispatchEvent("resize")}};W.qj={};W=W||{};W.wh=5E3;W.vh="home_frame";W.Bh="universe_frame";W.yh="plugin_frame";W.Of="split_pane";W.xh="new_universe_frame";function tj(a,b,c,d){sf.call(this,a,b,c,d);this.t(a.name())}t(tj,sf);tj.prototype.n=function(){tj.b.n.call(this);this.a().title="Universe "+this.La.id()};function Lj(a,b,c,d){sf.call(this,a,b,c,d);this.t(a.name())}t(Lj,sf);Lj.prototype.n=function(){Lj.b.n.call(this);this.a().title=this.La.name()+" Plugin"};function Mj(a){this.Kb=a}
Mj.prototype.qd=function(a){return new tj(a,this.Kb)};function Nj(a){this.Kb=a}Nj.prototype.qd=function(a){return new Lj(a,this.Kb)};
function Oj(){this.Ii=new mh;this.Hc=X.g();this.yg=new Fj(W.vh);this.Rc=new vj(W.Bh,this);this.Tg=new Ij(W.yh,this.Hc);this.Ng=new Gj(W.xh,this);D(K("new_universe_button"),E,this.Dh,false,this);var a=new P,b=new P;this.ve=new ve(a,b,"horizontal");this.ve.ff=130;this.ve.uc=2;this.ve.m(K(W.Of));this.rh=new Jj;this.Pf();D(this.rh,"resize",this.Pf,false,this);Pj(this);this.Uc();K(W.Of).style.visibility="visible"}
function Pj(a){var b=K("home_control");Me(b);D(b,E,a.Uc,false,a);new ki("plugin_list_control","plugin_container");new ki("universe_list_control","universe_container");b=new U;b.m(K("plugin_container"));a.$i=new tf(b,new Nj(function(c){c=c.id();Og(a.Hc,c);Hj(a);a.Tg.Ka()}));D(a.Hc,"plugin_list_change",a.Qh,false,a);b=new U;b.m(K("universe_container"));a.Lf=new tf(b,new Mj(function(c){c=c.id();Hj(a);a.Rc.Ka(c,void 0)}));D(a.Hc,"universe_list_change",a.Th,false,a);a.lh=new Qd(W.wh);D(a.lh,Sd,function(){Ng(this)},
false,a.Hc);Ng(a.Hc);a.lh.start()}m=Oj.prototype;m.Th=function(a){var b=this.Rc.P,c=[],d=false;W.Ec.info("Got "+a.pb.length+" universes");for(var f=0;f<a.pb.length;++f){var g=new vf(a.pb[f]);if(g.id()==b)d=true;c.push(g)}uf(this.Lf,c);if(this.Rc.element.style.display=="block"&&!d){a=$.g();a.ca("Universe "+b+" Removed");S(a,me);a.t("This universe has been removed by another user.");a.l(true);this.Uc()}};
m.Qh=function(a){for(var b=[],c=0;c<a.plugins.length;++c)b.push(new wf(a.plugins[c]));uf(this.$i,b)};m.Uc=function(){Hj(this);this.yg.Ka()};m.Dh=function(){Hj(this);this.Ng.Ka()};function Hj(a){a.yg.hc();a.Rc.hc();a.Tg.hc();a.Ng.hc()}m.Pf=function(){var a=this.rh.qg();ye(this.ve,new F(a.width,a.height-80));var b=this.Ii;xd(K("log_popup"),new F(0.75*a.width,0.5*a.height));b.Eb.Cf(new kh(b.ge,3));Aj(this.Rc)};W.zh=function(){new Oj};var Qj=W.zh,Rj="ola.Setup".split("."),Sj=n;
!(Rj[0]in Sj)&&Sj.execScript&&Sj.execScript("var "+Rj[0]);for(var Tj;Rj.length&&(Tj=Rj.shift());)if(!Rj.length&&Qj!==undefined)Sj[Tj]=Qj;else Sj=Sj[Tj]?Sj[Tj]:Sj[Tj]={};