/**handles:email-subscribers,jquery-scrollto**/ (r=>{function n(e,s){var t=e.redirection_url,i,t,e,n,n;void 0!==t?"string"==typeof(t=t.trim())&&""!=t&&(/^https?:\/\//i.test(t)||(t="http://"+t),window.location.href=t):(t="success","ERROR"===e.status&&(t="error"),e=e.message_text,(n=r(s).next(".es_subscription_message")).attr("class","es_subscription_message "+t),n.html(e),n={detail:{es_response:t,msg:e},bubbles:!0,cancelable:!0},r(s).trigger("es_response",[n]))}function t(t,i=!1){var e=(t=r(t)).serializeObject();e.es="subscribe",e.action="es_add_subscriber",r.ajax({type:"POST",url:es_data.es_ajax_url,data:e,dataType:"json",beforeSend:function(){t.find("#spinner-image").show(),t.find(".es_submit_button").attr("disabled",!0)},success:function(e){var s=e;void 0!==e.success&&void 0!==e.data&&(s=e.data),i||(s&&void 0!==s.status&&"SUCCESS"===s.status?(t.slideUp("slow"),t):t.find("#spinner-image")).hide(),t.find(".es_submit_button").attr("disabled",!1),jQuery(window).trigger("es.send_response",[t,s]),n(s,t)},error:function(e){t.find("#spinner-image").hide(),t.find(".es_submit_button").attr("disabled",!1),console.log(e,"error")}})}r(document).ready(function(){r.fn.serializeObject=function(){var i={},e=this.serializeArray();return r.each(e,function(){var e=this.name,s=this.value||"",t;"[]"===e.slice(-2)?i[e]?i[e].push(s):i[e]=[s]:i[e]=s}),i},r(".es_ajax_subscription_form").on("submit",function(e){var s=r(this);e.preventDefault(),t(s)})}),jQuery(window).on("init.icegram",function(e,s){void 0!==s&&void 0!==s.messages&&jQuery('.icegram .es_shortcode_form, .icegram form[data-source="ig-es"]').each(function(e,s){jQuery(s).bind("submit",function(e){var s;e.preventDefault(),e.stopImmediatePropagation(),t(r(this),!0)})})})})(jQuery); (e=>{"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)})(function(s){var w=s.scrollTo=function(e,t,o){return s(window).scrollTo(e,t,o)};function y(e){return!e.nodeName||-1!==s.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])}function t(e){return"function"==typeof e}function n(e){return t(e)||s.isPlainObject(e)?e:{top:e,left:e}}return w.defaults={axis:"xy",duration:0,limit:!0},s.fn.scrollTo=function(e,o,h){"object"==typeof o&&(h=o,o=0),"function"==typeof h&&(h={onAfter:h}),"max"===e&&(e=9e9),h=s.extend({},w.defaults,h),o=o||h.duration;var x=h.queue&&1