PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/bettingbin.com/wp-content/plugins/layered-popups/js/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/bettingbin.com/wp-content/plugins/layered-popups/js/script.min.js

var ulp_active_window_id=!1,ulp_active_campaign="",ulp_subscribing=!1,ulp_onload_displayed=!1,ulp_onexit_displayed=!1,ulp_onscroll_displayed=!1,ulp_onidle_displayed=!1,ulp_onabd_displayed=!1,ulp_no_preload_loading=!1,ulp_timeout,ulp_viewport,ulp_onidle_counter=0,ulp_onidle_timer,ulp_position_margin=16,ulp_forced_location="",ulp_recaptcha_queue=[],ulp_css3_animations_in="bounceIn bounceInUp bounceInDown bounceInLeft bounceInRight fadeIn fadeInUp fadeInDown fadeInLeft fadeInRight flipInX flipInY lightSpeedIn rotateIn rotateInDownLeft rotateInDownRight rotateInUpLeft rotateInUpRight rollIn zoomIn zoomInUp zoomInDown zoomInLeft zoomInRight".split(" "),
ulp_css3_animations_out="bounceOut bounceOutUp bounceOutDown bounceOutLeft bounceOutRight fadeOut fadeOutUp fadeOutDown fadeOutLeft fadeOutRight flipOutX flipOutY lightSpeedOut rotateOut rotateOutDownLeft rotateOutDownRight rotateOutUpLeft rotateOutUpRight rollOut zoomOut zoomOutUp zoomOutDown zoomOutLeft zoomOutRight".split(" "),ulp_mobile=function(a){return/(android|bb\d+|meego).+mobile|android|ipad|playbook|silk|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||
/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,
4))?!0:!1}(navigator.userAgent||navigator.vendor||window.opera);function ulp_popup_id(a){if(""==a)return"";var b=a.split("*");return 1==b.length?a:ulp_mobile?b[1]:b[0]}function ulp_prepare_ids(){ulp_onload_popup=ulp_popup_id(ulp_onload_popup);ulp_onexit_popup=ulp_popup_id(ulp_onexit_popup);ulp_onscroll_popup=ulp_popup_id(ulp_onscroll_popup);ulp_onidle_popup=ulp_popup_id(ulp_onidle_popup);ulp_onabd_popup=ulp_popup_id(ulp_onabd_popup)}
function ulp_inline_open(a){jQuery(".ulp-inline-window").each(function(){var b=jQuery(this).attr("data-device");"mobile"==b&&!ulp_mobile||"desktop"==b&&ulp_mobile?jQuery(this).hide():"function"==typeof ulp_inline_open_replaced?ulp_inline_open_replaced(this,a):(b=jQuery(this).attr("id"),jQuery(this).attr("data-id"),a||ulp_track(b,"layered-inline","show",""),_ulp_inline_open(b,!0,a))})}
function _ulp_inline_hide_confirmation(a){jQuery("#"+a).length&&(a=jQuery("#"+a).find(".ulp-content"),jQuery(a).find(".ulp-layer").each(function(){"on"==jQuery(this).attr("data-confirmation")&&jQuery(this).fadeOut(300)}))}
function _ulp_inline_open(a,b,d){jQuery("#"+a).each(function(){viewport_width=Math.max(120,jQuery(this).parent().innerWidth());var c=parseInt(jQuery(this).attr("data-width"),10),f=parseInt(jQuery(this).attr("data-height"),10),e=viewport_width/c;1<e&&(e=1);var h=jQuery(this).find(".ulp-content");jQuery(this).css({width:parseInt(c*e,10),height:parseInt(f*e,10)});jQuery(h).css({transform:"translate(-"+parseInt(c*(1-e)/2,10)+"px, -"+parseInt(f*(1-e)/2,10)+"px) scale("+e+")","-ms-transform":"translate(-"+
parseInt(c*(1-e)/2,10)+"px, -"+parseInt(f*(1-e)/2,10)+"px) scale("+e+")","-webkit-transform":"translate(-"+parseInt(c*(1-e)/2,10)+"px, -"+parseInt(f*(1-e)/2,10)+"px) scale("+e+")"});jQuery(h).find(".ulp-layer").each(function(){var a=jQuery(this).attr("data-confirmation");if("on"==a&&b)d?jQuery(this).fadeOut(300):jQuery(this).hide();else if("off"!=a||b){jQuery(this).show();"on"==ulp_recaptcha_enable&&jQuery(this).find(".ulp-recaptcha").each(function(){var a=jQuery(this).attr("data-widget");if("undefined"==
typeof a){a=jQuery(this).attr("data-theme");var b=jQuery(this).attr("id");b&&("undefined"!=typeof grecaptcha?(a=grecaptcha.render(b,{sitekey:ulp_recaptcha_public_key,theme:a}),jQuery(this).attr("data-widget",a)):ulp_recaptcha_queue.push(b))}});d||jQuery(this).attr("data-base64")&&jQuery(this).html(ulp_decode64(jQuery(this).html()));a=jQuery(this).attr("data-left");var c=jQuery(this).attr("data-top"),e=jQuery(this).attr("data-scrollbar");e&&"on"==e&&(jQuery(this).css("overflow","hidden"),jQuery(this).scrollTop(0),
jQuery.fn.perfectScrollbar&&(jQuery(this).perfectScrollbar("destroy"),jQuery(this).perfectScrollbar({suppressScrollX:!0})));jQuery(this).css({left:parseInt(a,10)+"px",top:parseInt(c,10)+"px"});b||(jQuery(this).css({display:"none"}),jQuery(this).fadeIn(500))}});jQuery.fn.mask&&jQuery(this).find(".ulp-input-mask").each(function(){var a=jQuery(this).attr("data-mask");a&&jQuery(this).mask(a);jQuery(this).removeClass("ulp-input-mask")});b&&jQuery.fn.datetimepicker&&ulp_datetimepicker_init(a);jQuery(this).fadeIn(300)});
return!1}
function _ulp_inline_subscribe(a,b){var d=jQuery("#"+a).attr("data-id"),c={"ulp-popup":d,"ulp-campaign":"",action:b},f={};jQuery("#"+a).find(".ulp-input-field").each(function(){var a=jQuery(this).attr("name");a&&(a=a.replace("ulp-",""),jQuery(this).is(":checked")?f[a]="on":f[a]=jQuery(this).val())});if(ulp_custom_handlers.hasOwnProperty(a)&&(ulp_custom_handlers[a].form=f,ulp_custom_handlers[a].errors={},ulp_custom_handlers[a].hasOwnProperty("before_submit")&&"function"==typeof ulp_custom_handlers[a].before_submit))try{if(!1===ulp_custom_handlers[a].before_submit())return!1}catch(m){}if(ulp_subscribing)return!1;
ulp_subscribing=!0;jQuery("#"+a).find(".ulp-input-field").each(function(){var a=jQuery(this).attr("name");if(a){var b=a.replace("ulp-","");jQuery(this).is(":checked")?(c[a]="on",f[b]="on"):(c[a]=jQuery(this).val(),f[b]=jQuery(this).val())}});"on"==ulp_recaptcha_enable&&"undefined"!=typeof grecaptcha&&jQuery("#"+a).find(".ulp-recaptcha").each(function(){var a=jQuery(this).attr("data-widget");if("undefined"!=typeof a){var b=jQuery(this).attr("id");c[b]=grecaptcha.getResponse(a)}});var e="",h=jQuery("#"+
a).find(".ulp-submit").attr("data-fa");h&&""!=h&&"fa-noicon"!=h?(h="<i class='fa "+h+"'></i>",e="<i class='fa fa-spinner fa-spin'></i>"):h="";var g=jQuery("#"+a).find(".ulp-submit").attr("data-label"),k=jQuery("#"+a).find(".ulp-submit").attr("data-loading");h&&g&&(h+="&nbsp; ");e&&k&&(e+="&nbsp; ");jQuery("#"+a).find(".ulp-submit").html(e+k);jQuery.ajax({url:ulp_ajax_url,data:c,type:"POST",async:!0,success:function(b){ulp_subscribing=!1;jQuery("#"+a).find(".ulp-submit").html(h+g);ulp_reset_recaptcha(a);
try{var c="object"==typeof b?b:jQuery.parseJSON(b);var e=c.status;if("OK"==e){b=180;"undefined"!=typeof c.cookie_lifetime&&(b=parseInt(c.cookie_lifetime,10));if(0<b){if(d==ulp_onload_popup||"on"==ulp_onexit_limits&&""!=ulp_onload_popup)ulp_write_cookie("ulp-onload-"+ulp_onload_popup,ulp_cookie_value,b),ulp_onload_displayed=!0;if(d==ulp_onexit_popup||"on"==ulp_onexit_limits&&""!=ulp_onexit_popup)ulp_write_cookie("ulp-onexit-"+ulp_onexit_popup,ulp_cookie_value,b),ulp_onexit_displayed=!0;if(d==ulp_onscroll_popup||
"on"==ulp_onexit_limits&&""!=ulp_onscroll_popup)ulp_write_cookie("ulp-onscroll-"+ulp_onscroll_popup,ulp_cookie_value,b),ulp_onscroll_displayed=!0;if(d==ulp_onidle_popup||"on"==ulp_onexit_limits&&""!=ulp_onidle_popup)ulp_write_cookie("ulp-onidle-"+ulp_onidle_popup,ulp_cookie_value,b),ulp_onidle_displayed=!0;if(d==ulp_onabd_popup||"on"==ulp_onexit_limits&&""!=ulp_onabd_popup)ulp_write_cookie("ulp-onabd-"+ulp_onabd_popup,ulp_cookie_value,b),ulp_onabd_displayed=!0;ulp_write_cookie("ulp-inline-"+d,ulp_cookie_value,
b);ulp_write_cookie("ulp-"+d,ulp_cookie_value,b)}if(ulp_custom_handlers.hasOwnProperty(a)&&(ulp_custom_handlers[a].errors={},ulp_custom_handlers[a].hasOwnProperty("after_submit_success")&&"function"==typeof ulp_custom_handlers[a].after_submit_success))try{ulp_custom_handlers[a].after_submit_success()}catch(q){}if("undefined"!=typeof c.forms){var f=c.forms,k;for(k in f)f.hasOwnProperty(k)&&(jQuery("body").append(f[k]),jQuery("#submit-"+k).click())}ulp_track(a,"layered-inline","subscribe",jQuery("#"+
a).find('[name="ulp-email"]').val());_ulp_inline_open(a,!1,!0);"function"==typeof ulp_inline_subscribed&&ulp_inline_subscribed(a,c);ulp_unlock_links(d);var m=c.return_url;f=0;c.close_delay&&(f=parseInt(c.close_delay,10));var p=c.thanksgiving_popup;setTimeout(function(){jQuery("#"+a).find("input[type=text], input[type=password], input[type=email], textarea").val("");_ulp_inline_hide_confirmation(a);0<m.length&&("#refresh"==m?location.reload(!0):location.href=m);0<p.length&&ulp_open(p)},f)}else if("ERROR"==
e){if(ulp_custom_handlers.hasOwnProperty(a)&&ulp_custom_handlers[a].hasOwnProperty("after_submit_fail")&&"function"==typeof ulp_custom_handlers[a].after_submit_fail){ulp_custom_handlers[a].errors={name:"validation",message:"Invalid field value",fields:[]};for(var n in c)c.hasOwnProperty(n)&&"status"!=n&&ulp_custom_handlers[a].errors.fields.push(n.replace("ulp-",""));try{ulp_custom_handlers[a].after_submit_fail()}catch(q){}}jQuery("#"+a).find(".ulp-input-field, .ulp-recaptcha, .ulp-checkbox").each(function(){var a=
jQuery(this).attr("name");a&&"ERROR"==c[a]&&jQuery(this).addClass("ulp-input-error")})}else{if(ulp_custom_handlers.hasOwnProperty(a)&&ulp_custom_handlers[a].hasOwnProperty("after_submit_fail")&&"function"==typeof ulp_custom_handlers[a].after_submit_fail){ulp_custom_handlers[a].errors={name:"fatal",message:"Fatal error"};try{ulp_custom_handlers[a].after_submit_fail()}catch(q){}}jQuery("#"+a).find(".ulp-submit").html(h+"Error!")}}catch(q){if(ulp_custom_handlers.hasOwnProperty(a)&&ulp_custom_handlers[a].hasOwnProperty("after_submit_fail")&&
"function"==typeof ulp_custom_handlers[a].after_submit_fail){ulp_custom_handlers[a].errors={name:"unknown",message:"Unknown error"};try{ulp_custom_handlers[a].after_submit_fail()}catch(t){}}jQuery("#"+a).find(".ulp-submit").html(h+"Error!")}}});return!1}
function ulp_open(a){if(ulp_active_window_id!=a){ulp_active_window_id&&ulp_self_close();var b=a;ulp_active_campaign="";if("ab-"==a.substr(0,3))if(ulp_campaigns[a])b=ulp_campaigns[a][Math.floor(Math.random()*ulp_campaigns[a].length)],ulp_active_campaign=a;else return;if(jQuery("#ulp-"+b).length)return"on"==ulp_count_impressions&&jQuery.ajax({url:ulp_ajax_url,data:{"ulp-campaign":ulp_active_campaign,"ulp-popup":b,action:"ulp_addimpression"},type:"POST",async:!0}),ulp_track(b,"layered-popup","show",
""),_ulp_open(b,!0,!1);if("on"==ulp_no_preload&&ulp_overlays[b]&&!ulp_no_preload_loading&&!ulp_active_window_id){ulp_no_preload_loading=!0;""!=ulp_overlays[b][0]&&(a="<div class='ulp-overlay' id='ulp-"+b+"-overlay' style='background: "+ulp_hex2rgba(ulp_overlays[b][0],ulp_overlays[b][1])+";'></div>",jQuery("body").append(a),"on"!=ulp_css3_enable?jQuery("#ulp-"+b+"-overlay").fadeIn(300):0<=ulp_css3_animations_in.indexOf(ulp_overlays[b][4])?(jQuery("#ulp-"+b+"-overlay").show(),jQuery("#ulp-"+b+"-overlay").attr("class",
"ulp-overlay ulp-animated ulp-"+ulp_overlays[b][4])):jQuery("#ulp-"+b+"-overlay").fadeIn(300));a='<div class="ulp-spinner ulp-spinner-classic"></div>';switch(ulp_overlays[b][5]){case "chasing-dots":a="<style>#ulp-spinner-"+b+" .ulp-spinner-child {background-color: "+ulp_overlays[b][6]+' !important;}</style><div class="ulp-spinner ulp-spinner-chasing-dots"><div class="ulp-spinner-child ulp-spinner-dot1"></div><div class="ulp-spinner-child ulp-spinner-dot2"></div></div>';break;case "circle":a="<style>#ulp-spinner-"+
b+" .ulp-spinner-child:before {background-color: "+ulp_overlays[b][6]+' !important;}</style><div class="ulp-spinner ulp-spinner-circle"><div class="ulp-spinner-circle1 ulp-spinner-child"></div><div class="ulp-spinner-circle2 ulp-spinner-child"></div><div class="ulp-spinner-circle3 ulp-spinner-child"></div><div class="ulp-spinner-circle4 ulp-spinner-child"></div><div class="ulp-spinner-circle5 ulp-spinner-child"></div><div class="ulp-spinner-circle6 ulp-spinner-child"></div><div class="ulp-spinner-circle7 ulp-spinner-child"></div><div class="ulp-spinner-circle8 ulp-spinner-child"></div><div class="ulp-spinner-circle9 ulp-spinner-child"></div><div class="ulp-spinner-circle10 ulp-spinner-child"></div><div class="ulp-spinner-circle11 ulp-spinner-child"></div><div class="ulp-spinner-circle12 ulp-spinner-child"></div></div>';
break;case "double-bounce":a="<style>#ulp-spinner-"+b+" .ulp-spinner-child {background-color: "+ulp_overlays[b][6]+' !important;}</style><div class="ulp-spinner ulp-spinner-double-bounce"><div class="ulp-spinner-child ulp-spinner-double-bounce1"></div><div class="ulp-spinner-child ulp-spinner-double-bounce2"></div></div>';break;case "fading-circle":a="<style>#ulp-spinner-"+b+" .ulp-spinner-child:before {background-color: "+ulp_overlays[b][6]+' !important;}</style><div class="ulp-spinner ulp-spinner-fading-circle"><div class="ulp-spinner-circle1 ulp-spinner-child"></div><div class="ulp-spinner-circle2 ulp-spinner-child"></div><div class="ulp-spinner-circle3 ulp-spinner-child"></div><div class="ulp-spinner-circle4 ulp-spinner-child"></div><div class="ulp-spinner-circle5 ulp-spinner-child"></div><div class="ulp-spinner-circle6 ulp-spinner-child"></div><div class="ulp-spinner-circle7 ulp-spinner-child"></div><div class="ulp-spinner-circle8 ulp-spinner-child"></div><div class="ulp-spinner-circle9 ulp-spinner-child"></div><div class="ulp-spinner-circle10 ulp-spinner-child"></div><div class="ulp-spinner-circle11 ulp-spinner-child"></div><div class="ulp-spinner-circle12 ulp-spinner-child"></div></div>';
break;case "folding-cube":a="<style>#ulp-spinner-"+b+" .ulp-spinner-child:before {background-color: "+ulp_overlays[b][6]+' !important;}</style><div class="ulp-spinner ulp-spinner-folding-cube"><div class="ulp-spinner-cube1 ulp-spinner-child"></div><div class="ulp-spinner-cube2 ulp-spinner-child"></div><div class="ulp-spinner-cube4 ulp-spinner-child"></div><div class="ulp-spinner-cube3 ulp-spinner-child"></div></div>';break;case "pulse":a="<style>#ulp-spinner-"+b+" .ulp-spinner-spinner-pulse {background-color: "+
ulp_overlays[b][6]+' !important;}</style><div class="ulp-spinner ulp-spinner-spinner-pulse"></div>';break;case "rotating-plane":a="<style>#ulp-spinner-"+b+" .ulp-spinner-rotating-plane {background-color: "+ulp_overlays[b][6]+' !important;}</style><div class="ulp-spinner ulp-spinner-rotating-plane"></div>';break;case "three-bounce":a="<style>#ulp-spinner-"+b+" .ulp-spinner-child {background-color: "+ulp_overlays[b][6]+' !important;}</style><div class="ulp-spinner ulp-spinner-three-bounce"><div class="ulp-spinner-child ulp-spinner-bounce1"></div><div class="ulp-spinner-child ulp-spinner-bounce2"></div><div class="ulp-spinner-child ulp-spinner-bounce3"></div></div>';
break;case "wandering-cubes":a="<style>#ulp-spinner-"+b+" .ulp-spinner-child {background-color: "+ulp_overlays[b][6]+' !important;}</style><div class="ulp-spinner ulp-spinner-wandering-cubes"><div class="ulp-spinner-child ulp-spinner-cube1"></div><div class="ulp-spinner-child ulp-spinner-cube2"></div></div>';break;case "wave":a="<style>#ulp-spinner-"+b+" .ulp-spinner-child {background-color: "+ulp_overlays[b][6]+' !important;}</style><div class="ulp-spinner ulp-spinner-wave"><div class="ulp-spinner-child ulp-spinner-rect1"></div><div class="ulp-spinner-child ulp-spinner-rect2"></div><div class="ulp-spinner-child ulp-spinner-rect3"></div><div class="ulp-spinner-child ulp-spinner-rect4"></div><div class="ulp-spinner-child ulp-spinner-rect5"></div></div>'}a=
"<div id='ulp-spinner-"+b+"' class='ulp-loader ulp-loader-"+ulp_overlays[b][3]+"'><div class='ulp-loader-container'>"+a+"</div></div>";jQuery("body").append(a);"on"==ulp_overlays[b][2]&&jQuery("#ulp-"+b+"-overlay").bind("click",function(a){ulp_no_preload_loading=!1;jQuery(".ulp-loader").hide();jQuery(".ulp-loader").remove();jQuery("#ulp-"+b).length?(jQuery("#ulp-"+b+"-overlay").unbind("click"),ulp_close(b)):(jQuery("#ulp-"+b+"-overlay").unbind("click"),"on"!=ulp_css3_enable?jQuery("#ulp-"+b+"-overlay").fadeOut(300):
0<=ulp_css3_animations_in.indexOf(ulp_overlays[b][4])?(a=ulp_css3_animations_out[ulp_css3_animations_in.indexOf(ulp_overlays[b][4])],jQuery("#ulp-"+b+"-overlay").attr("class","ulp-overlay ulp-animated ulp-"+a),setTimeout(function(){jQuery("#ulp-"+b+"-overlay").hide()},1E3)):jQuery("#ulp-"+b+"-overlay").hide())});jQuery.ajax({url:ulp_ajax_url,type:"POST",async:!0,data:{"ulp-campaign":ulp_active_campaign,"ulp-popup":b,action:"ulp_loadpopup"},success:function(a){jQuery(".ulp-loader").hide();jQuery(".ulp-loader").remove();
try{var c="object"==typeof a?a:jQuery.parseJSON(a);if("OK"==c.status){if(!ulp_no_preload_loading)return!1;jQuery("body").append(c.html);"undefined"!=typeof FB&&"undefined"!=FB.XFBML&&FB.XFBML.parse();"undefined"!=typeof twttr&&"undefined"!=typeof twttr.widgets&&twttr.widgets.load();"undefined"!=typeof gapi&&"undefined"!=typeof gapi.plusone&&gapi.plusone.go();"undefined"!=typeof IN&&"undefined"!=typeof IN.parse&&IN.parse();"on"==ulp_count_impressions&&jQuery.ajax({url:ulp_ajax_url,data:{"ulp-campaign":ulp_active_campaign,
"ulp-popup":b,action:"ulp_addimpression"},type:"POST",async:!0});ulp_track(b,"layered-popup","show","");_ulp_open(b,!0,!0);ulp_no_preload_loading=!1}return!1}catch(f){return!1}}})}return!1}}
function _ulp_open(a,b,d){jQuery("#ulp-"+a).each(function(){"function"==typeof ulpext_open_before&&ulpext_open_before(a);ulp_active_window_id=a;b&&!d&&("on"!=ulp_css3_enable?jQuery("#ulp-"+a+"-overlay").fadeIn(300):0<=ulp_css3_animations_in.indexOf(ulp_overlays[a][4])?(jQuery("#ulp-"+a+"-overlay").show(),jQuery("#ulp-"+a+"-overlay").attr("class","ulp-overlay ulp-animated ulp-"+ulp_overlays[a][4])):jQuery("#ulp-"+a+"-overlay").fadeIn(300),"on"==jQuery(this).attr("data-close")&&jQuery("#ulp-"+a+"-overlay").bind("click",
function(b){ulp_close(a)}));var c=Math.max(240,jQuery(window).width()),f=Math.max(120,jQuery(window).height()),e=parseInt(jQuery(this).attr("data-width"),10),h=parseInt(jQuery(this).attr("data-height"),10),g=Math.min((c-20)/e,f/h);1<g&&(g=1);var k="-50%",m="";ulp_mobile&&(g=Math.min((c-20)/e,1),h*g>f?(jQuery(this).parent().addClass("ulp-window-fh-container"),k="-"+h*(1-g)/2+"px",m="-"):jQuery(this).parent().removeClass("ulp-window-fh-container"));var l="";switch(jQuery(this).attr("data-position")){case "top-left":l=
"translate(-"+e*(1-g)/2+"px,-"+h*(1-g)/2+"px) ";break;case "top-right":l="translate("+e*(1-g)/2+"px,-"+h*(1-g)/2+"px) ";break;case "bottom-left":l="translate(-"+e*(1-g)/2+"px,"+m+h*(1-g)/2+"px) ";break;case "bottom-right":l="translate("+e*(1-g)/2+"px,"+m+h*(1-g)/2+"px) ";break;case "top-center":l="translate(-50%,-"+h*(1-g)/2+"px) ";break;case "bottom-center":l="translate(-50%,"+m+h*(1-g)/2+"px) ";break;case "middle-left":l="translate(-"+e*(1-g)/2+"px,"+k+") ";break;case "middle-right":l="translate("+
e*(1-g)/2+"px,"+k+") ";break;default:l="translate(-50%,"+k+") "}jQuery(this).css({transform:l+"scale("+g+")","-ms-transform":l+"scale("+g+")","-webkit-transform":l+"scale("+g+")"});e=jQuery(this).find(".ulp-content");jQuery(e).find(".ulp-layer").each(function(){var a=this,d=jQuery(a).attr("data-confirmation");if("on"==d&&b)jQuery(a).hide();else if("off"!=d||b){jQuery(a).show();"on"==ulp_recaptcha_enable&&jQuery(a).find(".ulp-recaptcha").each(function(){var a=jQuery(this).attr("data-widget");if("undefined"==
typeof a){a=jQuery(this).attr("data-theme");var b=jQuery(this).attr("id");b&&("undefined"!=typeof grecaptcha?(a=grecaptcha.render(b,{sitekey:ulp_recaptcha_public_key,theme:a}),jQuery(this).attr("data-widget",a)):ulp_recaptcha_queue.push(b))}});jQuery(a).attr("data-base64")&&jQuery(a).html(ulp_decode64(jQuery(a).html()));var e=jQuery(a).attr("data-left"),k=jQuery(a).attr("data-top");d=jQuery(a).attr("data-appearance");var h=parseInt(jQuery(a).attr("data-appearance-delay"),10),g=parseInt(jQuery(a).attr("data-appearance-speed"),
10),m=jQuery(a).attr("data-scrollbar");m&&"on"==m&&(jQuery(a).css("overflow","hidden"),jQuery(a).scrollTop(0),jQuery.fn.perfectScrollbar&&(jQuery(a).perfectScrollbar("destroy"),jQuery(a).perfectScrollbar({suppressScrollX:!0})));"on"!=ulp_css3_enable&&0<=ulp_css3_animations_in.indexOf(d)&&(d="fade-in");switch(d){case "slide-down":jQuery(a).css({left:parseInt(e,10)+"px",top:"-"+parseInt(2*f)+"px"});setTimeout(function(){jQuery(a).animate({top:parseInt(k,10)+"px"},g)},h);break;case "slide-up":jQuery(a).css({left:parseInt(e,
10)+"px",top:parseInt(2*f)+"px"});setTimeout(function(){jQuery(a).animate({top:parseInt(k,10)+"px"},g)},h);break;case "slide-left":jQuery(a).css({left:parseInt(2*c)+"px",top:parseInt(k,10)+"px"});setTimeout(function(){jQuery(a).animate({left:parseInt(e,10)+"px"},g)},h);break;case "slide-right":jQuery(a).css({left:"-"+parseInt(2*c)+"px",top:parseInt(k,10)+"px"});setTimeout(function(){jQuery(a).animate({left:parseInt(e,10)+"px"},g)},h);break;case "fade-in":jQuery(a).css({left:parseInt(e,10)+"px",top:parseInt(k,
10)+"px",display:"none"});setTimeout(function(){jQuery(a).fadeIn(g)},h);break;default:0<=ulp_css3_animations_in.indexOf(d)&&(jQuery(a).css({"animation-duration":parseInt(g,10)+"ms","-webkit-animation-duration":parseInt(g,10)+"ms","-ms-animation-duration":parseInt(g,10)+"ms","-moz-animation-duration":parseInt(g,10)+"ms","animation-delay":parseInt(h,10)+"ms","-webkit-animation-delay":parseInt(h,10)+"ms","-ms-animation-delay":parseInt(h,10)+"ms","-moz-animation-delay":parseInt(h,10)+"ms"}),jQuery(a).attr("class",
"ulp-layer ulp-animated ulp-"+d)),jQuery(a).css({left:parseInt(e,10)+"px",top:parseInt(k,10)+"px"})}}});jQuery.fn.mask&&jQuery(this).find(".ulp-input-mask").each(function(){var a=jQuery(this).attr("data-mask");a&&jQuery(this).mask(a);jQuery(this).removeClass("ulp-input-mask")});jQuery(this).show();if(b&&ulp_custom_handlers.hasOwnProperty("ulp-"+a)&&(ulp_custom_handlers["ulp-"+a].form={},ulp_custom_handlers["ulp-"+a].errors={},ulp_custom_handlers["ulp-"+a].hasOwnProperty("after_open")&&"function"==
typeof ulp_custom_handlers["ulp-"+a].after_open))try{ulp_custom_handlers["ulp-"+a].after_open()}catch(r){}b&&jQuery.fn.datetimepicker&&ulp_datetimepicker_init("ulp-"+a)});return!1}
function ulp_close(a){clearTimeout(ulp_timeout);jQuery("#ulp-"+a).each(function(){ulp_active_campaign=ulp_active_window_id=ulp_subscribing=!1;ulp_forced_location="";var b=jQuery(this).find(".ulp-content"),d=Math.max(240,jQuery(window).width()),c=Math.max(120,jQuery(window).height());jQuery("#ulp-"+a+"-overlay").unbind("click");jQuery(b).find(".ulp-layer").each(function(){var a=this,b=jQuery(a).attr("data-appearance");"on"!=ulp_css3_enable&&0<=ulp_css3_animations_in.indexOf(b)&&(b="fade-in");switch(b){case "slide-down":jQuery(a).animate({top:"-"+
parseInt(2*c)+"px"},500);break;case "slide-up":jQuery(a).animate({top:parseInt(2*c)+"px"},500);break;case "slide-left":jQuery(a).animate({left:parseInt(2*d)+"px"},500);break;case "slide-right":jQuery(a).animate({left:"-"+parseInt(2*d)+"px"},500);break;case "fade-in":jQuery(a).fadeOut(500);break;default:0<=ulp_css3_animations_in.indexOf(b)?(b=ulp_css3_animations_out[ulp_css3_animations_in.indexOf(b)],jQuery(a).css({"animation-duration":"500ms","-webkit-animation-duration":"500ms","-ms-animation-duration":"500ms",
"-moz-animation-duration":"500ms","animation-delay":"0s","-webkit-animation-delay":"0s","-ms-animation-delay":"0s","-moz-animation-delay":"0s"}),jQuery(a).attr("class","ulp-layer ulp-animated ulp-"+b)):jQuery(a).css({display:"none"})}setTimeout(function(){jQuery(a).attr("data-base64")&&jQuery(a).html(ulp_encode64(jQuery(a).html()))},500)});setTimeout(function(){jQuery("#ulp-"+a).hide();jQuery("#ulp-"+a).parent().removeClass("ulp-window-fh-container");ulp_clear_form(a);if("on"!=ulp_css3_enable)jQuery("#ulp-"+
a+"-overlay").fadeOut(300);else if(0<=ulp_css3_animations_in.indexOf(ulp_overlays[a][4])){var b=ulp_css3_animations_out[ulp_css3_animations_in.indexOf(ulp_overlays[a][4])];jQuery("#ulp-"+a+"-overlay").attr("class","ulp-overlay ulp-animated ulp-"+b);setTimeout(function(){jQuery("#ulp-"+a+"-overlay").hide()},1E3)}else jQuery("#ulp-"+a+"-overlay").hide();"function"==typeof ulpext_close_after&&ulpext_close_after(a);if(ulp_custom_handlers.hasOwnProperty("ulp-"+a)&&ulp_custom_handlers["ulp-"+a].hasOwnProperty("after_close")&&
"function"==typeof ulp_custom_handlers["ulp-"+a].after_close)try{ulp_custom_handlers["ulp-"+a].after_close()}catch(e){}},500)});return!1}function ulp_self_close(){ulp_close(ulp_active_window_id);return!1}function ulp_reset_recaptcha(a){"on"==ulp_recaptcha_enable&&"undefined"!=typeof grecaptcha&&jQuery("#"+a).find(".ulp-recaptcha").each(function(){var a=jQuery(this).attr("data-widget");"undefined"!=typeof a&&(jQuery(this).attr("id"),grecaptcha.reset(a))})}
function ulp_subscribe(a,b){jQuery(".ulp-input-error").removeClass("ulp-input-error");"undefined"===typeof b&&(b="ulp_subscribe");if("undefined"!==typeof a){var d=jQuery(a).parents(".ulp-inline-window").attr("id");if(d)return _ulp_inline_subscribe(d,b),!1}var c={"ulp-popup":ulp_active_window_id,"ulp-campaign":ulp_active_campaign,action:b},f={};jQuery("#ulp-"+ulp_active_window_id).find(".ulp-input-field").each(function(){var a=jQuery(this).attr("name");a&&(a=a.replace("ulp-",""),jQuery(this).is(":checked")?
f[a]="on":f[a]=jQuery(this).val())});if(ulp_custom_handlers.hasOwnProperty("ulp-"+ulp_active_window_id)&&(ulp_custom_handlers["ulp-"+ulp_active_window_id].form=f,ulp_custom_handlers["ulp-"+ulp_active_window_id].errors={},ulp_custom_handlers["ulp-"+ulp_active_window_id].hasOwnProperty("before_submit")&&"function"==typeof ulp_custom_handlers["ulp-"+ulp_active_window_id].before_submit))try{if(!1===ulp_custom_handlers["ulp-"+ulp_active_window_id].before_submit())return!1}catch(k){}if(ulp_subscribing)return!1;
ulp_subscribing=!0;jQuery("#ulp-"+ulp_active_window_id).find(".ulp-input-field").each(function(){var a=jQuery(this).attr("name");if(a){var b=a.replace("ulp-","");jQuery(this).is(":checked")?(c[a]="on",f[b]="on"):(c[a]=jQuery(this).val(),f[b]=jQuery(this).val())}});"on"==ulp_recaptcha_enable&&"undefined"!=typeof grecaptcha&&jQuery("#ulp-"+ulp_active_window_id).find(".ulp-recaptcha").each(function(){var a=jQuery(this).attr("data-widget");if("undefined"!=typeof a){var b=jQuery(this).attr("id");c[b]=
grecaptcha.getResponse(a)}});d="";var e=jQuery("#ulp-"+ulp_active_window_id).find(".ulp-submit").attr("data-fa");e&&""!=e&&"fa-noicon"!=e?(e="<i class='fa "+e+"'></i>",d="<i class='fa fa-spinner fa-spin'></i>"):e="";var h=jQuery("#ulp-"+ulp_active_window_id).find(".ulp-submit").attr("data-label"),g=jQuery("#ulp-"+ulp_active_window_id).find(".ulp-submit").attr("data-loading");e&&h&&(e+="&nbsp; ");d&&g&&(d+="&nbsp; ");jQuery("#ulp-"+ulp_active_window_id).find(".ulp-submit").html(d+g);jQuery.ajax({url:ulp_ajax_url,
data:c,type:"POST",async:!0,success:function(a){jQuery("#ulp-"+ulp_active_window_id).find(".ulp-submit").html(e+h);ulp_reset_recaptcha("ulp-"+ulp_active_window_id);try{var b="object"==typeof a?a:jQuery.parseJSON(a);var d=b.status;if("OK"==d){a=180;"undefined"!=typeof b.cookie_lifetime&&(a=parseInt(b.cookie_lifetime,10));if(0<a){if(ulp_active_window_id==ulp_onload_popup||ulp_active_campaign==ulp_onload_popup&&""!=ulp_onload_popup||"on"==ulp_onexit_limits&&""!=ulp_onload_popup)ulp_write_cookie("ulp-onload-"+
ulp_onload_popup,ulp_cookie_value,a),ulp_onload_displayed=!0;if(ulp_active_window_id==ulp_onexit_popup||ulp_active_campaign==ulp_onexit_popup&&""!=ulp_onexit_popup||"on"==ulp_onexit_limits&&""!=ulp_onexit_popup)ulp_write_cookie("ulp-onexit-"+ulp_onexit_popup,ulp_cookie_value,a),ulp_onexit_displayed=!0;if(ulp_active_window_id==ulp_onscroll_popup||ulp_active_campaign==ulp_onscroll_popup&&""!=ulp_onscroll_popup||"on"==ulp_onexit_limits&&""!=ulp_onscroll_popup)ulp_write_cookie("ulp-onscroll-"+ulp_onscroll_popup,
ulp_cookie_value,a),ulp_onscroll_displayed=!0;if(ulp_active_window_id==ulp_onidle_popup||ulp_active_campaign==ulp_onidle_popup&&""!=ulp_onidle_popup||"on"==ulp_onexit_limits&&""!=ulp_onidle_popup)ulp_write_cookie("ulp-onidle-"+ulp_onidle_popup,ulp_cookie_value,a),ulp_onidle_displayed=!0;if(ulp_active_window_id==ulp_onabd_popup||ulp_active_campaign==ulp_onabd_popup&&""!=ulp_onabd_popup||"on"==ulp_onexit_limits&&""!=ulp_onabd_popup)ulp_write_cookie("ulp-onabd-"+ulp_onabd_popup,ulp_cookie_value,a),ulp_onabd_displayed=
!0;"function"==typeof ulp_subscribed&&ulp_subscribed(ulp_active_window_id,b);ulp_write_cookie("ulp-inline-"+ulp_active_window_id,ulp_cookie_value,a);ulp_write_cookie("ulp-"+ulp_active_window_id,ulp_cookie_value,a)}if(ulp_custom_handlers.hasOwnProperty("ulp-"+ulp_active_window_id)&&(ulp_custom_handlers["ulp-"+ulp_active_window_id].errors={},ulp_custom_handlers["ulp-"+ulp_active_window_id].hasOwnProperty("after_submit_success")&&"function"==typeof ulp_custom_handlers["ulp-"+ulp_active_window_id].after_submit_success))try{ulp_custom_handlers["ulp-"+
ulp_active_window_id].after_submit_success()}catch(n){}if("undefined"!=typeof b.forms){var c=b.forms,f;for(f in c)c.hasOwnProperty(f)&&(jQuery("body").append(c[f]),jQuery("#submit-"+f).click())}ulp_track(ulp_active_window_id,"layered-popup","subscribe",jQuery("#ulp-"+ulp_active_window_id).find('[name="ulp-email"]').val());_ulp_open(ulp_active_window_id,!1,!1);c=0;b.close_delay&&(c=b.close_delay);ulp_unlock_links(ulp_active_window_id);var g=b.return_url;0<ulp_forced_location.length&&(g=ulp_forced_location);
var k=b.thanksgiving_popup;setTimeout(function(){0<g.length?(ulp_self_close(),ulp_subscribing=!1,"#refresh"==g?location.reload(!0):location.href=g):0<k.length?(ulp_subscribing=!1,ulp_open(k)):(ulp_self_close(),ulp_subscribing=!1)},c)}else if("ERROR"==d){ulp_subscribing=!1;if(ulp_custom_handlers.hasOwnProperty("ulp-"+ulp_active_window_id)&&ulp_custom_handlers["ulp-"+ulp_active_window_id].hasOwnProperty("after_submit_fail")&&"function"==typeof ulp_custom_handlers["ulp-"+ulp_active_window_id].after_submit_fail){ulp_custom_handlers["ulp-"+
ulp_active_window_id].errors={name:"validation",message:"Invalid field value",fields:[]};for(var p in b)b.hasOwnProperty(p)&&"status"!=p&&ulp_custom_handlers["ulp-"+ulp_active_window_id].errors.fields.push(p.replace("ulp-",""));try{ulp_custom_handlers["ulp-"+ulp_active_window_id].after_submit_fail()}catch(n){}}jQuery("#ulp-"+ulp_active_window_id).find(".ulp-input-field, .ulp-recaptcha, .ulp-checkbox").each(function(){var a=jQuery(this).attr("name");a&&"ERROR"==b[a]&&jQuery(this).addClass("ulp-input-error")})}else{ulp_subscribing=
!1;if(ulp_custom_handlers.hasOwnProperty("ulp-"+ulp_active_window_id)&&ulp_custom_handlers["ulp-"+ulp_active_window_id].hasOwnProperty("after_submit_fail")&&"function"==typeof ulp_custom_handlers["ulp-"+ulp_active_window_id].after_submit_fail){ulp_custom_handlers["ulp-"+ulp_active_window_id].errors={name:"fatal",message:"Fatal error"};try{ulp_custom_handlers["ulp-"+ulp_active_window_id].after_submit_fail()}catch(n){}}jQuery("#ulp-"+ulp_active_window_id).find(".ulp-submit").html(e+"Error!")}}catch(n){ulp_subscribing=
!1;if(ulp_custom_handlers.hasOwnProperty("ulp-"+ulp_active_window_id)&&ulp_custom_handlers["ulp-"+ulp_active_window_id].hasOwnProperty("after_submit_fail")&&"function"==typeof ulp_custom_handlers["ulp-"+ulp_active_window_id].after_submit_fail){ulp_custom_handlers["ulp-"+ulp_active_window_id].errors={name:"unknown",message:"Unknown error"};try{ulp_custom_handlers["ulp-"+ulp_active_window_id].after_submit_fail()}catch(q){}}jQuery("#ulp-"+ulp_active_window_id).find(".ulp-submit").html(e+"Error!")}}});
return!1}
function ulp_onload_open(a){ulp_active_window_id||ulp_no_preload_loading||ulp_onload_displayed||("once-session"==ulp_onload_mode?ulp_write_cookie("ulp-onload-"+ulp_onload_popup,ulp_cookie_value,0):"once-only"==ulp_onload_mode?ulp_write_cookie("ulp-onload-"+ulp_onload_popup,ulp_cookie_value,180):"once-period"==ulp_onload_mode&&ulp_write_cookie("ulp-onload-"+ulp_onload_popup,ulp_cookie_value,ulp_onload_period),ulp_open(a),ulp_onload_displayed=!0,0!=ulp_onload_close_delay&&(ulp_timeout=setTimeout(function(){ulp_self_close()},1E3*
parseInt(ulp_onload_close_delay,10))))}
function _ulp_init(){ulp_prepare_ids();var a=ulp_read_cookie("ulp-onabd-"+ulp_onabd_popup);""==ulp_onabd_popup||"none"==ulp_onabd_mode||a==ulp_cookie_value||ulp_active_window_id||ulp_no_preload_loading||ulp_onabd_displayed||"undefined"!=typeof ulp_noadb||("once-session"==ulp_onabd_mode?ulp_write_cookie("ulp-onabd-"+ulp_onabd_popup,ulp_cookie_value,0):"once-only"==ulp_onabd_mode?ulp_write_cookie("ulp-onabd-"+ulp_onabd_popup,ulp_cookie_value,180):"once-period"==ulp_onabd_mode&&ulp_write_cookie("ulp-onabd-"+
ulp_onabd_popup,ulp_cookie_value,ulp_onabd_period),ulp_open(ulp_onabd_popup),ulp_onabd_displayed=!0);a=ulp_read_cookie("ulp-onload-"+ulp_onload_popup);""!=ulp_onload_popup&&"none"!=ulp_onload_mode&&a!=ulp_cookie_value&&(0>=parseInt(ulp_onload_delay,10)?ulp_onload_open(ulp_onload_popup):setTimeout(function(){ulp_onload_open(ulp_onload_popup)},1E3*parseInt(ulp_onload_delay,10)));a=ulp_read_cookie("ulp-onexit-"+ulp_onexit_popup);""!=ulp_onexit_popup&&"none"!=ulp_onexit_mode&&a!=ulp_cookie_value&&jQuery(document).bind("mouseleave",
function(a){a=parseInt(a.pageY-jQuery(window).scrollTop(),10);!ulp_active_window_id&&!ulp_no_preload_loading&&!ulp_onexit_displayed&&20>a&&("once-session"==ulp_onexit_mode?ulp_write_cookie("ulp-onexit-"+ulp_onexit_popup,ulp_cookie_value,0):"once-only"==ulp_onexit_mode?ulp_write_cookie("ulp-onexit-"+ulp_onexit_popup,ulp_cookie_value,180):"once-period"==ulp_onexit_mode&&ulp_write_cookie("ulp-onexit-"+ulp_onexit_popup,ulp_cookie_value,ulp_onexit_period),ulp_open(ulp_onexit_popup),ulp_onexit_displayed=
!0)});a=ulp_read_cookie("ulp-onscroll-"+ulp_onscroll_popup);""!=ulp_onscroll_popup&&"none"!=ulp_onscroll_mode&&a!=ulp_cookie_value&&jQuery(window).scroll(function(a){if(!ulp_active_window_id&&!ulp_no_preload_loading&&!ulp_onscroll_displayed){a=jQuery(window).scrollTop();var b=parseInt(ulp_onscroll_offset,10);0<ulp_onscroll_offset.indexOf("%")&&(100<b&&(b=100),b=parseInt((jQuery(document).height()-jQuery(window).height())*b/100,10));a>b&&("once-session"==ulp_onscroll_mode?ulp_write_cookie("ulp-onscroll-"+
ulp_onscroll_popup,ulp_cookie_value,0):"once-only"==ulp_onscroll_mode?ulp_write_cookie("ulp-onscroll-"+ulp_onscroll_popup,ulp_cookie_value,180):"once-period"==ulp_onscroll_mode&&ulp_write_cookie("ulp-onscroll-"+ulp_onscroll_popup,ulp_cookie_value,ulp_onscroll_period),ulp_open(ulp_onscroll_popup),ulp_onscroll_displayed=!0)}});a=ulp_read_cookie("ulp-onidle-"+ulp_onidle_popup);""!=ulp_onidle_popup&&"none"!=ulp_onidle_mode&&a!=ulp_cookie_value&&(jQuery(window).mousemove(function(a){ulp_onidle_counter=
0}),jQuery(window).click(function(a){ulp_onidle_counter=0}),jQuery(window).keypress(function(a){ulp_onidle_counter=0}),jQuery(window).scroll(function(a){ulp_onidle_counter=0}),ulp_onidle_timer=setTimeout("ulp_onidle_counter_handler();",1E3))}
function ulp_init(){var a=window.location.hash,b=a.indexOf("#ulp-");0>b&&(b=a.indexOf("#ulpx-"));if(0<=b&&(b=a.indexOf("#ulp-"),0<=b?a=a.substr(b+5):(b=a.indexOf("#ulpx-"),a=a.substr(b+6)),0<a.length)){var d=!1;b=a.indexOf(":");if(0<b){var c=a.substr(b+1);a=a.substr(0,b);a=ulp_popup_id(a);0<c.length&&(b=ulp_read_cookie("ulp-"+a),c=ulp_decode64(c),b==ulp_cookie_value?(location.href=c,d=!0):ulp_forced_location=c)}d||(ulp_open(a),ulp_onload_displayed=!0)}ulp_inline_open(!1);"on"==ulp_async_init?(a={action:"ulp-init",
"post-id":ulp_content_id,referrer:document.referrer},"undefined"!=typeof ulp_icl_language&&(a["ulp-wpml-language"]=ulp_icl_language),jQuery.ajax({url:ulp_ajax_url,data:a,type:"POST",async:!0,success:function(a){try{var b="object"==typeof a?a:jQuery.parseJSON(a);"OK"==b.status&&(ulp_onload_popup=b.event_data.onload_popup,ulp_onload_mode=b.event_data.onload_mode,ulp_onload_period=b.event_data.onload_period,ulp_onscroll_popup=b.event_data.onscroll_popup,ulp_onscroll_mode=b.event_data.onscroll_mode,ulp_onscroll_period=
b.event_data.onscroll_period,ulp_onexit_popup=b.event_data.onexit_popup,ulp_onexit_mode=b.event_data.onexit_mode,ulp_onexit_period=b.event_data.onexit_period,ulp_onidle_popup=b.event_data.onidle_popup,ulp_onidle_mode=b.event_data.onidle_mode,ulp_onidle_period=b.event_data.onidle_period,ulp_onabd_popup=b.event_data.onabd_popup,ulp_onabd_mode=b.event_data.onabd_mode,ulp_onabd_period=b.event_data.onabd_period,ulp_onload_delay=b.event_data.onload_delay,ulp_onload_close_delay=b.event_data.onload_close_delay,
ulp_onscroll_offset=b.event_data.onscroll_offset,ulp_onidle_delay=b.event_data.onidle_delay,b.footer&&jQuery("body").append(b.footer),_ulp_init())}catch(h){console.log(h)}}})):_ulp_init()}
function ulp_onidle_counter_handler(){ulp_onidle_counter>=ulp_onidle_delay?(ulp_active_window_id||ulp_no_preload_loading||ulp_onidle_displayed||("once-session"==ulp_onidle_mode?(ulp_write_cookie("ulp-onidle-"+ulp_onidle_popup,ulp_cookie_value,0),ulp_onidle_displayed=!0):"once-only"==ulp_onidle_mode?(ulp_write_cookie("ulp-onidle-"+ulp_onidle_popup,ulp_cookie_value,180),ulp_onidle_displayed=!0):"once-period"==ulp_onidle_mode&&(ulp_write_cookie("ulp-onidle-"+ulp_onidle_popup,ulp_cookie_value,ulp_onidle_period),
ulp_onidle_displayed=!0),ulp_open(ulp_onidle_popup)),ulp_onidle_counter=0):ulp_onidle_counter+=1;ulp_onidle_timer=setTimeout("ulp_onidle_counter_handler();",1E3)}function ulp_read_cookie(a){for(var b=document.cookie.split("; "),d=0,c;c=b[d]&&b[d].split("=");d++)if(c[0]===a)return c[1]||"";return null}function ulp_write_cookie(a,b,d){if(d){var c=new Date;c.setTime(c.getTime()+864E5*d);d="; expires="+c.toGMTString()}else d="";document.cookie=a+"="+b+d+"; path=/"}
jQuery(window).resize(function(){var a={width:Math.max(240,jQuery(window).width()),height:Math.max(120,jQuery(window).height())};ulp_viewport||(ulp_viewport=a);if(a.width!=ulp_viewport.width||a.height!=ulp_viewport.height){ulp_viewport=a;ulp_inline_open(!0);if(ulp_active_window_id){a={width:Math.max(240,jQuery(window).width()),height:Math.max(120,jQuery(window).height())};var b=parseInt(jQuery("#ulp-"+ulp_active_window_id).attr("data-width"),10),d=parseInt(jQuery("#ulp-"+ulp_active_window_id).attr("data-height"),
10),c=Math.min((a.width-20)/b,a.height/d);1<c&&(c=1);var f="-50%",e="";ulp_mobile&&(c=Math.min((a.width-20)/b,1),d*c>a.height?(jQuery("#ulp-"+ulp_active_window_id).parent().addClass("ulp-window-fh-container"),f="-"+d*(1-c)/2+"px",e="-"):jQuery("#ulp-"+ulp_active_window_id).parent().removeClass("ulp-window-fh-container"));switch(jQuery("#ulp-"+ulp_active_window_id).attr("data-position")){case "top-left":a="translate(-"+b*(1-c)/2+"px,-"+d*(1-c)/2+"px) ";break;case "top-right":a="translate("+b*(1-c)/
2+"px,-"+d*(1-c)/2+"px) ";break;case "bottom-left":a="translate(-"+b*(1-c)/2+"px,"+e+d*(1-c)/2+"px) ";break;case "bottom-right":a="translate("+b*(1-c)/2+"px,"+e+d*(1-c)/2+"px) ";break;case "top-center":a="translate(-50%,-"+d*(1-c)/2+"px) ";break;case "bottom-center":a="translate(-50%,"+e+d*(1-c)/2+"px) ";break;case "middle-left":a="translate(-"+b*(1-c)/2+"px,"+f+") ";break;case "middle-right":a="translate("+b*(1-c)/2+"px,"+f+") ";break;default:a="translate(-50%,"+f+") "}jQuery("#ulp-"+ulp_active_window_id).css({transform:a+
"scale("+c+")","-ms-transform":a+"scale("+c+")","-webkit-transform":a+"scale("+c+")"})}jQuery.fn.datetimepicker&&jQuery(".ulp-date").datetimepicker("hide")}});
function ulp_ready(){ulp_viewport={width:Math.max(240,jQuery(window).width()),height:Math.max(120,jQuery(window).height())};var a=[],b=0;jQuery(".ulp-inline").each(function(){var d=jQuery(this).attr("data-id");d&&(d=ulp_popup_id(d),jQuery(this).attr("id","ulp-inline-container-"+b),a.push(b+":"+d),b++)});0<a.length&&jQuery.ajax({url:ulp_ajax_url,data:{action:"ulp-load-inline-popups",inline_ids:a.join(",")},type:"POST",async:!0,success:function(a){try{var b="object"==typeof a?a:jQuery.parseJSON(a);
if("OK"==b.status){var d=b.popups,e;for(e in d)d.hasOwnProperty(e)&&(inline_html=d[e],jQuery("#ulp-inline-container-"+e).html(inline_html),jQuery("#ulp-inline-container-"+e).attr("data-id"));ulp_inline_open(!1)}}catch(h){}}});jQuery("a").each(function(){var a=jQuery(this).attr("href");if(a){var b=a.indexOf("#ulp-");0>b&&(b=a.indexOf("#ulpx-"));if(0<=b){b=a.indexOf("#ulp-");0<=b?a=a.substr(b+5):(b=a.indexOf("#ulpx-"),a=a.substr(b+6));b=a.indexOf(":");if(0<b){var f=a.substr(b+1);a=a.substr(0,b);a=ulp_popup_id(a);
ulp_read_cookie("ulp-"+a)==ulp_cookie_value?0<f.length&&jQuery(this).attr("href",ulp_decode64(f)):jQuery(this).addClass("ulp-linklocker-"+a)}jQuery(this).click(function(){var a=jQuery(this).attr("href"),b=a.indexOf("#ulp-");0<=b?a=a.substr(b+5):(b=a.indexOf("#ulpx-"),a=a.substr(b+6));b=a.indexOf(":");if(0<b){var c=a.substr(b+1);0<c.length&&(ulp_forced_location=ulp_decode64(c));a=a.substr(0,b)}a=ulp_popup_id(a);ulp_open(a);return!1})}}});"undefined"!=typeof FB&&FB.Event.subscribe("edge.create",function(){ulp_share("facebook-like")});
"undefined"!=typeof twttr&&twttr.ready(function(a){a.events.bind("tweet",function(a){ulp_share("twitter-tweet")});a.events.bind("follow",function(a){ulp_share("twitter-follow")})});jQuery(document).keyup(function(a){ulp_active_window_id&&"on"==jQuery("#ulp-"+ulp_active_window_id).attr("data-close")&&27==a.keyCode&&ulp_self_close();13==a.keyCode&&jQuery(document.activeElement).hasClass("ulp-input-field")&&("textarea"!=jQuery(document.activeElement).prop("tagName").toLowerCase()||a.ctrlKey)&&(a=jQuery(document.activeElement).parents(".ulp-inline-window, .ulp-window"))&&
"on"==jQuery(a).attr("data-enter")&&(a=jQuery(a).find(".ulp-submit"))&&jQuery(a).click()})}function ulp_utf8encode(a){a=a.replace(/\x0d\x0a/g,"\n");for(var b="",d=0;d<a.length;d++){var c=a.charCodeAt(d);128>c?b+=String.fromCharCode(c):(127<c&&2048>c?b+=String.fromCharCode(c>>6|192):(b+=String.fromCharCode(c>>12|224),b+=String.fromCharCode(c>>6&63|128)),b+=String.fromCharCode(c&63|128))}return b}
function ulp_encode64(a){var b="",d=0;for(a=ulp_utf8encode(a);d<a.length;){var c=a.charCodeAt(d++);var f=a.charCodeAt(d++);var e=a.charCodeAt(d++);var h=c>>2;c=(c&3)<<4|f>>4;var g=(f&15)<<2|e>>6;var k=e&63;isNaN(f)?g=k=64:isNaN(e)&&(k=64);b=b+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(h)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(g)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(k)}return b}
function ulp_utf8decode(a){var b="",d=0;for(c1=c2=0;d<a.length;){var c=a.charCodeAt(d);128>c?(b+=String.fromCharCode(c),d++):191<c&&224>c?(c2=a.charCodeAt(d+1),b+=String.fromCharCode((c&31)<<6|c2&63),d+=2):(c2=a.charCodeAt(d+1),c3=a.charCodeAt(d+2),b+=String.fromCharCode((c&15)<<12|(c2&63)<<6|c3&63),d+=3)}return b}
function ulp_decode64(a){var b="",d=0;for(a=a.replace(/[^A-Za-z0-9\+\/=]/g,"");d<a.length;){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(d++));var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(d++));var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(d++));var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(d++));c=c<<2|f>>4;f=(f&15)<<
4|e>>2;var g=(e&3)<<6|h;b+=String.fromCharCode(c);64!=e&&(b+=String.fromCharCode(f));64!=h&&(b+=String.fromCharCode(g))}return b=ulp_utf8decode(b)}
function ulp_track(a,b,d,c){if("on"==ulp_km_tracking)try{c&&""!=c&&"object"==typeof _kmq&&_kmq.push(["identify",c])}catch(f){}if("on"==ulp_ga_tracking)try{c="","layered-popup"==b?0<jQuery("#ulp-"+a).attr("data-title").length&&(c=jQuery("#ulp-"+a).attr("data-title")):"layered-inline"==b&&0<jQuery("#"+a).attr("data-title").length&&(c=jQuery("#"+a).attr("data-title")),0<c.length&&("object"==typeof _gaq?_gaq.push(["_trackEvent",b,d,c,1,!1]):"function"==typeof _trackEvent?_trackEvent(b,d,c,1,!1):"function"==
typeof __gaTracker?__gaTracker("send","event",b,d,c):"function"==typeof ga&&ga("send","event",b,d,c))}catch(f){}}
function ulp_share(a){ulp_active_window_id&&jQuery.ajax({url:ulp_ajax_url,data:{"ulp-source":a,"ulp-popup":ulp_active_window_id,"ulp-campaign":ulp_active_campaign,action:"ulp_share"},type:"POST",async:!0,success:function(b){try{var d="object"==typeof b?b:jQuery.parseJSON(b);if("OK"==d.status){b=180;"undefined"!=typeof d.cookie_lifetime&&(b=parseInt(d.cookie_lifetime,10));if(0<b){if(ulp_active_window_id==ulp_onload_popup||ulp_active_campaign==ulp_onload_popup&&""!=ulp_onload_popup||"on"==ulp_onexit_limits&&
""!=ulp_onload_popup)ulp_write_cookie("ulp-onload-"+ulp_onload_popup,ulp_cookie_value,b),ulp_onload_displayed=!0;if(ulp_active_window_id==ulp_onexit_popup||ulp_active_campaign==ulp_onexit_popup&&""!=ulp_onexit_popup||"on"==ulp_onexit_limits&&""!=ulp_onexit_popup)ulp_write_cookie("ulp-onexit-"+ulp_onexit_popup,ulp_cookie_value,b),ulp_onexit_displayed=!0;if(ulp_active_window_id==ulp_onscroll_popup||ulp_active_campaign==ulp_onscroll_popup&&""!=ulp_onscroll_popup||"on"==ulp_onexit_limits&&""!=ulp_onscroll_popup)ulp_write_cookie("ulp-onscroll-"+
ulp_onscroll_popup,ulp_cookie_value,b),ulp_onscroll_displayed=!0;if(ulp_active_window_id==ulp_onidle_popup||ulp_active_campaign==ulp_onidle_popup&&""!=ulp_onidle_popup||"on"==ulp_onexit_limits&&""!=ulp_onidle_popup)ulp_write_cookie("ulp-onidle-"+ulp_onidle_popup,ulp_cookie_value,b),ulp_onidle_displayed=!0;if(ulp_active_window_id==ulp_onabd_popup||ulp_active_campaign==ulp_onabd_popup&&""!=ulp_onabd_popup||"on"==ulp_onexit_limits&&""!=ulp_onabd_popup)ulp_write_cookie("ulp-onabd-"+ulp_onabd_popup,ulp_cookie_value,
b),ulp_onabd_displayed=!0;ulp_write_cookie("ulp-"+ulp_active_window_id,ulp_cookie_value,b)}ulp_track(ulp_active_window_id,"layered-popup","share-"+a,"");_ulp_open(ulp_active_window_id,!1,!1);b=0;d.close_delay&&(b=d.close_delay);ulp_unlock_links(ulp_active_window_id);var c=d.return_url;0<ulp_forced_location.length&&(c=ulp_forced_location);setTimeout(function(){0<c.length?(ulp_subscribing=!1,ulp_self_close(),"#refresh"==c?location.reload(!0):location.href=c):(ulp_subscribing=!1,ulp_self_close())},b)}else ulp_subscribing=
!1,ulp_self_close()}catch(f){ulp_subscribing=!1,ulp_self_close()}}});return!1}function ulp_social_google_plusone(a){"on"==a.state&&ulp_share("google-plusone")}function ulp_social_linkedin_share(){ulp_share("linkedin-share")}
function ulp_close_forever(a){"undefined"===typeof a&&(a=180);if(ulp_active_window_id==ulp_onload_popup||ulp_active_campaign==ulp_onload_popup&&""!=ulp_onload_popup||"on"==ulp_onexit_limits&&""!=ulp_onload_popup)ulp_write_cookie("ulp-onload-"+ulp_onload_popup,ulp_cookie_value,a),ulp_onload_displayed=!0;if(ulp_active_window_id==ulp_onexit_popup||ulp_active_campaign==ulp_onexit_popup&&""!=ulp_onexit_popup||"on"==ulp_onexit_limits&&""!=ulp_onexit_popup)ulp_write_cookie("ulp-onexit-"+ulp_onexit_popup,
ulp_cookie_value,a),ulp_onexit_displayed=!0;if(ulp_active_window_id==ulp_onscroll_popup||ulp_active_campaign==ulp_onscroll_popup&&""!=ulp_onscroll_popup||"on"==ulp_onexit_limits&&""!=ulp_onscroll_popup)ulp_write_cookie("ulp-onscroll-"+ulp_onscroll_popup,ulp_cookie_value,a),ulp_onscroll_displayed=!0;if(ulp_active_window_id==ulp_onidle_popup||ulp_active_campaign==ulp_onidle_popup&&""!=ulp_onidle_popup||"on"==ulp_onexit_limits&&""!=ulp_onidle_popup)ulp_write_cookie("ulp-onidle-"+ulp_onidle_popup,ulp_cookie_value,
a),ulp_onidle_displayed=!0;if(ulp_active_window_id==ulp_onabd_popup||ulp_active_campaign==ulp_onabd_popup&&""!=ulp_onabd_popup||"on"==ulp_onexit_limits&&""!=ulp_onabd_popup)ulp_write_cookie("ulp-onabd-"+ulp_onabd_popup,ulp_cookie_value,a),ulp_onabd_displayed=!0;ulp_self_close();return!1}
function ulp_unlock_links(a){jQuery(".ulp-linklocker-"+a).each(function(){var a=jQuery(this).attr("href");url_idx=a.lastIndexOf(":");0<url_idx&&(a=a.substr(url_idx+1),0<a.length&&(a=ulp_decode64(a),jQuery(this).attr("href",a)))})}function ulp_clear_form(a){jQuery("#ulp-"+a).find(".ulp-input-error").removeClass("ulp-input-error");jQuery("#ulp-"+a).find("input[type=text], input[type=password], input[type=email], textarea").val("")}
function ulp_recaptcha_loaded(){for(var a,b;0<ulp_recaptcha_queue.length;)a=ulp_recaptcha_queue.pop(),(b=jQuery("#"+a).attr("data-theme"))||(b="light"),b=grecaptcha.render(a,{sitekey:ulp_recaptcha_public_key,theme:b}),jQuery("#"+a).attr("data-widget",b)}function ulp_hex2rgba(a,b){var d=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return d?"rgba("+parseInt(d[1],16)+","+parseInt(d[2],16)+","+parseInt(d[3],16)+","+b+")":"rgba(0,0,0,0)"}
function ulp_datetimepicker_init(a){jQuery("#"+a).find(".ulp-date").each(function(){var a=this;jQuery(a).datetimepicker("destroy");jQuery(a).datetimepicker({format:jQuery(a).attr("data-format"),formatDate:jQuery(a).attr("data-format"),timepicker:!1,yearStart:1900,yearEnd:2100,onShow:function(b){var c=jQuery(a).attr("data-min-type");var d=jQuery(a).attr("data-min-value");b=!1;switch(c){case "today":b=0;break;case "yesterday":b="-1970/01/02";break;case "tomorrow":b="+1970/01/02";break;case "date":b=
d;break;case "field":c=jQuery(a).parentsUntil(".ulp-content")[0],b=jQuery(c).parent().find("[name='ulp-custom-field-"+d+"']").val()?jQuery(c).parent().find("[name='ulp-custom-field-"+d+"']").val():!1}c=jQuery(a).attr("data-max-type");d=jQuery(a).attr("data-max-value");var e=!1;switch(c){case "today":e=0;break;case "yesterday":e="-1970/01/02";break;case "tomorrow":e="+1970/01/02";break;case "date":e=d;break;case "field":c=jQuery(a).parentsUntil(".ulp-content")[0],e=jQuery(c).parent().find("[name='ulp-custom-field-"+
d+"']").val()?jQuery(c).parent().find("[name='ulp-custom-field-"+d+"']").val():!1}this.setOptions({minDate:b,maxDate:e})}})})};