function $JSCompiler_alias_THROW$$($jscomp_throw_param$$) { throw $jscomp_throw_param$$; } var $JSCompiler_alias_TRUE$$ = true, $JSCompiler_alias_NULL$$ = null, $JSCompiler_alias_FALSE$$ = false; function $JSCompiler_get$$($JSCompiler_get_name$$) { return function() { return this[$JSCompiler_get_name$$] } } var $JSCompiler_prototypeAlias$$, $JSCompiler_stubMap$$ = []; function $JSCompiler_stubMethod$$($JSCompiler_stubMethod_id$$) { return function() { return $JSCompiler_stubMap$$[$JSCompiler_stubMethod_id$$].apply(this, arguments) } } function $JSCompiler_unstubMethod$$($JSCompiler_unstubMethod_id$$, $JSCompiler_unstubMethod_body$$) { return $JSCompiler_stubMap$$[$JSCompiler_unstubMethod_id$$] = $JSCompiler_unstubMethod_body$$ } var $goog$$ = $goog$$ || {}, $goog$global$$ = this, $goog$evalWorksForGlobals_$$ = $JSCompiler_alias_NULL$$; function $goog$exportPath_$$($name$$40_parts$$, $opt_object$$, $cur_opt_objectToExportTo$$) { $name$$40_parts$$ = $name$$40_parts$$.split("."); $cur_opt_objectToExportTo$$ = $cur_opt_objectToExportTo$$ || $goog$global$$; !($name$$40_parts$$[0] in $cur_opt_objectToExportTo$$) && $cur_opt_objectToExportTo$$.execScript && $cur_opt_objectToExportTo$$.execScript("var " + $name$$40_parts$$[0]); for(var $part$$;$name$$40_parts$$.length && ($part$$ = $name$$40_parts$$.shift());) { if(!$name$$40_parts$$.length && $opt_object$$ !== undefined) { $cur_opt_objectToExportTo$$[$part$$] = $opt_object$$ }else { $cur_opt_objectToExportTo$$ = $cur_opt_objectToExportTo$$[$part$$] ? $cur_opt_objectToExportTo$$[$part$$] : $cur_opt_objectToExportTo$$[$part$$] = {} } } } function $goog$getObjectByName$$($name$$41_parts$$1$$) { $name$$41_parts$$1$$ = $name$$41_parts$$1$$.split("."); for(var $cur$$1$$ = $goog$global$$, $part$$1$$;$part$$1$$ = $name$$41_parts$$1$$.shift();) { if($cur$$1$$[$part$$1$$] != $JSCompiler_alias_NULL$$) { $cur$$1$$ = $cur$$1$$[$part$$1$$] }else { return $JSCompiler_alias_NULL$$ } } return $cur$$1$$ } function $goog$nullFunction$$() { } function $goog$addSingletonGetter$$($ctor$$) { $ctor$$.$getInstance$ = function $$ctor$$$$getInstance$$() { return $ctor$$.$instance_$ || ($ctor$$.$instance_$ = new $ctor$$) } } function $goog$typeOf$$($value$$10$$) { var $s$$1$$ = typeof $value$$10$$; if($s$$1$$ == "object") { if($value$$10$$) { if($value$$10$$ instanceof Array) { return"array" }else { if($value$$10$$ instanceof Object) { return $s$$1$$ } } var $className$$1$$ = Object.prototype.toString.call($value$$10$$); if($className$$1$$ == "[object Window]") { return"object" } if($className$$1$$ == "[object Array]" || typeof $value$$10$$.length == "number" && typeof $value$$10$$.splice != "undefined" && typeof $value$$10$$.propertyIsEnumerable != "undefined" && !$value$$10$$.propertyIsEnumerable("splice")) { return"array" } if($className$$1$$ == "[object Function]" || typeof $value$$10$$.call != "undefined" && typeof $value$$10$$.propertyIsEnumerable != "undefined" && !$value$$10$$.propertyIsEnumerable("call")) { return"function" } }else { return"null" } }else { if($s$$1$$ == "function" && typeof $value$$10$$.call == "undefined") { return"object" } } return $s$$1$$ } function $goog$isArray$$($val$$3$$) { return $goog$typeOf$$($val$$3$$) == "array" } function $goog$isArrayLike$$($val$$4$$) { var $type$$32$$ = $goog$typeOf$$($val$$4$$); return $type$$32$$ == "array" || $type$$32$$ == "object" && typeof $val$$4$$.length == "number" } function $goog$isString$$($val$$6$$) { return typeof $val$$6$$ == "string" } function $goog$isFunction$$($val$$9$$) { return $goog$typeOf$$($val$$9$$) == "function" } function $goog$isObject$$($type$$33_val$$10$$) { $type$$33_val$$10$$ = $goog$typeOf$$($type$$33_val$$10$$); return $type$$33_val$$10$$ == "object" || $type$$33_val$$10$$ == "array" || $type$$33_val$$10$$ == "function" } function $goog$getUid$$($obj$$5$$) { return $obj$$5$$[$goog$UID_PROPERTY_$$] || ($obj$$5$$[$goog$UID_PROPERTY_$$] = ++$goog$uidCounter_$$) } var $goog$UID_PROPERTY_$$ = "closure_uid_" + Math.floor(Math.random() * 2147483648).toString(36), $goog$uidCounter_$$ = 0; function $goog$bindNative_$$($fn$$) { return $fn$$.call.apply($fn$$.bind, arguments) } function $goog$bindJs_$$($fn$$1$$, $selfObj$$2$$) { var $context$$ = $selfObj$$2$$ || $goog$global$$; if(arguments.length > 2) { var $boundArgs$$ = Array.prototype.slice.call(arguments, 2); return function() { var $newArgs$$ = Array.prototype.slice.call(arguments); Array.prototype.unshift.apply($newArgs$$, $boundArgs$$); return $fn$$1$$.apply($context$$, $newArgs$$) } }else { return function() { return $fn$$1$$.apply($context$$, arguments) } } } function $goog$bind$$() { $goog$bind$$ = Function.prototype.bind && Function.prototype.bind.toString().indexOf("native code") != -1 ? $goog$bindNative_$$ : $goog$bindJs_$$; return $goog$bind$$.apply($JSCompiler_alias_NULL$$, arguments) } var $goog$now$$ = Date.now || function() { return+new Date }; function $goog$inherits$$($childCtor$$, $parentCtor$$) { function $tempCtor$$() { } $tempCtor$$.prototype = $parentCtor$$.prototype; $childCtor$$.$superClass_$ = $parentCtor$$.prototype; $childCtor$$.prototype = new $tempCtor$$ } ;function $goog$debug$Error$$($opt_msg$$) { this.stack = Error().stack || ""; if($opt_msg$$) { this.message = String($opt_msg$$) } } $goog$inherits$$($goog$debug$Error$$, Error); $goog$debug$Error$$.prototype.name = "CustomError"; function $goog$string$subs$$($str$$12$$) { for(var $i$$5$$ = 1;$i$$5$$ < arguments.length;$i$$5$$++) { var $replacement$$ = String(arguments[$i$$5$$]).replace(/\$/g, "$$$$"); $str$$12$$ = $str$$12$$.replace(/\%s/, $replacement$$) } return $str$$12$$ } function $goog$string$htmlEscape$$($str$$30$$) { if(!$goog$string$allRe_$$.test($str$$30$$)) { return $str$$30$$ } if($str$$30$$.indexOf("&") != -1) { $str$$30$$ = $str$$30$$.replace($goog$string$amperRe_$$, "&") } if($str$$30$$.indexOf("<") != -1) { $str$$30$$ = $str$$30$$.replace($goog$string$ltRe_$$, "<") } if($str$$30$$.indexOf(">") != -1) { $str$$30$$ = $str$$30$$.replace($goog$string$gtRe_$$, ">") } if($str$$30$$.indexOf('"') != -1) { $str$$30$$ = $str$$30$$.replace($goog$string$quotRe_$$, """) } return $str$$30$$ } var $goog$string$amperRe_$$ = /&/g, $goog$string$ltRe_$$ = //g, $goog$string$quotRe_$$ = /\"/g, $goog$string$allRe_$$ = /[&<>\"]/; function $goog$string$compareVersions$$($version1$$, $version2$$) { for(var $order$$ = 0, $v1Subs$$ = String($version1$$).replace(/^[\s\xa0]+|[\s\xa0]+$/g, "").split("."), $v2Subs$$ = String($version2$$).replace(/^[\s\xa0]+|[\s\xa0]+$/g, "").split("."), $subCount$$ = Math.max($v1Subs$$.length, $v2Subs$$.length), $subIdx$$ = 0;$order$$ == 0 && $subIdx$$ < $subCount$$;$subIdx$$++) { var $v1Sub$$ = $v1Subs$$[$subIdx$$] || "", $v2Sub$$ = $v2Subs$$[$subIdx$$] || "", $v1CompParser$$ = RegExp("(\\d*)(\\D*)", "g"), $v2CompParser$$ = RegExp("(\\d*)(\\D*)", "g"); do { var $v1Comp$$ = $v1CompParser$$.exec($v1Sub$$) || ["", "", ""], $v2Comp$$ = $v2CompParser$$.exec($v2Sub$$) || ["", "", ""]; if($v1Comp$$[0].length == 0 && $v2Comp$$[0].length == 0) { break } $order$$ = $goog$string$compareElements_$$($v1Comp$$[1].length == 0 ? 0 : parseInt($v1Comp$$[1], 10), $v2Comp$$[1].length == 0 ? 0 : parseInt($v2Comp$$[1], 10)) || $goog$string$compareElements_$$($v1Comp$$[2].length == 0, $v2Comp$$[2].length == 0) || $goog$string$compareElements_$$($v1Comp$$[2], $v2Comp$$[2]) }while($order$$ == 0) } return $order$$ } function $goog$string$compareElements_$$($left$$1$$, $right$$1$$) { if($left$$1$$ < $right$$1$$) { return-1 }else { if($left$$1$$ > $right$$1$$) { return 1 } } return 0 } ;function $goog$asserts$AssertionError$$($messagePattern$$, $messageArgs$$) { $messageArgs$$.unshift($messagePattern$$); $goog$debug$Error$$.call(this, $goog$string$subs$$.apply($JSCompiler_alias_NULL$$, $messageArgs$$)); $messageArgs$$.shift(); this.$messagePattern$ = $messagePattern$$ } $goog$inherits$$($goog$asserts$AssertionError$$, $goog$debug$Error$$); $goog$asserts$AssertionError$$.prototype.name = "AssertionError"; function $goog$asserts$assert$$($condition$$, $opt_message$$8$$) { if(!$condition$$) { var $givenArgs$$inline_14$$ = Array.prototype.slice.call(arguments, 2), $message$$inline_15$$ = "Assertion failed"; if($opt_message$$8$$) { $message$$inline_15$$ += ": " + $opt_message$$8$$; var $args$$inline_16$$ = $givenArgs$$inline_14$$ } $JSCompiler_alias_THROW$$(new $goog$asserts$AssertionError$$("" + $message$$inline_15$$, $args$$inline_16$$ || [])) } } function $goog$asserts$fail$$($opt_message$$9$$) { $JSCompiler_alias_THROW$$(new $goog$asserts$AssertionError$$("Failure" + ($opt_message$$9$$ ? ": " + $opt_message$$9$$ : ""), Array.prototype.slice.call(arguments, 1))) } ;var $goog$array$ARRAY_PROTOTYPE_$$ = Array.prototype, $goog$array$indexOf$$ = $goog$array$ARRAY_PROTOTYPE_$$.indexOf ? function($arr$$9$$, $obj$$9$$, $opt_fromIndex$$6$$) { $goog$asserts$assert$$($arr$$9$$.length != $JSCompiler_alias_NULL$$); return $goog$array$ARRAY_PROTOTYPE_$$.indexOf.call($arr$$9$$, $obj$$9$$, $opt_fromIndex$$6$$) } : function($arr$$10$$, $obj$$10$$, $fromIndex_i$$12_opt_fromIndex$$7$$) { $fromIndex_i$$12_opt_fromIndex$$7$$ = $fromIndex_i$$12_opt_fromIndex$$7$$ == $JSCompiler_alias_NULL$$ ? 0 : $fromIndex_i$$12_opt_fromIndex$$7$$ < 0 ? Math.max(0, $arr$$10$$.length + $fromIndex_i$$12_opt_fromIndex$$7$$) : $fromIndex_i$$12_opt_fromIndex$$7$$; if($goog$isString$$($arr$$10$$)) { if(!$goog$isString$$($obj$$10$$) || $obj$$10$$.length != 1) { return-1 } return $arr$$10$$.indexOf($obj$$10$$, $fromIndex_i$$12_opt_fromIndex$$7$$) } for(;$fromIndex_i$$12_opt_fromIndex$$7$$ < $arr$$10$$.length;$fromIndex_i$$12_opt_fromIndex$$7$$++) { if($fromIndex_i$$12_opt_fromIndex$$7$$ in $arr$$10$$ && $arr$$10$$[$fromIndex_i$$12_opt_fromIndex$$7$$] === $obj$$10$$) { return $fromIndex_i$$12_opt_fromIndex$$7$$ } } return-1 }, $goog$array$forEach$$ = $goog$array$ARRAY_PROTOTYPE_$$.forEach ? function($arr$$13$$, $f$$, $opt_obj$$1$$) { $goog$asserts$assert$$($arr$$13$$.length != $JSCompiler_alias_NULL$$); $goog$array$ARRAY_PROTOTYPE_$$.forEach.call($arr$$13$$, $f$$, $opt_obj$$1$$) } : function($arr$$14$$, $f$$1$$, $opt_obj$$2$$) { for(var $l$$2$$ = $arr$$14$$.length, $arr2$$ = $goog$isString$$($arr$$14$$) ? $arr$$14$$.split("") : $arr$$14$$, $i$$14$$ = 0;$i$$14$$ < $l$$2$$;$i$$14$$++) { $i$$14$$ in $arr2$$ && $f$$1$$.call($opt_obj$$2$$, $arr2$$[$i$$14$$], $i$$14$$, $arr$$14$$) } }, $goog$array$filter$$ = $goog$array$ARRAY_PROTOTYPE_$$.filter ? function($arr$$16$$, $f$$3$$, $opt_obj$$4$$) { $goog$asserts$assert$$($arr$$16$$.length != $JSCompiler_alias_NULL$$); return $goog$array$ARRAY_PROTOTYPE_$$.filter.call($arr$$16$$, $f$$3$$, $opt_obj$$4$$) } : function($arr$$17$$, $f$$4$$, $opt_obj$$5$$) { for(var $l$$4$$ = $arr$$17$$.length, $res$$ = [], $resLength$$ = 0, $arr2$$2$$ = $goog$isString$$($arr$$17$$) ? $arr$$17$$.split("") : $arr$$17$$, $i$$16$$ = 0;$i$$16$$ < $l$$4$$;$i$$16$$++) { if($i$$16$$ in $arr2$$2$$) { var $val$$11$$ = $arr2$$2$$[$i$$16$$]; if($f$$4$$.call($opt_obj$$5$$, $val$$11$$, $i$$16$$, $arr$$17$$)) { $res$$[$resLength$$++] = $val$$11$$ } } } return $res$$ }, $goog$array$some$$ = $goog$array$ARRAY_PROTOTYPE_$$.some ? function($arr$$22$$, $f$$9$$, $opt_obj$$10$$) { $goog$asserts$assert$$($arr$$22$$.length != $JSCompiler_alias_NULL$$); return $goog$array$ARRAY_PROTOTYPE_$$.some.call($arr$$22$$, $f$$9$$, $opt_obj$$10$$) } : function($arr$$23$$, $f$$10$$, $opt_obj$$11$$) { for(var $l$$6$$ = $arr$$23$$.length, $arr2$$4$$ = $goog$isString$$($arr$$23$$) ? $arr$$23$$.split("") : $arr$$23$$, $i$$18$$ = 0;$i$$18$$ < $l$$6$$;$i$$18$$++) { if($i$$18$$ in $arr2$$4$$ && $f$$10$$.call($opt_obj$$11$$, $arr2$$4$$[$i$$18$$], $i$$18$$, $arr$$23$$)) { return $JSCompiler_alias_TRUE$$ } } return $JSCompiler_alias_FALSE$$ }; function $goog$array$contains$$($arr$$30$$, $obj$$13$$) { return $goog$array$indexOf$$($arr$$30$$, $obj$$13$$) >= 0 } function $goog$array$insert$$($arr$$33$$, $obj$$14$$) { $goog$array$contains$$($arr$$33$$, $obj$$14$$) || $arr$$33$$.push($obj$$14$$) } function $goog$array$remove$$($arr$$37$$, $obj$$17$$) { var $i$$26$$ = $goog$array$indexOf$$($arr$$37$$, $obj$$17$$); if($i$$26$$ >= 0) { $goog$asserts$assert$$($arr$$37$$.length != $JSCompiler_alias_NULL$$); $goog$array$ARRAY_PROTOTYPE_$$.splice.call($arr$$37$$, $i$$26$$, 1) } } function $goog$array$concat$$() { return $goog$array$ARRAY_PROTOTYPE_$$.concat.apply($goog$array$ARRAY_PROTOTYPE_$$, arguments) } function $goog$array$clone$$($arr$$40$$) { if($goog$isArray$$($arr$$40$$)) { return $goog$array$concat$$($arr$$40$$) }else { for(var $rv$$3$$ = [], $i$$29$$ = 0, $len$$ = $arr$$40$$.length;$i$$29$$ < $len$$;$i$$29$$++) { $rv$$3$$[$i$$29$$] = $arr$$40$$[$i$$29$$] } return $rv$$3$$ } } function $goog$array$extend$$($arr1$$) { for(var $i$$30$$ = 1;$i$$30$$ < arguments.length;$i$$30$$++) { var $arr2$$8$$ = arguments[$i$$30$$], $isArrayLike$$; if($goog$isArray$$($arr2$$8$$) || ($isArrayLike$$ = $goog$isArrayLike$$($arr2$$8$$)) && $arr2$$8$$.hasOwnProperty("callee")) { $arr1$$.push.apply($arr1$$, $arr2$$8$$) }else { if($isArrayLike$$) { for(var $len1$$ = $arr1$$.length, $len2$$ = $arr2$$8$$.length, $j$$1$$ = 0;$j$$1$$ < $len2$$;$j$$1$$++) { $arr1$$[$len1$$ + $j$$1$$] = $arr2$$8$$[$j$$1$$] } }else { $arr1$$.push($arr2$$8$$) } } } } function $goog$array$slice$$($arr$$42$$, $start$$3$$, $opt_end$$3$$) { $goog$asserts$assert$$($arr$$42$$.length != $JSCompiler_alias_NULL$$); return arguments.length <= 2 ? $goog$array$ARRAY_PROTOTYPE_$$.slice.call($arr$$42$$, $start$$3$$) : $goog$array$ARRAY_PROTOTYPE_$$.slice.call($arr$$42$$, $start$$3$$, $opt_end$$3$$) } ;var $goog$userAgent$detectedOpera_$$, $goog$userAgent$detectedIe_$$, $goog$userAgent$detectedWebkit_$$, $goog$userAgent$detectedGecko_$$; function $goog$userAgent$getUserAgentString$$() { return $goog$global$$.navigator ? $goog$global$$.navigator.userAgent : $JSCompiler_alias_NULL$$ } $goog$userAgent$detectedGecko_$$ = $goog$userAgent$detectedWebkit_$$ = $goog$userAgent$detectedIe_$$ = $goog$userAgent$detectedOpera_$$ = $JSCompiler_alias_FALSE$$; var $ua$$inline_25$$; if($ua$$inline_25$$ = $goog$userAgent$getUserAgentString$$()) { var $navigator$$inline_26$$ = $goog$global$$.navigator; $goog$userAgent$detectedOpera_$$ = $ua$$inline_25$$.indexOf("Opera") == 0; $goog$userAgent$detectedIe_$$ = !$goog$userAgent$detectedOpera_$$ && $ua$$inline_25$$.indexOf("MSIE") != -1; $goog$userAgent$detectedWebkit_$$ = !$goog$userAgent$detectedOpera_$$ && $ua$$inline_25$$.indexOf("WebKit") != -1; $goog$userAgent$detectedGecko_$$ = !$goog$userAgent$detectedOpera_$$ && !$goog$userAgent$detectedWebkit_$$ && $navigator$$inline_26$$.product == "Gecko" } var $goog$userAgent$IE$$ = $goog$userAgent$detectedIe_$$, $goog$userAgent$GECKO$$ = $goog$userAgent$detectedGecko_$$, $goog$userAgent$WEBKIT$$ = $goog$userAgent$detectedWebkit_$$, $navigator$$inline_29$$ = $goog$global$$.navigator, $goog$userAgent$MAC$$ = ($navigator$$inline_29$$ && $navigator$$inline_29$$.platform || "").indexOf("Mac") != -1, $goog$userAgent$VERSION$$; a: { var $version$$inline_37$$ = "", $re$$inline_38$$; if($goog$userAgent$detectedOpera_$$ && $goog$global$$.opera) { var $operaVersion$$inline_39$$ = $goog$global$$.opera.version; $version$$inline_37$$ = typeof $operaVersion$$inline_39$$ == "function" ? $operaVersion$$inline_39$$() : $operaVersion$$inline_39$$ }else { if($goog$userAgent$GECKO$$) { $re$$inline_38$$ = /rv\:([^\);]+)(\)|;)/ }else { if($goog$userAgent$IE$$) { $re$$inline_38$$ = /MSIE\s+([^\);]+)(\)|;)/ }else { if($goog$userAgent$WEBKIT$$) { $re$$inline_38$$ = /WebKit\/(\S+)/ } } } if($re$$inline_38$$) { var $arr$$inline_40$$ = $re$$inline_38$$.exec($goog$userAgent$getUserAgentString$$()); $version$$inline_37$$ = $arr$$inline_40$$ ? $arr$$inline_40$$[1] : "" } } if($goog$userAgent$IE$$) { var $docMode$$inline_41$$, $doc$$inline_475$$ = $goog$global$$.document; $docMode$$inline_41$$ = $doc$$inline_475$$ ? $doc$$inline_475$$.documentMode : undefined; if($docMode$$inline_41$$ > parseFloat($version$$inline_37$$)) { $goog$userAgent$VERSION$$ = String($docMode$$inline_41$$); break a } } $goog$userAgent$VERSION$$ = $version$$inline_37$$ } var $goog$userAgent$isVersionCache_$$ = {}; function $goog$userAgent$isVersion$$($version$$7$$) { return $goog$userAgent$isVersionCache_$$[$version$$7$$] || ($goog$userAgent$isVersionCache_$$[$version$$7$$] = $goog$string$compareVersions$$($goog$userAgent$VERSION$$, $version$$7$$) >= 0) } ;var $goog$dom$defaultDomHelper_$$, $goog$dom$BrowserFeature$CAN_ADD_NAME_OR_TYPE_ATTRIBUTES$$ = !$goog$userAgent$IE$$ || $goog$userAgent$isVersion$$("9"); !$goog$userAgent$GECKO$$ && !$goog$userAgent$IE$$ || $goog$userAgent$IE$$ && $goog$userAgent$isVersion$$("9") || $goog$userAgent$GECKO$$ && $goog$userAgent$isVersion$$("1.9.1"); $goog$userAgent$IE$$ && $goog$userAgent$isVersion$$("9"); function $goog$dom$classes$add$$($element$$7$$) { var $className$$inline_46_classes$$; $className$$inline_46_classes$$ = ($className$$inline_46_classes$$ = $element$$7$$.className) && typeof $className$$inline_46_classes$$.split == "function" ? $className$$inline_46_classes$$.split(/\s+/) : []; var $args$$inline_53_b$$4$$; $args$$inline_53_b$$4$$ = $goog$array$slice$$(arguments, 1); for(var $rv$$inline_54$$ = 0, $i$$inline_55$$ = 0;$i$$inline_55$$ < $args$$inline_53_b$$4$$.length;$i$$inline_55$$++) { if(!$goog$array$contains$$($className$$inline_46_classes$$, $args$$inline_53_b$$4$$[$i$$inline_55$$])) { $className$$inline_46_classes$$.push($args$$inline_53_b$$4$$[$i$$inline_55$$]); $rv$$inline_54$$++ } } $args$$inline_53_b$$4$$ = $rv$$inline_54$$ == $args$$inline_53_b$$4$$.length; $element$$7$$.className = $className$$inline_46_classes$$.join(" "); return $args$$inline_53_b$$4$$ } ;function $goog$object$forEach$$($obj$$18$$, $f$$18$$) { for(var $key$$12$$ in $obj$$18$$) { $f$$18$$.call(void 0, $obj$$18$$[$key$$12$$], $key$$12$$, $obj$$18$$) } } function $goog$object$getValues$$($obj$$27$$) { var $res$$4$$ = [], $i$$42$$ = 0, $key$$20$$; for($key$$20$$ in $obj$$27$$) { $res$$4$$[$i$$42$$++] = $obj$$27$$[$key$$20$$] } return $res$$4$$ } function $goog$object$getKeys$$($obj$$28$$) { var $res$$5$$ = [], $i$$43$$ = 0, $key$$21$$; for($key$$21$$ in $obj$$28$$) { $res$$5$$[$i$$43$$++] = $key$$21$$ } return $res$$5$$ } var $goog$object$PROTOTYPE_FIELDS_$$ = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"]; function $goog$object$extend$$($target$$16$$) { for(var $key$$35$$, $source$$1$$, $i$$46$$ = 1;$i$$46$$ < arguments.length;$i$$46$$++) { $source$$1$$ = arguments[$i$$46$$]; for($key$$35$$ in $source$$1$$) { $target$$16$$[$key$$35$$] = $source$$1$$[$key$$35$$] } for(var $j$$4$$ = 0;$j$$4$$ < $goog$object$PROTOTYPE_FIELDS_$$.length;$j$$4$$++) { $key$$35$$ = $goog$object$PROTOTYPE_FIELDS_$$[$j$$4$$]; if(Object.prototype.hasOwnProperty.call($source$$1$$, $key$$35$$)) { $target$$16$$[$key$$35$$] = $source$$1$$[$key$$35$$] } } } } ;function $goog$dom$getDomHelper$$($opt_element$$) { return $opt_element$$ ? new $goog$dom$DomHelper$$($opt_element$$.nodeType == 9 ? $opt_element$$ : $opt_element$$.ownerDocument || $opt_element$$.document) : $goog$dom$defaultDomHelper_$$ || ($goog$dom$defaultDomHelper_$$ = new $goog$dom$DomHelper$$) } function $goog$dom$getElementsByTagNameAndClass_$$($doc$$5_els_parent$$5$$, $className$$10_opt_tag$$1_tagName$$1$$, $opt_class$$1$$, $arrayLike_opt_el$$3$$) { $doc$$5_els_parent$$5$$ = $arrayLike_opt_el$$3$$ || $doc$$5_els_parent$$5$$; $className$$10_opt_tag$$1_tagName$$1$$ = $className$$10_opt_tag$$1_tagName$$1$$ && $className$$10_opt_tag$$1_tagName$$1$$ != "*" ? $className$$10_opt_tag$$1_tagName$$1$$.toUpperCase() : ""; if($doc$$5_els_parent$$5$$.querySelectorAll && $doc$$5_els_parent$$5$$.querySelector && (!$goog$userAgent$WEBKIT$$ || document.compatMode == "CSS1Compat" || $goog$userAgent$isVersion$$("528")) && ($className$$10_opt_tag$$1_tagName$$1$$ || $opt_class$$1$$)) { return $doc$$5_els_parent$$5$$.querySelectorAll($className$$10_opt_tag$$1_tagName$$1$$ + ($opt_class$$1$$ ? "." + $opt_class$$1$$ : "")) } if($opt_class$$1$$ && $doc$$5_els_parent$$5$$.getElementsByClassName) { $doc$$5_els_parent$$5$$ = $doc$$5_els_parent$$5$$.getElementsByClassName($opt_class$$1$$); if($className$$10_opt_tag$$1_tagName$$1$$) { $arrayLike_opt_el$$3$$ = {}; for(var $len$$1$$ = 0, $i$$49$$ = 0, $el$$2$$;$el$$2$$ = $doc$$5_els_parent$$5$$[$i$$49$$];$i$$49$$++) { if($className$$10_opt_tag$$1_tagName$$1$$ == $el$$2$$.nodeName) { $arrayLike_opt_el$$3$$[$len$$1$$++] = $el$$2$$ } } $arrayLike_opt_el$$3$$.length = $len$$1$$; return $arrayLike_opt_el$$3$$ }else { return $doc$$5_els_parent$$5$$ } } $doc$$5_els_parent$$5$$ = $doc$$5_els_parent$$5$$.getElementsByTagName($className$$10_opt_tag$$1_tagName$$1$$ || "*"); if($opt_class$$1$$) { $arrayLike_opt_el$$3$$ = {}; for($i$$49$$ = $len$$1$$ = 0;$el$$2$$ = $doc$$5_els_parent$$5$$[$i$$49$$];$i$$49$$++) { $className$$10_opt_tag$$1_tagName$$1$$ = $el$$2$$.className; if(typeof $className$$10_opt_tag$$1_tagName$$1$$.split == "function" && $goog$array$contains$$($className$$10_opt_tag$$1_tagName$$1$$.split(/\s+/), $opt_class$$1$$)) { $arrayLike_opt_el$$3$$[$len$$1$$++] = $el$$2$$ } } $arrayLike_opt_el$$3$$.length = $len$$1$$; return $arrayLike_opt_el$$3$$ }else { return $doc$$5_els_parent$$5$$ } } function $goog$dom$setProperties$$($element$$15$$, $properties$$) { $goog$object$forEach$$($properties$$, function($val$$19$$, $key$$36$$) { if($key$$36$$ == "style") { $element$$15$$.style.cssText = $val$$19$$ }else { if($key$$36$$ == "class") { $element$$15$$.className = $val$$19$$ }else { if($key$$36$$ == "for") { $element$$15$$.htmlFor = $val$$19$$ }else { if($key$$36$$ in $goog$dom$DIRECT_ATTRIBUTE_MAP_$$) { $element$$15$$.setAttribute($goog$dom$DIRECT_ATTRIBUTE_MAP_$$[$key$$36$$], $val$$19$$) }else { $element$$15$$[$key$$36$$] = $val$$19$$ } } } } }) } var $goog$dom$DIRECT_ATTRIBUTE_MAP_$$ = {cellpadding:"cellPadding", cellspacing:"cellSpacing", colspan:"colSpan", rowspan:"rowSpan", valign:"vAlign", height:"height", width:"width", usemap:"useMap", frameborder:"frameBorder", maxlength:"maxLength", type:"type"}; function $goog$dom$append_$$($doc$$12$$, $parent$$6$$, $args$$8$$) { function $childHandler$$($child$$1$$) { if($child$$1$$) { $parent$$6$$.appendChild($goog$isString$$($child$$1$$) ? $doc$$12$$.createTextNode($child$$1$$) : $child$$1$$) } } for(var $i$$50$$ = 2;$i$$50$$ < $args$$8$$.length;$i$$50$$++) { var $arg$$5$$ = $args$$8$$[$i$$50$$]; $goog$isArrayLike$$($arg$$5$$) && !($goog$isObject$$($arg$$5$$) && $arg$$5$$.nodeType > 0) ? $goog$array$forEach$$($goog$dom$isNodeList$$($arg$$5$$) ? $goog$array$clone$$($arg$$5$$) : $arg$$5$$, $childHandler$$) : $childHandler$$($arg$$5$$) } } function $goog$dom$removeNode$$($node$$4$$) { $node$$4$$ && $node$$4$$.parentNode && $node$$4$$.parentNode.removeChild($node$$4$$) } function $goog$dom$isNodeList$$($val$$20$$) { if($val$$20$$ && typeof $val$$20$$.length == "number") { if($goog$isObject$$($val$$20$$)) { return typeof $val$$20$$.item == "function" || typeof $val$$20$$.item == "string" }else { if($goog$isFunction$$($val$$20$$)) { return typeof $val$$20$$.item == "function" } } } return $JSCompiler_alias_FALSE$$ } function $goog$dom$DomHelper$$($opt_document$$) { this.$document_$ = $opt_document$$ || $goog$global$$.document || document } $JSCompiler_prototypeAlias$$ = $goog$dom$DomHelper$$.prototype; $JSCompiler_prototypeAlias$$.$getDomHelper$ = $goog$dom$getDomHelper$$; $JSCompiler_prototypeAlias$$.$getElement$ = function $$JSCompiler_prototypeAlias$$$$getElement$$($element$$26$$) { return $goog$isString$$($element$$26$$) ? this.$document_$.getElementById($element$$26$$) : $element$$26$$ }; $JSCompiler_prototypeAlias$$.$createDom$ = function $$JSCompiler_prototypeAlias$$$$createDom$$() { var $doc$$inline_72$$ = this.$document_$, $args$$inline_73$$ = arguments, $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$ = $args$$inline_73$$[0], $attributes$$inline_75$$ = $args$$inline_73$$[1]; if(!$goog$dom$BrowserFeature$CAN_ADD_NAME_OR_TYPE_ATTRIBUTES$$ && $attributes$$inline_75$$ && ($attributes$$inline_75$$.name || $attributes$$inline_75$$.type)) { $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$ = ["<", $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$]; $attributes$$inline_75$$.name && $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$.push(' name="', $goog$string$htmlEscape$$($attributes$$inline_75$$.name), '"'); if($attributes$$inline_75$$.type) { $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$.push(' type="', $goog$string$htmlEscape$$($attributes$$inline_75$$.type), '"'); var $clone$$inline_77$$ = {}; $goog$object$extend$$($clone$$inline_77$$, $attributes$$inline_75$$); $attributes$$inline_75$$ = $clone$$inline_77$$; delete $attributes$$inline_75$$.type } $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$.push(">"); $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$ = $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$.join("") } $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$ = $doc$$inline_72$$.createElement($element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$); if($attributes$$inline_75$$) { if($goog$isString$$($attributes$$inline_75$$)) { $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$.className = $attributes$$inline_75$$ }else { $goog$isArray$$($attributes$$inline_75$$) ? $goog$dom$classes$add$$.apply($JSCompiler_alias_NULL$$, [$element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$].concat($attributes$$inline_75$$)) : $goog$dom$setProperties$$($element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$, $attributes$$inline_75$$) } } $args$$inline_73$$.length > 2 && $goog$dom$append_$$($doc$$inline_72$$, $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$, $args$$inline_73$$); return $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$ }; $JSCompiler_prototypeAlias$$.createElement = function $$JSCompiler_prototypeAlias$$$createElement$($name$$43$$) { return this.$document_$.createElement($name$$43$$) }; $JSCompiler_prototypeAlias$$.createTextNode = function $$JSCompiler_prototypeAlias$$$createTextNode$($content$$1$$) { return this.$document_$.createTextNode($content$$1$$) }; $JSCompiler_prototypeAlias$$.appendChild = function $$JSCompiler_prototypeAlias$$$appendChild$($parent$$7$$, $child$$2$$) { $parent$$7$$.appendChild($child$$2$$) }; var $goog$events$requiresSyntheticEventPropagation_$$; !$goog$userAgent$IE$$ || $goog$userAgent$isVersion$$("9"); $goog$userAgent$IE$$ && $goog$userAgent$isVersion$$("8"); function $goog$Disposable$$() { if($goog$Disposable$ENABLE_MONITORING$$) { $goog$Disposable$instances_$$[$goog$getUid$$(this)] = this } } var $goog$Disposable$ENABLE_MONITORING$$ = $JSCompiler_alias_FALSE$$, $goog$Disposable$instances_$$ = {}; $goog$Disposable$$.prototype.$disposed_$ = $JSCompiler_alias_FALSE$$; $goog$Disposable$$.prototype.$dispose$ = function $$goog$Disposable$$$$$dispose$$() { if(!this.$disposed_$) { this.$disposed_$ = $JSCompiler_alias_TRUE$$; this.$disposeInternal$(); if($goog$Disposable$ENABLE_MONITORING$$) { var $uid$$ = $goog$getUid$$(this); $goog$Disposable$instances_$$.hasOwnProperty($uid$$) || $JSCompiler_alias_THROW$$(Error(this + " did not call the goog.Disposable base constructor or was disposed of after a clearUndisposedObjects call")); delete $goog$Disposable$instances_$$[$uid$$] } } }; $goog$Disposable$$.prototype.$disposeInternal$ = function $$goog$Disposable$$$$$disposeInternal$$() { }; function $goog$dispose$$($obj$$46$$) { $obj$$46$$ && typeof $obj$$46$$.$dispose$ == "function" && $obj$$46$$.$dispose$() } ;function $goog$events$Event$$($type$$37$$, $opt_target$$1$$) { $goog$Disposable$$.call(this); this.type = $type$$37$$; this.currentTarget = this.target = $opt_target$$1$$ } $goog$inherits$$($goog$events$Event$$, $goog$Disposable$$); $goog$events$Event$$.prototype.$disposeInternal$ = function $$goog$events$Event$$$$$disposeInternal$$() { delete this.type; delete this.target; delete this.currentTarget }; $goog$events$Event$$.prototype.$propagationStopped_$ = $JSCompiler_alias_FALSE$$; $goog$events$Event$$.prototype.$returnValue_$ = $JSCompiler_alias_TRUE$$; var $goog$reflect$sinkValue$$ = new Function("a", "return a"); function $goog$events$BrowserEvent$$($opt_e$$, $opt_currentTarget$$) { $opt_e$$ && this.$init$($opt_e$$, $opt_currentTarget$$) } $goog$inherits$$($goog$events$BrowserEvent$$, $goog$events$Event$$); $JSCompiler_prototypeAlias$$ = $goog$events$BrowserEvent$$.prototype; $JSCompiler_prototypeAlias$$.target = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.relatedTarget = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.offsetX = 0; $JSCompiler_prototypeAlias$$.offsetY = 0; $JSCompiler_prototypeAlias$$.clientX = 0; $JSCompiler_prototypeAlias$$.clientY = 0; $JSCompiler_prototypeAlias$$.screenX = 0; $JSCompiler_prototypeAlias$$.screenY = 0; $JSCompiler_prototypeAlias$$.button = 0; $JSCompiler_prototypeAlias$$.keyCode = 0; $JSCompiler_prototypeAlias$$.charCode = 0; $JSCompiler_prototypeAlias$$.ctrlKey = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.altKey = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.shiftKey = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.metaKey = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$platformModifierKey$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$event_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$init$ = function $$JSCompiler_prototypeAlias$$$$init$$($e$$7$$, $opt_currentTarget$$1$$) { var $type$$39$$ = this.type = $e$$7$$.type; $goog$events$Event$$.call(this, $type$$39$$); this.target = $e$$7$$.target || $e$$7$$.srcElement; this.currentTarget = $opt_currentTarget$$1$$; var $relatedTarget$$ = $e$$7$$.relatedTarget; if($relatedTarget$$) { if($goog$userAgent$GECKO$$) { try { $goog$reflect$sinkValue$$($relatedTarget$$.nodeName) }catch($err$$) { $relatedTarget$$ = $JSCompiler_alias_NULL$$ } } }else { if($type$$39$$ == "mouseover") { $relatedTarget$$ = $e$$7$$.fromElement }else { if($type$$39$$ == "mouseout") { $relatedTarget$$ = $e$$7$$.toElement } } } this.relatedTarget = $relatedTarget$$; this.offsetX = $e$$7$$.offsetX !== undefined ? $e$$7$$.offsetX : $e$$7$$.layerX; this.offsetY = $e$$7$$.offsetY !== undefined ? $e$$7$$.offsetY : $e$$7$$.layerY; this.clientX = $e$$7$$.clientX !== undefined ? $e$$7$$.clientX : $e$$7$$.pageX; this.clientY = $e$$7$$.clientY !== undefined ? $e$$7$$.clientY : $e$$7$$.pageY; this.screenX = $e$$7$$.screenX || 0; this.screenY = $e$$7$$.screenY || 0; this.button = $e$$7$$.button; this.keyCode = $e$$7$$.keyCode || 0; this.charCode = $e$$7$$.charCode || ($type$$39$$ == "keypress" ? $e$$7$$.keyCode : 0); this.ctrlKey = $e$$7$$.ctrlKey; this.altKey = $e$$7$$.altKey; this.shiftKey = $e$$7$$.shiftKey; this.metaKey = $e$$7$$.metaKey; this.$platformModifierKey$ = $goog$userAgent$MAC$$ ? $e$$7$$.metaKey : $e$$7$$.ctrlKey; this.state = $e$$7$$.state; this.$event_$ = $e$$7$$; delete this.$returnValue_$; delete this.$propagationStopped_$ }; $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() { $goog$events$BrowserEvent$$.$superClass_$.$disposeInternal$.call(this); this.relatedTarget = this.currentTarget = this.target = this.$event_$ = $JSCompiler_alias_NULL$$ }; function $goog$events$Listener$$() { } var $goog$events$Listener$counter_$$ = 0; $JSCompiler_prototypeAlias$$ = $goog$events$Listener$$.prototype; $JSCompiler_prototypeAlias$$.key = 0; $JSCompiler_prototypeAlias$$.$removed$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$callOnce$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$init$ = function $$JSCompiler_prototypeAlias$$$$init$$($listener$$24$$, $proxy$$, $src$$6$$, $type$$40$$, $capture$$, $opt_handler$$) { if($goog$isFunction$$($listener$$24$$)) { this.$isFunctionListener_$ = $JSCompiler_alias_TRUE$$ }else { if($listener$$24$$ && $listener$$24$$.handleEvent && $goog$isFunction$$($listener$$24$$.handleEvent)) { this.$isFunctionListener_$ = $JSCompiler_alias_FALSE$$ }else { $JSCompiler_alias_THROW$$(Error("Invalid listener argument")) } } this.$listener$ = $listener$$24$$; this.$proxy$ = $proxy$$; this.src = $src$$6$$; this.type = $type$$40$$; this.capture = !!$capture$$; this.$handler$ = $opt_handler$$; this.$callOnce$ = $JSCompiler_alias_FALSE$$; this.key = ++$goog$events$Listener$counter_$$; this.$removed$ = $JSCompiler_alias_FALSE$$ }; $JSCompiler_prototypeAlias$$.handleEvent = function $$JSCompiler_prototypeAlias$$$handleEvent$($eventObject$$) { if(this.$isFunctionListener_$) { return this.$listener$.call(this.$handler$ || this.src, $eventObject$$) } return this.$listener$.handleEvent.call(this.$listener$, $eventObject$$) }; function $goog$structs$SimplePool$$($initialCount$$, $maxCount$$) { $goog$Disposable$$.call(this); this.$maxCount_$ = $maxCount$$; this.$freeQueue_$ = []; $initialCount$$ > this.$maxCount_$ && $JSCompiler_alias_THROW$$(Error("[goog.structs.SimplePool] Initial cannot be greater than max")); for(var $i$$inline_85$$ = 0;$i$$inline_85$$ < $initialCount$$;$i$$inline_85$$++) { this.$freeQueue_$.push(this.$createObject$()) } } $goog$inherits$$($goog$structs$SimplePool$$, $goog$Disposable$$); $JSCompiler_prototypeAlias$$ = $goog$structs$SimplePool$$.prototype; $JSCompiler_prototypeAlias$$.$createObjectFn_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$disposeObjectFn_$ = $JSCompiler_alias_NULL$$; function $JSCompiler_StaticMethods_getObject$$($JSCompiler_StaticMethods_getObject$self$$) { if($JSCompiler_StaticMethods_getObject$self$$.$freeQueue_$.length) { return $JSCompiler_StaticMethods_getObject$self$$.$freeQueue_$.pop() } return $JSCompiler_StaticMethods_getObject$self$$.$createObject$() } function $JSCompiler_StaticMethods_releaseObject$$($JSCompiler_StaticMethods_releaseObject$self$$, $obj$$47$$) { $JSCompiler_StaticMethods_releaseObject$self$$.$freeQueue_$.length < $JSCompiler_StaticMethods_releaseObject$self$$.$maxCount_$ ? $JSCompiler_StaticMethods_releaseObject$self$$.$freeQueue_$.push($obj$$47$$) : $JSCompiler_StaticMethods_releaseObject$self$$.$disposeObject$($obj$$47$$) } $JSCompiler_prototypeAlias$$.$createObject$ = function $$JSCompiler_prototypeAlias$$$$createObject$$() { return this.$createObjectFn_$ ? this.$createObjectFn_$() : {} }; $JSCompiler_prototypeAlias$$.$disposeObject$ = function $$JSCompiler_prototypeAlias$$$$disposeObject$$($obj$$48$$) { if(this.$disposeObjectFn_$) { this.$disposeObjectFn_$($obj$$48$$) }else { if($goog$isObject$$($obj$$48$$)) { if($goog$isFunction$$($obj$$48$$.$dispose$)) { $obj$$48$$.$dispose$() }else { for(var $i$$58$$ in $obj$$48$$) { delete $obj$$48$$[$i$$58$$] } } } } }; $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() { $goog$structs$SimplePool$$.$superClass_$.$disposeInternal$.call(this); for(var $freeQueue$$ = this.$freeQueue_$;$freeQueue$$.length;) { this.$disposeObject$($freeQueue$$.pop()) } delete this.$freeQueue_$ }; var $goog$userAgent$jscript$DETECTED_HAS_JSCRIPT_$$; var $goog$userAgent$jscript$VERSION$$ = ($goog$userAgent$jscript$DETECTED_HAS_JSCRIPT_$$ = "ScriptEngine" in $goog$global$$ && $goog$global$$.ScriptEngine() == "JScript") ? $goog$global$$.ScriptEngineMajorVersion() + "." + $goog$global$$.ScriptEngineMinorVersion() + "." + $goog$global$$.ScriptEngineBuildVersion() : "0"; var $goog$events$pools$getObject$$, $goog$events$pools$releaseObject$$, $goog$events$pools$getArray$$, $goog$events$pools$releaseArray$$, $goog$events$pools$getProxy$$, $goog$events$pools$setProxyCallbackFunction$$, $goog$events$pools$releaseProxy$$, $goog$events$pools$getListener$$, $goog$events$pools$releaseListener$$, $goog$events$pools$getEvent$$, $goog$events$pools$releaseEvent$$; (function() { function $getObject$$() { return{$count_$:0, $remaining_$:0} } function $getArray$$() { return[] } function $getProxy$$() { function $f$$25$$($eventObject$$1$$) { return $proxyCallbackFunction$$.call($f$$25$$.src, $f$$25$$.key, $eventObject$$1$$) } return $f$$25$$ } function $getListener$$() { return new $goog$events$Listener$$ } function $getEvent$$() { return new $goog$events$BrowserEvent$$ } var $BAD_GC$$ = $goog$userAgent$jscript$DETECTED_HAS_JSCRIPT_$$ && !($goog$string$compareVersions$$($goog$userAgent$jscript$VERSION$$, "5.7") >= 0), $proxyCallbackFunction$$; $goog$events$pools$setProxyCallbackFunction$$ = function $$goog$events$pools$setProxyCallbackFunction$$$($cb$$) { $proxyCallbackFunction$$ = $cb$$ }; if($BAD_GC$$) { $goog$events$pools$getObject$$ = function $$goog$events$pools$getObject$$$() { return $JSCompiler_StaticMethods_getObject$$($objectPool$$) }; $goog$events$pools$releaseObject$$ = function $$goog$events$pools$releaseObject$$$($obj$$49$$) { $JSCompiler_StaticMethods_releaseObject$$($objectPool$$, $obj$$49$$) }; $goog$events$pools$getArray$$ = function $$goog$events$pools$getArray$$$() { return $JSCompiler_StaticMethods_getObject$$($arrayPool$$) }; $goog$events$pools$releaseArray$$ = function $$goog$events$pools$releaseArray$$$($obj$$50$$) { $JSCompiler_StaticMethods_releaseObject$$($arrayPool$$, $obj$$50$$) }; $goog$events$pools$getProxy$$ = function $$goog$events$pools$getProxy$$$() { return $JSCompiler_StaticMethods_getObject$$($proxyPool$$) }; $goog$events$pools$releaseProxy$$ = function $$goog$events$pools$releaseProxy$$$() { $JSCompiler_StaticMethods_releaseObject$$($proxyPool$$, $getProxy$$()) }; $goog$events$pools$getListener$$ = function $$goog$events$pools$getListener$$$() { return $JSCompiler_StaticMethods_getObject$$($listenerPool$$) }; $goog$events$pools$releaseListener$$ = function $$goog$events$pools$releaseListener$$$($obj$$52$$) { $JSCompiler_StaticMethods_releaseObject$$($listenerPool$$, $obj$$52$$) }; $goog$events$pools$getEvent$$ = function $$goog$events$pools$getEvent$$$() { return $JSCompiler_StaticMethods_getObject$$($eventPool$$) }; $goog$events$pools$releaseEvent$$ = function $$goog$events$pools$releaseEvent$$$($obj$$53$$) { $JSCompiler_StaticMethods_releaseObject$$($eventPool$$, $obj$$53$$) }; var $objectPool$$ = new $goog$structs$SimplePool$$(0, 600); $objectPool$$.$createObjectFn_$ = $getObject$$; var $arrayPool$$ = new $goog$structs$SimplePool$$(0, 600); $arrayPool$$.$createObjectFn_$ = $getArray$$; var $proxyPool$$ = new $goog$structs$SimplePool$$(0, 600); $proxyPool$$.$createObjectFn_$ = $getProxy$$; var $listenerPool$$ = new $goog$structs$SimplePool$$(0, 600); $listenerPool$$.$createObjectFn_$ = $getListener$$; var $eventPool$$ = new $goog$structs$SimplePool$$(0, 600); $eventPool$$.$createObjectFn_$ = $getEvent$$ }else { $goog$events$pools$getObject$$ = $getObject$$; $goog$events$pools$releaseObject$$ = $goog$nullFunction$$; $goog$events$pools$getArray$$ = $getArray$$; $goog$events$pools$releaseArray$$ = $goog$nullFunction$$; $goog$events$pools$getProxy$$ = $getProxy$$; $goog$events$pools$releaseProxy$$ = $goog$nullFunction$$; $goog$events$pools$getListener$$ = $getListener$$; $goog$events$pools$releaseListener$$ = $goog$nullFunction$$; $goog$events$pools$getEvent$$ = $getEvent$$; $goog$events$pools$releaseEvent$$ = $goog$nullFunction$$ } })(); var $goog$events$listeners_$$ = {}, $goog$events$listenerTree_$$ = {}, $goog$events$sources_$$ = {}, $goog$events$onStringMap_$$ = {}; function $goog$events$listen$$($src$$7$$, $type$$41$$, $key$$37_listener$$25$$, $capture$$1_opt_capt$$2$$, $opt_handler$$1$$) { if($type$$41$$) { if($goog$isArray$$($type$$41$$)) { for(var $i$$59_proxy$$1$$ = 0;$i$$59_proxy$$1$$ < $type$$41$$.length;$i$$59_proxy$$1$$++) { $goog$events$listen$$($src$$7$$, $type$$41$$[$i$$59_proxy$$1$$], $key$$37_listener$$25$$, $capture$$1_opt_capt$$2$$, $opt_handler$$1$$) } return $JSCompiler_alias_NULL$$ }else { $capture$$1_opt_capt$$2$$ = !!$capture$$1_opt_capt$$2$$; var $listenerObj_map$$ = $goog$events$listenerTree_$$; $type$$41$$ in $listenerObj_map$$ || ($listenerObj_map$$[$type$$41$$] = $goog$events$pools$getObject$$()); $listenerObj_map$$ = $listenerObj_map$$[$type$$41$$]; if(!($capture$$1_opt_capt$$2$$ in $listenerObj_map$$)) { $listenerObj_map$$[$capture$$1_opt_capt$$2$$] = $goog$events$pools$getObject$$(); $listenerObj_map$$.$count_$++ } $listenerObj_map$$ = $listenerObj_map$$[$capture$$1_opt_capt$$2$$]; var $srcUid$$ = $goog$getUid$$($src$$7$$), $listenerArray$$; $listenerObj_map$$.$remaining_$++; if($listenerObj_map$$[$srcUid$$]) { $listenerArray$$ = $listenerObj_map$$[$srcUid$$]; for($i$$59_proxy$$1$$ = 0;$i$$59_proxy$$1$$ < $listenerArray$$.length;$i$$59_proxy$$1$$++) { $listenerObj_map$$ = $listenerArray$$[$i$$59_proxy$$1$$]; if($listenerObj_map$$.$listener$ == $key$$37_listener$$25$$ && $listenerObj_map$$.$handler$ == $opt_handler$$1$$) { if($listenerObj_map$$.$removed$) { break } return $listenerArray$$[$i$$59_proxy$$1$$].key } } }else { $listenerArray$$ = $listenerObj_map$$[$srcUid$$] = $goog$events$pools$getArray$$(); $listenerObj_map$$.$count_$++ } $i$$59_proxy$$1$$ = $goog$events$pools$getProxy$$(); $i$$59_proxy$$1$$.src = $src$$7$$; $listenerObj_map$$ = $goog$events$pools$getListener$$(); $listenerObj_map$$.$init$($key$$37_listener$$25$$, $i$$59_proxy$$1$$, $src$$7$$, $type$$41$$, $capture$$1_opt_capt$$2$$, $opt_handler$$1$$); $key$$37_listener$$25$$ = $listenerObj_map$$.key; $i$$59_proxy$$1$$.key = $key$$37_listener$$25$$; $listenerArray$$.push($listenerObj_map$$); $goog$events$listeners_$$[$key$$37_listener$$25$$] = $listenerObj_map$$; $goog$events$sources_$$[$srcUid$$] || ($goog$events$sources_$$[$srcUid$$] = $goog$events$pools$getArray$$()); $goog$events$sources_$$[$srcUid$$].push($listenerObj_map$$); if($src$$7$$.addEventListener) { if($src$$7$$ == $goog$global$$ || !$src$$7$$.$customEvent_$) { $src$$7$$.addEventListener($type$$41$$, $i$$59_proxy$$1$$, $capture$$1_opt_capt$$2$$) } }else { $src$$7$$.attachEvent($goog$events$getOnString_$$($type$$41$$), $i$$59_proxy$$1$$) } return $key$$37_listener$$25$$ } }else { $JSCompiler_alias_THROW$$(Error("Invalid event type")) } } function $goog$events$unlisten$$($listenerArray$$1_objUid$$inline_122_src$$10$$, $type$$43$$, $listener$$28$$, $capture$$2_opt_capt$$5$$, $opt_handler$$4$$) { if($goog$isArray$$($type$$43$$)) { for(var $i$$61_map$$inline_121$$ = 0;$i$$61_map$$inline_121$$ < $type$$43$$.length;$i$$61_map$$inline_121$$++) { $goog$events$unlisten$$($listenerArray$$1_objUid$$inline_122_src$$10$$, $type$$43$$[$i$$61_map$$inline_121$$], $listener$$28$$, $capture$$2_opt_capt$$5$$, $opt_handler$$4$$) } }else { $capture$$2_opt_capt$$5$$ = !!$capture$$2_opt_capt$$5$$; a: { $i$$61_map$$inline_121$$ = $goog$events$listenerTree_$$; if($type$$43$$ in $i$$61_map$$inline_121$$) { $i$$61_map$$inline_121$$ = $i$$61_map$$inline_121$$[$type$$43$$]; if($capture$$2_opt_capt$$5$$ in $i$$61_map$$inline_121$$) { $i$$61_map$$inline_121$$ = $i$$61_map$$inline_121$$[$capture$$2_opt_capt$$5$$]; $listenerArray$$1_objUid$$inline_122_src$$10$$ = $goog$getUid$$($listenerArray$$1_objUid$$inline_122_src$$10$$); if($i$$61_map$$inline_121$$[$listenerArray$$1_objUid$$inline_122_src$$10$$]) { $listenerArray$$1_objUid$$inline_122_src$$10$$ = $i$$61_map$$inline_121$$[$listenerArray$$1_objUid$$inline_122_src$$10$$]; break a } } } $listenerArray$$1_objUid$$inline_122_src$$10$$ = $JSCompiler_alias_NULL$$ } if($listenerArray$$1_objUid$$inline_122_src$$10$$) { for($i$$61_map$$inline_121$$ = 0;$i$$61_map$$inline_121$$ < $listenerArray$$1_objUid$$inline_122_src$$10$$.length;$i$$61_map$$inline_121$$++) { if($listenerArray$$1_objUid$$inline_122_src$$10$$[$i$$61_map$$inline_121$$].$listener$ == $listener$$28$$ && $listenerArray$$1_objUid$$inline_122_src$$10$$[$i$$61_map$$inline_121$$].capture == $capture$$2_opt_capt$$5$$ && $listenerArray$$1_objUid$$inline_122_src$$10$$[$i$$61_map$$inline_121$$].$handler$ == $opt_handler$$4$$) { $goog$events$unlistenByKey$$($listenerArray$$1_objUid$$inline_122_src$$10$$[$i$$61_map$$inline_121$$].key); break } } } } } function $goog$events$unlistenByKey$$($key$$39$$) { if($goog$events$listeners_$$[$key$$39$$]) { var $listener$$29$$ = $goog$events$listeners_$$[$key$$39$$]; if(!$listener$$29$$.$removed$) { var $src$$11_srcUid$$1$$ = $listener$$29$$.src, $type$$44$$ = $listener$$29$$.type, $listenerArray$$2_proxy$$2$$ = $listener$$29$$.$proxy$, $capture$$3$$ = $listener$$29$$.capture; if($src$$11_srcUid$$1$$.removeEventListener) { if($src$$11_srcUid$$1$$ == $goog$global$$ || !$src$$11_srcUid$$1$$.$customEvent_$) { $src$$11_srcUid$$1$$.removeEventListener($type$$44$$, $listenerArray$$2_proxy$$2$$, $capture$$3$$) } }else { $src$$11_srcUid$$1$$.detachEvent && $src$$11_srcUid$$1$$.detachEvent($goog$events$getOnString_$$($type$$44$$), $listenerArray$$2_proxy$$2$$) } $src$$11_srcUid$$1$$ = $goog$getUid$$($src$$11_srcUid$$1$$); $listenerArray$$2_proxy$$2$$ = $goog$events$listenerTree_$$[$type$$44$$][$capture$$3$$][$src$$11_srcUid$$1$$]; if($goog$events$sources_$$[$src$$11_srcUid$$1$$]) { var $sourcesArray$$ = $goog$events$sources_$$[$src$$11_srcUid$$1$$]; $goog$array$remove$$($sourcesArray$$, $listener$$29$$); $sourcesArray$$.length == 0 && delete $goog$events$sources_$$[$src$$11_srcUid$$1$$] } $listener$$29$$.$removed$ = $JSCompiler_alias_TRUE$$; $listenerArray$$2_proxy$$2$$.$needsCleanup_$ = $JSCompiler_alias_TRUE$$; $goog$events$cleanUp_$$($type$$44$$, $capture$$3$$, $src$$11_srcUid$$1$$, $listenerArray$$2_proxy$$2$$); delete $goog$events$listeners_$$[$key$$39$$] } } } function $goog$events$cleanUp_$$($type$$45$$, $capture$$4$$, $srcUid$$2$$, $listenerArray$$3$$) { if(!$listenerArray$$3$$.$locked_$) { if($listenerArray$$3$$.$needsCleanup_$) { for(var $oldIndex$$ = 0, $newIndex$$ = 0;$oldIndex$$ < $listenerArray$$3$$.length;$oldIndex$$++) { if($listenerArray$$3$$[$oldIndex$$].$removed$) { var $proxy$$3$$ = $listenerArray$$3$$[$oldIndex$$].$proxy$; $proxy$$3$$.src = $JSCompiler_alias_NULL$$; $goog$events$pools$releaseProxy$$($proxy$$3$$); $goog$events$pools$releaseListener$$($listenerArray$$3$$[$oldIndex$$]) }else { if($oldIndex$$ != $newIndex$$) { $listenerArray$$3$$[$newIndex$$] = $listenerArray$$3$$[$oldIndex$$] } $newIndex$$++ } } $listenerArray$$3$$.length = $newIndex$$; $listenerArray$$3$$.$needsCleanup_$ = $JSCompiler_alias_FALSE$$; if($newIndex$$ == 0) { $goog$events$pools$releaseArray$$($listenerArray$$3$$); delete $goog$events$listenerTree_$$[$type$$45$$][$capture$$4$$][$srcUid$$2$$]; $goog$events$listenerTree_$$[$type$$45$$][$capture$$4$$].$count_$--; if($goog$events$listenerTree_$$[$type$$45$$][$capture$$4$$].$count_$ == 0) { $goog$events$pools$releaseObject$$($goog$events$listenerTree_$$[$type$$45$$][$capture$$4$$]); delete $goog$events$listenerTree_$$[$type$$45$$][$capture$$4$$]; $goog$events$listenerTree_$$[$type$$45$$].$count_$-- } if($goog$events$listenerTree_$$[$type$$45$$].$count_$ == 0) { $goog$events$pools$releaseObject$$($goog$events$listenerTree_$$[$type$$45$$]); delete $goog$events$listenerTree_$$[$type$$45$$] } } } } } function $goog$events$removeAll$$($opt_obj$$25_sourcesArray$$1_srcUid$$3$$) { var $opt_capt$$7$$, $count$$5$$ = 0, $noCapt$$ = $opt_capt$$7$$ == $JSCompiler_alias_NULL$$; $opt_capt$$7$$ = !!$opt_capt$$7$$; if($opt_obj$$25_sourcesArray$$1_srcUid$$3$$ == $JSCompiler_alias_NULL$$) { $goog$object$forEach$$($goog$events$sources_$$, function($listeners$$) { for(var $i$$63$$ = $listeners$$.length - 1;$i$$63$$ >= 0;$i$$63$$--) { var $listener$$32$$ = $listeners$$[$i$$63$$]; if($noCapt$$ || $opt_capt$$7$$ == $listener$$32$$.capture) { $goog$events$unlistenByKey$$($listener$$32$$.key); $count$$5$$++ } } }) }else { $opt_obj$$25_sourcesArray$$1_srcUid$$3$$ = $goog$getUid$$($opt_obj$$25_sourcesArray$$1_srcUid$$3$$); if($goog$events$sources_$$[$opt_obj$$25_sourcesArray$$1_srcUid$$3$$]) { $opt_obj$$25_sourcesArray$$1_srcUid$$3$$ = $goog$events$sources_$$[$opt_obj$$25_sourcesArray$$1_srcUid$$3$$]; for(var $i$$62$$ = $opt_obj$$25_sourcesArray$$1_srcUid$$3$$.length - 1;$i$$62$$ >= 0;$i$$62$$--) { var $listener$$31$$ = $opt_obj$$25_sourcesArray$$1_srcUid$$3$$[$i$$62$$]; if($noCapt$$ || $opt_capt$$7$$ == $listener$$31$$.capture) { $goog$events$unlistenByKey$$($listener$$31$$.key); $count$$5$$++ } } } } } function $goog$events$getOnString_$$($type$$49$$) { if($type$$49$$ in $goog$events$onStringMap_$$) { return $goog$events$onStringMap_$$[$type$$49$$] } return $goog$events$onStringMap_$$[$type$$49$$] = "on" + $type$$49$$ } function $goog$events$fireListeners_$$($listenerArray$$5_map$$4$$, $obj$$58_objUid$$2$$, $type$$51$$, $capture$$9$$, $eventObject$$3$$) { var $retval$$ = 1; $obj$$58_objUid$$2$$ = $goog$getUid$$($obj$$58_objUid$$2$$); if($listenerArray$$5_map$$4$$[$obj$$58_objUid$$2$$]) { $listenerArray$$5_map$$4$$.$remaining_$--; $listenerArray$$5_map$$4$$ = $listenerArray$$5_map$$4$$[$obj$$58_objUid$$2$$]; if($listenerArray$$5_map$$4$$.$locked_$) { $listenerArray$$5_map$$4$$.$locked_$++ }else { $listenerArray$$5_map$$4$$.$locked_$ = 1 } try { for(var $length$$5$$ = $listenerArray$$5_map$$4$$.length, $i$$65$$ = 0;$i$$65$$ < $length$$5$$;$i$$65$$++) { var $listener$$35$$ = $listenerArray$$5_map$$4$$[$i$$65$$]; if($listener$$35$$ && !$listener$$35$$.$removed$) { $retval$$ &= $goog$events$fireListener$$($listener$$35$$, $eventObject$$3$$) !== $JSCompiler_alias_FALSE$$ } } }finally { $listenerArray$$5_map$$4$$.$locked_$--; $goog$events$cleanUp_$$($type$$51$$, $capture$$9$$, $obj$$58_objUid$$2$$, $listenerArray$$5_map$$4$$) } } return Boolean($retval$$) } function $goog$events$fireListener$$($listener$$36$$, $eventObject$$4$$) { var $rv$$13$$ = $listener$$36$$.handleEvent($eventObject$$4$$); $listener$$36$$.$callOnce$ && $goog$events$unlistenByKey$$($listener$$36$$.key); return $rv$$13$$ } $goog$events$pools$setProxyCallbackFunction$$(function($key$$41$$, $opt_evt$$) { if(!$goog$events$listeners_$$[$key$$41$$]) { return $JSCompiler_alias_TRUE$$ } var $listener$$37$$ = $goog$events$listeners_$$[$key$$41$$], $be$$1_type$$53$$ = $listener$$37$$.type, $map$$6$$ = $goog$events$listenerTree_$$; if(!($be$$1_type$$53$$ in $map$$6$$)) { return $JSCompiler_alias_TRUE$$ } $map$$6$$ = $map$$6$$[$be$$1_type$$53$$]; var $ieEvent_retval$$1$$, $targetsMap$$1$$; if($goog$events$requiresSyntheticEventPropagation_$$ === undefined) { $goog$events$requiresSyntheticEventPropagation_$$ = $goog$userAgent$IE$$ && !$goog$global$$.addEventListener } if($goog$events$requiresSyntheticEventPropagation_$$) { $ieEvent_retval$$1$$ = $opt_evt$$ || $goog$getObjectByName$$("window.event"); var $hasCapture$$2$$ = $JSCompiler_alias_TRUE$$ in $map$$6$$, $hasBubble$$1$$ = $JSCompiler_alias_FALSE$$ in $map$$6$$; if($hasCapture$$2$$) { if($ieEvent_retval$$1$$.keyCode < 0 || $ieEvent_retval$$1$$.returnValue != undefined) { return $JSCompiler_alias_TRUE$$ } a: { var $evt$$12_useReturnValue$$inline_129$$ = $JSCompiler_alias_FALSE$$; if($ieEvent_retval$$1$$.keyCode == 0) { try { $ieEvent_retval$$1$$.keyCode = -1; break a }catch($ex$$inline_130$$) { $evt$$12_useReturnValue$$inline_129$$ = $JSCompiler_alias_TRUE$$ } } if($evt$$12_useReturnValue$$inline_129$$ || $ieEvent_retval$$1$$.returnValue == undefined) { $ieEvent_retval$$1$$.returnValue = $JSCompiler_alias_TRUE$$ } } } $evt$$12_useReturnValue$$inline_129$$ = $goog$events$pools$getEvent$$(); $evt$$12_useReturnValue$$inline_129$$.$init$($ieEvent_retval$$1$$, this); $ieEvent_retval$$1$$ = $JSCompiler_alias_TRUE$$; try { if($hasCapture$$2$$) { for(var $ancestors$$2$$ = $goog$events$pools$getArray$$(), $parent$$15$$ = $evt$$12_useReturnValue$$inline_129$$.currentTarget;$parent$$15$$;$parent$$15$$ = $parent$$15$$.parentNode) { $ancestors$$2$$.push($parent$$15$$) } $targetsMap$$1$$ = $map$$6$$[$JSCompiler_alias_TRUE$$]; $targetsMap$$1$$.$remaining_$ = $targetsMap$$1$$.$count_$; for(var $i$$67$$ = $ancestors$$2$$.length - 1;!$evt$$12_useReturnValue$$inline_129$$.$propagationStopped_$ && $i$$67$$ >= 0 && $targetsMap$$1$$.$remaining_$;$i$$67$$--) { $evt$$12_useReturnValue$$inline_129$$.currentTarget = $ancestors$$2$$[$i$$67$$]; $ieEvent_retval$$1$$ &= $goog$events$fireListeners_$$($targetsMap$$1$$, $ancestors$$2$$[$i$$67$$], $be$$1_type$$53$$, $JSCompiler_alias_TRUE$$, $evt$$12_useReturnValue$$inline_129$$) } if($hasBubble$$1$$) { $targetsMap$$1$$ = $map$$6$$[$JSCompiler_alias_FALSE$$]; $targetsMap$$1$$.$remaining_$ = $targetsMap$$1$$.$count_$; for($i$$67$$ = 0;!$evt$$12_useReturnValue$$inline_129$$.$propagationStopped_$ && $i$$67$$ < $ancestors$$2$$.length && $targetsMap$$1$$.$remaining_$;$i$$67$$++) { $evt$$12_useReturnValue$$inline_129$$.currentTarget = $ancestors$$2$$[$i$$67$$]; $ieEvent_retval$$1$$ &= $goog$events$fireListeners_$$($targetsMap$$1$$, $ancestors$$2$$[$i$$67$$], $be$$1_type$$53$$, $JSCompiler_alias_FALSE$$, $evt$$12_useReturnValue$$inline_129$$) } } }else { $ieEvent_retval$$1$$ = $goog$events$fireListener$$($listener$$37$$, $evt$$12_useReturnValue$$inline_129$$) } }finally { if($ancestors$$2$$) { $ancestors$$2$$.length = 0; $goog$events$pools$releaseArray$$($ancestors$$2$$) } $evt$$12_useReturnValue$$inline_129$$.$dispose$(); $goog$events$pools$releaseEvent$$($evt$$12_useReturnValue$$inline_129$$) } return $ieEvent_retval$$1$$ } $be$$1_type$$53$$ = new $goog$events$BrowserEvent$$($opt_evt$$, this); try { $ieEvent_retval$$1$$ = $goog$events$fireListener$$($listener$$37$$, $be$$1_type$$53$$) }finally { $be$$1_type$$53$$.$dispose$() } return $ieEvent_retval$$1$$ }); function $goog$events$EventHandler$$($opt_handler$$7$$) { $goog$Disposable$$.call(this); this.$handler_$ = $opt_handler$$7$$ } $goog$inherits$$($goog$events$EventHandler$$, $goog$Disposable$$); var $goog$events$EventHandler$keyPool_$$ = new $goog$structs$SimplePool$$(0, 100), $goog$events$EventHandler$typeArray_$$ = []; function $JSCompiler_StaticMethods_listen$$($JSCompiler_StaticMethods_listen$self$$, $src$$15$$, $type$$54$$, $opt_fn$$, $opt_capture$$1$$, $opt_handler$$8$$) { if(!$goog$isArray$$($type$$54$$)) { $goog$events$EventHandler$typeArray_$$[0] = $type$$54$$; $type$$54$$ = $goog$events$EventHandler$typeArray_$$ } for(var $i$$68$$ = 0;$i$$68$$ < $type$$54$$.length;$i$$68$$++) { var $JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$ = $JSCompiler_StaticMethods_listen$self$$, $key$$inline_136$$ = $goog$events$listen$$($src$$15$$, $type$$54$$[$i$$68$$], $opt_fn$$ || $JSCompiler_StaticMethods_listen$self$$, $opt_capture$$1$$ || $JSCompiler_alias_FALSE$$, $opt_handler$$8$$ || $JSCompiler_StaticMethods_listen$self$$.$handler_$ || $JSCompiler_StaticMethods_listen$self$$); if($JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$keys_$) { $JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$keys_$[$key$$inline_136$$] = $JSCompiler_alias_TRUE$$ }else { if($JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$key_$) { $JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$keys_$ = $JSCompiler_StaticMethods_getObject$$($goog$events$EventHandler$keyPool_$$); $JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$keys_$[$JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$key_$] = $JSCompiler_alias_TRUE$$; $JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$key_$ = $JSCompiler_alias_NULL$$; $JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$keys_$[$key$$inline_136$$] = $JSCompiler_alias_TRUE$$ }else { $JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$key_$ = $key$$inline_136$$ } } } } function $JSCompiler_StaticMethods_removeAll$$($JSCompiler_StaticMethods_removeAll$self$$) { if($JSCompiler_StaticMethods_removeAll$self$$.$keys_$) { for(var $key$$46$$ in $JSCompiler_StaticMethods_removeAll$self$$.$keys_$) { $goog$events$unlistenByKey$$($key$$46$$); delete $JSCompiler_StaticMethods_removeAll$self$$.$keys_$[$key$$46$$] } $JSCompiler_StaticMethods_releaseObject$$($goog$events$EventHandler$keyPool_$$, $JSCompiler_StaticMethods_removeAll$self$$.$keys_$); $JSCompiler_StaticMethods_removeAll$self$$.$keys_$ = $JSCompiler_alias_NULL$$ }else { $JSCompiler_StaticMethods_removeAll$self$$.$key_$ && $goog$events$unlistenByKey$$($JSCompiler_StaticMethods_removeAll$self$$.$key_$) } } $goog$events$EventHandler$$.prototype.$disposeInternal$ = function $$goog$events$EventHandler$$$$$disposeInternal$$() { $goog$events$EventHandler$$.$superClass_$.$disposeInternal$.call(this); $JSCompiler_StaticMethods_removeAll$$(this) }; $goog$events$EventHandler$$.prototype.handleEvent = function $$goog$events$EventHandler$$$$handleEvent$() { $JSCompiler_alias_THROW$$(Error("EventHandler.handleEvent not implemented")) }; function $goog$events$EventTarget$$() { $goog$Disposable$$.call(this) } $goog$inherits$$($goog$events$EventTarget$$, $goog$Disposable$$); $JSCompiler_prototypeAlias$$ = $goog$events$EventTarget$$.prototype; $JSCompiler_prototypeAlias$$.$customEvent_$ = $JSCompiler_alias_TRUE$$; $JSCompiler_prototypeAlias$$.$parentEventTarget_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$setParentEventTarget$ = function $$JSCompiler_prototypeAlias$$$$setParentEventTarget$$($parent$$16$$) { this.$parentEventTarget_$ = $parent$$16$$ }; $JSCompiler_prototypeAlias$$.addEventListener = function $$JSCompiler_prototypeAlias$$$addEventListener$($type$$57$$, $handler$$3$$, $opt_capture$$4$$, $opt_handlerScope$$) { $goog$events$listen$$(this, $type$$57$$, $handler$$3$$, $opt_capture$$4$$, $opt_handlerScope$$) }; $JSCompiler_prototypeAlias$$.removeEventListener = function $$JSCompiler_prototypeAlias$$$removeEventListener$($type$$58$$, $handler$$4$$, $opt_capture$$5$$, $opt_handlerScope$$1$$) { $goog$events$unlisten$$(this, $type$$58$$, $handler$$4$$, $opt_capture$$5$$, $opt_handlerScope$$1$$) }; $JSCompiler_prototypeAlias$$.dispatchEvent = function $$JSCompiler_prototypeAlias$$$dispatchEvent$($JSCompiler_inline_result$$138_e$$13_e$$inline_152$$) { var $hasCapture$$inline_158_type$$inline_153$$ = $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.type || $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$, $map$$inline_154$$ = $goog$events$listenerTree_$$; if($hasCapture$$inline_158_type$$inline_153$$ in $map$$inline_154$$) { if($goog$isString$$($JSCompiler_inline_result$$138_e$$13_e$$inline_152$$)) { $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$ = new $goog$events$Event$$($JSCompiler_inline_result$$138_e$$13_e$$inline_152$$, this) }else { if($JSCompiler_inline_result$$138_e$$13_e$$inline_152$$ instanceof $goog$events$Event$$) { $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.target = $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.target || this }else { var $oldEvent$$inline_155_rv$$inline_156$$ = $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$; $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$ = new $goog$events$Event$$($hasCapture$$inline_158_type$$inline_153$$, this); $goog$object$extend$$($JSCompiler_inline_result$$138_e$$13_e$$inline_152$$, $oldEvent$$inline_155_rv$$inline_156$$) } } $oldEvent$$inline_155_rv$$inline_156$$ = 1; var $ancestors$$inline_157_current$$inline_162$$; $map$$inline_154$$ = $map$$inline_154$$[$hasCapture$$inline_158_type$$inline_153$$]; $hasCapture$$inline_158_type$$inline_153$$ = $JSCompiler_alias_TRUE$$ in $map$$inline_154$$; var $parent$$inline_160_targetsMap$$inline_159$$; if($hasCapture$$inline_158_type$$inline_153$$) { $ancestors$$inline_157_current$$inline_162$$ = []; for($parent$$inline_160_targetsMap$$inline_159$$ = this;$parent$$inline_160_targetsMap$$inline_159$$;$parent$$inline_160_targetsMap$$inline_159$$ = $parent$$inline_160_targetsMap$$inline_159$$.$parentEventTarget_$) { $ancestors$$inline_157_current$$inline_162$$.push($parent$$inline_160_targetsMap$$inline_159$$) } $parent$$inline_160_targetsMap$$inline_159$$ = $map$$inline_154$$[$JSCompiler_alias_TRUE$$]; $parent$$inline_160_targetsMap$$inline_159$$.$remaining_$ = $parent$$inline_160_targetsMap$$inline_159$$.$count_$; for(var $i$$inline_161$$ = $ancestors$$inline_157_current$$inline_162$$.length - 1;!$JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.$propagationStopped_$ && $i$$inline_161$$ >= 0 && $parent$$inline_160_targetsMap$$inline_159$$.$remaining_$;$i$$inline_161$$--) { $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.currentTarget = $ancestors$$inline_157_current$$inline_162$$[$i$$inline_161$$]; $oldEvent$$inline_155_rv$$inline_156$$ &= $goog$events$fireListeners_$$($parent$$inline_160_targetsMap$$inline_159$$, $ancestors$$inline_157_current$$inline_162$$[$i$$inline_161$$], $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.type, $JSCompiler_alias_TRUE$$, $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$) && $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.$returnValue_$ != $JSCompiler_alias_FALSE$$ } } if($JSCompiler_alias_FALSE$$ in $map$$inline_154$$) { $parent$$inline_160_targetsMap$$inline_159$$ = $map$$inline_154$$[$JSCompiler_alias_FALSE$$]; $parent$$inline_160_targetsMap$$inline_159$$.$remaining_$ = $parent$$inline_160_targetsMap$$inline_159$$.$count_$; if($hasCapture$$inline_158_type$$inline_153$$) { for($i$$inline_161$$ = 0;!$JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.$propagationStopped_$ && $i$$inline_161$$ < $ancestors$$inline_157_current$$inline_162$$.length && $parent$$inline_160_targetsMap$$inline_159$$.$remaining_$;$i$$inline_161$$++) { $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.currentTarget = $ancestors$$inline_157_current$$inline_162$$[$i$$inline_161$$]; $oldEvent$$inline_155_rv$$inline_156$$ &= $goog$events$fireListeners_$$($parent$$inline_160_targetsMap$$inline_159$$, $ancestors$$inline_157_current$$inline_162$$[$i$$inline_161$$], $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.type, $JSCompiler_alias_FALSE$$, $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$) && $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.$returnValue_$ != $JSCompiler_alias_FALSE$$ } }else { for($ancestors$$inline_157_current$$inline_162$$ = this;!$JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.$propagationStopped_$ && $ancestors$$inline_157_current$$inline_162$$ && $parent$$inline_160_targetsMap$$inline_159$$.$remaining_$;$ancestors$$inline_157_current$$inline_162$$ = $ancestors$$inline_157_current$$inline_162$$.$parentEventTarget_$) { $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.currentTarget = $ancestors$$inline_157_current$$inline_162$$; $oldEvent$$inline_155_rv$$inline_156$$ &= $goog$events$fireListeners_$$($parent$$inline_160_targetsMap$$inline_159$$, $ancestors$$inline_157_current$$inline_162$$, $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.type, $JSCompiler_alias_FALSE$$, $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$) && $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.$returnValue_$ != $JSCompiler_alias_FALSE$$ } } } $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$ = Boolean($oldEvent$$inline_155_rv$$inline_156$$) }else { $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$ = $JSCompiler_alias_TRUE$$ } return $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$ }; $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() { $goog$events$EventTarget$$.$superClass_$.$disposeInternal$.call(this); $goog$events$removeAll$$(this); this.$parentEventTarget_$ = $JSCompiler_alias_NULL$$ }; function $goog$ui$IdGenerator$$() { } $goog$addSingletonGetter$$($goog$ui$IdGenerator$$); $goog$ui$IdGenerator$$.prototype.$nextId_$ = 0; $goog$ui$IdGenerator$$.$getInstance$(); function $goog$ui$Component$$($opt_domHelper$$) { $goog$Disposable$$.call(this); this.$dom_$ = $opt_domHelper$$ || $goog$dom$getDomHelper$$(); this.$rightToLeft_$ = $goog$ui$Component$defaultRightToLeft_$$ } $goog$inherits$$($goog$ui$Component$$, $goog$events$EventTarget$$); $goog$ui$Component$$.prototype.$idGenerator_$ = $goog$ui$IdGenerator$$.$getInstance$(); var $goog$ui$Component$defaultRightToLeft_$$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$ = $goog$ui$Component$$.prototype; $JSCompiler_prototypeAlias$$.$id_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$inDocument_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$element_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$rightToLeft_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$model_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$parent_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$children_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$childIndex_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$wasDecorated_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$getId$ = function $$JSCompiler_prototypeAlias$$$$getId$$() { return this.$id_$ || (this.$id_$ = ":" + (this.$idGenerator_$.$nextId_$++).toString(36)) }; $JSCompiler_prototypeAlias$$.$getElement$ = $JSCompiler_get$$("$element_$"); function $JSCompiler_StaticMethods_setParent$$($JSCompiler_StaticMethods_setParent$self$$, $parent$$19$$) { $JSCompiler_StaticMethods_setParent$self$$ == $parent$$19$$ && $JSCompiler_alias_THROW$$(Error("Unable to set parent component")); var $JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$; if($JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ = $parent$$19$$) { if($JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ = $JSCompiler_StaticMethods_setParent$self$$.$parent_$) { if($JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ = $JSCompiler_StaticMethods_setParent$self$$.$id_$) { if($JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ = $JSCompiler_StaticMethods_setParent$self$$.$parent_$.$childIndex_$ && $JSCompiler_StaticMethods_setParent$self$$.$id_$) { $JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ = $JSCompiler_StaticMethods_setParent$self$$.$parent_$.$childIndex_$; var $key$$inline_480$$ = $JSCompiler_StaticMethods_setParent$self$$.$id_$; $JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ = $key$$inline_480$$ in $JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ ? $JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$[$key$$inline_480$$] : void 0 } $JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ = $JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ && $JSCompiler_StaticMethods_setParent$self$$.$parent_$ != $parent$$19$$ } } } $JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ && $JSCompiler_alias_THROW$$(Error("Unable to set parent component")); $JSCompiler_StaticMethods_setParent$self$$.$parent_$ = $parent$$19$$; $goog$ui$Component$$.$superClass_$.$setParentEventTarget$.call($JSCompiler_StaticMethods_setParent$self$$, $parent$$19$$) } $JSCompiler_prototypeAlias$$.getParent = $JSCompiler_get$$("$parent_$"); $JSCompiler_prototypeAlias$$.$setParentEventTarget$ = function $$JSCompiler_prototypeAlias$$$$setParentEventTarget$$($parent$$20$$) { this.$parent_$ && this.$parent_$ != $parent$$20$$ && $JSCompiler_alias_THROW$$(Error("Method not supported")); $goog$ui$Component$$.$superClass_$.$setParentEventTarget$.call(this, $parent$$20$$) }; $JSCompiler_prototypeAlias$$.$getDomHelper$ = $JSCompiler_stubMethod$$(2); $JSCompiler_prototypeAlias$$.$createDom$ = function $$JSCompiler_prototypeAlias$$$$createDom$$() { this.$element_$ = this.$dom_$.createElement("div") }; function $JSCompiler_StaticMethods_render_$$($JSCompiler_StaticMethods_render_$self$$, $opt_parentElement$$1$$, $opt_beforeElement$$) { $JSCompiler_StaticMethods_render_$self$$.$inDocument_$ && $JSCompiler_alias_THROW$$(Error("Component already rendered")); $JSCompiler_StaticMethods_render_$self$$.$element_$ || $JSCompiler_StaticMethods_render_$self$$.$createDom$(); $opt_parentElement$$1$$ ? $opt_parentElement$$1$$.insertBefore($JSCompiler_StaticMethods_render_$self$$.$element_$, $opt_beforeElement$$ || $JSCompiler_alias_NULL$$) : $JSCompiler_StaticMethods_render_$self$$.$dom_$.$document_$.body.appendChild($JSCompiler_StaticMethods_render_$self$$.$element_$); if(!$JSCompiler_StaticMethods_render_$self$$.$parent_$ || $JSCompiler_StaticMethods_render_$self$$.$parent_$.$inDocument_$) { $JSCompiler_StaticMethods_render_$self$$.$enterDocument$() } } $JSCompiler_prototypeAlias$$.$enterDocument$ = function $$JSCompiler_prototypeAlias$$$$enterDocument$$() { this.$inDocument_$ = $JSCompiler_alias_TRUE$$; $JSCompiler_StaticMethods_forEachChild$$(this, function($child$$7$$) { !$child$$7$$.$inDocument_$ && $child$$7$$.$getElement$() && $child$$7$$.$enterDocument$() }) }; function $JSCompiler_StaticMethods_exitDocument$$($JSCompiler_StaticMethods_exitDocument$self$$) { $JSCompiler_StaticMethods_forEachChild$$($JSCompiler_StaticMethods_exitDocument$self$$, function($child$$8$$) { $child$$8$$.$inDocument_$ && $JSCompiler_StaticMethods_exitDocument$$($child$$8$$) }); $JSCompiler_StaticMethods_exitDocument$self$$.$googUiComponentHandler_$ && $JSCompiler_StaticMethods_removeAll$$($JSCompiler_StaticMethods_exitDocument$self$$.$googUiComponentHandler_$); $JSCompiler_StaticMethods_exitDocument$self$$.$inDocument_$ = $JSCompiler_alias_FALSE$$ } $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() { $goog$ui$Component$$.$superClass_$.$disposeInternal$.call(this); this.$inDocument_$ && $JSCompiler_StaticMethods_exitDocument$$(this); if(this.$googUiComponentHandler_$) { this.$googUiComponentHandler_$.$dispose$(); delete this.$googUiComponentHandler_$ } $JSCompiler_StaticMethods_forEachChild$$(this, function($child$$9$$) { $child$$9$$.$dispose$() }); !this.$wasDecorated_$ && this.$element_$ && $goog$dom$removeNode$$(this.$element_$); this.$parent_$ = this.$model_$ = this.$element_$ = this.$childIndex_$ = this.$children_$ = $JSCompiler_alias_NULL$$ }; function $JSCompiler_StaticMethods_forEachChild$$($JSCompiler_StaticMethods_forEachChild$self$$, $f$$26$$) { $JSCompiler_StaticMethods_forEachChild$self$$.$children_$ && $goog$array$forEach$$($JSCompiler_StaticMethods_forEachChild$self$$.$children_$, $f$$26$$, void 0) } $JSCompiler_prototypeAlias$$.removeChild = function $$JSCompiler_prototypeAlias$$$removeChild$($child$$14$$, $opt_unrender$$) { if($child$$14$$) { var $id$$5$$ = $goog$isString$$($child$$14$$) ? $child$$14$$ : $child$$14$$.$getId$(), $JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$; if(this.$childIndex_$ && $id$$5$$) { var $obj$$inline_485$$ = this.$childIndex_$; if($id$$5$$ in $obj$$inline_485$$) { $JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$ = $obj$$inline_485$$[$id$$5$$] } $JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$ = $JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$ || $JSCompiler_alias_NULL$$ }else { $JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$ = $JSCompiler_alias_NULL$$ } $child$$14$$ = $JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$; if($id$$5$$ && $child$$14$$) { $JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$ = this.$childIndex_$; $id$$5$$ in $JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$ && delete $JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$[$id$$5$$]; $goog$array$remove$$(this.$children_$, $child$$14$$); if($opt_unrender$$) { $JSCompiler_StaticMethods_exitDocument$$($child$$14$$); $child$$14$$.$element_$ && $goog$dom$removeNode$$($child$$14$$.$element_$) } $JSCompiler_StaticMethods_setParent$$($child$$14$$, $JSCompiler_alias_NULL$$) } } $child$$14$$ || $JSCompiler_alias_THROW$$(Error("Child is not in parent component")); return $child$$14$$ }; function $example$App$$($dom$$1$$) { $goog$ui$Component$$.call(this, $dom$$1$$) } var $example$App$instance_$$; $goog$inherits$$($example$App$$, $goog$ui$Component$$); var $example$App$buttonClickHandler_$$ = $goog$nullFunction$$; $JSCompiler_prototypeAlias$$ = $example$App$$.prototype; $JSCompiler_prototypeAlias$$.$createDom$ = function $$JSCompiler_prototypeAlias$$$$createDom$$() { var $dom$$2$$ = this.$dom_$; this.$element_$ = $dom$$2$$.$createDom$("div", undefined, $dom$$2$$.$createDom$("span", undefined, "Messages appear here"), $dom$$2$$.$createDom$("button", undefined, "Load Settings")) }; $JSCompiler_prototypeAlias$$.$enterDocument$ = function $$JSCompiler_prototypeAlias$$$$enterDocument$$() { $example$App$$.$superClass_$.$enterDocument$.call(this); var $button$$1$$ = $goog$dom$getElementsByTagNameAndClass_$$(this.$dom_$.$document_$, "button", undefined, this.$getElement$())[0]; $JSCompiler_StaticMethods_listen$$(this.$googUiComponentHandler_$ || (this.$googUiComponentHandler_$ = new $goog$events$EventHandler$$(this)), $button$$1$$, "click", this.$onButtonClick_$) }; $JSCompiler_prototypeAlias$$.$onButtonClick_$ = function $$JSCompiler_prototypeAlias$$$$onButtonClick_$$($e$$15$$) { $example$App$buttonClickHandler_$$.call(this, $e$$15$$) }; $JSCompiler_prototypeAlias$$.$onSettingsLoaded$ = function $$JSCompiler_prototypeAlias$$$$onSettingsLoaded$$() { this.$settings_$ = this.$children_$ ? this.$children_$[0] || $JSCompiler_alias_NULL$$ : $JSCompiler_alias_NULL$$ }; $JSCompiler_prototypeAlias$$.$setMessage$ = $JSCompiler_stubMethod$$(1); function $example$App$install$$($id$$6$$) { if(!$example$App$instance_$$) { var $dom$$3$$ = new $goog$dom$DomHelper$$, $app$$1$$ = new $example$App$$($dom$$3$$); $JSCompiler_StaticMethods_render_$$($app$$1$$, $dom$$3$$.$getElement$($id$$6$$)); $example$App$instance_$$ = $app$$1$$ } } $goog$exportPath_$$("example.App.install", $example$App$install$$, void 0); function $goog$structs$getValues$$($col$$1$$) { if(typeof $col$$1$$.$getValues$ == "function") { return $col$$1$$.$getValues$() } if($goog$isString$$($col$$1$$)) { return $col$$1$$.split("") } if($goog$isArrayLike$$($col$$1$$)) { for(var $rv$$15$$ = [], $l$$11$$ = $col$$1$$.length, $i$$73$$ = 0;$i$$73$$ < $l$$11$$;$i$$73$$++) { $rv$$15$$.push($col$$1$$[$i$$73$$]) } return $rv$$15$$ } return $goog$object$getValues$$($col$$1$$) } function $goog$structs$forEach$$($col$$6$$, $f$$27$$, $opt_obj$$27$$) { if(typeof $col$$6$$.forEach == "function") { $col$$6$$.forEach($f$$27$$, $opt_obj$$27$$) }else { if($goog$isArrayLike$$($col$$6$$) || $goog$isString$$($col$$6$$)) { $goog$array$forEach$$($col$$6$$, $f$$27$$, $opt_obj$$27$$) }else { var $keys$$1_rv$$inline_211$$; if(typeof $col$$6$$.$getKeys$ == "function") { $keys$$1_rv$$inline_211$$ = $col$$6$$.$getKeys$() }else { if(typeof $col$$6$$.$getValues$ != "function") { if($goog$isArrayLike$$($col$$6$$) || $goog$isString$$($col$$6$$)) { $keys$$1_rv$$inline_211$$ = []; for(var $l$$inline_212_values$$1$$ = $col$$6$$.length, $i$$inline_213_l$$13$$ = 0;$i$$inline_213_l$$13$$ < $l$$inline_212_values$$1$$;$i$$inline_213_l$$13$$++) { $keys$$1_rv$$inline_211$$.push($i$$inline_213_l$$13$$) } }else { $keys$$1_rv$$inline_211$$ = $goog$object$getKeys$$($col$$6$$) } }else { $keys$$1_rv$$inline_211$$ = void 0 } } $l$$inline_212_values$$1$$ = $goog$structs$getValues$$($col$$6$$); $i$$inline_213_l$$13$$ = $l$$inline_212_values$$1$$.length; for(var $i$$75$$ = 0;$i$$75$$ < $i$$inline_213_l$$13$$;$i$$75$$++) { $f$$27$$.call($opt_obj$$27$$, $l$$inline_212_values$$1$$[$i$$75$$], $keys$$1_rv$$inline_211$$ && $keys$$1_rv$$inline_211$$[$i$$75$$], $col$$6$$) } } } } ;var $goog$iter$StopIteration$$ = "StopIteration" in $goog$global$$ ? $goog$global$$.StopIteration : Error("StopIteration"); function $goog$iter$Iterator$$() { } $goog$iter$Iterator$$.prototype.next = function $$goog$iter$Iterator$$$$next$() { $JSCompiler_alias_THROW$$($goog$iter$StopIteration$$) }; $goog$iter$Iterator$$.prototype.$__iterator__$ = function $$goog$iter$Iterator$$$$$__iterator__$$() { return this }; function $goog$iter$toIterator$$($iterable$$) { if($iterable$$ instanceof $goog$iter$Iterator$$) { return $iterable$$ } if(typeof $iterable$$.$__iterator__$ == "function") { return $iterable$$.$__iterator__$($JSCompiler_alias_FALSE$$) } if($goog$isArrayLike$$($iterable$$)) { var $i$$80$$ = 0, $newIter$$ = new $goog$iter$Iterator$$; $newIter$$.next = function $$newIter$$$next$() { for(;;) { $i$$80$$ >= $iterable$$.length && $JSCompiler_alias_THROW$$($goog$iter$StopIteration$$); if($i$$80$$ in $iterable$$) { return $iterable$$[$i$$80$$++] }else { $i$$80$$++ } } }; return $newIter$$ } $JSCompiler_alias_THROW$$(Error("Not implemented")) } function $goog$iter$forEach$$($iterable$$1$$, $f$$32$$) { if($goog$isArrayLike$$($iterable$$1$$)) { try { $goog$array$forEach$$($iterable$$1$$, $f$$32$$, void 0) }catch($ex$$3$$) { $ex$$3$$ !== $goog$iter$StopIteration$$ && $JSCompiler_alias_THROW$$($ex$$3$$) } }else { $iterable$$1$$ = $goog$iter$toIterator$$($iterable$$1$$); try { for(;;) { $f$$32$$.call(void 0, $iterable$$1$$.next(), undefined, $iterable$$1$$) } }catch($ex$$4$$) { $ex$$4$$ !== $goog$iter$StopIteration$$ && $JSCompiler_alias_THROW$$($ex$$4$$) } } } ;function $goog$structs$Map$$($opt_map$$) { this.$map_$ = {}; this.$keys_$ = []; var $argLength$$2_keys$$inline_222$$ = arguments.length; if($argLength$$2_keys$$inline_222$$ > 1) { $argLength$$2_keys$$inline_222$$ % 2 && $JSCompiler_alias_THROW$$(Error("Uneven number of arguments")); for(var $i$$83_values$$inline_223$$ = 0;$i$$83_values$$inline_223$$ < $argLength$$2_keys$$inline_222$$;$i$$83_values$$inline_223$$ += 2) { $JSCompiler_StaticMethods_set$$(this, arguments[$i$$83_values$$inline_223$$], arguments[$i$$83_values$$inline_223$$ + 1]) } }else { if($opt_map$$) { if($opt_map$$ instanceof $goog$structs$Map$$) { $argLength$$2_keys$$inline_222$$ = $opt_map$$.$getKeys$(); $i$$83_values$$inline_223$$ = $opt_map$$.$getValues$() }else { $argLength$$2_keys$$inline_222$$ = $goog$object$getKeys$$($opt_map$$); $i$$83_values$$inline_223$$ = $goog$object$getValues$$($opt_map$$) } for(var $i$$inline_224$$ = 0;$i$$inline_224$$ < $argLength$$2_keys$$inline_222$$.length;$i$$inline_224$$++) { $JSCompiler_StaticMethods_set$$(this, $argLength$$2_keys$$inline_222$$[$i$$inline_224$$], $i$$83_values$$inline_223$$[$i$$inline_224$$]) } } } } $JSCompiler_prototypeAlias$$ = $goog$structs$Map$$.prototype; $JSCompiler_prototypeAlias$$.$count_$ = 0; $JSCompiler_prototypeAlias$$.$version_$ = 0; $JSCompiler_prototypeAlias$$.$getValues$ = function $$JSCompiler_prototypeAlias$$$$getValues$$() { $JSCompiler_StaticMethods_cleanupKeysArray_$$(this); for(var $rv$$20$$ = [], $i$$84$$ = 0;$i$$84$$ < this.$keys_$.length;$i$$84$$++) { $rv$$20$$.push(this.$map_$[this.$keys_$[$i$$84$$]]) } return $rv$$20$$ }; $JSCompiler_prototypeAlias$$.$getKeys$ = function $$JSCompiler_prototypeAlias$$$$getKeys$$() { $JSCompiler_StaticMethods_cleanupKeysArray_$$(this); return this.$keys_$.concat() }; $JSCompiler_prototypeAlias$$.clear = function $$JSCompiler_prototypeAlias$$$clear$() { this.$map_$ = {}; this.$version_$ = this.$count_$ = this.$keys_$.length = 0 }; function $JSCompiler_StaticMethods_cleanupKeysArray_$$($JSCompiler_StaticMethods_cleanupKeysArray_$self$$) { if($JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$count_$ != $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length) { for(var $srcIndex$$ = 0, $destIndex$$ = 0;$srcIndex$$ < $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length;) { var $key$$53$$ = $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$srcIndex$$]; if(Object.prototype.hasOwnProperty.call($JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$map_$, $key$$53$$)) { $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$destIndex$$++] = $key$$53$$ } $srcIndex$$++ } $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length = $destIndex$$ } if($JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$count_$ != $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length) { var $seen$$1$$ = {}; for($destIndex$$ = $srcIndex$$ = 0;$srcIndex$$ < $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length;) { $key$$53$$ = $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$srcIndex$$]; if(!Object.prototype.hasOwnProperty.call($seen$$1$$, $key$$53$$)) { $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$destIndex$$++] = $key$$53$$; $seen$$1$$[$key$$53$$] = 1 } $srcIndex$$++ } $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length = $destIndex$$ } } function $JSCompiler_StaticMethods_get$$($JSCompiler_StaticMethods_get$self$$, $key$$54$$) { if(Object.prototype.hasOwnProperty.call($JSCompiler_StaticMethods_get$self$$.$map_$, $key$$54$$)) { return $JSCompiler_StaticMethods_get$self$$.$map_$[$key$$54$$] } } function $JSCompiler_StaticMethods_set$$($JSCompiler_StaticMethods_set$self$$, $key$$55$$, $value$$34$$) { if(!Object.prototype.hasOwnProperty.call($JSCompiler_StaticMethods_set$self$$.$map_$, $key$$55$$)) { $JSCompiler_StaticMethods_set$self$$.$count_$++; $JSCompiler_StaticMethods_set$self$$.$keys_$.push($key$$55$$); $JSCompiler_StaticMethods_set$self$$.$version_$++ } $JSCompiler_StaticMethods_set$self$$.$map_$[$key$$55$$] = $value$$34$$ } $JSCompiler_prototypeAlias$$.$__iterator__$ = function $$JSCompiler_prototypeAlias$$$$__iterator__$$($opt_keys$$1$$) { $JSCompiler_StaticMethods_cleanupKeysArray_$$(this); var $i$$90$$ = 0, $keys$$7$$ = this.$keys_$, $map$$8$$ = this.$map_$, $version$$9$$ = this.$version_$, $selfObj$$4$$ = this, $newIter$$7$$ = new $goog$iter$Iterator$$; $newIter$$7$$.next = function $$newIter$$7$$$next$() { for(;;) { $version$$9$$ != $selfObj$$4$$.$version_$ && $JSCompiler_alias_THROW$$(Error("The map has changed since the iterator was created")); $i$$90$$ >= $keys$$7$$.length && $JSCompiler_alias_THROW$$($goog$iter$StopIteration$$); var $key$$58$$ = $keys$$7$$[$i$$90$$++]; return $opt_keys$$1$$ ? $key$$58$$ : $map$$8$$[$key$$58$$] } }; return $newIter$$7$$ }; function $goog$debug$getStacktrace$$($opt_fn$$4$$) { return $goog$debug$getStacktraceHelper_$$($opt_fn$$4$$ || arguments.callee.caller, []) } function $goog$debug$getStacktraceHelper_$$($fn$$7$$, $visited$$) { var $sb$$3$$ = []; if($goog$array$contains$$($visited$$, $fn$$7$$)) { $sb$$3$$.push("[...circular reference...]") }else { if($fn$$7$$ && $visited$$.length < 50) { $sb$$3$$.push($goog$debug$getFunctionName$$($fn$$7$$) + "("); for(var $args$$10$$ = $fn$$7$$.arguments, $i$$95$$ = 0;$i$$95$$ < $args$$10$$.length;$i$$95$$++) { $i$$95$$ > 0 && $sb$$3$$.push(", "); var $arg$$6_argDesc$$; $arg$$6_argDesc$$ = $args$$10$$[$i$$95$$]; switch(typeof $arg$$6_argDesc$$) { case "object": $arg$$6_argDesc$$ = $arg$$6_argDesc$$ ? "object" : "null"; break; case "string": break; case "number": $arg$$6_argDesc$$ = String($arg$$6_argDesc$$); break; case "boolean": $arg$$6_argDesc$$ = $arg$$6_argDesc$$ ? "true" : "false"; break; case "function": $arg$$6_argDesc$$ = ($arg$$6_argDesc$$ = $goog$debug$getFunctionName$$($arg$$6_argDesc$$)) ? $arg$$6_argDesc$$ : "[fn]"; break; default: $arg$$6_argDesc$$ = typeof $arg$$6_argDesc$$ } if($arg$$6_argDesc$$.length > 40) { $arg$$6_argDesc$$ = $arg$$6_argDesc$$.substr(0, 40) + "..." } $sb$$3$$.push($arg$$6_argDesc$$) } $visited$$.push($fn$$7$$); $sb$$3$$.push(")\n"); try { $sb$$3$$.push($goog$debug$getStacktraceHelper_$$($fn$$7$$.caller, $visited$$)) }catch($e$$23$$) { $sb$$3$$.push("[exception trying to get caller]\n") } }else { $fn$$7$$ ? $sb$$3$$.push("[...long stack...]") : $sb$$3$$.push("[end]") } } return $sb$$3$$.join("") } function $goog$debug$getFunctionName$$($fn$$8_functionSource$$) { $fn$$8_functionSource$$ = String($fn$$8_functionSource$$); if(!$goog$debug$fnNameCache_$$[$fn$$8_functionSource$$]) { var $matches$$ = /function ([^\(]+)/.exec($fn$$8_functionSource$$); $goog$debug$fnNameCache_$$[$fn$$8_functionSource$$] = $matches$$ ? $matches$$[1] : "[Anonymous]" } return $goog$debug$fnNameCache_$$[$fn$$8_functionSource$$] } var $goog$debug$fnNameCache_$$ = {}; function $goog$debug$LogRecord$$($level$$, $msg$$4$$, $loggerName$$, $opt_time$$, $opt_sequenceNumber$$) { this.reset($level$$, $msg$$4$$, $loggerName$$, $opt_time$$, $opt_sequenceNumber$$) } $goog$debug$LogRecord$$.prototype.$sequenceNumber_$ = 0; $goog$debug$LogRecord$$.prototype.$exception_$ = $JSCompiler_alias_NULL$$; $goog$debug$LogRecord$$.prototype.$exceptionText_$ = $JSCompiler_alias_NULL$$; var $goog$debug$LogRecord$nextSequenceNumber_$$ = 0; $goog$debug$LogRecord$$.prototype.reset = function $$goog$debug$LogRecord$$$$reset$($level$$1$$, $msg$$5$$, $loggerName$$1$$, $opt_time$$1$$, $opt_sequenceNumber$$1$$) { this.$sequenceNumber_$ = typeof $opt_sequenceNumber$$1$$ == "number" ? $opt_sequenceNumber$$1$$ : $goog$debug$LogRecord$nextSequenceNumber_$$++; this.$time_$ = $opt_time$$1$$ || $goog$now$$(); this.$level_$ = $level$$1$$; this.$msg_$ = $msg$$5$$; this.$loggerName_$ = $loggerName$$1$$; delete this.$exception_$; delete this.$exceptionText_$ }; $goog$debug$LogRecord$$.prototype.$setLevel$ = function $$goog$debug$LogRecord$$$$$setLevel$$($level$$2$$) { this.$level_$ = $level$$2$$ }; $goog$debug$LogRecord$$.prototype.$setMessage$ = $JSCompiler_stubMethod$$(0); function $goog$debug$Logger$$($name$$46$$) { this.$name_$ = $name$$46$$ } $goog$debug$Logger$$.prototype.$parent_$ = $JSCompiler_alias_NULL$$; $goog$debug$Logger$$.prototype.$level_$ = $JSCompiler_alias_NULL$$; $goog$debug$Logger$$.prototype.$children_$ = $JSCompiler_alias_NULL$$; $goog$debug$Logger$$.prototype.$handlers_$ = $JSCompiler_alias_NULL$$; function $goog$debug$Logger$Level$$($name$$47$$, $value$$38$$) { this.name = $name$$47$$; this.value = $value$$38$$ } $goog$debug$Logger$Level$$.prototype.toString = $JSCompiler_get$$("name"); var $goog$debug$Logger$Level$SEVERE$$ = new $goog$debug$Logger$Level$$("SEVERE", 1E3), $goog$debug$Logger$Level$WARNING$$ = new $goog$debug$Logger$Level$$("WARNING", 900), $goog$debug$Logger$Level$INFO$$ = new $goog$debug$Logger$Level$$("INFO", 800), $goog$debug$Logger$Level$CONFIG$$ = new $goog$debug$Logger$Level$$("CONFIG", 700), $goog$debug$Logger$Level$FINE$$ = new $goog$debug$Logger$Level$$("FINE", 500), $goog$debug$Logger$Level$FINEST$$ = new $goog$debug$Logger$Level$$("FINEST", 300); $JSCompiler_prototypeAlias$$ = $goog$debug$Logger$$.prototype; $JSCompiler_prototypeAlias$$.getParent = $JSCompiler_get$$("$parent_$"); $JSCompiler_prototypeAlias$$.$setLevel$ = function $$JSCompiler_prototypeAlias$$$$setLevel$$($level$$6$$) { this.$level_$ = $level$$6$$ }; function $JSCompiler_StaticMethods_getEffectiveLevel$$($JSCompiler_StaticMethods_getEffectiveLevel$self$$) { if($JSCompiler_StaticMethods_getEffectiveLevel$self$$.$level_$) { return $JSCompiler_StaticMethods_getEffectiveLevel$self$$.$level_$ } if($JSCompiler_StaticMethods_getEffectiveLevel$self$$.$parent_$) { return $JSCompiler_StaticMethods_getEffectiveLevel$$($JSCompiler_StaticMethods_getEffectiveLevel$self$$.$parent_$) } $goog$asserts$fail$$("Root logger has no level set."); return $JSCompiler_alias_NULL$$ } $JSCompiler_prototypeAlias$$.log = function $$JSCompiler_prototypeAlias$$$log$($level$$8_logRecord$$inline_230$$, $msg$$8_target$$inline_231$$, $JSCompiler_StaticMethods_callPublish_$self$$inline_492_opt_exception$$) { if($level$$8_logRecord$$inline_230$$.value >= $JSCompiler_StaticMethods_getEffectiveLevel$$(this).value) { $level$$8_logRecord$$inline_230$$ = this.$getLogRecord$($level$$8_logRecord$$inline_230$$, $msg$$8_target$$inline_231$$, $JSCompiler_StaticMethods_callPublish_$self$$inline_492_opt_exception$$); this.$logToSpeedTracer_$("log:" + $level$$8_logRecord$$inline_230$$.$msg_$); for($msg$$8_target$$inline_231$$ = this;$msg$$8_target$$inline_231$$;) { $JSCompiler_StaticMethods_callPublish_$self$$inline_492_opt_exception$$ = $msg$$8_target$$inline_231$$; var $logRecord$$inline_493$$ = $level$$8_logRecord$$inline_230$$; if($JSCompiler_StaticMethods_callPublish_$self$$inline_492_opt_exception$$.$handlers_$) { for(var $i$$inline_494$$ = 0, $handler$$inline_495$$ = void 0;$handler$$inline_495$$ = $JSCompiler_StaticMethods_callPublish_$self$$inline_492_opt_exception$$.$handlers_$[$i$$inline_494$$];$i$$inline_494$$++) { $handler$$inline_495$$($logRecord$$inline_493$$) } } $msg$$8_target$$inline_231$$ = $msg$$8_target$$inline_231$$.getParent() } } }; $JSCompiler_prototypeAlias$$.$getLogRecord$ = function $$JSCompiler_prototypeAlias$$$$getLogRecord$$($level$$9$$, $msg$$9$$, $opt_exception$$1$$) { var $logRecord$$ = new $goog$debug$LogRecord$$($level$$9$$, String($msg$$9$$), this.$name_$); if($opt_exception$$1$$) { $logRecord$$.$exception_$ = $opt_exception$$1$$; var $JSCompiler_inline_result$$253$$; var $opt_fn$$inline_258$$ = arguments.callee.caller; try { var $e$$inline_259$$; var $href$$inline_503$$ = $goog$getObjectByName$$("window.location.href"); if($goog$isString$$($opt_exception$$1$$)) { $e$$inline_259$$ = {message:$opt_exception$$1$$, name:"Unknown error", lineNumber:"Not available", fileName:$href$$inline_503$$, stack:"Not available"} }else { var $lineNumber$$inline_504$$, $fileName$$inline_505$$, $threwError$$inline_506$$ = $JSCompiler_alias_FALSE$$; try { $lineNumber$$inline_504$$ = $opt_exception$$1$$.lineNumber || $opt_exception$$1$$.$line$ || "Not available" }catch($e$$inline_507$$) { $lineNumber$$inline_504$$ = "Not available"; $threwError$$inline_506$$ = $JSCompiler_alias_TRUE$$ } try { $fileName$$inline_505$$ = $opt_exception$$1$$.fileName || $opt_exception$$1$$.filename || $opt_exception$$1$$.sourceURL || $href$$inline_503$$ }catch($e$$inline_508$$) { $fileName$$inline_505$$ = "Not available"; $threwError$$inline_506$$ = $JSCompiler_alias_TRUE$$ } $e$$inline_259$$ = $threwError$$inline_506$$ || !$opt_exception$$1$$.lineNumber || !$opt_exception$$1$$.fileName || !$opt_exception$$1$$.stack ? {message:$opt_exception$$1$$.message, name:$opt_exception$$1$$.name, lineNumber:$lineNumber$$inline_504$$, fileName:$fileName$$inline_505$$, stack:$opt_exception$$1$$.stack || "Not available"} : $opt_exception$$1$$ } $JSCompiler_inline_result$$253$$ = "Message: " + $goog$string$htmlEscape$$($e$$inline_259$$.message) + '\nUrl: ' + $e$$inline_259$$.fileName + "\nLine: " + $e$$inline_259$$.lineNumber + "\n\nBrowser stack:\n" + $goog$string$htmlEscape$$($e$$inline_259$$.stack + "-> ") + "[end]\n\nJS stack traversal:\n" + $goog$string$htmlEscape$$($goog$debug$getStacktrace$$($opt_fn$$inline_258$$) + "-> ") }catch($e2$$inline_260$$) { $JSCompiler_inline_result$$253$$ = "Exception trying to expose exception! You win, we lose. " + $e2$$inline_260$$ } $logRecord$$.$exceptionText_$ = $JSCompiler_inline_result$$253$$ } return $logRecord$$ }; $JSCompiler_prototypeAlias$$.info = function $$JSCompiler_prototypeAlias$$$info$($msg$$13$$, $opt_exception$$5$$) { this.log($goog$debug$Logger$Level$INFO$$, $msg$$13$$, $opt_exception$$5$$) }; function $JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_fine$self$$, $msg$$15$$) { $JSCompiler_StaticMethods_fine$self$$.log($goog$debug$Logger$Level$FINE$$, $msg$$15$$, void 0) } $JSCompiler_prototypeAlias$$.$logToSpeedTracer_$ = function $$JSCompiler_prototypeAlias$$$$logToSpeedTracer_$$($msg$$18$$) { $goog$global$$.console && $goog$global$$.console.markTimeline && $goog$global$$.console.markTimeline($msg$$18$$) }; var $goog$debug$LogManager$loggers_$$ = {}, $goog$debug$LogManager$rootLogger_$$ = $JSCompiler_alias_NULL$$; function $goog$debug$LogManager$getLogger$$($name$$51$$) { 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$$) } var $JSCompiler_temp$$0_logger$$inline_278$$; if(!($JSCompiler_temp$$0_logger$$inline_278$$ = $goog$debug$LogManager$loggers_$$[$name$$51$$])) { $JSCompiler_temp$$0_logger$$inline_278$$ = new $goog$debug$Logger$$($name$$51$$); var $lastDotIndex$$inline_279_parentLogger$$inline_281$$ = $name$$51$$.lastIndexOf("."), $leafName$$inline_280$$ = $name$$51$$.substr($lastDotIndex$$inline_279_parentLogger$$inline_281$$ + 1); $lastDotIndex$$inline_279_parentLogger$$inline_281$$ = $goog$debug$LogManager$getLogger$$($name$$51$$.substr(0, $lastDotIndex$$inline_279_parentLogger$$inline_281$$)); if(!$lastDotIndex$$inline_279_parentLogger$$inline_281$$.$children_$) { $lastDotIndex$$inline_279_parentLogger$$inline_281$$.$children_$ = {} } $lastDotIndex$$inline_279_parentLogger$$inline_281$$.$children_$[$leafName$$inline_280$$] = $JSCompiler_temp$$0_logger$$inline_278$$; $JSCompiler_temp$$0_logger$$inline_278$$.$parent_$ = $lastDotIndex$$inline_279_parentLogger$$inline_281$$; $goog$debug$LogManager$loggers_$$[$name$$51$$] = $JSCompiler_temp$$0_logger$$inline_278$$ } return $JSCompiler_temp$$0_logger$$inline_278$$ } ;function $goog$module$BaseModuleLoader$$() { $goog$Disposable$$.call(this) } $goog$inherits$$($goog$module$BaseModuleLoader$$, $goog$Disposable$$); $goog$module$BaseModuleLoader$$.prototype.$logger$ = $goog$debug$LogManager$getLogger$$("goog.module.BaseModuleLoader"); $goog$module$BaseModuleLoader$$.prototype.$debugMode_$ = $JSCompiler_alias_FALSE$$; $goog$module$BaseModuleLoader$$.prototype.$codePostfix_$ = $JSCompiler_alias_NULL$$; $goog$module$BaseModuleLoader$$.prototype.$loadModulesInternal$ = function $$goog$module$BaseModuleLoader$$$$$loadModulesInternal$$() { }; function $goog$net$BulkLoaderHelper$$($uris$$) { $goog$Disposable$$.call(this); this.$uris_$ = $uris$$; this.$responseTexts_$ = [] } $goog$inherits$$($goog$net$BulkLoaderHelper$$, $goog$Disposable$$); $goog$net$BulkLoaderHelper$$.prototype.$logger_$ = $goog$debug$LogManager$getLogger$$("goog.net.BulkLoaderHelper"); $goog$net$BulkLoaderHelper$$.prototype.$getResponseTexts$ = $JSCompiler_get$$("$responseTexts_$"); $goog$net$BulkLoaderHelper$$.prototype.$disposeInternal$ = function $$goog$net$BulkLoaderHelper$$$$$disposeInternal$$() { $goog$net$BulkLoaderHelper$$.$superClass_$.$disposeInternal$.call(this); this.$responseTexts_$ = this.$uris_$ = $JSCompiler_alias_NULL$$ }; var $goog$Timer$defaultTimerObject$$ = $goog$global$$.window; function $goog$Timer$callOnce$$($listener$$41$$, $opt_handler$$13$$) { if($goog$isFunction$$($listener$$41$$)) { if($opt_handler$$13$$) { $listener$$41$$ = $goog$bind$$($listener$$41$$, $opt_handler$$13$$) } }else { if($listener$$41$$ && typeof $listener$$41$$.handleEvent == "function") { $listener$$41$$ = $goog$bind$$($listener$$41$$.handleEvent, $listener$$41$$) }else { $JSCompiler_alias_THROW$$(Error("Invalid listener argument")) } } $goog$Timer$defaultTimerObject$$.setTimeout($listener$$41$$, 5) } ;function $goog$net$XmlHttpFactory$$() { } $goog$net$XmlHttpFactory$$.prototype.$cachedOptions_$ = $JSCompiler_alias_NULL$$; function $goog$net$XmlHttp$$() { return $JSCompiler_StaticMethods_createInstance$$($goog$net$XmlHttp$factory_$$) } var $goog$net$XmlHttp$factory_$$; function $goog$net$DefaultXmlHttpFactory$$() { } $goog$inherits$$($goog$net$DefaultXmlHttpFactory$$, $goog$net$XmlHttpFactory$$); function $JSCompiler_StaticMethods_createInstance$$($JSCompiler_StaticMethods_createInstance$self_progId$$1$$) { return($JSCompiler_StaticMethods_createInstance$self_progId$$1$$ = $JSCompiler_StaticMethods_getProgId_$$($JSCompiler_StaticMethods_createInstance$self_progId$$1$$)) ? new ActiveXObject($JSCompiler_StaticMethods_createInstance$self_progId$$1$$) : new XMLHttpRequest } function $JSCompiler_StaticMethods_internalGetOptions$$($JSCompiler_StaticMethods_internalGetOptions$self$$) { var $options$$2$$ = {}; if($JSCompiler_StaticMethods_getProgId_$$($JSCompiler_StaticMethods_internalGetOptions$self$$)) { $options$$2$$[0] = $JSCompiler_alias_TRUE$$; $options$$2$$[1] = $JSCompiler_alias_TRUE$$ } return $options$$2$$ } $goog$net$DefaultXmlHttpFactory$$.prototype.$ieProgId_$ = $JSCompiler_alias_NULL$$; function $JSCompiler_StaticMethods_getProgId_$$($JSCompiler_StaticMethods_getProgId_$self$$) { if(!$JSCompiler_StaticMethods_getProgId_$self$$.$ieProgId_$ && typeof XMLHttpRequest == "undefined" && typeof ActiveXObject != "undefined") { for(var $ACTIVE_X_IDENTS$$ = ["MSXML2.XMLHTTP.6.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"], $i$$103$$ = 0;$i$$103$$ < $ACTIVE_X_IDENTS$$.length;$i$$103$$++) { var $candidate$$ = $ACTIVE_X_IDENTS$$[$i$$103$$]; try { new ActiveXObject($candidate$$); return $JSCompiler_StaticMethods_getProgId_$self$$.$ieProgId_$ = $candidate$$ }catch($e$$25$$) { } } $JSCompiler_alias_THROW$$(Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")) } return $JSCompiler_StaticMethods_getProgId_$self$$.$ieProgId_$ } $goog$net$XmlHttp$factory_$$ = new $goog$net$DefaultXmlHttpFactory$$; function $goog$net$XhrMonitor_$$() { if($goog$userAgent$GECKO$$) { this.$contextsToXhr_$ = {}; this.$xhrToContexts_$ = {}; this.$stack_$ = [] } } $goog$net$XhrMonitor_$$.prototype.$logger_$ = $goog$debug$LogManager$getLogger$$("goog.net.xhrMonitor"); $goog$net$XhrMonitor_$$.prototype.$enabled_$ = $goog$userAgent$GECKO$$; function $JSCompiler_StaticMethods_pushContext$$($JSCompiler_StaticMethods_pushContext$self$$, $context$$1$$) { if($JSCompiler_StaticMethods_pushContext$self$$.$enabled_$) { var $key$$61$$ = $goog$isString$$($context$$1$$) ? $context$$1$$ : $goog$isObject$$($context$$1$$) ? $goog$getUid$$($context$$1$$) : ""; $JSCompiler_StaticMethods_pushContext$self$$.$logger_$.log($goog$debug$Logger$Level$FINEST$$, "Pushing context: " + $context$$1$$ + " (" + $key$$61$$ + ")", void 0); $JSCompiler_StaticMethods_pushContext$self$$.$stack_$.push($key$$61$$) } } function $JSCompiler_StaticMethods_popContext$$($JSCompiler_StaticMethods_popContext$self$$) { if($JSCompiler_StaticMethods_popContext$self$$.$enabled_$) { var $context$$2$$ = $JSCompiler_StaticMethods_popContext$self$$.$stack_$.pop(); $JSCompiler_StaticMethods_popContext$self$$.$logger_$.log($goog$debug$Logger$Level$FINEST$$, "Popping context: " + $context$$2$$, void 0); $JSCompiler_StaticMethods_updateDependentContexts_$$($JSCompiler_StaticMethods_popContext$self$$, $context$$2$$) } } function $JSCompiler_StaticMethods_markXhrOpen$$($JSCompiler_StaticMethods_markXhrOpen$self$$, $xhr$$) { if($JSCompiler_StaticMethods_markXhrOpen$self$$.$enabled_$) { var $uid$$1$$ = $goog$getUid$$($xhr$$); $JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_markXhrOpen$self$$.$logger_$, "Opening XHR : " + $uid$$1$$); for(var $i$$104$$ = 0;$i$$104$$ < $JSCompiler_StaticMethods_markXhrOpen$self$$.$stack_$.length;$i$$104$$++) { var $context$$4$$ = $JSCompiler_StaticMethods_markXhrOpen$self$$.$stack_$[$i$$104$$]; $JSCompiler_StaticMethods_addToMap_$$($JSCompiler_StaticMethods_markXhrOpen$self$$.$contextsToXhr_$, $context$$4$$, $uid$$1$$); $JSCompiler_StaticMethods_addToMap_$$($JSCompiler_StaticMethods_markXhrOpen$self$$.$xhrToContexts_$, $uid$$1$$, $context$$4$$) } } } function $JSCompiler_StaticMethods_updateDependentContexts_$$($JSCompiler_StaticMethods_updateDependentContexts_$self$$, $xhrUid$$) { var $contexts$$ = $JSCompiler_StaticMethods_updateDependentContexts_$self$$.$xhrToContexts_$[$xhrUid$$], $xhrs$$ = $JSCompiler_StaticMethods_updateDependentContexts_$self$$.$contextsToXhr_$[$xhrUid$$]; if($contexts$$ && $xhrs$$) { $JSCompiler_StaticMethods_updateDependentContexts_$self$$.$logger_$.log($goog$debug$Logger$Level$FINEST$$, "Updating dependent contexts", void 0); $goog$array$forEach$$($contexts$$, function($context$$6$$) { $goog$array$forEach$$($xhrs$$, function($xhr$$2$$) { $JSCompiler_StaticMethods_addToMap_$$(this.$contextsToXhr_$, $context$$6$$, $xhr$$2$$); $JSCompiler_StaticMethods_addToMap_$$(this.$xhrToContexts_$, $xhr$$2$$, $context$$6$$) }, this) }, $JSCompiler_StaticMethods_updateDependentContexts_$self$$) } } function $JSCompiler_StaticMethods_addToMap_$$($map$$9$$, $key$$62$$, $value$$41$$) { $map$$9$$[$key$$62$$] || ($map$$9$$[$key$$62$$] = []); $goog$array$contains$$($map$$9$$[$key$$62$$], $value$$41$$) || $map$$9$$[$key$$62$$].push($value$$41$$) } var $goog$net$xhrMonitor$$ = new $goog$net$XhrMonitor_$$; var $goog$uri$utils$splitRe_$$ = RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"); function $goog$net$XhrIo$$($opt_xmlHttpFactory$$) { $goog$Disposable$$.call(this); this.headers = new $goog$structs$Map$$; this.$xmlHttpFactory_$ = $opt_xmlHttpFactory$$ || $JSCompiler_alias_NULL$$ } $goog$inherits$$($goog$net$XhrIo$$, $goog$events$EventTarget$$); $goog$net$XhrIo$$.prototype.$logger_$ = $goog$debug$LogManager$getLogger$$("goog.net.XhrIo"); var $goog$net$XhrIo$HTTP_SCHEME_PATTERN$$ = /^https?:?$/i; $JSCompiler_prototypeAlias$$ = $goog$net$XhrIo$$.prototype; $JSCompiler_prototypeAlias$$.$active_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$xhr_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$xhrOptions_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$lastUri_$ = ""; $JSCompiler_prototypeAlias$$.$lastMethod_$ = ""; $JSCompiler_prototypeAlias$$.$lastErrorCode_$ = 0; $JSCompiler_prototypeAlias$$.$lastError_$ = ""; $JSCompiler_prototypeAlias$$.$errorDispatched_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$inSend_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$inOpen_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$inAbort_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$timeoutInterval_$ = 0; $JSCompiler_prototypeAlias$$.$timeoutId_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$responseType_$ = ""; $JSCompiler_prototypeAlias$$.$withCredentials_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.send = function $$JSCompiler_prototypeAlias$$$send$($content$$2_url$$20$$, $method$$3_opt_method$$1$$, $opt_content$$1$$, $opt_headers$$1$$) { this.$xhr_$ && $JSCompiler_alias_THROW$$(Error("[goog.net.XhrIo] Object is active with another request")); $method$$3_opt_method$$1$$ = $method$$3_opt_method$$1$$ || "GET"; this.$lastUri_$ = $content$$2_url$$20$$; this.$lastError_$ = ""; this.$lastErrorCode_$ = 0; this.$lastMethod_$ = $method$$3_opt_method$$1$$; this.$errorDispatched_$ = $JSCompiler_alias_FALSE$$; this.$active_$ = $JSCompiler_alias_TRUE$$; this.$xhr_$ = this.$xmlHttpFactory_$ ? $JSCompiler_StaticMethods_createInstance$$(this.$xmlHttpFactory_$) : new $goog$net$XmlHttp$$; this.$xhrOptions_$ = this.$xmlHttpFactory_$ ? this.$xmlHttpFactory_$.$cachedOptions_$ || (this.$xmlHttpFactory_$.$cachedOptions_$ = $JSCompiler_StaticMethods_internalGetOptions$$(this.$xmlHttpFactory_$)) : $goog$net$XmlHttp$factory_$$.$cachedOptions_$ || ($goog$net$XmlHttp$factory_$$.$cachedOptions_$ = $JSCompiler_StaticMethods_internalGetOptions$$($goog$net$XmlHttp$factory_$$)); $JSCompiler_StaticMethods_markXhrOpen$$($goog$net$xhrMonitor$$, this.$xhr_$); this.$xhr_$.onreadystatechange = $goog$bind$$(this.$onReadyStateChange_$, this); try { $JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Opening Xhr")); this.$inOpen_$ = $JSCompiler_alias_TRUE$$; this.$xhr_$.open($method$$3_opt_method$$1$$, $content$$2_url$$20$$, $JSCompiler_alias_TRUE$$); this.$inOpen_$ = $JSCompiler_alias_FALSE$$ }catch($err$$4$$) { $JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Error opening Xhr: " + $err$$4$$.message)); $JSCompiler_StaticMethods_error_$$(this, $err$$4$$); return } $content$$2_url$$20$$ = $opt_content$$1$$ || ""; var $headers$$ = new $goog$structs$Map$$(this.headers); $opt_headers$$1$$ && $goog$structs$forEach$$($opt_headers$$1$$, function($value$$45$$, $key$$66$$) { $JSCompiler_StaticMethods_set$$($headers$$, $key$$66$$, $value$$45$$) }); $method$$3_opt_method$$1$$ == "POST" && !Object.prototype.hasOwnProperty.call($headers$$.$map_$, "Content-Type") && $JSCompiler_StaticMethods_set$$($headers$$, "Content-Type", "application/x-www-form-urlencoded;charset=utf-8"); $goog$structs$forEach$$($headers$$, function($value$$46$$, $key$$67$$) { this.$xhr_$.setRequestHeader($key$$67$$, $value$$46$$) }, this); if(this.$responseType_$) { this.$xhr_$.responseType = this.$responseType_$ } if("withCredentials" in this.$xhr_$) { this.$xhr_$.withCredentials = this.$withCredentials_$ } try { if(this.$timeoutId_$) { $goog$Timer$defaultTimerObject$$.clearTimeout(this.$timeoutId_$); this.$timeoutId_$ = $JSCompiler_alias_NULL$$ } if(this.$timeoutInterval_$ > 0) { $JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Will abort after " + this.$timeoutInterval_$ + "ms if incomplete")); this.$timeoutId_$ = $goog$Timer$defaultTimerObject$$.setTimeout($goog$bind$$(this.$timeout_$, this), this.$timeoutInterval_$) } $JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Sending request")); this.$inSend_$ = $JSCompiler_alias_TRUE$$; this.$xhr_$.send($content$$2_url$$20$$); this.$inSend_$ = $JSCompiler_alias_FALSE$$ }catch($err$$5$$) { $JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Send error: " + $err$$5$$.message)); $JSCompiler_StaticMethods_error_$$(this, $err$$5$$) } }; $JSCompiler_prototypeAlias$$.dispatchEvent = function $$JSCompiler_prototypeAlias$$$dispatchEvent$($e$$26$$) { if(this.$xhr_$) { $JSCompiler_StaticMethods_pushContext$$($goog$net$xhrMonitor$$, this.$xhr_$); try { return $goog$net$XhrIo$$.$superClass_$.dispatchEvent.call(this, $e$$26$$) }finally { $JSCompiler_StaticMethods_popContext$$($goog$net$xhrMonitor$$) } }else { return $goog$net$XhrIo$$.$superClass_$.dispatchEvent.call(this, $e$$26$$) } }; $JSCompiler_prototypeAlias$$.$timeout_$ = function $$JSCompiler_prototypeAlias$$$$timeout_$$() { if(typeof $goog$$ != "undefined") { if(this.$xhr_$) { this.$lastError_$ = "Timed out after " + this.$timeoutInterval_$ + "ms, aborting"; this.$lastErrorCode_$ = 8; $JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, this.$lastError_$)); this.dispatchEvent("timeout"); this.abort(8) } } }; function $JSCompiler_StaticMethods_error_$$($JSCompiler_StaticMethods_error_$self$$, $err$$6$$) { $JSCompiler_StaticMethods_error_$self$$.$active_$ = $JSCompiler_alias_FALSE$$; if($JSCompiler_StaticMethods_error_$self$$.$xhr_$) { $JSCompiler_StaticMethods_error_$self$$.$inAbort_$ = $JSCompiler_alias_TRUE$$; $JSCompiler_StaticMethods_error_$self$$.$xhr_$.abort(); $JSCompiler_StaticMethods_error_$self$$.$inAbort_$ = $JSCompiler_alias_FALSE$$ } $JSCompiler_StaticMethods_error_$self$$.$lastError_$ = $err$$6$$; $JSCompiler_StaticMethods_error_$self$$.$lastErrorCode_$ = 5; $JSCompiler_StaticMethods_dispatchErrors_$$($JSCompiler_StaticMethods_error_$self$$); $JSCompiler_StaticMethods_cleanUpXhr_$$($JSCompiler_StaticMethods_error_$self$$) } function $JSCompiler_StaticMethods_dispatchErrors_$$($JSCompiler_StaticMethods_dispatchErrors_$self$$) { if(!$JSCompiler_StaticMethods_dispatchErrors_$self$$.$errorDispatched_$) { $JSCompiler_StaticMethods_dispatchErrors_$self$$.$errorDispatched_$ = $JSCompiler_alias_TRUE$$; $JSCompiler_StaticMethods_dispatchErrors_$self$$.dispatchEvent("complete"); $JSCompiler_StaticMethods_dispatchErrors_$self$$.dispatchEvent("error") } } $JSCompiler_prototypeAlias$$.abort = function $$JSCompiler_prototypeAlias$$$abort$($opt_failureCode$$) { if(this.$xhr_$ && this.$active_$) { $JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Aborting")); this.$active_$ = $JSCompiler_alias_FALSE$$; this.$inAbort_$ = $JSCompiler_alias_TRUE$$; this.$xhr_$.abort(); this.$inAbort_$ = $JSCompiler_alias_FALSE$$; this.$lastErrorCode_$ = $opt_failureCode$$ || 7; this.dispatchEvent("complete"); this.dispatchEvent("abort"); $JSCompiler_StaticMethods_cleanUpXhr_$$(this) } }; $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() { if(this.$xhr_$) { if(this.$active_$) { this.$active_$ = $JSCompiler_alias_FALSE$$; this.$inAbort_$ = $JSCompiler_alias_TRUE$$; this.$xhr_$.abort(); this.$inAbort_$ = $JSCompiler_alias_FALSE$$ } $JSCompiler_StaticMethods_cleanUpXhr_$$(this, $JSCompiler_alias_TRUE$$) } $goog$net$XhrIo$$.$superClass_$.$disposeInternal$.call(this) }; $JSCompiler_prototypeAlias$$.$onReadyStateChange_$ = function $$JSCompiler_prototypeAlias$$$$onReadyStateChange_$$() { !this.$inOpen_$ && !this.$inSend_$ && !this.$inAbort_$ ? this.$onReadyStateChangeEntryPoint_$() : $JSCompiler_StaticMethods_onReadyStateChangeHelper_$$(this) }; $JSCompiler_prototypeAlias$$.$onReadyStateChangeEntryPoint_$ = function $$JSCompiler_prototypeAlias$$$$onReadyStateChangeEntryPoint_$$() { $JSCompiler_StaticMethods_onReadyStateChangeHelper_$$(this) }; function $JSCompiler_StaticMethods_onReadyStateChangeHelper_$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) { if($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$active_$) { if(typeof $goog$$ != "undefined") { if($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$xhrOptions_$[1] && $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) == 4 && $JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) == 2) { $JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$, "Local request error detected and ignored")) }else { if($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$inSend_$ && $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) == 4) { $goog$Timer$defaultTimerObject$$.setTimeout($goog$bind$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$onReadyStateChange_$, $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$), 0) }else { $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.dispatchEvent("readystatechange"); if($JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) == 4) { $JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$, "Request complete")); $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$active_$ = $JSCompiler_alias_FALSE$$; if($JSCompiler_StaticMethods_isSuccess$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$)) { $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.dispatchEvent("complete"); $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.dispatchEvent("success") }else { $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$lastErrorCode_$ = 6; var $JSCompiler_inline_result$$314$$; try { $JSCompiler_inline_result$$314$$ = $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) > 2 ? $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$xhr_$.statusText : "" }catch($e$$inline_317$$) { $JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$logger_$, "Can not get status: " + $e$$inline_317$$.message); $JSCompiler_inline_result$$314$$ = "" } $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$lastError_$ = $JSCompiler_inline_result$$314$$ + " [" + $JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) + "]"; $JSCompiler_StaticMethods_dispatchErrors_$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) } $JSCompiler_StaticMethods_cleanUpXhr_$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) } } } } } } function $JSCompiler_StaticMethods_cleanUpXhr_$$($JSCompiler_StaticMethods_cleanUpXhr_$self$$, $opt_fromDispose$$) { if($JSCompiler_StaticMethods_cleanUpXhr_$self$$.$xhr_$) { var $xhr$$3$$ = $JSCompiler_StaticMethods_cleanUpXhr_$self$$.$xhr_$, $clearedOnReadyStateChange$$ = $JSCompiler_StaticMethods_cleanUpXhr_$self$$.$xhrOptions_$[0] ? $goog$nullFunction$$ : $JSCompiler_alias_NULL$$; $JSCompiler_StaticMethods_cleanUpXhr_$self$$.$xhr_$ = $JSCompiler_alias_NULL$$; $JSCompiler_StaticMethods_cleanUpXhr_$self$$.$xhrOptions_$ = $JSCompiler_alias_NULL$$; if($JSCompiler_StaticMethods_cleanUpXhr_$self$$.$timeoutId_$) { $goog$Timer$defaultTimerObject$$.clearTimeout($JSCompiler_StaticMethods_cleanUpXhr_$self$$.$timeoutId_$); $JSCompiler_StaticMethods_cleanUpXhr_$self$$.$timeoutId_$ = $JSCompiler_alias_NULL$$ } if(!$opt_fromDispose$$) { $JSCompiler_StaticMethods_pushContext$$($goog$net$xhrMonitor$$, $xhr$$3$$); $JSCompiler_StaticMethods_cleanUpXhr_$self$$.dispatchEvent("ready"); $JSCompiler_StaticMethods_popContext$$($goog$net$xhrMonitor$$) } if($goog$net$xhrMonitor$$.$enabled_$) { var $uid$$inline_325$$ = $goog$getUid$$($xhr$$3$$); $JSCompiler_StaticMethods_fine$$($goog$net$xhrMonitor$$.$logger_$, "Closing XHR : " + $uid$$inline_325$$); delete $goog$net$xhrMonitor$$.$xhrToContexts_$[$uid$$inline_325$$]; for(var $context$$inline_326$$ in $goog$net$xhrMonitor$$.$contextsToXhr_$) { $goog$array$remove$$($goog$net$xhrMonitor$$.$contextsToXhr_$[$context$$inline_326$$], $uid$$inline_325$$); $goog$net$xhrMonitor$$.$contextsToXhr_$[$context$$inline_326$$].length == 0 && delete $goog$net$xhrMonitor$$.$contextsToXhr_$[$context$$inline_326$$] } } try { $xhr$$3$$.onreadystatechange = $clearedOnReadyStateChange$$ }catch($e$$27$$) { $JSCompiler_StaticMethods_cleanUpXhr_$self$$.$logger_$.log($goog$debug$Logger$Level$SEVERE$$, "Problem encountered resetting onreadystatechange: " + $e$$27$$.message, void 0) } } } $JSCompiler_prototypeAlias$$.$isActive$ = function $$JSCompiler_prototypeAlias$$$$isActive$$() { return!!this.$xhr_$ }; function $JSCompiler_StaticMethods_isSuccess$$($JSCompiler_StaticMethods_isSuccess$self_JSCompiler_inline_result$$333_lastUriScheme$$inline_337$$) { switch($JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_isSuccess$self_JSCompiler_inline_result$$333_lastUriScheme$$inline_337$$)) { case 0: $JSCompiler_StaticMethods_isSuccess$self_JSCompiler_inline_result$$333_lastUriScheme$$inline_337$$ = ($JSCompiler_StaticMethods_isSuccess$self_JSCompiler_inline_result$$333_lastUriScheme$$inline_337$$ = $goog$isString$$($JSCompiler_StaticMethods_isSuccess$self_JSCompiler_inline_result$$333_lastUriScheme$$inline_337$$.$lastUri_$) ? $JSCompiler_StaticMethods_isSuccess$self_JSCompiler_inline_result$$333_lastUriScheme$$inline_337$$.$lastUri_$.match($goog$uri$utils$splitRe_$$)[1] || $JSCompiler_alias_NULL$$ : $JSCompiler_StaticMethods_isSuccess$self_JSCompiler_inline_result$$333_lastUriScheme$$inline_337$$.$lastUri_$.$getScheme$()) ? $goog$net$XhrIo$HTTP_SCHEME_PATTERN$$.test($JSCompiler_StaticMethods_isSuccess$self_JSCompiler_inline_result$$333_lastUriScheme$$inline_337$$) : self.location ? $goog$net$XhrIo$HTTP_SCHEME_PATTERN$$.test(self.location.protocol) : $JSCompiler_alias_TRUE$$; return!$JSCompiler_StaticMethods_isSuccess$self_JSCompiler_inline_result$$333_lastUriScheme$$inline_337$$; case 200: ; case 204: ; case 304: return $JSCompiler_alias_TRUE$$; default: return $JSCompiler_alias_FALSE$$ } } function $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_getReadyState$self$$) { return $JSCompiler_StaticMethods_getReadyState$self$$.$xhr_$ ? $JSCompiler_StaticMethods_getReadyState$self$$.$xhr_$.readyState : 0 } function $JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_getStatus$self$$) { try { return $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_getStatus$self$$) > 2 ? $JSCompiler_StaticMethods_getStatus$self$$.$xhr_$.status : -1 }catch($e$$28$$) { $JSCompiler_StaticMethods_getStatus$self$$.$logger_$.log($goog$debug$Logger$Level$WARNING$$, "Can not get status: " + $e$$28$$.message, void 0); return-1 } } function $JSCompiler_StaticMethods_formatMsg_$$($JSCompiler_StaticMethods_formatMsg_$self$$, $msg$$19$$) { return $msg$$19$$ + " [" + $JSCompiler_StaticMethods_formatMsg_$self$$.$lastMethod_$ + " " + $JSCompiler_StaticMethods_formatMsg_$self$$.$lastUri_$ + " " + $JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_formatMsg_$self$$) + "]" } ;function $goog$net$BulkLoader$$($uris$$1$$) { $goog$Disposable$$.call(this); this.$helper_$ = new $goog$net$BulkLoaderHelper$$($uris$$1$$); this.$eventHandler_$ = new $goog$events$EventHandler$$(this) } $goog$inherits$$($goog$net$BulkLoader$$, $goog$events$EventTarget$$); $JSCompiler_prototypeAlias$$ = $goog$net$BulkLoader$$.prototype; $JSCompiler_prototypeAlias$$.$logger_$ = $goog$debug$LogManager$getLogger$$("goog.net.BulkLoader"); $JSCompiler_prototypeAlias$$.$getResponseTexts$ = function $$JSCompiler_prototypeAlias$$$$getResponseTexts$$() { return this.$helper_$.$getResponseTexts$() }; $JSCompiler_prototypeAlias$$.load = function $$JSCompiler_prototypeAlias$$$load$() { var $eventHandler$$ = this.$eventHandler_$, $uris$$2$$ = this.$helper_$.$uris_$; this.$logger_$.info("Starting load of code with " + $uris$$2$$.length + " uris."); for(var $i$$106$$ = 0;$i$$106$$ < $uris$$2$$.length;$i$$106$$++) { var $xhrIo$$ = new $goog$net$XhrIo$$; $JSCompiler_StaticMethods_listen$$($eventHandler$$, $xhrIo$$, "complete", $goog$bind$$(this.$handleEvent_$, this, $i$$106$$)); $xhrIo$$.send($uris$$2$$[$i$$106$$]) } }; $JSCompiler_prototypeAlias$$.$handleEvent_$ = function $$JSCompiler_prototypeAlias$$$$handleEvent_$$($id$$9$$, $e$$33$$) { this.$logger_$.info('Received event "' + $e$$33$$.type + '" for id ' + $id$$9$$ + " with uri " + this.$helper_$.$uris_$[$id$$9$$]); var $xhrIo$$1$$ = $e$$33$$.target; if($JSCompiler_StaticMethods_isSuccess$$($xhrIo$$1$$)) { var $JSCompiler_inline_result$$534_JSCompiler_temp_const$$467_responseTexts$$inline_539$$ = this.$helper_$, $JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$; try { $JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$ = $xhrIo$$1$$.$xhr_$ ? $xhrIo$$1$$.$xhr_$.responseText : "" }catch($e$$inline_525$$) { $JSCompiler_StaticMethods_fine$$($xhrIo$$1$$.$logger_$, "Can not get responseText: " + $e$$inline_525$$.message); $JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$ = "" } $JSCompiler_inline_result$$534_JSCompiler_temp_const$$467_responseTexts$$inline_539$$.$responseTexts_$[$id$$9$$] = $JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$; a: { $JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$ = this.$helper_$; $JSCompiler_inline_result$$534_JSCompiler_temp_const$$467_responseTexts$$inline_539$$ = $JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$.$responseTexts_$; if($JSCompiler_inline_result$$534_JSCompiler_temp_const$$467_responseTexts$$inline_539$$.length == $JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$.$uris_$.length) { for($JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$ = 0;$JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$ < $JSCompiler_inline_result$$534_JSCompiler_temp_const$$467_responseTexts$$inline_539$$.length;$JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$++) { if($JSCompiler_inline_result$$534_JSCompiler_temp_const$$467_responseTexts$$inline_539$$[$JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$] == $JSCompiler_alias_NULL$$) { $JSCompiler_inline_result$$534_JSCompiler_temp_const$$467_responseTexts$$inline_539$$ = $JSCompiler_alias_FALSE$$; break a } } $JSCompiler_inline_result$$534_JSCompiler_temp_const$$467_responseTexts$$inline_539$$ = $JSCompiler_alias_TRUE$$ }else { $JSCompiler_inline_result$$534_JSCompiler_temp_const$$467_responseTexts$$inline_539$$ = $JSCompiler_alias_FALSE$$ } } if($JSCompiler_inline_result$$534_JSCompiler_temp_const$$467_responseTexts$$inline_539$$) { this.$logger_$.info("All uris loaded."); this.dispatchEvent("success") } }else { this.dispatchEvent("error") } $xhrIo$$1$$.$dispose$() }; $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() { $goog$net$BulkLoader$$.$superClass_$.$disposeInternal$.call(this); this.$eventHandler_$.$dispose$(); this.$eventHandler_$ = $JSCompiler_alias_NULL$$; this.$helper_$.$dispose$(); this.$helper_$ = $JSCompiler_alias_NULL$$ }; function $goog$module$ModuleLoader$$() { $goog$Disposable$$.call(this); this.$eventHandler_$ = new $goog$events$EventHandler$$(this); this.$scriptsToLoadDebugMode_$ = [] } $goog$inherits$$($goog$module$ModuleLoader$$, $goog$module$BaseModuleLoader$$); $JSCompiler_prototypeAlias$$ = $goog$module$ModuleLoader$$.prototype; $JSCompiler_prototypeAlias$$.$logger$ = $goog$debug$LogManager$getLogger$$("goog.module.ModuleLoader"); $JSCompiler_prototypeAlias$$.$loadModulesInternal$ = function $$JSCompiler_prototypeAlias$$$$loadModulesInternal$$($ids$$4$$, $bulkLoader_moduleInfoMap$$3$$, $opt_successFn$$3$$, $opt_errorFn$$3$$) { for(var $eventHandler$$1_uris$$3$$ = [], $i$$107$$ = 0;$i$$107$$ < $ids$$4$$.length;$i$$107$$++) { $goog$array$extend$$($eventHandler$$1_uris$$3$$, $bulkLoader_moduleInfoMap$$3$$[$ids$$4$$[$i$$107$$]].$uris_$) } this.$logger$.info("loadModules ids:" + $ids$$4$$ + " uris:" + $eventHandler$$1_uris$$3$$); if(this.$debugMode_$) { $JSCompiler_StaticMethods_loadModulesInDebugMode_$$(this, $eventHandler$$1_uris$$3$$) }else { $bulkLoader_moduleInfoMap$$3$$ = new $goog$net$BulkLoader$$($eventHandler$$1_uris$$3$$); $eventHandler$$1_uris$$3$$ = this.$eventHandler_$; $JSCompiler_StaticMethods_listen$$($eventHandler$$1_uris$$3$$, $bulkLoader_moduleInfoMap$$3$$, "success", $goog$bind$$(this.$handleSuccess$, this, $bulkLoader_moduleInfoMap$$3$$, $ids$$4$$, $opt_successFn$$3$$, $opt_errorFn$$3$$), $JSCompiler_alias_FALSE$$, $JSCompiler_alias_NULL$$); $JSCompiler_StaticMethods_listen$$($eventHandler$$1_uris$$3$$, $bulkLoader_moduleInfoMap$$3$$, "error", $goog$bind$$(this.handleError, this, $bulkLoader_moduleInfoMap$$3$$, $ids$$4$$, $opt_errorFn$$3$$), $JSCompiler_alias_FALSE$$, $JSCompiler_alias_NULL$$); $bulkLoader_moduleInfoMap$$3$$.load() } }; function $JSCompiler_StaticMethods_createScriptElement_$$($uri$$38$$) { var $scriptEl$$ = document.createElement("script"); $scriptEl$$.src = $uri$$38$$; $scriptEl$$.type = "text/javascript"; return $scriptEl$$ } function $JSCompiler_StaticMethods_loadModulesInDebugMode_$$($JSCompiler_StaticMethods_loadModulesInDebugMode_$self$$, $uris$$4$$) { if($uris$$4$$.length) { var $scriptParent$$ = document.getElementsByTagName("head")[0] || document.documentElement; if($goog$userAgent$GECKO$$) { for(var $i$$108_isAnotherModuleLoading$$ = 0;$i$$108_isAnotherModuleLoading$$ < $uris$$4$$.length;$i$$108_isAnotherModuleLoading$$++) { var $scriptEl$$1$$ = $JSCompiler_StaticMethods_createScriptElement_$$($uris$$4$$[$i$$108_isAnotherModuleLoading$$]); $scriptParent$$.appendChild($scriptEl$$1$$) } }else { $i$$108_isAnotherModuleLoading$$ = $JSCompiler_StaticMethods_loadModulesInDebugMode_$self$$.$scriptsToLoadDebugMode_$.length; $goog$array$extend$$($JSCompiler_StaticMethods_loadModulesInDebugMode_$self$$.$scriptsToLoadDebugMode_$, $uris$$4$$); if(!$i$$108_isAnotherModuleLoading$$) { $uris$$4$$ = $JSCompiler_StaticMethods_loadModulesInDebugMode_$self$$.$scriptsToLoadDebugMode_$; var $popAndLoadNextScript$$ = function $$popAndLoadNextScript$$$() { var $uri$$39$$ = $uris$$4$$.shift(), $scriptEl$$2$$ = $JSCompiler_StaticMethods_createScriptElement_$$($uri$$39$$); if($uris$$4$$.length) { if($goog$userAgent$IE$$) { $scriptEl$$2$$.onreadystatechange = function $$scriptEl$$2$$$onreadystatechange$() { if(!this.readyState || this.readyState == "loaded" || this.readyState == "complete") { $scriptEl$$2$$.onreadystatechange = $goog$nullFunction$$; $popAndLoadNextScript$$() } } }else { $scriptEl$$2$$.onload = $popAndLoadNextScript$$ } } $scriptParent$$.appendChild($scriptEl$$2$$) }; $popAndLoadNextScript$$() } } } } $JSCompiler_prototypeAlias$$.$handleSuccess$ = function $$JSCompiler_prototypeAlias$$$$handleSuccess$$($bulkLoader$$1$$, $moduleIds$$4$$, $successFn$$1$$, $errorFn$$2$$) { var $jsCode$$inline_368_success$$inline_372$$ = $bulkLoader$$1$$.$getResponseTexts$().join("\n"); this.$logger$.info("Code loaded for module(s): " + $moduleIds$$4$$); var $success$$inline_554$$ = $JSCompiler_alias_TRUE$$; try { var $JSCompiler_temp$$611$$; if(this.$codePostfix_$) { var $suffix$$inline_623$$ = this.$codePostfix_$, $l$$inline_624$$ = $jsCode$$inline_368_success$$inline_372$$.length - $suffix$$inline_623$$.length; $JSCompiler_temp$$611$$ = $l$$inline_624$$ >= 0 && $jsCode$$inline_368_success$$inline_372$$.indexOf($suffix$$inline_623$$, $l$$inline_624$$) == $l$$inline_624$$ }else { $JSCompiler_temp$$611$$ = 1 } if($JSCompiler_temp$$611$$) { if($goog$global$$.execScript) { $goog$global$$.execScript($jsCode$$inline_368_success$$inline_372$$, "JavaScript") }else { if($goog$global$$.eval) { if($goog$evalWorksForGlobals_$$ == $JSCompiler_alias_NULL$$) { $goog$global$$.eval("var _et_ = 1;"); if(typeof $goog$global$$._et_ != "undefined") { delete $goog$global$$._et_; $goog$evalWorksForGlobals_$$ = $JSCompiler_alias_TRUE$$ }else { $goog$evalWorksForGlobals_$$ = $JSCompiler_alias_FALSE$$ } } if($goog$evalWorksForGlobals_$$) { $goog$global$$.eval($jsCode$$inline_368_success$$inline_372$$) }else { var $doc$$inline_555$$ = $goog$global$$.document, $scriptElt$$inline_556$$ = $doc$$inline_555$$.createElement("script"); $scriptElt$$inline_556$$.type = "text/javascript"; $scriptElt$$inline_556$$.defer = $JSCompiler_alias_FALSE$$; $scriptElt$$inline_556$$.appendChild($doc$$inline_555$$.createTextNode($jsCode$$inline_368_success$$inline_372$$)); $doc$$inline_555$$.body.appendChild($scriptElt$$inline_556$$); $doc$$inline_555$$.body.removeChild($scriptElt$$inline_556$$) } }else { $JSCompiler_alias_THROW$$(Error("goog.globalEval not available")) } } }else { $success$$inline_554$$ = $JSCompiler_alias_FALSE$$ } }catch($e$$inline_557$$) { $success$$inline_554$$ = $JSCompiler_alias_FALSE$$; this.$logger$.log($goog$debug$Logger$Level$WARNING$$, "Loaded incomplete code for module(s): " + $moduleIds$$4$$, $e$$inline_557$$) } if($jsCode$$inline_368_success$$inline_372$$ = $success$$inline_554$$) { $jsCode$$inline_368_success$$inline_372$$ && $successFn$$1$$ && $successFn$$1$$() }else { this.$logger$.log($goog$debug$Logger$Level$WARNING$$, "Request failed for module(s): " + $moduleIds$$4$$, void 0); $errorFn$$2$$ && $errorFn$$2$$($JSCompiler_alias_NULL$$) } $goog$Timer$callOnce$$($bulkLoader$$1$$.$dispose$, $bulkLoader$$1$$) }; $JSCompiler_prototypeAlias$$.handleError = function $$JSCompiler_prototypeAlias$$$handleError$($bulkLoader$$2$$, $moduleIds$$5$$, $errorFn$$3$$, $status$$1$$) { this.$logger$.log($goog$debug$Logger$Level$WARNING$$, "Request failed for module(s): " + $moduleIds$$5$$, void 0); $errorFn$$3$$ && $errorFn$$3$$($status$$1$$); $goog$Timer$callOnce$$($bulkLoader$$2$$.$dispose$, $bulkLoader$$2$$) }; $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() { $goog$module$ModuleLoader$$.$superClass_$.$disposeInternal$.call(this); this.$eventHandler_$.$dispose$(); this.$eventHandler_$ = $JSCompiler_alias_NULL$$ }; /* Portions of this code are from MochiKit, received by The Closure Authors under the MIT license. All other code is Copyright 2005-2009 The Closure Authors. All Rights Reserved. */ function $goog$async$Deferred$$($opt_canceller$$, $opt_defaultScope$$) { this.$chain_$ = []; this.$canceller_$ = $opt_canceller$$; this.$defaultScope_$ = $opt_defaultScope$$ || $JSCompiler_alias_NULL$$ } $JSCompiler_prototypeAlias$$ = $goog$async$Deferred$$.prototype; $JSCompiler_prototypeAlias$$.$fired_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$hadError_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$paused_$ = 0; $JSCompiler_prototypeAlias$$.$silentlyCancelled_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$chained_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$continue_$ = function $$JSCompiler_prototypeAlias$$$$continue_$$($isSuccess$$, $res$$7$$) { $JSCompiler_StaticMethods_resback_$$(this, $isSuccess$$, $res$$7$$); this.$paused_$--; this.$paused_$ == 0 && this.$fired_$ && $JSCompiler_StaticMethods_fire_$$(this) }; function $JSCompiler_StaticMethods_resback_$$($JSCompiler_StaticMethods_resback_$self$$, $isSuccess$$1$$, $res$$8$$) { $JSCompiler_StaticMethods_resback_$self$$.$fired_$ = $JSCompiler_alias_TRUE$$; $JSCompiler_StaticMethods_resback_$self$$.$result_$ = $res$$8$$; $JSCompiler_StaticMethods_resback_$self$$.$hadError_$ = !$isSuccess$$1$$; $JSCompiler_StaticMethods_fire_$$($JSCompiler_StaticMethods_resback_$self$$) } function $JSCompiler_StaticMethods_check_$$($JSCompiler_StaticMethods_check_$self$$) { if($JSCompiler_StaticMethods_check_$self$$.$fired_$) { $JSCompiler_StaticMethods_check_$self$$.$silentlyCancelled_$ || $JSCompiler_alias_THROW$$(new $goog$async$Deferred$AlreadyCalledError$$($JSCompiler_StaticMethods_check_$self$$)); $JSCompiler_StaticMethods_check_$self$$.$silentlyCancelled_$ = $JSCompiler_alias_FALSE$$ } } $JSCompiler_prototypeAlias$$.$callback$ = function $$JSCompiler_prototypeAlias$$$$callback$$($result$$8$$) { $JSCompiler_StaticMethods_check_$$(this); $JSCompiler_StaticMethods_assertNotDeferred_$$($result$$8$$); $JSCompiler_StaticMethods_resback_$$(this, $JSCompiler_alias_TRUE$$, $result$$8$$) }; function $JSCompiler_StaticMethods_assertNotDeferred_$$($obj$$68$$) { $goog$asserts$assert$$(!($obj$$68$$ instanceof $goog$async$Deferred$$), "Deferred instances can only be chained if they are the result of a callback") } function $JSCompiler_StaticMethods_addCallbacks$$($JSCompiler_StaticMethods_addCallbacks$self$$, $cb$$2$$, $eb$$1$$) { $goog$asserts$assert$$(!$JSCompiler_StaticMethods_addCallbacks$self$$.$chained_$, "Chained Deferreds can not be re-used"); $JSCompiler_StaticMethods_addCallbacks$self$$.$chain_$.push([$cb$$2$$, $eb$$1$$, void 0]); $JSCompiler_StaticMethods_addCallbacks$self$$.$fired_$ && $JSCompiler_StaticMethods_fire_$$($JSCompiler_StaticMethods_addCallbacks$self$$) } function $JSCompiler_StaticMethods_hasErrback_$$($JSCompiler_StaticMethods_hasErrback_$self$$) { return $goog$array$some$$($JSCompiler_StaticMethods_hasErrback_$self$$.$chain_$, function($chainRow$$) { return $goog$isFunction$$($chainRow$$[1]) }) } function $JSCompiler_StaticMethods_fire_$$($JSCompiler_StaticMethods_fire_$self$$) { if($JSCompiler_StaticMethods_fire_$self$$.$unhandledExceptionTimeoutId_$ && $JSCompiler_StaticMethods_fire_$self$$.$fired_$ && $JSCompiler_StaticMethods_hasErrback_$$($JSCompiler_StaticMethods_fire_$self$$)) { $goog$global$$.clearTimeout($JSCompiler_StaticMethods_fire_$self$$.$unhandledExceptionTimeoutId_$); delete $JSCompiler_StaticMethods_fire_$self$$.$unhandledExceptionTimeoutId_$ } for(var $res$$10$$ = $JSCompiler_StaticMethods_fire_$self$$.$result_$, $unhandledException$$ = $JSCompiler_alias_FALSE$$, $isChained$$ = $JSCompiler_alias_FALSE$$;$JSCompiler_StaticMethods_fire_$self$$.$chain_$.length && $JSCompiler_StaticMethods_fire_$self$$.$paused_$ == 0;) { var $chainEntry_scope$$ = $JSCompiler_StaticMethods_fire_$self$$.$chain_$.shift(), $callback$$23_f$$41$$ = $chainEntry_scope$$[0], $errback$$ = $chainEntry_scope$$[1]; $chainEntry_scope$$ = $chainEntry_scope$$[2]; if($callback$$23_f$$41$$ = $JSCompiler_StaticMethods_fire_$self$$.$hadError_$ ? $errback$$ : $callback$$23_f$$41$$) { try { var $ret$$3$$ = $callback$$23_f$$41$$.call($chainEntry_scope$$ || $JSCompiler_StaticMethods_fire_$self$$.$defaultScope_$, $res$$10$$); if($ret$$3$$ !== undefined) { $JSCompiler_StaticMethods_fire_$self$$.$hadError_$ = $JSCompiler_StaticMethods_fire_$self$$.$hadError_$ && ($ret$$3$$ == $res$$10$$ || $ret$$3$$ instanceof Error); $res$$10$$ = $ret$$3$$ } if($res$$10$$ instanceof $goog$async$Deferred$$) { $isChained$$ = $JSCompiler_alias_TRUE$$; $JSCompiler_StaticMethods_fire_$self$$.$paused_$++ } }catch($ex$$10$$) { $res$$10$$ = $ex$$10$$; $JSCompiler_StaticMethods_fire_$self$$.$hadError_$ = $JSCompiler_alias_TRUE$$; $JSCompiler_StaticMethods_hasErrback_$$($JSCompiler_StaticMethods_fire_$self$$) || ($unhandledException$$ = $JSCompiler_alias_TRUE$$) } } } $JSCompiler_StaticMethods_fire_$self$$.$result_$ = $res$$10$$; if($isChained$$ && $JSCompiler_StaticMethods_fire_$self$$.$paused_$) { $JSCompiler_StaticMethods_addCallbacks$$($res$$10$$, $goog$bind$$($JSCompiler_StaticMethods_fire_$self$$.$continue_$, $JSCompiler_StaticMethods_fire_$self$$, $JSCompiler_alias_TRUE$$), $goog$bind$$($JSCompiler_StaticMethods_fire_$self$$.$continue_$, $JSCompiler_StaticMethods_fire_$self$$, $JSCompiler_alias_FALSE$$)); $res$$10$$.$chained_$ = $JSCompiler_alias_TRUE$$ } if($unhandledException$$) { $JSCompiler_StaticMethods_fire_$self$$.$unhandledExceptionTimeoutId_$ = $goog$global$$.setTimeout(function() { $JSCompiler_alias_THROW$$($res$$10$$) }, 0) } } function $goog$async$Deferred$AlreadyCalledError$$($deferred$$) { $goog$debug$Error$$.call(this); this.$deferred$ = $deferred$$ } $goog$inherits$$($goog$async$Deferred$AlreadyCalledError$$, $goog$debug$Error$$); $goog$async$Deferred$AlreadyCalledError$$.prototype.message = "Already called"; function $goog$debug$Trace_$$() { this.$events_$ = []; this.$outstandingEvents_$ = new $goog$structs$Map$$; this.$tracerOverheadComment_$ = this.$tracerOverheadEnd_$ = this.$tracerOverheadStart_$ = this.$startTime_$ = 0; this.$stats_$ = new $goog$structs$Map$$; this.$commentCount_$ = this.$tracerCount_$ = 0; this.$nextId_$ = 1; this.$eventPool_$ = new $goog$structs$SimplePool$$(0, 4E3); this.$eventPool_$.$createObject$ = function $this$$eventPool_$$$createObject$$() { return new $goog$debug$Trace_$Event_$$ }; this.$statPool_$ = new $goog$structs$SimplePool$$(0, 50); this.$statPool_$.$createObject$ = function $this$$statPool_$$$createObject$$() { return new $goog$debug$Trace_$Stat_$$ }; var $that$$ = this; this.$idPool_$ = new $goog$structs$SimplePool$$(0, 2E3); this.$idPool_$.$createObject$ = function $this$$idPool_$$$createObject$$() { return String($that$$.$nextId_$++) }; this.$idPool_$.$disposeObject$ = function $this$$idPool_$$$disposeObject$$() { }; this.$defaultThreshold_$ = 3 } $goog$debug$Trace_$$.prototype.$logger_$ = $goog$debug$LogManager$getLogger$$("goog.debug.Trace"); function $goog$debug$Trace_$Stat_$$() { this.$varAlloc$ = this.$time$ = this.$count$ = 0 } $goog$debug$Trace_$Stat_$$.prototype.toString = function $$goog$debug$Trace_$Stat_$$$$toString$() { var $sb$$10$$ = []; $sb$$10$$.push(this.type, " ", this.$count$, " (", Math.round(this.$time$ * 10) / 10, " ms)"); this.$varAlloc$ && $sb$$10$$.push(" [VarAlloc = ", this.$varAlloc$, "]"); return $sb$$10$$.join("") }; function $goog$debug$Trace_$Event_$$() { } function $JSCompiler_StaticMethods_toTraceString$$($JSCompiler_StaticMethods_toTraceString$self$$, $startTime$$, $prevTime$$, $indent$$) { var $sb$$11$$ = []; $prevTime$$ == -1 ? $sb$$11$$.push(" ") : $sb$$11$$.push($goog$debug$Trace_$longToPaddedString_$$($JSCompiler_StaticMethods_toTraceString$self$$.$eventTime$ - $prevTime$$)); $sb$$11$$.push(" ", $goog$debug$Trace_$formatTime_$$($JSCompiler_StaticMethods_toTraceString$self$$.$eventTime$ - $startTime$$)); if($JSCompiler_StaticMethods_toTraceString$self$$.$eventType$ == 0) { $sb$$11$$.push(" Start ") }else { if($JSCompiler_StaticMethods_toTraceString$self$$.$eventType$ == 1) { $sb$$11$$.push(" Done "); $sb$$11$$.push($goog$debug$Trace_$longToPaddedString_$$($JSCompiler_StaticMethods_toTraceString$self$$.$stopTime$ - $JSCompiler_StaticMethods_toTraceString$self$$.startTime), " ms ") }else { $sb$$11$$.push(" Comment ") } } $sb$$11$$.push($indent$$, $JSCompiler_StaticMethods_toTraceString$self$$); $JSCompiler_StaticMethods_toTraceString$self$$.$totalVarAlloc$ > 0 && $sb$$11$$.push("[VarAlloc ", $JSCompiler_StaticMethods_toTraceString$self$$.$totalVarAlloc$, "] "); return $sb$$11$$.join("") } $goog$debug$Trace_$Event_$$.prototype.toString = function $$goog$debug$Trace_$Event_$$$$toString$() { return this.type == $JSCompiler_alias_NULL$$ ? this.$comment$ : "[" + this.type + "] " + this.$comment$ }; $goog$debug$Trace_$$.prototype.reset = function $$goog$debug$Trace_$$$$reset$($defaultThreshold$$1_i$$109$$) { this.$defaultThreshold_$ = $defaultThreshold$$1_i$$109$$; for($defaultThreshold$$1_i$$109$$ = 0;$defaultThreshold$$1_i$$109$$ < this.$events_$.length;$defaultThreshold$$1_i$$109$$++) { var $id$$12_keys$$8$$ = this.$eventPool_$.id; $id$$12_keys$$8$$ && $JSCompiler_StaticMethods_releaseObject$$(this.$idPool_$, $id$$12_keys$$8$$); $JSCompiler_StaticMethods_releaseObject$$(this.$eventPool_$, this.$events_$[$defaultThreshold$$1_i$$109$$]) } this.$events_$.length = 0; this.$outstandingEvents_$.clear(); this.$startTime_$ = $goog$now$$(); this.$commentCount_$ = this.$tracerCount_$ = this.$tracerOverheadComment_$ = this.$tracerOverheadEnd_$ = this.$tracerOverheadStart_$ = 0; $id$$12_keys$$8$$ = this.$stats_$.$getKeys$(); for($defaultThreshold$$1_i$$109$$ = 0;$defaultThreshold$$1_i$$109$$ < $id$$12_keys$$8$$.length;$defaultThreshold$$1_i$$109$$++) { var $stat$$ = $JSCompiler_StaticMethods_get$$(this.$stats_$, $id$$12_keys$$8$$[$defaultThreshold$$1_i$$109$$]); $stat$$.$count$ = 0; $stat$$.$time$ = 0; $stat$$.$varAlloc$ = 0; $JSCompiler_StaticMethods_releaseObject$$(this.$statPool_$, $stat$$) } this.$stats_$.clear() }; $goog$debug$Trace_$$.prototype.toString = function $$goog$debug$Trace_$$$$toString$() { for(var $sb$$12$$ = [], $etime_statKeys$$ = -1, $indent$$1_stat$$4$$ = [], $i$$113$$ = 0;$i$$113$$ < this.$events_$.length;$i$$113$$++) { var $e$$34$$ = this.$events_$[$i$$113$$]; $e$$34$$.$eventType$ == 1 && $indent$$1_stat$$4$$.pop(); $sb$$12$$.push(" ", $JSCompiler_StaticMethods_toTraceString$$($e$$34$$, this.$startTime_$, $etime_statKeys$$, $indent$$1_stat$$4$$.join(""))); $etime_statKeys$$ = $e$$34$$.$eventTime$; $sb$$12$$.push("\n"); $e$$34$$.$eventType$ == 0 && $indent$$1_stat$$4$$.push("| ") } if(this.$outstandingEvents_$.$count_$ != 0) { var $now$$3$$ = $goog$now$$(); $sb$$12$$.push(" Unstopped timers:\n"); $goog$iter$forEach$$(this.$outstandingEvents_$, function($startEvent$$1$$) { $sb$$12$$.push(" ", $startEvent$$1$$, " (", $now$$3$$ - $startEvent$$1$$.startTime, " ms, started at ", $goog$debug$Trace_$formatTime_$$($startEvent$$1$$.startTime), ")\n") }) } $etime_statKeys$$ = this.$stats_$.$getKeys$(); for($i$$113$$ = 0;$i$$113$$ < $etime_statKeys$$.length;$i$$113$$++) { $indent$$1_stat$$4$$ = $JSCompiler_StaticMethods_get$$(this.$stats_$, $etime_statKeys$$[$i$$113$$]); $indent$$1_stat$$4$$.$count$ > 1 && $sb$$12$$.push(" TOTAL ", $indent$$1_stat$$4$$, "\n") } $sb$$12$$.push("Total tracers created ", this.$tracerCount_$, "\n", "Total comments created ", this.$commentCount_$, "\n", "Overhead start: ", this.$tracerOverheadStart_$, " ms\n", "Overhead end: ", this.$tracerOverheadEnd_$, " ms\n", "Overhead comment: ", this.$tracerOverheadComment_$, " ms\n"); return $sb$$12$$.join("") }; $goog$debug$Trace_$$.prototype.$logToSpeedTracer_$ = function $$goog$debug$Trace_$$$$$logToSpeedTracer_$$($msg$$21$$) { $goog$global$$.console && $goog$global$$.console.markTimeline && $goog$global$$.console.markTimeline($msg$$21$$) }; function $goog$debug$Trace_$longToPaddedString_$$($v$$) { $v$$ = Math.round($v$$); var $space$$1$$ = ""; if($v$$ < 1E3) { $space$$1$$ = " " } if($v$$ < 100) { $space$$1$$ = " " } if($v$$ < 10) { $space$$1$$ = " " } return $space$$1$$ + $v$$ } function $goog$debug$Trace_$formatTime_$$($time$$1$$) { $time$$1$$ = Math.round($time$$1$$); return String(100 + $time$$1$$ / 1E3 % 60).substring(1, 3) + "." + String(1E3 + $time$$1$$ % 1E3).substring(1, 4) } new $goog$debug$Trace_$$; function $goog$functions$error$$($message$$13$$) { return function() { $JSCompiler_alias_THROW$$(Error($message$$13$$)) } } ;function $goog$module$BaseModule$$() { $goog$Disposable$$.call(this) } $goog$inherits$$($goog$module$BaseModule$$, $goog$Disposable$$); function $goog$module$ModuleLoadCallback$$($fn$$9$$, $opt_handler$$14$$) { this.$fn_$ = $fn$$9$$; this.$handler_$ = $opt_handler$$14$$ } $goog$module$ModuleLoadCallback$$.prototype.execute = function $$goog$module$ModuleLoadCallback$$$$execute$($context$$8$$) { if(this.$fn_$) { this.$fn_$.call(this.$handler_$ || $JSCompiler_alias_NULL$$, $context$$8$$); this.$fn_$ = this.$handler_$ = $JSCompiler_alias_NULL$$ } }; $goog$module$ModuleLoadCallback$$.prototype.abort = function $$goog$module$ModuleLoadCallback$$$$abort$() { this.$handler_$ = this.$fn_$ = $JSCompiler_alias_NULL$$ }; function $goog$module$ModuleInfo$$($deps$$3$$, $id$$14$$) { $goog$Disposable$$.call(this); this.$deps_$ = $deps$$3$$; this.$id_$ = $id$$14$$; this.$onloadCallbacks_$ = []; this.$onErrorCallbacks_$ = []; this.$earlyOnloadCallbacks_$ = [] } $goog$inherits$$($goog$module$ModuleInfo$$, $goog$Disposable$$); $JSCompiler_prototypeAlias$$ = $goog$module$ModuleInfo$$.prototype; $JSCompiler_prototypeAlias$$.$uris_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$moduleConstructor_$ = $goog$module$BaseModule$$; $JSCompiler_prototypeAlias$$.$module_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$getId$ = $JSCompiler_get$$("$id_$"); $JSCompiler_prototypeAlias$$.$registerCallback$ = function $$JSCompiler_prototypeAlias$$$$registerCallback$$($fn$$11$$, $opt_handler$$16$$) { return this.$registerCallback_$(this.$onloadCallbacks_$, $fn$$11$$, $opt_handler$$16$$) }; function $JSCompiler_StaticMethods_registerErrback$$($JSCompiler_StaticMethods_registerErrback$self$$, $fn$$12$$) { $JSCompiler_StaticMethods_registerErrback$self$$.$registerCallback_$($JSCompiler_StaticMethods_registerErrback$self$$.$onErrorCallbacks_$, $fn$$12$$, void 0) } $JSCompiler_prototypeAlias$$.$registerCallback_$ = function $$JSCompiler_prototypeAlias$$$$registerCallback_$$($callbacks$$, $callback$$24_fn$$13$$, $opt_handler$$18$$) { $callback$$24_fn$$13$$ = new $goog$module$ModuleLoadCallback$$($callback$$24_fn$$13$$, $opt_handler$$18$$); $callbacks$$.push($callback$$24_fn$$13$$); return $callback$$24_fn$$13$$ }; function $JSCompiler_StaticMethods_onLoad$$($JSCompiler_StaticMethods_onLoad$self$$, $contextProvider$$) { var $errors_module$$ = new $JSCompiler_StaticMethods_onLoad$self$$.$moduleConstructor_$; $contextProvider$$(); $JSCompiler_StaticMethods_onLoad$self$$.$module_$ = $errors_module$$; $errors_module$$ = $JSCompiler_StaticMethods_callCallbacks_$$($JSCompiler_StaticMethods_onLoad$self$$.$earlyOnloadCallbacks_$, $contextProvider$$()); if($errors_module$$ = !!$errors_module$$ | !!$JSCompiler_StaticMethods_callCallbacks_$$($JSCompiler_StaticMethods_onLoad$self$$.$onloadCallbacks_$, $contextProvider$$())) { $JSCompiler_StaticMethods_onError$$($JSCompiler_StaticMethods_onLoad$self$$, $goog$module$ModuleManager$FailureType$INIT_ERROR$$) }else { $JSCompiler_StaticMethods_onLoad$self$$.$onErrorCallbacks_$.length = 0 } } function $JSCompiler_StaticMethods_onError$$($JSCompiler_StaticMethods_onError$self$$, $cause$$) { var $result$$12$$ = $JSCompiler_StaticMethods_callCallbacks_$$($JSCompiler_StaticMethods_onError$self$$.$onErrorCallbacks_$, $cause$$); $result$$12$$ && window.setTimeout($goog$functions$error$$("Module errback failures: " + $result$$12$$), 0); $JSCompiler_StaticMethods_onError$self$$.$earlyOnloadCallbacks_$.length = 0; $JSCompiler_StaticMethods_onError$self$$.$onloadCallbacks_$.length = 0 } function $JSCompiler_StaticMethods_callCallbacks_$$($callbacks$$1$$, $context$$9$$) { for(var $errors$$1$$ = [], $i$$118$$ = 0;$i$$118$$ < $callbacks$$1$$.length;$i$$118$$++) { try { $callbacks$$1$$[$i$$118$$].execute($context$$9$$) }catch($e$$35$$) { $errors$$1$$.push($e$$35$$) } } $callbacks$$1$$.length = 0; return $errors$$1$$.length ? $errors$$1$$ : $JSCompiler_alias_NULL$$ } $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() { $goog$module$ModuleInfo$$.$superClass_$.$disposeInternal$.call(this); $goog$dispose$$(this.$module_$) }; function $goog$module$ModuleManager$$() { $goog$Disposable$$.call(this); this.$moduleInfoMap_$ = {}; this.$loadingModuleIds_$ = []; this.$requestedModuleIdsQueue_$ = []; this.$userInitiatedLoadingModuleIds_$ = []; this.$callbackMap_$ = {}; this.$currentlyLoadingModule_$ = this.$baseModuleInfo_$ = new $goog$module$ModuleInfo$$([], "") } $goog$inherits$$($goog$module$ModuleManager$$, $goog$Disposable$$); $goog$addSingletonGetter$$($goog$module$ModuleManager$$); $JSCompiler_prototypeAlias$$ = $goog$module$ModuleManager$$.prototype; $JSCompiler_prototypeAlias$$.$logger_$ = $goog$debug$LogManager$getLogger$$("goog.module.ModuleManager"); $JSCompiler_prototypeAlias$$.$batchModeEnabled_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$loader_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$consecutiveFailures_$ = 0; $JSCompiler_prototypeAlias$$.$lastActive_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$userLastActive_$ = $JSCompiler_alias_FALSE$$; $JSCompiler_prototypeAlias$$.$moduleContext_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$getModuleContext$ = $JSCompiler_get$$("$moduleContext_$"); $JSCompiler_prototypeAlias$$.$isActive$ = function $$JSCompiler_prototypeAlias$$$$isActive$$() { return this.$loadingModuleIds_$.length > 0 }; function $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$($JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$) { var $active_userActive$$ = $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$isActive$(); if($active_userActive$$ != $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$lastActive_$) { $JSCompiler_StaticMethods_executeCallbacks_$$($JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$, $active_userActive$$ ? "active" : "idle"); $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$lastActive_$ = $active_userActive$$ } $active_userActive$$ = $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$userInitiatedLoadingModuleIds_$.length > 0; if($active_userActive$$ != $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$userLastActive_$) { $JSCompiler_StaticMethods_executeCallbacks_$$($JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$, $active_userActive$$ ? "userActive" : "userIdle"); $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$userLastActive_$ = $active_userActive$$ } } function $JSCompiler_StaticMethods_loadModuleOrEnqueue_$$($JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$, $id$$21$$) { if($JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$.$loadingModuleIds_$.length == 0) { $JSCompiler_StaticMethods_loadModule_$$($JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$, $id$$21$$) }else { $JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$.$requestedModuleIdsQueue_$.push($id$$21$$); $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$($JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$) } } function $JSCompiler_StaticMethods_loadModule_$$($JSCompiler_StaticMethods_loadModule_$self$$, $delay$$3_id$$22$$, $opt_isRetry$$, $opt_forceReload$$5$$) { function $load$$() { var $ids$$inline_388$$ = $goog$array$clone$$($ids$$5$$), $opt_errorFn$$inline_390$$ = $goog$bind$$(this.$handleLoadError_$, this), $opt_timeoutFn$$inline_391$$ = $goog$bind$$(this.$handleLoadTimeout_$, this); this.$loader_$.$loadModulesInternal$($ids$$inline_388$$, this.$moduleInfoMap_$, $JSCompiler_alias_NULL$$, $opt_errorFn$$inline_390$$, $opt_timeoutFn$$inline_391$$, !!$opt_forceReload$$5$$) } $JSCompiler_StaticMethods_loadModule_$self$$.$moduleInfoMap_$[$delay$$3_id$$22$$].$module_$ && $JSCompiler_alias_THROW$$(Error("Module already loaded: " + $delay$$3_id$$22$$)); var $ids$$5$$ = $JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$$($JSCompiler_StaticMethods_loadModule_$self$$, $delay$$3_id$$22$$); if(!$JSCompiler_StaticMethods_loadModule_$self$$.$batchModeEnabled_$ && $ids$$5$$.length > 1) { var $idToLoad$$ = $ids$$5$$.shift(); $JSCompiler_StaticMethods_loadModule_$self$$.$logger_$.info("Must load " + $idToLoad$$ + " module before " + $delay$$3_id$$22$$); $JSCompiler_StaticMethods_loadModule_$self$$.$requestedModuleIdsQueue_$ = $ids$$5$$.concat($JSCompiler_StaticMethods_loadModule_$self$$.$requestedModuleIdsQueue_$); $ids$$5$$ = [$idToLoad$$] } if(!$opt_isRetry$$) { $JSCompiler_StaticMethods_loadModule_$self$$.$consecutiveFailures_$ = 0 } $JSCompiler_StaticMethods_loadModule_$self$$.$logger_$.info("Loading module(s): " + $ids$$5$$); $JSCompiler_StaticMethods_loadModule_$self$$.$loadingModuleIds_$ = $ids$$5$$; $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$($JSCompiler_StaticMethods_loadModule_$self$$); ($delay$$3_id$$22$$ = Math.pow($JSCompiler_StaticMethods_loadModule_$self$$.$consecutiveFailures_$, 2) * 5E3) ? window.setTimeout($goog$bind$$($load$$, $JSCompiler_StaticMethods_loadModule_$self$$), $delay$$3_id$$22$$) : $load$$.call($JSCompiler_StaticMethods_loadModule_$self$$) } function $JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$$($JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$self$$, $id$$23$$) { for(var $ids$$6$$ = [$id$$23$$], $depIds_seen$$inline_403$$ = $goog$array$clone$$($JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$self$$.$moduleInfoMap_$[$id$$23$$].$deps_$);$depIds_seen$$inline_403$$.length;) { var $cursorInsert$$inline_404_depId$$ = $depIds_seen$$inline_403$$.pop(); if(!$JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$self$$.$moduleInfoMap_$[$cursorInsert$$inline_404_depId$$].$module_$) { $ids$$6$$.unshift($cursorInsert$$inline_404_depId$$); Array.prototype.unshift.apply($depIds_seen$$inline_403$$, $JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$self$$.$moduleInfoMap_$[$cursorInsert$$inline_404_depId$$].$deps_$) } } $depIds_seen$$inline_403$$ = {}; for(var $cursorRead$$inline_405$$ = $cursorInsert$$inline_404_depId$$ = 0;$cursorRead$$inline_405$$ < $ids$$6$$.length;) { var $current$$inline_406$$ = $ids$$6$$[$cursorRead$$inline_405$$++], $key$$inline_407$$ = $goog$isObject$$($current$$inline_406$$) ? "o" + $goog$getUid$$($current$$inline_406$$) : (typeof $current$$inline_406$$).charAt(0) + $current$$inline_406$$; if(!Object.prototype.hasOwnProperty.call($depIds_seen$$inline_403$$, $key$$inline_407$$)) { $depIds_seen$$inline_403$$[$key$$inline_407$$] = $JSCompiler_alias_TRUE$$; $ids$$6$$[$cursorInsert$$inline_404_depId$$++] = $current$$inline_406$$ } } $ids$$6$$.length = $cursorInsert$$inline_404_depId$$; return $ids$$6$$ } function $JSCompiler_StaticMethods_setLoaded$$($JSCompiler_StaticMethods_setLoaded$self$$, $id$$24$$) { $JSCompiler_StaticMethods_setLoaded$self$$.$logger_$.info("Module loaded: " + $id$$24$$); $JSCompiler_StaticMethods_onLoad$$($JSCompiler_StaticMethods_setLoaded$self$$.$moduleInfoMap_$[$id$$24$$], $goog$bind$$($JSCompiler_StaticMethods_setLoaded$self$$.$getModuleContext$, $JSCompiler_StaticMethods_setLoaded$self$$)); $goog$array$remove$$($JSCompiler_StaticMethods_setLoaded$self$$.$userInitiatedLoadingModuleIds_$, $id$$24$$); $goog$array$remove$$($JSCompiler_StaticMethods_setLoaded$self$$.$loadingModuleIds_$, $id$$24$$); $JSCompiler_StaticMethods_setLoaded$self$$.$loadingModuleIds_$.length == 0 && $JSCompiler_StaticMethods_loadNextModule_$$($JSCompiler_StaticMethods_setLoaded$self$$); $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$($JSCompiler_StaticMethods_setLoaded$self$$) } function $JSCompiler_StaticMethods_execOnLoad$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$, $moduleId$$, $fn$$14$$, $opt_handler$$19$$) { var $moduleInfo$$2$$ = $JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$moduleInfoMap_$[$moduleId$$]; if($moduleInfo$$2$$.$module_$) { $JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$logger_$.info($moduleId$$ + " module already loaded"); $JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$ = new $goog$module$ModuleLoadCallback$$($fn$$14$$, $opt_handler$$19$$); window.setTimeout($goog$bind$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.execute, $JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$), 0) }else { if($goog$array$contains$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$loadingModuleIds_$, $moduleId$$) || $goog$array$contains$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$requestedModuleIdsQueue_$, $moduleId$$)) { $JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$logger_$.info($moduleId$$ + " module already loading"); $moduleInfo$$2$$.$registerCallback$($fn$$14$$, $opt_handler$$19$$) }else { $JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$logger_$.info("Registering callback for module: " + $moduleId$$); $moduleInfo$$2$$.$registerCallback$($fn$$14$$, $opt_handler$$19$$); $JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$logger_$.info("Initiating module load: " + $moduleId$$); $JSCompiler_StaticMethods_loadModuleOrEnqueue_$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$, $moduleId$$) } } } $JSCompiler_prototypeAlias$$.load = function $$JSCompiler_prototypeAlias$$$load$($moduleId$$1$$, $opt_userInitiated$$1$$) { var $moduleInfo$$3$$ = this.$moduleInfoMap_$[$moduleId$$1$$], $d$$5$$ = new $goog$async$Deferred$$; if($moduleInfo$$3$$.$module_$) { $d$$5$$.$callback$(this.$moduleContext_$) }else { if($goog$array$contains$$(this.$loadingModuleIds_$, $moduleId$$1$$) || $goog$array$contains$$(this.$requestedModuleIdsQueue_$, $moduleId$$1$$)) { this.$logger_$.info($moduleId$$1$$ + " module already loading"); $moduleInfo$$3$$.$registerCallback$($d$$5$$.$callback$, $d$$5$$); $JSCompiler_StaticMethods_registerErrback$$($moduleInfo$$3$$, function($err$$8_result$$inline_412$$) { $err$$8_result$$inline_412$$ = Error($err$$8_result$$inline_412$$); $JSCompiler_StaticMethods_check_$$($d$$5$$); $JSCompiler_StaticMethods_assertNotDeferred_$$($err$$8_result$$inline_412$$); $JSCompiler_StaticMethods_resback_$$($d$$5$$, $JSCompiler_alias_FALSE$$, $err$$8_result$$inline_412$$) }); if($opt_userInitiated$$1$$) { this.$logger_$.info("User initiated module already loading: " + $moduleId$$1$$); $JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$$(this, $moduleId$$1$$); $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$(this) } }else { this.$logger_$.info("Registering callback for module: " + $moduleId$$1$$); $moduleInfo$$3$$.$registerCallback$($d$$5$$.$callback$, $d$$5$$); $JSCompiler_StaticMethods_registerErrback$$($moduleInfo$$3$$, function($err$$9_result$$inline_417$$) { $err$$9_result$$inline_417$$ = Error($err$$9_result$$inline_417$$); $JSCompiler_StaticMethods_check_$$($d$$5$$); $JSCompiler_StaticMethods_assertNotDeferred_$$($err$$9_result$$inline_417$$); $JSCompiler_StaticMethods_resback_$$($d$$5$$, $JSCompiler_alias_FALSE$$, $err$$9_result$$inline_417$$) }); if($opt_userInitiated$$1$$) { this.$logger_$.info("User initiated module load: " + $moduleId$$1$$); $JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$$(this, $moduleId$$1$$) }else { this.$logger_$.info("Initiating module load: " + $moduleId$$1$$) } $JSCompiler_StaticMethods_loadModuleOrEnqueue_$$(this, $moduleId$$1$$) } } return $d$$5$$ }; function $JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$$($JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$self$$, $id$$26$$) { $goog$array$contains$$($JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$self$$.$userInitiatedLoadingModuleIds_$, $id$$26$$) || $JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$self$$.$userInitiatedLoadingModuleIds_$.push($id$$26$$) } var $goog$module$ModuleManager$FailureType$INIT_ERROR$$ = 4; $JSCompiler_prototypeAlias$$ = $goog$module$ModuleManager$$.prototype; $JSCompiler_prototypeAlias$$.$handleLoadError_$ = function $$JSCompiler_prototypeAlias$$$$handleLoadError_$$($status$$2$$) { this.$consecutiveFailures_$++; if($status$$2$$ == 401) { this.$logger_$.info("Module loading unauthorized"); $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$$(this, 0); this.$requestedModuleIdsQueue_$.length = 0 }else { if($status$$2$$ == 410) { $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$$(this, 3); $JSCompiler_StaticMethods_loadNextModule_$$(this) }else { if(this.$consecutiveFailures_$ >= 3) { this.$logger_$.info("Aborting after failure to load: " + this.$loadingModuleIds_$); $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$$(this, 1); $JSCompiler_StaticMethods_loadNextModule_$$(this) }else { this.$logger_$.info("Retrying after failure to load: " + this.$loadingModuleIds_$); var $id$$29$$ = this.$loadingModuleIds_$.pop(); this.$loadingModuleIds_$.length = 0; $JSCompiler_StaticMethods_loadModule_$$(this, $id$$29$$, $JSCompiler_alias_TRUE$$, $status$$2$$ == 8001) } } } }; $JSCompiler_prototypeAlias$$.$handleLoadTimeout_$ = function $$JSCompiler_prototypeAlias$$$$handleLoadTimeout_$$() { this.$logger_$.info("Aborting after timeout: " + this.$loadingModuleIds_$); $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$$(this, 2); $JSCompiler_StaticMethods_loadNextModule_$$(this) }; function $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$, $cause$$1$$) { var $id$$30$$ = $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$loadingModuleIds_$.pop(); $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$loadingModuleIds_$.length = 0; var $idsToCancel$$ = $goog$array$filter$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$requestedModuleIdsQueue_$, function($requestedId$$) { return $goog$array$contains$$($JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$, $requestedId$$), $id$$30$$) }); $id$$30$$ && $goog$array$insert$$($idsToCancel$$, $id$$30$$); for(var $i$$120$$ = 0;$i$$120$$ < $idsToCancel$$.length;$i$$120$$++) { $goog$array$remove$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$requestedModuleIdsQueue_$, $idsToCancel$$[$i$$120$$]); $goog$array$remove$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$userInitiatedLoadingModuleIds_$, $idsToCancel$$[$i$$120$$]) } var $errorCallbacks$$ = $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$callbackMap_$.error; if($errorCallbacks$$) { for($i$$120$$ = 0;$i$$120$$ < $errorCallbacks$$.length;$i$$120$$++) { for(var $callback$$25$$ = $errorCallbacks$$[$i$$120$$], $j$$8$$ = 0;$j$$8$$ < $idsToCancel$$.length;$j$$8$$++) { $callback$$25$$("error", $idsToCancel$$[$j$$8$$], $cause$$1$$) } } } $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$moduleInfoMap_$[$id$$30$$] && $JSCompiler_StaticMethods_onError$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$moduleInfoMap_$[$id$$30$$], $cause$$1$$); $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$) } function $JSCompiler_StaticMethods_loadNextModule_$$($JSCompiler_StaticMethods_loadNextModule_$self$$) { for(;$JSCompiler_StaticMethods_loadNextModule_$self$$.$requestedModuleIdsQueue_$.length;) { var $nextId$$ = $JSCompiler_StaticMethods_loadNextModule_$self$$.$requestedModuleIdsQueue_$.shift(); if(!$JSCompiler_StaticMethods_loadNextModule_$self$$.$moduleInfoMap_$[$nextId$$].$module_$) { $JSCompiler_StaticMethods_loadModule_$$($JSCompiler_StaticMethods_loadNextModule_$self$$, $nextId$$); return } } $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$($JSCompiler_StaticMethods_loadNextModule_$self$$) } $JSCompiler_prototypeAlias$$.$registerCallback$ = function $$JSCompiler_prototypeAlias$$$$registerCallback$$($types$$, $fn$$17$$) { $goog$isArray$$($types$$) || ($types$$ = [$types$$]); for(var $i$$121$$ = 0;$i$$121$$ < $types$$.length;$i$$121$$++) { this.$registerCallback_$($types$$[$i$$121$$], $fn$$17$$) } }; $JSCompiler_prototypeAlias$$.$registerCallback_$ = function $$JSCompiler_prototypeAlias$$$$registerCallback_$$($type$$64$$, $fn$$18$$) { var $callbackMap$$ = this.$callbackMap_$; $callbackMap$$[$type$$64$$] || ($callbackMap$$[$type$$64$$] = []); $callbackMap$$[$type$$64$$].push($fn$$18$$) }; function $JSCompiler_StaticMethods_executeCallbacks_$$($JSCompiler_StaticMethods_executeCallbacks_$self$$, $type$$65$$) { for(var $callbacks$$2$$ = $JSCompiler_StaticMethods_executeCallbacks_$self$$.$callbackMap_$[$type$$65$$], $i$$122$$ = 0;$callbacks$$2$$ && $i$$122$$ < $callbacks$$2$$.length;$i$$122$$++) { $callbacks$$2$$[$i$$122$$]($type$$65$$) } } $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() { $goog$module$ModuleManager$$.$superClass_$.$disposeInternal$.call(this); $goog$array$forEach$$($goog$object$getValues$$(this.$moduleInfoMap_$), $goog$dispose$$); this.$callbackMap_$ = this.$requestedModuleIdsQueue_$ = this.$userInitiatedLoadingModuleIds_$ = this.$loadingModuleIds_$ = this.$moduleInfoMap_$ = $JSCompiler_alias_NULL$$ }; $example$App$buttonClickHandler_$$ = function $$example$App$buttonClickHandler_$$$() { $JSCompiler_StaticMethods_execOnLoad$$($goog$module$ModuleManager$$.$getInstance$(), "settings", this.$onSettingsLoaded$, this) }; $example$App$install$$("content"); var $moduleManager$$ = $goog$module$ModuleManager$$.$getInstance$(), $moduleLoader$$ = new $goog$module$ModuleLoader$$; $moduleManager$$.$loader_$ = $moduleLoader$$; var $infoMap$$inline_431$$ = $goog$global$$.MODULE_INFO, $id$$inline_432$$; for($id$$inline_432$$ in $infoMap$$inline_431$$) { $moduleManager$$.$moduleInfoMap_$[$id$$inline_432$$] = new $goog$module$ModuleInfo$$($infoMap$$inline_431$$[$id$$inline_432$$], $id$$inline_432$$) } if($moduleManager$$.$currentlyLoadingModule_$ == $moduleManager$$.$baseModuleInfo_$) { $moduleManager$$.$currentlyLoadingModule_$ = $JSCompiler_alias_NULL$$; $JSCompiler_StaticMethods_onLoad$$($moduleManager$$.$baseModuleInfo_$, $goog$bind$$($moduleManager$$.$getModuleContext$, $moduleManager$$)) } var $moduleUriMap$$inline_443$$ = $goog$global$$.MODULE_URIS, $id$$inline_444$$; for($id$$inline_444$$ in $moduleUriMap$$inline_443$$) { $moduleManager$$.$moduleInfoMap_$[$id$$inline_444$$].$uris_$ = $moduleUriMap$$inline_443$$[$id$$inline_444$$] } $JSCompiler_StaticMethods_setLoaded$$($moduleManager$$, "app"); $goog$exportPath_$$("example.api.load", function($callback$$26$$) { $JSCompiler_StaticMethods_execOnLoad$$($moduleManager$$, "api", $callback$$26$$) }, void 0); $goog$exportPath_$$("example.api.isLoaded", function() { var $moduleInfo$$4$$ = $moduleManager$$.$moduleInfoMap_$.api; return $moduleInfo$$4$$ ? !!$moduleInfo$$4$$.$module_$ : $JSCompiler_alias_FALSE$$ }, void 0);