function $JSCompiler_alias_THROW$$($jscomp_throw_param$$) { throw $jscomp_throw_param$$; } var $JSCompiler_alias_VOID$$ = void 0, $JSCompiler_alias_NULL$$ = null; 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; function $goog$exportPath_$$($name$$55$$, $opt_object$$) { var $parts$$ = $name$$55$$.split("."), $cur$$ = $goog$global$$; !($parts$$[0] in $cur$$) && $cur$$.execScript && $cur$$.execScript("var " + $parts$$[0]); for(var $part$$;$parts$$.length && ($part$$ = $parts$$.shift());) { !$parts$$.length && $opt_object$$ !== $JSCompiler_alias_VOID$$ ? $cur$$[$part$$] = $opt_object$$ : $cur$$ = $cur$$[$part$$] ? $cur$$[$part$$] : $cur$$[$part$$] = {} } } function $goog$getObjectByName$$($name$$56_parts$$1$$) { for(var $name$$56_parts$$1$$ = $name$$56_parts$$1$$.split("."), $cur$$1$$ = $goog$global$$, $part$$1$$;$part$$1$$ = $name$$56_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$$37$$) { var $s$$2$$ = typeof $value$$37$$; if($s$$2$$ == "object") { if($value$$37$$) { if($value$$37$$ instanceof Array) { return"array" }else { if($value$$37$$ instanceof Object) { return $s$$2$$ } } var $className$$1$$ = Object.prototype.toString.call($value$$37$$); if($className$$1$$ == "[object Window]") { return"object" } if($className$$1$$ == "[object Array]" || typeof $value$$37$$.length == "number" && typeof $value$$37$$.splice != "undefined" && typeof $value$$37$$.propertyIsEnumerable != "undefined" && !$value$$37$$.propertyIsEnumerable("splice")) { return"array" } if($className$$1$$ == "[object Function]" || typeof $value$$37$$.call != "undefined" && typeof $value$$37$$.propertyIsEnumerable != "undefined" && !$value$$37$$.propertyIsEnumerable("call")) { return"function" } }else { return"null" } }else { if($s$$2$$ == "function" && typeof $value$$37$$.call == "undefined") { return"object" } } return $s$$2$$ } function $goog$isArray$$($val$$3$$) { return $goog$typeOf$$($val$$3$$) == "array" } function $goog$isArrayLike$$($val$$4$$) { var $type$$47$$ = $goog$typeOf$$($val$$4$$); return $type$$47$$ == "array" || $type$$47$$ == "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$$48_val$$10$$) { $type$$48_val$$10$$ = $goog$typeOf$$($type$$48_val$$10$$); return $type$$48_val$$10$$ == "object" || $type$$48_val$$10$$ == "array" || $type$$48_val$$10$$ == "function" } function $goog$getUid$$($obj$$17$$) { return $obj$$17$$[$goog$UID_PROPERTY_$$] || ($obj$$17$$[$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$$, $selfObj$$1$$, $var_args$$17$$) { return $fn$$.call.apply($fn$$.bind, arguments) } function $goog$bindJs_$$($fn$$1$$, $selfObj$$2$$, $var_args$$18$$) { $fn$$1$$ || $JSCompiler_alias_THROW$$(Error()); 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($selfObj$$2$$, $newArgs$$) } }else { return function() { return $fn$$1$$.apply($selfObj$$2$$, arguments) } } } function $goog$bind$$($fn$$2$$, $selfObj$$3$$, $var_args$$19$$) { $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 }, $goog$evalWorksForGlobals_$$ = $JSCompiler_alias_NULL$$; 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$$, $var_args$$22$$) { 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$$31$$) { if(!$goog$string$allRe_$$.test($str$$31$$)) { return $str$$31$$ } $str$$31$$.indexOf("&") != -1 && ($str$$31$$ = $str$$31$$.replace($goog$string$amperRe_$$, "&")); $str$$31$$.indexOf("<") != -1 && ($str$$31$$ = $str$$31$$.replace($goog$string$ltRe_$$, "<")); $str$$31$$.indexOf(">") != -1 && ($str$$31$$ = $str$$31$$.replace($goog$string$gtRe_$$, ">")); $str$$31$$.indexOf('"') != -1 && ($str$$31$$ = $str$$31$$.replace($goog$string$quotRe_$$, """)); return $str$$31$$ } 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$$2$$, $right$$2$$) { if($left$$2$$ < $right$$2$$) { return-1 }else { if($left$$2$$ > $right$$2$$) { 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$$, $var_args$$24$$) { if(!$condition$$) { var $givenArgs$$inline_16$$ = Array.prototype.slice.call(arguments, 2), $message$$inline_17$$ = "Assertion failed"; if($opt_message$$8$$) { $message$$inline_17$$ += ": " + $opt_message$$8$$; var $args$$inline_18$$ = $givenArgs$$inline_16$$ } $JSCompiler_alias_THROW$$(new $goog$asserts$AssertionError$$("" + $message$$inline_17$$, $args$$inline_18$$ || [])) } } function $goog$asserts$fail$$($opt_message$$9$$, $var_args$$25$$) { $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$$10$$, $obj$$21$$, $opt_fromIndex$$6$$) { $goog$asserts$assert$$($arr$$10$$.length != $JSCompiler_alias_NULL$$); return $goog$array$ARRAY_PROTOTYPE_$$.indexOf.call($arr$$10$$, $obj$$21$$, $opt_fromIndex$$6$$) } : function($arr$$11$$, $obj$$22$$, $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$$11$$.length + $fromIndex_i$$12_opt_fromIndex$$7$$) : $fromIndex_i$$12_opt_fromIndex$$7$$; if($goog$isString$$($arr$$11$$)) { return!$goog$isString$$($obj$$22$$) || $obj$$22$$.length != 1 ? -1 : $arr$$11$$.indexOf($obj$$22$$, $fromIndex_i$$12_opt_fromIndex$$7$$) } for(;$fromIndex_i$$12_opt_fromIndex$$7$$ < $arr$$11$$.length;$fromIndex_i$$12_opt_fromIndex$$7$$++) { if($fromIndex_i$$12_opt_fromIndex$$7$$ in $arr$$11$$ && $arr$$11$$[$fromIndex_i$$12_opt_fromIndex$$7$$] === $obj$$22$$) { return $fromIndex_i$$12_opt_fromIndex$$7$$ } } return-1 }, $goog$array$forEach$$ = $goog$array$ARRAY_PROTOTYPE_$$.forEach ? function($arr$$14$$, $f$$, $opt_obj$$1$$) { $goog$asserts$assert$$($arr$$14$$.length != $JSCompiler_alias_NULL$$); $goog$array$ARRAY_PROTOTYPE_$$.forEach.call($arr$$14$$, $f$$, $opt_obj$$1$$) } : function($arr$$15$$, $f$$1$$, $opt_obj$$2$$) { for(var $l$$2$$ = $arr$$15$$.length, $arr2$$ = $goog$isString$$($arr$$15$$) ? $arr$$15$$.split("") : $arr$$15$$, $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$$15$$) } }, $goog$array$filter$$ = $goog$array$ARRAY_PROTOTYPE_$$.filter ? function($arr$$17$$, $f$$3$$, $opt_obj$$4$$) { $goog$asserts$assert$$($arr$$17$$.length != $JSCompiler_alias_NULL$$); return $goog$array$ARRAY_PROTOTYPE_$$.filter.call($arr$$17$$, $f$$3$$, $opt_obj$$4$$) } : function($arr$$18$$, $f$$4$$, $opt_obj$$5$$) { for(var $l$$4$$ = $arr$$18$$.length, $res$$ = [], $resLength$$ = 0, $arr2$$2$$ = $goog$isString$$($arr$$18$$) ? $arr$$18$$.split("") : $arr$$18$$, $i$$16$$ = 0;$i$$16$$ < $l$$4$$;$i$$16$$++) { if($i$$16$$ in $arr2$$2$$) { var $val$$11$$ = $arr2$$2$$[$i$$16$$]; $f$$4$$.call($opt_obj$$5$$, $val$$11$$, $i$$16$$, $arr$$18$$) && ($res$$[$resLength$$++] = $val$$11$$) } } return $res$$ }, $goog$array$some$$ = $goog$array$ARRAY_PROTOTYPE_$$.some ? function($arr$$23$$, $f$$9$$, $opt_obj$$10$$) { $goog$asserts$assert$$($arr$$23$$.length != $JSCompiler_alias_NULL$$); return $goog$array$ARRAY_PROTOTYPE_$$.some.call($arr$$23$$, $f$$9$$, $opt_obj$$10$$) } : function($arr$$24$$, $f$$10$$, $opt_obj$$11$$) { for(var $l$$6$$ = $arr$$24$$.length, $arr2$$4$$ = $goog$isString$$($arr$$24$$) ? $arr$$24$$.split("") : $arr$$24$$, $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$$24$$)) { return!0 } } return!1 }; function $goog$array$contains$$($arr$$31$$, $obj$$25$$) { return $goog$array$indexOf$$($arr$$31$$, $obj$$25$$) >= 0 } function $goog$array$insert$$($arr$$34$$, $obj$$26$$) { $goog$array$contains$$($arr$$34$$, $obj$$26$$) || $arr$$34$$.push($obj$$26$$) } function $goog$array$remove$$($arr$$38$$, $obj$$29$$) { var $i$$26$$ = $goog$array$indexOf$$($arr$$38$$, $obj$$29$$); $i$$26$$ >= 0 && ($goog$asserts$assert$$($arr$$38$$.length != $JSCompiler_alias_NULL$$), $goog$array$ARRAY_PROTOTYPE_$$.splice.call($arr$$38$$, $i$$26$$, 1)) } function $goog$array$concat$$($var_args$$33$$) { return $goog$array$ARRAY_PROTOTYPE_$$.concat.apply($goog$array$ARRAY_PROTOTYPE_$$, arguments) } function $goog$array$clone$$($arr$$41$$) { if($goog$isArray$$($arr$$41$$)) { return $goog$array$concat$$($arr$$41$$) }else { for(var $rv$$3$$ = [], $i$$29$$ = 0, $len$$ = $arr$$41$$.length;$i$$29$$ < $len$$;$i$$29$$++) { $rv$$3$$[$i$$29$$] = $arr$$41$$[$i$$29$$] } return $rv$$3$$ } } function $goog$array$extend$$($arr1$$, $var_args$$34$$) { 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$$43$$, $start$$5$$, $opt_end$$5$$) { $goog$asserts$assert$$($arr$$43$$.length != $JSCompiler_alias_NULL$$); return arguments.length <= 2 ? $goog$array$ARRAY_PROTOTYPE_$$.slice.call($arr$$43$$, $start$$5$$) : $goog$array$ARRAY_PROTOTYPE_$$.slice.call($arr$$43$$, $start$$5$$, $opt_end$$5$$) } ;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_$$ = !1; var $ua$$inline_27$$; if($ua$$inline_27$$ = $goog$userAgent$getUserAgentString$$()) { var $navigator$$inline_28$$ = $goog$global$$.navigator; $goog$userAgent$detectedOpera_$$ = $ua$$inline_27$$.indexOf("Opera") == 0; $goog$userAgent$detectedIe_$$ = !$goog$userAgent$detectedOpera_$$ && $ua$$inline_27$$.indexOf("MSIE") != -1; $goog$userAgent$detectedWebkit_$$ = !$goog$userAgent$detectedOpera_$$ && $ua$$inline_27$$.indexOf("WebKit") != -1; $goog$userAgent$detectedGecko_$$ = !$goog$userAgent$detectedOpera_$$ && !$goog$userAgent$detectedWebkit_$$ && $navigator$$inline_28$$.product == "Gecko" } var $goog$userAgent$IE$$ = $goog$userAgent$detectedIe_$$, $goog$userAgent$GECKO$$ = $goog$userAgent$detectedGecko_$$, $goog$userAgent$WEBKIT$$ = $goog$userAgent$detectedWebkit_$$, $navigator$$inline_31$$ = $goog$global$$.navigator, $goog$userAgent$MAC$$ = ($navigator$$inline_31$$ && $navigator$$inline_31$$.platform || "").indexOf("Mac") != -1, $goog$userAgent$VERSION$$; a: { var $version$$inline_39$$ = "", $re$$inline_40$$; if($goog$userAgent$detectedOpera_$$ && $goog$global$$.opera) { var $operaVersion$$inline_41$$ = $goog$global$$.opera.version, $version$$inline_39$$ = typeof $operaVersion$$inline_41$$ == "function" ? $operaVersion$$inline_41$$() : $operaVersion$$inline_41$$ }else { if($goog$userAgent$GECKO$$ ? $re$$inline_40$$ = /rv\:([^\);]+)(\)|;)/ : $goog$userAgent$IE$$ ? $re$$inline_40$$ = /MSIE\s+([^\);]+)(\)|;)/ : $goog$userAgent$WEBKIT$$ && ($re$$inline_40$$ = /WebKit\/(\S+)/), $re$$inline_40$$) { var $arr$$inline_42$$ = $re$$inline_40$$.exec($goog$userAgent$getUserAgentString$$()), $version$$inline_39$$ = $arr$$inline_42$$ ? $arr$$inline_42$$[1] : "" } } if($goog$userAgent$IE$$) { var $docMode$$inline_43$$, $doc$$inline_464$$ = $goog$global$$.document; $docMode$$inline_43$$ = $doc$$inline_464$$ ? $doc$$inline_464$$.documentMode : $JSCompiler_alias_VOID$$; if($docMode$$inline_43$$ > parseFloat($version$$inline_39$$)) { $goog$userAgent$VERSION$$ = String($docMode$$inline_43$$); break a } } $goog$userAgent$VERSION$$ = $version$$inline_39$$ } var $goog$userAgent$isVersionCache_$$ = {}; function $goog$userAgent$isVersion$$($version$$8$$) { return $goog$userAgent$isVersionCache_$$[$version$$8$$] || ($goog$userAgent$isVersionCache_$$[$version$$8$$] = $goog$string$compareVersions$$($goog$userAgent$VERSION$$, $version$$8$$) >= 0) } var $goog$userAgent$isDocumentModeCache_$$ = {}; function $goog$userAgent$isDocumentMode$$() { return $goog$userAgent$isDocumentModeCache_$$[9] || ($goog$userAgent$isDocumentModeCache_$$[9] = $goog$userAgent$IE$$ && document.documentMode && document.documentMode >= 9) } ;var $goog$dom$defaultDomHelper_$$, $goog$dom$BrowserFeature$CAN_ADD_NAME_OR_TYPE_ATTRIBUTES$$ = !$goog$userAgent$IE$$ || $goog$userAgent$isDocumentMode$$(); !$goog$userAgent$GECKO$$ && !$goog$userAgent$IE$$ || $goog$userAgent$IE$$ && $goog$userAgent$isDocumentMode$$() || $goog$userAgent$GECKO$$ && $goog$userAgent$isVersion$$("1.9.1"); $goog$userAgent$IE$$ && $goog$userAgent$isVersion$$("9"); function $goog$dom$classes$add$$($element$$7$$, $var_args$$38$$) { var $className$$inline_48_classes$$; $className$$inline_48_classes$$ = ($className$$inline_48_classes$$ = $element$$7$$.className) && typeof $className$$inline_48_classes$$.split == "function" ? $className$$inline_48_classes$$.split(/\s+/) : []; var $args$$3_args$$inline_55$$ = $goog$array$slice$$(arguments, 1), $b$$4_classes$$inline_54$$; $b$$4_classes$$inline_54$$ = $className$$inline_48_classes$$; for(var $rv$$inline_56$$ = 0, $i$$inline_57$$ = 0;$i$$inline_57$$ < $args$$3_args$$inline_55$$.length;$i$$inline_57$$++) { $goog$array$contains$$($b$$4_classes$$inline_54$$, $args$$3_args$$inline_55$$[$i$$inline_57$$]) || ($b$$4_classes$$inline_54$$.push($args$$3_args$$inline_55$$[$i$$inline_57$$]), $rv$$inline_56$$++) } $b$$4_classes$$inline_54$$ = $rv$$inline_56$$ == $args$$3_args$$inline_55$$.length; $element$$7$$.className = $className$$inline_48_classes$$.join(" "); return $b$$4_classes$$inline_54$$ } ;function $goog$object$forEach$$($obj$$30$$, $f$$18$$) { for(var $key$$19$$ in $obj$$30$$) { $f$$18$$.call($JSCompiler_alias_VOID$$, $obj$$30$$[$key$$19$$], $key$$19$$, $obj$$30$$) } } function $goog$object$getValues$$($obj$$39$$) { var $res$$4$$ = [], $i$$43$$ = 0, $key$$27$$; for($key$$27$$ in $obj$$39$$) { $res$$4$$[$i$$43$$++] = $obj$$39$$[$key$$27$$] } return $res$$4$$ } function $goog$object$getKeys$$($obj$$40$$) { var $res$$5$$ = [], $i$$44$$ = 0, $key$$28$$; for($key$$28$$ in $obj$$40$$) { $res$$5$$[$i$$44$$++] = $key$$28$$ } return $res$$5$$ } var $goog$object$PROTOTYPE_FIELDS_$$ = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","); function $goog$object$extend$$($target$$38$$, $var_args$$41$$) { for(var $key$$42$$, $source$$2$$, $i$$47$$ = 1;$i$$47$$ < arguments.length;$i$$47$$++) { $source$$2$$ = arguments[$i$$47$$]; for($key$$42$$ in $source$$2$$) { $target$$38$$[$key$$42$$] = $source$$2$$[$key$$42$$] } for(var $j$$4$$ = 0;$j$$4$$ < $goog$object$PROTOTYPE_FIELDS_$$.length;$j$$4$$++) { $key$$42$$ = $goog$object$PROTOTYPE_FIELDS_$$[$j$$4$$], Object.prototype.hasOwnProperty.call($source$$2$$, $key$$42$$) && ($target$$38$$[$key$$42$$] = $source$$2$$[$key$$42$$]) } } } ;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_parent$$5$$, $opt_tag$$1_tagName$$1$$, $opt_el$$3$$) { $doc$$5_parent$$5$$ = $opt_el$$3$$ || $doc$$5_parent$$5$$; $opt_tag$$1_tagName$$1$$ = $opt_tag$$1_tagName$$1$$ && $opt_tag$$1_tagName$$1$$ != "*" ? $opt_tag$$1_tagName$$1$$.toUpperCase() : ""; return $doc$$5_parent$$5$$.querySelectorAll && $doc$$5_parent$$5$$.querySelector && (!$goog$userAgent$WEBKIT$$ || document.compatMode == "CSS1Compat" || $goog$userAgent$isVersion$$("528")) && $opt_tag$$1_tagName$$1$$ ? $doc$$5_parent$$5$$.querySelectorAll($opt_tag$$1_tagName$$1$$ + "") : $doc$$5_parent$$5$$.getElementsByTagName($opt_tag$$1_tagName$$1$$ || "*") } function $goog$dom$setProperties$$($element$$15$$, $properties$$) { $goog$object$forEach$$($properties$$, function($val$$19$$, $key$$43$$) { $key$$43$$ == "style" ? $element$$15$$.style.cssText = $val$$19$$ : $key$$43$$ == "class" ? $element$$15$$.className = $val$$19$$ : $key$$43$$ == "for" ? $element$$15$$.htmlFor = $val$$19$$ : $key$$43$$ in $goog$dom$DIRECT_ATTRIBUTE_MAP_$$ ? $element$$15$$.setAttribute($goog$dom$DIRECT_ATTRIBUTE_MAP_$$[$key$$43$$], $val$$19$$) : $key$$43$$.lastIndexOf("aria-", 0) == 0 ? $element$$15$$.setAttribute($key$$43$$, $val$$19$$) : $element$$15$$[$key$$43$$] = $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$$) { $child$$1$$ && $parent$$6$$.appendChild($goog$isString$$($child$$1$$) ? $doc$$12$$.createTextNode($child$$1$$) : $child$$1$$) } for(var $i$$51$$ = 2;$i$$51$$ < $args$$8$$.length;$i$$51$$++) { var $arg$$5$$ = $args$$8$$[$i$$51$$]; $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!1 } 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$$($tagName$$5$$, $opt_attributes$$1$$, $var_args$$47$$) { var $doc$$inline_74$$ = this.$document_$, $args$$inline_75$$ = arguments, $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$ = $args$$inline_75$$[0], $attributes$$inline_77$$ = $args$$inline_75$$[1]; if(!$goog$dom$BrowserFeature$CAN_ADD_NAME_OR_TYPE_ATTRIBUTES$$ && $attributes$$inline_77$$ && ($attributes$$inline_77$$.name || $attributes$$inline_77$$.type)) { $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$ = ["<", $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$]; $attributes$$inline_77$$.name && $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$.push(' name="', $goog$string$htmlEscape$$($attributes$$inline_77$$.name), '"'); if($attributes$$inline_77$$.type) { $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$.push(' type="', $goog$string$htmlEscape$$($attributes$$inline_77$$.type), '"'); var $clone$$inline_79$$ = {}; $goog$object$extend$$($clone$$inline_79$$, $attributes$$inline_77$$); $attributes$$inline_77$$ = $clone$$inline_79$$; delete $attributes$$inline_77$$.type } $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$.push(">"); $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$ = $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$.join("") } $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$ = $doc$$inline_74$$.createElement($element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$); if($attributes$$inline_77$$) { $goog$isString$$($attributes$$inline_77$$) ? $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$.className = $attributes$$inline_77$$ : $goog$isArray$$($attributes$$inline_77$$) ? $goog$dom$classes$add$$.apply($JSCompiler_alias_NULL$$, [$element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$].concat($attributes$$inline_77$$)) : $goog$dom$setProperties$$($element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$, $attributes$$inline_77$$) } $args$$inline_75$$.length > 2 && $goog$dom$append_$$($doc$$inline_74$$, $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$, $args$$inline_75$$); return $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$ }; $JSCompiler_prototypeAlias$$.createElement = function $$JSCompiler_prototypeAlias$$$createElement$($name$$59$$) { return this.$document_$.createElement($name$$59$$) }; $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$$) }; function $goog$Disposable$$() { } $goog$Disposable$$.prototype.$disposed_$ = !1; $goog$Disposable$$.prototype.$dispose$ = function $$goog$Disposable$$$$$dispose$$() { if(!this.$disposed_$) { this.$disposed_$ = !0, this.$disposeInternal$() } }; $goog$Disposable$$.prototype.$disposeInternal$ = function $$goog$Disposable$$$$$disposeInternal$$() { this.$dependentDisposables_$ && $goog$disposeAll$$.apply($JSCompiler_alias_NULL$$, this.$dependentDisposables_$) }; function $goog$dispose$$($obj$$59$$) { $obj$$59$$ && typeof $obj$$59$$.$dispose$ == "function" && $obj$$59$$.$dispose$() } function $goog$disposeAll$$($var_args$$48$$) { for(var $i$$55$$ = 0, $len$$2$$ = arguments.length;$i$$55$$ < $len$$2$$;++$i$$55$$) { var $disposable$$1$$ = arguments[$i$$55$$]; $goog$isArrayLike$$($disposable$$1$$) ? $goog$disposeAll$$.apply($JSCompiler_alias_NULL$$, $disposable$$1$$) : $goog$dispose$$($disposable$$1$$) } } ;var $goog$events$requiresSyntheticEventPropagation_$$; !$goog$userAgent$IE$$ || $goog$userAgent$isDocumentMode$$(); $goog$userAgent$IE$$ && $goog$userAgent$isVersion$$("8"); function $goog$events$Event$$($type$$52$$, $opt_target$$1$$) { this.type = $type$$52$$; 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_$ = !1; $goog$events$Event$$.prototype.$returnValue_$ = !0; function $goog$reflect$sinkValue$$($x$$51$$) { $goog$reflect$sinkValue$$[" "]($x$$51$$); return $x$$51$$ } $goog$reflect$sinkValue$$[" "] = $goog$nullFunction$$; 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 = !1; $JSCompiler_prototypeAlias$$.altKey = !1; $JSCompiler_prototypeAlias$$.shiftKey = !1; $JSCompiler_prototypeAlias$$.metaKey = !1; $JSCompiler_prototypeAlias$$.$platformModifierKey$ = !1; $JSCompiler_prototypeAlias$$.$event_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$init$ = function $$JSCompiler_prototypeAlias$$$$init$$($e$$8$$, $opt_currentTarget$$1$$) { var $type$$54$$ = this.type = $e$$8$$.type; $goog$events$Event$$.call(this, $type$$54$$); this.target = $e$$8$$.target || $e$$8$$.srcElement; this.currentTarget = $opt_currentTarget$$1$$; var $relatedTarget$$ = $e$$8$$.relatedTarget; if($relatedTarget$$) { if($goog$userAgent$GECKO$$) { var $JSCompiler_inline_result$$82$$; a: { try { $goog$reflect$sinkValue$$($relatedTarget$$.nodeName); $JSCompiler_inline_result$$82$$ = !0; break a }catch($e$$inline_85$$) { } $JSCompiler_inline_result$$82$$ = !1 } $JSCompiler_inline_result$$82$$ || ($relatedTarget$$ = $JSCompiler_alias_NULL$$) } }else { if($type$$54$$ == "mouseover") { $relatedTarget$$ = $e$$8$$.fromElement }else { if($type$$54$$ == "mouseout") { $relatedTarget$$ = $e$$8$$.toElement } } } this.relatedTarget = $relatedTarget$$; this.offsetX = $e$$8$$.offsetX !== $JSCompiler_alias_VOID$$ ? $e$$8$$.offsetX : $e$$8$$.layerX; this.offsetY = $e$$8$$.offsetY !== $JSCompiler_alias_VOID$$ ? $e$$8$$.offsetY : $e$$8$$.layerY; this.clientX = $e$$8$$.clientX !== $JSCompiler_alias_VOID$$ ? $e$$8$$.clientX : $e$$8$$.pageX; this.clientY = $e$$8$$.clientY !== $JSCompiler_alias_VOID$$ ? $e$$8$$.clientY : $e$$8$$.pageY; this.screenX = $e$$8$$.screenX || 0; this.screenY = $e$$8$$.screenY || 0; this.button = $e$$8$$.button; this.keyCode = $e$$8$$.keyCode || 0; this.charCode = $e$$8$$.charCode || ($type$$54$$ == "keypress" ? $e$$8$$.keyCode : 0); this.ctrlKey = $e$$8$$.ctrlKey; this.altKey = $e$$8$$.altKey; this.shiftKey = $e$$8$$.shiftKey; this.metaKey = $e$$8$$.metaKey; this.$platformModifierKey$ = $goog$userAgent$MAC$$ ? $e$$8$$.metaKey : $e$$8$$.ctrlKey; this.state = $e$$8$$.state; this.$event_$ = $e$$8$$; 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$ = !1; $JSCompiler_prototypeAlias$$.$callOnce$ = !1; $JSCompiler_prototypeAlias$$.$init$ = function $$JSCompiler_prototypeAlias$$$$init$$($listener$$30$$, $proxy$$, $src$$6$$, $type$$55$$, $capture$$, $opt_handler$$) { $goog$isFunction$$($listener$$30$$) ? this.$isFunctionListener_$ = !0 : $listener$$30$$ && $listener$$30$$.handleEvent && $goog$isFunction$$($listener$$30$$.handleEvent) ? this.$isFunctionListener_$ = !1 : $JSCompiler_alias_THROW$$(Error("Invalid listener argument")); this.$listener$ = $listener$$30$$; this.$proxy$ = $proxy$$; this.src = $src$$6$$; this.type = $type$$55$$; this.capture = !!$capture$$; this.$handler$ = $opt_handler$$; this.$callOnce$ = !1; this.key = ++$goog$events$Listener$counter_$$; this.$removed$ = !1 }; $JSCompiler_prototypeAlias$$.handleEvent = function $$JSCompiler_prototypeAlias$$$handleEvent$($eventObject$$) { return this.$isFunctionListener_$ ? this.$listener$.call(this.$handler$ || this.src, $eventObject$$) : this.$listener$.handleEvent.call(this.$listener$, $eventObject$$) }; function $goog$structs$SimplePool$$($initialCount$$, $maxCount$$) { 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_92$$ = 0;$i$$inline_92$$ < $initialCount$$;$i$$inline_92$$++) { 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$$; $JSCompiler_prototypeAlias$$.getObject = function $$JSCompiler_prototypeAlias$$$getObject$() { return this.$freeQueue_$.length ? this.$freeQueue_$.pop() : this.$createObject$() }; function $JSCompiler_StaticMethods_releaseObject$$($JSCompiler_StaticMethods_releaseObject$self$$, $obj$$61$$) { $JSCompiler_StaticMethods_releaseObject$self$$.$freeQueue_$.length < $JSCompiler_StaticMethods_releaseObject$self$$.$maxCount_$ ? $JSCompiler_StaticMethods_releaseObject$self$$.$freeQueue_$.push($obj$$61$$) : $JSCompiler_StaticMethods_releaseObject$self$$.$disposeObject$($obj$$61$$) } $JSCompiler_prototypeAlias$$.$createObject$ = function $$JSCompiler_prototypeAlias$$$$createObject$$() { return this.$createObjectFn_$ ? this.$createObjectFn_$() : {} }; $JSCompiler_prototypeAlias$$.$disposeObject$ = function $$JSCompiler_prototypeAlias$$$$disposeObject$$($obj$$62$$) { if(this.$disposeObjectFn_$) { this.$disposeObjectFn_$($obj$$62$$) }else { if($goog$isObject$$($obj$$62$$)) { if($goog$isFunction$$($obj$$62$$.$dispose$)) { $obj$$62$$.$dispose$() }else { for(var $i$$60$$ in $obj$$62$$) { delete $obj$$62$$[$i$$60$$] } } } } }; $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_$$, $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_v$$) { $eventObject$$1_v$$ = $proxyCallbackFunction$$.call($f$$25$$.src, $f$$25$$.key, $eventObject$$1_v$$); if(!$eventObject$$1_v$$) { return $eventObject$$1_v$$ } } 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 $objectPool$$.getObject() }; $goog$events$pools$releaseObject$$ = function $$goog$events$pools$releaseObject$$$($obj$$63$$) { $JSCompiler_StaticMethods_releaseObject$$($objectPool$$, $obj$$63$$) }; $goog$events$pools$getArray$$ = function $$goog$events$pools$getArray$$$() { return $arrayPool$$.getObject() }; $goog$events$pools$releaseArray$$ = function $$goog$events$pools$releaseArray$$$($obj$$64$$) { $JSCompiler_StaticMethods_releaseObject$$($arrayPool$$, $obj$$64$$) }; $goog$events$pools$getProxy$$ = function $$goog$events$pools$getProxy$$$() { return $proxyPool$$.getObject() }; $goog$events$pools$releaseProxy$$ = function $$goog$events$pools$releaseProxy$$$() { $JSCompiler_StaticMethods_releaseObject$$($proxyPool$$, $getProxy$$()) }; $goog$events$pools$getListener$$ = function $$goog$events$pools$getListener$$$() { return $listenerPool$$.getObject() }; $goog$events$pools$releaseListener$$ = function $$goog$events$pools$releaseListener$$$($obj$$66$$) { $JSCompiler_StaticMethods_releaseObject$$($listenerPool$$, $obj$$66$$) }; $goog$events$pools$getEvent$$ = function $$goog$events$pools$getEvent$$$() { return $eventPool$$.getObject() }; $goog$events$pools$releaseEvent$$ = function $$goog$events$pools$releaseEvent$$$($obj$$67$$) { $JSCompiler_StaticMethods_releaseObject$$($eventPool$$, $obj$$67$$) }; 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$$56$$, $key$$44_listener$$31$$, $capture$$1_opt_capt$$2$$, $opt_handler$$1$$) { if($type$$56$$) { if($goog$isArray$$($type$$56$$)) { for(var $i$$61_proxy$$1$$ = 0;$i$$61_proxy$$1$$ < $type$$56$$.length;$i$$61_proxy$$1$$++) { $goog$events$listen$$($src$$7$$, $type$$56$$[$i$$61_proxy$$1$$], $key$$44_listener$$31$$, $capture$$1_opt_capt$$2$$, $opt_handler$$1$$) } return $JSCompiler_alias_NULL$$ }else { var $capture$$1_opt_capt$$2$$ = !!$capture$$1_opt_capt$$2$$, $listenerObj_map$$ = $goog$events$listenerTree_$$; $type$$56$$ in $listenerObj_map$$ || ($listenerObj_map$$[$type$$56$$] = $goog$events$pools$getObject$$()); $listenerObj_map$$ = $listenerObj_map$$[$type$$56$$]; $capture$$1_opt_capt$$2$$ in $listenerObj_map$$ || ($listenerObj_map$$[$capture$$1_opt_capt$$2$$] = $goog$events$pools$getObject$$(), $listenerObj_map$$.$count_$++); var $listenerObj_map$$ = $listenerObj_map$$[$capture$$1_opt_capt$$2$$], $srcUid$$ = $goog$getUid$$($src$$7$$), $listenerArray$$; $listenerObj_map$$.$remaining_$++; if($listenerObj_map$$[$srcUid$$]) { $listenerArray$$ = $listenerObj_map$$[$srcUid$$]; for($i$$61_proxy$$1$$ = 0;$i$$61_proxy$$1$$ < $listenerArray$$.length;$i$$61_proxy$$1$$++) { if($listenerObj_map$$ = $listenerArray$$[$i$$61_proxy$$1$$], $listenerObj_map$$.$listener$ == $key$$44_listener$$31$$ && $listenerObj_map$$.$handler$ == $opt_handler$$1$$) { if($listenerObj_map$$.$removed$) { break } return $listenerArray$$[$i$$61_proxy$$1$$].key } } }else { $listenerArray$$ = $listenerObj_map$$[$srcUid$$] = $goog$events$pools$getArray$$(), $listenerObj_map$$.$count_$++ } $i$$61_proxy$$1$$ = $goog$events$pools$getProxy$$(); $i$$61_proxy$$1$$.src = $src$$7$$; $listenerObj_map$$ = $goog$events$pools$getListener$$(); $listenerObj_map$$.$init$($key$$44_listener$$31$$, $i$$61_proxy$$1$$, $src$$7$$, $type$$56$$, $capture$$1_opt_capt$$2$$, $opt_handler$$1$$); $key$$44_listener$$31$$ = $listenerObj_map$$.key; $i$$61_proxy$$1$$.key = $key$$44_listener$$31$$; $listenerArray$$.push($listenerObj_map$$); $goog$events$listeners_$$[$key$$44_listener$$31$$] = $listenerObj_map$$; $goog$events$sources_$$[$srcUid$$] || ($goog$events$sources_$$[$srcUid$$] = $goog$events$pools$getArray$$()); $goog$events$sources_$$[$srcUid$$].push($listenerObj_map$$); $src$$7$$.addEventListener ? ($src$$7$$ == $goog$global$$ || !$src$$7$$.$customEvent_$) && $src$$7$$.addEventListener($type$$56$$, $i$$61_proxy$$1$$, $capture$$1_opt_capt$$2$$) : $src$$7$$.attachEvent($type$$56$$ in $goog$events$onStringMap_$$ ? $goog$events$onStringMap_$$[$type$$56$$] : $goog$events$onStringMap_$$[$type$$56$$] = "on" + $type$$56$$, $i$$61_proxy$$1$$); return $key$$44_listener$$31$$ } }else { $JSCompiler_alias_THROW$$(Error("Invalid event type")) } } function $goog$events$unlisten$$($listenerArray$$1_objUid$$inline_129_src$$10$$, $type$$58$$, $listener$$34$$, $capture$$2_opt_capt$$5$$, $opt_handler$$4$$) { if($goog$isArray$$($type$$58$$)) { for(var $i$$63_map$$inline_128$$ = 0;$i$$63_map$$inline_128$$ < $type$$58$$.length;$i$$63_map$$inline_128$$++) { $goog$events$unlisten$$($listenerArray$$1_objUid$$inline_129_src$$10$$, $type$$58$$[$i$$63_map$$inline_128$$], $listener$$34$$, $capture$$2_opt_capt$$5$$, $opt_handler$$4$$) } }else { $capture$$2_opt_capt$$5$$ = !!$capture$$2_opt_capt$$5$$; a: { $i$$63_map$$inline_128$$ = $goog$events$listenerTree_$$; if($type$$58$$ in $i$$63_map$$inline_128$$ && ($i$$63_map$$inline_128$$ = $i$$63_map$$inline_128$$[$type$$58$$], $capture$$2_opt_capt$$5$$ in $i$$63_map$$inline_128$$ && ($i$$63_map$$inline_128$$ = $i$$63_map$$inline_128$$[$capture$$2_opt_capt$$5$$], $listenerArray$$1_objUid$$inline_129_src$$10$$ = $goog$getUid$$($listenerArray$$1_objUid$$inline_129_src$$10$$), $i$$63_map$$inline_128$$[$listenerArray$$1_objUid$$inline_129_src$$10$$]))) { $listenerArray$$1_objUid$$inline_129_src$$10$$ = $i$$63_map$$inline_128$$[$listenerArray$$1_objUid$$inline_129_src$$10$$]; break a } $listenerArray$$1_objUid$$inline_129_src$$10$$ = $JSCompiler_alias_NULL$$ } if($listenerArray$$1_objUid$$inline_129_src$$10$$) { for($i$$63_map$$inline_128$$ = 0;$i$$63_map$$inline_128$$ < $listenerArray$$1_objUid$$inline_129_src$$10$$.length;$i$$63_map$$inline_128$$++) { if($listenerArray$$1_objUid$$inline_129_src$$10$$[$i$$63_map$$inline_128$$].$listener$ == $listener$$34$$ && $listenerArray$$1_objUid$$inline_129_src$$10$$[$i$$63_map$$inline_128$$].capture == $capture$$2_opt_capt$$5$$ && $listenerArray$$1_objUid$$inline_129_src$$10$$[$i$$63_map$$inline_128$$].$handler$ == $opt_handler$$4$$) { $goog$events$unlistenByKey$$($listenerArray$$1_objUid$$inline_129_src$$10$$[$i$$63_map$$inline_128$$].key); break } } } } } function $goog$events$unlistenByKey$$($key$$46$$) { if(!$goog$events$listeners_$$[$key$$46$$]) { return!1 } var $listener$$35$$ = $goog$events$listeners_$$[$key$$46$$]; if($listener$$35$$.$removed$) { return!1 } var $src$$11_srcUid$$1$$ = $listener$$35$$.src, $type$$59$$ = $listener$$35$$.type, $listenerArray$$2_proxy$$2$$ = $listener$$35$$.$proxy$, $capture$$3$$ = $listener$$35$$.capture; $src$$11_srcUid$$1$$.removeEventListener ? ($src$$11_srcUid$$1$$ == $goog$global$$ || !$src$$11_srcUid$$1$$.$customEvent_$) && $src$$11_srcUid$$1$$.removeEventListener($type$$59$$, $listenerArray$$2_proxy$$2$$, $capture$$3$$) : $src$$11_srcUid$$1$$.detachEvent && $src$$11_srcUid$$1$$.detachEvent($type$$59$$ in $goog$events$onStringMap_$$ ? $goog$events$onStringMap_$$[$type$$59$$] : $goog$events$onStringMap_$$[$type$$59$$] = "on" + $type$$59$$, $listenerArray$$2_proxy$$2$$); $src$$11_srcUid$$1$$ = $goog$getUid$$($src$$11_srcUid$$1$$); $listenerArray$$2_proxy$$2$$ = $goog$events$listenerTree_$$[$type$$59$$][$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$$35$$); $sourcesArray$$.length == 0 && delete $goog$events$sources_$$[$src$$11_srcUid$$1$$] } $listener$$35$$.$removed$ = !0; $listenerArray$$2_proxy$$2$$.$needsCleanup_$ = !0; $goog$events$cleanUp_$$($type$$59$$, $capture$$3$$, $src$$11_srcUid$$1$$, $listenerArray$$2_proxy$$2$$); delete $goog$events$listeners_$$[$key$$46$$]; return!0 } function $goog$events$cleanUp_$$($type$$60$$, $capture$$4$$, $srcUid$$2$$, $listenerArray$$3$$) { if(!$listenerArray$$3$$.$locked_$ && $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 { $oldIndex$$ != $newIndex$$ && ($listenerArray$$3$$[$newIndex$$] = $listenerArray$$3$$[$oldIndex$$]), $newIndex$$++ } } $listenerArray$$3$$.length = $newIndex$$; $listenerArray$$3$$.$needsCleanup_$ = !1; $newIndex$$ == 0 && ($goog$events$pools$releaseArray$$($listenerArray$$3$$), delete $goog$events$listenerTree_$$[$type$$60$$][$capture$$4$$][$srcUid$$2$$], $goog$events$listenerTree_$$[$type$$60$$][$capture$$4$$].$count_$--, $goog$events$listenerTree_$$[$type$$60$$][$capture$$4$$].$count_$ == 0 && ($goog$events$pools$releaseObject$$($goog$events$listenerTree_$$[$type$$60$$][$capture$$4$$]), delete $goog$events$listenerTree_$$[$type$$60$$][$capture$$4$$], $goog$events$listenerTree_$$[$type$$60$$].$count_$--), $goog$events$listenerTree_$$[$type$$60$$].$count_$ == 0 && ($goog$events$pools$releaseObject$$($goog$events$listenerTree_$$[$type$$60$$]), delete $goog$events$listenerTree_$$[$type$$60$$])) } } function $goog$events$removeAll$$($opt_obj$$25_sourcesArray$$1_srcUid$$3$$) { var $opt_capt$$7$$, $count$$7$$ = 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$$65$$ = $listeners$$.length - 1;$i$$65$$ >= 0;$i$$65$$--) { var $listener$$38$$ = $listeners$$[$i$$65$$]; if($noCapt$$ || $opt_capt$$7$$ == $listener$$38$$.capture) { $goog$events$unlistenByKey$$($listener$$38$$.key), $count$$7$$++ } } }) }else { if($opt_obj$$25_sourcesArray$$1_srcUid$$3$$ = $goog$getUid$$($opt_obj$$25_sourcesArray$$1_srcUid$$3$$), $goog$events$sources_$$[$opt_obj$$25_sourcesArray$$1_srcUid$$3$$]) { for(var $opt_obj$$25_sourcesArray$$1_srcUid$$3$$ = $goog$events$sources_$$[$opt_obj$$25_sourcesArray$$1_srcUid$$3$$], $i$$64$$ = $opt_obj$$25_sourcesArray$$1_srcUid$$3$$.length - 1;$i$$64$$ >= 0;$i$$64$$--) { var $listener$$37$$ = $opt_obj$$25_sourcesArray$$1_srcUid$$3$$[$i$$64$$]; if($noCapt$$ || $opt_capt$$7$$ == $listener$$37$$.capture) { $goog$events$unlistenByKey$$($listener$$37$$.key), $count$$7$$++ } } } } } function $goog$events$fireListeners_$$($listenerArray$$5_map$$4$$, $obj$$72_objUid$$2$$, $type$$66$$, $capture$$9$$, $eventObject$$3$$) { var $retval$$ = 1, $obj$$72_objUid$$2$$ = $goog$getUid$$($obj$$72_objUid$$2$$); if($listenerArray$$5_map$$4$$[$obj$$72_objUid$$2$$]) { $listenerArray$$5_map$$4$$.$remaining_$--; $listenerArray$$5_map$$4$$ = $listenerArray$$5_map$$4$$[$obj$$72_objUid$$2$$]; $listenerArray$$5_map$$4$$.$locked_$ ? $listenerArray$$5_map$$4$$.$locked_$++ : $listenerArray$$5_map$$4$$.$locked_$ = 1; try { for(var $length$$16$$ = $listenerArray$$5_map$$4$$.length, $i$$67$$ = 0;$i$$67$$ < $length$$16$$;$i$$67$$++) { var $listener$$41$$ = $listenerArray$$5_map$$4$$[$i$$67$$]; $listener$$41$$ && !$listener$$41$$.$removed$ && ($retval$$ &= $goog$events$fireListener$$($listener$$41$$, $eventObject$$3$$) !== !1) } }finally { $listenerArray$$5_map$$4$$.$locked_$--, $goog$events$cleanUp_$$($type$$66$$, $capture$$9$$, $obj$$72_objUid$$2$$, $listenerArray$$5_map$$4$$) } } return Boolean($retval$$) } function $goog$events$fireListener$$($listener$$42$$, $eventObject$$4$$) { var $rv$$13$$ = $listener$$42$$.handleEvent($eventObject$$4$$); $listener$$42$$.$callOnce$ && $goog$events$unlistenByKey$$($listener$$42$$.key); return $rv$$13$$ } $goog$events$pools$setProxyCallbackFunction$$(function($key$$48$$, $opt_evt$$) { if(!$goog$events$listeners_$$[$key$$48$$]) { return!0 } var $listener$$43$$ = $goog$events$listeners_$$[$key$$48$$], $be$$1_type$$68$$ = $listener$$43$$.type, $map$$6$$ = $goog$events$listenerTree_$$; if(!($be$$1_type$$68$$ in $map$$6$$)) { return!0 } var $map$$6$$ = $map$$6$$[$be$$1_type$$68$$], $ieEvent_retval$$1$$, $targetsMap$$1$$; $goog$events$requiresSyntheticEventPropagation_$$ === $JSCompiler_alias_VOID$$ && ($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$$ = !0 in $map$$6$$, $hasBubble$$1$$ = !1 in $map$$6$$; if($hasCapture$$2$$) { if($ieEvent_retval$$1$$.keyCode < 0 || $ieEvent_retval$$1$$.returnValue != $JSCompiler_alias_VOID$$) { return!0 } a: { var $evt$$15_useReturnValue$$inline_136$$ = !1; if($ieEvent_retval$$1$$.keyCode == 0) { try { $ieEvent_retval$$1$$.keyCode = -1; break a }catch($ex$$inline_137$$) { $evt$$15_useReturnValue$$inline_136$$ = !0 } } if($evt$$15_useReturnValue$$inline_136$$ || $ieEvent_retval$$1$$.returnValue == $JSCompiler_alias_VOID$$) { $ieEvent_retval$$1$$.returnValue = !0 } } } $evt$$15_useReturnValue$$inline_136$$ = $goog$events$pools$getEvent$$(); $evt$$15_useReturnValue$$inline_136$$.$init$($ieEvent_retval$$1$$, this); $ieEvent_retval$$1$$ = !0; try { if($hasCapture$$2$$) { for(var $ancestors$$2$$ = $goog$events$pools$getArray$$(), $parent$$16$$ = $evt$$15_useReturnValue$$inline_136$$.currentTarget;$parent$$16$$;$parent$$16$$ = $parent$$16$$.parentNode) { $ancestors$$2$$.push($parent$$16$$) } $targetsMap$$1$$ = $map$$6$$[!0]; $targetsMap$$1$$.$remaining_$ = $targetsMap$$1$$.$count_$; for(var $i$$69$$ = $ancestors$$2$$.length - 1;!$evt$$15_useReturnValue$$inline_136$$.$propagationStopped_$ && $i$$69$$ >= 0 && $targetsMap$$1$$.$remaining_$;$i$$69$$--) { $evt$$15_useReturnValue$$inline_136$$.currentTarget = $ancestors$$2$$[$i$$69$$], $ieEvent_retval$$1$$ &= $goog$events$fireListeners_$$($targetsMap$$1$$, $ancestors$$2$$[$i$$69$$], $be$$1_type$$68$$, !0, $evt$$15_useReturnValue$$inline_136$$) } if($hasBubble$$1$$) { $targetsMap$$1$$ = $map$$6$$[!1]; $targetsMap$$1$$.$remaining_$ = $targetsMap$$1$$.$count_$; for($i$$69$$ = 0;!$evt$$15_useReturnValue$$inline_136$$.$propagationStopped_$ && $i$$69$$ < $ancestors$$2$$.length && $targetsMap$$1$$.$remaining_$;$i$$69$$++) { $evt$$15_useReturnValue$$inline_136$$.currentTarget = $ancestors$$2$$[$i$$69$$], $ieEvent_retval$$1$$ &= $goog$events$fireListeners_$$($targetsMap$$1$$, $ancestors$$2$$[$i$$69$$], $be$$1_type$$68$$, !1, $evt$$15_useReturnValue$$inline_136$$) } } }else { $ieEvent_retval$$1$$ = $goog$events$fireListener$$($listener$$43$$, $evt$$15_useReturnValue$$inline_136$$) } }finally { if($ancestors$$2$$) { $ancestors$$2$$.length = 0, $goog$events$pools$releaseArray$$($ancestors$$2$$) } $evt$$15_useReturnValue$$inline_136$$.$dispose$(); $goog$events$pools$releaseEvent$$($evt$$15_useReturnValue$$inline_136$$) } return $ieEvent_retval$$1$$ } $be$$1_type$$68$$ = new $goog$events$BrowserEvent$$($opt_evt$$, this); try { $ieEvent_retval$$1$$ = $goog$events$fireListener$$($listener$$43$$, $be$$1_type$$68$$) }finally { $be$$1_type$$68$$.$dispose$() } return $ieEvent_retval$$1$$ }); function $goog$events$EventHandler$$($opt_handler$$7$$) { this.$handler_$ = $opt_handler$$7$$; this.$keys_$ = [] } $goog$inherits$$($goog$events$EventHandler$$, $goog$Disposable$$); var $goog$events$EventHandler$typeArray_$$ = []; function $JSCompiler_StaticMethods_listen$$($JSCompiler_StaticMethods_listen$self$$, $src$$15$$, $type$$69$$, $opt_fn$$, $opt_capture$$1$$, $opt_handler$$8$$) { $goog$isArray$$($type$$69$$) || ($goog$events$EventHandler$typeArray_$$[0] = $type$$69$$, $type$$69$$ = $goog$events$EventHandler$typeArray_$$); for(var $i$$70$$ = 0;$i$$70$$ < $type$$69$$.length;$i$$70$$++) { $JSCompiler_StaticMethods_listen$self$$.$keys_$.push($goog$events$listen$$($src$$15$$, $type$$69$$[$i$$70$$], $opt_fn$$ || $JSCompiler_StaticMethods_listen$self$$, $opt_capture$$1$$ || !1, $opt_handler$$8$$ || $JSCompiler_StaticMethods_listen$self$$.$handler_$ || $JSCompiler_StaticMethods_listen$self$$)) } } function $JSCompiler_StaticMethods_removeAll$$($JSCompiler_StaticMethods_removeAll$self$$) { $goog$array$forEach$$($JSCompiler_StaticMethods_removeAll$self$$.$keys_$, $goog$events$unlistenByKey$$); $JSCompiler_StaticMethods_removeAll$self$$.$keys_$.length = 0 } $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$inherits$$($goog$events$EventTarget$$, $goog$Disposable$$); $JSCompiler_prototypeAlias$$ = $goog$events$EventTarget$$.prototype; $JSCompiler_prototypeAlias$$.$customEvent_$ = !0; $JSCompiler_prototypeAlias$$.$parentEventTarget_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$setParentEventTarget$ = function $$JSCompiler_prototypeAlias$$$$setParentEventTarget$$($parent$$17$$) { this.$parentEventTarget_$ = $parent$$17$$ }; $JSCompiler_prototypeAlias$$.addEventListener = function $$JSCompiler_prototypeAlias$$$addEventListener$($type$$72$$, $handler$$3$$, $opt_capture$$4$$, $opt_handlerScope$$) { $goog$events$listen$$(this, $type$$72$$, $handler$$3$$, $opt_capture$$4$$, $opt_handlerScope$$) }; $JSCompiler_prototypeAlias$$.removeEventListener = function $$JSCompiler_prototypeAlias$$$removeEventListener$($type$$73$$, $handler$$4$$, $opt_capture$$5$$, $opt_handlerScope$$1$$) { $goog$events$unlisten$$(this, $type$$73$$, $handler$$4$$, $opt_capture$$5$$, $opt_handlerScope$$1$$) }; $JSCompiler_prototypeAlias$$.dispatchEvent = function $$JSCompiler_prototypeAlias$$$dispatchEvent$($JSCompiler_inline_result$$139_e$$14_e$$inline_153$$) { var $hasCapture$$inline_159_type$$inline_154$$ = $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.type || $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$, $map$$inline_155$$ = $goog$events$listenerTree_$$; if($hasCapture$$inline_159_type$$inline_154$$ in $map$$inline_155$$) { if($goog$isString$$($JSCompiler_inline_result$$139_e$$14_e$$inline_153$$)) { $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$ = new $goog$events$Event$$($JSCompiler_inline_result$$139_e$$14_e$$inline_153$$, this) }else { if($JSCompiler_inline_result$$139_e$$14_e$$inline_153$$ instanceof $goog$events$Event$$) { $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.target = $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.target || this }else { var $oldEvent$$inline_156_rv$$inline_157$$ = $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$, $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$ = new $goog$events$Event$$($hasCapture$$inline_159_type$$inline_154$$, this); $goog$object$extend$$($JSCompiler_inline_result$$139_e$$14_e$$inline_153$$, $oldEvent$$inline_156_rv$$inline_157$$) } } var $oldEvent$$inline_156_rv$$inline_157$$ = 1, $ancestors$$inline_158_current$$inline_163$$, $map$$inline_155$$ = $map$$inline_155$$[$hasCapture$$inline_159_type$$inline_154$$], $hasCapture$$inline_159_type$$inline_154$$ = !0 in $map$$inline_155$$, $parent$$inline_161_targetsMap$$inline_160$$; if($hasCapture$$inline_159_type$$inline_154$$) { $ancestors$$inline_158_current$$inline_163$$ = []; for($parent$$inline_161_targetsMap$$inline_160$$ = this;$parent$$inline_161_targetsMap$$inline_160$$;$parent$$inline_161_targetsMap$$inline_160$$ = $parent$$inline_161_targetsMap$$inline_160$$.$parentEventTarget_$) { $ancestors$$inline_158_current$$inline_163$$.push($parent$$inline_161_targetsMap$$inline_160$$) } $parent$$inline_161_targetsMap$$inline_160$$ = $map$$inline_155$$[!0]; $parent$$inline_161_targetsMap$$inline_160$$.$remaining_$ = $parent$$inline_161_targetsMap$$inline_160$$.$count_$; for(var $i$$inline_162$$ = $ancestors$$inline_158_current$$inline_163$$.length - 1;!$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.$propagationStopped_$ && $i$$inline_162$$ >= 0 && $parent$$inline_161_targetsMap$$inline_160$$.$remaining_$;$i$$inline_162$$--) { $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.currentTarget = $ancestors$$inline_158_current$$inline_163$$[$i$$inline_162$$], $oldEvent$$inline_156_rv$$inline_157$$ &= $goog$events$fireListeners_$$($parent$$inline_161_targetsMap$$inline_160$$, $ancestors$$inline_158_current$$inline_163$$[$i$$inline_162$$], $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.type, !0, $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$) && $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.$returnValue_$ != !1 } } if(!1 in $map$$inline_155$$) { if($parent$$inline_161_targetsMap$$inline_160$$ = $map$$inline_155$$[!1], $parent$$inline_161_targetsMap$$inline_160$$.$remaining_$ = $parent$$inline_161_targetsMap$$inline_160$$.$count_$, $hasCapture$$inline_159_type$$inline_154$$) { for($i$$inline_162$$ = 0;!$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.$propagationStopped_$ && $i$$inline_162$$ < $ancestors$$inline_158_current$$inline_163$$.length && $parent$$inline_161_targetsMap$$inline_160$$.$remaining_$;$i$$inline_162$$++) { $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.currentTarget = $ancestors$$inline_158_current$$inline_163$$[$i$$inline_162$$], $oldEvent$$inline_156_rv$$inline_157$$ &= $goog$events$fireListeners_$$($parent$$inline_161_targetsMap$$inline_160$$, $ancestors$$inline_158_current$$inline_163$$[$i$$inline_162$$], $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.type, !1, $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$) && $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.$returnValue_$ != !1 } }else { for($ancestors$$inline_158_current$$inline_163$$ = this;!$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.$propagationStopped_$ && $ancestors$$inline_158_current$$inline_163$$ && $parent$$inline_161_targetsMap$$inline_160$$.$remaining_$;$ancestors$$inline_158_current$$inline_163$$ = $ancestors$$inline_158_current$$inline_163$$.$parentEventTarget_$) { $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.currentTarget = $ancestors$$inline_158_current$$inline_163$$, $oldEvent$$inline_156_rv$$inline_157$$ &= $goog$events$fireListeners_$$($parent$$inline_161_targetsMap$$inline_160$$, $ancestors$$inline_158_current$$inline_163$$, $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.type, !1, $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$) && $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.$returnValue_$ != !1 } } } $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$ = Boolean($oldEvent$$inline_156_rv$$inline_157$$) }else { $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$ = !0 } return $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$ }; $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$$) { 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_$ = !1; $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_$ = !1; $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$$20$$) { $JSCompiler_StaticMethods_setParent$self$$ == $parent$$20$$ && $JSCompiler_alias_THROW$$(Error("Unable to set parent component")); $parent$$20$$ && $JSCompiler_StaticMethods_setParent$self$$.$parent_$ && $JSCompiler_StaticMethods_setParent$self$$.$id_$ && $JSCompiler_StaticMethods_setParent$self$$.$parent_$.$childIndex_$ && $JSCompiler_StaticMethods_setParent$self$$.$id_$ && $JSCompiler_StaticMethods_setParent$self$$.$id_$ in $JSCompiler_StaticMethods_setParent$self$$.$parent_$.$childIndex_$ && $JSCompiler_StaticMethods_setParent$self$$.$parent_$.$childIndex_$[$JSCompiler_StaticMethods_setParent$self$$.$id_$] && $JSCompiler_StaticMethods_setParent$self$$.$parent_$ != $parent$$20$$ && $JSCompiler_alias_THROW$$(Error("Unable to set parent component")); $JSCompiler_StaticMethods_setParent$self$$.$parent_$ = $parent$$20$$; $goog$ui$Component$$.$superClass_$.$setParentEventTarget$.call($JSCompiler_StaticMethods_setParent$self$$, $parent$$20$$) } $JSCompiler_prototypeAlias$$.getParent = $JSCompiler_get$$("$parent_$"); $JSCompiler_prototypeAlias$$.$setParentEventTarget$ = function $$JSCompiler_prototypeAlias$$$$setParentEventTarget$$($parent$$21$$) { this.$parent_$ && this.$parent_$ != $parent$$21$$ && $JSCompiler_alias_THROW$$(Error("Method not supported")); $goog$ui$Component$$.$superClass_$.$setParentEventTarget$.call(this, $parent$$21$$) }; $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_beforeNode$$) { $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_beforeNode$$ || $JSCompiler_alias_NULL$$) : $JSCompiler_StaticMethods_render_$self$$.$dom_$.$document_$.body.appendChild($JSCompiler_StaticMethods_render_$self$$.$element_$); (!$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_$ = !0; $JSCompiler_StaticMethods_forEachChild$$(this, function($child$$8$$) { !$child$$8$$.$inDocument_$ && $child$$8$$.$getElement$() && $child$$8$$.$enterDocument$() }) }; function $JSCompiler_StaticMethods_exitDocument$$($JSCompiler_StaticMethods_exitDocument$self$$) { $JSCompiler_StaticMethods_forEachChild$$($JSCompiler_StaticMethods_exitDocument$self$$, function($child$$9$$) { $child$$9$$.$inDocument_$ && $JSCompiler_StaticMethods_exitDocument$$($child$$9$$) }); $JSCompiler_StaticMethods_exitDocument$self$$.$googUiComponentHandler_$ && $JSCompiler_StaticMethods_removeAll$$($JSCompiler_StaticMethods_exitDocument$self$$.$googUiComponentHandler_$); $JSCompiler_StaticMethods_exitDocument$self$$.$inDocument_$ = !1 } $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() { $goog$ui$Component$$.$superClass_$.$disposeInternal$.call(this); this.$inDocument_$ && $JSCompiler_StaticMethods_exitDocument$$(this); this.$googUiComponentHandler_$ && (this.$googUiComponentHandler_$.$dispose$(), delete this.$googUiComponentHandler_$); $JSCompiler_StaticMethods_forEachChild$$(this, function($child$$10$$) { $child$$10$$.$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$$, $JSCompiler_alias_VOID$$) } $JSCompiler_prototypeAlias$$.removeChild = function $$JSCompiler_prototypeAlias$$$removeChild$($child$$15$$, $opt_unrender$$) { if($child$$15$$) { var $id$$5$$ = $goog$isString$$($child$$15$$) ? $child$$15$$ : $child$$15$$.$getId$(), $child$$15$$ = this.$childIndex_$ && $id$$5$$ ? ($id$$5$$ in this.$childIndex_$ ? this.$childIndex_$[$id$$5$$] : $JSCompiler_alias_VOID$$) || $JSCompiler_alias_NULL$$ : $JSCompiler_alias_NULL$$; if($id$$5$$ && $child$$15$$) { var $obj$$inline_189$$ = this.$childIndex_$; $id$$5$$ in $obj$$inline_189$$ && delete $obj$$inline_189$$[$id$$5$$]; $goog$array$remove$$(this.$children_$, $child$$15$$); $opt_unrender$$ && ($JSCompiler_StaticMethods_exitDocument$$($child$$15$$), $child$$15$$.$element_$ && $goog$dom$removeNode$$($child$$15$$.$element_$)); $JSCompiler_StaticMethods_setParent$$($child$$15$$, $JSCompiler_alias_NULL$$) } } $child$$15$$ || $JSCompiler_alias_THROW$$(Error("Child is not in parent component")); return $child$$15$$ }; 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", $JSCompiler_alias_VOID$$, $dom$$2$$.$createDom$("span", $JSCompiler_alias_VOID$$, "Messages appear here"), $dom$$2$$.$createDom$("button", $JSCompiler_alias_VOID$$, "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", 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$$16$$) { $example$App$buttonClickHandler_$$.call(this, $e$$16$$) }; $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$$); 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$$12$$ = $col$$1$$.length, $i$$75$$ = 0;$i$$75$$ < $l$$12$$;$i$$75$$++) { $rv$$15$$.push($col$$1$$[$i$$75$$]) } 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_212$$; if(typeof $col$$6$$.$getKeys$ == "function") { $keys$$1_rv$$inline_212$$ = $col$$6$$.$getKeys$() }else { if(typeof $col$$6$$.$getValues$ != "function") { if($goog$isArrayLike$$($col$$6$$) || $goog$isString$$($col$$6$$)) { $keys$$1_rv$$inline_212$$ = []; for(var $l$$inline_213_values$$5$$ = $col$$6$$.length, $i$$inline_214_l$$14$$ = 0;$i$$inline_214_l$$14$$ < $l$$inline_213_values$$5$$;$i$$inline_214_l$$14$$++) { $keys$$1_rv$$inline_212$$.push($i$$inline_214_l$$14$$) } }else { $keys$$1_rv$$inline_212$$ = $goog$object$getKeys$$($col$$6$$) } }else { $keys$$1_rv$$inline_212$$ = $JSCompiler_alias_VOID$$ } } for(var $l$$inline_213_values$$5$$ = $goog$structs$getValues$$($col$$6$$), $i$$inline_214_l$$14$$ = $l$$inline_213_values$$5$$.length, $i$$77$$ = 0;$i$$77$$ < $i$$inline_214_l$$14$$;$i$$77$$++) { $f$$27$$.call($opt_obj$$27$$, $l$$inline_213_values$$5$$[$i$$77$$], $keys$$1_rv$$inline_212$$ && $keys$$1_rv$$inline_212$$[$i$$77$$], $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__$(!1) } if($goog$isArrayLike$$($iterable$$)) { var $i$$82$$ = 0, $newIter$$ = new $goog$iter$Iterator$$; $newIter$$.next = function $$newIter$$$next$() { for(;;) { if($i$$82$$ >= $iterable$$.length && $JSCompiler_alias_THROW$$($goog$iter$StopIteration$$), $i$$82$$ in $iterable$$) { return $iterable$$[$i$$82$$++] }else { $i$$82$$++ } } }; 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$$, $JSCompiler_alias_VOID$$) }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($JSCompiler_alias_VOID$$, $iterable$$1$$.next(), $JSCompiler_alias_VOID$$, $iterable$$1$$) } }catch($ex$$4$$) { $ex$$4$$ !== $goog$iter$StopIteration$$ && $JSCompiler_alias_THROW$$($ex$$4$$) } } } ;function $goog$structs$Map$$($opt_map$$, $var_args$$52$$) { this.$map_$ = {}; this.$keys_$ = []; var $argLength$$2_keys$$inline_223$$ = arguments.length; if($argLength$$2_keys$$inline_223$$ > 1) { $argLength$$2_keys$$inline_223$$ % 2 && $JSCompiler_alias_THROW$$(Error("Uneven number of arguments")); for(var $i$$85_values$$inline_224$$ = 0;$i$$85_values$$inline_224$$ < $argLength$$2_keys$$inline_223$$;$i$$85_values$$inline_224$$ += 2) { this.set(arguments[$i$$85_values$$inline_224$$], arguments[$i$$85_values$$inline_224$$ + 1]) } }else { if($opt_map$$) { $opt_map$$ instanceof $goog$structs$Map$$ ? ($argLength$$2_keys$$inline_223$$ = $opt_map$$.$getKeys$(), $i$$85_values$$inline_224$$ = $opt_map$$.$getValues$()) : ($argLength$$2_keys$$inline_223$$ = $goog$object$getKeys$$($opt_map$$), $i$$85_values$$inline_224$$ = $goog$object$getValues$$($opt_map$$)); for(var $i$$inline_225$$ = 0;$i$$inline_225$$ < $argLength$$2_keys$$inline_223$$.length;$i$$inline_225$$++) { this.set($argLength$$2_keys$$inline_223$$[$i$$inline_225$$], $i$$85_values$$inline_224$$[$i$$inline_225$$]) } } } } $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$$86$$ = 0;$i$$86$$ < this.$keys_$.length;$i$$86$$++) { $rv$$20$$.push(this.$map_$[this.$keys_$[$i$$86$$]]) } 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$$59$$ = $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$srcIndex$$]; Object.prototype.hasOwnProperty.call($JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$map_$, $key$$59$$) && ($JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$destIndex$$++] = $key$$59$$); $srcIndex$$++ } $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length = $destIndex$$ } if($JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$count_$ != $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length) { for(var $seen$$2$$ = {}, $destIndex$$ = $srcIndex$$ = 0;$srcIndex$$ < $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length;) { $key$$59$$ = $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$srcIndex$$], Object.prototype.hasOwnProperty.call($seen$$2$$, $key$$59$$) || ($JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$destIndex$$++] = $key$$59$$, $seen$$2$$[$key$$59$$] = 1), $srcIndex$$++ } $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length = $destIndex$$ } } $JSCompiler_prototypeAlias$$.get = function $$JSCompiler_prototypeAlias$$$get$($key$$60$$, $opt_val$$1$$) { return Object.prototype.hasOwnProperty.call(this.$map_$, $key$$60$$) ? this.$map_$[$key$$60$$] : $opt_val$$1$$ }; $JSCompiler_prototypeAlias$$.set = function $$JSCompiler_prototypeAlias$$$set$($key$$61$$, $value$$62$$) { Object.prototype.hasOwnProperty.call(this.$map_$, $key$$61$$) || (this.$count_$++, this.$keys_$.push($key$$61$$), this.$version_$++); this.$map_$[$key$$61$$] = $value$$62$$ }; $JSCompiler_prototypeAlias$$.$__iterator__$ = function $$JSCompiler_prototypeAlias$$$$__iterator__$$($opt_keys$$1$$) { $JSCompiler_StaticMethods_cleanupKeysArray_$$(this); var $i$$92$$ = 0, $keys$$7$$ = this.$keys_$, $map$$8$$ = this.$map_$, $version$$10$$ = this.$version_$, $selfObj$$4$$ = this, $newIter$$7$$ = new $goog$iter$Iterator$$; $newIter$$7$$.next = function $$newIter$$7$$$next$() { for(;;) { $version$$10$$ != $selfObj$$4$$.$version_$ && $JSCompiler_alias_THROW$$(Error("The map has changed since the iterator was created")); $i$$92$$ >= $keys$$7$$.length && $JSCompiler_alias_THROW$$($goog$iter$StopIteration$$); var $key$$64$$ = $keys$$7$$[$i$$92$$++]; return $opt_keys$$1$$ ? $key$$64$$ : $map$$8$$[$key$$64$$] } }; 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$$97$$ = 0;$i$$97$$ < $args$$10$$.length;$i$$97$$++) { $i$$97$$ > 0 && $sb$$3$$.push(", "); var $arg$$6_argDesc$$; $arg$$6_argDesc$$ = $args$$10$$[$i$$97$$]; 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$$ } $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$$25$$) { $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$$) { if($goog$debug$fnNameCache_$$[$fn$$8_functionSource$$]) { return $goog$debug$fnNameCache_$$[$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$$5$$, $msg$$4$$, $loggerName$$, $opt_time$$, $opt_sequenceNumber$$) { this.reset($level$$5$$, $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$$6$$, $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$$6$$; 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$$7$$) { this.$level_$ = $level$$7$$ }; $goog$debug$LogRecord$$.prototype.$setMessage$ = $JSCompiler_stubMethod$$(0); function $goog$debug$Logger$$($name$$63$$) { this.$name_$ = $name$$63$$ } $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$$64$$, $value$$66$$) { this.name = $name$$64$$; this.value = $value$$66$$ } $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$$11$$) { this.$level_$ = $level$$11$$ }; 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$$13_logRecord$$inline_231$$, $msg$$9_msg$$inline_467_target$$inline_232$$, $JSCompiler_StaticMethods_callPublish_$self$$inline_473_opt_exception$$) { if($level$$13_logRecord$$inline_231$$.value >= $JSCompiler_StaticMethods_getEffectiveLevel$$(this).value) { $level$$13_logRecord$$inline_231$$ = this.$getLogRecord$($level$$13_logRecord$$inline_231$$, $msg$$9_msg$$inline_467_target$$inline_232$$, $JSCompiler_StaticMethods_callPublish_$self$$inline_473_opt_exception$$); $msg$$9_msg$$inline_467_target$$inline_232$$ = "log:" + $level$$13_logRecord$$inline_231$$.$msg_$; $goog$global$$.console && ($goog$global$$.console.timeStamp ? $goog$global$$.console.timeStamp($msg$$9_msg$$inline_467_target$$inline_232$$) : $goog$global$$.console.markTimeline && $goog$global$$.console.markTimeline($msg$$9_msg$$inline_467_target$$inline_232$$)); $goog$global$$.msWriteProfilerMark && $goog$global$$.msWriteProfilerMark($msg$$9_msg$$inline_467_target$$inline_232$$); for($msg$$9_msg$$inline_467_target$$inline_232$$ = this;$msg$$9_msg$$inline_467_target$$inline_232$$;) { var $JSCompiler_StaticMethods_callPublish_$self$$inline_473_opt_exception$$ = $msg$$9_msg$$inline_467_target$$inline_232$$, $logRecord$$inline_474$$ = $level$$13_logRecord$$inline_231$$; if($JSCompiler_StaticMethods_callPublish_$self$$inline_473_opt_exception$$.$handlers_$) { for(var $i$$inline_475$$ = 0, $handler$$inline_476$$ = $JSCompiler_alias_VOID$$;$handler$$inline_476$$ = $JSCompiler_StaticMethods_callPublish_$self$$inline_473_opt_exception$$.$handlers_$[$i$$inline_475$$];$i$$inline_475$$++) { $handler$$inline_476$$($logRecord$$inline_474$$) } } $msg$$9_msg$$inline_467_target$$inline_232$$ = $msg$$9_msg$$inline_467_target$$inline_232$$.getParent() } } }; $JSCompiler_prototypeAlias$$.$getLogRecord$ = function $$JSCompiler_prototypeAlias$$$$getLogRecord$$($level$$14$$, $msg$$10$$, $opt_exception$$1$$) { var $logRecord$$ = new $goog$debug$LogRecord$$($level$$14$$, String($msg$$10$$), this.$name_$); if($opt_exception$$1$$) { $logRecord$$.$exception_$ = $opt_exception$$1$$; var $JSCompiler_inline_result$$254$$; var $opt_fn$$inline_259$$ = arguments.callee.caller; try { var $e$$inline_260$$; var $href$$inline_484$$ = $goog$getObjectByName$$("window.location.href"); if($goog$isString$$($opt_exception$$1$$)) { $e$$inline_260$$ = {message:$opt_exception$$1$$, name:"Unknown error", lineNumber:"Not available", fileName:$href$$inline_484$$, stack:"Not available"} }else { var $lineNumber$$inline_485$$, $fileName$$inline_486$$, $threwError$$inline_487$$ = !1; try { $lineNumber$$inline_485$$ = $opt_exception$$1$$.lineNumber || $opt_exception$$1$$.$line$ || "Not available" }catch($e$$inline_488$$) { $lineNumber$$inline_485$$ = "Not available", $threwError$$inline_487$$ = !0 } try { $fileName$$inline_486$$ = $opt_exception$$1$$.fileName || $opt_exception$$1$$.filename || $opt_exception$$1$$.sourceURL || $href$$inline_484$$ }catch($e$$inline_489$$) { $fileName$$inline_486$$ = "Not available", $threwError$$inline_487$$ = !0 } $e$$inline_260$$ = $threwError$$inline_487$$ || !$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_485$$, fileName:$fileName$$inline_486$$, stack:$opt_exception$$1$$.stack || "Not available"} : $opt_exception$$1$$ } $JSCompiler_inline_result$$254$$ = "Message: " + $goog$string$htmlEscape$$($e$$inline_260$$.message) + '\nUrl: ' + $e$$inline_260$$.fileName + "\nLine: " + $e$$inline_260$$.lineNumber + "\n\nBrowser stack:\n" + $goog$string$htmlEscape$$($e$$inline_260$$.stack + "-> ") + "[end]\n\nJS stack traversal:\n" + $goog$string$htmlEscape$$($goog$debug$getStacktrace$$($opt_fn$$inline_259$$) + "-> ") }catch($e2$$inline_261$$) { $JSCompiler_inline_result$$254$$ = "Exception trying to expose exception! You win, we lose. " + $e2$$inline_261$$ } $logRecord$$.$exceptionText_$ = $JSCompiler_inline_result$$254$$ } return $logRecord$$ }; $JSCompiler_prototypeAlias$$.info = function $$JSCompiler_prototypeAlias$$$info$($msg$$14$$, $opt_exception$$5$$) { this.log($goog$debug$Logger$Level$INFO$$, $msg$$14$$, $opt_exception$$5$$) }; function $JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_fine$self$$, $msg$$16$$) { $JSCompiler_StaticMethods_fine$self$$.log($goog$debug$Logger$Level$FINE$$, $msg$$16$$, $JSCompiler_alias_VOID$$) } var $goog$debug$LogManager$loggers_$$ = {}, $goog$debug$LogManager$rootLogger_$$ = $JSCompiler_alias_NULL$$; function $goog$debug$LogManager$getLogger$$($name$$68$$) { $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_279$$; if(!($JSCompiler_temp$$0_logger$$inline_279$$ = $goog$debug$LogManager$loggers_$$[$name$$68$$])) { $JSCompiler_temp$$0_logger$$inline_279$$ = new $goog$debug$Logger$$($name$$68$$); var $lastDotIndex$$inline_280_parentLogger$$inline_282$$ = $name$$68$$.lastIndexOf("."), $leafName$$inline_281$$ = $name$$68$$.substr($lastDotIndex$$inline_280_parentLogger$$inline_282$$ + 1), $lastDotIndex$$inline_280_parentLogger$$inline_282$$ = $goog$debug$LogManager$getLogger$$($name$$68$$.substr(0, $lastDotIndex$$inline_280_parentLogger$$inline_282$$)); if(!$lastDotIndex$$inline_280_parentLogger$$inline_282$$.$children_$) { $lastDotIndex$$inline_280_parentLogger$$inline_282$$.$children_$ = {} } $lastDotIndex$$inline_280_parentLogger$$inline_282$$.$children_$[$leafName$$inline_281$$] = $JSCompiler_temp$$0_logger$$inline_279$$; $JSCompiler_temp$$0_logger$$inline_279$$.$parent_$ = $lastDotIndex$$inline_280_parentLogger$$inline_282$$; $goog$debug$LogManager$loggers_$$[$name$$68$$] = $JSCompiler_temp$$0_logger$$inline_279$$ } return $JSCompiler_temp$$0_logger$$inline_279$$ } ;function $goog$module$BaseModuleLoader$$() { } $goog$inherits$$($goog$module$BaseModuleLoader$$, $goog$Disposable$$); $goog$module$BaseModuleLoader$$.prototype.$logger$ = $goog$debug$LogManager$getLogger$$("goog.module.BaseModuleLoader"); $goog$module$BaseModuleLoader$$.prototype.$debugMode_$ = !1; $goog$module$BaseModuleLoader$$.prototype.$codePostfix_$ = $JSCompiler_alias_NULL$$; $goog$module$BaseModuleLoader$$.prototype.$loadModulesInternal$ = function $$goog$module$BaseModuleLoader$$$$$loadModulesInternal$$() { }; function $goog$net$BulkLoaderHelper$$($uris$$) { 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$$47$$, $opt_handler$$13$$) { $goog$isFunction$$($listener$$47$$) ? $opt_handler$$13$$ && ($listener$$47$$ = $goog$bind$$($listener$$47$$, $opt_handler$$13$$)) : $listener$$47$$ && typeof $listener$$47$$.handleEvent == "function" ? $listener$$47$$ = $goog$bind$$($listener$$47$$.handleEvent, $listener$$47$$) : $JSCompiler_alias_THROW$$(Error("Invalid listener argument")); $goog$Timer$defaultTimerObject$$.setTimeout($listener$$47$$, 5) } ;function $goog$net$XmlHttpFactory$$() { } $goog$net$XmlHttpFactory$$.prototype.$cachedOptions_$ = $JSCompiler_alias_NULL$$; 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$$ = {}; $JSCompiler_StaticMethods_getProgId_$$($JSCompiler_StaticMethods_internalGetOptions$self$$) && ($options$$2$$[0] = !0, $options$$2$$[1] = !0); 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$$105$$ = 0;$i$$105$$ < $ACTIVE_X_IDENTS$$.length;$i$$105$$++) { var $candidate$$ = $ACTIVE_X_IDENTS$$[$i$$105$$]; try { return new ActiveXObject($candidate$$), $JSCompiler_StaticMethods_getProgId_$self$$.$ieProgId_$ = $candidate$$ }catch($e$$27$$) { } } $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$$($context$$) { var $JSCompiler_StaticMethods_pushContext$self$$ = $goog$net$xhrMonitor$$; if($JSCompiler_StaticMethods_pushContext$self$$.$enabled_$) { var $key$$67$$ = $goog$isString$$($context$$) ? $context$$ : $goog$isObject$$($context$$) ? $goog$getUid$$($context$$) : ""; $JSCompiler_StaticMethods_pushContext$self$$.$logger_$.log($goog$debug$Logger$Level$FINEST$$, "Pushing context: " + $context$$ + " (" + $key$$67$$ + ")", $JSCompiler_alias_VOID$$); $JSCompiler_StaticMethods_pushContext$self$$.$stack_$.push($key$$67$$) } } function $JSCompiler_StaticMethods_popContext$$() { var $JSCompiler_StaticMethods_popContext$self$$ = $goog$net$xhrMonitor$$; if($JSCompiler_StaticMethods_popContext$self$$.$enabled_$) { var $context$$1$$ = $JSCompiler_StaticMethods_popContext$self$$.$stack_$.pop(); $JSCompiler_StaticMethods_popContext$self$$.$logger_$.log($goog$debug$Logger$Level$FINEST$$, "Popping context: " + $context$$1$$, $JSCompiler_alias_VOID$$); $JSCompiler_StaticMethods_updateDependentContexts_$$($JSCompiler_StaticMethods_popContext$self$$, $context$$1$$) } } function $JSCompiler_StaticMethods_markXhrOpen$$($uid$$1_xhr$$) { var $JSCompiler_StaticMethods_markXhrOpen$self$$ = $goog$net$xhrMonitor$$; if($JSCompiler_StaticMethods_markXhrOpen$self$$.$enabled_$) { $uid$$1_xhr$$ = $goog$getUid$$($uid$$1_xhr$$); $JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_markXhrOpen$self$$.$logger_$, "Opening XHR : " + $uid$$1_xhr$$); for(var $i$$106$$ = 0;$i$$106$$ < $JSCompiler_StaticMethods_markXhrOpen$self$$.$stack_$.length;$i$$106$$++) { var $context$$3$$ = $JSCompiler_StaticMethods_markXhrOpen$self$$.$stack_$[$i$$106$$]; $JSCompiler_StaticMethods_addToMap_$$($JSCompiler_StaticMethods_markXhrOpen$self$$.$contextsToXhr_$, $context$$3$$, $uid$$1_xhr$$); $JSCompiler_StaticMethods_addToMap_$$($JSCompiler_StaticMethods_markXhrOpen$self$$.$xhrToContexts_$, $uid$$1_xhr$$, $context$$3$$) } } } function $JSCompiler_StaticMethods_updateDependentContexts_$$($JSCompiler_StaticMethods_updateDependentContexts_$self$$, $xhrUid$$) { var $contexts$$ = $JSCompiler_StaticMethods_updateDependentContexts_$self$$.$xhrToContexts_$[$xhrUid$$], $xhrs$$ = $JSCompiler_StaticMethods_updateDependentContexts_$self$$.$contextsToXhr_$[$xhrUid$$]; $contexts$$ && $xhrs$$ && ($JSCompiler_StaticMethods_updateDependentContexts_$self$$.$logger_$.log($goog$debug$Logger$Level$FINEST$$, "Updating dependent contexts", $JSCompiler_alias_VOID$$), $goog$array$forEach$$($contexts$$, function($context$$5$$) { $goog$array$forEach$$($xhrs$$, function($xhr$$2$$) { $JSCompiler_StaticMethods_addToMap_$$(this.$contextsToXhr_$, $context$$5$$, $xhr$$2$$); $JSCompiler_StaticMethods_addToMap_$$(this.$xhrToContexts_$, $xhr$$2$$, $context$$5$$) }, this) }, $JSCompiler_StaticMethods_updateDependentContexts_$self$$)) } function $JSCompiler_StaticMethods_addToMap_$$($map$$9$$, $key$$68$$, $value$$69$$) { $map$$9$$[$key$$68$$] || ($map$$9$$[$key$$68$$] = []); $goog$array$contains$$($map$$9$$[$key$$68$$], $value$$69$$) || $map$$9$$[$key$$68$$].push($value$$69$$) } 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$$) { 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_$ = !1; $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_$ = !1; $JSCompiler_prototypeAlias$$.$inSend_$ = !1; $JSCompiler_prototypeAlias$$.$inOpen_$ = !1; $JSCompiler_prototypeAlias$$.$inAbort_$ = !1; $JSCompiler_prototypeAlias$$.$timeoutInterval_$ = 0; $JSCompiler_prototypeAlias$$.$timeoutId_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$responseType_$ = ""; $JSCompiler_prototypeAlias$$.$withCredentials_$ = !1; $JSCompiler_prototypeAlias$$.send = function $$JSCompiler_prototypeAlias$$$send$($content$$2_url$$23$$, $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$$ ? $method$$3_opt_method$$1$$.toUpperCase() : "GET"; this.$lastUri_$ = $content$$2_url$$23$$; this.$lastError_$ = ""; this.$lastErrorCode_$ = 0; this.$lastMethod_$ = $method$$3_opt_method$$1$$; this.$errorDispatched_$ = !1; this.$active_$ = !0; this.$xhr_$ = this.$xmlHttpFactory_$ ? $JSCompiler_StaticMethods_createInstance$$(this.$xmlHttpFactory_$) : $JSCompiler_StaticMethods_createInstance$$($goog$net$XmlHttp$factory_$$); 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$$(this.$xhr_$); this.$xhr_$.onreadystatechange = $goog$bind$$(this.$onReadyStateChange_$, this); try { $JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Opening Xhr")), this.$inOpen_$ = !0, this.$xhr_$.open($method$$3_opt_method$$1$$, $content$$2_url$$23$$, !0), this.$inOpen_$ = !1 }catch($err$$3$$) { $JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Error opening Xhr: " + $err$$3$$.message)); $JSCompiler_StaticMethods_error_$$(this, $err$$3$$); return } var $content$$2_url$$23$$ = $opt_content$$1$$ || "", $headers$$ = new $goog$structs$Map$$(this.headers); $opt_headers$$1$$ && $goog$structs$forEach$$($opt_headers$$1$$, function($value$$73$$, $key$$72$$) { $headers$$.set($key$$72$$, $value$$73$$) }); $method$$3_opt_method$$1$$ == "POST" && !Object.prototype.hasOwnProperty.call($headers$$.$map_$, "Content-Type") && $headers$$.set("Content-Type", "application/x-www-form-urlencoded;charset=utf-8"); $goog$structs$forEach$$($headers$$, function($value$$74$$, $key$$73$$) { this.$xhr_$.setRequestHeader($key$$73$$, $value$$74$$) }, 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_$ = !0; this.$xhr_$.send($content$$2_url$$23$$); this.$inSend_$ = !1 }catch($err$$4$$) { $JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Send error: " + $err$$4$$.message)), $JSCompiler_StaticMethods_error_$$(this, $err$$4$$) } }; $JSCompiler_prototypeAlias$$.dispatchEvent = function $$JSCompiler_prototypeAlias$$$dispatchEvent$($e$$28$$) { if(this.$xhr_$) { $JSCompiler_StaticMethods_pushContext$$(this.$xhr_$); try { return $goog$net$XhrIo$$.$superClass_$.dispatchEvent.call(this, $e$$28$$) }finally { $JSCompiler_StaticMethods_popContext$$() } }else { return $goog$net$XhrIo$$.$superClass_$.dispatchEvent.call(this, $e$$28$$) } }; $JSCompiler_prototypeAlias$$.$timeout_$ = function $$JSCompiler_prototypeAlias$$$$timeout_$$() { if(typeof $goog$$ != "undefined" && 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$$5$$) { $JSCompiler_StaticMethods_error_$self$$.$active_$ = !1; if($JSCompiler_StaticMethods_error_$self$$.$xhr_$) { $JSCompiler_StaticMethods_error_$self$$.$inAbort_$ = !0, $JSCompiler_StaticMethods_error_$self$$.$xhr_$.abort(), $JSCompiler_StaticMethods_error_$self$$.$inAbort_$ = !1 } $JSCompiler_StaticMethods_error_$self$$.$lastError_$ = $err$$5$$; $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_$ = !0, $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_$ = !1, this.$inAbort_$ = !0, this.$xhr_$.abort(), this.$inAbort_$ = !1, 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_$ = !1, this.$inAbort_$ = !0, this.$xhr_$.abort(), this.$inAbort_$ = !1 } $JSCompiler_StaticMethods_cleanUpXhr_$$(this, !0) } $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_$ && 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 { if($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.dispatchEvent("readystatechange"), $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_$ = !1; 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$$315$$; try { $JSCompiler_inline_result$$315$$ = $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) > 2 ? $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$xhr_$.statusText : "" }catch($e$$inline_318$$) { $JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$logger_$, "Can not get status: " + $e$$inline_318$$.message), $JSCompiler_inline_result$$315$$ = "" } $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$lastError_$ = $JSCompiler_inline_result$$315$$ + " [" + $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$$ } $opt_fromDispose$$ || ($JSCompiler_StaticMethods_pushContext$$($xhr$$3$$), $JSCompiler_StaticMethods_cleanUpXhr_$self$$.dispatchEvent("ready"), $JSCompiler_StaticMethods_popContext$$()); var $JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$ = $goog$net$xhrMonitor$$; if($JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$enabled_$) { var $uid$$inline_326$$ = $goog$getUid$$($xhr$$3$$); $JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$logger_$, "Closing XHR : " + $uid$$inline_326$$); delete $JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$xhrToContexts_$[$uid$$inline_326$$]; for(var $context$$inline_327$$ in $JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$contextsToXhr_$) { $goog$array$remove$$($JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$contextsToXhr_$[$context$$inline_327$$], $uid$$inline_326$$), $JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$contextsToXhr_$[$context$$inline_327$$].length == 0 && delete $JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$contextsToXhr_$[$context$$inline_327$$] } } try { $xhr$$3$$.onreadystatechange = $clearedOnReadyStateChange$$ }catch($e$$29$$) { $JSCompiler_StaticMethods_cleanUpXhr_$self$$.$logger_$.log($goog$debug$Logger$Level$SEVERE$$, "Problem encountered resetting onreadystatechange: " + $e$$29$$.message, $JSCompiler_alias_VOID$$) } } } $JSCompiler_prototypeAlias$$.$isActive$ = function $$JSCompiler_prototypeAlias$$$$isActive$$() { return!!this.$xhr_$ }; function $JSCompiler_StaticMethods_isSuccess$$($JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$) { switch($JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$)) { case 0: return $JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$ = $goog$isString$$($JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$.$lastUri_$) ? $JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$.$lastUri_$.match($goog$uri$utils$splitRe_$$)[1] || $JSCompiler_alias_NULL$$ : $JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$.$lastUri_$.$getScheme$(), !($JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$ ? $goog$net$XhrIo$HTTP_SCHEME_PATTERN$$.test($JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$) : self.location ? $goog$net$XhrIo$HTTP_SCHEME_PATTERN$$.test(self.location.protocol) : 1); case 200: ; case 201: ; case 202: ; case 204: ; case 304: ; case 1223: return!0; default: return!1 } } 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$$30$$) { return $JSCompiler_StaticMethods_getStatus$self$$.$logger_$.log($goog$debug$Logger$Level$WARNING$$, "Can not get status: " + $e$$30$$.message, $JSCompiler_alias_VOID$$), -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$$) { 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$$108$$ = 0;$i$$108$$ < $uris$$2$$.length;$i$$108$$++) { var $xhrIo$$ = new $goog$net$XhrIo$$; $JSCompiler_StaticMethods_listen$$($eventHandler$$, $xhrIo$$, "complete", $goog$bind$$(this.$handleEvent_$, this, $i$$108$$)); $xhrIo$$.send($uris$$2$$[$i$$108$$]) } }; $JSCompiler_prototypeAlias$$.$handleEvent_$ = function $$JSCompiler_prototypeAlias$$$$handleEvent_$$($id$$9$$, $e$$35$$) { this.$logger_$.info('Received event "' + $e$$35$$.type + '" for id ' + $id$$9$$ + " with uri " + this.$helper_$.$uris_$[$id$$9$$]); var $xhrIo$$1$$ = $e$$35$$.target; if($JSCompiler_StaticMethods_isSuccess$$($xhrIo$$1$$)) { var $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$ = this.$helper_$, $JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$; try { $JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$ = $xhrIo$$1$$.$xhr_$ ? $xhrIo$$1$$.$xhr_$.responseText : "" }catch($e$$inline_506$$) { $JSCompiler_StaticMethods_fine$$($xhrIo$$1$$.$logger_$, "Can not get responseText: " + $e$$inline_506$$.message), $JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$ = "" } $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$.$responseTexts_$[$id$$9$$] = $JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$; a: { if($JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$ = this.$helper_$, $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$ = $JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$.$responseTexts_$, $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$.length == $JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$.$uris_$.length) { for($JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$ = 0;$JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$ < $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$.length;$JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$++) { if($JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$[$JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$] == $JSCompiler_alias_NULL$$) { $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$ = !1; break a } } $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$ = !0 }else { $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$ = !1 } } $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$ && (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$$() { 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$$5$$, $bulkLoader_moduleInfoMap$$3$$, $opt_successFn$$3$$, $opt_errorFn$$3$$) { for(var $eventHandler$$1_uris$$3$$ = [], $i$$109$$ = 0;$i$$109$$ < $ids$$5$$.length;$i$$109$$++) { $goog$array$extend$$($eventHandler$$1_uris$$3$$, $bulkLoader_moduleInfoMap$$3$$[$ids$$5$$[$i$$109$$]].$uris_$) } this.$logger$.info("loadModules ids:" + $ids$$5$$ + " uris:" + $eventHandler$$1_uris$$3$$); this.$debugMode_$ ? $JSCompiler_StaticMethods_loadModulesInDebugMode_$$(this, $eventHandler$$1_uris$$3$$) : ($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$$5$$, $opt_successFn$$3$$, $opt_errorFn$$3$$), !1, $JSCompiler_alias_NULL$$), $JSCompiler_StaticMethods_listen$$($eventHandler$$1_uris$$3$$, $bulkLoader_moduleInfoMap$$3$$, "error", $goog$bind$$(this.handleError, this, $bulkLoader_moduleInfoMap$$3$$, $ids$$5$$, $opt_errorFn$$3$$), !1, $JSCompiler_alias_NULL$$), $bulkLoader_moduleInfoMap$$3$$.load()) }; function $JSCompiler_StaticMethods_createScriptElement_$$($uri$$40$$) { var $scriptEl$$ = document.createElement("script"); $scriptEl$$.src = $uri$$40$$; $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$$ && !$goog$userAgent$isVersion$$(2)) { for(var $i$$110_isAnotherModuleLoading$$ = 0;$i$$110_isAnotherModuleLoading$$ < $uris$$4$$.length;$i$$110_isAnotherModuleLoading$$++) { var $scriptEl$$1$$ = $JSCompiler_StaticMethods_createScriptElement_$$($uris$$4$$[$i$$110_isAnotherModuleLoading$$]); $scriptParent$$.appendChild($scriptEl$$1$$) } }else { if($i$$110_isAnotherModuleLoading$$ = $JSCompiler_StaticMethods_loadModulesInDebugMode_$self$$.$scriptsToLoadDebugMode_$.length, $goog$array$extend$$($JSCompiler_StaticMethods_loadModulesInDebugMode_$self$$.$scriptsToLoadDebugMode_$, $uris$$4$$), !$i$$110_isAnotherModuleLoading$$) { var $uris$$4$$ = $JSCompiler_StaticMethods_loadModulesInDebugMode_$self$$.$scriptsToLoadDebugMode_$, $popAndLoadNextScript$$ = function $$popAndLoadNextScript$$$() { var $uri$$41$$ = $uris$$4$$.shift(), $scriptEl$$2$$ = $JSCompiler_StaticMethods_createScriptElement_$$($uri$$41$$); if($uris$$4$$.length) { $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$$() } } : $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_535$$ = !0; try { var $JSCompiler_temp$$586$$; if(this.$codePostfix_$) { var $suffix$$inline_598$$ = this.$codePostfix_$, $l$$inline_599$$ = $jsCode$$inline_368_success$$inline_372$$.length - $suffix$$inline_598$$.length; $JSCompiler_temp$$586$$ = $l$$inline_599$$ >= 0 && $jsCode$$inline_368_success$$inline_372$$.indexOf($suffix$$inline_598$$, $l$$inline_599$$) == $l$$inline_599$$ }else { $JSCompiler_temp$$586$$ = 1 } if($JSCompiler_temp$$586$$) { 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;"), typeof $goog$global$$._et_ != "undefined" ? (delete $goog$global$$._et_, $goog$evalWorksForGlobals_$$ = !0) : $goog$evalWorksForGlobals_$$ = !1), $goog$evalWorksForGlobals_$$) { $goog$global$$.eval($jsCode$$inline_368_success$$inline_372$$) }else { var $doc$$inline_536$$ = $goog$global$$.document, $scriptElt$$inline_537$$ = $doc$$inline_536$$.createElement("script"); $scriptElt$$inline_537$$.type = "text/javascript"; $scriptElt$$inline_537$$.defer = !1; $scriptElt$$inline_537$$.appendChild($doc$$inline_536$$.createTextNode($jsCode$$inline_368_success$$inline_372$$)); $doc$$inline_536$$.body.appendChild($scriptElt$$inline_537$$); $doc$$inline_536$$.body.removeChild($scriptElt$$inline_537$$) } }else { $JSCompiler_alias_THROW$$(Error("goog.globalEval not available")) } } }else { $success$$inline_535$$ = !1 } }catch($e$$inline_538$$) { $success$$inline_535$$ = !1, this.$logger$.log($goog$debug$Logger$Level$WARNING$$, "Loaded incomplete code for module(s): " + $moduleIds$$4$$, $e$$inline_538$$) } ($jsCode$$inline_368_success$$inline_372$$ = $success$$inline_535$$) ? $jsCode$$inline_368_success$$inline_372$$ && $successFn$$1$$ && $successFn$$1$$() : (this.$logger$.log($goog$debug$Logger$Level$WARNING$$, "Request failed for module(s): " + $moduleIds$$4$$, $JSCompiler_alias_VOID$$), $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$$, $JSCompiler_alias_VOID$$); $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_$ = !1; $JSCompiler_prototypeAlias$$.$hadError_$ = !1; $JSCompiler_prototypeAlias$$.$paused_$ = 0; $JSCompiler_prototypeAlias$$.$silentlyCancelled_$ = !1; $JSCompiler_prototypeAlias$$.$chained_$ = !1; $JSCompiler_prototypeAlias$$.$branches_$ = 0; $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_$ = !0; $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_$ = !1 } } $JSCompiler_prototypeAlias$$.$callback$ = function $$JSCompiler_prototypeAlias$$$$callback$$($result$$9$$) { $JSCompiler_StaticMethods_check_$$(this); $JSCompiler_StaticMethods_assertNotDeferred_$$($result$$9$$); $JSCompiler_StaticMethods_resback_$$(this, !0, $result$$9$$) }; function $JSCompiler_StaticMethods_assertNotDeferred_$$($obj$$82$$) { $goog$asserts$assert$$(!($obj$$82$$ 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$$, $JSCompiler_alias_VOID$$]); $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$$) { $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_$); $JSCompiler_StaticMethods_fire_$self$$.$parent_$ && ($JSCompiler_StaticMethods_fire_$self$$.$parent_$.$branches_$--, delete $JSCompiler_StaticMethods_fire_$self$$.$parent_$); for(var $res$$10$$ = $JSCompiler_StaticMethods_fire_$self$$.$result_$, $unhandledException$$ = !1, $isChained$$ = !1;$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$$ !== $JSCompiler_alias_VOID$$) { $JSCompiler_StaticMethods_fire_$self$$.$hadError_$ = $JSCompiler_StaticMethods_fire_$self$$.$hadError_$ && ($ret$$3$$ == $res$$10$$ || $ret$$3$$ instanceof Error), $JSCompiler_StaticMethods_fire_$self$$.$result_$ = $res$$10$$ = $ret$$3$$ } $res$$10$$ instanceof $goog$async$Deferred$$ && ($isChained$$ = !0, $JSCompiler_StaticMethods_fire_$self$$.$paused_$++) }catch($ex$$10$$) { $res$$10$$ = $ex$$10$$, $JSCompiler_StaticMethods_fire_$self$$.$hadError_$ = !0, $JSCompiler_StaticMethods_hasErrback_$$($JSCompiler_StaticMethods_fire_$self$$) || ($unhandledException$$ = !0) } } } $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$$, !0), $goog$bind$$($JSCompiler_StaticMethods_fire_$self$$.$continue_$, $JSCompiler_StaticMethods_fire_$self$$, !1)), $res$$10$$.$chained_$ = !0 } if($unhandledException$$) { $JSCompiler_StaticMethods_fire_$self$$.$unhandledExceptionTimeoutId_$ = $goog$global$$.setTimeout(function() { $res$$10$$.message !== $JSCompiler_alias_VOID$$ && $res$$10$$.stack && ($res$$10$$.message += "\n" + $res$$10$$.stack); $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$$)); $JSCompiler_StaticMethods_toTraceString$self$$.$eventType$ == 0 ? $sb$$11$$.push(" Start ") : $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 ")) : $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$$111$$) { this.$defaultThreshold_$ = $defaultThreshold$$1_i$$111$$; for($defaultThreshold$$1_i$$111$$ = 0;$defaultThreshold$$1_i$$111$$ < this.$events_$.length;$defaultThreshold$$1_i$$111$$++) { 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$$111$$]) } 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$$111$$ = 0;$defaultThreshold$$1_i$$111$$ < $id$$12_keys$$8$$.length;$defaultThreshold$$1_i$$111$$++) { var $stat$$ = this.$stats_$.get($id$$12_keys$$8$$[$defaultThreshold$$1_i$$111$$]); $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$$115$$ = 0;$i$$115$$ < this.$events_$.length;$i$$115$$++) { var $e$$36$$ = this.$events_$[$i$$115$$]; $e$$36$$.$eventType$ == 1 && $indent$$1_stat$$4$$.pop(); $sb$$12$$.push(" ", $JSCompiler_StaticMethods_toTraceString$$($e$$36$$, this.$startTime_$, $etime_statKeys$$, $indent$$1_stat$$4$$.join(""))); $etime_statKeys$$ = $e$$36$$.$eventTime$; $sb$$12$$.push("\n"); $e$$36$$.$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$$115$$ = 0;$i$$115$$ < $etime_statKeys$$.length;$i$$115$$++) { $indent$$1_stat$$4$$ = this.$stats_$.get($etime_statKeys$$[$i$$115$$]), $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("") }; function $goog$debug$Trace_$longToPaddedString_$$($v$$1$$) { var $v$$1$$ = Math.round($v$$1$$), $space$$1$$ = ""; $v$$1$$ < 1E3 && ($space$$1$$ = " "); $v$$1$$ < 100 && ($space$$1$$ = " "); $v$$1$$ < 10 && ($space$$1$$ = " "); return $space$$1$$ + $v$$1$$ } 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$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$$7$$) { if(this.$fn_$) { this.$fn_$.call(this.$handler_$ || $JSCompiler_alias_NULL$$, $context$$7$$), 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$$) { 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$$, $JSCompiler_alias_VOID$$) } $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$$()); ($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$$) : $JSCompiler_StaticMethods_onLoad$self$$.$onErrorCallbacks_$.length = 0 } function $JSCompiler_StaticMethods_onError$$($JSCompiler_StaticMethods_onError$self$$, $cause$$) { var $result$$13$$ = $JSCompiler_StaticMethods_callCallbacks_$$($JSCompiler_StaticMethods_onError$self$$.$onErrorCallbacks_$, $cause$$); $result$$13$$ && window.setTimeout($goog$functions$error$$("Module errback failures: " + $result$$13$$), 0); $JSCompiler_StaticMethods_onError$self$$.$earlyOnloadCallbacks_$.length = 0; $JSCompiler_StaticMethods_onError$self$$.$onloadCallbacks_$.length = 0 } function $JSCompiler_StaticMethods_callCallbacks_$$($callbacks$$1$$, $context$$8$$) { for(var $errors$$1$$ = [], $i$$120$$ = 0;$i$$120$$ < $callbacks$$1$$.length;$i$$120$$++) { try { $callbacks$$1$$[$i$$120$$].execute($context$$8$$) }catch($e$$37$$) { $errors$$1$$.push($e$$37$$) } } $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$$() { 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_$ = !1; $JSCompiler_prototypeAlias$$.$loader_$ = $JSCompiler_alias_NULL$$; $JSCompiler_prototypeAlias$$.$consecutiveFailures_$ = 0; $JSCompiler_prototypeAlias$$.$lastActive_$ = !1; $JSCompiler_prototypeAlias$$.$userLastActive_$ = !1; $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$$) { $JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$.$loadingModuleIds_$.length == 0 ? $JSCompiler_StaticMethods_loadModule_$$($JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$, $id$$21$$) : ($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_387$$ = $goog$array$clone$$($ids$$6$$), $opt_errorFn$$inline_389$$ = $goog$bind$$(this.$handleLoadError_$, this), $opt_timeoutFn$$inline_390$$ = $goog$bind$$(this.$handleLoadTimeout_$, this); this.$loader_$.$loadModulesInternal$($ids$$inline_387$$, this.$moduleInfoMap_$, $JSCompiler_alias_NULL$$, $opt_errorFn$$inline_389$$, $opt_timeoutFn$$inline_390$$, !!$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$$6$$ = $JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$$($JSCompiler_StaticMethods_loadModule_$self$$, $delay$$3_id$$22$$); if(!$JSCompiler_StaticMethods_loadModule_$self$$.$batchModeEnabled_$ && $ids$$6$$.length > 1) { var $idToLoad$$ = $ids$$6$$.shift(); $JSCompiler_StaticMethods_loadModule_$self$$.$logger_$.info("Must load " + $idToLoad$$ + " module before " + $delay$$3_id$$22$$); $JSCompiler_StaticMethods_loadModule_$self$$.$requestedModuleIdsQueue_$ = $ids$$6$$.concat($JSCompiler_StaticMethods_loadModule_$self$$.$requestedModuleIdsQueue_$); $ids$$6$$ = [$idToLoad$$] } if(!$opt_isRetry$$) { $JSCompiler_StaticMethods_loadModule_$self$$.$consecutiveFailures_$ = 0 } $JSCompiler_StaticMethods_loadModule_$self$$.$logger_$.info("Loading module(s): " + $ids$$6$$); $JSCompiler_StaticMethods_loadModule_$self$$.$loadingModuleIds_$ = $ids$$6$$; $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$$7$$ = [$id$$23$$], $depIds_seen$$inline_402$$ = $goog$array$clone$$($JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$self$$.$moduleInfoMap_$[$id$$23$$].$deps_$);$depIds_seen$$inline_402$$.length;) { var $cursorInsert$$inline_403_depId$$ = $depIds_seen$$inline_402$$.pop(); $JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$self$$.$moduleInfoMap_$[$cursorInsert$$inline_403_depId$$].$module_$ || ($ids$$7$$.unshift($cursorInsert$$inline_403_depId$$), Array.prototype.unshift.apply($depIds_seen$$inline_402$$, $JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$self$$.$moduleInfoMap_$[$cursorInsert$$inline_403_depId$$].$deps_$)) } for(var $depIds_seen$$inline_402$$ = {}, $cursorRead$$inline_404$$ = $cursorInsert$$inline_403_depId$$ = 0;$cursorRead$$inline_404$$ < $ids$$7$$.length;) { var $current$$inline_405$$ = $ids$$7$$[$cursorRead$$inline_404$$++], $key$$inline_406$$ = $goog$isObject$$($current$$inline_405$$) ? "o" + $goog$getUid$$($current$$inline_405$$) : (typeof $current$$inline_405$$).charAt(0) + $current$$inline_405$$; Object.prototype.hasOwnProperty.call($depIds_seen$$inline_402$$, $key$$inline_406$$) || ($depIds_seen$$inline_402$$[$key$$inline_406$$] = !0, $ids$$7$$[$cursorInsert$$inline_403_depId$$++] = $current$$inline_405$$) } $ids$$7$$.length = $cursorInsert$$inline_403_depId$$; return $ids$$7$$ } function $JSCompiler_StaticMethods_setLoaded$$($JSCompiler_StaticMethods_setLoaded$self$$, $id$$24$$) { $JSCompiler_StaticMethods_setLoaded$self$$.$disposed_$ ? $JSCompiler_StaticMethods_setLoaded$self$$.$logger_$.log($goog$debug$Logger$Level$WARNING$$, "Module loaded after module manager was disposed: " + $id$$24$$, $JSCompiler_alias_VOID$$) : ($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$$]; $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)) : $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$$)) : ($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$$; $moduleInfo$$3$$.$module_$ ? $d$$5$$.$callback$(this.$moduleContext_$) : $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$$7_result$$inline_411$$) { $err$$7_result$$inline_411$$ = Error($err$$7_result$$inline_411$$); $JSCompiler_StaticMethods_check_$$($d$$5$$); $JSCompiler_StaticMethods_assertNotDeferred_$$($err$$7_result$$inline_411$$); $JSCompiler_StaticMethods_resback_$$($d$$5$$, !1, $err$$7_result$$inline_411$$) }), $opt_userInitiated$$1$$ && (this.$logger_$.info("User initiated module already loading: " + $moduleId$$1$$), $JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$$(this, $moduleId$$1$$), $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$(this))) : (this.$logger_$.info("Registering callback for module: " + $moduleId$$1$$), $moduleInfo$$3$$.$registerCallback$($d$$5$$.$callback$, $d$$5$$), $JSCompiler_StaticMethods_registerErrback$$($moduleInfo$$3$$, function($err$$8_result$$inline_416$$) { $err$$8_result$$inline_416$$ = Error($err$$8_result$$inline_416$$); $JSCompiler_StaticMethods_check_$$($d$$5$$); $JSCompiler_StaticMethods_assertNotDeferred_$$($err$$8_result$$inline_416$$); $JSCompiler_StaticMethods_resback_$$($d$$5$$, !1, $err$$8_result$$inline_416$$) }), $opt_userInitiated$$1$$ ? (this.$logger_$.info("User initiated module load: " + $moduleId$$1$$), $JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$$(this, $moduleId$$1$$)) : 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$$, !0, $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$$122$$ = 0;$i$$122$$ < $idsToCancel$$.length;$i$$122$$++) { $goog$array$remove$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$requestedModuleIdsQueue_$, $idsToCancel$$[$i$$122$$]), $goog$array$remove$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$userInitiatedLoadingModuleIds_$, $idsToCancel$$[$i$$122$$]) } var $errorCallbacks$$ = $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$callbackMap_$.error; if($errorCallbacks$$) { for($i$$122$$ = 0;$i$$122$$ < $errorCallbacks$$.length;$i$$122$$++) { for(var $callback$$25$$ = $errorCallbacks$$[$i$$122$$], $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$$123$$ = 0;$i$$123$$ < $types$$.length;$i$$123$$++) { this.$registerCallback_$($types$$[$i$$123$$], $fn$$17$$) } }; $JSCompiler_prototypeAlias$$.$registerCallback_$ = function $$JSCompiler_prototypeAlias$$$$registerCallback_$$($type$$79$$, $fn$$18$$) { var $callbackMap$$ = this.$callbackMap_$; $callbackMap$$[$type$$79$$] || ($callbackMap$$[$type$$79$$] = []); $callbackMap$$[$type$$79$$].push($fn$$18$$) }; function $JSCompiler_StaticMethods_executeCallbacks_$$($JSCompiler_StaticMethods_executeCallbacks_$self$$, $type$$80$$) { for(var $callbacks$$2$$ = $JSCompiler_StaticMethods_executeCallbacks_$self$$.$callbackMap_$[$type$$80$$], $i$$124$$ = 0;$callbacks$$2$$ && $i$$124$$ < $callbacks$$2$$.length;$i$$124$$++) { $callbacks$$2$$[$i$$124$$]($type$$80$$) } } $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_426$$ = $goog$global$$.MODULE_INFO, $id$$inline_427$$; for($id$$inline_427$$ in $infoMap$$inline_426$$) { $moduleManager$$.$moduleInfoMap_$[$id$$inline_427$$] = new $goog$module$ModuleInfo$$($infoMap$$inline_426$$[$id$$inline_427$$], $id$$inline_427$$) } if($moduleManager$$.$currentlyLoadingModule_$ == $moduleManager$$.$baseModuleInfo_$) { $moduleManager$$.$currentlyLoadingModule_$ = $JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods_onLoad$$($moduleManager$$.$baseModuleInfo_$, $goog$bind$$($moduleManager$$.$getModuleContext$, $moduleManager$$)) } var $moduleUriMap$$inline_438$$ = $goog$global$$.MODULE_URIS, $id$$inline_439$$; for($id$$inline_439$$ in $moduleUriMap$$inline_438$$) { $moduleManager$$.$moduleInfoMap_$[$id$$inline_439$$].$uris_$ = $moduleUriMap$$inline_438$$[$id$$inline_439$$] } $JSCompiler_StaticMethods_setLoaded$$($moduleManager$$, "app"); $goog$exportPath_$$("example.api.load", function($callback$$26$$) { $JSCompiler_StaticMethods_execOnLoad$$($moduleManager$$, "api", $callback$$26$$) }); $goog$exportPath_$$("example.api.isLoaded", function() { var $moduleInfo$$4$$ = $moduleManager$$.$moduleInfoMap_$.api; return $moduleInfo$$4$$ ? !!$moduleInfo$$4$$.$module_$ : !1 });