1(function (e) { e(document).ready(function () { function r() { if (e(window).width() < 768) { n = 1 } else { n = 3 } } function i() { t.each(function () { var t = e(this); var n = -1; t.find("li").each(function () { n = n > e(this).height() ? n : e(this).height() }); t.height(n) }) } function s() { i(); r(); var s = 0; var o = {}; t.each(function () { s++; var t = e(this); o[s] = t.jcarousel({ animation: 600, scroll: n }); t.jcarousel("scroll", 0); t.prev().find(".jcarousel-prev").bind("active.jcarouselcontrol", function () { e(this).addClass("active") }).bind("inactive.jcarouselcontrol", function () { e(this).removeClass("active") }).jcarouselControl({ target: "-=" + n, carousel: o[s] }); t.prev().find(".jcarousel-next").bind("active.jcarouselcontrol", function () { e(this).addClass("active") }).bind("inactive.jcarouselcontrol", function () { e(this).removeClass("active") }).jcarouselControl({ target: "+=" + n, carousel: o[s] }); t.touchwipe({ wipeLeft: function () { t.jcarousel("scroll", "+=" + n) }, wipeRight: function () { t.jcarousel("scroll", "-=" + n) } }) }) } function l(e) { this.dd = e; this.opts = this.dd.find("ul.option-set > li"); this.placeholder = this.dd.children("span"); this.val = []; this.index = []; this.initEvents() } e(".menu li").hover(function () { e(this).find("ul:first").css({ visibility: "visible", display: "none" }).stop(true, true).fadeIn(100) }, function () { e(this).find("ul:first").css({ visibility: "visible", display: "block" }).stop(true, true).fadeOut(100) }); selectnav("responsive", { label: "Menu", nested: true, indent: " " }); var t = e(".recent-blog-jc, .recent-work-jc"); var n; e(window).load(function () { s() }); e(window).resize(function () { t.each(function () { var t = e(this); t.jcarousel("destroy") }); s() }); window.resizesidebar = function () { var t = e(window).width(); if (t > 768) { var n = Math.max(e(".eleven.floated").outerHeight(true)); var r = Math.max(e("aside.sidebar").outerHeight(true)); if (n < r) { e(".eleven.floated").css("min-height", r) } } else { e("div.sidebar").css("min-height", "auto"); e(".eleven.floated").css("min-height", "auto") } }; e(window).load(function () { window.resizesidebar() }); e(window).resize(function () { window.resizesidebar() }); e(document.body).pixusNotifications({ speed: 300, animation: "fadeAndSlide", hideBoxes: false }); var o = e(".tabs-nav"), u = o.children("li"), a = e(".tab-content"); o.each(function () { var t = e(this); t.next().children(".tab-content").stop(true, true).hide().first().show(); t.children("li").first().addClass("active").stop(true, true).show() }); u.on("click", function (t) { var n = e(this); n.siblings().removeClass("active").end().addClass("active"); n.parent().next().children(".tab-content").stop(true, true).hide().siblings(n.find("a").attr("href")).fadeIn(); t.preventDefault() }); var f = e(".accordion"); f.each(function () { e(this).addClass("ui-accordion ui-widget ui-helper-reset"); e(this).find("h3").addClass("ui-accordion-header ui-helper-reset ui-state-default ui-accordion-icons ui-corner-all"); e(this).find("div").addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"); e(this).find("div").hide().first().show(); e(this).find("h3").first().removeClass("ui-accordion-header-active ui-state-active ui-corner-top").addClass("ui-accordion-header-active ui-state-active ui-corner-top"); e(this).find("span").first().addClass("ui-accordion-icon-active") }); $trigger = f.find("h3"); $trigger.on("click", function (t) { var n = e(this).parent(); if (e(this).next().is(":hidden")) { $triggerloc = e("h3", n); $triggerloc.removeClass("ui-accordion-header-active ui-state-active ui-corner-top").next().slideUp(300); $triggerloc.find("span").removeClass("ui-accordion-icon-active"); e(this).find("span").addClass("ui-accordion-icon-active"); e(this).addClass("ui-accordion-header-active ui-state-active ui-corner-top").next().slideDown(300) } t.preventDefault() }); e(".toggle-container").hide(); e(".trigger").toggle(function () { e(this).addClass("active") }, function () { e(this).removeClass("active") }); e(".trigger").click(function () { e(this).next(".toggle-container").slideToggle() }); e(".trigger.opened").toggle(function () { e(this).removeClass("active") }, function () { e(this).addClass("active") }); e(".trigger.opened").addClass("active").next(".toggle-container").show(); e(".container").tooltip({ selector: "a.tooltip" }); e(window).load(function () { e("#portfolio-wrapper").isotope({ itemSelector: ".isotope-item", layoutMode: "fitRows" }); e("#filters a.selected").trigger("click") }); e("#filters a").click(function (t) { t.preventDefault(); var n = e(this).attr("data-option-value"); e("#portfolio-wrapper").isotope({ filter: n }); e(this).parents("ul").find("a").removeClass("selected"); e(this).addClass("selected") }); setTimeout(function () { e(".skill-bar .skill-bar-content").each(function () { var t = e(this); var n = t.attr("data-percentage"); var r = 0; var i = setInterval(function () { if (r >= n) { clearInterval(i) } else { r += 1; t.css("width", r + "%") } t.text(r + "%") }, 10) }) }, 10); e("[rel=fancybox]").fancybox({ type: "image", openEffect: "elastic", closeEffect: "elastic", nextEffect: "elastic", prevEffect: "elastic", helpers: { title: { type: "inside" }, overlay: { css: { background: "rgba(0, 0, 0, 0.85)" } } } }); e("[rel=fancybox-gallery]").fancybox({ openEffect: "elastic", closeEffect: "elastic", nextEffect: "elastic", prevEffect: "elastic", helpers: { title: { type: "inside" }, buttons: {}, overlay: { css: { background: "rgba(0, 0, 0, 0.85)" } } } }); e("#layerslider").layerSlider({ skin: "fullwidth", hoverPrevNext: true, navStartStop: false, navButtons: fal
1se, autoPlayVideos: false, animateFirstLayer: false }); e(window).load(function () { e(".flexslider").flexslider({ animation: "fade", slideshow: true, slideshowSpeed: 7e3, animationSpeed: 400 }) }); l.prototype = { initEvents: function () { var t = this; t.dd.on("click", function (t) { e(this).toggleClass("active"); t.stopPropagation() }); t.opts.on("click", function () { var n = e(this); t.val = n.text(); t.index = n.index(); t.placeholder.text("" + t.val) }) } }; e(function () { var t = new l(e("#filters")); e(document).click(function () { e(".filters-dropdown").removeClass("active") }); e(".option-set").click(function () { e(".filters-dropdown").toggleClass("active") }) }) }) })(this.jQuery); (function () { $.fn.pixusNotifications = function (e) { var t = { speed: 200, animation: "fade", hideBoxes: false }; var e = $.extend({}, t, e); return this.each(function () { function o(t) { switch (e.animation) { case "fade": u(t); break; case "slide": a(t); break; case "box": l(t); break; case "fadeAndSlide": f(t); break; default: f(t) } } function u(t) { t.fadeOut(e.speed) } function a(t) { t.slideUp(e.speed) } function f(t) { t.fadeTo(e.speed, 0, function () { a(t) }) } function l(t) { t.hide(e.speed) } var t = $(this), n = t.find(".notification"), r = n.find("p"), i = r.find("strong"), s = $('<a class="close" href="#"><i class="icon-remove"></i></a>'); $(document.body).find(".notification").each(function (e) { var e = e + 1; $(this).attr("id", "notification_" + e) }); n.filter(".closeable").append(s); closeButton = n.find("> .close"); closeButton.click(function () { o($(this).parent()); return false }); if (e.hideBoxes) { } else if (!e.hideBoxes) { n.css({ display: "block", visiblity: "visible" }) } }) } })(); (function (e) { e.fn.touchwipe = function (t) { var n = { min_move_x: 20, min_move_y: 20, wipeLeft: function () { }, wipeRight: function () { }, wipeUp: function () { }, wipeDown: function () { }, preventDefaultEvents: true }; if (t) e.extend(n, t); this.each(function () { function i() { this.removeEventListener("touchmove", s); e = null; r = false } function s(s) { if (n.preventDefaultEvents) { s.preventDefault() } if (r) { var o = s.touches[0].pageX; var u = s.touches[0].pageY; var a = e - o; var f = t - u; if (Math.abs(a) >= n.min_move_x) { i(); if (a > 0) { n.wipeLeft() } else { n.wipeRight() } } else if (Math.abs(f) >= n.min_move_y) { i(); if (f > 0) { n.wipeDown() } else { n.wipeUp() } } } } function o(n) { if (n.touches.length == 1) { e = n.touches[0].pageX; t = n.touches[0].pageY; r = true; this.addEventListener("touchmove", s, false) } } var e; var t; var r = false; if ("ontouchstart" in document.documentElement) { this.addEventListener("touchstart", o, false) } }); return this } })(jQuery); !function (e) { var t = function (e, t) { this.init("tooltip", e, t) }; t.prototype = { constructor: t, init: function (t, n, r) { var i, s; this.type = t; this.$element = e(n); this.options = this.getOptions(r); this.enabled = true; if (this.options.trigger != "manual") { i = this.options.trigger == "hover" ? "mouseenter" : "focus"; s = this.options.trigger == "hover" ? "mouseleave" : "blur"; this.$element.on(i, this.options.selector, e.proxy(this.enter, this)); this.$element.on(s, this.options.selector, e.proxy(this.leave, this)) } this.options.selector ? this._options = e.extend({}, this.options, { trigger: "manual", selector: "" }) : this.fixTitle() }, getOptions: function (t) { t = e.extend({}, e.fn[this.type].defaults, t, this.$element.data()); if (t.delay && typeof t.delay == "number") { t.delay = { show: t.delay, hide: t.delay } } return t }, enter: function (t) { var n = e(t.currentTarget)[this.type](this._options).data(this.type); if (!n.options.delay || !n.options.delay.show) { n.show() } else { n.hoverState = "in"; setTimeout(function () { if (n.hoverState == "in") { n.show() } }, n.options.delay.show) } }, leave: function (t) { var n = e(t.currentTarget)[this.type](this._options).data(this.type); if (!n.options.delay || !n.options.delay.hide) { n.hide() } else { n.hoverState = "out"; setTimeout(function () { if (n.hoverState == "out") { n.hide() } }, n.options.delay.hide) } }, show: function () { var e, t, n, r, i, s, o; if (this.hasContent() && this.enabled) { e = this.tip(); this.setContent(); if (this.options.animation) { e.addClass("fade") } s = typeof this.options.placement == "function" ? this.options.placement.call(this, e[0], this.$element[0]) : this.options.placement; t = /in/.test(s); e.remove().css({ top: 0, left: 0, display: "block" }).appendTo(t ? this.$element : document.body); n = this.getPosition(t); r = e[0].offsetWidth; i = e[0].offsetHeight; switch (t ? s.split(" ")[1] : s) { case "bottom": o = { top: n.top + n.height, left: n.left + n.width / 2 - r / 2 }; break; case "top": o = { top: n.top - i, left: n.left + n.width / 2 - r / 2 }; break;
1 case "left": o = { top: n.top + n.height / 2 - i / 2, left: n.left - r }; break; case "right": o = { top: n.top + n.height / 2 - i / 2, left: n.left + n.width }; break } e.css(o).addClass(s).addClass("in") } }, setContent: function () { var e = this.tip(); e.find(".tooltip-inner").html(this.getTitle()); e.removeClass("fade in top bottom left right") }, hide: function () { function r() { var t = setTimeout(function () { n.off(e.support.transition.end).remove() }, 500); n.one(e.support.transition.end, function () { clearTimeout(t); n.remove() }) } var t = this, n = this.tip(); n.removeClass("in"); e.support.transition && this.$tip.hasClass("fade") ? r() : n.remove() }, fixTitle: function () { var e = this.$element; if (e.attr("title") || typeof e.attr("data-original-title") != "string") { e.attr("data-original-title", e.attr("title") || "").removeAttr("title") } }, hasContent: function () { return this.getTitle() }, getPosition: function (t) { return e.extend({}, t ? { top: 0, left: 0 } : this.$element.offset(), { width: this.$element[0].offsetWidth, height: this.$element[0].offsetHeight }) }, getTitle: function () { var e, t = this.$element, n = this.options; e = t.attr("data-original-title") || (typeof n.title == "function" ? n.title.call(t[0]) : n.title); e = e.toString().replace(/(^\s*|\s*$)/, ""); return e }, tip: function () { return this.$tip = this.$tip || e(this.options.template) }, validate: function () { if (!this.$element[0].parentNode) { this.hide(); this.$element = null; this.options = null } }, enable: function () { this.enabled = true }, disable: function () { this.enabled = false }, toggleEnabled: function () { this.enabled = !this.enabled }, toggle: function () { this[this.tip().hasClass("in") ? "hide" : "show"]() } }; e.fn.tooltip = function (n) { return this.each(function () { var r = e(this), i = r.data("tooltip"), s = typeof n == "object" && n; if (!i) { r.data("tooltip", i = new t(this, s)) } if (typeof n == "string") { i[n]() } }) }; e.fn.tooltip.Constructor = t; e.fn.tooltip.defaults = { animation: true, delay: 0, selector: false, placement: "top", trigger: "hover", title: "", template: '<div class="ui-tooltip ui-widget ui-corner-all ui-widget-content"><div class="tooltip-arrow arrow bottom center"></div><div class="tooltip-inner"></div></div>' } }(window.jQuery)
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.