// This file was automatically generated from sidebar-web.soy. // Please don't edit this file by hand. if (typeof templates_templateContainerBcsPubNavigation == 'undefined') { var templates_templateContainerBcsPubNavigation = {}; } templates_templateContainerBcsPubNavigation.templateContainerBcsPubNavigation = function(opt_data, opt_ignored) { var output = ''; var layoutType__soy3 = (opt_data.item.preferences.layoutType.value == 'fixed') ? 'container' : (opt_data.item.preferences.layoutType.value == 'fluid') ? 'container-fluid' : ''; var navbarType__soy9 = opt_data.item.preferences.stickyNavbar.value == 'true' ? 'fixed-top' : 'sticky-top'; output += (opt_data.item.preferences.viewType.value == 'TopNavigationContainer') ? templates_templateContainerBcsPubNavigation.TopNavigationContainer({item: opt_data.item, layoutType: layoutType__soy3, navbarType: navbarType__soy9}) : (opt_data.item.preferences.viewType.value == 'SideNavigationContainer') ? templates_templateContainerBcsPubNavigation.SideNavigationContainer(opt_data) : (opt_data.item.preferences.viewType.value == 'TopSideNavigationContainer') ? templates_templateContainerBcsPubNavigation.TopSideNavigationContainer({item: opt_data.item, layoutType: layoutType__soy3, navbarType: navbarType__soy9}) : ''; return output; }; templates_templateContainerBcsPubNavigation.TopNavigationContainer = function(opt_data, opt_ignored) { var output = ''; var navbarSelector__soy25 = '#' + soy.$$escapeHtml(opt_data.item.name) + '-navbar-collapse'; output += ''; return output; }; templates_templateContainerBcsPubNavigation.SideNavigationContainer = function(opt_data, opt_ignored) { return '
' + templates_templateContainerBcsPubNavigation.SidebarArea({item: opt_data.item, areaId: 0, mobileUserAreaId: 1}) + templates_templateContainerBcsPubNavigation.ContentArea({item: opt_data.item, areaId: 2}) + '
'; }; templates_templateContainerBcsPubNavigation.TopSideNavigationContainer = function(opt_data, opt_ignored) { var output = ''; var sidebarSelector__soy62 = '#nav-sidebar-collapse'; var contentOutlineClass__soy64 = opt_data.item.preferences.stickyNavbar.value == 'true' ? 'sticky-top-outline' : ''; output += '
' + templates_templateContainerBcsPubNavigation.SidebarArea({item: opt_data.item, areaId: 2, mobileUserAreaId: 3}) + templates_templateContainerBcsPubNavigation.ContentArea({item: opt_data.item, areaId: 4}) + '
'; return output; }; templates_templateContainerBcsPubNavigation.NavbarBrand = function(opt_data, opt_ignored) { var output = ''; return output; }; templates_templateContainerBcsPubNavigation.NavbarToggler = function(opt_data, opt_ignored) { return ''; }; templates_templateContainerBcsPubNavigation.UserMenuArea = function(opt_data, opt_ignored) { var output = ''; var hiddenClass__soy111 = opt_data.showInMobile == false ? 'd-sm-none' : 'd-sm-block'; var hiddeButtonClass__soy112 = opt_data.item.preferences.isPublicLogin.value == 'true' ? 'd-sm-none' : 'd-sm-block'; output += ''; return output; }; templates_templateContainerBcsPubNavigation.TopNavigationArea = function(opt_data, opt_ignored) { var output = '' + templates_templateContainerBcsPubNavigation.UserMenuArea({showInMobile: true, item: opt_data.item, areaId: opt_data.mobileUserAreaId}); return output; }; templates_templateContainerBcsPubNavigation.SidebarArea = function(opt_data, opt_ignored) { var output = ''; var sidebarColumnClasses__soy145 = opt_data.item.preferences.sidebarColumnClasses.value; output += ''; return output; }; templates_templateContainerBcsPubNavigation.ContentArea = function(opt_data, opt_ignored) { var output = ''; var contentColumnClasses__soy166 = opt_data.item.preferences.contentColumnClasses.value; output += '
'; if (! (opt_data.item.preferences.loadChildren && opt_data.item.preferences.loadChildren.value == 'false') && opt_data.item.children) { var childList172 = opt_data.item.children; var childListLen172 = childList172.length; for (var childIndex172 = 0; childIndex172 < childListLen172; childIndex172++) { var childData172 = childList172[childIndex172]; output += (parseInt(childData172.preferences.area.value,10) == opt_data.areaId) ? soy.$$filterNoAutoescape("") : ''; } } output += '
'; return output; }; templates_templateContainerBcsPubNavigation.OffScreen = function(opt_data, opt_ignored) { return ''; };