{"version":3,"file":"js\\main.min.js","sources":["Website/Portals/_default/Skins/Musync/js/quick-exit.mjs","Website/Portals/_default/Skins/Musync/js/submenu-positioning.mjs","Website/Portals/_default/Skins/Musync/js/toggle-links.mjs","Website/Portals/_default/Skins/Musync/js/main.mjs"],"sourcesContent":["const $ = window.jQuery;\r\nconst QuickExitThresholdPx = 80;\r\n\r\nexport function quickExit(exitUrl) {\r\n\t$.ajax({\r\n\t\turl: '/logOff',\r\n\t\tmethod: 'POST',\r\n\t}).always(() => {\r\n\t\twindow.location.replace(exitUrl);\r\n\t});\r\n}\r\n\r\nexport function init() {\r\n\t$(document).ready(() => {\r\n\t\tif ($(window).scrollTop() > QuickExitThresholdPx) {\r\n\t\t\t$('.quick-exit').addClass('visible');\r\n\t\t} else {\r\n\t\t\t$('.quick-exit').removeClass('visible');\r\n\t\t}\r\n\t\t$('.button__exit').on('click', (event) => {\r\n\t\t\tconst exitUrl = $(event.target).attr('data-exitUrl');\r\n\t\t\tquickExit(exitUrl);\r\n\t\t});\r\n\t});\r\n\r\n\t$(window).scroll(() => {\r\n\t\tif ($(window).scrollTop() > QuickExitThresholdPx) {\r\n\t\t\t$('.quick-exit').addClass('visible');\r\n\t\t} else {\r\n\t\t\t$('.quick-exit').removeClass('visible');\r\n\t\t}\r\n\t});\r\n}\r\n","const $ = window.jQuery;\r\nconst $desktopBreakpoint = 1280;\r\n\r\n$.fn.inViewportHorizontal = function inViewportHorizontal() {\r\n\tconst elementPadding = 1.5;\r\n\tconst elementLeft = $(this).offset().left;\r\n\tconst elementWidth = $(this).outerWidth(true);\r\n\tconst viewportLeft = $(window).scrollLeft();\r\n\r\n\treturn (\r\n\t\telementLeft + elementWidth * elementPadding <=\r\n\t\tviewportLeft + $(window).width()\r\n\t);\r\n};\r\n\r\nexport default function subMenuPositioning() {\r\n\tif ($(window).width() > $desktopBreakpoint) {\r\n\t\t$('ul.menu.menu__submenu').each((index, subMenu) => {\r\n\t\t\t$(subMenu).attr('data-visible', $(subMenu).inViewportHorizontal());\r\n\t\t});\r\n\t}\r\n}\r\n","export default function toggleLinks(toggleButton, toggleElement) {\r\n\tconst control = document.querySelector(`[aria-controls=${toggleElement}]`);\r\n\tconst element = document.querySelector(\r\n\t\t`[aria-controlledby=${toggleButton}]`\r\n\t);\r\n\r\n\tif (!control || !element) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tcontrol.onclick = (event) => {\r\n\t\tevent.preventDefault();\r\n\t\tconst elementIsHidden = element.getAttribute('aria-hidden') === 'true';\r\n\r\n\t\t// Find what the current state of the element should be\r\n\t\tlet newElementState;\r\n\t\tif (elementIsHidden) {\r\n\t\t\tnewElementState = {\r\n\t\t\t\texpanded: true,\r\n\t\t\t\thidden: false,\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tnewElementState = {\r\n\t\t\t\texpanded: false,\r\n\t\t\t\thidden: true,\r\n\t\t\t};\r\n\t\t}\r\n\t\t// Updating new element state\r\n\t\tcontrol.setAttribute('aria-expanded', newElementState.expanded);\r\n\t\telement.setAttribute('aria-hidden', newElementState.hidden);\r\n\t};\r\n}\r\n","/* global jQuery */\r\n\r\nimport { init as initQuickExit, quickExit } from './quick-exit.mjs';\r\nimport subMenuPositioning from './submenu-positioning.mjs';\r\nimport toggleLinks from './toggle-links.mjs';\r\n\r\nvoid (function themeStart($) {\r\n\twindow.quickExit = quickExit;\r\n\tinitQuickExit();\r\n\r\n\tconst retryDelay = 300;\r\n\tconst categoryLoader = setInterval(() => {\r\n\t\tif (document.readyState !== 'complete') return;\r\n\t\tclearInterval(categoryLoader);\r\n\t\ttoggleLinks('categoryToggle', 'categoryList');\r\n\t}, retryDelay);\r\n\r\n\tconst quickLinksLoader = setInterval(() => {\r\n\t\tif (document.readyState !== 'complete') return;\r\n\t\tclearInterval(quickLinksLoader);\r\n\t\ttoggleLinks('quicklinks-toggle', 'quicklinks-nav');\r\n\t}, retryDelay);\r\n\r\n\t$(document).ready(() => {\r\n\t\t// Global variables\r\n\t\tconst $mainNav = $('#siteNav');\r\n\t\tconst $navToggle = $('#navToggle');\r\n\t\tconst $navToggleText = $navToggle.find('.toggle-text');\r\n\t\tconst $profileToggle = $('.profile--flyout-button');\r\n\t\tconst $profileFlyout = $('.profile--flyout');\r\n\r\n\t\tsubMenuPositioning();\r\n\r\n\t\t// When clicking the main nav toggle button...\r\n\t\t$navToggle.on('click', (event) => {\r\n\t\t\tevent.preventDefault();\r\n\r\n\t\t\t// Find initial nav state\r\n\t\t\tconst navIsHidden = $mainNav.attr('aria-hidden') === 'true';\r\n\r\n\t\t\t// Find what the current state of nav should be\r\n\t\t\tlet newNavState;\r\n\t\t\tif (navIsHidden) {\r\n\t\t\t\tnewNavState = {\r\n\t\t\t\t\tlabel: 'Hide Menu',\r\n\t\t\t\t\texpanded: true,\r\n\t\t\t\t\thidden: false,\r\n\t\t\t\t};\r\n\t\t\t\t$navToggleText.text('Close');\r\n\t\t\t} else {\r\n\t\t\t\tnewNavState = {\r\n\t\t\t\t\tlabel: 'Show Menu',\r\n\t\t\t\t\texpanded: false,\r\n\t\t\t\t\thidden: true,\r\n\t\t\t\t};\r\n\t\t\t\t$navToggleText.text('Menu');\r\n\t\t\t}\r\n\r\n\t\t\t// Updating new main nav state\r\n\t\t\t$navToggle.attr({\r\n\t\t\t\t'aria-label': newNavState.label,\r\n\t\t\t\t'aria-expanded': newNavState.expanded,\r\n\t\t\t});\r\n\t\t\t$mainNav.attr({\r\n\t\t\t\t'aria-hidden': newNavState.hidden,\r\n\t\t\t\t'data-current-level': 0,\r\n\t\t\t});\r\n\r\n\t\t\t// Hide all open menus\r\n\t\t\t$mainNav\r\n\t\t\t\t.find('.menu[aria-hidden=\"false\"]')\r\n\t\t\t\t.attr({ 'aria-hidden': true });\r\n\t\t});\r\n\r\n\t\t// When clicking a link in the main nav...\r\n\t\t$mainNav.on('click', '.menu-link', (event) => {\r\n\t\t\t// Find the clicked link, menu level of the clicked link, and the menu that the link is linking to\r\n\r\n\t\t\tconst $menuLink = $(event.target).closest('.menu-link');\r\n\t\t\tlet linkLevel = $menuLink.attr('data-level');\r\n\t\t\tconst linkMenuId = $menuLink.attr('data-page');\r\n\t\t\tconst $activeSubMenu = $(`.menu[data-page=\"${linkMenuId}\"]`);\r\n\r\n\t\t\tif ($(event.target).hasClass('submenu-toggle')) {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\tlinkLevel = $(event.target)\r\n\t\t\t\t\t.parents('.menu-item')\r\n\t\t\t\t\t.attr('data-level');\r\n\t\t\t}\r\n\r\n\t\t\t// Find the initial nav state of the linked menu\r\n\t\t\tconst subMenuHidden = $activeSubMenu.attr('aria-hidden') === 'true';\r\n\r\n\t\t\t// Update the active menu level of the main nav\r\n\t\t\t$mainNav.attr({ 'data-current-level': linkLevel });\r\n\r\n\t\t\t// Update the active submenu's visibility\r\n\t\t\t$activeSubMenu.attr({\r\n\t\t\t\t'aria-hidden': !subMenuHidden,\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\t// scroll body to 0px on click\r\n\t\tconst scrollAnimationSpeed = 800;\r\n\t\t$('#backToTop').click(() => {\r\n\t\t\t$('body,html').animate(\r\n\t\t\t\t{\r\n\t\t\t\t\tscrollTop: 0,\r\n\t\t\t\t},\r\n\t\t\t\tscrollAnimationSpeed\r\n\t\t\t);\r\n\t\t\treturn false;\r\n\t\t});\r\n\r\n\t\t// When clicking the profile toggle button...\r\n\t\t$profileToggle.on('click', (event) => {\r\n\t\t\tevent.preventDefault();\r\n\r\n\t\t\t// Find initial flyout state\r\n\t\t\tconst profileFlyoutIsHidden =\r\n\t\t\t\t$profileFlyout.attr('aria-hidden') === 'true';\r\n\r\n\t\t\t// Find what the current state of flyout should be\r\n\t\t\tlet newProfileFlyoutState;\r\n\t\t\tif (profileFlyoutIsHidden) {\r\n\t\t\t\tnewProfileFlyoutState = {\r\n\t\t\t\t\tlabel: 'Hide Profile Flyout',\r\n\t\t\t\t\texpanded: true,\r\n\t\t\t\t\thidden: false,\r\n\t\t\t\t};\r\n\t\t\t} else {\r\n\t\t\t\tnewProfileFlyoutState = {\r\n\t\t\t\t\tlabel: 'Show Profile Flyout',\r\n\t\t\t\t\texpanded: false,\r\n\t\t\t\t\thidden: true,\r\n\t\t\t\t};\r\n\t\t\t}\r\n\r\n\t\t\t// Updating new search flyout state\r\n\t\t\t$profileToggle.attr({\r\n\t\t\t\t'aria-label': newProfileFlyoutState.label,\r\n\t\t\t\t'aria-expanded': newProfileFlyoutState.expanded,\r\n\t\t\t});\r\n\t\t\t$profileFlyout.attr({\r\n\t\t\t\t'aria-hidden': newProfileFlyoutState.hidden,\r\n\t\t\t});\r\n\t\t});\r\n\t});\r\n\r\n\t$(window).resize(() => {\r\n\t\tsubMenuPositioning();\r\n\t});\r\n\r\n\t// scroll body to 0px on click\r\n\tconst scrollAnimationSpeed = 800;\r\n\t$('#back-to-top').click(() => {\r\n\t\t$('body,html').animate(\r\n\t\t\t{\r\n\t\t\t\tscrollTop: 0,\r\n\t\t\t},\r\n\t\t\tscrollAnimationSpeed\r\n\t\t);\r\n\t\treturn false;\r\n\t});\r\n\r\n\t$('.scroll-helper').click(() => {\r\n\t\tconst mainContent = $('.site--main');\r\n\t\tconst mainContentPosition = mainContent.position();\r\n\t\t$('html, body').animate(\r\n\t\t\t{\r\n\t\t\t\tscrollTop: mainContentPosition.top,\r\n\t\t\t},\r\n\t\t\tscrollAnimationSpeed\r\n\t\t);\r\n\t});\r\n})(jQuery);\r\n"],"names":["$","window","jQuery","QuickExitThresholdPx","quickExit","exitUrl","ajax","url","method","always","location","replace","init","document","ready","scrollTop","addClass","removeClass","on","event","target","attr","scroll","$desktopBreakpoint","fn","inViewportHorizontal","elementPadding","elementLeft","offset","left","elementWidth","outerWidth","viewportLeft","scrollLeft","width","subMenuPositioning","each","index","subMenu","toggleLinks","toggleButton","toggleElement","control","querySelector","element","onclick","preventDefault","elementIsHidden","getAttribute","newElementState","expanded","hidden","setAttribute","themeStart","initQuickExit","retryDelay","categoryLoader","setInterval","readyState","clearInterval","quickLinksLoader","$mainNav","$navToggle","$navToggleText","find","$profileToggle","$profileFlyout","navIsHidden","newNavState","label","text","$menuLink","closest","linkLevel","linkMenuId","$activeSubMenu","hasClass","parents","subMenuHidden","scrollAnimationSpeed","click","animate","profileFlyoutIsHidden","newProfileFlyoutState","resize","mainContent","mainContentPosition","position","top"],"mappings":";;;CAAA,IAAMA,GAAC,GAAGC,MAAM,CAACC,MAAM,CAAA;CACvB,IAAMC,oBAAoB,GAAG,EAAE,CAAA;CAExB,SAASC,SAAS,CAACC,OAAO,EAAE;GAClCL,GAAC,CAACM,IAAI,CAAC;CACNC,IAAAA,GAAG,EAAE,SAAS;CACdC,IAAAA,MAAM,EAAE,MAAA;CACT,GAAC,CAAC,CAACC,MAAM,CAAC,YAAM;CACfR,IAAAA,MAAM,CAACS,QAAQ,CAACC,OAAO,CAACN,OAAO,CAAC,CAAA;CACjC,GAAC,CAAC,CAAA;CACH,CAAA;CAEO,SAASO,IAAI,GAAG;CACtBZ,EAAAA,GAAC,CAACa,QAAQ,CAAC,CAACC,KAAK,CAAC,YAAM;KACvB,IAAId,GAAC,CAACC,MAAM,CAAC,CAACc,SAAS,EAAE,GAAGZ,oBAAoB,EAAE;CACjDH,MAAAA,GAAC,CAAC,aAAa,CAAC,CAACgB,QAAQ,CAAC,SAAS,CAAC,CAAA;CACrC,KAAC,MAAM;CACNhB,MAAAA,GAAC,CAAC,aAAa,CAAC,CAACiB,WAAW,CAAC,SAAS,CAAC,CAAA;CACxC,KAAA;KACAjB,GAAC,CAAC,eAAe,CAAC,CAACkB,EAAE,CAAC,OAAO,EAAE,UAACC,KAAK,EAAK;CACzC,MAAA,IAAMd,OAAO,GAAGL,GAAC,CAACmB,KAAK,CAACC,MAAM,CAAC,CAACC,IAAI,CAAC,cAAc,CAAC,CAAA;OACpDjB,SAAS,CAACC,OAAO,CAAC,CAAA;CACnB,KAAC,CAAC,CAAA;CACH,GAAC,CAAC,CAAA;CAEFL,EAAAA,GAAC,CAACC,MAAM,C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