1var cargohub = cargohub || {}; 2! function(e) { 3 "use strict"; 4 e(function() { 5 var a = e("body"), 6 t = e(window), 7 i = e("#masthead"), 8 s = e("#primary-mobile-nav"), 9 n = e(".header-transparent .site-header"), 10 o = e(".post-type-archive-project .content-area .list-project"); 11 t.scroll(function() { 12 e(window).scrollTop() > e(window).height() ? e("#scroll-top").addClass("show-scroll") : e("#scroll-top").removeClass("show-scroll") 13 }), e("#scroll-top").on("click", function(a) { 14 a.preventDefault(), e("html, body").stop().animate({ 15 scrollTop: 0 16 }, 1200) 17 }), e(".gallery").each(function() { 18 var a = e(this); 19 a.find(".gallery-item a").attr("rel", a.attr("id")).addClass("fancybox") 20 }), e(".fancybox").fancybox({ 21 openEffect: "none", 22 closeEffect: "none" 23 }), t.on("resize", function() { 24 var s, o, l; 25 o = t.width() < 1200 && a.hasClass("hide-topbar-mobile") ? 0 : e(".topbar").outerHeight(!0), a.hasClass("admin-bar") ? (n.css({ 26 top: o + 32 27 }), e(".header-v4 .site-header").css({ 28 top: o + 32 29 })) : (n.css({ 30 top: o 31 }), e(".header-v4 .site-header").css({ 32 top: o 33 })), t.on("scroll", function() { 34 o = t.width() < 1200 && a.hasClass("hide-topbar-mobile") ? 0 : e(".topbar").outerHeight(!0), l = o, (a.hasClass("header-v4") || a.hasClass("header-v3")) && (l = o + e(".site-contact").outerHeight(!0)), t.scrollTop() > l ? (i.addClass("minimized"), e("#fh-header-minimized").addClass("minimized")) : (i.removeClass("minimized"), e("#fh-header-minimized").removeClass("minimized")) 35 }), s = a.hasClass("header-v3") && t.width() > 1199 ? e(".site-menu").outerHeight(!0) : i.outerHeight(!0), a.hasClass("header-sticky") && e("#fh-header-minimized").height(s) 36 }).trigger("resize"), e(window).load(function() { 37 e(".fh-latest-project").find(".list-project").isotope({ 38 itemSelector: ".project", 39 layoutMode: "fitRows" 40 }), e("ul.filter li.active").trigger("click") 41 }), e("ul.filter").on("click", "li", function(a) { 42 a.preventDefault(); 43 var t = e(this), 44 i = t.attr("data-option-value"); 45 t.hasClass("active") || (t.closest(".filters-dropdown").next(".list-project").isotope({ 46 filter: i 47 }), t.addClass("active").siblings(".active").removeClass("active")) 48 }) 49 /*, o.imagesLoaded(function() { 50 var e = { 51 itemSelector: ".project-wrapper", 52 percentPosition: !0 53 }; 54 a.hasClass("project-mansony") && (e.masonry = { 55 columnWidth: ".project-sizer" 56 }), o.isotope(e) 57 })*/ 58 , a.on("click", ".quantity .increase, .quantity .decrease", function(a) { 59 a.preventDefault(); 60 var t = e(this), 61 i = t.siblings(".qty"), 62 s = parseInt(i.val(), 10), 63 n = parseInt(i.attr("min"), 10), 64 o = parseInt(i.attr("max"), 10); 65 o = o || s + 1, t.hasClass("decrease") && s > n && (i.val(s - 1), i.trigger("change")), t.hasClass("increase") && s < o && (i.val(s + 1), i.trigger("change")) 66 }), e(".project-carousel").owlCarousel({ 67 items: 1, 68 loop: !0, 69 navSpeed: 800, 70 nav: !1, 71 dots: !0, 72 autoPlay: !0, 73 dotsSpeed: 1e3, 74 navText: ['<i class="fa fa-chevron-left" aria-hidden="true"></i>', '<i class="fa fa-chevron-right" aria-hidden="true"></i>'] 75 }); 76 /*for (var l = e(".page-header .header-title"), r = 0; r < l.length; r++) e(l[r]).parallax("50%", .6); 77 e(".post-type-archive-project").find(".numeric-navigation").on("click", ".page-numbers.next", function(t) { 78 if (t.preventDefault(), !e(this).data("requestRunning")) { 79 e(this).data("requestRunning", !0), e(this).addClass("loading"); 80 var i = e(this).parents(".numeric-navigation").prev(".list-project"), 81 s = e(this).parents(".numeric-navigation"); 82 e.get(e(this).attr("href"), function(t) { 83 var n = e(t).find(".list-project").html(), 84 o = e(t).find(".numeric-navigation").html(), 85 l = e(n); 86 s.html(o), a.hasClass("project-nav-ajax") ? l.imagesLoaded(function() { 87 i.isotope("insert", l), s.find(".page-numbers.next").removeClass("loading") 88 }) : (i.append(l), s.find(".page-numbers.next").removeClass("loading")), s.find(".page-numbers.next").data("requestRunning", !1) 89 }) 90 } 91 }),*/ 92 e("#off-canvas-layer").on("click", function(e) { 93 e.preventDefault(), a.removeClass("display-mobile-menu") 94 }), a.on("click", ".navbar-toggle", function(t) { 95 t.preventDefault(), e(this).toggleClass("selected-mobile"), a.toggleClass("display-mobile-menu") 96 }), e("ul.menu li.menu-item-has-children a").addClass("dropdown-toggle"), a.on("click", "#toggle-search", function(a) { 97 a.preventDefault(), e(this).parents(".topbar-search").toggleClass("display-search") 98 }), a.on("click", ".menu-item-search .toggle-search", function(a) { 99 a.preventDefault(), e(this).parents(".menu-item-search").toggleClass("display-search") 100 }), s.find(".menu .menu-item-has-children").prepend('<span class="toggle-children "><i class="fa fa-angle-right" aria-hidden="true"></i></span>'), s.find(".menu .menu-item-has-children").each(function() { 101 var a = ""; 102 e(this).children("a").hasClass("dropdown-toggle") && (a = e(this).children(".dropdown-toggle").html()), e(this).children("ul").prepend('<li class="menu-parent-items">' + a + "</li>"), e(this).children("ul").prepend('<li class="menu-back">' + cargohub.cargohub_back + "</li>") 103 }), s.find(".menu .menu-item-has-children").on("click", ".toggle-children", function(a) { 104 a.preventDefault(), e(this).parent("li").addClass("over-menu"), e(this).parents(".menu").addClass("over-submenu") 105 }), s.find(".menu .menu-item-has-children").on("click", ".menu-back", function(a) { 106 a.preventDefault(), e(this).closest("ul").closest("li").removeClass("over-menu"), s.find(".menu .menu-item-has-children").hasClass("over-menu") || s.find(".menu").removeClass("over-submenu") 107 }), s.on("click", ".close-canvas-mobile-panel", function(e) { 108 e.preventDefault(), a.toggleClass("display-mobile-menu") 109 }), 110 function() { 111 var a = e(".office-location .office-switcher ul li"), 112 t = a.filter(":first"), 113 i = e(".office-location .office-switcher a"), 114 s = e(".office-location .topbar-office"); 115 t.addClass("active"), s.filter(":first").addClass("active"), i.html(t.html()), i.on("click", function(a) { 116 var t = e(this); 117 a.preventDefault(), t.parent().toggleClass("show-office") 118 }), a.on("click", function() { 119 var t = e(this), 120 n = t.attr("data-tab"); 121 t.hasClass("active") || (i.html(t.html()), i.parent().toggleClass("show-office"), a.removeClass("active"), s.removeClass("active"), t.addClass("active"), e("#" + n).addClass("active")) 122 }) 123 }() 124 }) 125}(jQuery);
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.