PageSourceSearch

https://www.allencarr.com/wp-content/themes/allen-carr/public/dist/7352.1d6e31534ffa3b6964a3.js

js allencarr.com collected 2026-09-24 18:47:43 UTC 2,391 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkeleven_miles_erebus=self.webpackChunkeleven_miles_erebus||[]).push([[7352],{7352:function(e,o,r){r.r(o);var t=r(4187);const a=document.querySelectorAll('[data-behaviour*="addiction-change"]');a.length>0&&a.forEach(e=>{e.addEventListener("change",()=>{(0,t.t4)(e.value)})});const n=document.querySelectorAll('[data-behaviour="login-ajax"]');n.length>0&&n.forEach(e=>{e.addEventListener("submit",async o=>{o.preventDefault();const r=new URLSearchParams(window.location.search),a=e.querySelector('[data-target="loader"]'),n=e.querySelector('[data-target="errors"]'),l=e.closest('[data-behaviour="modal"][data-target="questionnaire-modal"'),c=new FormData(e);null!==a&&a.classList.remove("u-hidden");const s=await(0,t.Sh)(c);if(null!==n&&s.errors.length>0){n.innerHTML='<ul class="woocommerce-error" role="alert">';for(const e of s.errors)n.innerHTML+=`<li>${e}</li>`;n.innerHTML+="</ul>"}if("success"==s.status)if(null!==l){const e=r.get("form_id")??"",o=r.get("product_id")??"",t=r.get("coupon_code")??"";window.location.href=`${wp_ajax.home_url}/questionnaire/?form_id=${e}&product_id=${o}&coupon_code=${t}`}else n.innerHTML='<ul class="woocommerce-info" role="alert"><li>Logged in successfully</li></ul>',window.location.href="/my-account/";null!==a&&a.classList.add("u-hidden")})});const l=document.querySelectorAll('[data-behaviour="register-ajax"]');l.length>0&&l.forEach(e=>{e.addEventListener("submit",async o=>{const r=new URLSearchParams(window.location.search);o.preventDefault();const a=e.querySelector('[data-target="loader"]'),n=e.querySelector('[data-target="errors"]'),l=e.closest('[data-behaviour="modal"][data-target="questionnaire-modal'),c=new FormData(e);null!==a&&a.classList.remove("u-hidden");const s=await(0,t.SI)(c);if(null!==n&&s.errors.length>0){n.innerHTML='<ul class="woocommerce-error" role="alert">';for(const e of s.errors)n.innerHTML+=`<li>${e}</li>`;n.innerHTML+="</ul>"}if("success"==s.status)if(null!==l){const e=r.get("form_id")??"",o=r.get("product_id")??"",t=r.get("coupon_code")??"";window.location.href=`${wp_ajax.home_url}/questionnaire/?form_id=${e}&product_id=${o}&coupon_code=${t}`}else n.innerHTML='<ul class="woocommerce-info" role="alert"><li>Registered successfully</li></ul>',window.location.href="/my-account/";null!==a&&a.classList.add("u-hidden")})})}}]);
2//# sourceMappingURL=7352.1d6e31534ffa3b6964a3.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.