// source --> https://www.alpinum-events.com/wp-content/plugins/cookie-notice/js/front.min.js?ver=1.3.2 !function(){function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)}(),function(){function t(e){return new RegExp("(^| )"+e+"( |$)")}function e(e,t,n){for(var i=0;iparseInt(cnArgs.onScrollOffset)&&this.setStatus("accept")},this.adjustOffset=function(){var e=r.getElementById("coronabar"),t=r.getElementById("wpadminbar"),n=0,i=0;"top"===cnArgs.position&&null!==t&&(i=t.offsetHeight,this.noticeContainer.style.top=i+"px"),null!==e&&(n=e.offsetHeight-1,"top"===cnArgs.position?(e.style.top=i+"px",this.noticeContainer.style.top=n+i+"px"):this.noticeContainer.style.bottom=n+"px")},this.getClosest=function(e,t){for(Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;0<=--n&&t.item(n)!==this;);return-1 https://www.alpinum-events.com/wp-content/themes/alpinumevents/includes/js/aos.js?ver=4.8.24 !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AOS=t():e.AOS=t()}(this,function(){return function(e){function t(n){if(o[n])return o[n].exports;var i=o[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var o={};return t.m=e,t.c=o,t.p="dist/",t(0)}([function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}var i=Object.assign||function(e){for(var t=1;t-1?O(!0):"load"===j.startEvent?window.addEventListener(j.startEvent,function(){O(!0)}):document.addEventListener(j.startEvent,function(){O(!0)}),window.addEventListener("resize",(0,s["default"])(O,50,!0)),window.addEventListener("orientationchange",(0,s["default"])(O,50,!0)),window.addEventListener("scroll",(0,c["default"])(function(){(0,b["default"])(h,j.once)},99)),document.addEventListener("DOMNodeRemoved",function(e){var t=e.target;t&&1===t.nodeType&&t.hasAttribute&&t.hasAttribute("data-aos")&&(0,s["default"])(_,50,!0)}),(0,f["default"])("[data-aos]",_),h)};e.exports={init:E,refresh:O,refreshHard:_}},function(e,t){},,,,function(e,t,o){"use strict";function n(e,t,o){var n=!0,a=!0;if("function"!=typeof e)throw new TypeError(c);return i(o)&&(n="leading"in o?!!o.leading:n,a="trailing"in o?!!o.trailing:a),r(e,t,{leading:n,maxWait:t,trailing:a})}function i(e){var t="undefined"==typeof e?"undefined":a(e);return!!e&&("object"==t||"function"==t)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},r=o(6),c="Expected a function";e.exports=n},function(e,t){"use strict";function o(e,t,o){function n(t){var o=b,n=v;return b=v=void 0,O=t,y=e.apply(n,o)}function a(e){return O=e,w=setTimeout(d,t),_?n(e):y}function r(e){var o=e-h,n=e-O,i=t-o;return z?x(i,g-n):i}function u(e){var o=e-h,n=e-O;return!h||o>=t||0>o||z&&n>=g}function d(){var e=j();return u(e)?f(e):void(w=setTimeout(d,r(e)))}function f(e){return clearTimeout(w),w=void 0,A&&b?n(e):(b=v=void 0,y)}function l(){void 0!==w&&clearTimeout(w),h=O=0,b=v=w=void 0}function m(){return void 0===w?y:f(j())}function p(){var e=j(),o=u(e);if(b=arguments,v=this,h=e,o){if(void 0===w)return a(h);if(z)return clearTimeout(w),w=setTimeout(d,t),n(h)}return void 0===w&&(w=setTimeout(d,t)),y}var b,v,g,y,w,h=0,O=0,_=!1,z=!1,A=!0;if("function"!=typeof e)throw new TypeError(s);return t=c(t)||0,i(o)&&(_=!!o.leading,z="maxWait"in o,g=z?k(c(o.maxWait)||0,t):g,A="trailing"in o?!!o.trailing:A),p.cancel=l,p.flush=m,p}function n(e){var t=i(e)?h.call(e):"";return t==f||t==l}function i(e){var t="undefined"==typeof e?"undefined":u(e);return!!e&&("object"==t||"function"==t)}function a(e){return!!e&&"object"==("undefined"==typeof e?"undefined":u(e))}function r(e){return"symbol"==("undefined"==typeof e?"undefined":u(e))||a(e)&&h.call(e)==m}function c(e){if("number"==typeof e)return e;if(r(e))return d;if(i(e)){var t=n(e.valueOf)?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(p,"");var o=v.test(e);return o||g.test(e)?y(e.slice(2),o?2:8):b.test(e)?d:+e}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},s="Expected a function",d=NaN,f="[object Function]",l="[object GeneratorFunction]",m="[object Symbol]",p=/^\s+|\s+$/g,b=/^[-+]0x[0-9a-f]+$/i,v=/^0b[01]+$/i,g=/^0o[0-7]+$/i,y=parseInt,w=Object.prototype,h=w.toString,k=Math.max,x=Math.min,j=Date.now;e.exports=o},function(e,t){"use strict";function o(e,t){r.push({selector:e,fn:t}),!c&&a&&(c=new a(n),c.observe(i.documentElement,{childList:!0,subtree:!0,removedNodes:!0})),n()}function n(){for(var e,t,o=0,n=r.length;n>o;o++){e=r[o],t=i.querySelectorAll(e.selector);for(var a,c=0,u=t.length;u>c;c++)a=t[c],a.ready||(a.ready=!0,e.fn.call(a,a))}}Object.defineProperty(t,"__esModule",{value:!0});var i=window.document,a=window.MutationObserver||window.WebKitMutationObserver,r=[],c=void 0;t["default"]=o},function(e,t){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var o=0;oe.position?e.node.classList.add("aos-animate"):"undefined"!=typeof n&&("false"===n||!o&&"true"!==n)&&e.node.classList.remove("aos-animate")},n=function(e,t){var n=window.pageYOffset,i=window.innerHeight;e.forEach(function(e,a){o(e,i+n,t)})};t["default"]=n},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(11),a=n(i),r=function(e,t){return e.forEach(function(e,o){e.node.classList.add("aos-init"),e.position=(0,a["default"])(e.node,t.offset)}),e};t["default"]=r},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(12),a=n(i),r=function(e,t){var o=0,n=0,i=window.innerHeight,r={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(r.offset&&!isNaN(r.offset)&&(n=parseInt(r.offset)),r.anchor&&document.querySelectorAll(r.anchor)&&(e=document.querySelectorAll(r.anchor)[0]),o=(0,a["default"])(e).top,r.anchorPlacement){case"top-bottom":break;case"center-bottom":o+=e.offsetHeight/2;break;case"bottom-bottom":o+=e.offsetHeight;break;case"top-center":o+=i/2;break;case"bottom-center":o+=i/2+e.offsetHeight;break;case"center-center":o+=i/2+e.offsetHeight/2;break;case"top-top":o+=i;break;case"bottom-top":o+=e.offsetHeight+i;break;case"center-top":o+=e.offsetHeight/2+i}return r.anchorPlacement||r.offset||isNaN(t)||(n=t),o+n};t["default"]=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){for(var t=0,o=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),o+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:o,left:t}};t["default"]=o},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){e=e||document.querySelectorAll("[data-aos]");var t=[];return[].forEach.call(e,function(e,o){t.push({node:e})}),t};t["default"]=o}])}); // source --> https://www.alpinum-events.com/wp-content/themes/alpinumevents/includes/js/script-page.js?ver=4.8.24 function imgDeferLazy(){ var imgDefer = document.querySelectorAll(".img"); for (var i=0; i1050){ if (jQuery(this).scrollTop() > 150) { nav.css( "top", "0" ); } else { nav.css( "top", "-100px" ); } } }); } function maxHeight() { var maxHeight = 0; jQuery(".global_member_container").each(function(){ jQuery(this).height("auto"); if (jQuery(this).height() > maxHeight) { maxHeight = jQuery(this).height(); } }); jQuery(".global_member_container").height(maxHeight); }; function maxHeightBlog() { var maxHeightd = 0; jQuery(".actu-preview-details").each(function(){ jQuery(this).height("auto"); if (jQuery(this).height() > maxHeightd) { maxHeightd = jQuery(this).height(); } }); jQuery(".actu-preview-details").height(maxHeightd); }; jQuery(document).ready(function() { hamburgerScroll(); maxHeight(); maxHeightBlog(); AOS.init({ disable: window.innerWidth < 1200, once:true }); if (jQuery("#thumbnail_page img").attr('data-src')){ var src = jQuery("#thumbnail_page img").attr('data-src'); }else{ var src = jQuery("#thumbnail_page img").attr('src'); }; jQuery('#thumbnail_page').css('backgroundImage','url('+src+')'); jQuery('div.global_member_container').click(function() { jQuery(this).prev().show(); }); jQuery('span.close').click(function() { jQuery(this).parent().parent().hide(); }); jQuery('.modal_background').click(function() { jQuery(this).parent().hide(); }); }); jQuery(window).bind('resize', function () { resize(); maxHeightBlog(); maxHeight(); }) function resize(){ var width = window.innerWidth; var heights = window.innerHeight; if (width<1051){ document.getElementById("menu").style.display="none"; document.querySelector(".hamburgermenu").style.top=0; } else{ //si largeur plus que 1050 document.querySelector(".hamburgermenu").style.top=-100; document.getElementById("menu").style.display="block"; } } resize(); window.onresize = function() { hamburgerScroll(); resize(); }; }); jQuery( document ).ready( function( $ ) { /* Masonry */ if (window.Masonry) { var $container = $('#wrapper-galerie'); $container.imagesLoaded(function () { $container.masonry({ itemSelector: '.actu-preview-galerie', percentPosition: true }); }); $('#wrapper-galerie').masonry({ itemSelector: '.actu-preview-galerie', percentPosition: true }); } }); ( function( $ ) { function addSmoothClass() { $( 'a:not(.albumpublic)' ).each( function() { if ( this.href.indexOf('/portfolio/') !== -1 || this.href.indexOf('/notre-metier/') !== -1 || this.href.indexOf('/blog/') !== -1 || this.href.indexOf('/photos/') !== -1 || this.href.indexOf('/lagence/') !== -1){ $( this ).addClass( 'smooth-link' ); } }); $( 'form' ).each( function() { $( this ).addClass( 'no-smoothstate' ); }); } $( function() { // Ready //addSmoothClass(); var settings = { anchors: 'a.smooth-link', blacklist: '.no-smoothstate', prefetch: true, scroll: false, onStart:{ duration:1000, render: function($container){ $container.addClass( 'is-transiting' ); $('html, body').animate({ scrollTop: $("div").offset().top }, 1000); } }, onProgress:{ duration:0, render: function($container){ $container.prepend('
'); } }, onReady: { duration: 0, // `$container` is a `jQuery Object` of the the current smoothState container // `$newContent` is a `jQuery Object` of the HTML that should replace the existing container's HTML. render: function ($container, $newContent) { // Update the HTML on the page if ($newContent.find("#thumbnail_page img").attr('data-src')){ var src = $newContent.find("#thumbnail_page img").attr('data-src'); }else{ var src = $newContent.find("#thumbnail_page img").attr('src'); }; $newContent.find('#thumbnail_page').css('backgroundImage','url('+src+')'); $container.html($newContent); } }, onAfter: function($container) { $container.removeClass('is-transiting'); addSmoothClass(); console.log("after"); AOS.init({ disable: window.innerWidth < 1200, once:true }); jQuery('div.global_member_container').click(function() { jQuery(this).prev().show(); }); jQuery('span.close').click(function() { jQuery(this).parent().parent().hide(); }); jQuery('.modal_background').click(function() { jQuery(this).parent().hide(); }); if (window.Masonry) { var $container = $('#wrapper-galerie'); $container.imagesLoaded(function () { $container.masonry({ itemSelector: '.actu-preview-galerie', percentPosition: true }); }); $('#wrapper-galerie').masonry({ itemSelector: '.actu-preview-galerie', percentPosition: true }); } imgDeferLazy(); var strokes = document.querySelectorAll(".strokes"), icon = document.querySelector(".hamburgermenu"), fullscreenmenu = document.querySelector(".fullscreenmenu"), menutitlemenu =document.querySelector(".menutitlemenu"), liens = document.querySelectorAll(".fullscreenmenu .menu-item"); function transformStart() { strokes[0].classList.toggle("animate0") strokes[1].classList.toggle("hide"); strokes[2].classList.toggle("animate2"); fullscreenmenu.classList.toggle("show"); icon.classList.toggle("show"); menutitlemenu.classList.toggle("show"); } icon.addEventListener("click", transformStart); for (var i = 0; i < liens.length; i++) { liens[i].addEventListener('click', transformStart); }; var nav = jQuery('.hamburgermenu'); if (window.innerWidth<1050){ nav.css( "top", "0" ); } jQuery(window).scroll(function () { if (window.innerWidth>1050){ if (jQuery(this).scrollTop() > 150) { nav.css( "top", "0" ); } else { nav.css( "top", "-100px" ); } } }); } }; if (typeof $( '#page' ).smoothState === "function") { // $( '#page' ).smoothState( settings ); } } ); })( jQuery ); function disableEnterKey(e){var key; if(window.event) key = window.event.keyCode; //IE else key = e.which; //firefox document.getElementById("smartPassword").value=document.getElementById("smartPassword").value.toUpperCase(); return (key = 13); } /*! Lity - v2.2.2 - 2016-12-14 * http://sorgalla.com/lity/ * Copyright (c) 2015-2016 Jan Sorgalla; Licensed MIT */ !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(c){return b(a,c)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=b(a,require("jquery")):a.lity=b(a,a.jQuery||a.Zepto)}("undefined"!=typeof window?window:this,function(a,b){"use strict";function r(a){var b=e();return q&&a.length?(a.one(q,b.resolve),setTimeout(b.resolve,500)):b.resolve(),b.promise()}function s(a,c,d){if(1===arguments.length)return b.extend({},a);if("string"==typeof c){if(void 0===d)return void 0===a[c]?null:a[c];a[c]=d}else b.extend(a,c);return this}function t(a){for(var d,b=decodeURI(a.split("#")[0]).split("&"),c={},e=0,f=b.length;e-1?"&":"?")+b.param(c)}function v(a,b){var c=a.indexOf("#");return-1===c?b:(c>0&&(a=a.substr(c)),b+a)}function w(a){return b('').append(a)}function x(a,c){var d=c.opener()&&c.opener().data("lity-desc")||"Image with no description",f=b(''+d+''),g=e(),h=function(){g.reject(w("Failed loading image"))};return f.on("load",function(){if(0===this.naturalWidth)return h();g.resolve(f)}).on("error",h),g.promise()}function y(a,c){var d,e,f;try{d=b(a)}catch(a){return!1}return!!d.length&&(e=b(''),f=d.hasClass("lity-hide"),c.element().one("lity:remove",function(){e.before(d).remove(),f&&!d.closest(".lity-content").length&&d.addClass("lity-hide")}),d.removeClass("lity-hide").after(e))}function z(a){var c=m.exec(a);return!!c&&D(v(a,u("https://www.youtube"+(c[2]||"")+".com/embed/"+c[4],b.extend({autoplay:1},t(c[5]||"")))))}function A(a){var c=n.exec(a);return!!c&&D(v(a,u("https://player.vimeo.com/video/"+c[3],b.extend({autoplay:1},t(c[4]||"")))))}function B(a){var c=p.exec(a);return!!c&&(0!==a.indexOf("http")&&(a="https:"+a),D(v(a,u("https://www.facebook.com/plugins/video.php?href="+a,b.extend({autoplay:1},t(c[4]||""))))))}function C(a){var b=o.exec(a);return!!b&&D(v(a,u("https://www.google."+b[3]+"/maps?"+b[6],{output:b[6].indexOf("layer=c")>0?"svembed":"embed"})))}function D(a){return'