
(function($){window.etCore=window.etCore||{};window.etCore.api=window.etCore.api||{};window.etCore.api.spam=window.etCore.api.spam||{};window.etCore.api.spam.recaptcha=$.extend(et_core_api_spam_recaptcha,{_bindMethods:function(target){Object.keys(target).forEach(function(prop){if(target.hasOwnProperty(prop)&&'function'===typeof target[prop]){target[prop]=target[prop].bind(target)}})},init:function(){this._bindMethods(this);if(this.isEnabled()){window.grecaptcha&&grecaptcha.execute(this.site_key,this.page_action)}},isEnabled:function(){return!!(this.site_key&&window.grecaptcha)},interaction:function(action){if(!this.isEnabled()){return Promise.resolve('')}
return grecaptcha.execute(this.site_key,{action:action})}});window.grecaptcha&&grecaptcha.ready(function(){window.etCore.api.spam.recaptcha.init()})})(jQuery);



(function($){$(function(){var user_agent=navigator.userAgent;var is_opera_edge;var browser=user_agent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))/i)||[];var browser_name='';var browser_class='';if(/trident/i.test(browser[0])){browser_name='ie'}else if(browser[0]==='Chrome'){is_opera_edge=user_agent.match(/\b(OPR|Edge)/);if(is_opera_edge!==null){browser_name=is_opera_edge[0].replace('OPR','opera')}}
if(''===browser_name){if('standalone' in window.navigator&&!window.navigator.standalone){browser_name='uiwebview'}else{browser_name=browser[0]&&''!==browser[0]?browser[0]:navigator.appName}}
browser_name=browser_name.toLowerCase();switch(browser_name){case 'msie':browser_class='ie';break;case 'firefox':browser_class='gecko';break;default:browser_class=browser_name;break}
if(user_agent.match(/iPhone/)){browser_class+=' iphone'}
$('body').addClass(browser_class)})})(jQuery);


