",{id:n.id,rel:"stylesheet"}).appendTo("head").data("promise",t)).on("load",(function(){r.resolve(n)})).on("error",(function(){r.reject(n)})),i.attr("href",n.uri)),t})(r).then(s,o);break;case"js":(function(n){var r=e.Deferred(),t=r.promise(),i=e("#"+n.id);if(i.length)t=i.data("promise");else{var s=document.createElement("script");document.getElementsByTagName("head")[0].appendChild(s),(i=e(s).attr("id",n.id).data("promise",t)).on("load",(function(){r.resolve(n)})).on("error",(function(){r.reject(n)})),i.attr("src",n.uri)}return t})(r).then(s,o)}})),r.promise();function s(e){t-=1,a()}function o(e){i.push(e),t-=1,a()}function a(){0===t&&(i.length?r.reject(i):r.resolve())}}(n).then((function(){r.resolve()}),(function(e){console&&console.error,r.reject(e)})),r.promise()).then((function(){new WaSignup({$wrapper:e("#wa-signup-form-wrapper67d8b253dcaf2").removeAttr("style"),namespace:"data",locale:{required:"Поле обязательное",onetime_password_required:"Чтобы завершить регистрацию, введите код подтверждения",confirmation_code_required:"Чтобы завершить регистрацию, введите код подтверждения",captcha_required:"Капча обязательна",sent_by_email:"(отправлен по email)",sent_by_sms:"(отправлен в SMS)"},timeout:60,url:"/signup/",is_onetime_password_auth_type:!1,is_need_confirm:!1,need_redirects:!0,contact_type:"person"})}))}(jQuery);