function setCookie(e, o, t) {
var a = new Date;
a.setTime(a.getTime() + 24 * t * 60 * 60 * 1e3);
var i = "expires=" + a.toUTCString();
document.cookie = e + "=" + o + "; " + i + "; path=/"
}
function getCookie(e) {
for (var o = e + "=", t = document.cookie.split(";"), a = 0; a < t.length; a++) {
for (var i = t[a];
" " == i.charAt(0);) i = i.substring(1);
if (0 == i.indexOf(o)) return i.substring(o.length, i.length)
}
return ""
}! function(e) {
"use strict";
function o() {
e(window).width() < 992 ? e("#menu").length > 0 && e("#mobile-menu").length < 1 && (e("#menu").clone().attr({
id: "mobile-menu",
class: ""
}).insertAfter("#header"), e("#mobile-menu .megamenu > a").on("click", function(o) {
o.preventDefault(), e(this).toggleClass("open").next("div").slideToggle(300)
}), e("#mobile-menu .dropdown > a").on("click", function(o) {
o.preventDefault(), e(this).toggleClass("open").next("ul").slideToggle(300)
})) : e("#mobile-menu").hide()
}
function t() {
e(window).scrollTop() > e(window).height() / 2 ? e("#scroll-up").fadeIn(300) : e("#scroll-up").fadeOut(300)
}
function a() {
(a = new WOW({
boxClass: "wow",
animateClass: "animated",
offset: 100,
mobile: !1,
live: !0
})).init()
}
e(".faqMenu li").each(function() {
e(this).on("click", function() {
if (!e(this).hasClass("active")) {
e(".faqMenu li.active").removeClass("active"), e(this).addClass("active");
var o = e(this).data("faq");
e(".faq").hide(), e("." + o).fadeIn(600)
}
})
}), e(".faqMenu li").first().trigger("click"), e(document).ready(function() {
if (e("body").hasClass("sticky-header") && (e("#header").clone().attr({
id: "header-sticky",
class: ""
}).insertAfter("header"), e(window).scroll(function() {
e(window).scrollTop() > 190 ? (e("#header-sticky").fadeIn(300).addClass("header-sticky"), e("#header .menu ul, #header .menu .megamenu-container").css({
visibility: "hidden"
})) : (e("#header-sticky").fadeOut(100).removeClass("header-sticky"), e("#header .menu ul, #header .menu .megamenu-container").css({
visibility: "visible"
}))
})), void 0 !== e.fn.superfish && e(".menu").superfish({
delay: 500,
animation: {
opacity: "show",
height: "show"
},
speed: "fast",
autoArrows: !0
}), e("#mobile-menu-button").on("click", function(o) {
o.preventDefault(), e("#mobile-menu").slideToggle(300)
}), o(), e(".search a").on("click", function(o) {
o.preventDefault(), e(".search a").hasClass("open") ? e("#search-form-container").removeClass("open-search-form") : e("#search-form-container").addClass("open-search-form"), e(window).resize(function() {
e("#search-form-container").removeClass("open-search-form")
})
}), e("#search-form").after('x'), e("#search-form-container a.search-form-close").on("click", function(o) {
o.preventDefault(), e("#search-form-container").removeClass("open-search-form")
}), void 0 !== e.fn.fancybox && e(".fancybox").fancybox({
prevEffect: "none",
nextEffect: "none"
}), void 0 !== e.fn.revolution && (e(".rev_slider").revolution({
sliderType: "standard",
sliderLayout: "auto",
delay: 9e3,
parallax: {
type: "mouse",
levels: [5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85],
origo: "enterpoint",
speed: 400,
bgparallax: "false",
disable_onmobile: "off"
},
navigation: {
arrows: {
style: "default",
enable: !0,
hide_onmobile: !0,
hide_onleave: !1,
hide_delay: 200,
hide_delay_mobile: 1200,
hide_under: 0,
hide_over: 9999,
tmp: "",
left: {
h_align: "left",
v_align: "center",
h_offset: 20,
v_offset: 0
},
right: {
h_align: "right",
v_align: "center",
h_offset: 20,
v_offset: 0
}
},
bullets: {
style: "default",
enable: !0,
hide_onmobile: !1,
hide_onleave: !1,
hide_delay: 200,
hide_delay_mobile: 1200,
hide_under: 0,
hide_over: 9999,
tmp: "",
direction: "horizontal",
space: 5,
h_align: "center",
v_align: "bottom",
h_offset: 0,
v_offset: 40
},
touch: {
touchenabled: "on",
swipe_treshold: 75,
swipe_min_touches: 1,
drag_block_vertical: !1,
swipe_direction: "horizontal"
}
},
gridwidth: 1170,
gridheight: 760
}), e(".rev_slider_parallax").revolution({
sliderType: "standard",
sliderLayout: "auto",
delay: 9e3,
parallax: {
type: "mouse",
levels: [5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85],
origo: "enterpoint",
speed: 400,
bgparallax: "false",
disable_onmobile: "off"
},
navigation: {
arrows: {
enable: !1
},
bullets: {
enable: !1
}
},
gridwidth: 1170,
gridheight: 960
})), void 0 !== e.fn.owlCarousel) {
var i = e(".owl-carousel.portfolio-carousel").owlCarousel({
items: 4,
itemsDesktop: [1199, 4],
itemsDesktopSmall: [991, 3],
itemsTablet: [767, 2],
itemsMobile: [479, 1],
slideSpeed: 500,
autoPlay: !0,
stopOnHover: !0,
navigation: !1,
navigationText: !1,
pagination: !1,
paginationNumbers: !1,
mouseDrag: !0,
touchDrag: !0,
transitionStyle: !1
});
e(".next").on("click", function() {
i.trigger("owl.next")
}), e(".prev").on("click", function() {
i.trigger("owl.prev")
});
var n = e(".owl-carousel.features-slider").owlCarousel({
singleItem: !0,
slideSpeed: 200,
autoPlay: !0,
stopOnHover: !0,
navigation: !1,
navigationText: !1,
pagination: !1,
paginationNumbers: !1,
mouseDrag: !1,
touchDrag: !0,
transitionStyle: "fade"
});
e(".next").on("click", function() {
n.trigger("owl.next")
}), e(".prev").on("click", function() {
n.trigger("owl.prev")
}), e(".owl-carousel.images-slider").owlCarousel({
singleItem: !0,
slideSpeed: 200,
autoPlay: !0,
stopOnHover: !0,
navigation: !1,
navigationText: !1,
pagination: !0,
paginationNumbers: !1,
mouseDrag: !0,
touchDrag: !0,
transitionStyle: "fade"
}), e(".owl-carousel.logos-slider").owlCarousel({
items: 4,
itemsDesktop: [1199, 4],
itemsDesktopSmall: [991, 3],
itemsTablet: [767, 2],
itemsMobile: [479, 1],
slideSpeed: 500,
autoPlay: !0,
stopOnHover: !0,
navigation: !0,
navigationText: !1,
pagination: !1,
paginationNumbers: !1,
mouseDrag: !0,
touchDrag: !0,
transitionStyle: !1
}), e(".owl-carousel.testimonials-slider").owlCarousel({
singleItem: !0,
slideSpeed: 200,
autoPlay: !0,
stopOnHover: !0,
navigation: !1,
navigationText: !1,
pagination: !0,
paginationNumbers: !1,
mouseDrag: !1,
touchDrag: !0,
transitionStyle: "goDown"
}), e(".owl-carousel.blog-slider").owlCarousel({
singleItem: !0,
slideSpeed: 200,
autoPlay: !0,
stopOnHover: !0,
navigation: !1,
navigationText: !1,
pagination: !0,
paginationNumbers: !1,
mouseDrag: !0,
touchDrag: !0,
transitionStyle: "goDown"
})
}
var r;
google.maps.event.addDomListener(window, "load", function() {
var e, o, t = [
["Siège social
104, Boulevard Jean Jaurès
78800 HOUILLES ", 48.920853, 2.198791, 1],
["Agence
Promopole - Pépinière et village d'entreprises
12, avenue des Prés
78180 Montigny-le-Bretonneux", 48.776072, 2.015884, 1]
],
a = new google.maps.Map(document.getElementById("map"), {
zoom: 12,
scrollwheel: !1
}),
i = new google.maps.InfoWindow,
n = new google.maps.LatLngBounds;
for (o = 0; o < t.length; o++) e = new google.maps.Marker({
position: new google.maps.LatLng(t[o][1], t[o][2]),
map: a
}), n.extend(e.position), google.maps.event.addListener(e, "click", function(e, o) {
return function() {
i.setContent(t[o][0]), i.open(a, e)
}
}(e, o));
a.fitBounds(n)
}), void 0 !== e.fn.imagesLoaded && void 0 !== e.fn.isotope && (e(".isotope").imagesLoaded(function() {
var o = e(".isotope");
o.isotope({
itemSelector: ".isotope-item",
layoutMode: "masonry",
transitionDuration: "0.8s"
}), e(".filter li a").on("click", function() {
e(".filter li a").removeClass("active"), e(this).addClass("active");
var t = e(this).attr("data-filter");
return o.isotope({
filter: t
}), !1
}), e(window).resize(function() {
o.isotope()
})
}), e(".isotope.masonry").imagesLoaded(function() {
var o = e(".isotope.masonry");
o.isotope({
itemSelector: ".isotope-item",
layoutMode: "masonry",
masonry: {
columnWidth: 1,
gutter: 0
},
transitionDuration: "0.8s"
}), e(".filter li a").on("click", function() {
e(".filter li a").removeClass("active"), e(this).addClass("active");
var t = e(this).attr("data-filter");
return o.isotope({
filter: t
}), !1
}), e(window).resize(function() {
o.isotope()
})
}), e(".isotope.masonry.gutter").imagesLoaded(function() {
var o = e(".isotope.masonry.gutter");
o.isotope({
itemSelector: ".isotope-item",
layoutMode: "masonry",
masonry: {
columnWidth: 1,
gutter: 2
},
transitionDuration: "0.8s"
}), e(".filter li a").on("click", function() {
e(".filter li a").removeClass("active"), e(this).addClass("active");
var t = e(this).attr("data-filter");
return o.isotope({
filter: t
}), !1
}), e(window).resize(function() {
o.isotope()
})
})), r = 0, e(".load-more").on("click", function(o) {
o.preventDefault(), 0 == r && e.ajax({
type: "POST",
url: e(".load-more").attr("href"),
dataType: "html",
cache: !1,
msg: "",
success: function(o) {
e(".isotope").append(o), e(".isotope").imagesLoaded(function() {
e(".isotope").isotope("reloadItems").isotope(), e(".portfolio-item").hoverdir(), e(".fancybox").fancybox({
prevEffect: "none",
nextEffect: "none"
})
}), r++, e(".load-more").html("Nothing to load")
}
})
}), void 0 !== e.fn.placeholder && e("input, textarea").placeholder(), e(".parallax-multilayer .parallax-layer").each(function() {
var o = parseInt(e(this).attr("data-x"), 10),
t = parseInt(e(this).attr("data-y"), 10);
e(this).css({
left: o + "%",
top: t + "%"
})
}), void 0 !== e.fn.stellar && ("ontouchstart" in window || "onmsgesturechange" in window && window.navigator.maxTouchPoints || e(window).stellar({
horizontalScrolling: !1,
verticalScrolling: !0,
responsive: !0
})), t(), e("#scroll-up").on("click", function() {
return e("html, body").animate({
scrollTop: 0
}, 800), !1
}), void 0 !== e.fn.mb_YTPlayer && e(".youtube-player").mb_YTPlayer(), e(".service-box.style-5").on("click", function() {
return window.location = e(this).find("a").attr("href"), !1
}), void 0 !== e.fn.hoverdir && e(".portfolio-item").hoverdir(), void 0 !== e.fn.magnify && e(".magnify-img").each(function() {
e(this).magnify()
}),
function() {
if (e("#instafeed").length > 0) {
var o = e("#instafeed").data("number"),
t = e("#instafeed").data("user"),
a = e("#instafeed").data("accesstoken");
new Instafeed({
target: "instafeed",
get: "user",
userId: t,
accessToken: a,
limit: o,
resolution: "thumbnail"
}).run()
}
}(), a(), void 0 !== e.fn.countdown && e(".countdown").countdown("2016/03/01 22:30", function(o) {
e(this).html(o.strftime("