$goog$ui$Component$$.prototype.$getDomHelper$ = $JSCompiler_unstubMethod$$(2, $JSCompiler_get$$("$dom_$")); function $example$Settings$$($dom$$4$$) { $goog$ui$Component$$.call(this, $dom$$4$$) } $goog$inherits$$($example$Settings$$, $goog$ui$Component$$); $example$Settings$$.prototype.$createDom$ = function $$example$Settings$$$$$createDom$$() { $example$Settings$$.$superClass_$.$createDom$.call(this); this.$getElement$().innerHTML = "This is the settings component." }; var $app$$ = $example$App$instance_$$, $child$$inline_602$$ = new $example$Settings$$($app$$.$getDomHelper$()), $index$$inline_603$$ = $app$$.$children_$ ? $app$$.$children_$.length : 0; $child$$inline_602$$.$inDocument_$ && $JSCompiler_alias_THROW$$(Error("Component already rendered")); if($index$$inline_603$$ < 0 || $index$$inline_603$$ > ($app$$.$children_$ ? $app$$.$children_$.length : 0)) { $JSCompiler_alias_THROW$$(Error("Child component index out of bounds")) } if(!$app$$.$childIndex_$ || !$app$$.$children_$) { $app$$.$childIndex_$ = {}; $app$$.$children_$ = [] } if($child$$inline_602$$.getParent() == $app$$) { var $key$$inline_605$$ = $child$$inline_602$$.$getId$(); $app$$.$childIndex_$[$key$$inline_605$$] = $child$$inline_602$$; $goog$array$remove$$($app$$.$children_$, $child$$inline_602$$) }else { var $obj$$inline_606$$ = $app$$.$childIndex_$, $key$$inline_607$$ = $child$$inline_602$$.$getId$(); $key$$inline_607$$ in $obj$$inline_606$$ && $JSCompiler_alias_THROW$$(Error('The object already contains the key "' + $key$$inline_607$$ + '"')); $obj$$inline_606$$[$key$$inline_607$$] = $child$$inline_602$$ } $JSCompiler_StaticMethods_setParent$$($child$$inline_602$$, $app$$); (function($arr$$41$$) { $goog$asserts$assert$$($arr$$41$$.length != $JSCompiler_alias_NULL$$); $goog$array$ARRAY_PROTOTYPE_$$.splice.apply($arr$$41$$, $goog$array$slice$$(arguments, 1)) })($app$$.$children_$, $index$$inline_603$$, 0, $child$$inline_602$$); if($child$$inline_602$$.$inDocument_$ && $app$$.$inDocument_$ && $child$$inline_602$$.getParent() == $app$$) { var $contentElement$$inline_608$$ = $app$$.$element_$; $contentElement$$inline_608$$.insertBefore($child$$inline_602$$.$getElement$(), $contentElement$$inline_608$$.childNodes[$index$$inline_603$$] || $JSCompiler_alias_NULL$$) }else { $app$$.$element_$ || $app$$.$createDom$(); var $sibling$$inline_609$$ = $app$$.$children_$ ? $app$$.$children_$[$index$$inline_603$$ + 1] || $JSCompiler_alias_NULL$$ : $JSCompiler_alias_NULL$$; $JSCompiler_StaticMethods_render_$$($child$$inline_602$$, $app$$.$element_$, $sibling$$inline_609$$ ? $sibling$$inline_609$$.$element_$ : $JSCompiler_alias_NULL$$) } $JSCompiler_StaticMethods_setLoaded$$($goog$module$ModuleManager$$.$getInstance$(), "settings");