MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.145.81.252
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/ppcad7no/rectifysolution.in/../natureamrit.com/js/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/rectifysolution.in/../natureamrit.com/js/functions.js
function debounce(e, t, a) {
    var i, s, n, o, r;
    return function() {
        n = this, s = arguments, o = new Date;
        var l = function() {
                var d = new Date - o;
                t > d ? i = setTimeout(l, t - d) : (i = null, a || (r = e.apply(n, s)))
            },
            d = a && !i;
        return i || (i = setTimeout(l, t)), d && (r = e.apply(n, s)), r
    }
}

function onScrollSliderParallax() {
    requesting || (requesting = !0, requestAnimationFrame(function() {
        SEMICOLON.slider.sliderParallax(), SEMICOLON.slider.sliderElementsFade()
    })), killRequesting()
}
var $ = jQuery.noConflict();
$.fn.inlineStyle = function(e) {
        return this.prop("style")[$.camelCase(e)]
    }, $.fn.doOnce = function(e) {
        return this.length && e.apply(this), this
    }, $().infinitescroll ? $.extend($.infinitescroll.prototype, {
        _setup_portfolioinfiniteitemsloader: function() {
            var e = this.options,
                t = this;
            $(e.nextSelector).on('click',function(e) {
                1 != e.which || e.metaKey || e.shiftKey || (e.preventDefault(), t.retrieve())
            }), t.options.loading.start = function(e) {
                e.loading.msg.appendTo(e.loading.selector).show(e.loading.speed, function() {
                    t.beginAjax(e)
                })
            }
        },
        _showdonemsg_portfolioinfiniteitemsloader: function() {
            var e = this.options;
            e.loading.msg.find("img").hide().parent().find("div").html(e.loading.finishedMsg).animate({
                opacity: 1
            }, 2e3, function() {
                $(this).parent().fadeOut("normal")
            }), $(e.navSelector).fadeOut("normal"), e.errorCallback.call($(e.contentSelector)[0], "done")
        }
    }) : console.log("Infinite Scroll not defined."),
    function() {
        for (var e = 0, t = ["ms", "moz", "webkit", "o"], a = 0; a < t.length && !window.requestAnimationFrame; ++a) window.requestAnimationFrame = window[t[a] + "RequestAnimationFrame"], window.cancelAnimationFrame = window[t[a] + "CancelAnimationFrame"] || window[t[a] + "CancelRequestAnimationFrame"];
        window.requestAnimationFrame || (window.requestAnimationFrame = function(t, a) {
            var i = (new Date).getTime(),
                s = Math.max(0, 16 - (i - e)),
                n = window.setTimeout(function() {
                    t(i + s)
                }, s);
            return e = i + s, n
        }), window.cancelAnimationFrame || (window.cancelAnimationFrame = function(e) {
            clearTimeout(e)
        })
    }();
var requesting = !1,
    killRequesting = debounce(function() {
        requesting = !1
    }, 100),
    SEMICOLON = SEMICOLON || {};
! function(e) {
    "use strict";
    SEMICOLON.initialize = {
        init: function() {
            SEMICOLON.initialize.responsiveClasses(), SEMICOLON.initialize.imagePreload(".portfolio-item:not(:has(.fslider)) img"), SEMICOLON.initialize.stickyElements(), SEMICOLON.initialize.goToTop(), SEMICOLON.initialize.lazyLoad(), SEMICOLON.initialize.fullScreen(), SEMICOLON.initialize.verticalMiddle(), SEMICOLON.initialize.lightbox(), SEMICOLON.initialize.resizeVideos(), SEMICOLON.initialize.imageFade(), SEMICOLON.initialize.pageTransition(), SEMICOLON.initialize.dataResponsiveClasses(), SEMICOLON.initialize.dataResponsiveHeights(), e(".fslider").addClass("preloader2")
        },
        responsiveClasses: function() {
            if ("undefined" == typeof jRespond) return console.log("responsiveClasses: jRespond not Defined."), !0;
            var e = jRespond([{
                label: "smallest",
                enter: 0,
                exit: 479
            }, {
                label: "handheld",
                enter: 480,
                exit: 767
            }, {
                label: "tablet",
                enter: 768,
                exit: 991
            }, {
                label: "laptop",
                enter: 992,
                exit: 1199
            }, {
                label: "desktop",
                enter: 1200,
                exit: 1e4
            }]);
            e.addFunc([{
                breakpoint: "desktop",
                enter: function() {
                    a.addClass("device-lg")
                },
                exit: function() {
                    a.removeClass("device-lg")
                }
            }, {
                breakpoint: "laptop",
                enter: function() {
                    a.addClass("device-md")
                },
                exit: function() {
                    a.removeClass("device-md")
                }
            }, {
                breakpoint: "tablet",
                enter: function() {
                    a.addClass("device-sm")
                },
                exit: function() {
                    a.removeClass("device-sm")
                }
            }, {
                breakpoint: "handheld",
                enter: function() {
                    a.addClass("device-xs")
                },
                exit: function() {
                    a.removeClass("device-xs")
                }
            }, {
                breakpoint: "smallest",
                enter: function() {
                    a.addClass("device-xxs")
                },
                exit: function() {
                    a.removeClass("device-xxs")
                }
            }])
        },
        imagePreload: function(t, a) {
            var i = {
                delay: 250,
                transition: 400,
                easing: "linear"
            };
            e.extend(i, a), e(t).each(function() {
                var t = e(this);
                t.css({
                    visibility: "hidden",
                    opacity: 0,
                    display: "block"
                }), t.wrap('<span class="preloader" />'), t.one("load", function(t) {
                    e(this).delay(i.delay).css({
                        visibility: "visible"
                    }).animate({
                        opacity: 1
                    }, i.transition, i.easing, function() {
                        e(this).unwrap('<span class="preloader" />')
                    })
                }).each(function() {
                    this.complete && e(this).trigger("load")
                })
            })
        },
        verticalMiddle: function() {
            R.length > 0 && R.each(function() {
                var t = e(this),
                    i = t.outerHeight(),
                    n = s.outerHeight();
                t.parents("#slider").length > 0 && !t.hasClass("ignore-header") && s.hasClass("transparent-header") && (a.hasClass("device-lg") || a.hasClass("device-md")) && (i -= 70, k.next("#header").length > 0 && (i += n)), (a.hasClass("device-xs") || a.hasClass("device-xxs")) && t.parents(".full-screen").length && !t.parents(".force-full-screen").length ? t.children(".col-padding").length > 0 ? t.css({
                    position: "relative",
                    top: "0",
                    width: "auto",
                    marginTop: "0"
                }).addClass("clearfix") : t.css({
                    position: "relative",
                    top: "0",
                    width: "auto",
                    marginTop: "0",
                    paddingTop: "60px",
                    paddingBottom: "60px"
                }).addClass("clearfix") : t.css({
                    position: "absolute",
                    top: "50%",
                    width: "100%",
                    paddingTop: "0",
                    paddingBottom: "0",
                    marginTop: -(i / 2) + "px"
                })
            })
        },
        stickyElements: function() {
            if (q.length > 0) {
                var e = q.outerHeight();
                q.css({
                    marginTop: -(e / 2) + "px"
                })
            }
            if (Y.length > 0) {
                var t = Y.outerHeight();
                Y.css({
                    marginTop: -(t / 2) + "px"
                })
            }
        },
        goToTop: function() {
            var t = W.attr("data-speed"),
                a = W.attr("data-easing");
            t || (t = 700), a || (a = "easeOutQuad"), W.on('click',function() {
                return e("body,html").stop(!0).animate({
                    scrollTop: 0
                }, Number(t), a), !1
            })
        },
        goToTopScroll: function() {
            var e = W.attr("data-mobile"),
                i = W.attr("data-offset");
            return i || (i = 450), "true" != e && (a.hasClass("device-xs") || a.hasClass("device-xxs")) ? !0 : void(t.scrollTop() > Number(i) ? W.fadeIn() : W.fadeOut())
        },
        fullScreen: function() {
            V.length > 0 && V.each(function() {
                var i = e(this),
                    n = window.innerHeight ? window.innerHeight : t.height(),
                    o = i.attr("data-negative-height");
                if ("slider" == i.attr("id")) {
                    var r = k.offset().top;
                    if (n -= r, i.find(".slider-parallax-inner").length > 0) {
                        var l = i.find(".slider-parallax-inner").css("transform"),
                            d = l.match(/-?[\d\.]+/g);
                        if (d) var c = d[5];
                        else var c = 0;
                        n = (window.innerHeight ? window.innerHeight : t.height()) + Number(c) - r
                    }
                    if (e("#slider.with-header").next("#header:not(.transparent-header)").length > 0 && (a.hasClass("device-lg") || a.hasClass("device-md"))) {
                        var u = s.outerHeight();
                        n -= u
                    }
                }
                i.parents(".full-screen").length > 0 && (n = i.parents(".full-screen").height()), (a.hasClass("device-xs") || a.hasClass("device-xxs")) && (i.hasClass("force-full-screen") || (n = "auto")), o && (n -= Number(o)), i.css("height", n), "slider" != i.attr("id") || i.hasClass("canvas-slider-grid") || i.has(".swiper-slide") && i.find(".swiper-slide").css("height", n)
            })
        },
        maxHeight: function() {
            if ($.length > 0) {
                if ($.hasClass("customjs")) return !0;
                $.each(function() {
                    var t = e(this);
                    t.find(".common-height").length > 0 && SEMICOLON.initialize.commonHeight(t.find(".common-height:not(.customjs)")), SEMICOLON.initialize.commonHeight(t)
                })
            }
        },
        commonHeight: function(t) {
            var a = 0;
            t.children("[class*=col-]").each(function() {
                var t = e(this).children();
                t.hasClass("max-height") ? a = t.outerHeight() : t.outerHeight() > a && (a = t.outerHeight())
            }), t.children("[class*=col-]").each(function() {
                e(this).height(a)
            })
        },
        testimonialsGrid: function() {
            if (Q.length > 0)
                if (a.hasClass("device-sm") || a.hasClass("device-md") || a.hasClass("device-lg")) {
                    var t = 0;
                    Q.each(function() {
                        e(this).find("li > .testimonial").each(function() {
                            e(this).height() > t && (t = e(this).height())
                        }), e(this).find("li").height(t), t = 0
                    })
                } else Q.find("li").css({
                    height: "auto"
                })
        },
        lightbox: function() {
            if (!e().magnificPopup) return console.log("lightbox: Magnific Popup not Defined."), !0;
            var t = e('[data-lightbox="image"]'),
                i = e('[data-lightbox="gallery"]'),
                s = e('[data-lightbox="iframe"]'),
                n = e('[data-lightbox="inline"]'),
                o = e('[data-lightbox="ajax"]'),
                r = e('[data-lightbox="ajax-gallery"]');
            t.length > 0 && t.magnificPopup({
                type: "image",
                closeOnContentClick: !0,
                closeBtnInside: !1,
                fixedContentPos: !0,
                mainClass: "mfp-no-margins mfp-fade",
                image: {
                    verticalFit: !0
                }
            }), i.length > 0 && i.each(function() {
                var t = e(this);
                t.find('a[data-lightbox="gallery-item"]').parent(".clone").hasClass("clone") && t.find('a[data-lightbox="gallery-item"]').parent(".clone").find('a[data-lightbox="gallery-item"]').attr("data-lightbox", ""), t.find('a[data-lightbox="gallery-item"]').parents(".cloned").hasClass("cloned") && t.find('a[data-lightbox="gallery-item"]').parents(".cloned").find('a[data-lightbox="gallery-item"]').attr("data-lightbox", ""), t.magnificPopup({
                    delegate: 'a[data-lightbox="gallery-item"]',
                    type: "image",
                    closeOnContentClick: !0,
                    closeBtnInside: !1,
                    fixedContentPos: !0,
                    mainClass: "mfp-no-margins mfp-fade",
                    image: {
                        verticalFit: !0
                    },
                    gallery: {
                        enabled: !0,
                        navigateByImgClick: !0,
                        preload: [0, 1]
                    }
                })
            }), s.length > 0 && s.magnificPopup({
                disableOn: 600,
                type: "iframe",
                removalDelay: 160,
                preloader: !1,
                fixedContentPos: !1
            }), n.length > 0 && n.magnificPopup({
                type: "inline",
                mainClass: "mfp-no-margins mfp-fade",
                closeBtnInside: !1,
                fixedContentPos: !0,
                overflowY: "scroll"
            }), o.length > 0 && o.magnificPopup({
                type: "ajax",
                closeBtnInside: !1,
                callbacks: {
                    ajaxContentAdded: function(e) {
                        SEMICOLON.widget.loadFlexSlider(), SEMICOLON.initialize.resizeVideos(), SEMICOLON.widget.masonryThumbs()
                    },
                    open: function() {
                        a.addClass("ohidden")
                    },
                    close: function() {
                        a.removeClass("ohidden")
                    }
                }
            }), r.length > 0 && r.magnificPopup({
                delegate: 'a[data-lightbox="ajax-gallery-item"]',
                type: "ajax",
                closeBtnInside: !1,
                gallery: {
                    enabled: !0,
                    preload: 0,
                    navigateByImgClick: !1
                },
                callbacks: {
                    ajaxContentAdded: function(e) {
                        SEMICOLON.widget.loadFlexSlider(), SEMICOLON.initialize.resizeVideos(), SEMICOLON.widget.masonryThumbs()
                    },
                    open: function() {
                        a.addClass("ohidden")
                    },
                    close: function() {
                        a.removeClass("ohidden")
                    }
                }
            })
        },
        modal: function() {
            if (!e().magnificPopup) return console.log("modal: Magnific Popup not Defined."), !0;
            var t = e(".modal-on-load:not(.customjs)");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    a = t.attr("data-target"),
                    i = a.split("#")[1],
                    s = t.attr("data-delay"),
                    n = t.attr("data-timeout"),
                    o = t.attr("data-animate-in"),
                    r = t.attr("data-animate-out");
                if (t.hasClass("enable-cookie") || e.removeCookie(i), t.hasClass("enable-cookie")) {
                    var l = e.cookie(i);
                    if ("undefined" != typeof l && "0" == l) return !0
                }
                s = s ? Number(s) + 1500 : 1500;
                setTimeout(function() {
                    e.magnificPopup.open({
                        items: {
                            src: a
                        },
                        type: "inline",
                        mainClass: "mfp-no-margins mfp-fade",
                        closeBtnInside: !1,
                        fixedContentPos: !0,
                        removalDelay: 500,
                        callbacks: {
                            open: function() {
                                "" != o && e(a).addClass(o + " animated")
                            },
                            beforeClose: function() {
                                "" != r && e(a).removeClass(o).addClass(r)
                            },
                            afterClose: function() {
                                ("" != o || "" != r) && e(a).removeClass(o + " " + r + " animated"), t.hasClass("enable-cookie") && e.cookie(i, "0")
                            }
                        }
                    }, 0)
                }, Number(s));
                if ("" != n) {
                    setTimeout(function() {
                        e.magnificPopup.close()
                    }, Number(s) + Number(n))
                }
            })
        },
        resizeVideos: function() {
            return e().fitVids ? void e("#content,#footer,#slider:not(.revslider-wrap),.landing-offer-media,.portfolio-ajax-modal,.mega-menu-column").fitVids({
                customSelector: "iframe[src^='http://www.dailymotion.com/embed'], iframe[src*='maps.google.com'], iframe[src*='google.com/maps']",
                ignore: ".no-fv"
            }) : (console.log("resizeVideos: FitVids not Defined."), !0)
        },
        imageFade: function() {
            e(".image_fade").hover(function() {
                e(this).filter(":not(:animated)").animate({
                    opacity: .8
                }, 400)
            }, function() {
                e(this).animate({
                    opacity: 1
                }, 400)
            })
        },
        blogTimelineEntries: function() {
            e(".post-timeline.grid-2").find(".entry").each(function() {
                var t = e(this).inlineStyle("left");
                "0px" == t ? e(this).removeClass("alt") : e(this).addClass("alt"), e(this).find(".entry-timeline").fadeIn()
            })
        },
        pageTransition: function() {
            if (a.hasClass("no-transition")) return !0;
            if (!e().animsition) return a.addClass("no-transition"), console.log("pageTransition: Animsition not Defined."), !0;
            window.onpageshow = function(e) {
                e.persisted && window.location.reload()
            };
            var t = a.attr("data-animation-in"),
                s = a.attr("data-animation-out"),
                n = a.attr("data-speed-in"),
                o = a.attr("data-speed-out"),
                r = a.attr("data-loader-timeout"),
                l = a.attr("data-loader"),
                d = a.attr("data-loader-color"),
                c = a.attr("data-loader-html"),
                u = "",
                h = "",
                f = "",
                m = "",
                p = "",
                g = "";
            t || (t = "fadeIn"), s || (s = "fadeOut"), n || (n = 1500), o || (o = 800), c || (c = '<div class="css3-spinner-bounce1"></div><div class="css3-spinner-bounce2"></div><div class="css3-spinner-bounce3"></div>'), r = r ? Number(r) : !1, d && ("theme" == d ? (f = " bgcolor", m = " border-color", p = ' class="bgcolor"', g = ' class="border-color"') : (u = ' style="background-color:' + d + ';"', h = ' style="border-color:' + d + ';"'), c = '<div class="css3-spinner-bounce1' + f + '"' + u + '></div><div class="css3-spinner-bounce2' + f + '"' + u + '></div><div class="css3-spinner-bounce3' + f + '"' + u + "></div>"), "2" == l ? c = '<div class="css3-spinner-flipper' + f + '"' + u + "></div>" : "3" == l ? c = '<div class="css3-spinner-double-bounce1' + f + '"' + u + '></div><div class="css3-spinner-double-bounce2' + f + '"' + u + "></div>" : "4" == l ? c = '<div class="css3-spinner-rect1' + f + '"' + u + '></div><div class="css3-spinner-rect2' + f + '"' + u + '></div><div class="css3-spinner-rect3' + f + '"' + u + '></div><div class="css3-spinner-rect4' + f + '"' + u + '></div><div class="css3-spinner-rect5' + f + '"' + u + "></div>" : "5" == l ? c = '<div class="css3-spinner-cube1' + f + '"' + u + '></div><div class="css3-spinner-cube2' + f + '"' + u + "></div>" : "6" == l ? c = '<div class="css3-spinner-scaler' + f + '"' + u + "></div>" : "7" == l ? c = '<div class="css3-spinner-grid-pulse"><div' + p + u + "></div><div" + p + u + "></div><div" + p + u + "></div><div" + p + u + "></div><div" + p + u + "></div><div" + p + u + "></div><div" + p + u + "></div><div" + p + u + "></div><div" + p + u + "></div></div>" : "8" == l ? c = '<div class="css3-spinner-clip-rotate"><div' + g + h + "></div></div>" : "9" == l ? c = '<div class="css3-spinner-ball-rotate"><div' + p + u + "></div><div" + p + u + "></div><div" + p + u + "></div></div>" : "10" == l ? c = '<div class="css3-spinner-zig-zag"><div' + p + u + "></div><div" + p + u + "></div></div>" : "11" == l ? c = '<div class="css3-spinner-triangle-path"><div' + p + u + "></div><div" + p + u + "></div><div" + p + u + "></div></div>" : "12" == l ? c = '<div class="css3-spinner-ball-scale-multiple"><div' + p + u + "></div><div" + p + u + "></div><div" + p + u + "></div></div>" : "13" == l ? c = '<div class="css3-spinner-ball-pulse-sync"><div' + p + u + "></div><div" + p + u + "></div><div" + p + u + "></div></div>" : "14" == l && (c = '<div class="css3-spinner-scale-ripple"><div' + g + h + "></div><div" + g + h + "></div><div" + g + h + "></div></div>"), i.animsition({
                inClass: t,
                outClass: s,
                inDuration: Number(n),
                outDuration: Number(o),
                linkElement: '#primary-menu ul li a:not([target="_blank"]):not([href*="#"]):not([data-lightbox]):not([href^="mailto"]):not([href^="tel"]):not([href^="sms"]):not([href^="call"])',
                loading: !0,
                loadingParentElement: "body",
                loadingClass: "css3-spinner",
                loadingHtml: c + '<a href="?transition=disable" class="button button-small button-rounded preview-pagetransition">Disable Page Loading Transition</a>',
                unSupportCss: ["animation-duration", "-webkit-animation-duration", "-o-animation-duration"],
                overlay: !1,
                overlayClass: "animsition-overlay-slide",
                overlayParentElement: "body",
                timeOut: r
            })
        },
        lazyLoad: function() {
            var t = e("[data-lazyload]");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    a = t.attr("data-lazyload");
                t.attr("src", "http://canvashtml-cdn.semicolonweb.com/images/blank.svg").css({
                    background: "url(http://canvashtml-cdn.semicolonweb.com/images/preloader.gif) no-repeat center center #FFF"
                }), t.appear(function() {
                    t.css({
                        background: "none"
                    }).removeAttr("width").removeAttr("height").attr("src", a)
                }, {
                    accX: 0,
                    accY: 120
                }, "easeInCubic")
            })
        },
        topScrollOffset: function() {
            var e = 0;
            return !a.hasClass("device-lg") && !a.hasClass("device-md") || SEMICOLON.isMobile.any() ? e = 40 : (e = s.hasClass("sticky-header") ? S.hasClass("dots-menu") ? 100 : 144 : S.hasClass("dots-menu") ? 140 : 184, S.length || (e = s.hasClass("sticky-header") ? 100 : 140)), e
        },
        defineColumns: function(e) {
            var t = 4;
            if (e.hasClass("portfolio-full")) t = e.hasClass("portfolio-3") ? 3 : e.hasClass("portfolio-5") ? 5 : e.hasClass("portfolio-6") ? 6 : 4, !a.hasClass("device-sm") || 4 != t && 5 != t && 6 != t ? !a.hasClass("device-xs") || 3 != t && 4 != t && 5 != t && 6 != t ? a.hasClass("device-xxs") && (t = 1) : t = 2 : t = 3;
            else if (e.hasClass("masonry-thumbs")) {
                var i = e.attr("data-lg-col"),
                    s = e.attr("data-md-col"),
                    n = e.attr("data-sm-col"),
                    o = e.attr("data-xs-col"),
                    r = e.attr("data-xxs-col");
                t = e.hasClass("col-2") ? 2 : e.hasClass("col-3") ? 3 : e.hasClass("col-5") ? 5 : e.hasClass("col-6") ? 6 : 4, a.hasClass("device-lg") ? i && (t = Number(i)) : a.hasClass("device-md") ? s && (t = Number(s)) : a.hasClass("device-sm") ? n && (t = Number(n)) : a.hasClass("device-xs") ? o && (t = Number(o)) : a.hasClass("device-xxs") && r && (t = Number(r))
            }
            return t
        },
        setFullColumnWidth: function(t) {
            if (!e().isotope) return console.log("setFullColumnWidth: Isotope not Defined."), !0;
            if (t.css({
                    width: ""
                }), t.hasClass("portfolio-full")) {
                var i = SEMICOLON.initialize.defineColumns(t),
                    s = t.width();
                s == Math.floor(s / i) * i && (s -= 1);
                var n = Math.floor(s / i);
                if (a.hasClass("device-xxs")) var o = 1;
                else var o = 0;
                t.find(".portfolio-item").each(function(t) {
                    if (0 == o && e(this).hasClass("wide")) var a = 2 * n;
                    else var a = n;
                    e(this).css({
                        width: a + "px"
                    })
                })
            } else if (t.hasClass("masonry-thumbs")) {
                var i = SEMICOLON.initialize.defineColumns(t),
                    s = t.innerWidth();
                s == l && (s = 1.004 * l, t.css({
                    width: s + "px"
                }));
                var n = s / i;
                n = Math.floor(n), n * i >= s && t.css({
                    "margin-right": "-1px"
                }), t.children("a").css({
                    width: n + "px"
                });
                var r = t.find("a:eq(0)").outerWidth();
                t.isotope({
                    masonry: {
                        columnWidth: r
                    }
                });
                var d = t.attr("data-big");
                if (d) {
                    d = d.split(",");
                    var c = "",
                        u = "";
                    for (u = 0; u < d.length; u++) c = Number(d[u]) - 1, t.find("a:eq(" + c + ")").css({
                        width: 2 * r + "px"
                    });
                    setTimeout(function() {
                        t.isotope("layout")
                    }, 1e3)
                }
            }
        },
        aspectResizer: function() {
            var t = e(".aspect-resizer");
            t.length > 0 && t.each(function() {
                var t = e(this);
                t.inlineStyle("width"), t.inlineStyle("height"), t.parent().innerWidth()
            })
        },
        dataResponsiveClasses: function() {
            var t = e("[data-class-xxs]"),
                i = e("[data-class-xs]"),
                s = e("[data-class-sm]"),
                n = e("[data-class-md]"),
                o = e("[data-class-lg]");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    i = t.attr("data-class-xxs"),
                    s = t.attr("data-class-xs") + " " + t.attr("data-class-sm") + " " + t.attr("data-class-md") + " " + t.attr("data-class-lg");
                a.hasClass("device-xxs") && (t.removeClass(s), t.addClass(i))
            }), i.length > 0 && i.each(function() {
                var t = e(this),
                    i = t.attr("data-class-xs"),
                    s = t.attr("data-class-xxs") + " " + t.attr("data-class-sm") + " " + t.attr("data-class-md") + " " + t.attr("data-class-lg");
                a.hasClass("device-xs") && (t.removeClass(s), t.addClass(i))
            }), s.length > 0 && s.each(function() {
                var t = e(this),
                    i = t.attr("data-class-sm"),
                    s = t.attr("data-class-xxs") + " " + t.attr("data-class-xs") + " " + t.attr("data-class-md") + " " + t.attr("data-class-lg");
                a.hasClass("device-sm") && (t.removeClass(s), t.addClass(i))
            }), n.length > 0 && n.each(function() {
                var t = e(this),
                    i = t.attr("data-class-md"),
                    s = t.attr("data-class-xxs") + " " + t.attr("data-class-xs") + " " + t.attr("data-class-sm") + " " + t.attr("data-class-lg");
                a.hasClass("device-md") && (t.removeClass(s), t.addClass(i))
            }), o.length > 0 && o.each(function() {
                var t = e(this),
                    i = t.attr("data-class-lg"),
                    s = t.attr("data-class-xxs") + " " + t.attr("data-class-xs") + " " + t.attr("data-class-sm") + " " + t.attr("data-class-md");
                a.hasClass("device-lg") && (t.removeClass(s), t.addClass(i))
            })
        },
        dataResponsiveHeights: function() {
            var t = e("[data-height-xxs]"),
                i = e("[data-height-xs]"),
                s = e("[data-height-sm]"),
                n = e("[data-height-md]"),
                o = e("[data-height-lg]");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    i = t.attr("data-height-xxs");
                a.hasClass("device-xxs") && "" != i && t.css("height", i)
            }), i.length > 0 && i.each(function() {
                var t = e(this),
                    i = t.attr("data-height-xs");
                a.hasClass("device-xs") && "" != i && t.css("height", i)
            }), s.length > 0 && s.each(function() {
                var t = e(this),
                    i = t.attr("data-height-sm");
                a.hasClass("device-sm") && "" != i && t.css("height", i)
            }), n.length > 0 && n.each(function() {
                var t = e(this),
                    i = t.attr("data-height-md");
                a.hasClass("device-md") && "" != i && t.css("height", i)
            }), o.length > 0 && o.each(function() {
                var t = e(this),
                    i = t.attr("data-height-lg");
                a.hasClass("device-lg") && "" != i && t.css("height", i)
            })
        },
        stickFooterOnSmall: function() {
            var e = t.height(),
                s = i.height();
            !a.hasClass("sticky-footer") && r.length > 0 && i.has("#footer") && e > s && r.css({
                "margin-top": e - s
            })
        },
        stickyFooter: function() {
            if (a.hasClass("sticky-footer") && r.length > 0 && (a.hasClass("device-lg") || a.hasClass("device-md"))) {
                var e = r.outerHeight();
                o.css({
                    "margin-bottom": e
                })
            } else o.css({
                "margin-bottom": 0
            })
        }
    }, SEMICOLON.header = {
        init: function() {
            SEMICOLON.header.superfish(), SEMICOLON.header.menufunctions(), SEMICOLON.header.fullWidthMenu(), SEMICOLON.header.overlayMenu(), SEMICOLON.header.stickyMenu(), SEMICOLON.header.stickyPageMenu(), SEMICOLON.header.sideHeader(), SEMICOLON.header.sidePanel(), SEMICOLON.header.onePageScroll(), SEMICOLON.header.onepageScroller(), SEMICOLON.header.logo(), SEMICOLON.header.topsearch(), SEMICOLON.header.topcart()
        },
        superfish: function() {
            return (a.hasClass("device-lg") || a.hasClass("device-md")) && (e("#primary-menu ul ul, #primary-menu ul .mega-menu-content").css("display", "block"), SEMICOLON.header.menuInvert(), e("#primary-menu ul ul, #primary-menu ul .mega-menu-content").css("display", "")), e().superfish ? (e("body:not(.side-header) #primary-menu > ul, body:not(.side-header) #primary-menu > div > ul:not(.dropdown-menu), .top-links > ul").superfish({
                popUpSelector: "ul,.mega-menu-content,.top-link-section",
                delay: 250,
                speed: 350,
                animation: {
                    opacity: "show"
                },
                animationOut: {
                    opacity: "hide"
                },
                cssArrows: !1,
                onShow: function() {
                    var t = e(this);
                    t.find(".owl-carousel.customjs").length > 0 && (t.find(".owl-carousel").removeClass("customjs"), SEMICOLON.widget.carousel()), t.hasClass("mega-menu-content") && t.find(".widget").length > 0 && (a.hasClass("device-lg") || a.hasClass("device-md") ? setTimeout(function() {
                        SEMICOLON.initialize.commonHeight(t)
                    }, 200) : t.children().height(""))
                }
            }), void e("body.side-header #primary-menu > ul").superfish({
                popUpSelector: "ul",
                delay: 250,
                speed: 350,
                animation: {
                    opacity: "show",
                    height: "show"
                },
                animationOut: {
                    opacity: "hide",
                    height: "hide"
                },
                cssArrows: !1
            })) : (a.addClass("no-superfish"), console.log("superfish: Superfish not Defined."), !0)
        },
        menuInvert: function() {
            e("#primary-menu .mega-menu-content, #primary-menu ul ul").each(function(t, a) {
                var i = e(a),
                    s = i.offset(),
                    n = i.width(),
                    o = s.left;
                0 > l - (n + o) && i.addClass("menu-pos-invert")
            })
        },
        menufunctions: function() {
            e("#primary-menu ul li:has(ul)").addClass("sub-menu"), e(".top-links ul li:has(ul) > a, #primary-menu.with-arrows > ul > li:has(ul) > a > div, #primary-menu.with-arrows > div > ul > li:has(ul) > a > div, #page-menu nav ul li:has(ul) > a > div").append('<i class="icon-angle-down"></i>'), e(".top-links > ul").addClass("clearfix"), (a.hasClass("device-lg") || a.hasClass("device-md")) && (e("#primary-menu.sub-title > ul > li").hover(function() {
                e(this).prev().css({
                    backgroundImage: "none"
                })
            }, function() {
                e(this).prev().css({
                    backgroundImage: 'url("http://canvashtml-cdn.semicolonweb.com/images/icons/menu-divider.png")'
                })
            }), e("#primary-menu.sub-title").children("ul").children(".current").prev().css({
                backgroundImage: "none"
            })), SEMICOLON.isMobile.Android() && e("#primary-menu ul li.sub-menu").children("a").on("touchstart", function(t) {
                e(this).parent("li.sub-menu").hasClass("sfHover") || t.preventDefault()
            }), SEMICOLON.isMobile.Windows() && (e().superfish ? e("#primary-menu > ul, #primary-menu > div > ul,.top-links > ul").superfish("destroy").addClass("windows-mobile-menu") : (e("#primary-menu > ul, #primary-menu > div > ul,.top-links > ul").addClass("windows-mobile-menu"), console.log("menufunctions: Superfish not defined.")), e("#primary-menu ul li:has(ul)").append('<a href="#" class="wn-submenu-trigger"><i class="icon-angle-down"></i></a>'), e("#primary-menu ul li.sub-menu").children("a.wn-submenu-trigger").on('click',function(t) {
                return e(this).parent().toggleClass("open"), e(this).parent().find("> ul, > .mega-menu-content").stop(!0, !0).toggle(), !1
            }))
        },
        fullWidthMenu: function() {
            a.hasClass("stretched") ? (s.find(".container-fullwidth").length > 0 && e(".mega-menu .mega-menu-content").css({
                width: i.width() - 120
            }), s.hasClass("full-header") && e(".mega-menu .mega-menu-content").css({
                width: i.width() - 60
            })) : (s.find(".container-fullwidth").length > 0 && e(".mega-menu .mega-menu-content").css({
                width: i.width() - 120
            }), s.hasClass("full-header") && e(".mega-menu .mega-menu-content").css({
                width: i.width() - 80
            }))
        },
        overlayMenu: function() {
            if (a.hasClass("overlay-menu")) {
                var i = e("#primary-menu").children("ul").children("li"),
                    s = i.outerHeight(),
                    n = i.length * s,
                    o = (t.height() - n) / 2;
                e("#primary-menu").children("ul").children("li:first-child").css({
                    "margin-top": o + "px"
                })
            }
        },
        stickyMenu: function(i) {
            t.scrollTop() > i ? a.hasClass("device-lg") || a.hasClass("device-md") ? (e("body:not(.side-header) #header:not(.no-sticky)").addClass("sticky-header"), n.hasClass("force-not-dark") || n.removeClass("not-dark"), SEMICOLON.header.stickyMenuClass()) : (a.hasClass("device-xs") || a.hasClass("device-xxs") || a.hasClass("device-sm")) && a.hasClass("sticky-responsive-menu") && (e("#header:not(.no-sticky)").addClass("responsive-sticky-header"), SEMICOLON.header.stickyMenuClass()) : SEMICOLON.header.removeStickyness()
        },
        stickyPageMenu: function(i) {
            t.scrollTop() > i ? a.hasClass("device-lg") || a.hasClass("device-md") ? e("#page-menu:not(.dots-menu,.no-sticky)").addClass("sticky-page-menu") : (a.hasClass("device-xs") || a.hasClass("device-xxs") || a.hasClass("device-sm")) && a.hasClass("sticky-responsive-pagemenu") && e("#page-menu:not(.dots-menu,.no-sticky)").addClass("sticky-page-menu") : e("#page-menu:not(.dots-menu,.no-sticky)").removeClass("sticky-page-menu")
        },
        removeStickyness: function() {
            s.hasClass("sticky-header") && (e("body:not(.side-header) #header:not(.no-sticky)").removeClass("sticky-header"), s.removeClass().addClass(d), n.removeClass().addClass(c), n.hasClass("force-not-dark") || n.removeClass("not-dark"), SEMICOLON.slider.swiperSliderMenu(), SEMICOLON.slider.revolutionSliderMenu()), s.hasClass("responsive-sticky-header") && e("body.sticky-responsive-menu #header").removeClass("responsive-sticky-header"), (a.hasClass("device-xs") || a.hasClass("device-xxs") || a.hasClass("device-sm")) && "undefined" == typeof h && (s.removeClass().addClass(d), n.removeClass().addClass(c), n.hasClass("force-not-dark") || n.removeClass("not-dark"))
        },
        sideHeader: function() {
            e("#header-trigger").on('click',function() {
                return e("body.open-header").toggleClass("side-header-open"), !1
            })
        },
        sidePanel: function() {
            e(".side-panel-trigger").on('click',function() {
                return a.toggleClass("side-panel-open"), a.hasClass("device-touch") && a.toggleClass("ohidden"), !1
            })
        },
        onePageScroll: function() {
            if (x.length > 0) {
                var t = x.attr("data-speed"),
                    i = x.attr("data-offset"),
                    s = x.attr("data-easing");
                t || (t = 1e3), s || (s = "easeOutQuad"), x.find("a[data-href]").on('click',function() {
                    var n = e(this),
                        o = n.attr("data-href"),
                        r = n.attr("data-speed"),
                        d = n.attr("data-offset"),
                        c = n.attr("data-easing");
                    if (e(o).length > 0) {
                        if (i) var u = i;
                        else var u = SEMICOLON.initialize.topScrollOffset();
                        r || (r = t), d || (d = u), c || (c = s), x.hasClass("no-offset") && (d = 0), N = Number(d), x.find("li").removeClass("current"), x.find('a[data-href="' + o + '"]').parent("li").addClass("current"), (768 > l || a.hasClass("overlay-menu")) && (e("#primary-menu").find("ul.mobile-primary-menu").length > 0 ? e("#primary-menu > ul.mobile-primary-menu, #primary-menu > div > ul.mobile-primary-menu").toggleClass("show", !1) : e("#primary-menu > ul, #primary-menu > div > ul").toggleClass("show", !1), S.toggleClass("pagemenu-active", !1)), e("html,body").stop(!0).animate({
                            scrollTop: e(o).offset().top - Number(d)
                        }, Number(r), c), N = Number(d)
                    }
                    return !1
                })
            }
        },
        onepageScroller: function() {
            x.find("li").removeClass("current"), x.find('a[data-href="#' + SEMICOLON.header.onePageCurrentSection() + '"]').parent("li").addClass("current")
        },
        onePageCurrentSection: function() {
            var i = "home",
                s = n.outerHeight();
            return a.hasClass("side-header") && (s = 0), U.each(function(a) {
                var n = e(this).offset().top,
                    o = t.scrollTop(),
                    r = s + N;
                o + r >= n && o < n + e(this).height() && e(this).attr("id") != i && (i = e(this).attr("id"))
            }), i
        },
        logo: function() {
            !s.hasClass("dark") && !a.hasClass("dark") || n.hasClass("not-dark") ? (p && f.find("img").attr("src", p), g && m.find("img").attr("src", g)) : (v && f.find("img").attr("src", v), C && m.find("img").attr("src", C)), s.hasClass("sticky-header") && (O && f.find("img").attr("src", O), b && m.find("img").attr("src", b)), (a.hasClass("device-xs") || a.hasClass("device-xxs")) && (y && f.find("img").attr("src", y), w && m.find("img").attr("src", w))
        },
        stickyMenuClass: function() {
            if (u) var e = u.split(/ +/);
            else var e = "";
            var t = e.length;
            if (t > 0) {
                var a = 0;
                for (a = 0; t > a; a++) "not-dark" == e[a] ? (s.removeClass("dark"), n.addClass("not-dark")) : "dark" == e[a] ? (n.removeClass("not-dark force-not-dark"), s.hasClass(e[a]) || s.addClass(e[a])) : s.hasClass(e[a]) || s.addClass(e[a])
            }
        },
        responsiveMenuClass: function() {
            if (a.hasClass("device-xs") || a.hasClass("device-xxs") || a.hasClass("device-sm")) {
                if (h) var e = h.split(/ +/);
                else var e = "";
                var t = e.length;
                if (t > 0) {
                    var i = 0;
                    for (i = 0; t > i; i++) "not-dark" == e[i] ? (s.removeClass("dark"), n.addClass("not-dark")) : "dark" == e[i] ? (n.removeClass("not-dark force-not-dark"), s.hasClass(e[i]) || s.addClass(e[i])) : s.hasClass(e[i]) || s.addClass(e[i])
                }
                SEMICOLON.header.logo()
            }
        },
        topsocial: function() {
            B.length > 0 && (a.hasClass("device-md") || a.hasClass("device-lg") ? (B.show(), B.find("a").css({
                width: 40
            }), B.find(".ts-text").each(function() {
                var t = e(this).clone().css({
                        visibility: "hidden",
                        display: "inline-block",
                        "font-size": "13px",
                        "font-weight": "bold"
                    }).appendTo(a),
                    i = t.innerWidth() + 52;
                e(this).parent("a").attr("data-hover-width", i), t.remove()
            }), B.find("a").hover(function() {
                e(this).find(".ts-text").length > 0 && e(this).css({
                    width: e(this).attr("data-hover-width")
                })
            }, function() {
                e(this).css({
                    width: 40
                })
            })) : (B.show(), B.find("a").css({
                width: 40
            }), B.find("a").each(function() {
                var t = e(this).find(".ts-text").text();
                e(this).attr("title", t)
            }), B.find("a").hover(function() {
                e(this).css({
                    width: 40
                })
            }, function() {
                e(this).css({
                    width: 40
                })
            }), a.hasClass("device-xxs") && (B.hide(), B.slice(0, 8).show())))
        },
        topsearch: function() {
            e(document).on("click", function(t) {
                e(t.target).closest("#top-search").length || a.toggleClass("top-search-open", !1), e(t.target).closest("#top-cart").length || A.toggleClass("top-cart-open", !1), e(t.target).closest("#page-menu").length || S.toggleClass("pagemenu-active", !1), e(t.target).closest("#side-panel").length || a.toggleClass("side-panel-open", !1), e(t.target).closest("#primary-menu.mobile-menu-off-canvas > ul").length || e("#primary-menu.mobile-menu-off-canvas > ul").toggleClass("show", !1), e(t.target).closest("#primary-menu.mobile-menu-off-canvas > div > ul").length || e("#primary-menu.mobile-menu-off-canvas > div > ul").toggleClass("show", !1)
            }), e("#top-search-trigger").on('click',function(t) {
                a.toggleClass("top-search-open"), A.toggleClass("top-cart-open", !1), e("#primary-menu > ul, #primary-menu > div > ul").toggleClass("show", !1), S.toggleClass("pagemenu-active", !1), a.hasClass("top-search-open") && _.find("input").focus(), t.stopPropagation(), t.preventDefault()
            })
        },
        topcart: function() {
            e("#top-cart-trigger").on('click',function(e) {
                S.toggleClass("pagemenu-active", !1), A.toggleClass("top-cart-open"), e.stopPropagation(), e.preventDefault()
            })
        }
    }, SEMICOLON.slider = {
        init: function() {
            SEMICOLON.slider.sliderParallaxDimensions(), SEMICOLON.slider.sliderRun(), SEMICOLON.slider.sliderParallax(), SEMICOLON.slider.sliderElementsFade(), SEMICOLON.slider.captionPosition()
        },
        sliderParallaxDimensions: function() {
            if (E.find(".slider-parallax-inner").length < 1) return !0;
            if (a.hasClass("device-lg") || a.hasClass("device-md") || a.hasClass("device-sm")) {
                var e = E.outerHeight(),
                    t = E.outerWidth();
                (E.hasClass("revslider-wrap") || E.find(".carousel-widget").length > 0) && (e = E.find(".slider-parallax-inner").children().first().outerHeight(), E.height(e)), E.find(".slider-parallax-inner").height(e), a.hasClass("side-header") && E.find(".slider-parallax-inner").width(t), a.hasClass("stretched") || (t = i.outerWidth(), E.find(".slider-parallax-inner").width(t))
            } else E.find(".slider-parallax-inner").css({
                width: "",
                height: ""
            });
            "" != L && L.update(!0)
        },
        sliderRun: function() {
            if ("undefined" == typeof Swiper) return console.log("sliderRun: Swiper not Defined."), !0;
            if (k.hasClass("customjs")) return !0;
            if (k.hasClass("swiper_wrapper")) {
                var t = k.filter(".swiper_wrapper"),
                    a = t.attr("data-direction"),
                    i = t.attr("data-speed"),
                    s = t.attr("data-autoplay"),
                    n = t.attr("data-loop"),
                    o = t.attr("data-effect"),
                    r = t.attr("data-grab"),
                    l = t.find("#slide-number-total"),
                    d = t.find("#slide-number-current"),
                    c = t.attr("data-video-autoplay");
                if (i || (i = 300), a || (a = "horizontal"), s && (s = Number(s)), n = "true" == n ? !0 : !1, o || (o = "slide"), r = "false" == r ? !1 : !0, c = "false" == c ? !1 : !0, t.find(".swiper-pagination").length > 0) var u = ".swiper-pagination",
                    h = !0;
                else var u = "",
                    h = !1;
                var f = "#slider-arrow-right",
                    m = "#slider-arrow-left";
                L = new Swiper(t.find(".swiper-parent"), {
                    direction: a,
                    speed: Number(i),
                    autoplay: s,
                    loop: n,
                    effect: o,
                    slidesPerView: 1,
                    grabCursor: r,
                    pagination: u,
                    paginationClickable: h,
                    prevButton: m,
                    nextButton: f,
                    onInit: function(a) {
                        SEMICOLON.slider.sliderParallaxDimensions(), t.find(".yt-bg-player").removeClass("customjs"), SEMICOLON.widget.youtubeBgVideo(), e(".swiper-slide-active [data-caption-animate]").each(function() {
                            var t = e(this),
                                a = t.attr("data-caption-delay"),
                                i = 0;
                            if (i = a ? Number(a) + 750 : 750, !t.hasClass("animated")) {
                                t.addClass("not-animated");
                                var s = t.attr("data-caption-animate");
                                setTimeout(function() {
                                    t.removeClass("not-animated").addClass(s + " animated")
                                }, i)
                            }
                        }), e("[data-caption-animate]").each(function() {
                            var t = e(this),
                                a = t.attr("data-caption-animate");
                            return t.parents(".swiper-slide").hasClass("swiper-slide-active") ? !0 : void t.removeClass("animated").removeClass(a).addClass("not-animated");
                        }), SEMICOLON.slider.swiperSliderMenu()
                    },
                    onSlideChangeStart: function(a) {
                        d.length > 0 && (1 == n ? d.html(Number(t.find(".swiper-slide.swiper-slide-active").attr("data-swiper-slide-index")) + 1) : d.html(L.activeIndex + 1)), e("[data-caption-animate]").each(function() {
                            var t = e(this),
                                a = t.attr("data-caption-animate");
                            return t.parents(".swiper-slide").hasClass("swiper-slide-active") ? !0 : void t.removeClass("animated").removeClass(a).addClass("not-animated")
                        }), SEMICOLON.slider.swiperSliderMenu()
                    },
                    onSlideChangeEnd: function(a) {
                        t.find(".swiper-slide").each(function() {
                            var t = e(this);
                            t.find("video").length > 0 && 1 == c && t.find("video").get(0).pause(), t.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length > 0 && t.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPPause()
                        }), t.find('.swiper-slide:not(".swiper-slide-active")').each(function() {
                            var t = e(this);
                            t.find("video").length > 0 && 0 != t.find("video").get(0).currentTime && (t.find("video").get(0).currentTime = 0), t.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length > 0 && t.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPGetPlayer().seekTo(t.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").attr("data-start"))
                        }), t.find(".swiper-slide.swiper-slide-active").find("video").length > 0 && 1 == c && t.find(".swiper-slide.swiper-slide-active").find("video").get(0).play(), t.find(".swiper-slide.swiper-slide-active").find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length > 0 && 1 == c && t.find(".swiper-slide.swiper-slide-active").find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPPlay(), t.find(".swiper-slide.swiper-slide-active [data-caption-animate]").each(function() {
                            var t = e(this),
                                a = t.attr("data-caption-delay"),
                                i = 0;
                            if (i = a ? Number(a) + 300 : 300, !t.hasClass("animated")) {
                                t.addClass("not-animated");
                                var s = t.attr("data-caption-animate");
                                setTimeout(function() {
                                    t.removeClass("not-animated").addClass(s + " animated")
                                }, i)
                            }
                        })
                    }
                }), d.length > 0 && (1 == n ? d.html(Number(t.find(".swiper-slide.swiper-slide-active").attr("data-swiper-slide-index")) + 1) : d.html(L.activeIndex + 1)), l.length > 0 && l.html(t.find(".swiper-slide:not(.swiper-slide-duplicate)").length)
            }
        },
        sliderParallaxOffset: function() {
            var e = 0,
                t = s.outerHeight();
            if ((a.hasClass("side-header") || s.hasClass("transparent-header")) && (t = 0), T.length > 0) {
                var i = T.outerHeight();
                e = i + t
            } else e = t;
            return k.next("#header").length > 0 && (e = 0), e
        },
        sliderParallax: function() {
            if (E.length < 1) return !0;
            var i = SEMICOLON.slider.sliderParallaxOffset(),
                s = E.outerHeight();
            if (!a.hasClass("device-lg") && !a.hasClass("device-md") || SEMICOLON.isMobile.any()) E.find(".slider-parallax-inner").length > 0 ? e(".slider-parallax-inner,.slider-parallax .slider-caption,.ei-title").css({
                transform: "translateY(0px)"
            }) : e(".slider-parallax,.slider-parallax .slider-caption,.ei-title").css({
                transform: "translateY(0px)"
            });
            else {
                if (s + i + 50 > t.scrollTop())
                    if (E.addClass("slider-parallax-visible").removeClass("slider-parallax-invisible"), t.scrollTop() > i)
                        if (E.find(".slider-parallax-inner").length > 0) {
                            var n = ((t.scrollTop() - i) * -.4).toFixed(0),
                                o = ((t.scrollTop() - i) * -.15).toFixed(0);
                            E.find(".slider-parallax-inner").css({
                                transform: "translateY(" + n + "px)"
                            }), e(".slider-parallax .slider-caption,.ei-title").css({
                                transform: "translateY(" + o + "px)"
                            })
                        } else {
                            var n = ((t.scrollTop() - i) / 1.5).toFixed(0),
                                o = ((t.scrollTop() - i) / 7).toFixed(0);
                            E.css({
                                transform: "translateY(" + n + "px)"
                            }), e(".slider-parallax .slider-caption,.ei-title").css({
                                transform: "translateY(" + -o + "px)"
                            })
                        }
                else E.find(".slider-parallax-inner").length > 0 ? e(".slider-parallax-inner,.slider-parallax .slider-caption,.ei-title").css({
                    transform: "translateY(0px)"
                }) : e(".slider-parallax,.slider-parallax .slider-caption,.ei-title").css({
                    transform: "translateY(0px)"
                });
                else E.addClass("slider-parallax-invisible").removeClass("slider-parallax-visible");
                requesting && requestAnimationFrame(function() {
                    SEMICOLON.slider.sliderParallax(), SEMICOLON.slider.sliderElementsFade()
                })
            }
        },
        sliderElementsFade: function() {
            if (E.length > 0)
                if (!a.hasClass("device-lg") && !a.hasClass("device-md") || SEMICOLON.isMobile.any()) E.find("#slider-arrow-left,#slider-arrow-right,.vertical-middle:not(.no-fade),.slider-caption,.ei-title,.camera_prev,.camera_next").css({
                    opacity: 1
                });
                else {
                    var i = (SEMICOLON.slider.sliderParallaxOffset(), E.outerHeight());
                    if (k.length > 0) {
                        if (s.hasClass("transparent-header") || e("body").hasClass("side-header")) var n = 100;
                        else var n = 0;
                        E.find("#slider-arrow-left,#slider-arrow-right,.vertical-middle:not(.no-fade),.slider-caption,.ei-title,.camera_prev,.camera_next").css({
                            opacity: 1 - 1.85 * (t.scrollTop() - n) / i
                        })
                    }
                }
        },
        captionPosition: function() {
            k.find(".slider-caption:not(.custom-caption-pos)").each(function() {
                var t = e(this).outerHeight(),
                    i = k.outerHeight();
                e(this).parents("#slider").prev("#header").hasClass("transparent-header") && (a.hasClass("device-lg") || a.hasClass("device-md")) ? e(this).parents("#slider").prev("#header").hasClass("floating-header") ? e(this).css({
                    top: (i + 160 - t) / 2 + "px"
                }) : e(this).css({
                    top: (i + 100 - t) / 2 + "px"
                }) : e(this).css({
                    top: (i - t) / 2 + "px"
                })
            })
        },
        swiperSliderMenu: function(e) {
            if (e = "undefined" != typeof e ? e : !1, a.hasClass("device-lg") || a.hasClass("device-md")) {
                var t = k.find(".swiper-slide.swiper-slide-active");
                SEMICOLON.slider.headerSchemeChanger(t, e)
            }
        },
        revolutionSliderMenu: function(e) {
            if (e = "undefined" != typeof e ? e : !1, a.hasClass("device-lg") || a.hasClass("device-md")) {
                var t = k.find(".active-revslide");
                SEMICOLON.slider.headerSchemeChanger(t, e)
            }
        },
        headerSchemeChanger: function(t, i) {
            if (t.length > 0) {
                var o = !1;
                if (t.hasClass("dark")) {
                    if (d) var r = d.split(/ +/);
                    else var r = "";
                    var l = r.length;
                    if (l > 0) {
                        var c = 0;
                        for (c = 0; l > c; c++)
                            if ("dark" == r[c] && 1 == i) {
                                o = !0;
                                break
                            }
                    }
                    e("#header.transparent-header:not(.sticky-header,.semi-transparent,.floating-header)").addClass("dark"), o || e("#header.transparent-header.sticky-header,#header.transparent-header.semi-transparent.sticky-header,#header.transparent-header.floating-header.sticky-header").removeClass("dark"), n.removeClass("not-dark")
                } else a.hasClass("dark") ? (t.addClass("not-dark"), e("#header.transparent-header:not(.semi-transparent,.floating-header)").removeClass("dark"), e("#header.transparent-header:not(.sticky-header,.semi-transparent,.floating-header)").find("#header-wrap").addClass("not-dark")) : (e("#header.transparent-header:not(.semi-transparent,.floating-header)").removeClass("dark"), n.removeClass("not-dark"));
                s.hasClass("sticky-header") && SEMICOLON.header.stickyMenuClass(), SEMICOLON.header.logo()
            }
        },
        owlCaptionInit: function() {
            G.length > 0 && G.each(function() {
                var t = e(this);
                t.find(".owl-dot").length > 0 && t.addClass("with-carousel-dots")
            })
        }
    }, SEMICOLON.portfolio = {
        init: function() {
            SEMICOLON.portfolio.ajaxload()
        },
        gridInit: function(t) {
            return e().isotope ? t.length < 1 ? !0 : t.hasClass("customjs") ? !0 : void t.each(function() {
                var t = e(this),
                    a = t.attr("data-transition"),
                    i = t.attr("data-layout"),
                    s = t.attr("data-stagger");
                a || (a = "0.65s"), i || (i = "masonry"), s || (s = 0), setTimeout(function() {
                    t.hasClass("portfolio") ? t.isotope({
                        layoutMode: i,
                        transitionDuration: a,
                        stagger: Number(s),
                        masonry: {
                            columnWidth: t.find(".portfolio-item:not(.wide)")[0]
                        }
                    }) : t.isotope({
                        layoutMode: i,
                        transitionDuration: a
                    })
                }, 300)
            }) : (console.log("gridInit: Isotope not Defined."), !0)
        },
        filterInit: function() {
            return e().isotope ? F.length < 1 ? !0 : F.hasClass("customjs") ? !0 : void F.each(function() {
                var t = e(this),
                    a = t.attr("data-container"),
                    i = t.attr("data-active-class"),
                    s = t.attr("data-default");
                i || (i = "activeFilter"), t.find("a").on('click',function() {
                    t.find("li").removeClass(i), e(this).parent("li").addClass(i);
                    var s = e(this).attr("data-filter");
                    return e(a).isotope({
                        filter: s
                    }), !1
                }), s && (t.find("li").removeClass(i), t.find('[data-filter="' + s + '"]').parent("li").addClass(i), e(a).isotope({
                    filter: s
                }))
            }) : (console.log("filterInit: Isotope not Defined."), !0)
        },
        shuffleInit: function() {
            return e().isotope ? e(".portfolio-shuffle").length < 1 ? !0 : void e(".portfolio-shuffle").on('click',function() {
                var t = e(this),
                    a = t.attr("data-container");
                e(a).isotope("shuffle")
            }) : (console.log("shuffleInit: Isotope not Defined."), !0)
        },
        portfolioDescMargin: function() {
            var t = e(".portfolio-overlay");
            t.length > 0 && t.each(function() {
                var t = e(this);
                if (t.find(".portfolio-desc").length > 0) {
                    var a = t.outerHeight(),
                        i = t.find(".portfolio-desc").outerHeight();
                    if (t.find("a.left-icon").length > 0 || t.find("a.right-icon").length > 0 || t.find("a.center-icon").length > 0) var s = 60;
                    else var s = 0;
                    var n = (a - i - s) / 2;
                    t.find(".portfolio-desc").css({
                        "margin-top": n
                    })
                }
            })
        },
        arrange: function() {
            I.length > 0 && I.each(function() {
                var t = e(this);
                SEMICOLON.initialize.setFullColumnWidth(t)
            })
        },
        ajaxload: function() {
            e(".portfolio-ajax .portfolio-item a.center-icon").on('click',function(t) {
                var a = e(this).parents(".portfolio-item").attr("id");
                e(this).parents(".portfolio-item").hasClass("portfolio-active") || SEMICOLON.portfolio.loadItem(a, H), t.preventDefault()
            })
        },
        newNextPrev: function(t) {
            var a = SEMICOLON.portfolio.getNextItem(t),
                i = SEMICOLON.portfolio.getPrevItem(t);
            e("#next-portfolio").attr("data-id", a), e("#prev-portfolio").attr("data-id", i)
        },
        loadItem: function(t, a, i) {
            i || (i = !1);
            var s = SEMICOLON.portfolio.getNextItem(t),
                n = SEMICOLON.portfolio.getPrevItem(t);
            if (0 == i) {
                SEMICOLON.portfolio.closeItem(), D.fadeIn();
                var o = e("#" + t).attr("data-loader");
                j.load(o, {
                    portid: t,
                    portnext: s,
                    portprev: n
                }, function() {
                    SEMICOLON.portfolio.initializeAjax(t), SEMICOLON.portfolio.openItem(), z.removeClass("portfolio-active"), e("#" + t).addClass("portfolio-active")
                })
            }
        },
        closeItem: function() {
            P && P.height() > 32 && (D.fadeIn(), P.find("#portfolio-ajax-single").fadeOut("600", function() {
                e(this).remove()
            }), P.removeClass("portfolio-ajax-opened"))
        },
        openItem: function() {
            var t = P.find("img").length,
                a = 0;
            if (t > 0) P.find("img").on("load", function() {
                a++;
                var i = SEMICOLON.initialize.topScrollOffset();
                if (t === a) {
                    j.css({
                        display: "block"
                    }), P.addClass("portfolio-ajax-opened"), D.fadeOut();
                    setTimeout(function() {
                        SEMICOLON.widget.loadFlexSlider(), SEMICOLON.initialize.lightbox(), SEMICOLON.initialize.resizeVideos(), SEMICOLON.widget.masonryThumbs(), e("html,body").stop(!0).animate({
                            scrollTop: P.offset().top - i
                        }, 900, "easeOutQuad")
                    }, 500)
                }
            });
            else {
                var i = SEMICOLON.initialize.topScrollOffset();
                j.css({
                    display: "block"
                }), P.addClass("portfolio-ajax-opened"), D.fadeOut();
                setTimeout(function() {
                    SEMICOLON.widget.loadFlexSlider(), SEMICOLON.initialize.lightbox(), SEMICOLON.initialize.resizeVideos(), SEMICOLON.widget.masonryThumbs(), e("html,body").stop(!0).animate({
                        scrollTop: P.offset().top - i
                    }, 900, "easeOutQuad")
                }, 500)
            }
        },
        getNextItem: function(t) {
            var a = "",
                i = e("#" + t).next();
            return 0 != i.length && (a = i.attr("id")), a
        },
        getPrevItem: function(t) {
            var a = "",
                i = e("#" + t).prev();
            return 0 != i.length && (a = i.attr("id")), a
        },
        initializeAjax: function(t) {
            H = e("#" + t), e("#next-portfolio, #prev-portfolio").on('click',function() {
                var t = e(this).attr("data-id");
                return z.removeClass("portfolio-active"), e("#" + t).addClass("portfolio-active"), SEMICOLON.portfolio.loadItem(t, H), !1
            }), e("#close-portfolio").on('click',function() {
                return j.fadeOut("600", function() {
                    P.find("#portfolio-ajax-single").remove()
                }), P.removeClass("portfolio-ajax-opened"), z.removeClass("portfolio-active"), !1
            })
        }
    }, SEMICOLON.widget = {
        init: function() {
            SEMICOLON.widget.animations(), SEMICOLON.widget.youtubeBgVideo(), SEMICOLON.widget.tabs(), SEMICOLON.widget.tabsJustify(), SEMICOLON.widget.tabsResponsive(), SEMICOLON.widget.tabsResponsiveResize(), SEMICOLON.widget.toggles(), SEMICOLON.widget.accordions(), SEMICOLON.widget.counter(), SEMICOLON.widget.roundedSkill(), SEMICOLON.widget.progress(), SEMICOLON.widget.twitterFeed(), SEMICOLON.widget.flickrFeed(), SEMICOLON.widget.instagramPhotos("36286274.b9e559e.4824cbc1d0c94c23827dc4a2267a9f6b", "b9e559ec7c284375bf41e9a9fb72ae01"), SEMICOLON.widget.dribbbleShots("01530280af335d298e756ed8ef786c8c4e92a50b88e53a185531b1a639e768b8"), SEMICOLON.widget.navTree(), SEMICOLON.widget.textRotater(), SEMICOLON.widget.carousel(), SEMICOLON.widget.linkScroll(), SEMICOLON.widget.contactForm(), SEMICOLON.widget.subscription(), SEMICOLON.widget.quickContact(), SEMICOLON.widget.cookieNotify(), SEMICOLON.widget.extras()
        },
        parallax: function() {
            return e.stellar ? void((J.length > 0 || X.length > 0 || K.length > 0) && (SEMICOLON.isMobile.any() ? (J.addClass("mobile-parallax"), X.addClass("mobile-parallax"), K.addClass("mobile-parallax")) : e.stellar({
                horizontalScrolling: !1,
                verticalOffset: 150
            }))) : (console.log("parallax: Stellar not Defined."), !0)
        },
        animations: function() {
            if (!e().appear) return console.log("animations: Appear not Defined."), !0;
            var t = e("[data-animate]");
            t.length > 0 && (a.hasClass("device-lg") || a.hasClass("device-md") || a.hasClass("device-sm")) && t.each(function() {
                var t = e(this),
                    a = t.attr("data-animate-out"),
                    i = t.attr("data-delay"),
                    s = t.attr("data-delay-out"),
                    n = 0,
                    o = 3e3;
                if (t.parents(".fslider.no-thumbs-animate").length > 0) return !0;
                if (n = i ? Number(i) + 500 : 500, a && s && (o = Number(s) + n), !t.hasClass("animated")) {
                    t.addClass("not-animated");
                    var r = t.attr("data-animate");
                    t.appear(function() {
                        setTimeout(function() {
                            t.removeClass("not-animated").addClass(r + " animated")
                        }, n), a && setTimeout(function() {
                            t.removeClass(r).addClass(a)
                        }, o)
                    }, {
                        accX: 0,
                        accY: -120
                    }, "easeInCubic")
                }
            })
        },
        loadFlexSlider: function() {
            if (!e().flexslider) return console.log("loadFlexSlider: FlexSlider not Defined."), !0;
            var t = e(".fslider:not(.customjs)").find(".flexslider");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    a = t.parent(".fslider").attr("data-animation"),
                    i = t.parent(".fslider").attr("data-easing"),
                    s = t.parent(".fslider").attr("data-direction"),
                    n = t.parent(".fslider").attr("data-reverse"),
                    o = t.parent(".fslider").attr("data-slideshow"),
                    r = t.parent(".fslider").attr("data-pause"),
                    l = t.parent(".fslider").attr("data-speed"),
                    d = t.parent(".fslider").attr("data-video"),
                    c = t.parent(".fslider").attr("data-pagi"),
                    u = t.parent(".fslider").attr("data-arrows"),
                    h = t.parent(".fslider").attr("data-thumbs"),
                    f = t.parent(".fslider").attr("data-hover"),
                    m = t.parent(".fslider").attr("data-smooth-height"),
                    p = t.parent(".fslider").attr("data-touch"),
                    g = !1;
                a || (a = "slide"), i && "swing" != i || (i = "swing", g = !0), s || (s = "horizontal"), n = "true" == n ? !0 : !1, o = o ? !1 : !0, r || (r = 5e3), l || (l = 600), d || (d = !1), m = "false" == m ? !1 : !0, "vertical" == s && (m = !1), c = "false" == c ? !1 : !0, c = "true" == h ? "thumbnails" : c, u = "false" == u ? !1 : !0, f = "false" == f ? !1 : !0, p = "false" == p ? !1 : !0, t.flexslider({
                    selector: ".slider-wrap > .slide",
                    animation: a,
                    easing: i,
                    direction: s,
                    reverse: n,
                    slideshow: o,
                    slideshowSpeed: Number(r),
                    animationSpeed: Number(l),
                    pauseOnHover: f,
                    video: d,
                    controlNav: c,
                    directionNav: u,
                    smoothHeight: m,
                    useCSS: g,
                    touch: p,
                    start: function(t) {
                        SEMICOLON.widget.animations(), SEMICOLON.initialize.verticalMiddle(), t.parent().removeClass("preloader2");
                        setTimeout(function() {
                            e(".grid-container").isotope("layout")
                        }, 1200);
                        SEMICOLON.initialize.lightbox(), e(".flex-prev").html('<i class="fa fa-angle-left"></i>'), e(".flex-next").html('<i class="fa fa-angle-right"></i>'), SEMICOLON.portfolio.portfolioDescMargin()
                    },
                    after: function() {
                        e(".grid-container").hasClass("portfolio-full") && (e(".grid-container.portfolio-full").isotope("layout"), SEMICOLON.portfolio.portfolioDescMargin())
                    }
                })
            })
        },
        html5Video: function() {
            var t = e(".video-wrap:has(video)");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    a = t.find("video"),
                    i = t.outerWidth(),
                    s = t.outerHeight(),
                    n = a.outerWidth(),
                    o = a.outerHeight();
                if (s > o) {
                    var r = n / o,
                        l = s * r,
                        d = (l - i) / 2;
                    a.css({
                        width: l + "px",
                        height: s + "px",
                        left: -d + "px"
                    })
                } else {
                    var d = (o - s) / 2;
                    a.css({
                        width: n + "px",
                        height: o + "px",
                        top: -d + "px"
                    })
                }
                if (SEMICOLON.isMobile.any()) {
                    var c = a.attr("poster");
                    "" != c && t.append('<div class="video-placeholder" style="background-image: url(' + c + ');"></div>')
                }
            })
        },
        youtubeBgVideo: function() {
            if (!e().mb_YTPlayer) return console.log("youtubeBgVideo: YoutubeBG Plugin not Defined."), !0;
            var t = e(".yt-bg-player");
            return t.hasClass("customjs") ? !0 : void(t.length > 0 && t.each(function() {
                var t = e(this),
                    a = t.attr("data-video"),
                    i = t.attr("data-mute"),
                    s = t.attr("data-ratio"),
                    n = t.attr("data-quality"),
                    o = t.attr("data-opacity"),
                    r = t.attr("data-container"),
                    l = t.attr("data-optimize"),
                    d = t.attr("data-loop"),
                    c = t.attr("data-volume"),
                    u = t.attr("data-start"),
                    h = t.attr("data-stop"),
                    f = t.attr("data-autoplay"),
                    m = t.attr("data-fullscreen");
                i = "false" == i ? !1 : !0, s || (s = "16/9"), n || (n = "hd720"), o || (o = 1), r || (r = "self"), l = "false" == l ? !1 : !0, d = "false" == d ? !1 : !0, c || (c = 1), u || (u = 0), h || (h = 0), f = "false" == f ? !1 : !0, m = "true" == m ? !0 : !1, t.mb_YTPlayer({
                    videoURL: a,
                    mute: i,
                    ratio: s,
                    quality: n,
                    opacity: Number(o),
                    containment: r,
                    optimizeDisplay: l,
                    loop: d,
                    vol: Number(c),
                    startAt: Number(u),
                    stopAt: Number(h),
                    autoplay: f,
                    realfullscreen: m,
                    showYTLogo: !1,
                    showControls: !1
                })
            }))
        },
        tabs: function() {
            if (!e().tabs) return console.log("tabs: Tabs not Defined."), !0;
            var t = e(".tabs:not(.customjs)");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    a = t.attr("data-speed"),
                    i = t.attr("data-active");
                a || (a = 400), i ? i -= 1 : i = 0, t.tabs({
                    active: Number(i),
                    show: {
                        effect: "fade",
                        duration: Number(a)
                    }
                })
            })
        },
        tabsJustify: function() {
            if (e("body").hasClass("device-xxs") || e("body").hasClass("device-xs")) e(".tabs.tabs-justify").find(".tab-nav > li").css({
                width: ""
            });
            else {
                var t = e(".tabs.tabs-justify");
                t.length > 0 && t.each(function() {
                    var t = e(this),
                        a = t.find(".tab-nav > li"),
                        i = a.length,
                        s = 0,
                        n = 0;
                    s = t.hasClass("tabs-bordered") || t.hasClass("tabs-bb") ? t.find(".tab-nav").outerWidth() : t.find("tab-nav").hasClass("tab-nav2") ? t.find(".tab-nav").outerWidth() - 10 * i : t.find(".tab-nav").outerWidth() - 30, n = Math.floor(s / i), a.css({
                        width: n + "px"
                    })
                })
            }
        },
        tabsResponsive: function() {
            if (!e().tabs) return console.log("tabs: Tabs not Defined."), !0;
            var t = e(".tabs.tabs-responsive");
            return t.length < 1 ? !0 : void t.each(function() {
                var t = (e(this), e(this).find(".tab-nav")),
                    a = e(this).find(".tab-container");
                t.children("li").each(function() {
                    var t = e(this),
                        i = t.children("a"),
                        s = i.attr("href"),
                        n = i.html();
                    a.find(s).before('<div class="acctitle hide"><i class="acc-closed icon-ok-circle"></i><i class="acc-open icon-remove-circle"></i>' + n + "</div>")
                })
            })
        },
        tabsResponsiveResize: function() {
            if (!e().tabs) return console.log("tabs: Tabs not Defined."), !0;
            var t = e(".tabs.tabs-responsive");
            return t.length < 1 ? !0 : void t.each(function() {
                var t = e(this),
                    a = t.attr("data-accordion-style");
                e("body").hasClass("device-xs") || e("body").hasClass("device-xxs") ? (t.find(".tab-nav").addClass("hide"), t.find(".tab-container").addClass("accordion " + a + " clearfix"), t.find(".tab-content").addClass("acc_content"), t.find(".acctitle").removeClass("hide"), SEMICOLON.widget.accordions()) : (e("body").hasClass("device-sm") || e("body").hasClass("device-md") || e("body").hasClass("device-lg")) && (t.find(".tab-nav").removeClass("hide"), t.find(".tab-container").removeClass("accordion " + a + " clearfix"), t.find(".tab-content").removeClass("acc_content"), t.find(".acctitle").addClass("hide"), t.tabs("refresh"))
            })
        },
        toggles: function() {
            var t = e(".toggle");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    a = t.attr("data-state");
                "open" != a ? t.children(".togglec").hide() : t.children(".togglet").addClass("toggleta"), t.children(".togglet").on('click',function() {
                    return e(this).toggleClass("toggleta").next(".togglec").slideToggle(300), !0
                })
            })
        },
        accordions: function() {
            var t = e(".accordion");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    a = t.attr("data-state"),
                    i = t.attr("data-active");
                i ? i -= 1 : i = 0, t.find(".acc_content").hide(), "closed" != a && t.find(".acctitle:eq(" + Number(i) + ")").addClass("acctitlec").next().show(), t.find(".acctitle").on('click',function() {
                    return e(this).next().is(":hidden") && (t.find(".acctitle").removeClass("acctitlec").next().slideUp("normal"), e(this).toggleClass("acctitlec").next().slideDown("normal")), !1
                })
            })
        },
        counter: function() {
            if (!e().appear) return console.log("counter: Appear not Defined."), !0;
            if (!e().countTo) return console.log("counter: countTo not Defined."), !0;
            var t = e(".counter:not(.counter-instant)");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    i = e(this).find("span").attr("data-comma");
                i = i ? !0 : !1, a.hasClass("device-lg") || a.hasClass("device-md") ? t.appear(function() {
                    SEMICOLON.widget.runCounter(t, i), t.parents(".common-height") && SEMICOLON.initialize.maxHeight()
                }, {
                    accX: 0,
                    accY: -120
                }, "easeInCubic") : SEMICOLON.widget.runCounter(t, i)
            })
        },
        runCounter: function(e, t) {
            1 == t ? e.find("span").countTo({
                formatter: function(e, t) {
                    return e = e.toFixed(t.decimals), e = e.replace(/\B(?=(\d{3})+(?!\d))/g, ",")
                }
            }) : e.find("span").countTo()
        },
        roundedSkill: function() {
            if (!e().appear) return console.log("roundedSkill: Appear not Defined."), !0;
            if (!e().easyPieChart) return console.log("roundedSkill: EasyPieChart not Defined."), !0;
            var t = e(".rounded-skill");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    i = t.attr("data-size"),
                    s = t.attr("data-speed"),
                    n = t.attr("data-width"),
                    o = t.attr("data-color"),
                    r = t.attr("data-trackcolor");
                i || (i = 140), s || (s = 2e3), n || (n = 8), o || (o = "#0093BF"), r || (r = "rgba(0,0,0,0.04)");
                var l = {
                    roundSkillSize: i,
                    roundSkillSpeed: s,
                    roundSkillWidth: n,
                    roundSkillColor: o,
                    roundSkillTrackColor: r
                };
                a.hasClass("device-lg") || a.hasClass("device-md") ? (t.css({
                    width: i + "px",
                    height: i + "px",
                    "line-height": i + "px"
                }).animate({
                    opacity: 0
                }, 10), t.appear(function() {
                    if (!t.hasClass("skills-animated")) {
                        setTimeout(function() {
                            t.css({
                                opacity: 1
                            })
                        }, 100);
                        SEMICOLON.widget.runRoundedSkills(t, l), t.addClass("skills-animated")
                    }
                }, {
                    accX: 0,
                    accY: -120
                }, "easeInCubic")) : SEMICOLON.widget.runRoundedSkills(t, l)
            })
        },
        runRoundedSkills: function(e, t) {
            e.easyPieChart({
                size: Number(t.roundSkillSize),
                animate: Number(t.roundSkillSpeed),
                scaleColor: !1,
                trackColor: t.roundSkillTrackColor,
                lineWidth: Number(t.roundSkillWidth),
                lineCap: "square",
                barColor: t.roundSkillColor
            })
        },
        progress: function() {
            if (!e().appear) return console.log("progress: Appear not Defined."), !0;
            var t = e(".progress");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    i = t.parent("li"),
                    s = i.attr("data-percent");
                a.hasClass("device-lg") || a.hasClass("device-md") ? t.appear(function() {
                    i.hasClass("skills-animated") || (t.find(".counter-instant span").countTo(), i.find(".progress").css({
                        width: s + "%"
                    }).addClass("skills-animated"))
                }, {
                    accX: 0,
                    accY: -120
                }, "easeInCubic") : (t.find(".counter-instant span").countTo(), i.find(".progress").css({
                    width: s + "%"
                }))
            })
        },
        twitterFeed: function() {
            if ("undefined" == typeof sm_format_twitter) return console.log("twitterFeed: sm_format_twitter() not Defined."), !0;
            if ("undefined" == typeof sm_format_twitter3) return console.log("twitterFeed: sm_format_twitter3() not Defined."), !0;
            var t = e(".twitter-feed");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    a = t.attr("data-username"),
                    i = t.attr("data-count"),
                    s = t.attr("data-loader");
                a || (a = "twitter"), i || (i = 3), s || (s = "include/twitter/tweets.php"), e.getJSON(s + "?username=" + a + "&count=" + i, function(e) {
                    t.hasClass("fslider") ? t.find(".slider-wrap").html(sm_format_twitter3(e)).promise().done(function() {
                        var e = setInterval(function() {
                            if (t.find(".slide").length > 1) {
                                t.removeClass("customjs");
                                setTimeout(function() {
                                    SEMICOLON.widget.loadFlexSlider()
                                }, 500);
                                clearInterval(e)
                            }
                        }, 500)
                    }) : t.html(sm_format_twitter(e))
                })
            })
        },
        flickrFeed: function() {
            if (!e().jflickrfeed) return console.log("flickrFeed: jflickrfeed not Defined."), !0;
            var t = e(".flickr-feed");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    a = t.attr("data-id"),
                    i = t.attr("data-count"),
                    s = t.attr("data-type"),
                    n = "photos_public.gne";
                "group" == s && (n = "groups_pool.gne"), i || (i = 9), t.jflickrfeed({
                    feedapi: n,
                    limit: Number(i),
                    qstrings: {
                        id: a
                    },
                    itemTemplate: '<a href="{{image_b}}" title="{{title}}" data-lightbox="gallery-item"><img src="{{image_s}}" alt="{{title}}" /></a>'
                }, function(e) {
                    SEMICOLON.initialize.lightbox()
                })
            })
        },
        instagramPhotos: function(t, a) {
            if ("undefined" == typeof Instafeed) return console.log("Instafeed not Defined."), !0;
            var i = e(".instagram-photos");
            i.length > 0 && i.each(function() {
                var i = e(this),
                    s = i.attr("id"),
                    n = i.attr("data-user"),
                    o = i.attr("data-tag"),
                    r = (i.attr("data-location"), i.attr("data-count")),
                    l = i.attr("data-type"),
                    d = i.attr("data-sortBy"),
                    c = i.attr("data-resolution");
                if (r || (r = 9), d || (d = "none"), c || (c = "thumbnail"), "user" == l) var u = new Instafeed({
                    target: s,
                    get: l,
                    userId: Number(n),
                    limit: Number(r),
                    sortBy: d,
                    resolution: c,
                    accessToken: t,
                    clientId: a
                });
                else if ("tagged" == l) var u = new Instafeed({
                    target: s,
                    get: l,
                    tagName: o,
                    limit: Number(r),
                    sortBy: d,
                    resolution: c,
                    clientId: a
                });
                else if ("location" == l) var u = new Instafeed({
                    target: s,
                    get: l,
                    locationId: Number(n),
                    limit: Number(r),
                    sortBy: d,
                    resolution: c,
                    clientId: a
                });
                else var u = new Instafeed({
                    target: s,
                    get: "popular",
                    limit: Number(r),
                    sortBy: d,
                    resolution: c,
                    clientId: a
                });
                u.run()
            })
        },
        dribbbleShots: function(t) {
            if (!e.jribbble) return console.log("dribbbleShots: Jribbble not Defined."), !0;
            if (!e().imagesLoaded) return console.log("dribbbleShots: imagesLoaded not Defined."), !0;
            var a = e(".dribbble-shots");
            a.length > 0 && (e.jribbble.setToken(t), a.each(function() {
                var t = e(this),
                    a = t.attr("data-user"),
                    i = t.attr("data-count"),
                    s = t.attr("data-list"),
                    n = t.attr("data-type");
                t.addClass("customjs"), i || (i = 9), "user" == n ? e.jribbble.users(a).shots({
                    sort: "recent",
                    page: 1,
                    per_page: Number(i)
                }).then(function(e) {
                    var a = [];
                    e.forEach(function(e) {
                        a.push('<a href="' + e.html_url + '" target="_blank">'), a.push('<img src="' + e.images.teaser + '" '), a.push('alt="' + e.title + '"></a>')
                    }), t.html(a.join("")), t.imagesLoaded().done(function() {
                        t.removeClass("customjs"), SEMICOLON.widget.masonryThumbs()
                    })
                }) : "list" == n && e.jribbble.shots(s, {
                    sort: "recent",
                    page: 1,
                    per_page: Number(i)
                }).then(function(e) {
                    var a = [];
                    e.forEach(function(e) {
                        a.push('<a href="' + e.html_url + '" target="_blank">'), a.push('<img src="' + e.images.teaser + '" '), a.push('alt="' + e.title + '"></a>')
                    }), t.html(a.join("")), t.imagesLoaded().done(function() {
                        t.removeClass("customjs"), SEMICOLON.widget.masonryThumbs()
                    })
                })
            }))
        },
        navTree: function() {
            var t = e(".nav-tree");
            t.length > 0 && t.each(function() {
                var t = e(this),
                    a = t.attr("data-speed"),
                    i = t.attr("data-easing");
                a || (a = 250), i || (i = "swing"), t.find("ul li:has(ul)").addClass("sub-menu"), t.find("ul li:has(ul) > a").append(' <i class="icon-angle-down"></i>'), t.hasClass("on-hover") ? t.find("ul li:has(ul):not(.active)").hover(function(t) {
                    e(this).children("ul").stop(!0, !0).slideDown(Number(a), i)
                }, function() {
                    e(this).children("ul").delay(250).slideUp(Number(a), i)
                }) : t.find("ul li:has(ul) > a").on('click',function(s) {
                    var n = e(this);
                    t.find("ul li").not(n.parents()).removeClass("active"), n.parent().children("ul").slideToggle(Number(a), i, function() {
                        e(this).find("ul").hide(), e(this).find("li.active").removeClass("active")
                    }), t.find("ul li > ul").not(n.parent().children("ul")).not(n.parents("ul")).slideUp(Number(a), i), n.parent("li:has(ul)").toggleClass("active"), s.preventDefault()
                })
            })
        },
        carousel: function() {
            if (!e().owlCarousel) return console.log("carousel: Owl Carousel not Defined."), !0;
            var t = e(".carousel-widget:not(.customjs)");
            return t.length < 1 ? !0 : void t.each(function() {
                var t = e(this),
                    i = t.attr("data-items"),
                    s = t.attr("data-items-lg"),
                    n = t.attr("data-items-md"),
                    o = t.attr("data-items-sm"),
                    r = t.attr("data-items-xs"),
                    l = t.attr("data-items-xxs"),
                    d = t.attr("data-loop"),
                    c = t.attr("data-autoplay"),
                    u = t.attr("data-speed"),
                    h = t.attr("data-animate-in"),
                    f = t.attr("data-animate-out"),
                    m = t.attr("data-nav"),
                    p = t.attr("data-pagi"),
                    g = t.attr("data-margin"),
                    v = t.attr("data-stage-padding"),
                    C = t.attr("data-merge"),
                    O = t.attr("data-start"),
                    b = t.attr("data-rewind"),
                    y = t.attr("data-slideby"),
                    w = t.attr("data-center"),
                    S = t.attr("data-lazyload"),
                    x = t.attr("data-video"),
                    N = t.attr("data-rtl");
                if (i || (i = 4), s || (s = Number(i)), n || (n = Number(s)), o || (o = Number(n)), r || (r = Number(o)), l || (l = Number(r)), u || (u = 250), g || (g = 20), v || (v = 0), O || (O = 0), y || (y = 1), y = "page" == y ? "page" : Number(y), d = "true" == d ? !0 : !1, c) {
                    var I = Number(c);
                    c = !0
                } else {
                    c = !1;
                    var I = 0
                }
                h || (h = !1), f || (f = !1), m = "false" == m ? !1 : !0, p = "false" == p ? !1 : !0, b = "true" == b ? !0 : !1, C = "true" == C ? !0 : !1, w = "true" == w ? !0 : !1, S = "true" == S ? !0 : !1, x = "true" == x ? !0 : !1, N = "true" == N || a.hasClass("rtl") ? !0 : !1, t.owlCarousel({
                    margin: Number(g),
                    loop: d,
                    stagePadding: Number(v),
                    merge: C,
                    startPosition: Number(O),
                    rewind: b,
                    slideBy: y,
                    center: w,
                    lazyLoad: S,
                    nav: m,
                    navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
                    autoplay: c,
                    autoplayTimeout: I,
                    autoplayHoverPause: !0,
                    dots: p,
                    smartSpeed: Number(u),
                    fluidSpeed: Number(u),
                    video: x,
                    animateIn: h,
                    animateOut: f,
                    rtl: N,
                    responsive: {
                        0: {
                            items: Number(l)
                        },
                        480: {
                            items: Number(r)
                        },
                        768: {
                            items: Number(o)
                        },
                        992: {
                            items: Number(n)
                        },
                        1200: {
                            items: Number(s)
                        }
                    },
                    onInitialized: function() {
                        SEMICOLON.slider.owlCaptionInit(), SEMICOLON.slider.sliderParallaxDimensions(), SEMICOLON.initialize.lightbox()
                    }
                })
            })
        },
        masonryThumbs: function() {
            var t = e(".masonry-thumbs:not(.customjs)");
            t.length > 0 && t.each(function() {
                var t = e(this);
                SEMICOLON.widget.masonryThumbsArrange(t)
            })
        },
        masonryThumbsArrange: function(t) {
            return e().isotope ? (SEMICOLON.initialize.setFullColumnWidth(t), void t.isotope("layout")) : (console.log("masonryThumbsArrange: Isotope not Defined."), !0)
        },
        notifications: function(t) {
            if ("undefined" == typeof toastr) return console.log("notifications: Toastr not Defined."), !0;
            toastr.remove();
            var a = e(t),
                i = a.attr("data-notify-position"),
                s = a.attr("data-notify-type"),
                n = a.attr("data-notify-msg"),
                o = a.attr("data-notify-close");
            return i = i ? "toast-" + a.attr("data-notify-position") : "toast-top-right", n || (n = "Please set a message!"), o = "true" == o ? !0 : !1, toastr.options.positionClass = i, toastr.options.closeButton = o, toastr.options.closeHtml = '<button><i class="icon-remove"></i></button>', "warning" == s ? toastr.warning(n) : "error" == s ? toastr.error(n) : "success" == s ? toastr.success(n) : toastr.info(n), !1
        },
        textRotater: function() {
            return e().Morphext ? void(Z.length > 0 && Z.each(function() {
                var t = (e(this), e(this).attr("data-rotate")),
                    a = e(this).attr("data-speed"),
                    i = e(this).attr("data-separator");
                t || (t = "fade"), a || (a = 1200), i || (i = ",");
                var s = e(this).find(".t-rotate");
                s.Morphext({
                    animation: t,
                    separator: i,
                    speed: Number(a)
                })
            })) : (console.log("textRotater: Morphext not Defined."), !0)
        },
        linkScroll: function() {
            e("a[data-scrollto]").on('click',function() {
                var t = e(this),
                    a = t.attr("data-scrollto"),
                    i = t.attr("data-speed"),
                    s = t.attr("data-offset"),
                    n = t.attr("data-easing"),
                    o = t.attr("data-highlight");
                return i || (i = 750), s || (s = SEMICOLON.initialize.topScrollOffset()), n || (n = "easeOutQuad"), e("html,body").stop(!0).animate({
                    scrollTop: e(a).offset().top - Number(s)
                }, Number(i), n, function() {
                    if (o)
                        if (e(a).find(".highlight-me").length > 0) {
                            e(a).find(".highlight-me").animate({
                                backgroundColor: o
                            }, 300);
                            setTimeout(function() {
                                e(a).find(".highlight-me").animate({
                                    backgroundColor: "transparent"
                                }, 300)
                            }, 500)
                        } else {
                            e(a).animate({
                                backgroundColor: o
                            }, 300);
                            setTimeout(function() {
                                e(a).animate({
                                    backgroundColor: "transparent"
                                }, 300)
                            }, 500)
                        }
                }), !1
            })
        },
        contactForm: function() {
            if (!e().validate) return console.log("contactForm: Form Validate not Defined."), !0;
            if (!e().ajaxSubmit) return console.log("contactForm: jQuery Form not Defined."), !0;
            var t = e(".contact-widget:not(.customjs)");
            return t.length < 1 ? !0 : void t.each(function() {
                var t = e(this),
                    a = t.attr("data-alert-type"),
                    i = t.attr("data-loader"),
                    s = t.find(".contact-form-result"),
                    n = t.attr("data-redirect");
                t.find("form").validate({
                    submitHandler: function(t) {
                        if (s.hide(), "button" == i) {
                            var o = e(t).find("button"),
                                r = o.html();
                            o.html('<i class="icon-line-loader icon-spin nomargin"></i>')
                        } else e(t).find(".form-process").fadeIn();
                        e(t).ajaxSubmit({
                            target: s,
                            dataType: "json",
                            success: function(l) {
                                if ("button" == i ? o.html(r) : e(t).find(".form-process").fadeOut(), "error" != l.alert && n) return window.location.replace(n), !0;
                                if ("inline" == a) {
                                    if ("error" == l.alert) var d = "alert-danger";
                                    else var d = "alert-success";
                                    s.removeClass("alert-danger alert-success").addClass("alert " + d).html(l.message).slideDown(400)
                                } else s.attr("data-notify-type", l.alert).attr("data-notify-msg", l.message).html(""), SEMICOLON.widget.notifications(s);
                                e(t).find(".g-recaptcha").children("div").length > 0 && grecaptcha.reset(), "error" != l.alert && e(t).clearForm()
                            }
                        })
                    }
                })
            })
        },
        subscription: function() {
            if (!e().validate) return console.log("subscription: Form Validate not Defined."), !0;
            if (!e().ajaxSubmit) return console.log("subscription: jQuery Form not Defined."), !0;
            var t = e(".subscribe-widget:not(.customjs)");
            return t.length < 1 ? !0 : void t.each(function() {
                var t = e(this),
                    a = t.attr("data-alert-type"),
                    i = t.attr("data-loader"),
                    s = t.find(".widget-subscribe-form-result"),
                    n = t.attr("data-redirect");
                t.find("form").validate({
                    submitHandler: function(t) {
                        if (s.hide(), "button" == i) {
                            var o = e(t).find("button"),
                                r = o.html();
                            o.html('<i class="icon-line-loader icon-spin nomargin"></i>')
                        } else e(t).find(".input-group-addon").find(".icon-email2").removeClass("icon-email2").addClass("icon-line-loader icon-spin");
                        e(t).ajaxSubmit({
                            target: s,
                            dataType: "json",
                            resetForm: !0,
                            success: function(l) {
                                if ("button" == i ? o.html(r) : e(t).find(".input-group-addon").find(".icon-line-loader").removeClass("icon-line-loader icon-spin").addClass("icon-email2"), "error" != l.alert && "" != n) return window.location.replace(n), !0;
                                if ("inline" == a) {
                                    if ("error" == l.alert) var d = "alert-danger";
                                    else var d = "alert-success";
                                    s.addClass("alert " + d).html(l.message).slideDown(400)
                                } else s.attr("data-notify-type", l.alert).attr("data-notify-msg", l.message).html(""), SEMICOLON.widget.notifications(s)
                            }
                        })
                    }
                })
            })
        },
        quickContact: function() {
            if (!e().validate) return console.log("quickContact: Form Validate not Defined."), !0;
            if (!e().ajaxSubmit) return console.log("quickContact: jQuery Form not Defined."), !0;
            var t = e(".quick-contact-widget:not(.customjs)");
            return t.length < 1 ? !0 : void t.each(function() {
                var t = e(this),
                    a = t.attr("data-alert-type"),
                    i = t.attr("data-loader"),
                    s = t.find(".quick-contact-form-result"),
                    n = t.attr("data-redirect");
                t.find("form").validate({
                    submitHandler: function(t) {
                        if (s.hide(), e(t).animate({
                                opacity: .4
                            }), "button" == i) {
                            var o = e(t).find("button"),
                                r = o.html();
                            o.html('<i class="icon-line-loader icon-spin nomargin"></i>')
                        } else e(t).find(".form-process").fadeIn();
                        e(t).ajaxSubmit({
                            target: s,
                            dataType: "json",
                            resetForm: !0,
                            success: function(l) {
                                if (e(t).animate({
                                        opacity: 1
                                    }), "button" == i ? o.html(r) : e(t).find(".form-process").fadeOut(), "error" != l.alert && "" != n) return window.location.replace(n), !0;
                                if ("inline" == a) {
                                    if ("error" == l.alert) var d = "alert-danger";
                                    else var d = "alert-success";
                                    s.addClass("alert " + d).html(l.message).slideDown(400)
                                } else s.attr("data-notify-type", l.alert).attr("data-notify-msg", l.message).html(""), SEMICOLON.widget.notifications(s);
                                e(t).find(".g-recaptcha").children("div").length > 0 && grecaptcha.reset()
                            }
                        })
                    }
                })
            })
        },
        cookieNotify: function() {
            if (!e.cookie) return console.log("cookieNotify: Cookie Function not defined."), !0;
            if (ee.length > 0) {
                var t = ee.outerHeight();
                ee.css({
                    bottom: -t
                }), "yesConfirmed" != e.cookie("websiteUsesCookies") && ee.css({
                    bottom: 0
                }), e(".cookie-accept").on('click',function() {
                    return ee.css({
                        bottom: -t
                    }), e.cookie("websiteUsesCookies", "yesConfirmed", {
                        expires: 30
                    }), !1
                })
            }
        },
        extras: function() {
            e().tooltip ? e('[data-toggle="tooltip"]').tooltip({
                container: "body"
            }) : console.log("extras: Bootstrap Tooltip not defined."), e().popover ? e("[data-toggle=popover]").popover() : console.log("extras: Bootstrap Popover not defined."), e(".style-msg").on("click", ".close", function(t) {
                e(this).parents(".style-msg").slideUp(), t.preventDefault()
            }), e("#primary-menu-trigger,#overlay-menu-close").on('click',function() {
                return e("#primary-menu").find("ul.mobile-primary-menu").length > 0 ? e("#primary-menu > ul.mobile-primary-menu, #primary-menu > div > ul.mobile-primary-menu").toggleClass("show") : e("#primary-menu > ul, #primary-menu > div > ul").toggleClass("show"), a.toggleClass("primary-menu-open"), !1
            }), e("#page-submenu-trigger").on('click',function() {
                return a.toggleClass("top-search-open", !1), S.toggleClass("pagemenu-active"), !1
            }), S.find("nav").on('click',function(e) {
                a.toggleClass("top-search-open", !1), A.toggleClass("top-cart-open", !1)
            }), SEMICOLON.isMobile.any() && a.addClass("device-touch")
        }
    }, SEMICOLON.isMobile = {
        Android: function() {
            return navigator.userAgent.match(/Android/i)
        },
        BlackBerry: function() {
            return navigator.userAgent.match(/BlackBerry/i)
        },
        iOS: function() {
            return navigator.userAgent.match(/iPhone|iPad|iPod/i)
        },
        Opera: function() {
            return navigator.userAgent.match(/Opera Mini/i)
        },
        Windows: function() {
            return navigator.userAgent.match(/IEMobile/i)
        },
        any: function() {
            return SEMICOLON.isMobile.Android() || SEMICOLON.isMobile.BlackBerry() || SEMICOLON.isMobile.iOS() || SEMICOLON.isMobile.Opera() || SEMICOLON.isMobile.Windows()
        }
    }, SEMICOLON.documentOnResize = {
        init: function() {
            setTimeout(function() {
                SEMICOLON.header.topsocial(), SEMICOLON.header.fullWidthMenu(), SEMICOLON.header.overlayMenu(), SEMICOLON.initialize.fullScreen(), SEMICOLON.initialize.verticalMiddle(), SEMICOLON.initialize.maxHeight(), SEMICOLON.initialize.testimonialsGrid(), SEMICOLON.initialize.stickyFooter(), SEMICOLON.slider.sliderParallaxDimensions(), SEMICOLON.slider.captionPosition(), SEMICOLON.portfolio.arrange(), SEMICOLON.portfolio.portfolioDescMargin(), SEMICOLON.widget.tabsResponsiveResize(), SEMICOLON.widget.tabsJustify(), SEMICOLON.widget.html5Video(), SEMICOLON.widget.masonryThumbs(), SEMICOLON.initialize.dataResponsiveClasses(), SEMICOLON.initialize.dataResponsiveHeights(), M.length > 0 && (M.hasClass(".customjs") || (e().isotope ? M.isotope("layout") : console.log("documentOnResize > init: Isotope not defined."))), (a.hasClass("device-lg") || a.hasClass("device-md")) && e("#primary-menu").find("ul.mobile-primary-menu").removeClass("show")
            }, 500);
            l = t.width()
        }
    }, SEMICOLON.documentOnReady = {
        init: function() {
            SEMICOLON.initialize.init(), SEMICOLON.header.init(), k.length > 0 && SEMICOLON.slider.init(), I.length > 0 && SEMICOLON.portfolio.init(), SEMICOLON.widget.init(), SEMICOLON.documentOnReady.windowscroll()
        },
        windowscroll: function() {
            var a = 0,
                i = 0,
                o = 0;
            s.length > 0 && (a = s.offset().top), s.length > 0 && (i = n.offset().top), S.length > 0 && (o = s.length > 0 && !s.hasClass("no-sticky") ? s.hasClass("sticky-style-2") || s.hasClass("sticky-style-3") ? S.offset().top - n.outerHeight() : S.offset().top - s.outerHeight() : S.offset().top);
            var r = s.attr("data-sticky-offset");
            if ("undefined" != typeof r)
                if ("full" == r) {
                    i = t.height();
                    var l = s.attr("data-sticky-offset-negative");
                    "undefined" != typeof l && (i = i - l - 1)
                } else i = Number(r);
            SEMICOLON.header.stickyMenu(i), SEMICOLON.header.stickyPageMenu(o), t.on("scroll", function() {
                SEMICOLON.initialize.goToTopScroll(), e("body.open-header.close-header-on-scroll").removeClass("side-header-open"), SEMICOLON.header.stickyMenu(i), SEMICOLON.header.stickyPageMenu(o), SEMICOLON.header.logo()
            }), window.addEventListener("scroll", onScrollSliderParallax, !1), x.length > 0 && (e().scrolled ? t.scrolled(function() {
                SEMICOLON.header.onepageScroller()
            }) : console.log("windowscroll: Scrolled Function not defined."))
        }
    }, SEMICOLON.documentOnLoad = {
        init: function() {
            SEMICOLON.slider.captionPosition(), SEMICOLON.slider.swiperSliderMenu(!0), SEMICOLON.slider.revolutionSliderMenu(!0), SEMICOLON.initialize.maxHeight(), SEMICOLON.initialize.testimonialsGrid(), SEMICOLON.initialize.verticalMiddle(), SEMICOLON.initialize.stickFooterOnSmall(), SEMICOLON.initialize.stickyFooter(), SEMICOLON.portfolio.gridInit(M), SEMICOLON.portfolio.filterInit(), SEMICOLON.portfolio.shuffleInit(), SEMICOLON.portfolio.arrange(), SEMICOLON.portfolio.portfolioDescMargin(), SEMICOLON.widget.parallax(), SEMICOLON.widget.loadFlexSlider(), SEMICOLON.widget.html5Video(), SEMICOLON.widget.masonryThumbs(), SEMICOLON.header.topsocial(), SEMICOLON.header.responsiveMenuClass(), SEMICOLON.initialize.modal()
        }
    };
    var t = e(window),
        a = e("body"),
        i = e("#wrapper"),
        s = e("#header"),
        n = e("#header-wrap"),
        o = e("#content"),
        r = e("#footer"),
        l = t.width(),
        d = s.attr("class"),
        c = n.attr("class"),
        u = s.attr("data-sticky-class"),
        h = s.attr("data-responsive-class"),
        f = e("#logo").find(".standard-logo"),
        m = (f.find("img").outerWidth(), e("#logo").find(".retina-logo")),
        p = f.find("img").attr("src"),
        g = m.find("img").attr("src"),
        v = f.attr("data-dark-logo"),
        C = m.attr("data-dark-logo"),
        O = f.attr("data-sticky-logo"),
        b = m.attr("data-sticky-logo"),
        y = f.attr("data-mobile-logo"),
        w = m.attr("data-mobile-logo"),
        S = e("#page-menu"),
        x = e(".one-page-menu"),
        N = 0,
        I = e(".portfolio"),
        M = (e(".shop"), e(".grid-container")),
        k = e("#slider"),
        E = e(".slider-parallax"),
        L = "",
        T = e("#page-title"),
        z = e(".portfolio-ajax").find(".portfolio-item"),
        P = e("#portfolio-ajax-wrap"),
        j = e("#portfolio-ajax-container"),
        D = e("#portfolio-ajax-loader"),
        F = e(".portfolio-filter,.custom-filter"),
        H = "",
        _ = e("#top-search"),
        A = e("#top-cart"),
        R = e(".vertical-middle"),
        B = e("#top-social").find("li"),
        q = e(".si-sticky"),
        Y = e(".dots-menu"),
        W = e("#gotoTop"),
        V = e(".full-screen"),
        $ = e(".common-height"),
        Q = e(".testimonials-grid"),
        U = e(".page-section"),
        G = e(".owl-carousel"),
        J = e(".parallax"),
        X = e(".page-title-parallax"),
        K = e(".portfolio-parallax").find(".portfolio-image"),
        Z = e(".text-rotater"),
        ee = e("#cookie-notification");
    e(document).ready(SEMICOLON.documentOnReady.init), t.load(SEMICOLON.documentOnLoad.init), t.on("resize", SEMICOLON.documentOnResize.init)
}(jQuery);

MMCT - 2023