1"use strict"; 2window.isRtl = window.Helpers.isRtl(), 3window.isDarkStyle = window.Helpers.isDarkStyle(), 4function() { 5 const t = document.getElementById("navbarSupportedContent"), 6 o = document.querySelector(".layout-navbar"), 7 e = document.querySelectorAll(".navbar-nav .nav-link"); 8 function a() { 9 t.classList.remove("show") 10 } 11 setTimeout(function() { 12 window.Helpers.initCustomOptionCheck() 13 }, 1e3), 14 [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(e) { 15 return new bootstrap.Tooltip(e) 16 }), 17 isRtl && Helpers._addClass("dropdown-menu-end", document.querySelectorAll("#layout-navbar .dropdown-menu")), 18 window.addEventListener("scroll", e => { 19 10 < window.scrollY ? o.classList.add("navbar-active") : o.classList.remove("navbar-active") 20 }), 21 window.addEventListener("load", e => { 22 10 < window.scrollY ? o.classList.add("navbar-active") : o.classList.remove("navbar-active") 23 }), 24 document.addEventListener("click", function(e) { 25 t.contains(e.target) || a() 26 }), 27 e.forEach(t => { 28 t.addEventListener("click", e => { 29 t.classList.contains("dropdown-toggle") ? e.preventDefault() : a() 30 }) 31 }), 32 isRtl && Helpers._addClass("dropdown-menu-end", document.querySelectorAll(".dropdown-menu")); 33 var l, 34 n = document.querySelectorAll(".nav-link.mega-dropdown"), 35 n = (n && n.forEach(e => { 36 new MegaDropdown(e) 37 }), document.querySelector(".dropdown-style-switcher")), 38 s = localStorage.getItem("templateCustomizer-" + templateName + "--Style") || (window.templateCustomizer?.settings?.defaultStyle ?? "light"); 39 window.templateCustomizer && n && ([].slice.call(n.children[1].querySelectorAll(".dropdown-item")).forEach(function(e) { 40 e.addEventListener("click", function() { 41 var e = this.getAttribute("data-theme"); 42 "light" === e ? window.templateCustomizer.setStyle("light") : "dark" === e ? window.templateCustomizer.setStyle("dark") : window.templateCustomizer.setStyle("system") 43 }) 44 }), n = n.querySelector("i"), "light" === s ? (n.classList.add("bx-sun"), new bootstrap.Tooltip(n, { 45 title: "Light Mode", 46 fallbackPlacements: ["bottom"] 47 }
47)) : "dark" === s ? (n.classList.add("bx-moon"), new bootstrap.Tooltip(n, { 48 title: "Dark Mode", 49 fallbackPlacements: ["bottom"] 50 })) : (n.classList.add("bx-desktop"), new bootstrap.Tooltip(n, { 51 title: "System Mode", 52 fallbackPlacements: ["bottom"] 53 }))), 54 "system" === (l = s) && (l = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), 55 [].slice.call(document.querySelectorAll("[data-app-" + l + "-img]")).map(function(e) { 56 var t = e.getAttribute("data-app-" + l + "-img"); 57 e.src = assetsPath + "img/" + t 58 }) 59}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.