"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[70884],{86086:function(e,t,s){s.r(t),s.d(t,{default:function(){return i}});var a=s(5898),r=s(89100);function n(e){if(e.Success){var t=a.Ay.translate("MessagePasswordResetForUsers");return t+="<br/>",t+="<br/>",t+=e.UsersReset.join("<br/>"),void r.default.alert({message:t,title:a.Ay.translate("HeaderPasswordReset"),callback:function(){window.location.href=""}})}r.default.alert({message:a.Ay.translate("MessageInvalidForgotPasswordPin"),title:a.Ay.translate("HeaderPasswordReset")})}function i(e){e.querySelector("form").addEventListener("submit",(function(t){return ApiClient.ajax({type:"POST",url:ApiClient.getUrl("Users/ForgotPassword/Pin"),dataType:"json",data:JSON.stringify({Pin:e.querySelector("#txtPin").value}),contentType:"application/json"}).then(n),t.preventDefault(),!1}))}}}]);