{"version":3,"file":"all.min.js","names":["click","mouseenter","mouseleave","active","keyup","keydown","button","ariaLabel","ariaExpanded","ariaSelected","ariaControls","tabIndex","keyCodes","Object","freeze","DOWN","END","ESC","HOME","LEFT","PAGEDOWN","PAGEUP","RETURN","RIGHT","SPACE","TAB","UP","copyToClipboard","str","sel","document","getSelection","el","createElement","value","setAttribute","style","position","left","body","appendChild","rangeCount","oldSelection","getRangeAt","select","execCommand","removeChild","removeAllRanges","addRange","saveFile","filename","text","element","encodeURI","click","printText","printWin","window","open","write","close","focus","print","navigateToUrlOrRoot","url","request","XMLHttpRequest","onreadystatechange","readyState","status","u","URL","pathname","toString","location","href","send","createCookie","name","cookie","deleteCookie","getById","id","getElementById","listen","o","e","f","addEventListener","toggleAttribute","getAttribute","isPrintableCharacter","length","match","convertUTCToLocalDate","querySelectorAll","forEach","date","Date","innerText","getFullYear","localeText","toLocaleDateString","indexOf","KbdNav","constructor","elements","focusFirstElement","focus","focusLastElement","length","focusNextElement","i","document","activeElement","focusPrevElement","focusElementByChar","ch","getIndexFirstChars","startIndex","el","textContent","firstChar","trim","substring","toLowerCase","index","handleThemes","applyStyleSheet","cookieValue","listen","getById","lightThemeItem","click","lightTheme","createCookie","styleCookie","darkThemeItem","darkTheme","handleMenu","document","querySelectorAll","forEach","menu","focusTrigger","trigger","focus","querySelector","content","items","el","children","child","getAttribute","push","kbdnav","KbdNav","listen","click","e","toggleOverlay","toggleAttribute","currentTarget","ariaExpanded","cancelBubble","keydown","o","ch","key","keyCode","keyCodes","SPACE","RETURN","DOWN","showOverlay","focusFirstElement","UP","focusLastElement","isPrintableCharacter","focusElementByChar","stopPropagation","preventDefault","ctrlKey","altKey","metaKey","shiftKey","evt","MouseEvent","bubbles","cancelable","clientX","view","window","dispatchEvent","ESC","TAB","closeActiveOverlay","focusPrevElement","focusNextElement","HOME","PAGEUP","END","PAGEDOWN","handleHeader","showNavBarLinks","sf","getById","searchForm","classList","remove","showSearch","hl","headerLinks","st","searchTextbox","value","showSearchBox","add","focus","openHamburger","listen","document","body","keyup","o","which","closeActiveOverlay","click","e","preventDefault","textbox","searchPageUrl","url","window","location","assign","b","toggle","handleSidebar","toggleHeader","header","body","nextElementSibling","classList","toggle","toggleAttribute","ariaExpanded","style","maxHeight","contains","scrollHeight","sidebar","getById","querySelectorAll","forEach","button","o","listen","click","e","currentTarget","next","ul","el","parentElement","headers","push","kbdnav","KbdNav","keydown","ch","key","ctrlKey","altKey","metaKey","shiftKey","isPrintableCharacter","focusElementByChar","keyCode","keyCodes","UP","focusPrevElement","DOWN","focusNextElement","HOME","focusFirstElement","END","focusLastElement","RETURN","TAB","preventDefault","cancelBubble","previousElementSibling","sc","active","icon","querySelector","handleTabs","updateLikeTabsets","cookieName","cookieValue","document","querySelectorAll","forEach","tabset","o","strip","dataset","tab","attr","getAttribute","ariaControls","panel","getById","setAttribute","ariaSelected","removeAttribute","tabIndex","activateTab","deactivateAllTabs","ac","other","tabs","panels","querySelector","push","kbdnav","KbdNav","readCookie","button","listen","createCookie","keydown","e","ch","key","ctrlKey","altKey","metaKey","shiftKey","isPrintableCharacter","focusElementByChar","keyCode","keyCodes","LEFT","focusPrevElement","RIGHT","focusNextElement","HOME","focusFirstElement","END","focusLastElement","TAB","preventDefault","cancelBubble","handleLinks","attachSelfLink","node","id","anchor","document","createElement","className","href","setAttribute","innerHTML","iconFile","appendChild","querySelectorAll","forEach","link","hostname","location","notes","getById","article","getElementsByTagName","map","Map","numLinks","pathname","endsWith","hash","classList","contains","dataset","skipendnotes","count","get","size","set","li","innerText","insertAdjacentHTML","ec","add","scrollToTopButton","tocLinks","pageHeader","tocHeadings","handleScroll","dealWithScroll","controlScrollToTopButton","document","body","scrollTop","documentElement","classList","add","remove","controlTOCActivation","closestHeadingBelowTop","closestHeadingBelowTopPos","closestHeadingAboveTop","closestHeadingAboveTopPos","i","length","heading","range","createRange","setStart","setEnd","cbr","getBoundingClientRect","width","height","top","pageHeaderHeight","window","innerHeight","target","querySelector","tagName","dataset","scrolled","getById","listen","click","toc","getElementsByTagName","link","id","decodeURIComponent","hash","substring","hdr","push","overlay","popper","toggleOverlay","element","closeActiveOverlay","classList","add","showOverlay","remove","destroy","handleOverlays","attachPopper","anchor","Popper","modifiers","flip","enabled","preventOverflow","shift","placement","document","querySelectorAll","forEach","term","i","createElement","innerHTML","iconFile","span","innerText","dataset","title","className","appendChild","body","arrow","setAttribute","div","listen","click","e","cancelBubble","parent","parentElement","insertBefore","nextElementSibling","removeAttribute","downloadButton","updateadvice","updatehref","updatebutton","downloadhref","window","handleLanguageSwitch","listen","getById","click","url","URL","window","location","href","path","pathname","startsWith","substr","createCookie","navigateToUrlOrRoot","toString","callToActionDelayMs","handleCallToAction","window","setTimeout","document","querySelectorAll","forEach","el","style","opacity","LiteEvent","constructor","handlers","on","handler","push","off","filter","h","trigger","data","slice","forEach","expose","gitHubTokenCookie","Authenticator","constructor","gitHubToken","readCookie","userLogin","userName","userAvatarUrl","onLogin","LiteEvent","onLoginError","onLogout","urlParams","URLSearchParams","window","location","search","token","get","createCookie","fetchUserData","Login","pathname","Logout","deleteCookie","trigger","LoggedIn","expose","LoginError","LoggedOut","IsLoggedIn","GitHubToken","UserLogin","UserName","UserAvatarUrl","fetch","headers","Authorization","then","response","text","data","json","JSON","parse","login","name","avatar_url","authnButton","getById","authenticator","Authenticator","LoggedIn","on","resetAuthnButton","LoggedOut","LoginError","listen","click","e","preventDefault","IsLoggedIn","Logout","Login","innerHTML","UserAvatarUrl","title","UserName"],"sources":["../../dashboard/ts/core/constants.ts","../../dashboard/ts/core/utils.ts","../../dashboard/ts/core/kbdnav.ts","../../dashboard/ts/core/themes.ts","../../dashboard/ts/core/menu.ts","../../dashboard/ts/core/header.ts","../../dashboard/ts/core/sidebar.ts","../../dashboard/ts/core/tabset.ts","../../dashboard/ts/core/links.ts","../../dashboard/ts/core/scroll.ts","../../dashboard/ts/core/overlays.ts","../../dashboard/ts/core/lang.ts","../../dashboard/ts/core/callToAction.ts","../../dashboard/ts/core/event.ts","../../dashboard/ts/core/authenticator.ts","../../dashboard/ts/core/authnButton.ts"],"sourcesContent":["// Copyright 2019 Istio Authors\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nconst click = \"click\";\nconst mouseenter = \"mouseenter\";\nconst mouseleave = \"mouseleave\";\nconst active = \"active\";\nconst keyup = \"keyup\";\nconst keydown = \"keydown\";\nconst button = \"button\";\nconst ariaLabel = \"aria-label\";\nconst ariaExpanded = \"aria-expanded\";\nconst ariaSelected = \"aria-selected\";\nconst ariaControls = \"aria-controls\";\nconst tabIndex = \"tabindex\";\n","// Copyright 2019 Istio Authors\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nconst keyCodes = Object.freeze({\n DOWN: 40,\n END: 35,\n ESC: 27,\n HOME: 36,\n LEFT: 37,\n PAGEDOWN: 34,\n PAGEUP: 33,\n RETURN: 13,\n RIGHT: 39,\n SPACE: 32,\n TAB: 9,\n UP: 38,\n});\n\n// copy the given text to the system clipboard\nfunction copyToClipboard(str: string): void {\n const sel = document.getSelection();\n if (!sel) {\n return;\n }\n\n const el = document.createElement(\"textarea\"); // Create a