var responsiveHtml=$(".responsiveMenu").html(),responsiveMenuHtml;responsiveHtml&&responsiveHtml!=undefined?($("#navbarSupportedContent2").append(responsiveHtml),$("#navbarSupportedContent2").children(":first").addClass("d-block d-sm-none"),$("#btnresponsiveHtml").addClass("d-block d-sm-none"),$(".layoutSection .responsiveMenu").children(":first").addClass("d-none d-md-block")):($("#btnresponsiveHtml").removeClass("d-block d-sm-none"),$("#btnresponsiveHtml").addClass("d-none d-sm-block"));responsiveMenuHtml=$(".layoutSection").find(".responsiveContentBlockMenu").html();responsiveMenuHtml&&responsiveMenuHtml!=undefined&&($("#navbarSupportedContent2").append(responsiveMenuHtml),$("#navbarSupportedContent2").children(":first").addClass("d-block d-sm-none"),$("#btnresponsiveHtml").addClass("d-block d-sm-none"),$(".layoutSection .responsiveContentBlockMenu").children(":first").addClass("d-none d-md-block"));$(function(){function r(n){var r=$("#"+n+" .sub-menu-item-ul-invisible").width(),t=0,i=0;$("#"+n+" .sub-menu-item-ul-invisible li").each(function(){t=t+($(this).width()+20);var n=$(this).children().html();r>t?(i=i+1,$(this).parent().parent().find(".custom-sub-menu-item-ul").append('