{"version":3,"sources":["scripts.js","lightgallery.min.js","navigation.js","wow.min.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC/XA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC9GA;AACA","file":"global.min.js","sourcesContent":["\njQuery(function($) {\n\n // /////////// //\n // JS : GALERIE D'IMAGE //\n // /////////// //\n $(\"#lightgallery\").lightGallery({\n subHtmlSelectorRelative: true\n }); \n\n\n\n $(\".wysiwyg .gallery\").lightGallery({\n selector:'a',\n subHtmlSelectorRelative: true\n }); \n\n\n\n\n // WOW EFFECT //\n var wow = new WOW(\n {\n boxClass: 'wow', // animated element css class (default is wow)\n animateClass: 'animated', // animation css class (default is animated)\n offset: 0, // distance to the element when triggering the animation (default is 0)\n mobile: false, // trigger animations on mobile devices (default is true)\n live: true, // act on asynchronously loaded content (default is true)\n callback: function(box) {\n // the callback is fired every time an animation is started\n // the argument that is passed in is the DOM node being animated\n },\n scrollContainer: null // optional scroll container selector, otherwise use window\n }\n );\n wow.init();\n\n\n\n \n //alert('a'); // comprends pas pourquoi on voit deux fois ce message.\n\n\n ////////////////////////\n ///// VAR ////////////\n /////////////////////\n\n var $dest_sub_menu, l_window, $active_menu,LARGEUR_MAX_MOBILE;\n l_window = parseInt($(window).width());\n LARGEUR_MAX_MOBILE = 1023;\n var header = $('#masthead');\n \n /* Transition des pages */\n $('.header-sub-link, #footer-menu a, .OtherPage a, .link_espace_adherent').click(function(e){\n $('body').addClass('to_transition_page');\n\n var link = $(this).attr(\"href\");\n setTimeout(function() {\n window.location.href = link;\n },300);\n e.preventDefault();\n });\n\n\n\n // $('.link_espace_adherent').click(function(e){\n // $('body').addClass('to_transition_adherent');\n // var link = $(this).attr(\"href\");\n // setTimeout(function() {\n // window.location.href = link;\n // }, 300);\n\n // e.preventDefault();\n\n // });\n\n \n /*************/\n /* CLICK SUR BTN ESPACE ADHERENT = TRANSITION VERS PAGE = ATTENTE EN JS */\n /*************/\n\n\n /*************/\n /* OUVERTURE / FERMETURE DU MENU */\n /*************/\n $('.menu-toggle').click(function(e){\n if($(this).attr('aria-expanded') == 'false'){\n $(this).find('.txt').text('Fermer');\n $active_menu = '';\n $dest_sub_menu = $('#smenu-menu');\n active_sub_menu($active_menu, $dest_sub_menu);\n $(this).attr('aria-expanded', \"true\");\n $(\"body\").addClass('toggled-menu-desktop');\n\n }else{\n $(this).find('.txt').text('Menu');\n $(this).attr('aria-expanded', \"false\");\n disable_sub_menu('', $('#smenu-menu'));\n $(\"body\").removeClass('toggled-menu-desktop');\n }\n e.preventDefault();\n });\n\n\n// FIN VAR ////\n \n $( \"#nav-main .container_menu--inner .header-nav-item.toDoHover\" ).mouseover(function() {\n $active_menu = $(this);\n $dest_sub_menu = $('.header-sub[data-link-id=\"'+$(this).attr('data-link-id')+'\"]'); \n active_sub_menu($active_menu, $dest_sub_menu);\n });\n\n\n $( \"#nav-main .container_menu--inner .header-nav-item.toDoHover\" ).mouseleave(function(e) {\n console.log('On quitte l\\'item');\n if($(e.relatedTarget).parents('.header-subs').length) {\n \n }else{\n disable_sub_menu($active_menu, $dest_sub_menu);\n }\n });\n\n /// Ajout code pour sortir des sous-menu actif\n $( \".header-sub\" ).mouseleave(function(e) {\n disable_sub_menu($active_menu, $dest_sub_menu);\n //if(header_sub_destination.hasClass('active')) disable_sub_menu_dest();\n });\n\n\n // Ajout pour fermer le menu si on clique sur le sous-menu avec la croix\n $('body').on('click', \".header-sub.active\", function(e) {\n console.log($(e.target));\n console.log($(e.relatedTarget));\n if (!$(e.target).parent().is('a')) {\n disable_sub_menu($active_menu, $dest_sub_menu);\n console.log('here');\n e.stopPropagation();\n e.preventDefault();\n }\n \n });\n\n function to_reinit_main_menu(){\n $('.menu-toggle').find('.txt').text('Menu');\n $('.menu-toggle').attr('aria-expanded', \"false\");\n $(\"body\").removeClass('toggled-menu-desktop');\n }\n function active_sub_menu($active_menu,$dest_sub_menu){\n\n if($('.menu-toggle').attr('aria-expanded') == 'true'){\n disable_sub_menu('', $('#smenu-menu'));\n }\n \n $('#nav-main .container_menu--inner .header-nav-item.toDoHover').removeClass('is-hover');\n $('.header-sub').removeClass('active');\n if($active_menu){\n $active_menu.addClass('is-hover');\n } \n \n $dest_sub_menu.addClass('active');\n }\n\n function disable_sub_menu($active_menu,$dest_sub_menu){\n if($active_menu){\n $active_menu.removeClass('is-hover');\n }else{\n to_reinit_main_menu();\n }\n \n $dest_sub_menu.removeClass('active');\n // header.removeClass('bg_for_hover');\n }\n\n\n\n /* ***************************\n APPARITION DE LA NAV A DROITE\n ******************************** */\n if($(\".ClassicPage-Nav\").length){\n var pos_blockContent = parseInt($('.ClassicPage-Bottom').position().top);\n var pos_nav = parseInt($('.ClassicPage-Nav').height() / 2);\n var h_header = 111; //$(\"#masthead\").height();\n } \n //pos_nav sert a tchi\n function to_appaer_nav(){\n\n if ($(window).scrollTop() > (pos_blockContent - h_header - pos_nav)){\n $('.ClassicPage-Nav').addClass('visible');\n }else{\n $('.ClassicPage-Nav').removeClass('visible');\n }\n\n }\n\n\n $( window ).resize(function() {\n if($(\".ClassicPage-Nav\").length){\n h_header = $(\"#masthead\").height();\n pos_blockContent = parseInt($('.ClassicPage-Bottom').position().top);\n pos_nav = parseInt($('.ClassicPage-Nav').height() / 2);\n }\n });\n\n\n // Cache selectors\n var lastId,\n topMenu = $(\"#masthead\"),\n $SubMenuLink = $(\"#sub_menu\"),\n topMenuHeight = topMenu.outerHeight()+15,\n // All list menuItems\n menuItems = $SubMenuLink.find(\"a\"),\n // Anchors corresponding to menu items\n scrollItems = menuItems.map(function(){\n var item = $($(this).attr(\"href\"));\n if (item.length) {return item;}\n });\n \n // Bind click handler to menu items\n // so we can get a fancy scroll animation\n menuItems.click(function(e){\n var href = $(this).attr(\"href\");\n var variable = 0;\n var offsetTop = href === \"#\" ? 0 : $(href).offset().top-topMenuHeight+1-variable;\n $('html, body').stop().animate({ \n scrollTop: offsetTop\n }, 500);\n \n \n e.preventDefault();\n });\n\n // Bind to scroll\n $(window).scroll(function(){\n // Get container scroll position\n var fromTop = $(this).scrollTop();\n \n // Get id of current scroll item\n var cur = scrollItems.map(function(){\n variable_top = 10;\n if ($(this).offset().top - topMenuHeight - variable_top < fromTop)\n {\n\n return this;\n }\n });\n // Get the id of the current element\n cur = cur[cur.length-1];\n var id = cur && cur.length ? cur[0].id : \"section_1\";\n \n if (lastId !== id) {\n lastId = id;\n // Set/remove active class\n menuItems.removeClass(\"active\");\n menuItems.filter(\"a[href='#\"+id+\"']\").addClass(\"active\");\n }else{\n // console.log('here' + id);\n // menuItems.filter(\"a[href='#section_1']\").addClass(\"active\");\n } \n });\n\n\n var other_link = $('.link_to_scroll, .btn-loupe > a');\n other_link.click(function(e){\n \n var href = $(this).attr(\"href\");\n\n if(href.indexOf('/') !== -1){\n var array_href = href.split(/[/]/);\n href = array_href[array_href.length-1];\n }\n \n var offsetTop = href === \"#\" ? 0 : $(href).offset().top-topMenuHeight+59; // difference entre menu ouvert et fermé... 44 + 15 \n $('html, body').stop().animate({ \n scrollTop: offsetTop\n }, 500);\n e.preventDefault();\n });\n\n\n\n /* ***************************\n SCROLL FIXED MENU \n ******************************** */\n $(window).scroll(function () {\n action_on_scroll();\n if($(\".ClassicPage-Nav\").length){\n to_appaer_nav();\n }\n });\n\n function action_on_scroll(){\n\n l_window = parseInt($(window).width());\n h_header = $(\"#masthead\").height();\n\n if (l_window > LARGEUR_MAX_MOBILE){\n if ($(window).scrollTop() > h_header - 30){\n header.addClass(\"Masthead--sticky\");\n $(\"body\").addClass('header--sticky');\n }else{\n header.removeClass(\"Masthead--sticky\");\n $(\"body\").removeClass('header--sticky');\n }\n }\n }\n\n\n\n\n\n /* ***************** */\n /* ACCORDEON // Nottament pour la partie : Mon compte : documnet\n /* ***************** */\n\n //$('.accordion-section-content').hide();\n // ACCORDEON SECTION \n function close_accordion_section() {\n $('.AccordeonBloc .accordion-section-title').removeClass('active');\n $('.AccordeonBloc .accordion-section-content').slideUp(300).removeClass('open');\n $('.AccordeonBloc .Acc-Item_img').slideUp(300);\n }\n\n function init_accordeon(){\n $('.accordion-section-content').hide();\n //$('.accordion-section-content').parent().addClass('active');\n }\n init_accordeon();\n\n $('.accordion-section-title').click(function(e) {\n // Grab current anchor value\n var currentAttrValue = $(this).attr('href');\n \n $('.accordion-section-content[data-id!=\"'+currentAttrValue+'\"]').slideUp(300);\n $('.accordion-section-content[data-id!=\"'+currentAttrValue+'\"]').parent().removeClass('active'); \n\n \n if($(this).parent().parent().hasClass('active')) {\n \n // close_accordion_section();\n $('.accordion-section-content[data-id=\"'+currentAttrValue+'\"]').slideUp(300).removeClass('open');\n $(this).parent().parent().removeClass('active');\n\n // $('.Acc-Item_img[data-id=\"'+currentAttrValue+'\"]').slideUp(300).removeClass('open'); \n\n }else {\n // close_accordion_section();\n \n // Add active class to section title\n $(this).parent().parent().addClass('active');\n // Open up the hidden content panel\n $('.accordion-section-content[data-id=\"'+currentAttrValue+'\"]').slideDown(300).addClass('open'); \n \n }\n \n e.preventDefault();\n });\n // FIN ACCORDEON //\n ////////////////////\n\n\n\n\n\n\n // FORM CONTACT LABEL ///\n $( \".wpcf7-form input[type='text'],.wpcf7-form input[type='email'],.wpcf7-form textare\" ).click(function() {\n $( this ).parent().parent().addClass('focus');\n });\n\n $( \".wpcf7-form label.to_move\" ).click(function() {\n $( this ).parent().addClass('focus');\n });\n\n $( \".wpcf7-form input[type='text'],.wpcf7-form input[type='email'],.wpcf7-form textarea\" ).focus(function() {\n $( this ).parent().parent().addClass('focus');\n });\n\n $( \".wpcf7-form input[type='email'],.wpcf7-form input[type='text'],.wpcf7-form textarea\" ).each(function() {\n if($(this).val() != '') $( this ).parent().parent().addClass('focus');\n });\n\n\n\n });","/*! lightgallery - v1.6.12 - 2019-02-19\n* http://sachinchoolur.github.io/lightGallery/\n* Copyright (c) 2019 Sachin N; Licensed GPLv3 */\n!function(a,b){\"function\"==typeof define&&define.amd?define([\"jquery\"],function(a){return b(a)}):\"object\"==typeof module&&module.exports?module.exports=b(require(\"jquery\")):b(a.jQuery)}(this,function(a){!function(){\"use strict\";function b(b,d){if(this.el=b,this.$el=a(b),this.s=a.extend({},c,d),this.s.dynamic&&\"undefined\"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw\"When using dynamic mode, you must also define dynamicEl as an Array.\";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch=\"ontouchstart\"in document.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.s.dynamic?this.$items=this.s.dynamicEl:\"this\"===this.s.selector?this.$items=this.$el:\"\"!==this.s.selector?this.s.selectWithin?this.$items=a(this.s.selectWithin).find(this.s.selector):this.$items=this.$el.find(a(this.s.selector)):this.$items=this.$el.children(),this.$slide=\"\",this.$outer=\"\",this.init(),this}var c={mode:\"lg-slide\",cssEasing:\"ease\",easing:\"linear\",speed:600,height:\"100%\",width:\"100%\",addClass:\"\",startClass:\"lg-start-zoom\",backdropDuration:150,hideBarsDelay:6e3,useLeft:!1,closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!0,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:\".lg-sub-html\",subHtmlSelectorRelative:!1,preload:1,showAfterLoad:!0,selector:\"\",selectWithin:\"\",nextHtml:\"\",prevHtml:\"\",index:!1,iframeMaxWidth:\"100%\",download:!0,counter:!0,appendCounterTo:\".lg-toolbar\",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1};b.prototype.init=function(){var b=this;b.s.preload>b.$items.length&&(b.s.preload=b.$items.length);var c=window.location.hash;c.indexOf(\"lg=\"+this.s.galleryId)>0&&(b.index=parseInt(c.split(\"&slide=\")[1],10),a(\"body\").addClass(\"lg-from-hash\"),a(\"body\").hasClass(\"lg-on\")||(setTimeout(function(){b.build(b.index)}),a(\"body\").addClass(\"lg-on\"))),b.s.dynamic?(b.$el.trigger(\"onBeforeOpen.lg\"),b.index=b.s.index||0,a(\"body\").hasClass(\"lg-on\")||setTimeout(function(){b.build(b.index),a(\"body\").addClass(\"lg-on\")})):b.$items.on(\"click.lgcustom\",function(c){try{c.preventDefault(),c.preventDefault()}catch(a){c.returnValue=!1}b.$el.trigger(\"onBeforeOpen.lg\"),b.index=b.s.index||b.$items.index(this),a(\"body\").hasClass(\"lg-on\")||(b.build(b.index),a(\"body\").addClass(\"lg-on\"))})},b.prototype.build=function(b){var c=this;c.structure(),a.each(a.fn.lightGallery.modules,function(b){c.modules[b]=new a.fn.lightGallery.modules[b](c.el)}),c.slide(b,!1,!1,!1),c.s.keyPress&&c.keyPress(),c.$items.length>1?(c.arrow(),setTimeout(function(){c.enableDrag(),c.enableSwipe()},50),c.s.mousewheel&&c.mousewheel()):c.$slide.on(\"click.lg\",function(){c.$el.trigger(\"onSlideClick.lg\")}),c.counter(),c.closeGallery(),c.$el.trigger(\"onAfterOpen.lg\"),c.$outer.on(\"mousemove.lg click.lg touchstart.lg\",function(){c.$outer.removeClass(\"lg-hide-items\"),clearTimeout(c.hideBartimeout),c.hideBartimeout=setTimeout(function(){c.$outer.addClass(\"lg-hide-items\")},c.s.hideBarsDelay)}),c.$outer.trigger(\"mousemove.lg\")},b.prototype.structure=function(){var b,c=\"\",d=\"\",e=0,f=\"\",g=this;for(a(\"body\").append('
'),a(\".lg-backdrop\").css(\"transition-duration\",this.s.backdropDuration+\"ms\"),e=0;e';if(this.s.controls&&this.$items.length>1&&(d='
\"),\".lg-sub-html\"===this.s.appendSubHtmlTo&&(f='
'),b='
'+c+'
'+d+f+\"
\",a(\"body\").append(b),this.$outer=a(\".lg-outer\"),this.$slide=this.$outer.find(\".lg-item\"),this.s.useLeft?(this.$outer.addClass(\"lg-use-left\"),this.s.mode=\"lg-slide\"):this.$outer.addClass(\"lg-use-css3\"),g.setTop(),a(window).on(\"resize.lg orientationchange.lg\",function(){setTimeout(function(){g.setTop()},100)}),this.$slide.eq(this.index).addClass(\"lg-current\"),this.doCss()?this.$outer.addClass(\"lg-css3\"):(this.$outer.addClass(\"lg-css\"),this.s.speed=0),this.$outer.addClass(this.s.mode),this.s.enableDrag&&this.$items.length>1&&this.$outer.addClass(\"lg-grab\"),this.s.showAfterLoad&&this.$outer.addClass(\"lg-show-after-load\"),this.doCss()){var h=this.$outer.find(\".lg-inner\");h.css(\"transition-timing-function\",this.s.cssEasing),h.css(\"transition-duration\",this.s.speed+\"ms\")}setTimeout(function(){a(\".lg-backdrop\").addClass(\"in\")}),setTimeout(function(){g.$outer.addClass(\"lg-visible\")},this.s.backdropDuration),this.s.download&&this.$outer.find(\".lg-toolbar\").append(''),this.prevScrollTop=a(window).scrollTop()},b.prototype.setTop=function(){if(\"100%\"!==this.s.height){var b=a(window).height(),c=(b-parseInt(this.s.height,10))/2,d=this.$outer.find(\".lg\");b>=parseInt(this.s.height,10)?d.css(\"top\",c+\"px\"):d.css(\"top\",\"0px\")}},b.prototype.doCss=function(){return!!function(){var a=[\"transition\",\"MozTransition\",\"WebkitTransition\",\"OTransition\",\"msTransition\",\"KhtmlTransition\"],b=document.documentElement,c=0;for(c=0;c'+(parseInt(this.index,10)+1)+' / '+this.$items.length+\"\")},b.prototype.addHtml=function(b){var c,d,e=null;if(this.s.dynamic?this.s.dynamicEl[b].subHtmlUrl?c=this.s.dynamicEl[b].subHtmlUrl:e=this.s.dynamicEl[b].subHtml:(d=this.$items.eq(b),d.attr(\"data-sub-html-url\")?c=d.attr(\"data-sub-html-url\"):(e=d.attr(\"data-sub-html\"),this.s.getCaptionFromTitleOrAlt&&!e&&(e=d.attr(\"title\")||d.find(\"img\").first().attr(\"alt\")))),!c)if(void 0!==e&&null!==e){var f=e.substring(0,1);\".\"!==f&&\"#\"!==f||(e=this.s.subHtmlSelectorRelative&&!this.s.dynamic?d.find(e).html():a(e).html())}else e=\"\";\".lg-sub-html\"===this.s.appendSubHtmlTo?c?this.$outer.find(this.s.appendSubHtmlTo).load(c):this.$outer.find(this.s.appendSubHtmlTo).html(e):c?this.$slide.eq(b).load(c):this.$slide.eq(b).append(e),void 0!==e&&null!==e&&(\"\"===e?this.$outer.find(this.s.appendSubHtmlTo).addClass(\"lg-empty-html\"):this.$outer.find(this.s.appendSubHtmlTo).removeClass(\"lg-empty-html\")),this.$el.trigger(\"onAfterAppendSubHtml.lg\",[b])},b.prototype.preload=function(a){var b=1,c=1;for(b=1;b<=this.s.preload&&!(b>=this.$items.length-a);b++)this.loadContent(a+b,!1,0);for(c=1;c<=this.s.preload&&!(a-c<0);c++)this.loadContent(a-c,!1,0)},b.prototype.loadContent=function(b,c,d){var e,f,g,h,i,j,k=this,l=!1,m=function(b){for(var c=[],d=[],e=0;eh){f=d[i];break}};if(k.s.dynamic){if(k.s.dynamicEl[b].poster&&(l=!0,g=k.s.dynamicEl[b].poster),j=k.s.dynamicEl[b].html,f=k.s.dynamicEl[b].src,k.s.dynamicEl[b].responsive){m(k.s.dynamicEl[b].responsive.split(\",\"))}h=k.s.dynamicEl[b].srcset,i=k.s.dynamicEl[b].sizes}else{if(k.$items.eq(b).attr(\"data-poster\")&&(l=!0,g=k.$items.eq(b).attr(\"data-poster\")),j=k.$items.eq(b).attr(\"data-html\"),f=k.$items.eq(b).attr(\"href\")||k.$items.eq(b).attr(\"data-src\"),k.$items.eq(b).attr(\"data-responsive\")){m(k.$items.eq(b).attr(\"data-responsive\").split(\",\"))}h=k.$items.eq(b).attr(\"data-srcset\"),i=k.$items.eq(b).attr(\"data-sizes\")}var n=!1;k.s.dynamic?k.s.dynamicEl[b].iframe&&(n=!0):\"true\"===k.$items.eq(b).attr(\"data-iframe\")&&(n=!0);var o=k.isVideo(f,b);if(!k.$slide.eq(b).hasClass(\"lg-loaded\")){if(n)k.$slide.eq(b).prepend('
');else if(l){var p=\"\";p=o&&o.youtube?\"lg-has-youtube\":o&&o.vimeo?\"lg-has-vimeo\":\"lg-has-html5\",k.$slide.eq(b).prepend('
')}else o?(k.$slide.eq(b).prepend('
'),k.$el.trigger(\"hasVideo.lg\",[b,f,j])):k.$slide.eq(b).prepend('
');if(k.$el.trigger(\"onAferAppendSlide.lg\",[b]),e=k.$slide.eq(b).find(\".lg-object\"),i&&e.attr(\"sizes\",i),h){e.attr(\"srcset\",h);try{picturefill({elements:[e[0]]})}catch(a){console.warn(\"lightGallery :- If you want srcset to be supported for older browser please include picturefil version 2 javascript library in your document.\")}}\".lg-sub-html\"!==this.s.appendSubHtmlTo&&k.addHtml(b),k.$slide.eq(b).addClass(\"lg-loaded\")}k.$slide.eq(b).find(\".lg-object\").on(\"load.lg error.lg\",function(){var c=0;d&&!a(\"body\").hasClass(\"lg-from-hash\")&&(c=d),setTimeout(function(){k.$slide.eq(b).addClass(\"lg-complete\"),k.$el.trigger(\"onSlideItemLoad.lg\",[b,d||0])},c)}),o&&o.html5&&!l&&k.$slide.eq(b).addClass(\"lg-complete\"),!0===c&&(k.$slide.eq(b).hasClass(\"lg-complete\")?k.preload(b):k.$slide.eq(b).find(\".lg-object\").on(\"load.lg error.lg\",function(){k.preload(b)}))},b.prototype.slide=function(b,c,d,e){var f=this.$outer.find(\".lg-current\").index(),g=this;if(!g.lGalleryOn||f!==b){var h=this.$slide.length,i=g.lGalleryOn?this.s.speed:0;if(!g.lgBusy){if(this.s.download){var j;j=g.s.dynamic?!1!==g.s.dynamicEl[b].downloadUrl&&(g.s.dynamicEl[b].downloadUrl||g.s.dynamicEl[b].src):\"false\"!==g.$items.eq(b).attr(\"data-download-url\")&&(g.$items.eq(b).attr(\"data-download-url\")||g.$items.eq(b).attr(\"href\")||g.$items.eq(b).attr(\"data-src\")),j?(a(\"#lg-download\").attr(\"href\",j),g.$outer.removeClass(\"lg-hide-download\")):g.$outer.addClass(\"lg-hide-download\")}if(this.$el.trigger(\"onBeforeSlide.lg\",[f,b,c,d]),g.lgBusy=!0,clearTimeout(g.hideBartimeout),\".lg-sub-html\"===this.s.appendSubHtmlTo&&setTimeout(function(){g.addHtml(b)},i),this.arrowDisable(b),e||(bf&&(e=\"next\")),c){this.$slide.removeClass(\"lg-prev-slide lg-current lg-next-slide\");var k,l;h>2?(k=b-1,l=b+1,0===b&&f===h-1?(l=0,k=h-1):b===h-1&&0===f&&(l=0,k=h-1)):(k=0,l=1),\"prev\"===e?g.$slide.eq(l).addClass(\"lg-next-slide\"):g.$slide.eq(k).addClass(\"lg-prev-slide\"),g.$slide.eq(b).addClass(\"lg-current\")}else g.$outer.addClass(\"lg-no-trans\"),this.$slide.removeClass(\"lg-prev-slide lg-next-slide\"),\"prev\"===e?(this.$slide.eq(b).addClass(\"lg-prev-slide\"),this.$slide.eq(f).addClass(\"lg-next-slide\")):(this.$slide.eq(b).addClass(\"lg-next-slide\"),this.$slide.eq(f).addClass(\"lg-prev-slide\")),setTimeout(function(){g.$slide.removeClass(\"lg-current\"),g.$slide.eq(b).addClass(\"lg-current\"),g.$outer.removeClass(\"lg-no-trans\")},50);g.lGalleryOn?(setTimeout(function(){g.loadContent(b,!0,0)},this.s.speed+50),setTimeout(function(){g.lgBusy=!1,g.$el.trigger(\"onAfterSlide.lg\",[f,b,c,d])},this.s.speed)):(g.loadContent(b,!0,g.s.backdropDuration),g.lgBusy=!1,g.$el.trigger(\"onAfterSlide.lg\",[f,b,c,d])),g.lGalleryOn=!0,this.s.counter&&a(\"#lg-counter-current\").text(b+1)}g.index=b}},b.prototype.goToNextSlide=function(a){var b=this,c=b.s.loop;a&&b.$slide.length<3&&(c=!1),b.lgBusy||(b.index+10?(b.index--,b.$el.trigger(\"onBeforePrevSlide.lg\",[b.index,a]),b.slide(b.index,a,!1,\"prev\")):c?(b.index=b.$items.length-1,b.$el.trigger(\"onBeforePrevSlide.lg\",[b.index,a]),b.slide(b.index,a,!1,\"prev\")):b.s.slideEndAnimatoin&&!a&&(b.$outer.addClass(\"lg-left-end\"),setTimeout(function(){b.$outer.removeClass(\"lg-left-end\")},400)))},b.prototype.keyPress=function(){var b=this;this.$items.length>1&&a(window).on(\"keyup.lg\",function(a){b.$items.length>1&&(37===a.keyCode&&(a.preventDefault(),b.goToPrevSlide()),39===a.keyCode&&(a.preventDefault(),b.goToNextSlide()))}),a(window).on(\"keydown.lg\",function(a){!0===b.s.escKey&&27===a.keyCode&&(a.preventDefault(),b.$outer.hasClass(\"lg-thumb-open\")?b.$outer.removeClass(\"lg-thumb-open\"):b.destroy())})},b.prototype.arrow=function(){var a=this;this.$outer.find(\".lg-prev\").on(\"click.lg\",function(){a.goToPrevSlide()}),this.$outer.find(\".lg-next\").on(\"click.lg\",function(){a.goToNextSlide()})},b.prototype.arrowDisable=function(a){!this.s.loop&&this.s.hideControlOnEnd&&(a+10?this.$outer.find(\".lg-prev\").removeAttr(\"disabled\").removeClass(\"disabled\"):this.$outer.find(\".lg-prev\").attr(\"disabled\",\"disabled\").addClass(\"disabled\"))},b.prototype.setTranslate=function(a,b,c){this.s.useLeft?a.css(\"left\",b):a.css({transform:\"translate3d(\"+b+\"px, \"+c+\"px, 0px)\"})},b.prototype.touchMove=function(b,c){var d=c-b;Math.abs(d)>15&&(this.$outer.addClass(\"lg-dragging\"),this.setTranslate(this.$slide.eq(this.index),d,0),this.setTranslate(a(\".lg-prev-slide\"),-this.$slide.eq(this.index).width()+d,0),this.setTranslate(a(\".lg-next-slide\"),this.$slide.eq(this.index).width()+d,0))},b.prototype.touchEnd=function(a){var b=this;\"lg-slide\"!==b.s.mode&&b.$outer.addClass(\"lg-slide\"),this.$slide.not(\".lg-current, .lg-prev-slide, .lg-next-slide\").css(\"opacity\",\"0\"),setTimeout(function(){b.$outer.removeClass(\"lg-dragging\"),a<0&&Math.abs(a)>b.s.swipeThreshold?b.goToNextSlide(!0):a>0&&Math.abs(a)>b.s.swipeThreshold?b.goToPrevSlide(!0):Math.abs(a)<5&&b.$el.trigger(\"onSlideClick.lg\"),b.$slide.removeAttr(\"style\")}),setTimeout(function(){b.$outer.hasClass(\"lg-dragging\")||\"lg-slide\"===b.s.mode||b.$outer.removeClass(\"lg-slide\")},b.s.speed+100)},b.prototype.enableSwipe=function(){var a=this,b=0,c=0,d=!1;a.s.enableSwipe&&a.doCss()&&(a.$slide.on(\"touchstart.lg\",function(c){a.$outer.hasClass(\"lg-zoomed\")||a.lgBusy||(c.preventDefault(),a.manageSwipeClass(),b=c.originalEvent.targetTouches[0].pageX)}),a.$slide.on(\"touchmove.lg\",function(e){a.$outer.hasClass(\"lg-zoomed\")||(e.preventDefault(),c=e.originalEvent.targetTouches[0].pageX,a.touchMove(b,c),d=!0)}),a.$slide.on(\"touchend.lg\",function(){a.$outer.hasClass(\"lg-zoomed\")||(d?(d=!1,a.touchEnd(c-b)):a.$el.trigger(\"onSlideClick.lg\"))}))},b.prototype.enableDrag=function(){var b=this,c=0,d=0,e=!1,f=!1;b.s.enableDrag&&b.doCss()&&(b.$slide.on(\"mousedown.lg\",function(d){b.$outer.hasClass(\"lg-zoomed\")||b.lgBusy||a(d.target).text().trim()||(d.preventDefault(),b.manageSwipeClass(),c=d.pageX,e=!0,b.$outer.scrollLeft+=1,b.$outer.scrollLeft-=1,b.$outer.removeClass(\"lg-grab\").addClass(\"lg-grabbing\"),b.$el.trigger(\"onDragstart.lg\"))}),a(window).on(\"mousemove.lg\",function(a){e&&(f=!0,d=a.pageX,b.touchMove(c,d),b.$el.trigger(\"onDragmove.lg\"))}),a(window).on(\"mouseup.lg\",function(g){f?(f=!1,b.touchEnd(d-c),b.$el.trigger(\"onDragend.lg\")):(a(g.target).hasClass(\"lg-object\")||a(g.target).hasClass(\"lg-video-play\"))&&b.$el.trigger(\"onSlideClick.lg\"),e&&(e=!1,b.$outer.removeClass(\"lg-grabbing\").addClass(\"lg-grab\"))}))},b.prototype.manageSwipeClass=function(){var a=this.index+1,b=this.index-1;this.s.loop&&this.$slide.length>2&&(0===this.index?b=this.$slide.length-1:this.index===this.$slide.length-1&&(a=0)),this.$slide.removeClass(\"lg-next-slide lg-prev-slide\"),b>-1&&this.$slide.eq(b).addClass(\"lg-prev-slide\"),this.$slide.eq(a).addClass(\"lg-next-slide\")},b.prototype.mousewheel=function(){var a=this;a.$outer.on(\"mousewheel.lg\",function(b){b.deltaY&&(b.deltaY>0?a.goToPrevSlide():a.goToNextSlide(),b.preventDefault())})},b.prototype.closeGallery=function(){var b=this,c=!1;this.$outer.find(\".lg-close\").on(\"click.lg\",function(){b.destroy()}),b.s.closable&&(b.$outer.on(\"mousedown.lg\",function(b){c=!!(a(b.target).is(\".lg-outer\")||a(b.target).is(\".lg-item \")||a(b.target).is(\".lg-img-wrap\"))}),b.$outer.on(\"mousemove.lg\",function(){c=!1}),b.$outer.on(\"mouseup.lg\",function(d){(a(d.target).is(\".lg-outer\")||a(d.target).is(\".lg-item \")||a(d.target).is(\".lg-img-wrap\")&&c)&&(b.$outer.hasClass(\"lg-dragging\")||b.destroy())}))},b.prototype.destroy=function(b){var c=this;b||(c.$el.trigger(\"onBeforeClose.lg\"),a(window).scrollTop(c.prevScrollTop)),b&&(c.s.dynamic||this.$items.off(\"click.lg click.lgcustom\"),a.removeData(c.el,\"lightGallery\")),this.$el.off(\".lg.tm\"),a.each(a.fn.lightGallery.modules,function(a){c.modules[a]&&c.modules[a].destroy()}),this.lGalleryOn=!1,clearTimeout(c.hideBartimeout),this.hideBartimeout=!1,a(window).off(\".lg\"),a(\"body\").removeClass(\"lg-on lg-from-hash\"),c.$outer&&c.$outer.removeClass(\"lg-visible\"),a(\".lg-backdrop\").removeClass(\"in\"),setTimeout(function(){c.$outer&&c.$outer.remove(),a(\".lg-backdrop\").remove(),b||c.$el.trigger(\"onCloseAfter.lg\")},c.s.backdropDuration+50)},a.fn.lightGallery=function(c){return this.each(function(){if(a.data(this,\"lightGallery\"))try{a(this).data(\"lightGallery\").init()}catch(a){console.error(\"lightGallery has not initiated properly\")}else a.data(this,\"lightGallery\",new b(this,c))})},a.fn.lightGallery.modules={}}()});","/**\n * File navigation.js.\n *\n * Handles toggling the navigation menu for small screens and enables TAB key\n * navigation support for dropdown menus.\n */\n( function() {\n\tvar container, button, menu, links, i, len;\n\n\tcontainer = document.getElementById( 'nav-main' );\n\tmasthead = document.getElementById( 'masthead' );\n\tif ( ! container ) {\n\t\treturn;\n\t}\n\n\tbutton = document.getElementById( 'main-button-toggle' );\n\tif ( 'undefined' === typeof button ) {\n\t\treturn;\n\t}\n\n\tmenu = document.getElementById( 'main-menu-list');\n\n\t// Hide menu toggle button if menu is empty and return early.\n\tif ( 'undefined' === typeof menu ) {\n\t\tbutton.style.display = 'none';\n\t\treturn;\n\t}\n\n\tmenu.setAttribute( 'aria-expanded', 'false' );\n\tif ( -1 === menu.className.indexOf( 'nav-menu' ) ) {\n\t\tmenu.className += ' nav-menu';\n\t}\n\n\tbutton.onclick = function() {\n\t\tif ( -1 !== container.className.indexOf( 'toggled' ) ) {\n\t\t\tcontainer.className = container.className.replace( ' toggled', '' );\n\t\t\tbutton.setAttribute( 'aria-expanded', 'false' );\n\t\t\tmenu.setAttribute( 'aria-expanded', 'false' );\n\t\t\tmasthead.className = masthead.className.replace( ' open', '' );\n\t\t\t\n\t\t} else {\n\t\t\tcontainer.className += ' toggled';\n\t\t\tbutton.setAttribute( 'aria-expanded', 'true' );\n\t\t\tmenu.setAttribute( 'aria-expanded', 'true' );\n\t\t\tmasthead.className += ' open';\n\t\t}\n\t};\n\n\t// Get all the link elements within the menu.\n\tlinks = menu.getElementsByTagName( 'a' );\n\n\t// Each time a menu link is focused or blurred, toggle focus.\n\tfor ( i = 0, len = links.length; i < len; i++ ) {\n\t\tlinks[i].addEventListener( 'focus', toggleFocus, true );\n\t\tlinks[i].addEventListener( 'blur', toggleFocus, true );\n\t}\n\n\t/**\n\t * Sets or removes .focus class on an element.\n\t */\n\tfunction toggleFocus() {\n\t\tvar self = this;\n\n\t\t// Move up through the ancestors of the current link until we hit .nav-menu.\n\t\twhile ( -1 === self.className.indexOf( 'nav-menu' ) ) {\n\n\t\t\t// On li elements toggle the class .focus.\n\t\t\tif ( 'li' === self.tagName.toLowerCase() ) {\n\t\t\t\tif ( -1 !== self.className.indexOf( 'focus' ) ) {\n\t\t\t\t\tself.className = self.className.replace( ' focus', '' );\n\t\t\t\t} else {\n\t\t\t\t\tself.className += ' focus';\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tself = self.parentElement;\n\t\t}\n\t}\n\n\t/**\n\t * Toggles `focus` class to allow submenu access on tablets.\n\t */\n\t( function( container ) {\n\t\tvar touchStartFn, i,\n\t\t\tparentLink = container.querySelectorAll( '.menu-item-has-children > a, .page_item_has_children > a' );\n\n\t\tif ( 'ontouchstart' in window ) {\n\t\t\ttouchStartFn = function( e ) {\n\t\t\t\tvar menuItem = this.parentNode, i;\n\n\t\t\t\tif ( ! menuItem.classList.contains( 'focus' ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tfor ( i = 0; i < menuItem.parentNode.children.length; ++i ) {\n\t\t\t\t\t\tif ( menuItem === menuItem.parentNode.children[i] ) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmenuItem.parentNode.children[i].classList.remove( 'focus' );\n\t\t\t\t\t}\n\t\t\t\t\tmenuItem.classList.add( 'focus' );\n\t\t\t\t} else {\n\t\t\t\t\tmenuItem.classList.remove( 'focus' );\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tfor ( i = 0; i < parentLink.length; ++i ) {\n\t\t\t\tparentLink[i].addEventListener( 'touchstart', touchStartFn, false );\n\t\t\t}\n\t\t}\n\t}( container ) );\n} )();\n","/*! WOW - v1.1.3 - 2016-05-06\n* Copyright (c) 2016 Matthieu Aussaguel;*/(function(){var a,b,c,d,e,f=function(a,b){return function(){return a.apply(b,arguments)}},g=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in b)d=b[c],null==a[c]&&(a[c]=d);return a},a.prototype.isMobile=function(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)},a.prototype.createEvent=function(a,b,c,d){var e;return null==b&&(b=!1),null==c&&(c=!1),null==d&&(d=null),null!=document.createEvent?(e=document.createEvent(\"CustomEvent\"),e.initCustomEvent(a,b,c,d)):null!=document.createEventObject?(e=document.createEventObject(),e.eventType=a):e.eventName=a,e},a.prototype.emitEvent=function(a,b){return null!=a.dispatchEvent?a.dispatchEvent(b):b in(null!=a)?a[b]():\"on\"+b in(null!=a)?a[\"on\"+b]():void 0},a.prototype.addEvent=function(a,b,c){return null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent(\"on\"+b,c):a[b]=c},a.prototype.removeEvent=function(a,b,c){return null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent(\"on\"+b,c):delete a[b]},a.prototype.innerHeight=function(){return\"innerHeight\"in window?window.innerHeight:document.documentElement.clientHeight},a}(),c=this.WeakMap||this.MozWeakMap||(c=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),a=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(a=function(){function a(){\"undefined\"!=typeof console&&null!==console&&console.warn(\"MutationObserver is not supported by your browser.\"),\"undefined\"!=typeof console&&null!==console&&console.warn(\"WOW.js cannot detect dom mutations, please call .sync() after loading new content.\")}return a.notSupported=!0,a.prototype.observe=function(){},a}()),d=this.getComputedStyle||function(a,b){return this.getPropertyValue=function(b){var c;return\"float\"===b&&(b=\"styleFloat\"),e.test(b)&&b.replace(e,function(a,b){return b.toUpperCase()}),(null!=(c=a.currentStyle)?c[b]:void 0)||null},this},e=/(\\-([a-z]){1})/g,this.WOW=function(){function e(a){null==a&&(a={}),this.scrollCallback=f(this.scrollCallback,this),this.scrollHandler=f(this.scrollHandler,this),this.resetAnimation=f(this.resetAnimation,this),this.start=f(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),null!=a.scrollContainer&&(this.config.scrollContainer=document.querySelector(a.scrollContainer)),this.animationNameCache=new c,this.wowEvent=this.util().createEvent(this.config.boxClass)}return e.prototype.defaults={boxClass:\"wow\",animateClass:\"animated\",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null},e.prototype.init=function(){var a;return this.element=window.document.documentElement,\"interactive\"===(a=document.readyState)||\"complete\"===a?this.start():this.util().addEvent(document,\"DOMContentLoaded\",this.start),this.finished=[]},e.prototype.start=function(){var b,c,d,e;if(this.stopped=!1,this.boxes=function(){var a,c,d,e;for(d=this.element.querySelectorAll(\".\"+this.config.boxClass),e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.all=function(){var a,c,d,e;for(d=this.boxes,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(e=this.boxes,c=0,d=e.length;d>c;c++)b=e[c],this.applyStyle(b,!0);return this.disabled()||(this.util().addEvent(this.config.scrollContainer||window,\"scroll\",this.scrollHandler),this.util().addEvent(window,\"resize\",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new a(function(a){return function(b){var c,d,e,f,g;for(g=[],c=0,d=b.length;d>c;c++)f=b[c],g.push(function(){var a,b,c,d;for(c=f.addedNodes||[],d=[],a=0,b=c.length;b>a;a++)e=c[a],d.push(this.doSync(e));return d}.call(a));return g}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},e.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(this.config.scrollContainer||window,\"scroll\",this.scrollHandler),this.util().removeEvent(window,\"resize\",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},e.prototype.sync=function(b){return a.notSupported?this.doSync(this.element):void 0},e.prototype.doSync=function(a){var b,c,d,e,f;if(null==a&&(a=this.element),1===a.nodeType){for(a=a.parentNode||a,e=a.querySelectorAll(\".\"+this.config.boxClass),f=[],c=0,d=e.length;d>c;c++)b=e[c],g.call(this.all,b)<0?(this.boxes.push(b),this.all.push(b),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(b,!0),f.push(this.scrolled=!0)):f.push(void 0);return f}},e.prototype.show=function(a){return this.applyStyle(a),a.className=a.className+\" \"+this.config.animateClass,null!=this.config.callback&&this.config.callback(a),this.util().emitEvent(a,this.wowEvent),this.util().addEvent(a,\"animationend\",this.resetAnimation),this.util().addEvent(a,\"oanimationend\",this.resetAnimation),this.util().addEvent(a,\"webkitAnimationEnd\",this.resetAnimation),this.util().addEvent(a,\"MSAnimationEnd\",this.resetAnimation),a},e.prototype.applyStyle=function(a,b){var c,d,e;return d=a.getAttribute(\"data-wow-duration\"),c=a.getAttribute(\"data-wow-delay\"),e=a.getAttribute(\"data-wow-iteration\"),this.animate(function(f){return function(){return f.customStyle(a,b,d,c,e)}}(this))},e.prototype.animate=function(){return\"requestAnimationFrame\"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),e.prototype.resetStyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.style.visibility=\"visible\");return e},e.prototype.resetAnimation=function(a){var b;return a.type.toLowerCase().indexOf(\"animationend\")>=0?(b=a.target||a.srcElement,b.className=b.className.replace(this.config.animateClass,\"\").trim()):void 0},e.prototype.customStyle=function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?\"hidden\":\"visible\",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?\"none\":this.cachedAnimationName(a)}),a},e.prototype.vendors=[\"moz\",\"webkit\"],e.prototype.vendorSet=function(a,b){var c,d,e,f;d=[];for(c in b)e=b[c],a[\"\"+c]=e,d.push(function(){var b,d,g,h;for(g=this.vendors,h=[],b=0,d=g.length;d>b;b++)f=g[b],h.push(a[\"\"+f+c.charAt(0).toUpperCase()+c.substr(1)]=e);return h}.call(this));return d},e.prototype.vendorCSS=function(a,b){var c,e,f,g,h,i;for(h=d(a),g=h.getPropertyCSSValue(b),f=this.vendors,c=0,e=f.length;e>c;c++)i=f[c],g=g||h.getPropertyCSSValue(\"-\"+i+\"-\"+b);return g},e.prototype.animationName=function(a){var b;try{b=this.vendorCSS(a,\"animation-name\").cssText}catch(c){b=d(a).getPropertyValue(\"animation-name\")}return\"none\"===b?\"\":b},e.prototype.cacheAnimationName=function(a){return this.animationNameCache.set(a,this.animationName(a))},e.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},e.prototype.scrollHandler=function(){return this.scrolled=!0},e.prototype.scrollCallback=function(){var a;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],a&&(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},e.prototype.offsetTop=function(a){for(var b;void 0===a.offsetTop;)a=a.parentNode;for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},e.prototype.isVisible=function(a){var b,c,d,e,f;return c=a.getAttribute(\"data-wow-offset\")||this.config.offset,f=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset,e=f+Math.min(this.element.clientHeight,this.util().innerHeight())-c,d=this.offsetTop(a),b=d+a.clientHeight,e>=d&&b>=f},e.prototype.util=function(){return null!=this._util?this._util:this._util=new b},e.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},e}()}).call(this);"]}