text: function getUrlParams(e){var t,n,a=window.location.search.substring(1).split("&");for(n=0;n<a.length;n++)if((t=a[n].split("="))[0]===e)return void 0===t[1]||decodeURIComponent(t[1])}var Vora=function(){var e=$(window).width(),t=function(){jQuery(".default-select").length>0&&jQuery(".default-select").selectpicker()},n=function(){$("#preloader").fadeOut(500),$("#main-wrapper").addClass("show")};return{init:function(){var a;t(),n(),jQuery("#menu").length>0&&$("#menu").metisMenu(),jQuery(".metismenu > .mm-active ").each(function(){!jQuery(this).children("ul").length>0&&jQuery(this).addClass("active-no-child")}),$("#checkAll").on("change",function(){$("td input:checkbox, .custom-checkbox input:checkbox").prop("checked",$(this).prop("checked"))}),$(".nav-control").on("click",function(){$("#main-wrapper").toggleClass("menu-toggle"),$(".hamburger").toggleClass("is-active")}),function(){for(var e=window.location,t=$("ul#menu a").filter(function(){return this.href==e}).addClass("mm-active").parent().addClass("mm-active");t.is("li");)t=t.parent().addClass("mm-show").parent().addClass("mm-active")}(),$(".custom-file-input").on("change",function(){var e=$(this).val().split("\\").pop();$(this).siblings(".custom-file-label").addClass("selected").html(e)}),$("ul#menu>li").on("click",function(){"mini"===$("body").attr("data-sidebar-style")&&(console.log($(this).find("ul")),$(this).find("ul").stop())}),a=window.outerHeight,((a=window.outerHeight)>0?a:screen.height)&&$(".content-body").css("min-height",a+60+"px"),$('a[data-action="collapse"]').on("click",function(e){e.preventDefault(),$(this).closest(".card").find('[data-action="collapse"] i').toggleClass("mdi-arrow-down mdi-arrow-up"),$(this).closest(".card").children(".card-body").collapse("toggle")}),$('a[data-action="expand"]').on("click",function(e){e.preventDefault(),$(this).closest(".card").find('[data-action="expand"] i').toggleClass("icon-size-actual icon-size-fullscreen"),$(this).closest(".card").toggleClass("card-fullscreen")}),$('[data-action="close"]').on("click",function(){$(this).closest(".card").removeClass().slideUp("fast")}),$('[data-action="reload"]').on("click",function(){var e=$(this);e.parents(".card").addClass("card-load"),e.parents(".card").append('<div class="card-loader"><i class=" ti-reload rotate-refresh"></div>'),setTimeout(function(){e.parents(".card").children(".card-loader").remove(),e.parents(".card").removeClass("card-load")},2e3)}),function(){const e=$(".header").innerHeight();$(window).scroll(function(){"horizontal"===$("body").attr("data-layout")&&"static"===$("body").attr("data-header-position")&&"fixed"===$("body").attr("data-sidebar-position")&&($(this.window).scrollTop()>=e?$(".deznav").addClass("fixed"):$(".deznav").removeClass("fixed"))})}(),jQuery(".dlab-scroll").each(function(){var e=jQuery(this).attr("id");new PerfectScrollbar("#"+e,{wheelSpeed:2,wheelPropagation:!0,minScrollbarLength:20})}),e<=991&&(jQuery(".menu-tabs .nav-link").on("click",function(){jQuery(this).hasClass("open")?(jQuery(this).removeClass("open"),jQuery(".fixed-content-box").removeClass("active"),jQuery(".hamburger").show()):(jQuery(".menu-tabs .nav-link").removeClass("open"),jQuery(this).addClass("open"),jQuery(".fixed-content-box").addClass("active"),jQuery(".hamburger").hide())}),jQuery(".close-fixed-content").on("click",function(){jQuery(".fixed-content-box").removeClass("active"),jQuery(".hamburger").removeClass("is-active"),jQuery("#main-wrapper").removeClass("menu-toggle"),jQuery(".hamburger").show()})),jQuery(".bell-link").on("click",function(){jQuery(".chatbox").addClass("active")}),jQuery(".chatbox-close").on("click",function(){jQuery(".chatbox").removeClass("active")}),$(".btn-number").on("click",function(e){e.preventDefault(),fieldName=$(this).attr("data-field"),type=$(this).attr("data-type");var t=$("input[name='"+fieldName+"']"),n=parseInt(t.val());isNaN(n)?t.val(0):"minus"==type?t.val(n-1):"plus"==type&&t.val(n+1)}),jQuery(".dlab-chat-user-box .dlab-chat-user").on("click",function(){jQuery(".dlab-chat-user-box").addClass("d-none"),jQuery(".dlab-chat-history-box").removeClass("d-none")}),jQuery(".dlab-chat-history-back").on("click",function(){jQuery(".dlab-chat-user-box").removeClass("d-none"),jQuery(".dlab-chat-history-box").addClass("d-none")}),jQuery(".dlab-fullscreen").on("click",function(){jQuery(".dlab-fullscreen").toggleClass("active")}),$(".dlab-load-more").on("click",function(e){e.preventDefault(),$(this).append(' <i class="fa fa-refresh"></i>');var t=$(this).attr("rel"),n=$(this).attr("id");$.ajax({method:"POST",url:t,dataType:"html",success:function(e){$("#"+n+"Content").append(e),$(".dlab-load-more i").remove()}})}),jQuery(".dlab-fullscreen").on("click",function(e){document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.webkitRequestFullscreen?document.documentElement.webkitRequestFullscreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.msRequestFullscreen&&document.documentElement.msRequestFullscreen()}),jQuery(".dlabnav-scroll").length>0&&new PerfectScrollbar(".dlabnav-scroll"),$(".heart").on("click",function(){$(this).toggleClass("heart-blast")}),jQuery(".show-pass").on("click",function(){jQuery(this).toggleClass("active"),"password"==jQuery("#dz-password").attr("type")?jQuery("#dz-password").attr("type","text"):"text"==jQuery("#dz-password").attr("type")&&jQuery("#dz-password").attr("type","password")}),jQuery("#lightgallery, .lightgallery").length>0&&$("#lightgallery, .lightgallery").lightGallery({thumbnail:!0})},load:function(){t(),n()},resize:function(){}}}();jQuery(document).ready(function(){"use strict";Vora.init()}),jQuery(window).on("load",function(){"use strict";Vora.load()}),jQuery(window).on("resize",function(){"use strict";Vora.resize()});