"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[774],{3774:(e,t,a)=>{a.r(t);var n=a(4692),c=a.n(n);window.$=window.jQuery=c(),function(){var e,t=document.getElementById("back-to-top");function a(e){1==e?null!==document.querySelector(".screen-darken")&&document.querySelector(".screen-darken").classList.add("active"):0==e&&null!==document.querySelector(".screen-darken")&&document.querySelector(".screen-darken").classList.remove("active")}function n(){a(!1),null!==document.querySelector(".mobile-offcanvas.show")&&(document.querySelector(".mobile-offcanvas.show").classList.remove("show"),document.body.classList.remove("offcanvas-active"))}t&&(t.classList.add("animate__animated","animate__fadeOut"),window.addEventListener("scroll",(function(){document.documentElement.scrollTop>250?(t.classList.remove("animate__fadeOut"),t.classList.add("animate__fadeIn")):(t.classList.remove("animate__fadeIn"),t.classList.add("animate__fadeOut"))})),document.querySelector("#top").addEventListener("click",(function(e){e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})}))),document.querySelectorAll("[data-trigger]").forEach((function(e){var t=e.getAttribute("data-trigger");e.addEventListener("click",(function(e){e.preventDefault(),function(e){a(!0),null!==document.getElementById(e)&&(document.getElementById(e).classList.add("show"),document.body.classList.add("offcanvas-active"))}(t)}))})),document.querySelectorAll(".btn-close")&&document.querySelectorAll(".btn-close").forEach((function(e){e.addEventListener("click",(function(){n()}))})),document.querySelector(".screen-darken")&&document.querySelector(".screen-darken").addEventListener("click",(function(){n()})),document.querySelector("#navbarSideCollapse")&&document.querySelector("#navbarSideCollapse").addEventListener("click",(function(){document.querySelector(".offcanvas-collapse").classList.toggle("open")})),e=document.querySelectorAll(".readmore-btn"),document.querySelectorAll(".readmore-text"),e.forEach((function(e){e.addEventListener("click",(function(){var t=e.previousElementSibling;t.classList.contains("active")?(t.classList.remove("active"),e.innerHTML="Read More"):(t.classList.add("active"),e.innerHTML="Read less")}))})),c()(window).scroll((function(){var e=c()("header .iq-navbar");c()(window).scrollTop()>=100?e.addClass("fixed"):e.removeClass("fixed")})),c()(document).ready((function(){"dark"===localStorage.getItem("data-bs-theme")?c()("html").attr("data-bs-theme","dark"):c()("html").attr("data-bs-theme","light"),c()(".change-mode").on("click",(function(){var e="dark"===c()(this).data("change-mode")?"light":"dark";c()("html").attr("data-bs-theme",e),localStorage.setItem("data-bs-theme",e),c()(this).data("change-mode",e)}))})),c()(".select2").select2({width:"100%"}),c()(".select2-container").addClass("wide")}()}}]);