PageSourceSearch

https://www.wir-essen-gesund.de/wp-content/plugins/mc4wp-premium/a…/assets/js/ajax-forms.min.js?ver=4.5.4

js wir-essen-gesund.de collected 2026-10-03 23:29:02 UTC 3,566 bytes, 2 lines download raw bytes

1!function(){var d=void 0;!function i(s,a,c){function u(e,t){if(!a[e]){if(!s[e]){var n="function"==typeof d&&d;if(!t&&n)return n(e,!0);if(l)return l(e,!0);var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}var o=a[e]={exports:{}};s[e][0].call(o.exports,function(t){return u(s[e][1][t]||t)},o,o.exports,i,s,a,c)}return a[e].exports}for(var l="function"==typeof d&&d,t=0;t<c.length;t++)u(c[t]);return u}({1:[function(t,e,n){"use strict";function r(t){this.objectName=t}r.prototype.get=function(t,e){return void 0!==window[this.objectName]?window[this.objectName][t]:e},r.prototype.set=function(t,e){window[this.objectName]||(window[this.objectName]={}),window[this.objectName][t]=e},e.exports=r},{}],2:[function(t,e,n){"use strict";function r(t){return t.innerHTML?t.innerHTML:t.value}function o(t,e){t.innerHTML?t.innerHTML=e:t.value=e}function i(t){this.form=t,this.button=t.querySelector('input[type="submit"], button[type="submit"]'),this.loadingInterval=0,this.character="·",this.button&&(this.originalButton=this.button.cloneNode(!0))}i.prototype.setCharacter=function(t){this.character=t},i.prototype.start=function(){if(this.button){var t=this.button.getAttribute("data-loading-text");if(t)return void o(this.button,t);var e=window.getComputedStyle(this.button);this.button.style.width=e.width,o(this.button,this.character),this.loadingInterval=window.setInterval(this.tick.bind(this),500)}else this.form.style.opacity="0.5"},i.prototype.tick=function(){var t=r(this.button),e=this.character;o(this.button,5<=t.length?e:t+" "+e)},i.prototype.stop=function(){if(this.button){this.button.style.width=this.originalButton.style.width;var t=r(this.originalButton);o(this.button,t),window.clearInterval(this.loadingInterval)}else this.form.style.opacity=""},e.exports=i},{}],3:[function(t,e,n){"use strict";var r=t("./_config.js"),i=t("./_form-loader.js"),s=!1,a=new r("mc4wp_ajax_vars");a.get("ready")||window.mc4wp.forms.on("submit",function(t,e){if(!(t.element.getAttribute("class").indexOf("mc4wp-ajax")<0)){document.activeElement&&"INPUT"===document.activeElement.tagName&&document.activeElement.blur();try{!function(n){var e=new i(n.element),t=a.get("loading_character");t&&e.setCharacter(t);function r(){s=!0;var t=new XMLHttpRequest;t.onreadystatechange=function(){if(4==this.readyState)if(e.stop(),s=!1,200<=this.status&&this.status<400){try{var t=JSON.parse(this.responseText)}catch(t){return console.log('MailChimp for WordPress: failed to parse AJAX response.\n\nError: "'+t+'"'),void n.setResponse('<div class="mc4wp-alert mc4wp-error"><p>'+a.get("error_text")+"</p></div>")}!function(t){if(o("submitted",n,null),t.error)n.setResponse(t.error.message),o("error",n,t.error.errors);else{var e=n.getData();o("success",n,e),o(t.data.event,n,e),"updated_subscriber"===t.data.event&&o("subscribed",n,e),t.data.hide_fields&&(n.element.querySelector(".mc4wp-form-fields").style.display="none"),n.setResponse(t.data.message),n.element.reset(),t.data.redirect_to&&(window.location.href=t.data.redirect_to)}}(t)}else console.log(this.responseText)},t.open("POST",a.get("ajax_url"),!0),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.send(n.getSerializedData()),t=null}function o(t,e,n){window.mc4wp.forms.trigger(t,[e,n]),window.mc4wp.forms.trigger(e.id+"."+t,[e,n])}s||(n.setResponse(""),e.start(),r())}(t)}catch(t){return console.error(t),!0}return e.returnValue=!1,e.preventDefault(),!1}}),a.set("ready",!0)},{"./_config.js":1,"./_form-loader.js":2}]},{},[3])}();
2//# sourceMappingURL=ajax-forms.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.