text: let Home={Index:function(){function t(){let t={Guid:$("#MenuGuid").val()};ajaxPost(n.GetSiteList,VerificationToken,t).then(function(n){console.debug("-- Loading EnityTypes");$.each(n.EntityTypeList,function(n,t){EntityTypes[n]=t.Value});console.debug(EntityTypes);console.debug("-- Loading EnvironmentTypes");$.each(n.EnvironmentTypeList,function(n,t){EnvironmentTypes[n]=t.Value});console.debug(EnvironmentTypes);n.Menus.length>0&&i(n.Menus[0].Sites)}).catch(n=>{ajaxError(n)});noWait()}function i(n){console.debug("-- BuildSliderContainer");$.each(n,function(n,t){console.debug("-- Card: "+n+" Data:");console.debug(t);let i='<div class="card">';i+='<div class="site-div card-header px-2 py-1" type="button" role="tab" id="heading-'+n+'">';i+='<h5 class="text-left text-dark mb-0">'+t.Description.trim()+"<\/h5>";i+="<\/div>";i+='<div id="collapse-'+n+'" class="collapse" role="tabpanel" aria-labelledby="heading-'+n+'">';i+='<div class="card-body text-left">';$.each(t.Urls,function(t,r){i+='<div class="card">';i+='<div class="url-div card-header text-center text-dark px-2 py-1" type="button" role="tab" id="heading-'+n+"-"+t+'"  data-href="'+r.Link+'">';i+='<h7 class="font-weight-bold mb-0">'+EnvironmentTypes[r.Environment]+"<\/h7>";i+="<\/div>";i+="<\/div>"});i+="<\/div>";i+="<\/div>";i+="<\/div>";$(i).appendTo("#sliderContainer")});$(".site-div").click(function(){let n=$(this).attr("id").indexOf("-");return n=$(this).attr("id").substring(n),$("#collapse"+n).slideToggle(1e3),!1});$(".url-div").click(function(){let n=$(this).data("href");window.location=n})}const n={GetSiteList:"/Home/GetSiteList"};$(document).ready(function(){t()})}};