{"version":3,"names":[],"mappings":"","sources":["email-signup.js"],"sourcesContent":["(function($) {\n var hpEmail = document.querySelector('#homepage-email');\n if (hpEmail) {\n var hpEmailValue = hpEmail.querySelector('[type=email]');\n hpEmail.addEventListener('submit', function(e) {\n e.preventDefault();\n window.open(`/join-our-email-list?email=${hpEmailValue.value}`);\n });\n } else {\n var signupEmail = document.querySelector('#mc_embed_signup #mce-EMAIL');\n if (signupEmail && window.location.search) {\n var params = new URLSearchParams(window.location.search);\n if (params.get('email')) signupEmail.value = params.get('email');\n }\n }\n})(jQuery);\n"],"file":"email-signup.js"}