",{id:r.id,rel:"stylesheet"}).appendTo("head").data("promise",n)).on("load",(function(){o.resolve(r)})).on("error",(function(){o.reject(r)})),t.attr("href",r.uri)),n})(o).then(s,i);break;case"js":(function(r){var o=e.Deferred(),n=o.promise(),t=e("#"+r.id);if(t.length)n=t.data("promise");else{var s=document.createElement("script");document.getElementsByTagName("head")[0].appendChild(s),(t=e(s).attr("id",r.id).data("promise",n)).on("load",(function(){o.resolve(r)})).on("error",(function(){o.reject(r)})),t.attr("src",r.uri)}return n})(o).then(s,i)}})),o.promise();function s(e){n-=1,a()}function i(e){t.push(e),n-=1,a()}function a(){0===n&&(t.length?o.reject(t):o.resolve())}}(r).then((function(){o.resolve()}),(function(e){console&&console.error,o.reject(e)})),o.promise()).then((function(){new WaFrontendForgotPassword({$wrapper:e("#wa-forgotpassword-form-wrapper67d8be651d83c"),namespace:null,errors:{"":[""]},messages:[],login_url:"/login/",locale:{required:"Поле обязательное",login_required:"Логин обязателен",password_required:"Пароль не может быть пустым",timeout:"Нельзя восстанавливать пароль слишком часто. Повторите через 60 секунд.",timeout_template:"Нельзя восстанавливать пароль слишком часто. Повторите через %d секунд.",login_page:"Вернуться на страницу входа",captcha_required:"Капча обязательна",confirmation_code_required:"Введите код подтверждения, чтобы завершить процедуру."},is_json_mode:!0,need_redirects:!0})}))}(jQuery);