text: /**
   * @license focchi v1.0.0
   * (c) 2020 Luca Zampetti <lzampetti@gmail.com>
   * License: MIT
   */
  !function(e,s){"object"==typeof exports&&"undefined"!=typeof module?s(require("locomotive-scroll")):"function"==typeof define&&define.amd?define("main",["locomotive-scroll"],s):s((e=e||self).LocomotiveScroll)}(this,(function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,document.documentElement.classList.add("is-loaded"),document.documentElement.classList.remove("is-loading"),setTimeout((function(){document.documentElement.classList.add("is-ready")}),100),window.onload=function(){new Swiper(".swiper-container",{direction:"horizontal",loop:!0,slidesPerView:1,spaceBetween:40,centeredSlides:!0,breakpoints:{320:{slidesPerView:1,spaceBetween:20},480:{slidesPerView:1,spaceBetween:30},768:{slidesPerView:1,spaceBetween:150}}});var e=["1950 - 1960","1970","1975"];new Swiper(".section--history .swiper-container",{direction:"horizontal",loop:!0,slidesPerView:1,spaceBetween:40,centeredSlides:!0,pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(s,o){return'<span class="'+o+'">'+e[s]+"</span>"}},breakpoints:{320:{slidesPerView:1,spaceBetween:20},480:{slidesPerView:1,spaceBetween:30},768:{slidesPerView:1,spaceBetween:150}}})},setTimeout((function(){!function(e){var s=document.querySelector("#header"),o=0;function n(e){0!=e?(e>o&&!s.classList.contains("scroll-down")?(s.classList.remove("scroll-up"),s.classList.add("scroll-down")):e<o&&s.classList.contains("scroll-down")&&(s.classList.remove("scroll-down"),s.classList.add("scroll-up")),o=e):s.classList.remove("scroll-up")}e?e.on("scroll",(function(e){n(e.scroll.y)})):window.addEventListener("scroll",(function(){n(window.pageYOffset)}))}(new e({el:document.querySelector("#js-scroll"),smooth:!0,getSpeed:!0,getDirection:!1,useKeyboard:!0,smoothMobile:!0,inertia:1,class:"is-inview",scrollbarClass:"c-scrollbar",scrollingClass:"has-scroll-scrolling",draggingClass:"has-scroll-dragging",smoothClass:"has-scroll-smooth",initClass:"has-scroll-init"})),$("#m-projects").hover((function(){$(".background").addClass("projects")}),(function(){$(".background").removeClass("projects")})),$("#m-process").hover((function(){$(".background").addClass("process")}),(function(){$(".background").removeClass("process")})),$("#m-technology").hover((function(){$(".background").addClass("technology")}),(function(){$(".background").removeClass("technology")})),$("#m-group").hover((function(){$(".background").addClass("group")}),(function(){$(".background").removeClass("group")})),$(window).width()<767?($(".menu-mobile a").click((function(){$("#menuSidenav").css("width","100%")})),$(".search-menu a").click((function(){$("#menuSidenav").css("width","100%")})),$(".lang-menu a").click((function(){$("#menuSidenav").css("width","100%")}))):($(".menu-mobile a").click((function(){$("#menuSidenav").css("width","250px"),$(".black-layer").fadeIn()})),$(".search-menu a").click((function(){$("#menuSidenav").css("width","250px"),$(".black-layer").fadeIn()})),$(".lang-menu a").click((function(){$("#menuSidenav").css("width","250px"),$(".black-layer").fadeIn()}))),$(".sidenav .closebtn").click((function(){$("#menuSidenav").css("width","0"),$(".black-layer").fadeOut()})),$(".search-sidenav .closebtn").click((function(){$("#menuSidenav").css("width","0"),$(".black-layer").fadeOut()})),$(".lang-sidenav .closebtn").click((function(){$("#menuSidenav").css("width","0"),$(".black-layer").fadeOut()})),$(window).width()<767?$("#side-link").click((function(){$(".side-panel").css("width","100%")})):$("#side-link").click((function(){$(".side-panel").css("width","100%"),$(".black-layer").fadeIn()})),$(".side-panel .closebtn").click((function(){$(".side-panel").css("width","0"),$(".black-layer").fadeOut()})),$(".wrap-lv-1 a[data-link='tipology']").click((function(){$(this).toggleClass("active"),$(".m-tipology").toggleClass("open"),$(".wrap-lv-1 a").not("[data-link='tipology']").removeClass("active"),$(".wrap-lv-2").not(".m-tipology").removeClass("open")})),$(".wrap-lv-1 a[data-link='size']").click((function(){$(this).toggleClass("active"),$(".m-size").toggleClass("open"),$(".wrap-lv-1 a").not("[data-link='size']").removeClass("active"),$(".wrap-lv-2").not(".m-size").removeClass("open")})),$(".wrap-lv-1 a[data-link='status']").click((function(){$(this).toggleClass("active"),$(".m-status").toggleClass("open"),$(".wrap-lv-1 a").not("[data-link='status']").removeClass("active"),$(".wrap-lv-2").not(".m-status").removeClass("open")})),$(".wrap-lv-1 a[data-link='location']").click((function(){$(this).toggleClass("active"),$(".m-location").toggleClass("open"),$(".wrap-lv-1 a").not("[data-link='location']").removeClass("active"),$(".wrap-lv-2").not(".m-location").removeClass("open")})),$(".wrap-lv-1 a[data-link='architect']").click((function(){$(this).toggleClass("active"),$(".m-architect").toggleClass("open"),$(".wrap-lv-1 a").not("[data-link='architect']").removeClass("active"),$(".wrap-lv-2").not(".m-architect").removeClass("open")})),$(".wrap-lv-1 a[data-link='technology']").click((function(){$(this).toggleClass("active"),$(".m-technology").toggleClass("open"),$(".wrap-lv-1 a").not("[data-link='technology']").removeClass("active"),$(".wrap-lv-2").not(".m-technology").removeClass("open")})),$(".projects .image").mouseover((function(){$(this).find("img").css("opacity","0")})),$(".projects .image").mouseout((function(){$(this).find("img").css("opacity","1")})),$("[data-anchor='one']").click((function(){$("html").animate({scrollTop:$("[data-section='one']").offset().top},"slow")})),$(".menu-filtri a").click((function(){$(".wrap-lv-1 li").toggleClass("open")}))}),500)}));
  //# sourceMappingURL=main.min.js.map