1$(document).ready(function () { 2 $('.yearDropdown').hide(); 3 $('.initiateYearDropdown').on('click', function () { 4 $('.yearDropdown').slideToggle(200); 5 if ($('.forOnlyBlog li:first').text().trim() !== 'Select Years' && $('.forOnlyBlog li:first').text().trim()) { 6 $('.yearDropdown').prepend('<li class="eventNone" data-val="0">Select Years</li>'); 7 } 8 }); 9 $('.yearDropdown').on('click', 'li', function () { 10 $('.initiateYearDropdown').text($(this).text()).attr('data-val', $(this).attr('data-val')); 11 $('.yearDropdown').slideToggle(200); 12 if ($('.forOnlyBlog li:first').text().trim() !== 'Select Years' && $('.forOnlyBlog li:first').text().trim()) { 13 $('.yearDropdown').prepend('<li class="eventNone" data-val="0">Select Years</li>'); 14 } 15 }); 16 $(document).on('click', function (e) { 17 var dropdown = $('.yearDropdown'); 18 var initiateYearDropdown = $('.initiateYearDropdown'); 19 if (!dropdown.is(e.target) && !initiateYearDropdown.is(e.target) && dropdown.has(e.target).length === 0) { 20 dropdown.slideUp(200); 21 } 22 }); 23 $('.dropdown-custom').hover( 24 function () { 25 }, 26 function () { 27 $('.yearDropdown').slideUp(200); 28 } 29 ); 30 31 let typingTimer; 32 const doneTypingInterval = 10000; 33 $(".searchInput").on("keyup", function () { 34 clearTimeout(typingTimer); 35 36 $("#searchBox").show(); 37 $("#finalSearchData") 38 .empty() 39 .append('<li><a href="javascript:void(0)">Searching...</a></li>'); 40 41 var str = $(".searchInput").val().trim(); 42 if (str !== "" && str !== undefined && str !== null) { 43 $.ajax({
44 url: "searchData.php", 45 type: "GET", 46 data: { menuName: str }, 47 success: function (res) { 48 if (res !== "" && res !== undefined && res !== null) { 49 $("#finalSearchData").empty().append(res); 50 $("#searchBox").show(); 51 } else { 52 $("#finalSearchData") 53 .empty() 54 .append( 55 '<li><a href="javascript:void(0)">No Result Found...</a></li>' 56 ); 57 $("#searchBox").show(); 58 } 59 }, 60 error: function (error) { 61 console.log(error); 62 }, 63 }); 64 } else { 65 $("#searchBox").hide(); 66 $("#finalSearchData") 67 .empty() 68 .append('<li><a href="javascript:void(0)">Searching...</a></li>'); 69 } 70 }); 71 $(".searchInput").on("keydown", function () { 72 clearTimeout(typingTimer); 73 $("#searchBox").hide(); 74 $("#finalSearchData") 75 .empty() 76 .append('<li><a href="javascript:void(0)">Searching...</a></li>'); 77 }); 78}); 79// slider scripts start and submenu code 80 81$(".link").on("click", function () { 82 var $submenu_first = $(this).next(".submenu"); 83 var $arrow_first = $(this).find(".arrow-up"); 84 if ($submenu_first.is(":visible")) { 85 $submenu_first.slideUp(); 86 $arrow_first.css("transform", "rotate(0deg)"); 87 } else { 88 $(".submenu").slideUp(); 89 $submenu_first.slideDown(); 90 $arrow_first.css("transform", "rotate(180deg)"); 91 } 92}); 93 94$(".link_second").on("click", function () { 95 var $submenu = $(this).next(".submenu_second"); 96 var $arrow = $(this).find(".arrow-up-second"); 97 if ($submenu.is(":visible")) { 98 $submenu.slideUp(); 99 $arrow.css("transform", "rotate(0deg)"); 100 } else { 101 $(".submenu_second").slideUp(); 102 $submenu.slideDown(); 103 $arrow.css("transform", "rotate(180deg)"); 104 } 105}); 106 107// slider scripts end 108 109!(function (e) { 110 "use strict"; 111 function t() { 112 if ( 113 e(".industries-covered .outer-box").length && 114 e(window).width() >= 1200 115 ) { 116 var t = (e(window).width() - 1200) / 2; 117 e(".industries-covered .outer-box").css("margin-right", t); 118 } 119 } 120 function n() { 121 if (e(".main-header").length) { 122 var t = e(window).scrollTop(), 123 n = e(".main-header"), 124 a = e(".scroll-to-top"), 125 o = e(".main-header .sticky-header"); 126 t > 300 127 ? (n.addClass("fixed-header"), 128 o.addClass("animated slideInDown"), 129 a.fadeIn(300)) 130 : (n.removeClass("fixed-header"), 131 o.removeClass("animated slideInDown"), 132 a.fadeOut(300)); 133 } 134 } 135 if ( 136 (t(), 137 e(".time-countdown").length && 138 e(".time-countdown").each(function () { 139 var t = e(this), 140 n = e(this).data("countdown"); 141 t.countdown(n, function (t) { 142 e(this).html( 143 t.strftime( 144 '<div class="counter-column"><span class="count">%D</span>Days</div> <div class="counter-column"><span class="count">%H</span>Hours</div> <div class="counter-column"><span class="count">%M</span>Minutes</div> <div class="counter-column"><span class="count">%S</span>Seconds</div>' 145 ) 146 ); 147 }); 148 }), 149 e(".preloader-close").length && 150 e(".preloader-close").on("click", function () { 151 e(".loader-wrap").delay(200).fadeOut(500); 152 }), 153 (function (t) { 154 var n = document.createElement("li"); 155 n.classList.add("home-icon"); 156 var a = document.createElement("a"); 157 a.href = "#"; 158 var o = document.createElement("img"); 159 (o.src =
160 "https://resources.edunexttechnologies.com/web-data/modern-academy/images/home-icon-n.png"), 161 (o.alt = "Home Logo"), 162 a.appendChild(o), 163 n.appendChild(a); 164 var s = document.getElementsByClassName("addHome"); 165 if (s.length > 0) 166 for (var i = 0; i < s.length; i++) { 167 var l = n.cloneNode(!0); 168 s[i].insertBefore(l, s[i].firstChild); 169 } 170 let r = window.location.href.split("/").reverse()[0]; 171 t.find("li").each(function () { 172 let t = e(this).find("a"); 173 e(t).attr("href") == r && e(this).addClass("current"); 174 }), 175 t.children("li").each(function () { 176 e(this).find(".current").length && e(this).addClass("current"); 177 }), 178 "" == r && t.find("li").eq(0).addClass("current"); 179 })(e(".navbar").find(".navigation")), 180 e(window).scroll(function () { 181 e(this).scrollTop() > 700 182 ? e(".home-menu").removeClass("menuup") 183 : e(".home-menu").addClass("menuup"); 184 }), 185 n(), 186 e(".main-header li.dropdown ul").length && 187 e(".main-header .navigation li.dropdown").append( 188 '<div class="dropdown-btn"><span class="fa fa-angle-right"></span></div>' 189 ), 190 e(".hidden-sidebar").length) 191 ) { 192 var a = e(".sidemenu-nav-toggler"), 193 o = e(".hidden-sidebar"), 194 s = e(".nav-overlay"), 195 i = e(".hidden-sidebar-close"); 196 function t() { 197 TweenMax.to(o, 0.6, { 198 force3D: !1, 199 left: "-480px", 200 ease: Expo.easeInOut, 201 }), 202 o.addClass("close-sidebar"), 203 s.fadeOut(500); 204 } 205 a.on("click", function () { 206 o.hasClass("close-sidebar") 207 ? (TweenMax.to(o, 0.6, { 208 force3D: !1, 209 left: "0", 210 ease: Expo.easeInOut, 211 }), 212 o.removeClass("close-sidebar"), 213 s.fadeIn(500)) 214 : t(); 215 }), 216 s.on("click", function () { 217 t(); 218 }), 219 i.on("click", function () { 220 t(); 221 }); 222 } 223 if (e(".nav-overlay").length) { 224 var l = e(".nav-overlay .cursor"), 225 r = e(".nav-overlay .cursor-follower"), 226 c = 0, 227 d = 0, 228 u = 0, 229 p = 0; 230 TweenMax.to({}, 0.016, { 231 repeat: -1, 232 onRepeat: function () { 233 (c += (u - c) / 9), 234 (d += (p - d) / 9), 235 TweenMax.set(r, { css: { left: c - 22, top: d - 22 } }), 236 TweenMax.set(l, { css: { left: u, top: p } }); 237 }, 238 }), 239 e(document).on("mousemove", function (e) { 240 var t = window.pageYOffset || document.documentElement.scrollTop; 241 (u = e.pageX), (p = e.pageY - t); 242 }), 243 e("button, a").on("mouseenter", function () { 244 l.addClass("active"), r.addClass("active"); 245 }), 246 e("button, a").on("mouseleave", function () { 247 l.removeClass("active"), r.removeClass("active"); 248 }), 249 e(".nav-overlay").on("mouseenter", function () { 250 l.addClass("close-cursor"), r.addClass("close-cursor"); 251 }), 252 e(".nav-overlay").on("mouseleave", function () { 253 l.removeClass("close-cursor"), r.removeClass("close-cursor"); 254 }); 255 } 256 if (e(".mobile-menu").length) { 257 e(".mobile-menu .menu-box").niceScroll({ 258 cursorborder: "none", 259 cursorborderradius: "0px", 260 touchbehavior: !0, 261 bouncescroll: !1, 262 scrollspeed: 120, 263 mousescrollstep: 90, 264 horizrailenabled: !0, 265 preservenativescrolling: !0, 266 cursordragontouch: !0, 267 }); 268 var h = e(".main-header .nav-outer .navbar").html(); 269 e(".sticky-header .navbar").append(h), 270 e(".mobile-menu li.dropdown").on("click", function (event) { 271 event.stopPropagation(); 272 let menuThis = e(this); 273 if (menuThis.hasClass('subMenu')) { 274 menuThis.children('.sub-menu').slideToggle(500); 275 menuThis.children('.dropdown-btn').toggleClass("open"); 276 // return false; 277 } else { 278 e(".mobile-menu li.dropdown").not(menuThis).children('.dropdown-btn').removeClass("open"); 279 e(".mobile-menu li.dropdown").not(menuThis).children('ul').slideUp(500); 280 menuThis.children('.dropdown-btn').toggleClass("open"); 281 menuThis.children('ul').slideToggle(500); 282 } 283 }), 284 e(".mobile-nav-toggler,.mobile-toggler").on("click", function () { 285 if (e(window).outerWidth() > 1050) { 286 e(".main-menu").fadeToggle(300); 287 } else { 288 e("body").toggleClass("mobile-menu-visible"); 289 } 290 }), 291 e(".mobile-menu .menu-backdrop,.mobile-menu .close-btn,.scroll-nav li a").on("click", function () { 292 e("body").removeClass("mobile-menu-visible"); 293 }); 294 } 295 e(".side-menu").length && 296 (e(".side-menu .menu-box").niceScroll({ 297 cursorborder: "none",
298 cursorborderradius: "0px", 299 touchbehavior: !0, 300 bouncescroll: !1, 301 scrollspeed: 120, 302 mousescrollstep: 90, 303 horizrailenabled: !0, 304 preservenativescrolling: !0, 305 cursordragontouch: !0, 306 }), 307 e(".side-menu li.dropdown .dropdown-btn").on("click", function () { 308 if (e(this).hasClass("open")) { 309 e(this).removeClass("open"), e(this).prev("ul").slideUp(500); 310 } else { 311 e(this).addClass("open"), e(this).prev("ul").slideDown(500); 312 } 313 }), 314 e("body").addClass("side-menu-visible"), 315 e(".side-nav-toggler").on("click", function () { 316 e("body").addClass("side-menu-visible"); 317 }), 318 e(".side-menu .side-menu-resize").on("click", function () { 319 e("body").toggleClass("side-menu-visible"); 320 }), 321 e(".main-header .mobile-nav-toggler-two").on("click", function () { 322 e("body").addClass("side-menu-visible-s2"); 323 }), 324 e(".main-header .side-menu-overlay").on("click", function () { 325 e("body").removeClass("side-menu-visible-s2"); 326 })), 327 e("#search-popup").length && 328 (e(".search-toggler").on("click", function () { 329 e("#search-popup").addClass("popup-visible"); 330 }), 331 e(document).keydown(function (t) { 332 27 === t.keyCode && e("#search-popup").removeClass("popup-visible"); 333 }), 334 e(".close-search,.search-popup .overlay-layer").on("click", function () { 335 e("#search-popup").removeClass("popup-visible"); 336 })); 337 338 function b() { 339 if (e(".sortable-masonry").length) { 340 var t = e(window), 341 n = e(".sortable-masonry .items-container"), 342 a = e(".filter-btns"); 343 n.isotope({ 344 filter: ".all", 345 animationOptions: { duration: 500, easing: "linear" }, 346 }), 347 a.find("li").on("click", function () { 348 var t = e(this).attr("data-filter"); 349 try { 350 n.isotope({ 351 filter: t, 352 animationOptions: { duration: 500, easing: "linear", queue: !1 }, 353 }); 354 } catch (e) { } 355 return !1; 356 }), 357 t.on("resize", function () { 358 var e = a.find("li.active").attr("data-filter"); 359 n.isotope({ 360 filter: e, 361 animationOptions: { duration: 500, easing: "linear", queue: !1 }, 362 }), 363 n.isotope(); 364 }); 365 var o = e(".filter-btns li"); 366 o.on("click", function () { 367 var t = e(this); 368 t.hasClass("active") || (o.removeClass("active"), t.addClass("active")); 369 }), 370 n.isotope("on", "layoutComplete", function (t, n) { 371 t = n.length; 372 e(".filters .count").html(t); 373 }); 374 } 375 } 376 if ( 377 (e(".languages").click(function () { 378 e(".languages ul").show(); 379 }), 380 e(".languages ul").mouseleave(function () { 381 e(".languages ul").hide(); 382 }), 383 e(".languages li a").click(function () { 384 e(".languages li a").removeClass("sel"), e(this).addClass("sel"); 385 var t = e(this).text(), 386 n = t.substring(0, 2); 387 e(".languages .current").html(n), 388 e(".languages .current").attr("title", t), 389 e(".languages .hover").html(t); 390 }), 391 e(".price-range-slider").length && 392 (e(".price-range-slider").slider({ 393 range: !0, 394 min: 10, 395 max: 200, 396 values: [10, 99], 397 slide: function (t, n) { 398 e("input.property-amount").val(n.values[0] + " - " + n.values[1]); 399 }, 400 }), 401 e("input.property-amount").val( 402 e(".price-range-slider").slider("values", 0) + 403 " - $" + 404 e(".price-range-slider").slider("values", 1) 405 )), 406 e(".lazy-image").length && 407 new LazyLoad({ 408 elements_selector: ".lazy-image", 409 load_delay: 0, 410 threshold: 300, 411 }), 412 e(".theme_carousel").length && 413 e(".theme_carousel").each(function (t) { 414 var n = {}, 415 a = e(this).data("options"); 416 e.extend(n, a), e(this).owlCarousel(n); 417 }), 418 e(".count-bar").length && 419 e(".count-bar").appear( 420 function () { 421 var t = e(this), 422 n = t.data("percent"); 423 e(t).css("width", n).addClass("counted"); 424 },
425 { accY: -50 } 426 ), 427 e(".quantity-spinner").length && 428 e("input.quantity-spinner").TouchSpin({ verticalbuttons: !0 }), 429 e(".count-box").length && 430 e(".count-box").appear( 431 function () { 432 var t = e(this), 433 n = t.find(".count-text").attr("data-stop"), 434 a = parseInt(t.find(".count-text").attr("data-speed"), 10); 435 t.hasClass("counted") || 436 (t.addClass("counted"), 437 e({ countNum: t.find(".count-text").text() }).animate( 438 { countNum: n }, 439 { 440 duration: a, 441 easing: "linear", 442 step: function () { 443 t.find(".count-text").text(Math.floor(this.countNum)); 444 }, 445 complete: function () { 446 t.find(".count-text").text(this.countNum); 447 }, 448 } 449 )); 450 }, 451 { accY: 0 } 452 ), 453 e(".tabs-box").length && 454 e(".tabs-box .tab-buttons .tab-btn").on("click", function (t) { 455 t.preventDefault(); 456 var n = e(e(this).attr("data-tab")); 457 if (e(n).is(":visible")) return !1; 458 n 459 .parents(".tabs-box") 460 .find(".tab-buttons") 461 .find(".tab-btn") 462 .removeClass("active-btn"), 463 e(this).addClass("active-btn"), 464 n.parents(".tabs-box").find(".tabs-content").find(".tab").fadeOut(0), 465 n 466 .parents(".tabs-box") 467 .find(".tabs-content") 468 .find(".tab") 469 .removeClass("active-tab"), 470 e(n).fadeIn(300), 471 e(n).addClass("active-tab"); 472 }), 473 e(".accordion-box").length && 474 e(".accordion-box").on("click", ".acc-btn", function () { 475 var t = e(this).parents(".accordion-box"), 476 n = e(this).parents(".accordion"); 477 if ( 478 (!0 !== e(this).hasClass("active") && 479 e(t).find(".accordion .acc-btn").removeClass("active"), 480 e(this).next(".acc-content").is(":visible")) 481 ) 482 return !1; 483 e(this).addClass("active"), 484 e(t).children(".accordion").removeClass("active-block"), 485 e(t).find(".accordion").children(".acc-content").slideUp(300), 486 n.addClass("active-block"), 487 e(this).next(".acc-content").slideDown(300); 488 }), 489 e(".lightbox-image").length && 490 e(".lightbox-image").fancybox({ 491 openEffect: "fade", 492 closeEffect: "fade", 493 helpers: { media: {} }, 494 }), 495 b(), 496 e(".testimonial-carousel").length) 497 ) 498 if ( 499 (e(".project-tab").length && 500 e(".project-tab .project-tab-btns .p-tab-btn").on( 501 "click", 502 function (t) { 503 t.preventDefault(); 504 var n = e(e(this).attr("data-tab")); 505 if (e(n).hasClass("actve-tab")) return !1; 506 e(".project-tab .project-tab-btns .p-tab-btn").removeClass( 507 "active-btn" 508 ), 509 e(this).addClass("active-btn"), 510 e(".project-tab .p-tabs-content .p-tab").removeClass( 511 "active-tab" 512 ), 513 e(n).addClass("active-tab"); 514 } 515 ), 516 e(".single-image-carousel").length) 517 ) 518 (function f() { 519 if (e(".isotope-block").length) e(".isotope-block").isotope(); 520 })( 521 e(".project-tab").length && 522 e(".project-tab .project-tab-btns .p-tab-btn").on( 523 "click", 524 function (t) { 525 t.preventDefault(); 526 var n = e(e(this).attr("data-tab")); 527 if (e(n).hasClass("actve-tab")) return !1; 528 e(".project-tab .project-tab-btns .p-tab-btn").removeClass( 529 "active-btn" 530 ), 531 e(this).addClass("active-btn"), 532 e(".project-tab .p-tabs-content .p-tab").removeClass( 533 "active-tab" 534 ), 535 e(n).addClass("active-tab"); 536 } 537 ), 538 f(), 539 e(".progress-levels .progress-box .bar-fill").length && 540 e(".progress-box .bar-fill").each(function () { 541 var t = e(this).attr("data-percent"); 542 e(this).css("width", t + "%"), 543 e(this) 544 .children(".percent") 545 .html(t + "%"); 546 }), 547 e(".scroll-to-target").length && 548 e(".scroll-to-target").on("click", function () { 549 var t = e(this).attr("data-target"); 550 e("html, body").animate({ scrollTop: e(t).offset().top }, 1500); 551 }), 552 e(".ajax-sub-form").length > 0 && 553 (e(".ajax-sub-form").ajaxChimp({ 554 language: "es", 555 url: "https://gmail.us17.list-manage.com/subscribe/post?u=8a43765a655b07d21fa500e4e&id=2eda0a58a7", 556 }), 557 (e.ajaxChimp.translations.es = { 558 submit: "Submitting...", 559 0: "Thanks for your subscription", 560 1: "Please enter a valid email", 561 2: "An email address must contain a single @", 562 3: "The domain portion of the email address is invali
562d (the portion after the @: )", 563 4: "The username portion of the email address is invalid (the portion before the @: )", 564 5: "This email address looks fake or invalid. Please enter a real email address", 565 })), 566 e(".dropdown-menu a.dropdown-toggle").length && 567 e(".dropdown-menu a.dropdown-toggle").on("click", function (t) { 568 return ( 569 e(this).closest(".dropdown").hasClass("show") || 570 e(this) 571 .closest(".dropdown") 572 .first() 573 .find(".show") 574 .removeClass("show"), 575 e(this).closest(".dropdown").toggleClass("show"), 576 e(this) 577 .parents("li.nav-item.dropdown.show") 578 .on("hidden.bs.dropdown", function (t) { 579 e(".dropdown-submenu .show").removeClass("show"); 580 }), 581 !1 582 ); 583 }), 584 e(".wow").length 585 ) && 586 new WOW({ 587 boxClass: "wow", 588 animateClass: "animated", 589 offset: 0, 590 mobile: !0, 591 live: !0, 592 }).init(); 593 e(".scroll-nav").length && e(".scroll-nav ul").onePageNav(), 594 e(window).on("resize", function () { 595 t(); 596 }), 597 jQuery(window).on("scroll", function () { 598 n(); 599 }), 600 jQuery(window).on("load", function () { 601 e(".loader-wrap").length && e(".loader-wrap").delay(1e3).fadeOut(500), 602 TweenMax.to(e(".loader-wrap .overlay"), 1.2, { 603 force3D: !0, 604 left: "100%", 605 ease: Expo.easeInOut, 606 }), 607 b(), 608 e(".banner-slider").length > 0 && 609 new Swiper(".banner-slider", { 610 preloadImages: !1, 611 loop: !0, 612 grabCursor: !0, 613 centeredSlides: !1, 614 resistance: !0, 615 resistanceRatio: 0.6, 616 speed: 1400, 617 spaceBetween: 0, 618 parallax: !1, 619 effect: "slide", 620 autoplay: { delay: 3e3, disableOnInteraction: !1 }, 621 pagination: { el: ".banner-slider-pagination", clickable: !0 }, 622 navigation: { 623 nextEl: ".banner-slider-button-next", 624 prevEl: ".banner-slider-button-prev", 625 }, 626 }); 627 if (!e(".mobile-menu li.dropdown .dropdown-btn").hasClass("open")) { 628 e(".mobile-menu li.dropdown:not(.current) .dropdown-btn") 629 .prev("ul") 630 .slideUp(500); 631 } 632 e(".mobile-menu li.dropdown.current") 633 .find(".dropdown-btn") 634 .addClass("open"); 635 }); 636})(window.jQuery); 637// full mobile menu item add 638 639// ============ SLIDER CODES ============ 640 641// ------------------------------ HOME SLIDER CODES ------------------------------ 642$(".home-page-slider").owlCarousel({ 643 dots: false, 644 loop: true, 645 margin: 10, 646 nav: true, 647 autoplay: true, 648 responsive: { 649 0: { 650 nav: false, 651 items: 1, 652 }, 653 600: { 654 items: 1, 655 }, 656 1000: { 657 items: 1, 658 }, 659 }, 660}); 661 662// ------------------------------ DIGNITARY SLIDER CODES ------------------------------ 663$(".dignitary-carousel").owlCarousel({ 664 dots: false, 665 loop: true, 666 margin: 10, 667 nav: false, 668 smartSpeed: 500, 669 autoplaySpeed: 1000, 670 autoplay: true, 671 responsive: { 672 0: { 673 nav: false, 674 items: 1, 675 }, 676 600: { 677 items: 1, 678 }, 679 1000: { 680 items: 1, 681 }, 682 }, 683}); 684// navs ----- 685$(".dignitary-carousel").owlCarousel(); 686$(".digNext").click(function () { 687 $(".dignitary-carousel").trigger("next.owl.carousel"); 688}); 689$(".digPrev").click(function () { 690 $(".dignitary-carousel").trigger("prev.owl.carousel", [300]); 691}); 692 693// ------------------------------ TOPPERX SLIDER CODES ------------------------------ 694$(".topperx-carousel").owlCarousel({ 695 dots: false, 696 loop: true, 697 margin: 50, 698 nav: false, 699 autoplay: true, 700 responsive: { 701 0: { 702 nav: false, 703 items: 1, 704 }, 705 600: { 706 items: 2, 707 }, 708 1000: { 709 items: 3, 710 }, 711 }, 712}); 713 714$(".whychoose-carousel").owlCarousel({ 715 dots: false, 716 loop: true, 717 margin: 20, 718 nav: false, 719 autoplay: true, 720 responsive: { 721 0: { 722 nav: false, 723 items: 1, 724 }, 725 600: { 726 items: 2, 727 }, 728 1000: { 729 items: 3, 730 }, 731 }, 732}); 733 734// ------------------------------ VOICE SLIDER CODES ------------------------------ 735$(".voice-owl").owlCarousel({ 736 dots: false, 737 loop: true, 738 margin: 20, 739 nav: false, 740 autoplay: true, 741 responsive: { 742 0: { 743 nav: false, 744 items: 1.25, 745 }, 746 768: { 747 items: 2.25, 748 }, 749 1024: { 750 items: 3.25, 751 }, 752 }, 753}); 754// navs ---------- 755$(".voice-owl").owlCarousel(); 756$(".voiceNextBtn").click(function () { 757 $(".voice-owl").trigger("next.owl.carousel"); 758}); 759$(".voicePrevBtn").click(function () { 760 $(".voice-owl").trigger("prev.owl.carousel", [300]); 761}); 762 763// ------------------------------ NOTICE SLIDER CODES ------------------------------ 764 765 766 767// ------------------------------ PROUD MOMENTS SLIDER CODES ------------------------------ 768var main = new Splide("#main-slider", { 769 type: "fade", 770 pagination: false,
771 arrows: false, 772 cover: true, 773 autoplay: true, 774 interval: 3000, 775 pauseOnHover: false, 776 rewind: true, 777 speed: 800, 778}); 779// DOTS OF PROUD MOMENTS SLIDER -------- 780var thumbnails = new Splide("#thumbnail-slider", { 781 rewind: true, 782 fixedWidth: 104, 783 fixedHeight: 58, 784 arrows: true, 785 isNavigation: true, 786 gap: 10, 787 focus: 0, 788 pagination: false, 789 cover: true, 790 dragMinThreshold: { 791 mouse: 4, 792 touch: 10, 793 }, 794 autoplay: true, 795 interval: 3000, 796 pauseOnHover: false, 797 speed: 800, 798 breakpoints: { 799 640: { 800 fixedWidth: 66, 801 fixedHeight: 38, 802 }, 803 }, 804}); 805// -------- 806main.sync(thumbnails); 807main.mount(); 808thumbnails.mount(); 809// -------- 810const tabButtons = document.querySelectorAll(".tab-button"); 811const tabContents = document.querySelectorAll(".tab-content"); 812tabButtons.forEach((button) => { 813 button.addEventListener("click", () => { 814 tabButtons.forEach((btn) => btn.classList.remove("active")); 815 tabContents.forEach((content) => content.classList.remove("active")); 816 817 button.classList.add("active"); 818 document.getElementById(button.dataset.tab).classList.add("active"); 819 }); 820}); 821 822// ------------------------------ TABsYSTEM SLIDER CODES ------------------------------ 823$(document).ready(function () { 824 $(".tab-owl").owlCarousel({ 825 loop: true, 826 margin: 20, 827 nav: false, 828 dots: true, 829 autoplay: true, 830 autoplayTimeout: 3000, 831 responsive: { 832 0: { 833 items: 1, 834 }, 835 768: { 836 items: 2, 837 }, 838 1024: { 839 items: 4, 840 }, 841 }, 842 }); 843}); 844$(".tab-next").click(function () { 845 $(".tab-owl").trigger("next.owl.carousel"); 846}); 847$(".tab-prev").click(function () { 848 $(".tab-owl").trigger("prev.owl.carousel", [300]); 849}); 850// navs ---------- 851$(".clickBtn").on("click", function () { 852 $(this).find("i").toggleClass("fa-link fa-xmark"); 853 854 const span = $(this).siblings(".sMedia").find(".sMediaSpan"); 855 856 if (span.html().trim() === "Social Media") { 857 span.html("Close"); 858 } else { 859 span.html("Social Media"); 860 } 861 $(".s-Links").toggleClass("active"); 862});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.