

















































































































































































































































































// START top gray external navigation banner $(document).ready(function () { setTimeout(function () { if ($('.external-navigation-banner').length) return; var $externalNavigationBanner = $('
'); var $linkContainer = $(''); var $linkUniversity = $('') .text(localeConfig.externalNav.university); var $linkCommunity = $('') .text(localeConfig.externalNav.community); var $linkSupport = $('') .attr('href', localeConfig.externalNav.supportHref) .attr('title', 'Bluebeam Technical Support') .attr('aria-label', 'Go to Bluebeam Technical Support') .text(localeConfig.externalNav.support); $linkContainer.append($linkUniversity, $linkCommunity, $linkSupport); $externalNavigationBanner.append($linkContainer); $('#header').before($externalNavigationBanner); }, 250); }); // END top gray external navigation banner // START Homepage Banner $(document).ready(function () { var $bannerButtonContainer = $(''); var $buttonPrimaryContainer = $(''); $('.banner_button').appendTo($buttonPrimaryContainer); $buttonPrimaryContainer.appendTo($bannerButtonContainer); var $libraryButton = $('') .attr('href', localeConfig.libraryButton.href) .text(localeConfig.libraryButton.text); $buttonPrimaryContainer.append($libraryButton); $('.banner_text_container').append($bannerButtonContainer); }); // END Homepage Banner // START SearchUnify search bar function updateSearchPlaceholder() { var placeholder = localeConfig.searchPlaceholder || LANGUAGE_CONFIG.en.searchPlaceholder; $('#search-box-autocomplete').attr('placeholder', placeholder); $('.su__input-search').attr('placeholder', placeholder); } $(document).ready(function () { setTimeout(function () { $('#header-right #auto').insertBefore($('.banner_button_container')); updateSearchPlaceholder(); }, 250); }); // END SearchUnify search bar // START My Registered Courses section (function () { var $ = window.jQuery || window.$; if (!$) return; var SECTION_ID = '#registered-courses'; var TOGGLE_ID = '#registered-courses-toggle'; var PANEL_ID = '#registered-courses-panel'; function ensureSectionPresent() { if ($(SECTION_ID).length) return; if (typeof skilljarUser === 'undefined') return; var openArrowSvg = ''; var rightCaretSvg = ''; var sectionMarkup = '' + sectionConfig.description + '
'); var $link = $( '' + '' + sectionConfig.linkText + '' + '' + '' ); $title.after($description); $description.after($link); hydrateSectionImages($carouselWrapper); if (typeof initSectionProgressCarousel === 'function') { initSectionProgressCarousel($carouselWrapper); var refreshFn = $carouselWrapper.data('refreshProgressCarousel'); if (typeof refreshFn === 'function') { setTimeout(function () { refreshFn(); }, 150); } } var wrapperClass = getSectionWrapperClass(sectionConfig.key); $title.add($description).add($link).add($carouselWrapper).wrapAll(''); var $sectionWrapper = $title.closest('.localized-catalog-section'); applyPeekModeToWrapper($sectionWrapper); } $catalogCourses.find('.localized-catalog-section').each(function () { var $wrapper = $(this); $wrapper.children().unwrap(); }); $catalogCourses.find('.localized-section-description').remove(); $catalogCourses.find('.localized-section-link').remove(); $catalogCourses.find('.tile-section-title[data-tag]').each(function () { var $title = $(this); var tag = $title.attr('data-tag'); var $wrapper = $title.next('.section-carousel-wrapper'); if ( tag.indexOf('sectionnewto') === 0 || tag.indexOf('sectionhowto') === 0 ) { if ($.inArray(tag, activeTags) !== -1) { $title.show(); $wrapper.show(); } else { $title.hide(); $wrapper.hide(); } } }); $.each(sectionConfigs, function (_, sectionConfig) { enhanceExistingSection(sectionConfig); }); }, 100); }); // END Localized catalog sections // START Resource section $(window).on('load', function () { setTimeout(function () { if ($('#resource-section').length) return; var resourceConfig = localeConfig.resourceSection || LANGUAGE_CONFIG.en.resourceSection; if (!resourceConfig || !resourceConfig.tiles || resourceConfig.tiles.length < 3) return; var arrowSvg = ` `; var communityIcon = ''; var consultingIcon = ''; var webinarsIcon = ''; var iconMap = [communityIcon, consultingIcon, webinarsIcon]; var $resourceSection = $(''); var $titleBlock = $('') .append('' + resourceConfig.sectionTitle + '
'); var $resourceTileSection = $(''); $.each(resourceConfig.tiles, function (index, tileConfig) { var icon = iconMap[index]; if (!icon || !tileConfig) return; var $resourceTile = $(''); var $resourceTileTitle = $('') .append(icon) .append('' + tileConfig.heading + '
') .append('' + tileConfig.body + '
'); var $resourceTileLink = $('') .attr('href', tileConfig.href) .attr('title', tileConfig.titleAttr) .attr('aria-label', tileConfig.ariaLabel) .append('' + tileConfig.cta + '') .append(arrowSvg); $resourceTile.append($resourceTileTitle, $resourceTileLink); $resourceTileSection.append($resourceTile); }); $resourceSection.append($titleBlock, $resourceTileSection); function insertResourceSection() { var $target = $('#catalog-content'); if (!$target.length) return false; $target.after($resourceSection); return true; } if (!insertResourceSection()) { var observer = new MutationObserver(function () { if (insertResourceSection()) { observer.disconnect(); } }); observer.observe(document.body, { childList: true, subtree: true }); } }, 200); }); // END Resource section });