function SETPROP_toString(a,b){return a.toString=b}function SETPROP_length(a,b){return a.length=b}function SETPROP_className(a,b){return a.className=b}function SETPROP_width(a,b){return a.width=b}function SETPROP_innerHTML(a,b){return a.innerHTML=b}function SETPROP_value(a,b){return a.value=b}function SETPROP_offsetLeft(a,b){return a.offsetLeft=b}function SETPROP_currentTarget(a,b){return a.currentTarget=b}function SETPROP_left(a,b){return a.left=b}function SETPROP_target(a,b){return a.target=b}
function SETPROP_keyCode(a,b){return a.keyCode=b}function SETPROP_type(a,b){return a.type=b}function SETPROP_contains(a,b){return a.contains=b}function SETPROP_display(a,b){return a.display=b}function SETPROP_height(a,b){return a.height=b}function SETPROP_visibility(a,b){return a.visibility=b}function getTarget(a){return a[$$PROP_target]?a[$$PROP_target]:a.srcElement}
function compareResultDates(a,b){checkSortTimestamp(a[$$PROP_data]);checkSortTimestamp(b[$$PROP_data]);return a[$$PROP_data].sortTimeStamp-b[$$PROP_data].sortTimeStamp}function checkSortTimestamp(a){if(!a.sortTimeStamp){a.sortTimeStamp=TL_NO_SORTTIMESTAMP;var b=a.ad;if(b){var c=b[$$PROP_match](/^([0-9]+)\/([0-9]+)\/([0-9]+)$/);if(c&&c[$$PROP_length]==4)try{a.sortTimeStamp=Date.UTC(GLOBAL_parseInt(c[3],10),GLOBAL_parseInt(c[1],10),GLOBAL_parseInt(c[2],10))}catch(d){}}}}
function compareResultOriginalOrder(a,b){return a.originalIndex-b.originalIndex}
var GLOBAL_Error=Error,GLOBAL_Boolean=Boolean,GLOBAL_undefined=undefined,GLOBAL_parseInt=parseInt,GLOBAL_String=String,GLOBAL_window=window,GLOBAL_Number=Number,GLOBAL_Object=Object,GLOBAL_Math=Math,$$PROP_appendChild="appendChild",$$PROP_scrollTop="scrollTop",$$PROP_previousSibling="previousSibling",$$PROP_push="push",$$PROP_stop="stop",$$PROP_hash="hash",$$PROP_length="length",$$PROP_title="title",$$PROP_getBoundingClientRect="getBoundingClientRect",$$PROP_prototype="prototype",$$PROP_relatedTarget=
"relatedTarget",$$PROP_clearTimeout="clearTimeout",$$PROP_width="width",$$PROP_text="text",$$PROP_round="round",$$PROP_abort="abort",$$PROP_slice="slice",$$PROP_setTimeout="setTimeout",$$PROP_replace="replace",$$PROP_nodeType="nodeType",$$PROP_document="document",$$PROP_data="data",$$PROP_ctrlKey="ctrlKey",$$PROP_split="split",$$PROP_floor="floor",$$PROP_innerHTML="innerHTML",$$PROP_offsetWidth="offsetWidth",$$PROP_value="value",$$PROP_location="location",$$PROP_preventDefault="preventDefault",$$PROP_item=
"item",$$PROP_button="button",$$PROP_indexOf="indexOf",$$PROP_metaKey="metaKey",$$PROP_offsetLeft="offsetLeft",$$PROP_message="message",$$PROP_hasOwnProperty="hasOwnProperty",$$PROP_dispatchEvent="dispatchEvent",$$PROP_style="style",$$PROP_body="body",$$PROP_left="left",$$PROP_ownerDocument="ownerDocument",$$PROP_target="target",$$PROP_call="call",$$PROP_match="match",$$PROP_getBoxObjectFor="getBoxObjectFor",$$PROP_charCode="charCode",$$PROP_some="some",$$PROP_focus="focus",$$PROP_createElement="createElement",
$$PROP_setFullYear="setFullYear",$$PROP_keyCode="keyCode",$$PROP_firstChild="firstChild",$$PROP_forEach="forEach",$$PROP_scrollLeft="scrollLeft",$$PROP_compatMode="compatMode",$$PROP_bottom="bottom",$$PROP_setAttribute="setAttribute",$$PROP_substring="substring",$$PROP_handleEvent="handleEvent",$$PROP_type="type",$$PROP_contains="contains",$$PROP_apply="apply",$$PROP_shiftKey="shiftKey",$$PROP_tagName="tagName",$$PROP_name="name",$$PROP_parentNode="parentNode",$$PROP_fileName="fileName",$$PROP_nextSibling=
"nextSibling",$$PROP_offsetTop="offsetTop",$$PROP_height="height",$$PROP_getTime="getTime",$$PROP_join="join",$$PROP_setActive="setActive",$$PROP_getElementsByTagName="getElementsByTagName",$$PROP_nodeValue="nodeValue",$$PROP_clientX="clientX",$$PROP_documentElement="documentElement",$$PROP_substr="substr",$$PROP_right="right",goog=goog||{},goog$global=this,goog$getObjectByName=function(a,b){var c=a[$$PROP_split]("."),d=b||goog$global;for(var e;e=c.shift();)if(d[e])d=d[e];else return null;return d},
goog$nullFunction=function(){},goog$addSingletonGetter=function(a){a.getInstance=function(){return a.instance_||(a.instance_=new a)}};var goog$typeOf=function(a){var b=typeof a;if(b=="object")if(a){if(typeof a[$$PROP_length]=="number"&&typeof a.splice!="undefined"&&!goog$propertyIsEnumerable_(a,"length"))return"array";if(typeof a[$$PROP_call]!="undefined")return"function"}else return"null";else if(b=="function"&&typeof a[$$PROP_call]=="undefined")return"object";return b};
if(GLOBAL_Object[$$PROP_prototype].propertyIsEnumerable)var goog$propertyIsEnumerable_=function(a,b){return GLOBAL_Object[$$PROP_prototype].propertyIsEnumerable[$$PROP_call](a,b)};else goog$propertyIsEnumerable_=function(a,b){if(b in a)for(var c in a)if(c==b&&GLOBAL_Object[$$PROP_prototype][$$PROP_hasOwnProperty][$$PROP_call](a,b))return true;return false};
var goog$isDef=function(a){return typeof a!="undefined"},goog$isArray=function(a){return goog$typeOf(a)=="array"},goog$isArrayLike=function(a){var b=goog$typeOf(a);return b=="array"||b=="object"&&typeof a[$$PROP_length]=="number"},goog$isString=function(a){return typeof a=="string"};
var goog$isFunction=function(a){return goog$typeOf(a)=="function"},goog$isObject=function(a){var b=goog$typeOf(a);return b=="object"||b=="array"||b=="function"},goog$getHashCode=function(a){if(a[$$PROP_hasOwnProperty]&&a[$$PROP_hasOwnProperty](goog$HASH_CODE_PROPERTY_)){var b=a[goog$HASH_CODE_PROPERTY_];if(b)return b}a[goog$HASH_CODE_PROPERTY_]||(a[goog$HASH_CODE_PROPERTY_]=++goog$hashCodeCounter_);return a[goog$HASH_CODE_PROPERTY_]},goog$HASH_CODE_PROPERTY_="closure_hashCode_",goog$hashCodeCounter_=
0,goog$cloneObject=function(a){var b=goog$typeOf(a);if(b=="object"||b=="array"){if(a.clone)return a.clone();var c=b=="array"?[]:{};for(var d in a)c[d]=goog$cloneObject(a[d]);return c}return a},goog$bind=function(a,b){var c=a.boundArgs_;if(arguments[$$PROP_length]>2){var d=Array[$$PROP_prototype][$$PROP_slice][$$PROP_call](arguments,2);c&&d.unshift[$$PROP_apply](d,c);c=d}b=a.boundSelf_||b;a=a.boundFn_||a;var e,f=b||goog$global;e=c?function(){var g=Array[$$PROP_prototype][$$PROP_slice][$$PROP_call](arguments);
g.unshift[$$PROP_apply](g,c);return a[$$PROP_apply](f,g)}:function(){return a[$$PROP_apply](f,arguments)};e.boundArgs_=c;e.boundSelf_=b;e.boundFn_=a;return e},goog$partial=function(a){var b=Array[$$PROP_prototype][$$PROP_slice][$$PROP_call](arguments,1);b.unshift(a,null);return goog$bind[$$PROP_apply](null,b)},goog$now=Date.now||function(){return(new Date)[$$PROP_getTime]()},goog$inherits=function(a,b){function c(){}c.prototype=b[$$PROP_prototype];a.superClass_=b[$$PROP_prototype];a.prototype=new c;
a[$$PROP_prototype].constructor=a};var goog$Disposable=function(){};goog$Disposable[$$PROP_prototype].disposed_=false;goog$Disposable[$$PROP_prototype].isDisposed=function(){return this.disposed_};goog$Disposable[$$PROP_prototype].dispose=function(){if(!this.disposed_){this.disposeInternal();this.disposed_=true}};goog$Disposable[$$PROP_prototype].disposeInternal=function(){};var goog$structs$SimplePool=function(a,b){goog$Disposable[$$PROP_call](this);this.maxCount_=b;this.freeQueue_=[];this.createInitial_(a)};goog$inherits(goog$structs$SimplePool,goog$Disposable);goog$structs$SimplePool[$$PROP_prototype].createObjectFn_=null;goog$structs$SimplePool[$$PROP_prototype].disposeObjectFn_=null;goog$structs$SimplePool[$$PROP_prototype].setCreateObjectFn=function(a){this.createObjectFn_=a};
goog$structs$SimplePool[$$PROP_prototype].setDisposeObjectFn=function(a){this.disposeObjectFn_=a};goog$structs$SimplePool[$$PROP_prototype].getObject=function(){if(this.freeQueue_[$$PROP_length])return this.freeQueue_.pop();return this.createObject()};goog$structs$SimplePool[$$PROP_prototype].releaseObject=function(a){this.freeQueue_[$$PROP_length]<this.maxCount_?this.freeQueue_[$$PROP_push](a):this.disposeObject(a)};
goog$structs$SimplePool[$$PROP_prototype].createInitial_=function(a){if(a>this.maxCount_)throw GLOBAL_Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(var b=0;b<a;b++)this.freeQueue_[$$PROP_push](this.createObject())};goog$structs$SimplePool[$$PROP_prototype].createObject=function(){return this.createObjectFn_?this.createObjectFn_():{}};
goog$structs$SimplePool[$$PROP_prototype].disposeObject=function(a){if(this.disposeObjectFn_)this.disposeObjectFn_(a);else if(goog$isFunction(a.dispose))a.dispose();else for(var b in a)delete a[b]};goog$structs$SimplePool[$$PROP_prototype].disposeInternal=function(){goog$structs$SimplePool.superClass_.disposeInternal[$$PROP_call](this);var a=this.freeQueue_;while(a[$$PROP_length])this.disposeObject(a.pop());delete this.freeQueue_};var goog$string$canonicalizeNewlines=function(a){return a[$$PROP_replace](/(\r\n|\r|\n)/g,"\n")},goog$string$trim=function(a){return a[$$PROP_replace](/^[\s\xa0]+|[\s\xa0]+$/g,"")};var goog$string$encodeUriRegExp_=/^[a-zA-Z0-9\-_.!~*'()]*$/,goog$string$urlEncode=function(a){a=GLOBAL_String(a);if(!goog$string$encodeUriRegExp_.test(a))return encodeURIComponent(a);return a};
var goog$string$htmlEscape=function(a,b){if(b)return a[$$PROP_replace](goog$string$amperRe_,"&amp;")[$$PROP_replace](goog$string$ltRe_,"&lt;")[$$PROP_replace](goog$string$gtRe_,"&gt;")[$$PROP_replace](goog$string$quotRe_,"&quot;");else{if(!goog$string$allRe_.test(a))return a;if(a[$$PROP_indexOf]("&")!=-1)a=a[$$PROP_replace](goog$string$amperRe_,"&amp;");if(a[$$PROP_indexOf]("<")!=-1)a=a[$$PROP_replace](goog$string$ltRe_,"&lt;");if(a[$$PROP_indexOf](">")!=-1)a=a[$$PROP_replace](goog$string$gtRe_,"&gt;");
if(a[$$PROP_indexOf]('"')!=-1)a=a[$$PROP_replace](goog$string$quotRe_,"&quot;");return a}},goog$string$amperRe_=/&/g,goog$string$ltRe_=/</g,goog$string$gtRe_=/>/g,goog$string$quotRe_=/\"/g,goog$string$allRe_=/[&<>\"]/,goog$string$unescapeEntities=function(a){if(a[$$PROP_indexOf]("&")!=-1)return"document"in goog$global&&!(a[$$PROP_indexOf]("<")!=-1)?goog$string$unescapeEntitiesUsingDom_(a):goog$string$unescapePureXmlEntities_(a);return a},goog$string$unescapeEntitiesUsingDom_=function(a){var b=goog$global[$$PROP_document][$$PROP_createElement]("a");
SETPROP_innerHTML(b,a);b.normalize&&b.normalize();a=b[$$PROP_firstChild][$$PROP_nodeValue];SETPROP_innerHTML(b,"");return a},goog$string$unescapePureXmlEntities_=function(a){return a[$$PROP_replace](/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if(c.charAt(0)=="#"){var d=GLOBAL_Number("0"+c[$$PROP_substr](1));if(!isNaN(d))return GLOBAL_String.fromCharCode(d)}return b}})};
var goog$string$compareVersions=function(a,b){var c=0,d=goog$string$trim(GLOBAL_String(a))[$$PROP_split]("."),e=goog$string$trim(GLOBAL_String(b))[$$PROP_split]("."),f=GLOBAL_Math.max(d[$$PROP_length],e[$$PROP_length]);for(var g=0;c==0&&g<f;g++){var h=d[g]||"",j=e[g]||"",i=new RegExp("(\\d*)(\\D*)","g"),k=new RegExp("(\\d*)(\\D*)","g");do{var l=i.exec(h)||["","",""],m=k.exec(j)||["","",""];if(l[0][$$PROP_length]==0&&m[0][$$PROP_length]==0)break;var n=l[1][$$PROP_length]==0?0:GLOBAL_parseInt(l[1],
10),p=m[1][$$PROP_length]==0?0:GLOBAL_parseInt(m[1],10);c=goog$string$compareElements_(n,p)||goog$string$compareElements_(l[2][$$PROP_length]==0,m[2][$$PROP_length]==0)||goog$string$compareElements_(l[2],m[2])}while(c==0)}return c},goog$string$compareElements_=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};goog$now();var goog$userAgent$DETECTED_OPERA_,goog$userAgent$DETECTED_IE_,goog$userAgent$DETECTED_GECKO_,goog$userAgent$CAMINO,goog$userAgent$DETECTED_WEBKIT_,goog$userAgent$DETECTED_MOBILE_,goog$userAgent$VERSION,goog$userAgent$PLATFORM,goog$userAgent$MAC,goog$userAgent$WINDOWS,goog$userAgent$LINUX,goog$userAgent$init_=function(){var a=false,b=false,c=false,d=false,e=false,f=false,g=false,h=false,j=false,i="";if(goog$global.navigator){var k=goog$global.navigator,l=k.userAgent;a=l[$$PROP_indexOf]("Opera")==
0;b=!a&&l[$$PROP_indexOf]("MSIE")!=-1;c=!a&&l[$$PROP_indexOf]("WebKit")!=-1;j=c&&l[$$PROP_indexOf]("Mobile")!=-1;d=!a&&!c&&k.product=="Gecko";e=d&&k.vendor=="Camino";var m,n;if(a)m=goog$global.opera.version();else{if(d)n=/rv\:([^\);]+)(\)|;)/;else if(b)n=/MSIE\s+([^\);]+)(\)|;)/;else if(c)n=/WebKit\/(\S+)/;if(n){n.test(l);m=RegExp.$1}}i=k.platform||"";f=i[$$PROP_indexOf]("Mac")!=-1;g=i[$$PROP_indexOf]("Win")!=-1;h=i[$$PROP_indexOf]("Linux")!=-1}goog$userAgent$DETECTED_OPERA_=a;goog$userAgent$DETECTED_IE_=
b;goog$userAgent$DETECTED_GECKO_=d;goog$userAgent$CAMINO=e;goog$userAgent$DETECTED_WEBKIT_=c;goog$userAgent$DETECTED_MOBILE_=j;goog$userAgent$VERSION=m;goog$userAgent$PLATFORM=i;goog$userAgent$MAC=f;goog$userAgent$WINDOWS=g;goog$userAgent$LINUX=h};goog$userAgent$init_();
var goog$userAgent$OPERA=goog$userAgent$DETECTED_OPERA_,goog$userAgent$IE=goog$userAgent$DETECTED_IE_,goog$userAgent$GECKO=goog$userAgent$DETECTED_GECKO_,goog$userAgent$WEBKIT=goog$userAgent$DETECTED_WEBKIT_,goog$userAgent$MOBILE=goog$userAgent$DETECTED_MOBILE_;var goog$userAgent$isVersion=function(a){return goog$string$compareVersions(goog$userAgent$VERSION,a)>=0};var goog$array$indexOf=function(a,b,c){if(a[$$PROP_indexOf])return a[$$PROP_indexOf](b,c);if(Array[$$PROP_indexOf])return Array[$$PROP_indexOf](a,b,c);var d=c==null?0:c<0?GLOBAL_Math.max(0,a[$$PROP_length]+c):c;for(var e=d;e<a[$$PROP_length];e++)if(e in a&&a[e]===b)return e;return-1},goog$array$forEach=function(a,b,c){if(a[$$PROP_forEach])a[$$PROP_forEach](b,c);else if(Array[$$PROP_forEach])Array[$$PROP_forEach](a,b,c);else{var d=a[$$PROP_length],e=goog$isString(a)?a[$$PROP_split](""):a;for(var f=
0;f<d;f++)f in e&&b[$$PROP_call](c,e[f],f,a)}},goog$array$map=function(a,b,c){if(a.map)return a.map(b,c);if(Array.map)return Array.map(a,b,c);var d=a[$$PROP_length],e=[],f=0,g=goog$isString(a)?a[$$PROP_split](""):a;for(var h=0;h<d;h++)if(h in g)e[f++]=b[$$PROP_call](c,g[h],h,a);return e},goog$array$some=function(a,b,c){if(a[$$PROP_some])return a[$$PROP_some](b,c);if(Array[$$PROP_some])return Array[$$PROP_some](a,b,c);var d=a[$$PROP_length],e=goog$isString(a)?a[$$PROP_split](""):a;for(var f=0;f<d;f++)if(f in
e&&b[$$PROP_call](c,e[f],f,a))return true;return false},goog$array$find=function(a,b,c){var d=goog$array$findIndex(a,b,c);return d<0?null:goog$isString(a)?a.charAt(d):a[d]},goog$array$findIndex=function(a,b,c){var d=a[$$PROP_length],e=goog$isString(a)?a[$$PROP_split](""):a;for(var f=0;f<d;f++)if(f in e&&b[$$PROP_call](c,e[f],f,a))return f;return-1},goog$array$contains=function(a,b){if(a[$$PROP_contains])return a[$$PROP_contains](b);return goog$array$indexOf(a,b)>-1},goog$array$remove=function(a,b){var c=
goog$array$indexOf(a,b),d;if(d=c!=-1)Array[$$PROP_prototype].splice[$$PROP_call](a,c,1)[$$PROP_length]==1;return d};
var goog$array$clone=function(a){if(goog$isArray(a))return a.concat();else{var b=[];for(var c=0,d=a[$$PROP_length];c<d;c++)b[c]=a[c];return b}},goog$array$splice=function(a){return Array[$$PROP_prototype].splice[$$PROP_apply](a,goog$array$slice(arguments,1))},goog$array$slice=function(a,b,c){return arguments[$$PROP_length]<=2?Array[$$PROP_prototype][$$PROP_slice][$$PROP_call](a,b):Array[$$PROP_prototype][$$PROP_slice][$$PROP_call](a,b,c)},goog$array$sort=function(a,b){Array[$$PROP_prototype].sort[$$PROP_call](a,
b||goog$array$defaultCompare)},goog$array$defaultCompare=function(a,b){return a>b?1:a<b?-1:0},goog$array$flatten=function(){var a=[];for(var b=0;b<arguments[$$PROP_length];b++){var c=arguments[b];goog$isArray(c)?a[$$PROP_push][$$PROP_apply](a,goog$array$flatten[$$PROP_apply](null,c)):a[$$PROP_push](c)}return a};var goog$object$forEach=function(a,b,c){for(var d in a)b[$$PROP_call](c,a[d],d,a)},goog$object$getValues=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b},goog$object$getKeys=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b},goog$object$isEmpty=function(a){for(var b in a)return false;return true},goog$object$remove=function(a,b){var c;if(c=b in a)delete a[b];return c},goog$object$get=function(a,b,c){if(b in a)return a[b];return c},goog$object$clone=function(a){var b={};for(var c in a)b[c]=
a[c];return b},goog$object$PROTOTYPE_FIELDS_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],goog$object$extend=function(a){var b,c;for(var d=1;d<arguments[$$PROP_length];d++){c=arguments[d];for(b in c)a[b]=c[b];for(var e=0;e<goog$object$PROTOTYPE_FIELDS_[$$PROP_length];e++){b=goog$object$PROTOTYPE_FIELDS_[e];if(GLOBAL_Object[$$PROP_prototype][$$PROP_hasOwnProperty][$$PROP_call](c,b))a[b]=c[b]}}},goog$object$create=function(){var a=arguments[$$PROP_length];
if(a==1&&goog$isArray(arguments[0]))return goog$object$create[$$PROP_apply](null,arguments[0]);if(a%2)throw GLOBAL_Error("Uneven number of arguments");var b={};for(var c=0;c<a;c+=2)b[arguments[c]]=arguments[c+1];return b},goog$object$createSet=function(){var a=arguments[$$PROP_length];if(a==1&&goog$isArray(arguments[0]))return goog$object$createSet[$$PROP_apply](null,arguments[0]);var b={};for(var c=0;c<a;c++)b[arguments[c]]=true;return b};var goog$events$Event=function(a,b){SETPROP_type(this,a);SETPROP_target(this,b);SETPROP_currentTarget(this,this[$$PROP_target])};goog$inherits(goog$events$Event,goog$Disposable);goog$events$Event[$$PROP_prototype].disposeInternal=function(){delete this[$$PROP_type];delete this[$$PROP_target];delete this.currentTarget};goog$events$Event[$$PROP_prototype].propagationStopped_=false;goog$events$Event[$$PROP_prototype].returnValue_=true;
goog$events$Event[$$PROP_prototype].stopPropagation=function(){this.propagationStopped_=true};goog$events$Event[$$PROP_prototype].preventDefault=function(){this.returnValue_=false};var goog$events$BrowserEvent=function(a,b){a&&this.init(a,b)};goog$inherits(goog$events$BrowserEvent,goog$events$Event);var goog$events$BrowserEvent$IEButtonMap_=[1,4,2];SETPROP_type(goog$events$BrowserEvent[$$PROP_prototype],null);SETPROP_target(goog$events$BrowserEvent[$$PROP_prototype],null);goog$events$BrowserEvent[$$PROP_prototype].relatedTarget=null;goog$events$BrowserEvent[$$PROP_prototype].offsetX=0;goog$events$BrowserEvent[$$PROP_prototype].offsetY=0;
goog$events$BrowserEvent[$$PROP_prototype].clientX=0;goog$events$BrowserEvent[$$PROP_prototype].clientY=0;goog$events$BrowserEvent[$$PROP_prototype].screenX=0;goog$events$BrowserEvent[$$PROP_prototype].screenY=0;goog$events$BrowserEvent[$$PROP_prototype].button=0;SETPROP_keyCode(goog$events$BrowserEvent[$$PROP_prototype],0);goog$events$BrowserEvent[$$PROP_prototype].charCode=0;goog$events$BrowserEvent[$$PROP_prototype].ctrlKey=false;goog$events$BrowserEvent[$$PROP_prototype].altKey=false;
goog$events$BrowserEvent[$$PROP_prototype].shiftKey=false;goog$events$BrowserEvent[$$PROP_prototype].metaKey=false;goog$events$BrowserEvent[$$PROP_prototype].event_=null;
goog$events$BrowserEvent[$$PROP_prototype].init=function(a,b){SETPROP_type(this,a[$$PROP_type]);SETPROP_target(this,a[$$PROP_target]||a.srcElement);SETPROP_currentTarget(this,b);this.relatedTarget=a[$$PROP_relatedTarget]?a[$$PROP_relatedTarget]:this[$$PROP_type]=="mouseover"?a.fromElement:this[$$PROP_type]=="mouseout"?a.toElement:null;this.offsetX=typeof a.layerX=="number"?a.layerX:a.offsetX;this.offsetY=typeof a.layerY=="number"?a.layerY:a.offsetY;this.clientX=typeof a[$$PROP_clientX]=="number"?
a[$$PROP_clientX]:a.pageX;this.clientY=typeof a.clientY=="number"?a.clientY:a.pageY;this.screenX=a.screenX||0;this.screenY=a.screenY||0;this.button=a[$$PROP_button];SETPROP_keyCode(this,a[$$PROP_keyCode]||0);this.charCode=a[$$PROP_charCode]||(this[$$PROP_type]==goog$events$EventType$KEYPRESS?a[$$PROP_keyCode]:0);this.ctrlKey=a[$$PROP_ctrlKey];this.altKey=a.altKey;this.shiftKey=a[$$PROP_shiftKey];this.metaKey=a[$$PROP_metaKey];this.event_=a;delete this.returnValue_;delete this.propagationStopped_};
goog$events$BrowserEvent[$$PROP_prototype].isButton=function(a){return goog$userAgent$IE?this[$$PROP_type]=="click"?a==0:!!(this.event_[$$PROP_button]&goog$events$BrowserEvent$IEButtonMap_[a]):goog$userAgent$WEBKIT&&!goog$userAgent$isVersion("420")?this.event_[$$PROP_button]==1&&a==0:this.event_[$$PROP_button]==a};
goog$events$BrowserEvent[$$PROP_prototype].stopPropagation=function(){this.propagationStopped_=true;if(this.event_.stopPropagation)this.event_.stopPropagation();else this.event_.cancelBubble=true};goog$events$BrowserEvent[$$PROP_prototype].preventDefault=function(){this.returnValue_=false;if(this.event_[$$PROP_preventDefault])this.event_[$$PROP_preventDefault]();else{this.event_.returnValue=false;try{SETPROP_keyCode(this.event_,-1)}catch(a){}}};
goog$events$BrowserEvent[$$PROP_prototype].getBrowserEvent=function(){return this.event_};goog$events$BrowserEvent[$$PROP_prototype].disposeInternal=function(){goog$events$BrowserEvent.superClass_.disposeInternal[$$PROP_call](this);this.event_=null};var goog$events$Listener=function(){},goog$events$Listener$counter_=0;goog$events$Listener[$$PROP_prototype].isFunctionListener_=null;goog$events$Listener[$$PROP_prototype].listener=null;goog$events$Listener[$$PROP_prototype].proxy=null;goog$events$Listener[$$PROP_prototype].src=null;SETPROP_type(goog$events$Listener[$$PROP_prototype],null);goog$events$Listener[$$PROP_prototype].capture=null;goog$events$Listener[$$PROP_prototype].handler=null;goog$events$Listener[$$PROP_prototype].key=0;
goog$events$Listener[$$PROP_prototype].removed=false;goog$events$Listener[$$PROP_prototype].callOnce=false;
goog$events$Listener[$$PROP_prototype].init=function(a,b,c,d,e,f){if(goog$isFunction(a))this.isFunctionListener_=true;else if(a&&a[$$PROP_handleEvent]&&goog$isFunction(a[$$PROP_handleEvent]))this.isFunctionListener_=false;else throw GLOBAL_Error("Invalid listener argument");this.listener=a;this.proxy=b;this.src=c;SETPROP_type(this,d);this.capture=!!e;this.handler=f;this.callOnce=false;this.key=++goog$events$Listener$counter_;this.removed=false};
goog$events$Listener[$$PROP_prototype].handleEvent=function(a){if(this.isFunctionListener_)return this.listener[$$PROP_call](this.handler||this.src,a);return this.listener[$$PROP_handleEvent][$$PROP_call](this.listener,a)};var goog$events$listeners_={},goog$events$listenerTree_={},goog$events$sources_={},goog$events$objectPool_=new goog$structs$SimplePool(0,600);goog$events$objectPool_.setCreateObjectFn(function(){return{count_:0}});goog$events$objectPool_.setDisposeObjectFn(function(a){a.count_=0});var goog$events$arrayPool_=new goog$structs$SimplePool(0,600);goog$events$arrayPool_.setCreateObjectFn(function(){return[]});goog$events$arrayPool_.setDisposeObjectFn(function(a){SETPROP_length(a,0);delete a.locked_;delete a.needsCleanup_});
var goog$events$handleEventProxyPool_=new goog$structs$SimplePool(0,600);goog$events$handleEventProxyPool_.setCreateObjectFn(function(){var a=function(b){return goog$events$handleBrowserEvent_[$$PROP_call](a.src,a.key,b)};return a});var goog$events$createListenerFunction_=function(){return new goog$events$Listener},goog$events$listenerPool_=new goog$structs$SimplePool(0,600);goog$events$listenerPool_.setCreateObjectFn(goog$events$createListenerFunction_);
var goog$events$createEventFunction_=function(){return new goog$events$BrowserEvent},goog$events$createEventPool_=function(){var a=null;if(goog$userAgent$IE){a=new goog$structs$SimplePool(0,600);a.setCreateObjectFn(goog$events$createEventFunction_)}return a},goog$events$eventPool_=goog$events$createEventPool_(),goog$events$onString_="on",goog$events$onStringMap_={},goog$events$listen=function(a,b,c,d,e){if(b)if(goog$isArray(b)){for(var f=0;f<b[$$PROP_length];f++)goog$events$listen(a,b[f],c,d,e);return null}else{var g=
!!d,h=goog$events$listenerTree_;b in h||(h[b]=goog$events$objectPool_.getObject());h=h[b];if(!(g in h)){h[g]=goog$events$objectPool_.getObject();h.count_++}h=h[g];var j=goog$getHashCode(a),i,k;if(h[j]){i=h[j];for(var f=0;f<i[$$PROP_length];f++){k=i[f];if(k.listener==c&&k.handler==e){if(k.removed)break;return i[f].key}}}else{i=h[j]=goog$events$arrayPool_.getObject();h.count_++}var l=goog$events$handleEventProxyPool_.getObject();l.src=a;k=goog$events$listenerPool_.getObject();k.init(c,l,a,b,g,e);var m=
k.key;l.key=m;i[$$PROP_push](k);goog$events$listeners_[m]=k;goog$events$sources_[j]||(goog$events$sources_[j]=goog$events$arrayPool_.getObject());goog$events$sources_[j][$$PROP_push](k);if(a.addEventListener){if(a==goog$global||!a.customEvent_)a.addEventListener(b,l,g)}else a.attachEvent(goog$events$getOnString_(b),l);return m}else throw GLOBAL_Error("Invalid event type");},goog$events$listenOnce=function(a,b,c,d,e){if(goog$isArray(b)){for(var f=0;f<b[$$PROP_length];f++)goog$events$listenOnce(a,b[f],
c,d,e);return null}var g=goog$events$listen(a,b,c,d,e),h=goog$events$listeners_[g];h.callOnce=true;return g},goog$events$unlisten=function(a,b,c,d,e){if(goog$isArray(b)){for(var f=0;f<b[$$PROP_length];f++)goog$events$unlisten(a,b[f],c,d,e);return null}var g=!!d,h=goog$events$getListeners_(a,b,g);if(!h)return false;for(var f=0;f<h[$$PROP_length];f++)if(h[f].listener==c&&h[f].capture==g&&h[f].handler==e)return goog$events$unlistenByKey(h[f].key);return false},goog$events$unlistenByKey=function(a){if(!goog$events$listeners_[a])return false;
var b=goog$events$listeners_[a];if(b.removed)return false;var c=b.src,d=b[$$PROP_type],e=b.proxy,f=b.capture;if(c.removeEventListener){if(c==goog$global||!c.customEvent_)c.removeEventListener(d,e,f)}else c.detachEvent&&c.detachEvent(goog$events$getOnString_(d),e);var g=goog$getHashCode(c),h=goog$events$listenerTree_[d][f][g];if(goog$events$sources_[g]){var j=goog$events$sources_[g];goog$array$remove(j,b);j[$$PROP_length]==0&&delete goog$events$sources_[g]}b.removed=true;h.needsCleanup_=true;goog$events$cleanUp_(d,
f,g,h);delete goog$events$listeners_[a];return true},goog$events$cleanUp_=function(a,b,c,d){if(!d.locked_)if(d.needsCleanup_){for(var e=0,f=0;e<d[$$PROP_length];e++){if(d[e].removed){goog$events$listenerPool_.releaseObject(d[e]);continue}if(e!=f)d[f]=d[e];f++}SETPROP_length(d,f);d.needsCleanup_=false;if(f==0){goog$events$arrayPool_.releaseObject(d);delete goog$events$listenerTree_[a][b][c];goog$events$listenerTree_[a][b].count_--;if(goog$events$listenerTree_[a][b].count_==0){goog$events$objectPool_.releaseObject(goog$events$listenerTree_[a][b]);
delete goog$events$listenerTree_[a][b];goog$events$listenerTree_[a].count_--}if(goog$events$listenerTree_[a].count_==0){goog$events$objectPool_.releaseObject(goog$events$listenerTree_[a]);delete goog$events$listenerTree_[a]}}}},goog$events$removeAll=function(a,b,c){var d=0,e=a==null,f=b==null,g=c==null;c=!!c;if(e)goog$object$forEach(goog$events$sources_,function(l){for(var m=l[$$PROP_length]-1;m>=0;m--){var n=l[m];if((f||b==n[$$PROP_type])&&(g||c==n.capture)){goog$events$unlistenByKey(n.key);d++}}});
else{var h=goog$getHashCode(a);if(goog$events$sources_[h]){var j=goog$events$sources_[h];for(var i=j[$$PROP_length]-1;i>=0;i--){var k=j[i];if((f||b==k[$$PROP_type])&&(g||c==k.capture)){goog$events$unlistenByKey(k.key);d++}}}}return d},goog$events$getListeners_=function(a,b,c){var d=goog$events$listenerTree_;if(b in d){d=d[b];if(c in d){d=d[c];var e=goog$getHashCode(a);if(d[e])return d[e]}}return null},goog$events$getListener=function(a,b,c,d,e){var f=!!d,g=goog$events$getListeners_(a,b,f);if(g)for(var h=
0;h<g[$$PROP_length];h++)if(g[h].listener==c&&g[h].capture==f&&g[h].handler==e)return g[h];return null},goog$events$EventType$KEYPRESS="keypress",goog$events$getOnString_=function(a){if(a in goog$events$onStringMap_)return goog$events$onStringMap_[a];return goog$events$onStringMap_[a]=goog$events$onString_+a},goog$events$fireListeners=function(a,b,c,d){var e=1,f=goog$events$listenerTree_;if(b in f){f=f[b];if(c in f){f=f[c];var g=goog$getHashCode(a);if(f[g]){var h=f[g];if(h.locked_)h.locked_++;else h.locked_=
1;try{var j=h[$$PROP_length];for(var i=0;i<j;i++){var k=h[i];if(k&&!k.removed)e&=goog$events$fireListener(k,d)!==false}}finally{h.locked_--;goog$events$cleanUp_(b,c,g,h)}}}}return GLOBAL_Boolean(e)},goog$events$fireListener=function(a,b){var c=a[$$PROP_handleEvent](b);a.callOnce&&goog$events$unlistenByKey(a.key);return c},goog$events$dispatchEvent=function(a,b){if(goog$isString(b))b=new goog$events$Event(b,a);else if(b instanceof goog$events$Event)SETPROP_target(b,b[$$PROP_target]||a);else{var c=
b;b=new goog$events$Event(b[$$PROP_type],a);goog$object$extend(b,c)}var d=1,e,f=b[$$PROP_type],g=goog$events$listenerTree_;if(!(f in g))return true;g=g[f];var h=true in g,j=false in g;if(h){e=[];for(var i=a;i;i=i.getParentEventTarget())e[$$PROP_push](i);for(var k=e[$$PROP_length]-1;!b.propagationStopped_&&k>=0;k--){SETPROP_currentTarget(b,e[k]);d&=goog$events$fireListeners(e[k],b[$$PROP_type],true,b)&&b.returnValue_!=false}}if(j)if(h)for(var k=0;!b.propagationStopped_&&k<e[$$PROP_length];k++){SETPROP_currentTarget(b,
e[k]);d&=goog$events$fireListeners(e[k],b[$$PROP_type],false,b)&&b.returnValue_!=false}else for(var l=a;!b.propagationStopped_&&l;l=l.getParentEventTarget()){SETPROP_currentTarget(b,l);d&=goog$events$fireListeners(l,b[$$PROP_type],false,b)&&b.returnValue_!=false}return GLOBAL_Boolean(d)},goog$events$handleBrowserEvent_=function(a,b){if(!goog$events$listeners_[a])return true;var c=goog$events$listeners_[a],d=c[$$PROP_type],e=goog$events$listenerTree_;if(!(d in e))return true;e=e[d];var f;if(goog$userAgent$IE){var g=
b||goog$getObjectByName("window.event"),h=true in e;if(h){if(g[$$PROP_keyCode]<0||g.returnValue!=GLOBAL_undefined)return true;goog$events$markIeEvent_(g)}goog$getHashCode(c.src);var j=goog$events$eventPool_.getObject();j.init(g,this);f=true;try{if(h){var i=goog$events$arrayPool_.getObject();for(var k=j.currentTarget;k;k=k[$$PROP_parentNode])i[$$PROP_push](k);for(var l=i[$$PROP_length]-1;!j.propagationStopped_&&l>=0;l--){SETPROP_currentTarget(j,i[l]);f&=goog$events$fireListeners(i[l],d,true,j)}for(var l=
0;!j.propagationStopped_&&l<i[$$PROP_length];l++){SETPROP_currentTarget(j,i[l]);f&=goog$events$fireListeners(i[l],d,false,j)}}else f=goog$events$fireListener(c,j)}finally{if(i){SETPROP_length(i,0);goog$events$arrayPool_.releaseObject(i)}j.dispose();goog$events$eventPool_.releaseObject(j)}return f}var m=new goog$events$BrowserEvent(b,this);try{f=goog$events$fireListener(c,m)}finally{m.dispose()}return f},goog$events$markIeEvent_=function(a){var b=false;if(a[$$PROP_keyCode]==0)try{SETPROP_keyCode(a,
-1);return}catch(c){b=true}if(b||a.returnValue==GLOBAL_undefined)a.returnValue=true};var goog$events$KeyCodes$firesKeyPressEvent=function(a,b,c){if(!goog$userAgent$IE&&!(goog$userAgent$WEBKIT&&goog$userAgent$isVersion("525")))return true;if(goog$userAgent$IE&&!c&&(b==17||b==18))return false;if(a>=48&&a<=57)return true;if(a>=96&&a<=106)return true;if(a>=65&&a<=90)return true;if(a==27&&goog$userAgent$WEBKIT)return false;switch(a){case 13:case 27: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}},goog$events$KeyCodes$isCharacterKey=function(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}};var goog$math$Coordinate=function(a,b){this.x=goog$isDef(a)?a:0;this.y=goog$isDef(b)?b:0};goog$math$Coordinate[$$PROP_prototype].clone=function(){return new goog$math$Coordinate(this.x,this.y)};SETPROP_toString(goog$math$Coordinate[$$PROP_prototype],function(){return"("+this.x+", "+this.y+")"});var goog$math$Size=function(a,b){SETPROP_width(this,a);SETPROP_height(this,b)};goog$math$Size[$$PROP_prototype].clone=function(){return new goog$math$Size(this[$$PROP_width],this[$$PROP_height])};SETPROP_toString(goog$math$Size[$$PROP_prototype],function(){return"("+this[$$PROP_width]+" x "+this[$$PROP_height]+")"});goog$math$Size[$$PROP_prototype].ceil=function(){SETPROP_width(this,GLOBAL_Math.ceil(this[$$PROP_width]));SETPROP_height(this,GLOBAL_Math.ceil(this[$$PROP_height]));return this};
goog$math$Size[$$PROP_prototype].floor=function(){SETPROP_width(this,GLOBAL_Math[$$PROP_floor](this[$$PROP_width]));SETPROP_height(this,GLOBAL_Math[$$PROP_floor](this[$$PROP_height]));return this};goog$math$Size[$$PROP_prototype].round=function(){SETPROP_width(this,GLOBAL_Math[$$PROP_round](this[$$PROP_width]));SETPROP_height(this,GLOBAL_Math[$$PROP_round](this[$$PROP_height]));return this};goog$math$Size[$$PROP_prototype].scale=function(a){this.width*=a;this.height*=a;return this};var goog$dom$defaultDomHelper_,goog$dom$classes$get=function(a){var b=a.className;return b&&typeof b[$$PROP_split]=="function"?b[$$PROP_split](" "):[]},goog$dom$classes$add=function(a){var b=goog$dom$classes$get(a),c=1;for(var d=1;d<arguments[$$PROP_length];d++)if(goog$array$contains(b,arguments[d]))c&=0;else{b[$$PROP_push](arguments[d]);c&=1}SETPROP_className(a,b[$$PROP_join](" "));return GLOBAL_Boolean(c)},goog$dom$classes$remove=function(a){var b=goog$dom$classes$get(a),c=goog$array$slice(arguments,
1),d=0;for(var e=0;e<b[$$PROP_length];e++)if(goog$array$contains(c,b[e])){goog$array$splice(b,e--,1);d++}SETPROP_className(a,b[$$PROP_join](" "));return d==c[$$PROP_length]};var goog$dom$classes$enable=function(a,b,c){c?goog$dom$classes$add(a,b):goog$dom$classes$remove(a,b)};var goog$dom$getDefaultDomHelper_=function(){goog$dom$defaultDomHelper_||(goog$dom$defaultDomHelper_=new goog$dom$DomHelper);return goog$dom$defaultDomHelper_},goog$dom$getDomHelper=function(a){return a?new goog$dom$DomHelper(goog$dom$getOwnerDocument(a)):goog$dom$getDefaultDomHelper_()};
var goog$dom$getElement=function(a){return goog$isString(a)?document.getElementById(a):a},goog$dom$$=goog$dom$getElement,goog$dom$setProperties=function(a,b){goog$object$forEach(b,function(c,d){if(d=="style")a[$$PROP_style].cssText=c;else if(d=="class")SETPROP_className(a,c);else if(d=="for")a.htmlFor=c;else if(d in goog$dom$DIRECT_ATTRIBUTE_MAP_)a[$$PROP_setAttribute](goog$dom$DIRECT_ATTRIBUTE_MAP_[d],c);else a[d]=c})},goog$dom$DIRECT_ATTRIBUTE_MAP_={cellpadding:"cellPadding",cellspacing:"cellSpacing",
colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder"},goog$dom$getViewportSize=function(a){var b=a||goog$global||GLOBAL_window,c=b[$$PROP_document];if(goog$userAgent$WEBKIT&&!goog$userAgent$isVersion("500")&&!goog$userAgent$MOBILE){if(typeof b.innerHeight=="undefined")b=GLOBAL_window;var d=b.innerHeight,e=b[$$PROP_document][$$PROP_documentElement].scrollHeight;if(b==b.top)if(e<d)d-=15;return new goog$math$Size(b.innerWidth,d)}var f=
goog$dom$getDomHelper(c),g=f.getCompatMode()=="CSS1Compat"&&(!goog$userAgent$OPERA||goog$userAgent$OPERA&&goog$userAgent$isVersion("9.50"))?c[$$PROP_documentElement]:c[$$PROP_body];return new goog$math$Size(g.clientWidth,g.clientHeight)};
var goog$dom$createDom=function(){var a=goog$dom$getDefaultDomHelper_();return a.createDom[$$PROP_apply](a,arguments)},goog$dom$$dom=goog$dom$createDom,goog$dom$appendChild=function(a,b){a[$$PROP_appendChild](b)},goog$dom$removeNode=function(a){return a&&a[$$PROP_parentNode]?a[$$PROP_parentNode].removeChild(a):null};
var goog$dom$BAD_CONTAINS_WEBKIT_=goog$userAgent$WEBKIT&&goog$string$compareVersions(goog$userAgent$VERSION,"521")<=0,goog$dom$contains=function(a,b){if(typeof a[$$PROP_contains]!="undefined"&&!goog$dom$BAD_CONTAINS_WEBKIT_&&b[$$PROP_nodeType]==1)return a==b||a[$$PROP_contains](b);if(typeof a.compareDocumentPosition!="undefined")return a==b||GLOBAL_Boolean(a.compareDocumentPosition(b)&16);while(b&&a!=b)b=b[$$PROP_parentNode];return b==a},goog$dom$getOwnerDocument=function(a){return a[$$PROP_nodeType]==
9?a:a[$$PROP_ownerDocument]||a[$$PROP_document]},goog$dom$findNodes_=function(a,b,c,d){if(a!=null)for(var e=0,f;f=a.childNodes[e];e++){if(b(f)){c[$$PROP_push](f);if(d)return}goog$dom$findNodes_(f,b,c,d)}},goog$dom$TAGS_TO_IGNORE_={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},goog$dom$PREDEFINED_TAG_VALUES_={IMG:" ",BR:"\n"},goog$dom$isFocusableTabIndex=function(a){var b=a.getAttributeNode("tabindex");if(b&&b.specified){var c=a.tabIndex;return typeof c=="number"&&c>=0}return false},goog$dom$setFocusableTabIndex=
function(a,b){if(b)a.tabIndex=0;else a.removeAttribute("tabIndex")},goog$dom$getTextContent=function(a){var b;if(goog$userAgent$IE&&"innerText"in a)b=goog$string$canonicalizeNewlines(a.innerText);else{var c=[];goog$dom$getTextContent_(a,c,true);b=c[$$PROP_join]("")}b=b[$$PROP_replace](/\xAD/g,"");b=b[$$PROP_replace](/ +/g," ");if(b!=" ")b=b[$$PROP_replace](/^\s*/,"");return b},goog$dom$getTextContent_=function(a,b,c){if(!(a.nodeName in goog$dom$TAGS_TO_IGNORE_))if(a[$$PROP_nodeType]==3)c?b[$$PROP_push](GLOBAL_String(a[$$PROP_nodeValue])[$$PROP_replace](/(\r\n|\r|\n)/g,
"")):b[$$PROP_push](a[$$PROP_nodeValue]);else if(a.nodeName in goog$dom$PREDEFINED_TAG_VALUES_)b[$$PROP_push](goog$dom$PREDEFINED_TAG_VALUES_[a.nodeName]);else{var d=a[$$PROP_firstChild];while(d){goog$dom$getTextContent_(d,b,c);d=d[$$PROP_nextSibling]}}},goog$dom$isNodeList=function(a){if(a&&typeof a[$$PROP_length]=="number")if(goog$isObject(a))return typeof a[$$PROP_item]=="function"||typeof a[$$PROP_item]=="string";else if(goog$isFunction(a))return typeof a[$$PROP_item]=="function";return false},
goog$dom$DomHelper=function(a){this.document_=a||goog$global[$$PROP_document]||document};goog$dom$DomHelper[$$PROP_prototype].getDocument=function(){return this.document_};goog$dom$DomHelper[$$PROP_prototype].getElement=function(a){return goog$isString(a)?this.document_.getElementById(a):a};
goog$dom$DomHelper[$$PROP_prototype].createDom=function(a,b){if(goog$userAgent$IE&&b&&b[$$PROP_name])a="<"+a+' name="'+goog$string$htmlEscape(b[$$PROP_name])+'">';var c=this[$$PROP_createElement](a);b&&goog$dom$setProperties(c,b);if(arguments[$$PROP_length]>2){function d(g){if(g)this[$$PROP_appendChild](c,goog$isString(g)?this.createTextNode(g):g)}for(var e=2;e<arguments[$$PROP_length];e++){var f=arguments[e];goog$isArrayLike(f)&&!(goog$isObject(f)&&f[$$PROP_nodeType]>0)?goog$array$forEach(goog$dom$isNodeList(f)?
goog$array$clone(f):f,d,this):d[$$PROP_call](this,f)}}return c};goog$dom$DomHelper[$$PROP_prototype].createElement=function(a){return this.document_[$$PROP_createElement](a)};goog$dom$DomHelper[$$PROP_prototype].createTextNode=function(a){return this.document_.createTextNode(a)};
goog$dom$DomHelper[$$PROP_prototype].getCompatMode=function(){if(this.document_[$$PROP_compatMode])return this.document_[$$PROP_compatMode];if(goog$userAgent$WEBKIT){var a=this.createDom("div",{style:"position:absolute;width:0;height:0;width:1"}),b=a[$$PROP_style][$$PROP_width]=="1px"?"BackCompat":"CSS1Compat";return this.document_.compatMode=b}return"BackCompat"};
goog$dom$DomHelper[$$PROP_prototype].getDocumentScroll=function(){var a=this.document_,b,c;if(!goog$userAgent$WEBKIT&&a[$$PROP_compatMode]=="CSS1Compat"){b=a[$$PROP_documentElement][$$PROP_scrollLeft];c=a[$$PROP_documentElement][$$PROP_scrollTop]}else{b=a[$$PROP_body][$$PROP_scrollLeft];c=a[$$PROP_body][$$PROP_scrollTop]}return new goog$math$Coordinate(b,c)};goog$dom$DomHelper[$$PROP_prototype].appendChild=goog$dom$appendChild;goog$dom$DomHelper[$$PROP_prototype].removeNode=goog$dom$removeNode;
SETPROP_contains(goog$dom$DomHelper[$$PROP_prototype],goog$dom$contains);var goog$dom$selection$setStart=function(a,b){if(goog$dom$selection$useSelectionProperties_(a))a.selectionStart=b;else if(goog$userAgent$IE){var c=goog$dom$selection$getRangeIe_(a),d=c[0],e=c[1];if(d.inRange(e)){if(a[$$PROP_type]=="textarea"){var f=a[$$PROP_value][$$PROP_substring](0,b);b=goog$string$canonicalizeNewlines(f)[$$PROP_length]}d.collapse(true);d.move("character",b);d.select()}}};
var goog$dom$selection$getEndPointsTextareaIe_=function(a,b,c){var d=b.duplicate(),e=a[$$PROP_text],f=e,g=d[$$PROP_text],h=g,j=false;while(!j)if(a.compareEndPoints("StartToEnd",a)==0)j=true;else{a.moveEnd("character",-1);if(a[$$PROP_text]==e)f+="\r\n";else j=true}if(c)return[f[$$PROP_length],-1];var i=false;while(!i)if(d.compareEndPoints("StartToEnd",d)==0)i=true;else{d.moveEnd("character",-1);if(d[$$PROP_text]==g)h+="\r\n";else i=true}return[f[$$PROP_length],f[$$PROP_length]+h[$$PROP_length]]},goog$dom$selection$getEndPoints_=
function(a,b){var c=0,d=0;if(goog$dom$selection$useSelectionProperties_(a)){c=a.selectionStart;d=b?-1:a.selectionEnd}else if(goog$userAgent$IE){var e=goog$dom$selection$getRangeIe_(a),f=e[0],g=e[1];if(f.inRange(g)){f.setEndPoint("EndToStart",g);if(a[$$PROP_type]=="textarea")return goog$dom$selection$getEndPointsTextareaIe_(f,g,b);c=f[$$PROP_text][$$PROP_length];d=b?-1:f[$$PROP_text][$$PROP_length]+g[$$PROP_text][$$PROP_length]}}return[c,d]},goog$dom$selection$setEnd=function(a,b){if(goog$dom$selection$useSelectionProperties_(a))a.selectionEnd=
b;else if(goog$userAgent$IE){var c=goog$dom$selection$getRangeIe_(a),d=c[0],e=c[1];if(d.inRange(e)){var f=goog$dom$selection$getEndPoints_(a,true)[0];if(a[$$PROP_type]=="textarea"){var g=a[$$PROP_value][$$PROP_substring](0,b);b=goog$string$canonicalizeNewlines(g)[$$PROP_length];var h=a[$$PROP_value][$$PROP_substring](0,f);f=goog$string$canonicalizeNewlines(h)[$$PROP_length]}e.collapse(true);e.moveEnd("character",b-f);e.select()}}},goog$dom$selection$getRangeIe_=function(a){var b=a[$$PROP_ownerDocument]||
a[$$PROP_document],c=b.selection.createRange(),d;if(a[$$PROP_type]=="textarea"){d=b[$$PROP_body].createTextRange();d.moveToElementText(a)}else d=a.createTextRange();return[d,c]},goog$dom$selection$useSelectionProperties_=function(a){try{return typeof a.selectionStart=="number"}catch(b){return false}};var goog$events$EventTarget=function(){};goog$inherits(goog$events$EventTarget,goog$Disposable);goog$events$EventTarget[$$PROP_prototype].customEvent_=true;goog$events$EventTarget[$$PROP_prototype].parentEventTarget_=null;goog$events$EventTarget[$$PROP_prototype].getParentEventTarget=function(){return this.parentEventTarget_};goog$events$EventTarget[$$PROP_prototype].addEventListener=function(a,b,c,d){goog$events$listen(this,a,b,c,d)};
goog$events$EventTarget[$$PROP_prototype].removeEventListener=function(a,b,c,d){goog$events$unlisten(this,a,b,c,d)};goog$events$EventTarget[$$PROP_prototype].dispatchEvent=function(a){return goog$events$dispatchEvent(this,a)};goog$events$EventTarget[$$PROP_prototype].disposeInternal=function(){goog$events$EventTarget.superClass_.disposeInternal[$$PROP_call](this);goog$events$removeAll(this);this.parentEventTarget_=null};var goog$Timer=function(a,b){goog$events$EventTarget[$$PROP_call](this);this.interval_=a||1;this.timerObject_=b||goog$Timer$defaultTimerObject;this.boundTick_=goog$bind(this.tick_,this);this.last_=goog$now()};goog$inherits(goog$Timer,goog$events$EventTarget);goog$Timer[$$PROP_prototype].enabled=false;var goog$Timer$defaultTimerObject=goog$global.window,goog$Timer$intervalScale=0.8;goog$Timer[$$PROP_prototype].timer_=null;
goog$Timer[$$PROP_prototype].setInterval=function(a){this.interval_=a;if(this.timer_&&this.enabled){this[$$PROP_stop]();this.start()}else this.timer_&&this[$$PROP_stop]()};
goog$Timer[$$PROP_prototype].tick_=function(){if(this.enabled){var a=goog$now()-this.last_;if(a>0&&a<this.interval_*goog$Timer$intervalScale){this.timer_=this.timerObject_[$$PROP_setTimeout](this.boundTick_,this.interval_-a);return}this.dispatchTick_();if(this.enabled){this.timer_=this.timerObject_[$$PROP_setTimeout](this.boundTick_,this.interval_);this.last_=goog$now()}}};goog$Timer[$$PROP_prototype].dispatchTick_=function(){this[$$PROP_dispatchEvent]("tick")};
goog$Timer[$$PROP_prototype].start=function(){this.enabled=true;if(!this.timer_){this.timer_=this.timerObject_[$$PROP_setTimeout](this.boundTick_,this.interval_);this.last_=goog$now()}};goog$Timer[$$PROP_prototype].stop=function(){this.enabled=false;if(this.timer_){this.timerObject_[$$PROP_clearTimeout](this.timer_);this.timer_=null}};goog$Timer[$$PROP_prototype].disposeInternal=function(){goog$Timer.superClass_.disposeInternal[$$PROP_call](this);this[$$PROP_stop]();delete this.timerObject_};
var goog$Timer$callOnce=function(a,b,c){if(goog$isFunction(a)){if(c)a=goog$bind(a,c)}else if(a&&typeof a[$$PROP_handleEvent]=="function")a=goog$bind(a[$$PROP_handleEvent],a);else throw GLOBAL_Error("Invalid listener argument");return goog$Timer$defaultTimerObject[$$PROP_setTimeout](a,b||0)};var goog$fx$easing$easeOut=function(a){return 1-GLOBAL_Math.pow(1-a,3)},goog$fx$Animation=function(a,b,c,d){goog$events$EventTarget[$$PROP_call](this);if(!goog$isArray(a)||!goog$isArray(b)){throw GLOBAL_Error("Start and end parameters must be arrays");return}if(a[$$PROP_length]!=b[$$PROP_length]){throw GLOBAL_Error("Start and end points must be the same length");return}this.startPoint_=a;this.endPoint_=b;this.duration_=c;this.accel_=d;this.coords_=[]};goog$inherits(goog$fx$Animation,goog$events$EventTarget);
var goog$fx$Animation$EventType$BEGIN="begin",goog$fx$Animation$EventType$ANIMATE="animate",goog$fx$Animation$activeAnimations_={},goog$fx$Animation$globalTimer_=null,goog$fx$Animation$cycleAnimations_=function(){goog$Timer$defaultTimerObject[$$PROP_clearTimeout](goog$fx$Animation$globalTimer_);var a=goog$now();for(var b in goog$fx$Animation$activeAnimations_)goog$fx$Animation$activeAnimations_[b].cycle(a);goog$fx$Animation$globalTimer_=goog$object$isEmpty(goog$fx$Animation$activeAnimations_)?null:
goog$Timer$defaultTimerObject[$$PROP_setTimeout](goog$fx$Animation$cycleAnimations_,20)},goog$fx$Animation$registerAnimation=function(a){var b=goog$getHashCode(a);b in goog$fx$Animation$activeAnimations_||(goog$fx$Animation$activeAnimations_[b]=a);goog$fx$Animation$globalTimer_||(goog$fx$Animation$globalTimer_=goog$Timer$defaultTimerObject[$$PROP_setTimeout](goog$fx$Animation$cycleAnimations_,20))},goog$fx$Animation$unregisterAnimation=function(a){var b=goog$getHashCode(a);delete goog$fx$Animation$activeAnimations_[b];
if(goog$fx$Animation$globalTimer_&&goog$object$isEmpty(goog$fx$Animation$activeAnimations_)){goog$Timer$defaultTimerObject[$$PROP_clearTimeout](goog$fx$Animation$globalTimer_);goog$fx$Animation$globalTimer_=null}};goog$fx$Animation[$$PROP_prototype].state_=0;goog$fx$Animation[$$PROP_prototype].fps_=0;goog$fx$Animation[$$PROP_prototype].progress_=0;goog$fx$Animation[$$PROP_prototype].startTime_=null;goog$fx$Animation[$$PROP_prototype].endTime_=null;goog$fx$Animation[$$PROP_prototype].lastFrame_=null;
goog$fx$Animation[$$PROP_prototype].play=function(a){if(a||this.state_==0){this.progress_=0;this.coords_=this.startPoint_}else if(this.state_==1)return false;goog$fx$Animation$unregisterAnimation(this);this.startTime_=goog$now();if(this.state_==-1)this.startTime_-=this.duration_*this.progress_;this.endTime_=this.startTime_+this.duration_;this.lastFrame_=this.startTime_;this.progress_||this.dispatchAnimationEvent_(goog$fx$Animation$EventType$BEGIN);this.dispatchAnimationEvent_("play");this.state_==
-1&&this.dispatchAnimationEvent_("resume");this.state_=1;goog$fx$Animation$registerAnimation(this);this.cycle(this.startTime_);return true};goog$fx$Animation[$$PROP_prototype].stop=function(a){goog$fx$Animation$unregisterAnimation(this);this.state_=0;if(a)this.progress_=1;this.updateCoords_(this.progress_);this.dispatchAnimationEvent_("stop");this.dispatchAnimationEvent_("end")};
goog$fx$Animation[$$PROP_prototype].pause=function(){if(this.state_==1){goog$fx$Animation$unregisterAnimation(this);this.state_=-1;this.dispatchAnimationEvent_("pause")}};goog$fx$Animation[$$PROP_prototype].disposeInternal=function(){this.state_!=0&&this[$$PROP_stop]();this.dispatchAnimationEvent_("destroy");goog$fx$Animation.superClass_.disposeInternal[$$PROP_call](this)};
goog$fx$Animation[$$PROP_prototype].cycle=function(a){this.progress_=(a-this.startTime_)/(this.endTime_-this.startTime_);if(this.progress_>=1)this.progress_=1;this.fps_=1000/(a-this.lastFrame_);this.lastFrame_=a;goog$isFunction(this.accel_)?this.updateCoords_(this.accel_(this.progress_)):this.updateCoords_(this.progress_);if(this.progress_==1){this.state_=0;goog$fx$Animation$unregisterAnimation(this);this.dispatchAnimationEvent_("finish");this.dispatchAnimationEvent_("end")}else this.state_==1&&this.dispatchAnimationEvent_(goog$fx$Animation$EventType$ANIMATE)};
goog$fx$Animation[$$PROP_prototype].updateCoords_=function(a){this.coords_=new Array(this.startPoint_[$$PROP_length]);for(var b=0;b<this.startPoint_[$$PROP_length];b++)this.coords_[b]=(this.endPoint_[b]-this.startPoint_[b])*a+this.startPoint_[b]};goog$fx$Animation[$$PROP_prototype].dispatchAnimationEvent_=function(a){this[$$PROP_dispatchEvent](new goog$fx$AnimationEvent(a,this))};
var goog$fx$AnimationEvent=function(a,b){goog$events$Event[$$PROP_call](this,a);this.coords=b.coords_;this.x=b.coords_[0];this.y=b.coords_[1];this.z=b.coords_[2];this.duration=b.duration_;this.progress=b.progress_;this.fps=b.fps_;this.state=b.state_;this.anim=b};goog$inherits(goog$fx$AnimationEvent,goog$events$Event);goog$fx$AnimationEvent[$$PROP_prototype].coordsAsInts=function(){return goog$array$map(this.coords,GLOBAL_Math[$$PROP_round])};var goog$math$Box=function(a,b,c,d){this.top=goog$isDef(a)?GLOBAL_Number(a):GLOBAL_undefined;this.right=goog$isDef(b)?GLOBAL_Number(b):GLOBAL_undefined;this.bottom=goog$isDef(c)?GLOBAL_Number(c):GLOBAL_undefined;SETPROP_left(this,goog$isDef(d)?GLOBAL_Number(d):GLOBAL_undefined)};goog$math$Box[$$PROP_prototype].clone=function(){return new goog$math$Box(this.top,this[$$PROP_right],this[$$PROP_bottom],this[$$PROP_left])};
SETPROP_toString(goog$math$Box[$$PROP_prototype],function(){return"("+this.top+"t, "+this[$$PROP_right]+"r, "+this[$$PROP_bottom]+"b, "+this[$$PROP_left]+"l)"});SETPROP_contains(goog$math$Box[$$PROP_prototype],function(a){return goog$math$Box$contains(this,a)});goog$math$Box[$$PROP_prototype].expand=function(a,b,c,d){if(goog$isObject(a)){this.top-=a.top;this.right+=a[$$PROP_right];this.bottom+=a[$$PROP_bottom];this.left-=a[$$PROP_left]}else{this.top-=a;this.right+=b;this.bottom+=c;this.left-=d}return this};
var goog$math$Box$contains=function(a,b){if(!a||!b)return false;return b.x>=a[$$PROP_left]&&b.x<=a[$$PROP_right]&&b.y>=a.top&&b.y<=a[$$PROP_bottom]};var goog$math$Range=function(a,b){a=GLOBAL_Number(a);b=GLOBAL_Number(b);this.start=a<b?a:b;this.end=a<b?b:a};goog$math$Range[$$PROP_prototype].clone=function(){return new goog$math$Range(this.start,this.end)};SETPROP_toString(goog$math$Range[$$PROP_prototype],function(){return"["+this.start+", "+this.end+"]"});var goog$math$Rect=function(a,b,c,d){SETPROP_left(this,a);this.top=b;SETPROP_width(this,c);SETPROP_height(this,d)};goog$math$Rect[$$PROP_prototype].clone=function(){return new goog$math$Rect(this[$$PROP_left],this.top,this[$$PROP_width],this[$$PROP_height])};SETPROP_toString(goog$math$Rect[$$PROP_prototype],function(){return"("+this[$$PROP_left]+", "+this.top+" - "+this[$$PROP_width]+"w x "+this[$$PROP_height]+"h)"});
SETPROP_contains(goog$math$Rect[$$PROP_prototype],function(a){return this[$$PROP_left]<=a[$$PROP_left]&&this[$$PROP_left]+this[$$PROP_width]>=a[$$PROP_left]+a[$$PROP_width]&&this.top<=a.top&&this.top+this[$$PROP_height]>=a.top+a[$$PROP_height]});var goog$style$BUGGY_CAMINO_,goog$style$setStyle=function(a,b,c){goog$isString(b)?goog$style$setStyle_(a,c,b):goog$object$forEach(b,goog$partial(goog$style$setStyle_,a))},goog$style$setStyle_=function(a,b,c){a[$$PROP_style][goog$style$toCamelCase(c)]=b},goog$style$getComputedStyle=function(a,b){var c=goog$dom$getOwnerDocument(a);if(c.defaultView&&c.defaultView.getComputedStyle){var d=c.defaultView.getComputedStyle(a,"");if(d)return d[b]}return null};
var goog$style$getStyle_=function(a,b){return goog$style$getComputedStyle(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a[$$PROP_style][b]},goog$style$getClientViewportElement=function(a){var b;b=a?a[$$PROP_nodeType]==9?a:goog$dom$getOwnerDocument(a):goog$dom$getDefaultDomHelper_().getDocument();if(goog$userAgent$IE&&b[$$PROP_compatMode]!="CSS1Compat")return b[$$PROP_body];return b[$$PROP_documentElement]},goog$style$getPageOffset=function(a){var b=goog$dom$getOwnerDocument(a),c=goog$userAgent$GECKO&&
b[$$PROP_getBoxObjectFor]&&goog$style$getStyle_(a,"position")=="absolute"&&(a[$$PROP_style].top==""||a[$$PROP_style][$$PROP_left]=="");if(typeof goog$style$BUGGY_CAMINO_=="undefined")goog$style$BUGGY_CAMINO_=goog$userAgent$CAMINO&&!goog$userAgent$isVersion("1.8.0.11");var d=new goog$math$Coordinate(0,0),e=goog$style$getClientViewportElement(b);if(a==e)return d;var f=null,g;if(a[$$PROP_getBoundingClientRect]&&!c){g=a[$$PROP_getBoundingClientRect]();var h=goog$dom$getDomHelper(b).getDocumentScroll();
d.x=g[$$PROP_left]+h.x;d.y=g.top+h.y}else if(b[$$PROP_getBoxObjectFor]&&!c&&!goog$style$BUGGY_CAMINO_){g=b[$$PROP_getBoxObjectFor](a);var j=b[$$PROP_getBoxObjectFor](e);d.x=g.screenX-j.screenX;d.y=g.screenY-j.screenY}else{f=a;do{d.x+=f[$$PROP_offsetLeft];d.y+=f[$$PROP_offsetTop];if(goog$userAgent$WEBKIT&&goog$style$getStyle_(f,"position")=="fixed"){d.x+=b[$$PROP_body][$$PROP_scrollLeft];d.y+=b[$$PROP_body][$$PROP_scrollTop];break}f=f.offsetParent}while(f&&f!=a);if(goog$userAgent$OPERA||goog$userAgent$WEBKIT&&
goog$style$getStyle_(a,"position")=="absolute")d.y-=b[$$PROP_body][$$PROP_offsetTop];f=a.offsetParent;while(f&&f!=b[$$PROP_body]){d.x-=f[$$PROP_scrollLeft];if(!goog$userAgent$OPERA||f[$$PROP_tagName]!="TR")d.y-=f[$$PROP_scrollTop];f=f.offsetParent}}if(goog$userAgent$GECKO&&a[$$PROP_getBoundingClientRect]){var i=goog$style$getStyle_(a,"position");if(i=="static"||i=="relative"){d.x=GLOBAL_Math[$$PROP_floor](d.x);d.y=GLOBAL_Math[$$PROP_floor](d.y)}}return d},goog$style$getRelativePosition=function(a,
b){var c=goog$style$getClientPosition(a),d=goog$style$getClientPosition(b);return new goog$math$Coordinate(c.x-d.x,c.y-d.y)},goog$style$getClientPosition=function(a){var b=new goog$math$Coordinate;if(a[$$PROP_nodeType]==1)if(a[$$PROP_getBoundingClientRect]){var c=a[$$PROP_getBoundingClientRect]();b.x=c[$$PROP_left];b.y=c.top}else{var d=goog$dom$getDomHelper(a).getDocumentScroll(),e=goog$style$getPageOffset(a);b.x=e.x-d.x;b.y=e.y-d.y}else{b.x=a[$$PROP_clientX];b.y=a.clientY}return b},goog$style$setSize=
function(a,b,c){var d;if(b instanceof goog$math$Size){d=b[$$PROP_height];b=b[$$PROP_width]}else{if(c==GLOBAL_undefined)throw GLOBAL_Error("missing height argument");d=c}SETPROP_width(a[$$PROP_style],typeof b=="number"?GLOBAL_Math[$$PROP_round](b)+"px":b);SETPROP_height(a[$$PROP_style],typeof d=="number"?GLOBAL_Math[$$PROP_round](d)+"px":d)},goog$style$getSize=function(a){if(goog$style$getStyle_(a,"display")!="none")return new goog$math$Size(a[$$PROP_offsetWidth],a.offsetHeight);var b=a[$$PROP_style],
c=b.display,d=b.visibility,e=b.position;SETPROP_visibility(b,"hidden");b.position="absolute";SETPROP_display(b,"");var f=a[$$PROP_offsetWidth],g=a.offsetHeight;SETPROP_display(b,c);b.position=e;SETPROP_visibility(b,d);return new goog$math$Size(f,g)},goog$style$toCamelCase=function(a){return GLOBAL_String(a)[$$PROP_replace](/\-([a-z])/g,function(b,c){return c.toUpperCase()})},goog$style$setOpacity=function(a,b){var c=a[$$PROP_style];if("opacity"in c)c.opacity=b;else if("MozOpacity"in c)c.MozOpacity=
b;else if("filter"in c)c.filter="alpha(opacity="+b*100+")"},goog$style$showElement=function(a,b){SETPROP_display(a[$$PROP_style],b?"":"none")},goog$style$hasUnguardedText_=function(a){return a?goog$isString(a)||a[$$PROP_nodeType]==3?true:goog$array$some(a,goog$style$hasUnguardedText_):false};goog$userAgent$GECKO&&!goog$userAgent$isVersion("1.9");
var goog$style$unselectableStyle_=goog$userAgent$GECKO?"MozUserSelect":goog$userAgent$WEBKIT?"WebkitUserSelect":null,goog$style$setUnselectable=function(a,b,c){var d=!c?a[$$PROP_getElementsByTagName]("*"):null,e=goog$style$unselectableStyle_;if(e){var f=b?"none":"";a[$$PROP_style][e]=f;if(d)for(var g=0,h;h=d[g];g++)h[$$PROP_style][e]=f}else if(goog$userAgent$IE||goog$userAgent$OPERA){var f=b?"on":"";a[$$PROP_setAttribute]("unselectable",f);if(d)for(var g=0,h;h=d[g];g++)h[$$PROP_setAttribute]("unselectable",
f)}};var goog$fx$dom$PredefinedEffect=function(a,b,c,d,e){goog$fx$Animation[$$PROP_call](this,b,c,d,e);this.element=a};goog$inherits(goog$fx$dom$PredefinedEffect,goog$fx$Animation);
var goog$fx$dom$Slide=function(a,b,c){goog$fx$dom$PredefinedEffect[$$PROP_apply](this,arguments);if(b[$$PROP_length]!=2||c[$$PROP_length]!=2){throw GLOBAL_Error("Start and end points must be 2D");return}var d=[goog$fx$Animation$EventType$BEGIN,goog$fx$Animation$EventType$ANIMATE,"end"];goog$events$listen(this,d,this.moveIt,false,this)};goog$inherits(goog$fx$dom$Slide,goog$fx$dom$PredefinedEffect);
goog$fx$dom$Slide[$$PROP_prototype].moveIt=function(a){SETPROP_left(this.element[$$PROP_style],GLOBAL_Math[$$PROP_round](a.x)+"px");this.element[$$PROP_style].top=GLOBAL_Math[$$PROP_round](a.y)+"px"};var goog$fx$dom$SlideFrom=function(a,b,c,d){var e=[a[$$PROP_offsetLeft],a[$$PROP_offsetTop]];goog$events$listen(this,goog$fx$Animation$EventType$BEGIN,this.setStartCoords,false,this);goog$fx$dom$Slide[$$PROP_call](this,a,e,b,c,d)};goog$inherits(goog$fx$dom$SlideFrom,goog$fx$dom$Slide);
goog$fx$dom$SlideFrom[$$PROP_prototype].setStartCoords=function(){this.startPoint_=[this.element[$$PROP_offsetLeft],this.element[$$PROP_offsetTop]]};
var goog$fx$dom$Swipe=function(a,b,c){goog$fx$dom$PredefinedEffect[$$PROP_apply](this,arguments);if(b[$$PROP_length]!=2||c[$$PROP_length]!=2){throw GLOBAL_Error("Start and end points must be 2D");return}var d=[goog$fx$Animation$EventType$BEGIN,goog$fx$Animation$EventType$ANIMATE,"end"];goog$events$listen(this,d,this.resize_,false,this);this.maxWidth_=GLOBAL_Math.max(this.endPoint_[0],this.startPoint_[0]);this.maxHeight_=GLOBAL_Math.max(this.endPoint_[1],this.startPoint_[1])};
goog$inherits(goog$fx$dom$Swipe,goog$fx$dom$PredefinedEffect);goog$fx$dom$Swipe[$$PROP_prototype].resize_=function(a){this.clip_(GLOBAL_Math[$$PROP_round](a.x),GLOBAL_Math[$$PROP_round](a.y),this.maxWidth_,this.maxHeight_);SETPROP_width(this.element[$$PROP_style],GLOBAL_Math[$$PROP_round](a.x)+"px");this.element[$$PROP_style].marginLeft=GLOBAL_Math[$$PROP_round](a.x)-this.maxWidth_+"px";this.element[$$PROP_style].marginTop=GLOBAL_Math[$$PROP_round](a.y)-this.maxHeight_+"px"};
goog$fx$dom$Swipe[$$PROP_prototype].clip_=function(a,b,c,d){this.element[$$PROP_style].clip="rect("+(d-b)+"px "+c+"px "+d+"px "+(c-a)+"px)"};var goog$fx$dom$Scroll=function(a,b,c){goog$fx$dom$PredefinedEffect[$$PROP_apply](this,arguments);if(b[$$PROP_length]!=2||c[$$PROP_length]!=2){throw GLOBAL_Error("Start and end points must be 2D");return}var d=[goog$fx$Animation$EventType$BEGIN,goog$fx$Animation$EventType$ANIMATE,"end"];goog$events$listen(this,d,this.scrollIt,false,this)};
goog$inherits(goog$fx$dom$Scroll,goog$fx$dom$PredefinedEffect);goog$fx$dom$Scroll[$$PROP_prototype].scrollIt=function(a){this.element.scrollLeft=GLOBAL_Math[$$PROP_round](a.x);this.element.scrollTop=GLOBAL_Math[$$PROP_round](a.y)};
var goog$fx$dom$Resize=function(a,b,c){goog$fx$dom$PredefinedEffect[$$PROP_apply](this,arguments);if(b[$$PROP_length]!=2||c[$$PROP_length]!=2){throw GLOBAL_Error("Start and end points must be 2D");return}var d=[goog$fx$Animation$EventType$BEGIN,goog$fx$Animation$EventType$ANIMATE,"end"];goog$events$listen(this,d,this.resize_,false,this)};goog$inherits(goog$fx$dom$Resize,goog$fx$dom$PredefinedEffect);
goog$fx$dom$Resize[$$PROP_prototype].resize_=function(a){SETPROP_width(this.element[$$PROP_style],GLOBAL_Math[$$PROP_round](a.x)+"px");SETPROP_height(this.element[$$PROP_style],GLOBAL_Math[$$PROP_round](a.y)+"px")};var goog$fx$dom$ResizeWidth=function(a,b,c,d,e){goog$fx$dom$PredefinedEffect[$$PROP_call](this,a,[b],[c],d,e);var f=[goog$fx$Animation$EventType$BEGIN,goog$fx$Animation$EventType$ANIMATE,"end"];goog$events$listen(this,f,this.resizeWidth_,false,this)};
goog$inherits(goog$fx$dom$ResizeWidth,goog$fx$dom$PredefinedEffect);goog$fx$dom$ResizeWidth[$$PROP_prototype].resizeWidth_=function(a){SETPROP_width(this.element[$$PROP_style],GLOBAL_Math[$$PROP_round](a.x)+"px")};var goog$fx$dom$ResizeHeight=function(a,b,c,d,e){goog$fx$dom$PredefinedEffect[$$PROP_call](this,a,[b],[c],d,e);var f=[goog$fx$Animation$EventType$BEGIN,goog$fx$Animation$EventType$ANIMATE,"end"];goog$events$listen(this,f,this.resizeHeight_,false,this)};
goog$inherits(goog$fx$dom$ResizeHeight,goog$fx$dom$PredefinedEffect);goog$fx$dom$ResizeHeight[$$PROP_prototype].resizeHeight_=function(a){SETPROP_height(this.element[$$PROP_style],GLOBAL_Math[$$PROP_round](a.x)+"px")};
var goog$fx$dom$Fade=function(a,b,c,d,e){if(typeof b=="number")b=[b];if(typeof c=="number")c=[c];goog$fx$dom$PredefinedEffect[$$PROP_call](this,a,b,c,d,e);if(b[$$PROP_length]!=1||c[$$PROP_length]!=1){throw GLOBAL_Error("Start and end points must be 1D");return}var f=[goog$fx$Animation$EventType$BEGIN,goog$fx$Animation$EventType$ANIMATE,"end"];goog$events$listen(this,f,this.fadeIt,false,this)};goog$inherits(goog$fx$dom$Fade,goog$fx$dom$PredefinedEffect);
goog$fx$dom$Fade[$$PROP_prototype].fadeIt=function(a){goog$style$setOpacity(this.element,a.x)};goog$fx$dom$Fade[$$PROP_prototype].show=function(){SETPROP_display(this.element[$$PROP_style],"")};goog$fx$dom$Fade[$$PROP_prototype].hide=function(){SETPROP_display(this.element[$$PROP_style],"none")};var goog$fx$dom$FadeOut=function(a,b,c){goog$fx$dom$Fade[$$PROP_call](this,a,1,0,b,c)};goog$inherits(goog$fx$dom$FadeOut,goog$fx$dom$Fade);
var goog$fx$dom$FadeIn=function(a,b,c){goog$fx$dom$Fade[$$PROP_call](this,a,0,1,b,c)};goog$inherits(goog$fx$dom$FadeIn,goog$fx$dom$Fade);var goog$fx$dom$FadeOutAndHide=function(a,b,c){goog$fx$dom$Fade[$$PROP_call](this,a,1,0,b,c);goog$events$listen(this,goog$fx$Animation$EventType$BEGIN,this.show,false,this);goog$events$listen(this,"end",this.hide,false,this)};goog$inherits(goog$fx$dom$FadeOutAndHide,goog$fx$dom$Fade);
var goog$fx$dom$FadeInAndShow=function(a,b,c){goog$fx$dom$Fade[$$PROP_call](this,a,0,1,b,c);goog$events$listen(this,goog$fx$Animation$EventType$BEGIN,this.show,false,this)};goog$inherits(goog$fx$dom$FadeInAndShow,goog$fx$dom$Fade);
var goog$fx$dom$BgColorTransform=function(a,b,c){goog$fx$dom$PredefinedEffect[$$PROP_apply](this,arguments);if(b[$$PROP_length]!=3||c[$$PROP_length]!=3){throw GLOBAL_Error("Start and end points must be 3D");return}var d=[goog$fx$Animation$EventType$BEGIN,goog$fx$Animation$EventType$ANIMATE,"end"];goog$events$listen(this,d,this.setColor,false,this)};goog$inherits(goog$fx$dom$BgColorTransform,goog$fx$dom$PredefinedEffect);
goog$fx$dom$BgColorTransform[$$PROP_prototype].setColor=function(a){var b="rgb("+a.coordsAsInts()[$$PROP_join](",")+")";this.element[$$PROP_style].backgroundColor=b};
var goog$fx$dom$ColorTransform=function(a,b,c){goog$fx$dom$PredefinedEffect[$$PROP_apply](this,arguments);if(b[$$PROP_length]!=3||c[$$PROP_length]!=3){throw GLOBAL_Error("Start and end points must be 3D");return}var d=[goog$fx$Animation$EventType$BEGIN,goog$fx$Animation$EventType$ANIMATE,"end"];goog$events$listen(this,d,this.setColor,false,this)};goog$inherits(goog$fx$dom$ColorTransform,goog$fx$dom$PredefinedEffect);
goog$fx$dom$ColorTransform[$$PROP_prototype].setColor=function(a){var b="rgb("+a.coordsAsInts()[$$PROP_join](",")+")";this.element[$$PROP_style].color="rgb("+b+")"};if("StopIteration"in goog$global)var goog$iter$StopIteration=goog$global.StopIteration;else goog$iter$StopIteration=GLOBAL_Error("StopIteration");var goog$iter$Iterator=function(){};goog$iter$Iterator[$$PROP_prototype].next=function(){throw goog$iter$StopIteration;};goog$iter$Iterator[$$PROP_prototype].__iterator__=function(){return this};var goog$structs$getValues=function(a){if(typeof a.getValues=="function")return a.getValues();if(goog$isString(a))return a[$$PROP_split]("");if(goog$isArrayLike(a)){var b=[],c=a[$$PROP_length];for(var d=0;d<c;d++)b[$$PROP_push](a[d]);return b}return goog$object$getValues(a)},goog$structs$getKeys=function(a){if(typeof a.getKeys=="function")return a.getKeys();if(typeof a.getValues=="function")return GLOBAL_undefined;if(goog$isArrayLike(a)||goog$isString(a)){var b=[],c=a[$$PROP_length];for(var d=0;d<
c;d++)b[$$PROP_push](d);return b}return goog$object$getKeys(a)},goog$structs$forEach=function(a,b,c){if(typeof a[$$PROP_forEach]=="function")a[$$PROP_forEach](b,c);else if(goog$isArrayLike(a)||goog$isString(a))goog$array$forEach(a,b,c);else{var d=goog$structs$getKeys(a),e=goog$structs$getValues(a),f=e[$$PROP_length];for(var g=0;g<f;g++)b[$$PROP_call](c,e[g],d&&d[g],a)}},goog$structs$addValueToMap=null,goog$structs$addValueToSet=null;var goog$structs$Map=function(a){this.map_={};this.keys_=[];var b=arguments[$$PROP_length];if(b>1){if(b%2)throw GLOBAL_Error("Uneven number of arguments");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};goog$structs$Map[$$PROP_prototype].count_=0;goog$structs$Map[$$PROP_prototype].version_=0;goog$structs$Map[$$PROP_prototype].getValues=function(){this.cleanupKeysArray_();var a=[];for(var b=0;b<this.keys_[$$PROP_length];b++){var c=this.keys_[b];a[$$PROP_push](this.map_[c])}return a};
goog$structs$Map[$$PROP_prototype].getKeys=function(){this.cleanupKeysArray_();return this.keys_.concat()};goog$structs$Map[$$PROP_prototype].containsKey=function(a){return goog$structs$Map$hasKey_(this.map_,a)};goog$structs$Map[$$PROP_prototype].clear=function(){this.map_={};SETPROP_length(this.keys_,0);this.count_=0;this.version_=0};
goog$structs$Map[$$PROP_prototype].remove=function(a){if(goog$structs$Map$hasKey_(this.map_,a)){delete this.map_[a];this.count_--;this.version_++;this.keys_[$$PROP_length]>2*this.count_&&this.cleanupKeysArray_();return true}return false};
goog$structs$Map[$$PROP_prototype].cleanupKeysArray_=function(){if(this.count_!=this.keys_[$$PROP_length]){var a=0,b=0;while(a<this.keys_[$$PROP_length]){var c=this.keys_[a];if(goog$structs$Map$hasKey_(this.map_,c))this.keys_[b++]=c;a++}SETPROP_length(this.keys_,b)}if(this.count_!=this.keys_[$$PROP_length]){var d={},a=0,b=0;while(a<this.keys_[$$PROP_length]){var c=this.keys_[a];if(!goog$structs$Map$hasKey_(d,c)){this.keys_[b++]=c;d[c]=1}a++}SETPROP_length(this.keys_,b)}};
goog$structs$Map[$$PROP_prototype].set=function(a,b){if(!goog$structs$Map$hasKey_(this.map_,a)){this.count_++;this.keys_[$$PROP_push](a);this.version_++}this.map_[a]=b};goog$structs$Map[$$PROP_prototype].addAll=function(a){var b,c;if(a instanceof goog$structs$Map){b=a.getKeys();c=a.getValues()}else{b=goog$object$getKeys(a);c=goog$object$getValues(a)}for(var d=0;d<b[$$PROP_length];d++)this.set(b[d],c[d])};goog$structs$Map[$$PROP_prototype].clone=function(){return new goog$structs$Map(this)};
goog$structs$Map[$$PROP_prototype].__iterator__=function(a){this.cleanupKeysArray_();var b=0,c=this.keys_,d=this.map_,e=this.version_,f=this,g=new goog$iter$Iterator;g.next=function(){while(true){if(e!=f.version_)throw GLOBAL_Error("The map has changed since the iterator was created");if(b>=c[$$PROP_length])throw goog$iter$StopIteration;var h=c[b++];return a?h:d[h]}};return g};
if(GLOBAL_Object[$$PROP_prototype][$$PROP_hasOwnProperty])var goog$structs$Map$hasKey_=function(a,b){return GLOBAL_Object[$$PROP_prototype][$$PROP_hasOwnProperty][$$PROP_call](a,b)};else goog$structs$Map$hasKey_=function(a,b){return b in a&&a[b]!==GLOBAL_Object[$$PROP_prototype][b]};var goog$structs$Map$set=function(a,b,c){if(typeof a.set=="function")a.set(b,c);else a[b]=c};goog$structs$addValueToMap=goog$structs$Map$set;var goog$structs$Set=function(a){this.map_=new goog$structs$Map;a&&this.addAll(a)},goog$structs$Set$getKey_=function(a){var b=typeof a;return b=="object"?"o"+goog$getHashCode(a):b[$$PROP_substr](0,1)+a};goog$structs$Set[$$PROP_prototype].add=function(a){this.map_.set(goog$structs$Set$getKey_(a),a)};goog$structs$Set[$$PROP_prototype].addAll=function(a){var b=goog$structs$getValues(a),c=b[$$PROP_length];for(var d=0;d<c;d++)this.add(b[d])};
goog$structs$Set[$$PROP_prototype].removeAll=function(a){var b=goog$structs$getValues(a),c=b[$$PROP_length];for(var d=0;d<c;d++)this.remove(b[d])};goog$structs$Set[$$PROP_prototype].remove=function(a){return this.map_.remove(goog$structs$Set$getKey_(a))};goog$structs$Set[$$PROP_prototype].clear=function(){this.map_.clear()};SETPROP_contains(goog$structs$Set[$$PROP_prototype],function(a){return this.map_.containsKey(goog$structs$Set$getKey_(a))});goog$structs$Set[$$PROP_prototype].getValues=function(){return this.map_.getValues()};
goog$structs$Set[$$PROP_prototype].clone=function(){return new goog$structs$Set(this)};goog$structs$Set[$$PROP_prototype].__iterator__=function(){return this.map_.__iterator__(false)};var goog$structs$Set$add=function(a,b){if(typeof a.add=="function")a.add(b);else if(goog$isArrayLike(a))a[a[$$PROP_length]]=b;else throw GLOBAL_Error('The collection does not know how to add "'+b+'"');};goog$structs$addValueToSet=goog$structs$Set$add;var goog$debug$exposeArray=function(a){var b=[];for(var c=0;c<a[$$PROP_length];c++)goog$isArray(a[c])?b[$$PROP_push](goog$debug$exposeArray(a[c])):b[$$PROP_push](a[c]);return"[ "+b[$$PROP_join](", ")+" ]"},goog$debug$exposeException=function(a,b){try{var c=goog$debug$normalizeErrorObject(a),d="Message: "+goog$string$htmlEscape(c[$$PROP_message])+'\nUrl: <a href="view-source:'+c[$$PROP_fileName]+'" target="_new">'+c[$$PROP_fileName]+"</a>\nLine: "+c.lineNumber+"\n\nBrowser stack:\n"+goog$string$htmlEscape(c.stack+
"-> ")+"[end]\n\nJS stack traversal:\n"+goog$string$htmlEscape(goog$debug$getStacktrace(b)+"-> ");return d}catch(e){return"Exception trying to expose exception! You win, we lose. "+e}},goog$debug$normalizeErrorObject=function(a){var b=goog$getObjectByName("document.location.href");return typeof a=="string"?{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"}:!a.lineNumber||!a[$$PROP_fileName]||!a.stack?{message:a[$$PROP_message],name:a[$$PROP_name],lineNumber:a.lineNumber||
a.line||"Not available",fileName:a[$$PROP_fileName]||a.sourceURL||b,stack:a.stack||"Not available"}:a},goog$debug$getStacktrace=function(a){return goog$debug$getStacktraceHelper_(a||arguments.callee.caller,[])},goog$debug$getStacktraceHelper_=function(a,b){var c=[];if(goog$array$contains(b,a))c[$$PROP_push]("[...circular reference...]");else if(a&&b[$$PROP_length]<50){c[$$PROP_push](goog$debug$getFunctionName(a)+"(");var d=a.arguments;for(var e=0;e<d[$$PROP_length];e++){e>0&&c[$$PROP_push](", ");
var f,g=d[e];switch(typeof g){case "object":f=g?"object":"null";break;case "string":f=g;break;case "number":f=GLOBAL_String(g);break;case "boolean":f=g?"true":"false";break;case "function":f=goog$debug$getFunctionName(g);f=f?f:"[fn]";break;case "undefined":default:f=typeof g;break}if(f[$$PROP_length]>40)f=f[$$PROP_substr](0,40)+"...";c[$$PROP_push](f)}b[$$PROP_push](a);c[$$PROP_push](")\n");try{c[$$PROP_push](goog$debug$getStacktraceHelper_(a.caller,b))}catch(h){c[$$PROP_push]("[exception trying to get caller]\n")}}else a?
c[$$PROP_push]("[...long stack...]"):c[$$PROP_push]("[end]");return c[$$PROP_join]("")},goog$debug$getFunctionName=function(a){var b=GLOBAL_String(a);if(!goog$debug$fnNameCache_[b]){var c=/function ([^\(]+)/.exec(b);if(c){var d=c[1];goog$debug$fnNameCache_[b]=d}else goog$debug$fnNameCache_[b]="[Anonymous]"}return goog$debug$fnNameCache_[b]},goog$debug$getAnonFunctionName_=function(a,b,c,d){if(goog$getObjectByName("document.all"))return"";var e=b||goog$global,f=c||"",g=d||0;if(e==a)return f;for(var h in e){if(h==
"Packages"||h=="sun"||h=="netscape"||h=="java")continue;if(e[h]==a)return f+h;if((typeof e[h]=="function"||typeof e[h]=="object")&&e[h]!=goog$global&&e[h]!=goog$getObjectByName("document")&&e[$$PROP_hasOwnProperty](h)&&g<6){var j=goog$debug$getAnonFunctionName_(a,e[h],f+h+".",g+1);if(j)return j}}return""},goog$debug$fnNameCache_={};var goog$debug$LogRecord=function(a,b,c){this.sequenceNumber_=goog$debug$LogRecord$nextSequenceNumber_++;this.time_=goog$now();this.level_=a;this.msg_=b;this.loggerName_=c};goog$debug$LogRecord[$$PROP_prototype].exception_=null;goog$debug$LogRecord[$$PROP_prototype].exceptionText_=null;var goog$debug$LogRecord$nextSequenceNumber_=0;goog$debug$LogRecord[$$PROP_prototype].setException=function(a){this.exception_=a};
goog$debug$LogRecord[$$PROP_prototype].setExceptionText=function(a){this.exceptionText_=a};goog$debug$LogRecord[$$PROP_prototype].getLevel=function(){return this.level_};goog$debug$LogRecord[$$PROP_prototype].setLevel=function(a){this.level_=a};var goog$debug$Logger=function(a){this.name_=a;this.parent_=null;this.children_={};this.handlers_=[]};goog$debug$Logger[$$PROP_prototype].level_=null;var goog$debug$Logger$Level=function(a,b){this.name=a;SETPROP_value(this,b)};SETPROP_toString(goog$debug$Logger$Level[$$PROP_prototype],function(){return this[$$PROP_name]});new goog$debug$Logger$Level("OFF",Infinity);new goog$debug$Logger$Level("SHOUT",1200);new goog$debug$Logger$Level("SEVERE",1000);
var goog$debug$Logger$Level$WARNING=new goog$debug$Logger$Level("WARNING",900);new goog$debug$Logger$Level("INFO",800);var goog$debug$Logger$Level$CONFIG=new goog$debug$Logger$Level("CONFIG",700),goog$debug$Logger$Level$FINE=new goog$debug$Logger$Level("FINE",500);new goog$debug$Logger$Level("FINER",400);var goog$debug$Logger$Level$FINEST=new goog$debug$Logger$Level("FINEST",300);new goog$debug$Logger$Level("ALL",0);goog$debug$Logger[$$PROP_prototype].getParent=function(){return this.parent_};
goog$debug$Logger[$$PROP_prototype].setLevel=function(a){this.level_=a};goog$debug$Logger[$$PROP_prototype].getLevel=function(){return this.level_};goog$debug$Logger[$$PROP_prototype].isLoggable=function(a){if(this.level_)return a[$$PROP_value]>=this.level_[$$PROP_value];if(this.parent_)return this.parent_.isLoggable(a);return false};
goog$debug$Logger[$$PROP_prototype].log=function(a,b,c){if(!this.isLoggable(a))return;var d=new goog$debug$LogRecord(a,GLOBAL_String(b),this.name_);if(c){d.setException(c);d.setExceptionText(goog$debug$exposeException(c,arguments.callee.caller))}this.logRecord(d)};goog$debug$Logger[$$PROP_prototype].warning=function(a,b){this.log(goog$debug$Logger$Level$WARNING,a,b)};goog$debug$Logger[$$PROP_prototype].fine=function(a,b){this.log(goog$debug$Logger$Level$FINE,a,b)};
goog$debug$Logger[$$PROP_prototype].finest=function(a,b){this.log(goog$debug$Logger$Level$FINEST,a,b)};goog$debug$Logger[$$PROP_prototype].logRecord=function(a){if(!this.isLoggable(a.getLevel()))return;var b=this;while(b){b.callPublish_(a);b=b.getParent()}};goog$debug$Logger[$$PROP_prototype].callPublish_=function(a){for(var b=0;b<this.handlers_[$$PROP_length];b++)this.handlers_[b](a)};goog$debug$Logger[$$PROP_prototype].setParent_=function(a){this.parent_=a};
goog$debug$Logger[$$PROP_prototype].addChild_=function(a,b){this.children_[a]=b};
var goog$debug$LogManager$loggers_={},goog$debug$LogManager$rootLogger_=null,goog$debug$LogManager$initialize=function(){if(!goog$debug$LogManager$rootLogger_){goog$debug$LogManager$rootLogger_=new goog$debug$Logger("");goog$debug$LogManager$loggers_[""]=goog$debug$LogManager$rootLogger_;goog$debug$LogManager$rootLogger_.setLevel(goog$debug$Logger$Level$CONFIG)}},goog$debug$LogManager$getLogger=function(a){goog$debug$LogManager$initialize();return a in goog$debug$LogManager$loggers_?goog$debug$LogManager$loggers_[a]:
goog$debug$LogManager$createLogger_(a)},goog$debug$LogManager$createLogger_=function(a){var b=new goog$debug$Logger(a),c=a[$$PROP_split]("."),d=c[c[$$PROP_length]-1];SETPROP_length(c,c[$$PROP_length]-1);var e=c[$$PROP_join]("."),f=goog$debug$LogManager$getLogger(e);f.addChild_(d,b);b.setParent_(f);goog$debug$LogManager$loggers_[a]=b;return b};var goog$net$EventType$COMPLETE="complete";var goog$net$XhrMonitor_=function(){if(!goog$userAgent$GECKO)return;this.contextsToXhr_={};this.xhrToContexts_={};this.stack_=[]};goog$net$XhrMonitor_[$$PROP_prototype].logger_=goog$debug$LogManager$getLogger("goog.net.xhrMonitor");goog$net$XhrMonitor_[$$PROP_prototype].pushContext=function(a){if(!goog$userAgent$GECKO)return;var b=goog$isString(a)?a:goog$isObject(a)?goog$getHashCode(a):"";this.logger_.finest("Pushing context: "+a+" ("+b+")");this.stack_[$$PROP_push](b)};
goog$net$XhrMonitor_[$$PROP_prototype].popContext=function(){if(!goog$userAgent$GECKO)return;var a=this.stack_.pop();this.logger_.finest("Popping context: "+a);this.updateDependentContexts_(a)};goog$net$XhrMonitor_[$$PROP_prototype].markXhrOpen=function(a){if(!goog$userAgent$GECKO)return;var b=goog$getHashCode(a);this.logger_.fine("Opening XHR : "+b);for(var c=0;c<this.stack_[$$PROP_length];c++){var d=this.stack_[c];this.addToMap_(this.contextsToXhr_,d,b);this.addToMap_(this.xhrToContexts_,b,d)}};
goog$net$XhrMonitor_[$$PROP_prototype].markXhrClosed=function(a){if(!goog$userAgent$GECKO)return;var b=goog$getHashCode(a);this.logger_.fine("Closing XHR : "+b);delete this.xhrToContexts_[b];for(var c in this.contextsToXhr_){goog$array$remove(this.contextsToXhr_[c],b);this.contextsToXhr_[c][$$PROP_length]==0&&delete this.contextsToXhr_[c]}};
goog$net$XhrMonitor_[$$PROP_prototype].updateDependentContexts_=function(a){var b=this.xhrToContexts_[a],c=this.contextsToXhr_[a];if(b&&c){this.logger_.finest("Updating dependent contexts");goog$array$forEach(b,function(d){goog$array$forEach(c,function(e){this.addToMap_(this.contextsToXhr_,d,e);this.addToMap_(this.xhrToContexts_,e,d)},this)},this)}};goog$net$XhrMonitor_[$$PROP_prototype].addToMap_=function(a,b,c){a[b]||(a[b]=[]);goog$array$contains(a[b],c)||a[b][$$PROP_push](c)};
var goog$net$xhrMonitor=new goog$net$XhrMonitor_;var goog$net$XmlHttp=function(){return goog$net$XmlHttp$factory_()};
var goog$net$XmlHttp$factory_=null,goog$net$XmlHttp$optionsFactory_=null,goog$net$XmlHttp$cachedOptions_=null,goog$net$XmlHttp$setFactory=function(a,b){goog$net$XmlHttp$factory_=a;goog$net$XmlHttp$optionsFactory_=b;goog$net$XmlHttp$cachedOptions_=null},goog$net$XmlHttp$defaultFactory_=function(){var a=goog$net$XmlHttp$getProgId_();return a?new ActiveXObject(a):new XMLHttpRequest},goog$net$XmlHttp$defaultOptionsFactory_=function(){var a=goog$net$XmlHttp$getProgId_(),b={};if(a){b[0]=true;b[1]=true}return b};
goog$net$XmlHttp$setFactory(goog$net$XmlHttp$defaultFactory_,goog$net$XmlHttp$defaultOptionsFactory_);
var goog$net$XmlHttp$ieProgId_=null,goog$net$XmlHttp$getProgId_=function(){if(!goog$net$XmlHttp$ieProgId_&&typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(var b=0;b<a[$$PROP_length];b++){var c=a[b];try{new ActiveXObject(c);goog$net$XmlHttp$ieProgId_=c;return c}catch(d){}}throw GLOBAL_Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return goog$net$XmlHttp$ieProgId_};var goog$net$XhrIo=function(){goog$events$EventTarget[$$PROP_call](this);this.headers=new goog$structs$Map};goog$inherits(goog$net$XhrIo,goog$events$EventTarget);goog$net$XhrIo[$$PROP_prototype].logger_=goog$debug$LogManager$getLogger("goog.net.XhrIo");
var goog$net$XhrIo$CONTENT_TYPE_HEADER="Content-Type",goog$net$XhrIo$FORM_CONTENT_TYPE="application/x-www-form-urlencoded;charset=utf-8",goog$net$XhrIo$sendInstances_=[],goog$net$XhrIo$send=function(a,b,c,d,e,f){var g=new goog$net$XhrIo;goog$net$XhrIo$sendInstances_[$$PROP_push](g);b&&goog$events$listen(g,goog$net$EventType$COMPLETE,b);goog$events$listen(g,"ready",goog$partial(goog$net$XhrIo$cleanupSend_,g));f&&g.setTimeoutInterval(f);g.send(a,c,d,e)},goog$net$XhrIo$cleanup=function(){var a=goog$net$XhrIo$sendInstances_;
while(a[$$PROP_length])a.pop().dispose()},goog$net$XhrIo$protectEntryPoints=function(a,b){goog$net$XhrIo[$$PROP_prototype].onReadyStateChangeEntryPoint_=a.protectEntryPoint(goog$net$XhrIo[$$PROP_prototype].onReadyStateChangeEntryPoint_,b)},goog$net$XhrIo$cleanupSend_=function(a){a.dispose();goog$array$remove(goog$net$XhrIo$sendInstances_,a)};goog$net$XhrIo[$$PROP_prototype].active_=false;goog$net$XhrIo[$$PROP_prototype].xhr_=null;goog$net$XhrIo[$$PROP_prototype].xhrOptions_=null;
goog$net$XhrIo[$$PROP_prototype].lastUri_="";goog$net$XhrIo[$$PROP_prototype].lastMethod_="";goog$net$XhrIo[$$PROP_prototype].lastErrorCode_=0;goog$net$XhrIo[$$PROP_prototype].lastError_="";goog$net$XhrIo[$$PROP_prototype].errorDispatched_=false;goog$net$XhrIo[$$PROP_prototype].inSend_=false;goog$net$XhrIo[$$PROP_prototype].inOpen_=false;goog$net$XhrIo[$$PROP_prototype].inAbort_=false;goog$net$XhrIo[$$PROP_prototype].timeoutInterval_=0;goog$net$XhrIo[$$PROP_prototype].timeoutId_=null;
goog$net$XhrIo[$$PROP_prototype].setTimeoutInterval=function(a){this.timeoutInterval_=GLOBAL_Math.max(0,a)};
goog$net$XhrIo[$$PROP_prototype].send=function(a,b,c,d){if(this.active_)throw GLOBAL_Error("[goog.net.XhrIo] Object is active with another request");var e=b||"GET";this.lastUri_=a;this.lastError_="";this.lastErrorCode_=0;this.lastMethod_=e;this.errorDispatched_=false;this.active_=true;this.xhr_=new goog$net$XmlHttp;this.xhrOptions_=goog$net$XmlHttp$cachedOptions_||(goog$net$XmlHttp$cachedOptions_=goog$net$XmlHttp$optionsFactory_());goog$net$xhrMonitor.markXhrOpen(this.xhr_);this.xhr_.onreadystatechange=
goog$bind(this.onReadyStateChange_,this);try{this.logger_.fine(this.formatMsg_("Opening Xhr"));this.inOpen_=true;this.xhr_.open(e,a,true);this.inOpen_=false}catch(f){this.logger_.fine(this.formatMsg_("Error opening Xhr: "+f[$$PROP_message]));this.error_(5,f);return}var g=c?GLOBAL_String(c):"",h=this.headers.clone();d&&goog$structs$forEach(d,function(j,i){h.set(i,j)});e=="POST"&&!h.containsKey(goog$net$XhrIo$CONTENT_TYPE_HEADER)&&h.set(goog$net$XhrIo$CONTENT_TYPE_HEADER,goog$net$XhrIo$FORM_CONTENT_TYPE);
goog$structs$forEach(h,function(j,i){this.xhr_.setRequestHeader(i,j)},this);try{if(this.timeoutId_){goog$Timer$defaultTimerObject[$$PROP_clearTimeout](this.timeoutId_);this.timeoutId_=null}if(this.timeoutInterval_>0){this.logger_.fine(this.formatMsg_("Will abort after "+this.timeoutInterval_+"ms if incomplete"));this.timeoutId_=goog$Timer$defaultTimerObject[$$PROP_setTimeout](goog$bind(this.timeout_,this),this.timeoutInterval_)}this.logger_.fine(this.formatMsg_("Sending request"));this.inSend_=true;
this.xhr_.send(g);this.inSend_=false}catch(f){this.logger_.fine(this.formatMsg_("Send error: "+f[$$PROP_message]));this.error_(5,f)}};goog$net$XhrIo[$$PROP_prototype].dispatchEvent=function(a){if(this.xhr_){goog$net$xhrMonitor.pushContext(this.xhr_);try{goog$net$XhrIo.superClass_[$$PROP_dispatchEvent][$$PROP_call](this,a)}finally{goog$net$xhrMonitor.popContext()}}else goog$net$XhrIo.superClass_[$$PROP_dispatchEvent][$$PROP_call](this,a)};
goog$net$XhrIo[$$PROP_prototype].timeout_=function(){if(!(typeof goog=="undefined"))if(this.xhr_){this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting";this.lastErrorCode_=8;this.logger_.fine(this.formatMsg_(this.lastError_));this[$$PROP_dispatchEvent]("timeout");this[$$PROP_abort](8)}};
goog$net$XhrIo[$$PROP_prototype].error_=function(a,b){this.active_=false;if(this.xhr_){this.inAbort_=true;this.xhr_[$$PROP_abort]();this.inAbort_=false}this.lastError_=b;this.lastErrorCode_=a;this.dispatchErrors_();this.cleanUpXhr_()};goog$net$XhrIo[$$PROP_prototype].dispatchErrors_=function(){if(!this.errorDispatched_){this.errorDispatched_=true;this[$$PROP_dispatchEvent](goog$net$EventType$COMPLETE);this[$$PROP_dispatchEvent]("error")}};
goog$net$XhrIo[$$PROP_prototype].abort=function(a){if(this.xhr_){this.logger_.fine(this.formatMsg_("Aborting"));this.active_=false;this.inAbort_=true;this.xhr_[$$PROP_abort]();this.inAbort_=false;this.lastErrorCode_=a||7;this[$$PROP_dispatchEvent](goog$net$EventType$COMPLETE);this[$$PROP_dispatchEvent]("abort");this.cleanUpXhr_()}};goog$net$XhrIo[$$PROP_prototype].disposeInternal=function(){if(this.xhr_){this.active_=false;this.inAbort_=true;this.xhr_[$$PROP_abort]();this.inAbort_=false;this.cleanUpXhr_(true)}goog$net$XhrIo.superClass_.disposeInternal[$$PROP_call](this)};
goog$net$XhrIo[$$PROP_prototype].onReadyStateChange_=function(){!this.inOpen_&&!this.inSend_&&!this.inAbort_?this.onReadyStateChangeEntryPoint_():this.onReadyStateChangeHelper_()};goog$net$XhrIo[$$PROP_prototype].onReadyStateChangeEntryPoint_=function(){this.onReadyStateChangeHelper_()};
goog$net$XhrIo[$$PROP_prototype].onReadyStateChangeHelper_=function(){if(!this.active_)return;if(!(typeof goog=="undefined"))if(this.xhrOptions_[1]&&this.getReadyState()==4&&this.getStatus()==2)this.logger_.fine(this.formatMsg_("Local request error detected and ignored"));else{if(this.inSend_&&this.getReadyState()==4){goog$Timer$callOnce(this.onReadyStateChange_,0,this);return}this[$$PROP_dispatchEvent]("readystatechange");if(this.isComplete()){this.logger_.fine(this.formatMsg_("Request complete"));
this.active_=false;if(this.isSuccess()){this[$$PROP_dispatchEvent](goog$net$EventType$COMPLETE);this[$$PROP_dispatchEvent]("success")}else{this.lastErrorCode_=6;this.lastError_=this.getStatusText()+" ["+this.getStatus()+"]";this.dispatchErrors_()}this.cleanUpXhr_()}}};
goog$net$XhrIo[$$PROP_prototype].cleanUpXhr_=function(a){if(this.xhr_){this.xhr_.onreadystatechange=this.xhrOptions_[0]?goog$nullFunction:null;var b=this.xhr_;this.xhr_=null;this.xhrOptions_=null;if(this.timeoutId_){goog$Timer$defaultTimerObject[$$PROP_clearTimeout](this.timeoutId_);this.timeoutId_=null}if(!a){goog$net$xhrMonitor.pushContext(b);this[$$PROP_dispatchEvent]("ready");goog$net$xhrMonitor.popContext()}goog$net$xhrMonitor.markXhrClosed(b)}};goog$net$XhrIo[$$PROP_prototype].isActive=function(){return this.active_};
goog$net$XhrIo[$$PROP_prototype].isComplete=function(){return this.getReadyState()==4};goog$net$XhrIo[$$PROP_prototype].isSuccess=function(){switch(this.getStatus()){case 0:case 200:case 204:case 304:return true;default:return false}};goog$net$XhrIo[$$PROP_prototype].getReadyState=function(){return this.xhr_?this.xhr_.readyState:0};
goog$net$XhrIo[$$PROP_prototype].getStatus=function(){try{return this.getReadyState()>2?this.xhr_.status:-1}catch(a){this.logger_.warning("Can not get status: "+a[$$PROP_message]);return-1}};goog$net$XhrIo[$$PROP_prototype].getStatusText=function(){try{return this.getReadyState()>2?this.xhr_.statusText:""}catch(a){this.logger_.fine("Can not get status: "+a[$$PROP_message]);return""}};goog$net$XhrIo[$$PROP_prototype].getResponseXml=function(){return this.xhr_?this.xhr_.responseXML:null};
goog$net$XhrIo[$$PROP_prototype].getResponseHeader=function(a){return this.xhr_&&this.isComplete()?this.xhr_.getResponseHeader(a):GLOBAL_undefined};goog$net$XhrIo[$$PROP_prototype].formatMsg_=function(a){return a+" ["+this.lastMethod_+" "+this.lastUri_+" "+this.getStatus()+"]"};var goog$net$XhrLite=goog$net$XhrIo;goog$net$XhrLite.send=goog$net$XhrIo$send;goog$net$XhrLite.cleanup=goog$net$XhrIo$cleanup;goog$net$XhrLite.protectEntryPoints=goog$net$XhrIo$protectEntryPoints;goog$net$XhrLite.cleanupSend_=goog$net$XhrIo$cleanupSend_;goog$net$XhrLite.CONTENT_TYPE_HEADER=goog$net$XhrIo$CONTENT_TYPE_HEADER;goog$net$XhrLite.FORM_CONTENT_TYPE=goog$net$XhrIo$FORM_CONTENT_TYPE;goog$net$XhrLite.sendInstances_=goog$net$XhrIo$sendInstances_;var goog$dom$a11y$NEEDS_NAMESPACE_=goog$userAgent$GECKO&&!goog$userAgent$isVersion("1.9a"),goog$dom$a11y$setRole=function(a,b){if(goog$userAgent$GECKO){a[$$PROP_setAttribute]("role",b);a.roleName=b}},goog$dom$a11y$setState=function(a,b,c){if(goog$userAgent$GECKO)goog$dom$a11y$NEEDS_NAMESPACE_?a.setAttributeNS("http://www.w3.org/2005/07/aaa",b,c):a[$$PROP_setAttribute]("aria-"+b,c)};var goog$ui$IdGenerator=function(){};goog$ui$IdGenerator[$$PROP_prototype].nextId_=0;goog$ui$IdGenerator[$$PROP_prototype].getNextUniqueId=function(){return":"+(this.nextId_++).toString(36)};var goog$ui$IdGenerator$instance=new goog$ui$IdGenerator;var goog$ui$Component=function(a){goog$events$EventTarget[$$PROP_call](this);this.dom_=a||goog$dom$getDomHelper();this.rightToLeft_=goog$ui$Component$defaultRightToLeft_};goog$inherits(goog$ui$Component,goog$events$EventTarget);goog$ui$Component[$$PROP_prototype].idGenerator_=goog$ui$IdGenerator$instance;
var goog$ui$Component$defaultRightToLeft_=null,goog$ui$Component$Error$ALREADY_RENDERED="Component already rendered",goog$ui$Component$Error$PARENT_UNABLE_TO_BE_SET="Unable to set parent component",goog$ui$Component$getStateTransitionEvent=function(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 GLOBAL_Error("Invalid component state");};goog$ui$Component[$$PROP_prototype].id_=null;goog$ui$Component[$$PROP_prototype].dom_=null;goog$ui$Component[$$PROP_prototype].inDocument_=false;goog$ui$Component[$$PROP_prototype].element_=null;goog$ui$Component[$$PROP_prototype].rightToLeft_=null;goog$ui$Component[$$PROP_prototype].model_=null;goog$ui$Component[$$PROP_prototype].parent_=null;goog$ui$Component[$$PROP_prototype].children_=null;
goog$ui$Component[$$PROP_prototype].childIndex_=null;goog$ui$Component[$$PROP_prototype].wasDecorated_=null;goog$ui$Component[$$PROP_prototype].getId=function(){return this.id_||(this.id_=this.idGenerator_.getNextUniqueId())};goog$ui$Component[$$PROP_prototype].getElement=function(){return this.element_};goog$ui$Component[$$PROP_prototype].setElementInternal=function(a){this.element_=a};
goog$ui$Component[$$PROP_prototype].setParent=function(a){if(this==a)throw GLOBAL_Error(goog$ui$Component$Error$PARENT_UNABLE_TO_BE_SET);if(a&&this.parent_&&this.id_&&this.parent_.getChild(this.id_))throw GLOBAL_Error(goog$ui$Component$Error$PARENT_UNABLE_TO_BE_SET);this.parent_=a};goog$ui$Component[$$PROP_prototype].getParent=function(){return this.parent_};goog$ui$Component[$$PROP_prototype].getParentEventTarget=function(){return this.parent_};goog$ui$Component[$$PROP_prototype].isInDocument=function(){return this.inDocument_};
goog$ui$Component[$$PROP_prototype].createDom=function(){this.element_=this.dom_[$$PROP_createElement]("div")};goog$ui$Component[$$PROP_prototype].render=function(a){this.render_(a)};goog$ui$Component[$$PROP_prototype].render_=function(a,b){if(this.inDocument_)throw GLOBAL_Error(goog$ui$Component$Error$ALREADY_RENDERED);this.element_||this.createDom();a?a.insertBefore(this.element_,b||null):this.dom_.getDocument()[$$PROP_body][$$PROP_appendChild](this.element_);if(!this.parent_||this.parent_.isInDocument())this.enterDocument()};
goog$ui$Component[$$PROP_prototype].enterDocument=function(){this.inDocument_=true;this.forEachChild(function(a){!a.isInDocument()&&a.getElement()&&a.enterDocument()})};goog$ui$Component[$$PROP_prototype].exitDocument=function(){this.forEachChild(function(a){a.isInDocument()&&a.exitDocument()});this.inDocument_=false};
goog$ui$Component[$$PROP_prototype].disposeInternal=function(){goog$ui$Component.superClass_.disposeInternal[$$PROP_call](this);this.inDocument_&&this.exitDocument();this.forEachChild(function(a){a.dispose()});!this.wasDecorated_&&this.element_&&goog$dom$removeNode(this.element_);this.children_=null;this.childIndex_=null;this.element_=null;this.model_=null;this.parent_=null};
goog$ui$Component[$$PROP_prototype].isRightToLeft=function(){if(this.rightToLeft_==null)this.rightToLeft_="rtl"==goog$style$getStyle_(this.inDocument_?this.element_:this.dom_.getDocument()[$$PROP_body],"direction");return this.rightToLeft_};goog$ui$Component[$$PROP_prototype].setRightToLeft=function(a){if(this.inDocument_)throw GLOBAL_Error(goog$ui$Component$Error$ALREADY_RENDERED);this.rightToLeft_=a};
goog$ui$Component[$$PROP_prototype].getChild=function(a){return this.childIndex_&&a?goog$object$get(this.childIndex_,a)||null:null};goog$ui$Component[$$PROP_prototype].forEachChild=function(a,b){this.children_&&goog$array$forEach(this.children_,a,b)};
goog$ui$Component[$$PROP_prototype].removeChild=function(a,b){if(a){var c=goog$isString(a)?a:a.getId();a=this.getChild(c);if(c&&a){goog$object$remove(this.childIndex_,c);goog$array$remove(this.children_,a);if(b){a.exitDocument();a.element_&&goog$dom$removeNode(a.element_)}a.setParent(null)}}if(!a)throw GLOBAL_Error("Child is not in parent component");return a};var goog$ui$ControlRenderer=function(){},goog$ui$ControlRenderer$ARIA_STATE_MAP_;goog$addSingletonGetter(goog$ui$ControlRenderer);goog$ui$ControlRenderer[$$PROP_prototype].getAriaRole=function(){return GLOBAL_undefined};goog$ui$ControlRenderer[$$PROP_prototype].createDom=function(a){return a.dom_.createDom("div",{className:this.getClassNames(a)[$$PROP_join](" ")},a.getContent())};
goog$ui$ControlRenderer[$$PROP_prototype].initializeDom=function(a){a.isRightToLeft()&&this.setRightToLeft(a.getElement(),true);a.isEnabled()&&this.setFocusable(a,a.isVisible())};goog$ui$ControlRenderer[$$PROP_prototype].setAriaRole=function(a){if(goog$userAgent$GECKO){var b=this.getAriaRole();b&&goog$dom$a11y$setRole(a,b)}};goog$ui$ControlRenderer[$$PROP_prototype].setAllowTextSelection=function(a,b){goog$style$setUnselectable(a,!b,!goog$userAgent$IE&&!goog$userAgent$OPERA)};
goog$ui$ControlRenderer[$$PROP_prototype].setRightToLeft=function(a,b){goog$dom$classes$enable(a,this.getStructuralCssClass()+"-rtl",b)};goog$ui$ControlRenderer[$$PROP_prototype].isFocusable=function(a){var b;if(a.isSupportedState(32)&&(b=a.getKeyEventTarget()))return goog$dom$isFocusableTabIndex(b);return false};
goog$ui$ControlRenderer[$$PROP_prototype].setFocusable=function(a,b){var c;if(a.isSupportedState(32)&&(c=a.getKeyEventTarget())){if(!b&&a.isFocused()){try{c.blur()}catch(d){}a.isFocused()&&a.handleBlur(null)}goog$dom$isFocusableTabIndex(c)!=b&&goog$dom$setFocusableTabIndex(c,b)}};goog$ui$ControlRenderer[$$PROP_prototype].setVisible=function(a,b){goog$style$showElement(a,b)};
goog$ui$ControlRenderer[$$PROP_prototype].setState=function(a,b,c){var d=a.getElement();if(d){var e=this.getClassForState(b);e&&goog$dom$classes$enable(d,e,c);this.updateAriaState(d,b,c)}};
goog$ui$ControlRenderer[$$PROP_prototype].updateAriaState=function(a,b,c){if(goog$userAgent$GECKO){goog$ui$ControlRenderer$ARIA_STATE_MAP_||(goog$ui$ControlRenderer$ARIA_STATE_MAP_=goog$object$create(1,"disabled",4,"pressed",8,"selected",16,"checked",64,"expanded"));var d=goog$ui$ControlRenderer$ARIA_STATE_MAP_[b];d&&goog$dom$a11y$setState(a,d,c)}};goog$ui$ControlRenderer[$$PROP_prototype].getKeyEventTarget=function(a){return a.getElement()};goog$ui$ControlRenderer[$$PROP_prototype].getCssClass=function(){return"goog-control"};
goog$ui$ControlRenderer[$$PROP_prototype].getStructuralCssClass=function(){return this.getCssClass()};goog$ui$ControlRenderer[$$PROP_prototype].getClassNames=function(a){var b=this.getCssClass(),c=[b],d=this.getStructuralCssClass();d!=b&&c[$$PROP_push](d);var e=this.getClassNamesForState(a.getState());e&&c[$$PROP_push][$$PROP_apply](c,e);var f=a.getExtraClassNames();f&&c[$$PROP_push][$$PROP_apply](c,f);return c};
goog$ui$ControlRenderer[$$PROP_prototype].getClassNamesForState=function(a){if(a){var b=[];for(var c=1;a;c<<=1)if(a&c){b[$$PROP_push](this.getClassForState(c));a&=~c}return b}return null};goog$ui$ControlRenderer[$$PROP_prototype].getClassForState=function(a){this.classByState_||this.createClassByStateMap_();return this.classByState_[a]};
goog$ui$ControlRenderer[$$PROP_prototype].createClassByStateMap_=function(){var a=this.getStructuralCssClass();this.classByState_=goog$object$create(1,a+"-disabled",2,a+"-hover",4,a+"-active",8,a+"-selected",16,a+"-checked",32,a+"-focused",64,a+"-open")};var goog$ui$ButtonRenderer=function(){goog$ui$ControlRenderer[$$PROP_call](this)};goog$inherits(goog$ui$ButtonRenderer,goog$ui$ControlRenderer);goog$addSingletonGetter(goog$ui$ButtonRenderer);goog$ui$ButtonRenderer[$$PROP_prototype].getAriaRole=function(){return"button"};goog$ui$ButtonRenderer[$$PROP_prototype].createDom=function(a){var b=goog$ui$ButtonRenderer.superClass_.createDom[$$PROP_call](this,a),c=a.getTooltip();c&&this.setTooltip(b,c);var d=a.getValue();d&&this.setValue(b,d);return b};
goog$ui$ButtonRenderer[$$PROP_prototype].getValue=goog$nullFunction;goog$ui$ButtonRenderer[$$PROP_prototype].setValue=goog$nullFunction;goog$ui$ButtonRenderer[$$PROP_prototype].getTooltip=function(a){return a[$$PROP_title]};goog$ui$ButtonRenderer[$$PROP_prototype].setTooltip=function(a,b){if(a)a.title=b||""};goog$ui$ButtonRenderer[$$PROP_prototype].getCssClass=function(){return"goog-button"};var goog$events$EventHandler=function(a){this.handler_=a};goog$inherits(goog$events$EventHandler,goog$Disposable);var goog$events$EventHandler$keyPool_=new goog$structs$SimplePool(0,100);
goog$events$EventHandler[$$PROP_prototype].listen=function(a,b,c,d,e){if(goog$isArray(b)){for(var f=0;f<b[$$PROP_length];f++)this.listen(a,b[f],c,d,e);return}var g=goog$events$listen(a,b,c||this,d||false,e||this.handler_||this);if(this.keys_)this.keys_[g]=true;else if(this.key_){this.keys_=goog$events$EventHandler$keyPool_.getObject();this.keys_[this.key_]=true;this.key_=null;this.keys_[g]=true}else this.key_=g};
goog$events$EventHandler[$$PROP_prototype].unlisten=function(a,b,c,d,e){if(!this.key_&&!this.keys_)return;if(goog$isArray(b)){for(var f=0;f<b[$$PROP_length];f++)this.unlisten(a,b[f],c,d,e);return}var g=goog$events$getListener(a,b,c||this,d||false,e||this.handler_||this);if(g){var h=g.key;goog$events$unlistenByKey(h);if(this.keys_)goog$object$remove(this.keys_,h);else if(this.key_==h)this.key_=null}};
goog$events$EventHandler[$$PROP_prototype].removeAll=function(){if(this.keys_){for(var a in this.keys_){goog$events$unlistenByKey(a);delete this.keys_[a]}goog$events$EventHandler$keyPool_.releaseObject(this.keys_);this.keys_=null}else this.key_&&goog$events$unlistenByKey(this.key_)};goog$events$EventHandler[$$PROP_prototype].disposeInternal=function(){goog$events$EventHandler.superClass_.disposeInternal[$$PROP_call](this);this.removeAll()};
goog$events$EventHandler[$$PROP_prototype].handleEvent=function(){throw GLOBAL_Error("EventHandler.handleEvent not implemented");};var goog$events$KeyHandler=function(a){goog$events$EventTarget[$$PROP_call](this);a&&this.attach(a)};goog$inherits(goog$events$KeyHandler,goog$events$EventTarget);goog$events$KeyHandler[$$PROP_prototype].element_=null;goog$events$KeyHandler[$$PROP_prototype].keyPressKey_=null;goog$events$KeyHandler[$$PROP_prototype].keyDownKey_=null;goog$events$KeyHandler[$$PROP_prototype].keyUpKey_=null;goog$events$KeyHandler[$$PROP_prototype].lastKey_=-1;goog$events$KeyHandler[$$PROP_prototype].keyCode_=-1;
goog$events$KeyHandler[$$PROP_prototype].lastTimeStamp_=0;
var goog$events$KeyHandler$safariKey_={"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},goog$events$KeyHandler$keyIdentifier_={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},goog$events$KeyHandler$mozKeyCodeToKeyCodeMap_={61:187,59:186},goog$events$KeyHandler$USES_KEYDOWN_=goog$userAgent$IE||goog$userAgent$WEBKIT&&goog$userAgent$isVersion("525");
goog$events$KeyHandler[$$PROP_prototype].handleKeyDown_=function(a){if(goog$events$KeyHandler$USES_KEYDOWN_&&!goog$events$KeyCodes$firesKeyPressEvent(a[$$PROP_keyCode],this.lastKey_,a[$$PROP_shiftKey]))this[$$PROP_handleEvent](a);else this.keyCode_=goog$userAgent$GECKO&&a[$$PROP_keyCode]in goog$events$KeyHandler$mozKeyCodeToKeyCodeMap_?goog$events$KeyHandler$mozKeyCodeToKeyCodeMap_[a[$$PROP_keyCode]]:a[$$PROP_keyCode]};
goog$events$KeyHandler[$$PROP_prototype].handleKeyup_=function(){this.lastKey_=-1};
goog$events$KeyHandler[$$PROP_prototype].handleEvent=function(a){var b=a.getBrowserEvent(),c,d;if(goog$userAgent$IE&&a[$$PROP_type]==goog$events$EventType$KEYPRESS){c=this.keyCode_;d=c!=13&&c!=27?b[$$PROP_keyCode]:0}else if(goog$userAgent$WEBKIT&&a[$$PROP_type]==goog$events$EventType$KEYPRESS){c=this.keyCode_;d=b[$$PROP_charCode]>=0&&b[$$PROP_charCode]<63232&&goog$events$KeyCodes$isCharacterKey(c)?b[$$PROP_charCode]:0}else if(goog$userAgent$OPERA){c=this.keyCode_;d=goog$events$KeyCodes$isCharacterKey(c)?
b[$$PROP_keyCode]:0}else{c=b[$$PROP_keyCode]||this.keyCode_;d=b[$$PROP_charCode]||0;if(goog$userAgent$MAC&&d==63&&!c)c=191}var e=c,f=b.keyIdentifier;if(c)if(c>=63232&&c in goog$events$KeyHandler$safariKey_)e=goog$events$KeyHandler$safariKey_[c];else{if(c==25&&a[$$PROP_shiftKey])e=9}else if(f&&f in goog$events$KeyHandler$keyIdentifier_)e=goog$events$KeyHandler$keyIdentifier_[f];var g=e==this.lastKey_;this.lastKey_=e;if(goog$userAgent$WEBKIT){if(g&&b.timeStamp-this.lastTimeStamp_<50)return;this.lastTimeStamp_=
b.timeStamp}var h=new goog$events$KeyEvent(e,d,g,b);try{this[$$PROP_dispatchEvent](h)}finally{h.dispose()}};goog$events$KeyHandler[$$PROP_prototype].attach=function(a){this.keyUpKey_&&this.detach();this.element_=a;this.keyPressKey_=goog$events$listen(this.element_,goog$events$EventType$KEYPRESS,this);this.keyDownKey_=goog$events$listen(this.element_,"keydown",this.handleKeyDown_,false,this);this.keyUpKey_=goog$events$listen(this.element_,"keyup",this.handleKeyup_,false,this)};
goog$events$KeyHandler[$$PROP_prototype].detach=function(){if(this.keyPressKey_){goog$events$unlistenByKey(this.keyPressKey_);goog$events$unlistenByKey(this.keyDownKey_);goog$events$unlistenByKey(this.keyUpKey_);this.keyPressKey_=null;this.keyDownKey_=null;this.keyUpKey_=null}this.element_=null;this.lastKey_=-1};goog$events$KeyHandler[$$PROP_prototype].disposeInternal=function(){goog$events$KeyHandler.superClass_.disposeInternal[$$PROP_call](this);this.detach()};
var goog$events$KeyEvent=function(a,b,c,d){goog$events$BrowserEvent[$$PROP_call](this,d);SETPROP_type(this,"key");SETPROP_keyCode(this,a);this.charCode=b;this.repeat=c};goog$inherits(goog$events$KeyEvent,goog$events$BrowserEvent);var goog$ui$registry$getDefaultRenderer=function(a){var b,c;while(a){b=goog$getHashCode(a);if(c=goog$ui$registry$defaultRenderers_[b])break;a=a.superClass_?a.superClass_.constructor:null}if(c)return goog$isFunction(c.getInstance)?c.getInstance():new c;return null},goog$ui$registry$setDefaultRenderer=function(a,b){if(!goog$isFunction(a))throw GLOBAL_Error("Invalid component class "+a);if(!goog$isFunction(b))throw GLOBAL_Error("Invalid renderer class "+b);var c=goog$getHashCode(a);goog$ui$registry$defaultRenderers_[c]=
b},goog$ui$registry$setDecoratorByClassName=function(a,b){if(!a)throw GLOBAL_Error("Invalid class name "+a);if(!goog$isFunction(b))throw GLOBAL_Error("Invalid decorator function "+b);goog$ui$registry$decoratorFunctions_[a]=b},goog$ui$registry$defaultRenderers_={},goog$ui$registry$decoratorFunctions_={};var goog$ui$Control=function(a,b,c){goog$ui$Component[$$PROP_call](this,c);this.renderer_=b||goog$ui$registry$getDefaultRenderer(this.constructor);this.setContentInternal(a)};goog$inherits(goog$ui$Control,goog$ui$Component);goog$ui$Control[$$PROP_prototype].content_=null;goog$ui$Control[$$PROP_prototype].state_=0;goog$ui$Control[$$PROP_prototype].supportedStates_=39;goog$ui$Control[$$PROP_prototype].autoStates_=255;goog$ui$Control[$$PROP_prototype].statesWithTransitionEvents_=0;
goog$ui$Control[$$PROP_prototype].visible_=true;goog$ui$Control[$$PROP_prototype].extraClassNames_=null;goog$ui$Control[$$PROP_prototype].handleMouseEvents_=true;goog$ui$Control[$$PROP_prototype].allowTextSelection_=false;goog$ui$Control[$$PROP_prototype].getHandler=function(){return this.handler_||(this.handler_=new goog$events$EventHandler(this))};goog$ui$Control[$$PROP_prototype].isHandleMouseEvents=function(){return this.handleMouseEvents_};
goog$ui$Control[$$PROP_prototype].setHandleMouseEvents=function(a){this.isInDocument()&&a!=this.handleMouseEvents_&&this.enableMouseEventHandling_(a);this.handleMouseEvents_=a};goog$ui$Control[$$PROP_prototype].getKeyEventTarget=function(){return this.renderer_.getKeyEventTarget(this)};goog$ui$Control[$$PROP_prototype].getKeyHandler=function(){return this.keyHandler_||(this.keyHandler_=new goog$events$KeyHandler)};goog$ui$Control[$$PROP_prototype].getExtraClassNames=function(){return this.extraClassNames_};
goog$ui$Control[$$PROP_prototype].createDom=function(){var a=this.renderer_.createDom(this);this.setElementInternal(a);this.renderer_.setAriaRole(a);this.isAllowTextSelection()||this.renderer_.setAllowTextSelection(a,false);this.isVisible()||this.renderer_.setVisible(a,false)};
goog$ui$Control[$$PROP_prototype].enterDocument=function(){goog$ui$Control.superClass_.enterDocument[$$PROP_call](this);this.renderer_.initializeDom(this);if(this.supportedStates_&-2){this.isHandleMouseEvents()&&this.enableMouseEventHandling_(true);if(this.isSupportedState(32)){var a=this.getKeyEventTarget();if(a){var b=this.getHandler(),c=this.getKeyHandler();c.attach(a);b.listen(c,"key",this.handleKeyEvent);b.listen(a,"focus",this.handleFocus);b.listen(a,"blur",this.handleBlur)}}}};
goog$ui$Control[$$PROP_prototype].enableMouseEventHandling_=function(a){var b=this.getHandler(),c=this.getElement();if(a){b.listen(c,"mouseover",this.handleMouseOver);b.listen(c,"mousedown",this.handleMouseDown);b.listen(c,"mouseup",this.handleMouseUp);b.listen(c,"mouseout",this.handleMouseOut);goog$userAgent$IE&&b.listen(c,"dblclick",this.handleDblClick)}else{b.unlisten(c,"mouseover",this.handleMouseOver);b.unlisten(c,"mousedown",this.handleMouseDown);b.unlisten(c,"mouseup",this.handleMouseUp);b.unlisten(c,
"mouseout",this.handleMouseOut);goog$userAgent$IE&&b.unlisten(c,"dblclick",this.handleDblClick)}};goog$ui$Control[$$PROP_prototype].exitDocument=function(){goog$ui$Control.superClass_.exitDocument[$$PROP_call](this);this.handler_&&this.handler_.removeAll();this.keyHandler_&&this.keyHandler_.detach();this.isVisible()&&this.isEnabled()&&this.renderer_.setFocusable(this,false)};
goog$ui$Control[$$PROP_prototype].disposeInternal=function(){goog$ui$Control.superClass_.disposeInternal[$$PROP_call](this);if(this.handler_){this.handler_.dispose();delete this.handler_}if(this.keyHandler_){this.keyHandler_.dispose();delete this.keyHandler_}delete this.renderer_;this.content_=null;this.extraClassNames_=null};goog$ui$Control[$$PROP_prototype].getContent=function(){return this.content_};goog$ui$Control[$$PROP_prototype].setContentInternal=function(a){this.content_=a};
goog$ui$Control[$$PROP_prototype].getCaption=function(){var a=this.getContent();if(!a||goog$isString(a))return a;var b=goog$isArray(a)?goog$array$map(a,goog$dom$getTextContent)[$$PROP_join](""):goog$dom$getTextContent(a);return b&&goog$string$trim(b)};goog$ui$Control[$$PROP_prototype].setRightToLeft=function(a){goog$ui$Control.superClass_.setRightToLeft[$$PROP_call](this,a);var b=this.getElement();b&&this.renderer_.setRightToLeft(b,a)};goog$ui$Control[$$PROP_prototype].isAllowTextSelection=function(){return this.allowTextSelection_};
goog$ui$Control[$$PROP_prototype].setAllowTextSelection=function(a){this.allowTextSelection_=a;var b=this.getElement();b&&this.renderer_.setAllowTextSelection(b,a)};goog$ui$Control[$$PROP_prototype].isVisible=function(){return this.visible_};goog$ui$Control[$$PROP_prototype].setVisible=function(a,b){if(b||this.visible_!=a&&this[$$PROP_dispatchEvent](a?"show":"hide")){var c=this.getElement();c&&this.renderer_.setVisible(c,a);this.isEnabled()&&this.renderer_.setFocusable(this,a);this.visible_=a;return true}return false};
goog$ui$Control[$$PROP_prototype].isEnabled=function(){return!this.hasState(1)};goog$ui$Control[$$PROP_prototype].isParentDisabled_=function(){var a=this.getParent();return!!a&&typeof a.isEnabled=="function"&&!a.isEnabled()};goog$ui$Control[$$PROP_prototype].setEnabled=function(a){if(!this.isParentDisabled_()&&this.isTransitionAllowed(1,!a)){if(!a){this[$$PROP_setActive](false);this.setHighlighted(false)}this.isVisible()&&this.renderer_.setFocusable(this,a);this.setState(1,!a)}};
goog$ui$Control[$$PROP_prototype].setHighlighted=function(a){this.isTransitionAllowed(2,a)&&this.setState(2,a)};goog$ui$Control[$$PROP_prototype].isActive=function(){return this.hasState(4)};goog$ui$Control[$$PROP_prototype].setActive=function(a){this.isTransitionAllowed(4,a)&&this.setState(4,a)};goog$ui$Control[$$PROP_prototype].setSelected=function(a){this.isTransitionAllowed(8,a)&&this.setState(8,a)};goog$ui$Control[$$PROP_prototype].isChecked=function(){return this.hasState(16)};
goog$ui$Control[$$PROP_prototype].setChecked=function(a){this.isTransitionAllowed(16,a)&&this.setState(16,a)};goog$ui$Control[$$PROP_prototype].isFocused=function(){return this.hasState(32)};goog$ui$Control[$$PROP_prototype].setFocused=function(a){this.isTransitionAllowed(32,a)&&this.setState(32,a)};goog$ui$Control[$$PROP_prototype].isOpen=function(){return this.hasState(64)};goog$ui$Control[$$PROP_prototype].setOpen=function(a){this.isTransitionAllowed(64,a)&&this.setState(64,a)};
goog$ui$Control[$$PROP_prototype].getState=function(){return this.state_};goog$ui$Control[$$PROP_prototype].hasState=function(a){return!!(this.state_&a)};goog$ui$Control[$$PROP_prototype].setState=function(a,b){if(this.isSupportedState(a)&&b!=this.hasState(a)){this.renderer_.setState(this,a,b);this.state_=b?this.state_|a:this.state_&~a}};goog$ui$Control[$$PROP_prototype].isSupportedState=function(a){return!!(this.supportedStates_&a)};
goog$ui$Control[$$PROP_prototype].setSupportedState=function(a,b){if(this.isInDocument())throw GLOBAL_Error(goog$ui$Component$Error$ALREADY_RENDERED);!b&&this.hasState(a)&&this.setState(a,false);this.supportedStates_=b?this.supportedStates_|a:this.supportedStates_&~a};goog$ui$Control[$$PROP_prototype].isAutoState=function(a){return!!(this.autoStates_&a)&&this.isSupportedState(a)};goog$ui$Control[$$PROP_prototype].setAutoStates=function(a,b){this.autoStates_=b?this.autoStates_|a:this.autoStates_&~a};
goog$ui$Control[$$PROP_prototype].isTransitionAllowed=function(a,b){return this.isSupportedState(a)&&this.hasState(a)!=b&&(!(this.statesWithTransitionEvents_&a)||this[$$PROP_dispatchEvent](goog$ui$Component$getStateTransitionEvent(a,b)))&&!this.isDisposed()};goog$ui$Control[$$PROP_prototype].handleMouseOver=function(a){a[$$PROP_relatedTarget]&&!goog$dom$contains(this.getElement(),a[$$PROP_relatedTarget])&&this[$$PROP_dispatchEvent]("enter")&&this.isEnabled()&&this.isAutoState(2)&&this.setHighlighted(true)};
goog$ui$Control[$$PROP_prototype].handleMouseOut=function(a){if(a[$$PROP_relatedTarget]&&!goog$dom$contains(this.getElement(),a[$$PROP_relatedTarget])&&this[$$PROP_dispatchEvent]("leave")){this.isAutoState(4)&&this[$$PROP_setActive](false);this.isAutoState(2)&&this.setHighlighted(false)}};
goog$ui$Control[$$PROP_prototype].handleMouseDown=function(a){if(this.isEnabled()){this.isAutoState(2)&&this.setHighlighted(true);if(a.isButton(0)){this.isAutoState(4)&&this[$$PROP_setActive](true);this.renderer_.isFocusable(this)&&this.getKeyEventTarget()[$$PROP_focus]()}}!this.isAllowTextSelection()&&a.isButton(0)&&a[$$PROP_preventDefault]()};
goog$ui$Control[$$PROP_prototype].handleMouseUp=function(a){if(this.isEnabled()){this.isAutoState(2)&&this.setHighlighted(true);this.isActive()&&this.performActionInternal(a)&&this.isAutoState(4)&&this[$$PROP_setActive](false)}};goog$ui$Control[$$PROP_prototype].handleDblClick=function(a){this.isEnabled()&&this.performActionInternal(a)};
goog$ui$Control[$$PROP_prototype].performActionInternal=function(){this.isAutoState(16)&&this.setChecked(!this.isChecked());this.isAutoState(8)&&this.setSelected(true);this.isAutoState(64)&&this.setOpen(!this.isOpen());return this[$$PROP_dispatchEvent]("action")};goog$ui$Control[$$PROP_prototype].handleFocus=function(){this.isAutoState(32)&&this.setFocused(true)};goog$ui$Control[$$PROP_prototype].handleBlur=function(){this.isAutoState(4)&&this[$$PROP_setActive](false);this.isAutoState(32)&&this.setFocused(false)};
goog$ui$Control[$$PROP_prototype].handleKeyEvent=function(a){if(this.isVisible()&&this.isEnabled()&&this.handleKeyEventInternal(a)){a[$$PROP_preventDefault]();a.stopPropagation();return true}return false};goog$ui$Control[$$PROP_prototype].handleKeyEventInternal=function(a){return a[$$PROP_keyCode]==13&&this.performActionInternal(a)};goog$ui$registry$setDefaultRenderer(goog$ui$Control,goog$ui$ControlRenderer);goog$ui$registry$setDecoratorByClassName("goog-control",function(){return new goog$ui$Control(null)});var goog$ui$NativeButtonRenderer=function(){goog$ui$ButtonRenderer[$$PROP_call](this)};goog$inherits(goog$ui$NativeButtonRenderer,goog$ui$ButtonRenderer);goog$addSingletonGetter(goog$ui$NativeButtonRenderer);goog$ui$NativeButtonRenderer[$$PROP_prototype].getAriaRole=function(){return GLOBAL_undefined};
goog$ui$NativeButtonRenderer[$$PROP_prototype].createDom=function(a){this.setUpNativeButton_(a);return a.dom_.createDom("button",{"class":this.getClassNames(a)[$$PROP_join](" "),disabled:!a.isEnabled(),title:a.getTooltip()||"",value:a.getValue()||""},a.getCaption()||"")};goog$ui$NativeButtonRenderer[$$PROP_prototype].initializeDom=function(a){a.getHandler().listen(a.getElement(),"click",a.performActionInternal)};goog$ui$NativeButtonRenderer[$$PROP_prototype].setAllowTextSelection=goog$nullFunction;
goog$ui$NativeButtonRenderer[$$PROP_prototype].setRightToLeft=goog$nullFunction;goog$ui$NativeButtonRenderer[$$PROP_prototype].isFocusable=function(a){return a.isEnabled()};goog$ui$NativeButtonRenderer[$$PROP_prototype].setFocusable=goog$nullFunction;goog$ui$NativeButtonRenderer[$$PROP_prototype].setState=function(a,b,c){goog$ui$NativeButtonRenderer.superClass_.setState[$$PROP_call](this,a,b,c);var d=a.getElement();if(d&&b==1)d.disabled=c};goog$ui$NativeButtonRenderer[$$PROP_prototype].getValue=function(a){return a[$$PROP_value]};
goog$ui$NativeButtonRenderer[$$PROP_prototype].setValue=function(a,b){if(a)SETPROP_value(a,b)};goog$ui$NativeButtonRenderer[$$PROP_prototype].updateAriaState=goog$nullFunction;goog$ui$NativeButtonRenderer[$$PROP_prototype].setUpNativeButton_=function(a){a.setHandleMouseEvents(false);a.setAutoStates(255,false);a.setSupportedState(32,false)};var goog$ui$Button=function(a,b,c){goog$ui$Control[$$PROP_call](this,a,b||goog$ui$NativeButtonRenderer.getInstance(),c)};goog$inherits(goog$ui$Button,goog$ui$Control);goog$ui$Button[$$PROP_prototype].getValue=function(){return this.value_};goog$ui$Button[$$PROP_prototype].setValue=function(a){this.value_=a;this.renderer_.setValue(this.getElement(),a)};goog$ui$Button[$$PROP_prototype].getTooltip=function(){return this.tooltip_};
goog$ui$Button[$$PROP_prototype].setTooltip=function(a){this.tooltip_=a;this.renderer_.setTooltip(this.getElement(),a)};goog$ui$Button[$$PROP_prototype].disposeInternal=function(){goog$ui$Button.superClass_.disposeInternal[$$PROP_call](this);delete this.value_;delete this.tooltip_};goog$ui$Button[$$PROP_prototype].handleKeyEventInternal=function(a){return(a[$$PROP_keyCode]==13||a[$$PROP_keyCode]==32)&&this.performActionInternal(a)};goog$ui$registry$setDecoratorByClassName("goog-button",function(){return new goog$ui$Button(null)});var goog$events$KeyNames$1="backspace",goog$events$KeyNames$2="tab",goog$events$KeyNames$3="enter",goog$events$KeyNames$4="shift",goog$events$KeyNames$5="ctrl",goog$events$KeyNames$6="alt",goog$events$KeyNames$7="pause",goog$events$KeyNames$8="caps-lock",goog$events$KeyNames$9="esc",goog$events$KeyNames$10="space",goog$events$KeyNames$11="pg-up",goog$events$KeyNames$12="pg-down",goog$events$KeyNames$13="end",goog$events$KeyNames$14="home",goog$events$KeyNames$15="left",goog$events$KeyNames$16="up",
goog$events$KeyNames$17="right",goog$events$KeyNames$18="down",goog$events$KeyNames$19="insert",goog$events$KeyNames$20="delete",goog$events$KeyNames$21="0",goog$events$KeyNames$22="1",goog$events$KeyNames$23="2",goog$events$KeyNames$24="3",goog$events$KeyNames$25="4",goog$events$KeyNames$26="5",goog$events$KeyNames$27="6",goog$events$KeyNames$28="7",goog$events$KeyNames$29="8",goog$events$KeyNames$30="9",goog$events$KeyNames$31="a",goog$events$KeyNames$32="b",goog$events$KeyNames$33="c",goog$events$KeyNames$34=
"d",goog$events$KeyNames$35="e",goog$events$KeyNames$36="f",goog$events$KeyNames$37="g",goog$events$KeyNames$38="h",goog$events$KeyNames$39="i",goog$events$KeyNames$40="j",goog$events$KeyNames$41="k",goog$events$KeyNames$42="l",goog$events$KeyNames$43="m",goog$events$KeyNames$44="n",goog$events$KeyNames$45="o",goog$events$KeyNames$46="p",goog$events$KeyNames$47="q",goog$events$KeyNames$48="r",goog$events$KeyNames$49="s",goog$events$KeyNames$50="t",goog$events$KeyNames$51="u",goog$events$KeyNames$52=
"v",goog$events$KeyNames$53="w",goog$events$KeyNames$54="x",goog$events$KeyNames$55="y",goog$events$KeyNames$56="z",goog$events$KeyNames$57="context",goog$events$KeyNames$58="num-plus",goog$events$KeyNames$59="num-minus",goog$events$KeyNames$60="f1",goog$events$KeyNames$61="f2",goog$events$KeyNames$62="f3",goog$events$KeyNames$63="f4",goog$events$KeyNames$64="f5",goog$events$KeyNames$65="f6",goog$events$KeyNames$66="f7",goog$events$KeyNames$67="f8",goog$events$KeyNames$68="f9",goog$events$KeyNames$69=
"f10",goog$events$KeyNames$70="f11",goog$events$KeyNames$71="f12",goog$events$KeyNames$72="equals",goog$events$KeyNames$73=",",goog$events$KeyNames$74=".",goog$events$KeyNames$75="/",goog$events$KeyNames$76="\\",goog$events$KeyNames$77="win",goog$events$KeyNames={8:goog$events$KeyNames$1,9:goog$events$KeyNames$2,13:goog$events$KeyNames$3,16:goog$events$KeyNames$4,17:goog$events$KeyNames$5,18:goog$events$KeyNames$6,19:goog$events$KeyNames$7,20:goog$events$KeyNames$8,27:goog$events$KeyNames$9,32:goog$events$KeyNames$10,
33:goog$events$KeyNames$11,34:goog$events$KeyNames$12,35:goog$events$KeyNames$13,36:goog$events$KeyNames$14,37:goog$events$KeyNames$15,38:goog$events$KeyNames$16,39:goog$events$KeyNames$17,40:goog$events$KeyNames$18,45:goog$events$KeyNames$19,46:goog$events$KeyNames$20,48:goog$events$KeyNames$21,49:goog$events$KeyNames$22,50:goog$events$KeyNames$23,51:goog$events$KeyNames$24,52:goog$events$KeyNames$25,53:goog$events$KeyNames$26,54:goog$events$KeyNames$27,55:goog$events$KeyNames$28,56:goog$events$KeyNames$29,
57:goog$events$KeyNames$30,65:goog$events$KeyNames$31,66:goog$events$KeyNames$32,67:goog$events$KeyNames$33,68:goog$events$KeyNames$34,69:goog$events$KeyNames$35,70:goog$events$KeyNames$36,71:goog$events$KeyNames$37,72:goog$events$KeyNames$38,73:goog$events$KeyNames$39,74:goog$events$KeyNames$40,75:goog$events$KeyNames$41,76:goog$events$KeyNames$42,77:goog$events$KeyNames$43,78:goog$events$KeyNames$44,79:goog$events$KeyNames$45,80:goog$events$KeyNames$46,81:goog$events$KeyNames$47,82:goog$events$KeyNames$48,
83:goog$events$KeyNames$49,84:goog$events$KeyNames$50,85:goog$events$KeyNames$51,86:goog$events$KeyNames$52,87:goog$events$KeyNames$53,88:goog$events$KeyNames$54,89:goog$events$KeyNames$55,90:goog$events$KeyNames$56,93:goog$events$KeyNames$57,107:goog$events$KeyNames$58,109:goog$events$KeyNames$59,112:goog$events$KeyNames$60,113:goog$events$KeyNames$61,114:goog$events$KeyNames$62,115:goog$events$KeyNames$63,116:goog$events$KeyNames$64,117:goog$events$KeyNames$65,118:goog$events$KeyNames$66,119:goog$events$KeyNames$67,
120:goog$events$KeyNames$68,121:goog$events$KeyNames$69,122:goog$events$KeyNames$70,123:goog$events$KeyNames$71,187:goog$events$KeyNames$72,188:goog$events$KeyNames$73,190:goog$events$KeyNames$74,191:goog$events$KeyNames$75,220:goog$events$KeyNames$76,224:goog$events$KeyNames$77};var goog$ui$KeyboardShortcutHandler=function(a){goog$events$EventTarget[$$PROP_call](this);this.shortcuts_={};this.lastKeys_={strokes:[],time:0};this.globalKeys_={};var b=[27,112,113,114,115,116,117,118,119,120,121,122,123,19];this.setGlobalKeys(b);this.alwaysPreventDefault_=true;this.allShortcutsAreGlobal_=false;this.initializeKeyListener(a)};goog$inherits(goog$ui$KeyboardShortcutHandler,goog$events$EventTarget);
var goog$ui$KeyboardShortcutHandler$Modifiers={NONE:0,SHIFT:1,CTRL:2,ALT:4,META:8},goog$ui$KeyboardShortcutHandler$EventType={SHORTCUT_TRIGGERED:"shortcut",SHORTCUT_PREFIX:"shortcut_"},goog$ui$KeyboardShortcutHandler$nameToKeyCodeCache_=null;goog$ui$KeyboardShortcutHandler[$$PROP_prototype].keyTarget_=null;
var goog$ui$KeyboardShortcutHandler$getKeyCode=function(a){if(!goog$ui$KeyboardShortcutHandler$nameToKeyCodeCache_){var b={};for(var c in goog$events$KeyNames)b[goog$events$KeyNames[c]]=c;goog$ui$KeyboardShortcutHandler$nameToKeyCodeCache_=b}return goog$ui$KeyboardShortcutHandler$nameToKeyCodeCache_[a]};goog$ui$KeyboardShortcutHandler[$$PROP_prototype].registerShortcut=function(a){this.addShortcut_(this.shortcuts_,this.interpretStrokes_(1,arguments),a)};
goog$ui$KeyboardShortcutHandler[$$PROP_prototype].interpretStrokes_=function(a,b){var c;if(goog$isString(b[a]))c=goog$ui$KeyboardShortcutHandler$parseStringShortcut(b[a]);else{var d=b[a],e=0;if(!goog$isArray(d)){d=b;e=a}c=[];for(;e<d[$$PROP_length];e+=2)c[$$PROP_push]({keyCode:d[e],modifiers:d[e+1]})}return c};goog$ui$KeyboardShortcutHandler[$$PROP_prototype].unregisterAll=function(){this.shortcuts_={}};
goog$ui$KeyboardShortcutHandler[$$PROP_prototype].setGlobalKeys=function(a){this.globalKeys_={};for(var b,c=0;b=a[c];c++)this.globalKeys_[b]=true};goog$ui$KeyboardShortcutHandler[$$PROP_prototype].disposeInternal=function(){goog$ui$KeyboardShortcutHandler.superClass_.disposeInternal[$$PROP_call](this);this.unregisterAll();this.clearKeyListener()};
var goog$ui$KeyboardShortcutHandler$parseStringShortcut=function(a){a=a[$$PROP_replace](/[ +]*\+[ +]*/g,"+")[$$PROP_replace](/[ ]+/g," ").toLowerCase();var b=goog$ui$KeyboardShortcutHandler$Modifiers,c=a[$$PROP_split](" "),d=[];for(var e,f=0;e=c[f];f++){var g=e[$$PROP_split]("+"),h,j=b.NONE;for(var i,k=0;i=g[k];k++){switch(i){case "shift":j|=b.SHIFT;continue;case "ctrl":j|=b.CTRL;continue;case "alt":j|=b.ALT;continue;case "meta":j|=b.META;continue}h=goog$ui$KeyboardShortcutHandler$getKeyCode(i);break}d[$$PROP_push]({keyCode:h,
modifiers:j})}return d};goog$ui$KeyboardShortcutHandler[$$PROP_prototype].initializeKeyListener=function(a){this.keyTarget_=a;goog$events$listen(this.keyTarget_,"keydown",this.handleKeyDown_,false,this)};goog$ui$KeyboardShortcutHandler[$$PROP_prototype].clearKeyListener=function(){goog$events$unlisten(this.keyTarget_,"keydown",this.handleKeyDown_,false,this);this.keyTarget_=null};
goog$ui$KeyboardShortcutHandler[$$PROP_prototype].addShortcut_=function(a,b,c){var d=b.shift(),e=this.makeKey_(d[$$PROP_keyCode],d.modifiers),f=a[e];if(f&&c&&(b[$$PROP_length]==0||goog$isString(f)))throw GLOBAL_Error("Keyboard shortcut conflicts with existing shortcut");if(b[$$PROP_length]){a[e]||(a[e]={});this.addShortcut_(a[e],b,c)}else a[e]=c};
goog$ui$KeyboardShortcutHandler[$$PROP_prototype].getShortcut_=function(a,b,c){var d=c||this.shortcuts_,e=b||0,f=a[e],g=d[f];if(g&&!goog$isString(g)&&a[$$PROP_length]-e>1)return this.getShortcut_(a,e+1,g);return g};goog$ui$KeyboardShortcutHandler[$$PROP_prototype].makeKey_=function(a,b){var c=a&255|b<<8;return c};
goog$ui$KeyboardShortcutHandler[$$PROP_prototype].handleKeyDown_=function(a){var b=a[$$PROP_target];if(a[$$PROP_keyCode]==16||a[$$PROP_keyCode]==17||a[$$PROP_keyCode]==18)return;if((b.isContentEditable||b[$$PROP_ownerDocument]&&b[$$PROP_ownerDocument].designMode=="on")&&!this.globalKeys_[a[$$PROP_keyCode]]&&!this.allShortcutsAreGlobal_)return;if((b[$$PROP_tagName]=="TEXTAREA"||b[$$PROP_tagName]=="INPUT"||b[$$PROP_tagName]=="BUTTON")&&!a.altKey&&!a[$$PROP_ctrlKey]&&!a[$$PROP_metaKey]&&!this.isValidShortcutKey_(a[$$PROP_keyCode],
b))return;var c=(a[$$PROP_shiftKey]?1:0)|(a[$$PROP_ctrlKey]?2:0)|(a.altKey?4:0)|(a[$$PROP_metaKey]?8:0),d=a[$$PROP_keyCode]&255|c<<8,e,f,g=goog$now();if(this.lastKeys_.strokes[$$PROP_length]&&g-this.lastKeys_.time<=1500)e=this.getShortcut_(this.lastKeys_.strokes);else SETPROP_length(this.lastKeys_.strokes,0);e=e?e[d]:this.shortcuts_[d];if(!e){e=this.shortcuts_[d];this.lastKeys_.strokes=[]}if(e&&goog$isString(e))f=e;else if(e){this.lastKeys_.strokes[$$PROP_push](d);this.lastKeys_.time=g}else SETPROP_length(this.lastKeys_.strokes,
0);if(f){var h=goog$ui$KeyboardShortcutHandler$EventType,j=new goog$ui$KeyboardShortcutEvent(h.SHORTCUT_TRIGGERED,f,a[$$PROP_target]);this[$$PROP_dispatchEvent](j);var i=new goog$ui$KeyboardShortcutEvent(h.SHORTCUT_PREFIX+f,f,a[$$PROP_target]);this[$$PROP_dispatchEvent](i);if(this.alwaysPreventDefault_||!j.returnValue_||!i.returnValue_)a[$$PROP_preventDefault]();SETPROP_length(this.lastKeys_.strokes,0)}};
goog$ui$KeyboardShortcutHandler[$$PROP_prototype].isValidShortcutKey_=function(a,b){if(this.globalKeys_[a]||this.allShortcutsAreGlobal_)return true;if(b[$$PROP_tagName]=="INPUT"&&(b[$$PROP_type]=="text"||b[$$PROP_type]=="password"))return a==13;if(b[$$PROP_tagName]=="INPUT"||b[$$PROP_tagName]=="BUTTON")return a!=32;if(b[$$PROP_tagName]=="TEXTAREA")return false;return true};var goog$ui$KeyboardShortcutEvent=function(a,b,c){goog$events$Event[$$PROP_call](this,a,c);this.identifier=b};
goog$inherits(goog$ui$KeyboardShortcutEvent,goog$events$Event);var goog$ui$CustomButtonRenderer=function(){goog$ui$ButtonRenderer[$$PROP_call](this)};goog$inherits(goog$ui$CustomButtonRenderer,goog$ui$ButtonRenderer);goog$addSingletonGetter(goog$ui$CustomButtonRenderer);goog$ui$CustomButtonRenderer[$$PROP_prototype].createDom=function(a){var b=this.getClassNames(a),c={"class":"goog-inline-block "+b[$$PROP_join](" "),title:a.getTooltip()||""};return a.dom_.createDom("div",c,this.createButton(a.getContent(),a.dom_))};
goog$ui$CustomButtonRenderer[$$PROP_prototype].createButton=function(a,b){var c="goog-inline-block "+this.getCssClass();return b.createDom("div",{"class":c+"-outer-box"},b.createDom("div",{"class":c+"-inner-box"},a))};goog$ui$CustomButtonRenderer[$$PROP_prototype].getCssClass=function(){return"goog-custom-button"};var goog$ui$style$app$ButtonRenderer=function(){goog$ui$CustomButtonRenderer[$$PROP_call](this)};goog$inherits(goog$ui$style$app$ButtonRenderer,goog$ui$CustomButtonRenderer);goog$addSingletonGetter(goog$ui$style$app$ButtonRenderer);goog$ui$style$app$ButtonRenderer[$$PROP_prototype].createDom=goog$ui$style$app$ButtonRenderer.superClass_.createDom;
goog$ui$style$app$ButtonRenderer[$$PROP_prototype].createButton=function(a,b){var c=this.getStructuralCssClass(),d="goog-inline-block ";return b.createDom("div",{"class":d+c+"-outer-box"},b.createDom("div",{"class":d+c+"-inner-box"},b.createDom("div",{"class":c+"-pos"},b.createDom("div",{"class":c+"-top-shadow"},"\u00a0"),b.createDom("div",{"class":c+"-content"},a))))};goog$ui$style$app$ButtonRenderer[$$PROP_prototype].getCssClass=function(){return"goog-button"};
goog$ui$style$app$ButtonRenderer[$$PROP_prototype].getStructuralCssClass=function(){return"goog-button-base"};goog$ui$registry$setDecoratorByClassName("goog-button",function(){return new goog$ui$Button(null,goog$ui$style$app$ButtonRenderer.getInstance())});var TL_NO_SORTTIMESTAMP=Date.UTC(2038,1,1),TL_CATEGORIES={milestone:{msg:25,legend:true},culture:{msg:26,legend:true},products:{msg:27,legend:true},stats:{msg:28,legend:true},green:{msg:29,legend:false},image:{msg:30,legend:true},video:{msg:32,legend:true},definition:{msg:33,legend:true},doodle:{msg:43,legend:false},homepage:{msg:30,legend:false}},TL_SLIDESHOW_TYPES=["homepage","doodle"],Timeline=function(a){this.debugMessages=[];this.initialized=false;this.pendingAjaxRequests=0;this.columnInfo=[];
this.columnElements=[];this.allTimelineEvents=[];this.collections=[];this.allDataLoaded=false;this.allColumnInfoLoaded=false;this.minTimestamp=null;this.maxTimestamp=null;this.minTimestampOffsetLeft=null;this.maxTimestampOffsetLeft=null;this.navLookupTable=[];this.currentVisibleColumnIdLeft=0;this.currentVisibleColumnIdRight=0;this.lastCanvasClickTime=0;this.ignoreNextClick=false;this.draggingMode=0;this.navDragOffset=0;this.navDragStartX=0;this.curSlideshowCollectionId=null;this.curSlideshowCollection=
null;this.curSlideshowImageId=null;this.followingSlideshowImageId=null;this.splashOpened=true;this.popupOpened=false;this.searchOpened=false;this.popupIdToBeShownAfterSplash=null;this.deferredAction=null;this.searchHelper={searchPage:1,fetchPage:0,totalResults:0,retrievedResults:[]};this.navButtonLeft=null;this.navButtonRight=null;this.navButtonLeftActive=true;this.navButtonRightActive=true;this.curFocusedElement=null;this.lastFocusedElement=null;this.initialInfo=a;this.setupTimeline()};
Timeline[$$PROP_prototype].setupTimeline=function(){goog$dom$classes$add(document[$$PROP_body],"hl_"+this.initialInfo.hl);this.createDomElements();this.getElementReferences();this.createNavButtons();this.initializeColumnInfo();this.initializeColumnElements();this.updateColumnElementsDimensions();this.updateNavLookupTable();GLOBAL_window[$$PROP_setTimeout](goog$bind(this.loadColumnInfoSimple,this,[1,2,3,4,5]),10);GLOBAL_window[$$PROP_location][$$PROP_hash]&&GLOBAL_window[$$PROP_setTimeout](goog$bind(this.jumpStraightIntoTimeline,
this),0)};Timeline[$$PROP_prototype].jumpStraightIntoTimeline=function(){GLOBAL_window.scroll(0,this.timelineEl[$$PROP_offsetTop]-10);this._skipSplash(false);this.prepareForInteraction();this.recognizeHashToken(GLOBAL_window[$$PROP_location][$$PROP_hash][$$PROP_substr](1))};
Timeline[$$PROP_prototype]._skipSplash=function(a){this.splashOpened=false;if(a){goog$style$setStyle(this.interactiveCanvasEl,"visibility","");var b=this.interactiveCanvasEl[$$PROP_offsetLeft],c=new goog$fx$dom$Slide(this.interactiveCanvasEl,[b,0],[0,0],750,goog$fx$easing$easeOut),d=new goog$fx$dom$Slide(goog$dom$$("tl-splash"),[0,0],[-b,0],750,goog$fx$easing$easeOut);goog$events$listen(d,"end",goog$bind(this.prepareForInteraction,this));c.play();d.play()}else{SETPROP_left(this.interactiveCanvasEl[$$PROP_style],
0);goog$style$setStyle(this.interactiveCanvasEl,"visibility","");goog$style$showElement(goog$dom$$("tl-splash"),false)}return false};Timeline[$$PROP_prototype]._answerSplashQuestion=function(a){var a=a?a:GLOBAL_window.event;this.showLoadingIndicator();this.popupIdToBeShownAfterSplash=this.getTimelineEventIdFromEl(getTarget(a));this._skipSplash(true);return false};
Timeline[$$PROP_prototype].prepareForInteraction=function(){goog$style$showElement(goog$dom$$("tl-splash"),false);this.initializeEventListeners();this.initializeKeyboardNavigation();this.initialized=true;GLOBAL_window[$$PROP_location][$$PROP_hash]||this.updateHashTokenNav();this.prefetchMoreData();this.popupIdToBeShownAfterSplash&&this.openTimelineEventPopup(this.popupIdToBeShownAfterSplash,true)};
Timeline[$$PROP_prototype].getElementReferences=function(){this.timelineDiv=goog$dom$$("timeline");this.masterCanvasEl=goog$dom$$("tl-master-canvas");this.interactiveCanvasEl=goog$dom$$("tl-interactive-canvas");this.timelineEventsCanvasEl=goog$dom$$("tl-events-canvas");this.timelineEventsEl=this.timelineEventsCanvasEl[$$PROP_getElementsByTagName]("ul")[0];this.navEl=goog$dom$$("tl-nav");this.navListEl=goog$dom$$("tl-nav-list");this.navCurrentEl=goog$dom$$("tl-nav-current");this.navCurrentBkEl=goog$dom$$("tl-nav-current-bk");
this.popupEl=goog$dom$$("tl-popup");this.popupBkEl=goog$dom$$("tl-popup-bk");this.popupShadowEl=goog$dom$$("tl-popup-shadow");this.searchCanvasContainerEl=goog$dom$$("tl-search-canvas-container");this.searchCanvasEl=goog$dom$$("tl-search-canvas");this.searchQueryEl=goog$dom$$("tl-search");this.keyNavIndicatorEl=goog$dom$$("tl-keynav-indicator");this.loadingIndicatorEl=goog$dom$$("tl-loading-indicator");this.searchLoadingIndicatorEl=goog$dom$$("tl-search-loading-indicator");this.searchEl=goog$dom$$("tl-search")};
Timeline[$$PROP_prototype].initializeColumnInfo=function(){this.columnInfo=[];for(var a in this.initialInfo.co){var b=this.initialInfo.co[a],c=new Date;c[$$PROP_setFullYear](b.y,b.m[0]-1,1);if(!this.minTimestamp)this.minTimestamp=c[$$PROP_getTime]();this.columnInfo[$$PROP_length]==0&&this.columnInfo[$$PROP_push]({timestamp:this.minTimestamp,loaded:6});this.columnInfo[$$PROP_push]({timestamp:c[$$PROP_getTime](),loaded:0})}c[$$PROP_setFullYear](b.y,b.m[1]-1,28);this.maxTimestamp=c[$$PROP_getTime]();
this.columnInfo[$$PROP_push]({timestamp:this.maxTimestamp,loaded:6});this.columnInfo[$$PROP_push]({timestamp:this.maxTimestamp,loaded:6});var c=new Date;c[$$PROP_setFullYear](c.getFullYear(),11,31);this.maxTimestampRounded=c[$$PROP_getTime]()};
Timeline[$$PROP_prototype].initializeColumnElements=function(){this.columnElements=[];var a,b=this.timelineEventsEl.childNodes;for(var c=1,d;d=b[c];c++)if(d[$$PROP_tagName]=="LI"){this.columnElements[$$PROP_length]==0&&this.columnElements[$$PROP_push]({element:d});this.columnElements[$$PROP_push]({element:d});a=d}this.columnElements[$$PROP_push]({element:a});this.columnElements[$$PROP_push]({element:a});this.updateNavWidth()};
Timeline[$$PROP_prototype].initializeEventListeners=function(){goog$events$listen(this.timelineEventsCanvasEl,"mousedown",goog$bind(this.handleTimelineEventsCanvasMouseDown,this));goog$events$listen(this.timelineEventsCanvasEl,"scroll",goog$bind(this.handleTimelineEventsCanvasScroll,this));goog$events$listen(this.navListEl,"mousedown",goog$bind(this.handleNavMouseDown,this));goog$events$listen(goog$dom$$("tl-nav-current"),"mousedown",goog$bind(this.handleNavMouseDown,this));var a=this.navListEl[$$PROP_getElementsByTagName]("a");
for(var b=0,c;c=a[b];b++)goog$events$listen(c,"click",goog$bind(this.handleNavAnchorClick,this));goog$events$listen(GLOBAL_window,"resize",goog$bind(this.handleBodyResize,this));goog$events$listen(document[$$PROP_body],"mouseout",goog$bind(this.handleBodyMouseOut,this));goog$events$listen(goog$dom$$("tl-popup-bk"),"click",goog$bind(function(){this._closePopup(false)},this))};
Timeline[$$PROP_prototype].initializeKeyboardNavigation=function(){var a=new goog$ui$KeyboardShortcutHandler(document),b=2,c=1,d=8;a.registerShortcut("NEXT_EVENT_KEYNAV","j");a.registerShortcut("PREV_EVENT_KEYNAV","k");a.registerShortcut("OPEN_EVENT_KEYNAV","o");a.registerShortcut("NEXT_COLUMN_KEYNAV","l");a.registerShortcut("PREV_COLUMN_KEYNAV","h");a.registerShortcut("CANCEL",27);a.registerShortcut("SCROLL_RIGHT",39);a.registerShortcut("SCROLL_RIGHT_KEYNAV","n");a.registerShortcut("SCROLL_LEFT",
37);a.registerShortcut("SCROLL_LEFT_KEYNAV","p");a.registerShortcut("FIND",70,b);a.registerShortcut("FIND_NEXT",71,b);a.registerShortcut("FIND_PREVIOUS",71,b+c);a.registerShortcut("FIND",70,d);a.registerShortcut("FIND_NEXT",71,d);a.registerShortcut("FIND_PREVIOUS",71,d+c);goog$events$listen(a,"shortcut",goog$bind(this.handleBodyKeyPress,this))};Timeline[$$PROP_prototype].getTimelineEventElFromId=function(a){return goog$dom$$("event-"+a)};Timeline[$$PROP_prototype].getTimelineEventIdFromEl=function(a){return a.href[$$PROP_match](/#(.*)/)[1]};
Timeline[$$PROP_prototype].getCategoryNameFromId=function(a){return TL_CATEGORIES[a]?this.initialInfo.l.w[TL_CATEGORIES[a].msg]:""};Timeline[$$PROP_prototype].getDefinitionTitleHtml=function(a){return a[$$PROP_replace](/(.*?)(,.*?)/,"<dfn>$1</dfn>$2")};Timeline[$$PROP_prototype].getTimelineEventsCanvasVisibleWidth=function(){return this.eventsCanvasWidth};
Timeline[$$PROP_prototype].getTimelineEventsCanvasTotalWidth=function(){return this.columnElements[this.columnElements[$$PROP_length]-2][$$PROP_offsetLeft]+20};Timeline[$$PROP_prototype].getContentWidth=function(){return document[$$PROP_body].scrollWidth};Timeline[$$PROP_prototype].getContentHeight=function(){return document[$$PROP_body].scrollHeight};
Timeline[$$PROP_prototype].resizeElement=function(a,b,c,d,e){if(b!=false)SETPROP_left(a[$$PROP_style],b+"px");if(c!=false)a[$$PROP_style].top=c+"px";if(d!=false)SETPROP_width(a[$$PROP_style],d+"px");if(e!=false)SETPROP_height(a[$$PROP_style],e+"px")};Timeline[$$PROP_prototype].resizeElementById=function(a,b,c,d,e){var f=goog$dom$$(a);f&&this.resizeElement(f,b,c,d,e)};
Timeline[$$PROP_prototype].fireAjaxRequest=function(a){this.increasePendingAjaxRequests();var b=goog$dom$$dom("script",{src:a,type:"text/javascript",charset:"utf-8"});document[$$PROP_getElementsByTagName]("head")[$$PROP_item](0)[$$PROP_appendChild](b)};Timeline[$$PROP_prototype].increasePendingAjaxRequests=function(){this.pendingAjaxRequests++};Timeline[$$PROP_prototype].decreasePendingAjaxRequests=function(){this.pendingAjaxRequests--;this.pendingAjaxRequests==0&&this.initialized&&this.prefetchMoreData()};
Timeline[$$PROP_prototype].prefetchMoreData=function(){if(!goog$array$find(this.columnInfo,function(a,b){if(a.loaded==2){this.loadColumnInfoDetailed(b);return true}},this))if(!goog$array$find(this.columnInfo,function(a,b){if(a.loaded==0){this.loadColumnInfoDetailed(b);return true}},this)){this.allColumnInfoLoaded=true;if(this.deferredAction&&this.deferredAction[$$PROP_type]==3){this.deferredAction=null;this.hideLoadingIndicator();this.findInteractive()}if(!goog$array$find(["homepage","doodle"],function(a){if(!this.collections[a]){this.loadCollectionInfo(a);
return true}},this)){this.allDataLoaded=true;if(this.deferredAction&&this.deferredAction[$$PROP_type]==2){this.deferredAction=null;this.search()}else this.hideLoadingIndicator()}}};Timeline[$$PROP_prototype].loadColumnInfoSimple=function(a){var b=999999999,c=0;for(var d in a){this.columnInfo[a[d]].loaded=1;var e=GLOBAL_Math[$$PROP_floor]((a[d]-1)/20);if(e>c)c=e;if(e<b)b=e}for(var e=b;e<=c;e++)this.fireAjaxRequest("data/s"+(e+1)+".js")};
Timeline[$$PROP_prototype].loadColumnInfoDetailed=function(a){var b=GLOBAL_Math[$$PROP_floor]((a-1)/10),c=b*10+1,d=c+10-1;for(var a=c;a<=d;a++)if(this.columnInfo[a])switch(this.columnInfo[a].loaded){case 0:this.columnInfo[a].loaded=4;break;case 2:this.columnInfo[a].loaded=3;break;default:break}this.fireAjaxRequest("data/d"+(b+1)+".js")};Timeline[$$PROP_prototype].loadCollectionInfo=function(){this.fireAjaxRequest("data/ci.js")};
Timeline[$$PROP_prototype]._receiveColumnInfoSimple=function(a){for(var b in a)if(a[b]!=null){this.columnInfo[a[b].id].events=a[b].ev;for(var c in a[b].ev){this.allTimelineEvents[c]=goog$object$clone(a[b].ev[c]);this.allTimelineEvents[c].columnInfoId=GLOBAL_parseInt(a[b].id,10);this.allTimelineEvents[c].detailsLoaded=false}this.fillOutColumn(a[b].id);this.columnInfo[a[b].id].loaded=2}this.decreasePendingAjaxRequests()};
Timeline[$$PROP_prototype]._receiveColumnInfoDetailed=function(a){for(var b in a)if(a[b]!=null){this.columnInfo[a[b].id].events=a[b].ev;for(var c in a[b].ev){this.allTimelineEvents[c]=goog$object$clone(a[b].ev[c]);this.allTimelineEvents[c].columnInfoId=GLOBAL_parseInt(a[b].id,10);this.allTimelineEvents[c].detailsLoaded=true}this.columnInfo[a[b].id].loaded==4&&this.fillOutColumn(a[b].id);this.columnInfo[a[b].id].loaded=5;if(this.deferredAction&&this.deferredAction[$$PROP_type]==0&&this.deferredAction.columnId==
a[b].id){this.hideLoadingIndicator();this.openTimelineEventPopup(this.deferredAction.popupId,this.deferredAction.scrollIntoView)}}if(this.deferredAction&&this.deferredAction[$$PROP_type]==0&&this.deferredAction.columnId==null&&typeof this.allTimelineEvents[this.deferredAction.popupId]!="undefined"&&this.allTimelineEvents[this.deferredAction.popupId].detailsLoaded){this.hideLoadingIndicator();this.openTimelineEventPopup(this.deferredAction.popupId,this.deferredAction.scrollIntoView)}this.decreasePendingAjaxRequests()};
Timeline[$$PROP_prototype]._receiveCollectionInfo=function(a){for(var b in a){this.collections[a[b].id]=a[b].collection;if(this.deferredAction&&this.deferredAction[$$PROP_type]==1&&this.deferredAction.collectionId==a[b].id){this.hideLoadingIndicator();this.openTimelineEventPopup(this.deferredAction.popupId,this.deferredAction.scrollIntoView)}}this.decreasePendingAjaxRequests()};
Timeline[$$PROP_prototype].createPopupDomElements=function(){document[$$PROP_body][$$PROP_appendChild](goog$dom$$dom("div",{id:"tl-popup-bk",style:"display: none"}));document[$$PROP_body][$$PROP_appendChild](goog$dom$$dom("div",{id:"tl-popup",style:"display: none"}));goog$dom$$("tl-popup")[$$PROP_setAttribute]("role","alert");goog$dom$$("tl-popup")[$$PROP_setAttribute]("tabindex","-1");var a='<div id="tl-popup-shadow-l"></div><div id="tl-popup-shadow-r"></div><div id="tl-popup-shadow-b"></div><div id="tl-popup-shadow-bl"></div><div id="tl-popup-shadow-br"></div><div id="tl-popup-shadow-tl"></div><div id="tl-popup-shadow-tr"></div>';
document[$$PROP_body][$$PROP_appendChild](goog$dom$$dom("div",{id:"tl-popup-shadow",style:"display: none",innerHTML:a}))};
Timeline[$$PROP_prototype].getColumnsMarkup=function(){var a=[];for(var b in this.initialInfo.co){var c=this.initialInfo.co[b],d=new Date;d[$$PROP_setFullYear](c.y,c.m[0]-1,1);if(!this.minTimestamp)this.minTimestamp=d[$$PROP_getTime]();a[$$PROP_push]("<li ");var e=[];c.m[0]==1&&e[$$PROP_push]("first");c.m[1]==12&&e[$$PROP_push]("last");e[$$PROP_length]&&a[$$PROP_push]('class="',e[$$PROP_join](" "),'"');a[$$PROP_push](">");a[$$PROP_push]("<h3><div></div>");if(c.m[0]==1)a[$$PROP_push](c.vy?c.vy:c.y);
if(!c.vy&&(c.m[0]!=1||c.m[1]!=12)){a[$$PROP_push](' <span class="month">',this.initialInfo.l.mo[c.m[0]-1]);c.m[0]!=c.m[1]&&a[$$PROP_push]("\u2013",this.initialInfo.l.mo[c.m[1]-1]);a[$$PROP_push]("</span>")}a[$$PROP_push]("</h3>");a[$$PROP_push]('<ul class="column">','<li class="loading">',this.initialInfo.l.w[23],"</li>","</ul>");a[$$PROP_push]("</li>")}d[$$PROP_setFullYear](c.y,c.m[1]-1,28);this.maxTimestamp=d[$$PROP_getTime]();return a[$$PROP_join]("")};
Timeline[$$PROP_prototype].getSplashMarkup=function(){var a='<a href="#start" hidefocus style="outline: none" onclick="return timeline._skipSplash(true)"><img alt="" src="images/ui/splash.png" /></a>';a+='<a href="#doodle-happy-holidays-from-google-3-of-5" onclick="return timeline._answerSplashQuestion(event)">Which doodle is awesome?</a>';if(GLOBAL_window.getTriviaHtml)var a=GLOBAL_window.getTriviaHtml();return a};
Timeline[$$PROP_prototype].getWelcomePaneMarkup=function(){var a=[];a[$$PROP_push]("<h2>",this.initialInfo.l.w[13],"</h2>");a[$$PROP_push]("<p>",this.initialInfo.l.w[17]," ",this.initialInfo.l.w[18],"</p>");this.initialInfo.hl=="en"&&a[$$PROP_push]("<p>",'<a class="regular" href="'+this.initialInfo.l.ol+'">',this.initialInfo.l.w[16]+"</a>","</p>");return a[$$PROP_join]("")};
Timeline[$$PROP_prototype].getLegendMarkup=function(){var a=[];a[$$PROP_push]('<h2 style="display: none">',this.initialInfo.l.w[24],"</h2>");a[$$PROP_push]("<ul>");for(var b in TL_CATEGORIES)TL_CATEGORIES[b].legend&&a[$$PROP_push]('<li class="',b,'">','<span class="tl-icon">','<img src="images/ui/transparent.gif"/>',"</span>",'<span class="tl-msg">','<span class="tl-msg-inside">',this.initialInfo.l.w[TL_CATEGORIES[b].msg],"</span>","</span>","</li>");a[$$PROP_push]("</ul>");return a[$$PROP_join]("")};
Timeline[$$PROP_prototype].getNavMarkup=function(){var a=[];a[$$PROP_push]('<div class="buttons-left" id="tl-button-left"></div>');a[$$PROP_push]('<div id="tl-nav-current-bk" title="',this.initialInfo.l.w[6]+'"></div>');a[$$PROP_push]('<div class="canvas">','<ul id="tl-nav-list">');var b=1;a[$$PROP_push]('<li><a hidefocus href="#start">',this.initialInfo.l.y[b],"</a></li>");for(var c=this.initialInfo.l.yr[0];c<=this.initialInfo.l.yr[1];c++){b++;a[$$PROP_push]('<li><a hidefocus href="#',c,'">',this.initialInfo.l.y[b],
"</a></li>")}a[$$PROP_push]("</ul></div>");a[$$PROP_push]('<div class="buttons-right" id="tl-button-right"></div>');a[$$PROP_push]("</div>");a[$$PROP_push]('<div id="tl-nav-current" title="',this.initialInfo.l.w[6],'">','<div class="h1"></div>','<div class="h2"></div>','<div class="h3"></div>',"</div>");return a[$$PROP_join]("")};
Timeline[$$PROP_prototype].getHeaderMarkup=function(){var a=[];a[$$PROP_push]("<h1>");a[$$PROP_push]('<form onsubmit="return timeline.search()">','<input onfocus="return timeline._focusSearchField()" ',' onblur="return timeline._blurSearchField()" ',' id="tl-search" type="text" maxlength="250" />','<input type="submit" value="',this.initialInfo.l.w[36],'">',"</form>");a[$$PROP_push](this.initialInfo.l.w[20]);a[$$PROP_push]("</h1>");return a[$$PROP_join]("")};
Timeline[$$PROP_prototype]._focusSearchField=function(){goog$dom$classes$add(goog$dom$$("tl-search"),"focused")};Timeline[$$PROP_prototype]._blurSearchField=function(){goog$string$trim(goog$dom$$("tl-search")[$$PROP_value])==""&&goog$dom$classes$remove(goog$dom$$("tl-search"),"focused")};
Timeline[$$PROP_prototype].createDomElements=function(){this.createPopupDomElements();var a=[];a[$$PROP_push](this.getHeaderMarkup());a[$$PROP_push]('<div id="tl-master-canvas" class="goog-app">');a[$$PROP_push]('<div id="tl-loading-indicator" style="display: none"><div>',this.initialInfo.l.w[23],"</div></div>");a[$$PROP_push]('<div id="tl-search-loading-indicator" style="display: none"><div>',this.initialInfo.l.w[23],"</div></div>");a[$$PROP_push]('<div id="tl-splash">',this.getSplashMarkup(),"</div>");
a[$$PROP_push]('<div id="tl-interactive-canvas" style="visibility: hidden;" >');a[$$PROP_push]('<div id="tl-search-canvas-container">');a[$$PROP_push]('<div id="tl-search-canvas" role="alert" tabindex="-1"></div>');a[$$PROP_push]("</div>");a[$$PROP_push]('<div id="tl-events-canvas">');a[$$PROP_push]('<div id="tl-keynav-indicator"></div>');a[$$PROP_push]('<h2 style="display: none">',this.initialInfo.l.w[19],"</h2>");a[$$PROP_push]('<ul class="tl-events">');a[$$PROP_push]('<li class="welcome">',this.getWelcomePaneMarkup(),
"</li>");a[$$PROP_push](this.getColumnsMarkup(),"</ul>");a[$$PROP_push]("</div>");a[$$PROP_push]('<div id="tl-nav">');a[$$PROP_push]('<h2 style="display: none">',this.initialInfo.l.w[34],"</h2>");a[$$PROP_push](this.getNavMarkup());a[$$PROP_push]('<div class="tl-legend">',this.getLegendMarkup(),"</div>");a[$$PROP_push]("</div>");a[$$PROP_push]("</div>");this.timelineEl=goog$dom$$("timeline");SETPROP_innerHTML(this.timelineEl,a[$$PROP_join](""))};
Timeline[$$PROP_prototype].fillOutColumn=function(a){var b=[];for(var c in this.columnInfo[a].events){var d=this.columnInfo[a].events[c].ty,e=!!this.columnInfo[a].events[c].nc,f=[d];e&&f[$$PROP_push]("noclick");b[$$PROP_push]('<li id="event-'+c+'" class="',f[$$PROP_join](" "),'">');b[$$PROP_push]('<a hidefocus href="#',c,'">');if(d=="doodle"){var g=this.getHashFromTimestamp(this.columnInfo[a].timestamp);b[$$PROP_push]('<div class="doodle doodle',g[$$PROP_replace](/\./g,"-"),'" title="',this.enhanceTypography(this.columnInfo[a].events[c].ti),
'" /></div>')}else{b[$$PROP_push]('<span class="tl-icon" title="',this.getCategoryNameFromId(d),'"></span>');var h=this.enhanceTypography(this.columnInfo[a].events[c].ti);if(d=="definition")h=this.getDefinitionTitleHtml(h);b[$$PROP_push]('<span class="tl-msg"><span class="tl-msg-inside">',h,"</span></span>")}b[$$PROP_push]("</a>");b[$$PROP_push]("</li>")}SETPROP_innerHTML(this.columnElements[a].element[$$PROP_getElementsByTagName]("ul")[0],b[$$PROP_join](""));this.addColumnEventHandlers(this.columnElements[a].element)};
Timeline[$$PROP_prototype].addColumnEventHandlers=function(a){var b=a[$$PROP_getElementsByTagName]("a");for(var c=0,a;a=b[c];c++){var d=a[$$PROP_parentNode];d&&!goog$array$contains(goog$dom$classes$get(d),"noclick")&&goog$events$listen(a,"click",goog$bind(this.handleTimelineEventClick,this));goog$events$listen(a,"focus",goog$bind(this.handleTimelineEventFocus,this));goog$events$listen(a,"blur",goog$bind(this.handleTimelineEventBlur,this))}};
Timeline[$$PROP_prototype].createNavButtons=function(){this.buttonRenderer=goog$ui$style$app$ButtonRenderer.getInstance();this.navButtonLeft=new goog$ui$Button("\u25c4",this.buttonRenderer);this.navButtonRight=new goog$ui$Button("\u25ba",this.buttonRenderer);this.navButtonLeft.render(goog$dom$$("tl-button-left"));this.navButtonRight.render(goog$dom$$("tl-button-right"));goog$events$listen(this.navButtonLeft,"action",goog$bind(function(){this.advanceTimeline(false)},this));goog$events$listen(this.navButtonRight,
"action",goog$bind(function(){this.advanceTimeline(true)},this));this.navButtonLeft.setTooltip(this.initialInfo.l.w[4]);this.navButtonRight.setTooltip(this.initialInfo.l.w[5])};
Timeline[$$PROP_prototype].handleTimelineEventClick=function(a){if(a[$$PROP_metaKey]||a[$$PROP_ctrlKey])return;if(this.ignoreNextClick)this.ignoreNextClick=false;else{var b=getTarget(a);while(b[$$PROP_tagName]!="A"&&b[$$PROP_tagName]!="BODY")b=b[$$PROP_parentNode];var c=this.getTimelineEventIdFromEl(b);this.openTimelineEventPopup(c,false)}a[$$PROP_preventDefault]()};
Timeline[$$PROP_prototype].openPopup=function(a,b,c){SETPROP_left(this.popupEl[$$PROP_style],"-10000px");this.popupEl[$$PROP_style].top="-10000px";SETPROP_visibility(this.popupEl[$$PROP_style],"hidden");this.popupEl[$$PROP_style].opacity="1.0";SETPROP_className(this.popupEl,c);SETPROP_innerHTML(this.popupEl,a);goog$style$showElement(this.popupEl,true);GLOBAL_window[$$PROP_setTimeout](goog$bind(this.openPopupNext,this),0);this.changePageTitle(b)};
Timeline[$$PROP_prototype].resizePopupShadow=function(){var a=this.popupEl[$$PROP_offsetLeft],b=this.popupEl[$$PROP_offsetTop],c=goog$style$getSize(this.popupEl),d=c[$$PROP_width],e=c[$$PROP_height];this.resizeElement(this.popupShadowEl,a-2,b,d+4,e+6);this.resizeElementById("tl-popup-shadow-l",0,5,2,e-5);this.resizeElementById("tl-popup-shadow-tl",0,0,2,5);this.resizeElementById("tl-popup-shadow-tr",d+2,0,2,5);this.resizeElementById("tl-popup-shadow-r",d+2,5,2,e-5);this.resizeElementById("tl-popup-shadow-b",
6,e,d-6-2,6);this.resizeElementById("tl-popup-shadow-bl",0,e,6,6);this.resizeElementById("tl-popup-shadow-br",d-2,e,6,6);goog$style$showElement(this.popupShadowEl,true)};
Timeline[$$PROP_prototype].openPopupNext=function(){var a=goog$style$getSize(this.popupEl),b=a[$$PROP_width],c=a[$$PROP_height],d=goog$dom$getViewportSize(),e=goog$dom$getDefaultDomHelper_().getDocumentScroll();SETPROP_left(this.popupBkEl[$$PROP_style],0);this.popupBkEl[$$PROP_style].top=0;SETPROP_width(this.popupBkEl[$$PROP_style],this.getContentWidth()+"px");SETPROP_height(this.popupBkEl[$$PROP_style],this.getContentHeight()+"px");this.popupBkEl[$$PROP_style].opacity=0.5;goog$style$showElement(this.popupBkEl,
true);var f=GLOBAL_Math[$$PROP_floor]((d[$$PROP_width]-b)/2+e.x);goog$style$getRelativePosition(this.timelineEl,document[$$PROP_body]);goog$style$getSize(this.timelineEl);var g=GLOBAL_Math[$$PROP_floor]((d[$$PROP_height]-c)/2+e.y);if(g<e.y)g=e.y+20;SETPROP_left(this.popupEl[$$PROP_style],f+"px");this.popupEl[$$PROP_style].top=g+"px";SETPROP_visibility(this.popupEl[$$PROP_style],"visible");this.resizePopupShadow();this.popupEl[$$PROP_focus]();this.popupOpened=true};
Timeline[$$PROP_prototype]._closePopup=function(a){if(this.popupOpened){if(this.lastFocusedElement)try{this.lastFocusedElement[$$PROP_focus]()}catch(b){}this.changePageTitle("");a||goog$style$showElement(this.popupBkEl,false);goog$style$showElement(this.popupShadowEl,false);var c=this.getTimelineEventElFromId(this.popupId);c&&goog$dom$classes$remove(c,"opened");this.popupOpened=false;a||(this.searchOpened?this.updateHashTokenSearch():this.updateHashTokenNav());goog$style$showElement(this.popupEl,
false);if(this.popupIdToBeShownAfterSplash){this.popupIdToBeShownAfterSplash=false;this.scrollTimeline(0,true)}}return false};Timeline[$$PROP_prototype].enhanceTypography=function(a){if(typeof a=="undefined")return"";a=a[$$PROP_replace](/--/g,"\u2013");a=a[$$PROP_replace](/((^|\s)&quot;)/g,"$2\u201c");a=a[$$PROP_replace](/(&quot;([\s,.])?)/g,"\u201d$2");a=a[$$PROP_replace](/\'/g,"\u2019");return a};
Timeline[$$PROP_prototype].createTimelinePopupContents=function(a){var b=[],c="";b[$$PROP_push]('<div class="tl-header">');b[$$PROP_push]('<div class="tl-icon" title="',this.getCategoryNameFromId(a.ty),'"></div>');b[$$PROP_push]('<a hidefocus class="tl-close" href="#" ','title="',this.initialInfo.l.w[11],'" ','onclick="return timeline._closePopup()"></a>');if(goog$array$contains(TL_SLIDESHOW_TYPES,a.ty)){this.curSlideshowImageId=GLOBAL_parseInt(a.si,10);switch(a.ty){case "homepage":var d=this.initialInfo.l.w[3];
break;case "doodle":var d=this.initialInfo.l.w[2];break}this.curSlideshowCollectionId=a.ty;this.curSlideshowCollection=this.collections[a.ty];c=this.curSlideshowCollection[this.curSlideshowImageId].ti;b[$$PROP_push]('<div class="after-icon">');b[$$PROP_push]("<h1>",this.enhanceTypography(d),"</h1>");b[$$PROP_push]("</div>");b[$$PROP_push]("</div>");b[$$PROP_push]('<div class="tl-controls">','<div id="tl-popup-slideshow-button-left"></div>','<div id="tl-popup-slideshow-count"></div>','<div id="tl-popup-slideshow-button-right"></div>',
"</div>");b[$$PROP_push]('<div class="content">');b[$$PROP_push]('<div id="tl-popup-slideshow-title">',this.enhanceTypography(c),"</div>");b[$$PROP_push]('<div id="tl-popup-slideshow-date">',this.curSlideshowCollection[this.curSlideshowImageId].da,"</div>");b[$$PROP_push]("");b[$$PROP_push]('<div id="tl-popup-slideshow-image-loading">',this.initialInfo.l.w[23],"</div>");b[$$PROP_push]('<table class="slideshow-canvas">');b[$$PROP_push]("<tr>");b[$$PROP_push]('<td class="tl-image">');b[$$PROP_push]('<img alt="" id="tl-popup-slideshow-image" ',
'style="visibility: hidden" ','onload="timeline._slideshowImageLoaded()" ','src="',this.curSlideshowCollection[this.curSlideshowImageId].ur,'" />');b[$$PROP_push]("</td>");b[$$PROP_push]("</tr>");b[$$PROP_push]("<tr>");b[$$PROP_push]('<td class="tl-description" ','id="tl-popup-slideshow-description">');b[$$PROP_push](this.enhanceTypography(this.curSlideshowCollection[this.curSlideshowImageId].de));b[$$PROP_push]("</td>");b[$$PROP_push]("</tr>");b[$$PROP_push]("</table>")}else{c=a.ti;if(a.ty=="definition")c=
this.getDefinitionTitleHtml(c);b[$$PROP_push]('<div class="after-icon">');b[$$PROP_push]("<h1>",this.enhanceTypography(c),"</h1>");b[$$PROP_push]("<h2>",this.enhanceTypography(a.da),"</h2>");b[$$PROP_push]("</div>");b[$$PROP_push]("</div>");b[$$PROP_push]('<div class="content">');if(a.vi){if(a.vi[$$PROP_indexOf]("youtube.com/watch")!=-1){var e=a.vi[$$PROP_match](/\/watch\?v=(.*)\&?/)[1],f=this.initialInfo.hl!="en";b[$$PROP_push]('<div class="video');f&&b[$$PROP_push](" with-disclaimer");b[$$PROP_push]('">');
b[$$PROP_push]('<object width="300" height="243"><param name="movie" ','value="http://www.youtube.com/v/',e,'&hl=en&fs=1"></param><param name="allowFullScreen" ','value="true"></param>','<embed tabindex="0" src="http://www.youtube.com/v/',e,'&hl=en&fs=1" type="application/x-shockwave-flash" ','allowfullscreen="true" width="300" ','height="243"></embed></object>');f&&b[$$PROP_push]('<div class="video-disclaimer">',this.initialInfo.l.w[50],"</div>")}else{var g=a.vi,h=g[$$PROP_match](/-([0-9]*)(x([0-9]*))?\./);
if(h&&h[1]){var j=h[1],i=h[3]?h[3]:j}b[$$PROP_push]('<div class="photo">',"<img ");h&&h[1]&&b[$$PROP_push]('width="',j,'" height=" ',i,'" ');b[$$PROP_push]('src="images/photos/',g,'" alt="" />')}b[$$PROP_push]("</div>")}b[$$PROP_push]('<div class="body">',this.enhanceTypography(a.de),"</div>");if(a.l){b[$$PROP_push]("<h3>",this.initialInfo.l.w[a.l[$$PROP_length]>1?1:0],"</h3>");b[$$PROP_push]('<ul class="links">');for(var k in a.l)b[$$PROP_push]('<li><a target="_new" href="',a.l[k][1],'">',this.enhanceTypography(a.l[k][0]),
"</a></li>");b[$$PROP_push]("</ul>")}if(a.tt){var l=a.tt[GLOBAL_Math[$$PROP_floor](GLOBAL_Math.random()*a.tt[$$PROP_length])]-1;b[$$PROP_push]('<div class="tip"><div></div>');b[$$PROP_push]("<strong>",this.collections.tip[l].ti,"</strong> ",this.enhanceTypography(this.collections.tip[l].de));b[$$PROP_push]("</div>")}b[$$PROP_push]("</div>")}return{html:b[$$PROP_join](""),title:c}};
Timeline[$$PROP_prototype].findEventDataForSearch=function(a){var b;this.deferredAction=null;if(a[$$PROP_match](/^[0-9]/))return this.allTimelineEvents[a];else{var c=a[$$PROP_match](/(.*?)-(.*)/);if(c&&c[1]&&c[2]){var d=c[1];if(!this.collections[d])return null;var b={};b.ty=d;b.si=goog$array$findIndex(this.collections[d],function(e){return e.id==a});if(b.si==-1)return null;b.da=this.collections[d][b.si].da;b.ad=this.collections[d][b.si].ad;return b}else return null}};
Timeline[$$PROP_prototype].openTimelineEventPopup=function(a,b){var c;this.deferredAction=null;if(a[$$PROP_match](/^[0-9]/)){c=this.allTimelineEvents[a];if(typeof c=="undefined"){this.showLoadingIndicator();this.deferredAction={type:0,columnId:null,popupId:a,scrollIntoView:b};return}}else{var d=a[$$PROP_match](/(.*?)-(.*)/);if(d&&d[1]&&d[2]){var e=d[1];if(!this.collections[e]){this.showLoadingIndicator();this.deferredAction={type:1,collectionId:e,popupId:a,scrollIntoView:b};this.loadCollectionInfo(e);
return}c={};c.ty=e;c.si=goog$array$findIndex(this.collections[e],function(h){return h.id==a});if(c.si==-1)c.si=0}else return}if(goog$array$indexOf(TL_SLIDESHOW_TYPES,c.ty)!=-1){if(!this.collections[c.ty]){this.showLoadingIndicator();this.deferredAction={type:1,collectionId:c.ty,popupId:a,scrollIntoView:b};this.loadCollectionInfo(c.ty);return}}else if(!c.detailsLoaded){this.showLoadingIndicator();this.deferredAction={type:0,columnId:c.columnInfoId,popupId:a,scrollIntoView:b};this.loadColumnInfoDetailed(c.columnInfoId);
return}else if(c.tt&&!this.collections.tip){this.showLoadingIndicator();this.deferredAction={type:1,collectionId:"tip",popupId:a,scrollIntoView:b};this.loadCollectionInfo("tip");return}var f=this.getTimelineEventElFromId(a);if(f){goog$dom$classes$add(f,"visited");goog$dom$classes$add(f,"opened");b&&this.scrollElIntoView(f,true)}else b&&this.scrollElIntoView(this.columnElements[this.collections[e][c.si].ci+1].element,true);var g=this.createTimelinePopupContents(c);this.openPopup(g.html,g[$$PROP_title],
"goog-app "+c.ty);this.updateHashToken(a);if(goog$array$indexOf(TL_SLIDESHOW_TYPES,c.ty)!=-1){this.addPopupSlideshowButtons();this.updateSlideshowImage()}this.popupId=a};
Timeline[$$PROP_prototype].addPopupSlideshowButtons=function(){this.slideshowButtonLeft=new goog$ui$Button("\u25c4",this.buttonRenderer);this.slideshowButtonLeft.render(goog$dom$$("tl-popup-slideshow-button-left"));goog$events$listen(this.slideshowButtonLeft,"action",goog$bind(this.previousSlideshowImage,this));this.slideshowButtonLeft.setTooltip(this.initialInfo.l.w[10]);this.slideshowButtonRight=new goog$ui$Button("\u25ba",this.buttonRenderer);this.slideshowButtonRight.render(goog$dom$$("tl-popup-slideshow-button-right"));
goog$events$listen(this.slideshowButtonRight,"action",goog$bind(this.nextSlideshowImage,this));this.slideshowButtonRight.setTooltip(this.initialInfo.l.w[8])};
Timeline[$$PROP_prototype].nextSlideshowImage=function(){if(goog$dom$$("tl-popup-slideshow-image")&&this.curSlideshowImageId<this.curSlideshowCollection[$$PROP_length]-1){this.curSlideshowImageId++;this.followingSlideshowImageId=this.curSlideshowImageId+1;if(this.followingSlideshowImageId==this.curSlideshowCollection[$$PROP_length])this.followingSlideshowImageId=null;this.scrollElIntoView(this.columnElements[this.curSlideshowCollection[this.curSlideshowImageId].ci+1].element,true);this.updateSlideshowImage()}};
Timeline[$$PROP_prototype].previousSlideshowImage=function(){if(goog$dom$$("tl-popup-slideshow-image")&&this.curSlideshowImageId>0){this.curSlideshowImageId--;this.followingSlideshowImageId=this.curSlideshowImageId-1;if(this.followingSlideshowImageId==-1)this.followingSlideshowImageId=null;this.scrollElIntoView(this.columnElements[this.curSlideshowCollection[this.curSlideshowImageId].ci+1].element,true);this.updateSlideshowImage()}};
Timeline[$$PROP_prototype].updateSlideshowImage=function(){SETPROP_visibility(goog$dom$$("tl-popup-slideshow-image")[$$PROP_style],"hidden");SETPROP_visibility(goog$dom$$("tl-popup-slideshow-image-loading")[$$PROP_style],"visible");goog$dom$$("tl-popup-slideshow-image").src=this.curSlideshowCollection[this.curSlideshowImageId].ur;SETPROP_innerHTML(goog$dom$$("tl-popup-slideshow-title"),this.enhanceTypography(this.curSlideshowCollection[this.curSlideshowImageId].ti));SETPROP_innerHTML(goog$dom$$("tl-popup-slideshow-date"),
this.enhanceTypography(this.curSlideshowCollection[this.curSlideshowImageId].da));SETPROP_innerHTML(goog$dom$$("tl-popup-slideshow-description"),this.enhanceTypography(this.curSlideshowCollection[this.curSlideshowImageId].de));SETPROP_innerHTML(goog$dom$$("tl-popup-slideshow-count"),this.curSlideshowImageId+1+" of "+this.curSlideshowCollection[$$PROP_length]);this.changePageTitle(this.curSlideshowCollection[this.curSlideshowImageId].ti);if(this.followingSlideshowImageId&&this.curSlideshowCollection[this.followingSlideshowImageId])(new Image).src=
this.curSlideshowCollection[this.followingSlideshowImageId].ur;this.curSlideshowImageId==0?this.slideshowButtonLeft.setEnabled(false):this.slideshowButtonLeft.setEnabled(true);this.curSlideshowImageId==this.curSlideshowCollection[$$PROP_length]-1?this.slideshowButtonRight.setEnabled(false):this.slideshowButtonRight.setEnabled(true);this.updateHashToken(this.curSlideshowCollection[this.curSlideshowImageId].id)};
Timeline[$$PROP_prototype]._slideshowImageLoaded=function(){GLOBAL_window[$$PROP_setTimeout](goog$bind(this.slideshowImageLoadedNext,this),0)};Timeline[$$PROP_prototype].slideshowImageLoadedNext=function(){SETPROP_visibility(goog$dom$$("tl-popup-slideshow-image")[$$PROP_style],"visible");SETPROP_visibility(goog$dom$$("tl-popup-slideshow-image-loading")[$$PROP_style],"hidden")};Timeline[$$PROP_prototype].changeDraggingMode=function(a){this.draggingMode=a};
Timeline[$$PROP_prototype].scrollTimeline=function(a,b){if(typeof a=="undefined")return;var c=this.getTimelineEventsCanvasVisibleWidth(),d=this.getTimelineEventsCanvasTotalWidth();if(a+c>d)a=d-c;if(b){var e=new goog$fx$dom$Scroll(this.timelineEventsCanvasEl,[this.timelineEventsCanvasEl[$$PROP_scrollLeft],0],[a,0],500,goog$fx$easing$easeOut);e.play()}else this.timelineEventsCanvasEl.scrollLeft=a};
Timeline[$$PROP_prototype].advanceTimeline=function(a){var b=this.timelineEventsCanvasEl[$$PROP_scrollLeft],c=GLOBAL_Math[$$PROP_round](this.getTimelineEventsCanvasVisibleWidth()*0.8);if(a)b+=c;else b-=c;this.scrollTimeline(b,true)};Timeline[$$PROP_prototype].handleTimelineEventsCanvasScroll=function(){this.updateNav()};
Timeline[$$PROP_prototype].handleTimelineEventsCanvasMouseDown=function(a){if(a[$$PROP_metaKey]||a[$$PROP_ctrlKey])return;if(a[$$PROP_button]==2)return;this.dragLastX=a[$$PROP_clientX];this.dragDelta=0;this.navTimelineEventsCanvasMouseMoveEventHandlerKey=goog$events$listen(document[$$PROP_body],"mousemove",goog$bind(this.handleTimelineEventsCanvasMouseMove,this));this.navTimelineEventsCanvasMouseUpEventHandlerKey=goog$events$listen(document[$$PROP_body],"mouseup",goog$bind(this.handleTimelineEventsCanvasMouseUp,
this));this.dragStartedOnAnchorActive=false;this.dragStartedOnAnchorEl=null;var b=getTarget(a);if(b[$$PROP_parentNode][$$PROP_parentNode].className=="column"){this.dragStartedOnAnchorActive=true;this.dragStartedOnAnchorEl=b[$$PROP_parentNode][$$PROP_getElementsByTagName]("A")[0]}do{b=b[$$PROP_parentNode];if(b&&b[$$PROP_tagName]=="A"){this.dragStartedOnAnchorActive=true;this.dragStartedOnAnchorEl=b;break}}while(b&&b[$$PROP_tagName]!="A"&&b[$$PROP_tagName]!="UL");if(this.dragStartedOnAnchorActive){goog$dom$classes$add(this.dragStartedOnAnchorEl,
"clicked");this.changeDraggingMode(3)}else this.changeDraggingMode(2);a[$$PROP_preventDefault]()};Timeline[$$PROP_prototype].clearIgnoreNextClickFlag=function(){this.ignoreNextClick=false};
Timeline[$$PROP_prototype].handleTimelineEventsCanvasMouseUp=function(a){goog$events$unlistenByKey(this.navTimelineEventsCanvasMouseMoveEventHandlerKey);goog$events$unlistenByKey(this.navTimelineEventsCanvasMouseUpEventHandlerKey);if(this.dragStartedOnAnchorActive){goog$dom$classes$remove(this.dragStartedOnAnchorEl,"clicked");this.focusElAndScrollIntoView(this.dragStartedOnAnchorEl,false)}else{if(this.dragStartedOnAnchorEl){this.ignoreNextClick=true;GLOBAL_window[$$PROP_setTimeout](goog$bind(this.clearIgnoreNextClickFlag,
this),100)}else this.ignoreNextClick=false;a&&a[$$PROP_preventDefault]()}this.changeDraggingMode(0)};
Timeline[$$PROP_prototype].handleTimelineEventsCanvasMouseMove=function(a){var b=a[$$PROP_clientX],c=b-this.dragLastX;if(c!=0){var d=this.timelineEventsCanvasEl[$$PROP_scrollLeft]-c;this.scrollTimeline(d,false);this.dragLastX=b;this.dragDelta+=GLOBAL_Math.abs(c);if(this.dragStartedOnAnchorActive&&this.dragDelta>=8){goog$dom$classes$remove(this.dragStartedOnAnchorEl,"clicked");this.dragStartedOnAnchorActive=false;this.changeDraggingMode(2)}}};
Timeline[$$PROP_prototype].handleBodyMouseOut=function(a){var b=null;if(a[$$PROP_relatedTarget])b=a[$$PROP_relatedTarget];else if(a.toElement)b=a.toElement;try{if(b==null||b[$$PROP_tagName]=="HTML"||b[$$PROP_tagName][$$PROP_substring](0,3)=="xul")if(this.draggingMode==1)this.handleNavMouseUp();else if(this.draggingMode==2||this.draggingMode==3)this.handleTimelineEventsCanvasMouseUp()}catch(a){}};
Timeline[$$PROP_prototype].updateNav=function(){this.updateVisibleColumnIds();var a=this.getTimelineEventsCanvasVisibleWidth(),b=this.getNavPositionBracket(this.timelineEventsCanvasEl[$$PROP_scrollLeft],this.timelineEventsCanvasEl[$$PROP_scrollLeft]+a);if(b[$$PROP_right]-b[$$PROP_left]<20){var c=(b[$$PROP_left]+b[$$PROP_right])/2;SETPROP_left(b,c-10);b.right=b[$$PROP_left]+20}SETPROP_left(this.navCurrentEl[$$PROP_style],b[$$PROP_left]+5+"px");SETPROP_width(this.navCurrentEl[$$PROP_style],b[$$PROP_right]-
b[$$PROP_left]-10+"px");SETPROP_left(this.navCurrentBkEl[$$PROP_style],b[$$PROP_left]+2+"px");SETPROP_width(this.navCurrentBkEl[$$PROP_style],b[$$PROP_right]-b[$$PROP_left]-3+"px");this.updateNavButtons();if(this.initialized){var d=[];for(var e=this.currentVisibleColumnIdLeft;e<=this.currentVisibleColumnIdRight;e++)this.columnInfo[e].loaded==0&&d[$$PROP_push](e);d[$$PROP_length]&&this.loadColumnInfoSimple(d)}};
Timeline[$$PROP_prototype].updateNavButtons=function(){if(this.timelineEventsCanvasEl[$$PROP_scrollLeft]<=0){if(this.navButtonLeftActive){this.navButtonLeft.setEnabled(false);this.navButtonLeftActive=false}}else if(!this.navButtonLeftActive){this.navButtonLeft.setEnabled(true);this.navButtonLeftActive=true}var a=this.getTimelineEventsCanvasVisibleWidth();if(this.timelineEventsCanvasEl[$$PROP_scrollLeft]>=this.getTimelineEventsCanvasTotalWidth()-a){if(this.navButtonRightActive){this.navButtonRight.setEnabled(false);
this.navButtonRightActive=false}}else if(!this.navButtonRightActive){this.navButtonRight.setEnabled(true);this.navButtonRightActive=true}};
Timeline[$$PROP_prototype].updateNavWidth=function(){this.eventsCanvasWidth=goog$style$getSize(this.timelineDiv)[$$PROP_width];if(this.searchOpened)this.eventsCanvasWidth-=goog$style$getSize(this.searchCanvasContainerEl)[$$PROP_width];this.eventsCanvasWidth-=3;goog$style$setSize(this.timelineEventsCanvasEl,this.eventsCanvasWidth,goog$style$getSize(this.timelineEventsCanvasEl)[$$PROP_height]);var a=this.navEl[$$PROP_getElementsByTagName]("LI"),b=goog$style$getRelativePosition(a[0],this.navEl);this.minTimestampOffsetLeft=
b.x;var b=goog$style$getRelativePosition(a[a[$$PROP_length]-1],this.navEl);this.maxTimestampOffsetLeft=b.x+goog$style$getSize(a[a[$$PROP_length]-1])[$$PROP_width]};
Timeline[$$PROP_prototype].updateNavLookupTable=function(){var a=0,b=0;this.navLookupTable=[];var c=this.eventsCanvasWidth;for(var d=0;d<this.columnElements[$$PROP_length]-2;d++){var e=this.columnElements[d][$$PROP_offsetLeft];this.currentVisibleColumnIdLeft=d;this.currentVisibleColumnIdRight=this.getColumnIdFromOffsetLeft(e+c-1,this.currentVisibleColumnIdRight);var f=this.getNavPositionBracket(e,e+c),g=GLOBAL_Math[$$PROP_floor]((f[$$PROP_left]+f[$$PROP_right])/2);for(var h=b;h<=g;h++)this.navLookupTable[h]=
GLOBAL_Math[$$PROP_floor]((h-b)/(g-b)*(e-a)+a);a=e;b=g}for(var h=b;h<=this.navEl[$$PROP_offsetWidth];h++)this.navLookupTable[h]=this.navLookupTable[b];this.updateNav()};
Timeline[$$PROP_prototype].getColumnIdFromOffsetLeft=function(a,b){var c=b;if(a>=this.columnElements[c][$$PROP_offsetLeft]&&a<this.columnElements[c+1][$$PROP_offsetLeft])return c;else if(c<this.columnElements[$$PROP_length]-2&&a>=this.columnElements[c+1][$$PROP_offsetLeft]&&a<this.columnElements[c+2][$$PROP_offsetLeft])return c+1;else if(c>0&&a>=this.columnElements[c-1][$$PROP_offsetLeft]&&a<this.columnElements[c][$$PROP_offsetLeft])return c-1;var c=GLOBAL_Math[$$PROP_floor]((this.columnElements[$$PROP_length]-
1)/2),d=GLOBAL_Math[$$PROP_floor](c/2);do{var e=c;if(a>=this.columnElements[c][$$PROP_offsetLeft]&&a<this.columnElements[c+1][$$PROP_offsetLeft])break;else{if(a<this.columnElements[c][$$PROP_offsetLeft])c-=d;else c+=d;d=GLOBAL_Math[$$PROP_floor](d/2);if(d==0)d=1;if(e==c)break}}while(1);return c};
Timeline[$$PROP_prototype].getColumnIdFromTimestamp=function(a){var b=GLOBAL_Math[$$PROP_floor](this.columnInfo[$$PROP_length]/2),c=GLOBAL_Math[$$PROP_floor](b/2);do{var d=b;if(a>=this.columnInfo[b].timestamp&&a<this.columnInfo[b+1].timestamp)break;else{if(a<this.columnInfo[b].timestamp)b-=c;else b+=c;c=GLOBAL_Math[$$PROP_floor](c/2);if(c==0)c=1;if(d==b)break}}while(1);return b};
Timeline[$$PROP_prototype].updateVisibleColumnIds=function(){this.currentVisibleColumnIdLeft=this.getColumnIdFromOffsetLeft(this.timelineEventsCanvasEl[$$PROP_scrollLeft],this.currentVisibleColumnIdLeft);this.currentVisibleColumnIdRight=this.getColumnIdFromOffsetLeft(this.timelineEventsCanvasEl[$$PROP_scrollLeft]+this.getTimelineEventsCanvasVisibleWidth(),this.currentVisibleColumnIdRight);this.updateHashTokenNav()};
Timeline[$$PROP_prototype].getNavPosition=function(a,b){var c=(a-this.columnElements[b][$$PROP_offsetLeft])/(this.columnElements[b+1][$$PROP_offsetLeft]-this.columnElements[b][$$PROP_offsetLeft]),d=GLOBAL_Math[$$PROP_floor](c*(this.columnInfo[b+1].timestamp-this.columnInfo[b].timestamp)+this.columnInfo[b].timestamp);return GLOBAL_Math[$$PROP_floor]((d-this.minTimestamp)/(this.maxTimestampRounded-this.minTimestamp)*(this.maxTimestampOffsetLeft-this.minTimestampOffsetLeft)+this.minTimestampOffsetLeft)};
Timeline[$$PROP_prototype].getNavPositionBracket=function(a,b){return{left:this.getNavPosition(a,this.currentVisibleColumnIdLeft),right:this.getNavPosition(b,this.currentVisibleColumnIdRight)}};Timeline[$$PROP_prototype].handleNavAnchorClick=function(a){if(a[$$PROP_metaKey]||a[$$PROP_ctrlKey])return;a[$$PROP_preventDefault]()};
Timeline[$$PROP_prototype].handleNavMouseDown=function(a){if(a[$$PROP_button]==2)return;this.navMouseMoveEventHandlerKey=goog$events$listen(document[$$PROP_body],"mousemove",goog$bind(this.handleNavMouseMove,this));this.navMouseUpEventHandlerKey=goog$events$listen(document[$$PROP_body],"mouseup",goog$bind(this.handleNavMouseUp,this));var b=a[$$PROP_clientX]-this.navEl[$$PROP_offsetLeft];this.navDragStartX=b;this.navDragOffset=b>=this.navCurrentEl[$$PROP_offsetLeft]&&b<=this.navCurrentEl[$$PROP_offsetLeft]+
this.navCurrentEl[$$PROP_offsetWidth]?GLOBAL_Math[$$PROP_round](b-(this.navCurrentEl[$$PROP_offsetLeft]+this.navCurrentEl[$$PROP_offsetWidth]/2)):0;this.changeDraggingMode(1);this.scrollTimeline(this.navLookupTable[b-this.navDragOffset],false);a[$$PROP_preventDefault]()};Timeline[$$PROP_prototype].handleNavMouseUp=function(a){goog$events$unlistenByKey(this.navMouseMoveEventHandlerKey);goog$events$unlistenByKey(this.navMouseUpEventHandlerKey);a&&a[$$PROP_preventDefault]();this.changeDraggingMode(0)};
Timeline[$$PROP_prototype].handleNavMouseMove=function(a){var b=a[$$PROP_clientX]-this.navEl[$$PROP_offsetLeft],c=GLOBAL_Math[$$PROP_floor](GLOBAL_Math.abs(b-this.navDragStartX)/2),d=0;if(this.navDragOffset>0){var d=this.navDragOffset-c;if(d<0)d=0}else if(this.navDragOffset<0){var d=this.navDragOffset+c;if(d>0)d=0}this.scrollTimeline(this.navLookupTable[b-d],false);a[$$PROP_preventDefault]()};
Timeline[$$PROP_prototype].getHashFromTimestamp=function(a){var b=new Date(a),c=b.getFullYear().toString();if(b.getMonth()>0)c+="."+(b.getMonth()+1);return c};Timeline[$$PROP_prototype].updateHashToken=function(a){this.hashToSet="#"+a;this.hashTimeout&&GLOBAL_window[$$PROP_clearTimeout](this.hashTimeout);this.hashTimeout=GLOBAL_window[$$PROP_setTimeout](goog$bind(this.updateHashToken_,this),50)};Timeline[$$PROP_prototype].updateHashToken_=function(){GLOBAL_window[$$PROP_location][$$PROP_replace](this.hashToSet)};
Timeline[$$PROP_prototype].updateHashTokenSearch=function(){GLOBAL_window[$$PROP_location][$$PROP_replace]("#search/"+goog$string$urlEncode(this.searchQuery))};Timeline[$$PROP_prototype].updateHashTokenNav=function(){if(!this.initialized||this.popupOpened)return;var a=this.currentVisibleColumnIdLeft;if(a==0)var b="start";else{var c=this.columnInfo[a].timestamp,b=this.getHashFromTimestamp(c)}GLOBAL_window[$$PROP_location][$$PROP_hash]!="#"+b&&this.updateHashToken(b)};
Timeline[$$PROP_prototype].recognizeHashToken=function(a){this._closePopup();if(a=="")return;var b=a[$$PROP_match](/^(start|([1-2][0-9][0-9][0-9])(\.([0-9][0-9]?))?)$/);if(b)if(b[1]=="start")this.scrollTimeline(0,false);else{var c=GLOBAL_parseInt(b[2],10),d=GLOBAL_parseInt(b[4],10);if(d>12||!d)d=1;var e=new Date;e[$$PROP_setFullYear](c,d-1,1);var f=e[$$PROP_getTime]();if(f>this.maxTimestamp)f=this.maxTimestamp-1;else if(f<this.minTimestamp)f=this.minTimestamp;this.scrollTimeline(this.columnElements[this.getColumnIdFromTimestamp(f)][$$PROP_offsetLeft],
false)}else{var b=a[$$PROP_match](/^search\/(.*)/);if(b&&b[1]){SETPROP_value(this.searchQueryEl,decodeURIComponent(b[1][$$PROP_replace](/\+/g," ")));this.search()}else this.openTimelineEventPopup(a,true)}};
Timeline[$$PROP_prototype].updateColumnElementsDimensions=function(){SETPROP_offsetLeft(this.columnElements[0],0);for(var a=1;a<this.columnElements[$$PROP_length]-2;a++)SETPROP_offsetLeft(this.columnElements[a],this.columnElements[a].element[$$PROP_offsetLeft]);SETPROP_offsetLeft(this.columnElements[this.columnElements[$$PROP_length]-2],this.columnElements[this.columnElements[$$PROP_length]-3].element[$$PROP_offsetLeft]+this.columnElements[this.columnElements[$$PROP_length]-3].element[$$PROP_offsetWidth]);
SETPROP_offsetLeft(this.columnElements[this.columnElements[$$PROP_length]-1],GLOBAL_Number.MAX_VALUE)};Timeline[$$PROP_prototype].handleBodyResize=function(){this.updateNavWidth();this.updateNavLookupTable();this.scrollTimeline(this.timelineEventsCanvasEl[$$PROP_scrollLeft],false)};
Timeline[$$PROP_prototype].handleBodyKeyPress=function(a){if(a.identifier[$$PROP_indexOf]("_KEYNAV")!=-1){this.activateKeyNavIndicator();a.identifier=a.identifier[$$PROP_replace](/_KEYNAV/,"")}switch(a.identifier){case "NEXT_EVENT":if(this.searchOpened)break;var b=false;if(this.popupOpened){this._closePopup(true);b=true}this.focusNextEvent();if(b){var c=this.getTimelineEventIdFromEl(this.curFocusedElement);this.openTimelineEventPopup(c,false)}break;case "PREV_EVENT":if(this.searchOpened)break;var b=
false;if(this.popupOpened){this._closePopup(true);b=true}this.focusPreviousEvent();if(b){var c=this.getTimelineEventIdFromEl(this.curFocusedElement);this.openTimelineEventPopup(c,false)}break;case "NEXT_COLUMN":if(this.searchOpened)break;this.popupOpened&&this._closePopup();this.focusNextColumn();break;case "PREV_COLUMN":if(this.searchOpened)break;this.popupOpened&&this._closePopup();this.focusPreviousColumn();break;case "OPEN_EVENT":if(!this.popupOpened&&this.curFocusedElement){var c=this.getTimelineEventIdFromEl(this.curFocusedElement);
this.openTimelineEventPopup(c,false)}break;case "SCROLL_RIGHT":if(this.searchOpened)this._nextSearchPage();else this.popupOpened?this.nextSlideshowImage():this.advanceTimeline(true);break;case "SCROLL_LEFT":if(this.searchOpened)this._previousSearchPage();else this.popupOpened?this.previousSlideshowImage():this.advanceTimeline(false);break;case "CANCEL":if(this.popupOpened)this._closePopup();else if(this.searchOpened)this._closeSearch();else this.lastMatchedFindEl&&this.removeFindHighlight();a[$$PROP_preventDefault]();
break;case "FIND":this.findInteractive();break;case "FIND_NEXT":this.findNextOrPrevious(false);break;case "FIND_PREVIOUS":this.findNextOrPrevious(true);break}};Timeline[$$PROP_prototype].focusElAndScrollIntoView=function(a,b){a[$$PROP_focus]();b&&this.scrollElIntoView(a,false)};
Timeline[$$PROP_prototype].scrollElIntoView=function(a,b){var c=goog$style$getRelativePosition(a,this.timelineEventsCanvasEl),d=c.x+this.timelineEventsCanvasEl[$$PROP_scrollLeft],e=d+a[$$PROP_offsetWidth],f=this.timelineEventsCanvasEl[$$PROP_scrollLeft],g=f+this.getTimelineEventsCanvasVisibleWidth();if(e+150<f||d-150>g)this.scrollTimeline(GLOBAL_Math[$$PROP_floor]((d+e)/2-(g-f)/2),b);else if(d-20<f)this.scrollTimeline(d-50,b);else e+20>g&&this.scrollTimeline(e+50-(g-f),b)};
Timeline[$$PROP_prototype].getFirstTimelineEventEl=function(){var a=this.timelineEventsEl,b=a[$$PROP_getElementsByTagName]("a");for(var c=0;c<b[$$PROP_length];c++)if(!goog$array$contains(goog$dom$classes$get(b[c]),"regular"))return b[c];return null};Timeline[$$PROP_prototype].getLastTimelineEventEl=function(){var a=this.timelineEventsEl,b=a[$$PROP_getElementsByTagName]("a");a=b[b[$$PROP_length]-1];return a[$$PROP_parentNode][$$PROP_parentNode][$$PROP_getElementsByTagName]("a")[0]};
Timeline[$$PROP_prototype].getFirstVisibleTimelineEventEl=function(){var a=this.currentVisibleColumnIdLeft;if(this.columnElements[a]){var b=this.timelineEventsCanvasEl[$$PROP_scrollLeft]-this.columnElements[a][$$PROP_offsetLeft];b>30&&a++}var c=this.columnElements[a]?this.columnElements[a].element:this.timelineEventsEl,d=c[$$PROP_getElementsByTagName]("a");while(d[$$PROP_length]==0){c=c[$$PROP_nextSibling];d=c[$$PROP_getElementsByTagName]("a")}return d[0]};
Timeline[$$PROP_prototype].getNextTimelineEventEl=function(a,b){return a[$$PROP_parentNode][$$PROP_nextSibling]?a[$$PROP_parentNode][$$PROP_nextSibling][$$PROP_getElementsByTagName]("a")[0]:this.getNextColumnTimelineEventEl(a,b)};
Timeline[$$PROP_prototype].getNextColumnTimelineEventEl=function(a,b){var c=a[$$PROP_parentNode][$$PROP_parentNode][$$PROP_parentNode];do{c=c[$$PROP_nextSibling];if(c)var d=c[$$PROP_getElementsByTagName]("a")}while(c&&d[$$PROP_length]==0);return d&&d[0]?d[0]:b?this.getFirstTimelineEventEl():null};
Timeline[$$PROP_prototype].getPreviousTimelineEventEl=function(a,b){if(a[$$PROP_parentNode][$$PROP_previousSibling]&&!goog$array$contains(goog$dom$classes$get(a[$$PROP_parentNode][$$PROP_previousSibling]),"welcome"))return a[$$PROP_parentNode][$$PROP_previousSibling][$$PROP_getElementsByTagName]("a")[0];else{var c=this.getPreviousColumnTimelineEventEl(a,b);c=c[$$PROP_parentNode][$$PROP_parentNode].lastChild[$$PROP_getElementsByTagName]("a")[0];return c}};
Timeline[$$PROP_prototype].getPreviousColumnTimelineEventEl=function(a,b){var c=a[$$PROP_parentNode][$$PROP_parentNode][$$PROP_parentNode];do{c=c[$$PROP_previousSibling];if(c&&c[$$PROP_getElementsByTagName])var d=c[$$PROP_getElementsByTagName]("a")}while(c&&(goog$array$contains(goog$dom$classes$get(c),"welcome")||d[$$PROP_length]==0));return c?d[0]:b?this.getLastTimelineEventEl():null};
Timeline[$$PROP_prototype].focusFirstEvent=function(){var a=this.getFirstVisibleTimelineEventEl();this.focusElAndScrollIntoView(a,true)};
Timeline[$$PROP_prototype].focusLastEvent=function(a){var b=this.columnElements[this.currentVisibleColumnIdRight]?this.columnElements[this.currentVisibleColumnIdRight].element:this.timelineEventsEl,c=b[$$PROP_getElementsByTagName]("a");while(c[$$PROP_length]==0){b=b[$$PROP_previousSibling];c=b[$$PROP_getElementsByTagName]("a")}this.focusElAndScrollIntoView(c[a?0:c[$$PROP_length]-1],true)};
Timeline[$$PROP_prototype].focusNextEvent=function(){if(this.curFocusedElement){var a=this.getNextTimelineEventEl(this.curFocusedElement,true);a&&this.focusElAndScrollIntoView(a,true)}else this.focusFirstEvent()};Timeline[$$PROP_prototype].focusPreviousEvent=function(){if(this.curFocusedElement){var a=this.getPreviousTimelineEventEl(this.curFocusedElement,true);a&&this.focusElAndScrollIntoView(a,true)}else this.focusLastEvent(false)};
Timeline[$$PROP_prototype].focusNextColumn=function(){if(this.curFocusedElement){var a=this.getNextColumnTimelineEventEl(this.curFocusedElement,true);a&&this.focusElAndScrollIntoView(a,true)}else this.focusFirstEvent()};Timeline[$$PROP_prototype].focusPreviousColumn=function(){if(this.curFocusedElement){var a=this.getPreviousColumnTimelineEventEl(this.curFocusedElement,true);a&&this.focusElAndScrollIntoView(a,true)}else this.focusLastEvent(true)};
Timeline[$$PROP_prototype].handleTimelineEventFocus=function(a){this.curFocusedElement=getTarget(a);this.moveKeyNavIndicator(getTarget(a))};Timeline[$$PROP_prototype].handleTimelineEventBlur=function(){this.lastFocusedElement=this.curFocusedElement;this.curFocusedElement=null;this.moveKeyNavIndicator(null)};Timeline[$$PROP_prototype].activateKeyNavIndicator=function(){if(!this.keyNavIndicatorActive){this.keyNavIndicatorActive=true;SETPROP_visibility(this.keyNavIndicatorEl[$$PROP_style],"visible")}};
Timeline[$$PROP_prototype].moveKeyNavIndicator=function(a){if(a&&this.keyNavIndicatorActive){var b=goog$style$getRelativePosition(a,this.timelineEventsCanvasEl);b.x+=this.timelineEventsCanvasEl[$$PROP_scrollLeft];SETPROP_left(this.keyNavIndicatorEl[$$PROP_style],b.x-9+"px");this.keyNavIndicatorEl[$$PROP_style].top=b.y+a.offsetHeight/2-4+"px";SETPROP_visibility(this.keyNavIndicatorEl[$$PROP_style],"visible")}};
Timeline[$$PROP_prototype].search=function(){this.searchQuery=this.searchEl[$$PROP_value];this.searchQuery=goog$string$trim(this.searchQuery);this.searchHelper.fetchPage=0;this.searchHelper.searchPage=1;this.searchHelper.totalResults=0;this.searchHelper.totalPages=0;this.searchHelper.currentResultsCount=0;this.searchHelper.retrievedResults=[];this.searchHelper.sortOrder=0;if(this.searchQuery[$$PROP_length]==0)return false;if(!this.allDataLoaded){this.showSearchLoadingIndicator();this.deferredAction=
{type:2};this.splashOpened&&this._skipSplash(true);return false}this.loadSearchResults();return false};Timeline[$$PROP_prototype].loadSearchResults=function(){this.showSearchLoadingIndicator();var a="/cse?cx="+this.initialInfo.sr+"&client=google-csbe&output=xml_no_dtd&q="+goog$string$urlEncode(this.searchQuery)+"&num=100&start="+this.searchHelper.fetchPage*100,b=new goog$net$XhrLite;goog$events$listen(b,goog$net$EventType$COMPLETE,goog$bind(this.receiveSearchResults,this));b.send(a)};
Timeline[$$PROP_prototype].showSearchCanvas=function(){this.splashOpened&&this._skipSplash(false);SETPROP_display(this.searchCanvasContainerEl[$$PROP_style],"block");this.searchOpened=true;GLOBAL_window[$$PROP_setTimeout](goog$bind(this.handleBodyResize,this),50);this.updateHashTokenSearch()};Timeline[$$PROP_prototype]._hideSearchCanvas=function(){this.hideSearchCanvas()};
Timeline[$$PROP_prototype].hideSearchCanvas=function(){SETPROP_display(this.searchCanvasContainerEl[$$PROP_style],"none");this.searchOpened=false;GLOBAL_window[$$PROP_setTimeout](goog$bind(this.handleBodyResize,this),1);if(this.lastFocusedElement)try{this.lastFocusedElement[$$PROP_focus]()}catch(a){}};Timeline[$$PROP_prototype]._previousSearchPage=function(){if(this.searchHelper.searchPage>1){this.searchHelper.searchPage--;this.showCurrentPageOfSearchResults()}return false};
Timeline[$$PROP_prototype]._nextSearchPage=function(){if(this.searchHelper.searchPage<this.searchMaxPages){this.searchHelper.searchPage++;this.showCurrentPageOfSearchResults()}return false};
Timeline[$$PROP_prototype].getSearchResultsHeaderMarkup=function(a,b){var c=[];c[$$PROP_push]("<h2>");c[$$PROP_push]('<div class="searchinfo">');if(b){var d=this.initialInfo.l.w[44];d=d[$$PROP_replace](/(%1)/,a+1);d=d[$$PROP_replace](/(%2)/,a+b)}else var d=this.initialInfo.l.w[45];d=d[$$PROP_replace](/(%3)/,goog$string$htmlEscape(this.searchQuery));c[$$PROP_push](d);c[$$PROP_push]("</div>");c[$$PROP_push]('<a hidefocus class="tl-close" href="#" ','title="',this.initialInfo.l.w[11],'" ','onclick="return timeline._closeSearch()"></a>');
c[$$PROP_push]('<div style="clear: both;"><!-- --\></div>');c[$$PROP_push]("</h2>");return c[$$PROP_join]("")};Timeline[$$PROP_prototype]._handleSpellingSuggestion=function(a){var a=a?a:GLOBAL_window.event,b=getTarget(a);while(b[$$PROP_tagName]!="A"&&b[$$PROP_tagName]!="BODY")b=b[$$PROP_parentNode];var c=b[$$PROP_innerHTML][$$PROP_replace](/(<.*?>)/g,"");SETPROP_value(this.searchQueryEl,goog$string$unescapeEntities(c));this.search();return false};
Timeline[$$PROP_prototype].parseSearchResults=function(a){var b=a[$$PROP_getElementsByTagName]("R"),c=b[$$PROP_length];if(c){var d=a[$$PROP_getElementsByTagName]("M")[0][$$PROP_firstChild][$$PROP_nodeValue],e=GLOBAL_parseInt(d,10);this.searchHelper.totalResults=e;this.searchHelper.totalPages=GLOBAL_Math[$$PROP_floor]((e-1)/3)+1;this.searchHelper.totalPagesToFetch=GLOBAL_Math[$$PROP_floor]((e-1)/100)+1;this.searchMaxPages=GLOBAL_Math[$$PROP_floor]((e-1)/3)+1;for(var f=0,g;g=b[f];f++){var h=g[$$PROP_getElementsByTagName]("U")[0][$$PROP_firstChild][$$PROP_nodeValue],
j=g[$$PROP_getElementsByTagName]("T")[0][$$PROP_firstChild][$$PROP_nodeValue],i=g[$$PROP_getElementsByTagName]("S")[0][$$PROP_firstChild][$$PROP_nodeValue];i=i[$$PROP_replace](/(googletimeline\.)/g,"");var k=this.getTimelineEventIdFromSearchUrl(h),l=this.findEventDataForSearch(k);if(!l)continue;this.searchHelper.retrievedResults[$$PROP_push]({url:h,title:j,snippet:i,id:k,data:l,originalIndex:this.searchHelper.retrievedResults[$$PROP_length]})}}else this.searchHelper.spellingEl=a[$$PROP_getElementsByTagName]("Spelling")[0];
this.searchHelper.totalResults=this.searchHelper.retrievedResults[$$PROP_length];this.searchMaxPages=GLOBAL_Math[$$PROP_floor]((this.searchHelper.totalResults-1)/3)+1};
Timeline[$$PROP_prototype].receiveSearchResults=function(a){if(!a[$$PROP_target].isSuccess()||a[$$PROP_target].getResponseXml()==null){this.hideSearchLoadingIndicator();return}this.parseSearchResults(a[$$PROP_target].getResponseXml()[$$PROP_documentElement]);this.searchHelper.fetchPage++;if(this.searchHelper.fetchPage<this.searchHelper.totalPagesToFetch){this.loadSearchResults();return}this.showSearchCanvas();this.hideSearchLoadingIndicator();this.showCurrentPageOfSearchResults()};
Timeline[$$PROP_prototype]._sortByDate=function(){this.changeSortOrder(1);return false};Timeline[$$PROP_prototype]._sortByRelevance=function(){this.changeSortOrder(0);return false};Timeline[$$PROP_prototype].changeSortOrder=function(a){if(this.searchHelper.sortOrder==a)return;this.searchHelper.sortOrder=a;this.sortSearchResults();this.searchHelper.searchPage=1;this.showCurrentPageOfSearchResults()};
Timeline[$$PROP_prototype].sortSearchResults=function(){switch(this.searchHelper.sortOrder){case 1:goog$array$sort(this.searchHelper.retrievedResults,compareResultDates);break;default:goog$array$sort(this.searchHelper.retrievedResults,compareResultOriginalOrder);break}};
Timeline[$$PROP_prototype].showCurrentPageOfSearchResults=function(){var a=[];if(this.searchHelper.totalResults){var b=this.searchHelper.retrievedResults,c=(this.searchHelper.searchPage-1)*3,d=GLOBAL_Math.min(c+3,b[$$PROP_length])-1;a[$$PROP_push](this.getSearchResultsHeaderMarkup(c,d-c+1));var e=this.initialInfo.l.w[41],f=this.initialInfo.l.w[42],g=this.initialInfo.l.w[43];a[$$PROP_push]('<p class="sort-by'+this.searchHelper.sortOrder+'">',e," ",'<a class="sort-by-relevance" href="#" ','onclick="return timeline._sortByRelevance();">',
f,"</a>"," | ",' <a class="sort-by-date" href="#" ','onclick="return timeline._sortByDate();">',g,"</a>","</p>");a[$$PROP_push]('<ul class="results">');for(var h=c;h<=d;h++){var j=b[h][$$PROP_title],i=b[h].snippet,k=b[h].id,l=b[h][$$PROP_data],m=new RegExp(l.da+". ");i=i[$$PROP_replace](m,"");i=i[$$PROP_replace](/<br>/," ");a[$$PROP_push]('<li class="',l.ty,'">');a[$$PROP_push]('<div class="snippet">');a[$$PROP_push]('<a href="#',k,'" onclick="return timeline._openTimelineEventPopupFromSearch',"(event, '",
k,"')\">",j,"</a>");a[$$PROP_push]('<div class="snippet-body">',i,"</div>");a[$$PROP_push]("</div>");a[$$PROP_push]('<div class="date">',l.da,"</div>");a[$$PROP_push]("</li>")}a[$$PROP_push]("</ul>");a[$$PROP_push]('<div class="pagination">');this.searchHelper.searchPage>1&&a[$$PROP_push]('<a class="command left-arrow" href="#" ','onclick="return timeline._previousSearchPage()">',"\u25c4","</a>",'<a class="command" href="#" ','onclick="return timeline._previousSearchPage()">',this.initialInfo.l.w[9],
"</a>","&nbsp;");if(this.searchMaxPages>1){var n=this.initialInfo.l.w[38];n=n[$$PROP_replace](/(%1)/,this.searchHelper.searchPage);n=n[$$PROP_replace](/(%2)/,this.searchMaxPages);a[$$PROP_push]("<span>",n,"</span>","&nbsp;")}this.searchHelper.searchPage<this.searchMaxPages&&a[$$PROP_push]('<a class="command" href="#" ','onclick="return timeline._nextSearchPage()">',this.initialInfo.l.w[7],"</a>",'<a class="command right-arrow" href="#" ','onclick="return timeline._nextSearchPage()">',"\u25ba","</a>");
a[$$PROP_push]("</div>")}else{a[$$PROP_push](this.getSearchResultsHeaderMarkup(this.searchHelper.searchPage,0));a[$$PROP_push]('<div class="tl-error">');var p=this.searchHelper.spellingEl;if(p){var q=p[$$PROP_getElementsByTagName]("Suggestion")[0][$$PROP_firstChild][$$PROP_nodeValue],o=this.initialInfo.l.w[49];o=o[$$PROP_replace](/(%1)/,'<a href="#" onclick="return timeline._handleSpellingSuggestion(event)">'+q+"</a>");a[$$PROP_push]("<p>",o,"</p>")}var o=this.initialInfo.l.w[46];o=o[$$PROP_replace](/(%1)/,
"<strong>"+goog$string$htmlEscape(this.searchQuery)+"</strong>");a[$$PROP_push](o);a[$$PROP_push]("</div>")}SETPROP_innerHTML(this.searchCanvasEl,a[$$PROP_join](""));this.searchHelper.currentResultsCount||this.searchQueryEl[$$PROP_focus]()};Timeline[$$PROP_prototype]._openTimelineEventPopupFromSearch=function(a,b,c){var a=a?a:GLOBAL_window.event;goog$dom$classes$add(getTarget(a),"visited");this.openTimelineEventPopup(b,true);c&&this.hideSearchCanvas();return false};
Timeline[$$PROP_prototype].getTimelineEventIdFromSearchUrl=function(a){var b=a[$$PROP_match](/cse\/(.*)\.html?$/);return b&&b[1]?b[1]:"1998-company-incorporates"};Timeline[$$PROP_prototype]._closeSearch=function(){this.hideSearchCanvas();this.updateHashTokenNav();SETPROP_value(this.searchQueryEl,"");return false};
Timeline[$$PROP_prototype].highlightFindMatchEl=function(a,b,c){var d=a.lastChild;SETPROP_innerHTML(d,c?d[$$PROP_innerHTML][$$PROP_replace](b,"<u>$1</u>"):d[$$PROP_innerHTML][$$PROP_replace](/<\/?u>/g,""))};Timeline[$$PROP_prototype].removeFindHighlight=function(){if(this.lastMatchedFindEl){this.highlightFindMatchEl(this.lastMatchedFindEl,this.lastFindQueryRegexp,false);this.lastMatchedFindEl=null}};
Timeline[$$PROP_prototype].isTimelineEventFindMatch=function(a,b){var c=a.lastChild;if(!c)return false;var d=c[$$PROP_innerHTML];return d[$$PROP_match](b)?true:false};
Timeline[$$PROP_prototype].find=function(a,b,c){var d=a;do{var e=this.isTimelineEventFindMatch(d,b);e||(d=c?this.getPreviousTimelineEventEl(d,true):this.getNextTimelineEventEl(d,true))}while(d!=a&&!e);if(e){this.highlightFindMatchEl(d,b,true);this.focusElAndScrollIntoView(d,true);this.lastFocusedElement=this.curFocusedElement;this.lastMatchedFindEl=d;this.lastFindQueryRegexp=b;return true}else return false};
Timeline[$$PROP_prototype].findFirst=function(a){if(!this.initialized)return false;var b=this.getFirstVisibleTimelineEventEl();return this.find(b,a,false)};Timeline[$$PROP_prototype].findNextOrPrevious=function(a){if(!this.initialized)return;if(this.lastMatchedFindEl){var b=this.lastMatchedFindEl;this.removeFindHighlight();var c=a?this.getPreviousTimelineEventEl(b,true):this.getNextTimelineEventEl(b,true);this.find(c,this.lastFindQueryRegexp,a)}else this.findInteractive()};
Timeline[$$PROP_prototype].findInteractive=function(){if(!this.allColumnInfoLoaded){this.showLoadingIndicator();this.deferredAction={type:3};return}if(!this.lastFindQuery)this.lastFindQuery="";var a=[];a[$$PROP_push]('<div class="tl-header">');a[$$PROP_push]('<a hidefocus class="tl-close" href="#" ','title="',this.initialInfo.l.w[11],'" ','onclick="return timeline._closePopup()"></a>');a[$$PROP_push]("<h1>",this.initialInfo.l.w[47],"</h1>");a[$$PROP_push]("</div>");a[$$PROP_push]('<form onsubmit="return timeline._findSubmit()">');
a[$$PROP_push]('<p id="tl-find-error"></p>');a[$$PROP_push]('<input type="input" id="findQuery" value = "',goog$string$htmlEscape(this.lastFindQuery),'"/>');a[$$PROP_push]("</form>");this.openPopup(a[$$PROP_join](""),this.initialInfo.l.w[47],"find");var b=goog$dom$$("findQuery");goog$dom$selection$setStart(b,0);goog$dom$selection$setEnd(b,9999);GLOBAL_window[$$PROP_setTimeout](goog$bind(this.focusFindQuery,this),0)};Timeline[$$PROP_prototype].focusFindQuery=function(){goog$dom$$("findQuery")[$$PROP_focus]()};
Timeline[$$PROP_prototype]._findSubmit=function(){var a=goog$dom$$("findQuery")[$$PROP_value];if(a){this.lastFindQuery=a;var b=new RegExp("("+GLOBAL_String(goog$string$htmlEscape(a))[$$PROP_replace](/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")[$$PROP_replace](/\x08/g,"\\x08")+")","ig");this.removeFindHighlight();if(this.findFirst(b))this._closePopup();else{var c=this.initialInfo.l.w[48];c=c[$$PROP_replace](/(%1)/,goog$string$htmlEscape(a));SETPROP_innerHTML(goog$dom$$("tl-find-error"),c);SETPROP_display(goog$dom$$("tl-find-error")[$$PROP_style],
"block");this.resizePopupShadow()}}else this._closePopup();return false};Timeline[$$PROP_prototype].changePageTitle=function(a){var b=document[$$PROP_title][$$PROP_indexOf]("\u2013")!=-1?document[$$PROP_title][$$PROP_substr](document[$$PROP_title][$$PROP_indexOf]("\u2013")+2):document[$$PROP_title];if(a){a=goog$string$unescapeEntities(a);a=a[$$PROP_replace](/(<.*?>)/g,"");a=this.enhanceTypography(a);b=a+" \u2013 "+b}document.title=b};
Timeline[$$PROP_prototype].showLoadingIndicator=function(){goog$style$showElement(this.loadingIndicatorEl,true)};Timeline[$$PROP_prototype].hideLoadingIndicator=function(){goog$style$showElement(this.loadingIndicatorEl,false)};Timeline[$$PROP_prototype].showSearchLoadingIndicator=function(){goog$style$showElement(this.searchLoadingIndicatorEl,true)};Timeline[$$PROP_prototype].hideSearchLoadingIndicator=function(){goog$style$showElement(this.searchLoadingIndicatorEl,false)};
