www.tva.com
Open in
urlscan Pro
2606:4700:4400::ac40:931b
Public Scan
URL:
https://www.tva.com/ResourcePackages/Bootstrap4/assets/dist/js/main4.min.js
Submission Tags: falconsandbox
Submission: On November 23 via api from US — Scanned from DE
Submission Tags: falconsandbox
Submission: On November 23 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(t,s){var e=0<s?0|s:0;return this.substring(e,e+t.length)===t}});var $navControl=$(".nav-control"),$nav=$("nav"),$navGroups=$(".nav-item-group"),state="active";$navControl.on("click",function(){$(this).add($nav).toggleClass(state),$(this).hasClass(state)&&$navGroups.removeClass(state)}),$(".nav-heading").each(function(){$(this).on("click",function(){var t=$(this).closest($navGroups);$navGroups.not(t).removeClass(state),t.toggleClass(state)})});var $searchControl=$(".search-control"),$searchForm=$(".search-form"),state="active";$searchControl.on("click",function(){$(this).add($searchForm).addClass(state)});var $closeForm=$(".close-control");$closeForm.on("click",function(){$(this).add($searchForm).removeClass(state)});var cat,categories={environment:"env",energy:"energy","economic-development":"econ","about-tva":"about","kids/what-is-tva":"kidswhat","kids/protecting-the-environment":"kidsenv","kids/electricity":"kidselec","kids/running-the-river":"kidsriv","kids/tva-history":"kidshis","kids/resources":"kidsres"},pathname=window.location.pathname;for(cat in categories)if(0===pathname.indexOf("/"+cat)||0===pathname.indexOf(cat)){document.body.classList.add("page-category-"+categories[cat]);break}var suffixes=[];$('[class*="hover-swap-img"]').each(function(){var e="hover-swap-img",a="";$.each(this.classList,function(t,s){if(s.startsWith(e))return a=s.substring(e.length),!1});var t,s=$(".hover-swap-area"+a);s.length?s.append(this):(suffixes.push(a),(t=$('<div class="hover-swap-area'+a+'"></div>')).insertBefore(this),t.append(this))}),suffixes.forEach(function(t){$imgs=$(".hover-swap-img"+t),$triggers=$(".hover-swap-trigger"+t),$imgs.each(function(t,s){$triggers[t]&&$($triggers[t]).mouseenter(function(){$(s).addClass("active"),$(s).siblings().removeClass("active")})})});