function e(){return function(){}}function aa(a){return function(b){this[a]=b}}function n(a){return function(){return this[a]}}function p(a){return function(){return a}}var s,ca=ca||{},t=this;function ea(a,b,c){a=a.split(".");c=c||t;!(a[0]in c)&&c.execScript&&c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)if(!a.length&&b!==undefined)c[d]=b;else c=c[d]?c[d]:(c[d]={})}function fa(a,b){a=a.split(".");b=b||t;for(var c;c=a.shift();)if(b[c])b=b[c];else return null;return b}function ga(){}
function ha(a){a.getInstance=function(){return a.Bn||(a.Bn=new a)}}
function ia(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 ja(a){return ia(a)=="array"}function ka(a){var b=ia(a);return b=="array"||b=="object"&&typeof a.length=="number"}function u(a){return typeof a=="string"}function la(a){return typeof a=="number"}function ma(a){return ia(a)=="function"}function na(a){a=ia(a);return a=="object"||a=="array"||a=="function"}function oa(a){if(a.hasOwnProperty&&a.hasOwnProperty(pa))return a[pa];a[pa]||(a[pa]=++ra);return a[pa]}
var pa="closure_hashCode_"+Math.floor(Math.random()*2147483648).toString(36),ra=0;function sa(a){var b=ia(a);if(b=="object"||b=="array"){if(a.clone)return a.clone.call(a);b=b=="array"?[]:{};for(var c in a)b[c]=sa(a[c]);return b}return a}
function v(a,b){var c=b||t;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 ta(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 ua=Date.now||function(){return+new Date};
function y(a,b){b=b||{};for(var c in b)a=a.replace(new RegExp("\\{\\$"+c+"\\}","gi"),b[c]);return a}function B(a,b){function c(){}c.prototype=b.prototype;a.c=b.prototype;a.prototype=new c;a.prototype.constructor=a};function va(a){return a[a.length-1]}
var wa=Array.prototype,xa=wa.indexOf?function(a,b,c){return wa.indexOf.call(a,b,c)}:function(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(u(a)){if(!u(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},F=wa.forEach?function(a,b,c){wa.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=u(a)?a.split(""):a,g=0;g<d;g++)g in f&&b.call(c,f[g],g,a)},ya=wa.filter?function(a,b,c){return wa.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,
f=[],g=0,h=u(a)?a.split(""):a,i=0;i<d;i++)if(i in h){var l=h[i];if(b.call(c,l,i,a))f[g++]=l}return f},za=wa.map?function(a,b,c){return wa.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=[],g=0,h=u(a)?a.split(""):a,i=0;i<d;i++)if(i in h)f[g++]=b.call(c,h[i],i,a);return f},Aa=wa.some?function(a,b,c){return wa.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=u(a)?a.split(""):a,g=0;g<d;g++)if(g in f&&b.call(c,f[g],g,a))return true;return false},Ba=wa.every?function(a,b,c){return wa.every.call(a,
b,c)}:function(a,b,c){for(var d=a.length,f=u(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 Ca(a,b,c){a:{for(var d=a.length,f=u(a)?a.split(""):a,g=0;g<d;g++)if(g in f&&b.call(c,f[g],g,a)){b=g;break a}b=-1}return b<0?null:u(a)?a.charAt(b):a[b]}function Da(a,b){return xa(a,b)>=0}function Ea(a,b){b=xa(a,b);var c;if(c=b>=0)wa.splice.call(a,b,1);return c}
function Fa(a){if(ja(a))return a.concat();else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}}function Ga(a){if(ja(a))return a.concat();return Fa(a)}function Ha(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];if(ka(c)){c=Ga(c);a.push.apply(a,c)}else a.push(c)}}function Ia(a){return wa.splice.apply(a,Ja(arguments,1))}function Ja(a,b,c){return arguments.length<=2?wa.slice.call(a,b):wa.slice.call(a,b,c)};function Ka(a){return/^[\s\xa0]*$/.test(a)}function La(a){return!/[^\t\n\r ]/.test(a)}function Ma(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")}function Na(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")}
function Oa(a,b){if(b)return a.replace(Ra,"&amp;").replace(Sa,"&lt;").replace(Ta,"&gt;").replace(Ua,"&quot;");else{if(!Va.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(Ra,"&amp;");if(a.indexOf("<")!=-1)a=a.replace(Sa,"&lt;");if(a.indexOf(">")!=-1)a=a.replace(Ta,"&gt;");if(a.indexOf('"')!=-1)a=a.replace(Ua,"&quot;");return a}}var Ra=/&/g,Sa=/</g,Ta=/>/g,Ua=/\"/g,Va=/[&<>\"]/;
function Wa(a){var b=t.document.createElement("a");b.innerHTML=a;b[Xa]&&b[Xa]();a=b.firstChild.nodeValue;b.innerHTML="";return a}function Ya(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if(c.charAt(0)=="#"){c=Number("0"+c.substr(1));if(!isNaN(c))return String.fromCharCode(c)}return b}})}var Xa="normalize";function Za(a,b){return Na(a.replace(/  /g," &#160;"),b)}
function $a(a,b){return a.indexOf(b)!=-1}function ab(){return Array.prototype.join.call(arguments,"")}
function bb(a,b){var c=0;a=Ma(String(a)).split(".");b=Ma(String(b)).split(".");for(var d=Math.max(a.length,b.length),f=0;c==0&&f<d;f++){var g=a[f]||"",h=b[f]||"",i=new RegExp("(\\d*)(\\D*)","g"),l=new RegExp("(\\d*)(\\D*)","g");do{var m=i.exec(g)||["","",""],r=l.exec(h)||["","",""];if(m[0].length==0&&r[0].length==0)break;c=m[1].length==0?0:parseInt(m[1],10);var z=r[1].length==0?0:parseInt(r[1],10);c=cb(c,z)||cb(m[2].length==0,r[2].length==0)||cb(m[2],r[2])}while(c==0)}return c}
function cb(a,b){if(a<b)return-1;else if(a>b)return 1;return 0}var db=ua();function eb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function fb(a){var b=0;for(var c in a)b++;return b}function gb(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b}function hb(a){var b=[],c=0;for(var d in a)b[c++]=d;return b}function ib(a){for(var b in a)return false;return true}function jb(a,b){var c;if(c=b in a)delete a[b];return c}function kb(a,b,c){if(b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c}function lb(a,b,c){if(b in a)return a[b];return c}
function mb(a){var b={};for(var c in a)b[a[c]]=c;return b}var nb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];function ob(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<nb.length;f++){b=nb[f];if(Object.prototype.hasOwnProperty.call(c,b))a[b]=c[b]}}}
function pb(){var a=arguments.length;if(a==1&&ja(arguments[0]))return pb.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 qb(){var a=arguments.length;if(a==1&&ja(arguments[0]))return qb.apply(null,arguments[0]);for(var b={},c=0;c<a;c++)b[arguments[c]]=true;return b};function rb(a){if(typeof a.yc=="function")return a.yc();if(u(a))return a.split("");if(ka(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return gb(a)}function sb(a){if(typeof a.Ld=="function")return a.Ld();if(typeof a.yc!="function"){if(ka(a)||u(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return hb(a)}}function tb(a){if(typeof a.jd=="function")return a.jd();if(ka(a)||u(a))return a.length==0;return ib(a)}
function ub(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(ka(a)||u(a))F(a,b,c);else for(var d=sb(a),f=rb(a),g=f.length,h=0;h<g;h++)b.call(c,f[h],d&&d[h],a)};var vb="StopIteration"in t?t.StopIteration:Error("StopIteration");function wb(){}wb.prototype.next=function(){throw vb;};wb.prototype.Sc=function(){return this};function xb(a){if(a instanceof wb)return a;if(typeof a.Sc=="function")return a.Sc(false);if(ka(a)){var b=0,c=new wb;c.next=function(){for(;;){if(b>=a.length)throw vb;if(b in a)return a[b++];else b++}};return c}throw Error("Not implemented");}
function yb(a,b,c){if(ka(a))try{F(a,b,c)}catch(d){if(d!==vb)throw d;}else{a=xb(a);try{for(;;)b.call(c,a.next(),undefined,a)}catch(f){if(f!==vb)throw f;}}}function Ab(a,b,c){a=xb(a);var d=new wb;d.next=function(){for(;;){var f=a.next();if(b.call(c,f,undefined,a))return f}};return d}function Bb(a,b,c){a=xb(a);try{for(;;)if(b.call(c,a.next(),undefined,a))return true}catch(d){if(d!==vb)throw d;}return false}
function Cb(){var a=arguments,b=a.length,c=0,d=new wb;d.next=function(){try{if(c>=b)throw vb;return xb(a[c]).next()}catch(f){if(f!==vb||c>=b)throw f;else{c++;return this.next()}}};return d};function Db(a){this.Mb={};this.H=[];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.N(arguments[c],arguments[c+1])}else a&&this.Kl(a)}s=Db.prototype;s.ia=0;s.uf=0;s.Vb=n("ia");s.yc=function(){Eb(this);for(var a=[],b=0;b<this.H.length;b++)a.push(this.Mb[this.H[b]]);return a};s.Ld=function(){Eb(this);return this.H.concat()};s.ih=function(a){return Fb(this.Mb,a)};
s.we=function(a,b){if(this===a)return true;if(this.ia!=a.Vb())return false;b=b||Gb;Eb(this);for(var c,d=0;c=this.H[d];d++)if(!b(this.get(c),a.get(c)))return false;return true};function Gb(a,b){return a===b}Db.prototype.jd=function(){return this.ia==0};Db.prototype.clear=function(){this.Mb={};this.uf=this.ia=this.H.length=0};Db.prototype.remove=function(a){if(Fb(this.Mb,a)){delete this.Mb[a];this.ia--;this.uf++;this.H.length>2*this.ia&&Eb(this);return true}return false};
function Eb(a){if(a.ia!=a.H.length){for(var b=0,c=0;b<a.H.length;){var d=a.H[b];if(Fb(a.Mb,d))a.H[c++]=d;b++}a.H.length=c}if(a.ia!=a.H.length){var f={};for(c=b=0;b<a.H.length;){d=a.H[b];if(!Fb(f,d)){a.H[c++]=d;f[d]=1}b++}a.H.length=c}}s=Db.prototype;s.get=function(a,b){if(Fb(this.Mb,a))return this.Mb[a];return b};s.N=function(a,b){if(!Fb(this.Mb,a)){this.ia++;this.H.push(a);this.uf++}this.Mb[a]=b};
s.Kl=function(a){var b;if(a instanceof Db){b=a.Ld();a=a.yc()}else{b=hb(a);a=gb(a)}for(var c=0;c<b.length;c++)this.N(b[c],a[c])};s.clone=function(){return new Db(this)};s.Sc=function(a){Eb(this);var b=0,c=this.H,d=this.Mb,f=this.uf,g=this,h=new wb;h.next=function(){for(;;){if(f!=g.uf)throw Error("The map has changed since the iterator was created");if(b>=c.length)throw vb;var i=c[b++];return a?i:d[i]}};return h};function Fb(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Hb(a){return Ib(a||arguments.callee.caller,[])}
function Ib(a,b){var c=[];if(Da(b,a))c.push("[...circular reference...]");else if(a&&b.length<50){c.push(Jb(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=Jb(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(Ib(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 Jb(a){a=String(a);if(!Kb[a]){var b=/function ([^\(]+)/.exec(a);Kb[a]=b?b[1]:"[Anonymous]"}return Kb[a]}var Kb={};function Lb(){this.Jk=ua()}var Mb=new Lb;Lb.prototype.N=aa("Jk");Lb.prototype.get=n("Jk");function Nb(a){this.ni=a||"";this.Bo=Mb}Nb.prototype.wo=true;Nb.prototype.zo=true;Nb.prototype.yo=true;Nb.prototype.Tk=false;function Ob(a){a=new Date(a.dl);return Pb(a.getFullYear()-2E3)+Pb(a.getMonth()+1)+Pb(a.getDate())+" "+Pb(a.getHours())+":"+Pb(a.getMinutes())+":"+Pb(a.getSeconds())+"."+Pb(Math.floor(a.getMilliseconds()/10))}function Pb(a){if(a<10)return"0"+a;return String(a)}
function Qb(a,b){a=(a.dl-b)/1E3;b=a.toFixed(3);var c=0;if(a<1)c=2;else for(;a<100;){c++;a*=10}for(;c-- >0;)b=" "+b;return b}function Rb(a){Nb.call(this,a)}B(Rb,Nb);Rb.prototype.Tk=true;
Rb.prototype.Im=function(a){var b;switch(a.oc.value){case Sb.value:b="dbg-sh";break;case Tb.value:b="dbg-sev";break;case Ub.value:b="dbg-w";break;case Vb.value:b="dbg-i";break;case Wb.value:default:b="dbg-f";break}var c=[];c.push(this.ni," ");this.wo&&c.push("[",Ob(a),"] ");this.zo&&c.push("[",Za(Qb(a,this.Bo.get())),"s] ");this.yo&&c.push("[",Oa(a.qk),"] ");c.push('<span class="',b,'">',Na(Za(Oa(a.Nn))));if(this.Tk&&a.Lj)c.push("<br>",Na(Za(a.Kj||"")));c.push("</span><br>");return c.join("")};function Xb(a,b,c,d,f){this.cq=typeof f=="number"?f:Yb++;this.dl=d||ua();this.oc=a;this.Nn=b;this.qk=c}Xb.prototype.Lj=null;Xb.prototype.Kj=null;var Yb=0;Xb.prototype.Gg=aa("oc");function Zb(a){this.On=a;this.q=null;this.ba={};this.Sh=[]}Zb.prototype.oc=null;function $b(a,b){this.name=a;this.value=b}$b.prototype.toString=n("name");var ac=new $b("OFF",Infinity),Sb=new $b("SHOUT",1200),Tb=new $b("SEVERE",1E3),Ub=new $b("WARNING",900),Vb=new $b("INFO",800),bc=new $b("CONFIG",700),Wb=new $b("FINE",500),cc=new $b("FINER",400),dc=new $b("FINEST",300),ec=new $b("ALL",0),fc=[ac,Sb,Tb,Ub,Vb,bc,Wb,cc,dc,ec],gc=null;
function hc(){gc={};for(var a=0,b;b=fc[a];a++){gc[b.value]=b;gc[b.name]=b}}function ic(a){gc||hc();return gc[a]||null}Zb.prototype.dd=n("ba");Zb.prototype.Gg=aa("oc");function jc(a,b){if(a.oc)return b.value>=a.oc.value;if(a.q)return jc(a.q,b);return false}Zb.prototype.log=function(a,b,c){jc(this,a)&&kc(this,this.Nm(a,b,c))};
Zb.prototype.Nm=function(a,b,c){var d=new Xb(a,String(b),this.On);if(c){d.Lj=c;var f;var g=arguments.callee.caller;try{var h,i=fa("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.Tp||"Not available",fileName:c.fileName||c.filename||c.sourceURL||i,stack:c.stack||"Not available"}:c;f="Message: "+Oa(h.message)+'\nUrl: <a href="view-source:'+
h.fileName+'" target="_new">'+h.fileName+"</a>\nLine: "+h.lineNumber+"\n\nBrowser stack:\n"+Oa(h.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+Oa(Hb(g)+"-> ")}catch(l){f="Exception trying to expose exception! You win, we lose. "+l}d.Kj=f}return d};function lc(a,b,c){a.log(Sb,b,c)}function nc(a,b,c){a.log(Tb,b,c)}function oc(a,b,c){a.log(Ub,b,c)}Zb.prototype.info=function(a,b){this.log(Vb,a,b)};function pc(a,b,c){a.log(Wb,b,c)}
function kc(a,b){if(jc(a,b.oc))for(a=a;a;){for(var c=a,d=0;d<c.Sh.length;d++)c.Sh[d](b);a=a.q}}var qc={},rc=null;function sc(){if(!rc){rc=new Zb("");qc[""]=rc;rc.Gg(bc)}}function tc(a){sc();return a in qc?qc[a]:uc(a)}function uc(a){var b=new Zb(a),c=a.split("."),d=c[c.length-1];c.length-=1;c=c.join(".");c=tc(c);c.ba[d]=b;b.q=c;return qc[a]=b};function vc(a){this.ki=a||100;this.tc=[]}s=vc.prototype;s.$e=0;s.add=function(a){this.tc[this.$e]=a;this.$e=(this.$e+1)%this.ki};s.get=function(a){a=wc(this,a);return this.tc[a]};s.N=function(a,b){a=wc(this,a);this.tc[a]=b};s.Vb=function(){return this.tc.length};s.jd=function(){return this.tc.length==0};s.clear=function(){this.$e=this.tc.length=0};s.yc=function(){var a=this.Vb(),b=this.Vb(),c=[];for(a=this.Vb()-a;a<b;a++)c[a]=this.get(a);return c};
s.Ld=function(){for(var a=[],b=this.Vb(),c=0;c<b;c++)a[c]=c;return a};s.ih=function(a){return a<this.Vb()};function wc(a,b){if(b>=a.tc.length)throw Error("Out of bounds exception");if(a.tc.length<a.ki)return b;return(a.$e+Number(b))%a.ki};var xc,yc,zc,Ac,Bc,Cc;function Dc(){return t.navigator?t.navigator.userAgent:null}function Ec(){return t.navigator}Bc=Ac=zc=yc=xc=false;var Fc;if(Fc=Dc()){var Gc=Ec();xc=Fc.indexOf("Opera")==0;yc=!xc&&Fc.indexOf("MSIE")!=-1;Ac=(zc=!xc&&Fc.indexOf("WebKit")!=-1)&&Fc.indexOf("Mobile")!=-1;Bc=!xc&&!zc&&Gc.product=="Gecko"}var G=xc,H=yc,I=Bc,J=zc,Hc=Ac,Ic,Jc=Ec();Ic=Jc&&Jc.platform||"";Cc=$a(Ic,"Mac");$a(Ic,"Win");$a(Ic,"Linux");var Kc=!!Ec()&&$a(Ec().appVersion||"","X11"),Lc,Mc="",Nc;
if(G&&t.opera){var Oc=t.opera.version;Mc=typeof Oc=="function"?Oc():Oc}else{if(I)Nc=/rv\:([^\);]+)(\)|;)/;else if(H)Nc=/MSIE\s+([^\);]+)(\)|;)/;else if(J)Nc=/WebKit\/(\S+)/;if(Nc){var Pc=Nc.exec(Dc());Mc=Pc?Pc[1]:""}}Lc=Mc;var Qc={};function K(a){return Qc[a]||(Qc[a]=bb(Lc,a)>=0)};function Rc(a,b){this.Bc=a||"";this.ni=b||"";this.Yd=[];this.Cg=new vc(Sc);this.lo=v(this.Ll,this);this.Jm=new Rb(this.ni);this.Cm={};if(true!=this.ik){this.ik=true;sc();rc.Sh.push(this.lo)}this.L=Tc(this.Bc,"enabled")=="1";t.setInterval(v(this.so,this),7500)}var Sc=500;s=Rc.prototype;s.kl="LOGGING";s.P=null;s.Oi=false;s.ik=false;s.ij=null;s.ci=ua();s.init=function(){this.L&&Uc(this)};s.t=n("L");s.Sa=function(a){if(this.L=a){Uc(this);this.P&&this.Pg()}Vc(this,"enabled",a?"1":"0")};
s.bm=function(){this.Cg.clear();this.P&&this.Pg()};s.Ll=function(a){if(!this.Cm[a.qk]){a=this.Jm.Im(a);if(this.L){Uc(this);this.Cg.add(a);Wc(this,a)}else this.Cg.add(a)}};function Wc(a,b){a.Yd.push(b);t.clearTimeout(a.ij);if(ua()-a.ci>750)a.Qi();else a.ij=t.setTimeout(v(a.Qi,a),250)}Rc.prototype.Qi=function(){this.ci=ua();if(this.P){var a=this.P.document.body;a=a&&a.scrollHeight-(a.scrollTop+a.clientHeight)<=100;this.P.document.write(this.Yd.join(""));this.Yd.length=0;a&&this.P.scrollTo(0,1E6)}};
function Xc(a){for(var b=a.Cg.yc(),c=0;c<b.length;c++)Wc(a,b[c])}function Uc(a){if(!(a.P&&!a.P.closed||a.Oi)){var b=Tc(a.Bc,"dbg","0,0,800,500").split(","),c=Number(b[0]),d=Number(b[1]),f=Number(b[2]);b=Number(b[3]);a.Oi=true;a.P=window.open("",H?a.Bc.replace(/[\s\-\.\,]/g,"_"):a.Bc,"width="+f+",height="+b+",toolbar=no,resizable=yes,scrollbars=yes,left="+c+",top="+d+",status=no,screenx="+c+",screeny="+d);if(!a.P)if(!a.Ao){alert("Logger popup was blocked");a.Ao=true}a.Oi=false;a.P&&a.Pg()}}
Rc.prototype.Vf=p("*{font:normal 14px monospace;}.dbg-sev{color:#F00}.dbg-w{color:#E92}.dbg-sh{background-color:#fd4;font-weight:bold;color:#000}.dbg-i{color:#666}.dbg-f{color:#999}.dbg-ev{color:#0A0}.dbg-m{color:#990}");Rc.prototype.Pg=function(){if(this.P){this.P.document.open();var a="<style>"+this.Vf()+'</style><hr><div class="dbg-ev" style="text-align:center">'+this.kl+"<br><small>Logger: "+this.Bc+"</small></div><hr>";Wc(this,a);Xc(this)}};
function Vc(a,b,c){b+=a.Bc;document.cookie=b+"="+encodeURIComponent(c)+";expires="+(new Date(ua()+2592E6)).toUTCString()}function Tc(a,b,c){a=b+a;b=String(document.cookie);var d=b.indexOf(a+"=");if(d!=-1){c=b.indexOf(";",d);return decodeURIComponent(b.substring(d+a.length+1,c==-1?b.length:c))}else return c||""}
Rc.prototype.so=function(){!this.P||this.P.closed||Vc(this,"dbg",(this.P.screenX||this.P.screenLeft||0)+","+(this.P.screenY||this.P.screenTop||0)+","+(this.P.outerWidth||800)+","+(this.P.outerHeight||500))};var Yc;function Zc(a,b){a.className=b}function $c(a){return(a=a.className)&&typeof a.split=="function"?a.split(" "):[]}function ad(a){var b=$c(a),c;c=Ja(arguments,1);for(var d=0,f=0;f<c.length;f++)if(!Da(b,c[f])){b.push(c[f]);d++}c=d==c.length;a.className=b.join(" ");return c}function bd(a){var b=$c(a),c;c=Ja(arguments,1);for(var d=0,f=0;f<b.length;f++)if(Da(c,b[f])){Ia(b,f--,1);d++}c=d==c.length;a.className=b.join(" ");return c}
function cd(a,b,c){for(var d=$c(a),f=false,g=0;g<d.length;g++)if(d[g]==b){Ia(d,g--,1);f=true}if(f){d.push(c);a.className=d.join(" ")}return f}function dd(a,b){return Da($c(a),b)}function ed(a,b,c){c?ad(a,b):bd(a,b)};function fd(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0}fd.prototype.clone=function(){return new fd(this.x,this.y)};fd.prototype.toString=function(){return"("+this.x+", "+this.y+")"};function gd(a,b){return new fd(a.x-b.x,a.y-b.y)};function hd(a,b){this.width=a;this.height=b}s=hd.prototype;s.clone=function(){return new hd(this.width,this.height)};s.toString=function(){return"("+this.width+" x "+this.height+")"};s.jd=function(){return!(this.width*this.height)};s.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};s.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
s.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function L(a){return a?new id(M(a)):Yc||(Yc=new id)}function jd(a){return u(a)?document.getElementById(a):a}function kd(a,b,c){return ld(document,a,b,c)}
function ld(a,b,c,d){d=d||a;b=b&&b!="*"?b.toLowerCase():"";if(d.querySelectorAll&&(b||c)&&(!J||md(a)||K("528")))return d.querySelectorAll(b+(c?"."+c:""));if(c&&d.getElementsByClassName){a=d.getElementsByClassName(c);if(b){d={};for(var f=0,g=0,h;h=a[g];g++)if(b==h.nodeName.toLowerCase())d[f++]=h;d.length=f;return d}else return a}a=d.getElementsByTagName(b||"*");if(c){d={};for(g=f=0;h=a[g];g++){b=h.className;if(typeof b.split=="function"&&Da(b.split(" "),c))d[f++]=h}d.length=f;return d}else return a}
function nd(a,b){eb(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 od)a.setAttribute(od[d],c);else a[d]=c})}var od={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"};
function pd(a){var b=a.document;if(J&&!K("500")&&!Hc){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 hd(a.innerWidth,b)}a=md(b)&&(!G||G&&K("9.50"))?b.documentElement:b.body;return new hd(a.clientWidth,a.clientHeight)}function qd(a){return a?a.parentWindow||a.defaultView:window}function N(){return rd(document,arguments)}
function rd(a,b){var c=b[0],d=b[1];if(H&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Oa(d.name),'"');if(d.type){c.push(' type="',Oa(d.type),'"');d=sa(d);delete d.type}c.push(">");c=c.join("")}var f=a.createElement(c);if(d)if(u(d))f.className=d;else nd(f,d);if(b.length>2){d=function(h){if(h)f.appendChild(u(h)?a.createTextNode(h):h)};for(c=2;c<b.length;c++){var g=b[c];ka(g)&&!(na(g)&&g.nodeType>0)?F(sd(g)?Fa(g):g,d):d(g)}}return f}
function td(a){var b;var c=document;b=c.createElement("div");b.innerHTML=a;if(b.childNodes.length==1)b=b.firstChild;else{for(a=c.createDocumentFragment();b.firstChild;)a.appendChild(b.firstChild);b=a}return b}function md(a){return a.compatMode=="CSS1Compat"}function ud(a,b){a.appendChild(b)}function vd(a){for(var b;b=a.firstChild;)a.removeChild(b)}function xd(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)}function yd(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)}
function O(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function zd(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)}function Ad(a){return Bd(a.firstChild,true)}function Bd(a,b){for(;a&&a.nodeType!=1;)a=b?a.nextSibling:a.previousSibling;return a}function Cd(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 Dd(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=a.nodeType==1,d=b.nodeType==1;if(c&&d)return a.sourceIndex-b.sourceIndex;else{var f=a.parentNode,g=b.parentNode;if(f==g)return Ed(a,b);if(!c&&Cd(f,b))return-1*Fd(a,b);if(!d&&Cd(g,a))return Fd(b,a);return(c?a.sourceIndex:f.sourceIndex)-(d?b.sourceIndex:g.sourceIndex)}}d=M(a);c=d.createRange();c.selectNode(a);c.collapse(true);
a=d.createRange();a.selectNode(b);a.collapse(true);return c.compareBoundaryPoints(t.Range.START_TO_END,a)}function Fd(a,b){var c=a.parentNode;if(c==b)return-1;for(b=b;b.parentNode!=c;)b=b.parentNode;return Ed(b,a)}function Ed(a,b){for(b=b;b=b.previousSibling;)if(b==a)return-1;return 1}
function Gd(){var a,b=arguments.length;if(b){if(b==1)return arguments[0]}else return null;var c=[],d=Infinity;for(a=0;a<b;a++){for(var f=[],g=arguments[a];g;){f.unshift(g);g=g.parentNode}c.push(f);d=Math.min(d,f.length)}f=null;for(a=0;a<d;a++){g=c[0][a];for(var h=1;h<b;h++)if(g!=c[h][a])return f;f=g}return f}function M(a){return a.nodeType==9?a:a.ownerDocument||a.document}function Hd(a){return J?a.document||a.contentWindow.document:a.contentDocument||a.contentWindow.document}
function Id(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{vd(a);var c=M(a);a.appendChild(c.createTextNode(b))}}function Jd(a,b){var c=[];Kd(a,b,c,false);return c}function Kd(a,b,c,d){if(a!=null)for(var f=0,g;g=a.childNodes[f];f++){if(b(g)){c.push(g);if(d)return true}if(Kd(g,b,c,d))return true}return false}var Ld={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Md={IMG:" ",BR:"\n"};
function Nd(a){var b=a.getAttributeNode("tabindex");if(b&&b.specified){a=a.tabIndex;return la(a)&&a>=0}return false}function Od(a,b){if(b)a.tabIndex=0;else a.removeAttribute("tabIndex")}function Pd(a){if(H&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Qd(a,b,true);a=b.join("")}a=a.replace(/\xAD/g,"");a=a.replace(/ +/g," ");if(a!=" ")a=a.replace(/^\s*/,"");return a}function Rd(a){var b=[];Qd(a,b,false);return b.join("")}
function Qd(a,b,c){if(!(a.nodeName in Ld))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 Md)b.push(Md[a.nodeName]);else for(a=a.firstChild;a;){Qd(a,b,c);a=a.nextSibling}}function sd(a){if(a&&typeof a.length=="number")if(na(a))return typeof a.item=="function"||typeof a.item=="string";else if(ma(a))return typeof a.item=="function";return false}
function Sd(a,b,c){return Td(a,function(d){return(!b||d.nodeName==b)&&(!c||dd(d,c))},true)}function Td(a,b,c,d){if(!c)a=a.parentNode;c=d==null;for(var f=0;a&&(c||f<=d);){if(b(a))return a;a=a.parentNode;f++}return null}function id(a){this.ka=a||t.document||document}s=id.prototype;s.k=L;s.F=n("ka");s.b=function(a){return u(a)?this.ka.getElementById(a):a};s.Ri=id.prototype.b;s.Bh=function(a,b,c){return ld(this.ka,a,b,c)};s.ll=id.prototype.Bh;s.d=function(){return rd(this.ka,arguments)};
s.createElement=function(a){return this.ka.createElement(a)};s.createTextNode=function(a){return this.ka.createTextNode(a)};function Ud(a){return md(a.ka)}id.prototype.sa=function(){return this.ka.parentWindow||this.ka.defaultView};function Vd(a){a=!J&&md(a.ka)?a.ka.documentElement:a.ka.body;return new fd(a.scrollLeft,a.scrollTop)}s=id.prototype;s.appendChild=ud;s.removeNode=O;
s.Em=function(a){var b,c=a.parentNode;if(c&&c.nodeType!=11)if(a.removeNode)return a.removeNode(false);else{for(;b=a.firstChild;)c.insertBefore(b,a);return O(a)}};s.Wj=Ad;s.contains=Cd;function Wd(a,b){Rc.call(this,a,b)}B(Wd,Rc);Wd.prototype.Qi=function(){this.ci=ua();if(this.P){for(var a=this.qb.b("log"),b=a.scrollHeight-(a.scrollTop+a.offsetHeight)<=100,c=0;c<this.Yd.length;c++){var d=this.qb.d("div","logmsg");d.innerHTML=this.Yd[c];a.appendChild(d)}this.Yd.length=0;this.Lk();if(b)a.scrollTop=a.scrollHeight}};
Wd.prototype.Pg=function(){if(this.P){var a=this.P.document;a.open();a.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Logging: '+this.Bc+"</title><style>"+this.Vf()+'</style></head><body><div id="log" style="overflow:auto"></div><div id="head"><p><b>Logging: '+this.Bc+"</b></p><p>"+this.kl+'</p><span id="clearbutton">clear</span><span id="openbutton">options</span></div><div id="options"><big><b>Options:</b></big><div id="optionsarea"></div><span id="closebutton">save and close</span></div></body></html>');
a.close();(H?a.body:this.P).onresize=v(this.Lk,this);this.qb=new id(a);this.qb.b("openbutton").onclick=v(this.co,this);this.qb.b("closebutton").onclick=v(this.dm,this);this.qb.b("clearbutton").onclick=v(this.bm,this);Xc(this)}};
Wd.prototype.co=function(){var a=this.qb.b("optionsarea");a.innerHTML="";for(var b=Xd(),c=this.qb,d=0;d<b.length;d++){var f=tc(b[d]);f=c.d("div",{},Yd(this,"sel"+b[d],f.oc?f.oc.name:"INHERIT"),c.d("span",{},b[d]||"(root)"));a.appendChild(f)}this.qb.b("options").style.display="block";return false};
function Yd(a,b,c){a=a.qb;b=a.d("select",{id:b});for(var d=0;d<fc.length;d++){var f=fc[d],g=a.d("option",{},f.name);if(c==f.name)g.selected=true;b.appendChild(g)}b.appendChild(a.d("option",{selected:c=="INHERIT"},"INHERIT"));return b}Wd.prototype.dm=function(){this.qb.b("options").style.display="none";for(var a=Xd(),b=this.qb,c=0;c<a.length;c++){var d=tc(a[c]),f=b.b("sel"+a[c]);f=f.options[f.selectedIndex].text;f=="INHERIT"?d.Gg(null):d.Gg(ic(f))}return false};
Wd.prototype.Lk=function(){var a=this.qb,b=a.b("log"),c=a.b("head");b.style.top=c.offsetHeight+"px";b.style.height=a.F().body.offsetHeight-c.offsetHeight-(H?4:0)+"px"};function Xd(){var a=hb(qc);a.sort();return a}Wd.prototype.Vf=function(){return Wd.c.Vf.call(this)+"html,body{height:100%;width:100%;margin:0px;padding:0px;background-color:#FFF;overflow:hidden}*{}.logmsg{border-bottom:1px solid #CCC;padding:2px;font:medium monospace;}#head{position:absolute;width:100%;font:x-small arial;border-bottom:2px solid #999;background-color:#EEE;}#head p{margin:0px 5px;}#log{position:absolute;width:100%;background-color:#FFF;}#options{position:absolute;right:0px;width:50%;height:100%;border-left:1px solid #999;background-color:#DDD;display:none;padding-left: 5px;font:normal small arial;overflow:auto;}#openbutton,#closebutton{text-decoration:underline;color:#00F;cursor:pointer;position:absolute;top:0px;right:5px;font:x-small arial;}#clearbutton{text-decoration:underline;color:#00F;cursor:pointer;position:absolute;top:0px;right:50px;font:x-small arial;}select{font:x-small arial;margin-right:10px;}hr{border:0;height:5px;background-color:#8c8;color:#8c8;}"};function Zd(a){return function(){return a}}var $d=Zd(false),ae=Zd(true);/*
 Portions of this code are from the Dojo Toolkit, received by
 Google under the BSD license. All other code is Copyright 2005-2009 Google,
 Inc. All Rights Reserved.

 The "New" BSD License:

 Copyright (c) 2005-2009, The Dojo Foundation
 All rights reserved.

 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:

 Redistributions of source code must retain the above copyright notice, this
 list of conditions and the following disclaimer.
 Redistributions in binary form must reproduce the above copyright notice,
 this list of conditions and the following disclaimer in the documentation
 and/or other materials provided with the distribution.
 Neither the name of the Dojo Foundation nor the names of its contributors
 may be used to endorse or promote products derived from this software
 without specific prior written permission.

 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
var be=function(){function a(j,k){k=k||[];j&&k.push(j);return k}var b=J&&document.compatMode=="BackCompat",c=document.firstChild.children?"children":"childNodes",d=false;function f(j){j+=">~+".indexOf(j.slice(-1))>=0?" * ":" ";function k(Ae,no){return Ma(j.slice(Ae,no))}var o=[],q=-1,w=-1,C=-1,ba=-1,D=-1,E=-1,Q=-1,da="",qa="",pk,X=0,oo=j.length,R=null,Pa=null;function Be(){if(E>=0){R.id=k(E,X).replace(/\\/g,"");E=-1}if(Q>=0){var Ae=Q==X?null:k(Q,X);if(">~+".indexOf(Ae)<0)R.Ua=Ae;else R.ug=Ae;Q=-1}if(D>=
0){R.classes.push(k(D+1,X).replace(/\\/g,""));D=-1}}function po(){Be();ba>=0&&R.od.push({name:k(ba+1,X)});R.rk=R.od.length||R.zf.length||R.classes.length;R.Wp=R.Zd=k(pk,X);R.eo=R.Ua=R.ug?null:R.Ua||"*";if(R.Ua)R.Ua=R.Ua.toUpperCase();if(o.length&&o[o.length-1].ug){R.fk=o.pop();R.Zd=R.fk.Zd+" "+R.Zd}o.push(R);R=null}for(;da=qa,qa=j.charAt(X),X<oo;X++)if(da!="\\"){if(!R){pk=X;R={Zd:null,od:[],zf:[],classes:[],Ua:null,ug:null,id:null,Gh:function(){return d?this.eo:this.Ua}};Q=X}if(q>=0)if(qa=="]"){if(Pa.attr)Pa.ii=
k(C||q+1,X);else Pa.attr=k(q+1,X);if(q=Pa.ii)if(q.charAt(0)=='"'||q.charAt(0)=="'")Pa.ii=q.slice(1,-1);R.zf.push(Pa);Pa=null;q=C=-1}else{if(qa=="="){C="|~^$*".indexOf(da)>=0?da:"";Pa.type=C+qa;Pa.attr=k(q+1,X-C.length);C=X+1}}else if(w>=0){if(qa==")"){if(ba>=0)Pa.value=k(w+1,X);ba=w=-1}}else if(qa=="#"){Be();E=X+1}else if(qa=="."){Be();D=X}else if(qa==":"){Be();ba=X}else if(qa=="["){Be();q=X;Pa={}}else if(qa=="("){if(ba>=0){Pa={name:k(ba+1,X),value:null};R.od.push(Pa)}w=X}else qa==" "&&da!=qa&&po()}return o}
function g(j,k){if(!j)return k;if(!k)return j;return function(){return j.apply(window,arguments)&&k.apply(window,arguments)}}function h(j){return 1==j.nodeType}function i(j,k){if(!j)return"";if(k=="class")return j.className||"";if(k=="for")return j.htmlFor||"";if(k=="style")return j.style.cssText||"";return(d?j.getAttribute(k):j.getAttribute(k,2))||""}var l={"*=":function(j,k){return function(o){return i(o,j).indexOf(k)>=0}},"^=":function(j,k){return function(o){return i(o,j).indexOf(k)==0}},"$=":function(j,
k){return function(o){o=" "+i(o,j);return o.lastIndexOf(k)==o.length-k.length}},"~=":function(j,k){var o=" "+k+" ";return function(q){return(" "+i(q,j)+" ").indexOf(o)>=0}},"|=":function(j,k){k=" "+k;return function(o){o=" "+i(o,j);return o==k||o.indexOf(k+"-")==0}},"=":function(j,k){return function(o){return i(o,j)==k}}},m=typeof document.firstChild.nextElementSibling=="undefined",r=!m?"nextElementSibling":"nextSibling",z=!m?"previousElementSibling":"previousSibling",A=m?h:ae;function x(j){for(;j=
j[z];)if(A(j))return false;return true}function S(j){for(;j=j[r];)if(A(j))return false;return true}function zb(j){var k=j.parentNode,o=0,q=k[c],w=j._i||-1,C=k._l||-1;if(!q)return-1;q=q.length;if(C==q&&w>=0&&C>=0)return w;k._l=q;w=-1;for(k=k.firstElementChild||k.firstChild;k;k=k[r])if(A(k)){k._i=++o;if(j===k)w=o}return w}function If(j){return!(zb(j)%2)}function Qa(j){return zb(j)%2}var Jh={checked:function(){return function(j){return j.checked||j.attributes.checked}},"first-child":function(){return x},
"last-child":function(){return S},"only-child":function(){return function(j){if(!x(j))return false;if(!S(j))return false;return true}},empty:function(){return function(j){var k=j.childNodes;for(j=j.childNodes.length-1;j>=0;j--){var o=k[j].nodeType;if(o===1||o==3)return false}return true}},contains:function(j,k){j=k.charAt(0);if(j=='"'||j=="'")k=k.slice(1,-1);return function(o){return o.innerHTML.indexOf(k)>=0}},not:function(j,k){j=f(k)[0];k={Id:1};if(j.Ua!="*")k.Ua=1;if(!j.classes.length)k.classes=
1;var o=wd(j,k);return function(q){return!o(q)}},"nth-child":function(j,k){if(k=="odd")return Qa;else if(k=="even")return If;if(k.indexOf("n")!=-1){j=k.split("n",2);var o=j[0]?j[0]=="-"?-1:parseInt(j[0],10):1,q=j[1]?parseInt(j[1],10):0,w=0,C=-1;if(o>0)if(q<0)q=q%o&&o+q%o;else{if(q>0){if(q>=o)w=q-q%o;q%=o}}else if(o<0){o*=-1;if(q>0){C=q;q%=o}}if(o>0)return function(D){D=zb(D);return D>=w&&(C<0||D<=C)&&D%o==q};else k=q}var ba=parseInt(k,10);return function(D){return zb(D)==ba}}},qo=H?function(j){var k=
j.toLowerCase();if(k=="class")j="className";return function(o){return d?o.getAttribute(j):o[j]||o[k]}}:function(j){return function(k){return k&&k.getAttribute&&k.hasAttribute(j)}};function wd(j,k){if(!j)return ae;k=k||{};var o=null;k.Id||(o=g(o,h));if(!k.Ua)if(j.Ua!="*")o=g(o,function(q){return q&&q.tagName==j.Gh()});k.classes||F(j.classes,function(q,w){var C=new RegExp("(?:^|\\s)"+q+"(?:\\s|$)");o=g(o,function(ba){return C.test(ba.className)});o.Gp=w});k.od||F(j.od,function(q){var w=q.name;if(Jh[w])o=
g(o,Jh[w](w,q.value))});k.zf||F(j.zf,function(q){var w,C=q.attr;if(q.type&&l[q.type])w=l[q.type](C,q.ii);else if(C.length)w=qo(C);if(w)o=g(o,w)});if(!k.id)if(j.id)o=g(o,function(q){return!!q&&q.id==j.id});o||"default"in k||(o=ae);return o}function ro(j){return function(k,o,q){for(;k=k[r];)if(!(m&&!h(k))){if((!q||Kh(k,q))&&j(k))o.push(k);break}return o}}function so(j){return function(k,o,q){for(k=k[r];k;){if(A(k)){if(q&&!Kh(k,q))break;j(k)&&o.push(k)}k=k[r]}return o}}function to(j){j=j||ae;return function(k,
o,q){for(var w=0,C=k[c];k=C[w++];)if(A(k)&&(!q||Kh(k,q))&&j(k,w))o.push(k);return o}}var qk={};function rk(j){var k=qk[j.Zd];if(k)return k;var o=j.fk;o=o?o.ug:"";var q=wd(j,{Id:1}),w="*"==j.Ua,C=document.getElementsByClassName;if(o){C={Id:1};if(w)C.Ua=1;q=wd(j,C);if("+"==o)k=ro(q);else if("~"==o)k=so(q);else if(">"==o)k=to(q)}else if(j.id){q=!j.rk&&w?ae:wd(j,{Id:1,id:1});k=function(D,E){var Q=L(D).b(j.id);if(Q&&q(Q))if(9==D.nodeType)return a(Q,E);else{for(var da=Q.parentNode;da;){if(da==D)break;da=
da.parentNode}if(da)return a(Q,E)}}}else if(C&&/\{\s*\[native code\]\s*\}/.test(String(C))&&j.classes.length&&!b){q=wd(j,{Id:1,classes:1,id:1});var ba=j.classes.join(" ");k=function(D,E){E=a(0,E);for(var Q,da=0,qa=D.getElementsByClassName(ba);Q=qa[da++];)q(Q,D)&&E.push(Q);return E}}else if(!w&&!j.rk)k=function(D,E){E=a(0,E);for(var Q=0,da=D.getElementsByTagName(j.Gh());D=da[Q++];)E.push(D);return E};else{q=wd(j,{Id:1,Ua:1,id:1});k=function(D,E){E=a(0,E);for(var Q,da=0,qa=D.getElementsByTagName(j.Gh());Q=
qa[da++];)q(Q,D)&&E.push(Q);return E}}return qk[j.Zd]=k}var sk={},tk={};function uk(j){var k=f(Ma(j));if(k.length==1){var o=rk(k[0]);return function(q){if(q=o(q,[]))q.rg=true;return q}}return function(q){q=a(q);for(var w,C,ba=k.length,D,E,Q=0;Q<ba;Q++){E=[];w=k[Q];C=q.length-1;if(C>0){D={};E.rg=true}C=rk(w);for(var da=0;w=q[da];da++)C(w,E,D);if(!E.length)break;q=E}return E}}var vk=!!document.querySelectorAll&&(!J||K("526"));function wk(j,k){if(vk){var o=tk[j];if(o&&!k)return o}if(o=sk[j])return o;
o=j.charAt(0);var q=-1==j.indexOf(" ");if(j.indexOf("#")>=0&&q)k=true;if(vk&&!k&&">~+".indexOf(o)==-1&&(!H||j.indexOf(":")==-1)&&!(b&&j.indexOf(".")>=0)&&j.indexOf(":contains")==-1&&j.indexOf("|=")==-1){var w=">~+".indexOf(j.charAt(j.length-1))>=0?j+" *":j;return tk[j]=function(ba){try{if(!(9==ba.nodeType||q))throw"";var D=ba.querySelectorAll(w);if(H)D.fm=true;else D.rg=true;return D}catch(E){return wk(j,true)(ba)}}}else{var C=j.split(/\s*,\s*/);return sk[j]=C.length<2?uk(j):function(ba){for(var D=
0,E=[],Q;Q=C[D++];)E=E.concat(uk(Q)(ba));return E}}}var mc=0,uo=H?function(j){return d?j.getAttribute("_uid")||j.setAttribute("_uid",++mc)||mc:j.uniqueID}:function(j){return j._uid||(j._uid=++mc)};function Kh(j,k){if(!k)return 1;j=uo(j);if(!k[j])return k[j]=1;return 0}function vo(j){if(j&&j.rg)return j;var k=[];if(!j||!j.length)return k;j[0]&&k.push(j[0]);if(j.length<2)return k;mc++;if(H&&d){var o=mc+"";j[0].setAttribute("_zipIdx",o);for(var q=1,w;w=j[q];q++){j[q].getAttribute("_zipIdx")!=o&&k.push(w);
w.setAttribute("_zipIdx",o)}}else if(H&&j.fm)try{for(q=1;w=j[q];q++)h(w)&&k.push(w)}catch(C){}else{if(j[0])j[0]._zipIdx=mc;for(q=1;w=j[q];q++){j[q]._zipIdx!=mc&&k.push(w);w._zipIdx=mc}}return k}function xk(j,k){if(!j)return[];if(j.constructor==Array)return j;if(!u(j))return[j];if(u(k)){k=jd(k);if(!k)return[]}k=k||document;var o=k.ownerDocument||k.documentElement;d=k.contentType&&k.contentType=="application/xml"||G&&(k.doctype||o.toString()=="[object XMLDocument]")||!!o&&(H?o.xml:k.xmlVersion||o.xmlVersion);
if((j=wk(j)(k))&&j.rg)return j;return vo(j)}xk.od=Jh;return xk}();ea("goog.dom.query",be,undefined);ea("goog.dom.query.pseudos",be.od,undefined);function ce(){}ce.prototype.Nf=false;ce.prototype.B=function(){if(!this.Nf){this.Nf=true;this.e()}};ce.prototype.e=e();function de(a,b){this.type=a;this.currentTarget=this.target=b}B(de,ce);s=de.prototype;s.e=function(){delete this.type;delete this.target;delete this.currentTarget};s.Ic=false;s.be=true;s.stopPropagation=function(){this.Ic=true};s.preventDefault=function(){this.be=false};function ee(a,b){a&&this.init(a,b)}B(ee,de);var fe=[1,4,2];s=ee.prototype;s.target=null;s.relatedTarget=null;s.offsetX=0;s.offsetY=0;s.clientX=0;s.clientY=0;s.screenX=0;s.screenY=0;s.button=0;s.keyCode=0;s.charCode=0;s.ctrlKey=false;s.altKey=false;s.shiftKey=false;s.metaKey=false;s.cb=null;
s.init=function(a,b){var c=this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(I)try{b=b.nodeName&&b}catch(d){b=null}}else if(c=="mouseover")b=a.fromElement;else if(c=="mouseout")b=a.toElement;this.relatedTarget=b;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.cb=a;delete this.be;delete this.Ic};function ge(a,b){return H?a.type=="click"?b==0:!!(a.cb.button&fe[b]):a.cb.button==b}ee.prototype.stopPropagation=function(){this.Ic=true;if(this.cb.stopPropagation)this.cb.stopPropagation();else this.cb.cancelBubble=true};var he=H&&!K("8");
ee.prototype.preventDefault=function(){this.be=false;var a=this.cb;if(a.preventDefault)a.preventDefault();else{a.returnValue=false;if(he)try{if(a.ctrlKey||a.keyCode>=112&&a.keyCode<=123)a.keyCode=-1}catch(b){}}};ee.prototype.Lm=n("cb");ee.prototype.e=function(){ee.c.e.call(this);this.relatedTarget=this.currentTarget=this.target=this.cb=null};function ie(){}var je=0;s=ie.prototype;s.wb=0;s.ae=false;s.kj=false;s.init=function(a,b,c,d,f,g){if(ma(a))this.jk=true;else if(a&&a.handleEvent&&ma(a.handleEvent))this.jk=false;else throw Error("Invalid listener argument");this.Ud=a;this.Hk=b;this.src=c;this.type=d;this.capture=!!f;this.$f=g;this.kj=false;this.wb=++je;this.ae=false};s.handleEvent=function(a){if(this.jk)return this.Ud.call(this.$f||this.src,a);return this.Ud.handleEvent.call(this.Ud,a)};function ke(a,b){this.uk=b;this.cd=[];if(a>this.uk)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(b=0;b<a;b++)this.cd.push(this.ec?this.ec():{})}B(ke,ce);ke.prototype.ec=null;ke.prototype.Ej=null;function le(a){if(a.cd.length)return a.cd.pop();return a.ec?a.ec():{}}function me(a,b){a.cd.length<a.uk?a.cd.push(b):ne(a,b)}function ne(a,b){if(a.Ej)a.Ej(b);else if(ma(b.B))b.B();else for(var c in b)delete b[c]}
ke.prototype.e=function(){ke.c.e.call(this);for(var a=this.cd;a.length;)ne(this,a.pop());delete this.cd};var oe;var pe=(oe="ScriptEngine"in t&&t.ScriptEngine()=="JScript")?t.ScriptEngineMajorVersion()+"."+t.ScriptEngineMinorVersion()+"."+t.ScriptEngineBuildVersion():"0";var qe,re,se,te,ue,ve,we,xe,ye,ze,Ce;
(function(){function a(){return{ia:0,Ob:0}}function b(){return[]}function c(){function A(x){return h.call(A.src,A.wb,x)}return A}function d(){return new ie}function f(){return new ee}var g=oe&&!(bb(pe,"5.7")>=0),h;ve=function(A){h=A};if(g){qe=function(){return le(i)};re=function(A){me(i,A)};se=function(){return le(l)};te=function(A){me(l,A)};ue=function(){return le(m)};we=function(){me(m,c())};xe=function(){return le(r)};ye=function(A){me(r,A)};ze=function(){return le(z)};Ce=function(A){me(z,A)};
var i=new ke(0,600);i.ec=a;var l=new ke(0,600);l.ec=b;var m=new ke(0,600);m.ec=c;var r=new ke(0,600);r.ec=d;var z=new ke(0,600);z.ec=f}else{qe=a;re=ga;se=b;te=ga;ue=c;we=ga;xe=d;ye=ga;ze=f;Ce=ga}})();var De={},Ee={},Fe={},Ge={};
function P(a,b,c,d,f){if(b)if(ja(b)){for(var g=0;g<b.length;g++)P(a,b[g],c,d,f);return null}else{d=!!d;var h=Ee;b in h||(h[b]=qe());h=h[b];if(!(d in h)){h[d]=qe();h.ia++}h=h[d];var i=oa(a),l;h.Ob++;if(h[i]){l=h[i];for(g=0;g<l.length;g++){h=l[g];if(h.Ud==c&&h.$f==f){if(h.ae)break;return l[g].wb}}}else{l=h[i]=se();h.ia++}g=ue();g.src=a;h=xe();h.init(c,g,a,b,d,f);c=h.wb;g.wb=c;l.push(h);De[c]=h;Fe[i]||(Fe[i]=se());Fe[i].push(h);if(a.addEventListener){if(a==t||!a.zj)a.addEventListener(b,g,d)}else a.attachEvent(He(b),
g);return c}else throw Error("Invalid event type");}function Ie(a,b,c,d,f){if(ja(b)){for(var g=0;g<b.length;g++)Ie(a,b[g],c,d,f);return null}d=!!d;a=Je(a,b,d);if(!a)return false;for(g=0;g<a.length;g++)if(a[g].Ud==c&&a[g].capture==d&&a[g].$f==f)return Ke(a[g].wb);return false}
function Ke(a){if(!De[a])return false;var b=De[a];if(b.ae)return false;var c=b.src,d=b.type,f=b.Hk,g=b.capture;if(c.removeEventListener){if(c==t||!c.zj)c.removeEventListener(d,f,g)}else c.detachEvent&&c.detachEvent(He(d),f);c=oa(c);f=Ee[d][g][c];if(Fe[c]){var h=Fe[c];Ea(h,b);h.length==0&&delete Fe[c]}b.ae=true;f.wk=true;Le(d,g,c,f);delete De[a];return true}
function Le(a,b,c,d){if(!d.mg)if(d.wk){for(var f=0,g=0;f<d.length;f++)if(d[f].ae){var h=d[f].Hk;h.src=null;we(h);ye(d[f])}else{if(f!=g)d[g]=d[f];g++}d.length=g;d.wk=false;if(g==0){te(d);delete Ee[a][b][c];Ee[a][b].ia--;if(Ee[a][b].ia==0){re(Ee[a][b]);delete Ee[a][b];Ee[a].ia--}if(Ee[a].ia==0){re(Ee[a]);delete Ee[a]}}}}
function Me(a,b,c){var d=0,f=a==null,g=b==null,h=c==null;c=!!c;if(f)eb(Fe,function(l){for(var m=l.length-1;m>=0;m--){var r=l[m];if((g||b==r.type)&&(h||c==r.capture)){Ke(r.wb);d++}}});else{a=oa(a);if(Fe[a]){a=Fe[a];for(f=a.length-1;f>=0;f--){var i=a[f];if((g||b==i.type)&&(h||c==i.capture)){Ke(i.wb);d++}}}}return d}function Je(a,b,c){var d=Ee;if(b in d){d=d[b];if(c in d){d=d[c];a=oa(a);if(d[a])return d[a]}}return null}var Ne=H?"focusin":"DOMFocusIn";
function He(a){if(a in Ge)return Ge[a];return Ge[a]="on"+a}function Oe(a,b,c,d,f){var g=1;b=oa(b);if(a[b]){a.Ob--;a=a[b];if(a.mg)a.mg++;else a.mg=1;try{for(var h=a.length,i=0;i<h;i++){var l=a[i];if(l&&!l.ae)g&=Pe(l,f)!==false}}finally{a.mg--;Le(c,d,b,a)}}return Boolean(g)}function Pe(a,b){b=a.handleEvent(b);a.kj&&Ke(a.wb);return b}
ve(function(a,b){if(!De[a])return true;a=De[a];var c=a.type,d=Ee;if(!(c in d))return true;d=d[c];var f,g;if(H){f=b||fa("window.event");b=true in d;var h=false in d;if(b){if(f.keyCode<0||f.returnValue!=undefined)return true;a:{var i=false;if(f.keyCode==0)try{f.keyCode=-1;break a}catch(l){i=true}if(i||f.returnValue==undefined)f.returnValue=true}}i=ze();i.init(f,this);f=true;try{if(b){for(var m=se(),r=i.currentTarget;r;r=r.parentNode)m.push(r);g=d[true];g.Ob=g.ia;for(var z=m.length-1;!i.Ic&&z>=0&&g.Ob;z--){i.currentTarget=
m[z];f&=Oe(g,m[z],c,true,i)}if(h){g=d[false];g.Ob=g.ia;for(z=0;!i.Ic&&z<m.length&&g.Ob;z++){i.currentTarget=m[z];f&=Oe(g,m[z],c,false,i)}}}else f=Pe(a,i)}finally{if(m){m.length=0;te(m)}i.B();Ce(i)}return f}g=new ee(b,this);try{f=Pe(a,g)}finally{g.B()}return f});function Qe(){}B(Qe,ce);s=Qe.prototype;s.zj=true;s.wg=null;s.Ci=aa("wg");s.addEventListener=function(a,b,c,d){P(this,a,b,c,d)};s.removeEventListener=function(a,b,c,d){Ie(this,a,b,c,d)};
s.dispatchEvent=function(a){a=a;if(u(a))a=new de(a,this);else if(a instanceof de)a.target=a.target||this;else{var b=a;a=new de(a.type,this);ob(a,b)}b=1;var c,d=a.type,f=Ee;if(d in f){f=f[d];d=true in f;var g;if(d){c=[];for(g=this;g;g=g.wg)c.push(g);g=f[true];g.Ob=g.ia;for(var h=c.length-1;!a.Ic&&h>=0&&g.Ob;h--){a.currentTarget=c[h];b&=Oe(g,c[h],a.type,true,a)&&a.be!=false}}if(false in f){g=f[false];g.Ob=g.ia;if(d)for(h=0;!a.Ic&&h<c.length&&g.Ob;h++){a.currentTarget=c[h];b&=Oe(g,c[h],a.type,false,
a)&&a.be!=false}else for(c=this;!a.Ic&&c&&g.Ob;c=c.wg){a.currentTarget=c;b&=Oe(g,c,a.type,false,a)&&a.be!=false}}a=Boolean(b)}else a=true;return a};s.e=function(){Qe.c.e.call(this);Me(this);this.wg=null};function Re(a,b){this.hd=a||1;this.nf=b||Se;this.bh=v(this.Co,this);this.fi=ua()}B(Re,Qe);Re.prototype.enabled=false;var Se=t.window;s=Re.prototype;s.Va=null;s.setInterval=function(a){this.hd=a;if(this.Va&&this.enabled){this.stop();this.start()}else this.Va&&this.stop()};s.Co=function(){if(this.enabled){var a=ua()-this.fi;if(a>0&&a<this.hd*0.8)this.Va=this.nf.setTimeout(this.bh,this.hd-a);else{this.dispatchEvent(Te);if(this.enabled){this.Va=this.nf.setTimeout(this.bh,this.hd);this.fi=ua()}}}};
s.start=function(){this.enabled=true;if(!this.Va){this.Va=this.nf.setTimeout(this.bh,this.hd);this.fi=ua()}};s.stop=function(){this.enabled=false;if(this.Va){this.nf.clearTimeout(this.Va);this.Va=null}};s.e=function(){Re.c.e.call(this);this.stop();delete this.nf};var Te="tick";function Ue(a,b,c){if(ma(a)){if(c)a=v(a,c)}else if(a&&typeof a.handleEvent=="function")a=v(a.handleEvent,a);else throw Error("Invalid listener argument");return b>2147483647?-1:Se.setTimeout(a,b||0)}
function Ve(a){Se.clearTimeout(a)};function We(a,b,c){this.gi=a;this.hd=b||0;this.Ib=c;this.oe=v(this.Gd,this)}B(We,ce);We.prototype.vb=0;We.prototype.e=function(){We.c.e.call(this);this.stop();delete this.gi;delete this.Ib};We.prototype.start=function(a){this.stop();this.vb=Ue(this.oe,a!==undefined?a:this.hd)};We.prototype.stop=function(){this.mc()&&Ve(this.vb);this.vb=0};function Xe(a){a.stop();a.Gd()}function Ye(a){a.mc()&&Xe(a)}We.prototype.mc=function(){return this.vb!=0};We.prototype.Gd=function(){this.vb=0;this.gi&&this.gi.call(this.Ib)};var Ze=I||J||G,$e=H||J||G||false,af=J||false,bf=H||J||G,cf=I&&true,df=I||J||G,ef=I||G;H&&K("7.0");var ff=I&&K("1.8")||J||G;H||G||I&&K("1.9");var gf=I||J,hf=H||G,jf=H||I||J,kf=H||J&&K("525");J&&K("531");J&&K("528");I&&K("1.9")||H||G||J&&K("531");var lf=H||I||G,mf=I||J&&!K("526"),nf=H||G,of=!H&&!G,pf=!J;function qf(){this.L=this.xf()}B(qf,Qe);qf.prototype.f=null;function rf(a){return a.f&&a.f.Ia}s=qf.prototype;s.Wl=true;s.Lb=tc("goog.editor.Plugin");s.Ik=aa("f");s.fl=function(){if(this.f){this.Mf(this.f);this.f=null}};s.qh=function(a){if(this.f==a)this.L=true;else nc(this.Lb,"Trying to enable an unregistered field with this plugin.")};s.Mf=function(a){if(this.f==a)this.L=false;else nc(this.Lb,"Trying to disable an unregistered field with this plugin.")};s.t=function(a){return this.f==a?this.L:false};
s.xf=$d;s.lk=$d;s.e=function(){this.f&&this.fl(this.f);qf.c.e.call(this)};var sf=mb({Rp:1,hn:2,kn:3,Zf:4,Yf:5,execCommand:6,queryCommandValue:7,Ek:8,am:10,$l:11}),tf=qb(8,10,11);qf.prototype.execCommand=function(a){var b=this.lk(a);if(!b){I&&uf(this.f,true,true);this.f.Fd()}try{var c=this.Bm.apply(this,arguments)}finally{if(!b){this.f.Zc();a!="+link"&&this.f.$c()}}return c};qf.prototype.Qe=p(false);function vf(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}vf.prototype.clone=function(){return new vf(this.top,this.right,this.bottom,this.left)};vf.prototype.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};vf.prototype.contains=function(a){return!this||!a?false:a instanceof vf?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 wf(a,b){if(a==b)return true;if(!a||!b)return false;return a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left};function xf(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}s=xf.prototype;s.clone=function(){return new xf(this.left,this.top,this.width,this.height)};s.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
s.Cn=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};
s.contains=function(a){return a instanceof xf?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};s.$j=function(){return new hd(this.width,this.height)};function yf(a,b,c){u(b)?zf(a,c,b):eb(b,ta(zf,a))}function zf(a,b,c){a.style[Af(c)]=b}function Bf(a,b){var c=M(a);if(c.defaultView&&c.defaultView.getComputedStyle)if(a=c.defaultView.getComputedStyle(a,""))return a[b];return null}function Cf(a,b){return a.currentStyle?a.currentStyle[b]:null}function Df(a,b){return Bf(a,b)||Cf(a,b)||a.style[b]}function Ef(a){return Df(a,"position")}
function Ff(a,b,c){var d,f=I&&(Cc||Kc)&&K("1.9");if(b instanceof fd){d=b.x;b=b.y}else{d=b;b=c}a.style.left=typeof d=="number"?(f?Math.round(d):d)+"px":d;a.style.top=typeof b=="number"?(f?Math.round(b):b)+"px":b}function Gf(a){return new fd(a.offsetLeft,a.offsetTop)}function Hf(a){var b=a.getBoundingClientRect();if(H){a=a.ownerDocument;b.left-=a.documentElement.clientLeft+a.body.clientLeft;b.top-=a.documentElement.clientTop+a.body.clientTop}return b}
function Jf(a){if(H)return a.offsetParent;var b=M(a),c=Df(a,"position"),d=c=="fixed"||c=="absolute";for(a=a.parentNode;a&&a!=b;a=a.parentNode){c=Df(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 Kf(a){var b=new vf(0,Infinity,Infinity,0),c=L(a),d=!J&&md(c.ka)?c.ka.documentElement:c.ka.body,f;for(a=a;a=Jf(a);)if((!H||a.clientWidth!=0)&&(a.scrollWidth!=a.clientWidth||a.scrollHeight!=a.clientHeight)&&Df(a,"overflow")!="visible"){var g=Lf(a),h;h=a;if(I&&!K("1.9")){var i=parseFloat(Bf(h,"borderLeftWidth"));if(Mf(h)){var l=h.offsetWidth-h.clientWidth-i-parseFloat(Bf(h,"borderRightWidth"));i+=l}h=new fd(i,parseFloat(Bf(h,"borderTopWidth")))}else h=new fd(h.clientLeft,h.clientTop);g.x+=h.x;
g.y+=h.y;b.top=Math.max(b.top,g.y);b.right=Math.min(b.right,g.x+a.clientWidth);b.bottom=Math.min(b.bottom,g.y+a.clientHeight);b.left=Math.max(b.left,g.x);f=f||a!=d}a=d.scrollLeft;d=d.scrollTop;if(J){b.left+=a;b.top+=d}else{b.left=Math.max(b.left,a);b.top=Math.max(b.top,d)}if(!f||J){b.right+=a;b.bottom+=d}c=c.sa();c=pd(c||window);b.right=Math.min(b.right,a+c.width);b.bottom=Math.min(b.bottom,d+c.height);return b.top>=0&&b.left>=0&&b.bottom>b.top&&b.right>b.left?b:null}
function Lf(a){var b,c=M(a),d=Df(a,"position"),f=I&&c.getBoxObjectFor&&!a.getBoundingClientRect&&d=="absolute"&&(b=c.getBoxObjectFor(a))&&(b.screenX<0||b.screenY<0),g=new fd(0,0),h;b=c?c.nodeType==9?c:M(c):document;h=H&&!Ud(L(b))?b.body:b.documentElement;if(a==h)return g;if(a.getBoundingClientRect){b=Hf(a);a=Vd(L(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(J&&Ef(b)=="fixed"){g.x+=c.body.scrollLeft;g.y+=c.body.scrollTop;break}b=b.offsetParent}while(b&&b!=a);if(G||J&&d=="absolute")g.y-=c.body.offsetTop;for(b=a;(b=Jf(b))&&b!=c.body&&b!=h;){g.x-=b.scrollLeft;if(!G||b.tagName!="TR")g.y-=b.scrollTop}}return g}
function Nf(a){var b=new fd;if(a.nodeType==1)if(a.getBoundingClientRect){var c=Hf(a);b.x=c.left;b.y=c.top}else{c=Vd(L(a));a=Lf(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 Of(a,b,c){if(b instanceof hd){c=b.height;b=b.width}else{if(c==undefined)throw Error("missing height argument");c=c}a.style.width=typeof b=="number"?Math.round(b)+"px":b;a.style.height=typeof c=="number"?Math.round(c)+"px":c}
function Pf(a){var b=G&&!K("10");if(Df(a,"display")!="none")return b?new hd(a.offsetWidth||a.clientWidth,a.offsetHeight||a.clientHeight):new hd(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 hd(b,a)}
function Qf(a){var b=Lf(a);a=Pf(a);return new xf(b.x,b.y,a.width,a.height)}var Rf={};function Af(a){return Rf[a]||(Rf[a]=String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()}))}function Sf(a,b){a=a.style;if("opacity"in a)a.opacity=b;else if("MozOpacity"in a)a.MozOpacity=b;else if("filter"in a)a.filter=b===""?"":"alpha(opacity="+b*100+")"}function Tf(a,b){a.style.display=b?"":"none"}
function Uf(a,b){b=L(b);var c=null;if(H){c=b.F().createStyleSheet();Vf(c,a)}else{var d=b.Bh("head")[0];if(!d){c=b.Bh("body")[0];d=b.d("head");c.parentNode.insertBefore(d,c)}c=b.d("style");Vf(c,a);b.appendChild(d,c)}return c}function Vf(a,b){if(H)a.cssText=b;else a[J?"innerText":"innerHTML"]=b}function Mf(a){return"rtl"==Df(a,"direction")}var Wf=I?"MozUserSelect":J?"WebkitUserSelect":null;
function Xf(a,b,c){c=!c?a.getElementsByTagName("*"):null;if(Wf){b=b?"none":"";a.style[Wf]=b;if(c){a=0;for(var d;d=c[a];a++)d.style[Wf]=b}}else if(H||G){b=b?"on":"";a.setAttribute("unselectable",b);if(c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)}}function Yf(a){return new hd(a.offsetWidth,a.offsetHeight)}
function Zf(a,b){var c=M(a),d=Ud(L(c));if(H&&(!d||!K("8"))){c=a.style;if(d){d=$f(a,"padding");a=ag(a);c.pixelWidth=b.width-a.left-d.left-d.right-a.right;c.pixelHeight=b.height-a.top-d.top-d.bottom-a.bottom}else{c.pixelWidth=b.width;c.pixelHeight=b.height}}else{a=a.style;if(I)a.MozBoxSizing="border-box";else if(J)a.WebkitBoxSizing="border-box";else if(G&&!K("9.50"))a.setProperty("box-sizing","border-box");else a.boxSizing="border-box";a.width=b.width+"px";a.height=b.height+"px"}}
function bg(a){var b=M(a),c=H&&a.currentStyle;if(c&&Ud(L(b))&&c.width!="auto"&&c.height!="auto"&&!c.boxSizing){b=cg(a,c.width,"width","pixelWidth");a=cg(a,c.height,"height","pixelHeight");return new hd(b,a)}else{c=Yf(a);b=$f(a,"padding");a=ag(a);return new hd(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)}}
function cg(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 dg(a,b){return cg(a,Cf(a,b),"left","pixelLeft")}
function $f(a,b){if(H){var c=dg(a,b+"Left"),d=dg(a,b+"Right"),f=dg(a,b+"Top");a=dg(a,b+"Bottom");return new vf(f,d,a,c)}else{c=Bf(a,b+"Left");d=Bf(a,b+"Right");f=Bf(a,b+"Top");a=Bf(a,b+"Bottom");return new vf(parseFloat(f),parseFloat(d),parseFloat(a),parseFloat(c))}}var eg={thin:2,medium:4,thick:6};function fg(a,b){if(Cf(a,b+"Style")=="none")return 0;b=Cf(a,b+"Width");if(b in eg)return eg[b];return cg(a,b,"left","pixelLeft")}
function ag(a){if(H){var b=fg(a,"borderLeft"),c=fg(a,"borderRight"),d=fg(a,"borderTop");a=fg(a,"borderBottom");return new vf(d,c,a,b)}else{b=Bf(a,"borderLeftWidth");c=Bf(a,"borderRightWidth");d=Bf(a,"borderTopWidth");a=Bf(a,"borderBottomWidth");return new vf(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}};function gg(a,b,c,d,f){this.Nj=a;this.Gi=b;this.ah=c;this.Oj=d;this.uh=f||{}}function hg(a,b){this.gq=a;this.yj=b};function ig(a,b,c){this.xk=a;this.po=!!c;a&&!b&&this.next()}B(ig,wb);ig.prototype.next=function(){var a=this.xk;if(!a)throw vb;this.xk=this.po?a.previousSibling:a.nextSibling;return a};function jg(a,b,c){c!==undefined||(c=b&&a.childNodes.length?a.childNodes.length-1:0);ig.call(this,a.childNodes[c],true,b)}B(jg,ig);var kg=qb("ADDRESS","BLOCKQUOTE","BODY","CAPTION","CENTER","COL","COLGROUP","DIR","DIV","DL","DD","DT","FIELDSET","FORM","H1","H2","H3","H4","H5","H6","HR","ISINDEX","OL","LI","MAP","MENU","OPTGROUP","OPTION","P","PRE","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","TL","UL"),lg=qb("IMG","IFRAME","EMBED");function mg(a){for(var b;b=!a||a.nodeType!=1?null:ng(Ab(new jg(a,false),og));)a=b;return a}function ng(a){try{return a.next()}catch(b){return null}}
function og(a){return a.nodeType==1||a.nodeType==3&&!La(a.nodeValue)}function pg(a,b){var c=Rd(a);if(a.getElementsByTagName)for(var d in lg)if(a.tagName==d||a.getElementsByTagName(d).length>0)return false;return!b&&c=="\u00a0"||La(c)}function qg(a){return a.length||a.childNodes.length}function rg(a){for(;a&&a.nodeType==3&&!a.nodeValue;)a=a.nextSibling;return a};function sg(){}B(sg,ce);var tg=tc("goog.dom.SavedRange");sg.prototype.restore=function(a){this.Nf&&nc(tg,"Disposed SavedRange objects cannot be restored.");var b=this.Bg();a||this.B();return b};function ug(a){this.Wk="goog_"+db++;this.Ij="goog_"+db++;this.xa=L(a.F());a.mf(this.xa.d("SPAN",{id:this.Wk}),this.xa.d("SPAN",{id:this.Ij}))}B(ug,sg);function vg(a,b){return a.xa.Ri(b?a.Wk:a.Ij)}ug.prototype.si=function(a){O(vg(this,true));O(vg(this,false));return a};ug.prototype.Bg=function(){var a=null,b=vg(this,true),c=vg(this,false);if(b&&c){a=b.parentNode;b=xa(a.childNodes,b);var d=c.parentNode;c=xa(d.childNodes,c);if(d==a)c-=1;a=wg(a,b,d,c);a=this.si(a);a.select()}else this.si();return a};
ug.prototype.e=function(){this.si();this.xa=null};function xg(a,b,c,d,f){this.Ea=!!b;a&&this.Lc(a,d);this.pb=f!=undefined?f:this.ua||0;if(this.Ea)this.pb*=-1;this.Ef=!c}B(xg,wb);s=xg.prototype;s.Aa=null;s.ua=null;s.Ii=false;s.Lc=function(a,b,c){if(this.Aa=a)this.ua=la(b)?b:this.Aa.nodeType!=1?0:this.Ea?-1:1;if(la(c))this.pb=c};s.dc=function(a){this.Aa=a.Aa;this.ua=a.ua;this.pb=a.pb;this.Ea=a.Ea;this.Ef=a.Ef};s.clone=function(){return new xg(this.Aa,this.Ea,!this.Ef,this.ua,this.pb)};
s.Fi=function(){var a=this.Ea?-1:1;if(this.ua==a){this.ua=a*-1;this.pb+=this.ua*(this.Ea?-1:1)}};s.next=function(){var a;if(this.Ii){if(!this.Aa||this.Ef&&this.pb==0)throw vb;a=this.Aa;var b=this.Ea?-1:1;if(this.ua==b){var c=this.Ea?a.lastChild:a.firstChild;c?this.Lc(c):this.Lc(a,b*-1)}else(c=this.Ea?a.previousSibling:a.nextSibling)?this.Lc(c):this.Lc(a.parentNode,b*-1);this.pb+=this.ua*(this.Ea?-1:1)}else this.Ii=true;a=this.Aa;if(!this.Aa)throw vb;return a};
s.we=function(a){return a.Aa==this.Aa&&(!this.Aa||a.ua==this.ua)};s.splice=function(){var a=this.Aa,b=this.Ea?1:-1;if(this.ua==b){this.ua=b*-1;this.pb+=this.ua*(this.Ea?-1:1)}this.Ea=!this.Ea;xg.prototype.next.call(this);this.Ea=!this.Ea;b=ka(arguments[0])?arguments[0]:arguments;for(var c=b.length-1;c>=0;c--)yd(b[c],a);O(a)};function yg(){}function zg(a){if(a.getSelection)return a.getSelection();else{a=a.document;var b=a.selection;if(b){try{var c=b.createRange();if(c.parentElement){if(c.parentElement().document!=a)return null}else if(!c.length||c.item(0).document!=a)return null}catch(d){return null}return b}return null}}function Ag(a){for(var b=[],c=0,d=a.Nd();c<d;c++)b.push(a.Xb(c));return b}function Bg(a){a=a.sb();return a.nodeType==1?a:a.parentNode}function Cg(a){return a.nc()?a.n():a.s()}
function Dg(a){return a.nc()?a.G():a.O()}s=yg.prototype;s.nc=p(false);s.F=function(){return M(H?this.sb():this.n())};s.sa=function(){return qd(this.F())};s.containsNode=function(a,b){return this.Wc(Eg(Fg(a),undefined),b)};s.Kk=function(a){this.isCollapsed()||this.qc();return this.insertNode(a,true)};function Gg(a,b){xg.call(this,a,b,true)}B(Gg,xg);function Hg(){}B(Hg,yg);Hg.prototype.Wc=function(a,b){var c=Ag(this);a=Ag(a);return(b?Aa:Ba)(a,function(d){return Aa(c,function(f){return f.Wc(d,b)})})};Hg.prototype.insertNode=function(a,b){b?xd(a,this.n()):yd(a,this.s());return a};Hg.prototype.mf=function(a,b){this.insertNode(a,true);this.insertNode(b,false)};function Ig(a,b,c,d,f){var g;if(a){this.u=a;this.Y=b;this.r=c;this.Q=d;if(a.nodeType==1&&a.tagName!="BR"){a=a.childNodes;if(b=a[b]){this.u=b;this.Y=0}else{if(a.length)this.u=va(a);g=true}}if(c.nodeType==1)if(this.r=c.childNodes[d])this.Q=0;else this.r=c}Gg.call(this,f?this.r:this.u,f);if(g)try{this.next()}catch(h){if(h!=vb)throw h;}}B(Ig,Gg);s=Ig.prototype;s.u=null;s.r=null;s.Y=0;s.Q=0;s.n=n("u");s.s=n("r");s.Ne=function(){return this.Ii&&this.Aa==this.r&&(!this.Q||this.ua!=1)};
s.next=function(){if(this.Ne())throw vb;return Ig.c.next.call(this)};s.Fi=function(){Ig.c.Fi.apply(this);if(Cd(this.Aa,this.r))throw vb;};s.dc=function(a){this.u=a.u;this.r=a.r;this.Y=a.Y;this.Q=a.Q;this.Jb=a.Jb;Ig.c.dc.call(this,a)};s.clone=function(){var a=new Ig(this.u,this.Y,this.r,this.Q,this.Jb);a.dc(this);return a};function Jg(a){this.aa=oe?[]:"";a!=null&&this.append.apply(this,arguments)}Jg.prototype.N=function(a){this.clear();this.append(a)};if(oe){Jg.prototype.dh=0;Jg.prototype.append=function(a,b){if(b==null)this.aa[this.dh++]=a;else{this.aa.push.apply(this.aa,arguments);this.dh=this.aa.length}return this}}else Jg.prototype.append=function(a,b){this.aa+=a;if(b!=null)for(var c=1;c<arguments.length;c++)this.aa+=arguments[c];return this};
Jg.prototype.clear=function(){if(oe)this.dh=this.aa.length=0;else this.aa=""};Jg.prototype.toString=function(){if(oe){var a=this.aa.join("");this.clear();a&&this.append(a);return a}else return this.aa};function Kg(){}Kg.prototype.Wc=function(a,b){return Lg(this,a.g,b)};function Lg(a,b,c){try{return c?a.Uc(b,0,1)>=0&&a.Uc(b,1,0)<=0:a.Uc(b,0,0)>=0&&a.Uc(b,1,1)<=0}catch(d){if(!H)throw d;return false}}Kg.prototype.containsNode=function(a,b){return this.Wc(Fg(a),b)};Kg.prototype.Sc=function(){return new Ig(this.n(),this.G(),this.s(),this.O())};function Mg(a){this.g=a}B(Mg,Kg);function Ng(a){var b=M(a).createRange();if(a.nodeType==3){b.setStart(a,0);b.setEnd(a,a.length)}else{for(var c,d=a;c=d.firstChild;)d=c;b.setStart(d,0);for(d=a;c=d.lastChild;)d=c;b.setEnd(d,d.nodeType==1?d.childNodes.length:d.length)}return b}function Og(a,b,c,d){var f=M(a).createRange();f.setStart(a,b);f.setEnd(c,d);return f}s=Mg.prototype;s.clone=function(){return new this.constructor(this.g.cloneRange())};s.sb=function(){return this.g.commonAncestorContainer};
s.n=function(){return this.g.startContainer};s.G=function(){return this.g.startOffset};s.s=function(){return this.g.endContainer};s.O=function(){return this.g.endOffset};s.Uc=function(a,b,c){return this.g.compareBoundaryPoints(c==1?b==1?t.Range.START_TO_START:t.Range.START_TO_END:b==1?t.Range.END_TO_START:t.Range.END_TO_END,a)};s.isCollapsed=function(){return this.g.collapsed};s.ic=function(){return this.g.toString()};s.select=function(a){this.Dg(qd(M(this.n())).getSelection(),a)};
s.Dg=function(a){a.removeAllRanges();a.addRange(this.g)};s.qc=function(){var a=this.g;a.extractContents();if(a.startContainer.hasChildNodes())if(a=a.startContainer.childNodes[a.startOffset]){var b=a.previousSibling;Rd(a)==""&&O(a);b&&Rd(b)==""&&O(b)}};s.insertNode=function(a,b){var c=this.g.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a};
s.mf=function(a,b){var c=qd(M(this.n()));if(c=Pg(c))var d=c.n(),f=c.s(),g=c.G(),h=c.O();var i=this.g.cloneRange(),l=this.g.cloneRange();i.collapse(false);l.collapse(true);i.insertNode(b);l.insertNode(a);i.detach();l.detach();if(c){if(d.nodeType==3)for(;g>d.length;){g-=d.length;do d=d.nextSibling;while(d==a||d==b)}if(f.nodeType==3)for(;h>f.length;){h-=f.length;do f=f.nextSibling;while(f==a||f==b)}wg(d,g,f,h).select()}};s.collapse=function(a){this.g.collapse(a)};function Qg(a){this.g=a}B(Qg,Mg);Qg.prototype.Dg=function(a,b){var c=b?this.s():this.n(),d=b?this.O():this.G(),f=b?this.n():this.s();b=b?this.G():this.O();a.collapse(c,d);if(c!=f||d!=b)a.extend(f,b)};function Rg(a,b,c,d){xg.call(this,a,b,c,null,d)}B(Rg,xg);Rg.prototype.next=function(){do Rg.c.next.call(this);while(this.ua==-1);return this.Aa};function Sg(a,b){this.g=a;this.ph=b}B(Sg,Kg);var Tg=tc("goog.dom.browserrange.IeRange");function Ug(a){var b=M(a).body.createTextRange();if(a.nodeType==1)b.moveToElementText(a);else{for(var c=0,d=a;d=d.previousSibling;){var f=d.nodeType;if(f==3)c+=d.length;else if(f==1){b.moveToElementText(d);break}}d||b.moveToElementText(a.parentNode);b.collapse(!d);c&&b.move("character",c);b.moveEnd("character",a.length)}return b}
function Vg(a,b,c,d){var f=false;if(a.nodeType==1){b>a.childNodes.length&&nc(Tg,"Cannot have startOffset > startNode child count");b=a.childNodes[b];f=!b;a=b||a.lastChild||a;b=0}a=Ug(a);b&&a.move("character",b);f&&a.collapse(false);f=false;if(c.nodeType==1){d>c.childNodes.length&&nc(Tg,"Cannot have endOffset > endNode child count");c=(b=c.childNodes[d])||c.lastChild||c;d=0;f=!b}c=Ug(c);c.collapse(!f);d&&c.moveEnd("character",d);a.setEndPoint("EndToEnd",c);return a}
function Wg(a){var b=new Sg(Ug(a),M(a));b.nd=a;return b}s=Sg.prototype;s.nd=null;s.u=null;s.r=null;s.clone=function(){var a=new Sg(this.g.duplicate(),this.ph);a.nd=this.nd;a.u=this.u;a.r=this.r;return a};s.Za=function(){this.nd=this.u=this.r=null};
s.sb=function(){if(!this.nd){for(var a=this.g.text,b=1;a.charAt(a.length-b)==" ";b++)this.g.moveEnd("character",-1);b=this.g.parentElement();for(var c=this.g.htmlText.replace(/(\r\n|\r|\n)+/g," ");c.length>b.outerHTML.replace(/(\r\n|\r|\n)+/g," ").length;)b=b.parentNode;for(;b.childNodes.length==1&&b.innerText==(b.firstChild.nodeType==3?b.firstChild.nodeValue:b.firstChild.innerText);){if(b.firstChild.tagName=="IMG")break;b=b.firstChild}if(a.length==0)b=Xg(this,b);this.nd=b}return this.nd};
function Xg(a,b){for(var c=b.childNodes,d=0,f=c.length;d<f;d++){var g=c[d];if(g.nodeType==1)if(a.g.inRange(Ug(g)))return Xg(a,g)}return b}s=Sg.prototype;s.n=function(){return this.u||(this.u=Yg(this,1))};s.G=function(){return Zg(this,1)};s.s=function(){return this.r||(this.r=Yg(this,0))};s.O=function(){return Zg(this,0)};s.Wc=function(a,b){return Lg(this,a.g,b)};s.Uc=function(a,b,c){return this.g.compareEndPoints((b==1?"Start":"End")+"To"+(c==1?"Start":"End"),a)};
function Yg(a,b,c){c=c||a.sb();if(!c||!c.firstChild){if(b==0&&c.previousSibling&&c.previousSibling.tagName=="BR"&&Zg(a,b,c)==0)c=c.previousSibling;return c.tagName=="BR"?c.parentNode:c}for(var d=b==1?c.firstChild:c.lastChild;d;){if(a.containsNode(d,true))return Yg(a,b,d);d=b==1?d.nextSibling:d.previousSibling}return c}
function Zg(a,b,c){c=c||(b==1?a.n():a.s());if(c.nodeType==1){c=c.childNodes;for(var d=c.length,f=b==1?0:d-1;f>=0&&f<d;){var g=c[f];if(a.containsNode(g,true)){b==0&&g.previousSibling&&g.previousSibling.tagName=="BR"&&Zg(a,b,g)==0&&f--;break}f+=b==1?1:-1}return f==-1?0:f}else{a=a.g.duplicate();d=Ug(c);a.setEndPoint(b==1?"EndToEnd":"StartToStart",d);a=a.text.length;return b==0?a:c.length-a}}s=Sg.prototype;
s.Sd=function(){var a=this.ph.body.createTextRange();a.moveToElementText(this.ph.body);return Lg(this,a,true)};s.isCollapsed=function(){return this.g.text==""};s.ic=function(){return this.g.text};s.select=function(){this.g.select()};
s.qc=function(){if(this.g.htmlText){var a=this.n(),b=this.s(),c=this.g.text,d=this.g.duplicate();d.moveStart("character",1);d.moveStart("character",-1);if(d.text!=c){var f=new Rg(a,false,true),g=[];yb(f,function(l){if(l.nodeType!=3&&this.containsNode(l)){g.push(l);f.Fi()}if(l==b)throw vb;});this.collapse(true);F(g,O);this.Za()}else{this.g=d;this.g.text="";this.Za();c=this.n();d=this.G();try{var h=a.nextSibling;if(a==b&&a.parentNode&&a.nodeType==3&&h&&h.nodeType==3){a.nodeValue+=h.nodeValue;O(h);this.g=
Ug(c);this.g.move("character",d);this.Za()}}catch(i){}}}};function $g(a,b,c,d){d=d||L(a.parentElement());var f;if(b.nodeType!=1){f=true;b=d.d("DIV",null,b)}a.collapse(c);b=b;c=(c=d)||L(a.parentElement());var g,h=g=b.id;if(!g)g=b.id="goog_"+db++;a.pasteHTML(b.outerHTML);if(b=c.Ri(g))h||b.removeAttribute("id");b=b;if(f){a=b.firstChild;d.Em(b);b=a}return b}Sg.prototype.insertNode=function(a,b){a=$g(this.g.duplicate(),a,b);this.Za();return a};
Sg.prototype.mf=function(a,b){var c=this.g.duplicate(),d=this.g.duplicate();$g(c,a,true);$g(d,b,false);this.Za()};Sg.prototype.collapse=function(a){this.g.collapse(a);if(a)this.r=this.u;else this.u=this.r};function ah(a){this.g=a}B(ah,Mg);ah.prototype.Dg=function(a){a.collapse(this.n(),this.G());if(this.s()!=this.n()||this.O()!=this.G())a.extend(this.s(),this.O());a.rangeCount==0&&a.addRange(this.g)};function bh(a){this.g=a}B(bh,Mg);bh.prototype.Uc=function(a,b,c){if(K("528"))return bh.c.Uc.call(this,a,b,c);return this.g.compareBoundaryPoints(c==1?b==1?t.Range.START_TO_START:t.Range.END_TO_START:b==1?t.Range.START_TO_END:t.Range.END_TO_END,a)};bh.prototype.Dg=function(a,b){a.removeAllRanges();b?a.setBaseAndExtent(this.s(),this.O(),this.n(),this.G()):a.setBaseAndExtent(this.n(),this.G(),this.s(),this.O())};function ch(a){return H?new Sg(a,M(a.parentElement())):J?new bh(a):I?new Qg(a):G?new ah(a):new Mg(a)}function Fg(a){return H?Wg(a):J?new bh(Ng(a)):I?new Qg(Ng(a)):G?new ah(Ng(a)):new Mg(Ng(a))}function dh(a,b,c,d){return H?new Sg(Vg(a,b,c,d),M(a)):J?new bh(Og(a,b,c,d)):I?new Qg(Og(a,b,c,d)):G?new ah(Og(a,b,c,d)):new Mg(Og(a,b,c,d))};function eh(){}B(eh,yg);function Eg(a,b){var c=new eh;c.Tc=a;c.Jb=!!b;return c}function wg(a,b,c,d){var f=new eh;f.Jb=fh(a,b,c,d);if(a.tagName=="BR"){var g=a.parentNode;b=xa(g.childNodes,a);a=g}if(c.tagName=="BR"){g=c.parentNode;d=xa(g.childNodes,c);c=g}if(f.Jb){f.u=c;f.Y=d;f.r=a;f.Q=b}else{f.u=a;f.Y=b;f.r=c;f.Q=d}return f}s=eh.prototype;s.Tc=null;s.u=null;s.Y=null;s.r=null;s.Q=null;s.Jb=false;s.clone=function(){var a=new eh;a.Tc=this.Tc;a.u=this.u;a.Y=this.Y;a.r=this.r;a.Q=this.Q;a.Jb=this.Jb;return a};
s.Hh=p("text");s.Ub=function(){return gh(this).g};s.Za=function(){this.u=this.Y=this.r=this.Q=null};s.Nd=p(1);s.Xb=function(){return this};function gh(a){return a.Tc||(a.Tc=dh(a.n(),a.G(),a.s(),a.O()))}s=eh.prototype;s.sb=function(){return gh(this).sb()};s.n=function(){return this.u||(this.u=gh(this).n())};s.G=function(){return this.Y!=null?this.Y:(this.Y=gh(this).G())};s.s=function(){return this.r||(this.r=gh(this).s())};s.O=function(){return this.Q!=null?this.Q:(this.Q=gh(this).O())};s.nc=n("Jb");
s.Wc=function(a,b){var c=a.Hh();if(c=="text")return gh(this).Wc(gh(a),b);else if(c=="control"){a=hh(a);return(b?Aa:Ba)(a,function(d){return this.containsNode(d,b)},this)}return false};function ih(a){if(H){var b=false;try{b=a.parentNode}catch(c){}return!!b}else return Cd(a.ownerDocument.body,a)}s=eh.prototype;s.Sd=function(){return(!this.u||ih(this.u))&&(!this.r||ih(this.r))&&(!H||gh(this).Sd())};s.isCollapsed=function(){return gh(this).isCollapsed()};s.ic=function(){return gh(this).ic()};
s.Sc=function(){return new Ig(this.n(),this.G(),this.s(),this.O())};s.select=function(){gh(this).select(this.Jb)};s.qc=function(){gh(this).qc();this.Za()};s.insertNode=function(a,b){a=gh(this).insertNode(a,b);this.Za();return a};s.mf=function(a,b){gh(this).mf(a,b);this.Za()};s.wi=function(){return new jh(this)};s.collapse=function(a){a=this.nc()?!a:a;this.Tc&&this.Tc.collapse(a);if(a){this.r=this.u;this.Q=this.Y}else{this.u=this.r;this.Y=this.Q}this.Jb=false};
function jh(a){this.fj=a.nc()?a.s():a.n();this.Rl=a.nc()?a.O():a.G();this.Pj=Cg(a);this.Gm=Dg(a)}B(jh,sg);jh.prototype.Bg=function(){return wg(this.fj,this.Rl,this.Pj,this.Gm)};jh.prototype.e=function(){jh.c.e.call(this);this.Pj=this.fj=null};function kh(){}B(kh,Hg);function lh(a){var b=new kh;b.g=a;return b}function mh(){for(var a=M(arguments[0]).body.createControlRange(),b=0,c=arguments.length;b<c;b++)a.addElement(arguments[b]);return lh(a)}s=kh.prototype;s.g=null;s.qa=null;s.kf=null;s.Za=function(){this.kf=this.qa=null};s.clone=function(){return mh.apply(this,hh(this))};s.Hh=p("control");s.Ub=function(){return this.g||document.body.createControlRange()};s.Nd=function(){return this.g?this.g.length:0};
s.Xb=function(a){a=this.g.item(a);return Eg(Fg(a),undefined)};s.sb=function(){return Gd.apply(null,hh(this))};s.n=function(){return nh(this)[0]};s.G=p(0);s.s=function(){var a=nh(this),b=va(a);return Ca(a,function(c){return Cd(c,b)})};s.O=function(){return this.s().childNodes.length};function hh(a){if(!a.qa){a.qa=[];if(a.g)for(var b=0;b<a.g.length;b++)a.qa.push(a.g.item(b))}return a.qa}
function nh(a){if(!a.kf){a.kf=hh(a).concat();a.kf.sort(function(b,c){return b.sourceIndex-c.sourceIndex})}return a.kf}s=kh.prototype;s.Sd=function(){var a=false;try{a=Ba(hh(this),function(c){return H?c.parentNode:Cd(c.ownerDocument.body,c)})}catch(b){}return a};s.isCollapsed=function(){return!this.g||!this.g.length};s.ic=p("");s.Sc=function(){return new oh(this)};s.select=function(){this.g&&this.g.select()};
s.qc=function(){if(this.g){for(var a=[],b=0,c=this.g.length;b<c;b++)a.push(this.g.item(b));F(a,O);this.collapse(false)}};s.Kk=function(a){a=this.insertNode(a,true);this.isCollapsed()||this.qc();return a};s.wi=function(){return new ph(this)};s.collapse=function(){this.g=null;this.Za()};function ph(a){this.qa=hh(a)}B(ph,sg);ph.prototype.Bg=function(){for(var a=(this.qa.length?M(this.qa[0]):document).body.createControlRange(),b=0,c=this.qa.length;b<c;b++)a.addElement(this.qa[b]);return lh(a)};
ph.prototype.e=function(){ph.c.e.call(this);delete this.qa};function oh(a){if(a){this.qa=nh(a);this.u=this.qa.shift();this.r=va(this.qa)||this.u}Gg.call(this,this.u,false)}B(oh,Gg);s=oh.prototype;s.u=null;s.r=null;s.qa=null;s.n=n("u");s.s=n("r");s.Ne=function(){return!this.pb&&!this.qa.length};s.next=function(){if(this.Ne())throw vb;else if(!this.pb){var a=this.qa.shift();this.Lc(a,1,1);return a}return oh.c.next.call(this)};s.dc=function(a){this.qa=a.qa;this.u=a.u;this.r=a.r;oh.c.dc.call(this,a)};
s.clone=function(){var a=new oh(null);a.dc(this);return a};function qh(){this.Cb=[];this.$d=[];this.Ff=this.ie=null}B(qh,Hg);function rh(a){var b=new qh;b.$d=a;b.Cb=za(a,function(c){return c.Ub()});return b}s=qh.prototype;s.W=tc("goog.dom.MultiRange");s.Za=function(){this.$d=[];this.Ff=this.ie=null};s.clone=function(){var a=this.Cb,b=new qh;b.Cb=Fa(a);return b};s.Hh=p("mutli");s.Ub=function(){this.Cb.length>1&&oc(this.W,"getBrowserRangeObject called on MultiRange with more than 1 range");return this.Cb[0]};s.Nd=function(){return this.Cb.length};
s.Xb=function(a){this.$d[a]||(this.$d[a]=Eg(ch(this.Cb[a]),undefined));return this.$d[a]};s.sb=function(){if(!this.Ff){for(var a=[],b=0,c=this.Nd();b<c;b++)a.push(this.Xb(b).sb());this.Ff=Gd.apply(null,a)}return this.Ff};function sh(a){if(!a.ie){a.ie=Ag(a);a.ie.sort(function(b,c){var d=b.n();b=b.G();var f=c.n();c=c.G();if(d==f&&b==c)return 0;return fh(d,b,f,c)?1:-1})}return a.ie}s=qh.prototype;s.n=function(){return sh(this)[0].n()};s.G=function(){return sh(this)[0].G()};s.s=function(){return va(sh(this)).s()};
s.O=function(){return va(sh(this)).O()};s.Sd=function(){return Ba(Ag(this),function(a){return a.Sd()})};s.isCollapsed=function(){return this.Cb.length==0||this.Cb.length==1&&this.Xb(0).isCollapsed()};s.ic=function(){return za(Ag(this),function(a){return a.ic()}).join("")};s.Sc=function(){return new th(this)};s.select=function(){var a=zg(this.sa());a.removeAllRanges();for(var b=0,c=this.Nd();b<c;b++)a.addRange(this.Xb(b).Ub())};s.qc=function(){F(Ag(this),function(a){a.qc()})};s.wi=function(){return new uh(this)};
s.collapse=function(a){if(!this.isCollapsed()){var b=a?this.Xb(0):this.Xb(this.Nd()-1);this.Za();b.collapse(a);this.$d=[b];this.ie=[b];this.Cb=[b.Ub()]}};function uh(a){this.xi=za(Ag(a),function(b){return b.wi()})}B(uh,sg);uh.prototype.Bg=function(){var a=za(this.xi,function(b){return b.restore()});return rh(a)};uh.prototype.e=function(){uh.c.e.call(this);F(this.xi,function(a){a.B()});delete this.xi};
function th(a){if(a)this.Ec=za(sh(a),function(b){return xb(b)});Gg.call(this,a?this.n():null,false)}B(th,Gg);s=th.prototype;s.Ec=null;s.If=0;s.n=function(){return this.Ec[0].n()};s.s=function(){return va(this.Ec).s()};s.Ne=function(){return this.Ec[this.If].Ne()};s.next=function(){try{var a=this.Ec[this.If],b=a.next();this.Lc(a.Aa,a.ua,a.pb);return b}catch(c){if(c!==vb||this.Ec.length-1==this.If)throw c;else{this.If++;return this.next()}}};s.dc=function(a){this.Ec=Fa(a.Ec);th.c.dc.call(this,a)};
s.clone=function(){var a=new th(null);a.dc(this);return a};function Pg(a){return(a=zg(a||window))&&vh(a)}function vh(a){var b,c=false;if(a.createRange)try{b=a.createRange()}catch(d){return null}else if(a.rangeCount)if(a.rangeCount>1){b=new qh;c=0;for(var f=a.rangeCount;c<f;c++)b.Cb.push(a.getRangeAt(c));return b}else{b=a.getRangeAt(0);c=fh(a.anchorNode,a.anchorOffset,a.focusNode,a.focusOffset)}else return null;return b&&b.addElement?lh(b):Eg(ch(b),c)}function wh(a,b){return wg(a,b,a,b)}
function xh(a){if(a=zg(a||window))if(a.empty)try{a.empty()}catch(b){}else a.removeAllRanges()}function fh(a,b,c,d){if(a==c)return d<b;var f;if(a.nodeType==1&&b)if(f=a.childNodes[b]){a=f;b=0}else if(Cd(a,c))return true;if(c.nodeType==1&&d)if(f=c.childNodes[d]){c=f;d=0}else if(Cd(c,a))return false;return(Dd(a,c)||b-d)>0};function yh(a,b){if(a.nodeType!=1)return null;return H?Cf(a,b):Bf(a,b)}function zh(a){var b=a&&a.nodeName.toLowerCase();return!!(a&&(yh(a,"display")=="block"||b=="td"||b=="table"||b=="li"))}function Ah(a){return Td(a,zh,true)};function Bh(a,b){var c=Ch(a,1,b);c=Ch(c,0,b);var d=c.n();a=c.s();var f=c.G();c=c.O();if(d==a){for(;a!=b&&f==0&&c==qg(a);){d=a.parentNode;f=xa(d.childNodes,a);c=f+1;a=d}d=a}return wg(d,f,a,c)}function Ch(a,b,c){for(var d=(b=b==1)?a.n():a.s(),f=b?a.G():a.O(),g=Bg(a);d!=g&&d!=c;){if(b&&f!=0||!b&&f!=qg(d))break;var h=d.parentNode;f=xa(h.childNodes,d);f=b?f:f+1;d=h}c=b?d:a.n();g=b?f:a.G();d=b?a.s():d;a=b?a.O():f;return wg(c,g,d,a)}function Dh(a,b){a=H?Eh(a,b):Fh(a,b);a.select();return a}
function Eh(a,b){a=Eg(Fg(a),undefined);a.collapse(b);return a}function Fh(a,b){var c=L(a);if(G){c=a.parentNode;a=xa(c.childNodes,a)+(b?0:1);return wg(c,a,c,a)}else{c=c.createTextNode("");a.parentNode.insertBefore(c,b?a:a.nextSibling);return wh(c,0)}}function Gh(a,b){if(Sd(Bg(a),b))return true;return Bb(a,function(c){return c.tagName==b})}function Hh(a,b){this.Aa=a;this.offset=b};function Ih(a){this.Ib=a}B(Ih,ce);var Lh=new ke(0,100);s=Ih.prototype;s.h=function(a,b,c,d,f){if(ja(b))for(var g=0;g<b.length;g++)this.h(a,b[g],c,d,f);else{a=P(a,b,c||this,d||false,f||this.Ib||this);if(this.H)this.H[a]=true;else if(this.Fc){this.H=le(Lh);this.H[this.Fc]=true;this.Fc=null;this.H[a]=true}else this.Fc=a}return this};
s.Xa=function(a,b,c,d,f){if(this.Fc||this.H)if(ja(b))for(var g=0;g<b.length;g++)this.Xa(a,b[g],c,d,f);else{a:{c=c||this;f=f||this.Ib||this;d=!!(d||false);if(a=Je(a,b,d))for(b=0;b<a.length;b++)if(a[b].Ud==c&&a[b].capture==d&&a[b].$f==f){a=a[b];break a}a=null}if(a){a=a.wb;Ke(a);if(this.H)jb(this.H,a);else if(this.Fc==a)this.Fc=null}}return this};s.Ag=function(){if(this.H){for(var a in this.H){Ke(a);delete this.H[a]}me(Lh,this.H);this.H=null}else this.Fc&&Ke(this.Fc)};
s.e=function(){Ih.c.e.call(this);this.Ag()};s.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Mh(a,b,c,d,f){if(!H&&!(J&&K("525")))return true;if(Cc&&f)return Nh(a);if(f&&!d)return false;if(H&&!c&&(b==17||b==18))return false;if(H&&d&&b==a)return false;switch(a){case 13:return true;case 27:return!J}return Nh(a)}
function Nh(a){if(a>=48&&a<=57)return true;if(a>=96&&a<=106)return true;if(a>=65&&a<=90)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 T(a,b){this.lc=this.id=a;this.Ia=null;this.Nb={};this.gd={};for(var c in sf)this.gd[c]=[];this.Hf="";if(J&&K("525.13")&&bb(Lc,"525.18")<=0){this.Pi="tr-webkit-workaround";this.Hf="."+this.Pi+">*{padding-right:1}"}this.td={};this.td[Oh]=1;this.td[Ph]=1;this.fg=this.Oe=false;this.Kf=new We(this.Cj,Qh,this);this.jh={};for(var d in Rh)this.jh[Rh[d]]=0;if(I)this.ob=new We(this.Kh,Sh,this);this.Fb=new Ih(this);this.Ho=[];this.Kb=Th;this.Xd=L(b||document);this.Dk=this.Xd.b(this.id);this.Zg=this.Xd.sa()}
B(T,Qe);T.prototype.field=null;T.prototype.Dk=null;T.prototype.Lb=tc("goog.editor.Field");var Oh="change",Ph="delayedchange",Rh={Po:"cvc",ep:"load",tp:"unload",Jo:"beforechange",Oo:Oh,Ro:Ph,Ko:"beforefocus",So:"focus",Mo:"blur",Lo:"beforetab",mp:"selectionchange"},Th=0,Uh=null;T.prototype.Ke=false;function Vh(a){Uh=a}T.prototype.b=n("field");T.prototype.Hb=n("Dk");function Wh(a,b,c,d,f){var g=a.b();if(!jf&&g.parentNode.contentEditable)g=g.parentNode;if(g&&cf)g=g.ownerDocument;a.Fb.h(g,b,c,d,f)}
function Xh(a,b){var c=b.Od();a.Nb[c]&&nc(a.Lb,"Cannot register the same class of plugin twice.");a.Nb[c]=b;for(var d in sf)b[sf[d]]&&a.gd[d].push(b);b.Ik(a);a.Kb==2&&b.qh(a)}T.prototype.Rd=function(a){return a?this.fg:this.Oe};var Sh=15,Qh=250;T.prototype.sf=ae;var Yh={46:true,8:true};H||(Yh[9]=true);var Zh={86:true,88:true};if(H)Yh[229]=true;function $h(a,b){if(ai(a))return true;return!!(b&&!(a.ctrlKey||a.metaKey)&&(!I||a.charCode))}
function ai(a){var b=!(a.ctrlKey||a.metaKey)&&a.keyCode in Yh;return(a.ctrlKey||a.metaKey)&&a.keyCode in Zh||b}
T.prototype.e=function(){if(this.Kb==1||this.Kb==2)oc(this.Lb,"Disposing a field that is in use.");this.Hb()&&this.execCommand("clearlorem");for(var a in this.Nb){var b=this.Nb[a];b.xf()||b.Mf(this)}this.Kb=Th;this.Ia=this.field=null;this.Fb&&this.Fb.Ag();this.ob&&this.ob.stop();this.Kf.stop();this.Xd=null;if(this.Fb){this.Fb.B();this.Fb=null}for(;a=this.Ho.pop();)a.B();Uh==this.id&&Vh(null);for(var c in this.Nb){a=this.Nb[c];a.Wl&&a.B()}delete this.Nb;T.c.e.call(this)};
var bi=["DOMNodeInserted","DOMNodeRemoved","DOMNodeRemovedFromDocument","DOMNodeInsertedIntoDocument","DOMCharacterDataModified"];function ci(a,b){if(b.keyCode==9&&!a.dispatchEvent({type:"beforetab",shiftKey:b.shiftKey,altKey:b.altKey,ctrlKey:b.ctrlKey})||I&&b.metaKey&&(b.keyCode==37||b.keyCode==39)){b.preventDefault();return false}else{a.Ih=b.charCode||$h(b,I);a.Ih&&a.Fd()}return true}
var di={8:1,9:1,13:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,46:1},ei={65:true,86:true,88:true},fi={8:1,9:1,13:1,27:1,33:1,34:1,37:1,38:1,39:1,40:1};T.prototype.Me=function(a){for(var b=this.gd[a],c=Ja(arguments,1),d=0;d<b.length;++d){var f=b[d];if((f.t(this)||tf[a])&&f[sf[a]].apply(f,c))return true}return false};T.prototype.Dn=function(a){for(var b=this.gd[a],c=Ja(arguments,1),d=0;d<b.length;++d){var f=b[d];if(f.t(this)||tf[a])f[sf[a]].apply(f,c)}};
T.prototype.zg=function(a){for(var b=this.gd[a],c=Ja(arguments,1),d=0;d<b.length;++d){var f=b[d];if(f.t(this)||tf[a])c[0]=f[sf[a]].apply(f,c)}return c[0]};function gi(a,b,c){var d={};a=a.zg(8,b||"",d);yf(c,d);c.innerHTML=a}T.prototype.Nh=function(a){if(!I)if(!ci(this,a))return;!this.Me(1,a)&&kf&&hi(this,a)};T.prototype.jn=function(a){if(I){if(!ci(this,a))return}else{this.Ih=true;this.Fd()}!this.Me(2,a)&&!kf&&hi(this,a)};
T.prototype.ln=function(a){if(!I&&(this.Ih||ai(a)))this.Kh();this.Me(3,a);if(!ii(this,"selectionchange"))if(di[a.keyCode]||(a.ctrlKey||a.metaKey)&&ei[a.keyCode])this.Rk.start()};function hi(a,b){if(!b.altKey){var c=Cc?b.metaKey:b.ctrlKey;if(c||fi[b.keyCode]){var d=b.charCode||b.keyCode;if(d!=17){d=String.fromCharCode(d).toLowerCase();a.Me(5,b,d,c)&&b.preventDefault()}}}}s=T.prototype;
s.execCommand=function(a){for(var b=arguments,c,d=this.gd[6],f=0;f<d.length;++f){var g=d[f];if(g.t(this)&&g.Qe(a)){c=g.execCommand.apply(g,b);break}}return c};s.queryCommandValue=function(a){var b=this.Kb==2&&this.ai;if(u(a))return this.yg(a,b);else{for(var c={},d=0;d<a.length;d++)c[a[d]]=this.yg(a[d],b);return c}};s.yg=function(a,b){for(var c=this.gd[7],d=0;d<c.length;++d){var f=c[d];if(f.t(this)&&f.Qe(a)&&(b||f.xf()))return f.queryCommandValue(a)}return b?null:false};
s.an=function(a,b){if(!ii(this,Oh)){b=b.cb;try{if(b.originalTarget.prefix||b.originalTarget.nodeName=="scrollbar")return}catch(c){return}b.prevValue!=b.newValue&&a.call(this,b)}};s.Qh=function(a){if(!ii(this,Oh)){a=a.Lm?a.cb:a;if(!a.target.Mp){this.fg=this.Oe=true;this.ob.start()}}};s.bk=function(){H&&this.execCommand("clearlorem",true);I&&this.oh();this.Zc()};function ji(a){return(a=a.Ia&&a.Ia.sa())&&Pg(a)}
T.prototype.$c=function(a){if(!ii(this,"selectionchange")){var b=ji(this);b=b&&Bg(b);this.ai=!!b&&Cd(this.b(),b);this.dispatchEvent("cvc");this.dispatchEvent({type:"selectionchange",Xp:a&&a.type});this.Me(4,a)}};T.prototype.Fd=function(){ii(this,"beforechange")||this.dispatchEvent("beforechange")};function uf(a,b,c){if(b){a.ob&&Ye(a.ob);a.td[Oh]=1}if(c){ki(a);a.td[Ph]=1}}function li(a,b,c){!b&&a.ob&&Ye(a.ob);a.td[Oh]=0;a.td[Ph]=0;b&&a.Kh();c&&a.Cj()}
function ii(a,b){return!!a.td[b]||a.jh[b]&&ua()-a.jh[b]<=500}T.prototype.Zc=function(a){li(this,true,a)};T.prototype.Kh=function(){if(!ii(this,Oh)){this.ob&&this.ob.stop();this.fg=this.Oe=true;ii(this,Ph)||this.Kf.start()}};T.prototype.Cj=function(){if(!ii(this,Ph)){this.Kf.stop();this.Oe=false;this.dispatchEvent(Ph)}};function ki(a){a.ob&&Ye(a.ob);Ye(a.Kf)}T.prototype.oh=function(){this.Aj();this.Dj()};T.prototype.Aj=function(){if(!ii(this,"beforefocus")){this.execCommand("clearlorem",true);this.dispatchEvent("beforefocus")}};
T.prototype.Dj=function(){if(!ii(this,"focus")){Uh=this.id;this.ai=true;this.dispatchEvent("focus");if(I){var a=this.b(),b=ji(this);if(b){var c=Cg(b);if(Dg(b)==0&&(!c||c==a||c.tagName=="BODY"))wh(mg(a),0).select()}}!bf&&this.sf()&&this.Ia.sa().parent.getSelection().removeAllRanges()}};T.prototype.Bj=function(){if(!ii(this,"blur")){Uh==this.id&&Vh(null);this.ai=false;this.dispatchEvent("blur")}};function mi(a){Sd(a.target,"A")&&a.preventDefault()}
T.prototype.on=function(a){Uh||Vh(this.id);if(H){var b=a.target;b&&b.tagName=="A"&&a.ctrlKey&&this.Xd.sa().open(b.href)}};T.prototype.pn=function(a){this.$c(a);H&&this.Rk.start()};
T.prototype.ef=function(a,b,c,d){if(this.Kb==1)nc(this.Lb,"Can't set html while loading Trogedit");else{d&&this.execCommand("clearlorem");if(b&&a)b="<p>"+b+"</p>";c&&uf(this,false,true);a=b;if(b=this.b()){if(this.sf()&&J)for(var f=b.ownerDocument.getElementsByTagName("HEAD"),g=f.length-1;g>=1;--g)f[g].parentNode.removeChild(f[g])}else b=this.Hb();b&&gi(this,a,b);d&&this.execCommand("updatelorem");if(this.Kb==2)if(c){I&&Ye(this.ob);li(this)}else this.Zc()}};
function ni(a){a=a.Ia.F();a.designMode="on";ff&&a.execCommand("styleWithCSS",false,false)}T.prototype.focus=function(){if(!$e||J)this.Ia.sa().focus();else{if(G)var a=this.Zg.pageXOffset,b=this.Zg.pageYOffset;var c=this.b();if(!jf&&c.parentNode.contentEditable)c=c.parentNode;c.focus();G&&this.Zg.scrollTo(a,b)}};function oi(a){var b=a.b(),c=b;if(Ze)if(b){c=mg(b);if(b==c){c=L(c).createTextNode("");b.appendChild(c);wh(c,0);a.$c();return}}Dh(c,true);a.$c()}
T.prototype.hi=function(a){this.Kb=1;var b=this.Hb();this.nodeName=b.nodeName;this.bq=b.className;this.cssText=b.style.cssText;b.className+=" editable";if(b=this.Hb()){b=b.innerHTML;var c={};b=this.zg(8,b,c);var d=this.Xd.d("IFRAME",pi(this));if(qi(this)){var f=v(this.ek,this,d,b,c);this.vh=P(d,"load",f,true);if(a)d.src=a}a=this.Hb();d.className=a.className;d.id=a.id;zd(d,a);qi(this)||this.ek(d,b,c)}};
function qi(a){if(a.$h===undefined){a.$h=false;if(H&&a.sf()){for(var b=a.Xd.sa();b!=b.parent;)try{b=b.parent}catch(c){break}b=b.location;a.$h=b.protocol=="https:"&&b.search.indexOf("nocheckhttps")==-1}}return a.$h}
T.prototype.ek=function(a,b,c){if(this.vh){Ke(this.vh);this.vh=null}a.wp="true";var d=this.Hb();d=Ud(L(d));c=new gg(this.id,d,false,false,c);if(qi(this)){var f=Hd(a).body;if($e)f.contentEditable=true;f.className="editable";f.setAttribute("g_editable",true);f.hideFocus=true;f.id=c.Nj;yf(f,c.uh);f.innerHTML=b}else{d=new hg(this.b(),this.Hf);var g=[];c.ah&&c.Gi&&g.push("<!DOCTYPE HTML>");g.push("<html ");$e&&!jf&&g.push("contentEditable ");g.push('style="background:none transparent;');$e&&!jf&&g.push("min-height:100%;");
if(c.ah)g.push("height:",c.Oj?"100%":"auto");g.push('">');g.push("<head><style>");d&&d.yj&&g.push(d.yj);I&&c.Gi&&g.push(" img {-moz-force-broken-image-icon: 1;}");g.push("</style></head>");g.push('<body g_editable="true" hidefocus="true" ');$e&&jf&&g.push("contentEditable ");g.push('class="editable ');g.push('" id="',c.Nj,'" style="');if(I&&c.ah){g.push(";width:100%;border:0;margin:0;background:none transparent;",";height:",c.Gi?"100%":"auto");c.Oj?g.push(";overflow:auto"):g.push(";overflow-y:hidden;overflow-x:auto")}for(f in c.uh)g.push(";"+
f+":"+c.uh[f]);g.push('">',b,"</body></html>");b=g.join("");f=Hd(a);f.open();f.write(b);f.close()}a=Hd(a).body;this.Kb=2;this.field=a;this.Ia=L(a);this.fg=this.Oe=false;a.setAttribute("g_editable","true");$e||ni(this);H&&xh(this.Ia.sa());Uh!=this.id&&this.execCommand("updatelorem");if(G&&this.sf()){this.Fb.h(this.Ia.F(),"focus",this.oh);this.Fb.h(this.Ia.F(),"blur",this.Bj)}else{if(hf){Wh(this,"focus",this.Dj);Wh(this,Ne,this.Aj)}else Wh(this,"focus",this.oh);Wh(this,"blur",this.Bj,I)}if(I)if(af)this.Fb.h(this.b(),
"DOMSubtreeModified",this.Qh);else{a=this.Ia.F();this.Fb.h(a,bi,this.Qh,true);this.Fb.h(a,"DOMAttrModified",v(this.an,this,this.Qh),true)}else{Wh(this,["beforecut","beforepaste","drop","dragend"],this.Fd);Wh(this,["cut","paste"],this.Zc);Wh(this,"drop",this.bk)}Wh(this,J?"dragend":"dragdrop",this.bk);Wh(this,"keydown",this.Nh);Wh(this,"keypress",this.jn);Wh(this,"keyup",this.ln);a=v(this.$c,this);this.Rk=new We(a,250);J&&Wh(this,"click",mi);Wh(this,"mousedown",this.on);Wh(this,"mouseup",this.pn);
a=this.b();this.Pi&&ad(a,this.Pi);this.Hf&&qi(this)&&Uf(this.Hf,this.b());li(this);this.Lb.info("Dispatching load "+this.id);this.dispatchEvent("load");for(var h in this.Nb)this.Nb[h].qh(this)};function pi(a){a="padding:0;"+a.Hb().style.cssText;var b=a.length-1;b>=0&&a.lastIndexOf(";",b)==b||(a+=";");a+="background-color:white;";if(H)a+="overflow:visible;";return{frameBorder:0,style:a}};function ri(){qf.call(this)}B(ri,qf);ri.prototype.Od=p("BTF");ri.prototype.Lb=tc("goog.editor.plugins.BasicTextFormatter");var si=mb({Zo:"+indent",gp:"+outdent",op:"+strikeThrough",Yo:"+insertHorizontalRule",pp:"+subscript",qp:"+superscript",rp:"+underline",No:"+bold",$o:"+italic",Vo:"+fontSize",Uo:"+fontName",To:"+foreColor",Io:"+backColor",fp:"+insertOrderedList",up:"+insertUnorderedList",ap:"+justifyCenter",bp:"+justifyFull",dp:"+justifyRight",cp:"+justifyLeft"});
ri.prototype.Qe=function(a){return a in si};ri.prototype.Wb=function(){return ji(this.f)};function ti(a){return rf(a).F()}s=ri.prototype;
s.Bm=function(a,b){var c,d,f,g,h;switch(a){case "+backColor":if(b!==null)if(gf){a=ji(this.f);var i,l;if(a&&a.isCollapsed()){i=rf(this).createTextNode(I?" ":"");l=a.n();l=l.nodeType==1?l:l.parentNode;if(l.innerHTML==""){l.style.textIndent="-10000px";l.appendChild(i)}else{l=rf(this).d("span",{style:"text-indent:-10000px"},i);a.Kk(l)}Eg(Fg(i),undefined).select()}ui(this,"hiliteColor",b,false,true);if(i){if(I)i.data="";l.style.textIndent=""}}else G?ui(this,"hiliteColor",b):ui(this,a,b);break;case "+justifyCenter":case "+justifyFull":case "+justifyRight":case "+justifyLeft":ui(this,
a,null,false,true);I&&ui(this,a,null,false,true);ff&&I||yb(ji(this.f),vi);break;default:if(a=="+foreColor"&&b===null)break;switch(a){case "+indent":case "+outdent":if(ff){if(I)d=true;if(G)d=a=="+outdent"?!ti(this).queryCommandEnabled("outdent"):true}case "+insertOrderedList":case "+insertUnorderedList":if(nf&&wi(this,ti(this),a))f=this.f.queryCommandValue("+defaultTag")!="P";else of||xi(this);if(I&&mf&&!this.queryCommandValue(a))g|=yi(this);c=!!this.f.Nb.Bidi;break;case "+subscript":case "+superscript":lf&&
zi(this,a);break;case "+underline":case "+bold":case "+italic":d=I&&ff&&this.queryCommandValue(a);break;case "+foreColor":case "+fontName":d=ff&&I}ui(this,a,b,c,d);g&&ti(this).execCommand("Delete",false,true);f&&ti(this).execCommand("FormatBlock",false,"<div>")}I&&rf(this).sa().focus();return h};
s.queryCommandValue=function(a){var b;switch(a){case "+justifyCenter":case "+justifyFull":case "+justifyRight":case "+justifyLeft":return Ai(this,a);case "+indent":case "+outdent":case "+insertHorizontalRule":return false;case "+fontSize":case "+fontName":case "+foreColor":case "+backColor":return this.yg(ti(this),a,ff&&I);case "+underline":case "+bold":case "+italic":b=ff&&I;default:return wi(this,ti(this),a,b)}};
s.Ek=function(a){if(df&&a.match(/^\s*<script/i))a="&nbsp;"+a;if(ef){a=a.replace(/<(\/?)strong([^\w])/gi,"<$1b$2");a=a.replace(/<(\/?)em([^\w])/gi,"<$1i$2")}return a};s.$l=function(a){a=kd("IMG",null,a);for(var b=0,c;c=a[b];b++)if(H){c.removeAttribute("tabIndex");c.removeAttribute("tabIndexSet");var d=c;"removeAttribute"in d&&d.removeAttribute(pa);try{delete d[pa]}catch(f){}if(c.Rn)c.tabIndex=c.Rn}};
s.am=function(a){if(J){for(var b=this.f.Ia.ll("HEAD"),c=[],d=b.length,f=1;f<d;++f)for(var g=kd("STYLE",null,b[f]),h=g.length,i=0;i<h;++i)c.push(g[i].outerHTML);return c.join("")+a}return a};s.Yf=function(a,b,c){if(!c)return false;var d;switch(b){case "b":d="+bold";break;case "i":d="+italic";break;case "u":d="+underline";break;case "s":return true}if(d){this.f.execCommand(d);return true}return false};var Bi=H?/<br([^\/>]*)\/?>/gi:/<br([^\/>]*)\/?>(?!<\/(div|p)>)/gi;
function xi(a){if(!H&&!G)return false;var b=a.Wb(),c=Bg(b),d=ti(a);Bi.lastIndex=0;if(Bi.test(c.innerHTML)){a=b.n()&&b.s()?new ug(b):null;if(c.tagName=="P")Ci(c,true);else{c.innerHTML=c.innerHTML.replace(Bi,'<p$1 trtempbr="temp_br">');c=Ga(c.getElementsByTagName("P"));yb(c,function(f){if(f.getAttribute("trtempbr")=="temp_br"){f.removeAttribute("trtempbr");if(La(Pd(f))){var g=H?d.createTextNode("\u00a0"):d.createElement("BR");f.appendChild(g)}Ci(f)}})}a.restore();return true}return false}
function Ci(a,b){if(H||G){var c=a.outerHTML.replace(/<(\/?)p/gi,"<$1div");if(b)c=c.replace(Bi,"</div><div$1>");if(G&&!/<\/div>$/i.test(c))c+="</div>";a.outerHTML=c}}function Di(a){return a.indexOf("+")==0?a.substring(1):a}function vi(a){a=Ah(a);if(a.align){a.style.textAlign=a.align;a.removeAttribute("align")}}
function ui(a,b,c,d,f){var g=null;if(d)g=a.f.queryCommandValue("rtl")?"rtl":a.f.queryCommandValue("ltr")?"ltr":null;b=Di(b);var h,i;if(H){var l=b;i=[];d=null;var m=a.Wb();h=rf(a);if(l in Ei){var r=m&&Bg(m);if(r){for(var z=kd("BLOCKQUOTE",null,r),A,x=0;x<z.length;x++)if(m.containsNode(z[x])){A=z[x];break}if(r=A||Sd(r,"BLOCKQUOTE")){d=h.d("div",{style:"height:0"});r.appendChild(d);i.push(d);if(A)m=wg(A,0,d,0);else if(m.containsNode(d)){A=m.n();m=m.G();m=wg(A,m,d,0)}m.select()}}}A=a.f;if(!A.sf()&&!d)if(l in
Fi){l=A.b();if(m&&m.isCollapsed()&&!Ad(l)){d=m.Xb(0).Ub();m=d.duplicate();m.moveToElementText(l);m.collapse(false);if(m.isEqual(d)){m=h.createTextNode("\u00a0");l.appendChild(m);d.move("character",1);d.move("character",-1);d.select();i.push(m)}}d=h.d("div",{style:"height:0"});l.appendChild(d);i.push(d)}h=i[0];i=i[1]}if(J){h=b;var S;if(Gi[h]){S=rf(a).d("div",{style:"height: 0"},"x");a.f.b().appendChild(S)}if(Hi[h]){h=a.f.b();S=rf(a).d("div",{style:"height: 0"},"x");h.insertBefore(S,h.firstChild)}h=
S}I&&Ii(a,b);pf&&b.toLowerCase()=="fontsize"&&Ji(a);S=ti(a);if(f&&ff){S.execCommand("styleWithCSS",false,true);G&&Ki(a)}S.execCommand(b,false,c);f&&ff&&S.execCommand("styleWithCSS",false,false);J&&!K("526")&&b.toLowerCase()=="formatblock"&&c&&/^[<]?h\d[>]?$/i.test(c)&&Li(a);if(/insert(un)?orderedlist/i.test(b)){J&&Mi(a);if(H){Ni(a);i&&O(i)}}h&&O(h);g&&a.f.execCommand(g)}
var Fi={indent:1,outdent:1,insertOrderedList:1,insertUnorderedList:1,justifyCenter:1,justifyFull:1,justifyRight:1,justifyLeft:1,ltr:1,rtl:1},Ei={insertOrderedList:1,insertUnorderedList:1};function zi(a,b){if(!a.queryCommandValue(b)){b=b=="+subscript"?"+superscript":"+subscript";var c=Di(b);a.queryCommandValue(b)||ti(a).execCommand(c,false,null);ti(a).execCommand(c,false,null)}}
function Ji(a){var b=Bh(ji(a.f),a.f.b());yb(Ab(b,function(c,d,f){return f.ua==1&&b.containsNode(c)}),function(c){yf(c,"font-size","");I&&c.style.length==0&&c.getAttribute("style")!=null&&c.removeAttribute("style")})}function Li(a){yb(a.Wb(),function(b){if(b.className=="Apple-style-span"){b.style.fontSize="";b.style.fontWeight=""}})}
function Mi(a){var b=false;yb(a.Wb(),function(c){var d=c.tagName;if(d=="UL"||d=="OL")if(b){if(d=Bd(c.previousSibling,false)){var f=c.ownerDocument.createRange();f.setStartAfter(d);f.setEndBefore(c);if(Ka(f.toString()))if(d.nodeName==c.nodeName){for(;d.lastChild;)c.insertBefore(d.lastChild,c.firstChild);d.parentNode.removeChild(d)}}}else b=true})}var Oi={"1":1,a:1,A:1,i:1,I:1},Pi={disc:1,circle:1,square:1};
function Ni(a){for(a=(a=a.Wb())&&a.sb();a&&a.tagName!="UL"&&a.tagName!="OL";)a=a.parentNode;if(a)a=a.parentNode;if(a){var b=Ga(a.getElementsByTagName("UL"));Ha(b,Ga(a.getElementsByTagName("OL")));F(b,function(c){var d=c.type;if(d)if(!(c.tagName=="UL"?Pi:Oi)[d])c.type=""})}}var Gi={justifyCenter:1,justifyFull:1,justifyRight:1,justifyLeft:1,formatBlock:1},Hi={insertOrderedList:1,insertUnorderedList:1};
function Ii(a,b){if(K("1.9")&&b.toLowerCase()=="formatblock"){a=a.Wb();b=a.n();if(a.isCollapsed()&&b&&b.tagName=="BODY"){var c=a.G();if((b=b.childNodes[c])&&b.tagName=="BR"){a=a.Ub();a.setStart(b,0);a.setEnd(b,0)}}}}function Ki(a){var b=[],c=Bg(ji(a.f));do b.push(c);while(c=c.parentNode);a=Cb(xb(ji(a.f)),xb(b));a=Ab(a,zh);yb(a,function(d){var f=d.style.outline;d.style.outline="0px solid red";d.style.outline=f})}
function yi(a){var b=a.f.queryCommandValue("+defaultTag");if(b=="P"||b=="DIV")return false;b=a.Wb();if(b.isCollapsed()&&b.sb().nodeType!=3){a=rf(a).createTextNode("\u00a0");b.insertNode(a,false);Eg(Fg(a),undefined).select();return true}return false}var Qi={center:1,justify:1,right:1,left:1};
function Ai(a,b){b=b.replace("+justify","").toLowerCase();var c=a.f.Nb.Bidi;if(c)return b==c.Qp();else{var d=a.Wb();if(!d)return false;c=Bg(d);a=ya(c.childNodes,function(g){return og(g)&&d.containsNode(g,true)});a=a.length?a:[c];for(c=0;c<a.length;c++){var f=Ah(a[c]);if(b!=Ri(f))return false}return true}}function Ri(a){var b=Df(a,"textAlign");Qi[b]||(b=a.align||"left");return b}function wi(a,b,c,d){return Si(a,true,b,c,d)}ri.prototype.yg=function(a,b,c){return Si(this,false,a,b,c)};
function Si(a,b,c,d,f){d=Di(d);if(f){var g=ti(a);g.execCommand("styleWithCSS",false,true)}a=b?c.queryCommandState(d):c.queryCommandValue(d);f&&g.execCommand("styleWithCSS",false,false);return a};function Ti(a,b){this.sg=[];for(this.pg=[];a&&a.nodeName!="BODY"&&a!=b;){for(var c=0,d=a.previousSibling;d;){d=d.previousSibling;++c}this.sg.unshift(c);this.pg.unshift(a.nodeName);a=a.parentNode}}B(Ti,ce);Ti.prototype.toString=function(){for(var a=[],b,c=0;b=this.pg[c];c++)a.push(this.sg[c]+","+b);return a.join("\n")};function Ui(a,b){for(var c=b,d=0;b=a.pg[d];++d){c=c.childNodes[a.sg[d]];if(!c||c.nodeName!=b)return null}return c}Ti.prototype.e=function(){delete this.sg;delete this.pg};function Vi(){qf.call(this)}B(Vi,qf);Vi.prototype.Od=p("EnterHandler");Vi.prototype.Ek=function(a){if(!a||La(a))return df?this.Qm():"";return a};Vi.prototype.Qm=Zd("<br>");function Wi(a){for(a=a;a;a=a.parentNode)if(kg[a.tagName])return a.tagName=="BLOCKQUOTE";return false}
function Xi(a,b){var c=ji(a.f);if(c.isCollapsed()){a=c.s();if(a.nodeType==1)if((c=a.childNodes[c.O()])&&c.tagName=="BR"){var d=ng(Ab(new ig(c,false,true),og)),f=c.nextSibling;a.removeChild(c);b.preventDefault();if(f&&kg[f.tagName])if(d&&!(d.tagName=="BR"||kg[d.tagName]))wh(d,qg(d)).select();else{b=mg(f);wh(b,0).select()}}}}
Vi.prototype.hn=function(a){if(!(I&&this.f.Ke))if(a.keyCode==8){var b=ji(this.f),c=this.f.b();b=b&&b.n();if(c.firstChild==b&&pg(b)){a.preventDefault();a.stopPropagation()}}else if(a.keyCode==13)if(I)a.shiftKey||Yi(this,a);else{this.f.Fd();c=Ze?Zi(this):$i(this);if(b=!!this.f.execCommand("+splitBlockquote",c)){a.preventDefault();a.stopPropagation()}Ze||c.removeNode(true);if(H||G)aj(this,"DIV");else if(!b&&J)if((c=ji(this.f))&&Wi(Bg(c))){b=rf(this);var d=b.createElement("BR");c.insertNode(d,true);kg[d.parentNode.tagName]&&
!rg(d.nextSibling)&&xd(b.createElement("BR"),d);Dh(d,false);a.preventDefault()}this.f.Zc()}else I&&a.keyCode==46&&Xi(this,a)};Vi.prototype.kn=function(a){I&&this.f.Ke||bj(this,a)};function bj(a,b){if((H||G)&&b.keyCode==13)aj(a,"DIV",true)}function Yi(a,b){var c=ji(a.f);!c||c.isCollapsed();c=Ze?Zi(a):$i(a);if(a.f.execCommand("+splitBlockquote",c)){b.preventDefault();b.stopPropagation()}Ze||c.removeNode(true)}var cj=qb("LI","DIV","H1","H2","H3","H4","H5","H6");
function aj(a,b,c){var d,f;if(H){f=ji(a.f).Ub();d=f.parentElement()}else{f=ji(a.f);d=f.sb()}for(var g=a.f.b(),h;d&&d!=g;){var i=d.nodeName,l=cj[i],m=pg(d)&&d.getElementsByTagName("BR").length==1;if(i==b||l&&(!c||!m)){if(G&&h){if(i==b&&h==d.lastChild&&pg(h)){yd(h,d);Eg(Fg(h),undefined).select()}break}return}if(G&&c&&i=="P"&&i!=b)h=d;d=d.parentNode}if(H){var r=false;c=f.duplicate();c.moveEnd("character",1);if(c.text.length){r=c.parentElement();c=c.duplicate();c.collapse(false);c=c.parentElement();if(r=
r!=c&&c!=f.parentElement()){f.move("character",-1);f.select()}}}a.f.Ia.F().execCommand("FormatBlock",false,"<"+b+">");if(r){f.move("character",1);f.select()}}function $i(a){a=rf(a).F();var b=a.selection.createRange(),c="goog_"+db++;b.pasteHTML('<span id="'+c+'"></span>');a=a.getElementById(c);a.id="";return a}
function Zi(a){a=ji(a.f);if(!a.isCollapsed()){var b=true;if(G){var c=a.n(),d=a.G();if(c==a.s()&&c.lastChild&&c.lastChild.tagName=="BR"&&d==c.childNodes.length-1)b=false}b&&dj(a)}b=a.n();for(a=a.G();b.nodeType==1;){c=b.childNodes[a];if(!c&&!b.lastChild)break;if(c){b=c;a=0}else{b=b.lastChild;a=qg(b)}}return new Hh(b,a)}
function dj(a){if(a&&!a.isCollapsed()){var b=true,c=Bg(a),d=new Ti(a.n(),c),f=a.G(),g,h=a;g=h.n();if(zh(g))g=g.childNodes[h.G()]||g;g=Ah(g);var i=h.s();if(zh(i))i=i.childNodes[h.O()]||i;i=Ah(i);g=g==i;h=!g&&ej(a);a.qc();a=wh(Ui(d,c),f);a.select();if(g){g=Ah(a.n());if(pg(g,true)){b="&nbsp;";if(G&&g.tagName=="LI")b="<br>";g.innerHTML=b;wh(mg(g.firstChild),0).select();b=false}}if(h){a=Ah(a.n());if(h=ng(Ab(new ig(a),og))){for(;g=h.firstChild;)a.appendChild(g);O(h)}}if(b){a=wh(Ui(d,c),f);a.select()}}}
function ej(a){var b=a.s();a=a.O();var c=b;if(zh(c)){var d=c.childNodes[a];if(!d||d.nodeType==1&&zh(d))return false}for(d=Ah(c);d!=c;){if(ng(Ab(new ig(c),og)))return true;c=c.parentNode}return a!=qg(b)};function fj(){qf.call(this)}B(fj,qf);fj.prototype.Od=p("HeaderFormatter");fj.prototype.Yf=function(a,b,c){if(!c)return false;c=null;switch(b){case "1":c="H1";break;case "2":c="H2";break;case "3":c="H3";break;case "4":c="H4";break}if(c){this.f.execCommand("+formatBlock",c);I&&a.stopPropagation();return true}return false};function gj(){qf.call(this)}B(gj,qf);gj.prototype.Yf=function(a){if(I&&this.f.Ke)return false;if(a.keyCode==9&&!a.metaKey&&!a.ctrlKey)return this.tn(a);return false};function hj(a,b){if(!a)throw Error("Assertion failed"+(b?": "+b:""));};function ij(a){qf.call(this);this.Kn=a}B(ij,qf);s=ij.prototype;s.Od=Zd("LoremIpsum");s.xf=ae;s.lk=ae;s.tf=false;s.queryCommandValue=function(a){return a=="usinglorem"&&this.tf};s.execCommand=function(a,b){if(a=="clearlorem"){a=this.f;if(this.tf&&!a.Ke){var c=a.b();c||(c=a.Hb());hj(c);this.tf=false;c.style.fontStyle=this.Qn;a.ef(true,null,true);if(b&&a.Kb==2)if(J){M(a.b()).body.focus();if(H||J)oi(a);a.focus()}else G&&oi(a)}}else a=="updatelorem"&&jj(this)};
s.Qe=function(a){return a=="clearlorem"||a=="updatelorem"||a=="usinglorem"};function jj(a){var b=a.f;if(!a.tf&&!b.Ke&&Uh!=b.id){var c=b.b();c||(c=b.Hb());hj(c);if(pg(c)){a.tf=true;a.Qn=c.style.fontStyle;c.style.fontStyle="italic";b.ef(true,a.Kn,true)}}};function kj(){qf.call(this)}B(kj,gj);kj.prototype.Od=p("SpacesTabHandler");kj.prototype.tn=function(a){var b=rf(this),c=ji(this.f);if(!Gh(c,"LI")){if(!a.shiftKey){uf(this.f,true,true);if(!c.isCollapsed()){b.F().execCommand("delete",false,null);c=ji(this.f)}b=b.d("span",null,"\u00a0\u00a0 \u00a0");b=c.insertNode(b,false);this.f.Zc();Dh(b,false);this.f.$c()}a.preventDefault();return true}return false};function lj(a){this.gj=a}B(lj,Qe);function mj(){this.Jn=100;this.Wa=[];this.pd=[];this.xg=[]}B(mj,Qe);mj.prototype.bg=null;mj.prototype.Mi=function(){nj(this,this.Wa,this.pd)};mj.prototype.qi=function(){nj(this,this.pd,this.Wa)};function nj(a,b,c){if(b.length){var d=b.pop();c.push(d);a.xg.push({type:b==a.Wa?"before_undo":"before_redo",Sj:b==a.Wa?d.Mi:d.qi,Nc:d});a.xg.length==1&&a.Gd();if(b.length==0||c.length==1)a.dispatchEvent("state_change")}}
mj.prototype.Gd=function(){if(!(this.bg||this.xg.length==0)){var a=this.xg.shift();if(this.dispatchEvent({type:a.type,Nc:a.Nc}))if(a.Nc.gj){this.bg=P(a.Nc,"action_completed",this.Dm,false,this);a.Sj.call(a.Nc)}else{a.Sj.call(a.Nc);this.Gd()}}};mj.prototype.Dm=function(){Ke(this.bg);this.bg=null;this.Gd()};function oj(a){qf.call(this);a=a||new mj;this.tk&&Ke(this.tk);this.mb=a;this.tk=P(this.mb,"state_change",this.xm,false,this);this.bd={};this.pe={};this.gk=null;this.Zl=v(this.oo,this)}B(oj,qf);oj.prototype.Lb=tc("goog.editor.plugins.UndoRedo");oj.prototype.Le=null;var pj=mb({sp:"+undo",kp:"+redo"});s=oj.prototype;s.Qe=function(a){return a in pj};s.Ik=aa("f");s.fl=function(a){this.Mf(a);this.f=null};
s.qh=function(a){if(!this.t(a)){ki(a);var b=new Ih(this);I||b.h(a,"beforechange",this.Vm);b.h(a,Ph,this.Ym);b.h(a,"blur",this.Jh);this.bd[a.lc]=b;qj(this,a)}};s.Mf=function(a){ki(a);var b=this.bd[a.lc];if(b){b.B();delete this.bd[a.lc]}this.pe[a.lc]&&delete this.pe[a.lc]};s.t=function(a){return!!this.bd[a.lc]};s.e=function(){oj.c.e.call(this);for(var a in this.bd){this.bd[a].B();delete this.bd[a]}this.f=null;if(this.mb){this.mb.B();delete this.mb}};s.Od=p("UndoRedo");
s.execCommand=function(a){if(a=="+undo")this.mb.Mi();else a=="+redo"&&this.mb.qi()};s.queryCommandValue=function(a){var b=null;if(a=="+undo")b=this.mb.Wa.length>0;else if(a=="+redo")b=this.mb.pd.length>0;return b};s.xm=function(){this.f.dispatchEvent({type:"cvc",em:["+redo","+undo"]})};
s.oo=function(a,b,c){var d=this.f;if(d){uf(d,true,true);try{d.Fd();d.execCommand("clearlorem",true);d.b().innerHTML=b;c&&c.select();var f=this.f;d.focus();f&&f.lc!=a.xe&&f.execCommand("updatelorem");var g=this.pe[a.xe];g.Pc=b;g.el=c}catch(h){nc(this.Lb,"Error while restoring undo state",h)}finally{this.Le=a;d.Zc();d.$c()}}};
s.Yf=function(a,b,c){if(c){var d;if(b=="z")d=a.shiftKey?"+redo":"+undo";else if(b=="y")d="+redo";if(d){(a=d=="+undo"?this.mb.Wa[this.mb.Wa.length-1]:this.mb.pd[this.mb.pd.length-1])&&a.xe?this.f.execCommand(d):this.execCommand(d);return true}}return false};s.Vm=function(a){if(!this.Le){a=a.target;var b=a.lc;if(this.gk!=b){this.gk=b;qj(this,a)}}};s.Ym=function(a){if(this.Le){a=this.Le;this.Le=null;a.dispatchEvent("action_completed")}else qj(this,a.target)};s.Jh=function(a){(a=a.target)&&ki(a)};
function qj(a,b){var c=b.lc,d,f;if(b.queryCommandValue("usinglorem")){d="";f=null}else{d=b.b().innerHTML;f=new rj(b);f=f.Fn()?f:null}var g=a.pe[c];if(g){if(g.Pc==d)return;else if(d==""||g.Pc==""){b=b.zg(8,"",{});if(d==b&&g.Pc==""||g.Pc==b&&d=="")return}b=f;g.ri=d;g.mo=b;b=a.mb;if(b.Wa.length==0||!g.we(b.Wa[b.Wa.length-1])){b.Wa.push(g);b.Wa.length>b.Jn&&b.Wa.shift();var h=b.pd.length;b.pd.length=0;b.dispatchEvent({type:"state_added",Nc:g});if(b.Wa.length==1||h)b.dispatchEvent("state_change")}}a.pe[c]=
new sj(c,d,f,a.Zl)}function sj(a,b,c,d){this.gj=true;this.xe=a;this.Mk=d;this.Pc=b;this.el=c}B(sj,lj);sj.prototype.Mi=function(){this.Mk(this,this.Pc,this.el)};sj.prototype.qi=function(){this.Mk(this,this.ri,this.mo)};sj.prototype.we=function(a){return this.xe==a.xe&&this.Pc==a.Pc&&this.ri==a.ri};
function rj(a){this.rb=a;var b=a.Ia.sa();a=(a=ji(a))&&a.Sd()&&a.sa()==b?a:null;if(Ze){b=a;this.hg=false;if(b){var c=b.nc()?b.s():b.n(),d=Cg(b);if(c&&d){a=b.nc()?b.O():b.G();c=new Ti(c,this.rb.b());var f=Dg(b);d=new Ti(d,this.rb.b());if(b.nc()){this.Y=d;this.Hi=f;this.Q=c;this.rh=a}else{this.Y=c;this.Hi=a;this.Q=d;this.rh=f}this.hg=true}}}else H&&tj(this,a)}
function tj(a,b){a.hg=false;if(b){var c=b.Xb(0).Ub();if(Cd(a.rb.b(),c.parentElement())){b=a.rb.Ia.F().body.createTextRange();b.moveToElementText(a.rb.b());var d=c.duplicate();d.collapse(true);d.setEndPoint("StartToStart",b);a.Y=uj(d);c=c.duplicate();c.setEndPoint("StartToStart",b);a.Q=uj(c);a.hg=true}}}rj.prototype.Fn=n("hg");rj.prototype.toString=function(){if(Ze)return"W3C:"+this.Y.toString()+"\n"+this.Hi+":"+this.Q.toString()+"\n"+this.rh;return"IE:"+this.Y+","+this.Q};
rj.prototype.select=function(){var a=this.Wb(this.rb.b());if(a){H&&this.rb.b().focus();(a&&a.addElement?lh(a):Eg(ch(a),undefined)).select()}};rj.prototype.Wb=function(a){if(Ze){var b=Ui(this.Y,a);a=Ui(this.Q,a);if(!b||!a)return null;return wg(b,this.Hi,a,this.rh).Ub()}b=a.ownerDocument.body.createTextRange();b.moveToElementText(a);b.collapse(true);b.moveEnd("character",this.Q);b.moveStart("character",this.Y);return b};
function uj(a){var b=a.duplicate(),c=a.text,d=c.length;b.collapse(true);b.moveEnd("character",d);for(var f,g=10;f=b.compareEndPoints("EndToEnd",a);){d-=f;b.moveEnd("character",-f);--g;if(0==g)break}a=0;for(b=c.indexOf("\n\r");b!=-1;){++a;b=c.indexOf("\n\r",b+1)}return d+a};function vj(){}vj.prototype.serialize=function(a){var b=[];wj(this,a,b);return b.join("")};
function wj(a,b,c){switch(typeof b){case "string":xj(a,b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(b==null){c.push("null");break}if(ja(b)){var d=b.length;c.push("[");for(var f="",g=0;g<d;g++){c.push(f);wj(a,b[g],c);f=","}c.push("]");break}c.push("{");d="";for(f in b)if(b.hasOwnProperty(f)){g=b[f];if(typeof g!="function"){c.push(d);xj(a,f,c);c.push(":");wj(a,g,c);d=","}}c.push("}");break;
case "function":break;default:throw Error("Unknown type: "+typeof b);}}var yj={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"},zj=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;function xj(a,b,c){c.push('"',b.replace(zj,function(d){if(d in yj)return yj[d];var f=d.charCodeAt(0),g="\\u";if(f<16)g+="000";else if(f<256)g+="00";else if(f<4096)g+="0";return yj[d]=g+f.toString(16)}),'"')};function Aj(){return Bj()}var Bj=null,Cj=null,Dj=null;Bj=function(){var a=Ej();return a?new ActiveXObject(a):new XMLHttpRequest};Cj=function(){var a={};if(Ej()){a[Fj]=true;a[Gj]=true}return a};Dj=null;var Fj=0,Gj=1,Hj=null;
function Ej(){if(!Hj&&typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){for(var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],b=0;b<a.length;b++){var c=a[b];try{new ActiveXObject(c);return Hj=c}catch(d){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return Hj};function Ij(){if(I){this.Xc={};this.Rg={};this.Kg=[]}}Ij.prototype.W=tc("goog.net.xhrMonitor");Ij.prototype.L=I;Ij.prototype.Sa=function(a){this.L=I&&a};function Jj(a,b){if(a.L){var c=u(b)?b:na(b)?oa(b):"";a.W.log(dc,"Pushing context: "+b+" ("+c+")",undefined);a.Kg.push(c)}}function Kj(a){if(a.L){var b=a.Kg.pop();a.W.log(dc,"Popping context: "+b,undefined);Lj(a,b)}}
function Mj(a,b){if(a.L){b=oa(b);pc(a.W,"Opening XHR : "+b);for(var c=0;c<a.Kg.length;c++){var d=a.Kg[c];Nj(a,a.Xc,d,b);Nj(a,a.Rg,b,d)}}}function Lj(a,b){var c=a.Rg[b],d=a.Xc[b];if(c&&d){a.W.log(dc,"Updating dependent contexts",undefined);F(c,function(f){F(d,function(g){Nj(this,this.Xc,f,g);Nj(this,this.Rg,g,f)},this)},a)}}function Nj(a,b,c,d){b[c]||(b[c]=[]);Da(b[c],d)||b[c].push(d)}var Oj=new Ij;function Pj(){this.headers=new Db}B(Pj,Qe);s=Pj.prototype;s.W=tc("goog.net.XhrIo");s.cc=false;s.U=null;s.Qg=null;s.ei="";s.mk="";s.Se=0;s.Te="";s.sh=false;s.cg=false;s.Wh=false;s.fd=false;s.Ng=0;s.ud=null;
s.send=function(a,b,c,d){if(this.cc)throw Error("[goog.net.XhrIo] Object is active with another request");b=b||"GET";this.ei=a;this.Te="";this.Se=0;this.mk=b;this.sh=false;this.cc=true;this.U=new Aj;this.Qg=Dj||(Dj=Cj());Mj(Oj,this.U);this.U.onreadystatechange=v(this.Bk,this);try{pc(this.W,Qj(this,"Opening Xhr"));this.Wh=true;this.U.open(b,a,true);this.Wh=false}catch(f){pc(this.W,Qj(this,"Error opening Xhr: "+f.message));Rj(this,5,f);return}a=c||"";var g=this.headers.clone();d&&ub(d,function(i,l){g.N(l,
i)});b=="POST"&&!g.ih("Content-Type")&&g.N("Content-Type","application/x-www-form-urlencoded;charset=utf-8");ub(g,function(i,l){this.U.setRequestHeader(l,i)},this);try{if(this.ud){Se.clearTimeout(this.ud);this.ud=null}if(this.Ng>0){pc(this.W,Qj(this,"Will abort after "+this.Ng+"ms if incomplete"));this.ud=Se.setTimeout(v(this.Do,this),this.Ng)}pc(this.W,Qj(this,"Sending request"));this.cg=true;this.U.send(a);this.cg=false}catch(h){pc(this.W,Qj(this,"Send error: "+h.message));Rj(this,5,h)}};
s.dispatchEvent=function(a){if(this.U){Jj(Oj,this.U);try{return Pj.c.dispatchEvent.call(this,a)}finally{Kj(Oj)}}else return Pj.c.dispatchEvent.call(this,a)};s.Do=function(){if(typeof ca!="undefined")if(this.U){this.Te="Timed out after "+this.Ng+"ms, aborting";this.Se=8;pc(this.W,Qj(this,this.Te));this.dispatchEvent("timeout");this.abort(8)}};function Rj(a,b,c){a.cc=false;if(a.U){a.fd=true;a.U.abort();a.fd=false}a.Te=c;a.Se=b;Sj(a);Tj(a)}
function Sj(a){if(!a.sh){a.sh=true;a.dispatchEvent("complete");a.dispatchEvent("error")}}Pj.prototype.abort=function(a){if(this.U){pc(this.W,Qj(this,"Aborting"));this.cc=false;this.fd=true;this.U.abort();this.fd=false;this.Se=a||7;this.dispatchEvent("complete");this.dispatchEvent("abort");Tj(this)}};Pj.prototype.e=function(){if(this.U){if(this.cc){this.cc=false;this.fd=true;this.U.abort();this.fd=false}Tj(this,true)}Pj.c.e.call(this)};
Pj.prototype.Bk=function(){!this.Wh&&!this.cg&&!this.fd?this.Xn():Uj(this)};Pj.prototype.Xn=function(){Uj(this)};
function Uj(a){if(a.cc)if(typeof ca!="undefined")if(a.Qg[Gj]&&Vj(a)==4&&Wj(a)==2)pc(a.W,Qj(a,"Local request error detected and ignored"));else if(a.cg&&Vj(a)==4)Se.setTimeout(v(a.Bk,a),0);else{a.dispatchEvent("readystatechange");if(Vj(a)==4){pc(a.W,Qj(a,"Request complete"));a.cc=false;var b;a:switch(Wj(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.Se=6;a.Te=Xj(a)+" ["+Wj(a)+"]";Sj(a)}Tj(a)}}}
function Tj(a,b){if(a.U){var c=a.U,d=a.Qg[Fj]?ga:null;a.U=null;a.Qg=null;if(a.ud){Se.clearTimeout(a.ud);a.ud=null}if(!b){Jj(Oj,c);a.dispatchEvent("ready");Kj(Oj)}if(Oj.L){b=oa(c);pc(Oj.W,"Closing XHR : "+b);delete Oj.Rg[b];for(var f in Oj.Xc){Ea(Oj.Xc[f],b);Oj.Xc[f].length==0&&delete Oj.Xc[f]}}try{c.onreadystatechange=d}catch(g){nc(a.W,"Problem encountered resetting onreadystatechange: "+g.message)}}}Pj.prototype.mc=n("cc");function Vj(a){return a.U?a.U.readyState:0}
function Wj(a){try{return Vj(a)>2?a.U.status:-1}catch(b){oc(a.W,"Can not get status: "+b.message);return-1}}function Xj(a){try{return Vj(a)>2?a.U.statusText:""}catch(b){pc(a.W,"Can not get status: "+b.message);return""}}function Qj(a,b){return b+" ["+a.mk+" "+a.ei+" "+Wj(a)+"]"};function Yj(a,b,c,d){if(!ja(a)||!ja(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.lf=a;this.Am=b;this.Of=c;this.dj=d;this.coords=[]}B(Yj,Qe);var Zj={},$j=null;function ak(){Se.clearTimeout($j);var a=ua();for(var b in Zj)bk(Zj[b],a);$j=ib(Zj)?null:Se.setTimeout(ak,20)}function ck(a){a=oa(a);delete Zj[a];if($j&&ib(Zj)){Se.clearTimeout($j);$j=null}}s=Yj.prototype;s.D=0;s.Qj=0;s.gb=0;s.sd=null;s.Jj=null;
s.di=null;s.stop=function(a){ck(this);this.D=0;if(a)this.gb=1;dk(this,this.gb);ek(this,"stop");ek(this,"end")};s.e=function(){this.D!=0&&this.stop(false);ek(this,"destroy");Yj.c.e.call(this)};function bk(a,b){a.gb=(b-a.sd)/(a.Jj-a.sd);if(a.gb>=1)a.gb=1;a.Qj=1E3/(b-a.di);a.di=b;ma(a.dj)?dk(a,a.dj(a.gb)):dk(a,a.gb);if(a.gb==1){a.D=0;ck(a);ek(a,"finish");ek(a,"end")}else a.D==1&&fk(a)}
function dk(a,b){a.coords=new Array(a.lf.length);for(var c=0;c<a.lf.length;c++)a.coords[c]=(a.Am[c]-a.lf[c])*b+a.lf[c]}function fk(a){ek(a,"animate")}function gk(a){ek(a,"begin")}function hk(a){ek(a,"resume")}function ek(a,b){a.dispatchEvent(new ik(b,a))}function ik(a,b){de.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.hq=b.coords[2];this.Of=b.Of;this.gb=b.gb;this.Np=b.Qj;this.Nc=b.D;this.xp=b}B(ik,de);function jk(a,b,c){this.Eb=jd(a)||null;this.ad=b?jd(b):null;this.Ra=c==true;if(this.Eb){this.Eb.tabIndex=0;P(this.Eb,"click",this.Vn,false,this);P(this.Eb,"keydown",this.Wn,false,this)}this.ib(this.Ra)}B(jk,Qe);jk.prototype.e=function(){this.Eb&&Me(this.Eb);jk.c.e.call(this)};jk.prototype.collapse=function(){this.ib(false)};jk.prototype.toggle=function(){this.ib(!this.Ra)};
jk.prototype.ib=function(a){if(this.ad)this.ad.style.display=a?"":"none";kk(this,a);this.Ra=a;this.dispatchEvent(new lk("toggle",this,this.Ra))};function kk(a,b){if(a.Eb)if(b){bd(a.Eb,"goog-zippy-collapsed");ad(a.Eb,"goog-zippy-expanded")}else{bd(a.Eb,"goog-zippy-expanded");ad(a.Eb,"goog-zippy-collapsed")}}jk.prototype.Wn=function(a){if(a.keyCode==13||a.keyCode==32){this.toggle();a.preventDefault();a.stopPropagation()}};jk.prototype.Vn=function(){this.toggle()};
function lk(a,b,c){de.call(this,a,b);this.Lp=c}B(lk,de);function mk(a,b,c){var d=N("div",{style:"overflow:hidden"});b=jd(b);b.parentNode.replaceChild(d,b);d.appendChild(b);this.ue=d;this.Sb=null;jk.call(this,a,b,c);a=this.Ra;this.ue.style.display=a?"":"none";kk(this,a)}B(mk,jk);s=mk.prototype;s.Tl=500;s.Sl=function(a){return 1-Math.pow(1-a,3)};
s.ib=function(a){if(!(this.Ra==a&&!this.Sb)){if(this.ue.style.display=="none")this.ue.style.display="";var b=this.ad.offsetHeight,c=0;if(this.Sb){a=this.Ra;Me(this.Sb);this.Sb.stop(false);c=b-Math.abs(parseInt(this.ad.style.marginTop,10))}else c=a?0:b;kk(this,a);this.Sb=new Yj([0,c],[0,a?b:0],this.Tl,this.Sl);P(this.Sb,["begin","animate","end"],this.Sn,false,this);P(this.Sb,"end",v(this.Tn,this,a));a:{a=this.Sb;if(a.D==0){a.gb=0;a.coords=a.lf}else if(a.D==1)break a;ck(a);a.sd=ua();if(a.D==-1)a.sd-=
a.Of*a.gb;a.Jj=a.sd+a.Of;a.di=a.sd;a.gb||gk(a);ek(a,"play");a.D==-1&&hk(a);a.D=1;b=oa(a);b in Zj||(Zj[b]=a);$j||($j=Se.setTimeout(ak,20));bk(a,a.sd)}}};s.Sn=function(a){this.ad.style.marginTop=a.y-this.ad.offsetHeight+"px"};s.Tn=function(a){if(a)this.ad.style.marginTop="0";Me(this.Sb);this.Ra=a;this.Sb=null;if(!a)this.ue.style.display="none";this.dispatchEvent(new lk("toggle",this,a))};function nk(){}ha(nk);nk.prototype.Pn=0;nk.getInstance();function U(a){this.xa=a||L();this.bf=ok}B(U,Qe);U.prototype.xn=nk.getInstance();var ok=null;function yk(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");}s=U.prototype;s.vb=null;s.xa=null;s.C=false;s.m=null;s.bf=null;s.li=null;s.q=null;
s.ba=null;s.Db=null;s.il=false;s.Ja=function(){return this.vb||(this.vb=":"+(this.xn.Pn++).toString(36))};function zk(a,b){if(a.q&&a.q.Db){jb(a.q.Db,a.vb);kb(a.q.Db,b,a)}a.vb=b}U.prototype.b=n("m");U.prototype.la=function(){return this.Pd||(this.Pd=new Ih(this))};function Ak(a,b){if(a==b)throw Error("Unable to set parent component");if(b&&a.q&&a.vb&&a.q.Rf(a.vb)&&a.q!=b)throw Error("Unable to set parent component");a.q=b;U.c.Ci.call(a,b)}
U.prototype.Ci=function(a){if(this.q&&this.q!=a)throw Error("Method not supported");U.c.Ci.call(this,a)};U.prototype.k=n("xa");U.prototype.d=function(){this.m=this.xa.createElement("div")};U.prototype.Jc=function(a){Bk(this,a)};function Bk(a,b,c){if(a.C)throw Error("Component already rendered");a.m||a.d();b?b.insertBefore(a.m,c||null):a.xa.F().body.appendChild(a.m);if(!a.q||a.q.C)a.M()}s=U.prototype;
s.z=function(a){if(this.C)throw Error("Component already rendered");else if(a&&this.La(a)){this.il=true;if(!this.xa||this.xa.F()!=M(a))this.xa=L(a);this.fc(a);this.M()}else throw Error("Invalid element to decorate");};s.La=p(true);s.fc=aa("m");s.M=function(){this.C=true;Ck(this,function(a){!a.C&&a.b()&&a.M()})};s.Na=function(){Ck(this,function(a){a.C&&a.Na()});this.Pd&&this.Pd.Ag();this.C=false};
s.e=function(){U.c.e.call(this);this.C&&this.Na();if(this.Pd){this.Pd.B();delete this.Pd}Ck(this,function(a){a.B()});!this.il&&this.m&&O(this.m);this.q=this.li=this.m=this.Db=this.ba=null};s.Ab=function(a,b){this.zd(a,Dk(this),b)};
s.zd=function(a,b,c){if(a.C&&(c||!this.C))throw Error("Component already rendered");if(b<0||b>Dk(this))throw Error("Child component index out of bounds");if(!this.Db||!this.ba){this.Db={};this.ba=[]}if(a.q==this){this.Db[a.Ja()]=a;Ea(this.ba,a)}else kb(this.Db,a.Ja(),a);Ak(a,this);Ia(this.ba,b,0,a);if(a.C&&this.C&&a.q==this){c=this.J();c.insertBefore(a.b(),c.childNodes[b+1]||null)}else if(c){this.m||this.d();b=this.ya(b+1);Bk(a,this.J(),b?b.m:null)}else this.C&&!a.C&&a.m&&a.M()};s.J=n("m");
function Ek(a){if(a.bf==null)a.bf=Mf(a.C?a.m:a.xa.F().body);return a.bf}U.prototype.Mc=function(a){if(this.C)throw Error("Component already rendered");this.bf=a};function Fk(a){return!!a.ba&&a.ba.length!=0}function Dk(a){return a.ba?a.ba.length:0}U.prototype.Rf=function(a){return this.Db&&a?lb(this.Db,a)||null:null};U.prototype.ya=function(a){return this.ba?this.ba[a]||null:null};function Ck(a,b,c){a.ba&&F(a.ba,b,c)}function Gk(a,b){return a.ba&&b?xa(a.ba,b):-1}
U.prototype.removeChild=function(a,b){if(a){var c=u(a)?a:a.Ja();a=this.Rf(c);if(c&&a){jb(this.Db,c);Ea(this.ba,a);if(b){a.Na();a.m&&O(a.m)}Ak(a,null)}}if(!a)throw Error("Child is not in parent component");return a};function Hk(a){a&&Ik(this,a)}B(Hk,Qe);s=Hk.prototype;s.m=null;s.jg=null;s.bi=null;s.kg=null;s.Ue=-1;s.Td=-1;
var Jk={"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},Kk={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},Lk={61:187,
59:186},Mk=H||J&&K("525");Hk.prototype.Nh=function(a){if(Mk&&!Mh(a.keyCode,this.Ue,a.shiftKey,a.ctrlKey,a.altKey))this.handleEvent(a);else this.Td=I&&a.keyCode in Lk?Lk[a.keyCode]:a.keyCode};Hk.prototype.mn=function(){this.Td=this.Ue=-1};
Hk.prototype.handleEvent=function(a){var b=a.cb,c,d;if(H&&a.type=="keypress"){c=this.Td;d=c!=13&&c!=27?b.keyCode:0}else if(J&&a.type=="keypress"){c=this.Td;d=b.charCode>=0&&b.charCode<63232&&Nh(c)?b.charCode:0}else if(G){c=this.Td;d=Nh(c)?b.keyCode:0}else{c=b.keyCode||this.Td;d=b.charCode||0;if(Cc&&d==63&&!c)c=191}var f=c,g=b.keyIdentifier;if(c)if(c>=63232&&c in Jk)f=Jk[c];else{if(c==25&&a.shiftKey)f=9}else if(g&&g in Kk)f=Kk[g];a=f==this.Ue;this.Ue=f;b=new Nk(f,d,a,b);try{this.dispatchEvent(b)}finally{b.B()}};
function Ik(a,b){a.kg&&a.detach();a.m=b;a.jg=P(a.m,"keypress",a);a.bi=P(a.m,"keydown",a.Nh,false,a);a.kg=P(a.m,"keyup",a.mn,false,a)}Hk.prototype.detach=function(){if(this.jg){Ke(this.jg);Ke(this.bi);Ke(this.kg);this.kg=this.bi=this.jg=null}this.m=null;this.Ue=-1};Hk.prototype.e=function(){Hk.c.e.call(this);this.detach()};function Nk(a,b,c,d){d&&this.init(d,undefined);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c}B(Nk,ee);var Ok;function Pk(a,b){if(I||Ok){a.setAttribute("role",b);a.Zp=b}}function V(a,b,c){if(I||Ok)a.setAttribute("aria-"+b,c)};function Qk(){}var Rk;ha(Qk);s=Qk.prototype;s.db=e();s.d=function(a){return a.k().d("div",this.hc(a).join(" "),a.pa)};s.J=function(a){return a};s.ve=function(a,b,c){if(a=a.b?a.b():a)if(H&&!K("7")){var d=Sk(this,$c(a),b);d.push(b);ta(c?ad:bd,a).apply(null,d)}else ed(a,b,c)};s.La=p(true);
s.z=function(a,b){b.id&&zk(a,b.id);var c=this.J(b);c&&c.firstChild?a.ee(c.firstChild.nextSibling?Fa(c.childNodes):c.firstChild):a.ee(null);var d=0,f=this.j(),g=this.j(),h=false,i=false;c=false;var l=$c(b);F(l,function(r){if(!h&&r==f){h=true;if(g==f)i=true}else if(!i&&r==g)i=true;else d|=this.Fh(r)},this);a.D=d;if(!h){l.push(f);if(g==f)i=true}i||l.push(g);(a=a.Gb)&&l.push.apply(l,a);if(H&&!K("7")){var m=Sk(this,l);if(m.length>0){l.push.apply(l,m);c=true}}if(!h||!i||a||c)Zc(b,l.join(" "));return b};
s.Zb=function(a){Ek(a)&&this.Mc(a.b(),true);a.t()&&this.$b(a,a.V())};s.df=function(a,b){Xf(a,!b,!H&&!G)};s.Mc=function(a,b){this.ve(a,this.j()+"-rtl",b)};s.Cc=function(a){var b;if(a.Ba&32&&(b=a.ra()))return Nd(b);return false};s.$b=function(a,b){var c;if(a.Ba&32&&(c=a.ra())){if(!b&&a.D&32){try{c.blur()}catch(d){}a.D&32&&a.Ac(null)}Nd(c)!=b&&Od(c,b)}};s.setVisible=function(a,b){Tf(a,b)};s.jb=function(a,b,c){var d=a.b();if(d){var f=this.Ce(b);f&&this.ve(a,f,c);this.ke(d,b,c)}};
s.ke=function(a,b,c){if(I){Rk||(Rk=pb(1,"disabled",4,"pressed",8,"selected",16,"checked",64,"expanded"));(b=Rk[b])&&V(a,b,c)}};s.hb=function(a,b){var c=this.J(a);if(c){vd(c);if(b)if(u(b))Id(c,b);else{a=function(d){if(d){var f=M(c);c.appendChild(u(d)?f.createTextNode(d):d)}};if(ja(b))F(b,a);else ka(b)&&!("nodeType"in b)?F(Fa(b),a):a(b)}}};s.ra=function(a){return a.b()};s.j=p("goog-control");
s.hc=function(a){var b=this.j(),c=[b],d=this.j();d!=b&&c.push(d);if(b=a.D){d=[];for(var f=1;b;f<<=1)if(b&f){d.push(this.Ce(f));b&=~f}b=d}else b=null;b&&c.push.apply(c,b);(a=a.Gb)&&c.push.apply(c,a);H&&!K("7")&&c.push.apply(c,Sk(this,c));return c};function Sk(a,b,c){var d=[];if(c)b=b.concat([c]);F([],function(f){if(Ba(f,ta(Da,b))&&(!c||Da(f,c)))d.push(f.join("_"))});return d}Qk.prototype.Ce=function(a){this.Cf||Tk(this);return this.Cf[a]};
Qk.prototype.Fh=function(a){this.al||Uk(this);a=parseInt(this.al[a],10);return isNaN(a)?0:a};function Tk(a){var b=a.j();a.Cf=pb(1,b+"-disabled",2,b+"-hover",4,b+"-active",8,b+"-selected",16,b+"-checked",32,b+"-focused",64,b+"-open")}function Uk(a){a.Cf||Tk(a);a.al=mb(a.Cf)};function Vk(a){for(var b;a;){b=oa(a);if(b=Wk[b])break;a=a.c?a.c.constructor:null}if(b)return ma(b.getInstance)?b.getInstance():new b;return null}function Xk(a,b){if(!a)throw Error("Invalid class name "+a);if(!ma(b))throw Error("Invalid decorator function "+b);Yk[a]=b}var Wk={},Yk={};function W(a,b,c){U.call(this,c);this.l=b||Vk(this.constructor);this.ee(a)}B(W,U);s=W.prototype;s.pa=null;s.D=0;s.Ba=39;s.hj=255;s.Lg=0;s.Ca=true;s.Gb=null;s.Ph=true;s.yf=false;function Zk(a,b){a.C&&b!=a.Ph&&$k(a,b);a.Ph=b}W.prototype.ra=function(){return this.l.ra(this)};W.prototype.Tf=function(){return this.Ka||(this.Ka=new Hk)};W.prototype.Xg=function(a){if(a){if(this.Gb)Da(this.Gb,a)||this.Gb.push(a);else this.Gb=[a];this.l.ve(this,a,true)}};
function al(a,b){if(b&&a.Gb){Ea(a.Gb,b);if(a.Gb.length==0)a.Gb=null;a.l.ve(a,b,false)}}s=W.prototype;s.ve=function(a,b){b?this.Xg(a):al(this,a)};s.d=function(){var a=this.l.d(this);this.m=a;if(I){var b=this.l.db();b&&Pk(a,b)}this.yf||this.l.df(a,false);this.V()||this.l.setVisible(a,false)};s.J=function(){return this.l.J(this.b())};s.La=function(a){return this.l.La(a)};
s.fc=function(a){var b=this.m=a=this.l.z(this,a);if(I){var c=this.l.db();c&&Pk(b,c)}this.yf||this.l.df(a,false);this.Ca=a.style.display!="none"};s.M=function(){W.c.M.call(this);this.l.Zb(this);if(this.Ba&-2){this.Ph&&$k(this,true);if(this.Ba&32){var a=this.ra();if(a){var b=this.Tf();Ik(b,a);this.la().h(b,"key",this.ub).h(a,"focus",this.Ee).h(a,"blur",this.Ac)}}}};
function $k(a,b){var c=a.la(),d=a.b();if(b){c.h(d,"mouseover",a.He).h(d,"mousedown",a.kc).h(d,"mouseup",a.Ie).h(d,"mouseout",a.Ge);H&&c.h(d,"dblclick",a.ak)}else{c.Xa(d,"mouseover",a.He).Xa(d,"mousedown",a.kc).Xa(d,"mouseup",a.Ie).Xa(d,"mouseout",a.Ge);H&&c.Xa(d,"dblclick",a.ak)}}s=W.prototype;s.Na=function(){W.c.Na.call(this);this.Ka&&this.Ka.detach();this.V()&&this.t()&&this.l.$b(this,false)};s.e=function(){W.c.e.call(this);if(this.Ka){this.Ka.B();delete this.Ka}delete this.l;this.Gb=this.pa=null};
s.hb=function(a){this.l.hb(this.b(),a);this.ee(a)};s.ee=aa("pa");s.Be=function(){var a=this.pa;if(!a||u(a))return a;return(a=ja(a)?za(a,Pd).join(""):Pd(a))&&Ma(a)};s.Mc=function(a){W.c.Mc.call(this,a);var b=this.b();b&&this.l.Mc(b,a)};s.df=function(a){this.yf=a;var b=this.b();b&&this.l.df(b,a)};s.V=n("Ca");s.setVisible=function(a,b){if(b||this.Ca!=a&&this.dispatchEvent(a?"show":"hide")){(b=this.b())&&this.l.setVisible(b,a);this.t()&&this.l.$b(this,a);this.Ca=a;return true}return false};
s.t=function(){return!!!(this.D&1)};s.Sa=function(a){var b=this.q;if(!(b&&typeof b.t=="function"&&!b.t())&&bl(this,1,!a)){if(!a){this.setActive(false);this.Qb(false)}this.V()&&this.l.$b(this,a);this.jb(1,!a)}};s.Qb=function(a){bl(this,2,a)&&this.jb(2,a)};s.mc=function(){return!!(this.D&4)};s.setActive=function(a){bl(this,4,a)&&this.jb(4,a)};s.Pe=function(){return!!(this.D&8)};s.ge=function(a){bl(this,8,a)&&this.jb(8,a)};function cl(a,b){bl(a,16,b)&&a.jb(16,b)}
function dl(a,b){bl(a,32,b)&&a.jb(32,b)}W.prototype.X=function(a){bl(this,64,a)&&this.jb(64,a)};W.prototype.jb=function(a,b){if(this.Ba&a&&b!=!!(this.D&a)){this.l.jb(this,a,b);this.D=b?this.D|a:this.D&~a}};function el(a,b,c){if(a.C&&a.D&b&&!c)throw Error("Component already rendered");!c&&a.D&b&&a.jb(b,false);a.Ba=c?a.Ba|b:a.Ba&~b}function fl(a,b){return!!(a.hj&b)&&!!(a.Ba&b)}function bl(a,b,c){return!!(a.Ba&b)&&!!(a.D&b)!=c&&(!(a.Lg&b)||a.dispatchEvent(yk(b,c)))&&!a.Nf}s=W.prototype;
s.He=function(a){a.relatedTarget&&!Cd(this.b(),a.relatedTarget)&&this.dispatchEvent("enter")&&this.t()&&fl(this,2)&&this.Qb(true)};s.Ge=function(a){if(a.relatedTarget&&!Cd(this.b(),a.relatedTarget)&&this.dispatchEvent("leave")){fl(this,4)&&this.setActive(false);fl(this,2)&&this.Qb(false)}};s.kc=function(a){if(this.t()){fl(this,2)&&this.Qb(true);if(ge(a,0)){fl(this,4)&&this.setActive(true);this.l.Cc(this)&&this.ra().focus()}}!this.yf&&ge(a,0)&&a.preventDefault()};
s.Ie=function(a){if(this.t()){fl(this,2)&&this.Qb(true);this.mc()&&this.pc(a)&&fl(this,4)&&this.setActive(false)}};s.ak=function(a){this.t()&&this.pc(a)};s.pc=function(a){fl(this,16)&&cl(this,!!!(this.D&16));fl(this,8)&&this.ge(true);fl(this,64)&&this.X(!!!(this.D&64));var b=new de("action",this);if(a)for(var c=["altKey","ctrlKey","metaKey","shiftKey"],d,f=0;d=c[f];f++)b[d]=a[d];return this.dispatchEvent(b)};s.Ee=function(){fl(this,32)&&dl(this,true)};
s.Ac=function(){fl(this,4)&&this.setActive(false);fl(this,32)&&dl(this,false)};s.ub=function(a){if(this.V()&&this.t()&&this.Qd(a)){a.preventDefault();a.stopPropagation();return true}return false};s.Qd=function(a){return a.keyCode==13&&this.pc(a)};if(!ma(W))throw Error("Invalid component class "+W);if(!ma(Qk))throw Error("Invalid renderer class "+Qk);var gl=oa(W);Wk[gl]=Qk;Xk("goog-control",function(){return new W(null)});function hl(){}B(hl,Qk);ha(hl);hl.prototype.d=function(a){return a.k().d("div",this.j())};hl.prototype.z=function(a,b){if(b.tagName=="HR"){var c=b;b=this.d(a);xd(b,c);O(c)}else ad(b,this.j());return b};hl.prototype.hb=e();hl.prototype.j=p("goog-menuseparator");function il(a,b){W.call(this,null,a||hl.getInstance(),b);el(this,1,false);el(this,2,false);el(this,4,false);el(this,32,false);this.D=1}B(il,W);il.prototype.M=function(){il.c.M.call(this);Pk(this.b(),"separator")};Xk("goog-menuseparator",function(){return new il});function jl(){}ha(jl);jl.prototype.db=e();function kl(a,b,c){if(b)b.tabIndex=c?0:-1}s=jl.prototype;s.d=function(a){return a.k().d("div",this.hc(a).join(" "))};s.J=function(a){return a};s.La=function(a){return a.tagName=="DIV"};s.z=function(a,b){b.id&&zk(a,b.id);var c=this.j(),d=false,f=$c(b);f&&F(f,function(g){if(g==c)d=true;else g&&this.Ei(a,g,c)},this);d||ad(b,c);ll(this,a,b);return b};
s.Ei=function(a,b,c){if(b==c+"-disabled")a.Sa(false);else if(b==c+"-horizontal")a.Hg(ml);else b==c+"-vertical"&&a.Hg(nl)};function ll(a,b,c){if(c)for(var d=c.firstChild,f;d&&d.parentNode==c;){f=d.nextSibling;if(d.nodeType==1){var g=a.De(d);if(g){g.m=d;b.t()||g.Sa(false);b.Ab(g);g.z(d)}}else if(!d.nodeValue||Ma(d.nodeValue)=="")c.removeChild(d);d=f}}s=jl.prototype;s.De=function(a){a:{for(var b=$c(a),c=0,d=b.length;c<d;c++)if(a=b[c]in Yk?Yk[b[c]]():null){a=a;break a}a=null}return a};
s.Zb=function(a){a=a.b();Xf(a,true,I);if(H)a.hideFocus=true;var b=this.db();b&&Pk(a,b)};s.ra=function(a){return a.b()};s.j=p("goog-container");s.hc=function(a){var b=this.j(),c=[b,a.xb==ml?b+"-horizontal":b+"-vertical"];a.t()||c.push(b+"-disabled");return c};s.Uj=function(){return nl};function ol(a,b,c){U.call(this,c);this.l=b||jl.getInstance();this.xb=a||this.l.Uj()}B(ol,U);var ml="horizontal",nl="vertical";s=ol.prototype;s.ig=null;s.Ka=null;s.l=null;s.xb=null;s.Ca=true;s.L=true;s.wh=true;s.ma=-1;s.ta=null;s.ld=false;s.Pl=false;s.uc=null;s.ra=function(){return this.ig||this.l.ra(this)};s.Tf=function(){return this.Ka||(this.Ka=new Hk(this.ra()))};s.d=function(){this.m=this.l.d(this)};s.J=function(){return this.l.J(this.b())};s.La=function(a){return this.l.La(a)};
s.fc=function(a){this.m=this.l.z(this,a);if(a.style.display=="none")this.Ca=false};s.M=function(){ol.c.M.call(this);Ck(this,function(b){b.C&&pl(this,b)},this);var a=this.b();this.l.Zb(this);this.setVisible(this.Ca,true);this.la().h(this,"enter",this.Lh).h(this,"highlight",this.Mh).h(this,"unhighlight",this.Rh).h(this,"open",this.qn).h(this,"close",this.Xm).h(a,"mousedown",this.kc).h(M(a),"mouseup",this.$m).h(a,["mousedown","mouseup","mouseover","mouseout"],this.Wm);this.Cc()&&ql(this,true)};
function ql(a,b){var c=a.la(),d=a.ra();b?c.h(d,"focus",a.Ee).h(d,"blur",a.Ac).h(a.Tf(),"key",a.ub):c.Xa(d,"focus",a.Ee).Xa(d,"blur",a.Ac).Xa(a.Tf(),"key",a.ub)}s=ol.prototype;s.Na=function(){this.Ta(-1);this.ta&&this.ta.X(false);this.ld=false;ol.c.Na.call(this)};s.e=function(){ol.c.e.call(this);if(this.Ka){this.Ka.B();this.Ka=null}this.l=this.ta=this.uc=null};s.Lh=p(true);
s.Mh=function(a){var b=Gk(this,a.target);if(b>-1&&b!=this.ma){var c=rl(this);c&&c.Qb(false);this.ma=b;c=rl(this);this.ld&&c.setActive(true);if(this.ta&&c!=this.ta)c.Ba&64?c.X(true):this.ta.X(false)}V(this.b(),"activedescendant",a.target.b().id)};s.Rh=function(a){if(a.target==rl(this))this.ma=-1;V(this.b(),"activedescendant","")};s.qn=function(a){if((a=a.target)&&a!=this.ta&&a.q==this){this.ta&&this.ta.X(false);this.ta=a}};s.Xm=function(a){if(a.target==this.ta)this.ta=null};
s.kc=function(a){this.L&&sl(this,true);var b=this.ra(),c;a:{if(b)if((c=b.getAttributeNode("tabindex"))&&c.specified){c=b.tabIndex;c=la(c)&&c>=0;break a}c=false}c?b.focus():a.preventDefault()};s.$m=function(){this.ld=false};
s.Wm=function(a){var b;a:{b=a.target;if(this.uc)for(var c=this.b();b&&b.parentNode&&b!=c;){var d=b.id;if(d in this.uc){b=this.uc[d];break a}b=b.parentNode}b=null}if(b)switch(a.type){case "mousedown":b.kc(a);break;case "mouseup":b.Ie(a);break;case "mouseover":b.He(a);break;case "mouseout":b.Ge(a);break}};s.Ee=e();s.Ac=function(){this.Ta(-1);this.ld=false;this.ta&&this.ta.X(false)};s.ub=function(a){if(this.t()&&Dk(this)!=0&&this.Qd(a)){a.preventDefault();a.stopPropagation();return true}return false};
s.Qd=function(a){var b=rl(this);if(b&&typeof b.ub=="function"&&b.ub(a))return true;if(this.ta&&this.ta!=b&&typeof this.ta.ub=="function"&&this.ta.ub(a))return true;switch(a.keyCode){case 27:if(this.Cc())this.ra().blur();else return false;break;case 36:tl(this);break;case 35:ul(this);break;case 38:if(this.xb==nl)vl(this);else return false;break;case 37:if(this.xb==ml)Ek(this)?wl(this):vl(this);else return false;break;case 40:if(this.xb==nl)wl(this);else return false;break;case 39:if(this.xb==ml)Ek(this)?
vl(this):wl(this);else return false;break;default:return false}return true};function pl(a,b){var c=b.b();c=c.id||(c.id=b.Ja());if(!a.uc)a.uc={};a.uc[c]=b}s=ol.prototype;s.Ab=function(a,b){ol.c.Ab.call(this,a,b)};s.zd=function(a,b,c){a.Lg|=2;a.Lg|=64;if(this.Cc()||!this.Pl)el(a,32,false);Zk(a,false);ol.c.zd.call(this,a,b,c);c&&this.C&&pl(this,a);b<=this.ma&&this.ma++};
s.removeChild=function(a,b){var c=Gk(this,a);if(c!=-1)if(c==this.ma)a.Qb(false);else c<this.ma&&this.ma--;(c=a.b())&&c.id&&jb(this.uc,c.id);a=ol.c.removeChild.call(this,a,b);Zk(a,true);return a};s.Hg=function(a){if(this.b())throw Error("Component already rendered");this.xb=a};s.V=n("Ca");s.setVisible=function(a,b){if(b||this.Ca!=a&&this.dispatchEvent(a?"show":"hide")){this.Ca=a;var c=this.b();if(c){Tf(c,a);this.Cc()&&kl(this.l,this.ra(),this.L&&this.Ca);this.Ca&&!b&&this.dispatchEvent("aftershow")}return true}return false};
s.t=n("L");s.Sa=function(a){if(this.L!=a&&this.dispatchEvent(a?"enable":"disable")){if(a){this.L=true;Ck(this,function(b){if(b.jl)delete b.jl;else b.Sa(true)})}else{Ck(this,function(b){if(b.t())b.Sa(false);else b.jl=true});this.ld=this.L=false}this.Cc()&&kl(this.l,this.ra(),a&&this.Ca)}};s.Cc=n("wh");s.$b=function(a){a!=this.wh&&this.C&&ql(this,a);this.wh=a;this.L&&this.Ca&&kl(this.l,this.ra(),a)};s.Ta=function(a){if(a=this.ya(a))a.Qb(true);else this.ma>-1&&rl(this).Qb(false)};
s.Qb=function(a){this.Ta(Gk(this,a))};function rl(a){return a.ya(a.ma)}function tl(a){xl(a,function(b,c){return(b+1)%c},Dk(a)-1)}function ul(a){xl(a,function(b,c){b--;return b<0?c-1:b},0)}function wl(a){xl(a,function(b,c){return(b+1)%c},a.ma)}function vl(a){xl(a,function(b,c){b--;return b<0?c-1:b},a.ma)}function xl(a,b,c){c=c<0?Gk(a,a.ta):c;var d=Dk(a);c=b(c,d);for(var f=0;f<=d;){var g=a.ya(c);if(g&&a.lj(g)){a.Bi(c);return true}f++;c=b(c,d)}return false}
ol.prototype.lj=function(a){return a.V()&&a.t()&&!!(a.Ba&2)};ol.prototype.Bi=function(a){this.Ta(a)};function sl(a,b){a.ld=b};function yl(){this.nj=[]}B(yl,Qk);ha(yl);function zl(a,b){var c=a.nj[b];if(!c){switch(b){case 0:c=a.j()+"-highlight";break;case 1:c=a.j()+"-checkbox";break;case 2:c=a.j()+"-content";break}a.nj[b]=c}return c}s=yl.prototype;s.db=p("menuitem");s.d=function(a){var b=a.k().d("div",this.hc(a).join(" "),Al(this,a.pa,a.k()));Bl(this,a,b,!!(a.Ba&8)||!!(a.Ba&16));return b};s.J=function(a){return a&&a.firstChild};
s.z=function(a,b){var c=Ad(b),d=zl(this,2);c&&c.className.indexOf(d)!=-1||b.appendChild(Al(this,b.childNodes,a.k()));if(dd(b,"goog-option")){a.Fg(true);this.Fg(a,b,true)}return yl.c.z.call(this,a,b)};s.hb=function(a,b){var c=this.J(a),d=Cl(this,a)?c.firstChild:null;yl.c.hb.call(this,a,b);if(d&&!Cl(this,a))c.insertBefore(d,c.firstChild||null)};function Al(a,b,c){a=zl(a,2);return c.d("div",a,b)}yl.prototype.Di=function(a,b,c){if(b){Pk(b,c?"menuitemradio":this.db());Bl(this,a,b,c)}};
yl.prototype.Fg=function(a,b,c){if(b){Pk(b,c?"menuitemcheckbox":this.db());Bl(this,a,b,c)}};function Cl(a,b){if(b=a.J(b)){b=b.firstChild;a=zl(a,1);return!!b&&!!b.className&&b.className.indexOf(a)!=-1}return false}function Bl(a,b,c,d){if(d!=Cl(a,c)){ed(c,"goog-option",d);c=a.J(c);if(d){a=zl(a,1);c.insertBefore(b.k().d("div",a),c.firstChild||null)}else c.removeChild(c.firstChild)}}
yl.prototype.Ce=function(a){switch(a){case 2:return zl(this,0);case 16:case 8:return"goog-option-selected";default:return yl.c.Ce.call(this,a)}};yl.prototype.Fh=function(a){var b=zl(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return yl.c.Fh.call(this,a)}};yl.prototype.j=p("goog-menuitem");function Dl(a,b,c,d){W.call(this,a,d||yl.getInstance(),c);this.da(b)}B(Dl,W);Dl.prototype.za=function(){var a=this.li;return a!=null?a:this.Be()};Dl.prototype.da=aa("li");Dl.prototype.Di=function(a){el(this,8,a);this.D&16&&!a&&cl(this,false);var b=this.b();b&&this.l.Di(this,b,a)};Dl.prototype.Fg=function(a){el(this,16,a);var b=this.b();b&&this.l.Fg(this,b,a)};Xk("goog-menuitem",function(){return new Dl(null)});function El(a,b,c){Dl.call(this,a,b,c);this.Di(true)}B(El,Dl);El.prototype.pc=function(){return this.dispatchEvent("action")};Xk("goog-option",function(){return new El(null)});function Fl(){}B(Fl,hl);ha(Fl);Fl.prototype.d=function(a){return a.k().d("div",this.j()+" goog-inline-block","\u00a0")};Fl.prototype.z=function(a,b){b=Fl.c.z.call(this,a,b);ad(b,"goog-inline-block");return b};Fl.prototype.j=p("goog-toolbar-separator");function Gl(){}B(Gl,jl);ha(Gl);Gl.prototype.db=p("toolbar");Gl.prototype.De=function(a){return a.tagName=="HR"?new il(Fl.getInstance()):Gl.c.De.call(this,a)};Gl.prototype.j=p("goog-toolbar");Gl.prototype.Uj=function(){return ml};function Hl(a,b,c){ol.call(this,b,a||Gl.getInstance(),c)}B(Hl,ol);function Il(){}B(Il,Qk);ha(Il);s=Il.prototype;s.db=p("button");s.ke=function(a,b,c){if(I)b==16?V(a,"pressed",c):Il.c.ke.call(this,a,b,c)};s.d=function(a){var b=Il.c.d.call(this,a),c=a.jc();c&&this.ac(b,c);(c=a.za())&&this.da(b,c);a.Ba&16&&this.ke(b,16,false);return b};s.z=function(a,b){b=Il.c.z.call(this,a,b);var c=this.za(b);a.Ya=c;a.Ig(this.jc(b));a.Ba&16&&this.ke(b,16,false);return b};s.za=ga;s.da=ga;s.jc=function(a){return a.title};s.ac=function(a,b){if(a)a.title=b||""};s.j=p("goog-button");function Jl(){}B(Jl,Il);ha(Jl);s=Jl.prototype;s.db=e();s.d=function(a){Kl(this,a);return a.k().d("button",{"class":this.hc(a).join(" "),disabled:!a.t(),title:a.jc()||"",value:a.za()||""},a.Be()||"")};s.La=function(a){return a.tagName=="BUTTON"||a.tagName=="INPUT"&&(a.type=="button"||a.type=="submit"||a.type=="reset")};s.z=function(a,b){Kl(this,a);b.disabled&&ad(b,this.Ce(1));return Jl.c.z.call(this,a,b)};s.Zb=function(a){a.la().h(a.b(),"click",a.pc)};s.df=ga;s.Mc=ga;s.Cc=function(a){return a.t()};
s.$b=ga;s.jb=function(a,b,c){Jl.c.jb.call(this,a,b,c);if((a=a.b())&&b==1)a.disabled=c};s.za=function(a){return a.value};s.da=function(a,b){if(a)a.value=b};s.ke=ga;function Kl(a,b){Zk(b,false);b.hj&=-256;el(b,32,false)};function Ll(a,b,c){W.call(this,a,b||Jl.getInstance(),c)}B(Ll,W);s=Ll.prototype;s.za=n("Ya");s.da=function(a){this.Ya=a;this.l.da(this.b(),a)};s.jc=n("of");s.ac=function(a){this.of=a;this.l.ac(this.b(),a)};s.Ig=aa("of");s.e=function(){Ll.c.e.call(this);delete this.Ya;delete this.of};s.M=function(){Ll.c.M.call(this);if(this.Ba&32){var a=this.ra();a&&this.la().h(a,"keyup",this.Qd)}};s.Qd=function(a){if(a.keyCode==13&&a.type=="key"||a.keyCode==32&&a.type=="keyup")return this.pc(a);return a.keyCode==32};
Xk("goog-button",function(){return new Ll(null)});function Ml(){}B(Ml,Il);ha(Ml);s=Ml.prototype;s.d=function(a){var b={"class":"goog-inline-block "+this.hc(a).join(" "),title:a.jc()||""};return a.k().d("div",b,this.Gf(a.pa,a.k()))};s.J=function(a){return a&&a.firstChild.firstChild};s.Gf=function(a,b){return b.d("div","goog-inline-block "+(this.j()+"-outer-box"),b.d("div","goog-inline-block "+(this.j()+"-inner-box"),a))};s.La=function(a){return a.tagName=="DIV"};
s.z=function(a,b){Nl(b,true);Nl(b,false);var c;a:{if((c=a.k().Wj(b))&&c.className.indexOf(this.j()+"-outer-box")!=-1)if((c=a.k().Wj(c))&&c.className.indexOf(this.j()+"-inner-box")!=-1){c=true;break a}c=false}c||b.appendChild(this.Gf(b.childNodes,a.k()));ad(b,"goog-inline-block",this.j());return Ml.c.z.call(this,a,b)};s.j=p("goog-custom-button");
function Nl(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(Ma(f)=="")a.removeChild(c);else{c.nodeValue=b?f.replace(/^[\s\xa0]+/,""):f.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function Ol(){}B(Ol,Ml);ha(Ol);Ol.prototype.j=p("goog-toolbar-button");function Pl(a,b,c){Ll.call(this,a,b||Ol.getInstance(),c)}B(Pl,Ll);Xk("goog-toolbar-button",function(){return new Pl(null)});var Ql={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Rl(a){var b={};a=String(a);var c=a.charAt(0)=="#"?a:"#"+a;if(Sl.test(c)){b.ag=Tl(c);b.type="hex";return b}else{a:{var d=a.match(Ul);if(d){c=Number(d[1]);var f=Number(d[2]);d=Number(d[3]);if(c>=0&&c<=255&&f>=0&&f<=255&&d>=0&&d<=255){c=[c,f,d];break a}}c=[]}if(c.length){b.ag=Vl(c[0],c[1],c[2]);b.type="rgb";return b}else if(Ql)if(c=Ql[a.toLowerCase()]){b.ag=c;b.type="named";return b}}throw Error(a+" is not a valid color string");}var Wl=/#(.)(.)(.)/;
function Tl(a){if(!Sl.test(a))throw Error("'"+a+"' is not a valid hex color");if(a.length==4)a=a.replace(Wl,"#$1$1$2$2$3$3");return a.toLowerCase()}function Xl(a){a=Tl(a);var b=parseInt(a.substr(1,2),16),c=parseInt(a.substr(3,2),16);a=parseInt(a.substr(5,2),16);return[b,c,a]}
function Vl(a,b,c){a=Number(a);b=Number(b);c=Number(c);if(isNaN(a)||a<0||a>255||isNaN(b)||b<0||b>255||isNaN(c)||c<0||c>255)throw Error('"('+a+","+b+","+c+'") is not a valid RGB color');a=Yl(a.toString(16));b=Yl(b.toString(16));c=Yl(c.toString(16));return"#"+a+b+c}var Sl=/^#(?:[0-9a-f]{3}){1,2}$/i,Ul=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function Yl(a){return a.length==1?"0"+a:a};function Zl(){}B(Zl,jl);ha(Zl);s=Zl.prototype;s.db=p("menu");s.La=function(a){return a.tagName=="UL"||Zl.c.La.call(this,a)};s.De=function(a){return a.tagName=="HR"?new il:Zl.c.De.call(this,a)};s.Vc=function(a,b){return Cd(a.b(),b)};s.j=p("goog-menu");s.Zb=function(a){Zl.c.Zb.call(this,a);a=a.b();V(a,"haspopup","true")};Xk("goog-menuseparator",function(){return new il});function $l(a,b){ol.call(this,nl,b||Zl.getInstance(),a);this.$b(false)}B($l,ol);s=$l.prototype;s.Yg=true;s.Ql=false;s.j=function(){return this.l.j()};s.Vc=function(a){if(this.l.Vc(this,a))return true;for(var b=0,c=Dk(this);b<c;b++){var d=this.ya(b);if(typeof d.Vc=="function"&&d.Vc(a))return true}return false};s.Qa=function(a){this.Ab(a,true)};s.Ad=function(a,b){this.zd(a,b,true)};s.qd=function(a){(a=this.removeChild(a,true))&&a.B()};s.Kd=function(a){return this.ya(a)};s.Sf=function(){return Dk(this)};
s.Lc=function(a,b){var c=this.V();c||Tf(this.b(),true);var d=this.b();a=a;b=b;var f=Lf(d);if(a instanceof fd){b=a.y;a=a.x}Ff(d,d.offsetLeft+(a-f.x),d.offsetTop+(b-f.y));c||Tf(this.b(),false)};s.setVisible=function(a,b){(b=$l.c.setVisible.call(this,a,b))&&a&&this.C&&this.Yg&&this.ra().focus();return b};s.Lh=function(a){this.Yg&&this.ra().focus();return $l.c.Lh.call(this,a)};s.lj=function(a){return(this.Ql||a.t())&&a.V()&&!!(a.Ba&2)};function am(){}B(am,Ml);ha(am);if(I)am.prototype.hb=function(a,b){var c=am.c.J.call(this,a&&a.firstChild);c&&zd(this.createCaption(b,L(a)),c)};am.prototype.J=function(a){a=am.c.J.call(this,a&&a.firstChild);if(I&&a&&a.__goog_wrapper_div)a=a.firstChild;return a};am.prototype.z=function(a,b){var c=kd("*","goog-menu",b)[0];if(c){Tf(c,false);M(c).body.appendChild(c);var d=new $l;d.z(c);a.fe(d)}return am.c.z.call(this,a,b)};
am.prototype.Gf=function(a,b){return am.c.Gf.call(this,[this.createCaption(a,b),b.d("div","goog-inline-block "+(this.j()+"-dropdown"),"\u00a0")],b)};am.prototype.createCaption=function(a,b){return bm(a,this.j(),b)};function bm(a,b,c){return c.d("div","goog-inline-block "+(b+"-caption"),a)}am.prototype.j=p("goog-menu-button");function cm(){}B(cm,am);ha(cm);cm.prototype.createCaption=function(a,b){return cm.c.createCaption.call(this,dm(a,b),b)};function dm(a,b){return b.d("div","goog-color-menu-button-indicator",a)}cm.prototype.da=function(a,b){a&&em(this.J(a),b)};function em(a,b){if(a&&a.firstChild){var c;try{c=Rl(b).ag}catch(d){c=null}a.firstChild.style.borderBottomColor=c||(H?"":"transparent")}}cm.prototype.Zb=function(a){this.da(a.b(),a.za());ad(a.b(),"goog-color-menu-button");cm.c.Zb.call(this,a)};function fm(){}B(fm,Qk);ha(fm);var gm=0;fm.prototype.d=function(a){var b=this.hc(a);return a.k().d("div",b?b.join(" "):null,hm(this,a.pa,a.$j(),a.k()))};function hm(a,b,c,d){for(var f=[],g=0,h=0;g<c.height;g++){for(var i=[],l=0;l<c.width;l++){var m=b&&b[h++];i.push(im(a,m,d))}f.push(d.d("tr",a.j()+"-row",i))}a=d.d("table",a.j()+"-table",d.d("tbody",a.j()+"-body",f));a.cellSpacing=0;a.cellPadding=0;Pk(a,"grid");return a}
function im(a,b,c){a=c.d("td",{"class":a.j()+"-cell",id:a.j()+"-cell-"+gm++},b);Pk(a,"gridcell");return a}fm.prototype.La=p(false);fm.prototype.z=p(null);
fm.prototype.hb=function(a,b){if(a){var c=kd("tbody",this.j()+"-body",a)[0];if(c){var d=0;F(c.rows,function(l){F(l.cells,function(m){vd(m);if(b){var r=b[d++];r&&ud(m,r)}})});if(d<b.length){for(var f=[],g=L(a),h=c.rows[0].cells.length;d<b.length;){var i=b[d++];f.push(im(this,i,g));if(f.length==h){i=g.d("tr",this.j()+"-row",f);c.appendChild(i);f.length=0}}if(f.length>0){for(;f.length<h;)f.push(im(this,"",g));i=g.d("tr",this.j()+"-row",f);c.appendChild(i)}}}Xf(a,true,I)}};
function jm(a,b,c){for(b=b.b();c&&c.nodeType==1&&c!=b;){if(c.tagName=="TD"&&dd(c,a.j()+"-cell"))return c.firstChild;c=c.parentNode}return null}function km(a,b,c,d){if(c){c=c.parentNode;ed(c,a.j()+"-cell-hover",d);a=b.b().firstChild;V(a,"activedescendent",c.id)}}function lm(a,b,c,d){c&&ed(c.parentNode,a.j()+"-cell-selected",d)}fm.prototype.j=p("goog-palette");function mm(a){this.Dc=[];nm(this,a)}B(mm,Qe);mm.prototype.T=null;mm.prototype.zi=null;mm.prototype.Sf=function(){return this.Dc.length};mm.prototype.Kd=function(a){return this.Dc[a]||null};function nm(a,b){if(b){F(b,function(c){this.de(c,false)},a);Ha(a.Dc,b)}}s=mm.prototype;s.Qa=function(a){this.Ad(a,this.Sf())};s.Ad=function(a,b){if(a){this.de(a,false);Ia(this.Dc,b,0,a)}};s.qd=function(a){if(a&&Ea(this.Dc,a))if(a==this.T){this.T=null;this.dispatchEvent("select")}};s.ca=n("T");
s.Oa=function(a){if(a!=this.T){this.de(this.T,false);this.T=a;this.de(a,true)}this.dispatchEvent("select")};s.Md=function(){return this.T?xa(this.Dc,this.T):-1};s.gf=function(a){this.Oa(this.Kd(a))};s.clear=function(){var a=this.Dc;if(!ja(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0;this.T=null};s.e=function(){mm.c.e.call(this);delete this.Dc;this.T=null};s.de=function(a,b){if(a)if(typeof this.zi=="function")this.zi(a,b);else typeof a.ge=="function"&&a.ge(b)};function om(a,b,c){W.call(this,a,b||fm.getInstance(),c)}B(om,W);s=om.prototype;s.yb=null;s.ma=-1;s.o=null;s.e=function(){om.c.e.call(this);if(this.o){this.o.B();this.o=null}this.yb=null};s.ee=function(a){om.c.ee.call(this,a);pm(this);if(this.o){this.o.clear();nm(this.o,a)}else{this.o=new mm(a);this.o.zi=v(this.de,this);this.la().h(this.o,"select",this.Zf)}this.ma=-1};s.Be=p(null);
s.He=function(a){om.c.He.call(this,a);var b=jm(this.l,this,a.target);b&&a.relatedTarget&&Cd(b,a.relatedTarget)||b!=qm(this)&&rm(this,b)};s.Ge=function(a){om.c.Ge.call(this,a);var b=jm(this.l,this,a.target);b&&a.relatedTarget&&Cd(b,a.relatedTarget)||b==qm(this)&&km(this.l,this,b,false)};s.kc=function(a){om.c.kc.call(this,a);if(this.mc()){a=jm(this.l,this,a.target);a!=qm(this)&&rm(this,a)}};s.pc=function(){var a=qm(this);if(a){this.Oa(a);return this.dispatchEvent("action")}return false};
s.ub=function(a){var b=this.pa;b=b?b.length:0;var c=this.yb.width;if(b==0||!this.t())return false;if(a.keyCode==13||a.keyCode==32)return this.pc(a);if(a.keyCode==36){this.Ta(0);return true}else if(a.keyCode==35){this.Ta(b-1);return true}var d=this.ma<0?this.Md():this.ma;switch(a.keyCode){case 37:if(d==-1)d=b;if(d>0){this.Ta(d-1);a.preventDefault();return true}break;case 39:if(d<b-1){this.Ta(d+1);a.preventDefault();return true}break;case 38:if(d==-1)d=b+c-1;if(d>=c){this.Ta(d-c);a.preventDefault();
return true}break;case 40:if(d==-1)d=-c;if(d<b-c){this.Ta(d+c);a.preventDefault();return true}break}return false};s.Zf=e();s.$j=n("yb");s.hf=function(a,b){if(this.b())throw Error("Component already rendered");this.yb=la(a)?new hd(a,b):a;pm(this)};function qm(a){var b=a.pa;return b&&b[a.ma]}om.prototype.Ta=function(a){if(a!=this.ma){sm(this,this.ma,false);this.ma=a;sm(this,a,true)}};function rm(a,b){var c=a.pa;a.Ta(c?xa(c,b):-1)}om.prototype.Md=function(){return this.o?this.o.Md():-1};
om.prototype.ca=function(){return this.o?this.o.ca():null};om.prototype.gf=function(a){this.o&&this.o.gf(a)};om.prototype.Oa=function(a){this.o&&this.o.Oa(a)};function sm(a,b,c){if(a.b()){var d=a.pa;d&&b>=0&&b<d.length&&km(a.l,a,d[b],c)}}om.prototype.de=function(a,b){this.b()&&lm(this.l,this,a,b)};
function pm(a){var b=a.pa;if(b)if(a.yb&&a.yb.width){b=Math.ceil(b.length/a.yb.width);if(!la(a.yb.height)||a.yb.height<b)a.yb.height=b}else{b=Math.ceil(Math.sqrt(b.length));a.yb=new hd(b,b)}else a.yb=new hd(0,0)};function tm(a,b,c){this.Df=a||[];om.call(this,null,b||fm.getInstance(),c);this.Df=this.Df;this.qg=null;this.hb(um(this))}B(tm,om);tm.prototype.qg=null;tm.prototype.Eh=function(){var a=this.ca();if(a){a=a.style[Af("background-color")];return vm(a)}else return null};tm.prototype.ff=function(a){a=vm(a);if(!this.qg)this.qg=za(this.Df,function(b){return vm(b)});this.gf(a?xa(this.qg,a):-1)};
function um(a){return za(a.Df,function(b){var c=this.k().d("div",{"class":this.l.j()+"-colorswatch",style:"background-color:"+b});c.title=b.charAt(0)=="#"?"RGB ("+Xl(b).join(", ")+")":b;return c},a)}function vm(a){if(a)try{return Rl(a).ag}catch(b){}return null};function wm(a,b,c,d,f,g,h,i){var l,m=c.offsetParent;if(m){var r=m.tagName=="HTML"||m.tagName=="BODY";if(!r||Ef(m)!="static"){l=Lf(m);r||(l=gd(l,new fd(m.scrollLeft,m.scrollTop)))}}m=Qf(a);(r=Kf(a))&&m.Cn(new xf(r.left,r.top,r.right-r.left,r.bottom-r.top));r=L(a);var z=L(c);if(r.F()!=z.F()){var A=r.F().body;z=z.sa();var x=new fd(0,0),S=qd(M(A)),zb=A;do{var If=S==z?Lf(zb):Nf(zb);x.x+=If.x;x.y+=If.y}while(S&&S!=z&&(zb=S.frameElement)&&(S=S.parent));z=x;z=gd(z,Lf(A));if(H&&!Ud(r))z=gd(z,Vd(r));m.left+=
z.x;m.top+=z.y}a=(b&4&&Mf(a)?b^2:b)&-5;b=new fd(a&2?m.left+m.width:m.left,a&1?m.top+m.height:m.top);if(l)b=gd(b,l);if(f){b.x+=(a&2?-1:1)*f.x;b.y+=(a&1?-1:1)*f.y}var Qa;if(h)if((Qa=Kf(c))&&l){Qa.top=Math.max(0,Qa.top-l.y);Qa.right-=l.x;Qa.bottom-=l.y;Qa.left=Math.max(0,Qa.left-l.x)}a:{f=b;Qa=Qa;f=f.clone();l=0;d=(d&4&&Mf(c)?d^2:d)&-5;a=Pf(c);i=i?i.clone():a;if(g||d!=0){if(d&2)f.x-=i.width+(g?g.right:0);else if(g)f.x+=g.left;if(d&1)f.y-=i.height+(g?g.bottom:0);else if(g)f.y+=g.top}if(h){l=Qa?xm(f,i,
Qa,h):256;if(l&496){c=l;break a}}Ff(c,f);(a==i?true:!a||!i?false:a.width==i.width&&a.height==i.height)||Of(c,i);c=l}return c}
function xm(a,b,c,d){var f=0;if(a.x<c.left&&d&1){a.x=c.left;f|=1}if(a.x<c.left&&a.x+b.width>c.right&&d&16){b.width-=a.x+b.width-c.right;f|=4}if(a.x+b.width>c.right&&d&1){a.x=Math.max(c.right-b.width,c.left);f|=1}if(d&2)f|=(a.x<c.left?16:0)|(a.x+b.width>c.right?32:0);if(a.y<c.top&&d&4){a.y=c.top;f|=2}if(a.y>=c.top&&a.y+b.height>c.bottom&&d&32){b.height-=a.y+b.height-c.bottom;f|=8}if(a.y+b.height>c.bottom&&d&4){a.y=Math.max(c.bottom-b.height,c.top);f|=2}if(d&8)f|=(a.y<c.top?64:0)|(a.y+b.height>c.bottom?
128:0);return f};function ym(){}ym.prototype.Kc=e();function zm(a,b){this.element=a;this.Dd=b}B(zm,ym);zm.prototype.Kc=function(a,b,c){wm(this.element,this.Dd,a,b,undefined,c)};function Am(a,b,c){zm.call(this,a,b);this.Nl=c}B(Am,zm);Am.prototype.Kc=function(a,b,c,d){var f=wm(this.element,this.Dd,a,b,null,c,10,d);if(f&496){var g=this.Dd,h=b;if(f&48){g^=2;h^=2}if(f&192){g^=1;h^=1}f=wm(this.element,g,a,h,null,c,10,d);if(f&496)this.Nl?wm(this.element,this.Dd,a,b,null,c,5,d):wm(this.element,this.Dd,a,b,null,c,0,d)}};function Bm(a,b,c,d){Am.call(this,a,b,c);this.no=d}B(Bm,Am);Bm.prototype.Kc=function(a,b,c,d){this.no?wm(this.element,this.Dd,a,b,null,c,33,d):Bm.c.Kc.call(this,a,b,c,d)};function Y(a,b,c,d){Ll.call(this,a,c||am.getInstance(),d);el(this,64,true);b&&this.fe(b);this.Va=new Re(500)}B(Y,Ll);s=Y.prototype;s.ej=true;s.yi=false;s.Zh=false;s.M=function(){Y.c.M.call(this);this.p&&Cm(this,this.p,true);V(this.b(),"haspopup","true")};s.Na=function(){Y.c.Na.call(this);if(this.p){this.X(false);this.p.Na();Cm(this,this.p,false);var a=this.p.b();a&&O(a)}};s.e=function(){Y.c.e.call(this);if(this.p){this.p.B();delete this.p}this.Va.B()};
s.kc=function(a){Y.c.kc.call(this,a);if(this.mc()){this.X(!!!(this.D&64));this.p&&sl(this.p,!!(this.D&64))}};s.Ie=function(a){Y.c.Ie.call(this,a);this.p&&!this.mc()&&sl(this.p,false)};s.pc=function(){this.setActive(false);return true};s.Zm=function(a){this.p&&this.p.V()&&!this.Vc(a.target)&&this.X(false)};s.Vc=function(a){return a&&Cd(this.b(),a)||this.p&&this.p.Vc(a)||false};
s.Qd=function(a){if(a.type!=(a.keyCode==32?"keyup":"key"))return false;if(this.p&&this.p.V()){var b=this.p.ub(a);if(a.keyCode==27){this.X(false);return true}return b}if(a.keyCode==40||a.keyCode==38||a.keyCode==32){this.X(true);return true}return false};s.Fe=function(){this.X(false)};s.nn=function(){this.mc()||this.X(false)};s.Ac=function(a){this.Zh||this.X(false);Y.c.Ac.call(this,a)};function Dm(a){a.p||a.fe(new $l(a.k()));return a.p||null}s=Y.prototype;
s.fe=function(a){var b=this.p;if(a!=b){if(b){this.X(false);this.C&&Cm(this,b,false);delete this.p}if(a){this.p=a;Ak(a,this);a.setVisible(false);var c=this.Zh;(a.Yg=c)&&a.$b(true);this.C&&Cm(this,a,true)}}return b};s.Qa=function(a){Dm(this).Ab(a,true)};s.Ad=function(a,b){Dm(this).zd(a,b,true)};s.qd=function(a){(a=Dm(this).removeChild(a,true))&&a.B()};s.Kd=function(a){return this.p?this.p.ya(a):null};s.Sf=function(){return this.p?Dk(this.p):0};
s.setVisible=function(a,b){(a=Y.c.setVisible.call(this,a,b))&&!this.V()&&this.X(false);return a};s.Sa=function(a){Y.c.Sa.call(this,a);this.t()||this.X(false)};
s.X=function(a){Y.c.X.call(this,a);if(this.p&&!!(this.D&64)==a){if(a){this.p.C||this.p.Jc();this.hl=Kf(this.b());this.jj=Qf(this.b());Em(this);this.p.Ta(-1)}else{this.setActive(false);this.p.ld=false;if(this.vg!=null){this.vg=undefined;var b=this.p.b();b&&Of(b,"","")}}this.p.setVisible(a);b=this.la();var c=a?b.h:b.Xa;c.call(b,this.k().F(),"mousedown",this.Zm,true);this.Zh&&c.call(b,this.p,"blur",this.nn);c.call(b,this.Va,Te,this.$n);a?this.Va.start():this.Va.stop()}};
function Em(a){var b=a.ej?5:7;b=new Bm(a.b(),b,!a.yi,a.yi);var c=a.p.b();if(!a.p.V()){c.style.visibility="hidden";Tf(c,true)}if(!a.vg&&a.yi)a.vg=Pf(c);b.Kc(c,a.ej?4:6,null,a.vg);if(!a.p.V()){Tf(c,false);c.style.visibility="visible"}}Y.prototype.$n=function(){var a=Qf(this.b()),b=Kf(this.b()),c;c=this.jj;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||!wf(this.hl,b)){this.jj=a;this.hl=b;Em(this)}};
function Cm(a,b,c){var d=a.la();c=c?d.h:d.Xa;c.call(d,b,"action",a.Fe);c.call(d,b,"highlight",a.Mh);c.call(d,b,"unhighlight",a.Rh)}Y.prototype.Mh=function(a){V(this.b(),"activedescendant",a.target.b().id)};Y.prototype.Rh=function(){rl(this.p)||V(this.b(),"activedescendant","")};Xk("goog-menu-button",function(){return new Y(null)});function Fm(a,b,c,d){Y.call(this,a,b,c||cm.getInstance(),d)}B(Fm,Y);
var Gm={Xo:["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],np:["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],hp:["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc","#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd","#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0","#cc0000","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79","#990000","#b45f06","#bf9000","#38761d","#134f5c",
"#0b5394","#351c75","#741b47","#660000","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]};function Hm(a,b){var c=new $l(b);a&&F(a,function(d){c.Ab(d,true)});eb(Gm,function(d){d=new tm(d,null,b);d.hf(8);c.Ab(d,true)});return c}s=Fm.prototype;s.Eh=function(){return this.za()};s.ff=function(a){this.da(a)};s.da=function(a){for(var b=0,c;c=this.Kd(b);b++)typeof c.ff=="function"&&c.ff(a);Fm.c.da.call(this,a)};
s.Fe=function(a){if(typeof a.target.Eh=="function")this.da(a.target.Eh());else a.target.za()=="none"&&this.da(null);Fm.c.Fe.call(this,a);a.stopPropagation();this.dispatchEvent("action")};s.X=function(a){if(a&&this.Sf()==0){this.fe(Hm(null,this.k()));this.da(this.za())}Fm.c.X.call(this,a)};Xk("goog-color-menu-button",function(){return new Fm(null)});function Im(){}B(Im,am);ha(Im);Im.prototype.j=p("goog-toolbar-menu-button");function Jm(){}B(Jm,Im);ha(Jm);Jm.prototype.createCaption=function(a,b){return bm(dm(a,b),this.j(),b)};Jm.prototype.da=function(a,b){a&&em(this.J(a),b)};Jm.prototype.Zb=function(a){this.da(a.b(),a.za());ad(a.b(),"goog-toolbar-color-menu-button");Jm.c.Zb.call(this,a)};function Km(a,b,c,d){Fm.call(this,a,b,c||Jm.getInstance(),d)}B(Km,Fm);Xk("goog-toolbar-color-menu-button",function(){return new Km(null)});function Lm(a,b,c,d){Y.call(this,a,b,c||Im.getInstance(),d)}B(Lm,Y);Xk("goog-toolbar-menu-button",function(){return new Lm(null)});function Mm(a,b,c,d){Y.call(this,a,b,c,d);Nm(this,a)}B(Mm,Y);s=Mm.prototype;s.o=null;s.lh=null;s.M=function(){Mm.c.M.call(this);Om(this)};s.fc=function(a){Mm.c.fc.call(this,a);(a=this.Be())?Nm(this,a):this.gf(0)};s.e=function(){Mm.c.e.call(this);if(this.o){this.o.B();this.o=null}this.lh=null};s.Fe=function(a){this.Oa(a.target);Mm.c.Fe.call(this,a);a.stopPropagation();this.dispatchEvent("action")};s.Zf=function(){var a=this.ca();Mm.c.da.call(this,a&&a.za());Om(this)};
s.fe=function(a){var b=Mm.c.fe.call(this,a);if(a!=b){this.o&&this.o.clear();if(a)this.o?Ck(a,function(c){this.o.Qa(c)},this):Pm(this,a)}return b};function Nm(a,b){a.lh=b;Om(a)}s=Mm.prototype;s.Qa=function(a){Mm.c.Qa.call(this,a);this.o?this.o.Qa(a):Pm(this,Dm(this))};s.Ad=function(a,b){Mm.c.Ad.call(this,a,b);this.o?this.o.Ad(a,b):Pm(this,Dm(this))};s.qd=function(a){Mm.c.qd.call(this,a);this.o&&this.o.qd(a)};s.Oa=function(a){this.o&&this.o.Oa(a)};s.gf=function(a){this.o&&this.Oa(this.o.Kd(a))};
s.da=function(a){if(a!=null&&this.o)for(var b=0,c;c=this.o.Kd(b);b++)if(c&&typeof c.za=="function"&&c.za()==a){this.Oa(c);return}this.Oa(null)};s.ca=function(){return this.o?this.o.ca():null};s.Md=function(){return this.o?this.o.Md():-1};function Pm(a,b){a.o=new mm;b&&Ck(b,function(c){this.o.Qa(c)},a);a.la().h(a.o,"select",a.Zf)}function Om(a){var b=a.ca();a.hb(b?b.Be():a.lh)}Mm.prototype.X=function(a){Mm.c.X.call(this,a);this.D&64&&Dm(this).Ta(this.Md())};Xk("goog-select",function(){return new Mm(null)});function Qm(a,b,c,d){Mm.call(this,a,b,c||Im.getInstance(),d)}B(Qm,Mm);Xk("goog-toolbar-select",function(){return new Qm(null)});function Rm(a){var b=a.indexOf(",");a=(b!=-1?a.substring(0,b):a).toLowerCase();a:{for(b=0;b<2;b++){var c="\"'".charAt(b);if(a.charAt(0)==c&&a.charAt(a.length-1)==c){a=a.substring(1,a.length-1);break a}}a=a}return a}function Sm(a,b){F(b,function(c){var d=c.caption;c=c.value;var f=Rm(c);d=new El(d,c,a.xa);zk(d,f);a.Qa(d);d.J().style.fontFamily=c})}
function Tm(a,b){F(b,function(c){var d=c.caption;c=c.value;var f=new El(d,c,a.xa);zk(f,d);a.Qa(f);d=f.J();d.style.fontSize=(Um[c]||10)+"px";d.firstChild.style.height="1.1em"})}var Um=Cc?[10,10,12,14,17,21,28,42]:[10,10,14,16,18,24,32,48];function Vm(a,b){F(b,function(c){var d=c.v;c=new El(a.xa.d("DIV",null,c.caption),d,a.xa);zk(c,d);a.Qa(c)})}function Wm(a,b,c,d,f,g){c=new Pl(Xm(c,d,g),f,g);zk(c,a);c.ac(b);return c}function Ym(a,b,c,d,f,g){a=Wm(a,b,c,d,f,g);el(a,16,true);return a}
function Zm(a,b,c,d,f,g){f=new Qm(null,null,f,g);d&&F(d.split(/\s+/),f.Xg,f);f.Xg("goog-toolbar-select");Nm(f,c);zk(f,a);f.ac(b);return f}function $m(a,b,c,d,f,g){c=new Km(Xm(c,d,g),null,f,g);zk(c,a);c.ac(b);return c}function Xm(a,b,c){if((!a||a=="")&&I&&!K("1.9a"))a="\u00a0";return(c||L()).d("DIV",b?{"class":b}:null,a)};var an=y("Normal"),bn=y("Normal / serif"),cn=[{caption:an,value:"arial,sans-serif"},{caption:bn,value:"times new roman,serif"},{caption:"Courier New",value:"courier new,monospace"},{caption:"Georgia",value:"georgia,serif"},{caption:"Trebuchet",value:"trebuchet ms,sans-serif"},{caption:"Verdana",value:"verdana,sans-serif"}],dn={ja:[{caption:"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af",value:"ms pgothic,sans-serif"},{caption:"\uff2d\uff33 \uff30\u660e\u671d",value:"ms pmincho,serif"},{caption:"\uff2d\uff33 \u30b4\u30b7\u30c3\u30af",
value:"ms gothic,monospace"}],ko:[{caption:"\uad74\ub9bc",value:"gulim,sans-serif"},{caption:"\ubc14\ud0d5",value:"batang,serif"},{caption:"\uad74\ub9bc\uccb4",value:"gulimche,monospace"}],"zh-tw":[{caption:"\u65b0\u7d30\u660e\u9ad4",value:"pmingliu,serif"},{caption:"\u7d30\u660e\u9ad4",value:"mingliu,serif"}],"zh-cn":[{caption:"\u5b8b\u4f53",value:"simsun,serif"},{caption:"\u9ed1\u4f53",value:"simhei,sans-serif"},{caption:"MS Song",value:"ms song,monospace"}]};
function en(a){var b="en-us".replace(/_/,"-").toLowerCase(),c=[];if(b in dn)c=dn[b];c.length&&Sm(a,c);Sm(a,cn)}var fn=y("Small"),gn=y("Normal"),hn=y("Large"),jn=y("Huge"),kn=[{caption:fn,value:1},{caption:gn,value:2},{caption:hn,value:4},{caption:jn,value:6}],ln=y("Heading"),mn=y("Subheading"),nn=y("Minor heading"),on=y("Normal"),pn=[{caption:ln,v:"H2"},{caption:mn,v:"H3"},{caption:nn,v:"H4"},{caption:on,v:"P"}];
function qn(a,b,c){for(var d=L(b),f=[],g=0,h;h=a[g];g++){if(u(h)){var i=undefined;if(h=rn[h]){i=h.factory||Ym;var l=h.v,m=h.K,r=h.caption,z=h.classes,A=d||L();i=i(l,m,r,z,null,A);if(h.S)i.S=true}h=i}h&&f.push(h)}a=L(b);a=new Hl(Gl.getInstance(),ml,a);c=c||Mf(b);a.Mc(c);a.$b(false);for(d=0;g=f[d];d++){el(g,32,false);g.Mc(c);a.Ab(g,true)}a.Jc(b);return a}function sn(a,b,c,d,f,g){var h=Wm(a,b,c,d,f,g);h.Qc=function(i){h.Sa(i)};return h}
function tn(a,b){try{if(H){var c="000000"+b.toString(16),d=c.substr(c.length-6,6);b=(new Jg("#",d.substring(4,6),d.substring(2,4),d.substring(0,2))).toString()}b!=a.za()&&a.da(b)}catch(f){}}
for(var un=y("Format"),vn=y("Format"),wn=y("Undo"),xn=y("Redo"),yn=y("Font"),zn=y("Font size"),An=y("Text color"),Bn=y("Bold"),Cn=y("Italic"),Dn=y("Underline"),En=y("Text background color"),Fn=y("Add or remove link"),Gn=y("Numbered list"),Hn=y("Bullet list"),In=y("Decrease indent"),Jn=y("Increase indent"),Kn=y("Align left"),Ln=y("Align center"),Mn=y("Align right"),Nn=y("Justify"),On=y("Remove formatting"),Pn=y("Insert image"),Qn=y("Strikethrough"),Rn=y("Left-to-right"),Sn=y("Right-to-left"),Tn=y("Quote"),
Un=y("Edit HTML source"),Vn=y("Link"),Wn=y("Subscript"),Xn=y("Superscript"),Yn=y("Edit HTML"),rn={},Zn=[{v:"+undo",K:wn,classes:"tr-icon tr-undo",factory:sn,S:true},{v:"+redo",K:xn,classes:"tr-icon tr-redo",factory:sn,S:true},{v:"+fontName",K:yn,classes:"tr-fontName",factory:function(a,b,c,d,f,g){var h=Zm(a,b,c,d,f,g);en(h);Nm(h,an);ad(Dm(h).J(),"goog-menu-noaccel");h.Qc=function(i){var l=null;if(i&&i.length>0)l=Dm(h).Rf(Rm(i));i=h.ca();l!=i&&h.Oa(l)};return h},S:true},{v:"+fontSize",K:zn,classes:"tr-fontSize",
factory:function(a,b,c,d,f,g){var h=Zm(a,b,c,d,f,g);Tm(h,kn);Nm(h,gn);ad(Dm(h).J(),"goog-menu-noaccel");h.Qc=function(i){i=i>0?i:null;i!=h.za()&&h.da(i)};return h},S:true},{v:"+bold",K:Bn,classes:"tr-icon tr-bold",S:true},{v:"+italic",K:Cn,classes:"tr-icon tr-italic",S:true},{v:"+underline",K:Dn,classes:"tr-icon tr-underline",S:true},{v:"+foreColor",K:An,classes:"tr-icon tr-foreColor",factory:function(a,b,c,d,f,g){a=$m(a,b,c,d,f,g);a.ff("#000");a.Qc=ta(tn,a);return a},S:true},{v:"+backColor",K:En,
classes:"tr-icon tr-backColor",factory:function(a,b,c,d,f,g){a=$m(a,b,c,d,f,g);a.ff("#FFF");a.Qc=ta(tn,a);return a},S:true},{v:"+link",K:Fn,caption:Vn,classes:"tr-link",factory:Wm},{v:"+insertOrderedList",K:Gn,classes:"tr-icon tr-insertOrderedList",S:true},{v:"+insertUnorderedList",K:Hn,classes:"tr-icon tr-insertUnorderedList",S:true},{v:"+outdent",K:In,classes:"tr-icon tr-outdent",factory:Wm},{v:"+indent",K:Jn,classes:"tr-icon tr-indent",factory:Wm},{v:"+justifyLeft",K:Kn,classes:"tr-icon tr-justifyLeft",
S:true},{v:"+justifyCenter",K:Ln,classes:"tr-icon tr-justifyCenter",S:true},{v:"+justifyRight",K:Mn,classes:"tr-icon tr-justifyRight",S:true},{v:"+justifyFull",K:Nn,classes:"tr-icon tr-justifyFull",S:true},{v:"+removeFormat",K:On,classes:"tr-icon tr-removeFormat",factory:Wm},{v:"image",K:Pn,classes:"tr-icon tr-image",factory:Wm},{v:"+strikeThrough",K:Qn,classes:"tr-icon tr-strikeThrough",S:true},{v:"+subscript",K:Wn,classes:"tr-icon tr-subscript",S:true},{v:"+superscript",K:Xn,classes:"tr-icon tr-superscript",
S:true},{v:"ltr",K:Rn,classes:"tr-icon tr-ltr",S:true},{v:"rtl",K:Sn,classes:"tr-icon tr-rtl",factory:function(a,b,c,d,f,g){var h=Ym(a,b,c,d,f,g);h.Qc=function(i){i=!!i;ed(h.q.b(),"tr-rtl-mode",i);cl(h,i)};return h},S:true},{v:"+BLOCKQUOTE",K:Tn,classes:"tr-icon tr-BLOCKQUOTE",S:true},{v:"+formatBlock",K:un,caption:vn,classes:"tr-formatBlock",factory:function(a,b,c,d,f,g){var h=Zm(a,b,c,d,f,g);Vm(h,pn);Nm(h,on);ad(Dm(h).J(),"goog-menu-noaccel");h.Qc=function(i){i=i&&i.length>0?i:null;i!=h.za()&&h.da(i)};
return h},S:true},{v:"editHtml",K:Un,caption:Yn,classes:"tr-editHtml",factory:Wm}],$n=0,ao;ao=Zn[$n];$n++)rn[ao.v]=ao;delete Zn;function bo(a,b){this.Ib=new Ih(this);this.rb=a;this.lb=b;this.pi=[];Ck(this.lb,function(c){c.S&&this.pi.push(co(this,c.Ja()))},this);this.lb.$b(false);this.Ib.h(this.rb,"cvc",this.Fo).h(this.lb,"action",this.Xf)}B(bo,Qe);function co(a,b){return b}function eo(a,b){return b}s=bo.prototype;s.la=n("Ib");s.V=function(){return this.lb.V()};s.setVisible=function(a){this.lb.setVisible(a)};s.t=function(){return this.lb.t()};s.Sa=function(a){this.lb.Sa(a)};s.blur=function(){this.lb.Ac(null)};
s.e=function(){bo.c.e.call(this);if(this.Ib){this.Ib.B();delete this.Ib}if(this.lb){this.lb.B();delete this.lb}delete this.rb;delete this.pi};s.Fo=function(a){if(this.lb.t()&&this.dispatchEvent("change")){var b;try{b=this.rb.queryCommandValue(a.em||this.pi)}catch(c){b={}}a=b;for(var d in a)if(b=this.lb.Rf(d)){var f=a[d];b.Qc?b.Qc(f):cl(b,!!f)}}};s.Xf=function(a){this.rb.execCommand(eo(this,a.target.Ja()),a.target.za())};function fo(a){return a.d("iframe",{frameborder:0,style:"border: 0; vertical-align: bottom",src:'javascript:""'})};function go(a){this.m=a;a=H?"focusout":"blur";this.Hn=P(this.m,H?"focusin":"focus",this,!H);this.In=P(this.m,a,this,!H)}B(go,Qe);go.prototype.handleEvent=function(a){var b=new ee(a.cb);b.type=a.type=="focusin"||a.type=="focus"?"focusin":"focusout";try{this.dispatchEvent(b)}finally{b.B()}};go.prototype.e=function(){go.c.e.call(this);Ke(this.Hn);Ke(this.In);delete this.m};function ho(a,b,c){this.target=a;this.handle=b||a;this.lg=c||new xf(NaN,NaN,NaN,NaN);this.ka=M(a);this.Tb=new Ih(this);P(this.handle,"mousedown",this.Yk,false,this)}B(ho,Qe);var io=H||I&&K("1.9.3");s=ho.prototype;s.screenX=0;s.screenY=0;s.Zk=0;s.$k=0;s.re=0;s.se=0;s.L=true;s.wc=false;s.dk=0;s.Ln=0;s.yn=false;s.la=n("Tb");function jo(a){a.preventDefault()}ho.prototype.Sa=aa("L");
ho.prototype.e=function(){ho.c.e.call(this);Ie(this.handle,"mousedown",this.Yk,false,this);this.Tb.B();delete this.target;delete this.handle;delete this.Tb};
ho.prototype.Yk=function(a){if(this.L&&!this.wc&&(a.type!="mousedown"||ge(a,0))){if(this.dk==0){ko(this,a);if(this.wc)a.preventDefault();else return}else a.preventDefault();var b=this.ka,c=b.documentElement,d=!io;this.Tb.h(b,"mousemove",this.Mn,d);this.Tb.h(b,"mouseup",this.Qf,d);if(io){c.setCapture(false);this.Tb.h(c,"losecapture",this.Qf)}else this.Tb.h(qd(b),"blur",this.Qf);H&&this.yn&&this.Tb.h(b,"dragstart",jo);this.to&&this.Tb.h(this.to,"scroll",this.Yn,d);this.screenX=this.Zk=a.screenX;this.screenY=
this.$k=a.screenY;this.re=this.target.offsetLeft;this.se=this.target.offsetTop;this.af=Vd(L(this.ka));this.Ln=ua()}};function ko(a,b){if(a.dispatchEvent(new lo("start",a,b.clientX,b.clientY,b))!==false)a.wc=true}ho.prototype.Qf=function(a,b){this.Tb.Ag();io&&this.ka.releaseCapture();if(this.wc){this.wc=false;var c=mo(this,this.re),d=wo(this,this.se);this.dispatchEvent(new lo("end",this,a.clientX,a.clientY,a,c,d,b))}};
ho.prototype.Mn=function(a){if(this.L){var b=a.screenX-this.screenX,c=a.screenY-this.screenY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.wc){var d=this.Zk-this.screenX,f=this.$k-this.screenY;if(d*d+f*f>this.dk){ko(this,a);if(!this.wc){this.Qf(a);return}}}c=xo(this,b,c);b=c.x;c=c.y;if(this.wc)if(this.dispatchEvent(new lo("beforedrag",this,a.clientX,a.clientY,a,b,c))!==false){this.target.style.left=b+"px";this.target.style.top=c+"px";this.dispatchEvent(new lo("drag",this,a.clientX,a.clientY,
a,b,c));a.preventDefault()}}};function xo(a,b,c){var d=Vd(L(a.ka));b+=d.x-a.af.x;c+=d.y-a.af.y;a.af=d;a.re+=b;a.se+=c;b=mo(a,a.re);a=wo(a,a.se);return new fd(b,a)}ho.prototype.Yn=function(a){var b=xo(this,0,0);a.clientX=this.af.x-this.screenX;a.clientY=this.af.x-this.screenY;var c=b.x;b=b.y;this.target.style.left=c+"px";this.target.style.top=b+"px";this.dispatchEvent(new lo("drag",this,a.clientX,a.clientY,a,c,b))};
function mo(a,b){var c=a.lg;a=!isNaN(c.left)?c.left:null;c=!isNaN(c.width)?c.width:0;return Math.min(a!=null?a+c:Infinity,Math.max(a!=null?a:-Infinity,b))}function wo(a,b){var c=a.lg;a=!isNaN(c.top)?c.top:null;c=!isNaN(c.height)?c.height:0;return Math.min(a!=null?a+c:Infinity,Math.max(a!=null?a:-Infinity,b))}function lo(a,b,c,d,f,g,h,i){de.call(this,a);this.clientX=c;this.clientY=d;this.Fp=f;this.left=g!==undefined?g:b.re;this.top=h!==undefined?h:b.se;this.Jp=b;this.Ip=!!i}B(lo,de);function yo(a,b,c){U.call(this,c);this.ga=a||"modal-dialog";this.Ni=!!b;this.Ha=zo;this.xc=new go(this.k().F())}B(yo,U);s=yo.prototype;s.Ni=false;s.Ye=true;s.Fj=true;s.Yl=0.3;s.Og="";s.pa="";s.Ha=null;s.Hd=null;s.Ca=false;s.ym=false;s.oa=null;s.fa=null;s.zb=null;s.bc=null;s.Ki=null;s.vd=null;s.$a=null;s.Ga=null;s.hb=function(a){this.pa=a;if(this.$a)this.$a.innerHTML=a};s.J=function(){this.$a||this.Jc();return this.$a};
s.d=function(){Ao(this);var a=this.k();this.m=a.d("div",{className:this.ga,tabIndex:0},this.zb=a.d("div",{className:this.ga+"-title",id:this.Ja()},this.bc=a.d("span",this.ga+"-title-text",this.Og),this.vd=a.d("span",this.ga+"-title-close")),this.$a=a.d("div",this.ga+"-content"),this.Ga=a.d("div",this.ga+"-buttons"),this.cl=a.d("span",{tabIndex:0}));this.Ki=this.zb.id;Pk(this.b(),"dialog");V(this.b(),"labelledby",this.Ki||"");if(this.pa)this.$a.innerHTML=this.pa;Tf(this.b(),false);this.Ha&&Bo(this.Ha,
this.Ga)};function Ao(a){if(a.Ni&&a.Ye&&!a.fa){a.fa=fo(a.k());a.fa.className=a.ga+"-bg";Tf(a.fa,false);Sf(a.fa,0)}else if((!a.Ni||!a.Ye)&&a.fa){O(a.fa);a.fa=null}if(a.Ye&&!a.oa){a.oa=a.k().d("div",a.ga+"-bg");Sf(a.oa,a.Yl);Tf(a.oa,false)}else if(!a.Ye&&a.oa){O(a.oa);a.oa=null}}yo.prototype.Jc=function(a){if(this.C)throw Error("Component already rendered");this.b()||this.d();a=a||this.k().F().body;Co(this,a);yo.c.Jc.call(this,a)};
function Co(a,b){a.fa&&b.appendChild(a.fa);a.oa&&b.appendChild(a.oa)}s=yo.prototype;s.La=function(a){return a&&a.tagName&&a.tagName=="DIV"&&yo.c.La.call(this,a)};
s.fc=function(a){yo.c.fc.call(this,a);ad(this.b(),this.ga);a=this.ga+"-content";if(this.$a=kd(null,a,this.b())[0])this.pa=this.$a.innerHTML;else{this.$a=this.k().d("div",a);if(this.pa)this.$a.innerHTML=this.pa;this.b().appendChild(this.$a)}a=this.ga+"-title";var b=this.ga+"-title-text",c=this.ga+"-title-close";if(this.zb=kd(null,a,this.b())[0]){this.bc=kd(null,b,this.zb)[0];this.vd=kd(null,c,this.zb)[0]}else{this.zb=this.k().d("div",a);this.b().insertBefore(this.zb,this.$a)}if(this.bc)this.Og=Pd(this.bc);
else{this.bc=this.k().d("span",b,this.Og);this.zb.appendChild(this.bc)}V(this.b(),"labelledby",this.Ki||"");if(!this.vd){this.vd=this.k().d("span",c);this.zb.appendChild(this.vd)}a=this.ga+"-buttons";if(this.Ga=kd(null,a,this.b())[0]){this.Ha=new Do(this.k());this.Ha.z(this.Ga)}else{this.Ga=this.k().d("div",a);this.b().appendChild(this.Ga);this.Ha&&Bo(this.Ha,this.Ga)}Ao(this);Co(this,M(this.b()).body);Tf(this.b(),false)};
s.M=function(){yo.c.M.call(this);if(this.Fj&&!this.Hd){var a=new ho(this.b(),this.zb);ad(this.zb,this.ga+"-title-draggable");this.Hd=a}this.la().h(this.vd,"click",this.bo).h(this.xc,"focusin",this.Un);Pk(this.b(),"dialog");this.bc.id!==""&&V(this.b(),"labelledby",this.bc.id)};s.Na=function(){this.V()&&this.setVisible(false);if(this.Hd){this.Hd.B();this.Hd=null}yo.c.Na.call(this)};
s.setVisible=function(a){if(a!=this.Ca){var b=this.k().F(),c=qd(b)||window;this.C||this.Jc(b.body);if(a){this.ti();this.Kc();this.la().h(this.b(),"keydown",this.tg,true).h(c,"resize",this.Ck,true)}else this.la().Xa(this.b(),"keydown",this.tg,true).Xa(c,"resize",this.Ck,true);this.fa&&Tf(this.fa,a);this.oa&&Tf(this.oa,a);Tf(this.b(),a);if(a){I&&this.b().focus();if(this.Ha)if(c=this.Ha.qe)for(var d=this.Ga.getElementsByTagName("button"),f=0,g;g=d[f];f++)if(g.name==c){try{if(J||G){var h=b.createElement("input");
h.style.cssText="position:fixed;width:0;height:0";this.b().appendChild(h);h.focus();this.b().removeChild(h)}g.focus()}catch(i){}break}}if(this.Ca=a)this.la().h(this.Ga,"click",this.zk);else{this.la().Xa(this.Ga,"click",this.zk);this.dispatchEvent(Eo);this.ym&&this.B()}}};s.V=n("Ca");
s.ti=function(){this.fa&&Tf(this.fa,false);this.oa&&Tf(this.oa,false);var a=this.k().F(),b=qd(a)||window,c=pd(b||window);b=a.body.scrollWidth;a=Math.max(a.body.scrollHeight,c.height);if(this.fa){Tf(this.fa,true);Of(this.fa,b,a)}if(this.oa){Tf(this.oa,true);Of(this.oa,b,a)}if(this.Fj){c=Pf(this.b());this.Hd.lg=new xf(0,0,b-c.width,a-c.height)}};
s.Kc=function(){var a=this.k().F(),b=qd(a)||window;if(Ef(this.b())=="fixed")var c=a=0;else{c=Vd(this.k());a=c.x;c=c.y}var d=Pf(this.b());b=pd(b||window);a=Math.max(a+b.width/2-d.width/2,0);c=Math.max(c+b.height/2-d.height/2,0);d=this.b();if(Ek(this)){d.style.right=Math.round(a)+"px";d.style.top=Math.round(c)+"px"}else Ff(d,a,c)};s.bo=function(){var a=this.Ha,b=a&&a.fh;if(b){a=a.get(b);this.dispatchEvent(new Fo(b,a))&&this.setVisible(false)}else this.setVisible(false)};
s.e=function(){yo.c.e.call(this);if(this.xc){this.xc.B();this.xc=null}if(this.oa){O(this.oa);this.oa=null}if(this.fa){O(this.fa);this.fa=null}this.cl=this.Ga=this.vd=null};function Go(a,b){a.Ha=b;if(a.Ga)if(a.Ha)Bo(a.Ha,a.Ga);else a.Ga.innerHTML=""}s=yo.prototype;s.zk=function(a){a:{for(a=a.target;a!=null&&a!=this.Ga;){if(a.tagName=="BUTTON"){a=a;break a}a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.Ha.get(a);this.dispatchEvent(new Fo(a,b))&&this.setVisible(false)}};
s.tg=function(a){var b=false,c=false,d=this.Ha,f=a.target;if(a.keyCode==27){var g=d&&d.fh;f=f.tagName=="SELECT"&&!f.disabled;if(g&&!f){c=true;b=d.get(g);b=this.dispatchEvent(new Fo(g,b))}else f||(b=true)}else if(a.keyCode==13){if(f.tagName=="BUTTON")g=f.name;else if(d){var h=d.qe,i=h&&Ho(d,h);f=(f.tagName=="TEXTAREA"||f.tagName=="SELECT")&&!f.disabled;if(i&&!i.disabled&&!f)g=h}if(g){c=true;b=this.dispatchEvent(new Fo(g,String(d.get(g))))}}else if(a.keyCode==9&&a.shiftKey&&f==this.b())c=true;if(b||
c){a.stopPropagation();a.preventDefault()}b&&this.setVisible(false)};s.Ck=function(){this.ti()};s.Un=function(a){this.cl==a.target&&Ue(this.Fm,0,this)};s.Fm=function(){H&&this.k().F().body.focus();this.b().focus()};function Fo(a,b){this.type=Io;this.wb=a;this.caption=b}B(Fo,de);var Io="dialogselect",Eo="afterhide";function Do(a){this.xa=a||L();Db.call(this)}var zo,Jo;B(Do,Db);s=Do.prototype;s.ga="goog-buttonset";s.qe=null;s.m=null;s.fh=null;
s.N=function(a,b,c,d){Db.prototype.N.call(this,a,b);if(c)this.qe=a;if(d)this.fh=a;return this};function Bo(a,b){a.m=b;a.Jc()}Do.prototype.Jc=function(){if(this.m){this.m.innerHTML="";var a=L(this.m);ub(this,function(b,c){b=a.d("button",{name:c},b);if(c==this.qe)b.className=this.ga+"-default";this.m.appendChild(b)},this)}};
Do.prototype.z=function(a){if(!(!a||a.nodeType!=1)){this.m=a;a=this.m.getElementsByTagName("button");for(var b=0,c,d,f;c=a[b];b++){d=c.name||c.id;f=Pd(c)||c.value;if(d){var g=b==0;this.N(d,f,g,c.name==Ko);g&&ad(c,this.ga+"-default")}}}};function Lo(a,b){a.qe=b}function Ho(a,b){a=a.m.getElementsByTagName("BUTTON");for(var c=0,d;d=a[c];c++)if(d.name==b||d.id==b)return d;return null}var Ko="cancel",Mo=y("OK"),No=y("Cancel"),Oo=y("Yes"),Po=y("No"),Qo=y("Save"),Ro=y("Continue");
Jo=(new Do).N("ok",Mo,true,true);zo=(new Do).N("ok",Mo,true).N(Ko,No,false,true);(new Do).N("yes",Oo,true).N("no",Po,false,true);(new Do).N("yes",Oo).N("no",Po,true).N(Ko,No,false,true);(new Do).N("continue",Ro).N("save",Qo).N(Ko,No,true,true);function So(a,b,c,d,f,g,h){yo.call(this,f,g,h);this.Og=a;this.bc&&Id(this.bc,a);this.hb(b+"<br><br>");this.oe=c;this.mh=d!==undefined?d:"";P(this,Io,this.Ak);a=y("OK");b=y("Cancel");h=new Do(h);h.N("ok",a,true);h.N(Ko,b,false,true);Go(this,h)}B(So,yo);s=So.prototype;s.oe=ga;s.mh="";s.nb=null;s.Yh=false;s.vi=1;s.Cd=0;
s.d=function(){So.c.d.call(this);var a={className:this.ga+"-userInput",value:this.mh};if(this.vi==1){this.nb=this.k().d("input",a);this.nb.type="text";if(this.Cd)this.nb.size=this.Cd}else{this.nb=this.k().d("textarea",a);this.nb.rows=this.vi;if(this.Cd)this.nb.cols=this.Cd}this.J().appendChild(this.k().d("div",{style:"overflow: auto"},this.nb));this.vi>1&&Lo(this.Ha,null)};s.setVisible=function(a){yo.prototype.setVisible.call(this,a);if(a){this.Yh=false;this.nb.value=this.mh;G&&this.nb.focus();this.nb.select()}};
s.Ak=function(a){if(!this.Yh){this.Yh=true;a.wb=="ok"?Ue(v(this.oe,this,this.nb.value),1):Ue(v(this.oe,this,null),1)}};s.e=function(){O(this.nb);Ie(this,Io,this.Ak,true,this);So.c.e.call(this);this.nb=this.Hp=null};function To(){}B(To,Qk);ha(To);s=To.prototype;s.j=p("goog-tab");s.db=p("tab");s.d=function(a){var b=To.c.d.call(this,a);(a=a.jc())&&this.ac(b,a);return b};s.z=function(a,b){b=To.c.z.call(this,a,b);var c=this.jc(b);c&&a.Ig(c);if(a.Pe())if((c=a.q)&&ma(c.he)){a.jb(8,false);c.he(a)}return b};s.jc=function(a){return a.title||""};s.ac=function(a,b){if(a)a.title=b||""};function Uo(a,b,c){W.call(this,a,b||To.getInstance(),c);el(this,8,true);this.Lg|=9}B(Uo,W);Uo.prototype.jc=n("of");Uo.prototype.ac=function(a){this.l.ac(this.b(),a);this.Ig(a)};Uo.prototype.Ig=aa("of");Xk("goog-tab",function(){return new Uo(null)});function Vo(){}B(Vo,jl);ha(Vo);Vo.prototype.j=p("goog-tab-bar");Vo.prototype.db=p("tablist");Vo.prototype.Ei=function(a,b,c){this.ok||Wo(this);var d=this.ok[b];d?Xo(a,d):Vo.c.Ei.call(this,a,b,c)};Vo.prototype.hc=function(a){var b=Vo.c.hc.call(this,a);this.Bf||Yo(this);b.push(this.Bf[a.pk]);return b};function Yo(a){var b=a.j();a.Bf=pb(Zo,b+"-top",$o,b+"-bottom",ap,b+"-start",bp,b+"-end")}function Wo(a){a.Bf||Yo(a);a.ok=mb(a.Bf)};function cp(a,b,c){Xo(this,a||Zo);ol.call(this,this.xb,b||Vo.getInstance(),c);a=this.la();a.h(this,"select",this.un);a.h(this,"unselect",this.vn);a.h(this,"disable",this.rn);a.h(this,"hide",this.sn)}B(cp,ol);var Zo="top",$o="bottom",ap="start",bp="end";cp.prototype.Xl=true;cp.prototype.Pb=null;cp.prototype.e=function(){cp.c.e.call(this);this.Pb=null};cp.prototype.removeChild=function(a,b){dp(this,a);return cp.c.removeChild.call(this,a,b)};function Xo(a,b){a.Hg(b==ap||b==bp?nl:ml);a.pk=b}
cp.prototype.Bi=function(a){cp.c.Bi.call(this,a);this.Xl&&ep(this,a)};cp.prototype.he=function(a){if(a)a.ge(true);else this.Pb&&this.Pb.ge(false)};function ep(a,b){a.he(a.ya(b))}function dp(a,b){if(b&&b==a.Pb){for(var c=Gk(a,b),d=c-1;b=a.ya(d);d--)if(b.V()&&b.t()){a.he(b);return}for(c=c+1;b=a.ya(c);c++)if(b.V()&&b.t()){a.he(b);return}a.he(null)}}s=cp.prototype;s.un=function(a){this.Pb&&this.Pb!=a.target&&this.Pb.ge(false);this.Pb=a.target};s.vn=function(a){if(a.target==this.Pb)this.Pb=null};
s.rn=function(a){dp(this,a.target)};s.sn=function(a){dp(this,a.target)};s.Ee=function(){rl(this)||this.Qb(this.Pb||this.ya(0))};Xk("goog-tab-bar",function(){return new cp});function fp(){}B(fp,To);ha(fp);fp.prototype.j=p("goog-rounded-tab");fp.prototype.d=function(a){return this.z(a,fp.c.d.call(this,a))};fp.prototype.z=function(a,b){var c=a.q;this.J(b)||b.appendChild(gp(this,a.k(),b.childNodes,c.pk));return fp.c.z.call(this,a,b)};function gp(a,b,c,d){var f=[];d!=$o&&f.push(hp(a,b,true));f.push(a.createCaption(b,c));d!=Zo&&f.push(hp(a,b,false));return b.d("table",{cellPadding:0,cellSpacing:0,className:a.j()+"-table"},b.d("tbody",null,f))}
fp.prototype.createCaption=function(a,b){var c=this.j();return a.d("tr",null,a.d("td",{noWrap:true},a.d("div",c+"-caption",b)))};function hp(a,b,c){var d=a.j();a=b.d("div",d+"-inner-edge");d=b.d("div",d+"-outer-edge");return b.d("tr",null,b.d("td",{noWrap:true},c?[d,a]:[a,d]))}fp.prototype.J=function(a){var b=this.j();return a&&kd("div",b+"-caption",a)[0]};Xk("goog-rounded-tab",function(){return new Uo(null,fp.getInstance())});function ip(a,b,c,d){U.call(this,d);this.xb=c;this.Ae=a;this.Ab(a);this.cf=b;this.Ab(b)}B(ip,U);s=ip.prototype;s.rd=null;s.Da=null;s.ce=null;s.Je=5;s.hk=null;s.Pk=null;s.ze=null;s.pj=true;s.Yb=null;s.Vh={nl:-1,Al:1,Dl:2};s.d=function(){var a=this.k(),b=a.d("div","goog-splitpane-first-container"),c=a.d("div","goog-splitpane-second-container"),d=a.d("div","goog-splitpane-handle");this.m=a.d("div","goog-splitpane",b,c,d);this.Da=b;this.ce=c;this.kb=d;jp(this);kp(this)};
s.La=function(a){var b="goog-splitpane-first-container";b=kd(null,b,a)[0];if(!b)return false;this.Da=b;b="goog-splitpane-second-container";b=kd(null,b,a)[0];if(!b)return false;this.ce=b;b="goog-splitpane-handle";a=kd(null,b,a)[0];if(!a)return false;this.kb=a;return true};s.fc=function(a){ip.c.fc.call(this,a);jp(this);a=Yf(a);this.hf(new hd(a.width,a.height));kp(this)};
function kp(a){var b=a.k();a.Ae.b()||a.Ae.d();b.appendChild(a.Da,a.Ae.b());a.cf.b()||a.cf.d();b.appendChild(a.ce,a.cf.b());a.rd=new ho(a.kb,a.kb);a.Da.style.position="absolute";a.ce.style.position="absolute";a=a.kb.style;a.position="absolute";a.overflow="hidden";a.zIndex=ip.prototype.Vh.Dl}
ip.prototype.M=function(){ip.c.M.call(this);var a=this.b();if(Ef(a)=="static")a.style.position="relative";this.la().h(this.kb,"dblclick",this.bn).h(this.rd,"start",this.dn).h(this.rd,"drag",this.en).h(this.rd,"end",this.cn);lp(this,this.hk)};function mp(a){return a.xb=="vertical"}function jp(a){if(mp(a)){a.kb.style.height=a.Je+"px";ad(a.kb,"goog-splitpane-handle-vertical")}else{a.kb.style.width=a.Je+"px";ad(a.kb,"goog-splitpane-handle-horizontal")}}
ip.prototype.Hg=function(a){if(this.xb!=a){this.xb=a;a=mp(this);if(this.C){mp(this)?cd(this.kb,"goog-splitpane-handle-horizontal","goog-splitpane-handle-vertical"):cd(this.kb,"goog-splitpane-handle-vertical","goog-splitpane-handle-horizontal");if(la(this.ze)){var b=Yf(this.b());lp(this,this.ze*(a?b.height/b.width:b.width/b.height))}else lp(this)}}};function np(a,b,c){Ff(b,c.left,c.top);Zf(b,new hd(Math.max(c.width,0),Math.max(c.height,0)))}
function lp(a,b){var c=Yf(a.b()),d=mp(a);b=la(b)?b:la(a.ze)?a.ze:Math.floor((d?c.height:c.width)/2);a.ze=b;var f,g,h,i,l,m,r;if(d){b=b;h=d=c.width;i=a.Je;g=c.height-b-i;f=c.width;r=0+b;m=0;l=r+i;c=0}else{d=b;b=c.height;h=a.Je;i=c.height;f=c.width-d-h;g=c.height;m=0+d;r=0;c=m+h;l=0}np(a,a.Da,new xf(0,0,d,b));typeof a.Ae.resize=="function"&&a.Ae.resize(new hd(d,b));np(a,a.kb,new xf(m,r,h,i));np(a,a.ce,new xf(c,l,f,g));typeof a.cf.resize=="function"&&a.cf.resize(new hd(f,g));a.dispatchEvent("change")}
s=ip.prototype;s.hf=function(a){Zf(this.b(),a);this.Yb&&Zf(this.Yb,a);lp(this)};
s.dn=function(){if(!this.Yb){var a="position: relative";if(H)a+=";background-color: #000;filter: Alpha(Opacity=0)";this.Yb=this.k().d("div",{style:a});this.k().appendChild(this.b(),this.Yb)}this.Yb.style.zIndex=ip.prototype.Vh.Al;Zf(this.Yb,Yf(this.b()));var b=Gf(this.Da);var c=a=0,d=b.x;b=b.y;var f=Yf(this.Da),g=bg(this.Da),h=bg(this.ce);if(mp(this)){c=g.height+h.height;b+=f.height-g.height}else{a=g.width+h.width;d+=f.width-g.width}this.rd.lg=new xf(d,b,a,c)||new xf(NaN,NaN,NaN,NaN)};
s.en=function(a){if(this.pj)if(mp(this)){a=a.top-Gf(this.Da).y;lp(this,a)}else{a=a.left-Gf(this.Da).x;lp(this,a)}};s.cn=function(a){this.Yb.style.zIndex=ip.prototype.Vh.nl;if(!this.pj)if(mp(this)){a=a.top-Gf(this.Da).y;lp(this,a)}else{a=a.left-Gf(this.Da).x;lp(this,a)}};
s.bn=function(){var a;a=this.Da;var b=Nf(this.kb);a=Nf(a);a=new fd(b.x-a.x,b.y-a.y);var c=Yf(this.Da),d=bg(this.Da);if(b=mp(this)){c=c.height-d.height;a=a.y}else{c=c.width-d.width;a=a.x}if(c==a)lp(this,this.Pk);else{this.Pk=b?Yf(this.Da).height:Yf(this.Da).width;lp(this,c)}};s.e=function(){ip.c.e.call(this);this.rd.B();this.rd=null;O(this.Yb);this.Yb=null};function Z(a,b,c){U.call(this,c);this.ha=b||op;this.Th=a||this.ha.vm;this.oj=null;pp[this.Ja()]=this}B(Z,U);var pp={};s=Z.prototype;s.Eg=false;s.Ra=false;s.Eo=null;s.Ol="";s.gg=true;s.Lf=-1;s.e=function(){Z.c.e.call(this);if(this.Oc){this.Oc.removeNode(this);this.Oc=null}this.m=null;delete pp[this.Ja()]};
s.dg=function(){var a=this.b();if(a){var b=qp(this);if(b&&!b.id)b.id=this.Ja()+".label";Pk(a,"treeitem");V(a,"selected",false);V(a,"expanded",false);V(a,"level",this.ed());b&&V(a,"labelledby",b.id);(a=this.Dh())&&Pk(a,"presentation");(a=this.Ch())&&Pk(a,"presentation");a=rp(this);Pk(a,"group");if(a.hasChildNodes()){a=Dk(this);for(b=1;b<=a;b++){var c=this.ya(b-1).b();V(c,"setsize",a);V(c,"posinset",b)}}}};
s.d=function(){var a;if(H){a=this.k().createElement("div");a.style.display="none";document.body.appendChild(a);var b=new Jg;sp(this,b);a.innerHTML=b;b=a.removeChild(a.firstChild);document.body.removeChild(a);a=b}else{a=this.k().createElement("div");b=new Jg;sp(this,b);a.innerHTML=b;a=a.removeChild(a.firstChild)}return this.m=a};s.M=function(){Z.c.M.call(this);this.dg()};
s.add=function(a,b){var c,d=Dk(this)==0,f=a.q;if(b){if(b.q!=this)throw Error("Can only add nodes before siblings");f!=null&&f.remove(a);this.zd(a,Gk(this,b))}else{f!=null&&f.remove(a);c=this.ya(Dk(this)-1);this.Ab(a)}if(b){if(b==this.ye){this.ye=a;a.fb=null}if(b.fb){a.fb=b.fb;b.fb.eb=a}b.fb=a;a.eb=b}else{if(!this.ye){this.ye=a;a.fb=null}if(this.Re)this.Re.eb=a;a.fb=this.Re;a.eb=null;this.Re=a}(f=this.R())&&tp(a,f);up(a,this.ed()+1);if(this.C&&!f.Ji){var g=rp(this),h=a.b()||a.d();b=b?b.b():null;g.insertBefore(h,
b);this.C&&a.M();c&&c.rf();if(d){g.style.display="";this.ib(this.tb());f&&vp(f)!="classic"&&wp(this)}}return a};
s.remove=function(a){var b=this.R(),c=b?b.ca():null;if(c==a||a.contains(c))if(b.hasFocus()){this.select();Ue(this.ao,10,this)}else this.select();if(a.q!=this)throw Error("Can only remove children");this.removeChild(a.Ja());if(this.Re==a)this.Re=a.fb;if(this.ye==a)this.ye=a.eb;if(a.fb)a.fb.eb=a.eb;if(a.eb)a.eb.fb=a.fb;c=!a.eb;a.Oc=null;a.Lf=-1;if(b){b.removeNode(this);if(this.C&&!b.Ji){b=rp(this);if(a.C){var d=a.b();b.removeChild(d);a.Na()}if(c)(c=this.ya(Dk(this)-1))&&c.rf();if(!Fk(this)){b.style.display=
"none";this.rf();wp(this)}}}return a};s.ao=function(){this.select()};s.ed=function(){var a=this.Lf;if(a<0){a=(a=this.q)?a.ed()+1:0;up(this,a)}return a};function up(a,b){if(b!=a.Lf){a.Lf=b;var c=xp(a);if(c){var d=Math.max(0,(a.ed()-1)*a.ha.Xh)+"px";if(Ek(a))c.style.paddingRight=d;else c.style.paddingLeft=d}Ck(a,function(f){up(f,b+1)})}}Z.prototype.contains=function(a){for(;a;){if(a==this)return true;a=a.q}return false};var yp=[];Z.prototype.dd=function(){return this.ba?this.ba:yp};Z.prototype.Pe=n("Eg");
Z.prototype.select=function(){var a=this.R();a&&a.Oa(this)};function zp(a,b){if(a.Eg!=b){a.Eg=b;Ap(a);var c=a.R();vp(c)!="classic"&&wp(a);var d=a.b();if(d){V(d,"selected",b);b&&V(c.b(),"activedescendant",a.Ja())}}}s=Z.prototype;s.tb=n("Ra");
s.ib=function(a){var b=a!=this.Ra;if(b)if(!this.dispatchEvent(a?"beforeexpand":"beforecollapse"))return;var c;this.Ra=a;var d=this.R(),f=this.b();if(Fk(this)){c=d?d.ca():null;!a&&this.contains(c)&&this.select();if(f){if(c=rp(this)){c.style.display=a?"block":"none";if(a&&this.C&&!c.hasChildNodes()){var g=new Jg;Ck(this,function(h){sp(h,g)});c.innerHTML=g.toString();Ck(this,function(h){h.M()})}}this.rf()}}else if(c=rp(this))c.style.display="none";d&&vp(d)=="classic"&&wp(this);f&&V(f,"expanded",a);if(b)this.dispatchEvent(a?
"expand":"collapse")};s.toggle=function(){this.ib(!this.tb())};s.collapse=function(){this.ib(false)};s.ui=function(){var a=this.q;if(a){a.ib(true);a.ui()}};function sp(a,b){var c=a.R();c=!c.Uk||c==a.q&&!c.Vk?a.ha.hm:a.ha.gm;var d=a.tb()&&Fk(a);b.append('<div class="',a.ha.qm,'" id="',a.Ja(),'">',Bp(a),'<div class="',c,'" style="',ab("background-position:",Cp(a),";"),d?"":"display:none;",'">');d&&Ck(a,function(f){sp(f,b)});b.append("</div></div>")}
function Bp(a){a.R();var b=new Jg;b.append('<div class="',a.Uf(),'" style="padding-',Ek(a)?"right:":"left:",Math.max(0,(a.ed()-1)*a.ha.Xh),'px">',a.Vj(),Dp(a),Ep(a),"</div>");return b.toString()}Z.prototype.Uf=function(){return this.ha.tm+(this.Pe()?" selected":"")};function Ep(a){var b=a.Eo;a.R();var c=new Jg;c.append('<span class="',a.ha.rm,'" ',b?' title="'+Oa(b)+'" ':" ",">",a.Th,"</span>","<span>",a.Ol,"</span>");return c.toString()}
function Dp(a){var b=a.Ah();return b?ab('<img class="',b,'" src="',a.ha.gh,'">'):ab('<img style="display:none"','" src="',a.ha.gh,'">')}Z.prototype.Vj=function(){return ab('<img type="expand" class="',Fp(this),'" src="',this.ha.gh+'">')};
function Fp(a){var b=a.R(),c=!b.Uk||b==a.q&&!b.Vk,d=a.ha,f=new Jg;f.append(a.ha.Ed," ",d.im," ");if(Fk(a)){var g=0;if(b&&b.xo&&a.gg)g=a.tb()?2:1;if(b&&!c)g+=!a.eb?4:8;switch(g){case 1:f.append(d.mm);break;case 2:f.append(d.lm);break;case 4:f.append(d.tj);break;case 5:f.append(d.km);break;case 6:f.append(d.jm);break;case 8:f.append(d.uj);break;case 9:f.append(d.om);break;case 10:f.append(d.nm);break;default:f.append(d.sj)}}else if(b&&c)f.append(d.sj);else!a.eb?f.append(d.tj):f.append(d.uj);return f.toString()}
function Cp(a){return(!a.eb?"-100":(a.ed()-1)*a.ha.Xh)+"px 0"}Z.prototype.b=function(){var a=Z.c.b.call(this);if(!a)this.m=a=this.k().b(this.Ja());return a};function xp(a){return(a=a.b())?a.firstChild:null}Z.prototype.Ch=function(){var a=xp(this);return a?a.firstChild:null};Z.prototype.Dh=function(){var a=xp(this);return a?a.childNodes[1]:null};function qp(a){return(a=xp(a))&&a.lastChild?a.lastChild.previousSibling:null}function rp(a){return(a=a.b())?a.lastChild:null}
Z.prototype.ic=function(){var a;a=this.Th;a=$a(a,"&")?"document"in t&&!$a(a,"<")?Wa(a):Ya(a):a;return a};Z.prototype.ef=function(a){this.Th=a;var b=qp(this);if(b)b.innerHTML=a;(a=this.R())&&Gp(a,this)};Z.prototype.update=function(){throw Error("Upate not yet supported");};function Ap(a){var b=xp(a);if(b)b.className=a.Uf()}Z.prototype.rf=function(){if(!this.R().Ji){var a=this.Ch();if(a)a.className=Fp(this);if(a=rp(this))a.style.backgroundPosition=Cp(this)}};
function wp(a){if(!a.R().Ji){var b=a.Dh();if(b)b.className=a.Ah()}}
Z.prototype.tg=function(a){var b=true,c;switch(a.keyCode){case 39:if(a.altKey)break;if(Fk(this))this.tb()?this.ya(0).select():this.ib(true);break;case 37:if(a.altKey)break;if(Fk(this)&&this.tb()&&this.gg)this.ib(false);else{c=this.q;var d=this.R();if(c&&(d.jf||c!=d))c.select()}break;case 40:a:if(Fk(this)&&this.tb())c=this.ya(0);else{for(c=this;c!=this.R();){d=c.eb;if(d!=null){c=d;break a}c=c.q}c=null}c&&c.select();break;case 38:c=this.fb;if(c!=null)c=Hp(c);else{c=this.q;d=this.R();c=!d.jf&&c==d?null:
c}c&&c.select();break;default:b=false}if(b){a.preventDefault();(d=this.R())&&Ip(d)}return b};function Hp(a){if(!a.tb()||!Fk(a))return a;return Hp(a.ya(Dk(a)-1))}function tp(a,b){if(a.Oc!=b){a.Oc=b;var c=a.R();Gp(c,a);c=Dk(a);for(var d=0;d<c;d++){var f=a.ya(d);tp(f,b)}}};function Jp(a,b,c){Z.call(this,a,b,c)}B(Jp,Z);Jp.prototype.Oc=null;Jp.prototype.R=function(){if(this.Oc)return this.Oc;var a=this.q;if(a)if(a=a.R()){tp(this,a);return a}return null};Jp.prototype.Ah=function(){var a=this.ha,b=this.R()?vp(this.R()):a.kh;if((b=b=="classic"&&this.tb()||b!="classic"&&this.Pe())&&this.th)return this.th;if(!b&&this.Uh)return this.Uh;if(Fk(this))if(b&&a.vj)return a.Ed+" "+a.vj;else{if(!b&&a.qj)return a.Ed+" "+a.qj}else if(a.xj)return a.Ed+" "+a.xj;return""};function Kp(a){this.wa={};a&&Lp(this,a)}Kp.prototype.Ya=undefined;Kp.prototype.N=function(a,b){Mp(this,a,b,false)};Kp.prototype.add=function(a,b){Mp(this,a,b,true)};function Mp(a,b,c,d){a=a;for(var f=0;f<b.length;f++){var g=b.charAt(f);a.wa[g]||(a.wa[g]=new Kp);a=a.wa[g]}if(d&&a.Ya!==undefined)throw Error('The collection already contains the key "'+b+'"');else a.Ya=c}function Lp(a,b){var c=sb(b);b=rb(b);for(var d=0;d<c.length;d++)a.N(c[d],b[d])}
Kp.prototype.get=function(a){for(var b=this,c=0;c<a.length;c++){var d=a.charAt(c);if(!b.wa[d])return;b=b.wa[d]}return b.Ya};Kp.prototype.yc=function(){var a=[];Np(this,a);return a};function Np(a,b){a.Ya!==undefined&&b.push(a.Ya);for(var c in a.wa)Np(a.wa[c],b)}Kp.prototype.Ld=function(a){var b=[];if(a){for(var c=this,d=0;d<a.length;d++){var f=a.charAt(d);if(!c.wa[f])return[];c=c.wa[f]}Op(c,a,b)}else Op(this,"",b);return b};
function Op(a,b,c){a.Ya!==undefined&&c.push(b);for(var d in a.wa)Op(a.wa[d],b+d,c)}s=Kp.prototype;s.ih=function(a){return this.get(a)!==undefined};s.clear=function(){this.wa={};this.Ya=undefined};s.remove=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var f=a.charAt(d);if(!b.wa[f])throw Error('The collection does not have the key "'+a+'"');c.push([b,f]);b=b.wa[f]}a=b.Ya;for(delete b.Ya;c.length>0;){f=c.pop();b=f[0];f=f[1];if(ib(b.wa[f].wa))delete b.wa[f];else break}return a};s.clone=function(){return new Kp(this)};
s.Vb=function(){var a;a=this.yc();a=typeof a.Vb=="function"?a.Vb():ka(a)||u(a)?a.length:fb(a);return a};s.jd=function(){return this.Ya===undefined&&tb(this.wa)};function Pp(){this.md=new Kp}s=Pp.prototype;s.aa="";s.ji=null;s.og=null;s.Xe=0;s.Wd=0;function Qp(a,b){var c=false;if(!b.ctrlKey&&!b.altKey){b=String.fromCharCode(b.keyCode).toLowerCase();if((b.length==1&&b>=" "&&b<="~"||b>="\u0080"&&b<="\ufffd")&&(b!=" "||a.aa)){a.aa+=b;c=Rp(a,a.aa)}}return c}function Sp(a,b){var c=b.ic();if(c&&!Ka(c==null?"":String(c))){c=c.toLowerCase();var d=a.md.get(c);d?d.push(b):a.md.N(c,[b])}}
function Tp(a,b){var c=b.ic();if(c&&!Ka(c==null?"":String(c))){c=c.toLowerCase();var d=a.md.get(c);if(d){Ea(d,b);d.length&&a.md.remove(c)}}}function Rp(a,b){var c=false;if((b=a.md.Ld(b))&&b.length){a.Wd=0;a.Xe=0;c=a.md.get(b[0]);if(c=Up(a,c))a.ji=b}return c}function Up(a,b){var c;if(b){if(a.Wd<b.length){c=b[a.Wd];a.og=b}if(c){c.ui();c.select()}}return!!c}Pp.prototype.clear=function(){this.aa=""};function Vp(a,b,c){Z.call(this,a,b,c);this.T=this;this.rc=new Pp;if(H&&K("6"))try{document.execCommand("BackgroundImageCache",false,true)}catch(d){oc(this.W,"Failed to enable background image cache")}}B(Vp,Z);s=Vp.prototype;s.Ka=null;s.xc=null;s.W=tc("goog.ui.tree.TreeControl");s.ig=null;s.Ra=true;s.Eg=true;s.xh=false;s.Hm=null;s.Uk=true;s.xo=true;s.jf=true;s.Vk=true;s.rc=null;s.R=function(){return this};s.ed=p(0);s.ui=e();s.gn=function(){this.xh=true;ad(this.b(),"focused");this.T&&this.T.select()};
s.Jh=function(){this.xh=false;bd(this.b(),"focused")};s.hasFocus=n("xh");s.tb=function(){return!this.jf||Vp.c.tb.call(this)};s.ib=function(a){if(this.jf)Vp.c.ib.call(this,a);else this.Ra=a};s.Vj=p("");s.Dh=function(){var a=xp(this);return a?a.firstChild:null};s.Ch=p(null);s.rf=e();s.Uf=function(){return Vp.c.Uf.call(this)+(this.jf?"":" "+this.ha.pm)};
s.Ah=function(){var a=this.ha,b=this.R()?vp(this.R()):a.kh;if((b=b=="classic"&&this.tb()||b!="classic"&&this.Pe())&&this.th)return this.th;if(!b&&this.Uh)return this.Uh;if(b&&a.wj)return a.Ed+" "+a.wj;else if(!b&&a.rj)return a.Ed+" "+a.rj;return""};s.Oa=function(a){if(this.T!=a){var b=false;if(this.T){b=this.T==this.Hm;zp(this.T,false)}if(this.T=a){zp(this.T,true);b&&this.T.select()}this.dispatchEvent("change")}};s.ca=n("T");function vp(a){return a.ha.kh}s=Vp.prototype;
s.dg=function(){Vp.c.dg.call(this);var a=this.b();Pk(a,"tree");V(a,"labelledby",qp(this).id)};s.d=function(){var a=Vp.c.d.call(this);this.ig=this.ig||a;return a};s.M=function(){Vp.c.M.call(this);var a=this.b();a.className=this.ha.sm;a.setAttribute("hideFocus","true");a=this.b();a.tabIndex=0;var b=this.Ka=new Hk(a),c=this.xc=new go(a);this.la().h(c,"focusout",this.Jh).h(c,"focusin",this.gn).h(b,"key",this.ub).h(a,"mousedown",this.Oh).h(a,"click",this.Oh).h(a,"dblclick",this.Oh);this.dg()};
s.Na=function(){Vp.c.Na.call(this);this.Ka.B();this.Ka=null;this.xc.B();this.xc=null};
s.Oh=function(a){pc(this.W,"Received event "+a.type);var b;a:{b=null;for(var c=a.target;c!=null;){if(b=pp[c.id]){b=b;break a}if(c==this.b())break;c=c.parentNode}b=null}if(b)switch(a.type){case "mousedown":b=b;if(a.target.getAttribute("type")=="expand"&&Fk(b))b.gg&&b.toggle();else{b.select();Ap(b)}break;case "click":a.preventDefault();break;case "dblclick":b=b;a.target.getAttribute("type")=="expand"&&Fk(b)||b.gg&&b.toggle();break}};
s.ub=function(a){var b=false;b=this.rc;var c=false;switch(a.keyCode){case 40:case 38:if(a.ctrlKey){c=a.keyCode==40?1:-1;var d=b.ji;if(d){var f=null,g=false;if(b.og){var h=b.Wd+c;if(h>=0&&h<b.og.length){b.Wd=h;f=b.og}else g=true}if(!f){h=b.Xe+c;if(h>=0&&h<d.length)b.Xe=h;if(d.length>b.Xe)f=b.md.get(d[b.Xe]);if(f&&f.length&&g)b.Wd=c==-1?f.length-1:0}if(Up(b,f))b.ji=d}c=true}break;case 8:d=b.aa.length-1;c=true;if(d>0){b.aa=b.aa.substring(0,d);Rp(b,b.aa)}else if(d==0)b.aa="";else c=false;break;case 27:b.aa=
"";c=true;break}(b=c||this.T&&this.T.tg(a)||Qp(this.rc,a))&&a.preventDefault();return b};s.createNode=function(a){return new Jp(a,this.ha,this.k())};function Gp(a,b){a.rc&&Sp(a.rc,b)}Vp.prototype.removeNode=function(a){this.rc&&Tp(this.rc,a)};function Ip(a){a.rc&&a.rc.clear()}
var op={gh:"images/cleardot.gif",vm:"Tree Item",kh:"classic",Xh:19,sm:"goog-tree-root goog-tree-item",pm:"goog-tree-hide-root",qm:"goog-tree-item",gm:"goog-tree-children",hm:"goog-tree-children-nolines",tm:"goog-tree-row",rm:"goog-tree-item-label",Ed:"goog-tree-icon",im:"goog-tree-expand-icon",mm:"goog-tree-expand-icon-plus",lm:"goog-tree-expand-icon-minus",om:"goog-tree-expand-icon-tplus",nm:"goog-tree-expand-icon-tminus",km:"goog-tree-expand-icon-lplus",jm:"goog-tree-expand-icon-lminus",uj:"goog-tree-expand-icon-t",
tj:"goog-tree-expand-icon-l",sj:"goog-tree-expand-icon-blank",vj:"goog-tree-expanded-folder-icon",qj:"goog-tree-collapsed-folder-icon",xj:"goog-tree-file-icon",wj:"goog-tree-expanded-folder-icon",rj:"goog-tree-collapsed-folder-icon"};/*

*/
function ACTG(){}ACTG.Wi=false;ACTG.debugOn=false;var Wp;try{if(Components==null)Components={}}catch(Xp){Components={}}try{if(setTimeout==null)setTimeout={}}catch(Yp){setTimeout={}}Zp=alert;objAlert=function(a){Zp($p(a,3))};var $p;
$p=function(a,b){if(b<=0)return"";var c="";try{if(a instanceof Array){for(var d in a)c+=d+": "+$p(a[d],b-1)+", ";c=c.substring(0,c.length-2);c="["+c+"]\n"}else if(typeof a=="object"){for(d in a)c+=d+": "+$p(a[d],b-1)+", ";c=c.substring(0,c.length-2);c="{"+c+"}\n"}else c=typeof a=="string"?"'"+a+"'":a}catch(f){c+=f}return c};ACTG.Z=function(a,b){try{function c(){}c.prototype=b.prototype;a.c=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.prototype.w=b.prototype;a.w=b}catch(d){alert(d)}};
try{if(ACTG==null)throw new Error("");}catch(aq){ACTG=e()}exports={};var bq,Zp;ACTG.An=function(){String.prototype.startsWith=function(a){return this.match("^"+a)==a};String.prototype.endsWith=function(a){return this.match(a+"$")==a};String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};gBrowser=window.top?window.top.document?window.top.document.getElementById("content"):null:null;bq=document;Zp=alert};
ACTG.callMethod=function(a,b){if(!(!b||b.length==0)){var c,d,f;for(var g in b){c=b[g];if(!(!c||c.length!=2||!c[0]))if(c[1]){d=c[0]+"."+a;f=c[1][a];if(!(typeof d!="string"||typeof f!="function"))try{f.call(c[1])}catch(h){ACTG.Utils.Gc(d+": "+h)}finally{}}}}};
ACTG.onload=function(){try{ACTG.An();ACTG.mi=[["ACTG.Dom",cq],["ACTG.jQuery",ACTG.kd],["ACTG.Utils",ACTG.Utils],["ACTG.File",ACTG.Rb],["ACTG.UnitTest",ACTG.UnitTest],["ACTG.Xul",ACTG.Xi]];ACTG.callMethod("onload",ACTG.mi)}catch(a){ACTG.Utils.Gc("ACTG.onload: "+a)}finally{_UNIT_TESTING_&&ACTG.test()}};ACTG.onunload=function(){ACTG.callMethod("onunload",ACTG.mi)};ACTG.test=function(){ACTG.UnitTest.runTests(ACTG.mi)};
if(document&&document.defaultView){document.defaultView.addEventListener("load",ACTG.onload,false);document.defaultView.addEventListener("unload",ACTG.onunload,false)}else{P(window,"load",ACTG.onload);P(window,"unload",ACTG.onunload)}ACTG.va=ACTG.va||e();ACTG.va.getInstance=function(){if(ACTG.va.me==null)ACTG.va.me=new ACTG.va;return ACTG.va.me};var cq=ACTG.va.getInstance();
ACTG.va.prototype.onload=function(){BUTTON="$="+dq;TEXTBOX="$="+eq;CHECKBOX="$="+fq;RADIO="$="+gq;SELECT="$="+hq;FLASH="$="+iq;EMBED="$="+jq;FRAME="$="+kq;ANCHOR="$="+lq;CLICKABLE="$="+mq;TYPEABLE="$="+nq;KEYABLE="$="+oq;TABBABLE="$="+pq};
var dq="input[type=submit],input[type=button],input[type=image]",eq="input[type=text],input[type=password],textarea,[contenteditable=true]",fq="input[type=checkbox]",gq="input[type=radio]",hq="select",iq="embed[src$=.swf]",jq="embed",kq="frame,iframe",lq="a",mq=dq+","+fq+","+lq+","+eq+","+jq,nq=eq,pq="input,textarea,select,a,embed,[contenteditable=true]",oq=dq+","+fq+","+gq+","+hq+","+lq+","+jq;ACTG.va.Vi={zl:0,Bl:1,Wo:2};ACTG.va.prototype.type=function(a,b,c){return this.Xf("TYPE",a,b,c)};
ACTG.va.prototype.select=function(a,b){return this.Xf("SELECT",a,b)};
ACTG.va.prototype.Xf=function(a,b,c,d){if(c==null)c=qq(this);if(c==null)return false;var f=null;if(c instanceof jQuery){if(c.length==0)return false;f=c}else f=jQuery(new XPCNativeWrapper(c));a=a.toUpperCase();c=qq(this)?qq(this).getAttribute("tabindex"):-1;ACTG.Utils.trace("this.handleAction: current tabindex is: "+c);switch(a){case "TYPE":var g;var h=f.slice(0,1);if(b){h=h.get(0);h.focus();switch(d){case ACTG.va.Vi.zl:if(jQuery(h).is("input[type=password]"))throw new Error("Trying to type normal text into a password box. Use typePassword() instead");break;
case ACTG.va.Vi.Bl:if(!jQuery(h).is("input[type=password]"))throw new Error("Trying to type a password into a normal textbox. Use type() instead");break;default:break}if(typeof b=="number")rq(this,h,b,b,false,false,false,false);else if(b.length==0)g=false;else{if(!ACTG.Utils.Wf(h).Il){ACTG.Utils.Wf(h).Il=true;if(h.value)h.value=""}for(var i=b.length,l=false,m=0;m<i;m++){l=shiftKey=false;d=charCode=b.charCodeAt(m);if(charCode>=65&&charCode<=90)shiftKey=true;else if(charCode>=96&&charCode<=122)d-=32;
else switch(charCode){case 33:d=190;break;case 38:d=55;break;case 40:d=57;break;case 44:d=188;break;case 46:d=190;break;case 125:d=221;break}l=rq(this,h,d,charCode,l,false,shiftKey,false)}g=l}}else g=false;return g;case "CLICK":d=f.slice(0,1);b=d.get(0);b.focus();g=d.offset();d=g.left;g=g.top;try{i=this.sa(b);m=this.F(b);if(!i||!m)throw new Error("Cannot sendMouseEvent into a null window or document");l=m.createEvent("MouseEvents");l.initMouseEvent("mousedown",true,true,i,1,0,0,d,g,false,false,false,
false,0,null);b.dispatchEvent(l);l.initMouseEvent("click",true,true,i,1,0,0,d,g,false,false,false,false,0,null);b.dispatchEvent(l);l.initMouseEvent("mouseup",true,true,i,1,0,0,d,g,false,false,false,false,0,null);b.dispatchEvent(l);h=true}catch(r){ACTG.Utils.Gc(r);h=false}finally{}return h;case "SELECT":return sq(this,b,f);case "CHECK":return tq(this,true,f);case "UNCHECK":return tq(this,false,f);default:return false}};function tq(a,b,c){c.get(0).focus();c.attr("checked",b);return true}
function sq(a,b,c){if(!b)return false;if(typeof b=="number")b=b.toString();if(b.length==0)return false;var d=false;c.each(function(){if(this.tagName=="SELECT")d=uq(a,b,this);else if(this.tagName=="INPUT")d=vq(a,b,this);if(d){this.focus();return false}});return d}
function vq(a,b,c){a=jQuery(c);var d=a.attr("text")||"";d=b==d;if(!d){d=set.attr("name")||"";d=b==d}if(d)return c.checked=true;d=a.attr("text")||"";d=b.toLowerCase()==d.toLowerCase();if(!d){d=a.attr("name")||"";d=b.toLowerCase()==d.toLowerCase()}if(d)return c.checked=true;d=a.attr("text")||"";d=d.indexOf(b)>=0;if(!d){d=a.attr("name")||"";d=d.indexOf(b)>=0}if(d)return c.checked=true;d=a.attr("text")||"";d=d.toLowerCase().indexOf(b.toLowerCase())>=0;if(!d){d=a.attr("name")||"";d=d.toLowerCase().indexOf(b.toLowerCase())>=
0}if(d)return c.checked=true;return false}
function uq(a,b,c){a=jQuery("option",c);function d(){var g=jQuery(this).attr("text")||"";g=b==g;if(!g){g=jQuery(this).attr("value")||"";g=b==g}return g}var f=a.filter(d);if(f&&f.length>0){c.value=f.get(0).value;return true}d=function(){var g=jQuery(this).attr("text")||"";g=b.toLowerCase()==g.toLowerCase();if(!g){g=jQuery(this).attr("value")||"";g=b.toLowerCase()==g.toLowerCase()}return g};if((f=a.filter(d))&&f.length>0){c.value=f.get(0).value;return true}d=function(){var g=jQuery(this).attr("text")||
"";g=g.indexOf(b)>=0;if(!g){g=jQuery(this).attr("value")||"";g=g.indexOf(b)>=0}return g};if((f=a.filter(d))&&f.length>0){c.value=f.get(0).value;return true}d=function(){var g=jQuery(this).attr("text")||"";g=g.toLowerCase().indexOf(b.toLowerCase())>=0;if(!g){g=jQuery(this).attr("value")||"";g=g.toLowerCase().indexOf(b.toLowerCase())>=0}return g};if((f=a.filter(d))&&f.length>0){c.value=f.get(0).value;return true}return false}
function rq(a,b,c,d,f,g,h,i){try{ACTG.Utils.trace("ACTG.Dom.sendKeyEvent("+b+","+c+","+d+") {");if(c==KeyEvent.DOM_VK_TAB||c==-KeyEvent.DOM_VK_TAB)if(!jQuery(b).is(jq)){c==KeyEvent.DOM_VK_TAB?a.advanceFocus():a.rewindFocus();return true}var l=a.sa(b),m=a.F(b);if(!l||!m)throw new Error("Cannot sendKeyEvent into a null window or document");var r=m.createEvent("KeyEvents");r.initKeyEvent("keydown",true,true,l,f,g,h,i,c,d);b.dispatchEvent(r);r.initKeyEvent("keypress",true,true,l,f,g,h,i,c,d);b.dispatchEvent(r);
r.initKeyEvent("keyup",true,true,l,f,g,h,i,c,d);b.dispatchEvent(r);return true}catch(z){ACTG.Utils.Gc(z);return false}finally{ACTG.Utils.trace("ACTG.Dom.sendKeyEvent() }")}}ACTG.va.prototype.F=function(a){if(a==null)return null;if(a.ownerDocument instanceof HTMLDocument)return a.ownerDocument;if(a instanceof HTMLDocument)return elemnt;return this.F(a.parentNode)};ACTG.va.prototype.sa=function(a){return(a=this.F(a))?a.defaultView:null};
function qq(){try{var a=bq.commandDispatcher.focusedElement;if(!a)return null;return a}catch(b){ACTG.Utils.Gc(b);return null}}function wq(a,b){return(a=a.sa(b))&&a.top==gBrowser.contentDocument.defaultView}ACTG.va.prototype.advanceFocus=function(){xq(this,false)};ACTG.va.prototype.rewindFocus=function(){xq(this,true)};
function xq(a,b){if(bq&&bq.commandDispatcher)for(var c=qq(a),d=0;d<100;d++){b?bq.commandDispatcher.rewindFocus():bq.commandDispatcher.advanceFocus();var f=qq(a);if(f!=c&&jQuery(f).is(":visible")&&wq(a,f))break}}ACTG.Rb=ACTG.Rb||e();ACTG.Rb.getInstance=function(){if(ACTG.Rb.me==null)ACTG.Rb.me=new ACTG.Rb;return ACTG.Rb.me};ACTG.Rb.getInstance();
ACTG.Rb.prototype.exists=function(a){try{var b=Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);a=a.replace(/[\/\\]/g,yq(this));b.initWithPath(a);return b.exists()}catch(c){ACTG.Utils.Gc(a+": "+c);return false}finally{}};
ACTG.Rb.prototype.save=function(a,b){var c=Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);a=a.replace(/[\/\\]/g,yq(this));c.initWithPath(a);c.exists()==false&&c.create(Components.interfaces.nsIFile.NORMAL_FILE_TYPE,420);a=Components.classes["@mozilla.org/network/file-output-stream;1"].createInstance(Components.interfaces.nsIFileOutputStream);a.init(c,44,420,0);b=a.write(b,b.length);a.close();return b};
function yq(a){if(a.aj==null){var b="/";if(Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties).get("UChrm",Components.interfaces.nsIFile).path.indexOf("\\")>=0)b="\\";a.aj=b}return a.aj}ACTG.UnitTest=ACTG.UnitTest||e();var _UNIT_TESTING_=false;
ACTG.UnitTest.runTests=function(a){if(a){ACTG.Utils.Li=ACTG.Utils.qf.Ti;if(typeof a=="string"){testMethod=a+".test";if(typeof eval(testMethod)=="function")try{ACTG.Utils.trace("TEST: "+testMethod+"() {");var b=eval("new "+testMethod+"()");new zq;for(var c in b)if(typeof b[c]=="function"&&c.startsWith("test"))try{ACTG.Utils.trace("TEST: "+c+"() {");eval("packageTester."+c+"()");ACTG.Utils.trace("PASSED: "+c+"()")}catch(d){ACTG.Utils.logException(d)}finally{ACTG.Utils.trace("TEST: "+c+"() }");ACTG.Utils.trace("")}}catch(f){ACTG.Utils.logException(f)}finally{ACTG.Utils.trace("TEST: "+
testMethod+"() }");ACTG.Utils.trace("")}}else if(a instanceof Array)for(var g in a)ACTG.UnitTest.runTests(a[g]);ACTG.Utils.Li=ACTG.Utils.qf.Si}};
function zq(){this.print=ACTG.Utils.trace;this.wd=function(a,b){if(a){this.print("Assertion success: ["+b+"]");return true}else throw new Error("Assertion failure: expecting ["+b+"]");};this.zp=this.Ul=function(a){return this.wd(a,"true")};this.Bp=function(a){return this.wd(a==false,"false")};this.Ep=function(a){return this.wd(a==null,"a is Null")};this.Dp=function(a){return this.wd(a!=null,"a is NotNull")};this.Ap=function(a,b){return this.wd(a==b,"a == b")};this.Cp=function(a,b){return this.wd(a!=
b,"a != b")}}try{if(ACTG.Utils==null)ACTG.Utils={}}catch(Aq){ACTG.Utils={}}try{if(Components==null)Components={}}catch(Bq){Components={}}ACTG.Utils.zm=true;ACTG.Utils.pf=0;ACTG.Utils.qf={Ti:0,Si:1,ml:2};ACTG.Utils.Li=ACTG.Utils.qf.Si;String.prototype.startsWith=function(a){return this.match("^"+a)==a};String.prototype.endsWith=function(a){return this.match(a+"$")==a};String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};ACTG.Utils.onload=e();ACTG.Utils.onunload=e();
ACTG.Utils.dq=function(a){var b=Components.classes["@mozilla.org/thread-manager;1"].getService(Components.interfaces.nsIThreadManager).currentThread,c=true;for(setTimeout(function(){c=false},a);c;)b.processNextEvent(true)};ACTG.Utils.Vg=0;ACTG.Utils.Wg=null;ACTG.Utils.Sm=function(){if(ACTG.Utils.Wg==null){gBrowser.selectedTab=gBrowser.addTab("about:blank");var a=gBrowser.contentDocument;if(a&&a.wrappedJSObject)a=a.wrappedJSObject;a&&a.writeln&&a.writeln("<HTML><BODY><DIV><PRE>");ACTG.Utils.Wg=a}return ACTG.Utils.Wg};
ACTG.Utils.print=function(a){a||(a="null");if(typeof a!="string")a=a.toString();ACTG.Utils.Vg++;if(ACTG.Utils.Vg>1)ACTG.Utils.Fk(a);else switch(ACTG.Utils.Li){case ACTG.Utils.qf.ml:alert("ACTG.Utils.print: "+a);break;case ACTG.Utils.qf.Ti:(doc=ACTG.Utils.Sm())&&doc.writeln?doc.writeln(a):alert("ACTG.Utils.print: "+a);break;default:ACTG.Utils.Fk(a);break}ACTG.Utils.Vg--};
ACTG.Utils.Fk=function(a){try{Wp.info(a)}catch(b){try{Components.classes["@mozilla.org/consoleservice;1"].getService(Components.interfaces.nsIConsoleService).logStringMessage(a)}catch(c){setTimeout(function(){throw new Error(a);},100)}}};ACTG.Utils.trace=function(a,b){a=a||"null";a=a.toString();if(ACTG.Utils.zm){!b&&a.endsWith("}")&&ACTG.Utils.pf--;if(ACTG.Utils.pf<0)ACTG.Utils.pf=0;for(var c=0;c<ACTG.Utils.pf;c++)a="  "+a;ACTG.Utils.print(a);!b&&a.endsWith("{")&&ACTG.Utils.pf++}};
ACTG.Utils.log=function(a){ACTG.Utils.trace(new Date+" - "+a,false)};ACTG.Utils.Gc=function(a){ACTG.Utils.log("Error: "+a)};ACTG.Utils.Um=function(){var a;try{0()}catch(b){a=b.stack?"Firefox":window.opera?"Opera":"Other"}switch(a){case "Firefox":return function(){try{0()}catch(c){return c.stack.replace(/^.*?\n/,"").replace(/(?:\n@:0)?\s+$/m,"").replace(/^\(/gm,"{anonymous}(").split("\n")}};default:return e()}};ACTG.Utils.oi=function(){ACTG.Utils.log(ACTG.Utils.Tm())};ACTG.Utils.Tm=function(){return ACTG.Utils.Um()().join("\n")};
ACTG.Utils.logException=function(a){ACTG.Utils.Gc(a);ACTG.Utils.oi()};ACTG.Utils.Pp=function(a,b){return!a||typeof a!="number"?b:a};ACTG.Utils.vo=function(a,b){b|=0;var c=new Array(0);if(a)for(b=b;b<a.length;b++)c.push(a[b]);return c};ACTG.Utils.yp=function(a){return ACTG.Utils.vo(a,0)};ACTG.Utils.Op=function(a){return a.toString().replace(/^function /,"").replace(/\n/g,"").replace(/ .*$/,"")};ACTG.Utils.Wf=function(a){if(!a)return null;if(!a.wrappedJSObject)return a;return a.wrappedJSObject};
ACTG.Z=function(a,b){try{function c(){}c.prototype=b.prototype;a.c=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.prototype.w=b.prototype;a.w=b}catch(d){alert(d)}};ACTG.Utils.Gn=function(a){return a.indexOf(".")>2&&a.indexOf("@")>0};ACTG.Utils.En=function(a){return a!=null&&a!=""};ACTG.Utils.Hc=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};
ACTG.Utils.Ze=function(){return ACTG.Utils.Hc()+ACTG.Utils.Hc()+"-"+ACTG.Utils.Hc()+"-"+ACTG.Utils.Hc()+"-"+ACTG.Utils.Hc()+"-"+ACTG.Utils.Hc()+ACTG.Utils.Hc()+ACTG.Utils.Hc()};ACTG.Utils.vp=function(){alert(ACTG.Utils.Ze());alert(ACTG.Utils.Ze());alert(ACTG.Utils.Ze());alert(ACTG.Utils.Ze())};
ACTG.Utils.$p=function(a){var b=Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);b.initWithPath("/tmp/save_"+(new Date).getTime()+".png");var c=Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);a=c.newURI(ACTG.Utils.capture(a),"UTF8",null);c.Vp(b);c=Components.classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"].createInstance(Components.interfaces.yk);c.ho=Components.interfaces.yk.jp;
c.ho|=Components.interfaces.yk.ip;c.aq(a,null,null,null,null,b)};ACTG.Utils.capture=function(a){var b=a.createElementNS("http://www.w3.org/1999/xhtml","html:canvas"),c=b.getContext("2d");b.height=a.height;b.width=a.width;c.Kp(a.defaultView,0,0,b.width,b.height,"rgb(255, 255, 255)");return b.toDataURL()};ACTG.Utils.z=function(a,b){if(a==null)return null;b=b.prototype;return a instanceof Array?ACTG.Utils.Gl(a,b):ACTG.Utils.Zi(a,b)};ACTG.Utils.zn=ACTG.Utils.z;
ACTG.Utils.Zi=function(a,b){for(var c in b)a[c]=b[c]};ACTG.Utils.Gl=function(a,b){for(var c in a)ACTG.Utils.Zi(a[c],b)};
ACTG.Utils.V=function(a){if(a==document)return true;if(!a)return false;if(!a.parentNode)return false;if(a.style){if(a.style.display=="none")return false;if(a.style.visibility=="hidden")return false}if(window.getComputedStyle){var b=window.getComputedStyle(a,"");if(b.display=="none")return false;if(b.visibility=="hidden")return false}if(b=a.currentStyle){if(b.display=="none")return false;if(b.visibility=="hidden")return false}return ACTG.Utils.V(a.parentNode)};
ACTG.Utils.Sg={PLUGIN_IS_INSTALLED:"_actgent_plugin_",PLAY_BUTTON_ID_1:"myScriptsDetails_e_run",PLAY_BUTTON_ID_2:"friendsDetails_e_run",PLAY_BUTTON_ID_3:"publicDetails_e_run",PLAY_BUTTON_HANDLER:"_actgent_script_runner_",ACTGENT_SCRIPT:"_actgent_script_"};ACTG.Xi=ACTG.Xi||{};try{jQuery=jQuery||null}catch(Cq){jQuery=null}
if(jQuery!=null){ACTG.kd=ACTG.kd||e();ACTG.kd.onload=function(){jQuery.noConflict()};ACTG.kd.onunload=e();jQuery.fn.sort=function(){return this.pushStack(jQuery.makeArray([].sort.apply(this,arguments)))};ACTG.kd.ck="ActgHighlight";jQuery.fn.highlight=function(a,b){if(a==null)a=true;if(!b)b=ACTG.kd.ck;a?this.addClass(b):this.removeClass(b);return this};jQuery.fn.highlightOnMouseOver=function(a,b,c,d){b=b||ACTG.kd.ck;var f;if(c==undefined&&d==undefined){c="mouseover";d="mouseout"}else if(c==d||c!=undefined&&
d==undefined)f=true;this.each(function(){var g=this.tagName.toLowerCase();if(g=="form"){a=a||"li";g=jQuery("textarea, select, multi-select, :text, :image, :password, :radio, :checkbox, :file",this);g.bind("focus",function(){var h=jQuery(this).parents(a);jQuery(h.get(0)).addClass(b)});g.bind("blur",function(){var h=jQuery(this).parents(a);jQuery(h.get(0)).removeClass(b)})}else{a=g.match(/^(table|tbody)$/)!=null?a||"tr":g.match(/^(ul|ol)$/)!=null?a||"li":"*";g=jQuery(a,this);if(f)g.bind(c,function(){jQuery(this).hasClass(b)?
jQuery(this).removeClass(b):jQuery(this).addClass(b)});else{g.bind(c,function(){jQuery(this).addClass(b)});g.bind(d,function(){jQuery(this).removeClass(b)})}}});return this};jQuery.fn.childrenOnly=function(){for(var a=this.get(),b=0;b<a.length;b++)for(var c=a.length-b-1;c>=0;c--)for(var d=ACTG.Utils.Wf(a[c]),f=0;f<a.length;f++)if(c!=f){var g=ACTG.Utils.Wf(a[f]);jQuery(d).parents().index(g)>=0&&a.splice(f,1)}return jQuery(a)};jQuery.expr[":"].icontains=function(a,b,c){a=a.textContent||a.innerText||
"";a=a.replace(/\s+/g," ");return a.toLowerCase().indexOf(c[3].toLowerCase())>=0};jQuery.fn.limitTextLength=function(a){var b=new Array(0);this.each(function(){(this.textContent||this.innerText||"").length<=a&&b.push(this)});return jQuery(b)};jQuery.fn.youngest=function(){var a=null,b=0;this.each(function(){var c=jQuery(this).parents().length;if(c>b){a=this;b=c}});return jQuery(a)};jQuery.fn.nonParents=function(){return this.filter(function(){var a=jQuery(this).children();return!a||a.length==0})};
jQuery.fn.leafNodes=jQuery.fn.nonParents;jQuery.fn.oldest=function(){var a=null,b=99999;this.each(function(){if(depth<b){a=this;b=depth}});return jQuery(a)};jQuery.fn.empty=function(){return jQuery([])}}ACTG.lp={};function Dq(a,b,c){this.Sk=a=a||"http://www.actgent.com/cap";b!=null&&c!=null&&Eq(ACTG.Fa,Fq({email:b,password:c}),null);this.Nk=new Gq(a)}function Hq(){return Iq!=null&&Jq(Iq)}
function Kq(a,b,c,d,f){try{d=d||e();if(!(c instanceof Array)){var g=new Array(0);c!=null&&g.push(c);c=g}if(f)return Lq(a.Nk,b,c,d);else if(Iq&&Jq(Iq)){c.push({token:Iq.token});return Lq(a.Nk,b,c,d)}else throw new Error("Valid login required. Please login again.");}catch(h){oc(Wp,"makeRpcCall("+b+")",h)}}Dq.prototype.loginOrRegister=function(a,b){return Kq(this,"loginOrRegister",a,function(c){if(typeof b=="function"){c=Fq(c);c.isValid=c.token!=null;b(c)}},true)};
function Mq(a){a=a||{};for(var b in a)this[b]=a[b]}function Fq(a){return a instanceof Mq?a:new Mq(a)}function Jq(a){return a.isValid==null?false:a.isValid}function Gq(a){this.Sk=a;this.Sp=false}
function Lq(a,b,c,d){var f=true,g=false;try{var h=a.Sk+"/"+b;if(c!=null)if(c instanceof Array){if(c.length>0){h+="?";for(var i in c)h=h+ACTG.$.je(c[i])+"&"}}else h=h+"?"+ACTG.$.je(c);var l=new Pj;P(l,"complete",function(){a:{var z=h,A=null;try{ACTG.Utils.log("URI: "+String(this.ei));A=this.U?this.U.responseText:"";var x=A.Rj();if(x!=null&&x instanceof Array&&x.length==1)x=x[0];x=x||{};switch(x.status){case "200":x=x.result;break;case "400":oc(Wp,"JSON string: "+A);var S=x.message;if(S!=null)if(S.startsWith("Authentication")&&
S.endsWith("expired")){alert("For your protection, this log-in session has expired. Please log in again.");document.location.reload()}else oc(Wp,z+": "+S);break;default:break}if(typeof d=="function")d(x);else{f=x;break a}}catch(zb){oc(Wp,"JSON string: "+A);oc(Wp,z,zb)}finally{}f=void 0}g=true});l.send(h,null,null,{"X-Public-Client":"yes"},null);if(typeof d!="function")for(var m=new Date;!g;){if(new Date-m>5E3)break;for(i=0;i<1E4;i++);}}catch(r){alert(r);f=r}return f}ACTG.Pa={};ACTG.Pa.Mm=function(){td('<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US" type="text/javascript"><\/script><script type="text/javascript">FB.init("1f5ca3821c9e7a805495f4a3b086056e");<\/script>')};
ACTG.Pa.Om=function(a,b,c){c=c?" "+c+"-fb-login-button":"";c=td('<a href="#" class="fbconnect_login_button FBConnectButton FBConnectButton_Small'+c+'"><span id="RES_ID_fb_login_text" class="FBConnectButton_Text">Connect with Facebook</span></a>');P(c,"click",function(){FB.Connect.requireSession(a);return false});return ACTG.Pa.Yj(c,b)};
ACTG.Pa.Pm=function(a,b,c){c=c?" "+c+"-fb-logout-button":"";c=td('<a href="#" class="fbconnect_login_button FBConnectButton FBConnectButton_Small'+c+'"><span id="RES_ID_fb_logout_text" class="FBConnectButton_Text">Logout from Facebook</span></a>');P(c,"click",function(){FB.Connect.logout(a);return false});return ACTG.Pa.Yj(c,b)};ACTG.Pa.Yj=function(a,b){if(b){b=N("span");b.appendChild(ACTG.Pa.Mm());b.appendChild(a);a=b}return a};ACTG.Pa.Cl="1n3f1n3dAy";
ACTG.Pa.Xj=function(a){var b=Nq(ACTG.Pa.Cl);a=Nq(a);var c=Oq(b);if(c.length>16)c=Pq(c,b.length*8);var d=Array(16);b=Array(16);for(var f=0;f<16;f++){d[f]=c[f]^909522486;b[f]=c[f]^1549556828}a=Pq(d.concat(Oq(a)),512+a.length*8);a=Pq(b.concat(a),672);c="";for(b=0;b<a.length*32;b+=8)c+=String.fromCharCode(a[b>>5]>>>24-b%32&255);a=c;try{Qq=Qq||0}catch(g){Qq=0}c=Qq?"0123456789ABCDEF":"0123456789abcdef";b="";for(f=0;f<a.length;f++){d=a.charCodeAt(f);b+=c.charAt(d>>>4&15)+c.charAt(d&15)}return b};
ACTG.$={};ACTG.$.El="_-v2-_";
ACTG.$.Km=function(a){a=a.split(ACTG.$.El);if(a==null||a.length==0)return null;a=a[0].trim();var b=null;try{a:{var c=String(a);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{b=eval("("+c+")");break a}catch(d){}throw Error("Invalid JSON string: "+c);}}catch(f){oc(Wp,"JSON='"+a+"'",f)}return b};
String.prototype.Rj=function(){return ACTG.$.Km(this)};ACTG.$.je=function(){switch(arguments.length){case 0:return null;case 1:return ACTG.$.Zj().serialize(arguments[0]);default:return ACTG.$.Zj().serialize(arguments)}};ACTG.$.Zj=function(){if(ACTG.$.cj==null)ACTG.$.cj=new vj;return ACTG.$.cj};ACTG.$.le=e();ACTG.$.le.prototype.je=function(){return ACTG.$.je(this)};ACTG.$.le.prototype.serialize=ACTG.$.le.prototype.je;ACTG.$.le.z=function(a){a.prototype.Rj=function(){return ACTG.$.je(this)}};
ACTG.Rc={};ACTG.Rc.runTests=function(a){if(ACTG.Wi)if(a!=null){if(typeof a=="string")a=[a];if(a.length!=0)for(var b in a)ACTG.Rc.Ok(a[b])}};
ACTG.Rc.Ok=function(a,b,c){c=c||0;if(!(c>=5)){var d=false;try{b=b||eval(a);for(var f in b)if(f.startsWith("test")){var g=b[f];if(typeof g=="function"){if(!d){d=true;ACTG.Utils.trace("Testing ["+a+"] {")}ACTG.Rc.ro(f,g)}}for(var h in b)if(!(h=="prototype"||h=="constructor"||h.startsWith("super")||h.startsWith("parent")||h.startsWith("children"))){f=a+"."+h;var i=b[h];if(i!=null&&(typeof i=="object"||typeof i=="function"))ACTG.Rc.Ok(f,i,c+1)}}catch(l){ACTG.Utils.logException(l)}finally{d&&ACTG.Utils.trace("Done testing ["+
a+"] }")}}};ACTG.Rc.ro=function(a,b){try{ACTG.Utils.trace("Calling test function "+a+"() {");b()}catch(c){ACTG.Utils.logException(c)}finally{ACTG.Utils.trace("Done with test function "+a+"() }")}};ACTG.Wassup={};function Rq(a,b,c){a=a||"http://www.actgent.com";a+="/wassup/auth";Rq.w.call(this,a,b,c);Sq=this}var Sq;ACTG.Z(Rq,Dq);Rq.getSingleton=function(a){if(Sq==null)Sq=new Rq(a);return Sq};ACTG.Cap={};function Tq(a,b,c){a=a||"http://www.actgent.com";a+="/cap";Tq.w.call(this,a,b,c);Uq=this}var Uq;
ACTG.Z(Tq,Dq);Tq.getSingleton=function(a){if(Uq==null)Uq=new Tq(a);return Uq};function Vq(a,b,c,d){return Kq(a,b,null,function(f){ACTG.Utils.zn(f,Wq);for(var g in f){var h=f[g];h.Ug=h.value}typeof c=="function"&&c(f)},d)}function Xq(a,b){return Kq(a,"saveScript",b,function(c){b.id=c;typeof callback=="function"&&callback(c)})}Tq.prototype.nh=function(a,b){return Kq(this,"deleteScript",a,b)};
function Wq(a){Wq.w.call(this);a=a||{};this.id=a.id||ACTG.Utils.Ze();this.um=(a.um||new Date).toString();this.name=a.name||Yq(this);this.fo=a.fo;this.value=a.value;this.description=a.description;this.Jl=a.Jl||"OWNER";this.Vl=a.Vl||"HIGH"}ACTG.Z(Wq,ACTG.$.le);function Yq(){var a=new Date;return"script-"+Zq(a.getYear()-100)+Zq(a.getMonth()+1)+Zq(a.getDate())+"-"+Zq(a.getHours())+Zq(a.getMinutes())+Zq(a.getSeconds())}Wq.prototype.we=function(a){return this.id==a.id};
Wq.prototype.jd=function(){return this.value==null||this.value.trim()==""};Wq.prototype.Rd=function(){return this.Ug!=this.value};function Zq(a){return a<10?"0"+a:a}Wq.prototype.save=function(){Xq(Tq.getSingleton(),this)};function $q(a){ACTG.Utils.trace("delete0 {");Tq.getSingleton().nh(a);ACTG.Utils.trace("delete0 }")}Wq.prototype.rename=function(a){this.name=a;this.save()};ACTG.Qo={};ACTG.Fa={};
ACTG.Fa.Yc=function(a,b,c,d){if(b==null)return null;a=a||"";c=c||true;var f=b.parentNode,g=N("DIV",{className:"actg-zippy-container"});a=td("<H4>"+a+"</H4>");f.appendChild(g);g.appendChild(a);g.appendChild(b);b=new mk(a,b,c);b.hh=g;if(d)b.ue.style.height=d;return b};ACTG.Fa.Rm=function(a){if(a==null)return null;else if(a.parentNode!=null)return a.parentNode;else if(a.b()!=null)return a.b().parentNode};ACTG.Fa.uo=function(a,b){if(a)a.Fl=b};ACTG.Fa.Tj=function(a){if(a)return a.Fl};
function ar(){ar.w.call(this)}ACTG.Z(ar,U);ar.prototype.b=function(){ar.w.prototype.b.call(this)==null&&this.d();return ar.w.prototype.b.call(this)};function br(a){br.w.call(this);this.Jg();if(a!=null){this.z(a);this.Bb(0)}}ACTG.Z(br,U);br.prototype.Bb=function(a){this.xd=this.xd||0;this.xd++;if(this.xd>9999)this.xd=0;var b=this;a=a||300;setTimeout(function(){b.$g(b.xd)},a)};
br.prototype.$g=function(a){if(this.xd==a)if(this.b()!=null)try{var b=Yf(this.b().parentNode);if(typeof this.hf=="function"){this.hf(b);if(this.children!=null)for(var c in this.children){var d=this.children[c];d!=null&&typeof d.Bb=="function"&&d.Bb(0)}}}catch(f){oc(Wp,ACTG.Fa.Rm(this).innerHTML,f)}};br.prototype.Jg=function(){P(this.k().sa(),"resize",this.Bb,false,this)};
function cr(a,b,c,d,f,g,h,i,l){this.className=d||"actg-input-form";cr.w.call(this);this.Mj=a;this.wm=b;this.Ml=c;this.Hl=f;this.Yi=g;this.Tg=h||false;this.wn=i;this.Go=l||false}ACTG.Z(cr,ar);
cr.prototype.d=function(){cr.w.prototype.d.call(this);this.prompt=dr(this,this.wn,this.Mj,this.wm,this.Ml,this.className+(this.Tg?"-popup":""),this.Go);this.prompt.d();this.prompt.yd=this.prompt.setVisible;this.prompt.setVisible=this.setVisible;if(!this.Tg){er(this,"reposition");er(this,"resizeBackground_");this.Mj!=null&&this.setVisible(true);this.b().appendChild(this.prompt.b());this.prompt.b().style.display="block"}var a=this.prompt;a.Ye=this.Tg;Ao(a)};
function dr(a,b,c,d,f,g,h){b=a.prompt=new fr(b,c,function(i){a.eg(i)},d,f,g,null,null,h);if(a.Hl)Go(b,null);else a.Yi&&Go(b,a.Yi);return b}cr.prototype.eg=function(a){Zp("ACTG.Ui.InputForm.prototype.inputCallback: "+a+". This should be overridden.")};function er(a,b){a="this.prompt._"+b+"=this.prompt."+b+";";a+="this.prompt."+b+"=this."+b+";";eval(a)}cr.prototype.Kc=e();cr.prototype.ti=e();
cr.prototype.setVisible=function(a){ACTG.Utils.trace("ACTG.Ui.InputForm.setVisible("+a+") {");this.prompt!=null&&typeof this.prompt.yd=="function"&&this.prompt.yd(a);ACTG.Utils.trace("ACTG.Ui.InputForm.setVisible("+a+") }")};function gr(a,b,c){gr.w.call(this,a||"button");this.eh=this.eh||(typeof a=="string"?a:"NONAME");this.b()==null&&this.d();c=c||{};c.id=c.id||this.zh()+hr++;ir(this,c);if(typeof b=="function"){var d=this;P(this,"action",function(f){b(d.eh,f)})}}ACTG.Z(gr,Pl);gr.prototype.zh=p("autmb");
var hr=0;gr.prototype.zh=p("autmb");function ir(a,b){if(b!=null){a=a.b();if(a!=null)for(var c in b)a.setAttribute(c,b[c])}}function fr(a,b,c,d,f,g,h,i,l){b=b||["Enter value"];d=d||[];this.bj=b;this.$i=d;this.vf=f;this.sc=l||false;var m=this;fr.w.call(this,a,b[0],function(r){jr(m,c,r)},d,g,h,i)}ACTG.Z(fr,So);
fr.prototype.d=function(){fr.c.d.call(this);var a=this.ga;this.hb("");var b="<table>";b+=this.sc?"<tr><td></td>":"<tr></tr>";var c=null,d=null;if(this.vf instanceof Array){c=this.vf[0];d=this.vf[1]}else c=this.vf;var f=null,g=null;if(c!=null)if(typeof c=="string")if(this.sc)b+="<td>"+c+"</td>";else{b+="<tr><td colspan='2'>"+c+"</td></tr>";b+="<tr><td>&nbsp;</td></tr>"}else if(c.innerHTML!=null)f=c;c=0;for(var h=this.bj.length;c<h;c++){this.sc||(b+="<tr>");var i="text",l=this.bj[c];if(l.substr(l.length-
1,l.length)=="*"){l=l.substr(0,l.length-1);i="password"}b+="<td style='text-align:right'>"+l+"&nbsp;</td>";b+="<td><input class='"+a+"-userInput' value='"+(this.$i.length>c?this.$i[c]:"")+"' type='"+i+"'";if(this.Cd)b+="cols='"+this.Cd+"'";b+="/></td>";this.sc||(b+="</tr>")}if(d!=null)if(typeof d=="string")if(this.sc)b+="<td>"+d+"</td>";else{b+="<tr><td colspan='2'>"+d+"</td></tr>";b+="<tr><td>&nbsp;</td></tr>"}else if(d.innerHTML!=null)g=d;if(this.sc)b+="</tr>";b+="</table>";this.hb(b);if(f!=null){b=
be("TR",this.b());if(b!=null&&b.length>0){b=b[0];if(this.sc){b=be("TD",b);a=N("TD");b=b[0];b.parentNode.insertBefore(a,b)}else{d=N("TR");a=N("TD",{colspan:"2"});b.parentNode.insertBefore(d,b);d.appendChild(a)}a.appendChild(f)}}if(g!=null){b=be("TR",this.b());if(b!=null&&b.length>0){b=b[0];if(this.sc){a=N("TD");b.appendChild(a)}else{d=N("TR");a=N("TD",{colspan:"2"});b.parentNode.appendChild(d);d.appendChild(a)}a.appendChild(g)}}};
function jr(a,b,c){if(c!=null){if(typeof b=="function"){a=Jd(a.b(),function(f){return f.tagName=="INPUT"});c=new Array(0);for(var d in a)c.push(a[d].value);b(c)}}else{F(be("INPUT",a.b()),function(f){f.value=""});b(null)}}function kr(a,b){if(b<0)b=0;a=be("INPUT."+a.b().className+"-userInput",a.b());return a!=null&&a.length>b?a[b]:null}function lr(a,b,c){a=kr(a,b);if(a!=null)a.value=c}
function mr(a,b,c,d,f){mr.w.call(this,c,d,f,null);this.hk=b;this.Je=2;a=jd(a);this.z(a);ACTG.Fa.uo(a,this);this.Jg();this.Bb(0)}ACTG.Z(mr,ip);mr.prototype.Bb=br.prototype.Bb;mr.prototype.$g=br.prototype.$g;mr.prototype.Jg=br.prototype.Jg;function nr(a){nr.w.call(this,["Email"],[a||""],"<p/><p>Sorry, this function will be available in a few days. Meanwhile you can ping us on Facebook or Twitter for help.",null,null,Jo,true,"Forgot Password");this.b()==null&&this.d()}ACTG.Z(nr,cr);nr.prototype.eg=function(){this.setVisible(false)};
var or=null;nr.getSingleton=function(a){if(or==null)or=new nr(a);else a!=null&&lr(or.prompt,0,a);return or};function pr(a,b,c,d){this.qo=a;b=Fq(b||{isValid:false});c=c||e();this.Af=qr(this,c,d);a=new Do;pr.w.call(this,["Email","Password*"],[b.email||"",b.password||""],this.Af,null,false,d?a:Jo,false,null,d);this.vc=b;this.ne=c;this.b()==null&&this.d()}ACTG.Z(pr,cr);
pr.prototype.eg=function(a){if(a==null)this.vc.userCancelledLogin=true;else{this.vc.userCancelledLogin=false;if(ACTG.Utils.Gn(a[0])&&ACTG.Utils.En(a[1])){this.vc.email=a[0];this.vc.password=a[1];Eq(this,this.vc,this.ne)}else Zp("Please enter a valid email and password")}this.setVisible(true)};
function Eq(a,b,c){b=Fq(b);c=c||a.ne;a.qo.getSingleton().loginOrRegister(b,function(d){d=Fq(d);var f=b;d=d;var g=c;if(d!=null)d=Fq(d);if(d!=null&&Jq(d)){if(f!=null){d.email=f.email;d.facebookId=f.facebookId}Iq=d;a.setVisible(false)}else{Zp("Invalid login. Please login again.");d=f;a.setVisible(true)}typeof g=="function"&&g(d)})}
function qr(a,b,c){var d=[],f=N("DIV");d.push(f);f.ea={};var g=a.className+"-content";f.ea.gc=N("span");var h=ACTG.Pa.Om(function(){var i=FB.Connect.get_loggedInUser();if(i!=null){var l=new Mq({facebookId:ACTG.Pa.Xj(i)});Eq(a,l,function(m){m=Fq(m);m.facebookId=i;b(m)})}},false,a.className);f.ea.gc.appendChild(h);c?f.ea.gc.appendChild(td("<span>&nbsp;</span>")):f.ea.gc.appendChild(N("p"));f.appendChild(f.ea.gc);if(c){f=N("DIV");d.push(f);f.ea={};f.ea.yh=td('<a style="float:right;" class="'+g+'" href="#">Forgot password?</a>')}else f.ea.yh=
td('<a style="position:absolute; bottom:0;" class="'+g+'" href="#">Forgot password?</a>');P(f.ea.yh,"click",function(){var i=kr(a.prompt,0);nr.getSingleton(i!=null?i.value:null).setVisible(true)});f.appendChild(f.ea.yh);return d}pr.prototype.setVisible=function(a){try{ACTG.Utils.trace("ACTG.Ui.LoginForm.setVisible("+a+") {");pr.w.prototype.setVisible.call(this,a)}catch(b){oc(Wp,"ACTG.Ui.LoginForm.setVisible",b)}finally{ACTG.Utils.trace("ACTG.Ui.LoginForm.setVisible("+a+") }")}};
function rr(a,b,c,d,f){ar.w.call(this);a=a||Rq;Iq=Fq(b);var g=this;this.Vd=new pr(a,Iq,function(h){Iq=Fq(h);var i=g;h=h;if(h!=null)h=Fq(h);var l=h!=null&&Jq(h);i.setVisible(!l);typeof c=="function"&&c(h)},f);this.Ve=new sr(Iq,function(h){Iq=Fq(h);g.setVisible(true);typeof d=="function"&&d(h)},f);this.Vd.yd=this.Vd.setVisible;this.Ve.yd=this.Ve.setVisible;g=this;this.Vd.setVisible=function(h){g.setVisible(h)};this.Ve.setVisible=function(h){g.setVisible(!h)}}ACTG.Z(rr,ar);
rr.prototype.d=function(){rr.w.prototype.d.call(this);var a=this.b();a.appendChild(this.Vd.b());a.appendChild(this.Ve.b());this.setVisible(true);tr(this)};rr.prototype.setVisible=function(a){ACTG.Utils.trace("ACTG.Ui.LoginLogoutForm.setVisible("+a+") {");this.Vd.yd(a);this.Ve.yd(!a);ACTG.Utils.trace("ACTG.Ui.LoginLogoutForm.setVisible("+a+") }")};rr.prototype.mj=0;
function tr(a){if(a.mj++>100)a.mj=0;else FB==null||FB.ensureInit==null?setTimeout(function(){tr(a)},100):FB.ensureInit(function(){var b=FB.Connect.get_loggedInUser();if(b!=null){Iq=Fq({facebookId:ACTG.Pa.Xj(b)});Eq(a.Vd,Iq)}})}function sr(a,b,c){a=Fq(a||{isValid:false});this.Af=ur(this,b);sr.w.call(this,[],null,this.Af,null,true,null,false,null,c);this.vc=a;this.ne=b}ACTG.Z(sr,cr);
function ur(a,b){var c=N("DIV");c.ea={};var d=a.className+"-content",f=b?function(){b(null)}:e();c.ea.Pf=td('<span class="'+d+'">Logged in as <span id="logout-form-user-email"></span></span>');c.ea.Pf.appendChild(N("br"));var g=N("button",{"class":"goog-buttonset-default",onclick:f});g.innerHTML="Log out";c.ea.Pf.appendChild(g);c.appendChild(c.ea.Pf);c.ea.gc=td('<span class="'+d+'"><span><fb:profile-pic uid=loggedinuser facebook-logo=true></fb:profile-pic></span></span>');c.ea.gc.appendChild(N("br"));
g=ACTG.Pa.Pm(f,false,a.className+"-buttons");c.ea.gc.appendChild(g);c.appendChild(c.ea.gc);return c}sr.prototype.eg=function(a){if(a==null)this.setVisible(true);else{Iq=this.vc=Fq({isValid:false});typeof this.ne=="function"&&this.ne(this.vc)}};
sr.prototype.setVisible=function(a){try{ACTG.Utils.trace("ACTG.Ui.LogoutForm.setVisible("+a+") {");sr.w.prototype.setVisible.call(this,a);if(a)if(Iq!=null){var b=this.Af.ea;for(var c in b)b[c].style.display="none";if(Iq.email!=null){b.Pf.style.display="block";Id(document.getElementById("logout-form-user-email"),Iq.email)}else if(Iq.facebookId!=null){b.gc.style.display="block";FB.XFBML.Host.parseDomTree()}}}catch(d){oc(Wp,"ACTG.Ui.LogoutForm.setVisible",d)}finally{ACTG.Utils.trace("ACTG.Ui.LogoutForm.setVisible("+
a+") }")}};function vr(){vr.w.call(this)}ACTG.Z(vr,cr);vr.prototype.d=function(){vr.w.prototype.d.call(this)};function wr(a,b,c,d,f){wr.w.call(this);this.Gj=c||e();this.Hj=d;this.io=f||false;this.b()==null&&this.d(a,b);a!=null&&zk(this,a);Xh(this.ab,new ri);Xh(this.ab,new oj);Xh(this.ab,new kj);Xh(this.ab,new Vi);Xh(this.ab,new fj);Xh(this.ab,new ij("Click here to edit"));this.hi();this.fq=new bo(this.ab,this.toolbar);var g=this;P(this.ab,Ph,function(h){g.bl||g.Gj("DELAYEDCHANGE",h)})}ACTG.Z(wr,W);
wr.prototype.d=function(a,b){a=a||"aie";b=b||"";b+="width:100%; height:100%;";this.m=N("div",{id:a,style:b});var c=this;function d(h,i){c.Gj(h,i)}b=null;b=this.io?[new xr(yr,d,{id:a+"_run"})]:[new xr(zr,d),new xr(Ar,d),new xr(Br,d),new xr(yr,d,{id:a+"_run"}),new Cr,new xr(Dr,d),new Cr];var f=N("DIV",{id:a+"_tb",style:"width:100%;"});ud(this.b(),f);this.toolbar=qn(b,f);var g=N("DIV",{id:a+"_ef",style:"height:100%; width:100%; font-family:Arial;"});ud(this.b(),g);this.ab=new T(g.id);this.ab.Hb=function(){return g}};
function Er(a,b){a.bl=true;a.ab.ef(true,b,false,true);a.bl=false}
function Fr(a){a=a.ab;if(a.queryCommandValue("usinglorem"))a="\u00a0";else if(a.Kb==2){var b=a.b(),c=b.cloneNode(false);b=b.innerHTML;if(H&&b.match(/^\s*<script/i))b="\u00a0"+b;c.innerHTML=b;a.Dn(11,c);a=a.zg(10,c.innerHTML)}else{(c=a.Hb())||lc(a.Lb,"Couldn't get the field element to read the contents");a=c.innerHTML}if(a==null)return"";a="<DIV>"+a.replace(/<br>|<p>/g,"_NL_")+"</DIV>";a=td(a);a=a.textContent||a.innerText||"";return a=a.replace(/_NL_/g,"\n").replace(/^\n+/,"")}
wr.prototype.hi=function(){this.sk=0;var a=this;setTimeout(function(){Gr(a)},100)};function Gr(a){if(!(a.sk++>10))try{a.ab.hi();if(a.Hj!=null){var b=td('<link rel="StyleSheet" href="'+a.Hj+'" type="text/css">'),c=a.ab.b().parentNode.getElementsByTagName("head")[0];c!=null&&c.appendChild(b)}}catch(d){oc(Wp,"ACTG.Ui.Editor.makeEditableImpl",d);setTimeout(function(){Gr(a)},100*a.sk)}}wr.prototype.clear=function(){Er(this,"")};wr.prototype.Ai=function(a,b){this.cm=b;Er(this,a)};wr.prototype.Jd=n("cm");
function Hr(a,b,c,d,f,g){Hr.w.call(this);d=d||e();c=c||{};a=a||"asd";b=b||"";b+="width:100%; height:90%;";if(this.m==null)this.m=N("div",{id:a,style:b});if(c.xl){this.Gk=new Ir;ud(this.b(),this.Gk.b());ACTG.Fa.Yc("Script Properties",this.Gk.b(),false)}if(c.yl){this.Qk=new Jr;ud(this.b(),this.Qk.b());ACTG.Fa.Yc("Run Schedule",this.Qk.b(),false)}g=g||false;if(c.wl){this.bb=new wr(a+"_e",b,d,f,g);ud(this.b(),this.bb.b());ACTG.Fa.Yc("Edit Script",this.bb.b(),true,"500px")}}ACTG.Z(Hr,U);
function Kr(a,b,c){Kr.w.call(this,"Scripts");a!=null&&zk(this,a);b!=null&&this.update(b);this.b()==null&&this.d();if(typeof c=="function"){P(this.b(),"mouseup",c);P(this.b(),"keyup",c);this.nk=c}}ACTG.Z(Kr,Vp);
Kr.prototype.update=function(a){a=a||[];typeof this.nk=="function"&&this.nk({target:this.b(),originalTarget:this.b(),type:"update"},a);var b=this.dd(),c=new Array(0);for(var d in b)c.push(b[d]);for(d in c){this.remove(c[d]);c[d].e()}if(a!=null)if(a.length>0)for(d=0;d<a.length;d++){b=a[d];this.Qa(b.name,b)}};function Lr(a){a=a.dd();if(a==null||a.length==0)return null;return a[0]}Kr.prototype.Qa=function(a,b){var c=this.R().createNode();c.kk=true;Mr(this,c,a,b);this.add(c);this.Oa(c);return c};
function Nr(a,b){var c=a.dd();if(!(c!=null&&c.length>0))return null;c=a.dd();for(var d in c){var f=c[d],g=a.Jd(f);if(g==b||g.we(b))return f}return null}Kr.prototype.qd=function(a){a=Nr(this,a);if(a!=null){this.remove(a);return true}else return false};Kr.prototype.Ai=function(a,b){var c=this.ca()||this.Qa(a,b);return Mr(this,c,a,b)};function Mr(a,b,c,d){if(b.kk){b.ef(c);return b.oj=d}else return null}Kr.prototype.Jd=function(a){a=a||this.ca();return a!=null?a.oj:null};
Kr.prototype.ca=function(){var a=Kr.w.prototype.ca.call(this);return a.kk?a:null};function Ir(){Ir.w.call(this)}ACTG.Z(Ir,cr);Ir.prototype.d=function(){Ir.w.prototype.d.call(this)};function Jr(){Jr.w.call(this)}ACTG.Z(Jr,cr);Jr.prototype.d=function(){Jr.w.prototype.d.call(this)};function Or(a,b,c){this.Yp=a||Pr;this.bb=b;this.na=c;this.te=new Qr(this)}var Pr=-1;
function Rr(a,b,c){if(b!=null){Sr(a);switch(b.type){case "update":if(Hq()){b=Tr(a);if(!b.jd()){Ur(a,b);c instanceof Array&&c.push(b)}}a.wf=null;break;default:if(Hq()&&a.wf!=null&&a.wf!=a.na.ca()){b=a.na.Jd(a.wf);b!=null&b.Rd()&&Ur(a,b)}break}a.wf=a.na.ca()}}
function Vr(a,b){if(b!=null){b=b.toUpperCase();Sr(a);a.getScript();switch(b){case "NEW":a.te.We(Wr);break;case "RENAME":a.te.We(Xr);break;case "SAVE":a.te.We(Yr);break;case "DELETE":a.te.We(Zr);break;case "RUN":case "TEST":ACTG.Utils.trace("Editor doRunScript {");Tr(a);if(window.document[ACTG.Utils.Sg.PLAY_BUTTON_HANDLER]==null)if(I)confirm("You need to install the ACTGENT plug-in to run scripts locally. Would you like to do that now?")&&window.open("http://www.actgent.com/updates/client/actgent.xpi");
else alert("This function is only available for Firefox browsers");ACTG.Utils.trace("Editor doRunScript }");break;case "SCHEDULE":ACTG.Utils.trace("Editor doScheduleScript {");$r(a);ACTG.Utils.trace("Editor doScheduleScript }");break;case "PUBLISH":ACTG.Utils.trace("Editor doPublishScript {");$r(a);ACTG.Utils.trace("Editor doPublishScript }");break;case "FACEBOOK":ACTG.Utils.trace("Editor doShareScriptFacebook {");$r(a);ACTG.Utils.trace("Editor doShareScriptFacebook }");break;case "TWITTER":ACTG.Utils.trace("Editor doShareScriptTwitter {");
ACTG.Utils.trace("Editor doShareScriptTwitter }");break;case "DELAYEDCHANGE":a.te.We(as);break;default:break}}}
function Qr(a){this.Ma=a;this.Jf=bs;this.We=function(b){ACTG.Utils.trace("makeTransition(state="+this.Jf+", action="+b+") {");switch(this.Jf){case bs:switch(b){case Yr:cs(this.Ma);break;case Zr:cs(this.Ma);break;case Wr:cs(this.Ma);break;case Xr:cs(this.Ma);break;case as:b=Tr(this.Ma).Rd();this.zc(ds);break;default:break}break;case ds:switch(b){case Yr:Ur(this.Ma)&&this.zc(es);break;case Zr:fs(this.Ma)&&this.zc(bs);break;case Wr:gs(this.Ma,true)&&this.zc(bs);break;case Xr:hs(this.Ma,true)&&this.zc(es);
break;case as:Tr(this.Ma).Rd();this.zc(ds);break;default:break}break;case es:switch(b){case Yr:cs(this.Ma);break;case Zr:fs(this.Ma)&&this.zc(bs);break;case Wr:gs(this.Ma);break;case Xr:hs(this.Ma);break;case as:(b=Tr(this.Ma).Rd())&&this.zc(ds);break;default:break}break;default:break}ACTG.Utils.trace("makeTransition(state="+this.Jf+") }")};this.zc=function(b){ACTG.Utils.trace("goToState("+b+") {");this.Jf=b;ACTG.Utils.trace("goToState("+b+") }")}}var bs=0,ds=1,es=2,Yr=0,Zr=1,Wr=2,Xr=3,as=4;
function $r(){if(Hq())return true;else{Zp("You must be logged in to perform this action. Please log in.");return false}}function gs(a){ACTG.Utils.trace("Editor doNew {");var b=false;if($r(a)){b=a.getScript();b!=null&&Ur(a,b);b=(b=undefined)||new Wq;Nr(a.na,b)==null&&a.na.Qa(b.name,b);is(a,b);b=true}ACTG.Utils.trace("Editor doNew }");return b}
function Ur(a,b){ACTG.Utils.oi();ACTG.Utils.trace("Editor doSave {");if($r(a)){var c=b||Tr(a);if(c!=null&&c.Rd()){c.save();c.Ug=c.value}}ACTG.Utils.trace("Editor doSave }");return c}function fs(a){ACTG.Utils.trace("Editor doDelete {");var b=false;if($r(a)){var c=a.getScript();if(c!=null)if((confirm('Are you sure you want to delete "'+c.name+'"?')?1:2)==1)b=a.nh(c)}ACTG.Utils.trace("Editor doDelete }");return b}
function hs(a){ACTG.Utils.trace("Editor doRename {");var b=false;if($r(a)){var c=a.getScript();if(c!=null){Ur(a,c);var d=prompt("Enter New Name:","");if(d!=null){d=d.trim();if(d!=""){c.rename(d);is(a,c);b=true}}}}ACTG.Utils.trace("Editor doRename }");return b}function cs(){ACTG.Utils.trace("Editor doNoOp {");ACTG.Utils.trace("Editor doNoOp }")}function Sr(a){var b=a.getScript();if(b==null){b=Lr(a.na);if(b!=null)js(a,b);else{Tr(a);b=new Wq;Tr(a,b);b.Ug=b.value;is(a,b)}}ks(a)}
function js(a,b){a.na.Oa(b);Sr(a)}Or.prototype.nh=function(a){var b;a:{var c=this.na;b=(b=undefined)||c.ca();c=c.dd();if(!(c==null||c.length==0))for(var d=c.length-1;d>=0;d--)if(b==c[d]){b=c[d+1];break a}b=null}if(b==null)a:{c=this.na;b=(b=undefined)||c.ca();c=c.dd();if(!(c==null||c.length==0))for(d=1;d<c.length;d++)if(b==c[d]){b=c[d-1];break a}b=null}this.na.qd(a)&&$q(a);b!=null&&js(this,b)};Or.prototype.getScript=function(){return this.na.Jd()};function is(a,b){a.na.Ai(b.name,b);ks(a)}
function ls(a,b){a.na.update(b);b!=null&&b.length>0&&js(a,Lr(a.na))}function ks(a){var b=a.bb.Jd(),c=a.na.ca();b!=null&&b!=c&&Tr(a,a.na.Jd(b));if(c!=null&&c!=b){b=a.getScript();if(b!=null){a.bb.Ai("",a.na.ca());c=b;ACTG.Utils.trace("copyScriptContentsToEditor {");c=c||a.getScript();c!=null&&c.value!=null&&Er(a.bb,c.value.replace(/\n/g,"<br>"));ACTG.Utils.trace("copyScriptContentsToEditor }");if(ACTG.Utils.V(a.bb.b())){window.document[ACTG.Utils.Sg.ACTGENT_SCRIPT]=b;ACTG.Utils.oi()}}}}
function Tr(a,b){b=b||a.getScript();if(b!=null)b.value=Fr(a.bb).trim()+"\n\n";return b}function ms(a){ACTG.Utils.trace("resetAllContents {");a.na.update(null);Er(a.bb,null);ACTG.Utils.trace("resetAllContents }")}function ns(a){Hq()&&Ur(a);setTimeout(function(){ns(a)},1E4)}
function xr(a,b,c){this.eh=a&&a.name?a.name:"NONAME";c=c||{};c["class"]=c["class"]||"";c["class"]+=" tr-icon";if(a.Bd)c["class"]+=" "+a.Bd;if(a["class"])c["class"]+=" "+a["class"];c.title=c.title||a.title;a=N("DIV",c);xr.w.call(this,a,b)}ACTG.Z(xr,gr);xr.prototype.zh=p("autmgb");
var zr={name:"NEW",title:"Create new script",Bd:"tr-add"},Ar={name:"RENAME",title:"Rename script",Bd:"tr-rename"},Br={name:"SAVE",title:"Save script",Bd:"tr-save"},Dr={name:"DELETE",title:"Delete script",Bd:"tr-delete"},yr={name:"RUN",title:"Test run the script locally",Bd:"tr-run"};function Cr(){Cr.w.call(this);this.b()==null&&this.d()}ACTG.Z(Cr,W);Cr.prototype.d=function(){this.m=N("DIV",{"class":"goog-inline-block",style:"width:16px"})};var Iq=Fq({isValid:false});ACTG.Webu=e();
ACTG.Webu.onload=function(){if(ACTG.Wi){Wp=ACTG.Webu.Xk(ACTG.debugOn);ACTG.Rc.runTests(["ACTG"])}else try{Wp=ACTG.Webu.Xk(ACTG.debugOn);var a="http://"+document.location.host;Tq.getSingleton(a);Rq.getSingleton(a);var b=os.getSingleton();try{ps(b)}catch(c){alert("ACTG.Webu.Ui.run: "+c);ACTG.Utils.Gc("ACTG.Webu.Ui.run: "+c);nc(Wp,"ACTG.Webu.Ui.run",c)}}catch(d){alert("ACTG.Webu.onload "+d);nc(Wp,"ACTG.Webu.onload",d)}};ACTG.Webu.Xk=function(a){var b=new Wd("ACTG.Webu");b.Sa(a);b.init();return tc("ACTG.Webu")};
function os(){}var qs,rs={ul:true,sl:false,tl:false,vl:true,rl:true,ql:true,pl:true,Ui:true,ol:false,wl:true,xl:false,yl:false};
function ps(a){ss(a);a.Mg=new cp;a.Mg.z(jd("tabBar"));P(a.Mg,"select",a.Zn,false,a);var b=jd("loginBox");if(b!=null)if(rs.Ui){a.ng=new rr(Tq,Iq,function(h){ts(a,h)},function(h){us(a,h)},true);b.insertBefore(a.ng.b(),b.firstChild)}a.tabContainer=new br(jd("tabContainer"));if(rs.ul){jd("myScripts").style.display="block";var c=new Or(0),d=new Hr("myScriptsDetails","width:100%",rs,function(h,i){Vr(c,h,i)},"css/webu.css");c.bb=d.bb;var f=new Kr("myScriptsListing",null,function(h,i){Rr(c,h,i)});c.na=f;
vs(a,"myScriptsPane",f,d);d=ACTG.Fa.Yc("Script List",f.b(),true,"70%");ms(c);ns(c);a.vk=c;f=d.hh.parentNode;if(b==null)if(rs.Ui){a.ng=new rr(Tq,Iq,function(h){ts(a,h)},function(h){us(a,h)},false);f.insertBefore(a.ng.b(),f.firstChild);b=ACTG.Fa.Yc("Login here",a.ng.b(),true);f.insertBefore(b.hh,d.hh)}if(rs.ol){a.gl=new vr;f.appendChild(a.gl.b());ACTG.Fa.Yc("Comments/Feedback",a.gl.b(),true,"30%")}}if(rs.sl)jd("myData").style.display="block";if(rs.tl)jd("myFriends").style.display="block";if(rs.vl){jd("public").style.display=
"block";var g=new Or(2);b=new Hr("publicDetails","width:100%",rs,function(h,i){Vr(g,h,i)},"css/webu.css",true);g.bb=b.bb;d=new Kr("publicListing",null,function(h,i){Rr(g,h,i)});g.na=d;vs(a,"publicPane",d,b);d=ACTG.Fa.Yc("Script List",d.b(),true,"70%");ms(g);a.jo=g}if(rs.rl)jd("help").style.display="block";if(rs.ql)jd("facebook").style.display="block";if(rs.pl)jd("discuss").style.display="block";setTimeout(function(){ep(a.Mg,1);ep(a.Mg,0)},100)}
function ws(){setTimeout(function(){ACTG.Utils.trace("ACTG.Webu.Ui.refreshAllFramesImpl { ");try{var a=be("iframe.refresh-on-login");if(!(a==null||a.length==0))for(var b=a.length-1;b>=0;b--){var c=a[b],d=c&&c.src?c.src:null;if(d!=null){d=d.toLowerCase();c.src=c.src}}}catch(f){oc(Wp,"ACTG.Webu.Ui.refreshAllFramesImpl",f)}finally{ACTG.Utils.trace("ACTG.Webu.Ui.refreshAllFramesImpl } ")}},100)}
function vs(a,b,c,d){a=200;var f=be("> DIV",jd(b));if(f!=null&&f[0]!=null)a=parseInt(f[0].style.width||f[0].style.height||a);return new mr(b,a,c,d,"horizontal")}
os.prototype.Zn=function(a){if(!(a==null&&a.target==null)){var b=be("> DIV",this.tabContainer.b());if(b!=null)for(var c=b.length-1;c>=0;c--)b[c].style.display="none";a=a.target||a;a=a.Ja?a.Ja():a.id;a=jd(a+"Content");if(a!=null){a.style.display="block";typeof a.onshow=="function"&&a.onshow()}b=ACTG.Fa.Tj(a);b!=null&&b.Bb&&b.Bb(0);for(var d in a.childNodes){b=ACTG.Fa.Tj(a.childNodes[d]);b!=null&&b.Bb&&b.Bb(0)}}};os.getSingleton=function(){if(qs==null)qs=new os;return qs};
function ts(a){try{var b=Tq.getSingleton();Vq(b,"getScripts",function(d){ls(a.vk,d)},false);ws(a)}catch(c){oc(Wp,"ACTG.Webu.Ui.onLoginCallback",c)}}function xs(a){var b=Tq.getSingleton();Vq(b,"getPublicScripts",function(c){ls(a.jo,c)},true)}window.updatePublicScripts=function(){xs(os.getSingleton())};function us(a){try{ms(a.vk);xs(a);ws(a)}catch(b){oc(Wp,"ACTG.Webu.Ui.onLogoutCallback",b)}}
function ss(){setTimeout(function(){var a=jd("linkBar");if(a!=null){N("DIV");window.document[ACTG.Utils.Sg.PLUGIN_IS_INSTALLED]==null&&I&&a.appendChild(td("<span><a href='http://www.actgent.com/updates/client/actgent.xpi'>Get ACTGENT Plugin</a></span> | "));a.appendChild(td("<span><a target='_fb_' href='http://www.facebook.com/pages/ACTGENT/175275717754'>Catch us on Facebook</a></span>"));a.appendChild(td(" | "));a.appendChild(td("<span><a target='_fb_' href='http://twitter.com/actgent'>Twitter</a></span>"));
a.appendChild(td(" | &copy; 2010 ACTGENT Alpha Release"))}},100)}var Qq=0;
function Nq(a){for(var b="",c=-1,d,f;++c<a.length;){d=a.charCodeAt(c);f=c+1<a.length?a.charCodeAt(c+1):0;if(55296<=d&&d<=56319&&56320<=f&&f<=57343){d=65536+((d&1023)<<10)+(f&1023);c++}if(d<=127)b+=String.fromCharCode(d);else if(d<=2047)b+=String.fromCharCode(192|d>>>6&31,128|d&63);else if(d<=65535)b+=String.fromCharCode(224|d>>>12&15,128|d>>>6&63,128|d&63);else if(d<=2097151)b+=String.fromCharCode(240|d>>>18&7,128|d>>>12&63,128|d>>>6&63,128|d&63)}return b}
function Oq(a){for(var b=Array(a.length>>2),c=0;c<b.length;c++)b[c]=0;for(c=0;c<a.length*8;c+=8)b[c>>5]|=(a.charCodeAt(c/8)&255)<<24-c%32;return b}
function Pq(a,b){a[b>>5]|=128<<24-b%32;a[(b+64>>9<<4)+15]=b;b=Array(80);for(var c=1732584193,d=-271733879,f=-1732584194,g=271733878,h=-1009589776,i=0;i<a.length;i+=16){for(var l=c,m=d,r=f,z=g,A=h,x=0;x<80;x++){b[x]=x<16?a[i+x]:(b[x-3]^b[x-8]^b[x-14]^b[x-16])<<1|(b[x-3]^b[x-8]^b[x-14]^b[x-16])>>>31;var S=ys(ys(c<<5|c>>>27,zs(x,d,f,g)),ys(ys(h,b[x]),x<20?1518500249:x<40?1859775393:x<60?-1894007588:-899497514));h=g;g=f;f=d<<30|d>>>2;d=c;c=S}c=ys(c,l);d=ys(d,m);f=ys(f,r);g=ys(g,z);h=ys(h,A)}return Array(c,
d,f,g,h)}function zs(a,b,c,d){if(a<20)return b&c|~b&d;if(a<40)return b^c^d;if(a<60)return b&c|b&d|c&d;return b^c^d}function ys(a,b){var c=(a&65535)+(b&65535);return(a>>16)+(b>>16)+(c>>16)<<16|c&65535};
