| Server IP : 87.98.154.146 / Your IP : 216.73.216.165 Web Server : Apache System : Linux webm004.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : ohklomafyi ( 52085) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/ohklomafyi/www/wp-content/plugins/ocean-extra/includes/widgets/js/ |
Upload File : |
function isValidEmailAddress(e){return new RegExp(/^(("[\w-+\s]+")|([\w-+]+(?:\.[\w-+]+)*)|("[\w-+\s]+")([\w-+]+(?:\.[\w-+]+)*))(@((?:[\w-+]+\.)*\w[\w-+]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][\d]\.|1[\d]{2}\.|[\d]{1,2}\.))((25[0-5]|2[0-4][\d]|1[\d]{2}|[\d]{1,2})\.){2}(25[0-5]|2[0-4][\d]|1[\d]{2}|[\d]{1,2})\]?$)/i).test(e)}jQuery(document).ready(function(n){n(".oceanwp-newsletter-form-wrap #mc-embedded-subscribe-form").on("submit",function(e){e.preventDefault();var d=n(this),i=d.find(".email").val(),e=!0;d.find(".err-msg").hide(),0==n.trim(i).length?(e=!1,d.find(".email-err.req").show()):isValidEmailAddress(i)||(e=!1,d.find(".email-err.not-valid").show()),d.find(".gdpr").length&&!d.find(".gdpr").is(":checked")&&(e=!1,d.find(".gdpr-err.err-msg").show()),d.find(".res-msg").hide(),e&&(d.find("button").attr("disabled",!0),i={action:"oceanwp_mailchimp_request",_ajax_nonce:oceanwpLocalize.oe_mc_wpnonce,email:i},n.ajax({type:"POST",url:oceanwpLocalize.ajax_url,data:i,success:function(e){d.find("button").attr("disabled",!1),(e.status?d.find(".res-msg.success"):d.find(".res-msg.failed")).show().delay(5e3).fadeOut()},complete:function(){}}))})});