1import{u as l,a as d,m as n,A as e,I as c,L as m}from"./index-Dbcg4l4A.js";import{f as p,c as C}from"./Password.store-spa-DYZ3A2sM.js";import{n as r,p as b}from"./vendor-spa-46-YTNEa.js";import{w as S}from"./baseFallbackFormConfig-spa-BKFNie5a.js";import{C as h}from"./ContextTemplate-spa-BFL5vGJX.js";import{F as w}from"./Form-spa-_7vrvFNB.js";import{F}from"./FormRow-spa-D2qTFijR.js";import{B as I}from"./Button-spa-wJhexZAd.js";import{I as x}from"./InputPassword-spa-BGIceYIv.js";import"./browserDetect-mPzbkkX9.js";import"./formStore-spa-BH15Vuh5.js";import"./useStepBack.hook-spa-D5DO9Yg5.js";import"./BaseForm-spa-CvHVYZH0.js";import"./Description-spa-DWWVcNiP.js";import"./defaultProps-spa-BijTwrsC.js";import"./Input.module-spa-kGBI2r0Z.js";import"./createConditionalEffect.hook-spa-DPWRQ4BL.js";import"./createInputStore-spa-D0x-lw7m.js";const B=()=>{const{formDataStore:t}=l(),i=d(),{registerPasswordInput:a,formState:o,onSubmit:s,onForgotPassword:u,onCancelButtonClick:g,disableSubmit:f}=C();return r(h,{disableForm:f,get maxWidth(){return t.formConfig.fullWidth?"default":419},get align(){return t.formConfig.layoutAlign},get submitting(){return o.submitting},get isLoading(){return o.isLoading},get children(){return r(w,{get align(){return t.formConfig.layoutAlign},get title(){return t.formConfig.title},get titleSize(){return t.formConfig.titleSize},get forceMobileStyles(){return t.formConfig.forceMobileStyles},get description(){return t.formConfig.description},get descriptionSize(){return t.formConfig.descriptionSize},get errorText(){return o.formError},get serverErrorText(){return o.serverError},onSubmit:s,get links(){return[r(m,{onClick:u,get automationId(){return e.ForgotButton},children:"Ðе Ð¿Ð¾Ð¼Ð½Ñ Ð¿Ð°ÑолÑ"}),r(m,{onClick:g,children:"ÐÑмена"})]},get automationId(){return e.PasswordForm},get children(){return r(F,{get align(){return t.formConfig.layoutAlign},get children(){return[r(x,b(a,{get autofocus(){return t.formConfig.autofocus},width:"100%"})),r(I,{theme:"primary",get disabled(){return o.submitDisabled||o.submitting},type:"submit",get icon(){return n(()=>!!(i()||t.formConfig.forceSubmitButtonText))()?void 0:r(c,{name:"arrow-right"})},get isLoading(){return o.submitting},get automationId(){return e.SubmitButton},get children(){return n(()=>!!(i()||t.formConfig.forceSubmitButtonText))()?t.formConfig.submitButtonText:""}})]}})}})}})},J=S(B,p);export{J as default};
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.