{ if (currentStep === 'register_p1' && $refs.countryCodeSelect) { $refs.countryCodeSelect.focus(); } else if (currentStep === 'register_success' && $refs.continueSuccessBtn) { $refs.continueSuccessBtn.focus(); } else if ($refs.emailInput) { $refs.emailInput.focus(); } }, 50)"
x-data="otpForm({
ajaxUrl: 'https://www.byggmax.se/otp/ajax/index/',
loginAjaxUrl: 'https\u003A\u002F\u002Fwww.byggmax.se\u002Fcustomer\u002Fajax\u002Flogin\u002F',
customerAccountUrl: 'https\u003A\u002F\u002Fwww.byggmax.se\u002Fcustomer\u002Faccount\u002Findex\u002F',
registerAjaxUrl: 'https\u003A\u002F\u002Fwww.byggmax.se\u002Fcustomer\u002Fajax\u002Fcreate\u002F',
switchShopUrl: 'https\u003A\u002F\u002Fwww.byggmax.se\u002Fshops\u002Fshop\u002Fswitch\u002F',
otpType: 'login',
phoneCodes: {"dk":"45","fi":"358","se":"46","no":"47"},
phoneCountryCode: 'se',
labels: {
sendNewCode: '\u0020Skicka\u0020ny\u0020kod',
defaultCustomerFirstName: 'Byggmax',
defaultCustomerLastName: '\u0020kund',
}
})">

