@sheerid/jslib 2.293.0 → 2.295.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (377) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +38 -38
  3. package/chunk/{AddressComponent-CglwEa12.js → AddressComponent-DgdxVCak.js} +6 -6
  4. package/chunk/{AddressComponent-CglwEa12.js.map → AddressComponent-DgdxVCak.js.map} +1 -1
  5. package/chunk/{AddressComponent-CmJnOMbH.js → AddressComponent-maoUGgcH.js} +6 -6
  6. package/chunk/{AddressComponent-CmJnOMbH.js.map → AddressComponent-maoUGgcH.js.map} +1 -1
  7. package/chunk/AnnouncingHeader-C6QNdmy8.js +4 -4
  8. package/chunk/AnnouncingHeader-DJd16MZV.js +4 -4
  9. package/chunk/{BirthDateComponent-DoxUuygs.js → BirthDateComponent-CLfHsLxA.js} +6 -6
  10. package/chunk/{BirthDateComponent-C8TH6zhC.js.map → BirthDateComponent-CLfHsLxA.js.map} +1 -1
  11. package/chunk/{BirthDateComponent-C8TH6zhC.js → BirthDateComponent-DsswVPXn.js} +6 -6
  12. package/chunk/{BirthDateComponent-DoxUuygs.js.map → BirthDateComponent-DsswVPXn.js.map} +1 -1
  13. package/chunk/{CaptchaComponent-1QN8Diwc.js → CaptchaComponent-REgKvi8p.js} +9 -9
  14. package/chunk/{CaptchaComponent-1QN8Diwc.js.map → CaptchaComponent-REgKvi8p.js.map} +1 -1
  15. package/chunk/{CaptchaComponent-CvmkQ_5D.js → CaptchaComponent-Yb-l7_Pn.js} +9 -9
  16. package/chunk/{CaptchaComponent-CvmkQ_5D.js.map → CaptchaComponent-Yb-l7_Pn.js.map} +1 -1
  17. package/chunk/{ChangeLocaleComponent-DuUnRYy4.js → ChangeLocaleComponent-BJ3jZ7Nk.js} +7 -7
  18. package/chunk/{ChangeLocaleComponent-DuUnRYy4.js.map → ChangeLocaleComponent-BJ3jZ7Nk.js.map} +1 -1
  19. package/chunk/{ChangeLocaleComponent-ZNY5d0nd.js → ChangeLocaleComponent-dhAkzkH4.js} +7 -7
  20. package/chunk/{ChangeLocaleComponent-ZNY5d0nd.js.map → ChangeLocaleComponent-dhAkzkH4.js.map} +1 -1
  21. package/chunk/{City-BBwhhp0r.js → City-D7NN9waG.js} +6 -6
  22. package/chunk/{City-BAUe7lNj.js.map → City-D7NN9waG.js.map} +1 -1
  23. package/chunk/{City-BAUe7lNj.js → City-DL20Kfkf.js} +6 -6
  24. package/chunk/{City-BBwhhp0r.js.map → City-DL20Kfkf.js.map} +1 -1
  25. package/chunk/{CollegeNameComponent-DFRljRjg.js → CollegeNameComponent-9pp2d2fm.js} +8 -8
  26. package/chunk/{CollegeNameComponent-Ba-ldOs2.js.map → CollegeNameComponent-9pp2d2fm.js.map} +1 -1
  27. package/chunk/{CollegeNameComponent-Ba-ldOs2.js → CollegeNameComponent-CHM311lm.js} +8 -8
  28. package/chunk/{CollegeNameComponent-DFRljRjg.js.map → CollegeNameComponent-CHM311lm.js.map} +1 -1
  29. package/chunk/CopyToClipboardComponent-cvPop_DN.js +4 -4
  30. package/chunk/CopyToClipboardComponent-nKhkSaum.js +4 -4
  31. package/chunk/{CountryComponentWrapper-S7tjrj1n.js → CountryComponentWrapper-CI5jLzGL.js} +12 -12
  32. package/chunk/{CountryComponentWrapper-BriofJKE.js.map → CountryComponentWrapper-CI5jLzGL.js.map} +1 -1
  33. package/chunk/{CountryComponentWrapper-BriofJKE.js → CountryComponentWrapper-DMctN0cb.js} +12 -12
  34. package/chunk/{CountryComponentWrapper-S7tjrj1n.js.map → CountryComponentWrapper-DMctN0cb.js.map} +1 -1
  35. package/chunk/{DischargeDateComponent-CeEZ1mSx.js → DischargeDateComponent-BshmF9Yt.js} +9 -9
  36. package/chunk/{DischargeDateComponent-Cbnod0KG.js.map → DischargeDateComponent-BshmF9Yt.js.map} +1 -1
  37. package/chunk/{DischargeDateComponent-Cbnod0KG.js → DischargeDateComponent-C0EIfXt0.js} +9 -9
  38. package/chunk/{DischargeDateComponent-CeEZ1mSx.js.map → DischargeDateComponent-C0EIfXt0.js.map} +1 -1
  39. package/chunk/{DriverLicenseNumberComponent-HsWgzFE0.js → DriverLicenseNumberComponent-Dc8Qgy7p.js} +6 -6
  40. package/chunk/{DriverLicenseNumberComponent-CYZRa321.js.map → DriverLicenseNumberComponent-Dc8Qgy7p.js.map} +1 -1
  41. package/chunk/{DriverLicenseNumberComponent-CYZRa321.js → DriverLicenseNumberComponent-DeioJNhW.js} +6 -6
  42. package/chunk/{DriverLicenseNumberComponent-HsWgzFE0.js.map → DriverLicenseNumberComponent-DeioJNhW.js.map} +1 -1
  43. package/chunk/{EmailLoopPending-DUGwU1oQ.js → EmailLoopPending-BrRIw6Xp.js} +7 -7
  44. package/chunk/{EmailLoopPending-Cu0KY8xa.js.map → EmailLoopPending-BrRIw6Xp.js.map} +1 -1
  45. package/chunk/{EmailLoopPending-Cu0KY8xa.js → EmailLoopPending-DDmfESwc.js} +7 -7
  46. package/chunk/{EmailLoopPending-DUGwU1oQ.js.map → EmailLoopPending-DDmfESwc.js.map} +1 -1
  47. package/chunk/{ExtraMessage-D4cO9DeJ.js → ExtraMessage-DEA8DQsG.js} +5 -5
  48. package/chunk/{ExtraMessage-B5w5QVkn.js.map → ExtraMessage-DEA8DQsG.js.map} +1 -1
  49. package/chunk/{ExtraMessage-B5w5QVkn.js → ExtraMessage-hNyxibRx.js} +5 -5
  50. package/chunk/{ExtraMessage-D4cO9DeJ.js.map → ExtraMessage-hNyxibRx.js.map} +1 -1
  51. package/chunk/{FirstResponderOrganizationComponent-JwJJEaoP.js → FirstResponderOrganizationComponent-C7joVP0X.js} +8 -8
  52. package/chunk/{FirstResponderOrganizationComponent-JwJJEaoP.js.map → FirstResponderOrganizationComponent-C7joVP0X.js.map} +1 -1
  53. package/chunk/{FirstResponderOrganizationComponent-asulZFz_.js → FirstResponderOrganizationComponent-D9I33eOb.js} +8 -8
  54. package/chunk/{FirstResponderOrganizationComponent-asulZFz_.js.map → FirstResponderOrganizationComponent-D9I33eOb.js.map} +1 -1
  55. package/chunk/{FormFieldInputSelect-IPo7-GWc.js → FormFieldInputSelect-Bzfv3xGL.js} +5 -5
  56. package/chunk/{FormFieldInputSelect-DAUHwCaX.js.map → FormFieldInputSelect-Bzfv3xGL.js.map} +1 -1
  57. package/chunk/{FormFieldInputSelect-DAUHwCaX.js → FormFieldInputSelect-Dj8d1GXq.js} +5 -5
  58. package/chunk/{FormFieldInputSelect-IPo7-GWc.js.map → FormFieldInputSelect-Dj8d1GXq.js.map} +1 -1
  59. package/chunk/FormFieldLayout-Bx2JoyDR.js +4 -4
  60. package/chunk/FormFieldLayout-_lQMBCmX.js +4 -4
  61. package/chunk/FormFieldText-5WjD4GNf.js +4 -4
  62. package/chunk/FormFieldText-BQLBciux.js +4 -4
  63. package/chunk/{FormFieldTypeahead-7ok1bRAH.js → FormFieldTypeahead-CHXpavSg.js} +8 -8
  64. package/chunk/{FormFieldTypeahead-7ok1bRAH.js.map → FormFieldTypeahead-CHXpavSg.js.map} +1 -1
  65. package/chunk/{FormFieldTypeahead-BXVKDH6h.js → FormFieldTypeahead-DD5l6OzL.js} +8 -8
  66. package/chunk/{FormFieldTypeahead-BXVKDH6h.js.map → FormFieldTypeahead-DD5l6OzL.js.map} +1 -1
  67. package/chunk/{FormFooterComponent-DcKXPYSW.js → FormFooterComponent-DuoNNzmM.js} +8 -8
  68. package/chunk/{FormFooterComponent-DcKXPYSW.js.map → FormFooterComponent-DuoNNzmM.js.map} +1 -1
  69. package/chunk/{FormFooterComponent-ChbgdbyW.js → FormFooterComponent-r-Wk8ivg.js} +8 -8
  70. package/chunk/{FormFooterComponent-ChbgdbyW.js.map → FormFooterComponent-r-Wk8ivg.js.map} +1 -1
  71. package/chunk/{FormSelectChoice-DiD_fv-5.js → FormSelectChoice-Cv7h1Gk-.js} +18 -10
  72. package/chunk/FormSelectChoice-Cv7h1Gk-.js.map +1 -0
  73. package/chunk/{FormSelectChoice-EuY3K8M7.js → FormSelectChoice-DRijHkxS.js} +18 -10
  74. package/chunk/FormSelectChoice-DRijHkxS.js.map +1 -0
  75. package/chunk/InputText-DBIXmm_R.js +4 -4
  76. package/chunk/InputText-DqQkxoCM.js +4 -4
  77. package/chunk/{LicensedProfessionalOrganizationComponent-CI7AACK0.js → LicensedProfessionalOrganizationComponent-Cb3iTvqT.js} +8 -8
  78. package/chunk/{LicensedProfessionalOrganizationComponent-CI7AACK0.js.map → LicensedProfessionalOrganizationComponent-Cb3iTvqT.js.map} +1 -1
  79. package/chunk/{LicensedProfessionalOrganizationComponent-Do3FCGFw.js → LicensedProfessionalOrganizationComponent-D3xtH997.js} +8 -8
  80. package/chunk/{LicensedProfessionalOrganizationComponent-Do3FCGFw.js.map → LicensedProfessionalOrganizationComponent-D3xtH997.js.map} +1 -1
  81. package/chunk/{LogoComponent-CNeqwZ63.js → LogoComponent-BdfWOuxB.js} +5 -5
  82. package/chunk/{LogoComponent-CLrHpRvB.js.map → LogoComponent-BdfWOuxB.js.map} +1 -1
  83. package/chunk/{LogoComponent-CLrHpRvB.js → LogoComponent-DyVO4147.js} +5 -5
  84. package/chunk/{LogoComponent-CNeqwZ63.js.map → LogoComponent-DyVO4147.js.map} +1 -1
  85. package/chunk/{LowIncomeOrganizationComponent-Cuxg935n.js → LowIncomeOrganizationComponent-C1Kc1f-S.js} +9 -9
  86. package/chunk/{LowIncomeOrganizationComponent-BH4cG0Wa.js.map → LowIncomeOrganizationComponent-C1Kc1f-S.js.map} +1 -1
  87. package/chunk/{LowIncomeOrganizationComponent-BH4cG0Wa.js → LowIncomeOrganizationComponent-COao8mYF.js} +9 -9
  88. package/chunk/{LowIncomeOrganizationComponent-Cuxg935n.js.map → LowIncomeOrganizationComponent-COao8mYF.js.map} +1 -1
  89. package/chunk/{MedicalProfessionalOrganizationComponent-CpGvKtH0.js → MedicalProfessionalOrganizationComponent-RaxoODpA.js} +8 -8
  90. package/chunk/{MedicalProfessionalOrganizationComponent-9b_QGhPj.js.map → MedicalProfessionalOrganizationComponent-RaxoODpA.js.map} +1 -1
  91. package/chunk/{MedicalProfessionalOrganizationComponent-9b_QGhPj.js → MedicalProfessionalOrganizationComponent-kkwsXIu4.js} +8 -8
  92. package/chunk/{MedicalProfessionalOrganizationComponent-CpGvKtH0.js.map → MedicalProfessionalOrganizationComponent-kkwsXIu4.js.map} +1 -1
  93. package/chunk/{MemberIdComponent-4yDOiEzp.js → MemberIdComponent-BN3lbgRi.js} +6 -6
  94. package/chunk/{MemberIdComponent-4yDOiEzp.js.map → MemberIdComponent-BN3lbgRi.js.map} +1 -1
  95. package/chunk/{MemberIdComponent-QFKekDAA.js → MemberIdComponent-jvqHM2pn.js} +6 -6
  96. package/chunk/{MemberIdComponent-QFKekDAA.js.map → MemberIdComponent-jvqHM2pn.js.map} +1 -1
  97. package/chunk/{MembershipOrganizationComponent-DgErRDKk.js → MembershipOrganizationComponent-BZHkjQ5J.js} +8 -8
  98. package/chunk/{MembershipOrganizationComponent-DJD1Hlal.js.map → MembershipOrganizationComponent-BZHkjQ5J.js.map} +1 -1
  99. package/chunk/{MembershipOrganizationComponent-DJD1Hlal.js → MembershipOrganizationComponent-DYoDg3dU.js} +8 -8
  100. package/chunk/{MembershipOrganizationComponent-DgErRDKk.js.map → MembershipOrganizationComponent-DYoDg3dU.js.map} +1 -1
  101. package/chunk/{Message-9U_vSk1g.js → Message-BOC0ndsP.js} +5 -5
  102. package/chunk/{Message-9U_vSk1g.js.map → Message-BOC0ndsP.js.map} +1 -1
  103. package/chunk/{Message-CEUCVZmr.js → Message-TROixmy1.js} +5 -5
  104. package/chunk/{Message-CEUCVZmr.js.map → Message-TROixmy1.js.map} +1 -1
  105. package/chunk/Onfido-CTCgAwnB.js +4 -4
  106. package/chunk/{PersonalInfoStepSubmitButton-CD-vfZ2W.js → PersonalInfoStepSubmitButton-CuQmqVvc.js} +6 -6
  107. package/chunk/{PersonalInfoStepSubmitButton-CD-vfZ2W.js.map → PersonalInfoStepSubmitButton-CuQmqVvc.js.map} +1 -1
  108. package/chunk/{PersonalInfoStepSubmitButton-CrB88-09.js → PersonalInfoStepSubmitButton-GwnOAcWy.js} +6 -6
  109. package/chunk/{PersonalInfoStepSubmitButton-CrB88-09.js.map → PersonalInfoStepSubmitButton-GwnOAcWy.js.map} +1 -1
  110. package/chunk/{PersonalInfoStepWrapper-Cx3INM03.js → PersonalInfoStepWrapper-DNUApKjr.js} +6 -6
  111. package/chunk/{PersonalInfoStepWrapper-Cx3INM03.js.map → PersonalInfoStepWrapper-DNUApKjr.js.map} +1 -1
  112. package/chunk/{PersonalInfoStepWrapper-DNrpE3DD.js → PersonalInfoStepWrapper-hoTD6n-G.js} +5 -5
  113. package/chunk/{PersonalInfoStepWrapper-DNrpE3DD.js.map → PersonalInfoStepWrapper-hoTD6n-G.js.map} +1 -1
  114. package/chunk/{PostalCodeComponent-CYS0aDbk.js → PostalCodeComponent-BQ7y0ygq.js} +6 -6
  115. package/chunk/{PostalCodeComponent-BzOER20j.js.map → PostalCodeComponent-BQ7y0ygq.js.map} +1 -1
  116. package/chunk/{PostalCodeComponent-BzOER20j.js → PostalCodeComponent-BwV4q_6-.js} +6 -6
  117. package/chunk/{PostalCodeComponent-CYS0aDbk.js.map → PostalCodeComponent-BwV4q_6-.js.map} +1 -1
  118. package/chunk/{SSN-BkOZOVrg.js → SSN-ClwVR0oH.js} +6 -6
  119. package/chunk/{SSN-BkOZOVrg.js.map → SSN-ClwVR0oH.js.map} +1 -1
  120. package/chunk/{SSN-Rh7SI5Xl.js → SSN-u-erpOkk.js} +6 -6
  121. package/chunk/{SSN-Rh7SI5Xl.js.map → SSN-u-erpOkk.js.map} +1 -1
  122. package/chunk/{StateSelectComponent-ucSIYnVj.js → StateSelectComponent-CWQwYWF8.js} +7 -7
  123. package/chunk/{StateSelectComponent-DjUk8jIA.js.map → StateSelectComponent-CWQwYWF8.js.map} +1 -1
  124. package/chunk/{StateSelectComponent-DjUk8jIA.js → StateSelectComponent-ChCBK2cV.js} +7 -7
  125. package/chunk/{StateSelectComponent-ucSIYnVj.js.map → StateSelectComponent-ChCBK2cV.js.map} +1 -1
  126. package/chunk/{StatusComponent-BYtArAqN.js → StatusComponent-DQOSEKFy.js} +7 -7
  127. package/chunk/{StatusComponent-BNW03jct.js.map → StatusComponent-DQOSEKFy.js.map} +1 -1
  128. package/chunk/{StatusComponent-BNW03jct.js → StatusComponent-Dc38Mb9r.js} +7 -7
  129. package/chunk/{StatusComponent-BYtArAqN.js.map → StatusComponent-Dc38Mb9r.js.map} +1 -1
  130. package/chunk/{StepAgePersonalInfo-CdXCL0bo.js → StepAgePersonalInfo-O-fJZAXz.js} +29 -29
  131. package/chunk/{StepAgePersonalInfo-CMOwbuli.js.map → StepAgePersonalInfo-O-fJZAXz.js.map} +1 -1
  132. package/chunk/{StepAgePersonalInfo-CMOwbuli.js → StepAgePersonalInfo-laL4y5lq.js} +29 -29
  133. package/chunk/{StepAgePersonalInfo-CdXCL0bo.js.map → StepAgePersonalInfo-laL4y5lq.js.map} +1 -1
  134. package/chunk/StepCard-CQGeXH7Z.js +4 -4
  135. package/chunk/StepCard-DD1BU5jb.js +4 -4
  136. package/chunk/{StepCollectIdentifier-Ct_XcHhJ.js → StepCollectIdentifier-Cjm32rgq.js} +9 -9
  137. package/chunk/{StepCollectIdentifier-Ct_XcHhJ.js.map → StepCollectIdentifier-Cjm32rgq.js.map} +1 -1
  138. package/chunk/{StepCollectIdentifier-oyMO5Tr4.js → StepCollectIdentifier-G4pFqOK9.js} +9 -9
  139. package/chunk/{StepCollectIdentifier-oyMO5Tr4.js.map → StepCollectIdentifier-G4pFqOK9.js.map} +1 -1
  140. package/chunk/StepCollectMilitaryPersonalInfoComponent-BnDLyomQ.js +247 -0
  141. package/chunk/StepCollectMilitaryPersonalInfoComponent-BnDLyomQ.js.map +1 -0
  142. package/chunk/StepCollectMilitaryPersonalInfoComponent-DxvcdUUs.js +243 -0
  143. package/chunk/StepCollectMilitaryPersonalInfoComponent-DxvcdUUs.js.map +1 -0
  144. package/chunk/StepCollectPersonalInfo-DRNLoSAw.js +370 -0
  145. package/chunk/StepCollectPersonalInfo-DRNLoSAw.js.map +1 -0
  146. package/chunk/StepCollectPersonalInfo-DcRynwwh.js +366 -0
  147. package/chunk/StepCollectPersonalInfo-DcRynwwh.js.map +1 -0
  148. package/chunk/{StepCompleteAuthentication-CVdnwB3N.js → StepCompleteAuthentication-5kcqz-By.js} +8 -8
  149. package/chunk/{StepCompleteAuthentication-CVdnwB3N.js.map → StepCompleteAuthentication-5kcqz-By.js.map} +1 -1
  150. package/chunk/{StepCompleteAuthentication-Eu1CDlzS.js → StepCompleteAuthentication-xpON0-yc.js} +8 -8
  151. package/chunk/{StepCompleteAuthentication-Eu1CDlzS.js.map → StepCompleteAuthentication-xpON0-yc.js.map} +1 -1
  152. package/chunk/{StepConsolation-BZolR-w3.js → StepConsolation-BCOW9PEV.js} +6 -6
  153. package/chunk/{StepConsolation-BNAG8sM3.js.map → StepConsolation-BCOW9PEV.js.map} +1 -1
  154. package/chunk/{StepConsolation-BNAG8sM3.js → StepConsolation-G7o48Tin.js} +6 -6
  155. package/chunk/{StepConsolation-BZolR-w3.js.map → StepConsolation-G7o48Tin.js.map} +1 -1
  156. package/chunk/{StepDocUpload-Dsz_90mk.js → StepDocUpload-CWQCHhFI.js} +7 -7
  157. package/chunk/{StepDocUpload-Dsz_90mk.js.map → StepDocUpload-CWQCHhFI.js.map} +1 -1
  158. package/chunk/{StepDocUpload-DS-p1qDq.js → StepDocUpload-DyHCicU5.js} +7 -7
  159. package/chunk/{StepDocUpload-DS-p1qDq.js.map → StepDocUpload-DyHCicU5.js.map} +1 -1
  160. package/chunk/{StepDriverLicensePersonalInfoComponent-BayW1tyu.js → StepDriverLicensePersonalInfoComponent-CRAjwgXK.js} +21 -21
  161. package/chunk/{StepDriverLicensePersonalInfoComponent-iwcy30h2.js.map → StepDriverLicensePersonalInfoComponent-CRAjwgXK.js.map} +1 -1
  162. package/chunk/{StepDriverLicensePersonalInfoComponent-iwcy30h2.js → StepDriverLicensePersonalInfoComponent-D4Lkdkgd.js} +21 -21
  163. package/chunk/{StepDriverLicensePersonalInfoComponent-BayW1tyu.js.map → StepDriverLicensePersonalInfoComponent-D4Lkdkgd.js.map} +1 -1
  164. package/chunk/{StepEmailLoop-CeAFjc1t.js → StepEmailLoop-7E6iMUNH.js} +10 -10
  165. package/chunk/{StepEmailLoop-0vsbR1ux.js.map → StepEmailLoop-7E6iMUNH.js.map} +1 -1
  166. package/chunk/{StepEmailLoop-0vsbR1ux.js → StepEmailLoop-BtNAJ4VG.js} +10 -10
  167. package/chunk/{StepEmailLoop-CeAFjc1t.js.map → StepEmailLoop-BtNAJ4VG.js.map} +1 -1
  168. package/chunk/{StepEmploymentPersonalInfo-BaHSVAYt.js → StepEmploymentPersonalInfo-BDWcx1FU.js} +44 -44
  169. package/chunk/{StepEmploymentPersonalInfo-BaHSVAYt.js.map → StepEmploymentPersonalInfo-BDWcx1FU.js.map} +1 -1
  170. package/chunk/{StepEmploymentPersonalInfo-D95RJwC0.js → StepEmploymentPersonalInfo-CiqN8uV6.js} +44 -44
  171. package/chunk/{StepEmploymentPersonalInfo-D95RJwC0.js.map → StepEmploymentPersonalInfo-CiqN8uV6.js.map} +1 -1
  172. package/chunk/StepFirstResponderPersonalInfo-BGWMMjgm.js +181 -0
  173. package/chunk/StepFirstResponderPersonalInfo-BGWMMjgm.js.map +1 -0
  174. package/chunk/StepFirstResponderPersonalInfo-DtmJru3d.js +185 -0
  175. package/chunk/StepFirstResponderPersonalInfo-DtmJru3d.js.map +1 -0
  176. package/chunk/{StepGeneralIdentityPersonalInfoComponent-C4eqogf7.js → StepGeneralIdentityPersonalInfoComponent-BZpIssl6.js} +27 -27
  177. package/chunk/{StepGeneralIdentityPersonalInfoComponent-C4eqogf7.js.map → StepGeneralIdentityPersonalInfoComponent-BZpIssl6.js.map} +1 -1
  178. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CMdeQa9t.js → StepGeneralIdentityPersonalInfoComponent-af647do9.js} +27 -27
  179. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CMdeQa9t.js.map → StepGeneralIdentityPersonalInfoComponent-af647do9.js.map} +1 -1
  180. package/chunk/{StepHybridIdentityPersonalInfoComponent-Dc-biEsG.js → StepHybridIdentityPersonalInfoComponent-CBDgcbRT.js} +29 -29
  181. package/chunk/{StepHybridIdentityPersonalInfoComponent-C49vKRTa.js.map → StepHybridIdentityPersonalInfoComponent-CBDgcbRT.js.map} +1 -1
  182. package/chunk/{StepHybridIdentityPersonalInfoComponent-C49vKRTa.js → StepHybridIdentityPersonalInfoComponent-CWVdzJCv.js} +29 -29
  183. package/chunk/{StepHybridIdentityPersonalInfoComponent-Dc-biEsG.js.map → StepHybridIdentityPersonalInfoComponent-CWVdzJCv.js.map} +1 -1
  184. package/chunk/{StepIDCheckLoop-DXe69ybE.js → StepIDCheckLoop-D6qhQn6b.js} +5 -5
  185. package/chunk/{StepIDCheckLoop-DAgSyKQ_.js.map → StepIDCheckLoop-D6qhQn6b.js.map} +1 -1
  186. package/chunk/{StepIDCheckLoop-DAgSyKQ_.js → StepIDCheckLoop-Do0-tvDI.js} +5 -5
  187. package/chunk/{StepIDCheckLoop-DXe69ybE.js.map → StepIDCheckLoop-Do0-tvDI.js.map} +1 -1
  188. package/chunk/{StepIDCheckLoopOnfido-DE6RRtgy.js → StepIDCheckLoopOnfido-DDywJIeR.js} +7 -7
  189. package/chunk/{StepIDCheckLoopOnfido-DE6RRtgy.js.map → StepIDCheckLoopOnfido-DDywJIeR.js.map} +1 -1
  190. package/chunk/{StepIDCheckLoopOnfido-BDm03j1s.js → StepIDCheckLoopOnfido-DUItWVK4.js} +7 -7
  191. package/chunk/{StepIDCheckLoopOnfido-BDm03j1s.js.map → StepIDCheckLoopOnfido-DUItWVK4.js.map} +1 -1
  192. package/chunk/{StepIDCheckLoopRegula-BFCNXKdD.js → StepIDCheckLoopRegula-CmQLTkrX.js} +7 -7
  193. package/chunk/{StepIDCheckLoopRegula-BFCNXKdD.js.map → StepIDCheckLoopRegula-CmQLTkrX.js.map} +1 -1
  194. package/chunk/{StepIDCheckLoopRegula-WHchxuwG.js → StepIDCheckLoopRegula-CvVuirKf.js} +7 -7
  195. package/chunk/{StepIDCheckLoopRegula-WHchxuwG.js.map → StepIDCheckLoopRegula-CvVuirKf.js.map} +1 -1
  196. package/chunk/StepLicensedProfessionalPersonalInfo-BhIn-AA3.js +175 -0
  197. package/chunk/StepLicensedProfessionalPersonalInfo-BhIn-AA3.js.map +1 -0
  198. package/chunk/StepLicensedProfessionalPersonalInfo-DbWrYcQ_.js +179 -0
  199. package/chunk/StepLicensedProfessionalPersonalInfo-DbWrYcQ_.js.map +1 -0
  200. package/chunk/StepLowIncomePersonalInfo-D_HBmImA.js +232 -0
  201. package/chunk/StepLowIncomePersonalInfo-D_HBmImA.js.map +1 -0
  202. package/chunk/StepLowIncomePersonalInfo-n--chtDU.js +236 -0
  203. package/chunk/StepLowIncomePersonalInfo-n--chtDU.js.map +1 -0
  204. package/chunk/StepMedicalProfessionalPersonalInfo-C6JCaext.js +211 -0
  205. package/chunk/StepMedicalProfessionalPersonalInfo-C6JCaext.js.map +1 -0
  206. package/chunk/StepMedicalProfessionalPersonalInfo-CZhrEe6o.js +207 -0
  207. package/chunk/StepMedicalProfessionalPersonalInfo-CZhrEe6o.js.map +1 -0
  208. package/chunk/{StepMemberPersonalInfo-C2lAKxWz.js → StepMemberPersonalInfo--RSWSrn4.js} +24 -24
  209. package/chunk/{StepMemberPersonalInfo-BBNRpD59.js.map → StepMemberPersonalInfo--RSWSrn4.js.map} +1 -1
  210. package/chunk/{StepMemberPersonalInfo-BBNRpD59.js → StepMemberPersonalInfo-D25hjill.js} +24 -24
  211. package/chunk/{StepMemberPersonalInfo-C2lAKxWz.js.map → StepMemberPersonalInfo-D25hjill.js.map} +1 -1
  212. package/chunk/{StepMoverPersonalInfo-Bi3P8xzM.js → StepMoverPersonalInfo-Bd1budZI.js} +21 -21
  213. package/chunk/{StepMoverPersonalInfo-Bi3P8xzM.js.map → StepMoverPersonalInfo-Bd1budZI.js.map} +1 -1
  214. package/chunk/{StepMoverPersonalInfo-PaACiqXz.js → StepMoverPersonalInfo-b38J1JqS.js} +21 -21
  215. package/chunk/{StepMoverPersonalInfo-PaACiqXz.js.map → StepMoverPersonalInfo-b38J1JqS.js.map} +1 -1
  216. package/chunk/{StepOverrideComponent-B_6eLxRe.js → StepOverrideComponent-CiqRKexX.js} +7 -7
  217. package/chunk/{StepOverrideComponent-B_6eLxRe.js.map → StepOverrideComponent-CiqRKexX.js.map} +1 -1
  218. package/chunk/{StepOverrideComponent-Dxi0sX5t.js → StepOverrideComponent-c8O0Smnb.js} +7 -7
  219. package/chunk/{StepOverrideComponent-Dxi0sX5t.js.map → StepOverrideComponent-c8O0Smnb.js.map} +1 -1
  220. package/chunk/{StepSMSLoop-R68G4Wba.js → StepSMSLoop-B3hkEQDG.js} +5 -5
  221. package/chunk/{StepSMSLoop-CQrkgelG.js.map → StepSMSLoop-B3hkEQDG.js.map} +1 -1
  222. package/chunk/{StepSMSLoop-CQrkgelG.js → StepSMSLoop-C-HznICP.js} +5 -5
  223. package/chunk/{StepSMSLoop-R68G4Wba.js.map → StepSMSLoop-C-HznICP.js.map} +1 -1
  224. package/chunk/StepSSO-BGHCbduX.js +4 -4
  225. package/chunk/StepSSO-ZHByQpHa.js +4 -4
  226. package/chunk/{StepSocialSecurityNumber-Bw74kdv1.js → StepSocialSecurityNumber--bK8TwxM.js} +11 -11
  227. package/chunk/{StepSocialSecurityNumber-Bw74kdv1.js.map → StepSocialSecurityNumber--bK8TwxM.js.map} +1 -1
  228. package/chunk/{StepSocialSecurityNumber-Cc_aNnOy.js → StepSocialSecurityNumber-D-S0s81B.js} +11 -11
  229. package/chunk/{StepSocialSecurityNumber-Cc_aNnOy.js.map → StepSocialSecurityNumber-D-S0s81B.js.map} +1 -1
  230. package/chunk/{StepStudentPersonalInfo-uhK23XMF.js → StepStudentPersonalInfo-BAc9QmMn.js} +69 -74
  231. package/chunk/StepStudentPersonalInfo-BAc9QmMn.js.map +1 -0
  232. package/chunk/{StepStudentPersonalInfo-DuFw8izC.js → StepStudentPersonalInfo-DQ8oCfdE.js} +69 -74
  233. package/chunk/StepStudentPersonalInfo-DQ8oCfdE.js.map +1 -0
  234. package/chunk/{StepSuccess-B9ZroXYj.js → StepSuccess-0PqmUdFL.js} +7 -7
  235. package/chunk/{StepSuccess-CKt_BMjW.js.map → StepSuccess-0PqmUdFL.js.map} +1 -1
  236. package/chunk/{StepSuccess-CKt_BMjW.js → StepSuccess-D6kosHAA.js} +7 -7
  237. package/chunk/{StepSuccess-B9ZroXYj.js.map → StepSuccess-D6kosHAA.js.map} +1 -1
  238. package/chunk/{StepTeacherPersonalInfo-BsiSorRf.js → StepTeacherPersonalInfo-BIvT1HlM.js} +25 -25
  239. package/chunk/{StepTeacherPersonalInfo-BsiSorRf.js.map → StepTeacherPersonalInfo-BIvT1HlM.js.map} +1 -1
  240. package/chunk/{StepTeacherPersonalInfo-CUHteKfs.js → StepTeacherPersonalInfo-CX-QvAFx.js} +25 -25
  241. package/chunk/{StepTeacherPersonalInfo-CUHteKfs.js.map → StepTeacherPersonalInfo-CX-QvAFx.js.map} +1 -1
  242. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
  243. package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
  244. package/chunk/{TeacherSchoolComponent-B__-He9W.js → TeacherSchoolComponent-DCMr56C0.js} +8 -8
  245. package/chunk/{TeacherSchoolComponent-BKgXQlin.js.map → TeacherSchoolComponent-DCMr56C0.js.map} +1 -1
  246. package/chunk/{TeacherSchoolComponent-BKgXQlin.js → TeacherSchoolComponent-DRNiHn0H.js} +8 -8
  247. package/chunk/{TeacherSchoolComponent-B__-He9W.js.map → TeacherSchoolComponent-DRNiHn0H.js.map} +1 -1
  248. package/chunk/TestingRouteOverrides-BbCY31VT.js +4 -4
  249. package/chunk/TestingRouteOverrides-DEu_4afz.js +4 -4
  250. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  251. package/chunk/ar-D5CO913q.js +4 -4
  252. package/chunk/bg-1mhA5kYF.js +4 -4
  253. package/chunk/bn-IN-CpDqyRb_.js +4 -4
  254. package/chunk/clsx-CB5rauS5.js +4 -4
  255. package/chunk/countryUtils-Dn17xbSI.js +12 -0
  256. package/chunk/{countryUtils-CFTIxZHq.js.map → countryUtils-Dn17xbSI.js.map} +1 -1
  257. package/chunk/{countryUtils-CyHB2r3w.js → countryUtils-DoVJSI8W.js} +5 -5
  258. package/chunk/{countryUtils-CyHB2r3w.js.map → countryUtils-DoVJSI8W.js.map} +1 -1
  259. package/chunk/cs-Chh7FAGt.js +4 -4
  260. package/chunk/da-DwrVoxto.js +4 -4
  261. package/chunk/de-IWGZLhgY.js +4 -4
  262. package/chunk/{downshift.esm-DeT5EUQU.js → downshift.esm--NTaU4XK.js} +5 -5
  263. package/chunk/{downshift.esm-CtkqL7IP.js.map → downshift.esm--NTaU4XK.js.map} +1 -1
  264. package/chunk/{downshift.esm-CtkqL7IP.js → downshift.esm-BGnGkwiG.js} +5 -5
  265. package/chunk/{downshift.esm-DeT5EUQU.js.map → downshift.esm-BGnGkwiG.js.map} +1 -1
  266. package/chunk/el-DbDcvSPJ.js +4 -4
  267. package/chunk/empties-B034wwK_.js +4 -4
  268. package/chunk/empties-lrCPA-9V.js +4 -4
  269. package/chunk/en-GB-CNQ8Ww2j.js +4 -4
  270. package/chunk/es-ES-DWimqEZ_.js +4 -4
  271. package/chunk/es-qhC-seq5.js +4 -4
  272. package/chunk/et-yF9G-Mym.js +4 -4
  273. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  274. package/chunk/fa-BcdSf7og.js +4 -4
  275. package/chunk/fi-D-IP_KHm.js +4 -4
  276. package/chunk/fr-BmUuYxk0.js +4 -4
  277. package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
  278. package/chunk/ga-DuZycND3.js +4 -4
  279. package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
  280. package/chunk/hooks-Bu8Px0Ok.js +4 -4
  281. package/chunk/hooks-DSoorQS3.js +4 -4
  282. package/chunk/hr-BtqyDzDB.js +4 -4
  283. package/chunk/hu-C6syKJfb.js +4 -4
  284. package/chunk/id-GgI-Z2a5.js +4 -4
  285. package/chunk/intl-DYOqmiaL.js +4 -4
  286. package/chunk/is-CvmKEON9.js +4 -4
  287. package/chunk/it-CnmveGgC.js +4 -4
  288. package/chunk/iw-DFUYHkxF.js +4 -4
  289. package/chunk/ja-CjVb2tWW.js +4 -4
  290. package/chunk/jsx-runtime-338NbZob.js +4 -4
  291. package/chunk/jsx-runtime-B6t5B3Mb.js +4 -4
  292. package/chunk/kk-Dvz4nK6K.js +4 -4
  293. package/chunk/ko-DzOqBMGC.js +4 -4
  294. package/chunk/lo-C2WPq55d.js +4 -4
  295. package/chunk/lt-BSDYvjTF.js +4 -4
  296. package/chunk/lv-CefDPT-M.js +4 -4
  297. package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
  298. package/chunk/mocks-BQNtP7qW.js +4 -4
  299. package/chunk/mocks-DC7WJf5c.js +4 -4
  300. package/chunk/ms-BjestZxy.js +4 -4
  301. package/chunk/nl-B1FyUfCT.js +4 -4
  302. package/chunk/nl-BE-CbeAd3nq.js +4 -4
  303. package/chunk/no-Dr633Ddi.js +4 -4
  304. package/chunk/options-DsRV5fwh.js +4 -4
  305. package/chunk/pl-UYTjMIq_.js +4 -4
  306. package/chunk/{programThemeGetters-CVbMoRhw.js → programThemeGetters-Df5v2sTO.js} +5 -5
  307. package/chunk/{programThemeGetters-CVbMoRhw.js.map → programThemeGetters-Df5v2sTO.js.map} +1 -1
  308. package/chunk/{programThemeGetters-DXLr_Q4_.js → programThemeGetters-DmWeluMk.js} +5 -5
  309. package/chunk/{programThemeGetters-DXLr_Q4_.js.map → programThemeGetters-DmWeluMk.js.map} +1 -1
  310. package/chunk/pt-BR-C8SYMT-J.js +4 -4
  311. package/chunk/pt-uH-M3GdN.js +4 -4
  312. package/chunk/refs-Mq0rtW9K.js +4 -4
  313. package/chunk/ro-CAOSXZ7h.js +4 -4
  314. package/chunk/ru-iwYoEydL.js +4 -4
  315. package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
  316. package/chunk/sk-DYYNV3zw.js +4 -4
  317. package/chunk/sl-D_-eeM5N.js +4 -4
  318. package/chunk/sr-BTi9_anL.js +4 -4
  319. package/chunk/{stepComponentHelpers-CvC0Nxhe.js → stepComponentHelpers-J67LZsd0.js} +16 -22
  320. package/chunk/stepComponentHelpers-J67LZsd0.js.map +1 -0
  321. package/chunk/{stepComponentHelpers-HOnoMkIF.js → stepComponentHelpers-hkvp2qUS.js} +16 -22
  322. package/chunk/stepComponentHelpers-hkvp2qUS.js.map +1 -0
  323. package/chunk/strings-DWLVdUcm.js +4 -4
  324. package/chunk/sv-DRwY4shG.js +4 -4
  325. package/chunk/sw-Bvj2mYmM.js +4 -4
  326. package/chunk/ta-CmtaYoNe.js +4 -4
  327. package/chunk/th-12r2yKkJ.js +4 -4
  328. package/chunk/tl-BGNfO7md.js +4 -4
  329. package/chunk/tr-DH2ZSJhs.js +4 -4
  330. package/chunk/uk-CELBZlTd.js +4 -4
  331. package/chunk/ur-MR8DTbmd.js +4 -4
  332. package/chunk/{useCollectFieldsEndpoint-DlHC1_Qi.js → useCollectFieldsEndpoint-CQeQ7JOB.js} +6 -6
  333. package/chunk/{useCollectFieldsEndpoint-DlHC1_Qi.js.map → useCollectFieldsEndpoint-CQeQ7JOB.js.map} +1 -1
  334. package/chunk/{useCollectFieldsEndpoint-VZhNaKRq.js → useCollectFieldsEndpoint-DzxiHifj.js} +6 -6
  335. package/chunk/{useCollectFieldsEndpoint-VZhNaKRq.js.map → useCollectFieldsEndpoint-DzxiHifj.js.map} +1 -1
  336. package/chunk/useMetrics-C3RIqUJI.js +4 -4
  337. package/chunk/useMetrics-dwc-Zjl_.js +4 -4
  338. package/chunk/vi-DtZ-SqD5.js +4 -4
  339. package/chunk/zh-DjyVyYac.js +4 -4
  340. package/chunk/zh-HK-CN1HarHq.js +4 -4
  341. package/chunk/zu-DPhgIh1z.js +4 -4
  342. package/package.json +1 -1
  343. package/sheerid-install.css +4 -4
  344. package/sheerid-install.js +4 -4
  345. package/sheerid.css +4 -4
  346. package/sheerid.js +38 -38
  347. package/chunk/FormSelectChoice-DiD_fv-5.js.map +0 -1
  348. package/chunk/FormSelectChoice-EuY3K8M7.js.map +0 -1
  349. package/chunk/StepCollectMilitaryPersonalInfoComponent-CCCVPk8-.js +0 -249
  350. package/chunk/StepCollectMilitaryPersonalInfoComponent-CCCVPk8-.js.map +0 -1
  351. package/chunk/StepCollectMilitaryPersonalInfoComponent-JWgkagFS.js +0 -245
  352. package/chunk/StepCollectMilitaryPersonalInfoComponent-JWgkagFS.js.map +0 -1
  353. package/chunk/StepCollectPersonalInfo-BBSf_U2H.js +0 -372
  354. package/chunk/StepCollectPersonalInfo-BBSf_U2H.js.map +0 -1
  355. package/chunk/StepCollectPersonalInfo-C4YFAM36.js +0 -368
  356. package/chunk/StepCollectPersonalInfo-C4YFAM36.js.map +0 -1
  357. package/chunk/StepFirstResponderPersonalInfo-Cti4_9R0.js +0 -187
  358. package/chunk/StepFirstResponderPersonalInfo-Cti4_9R0.js.map +0 -1
  359. package/chunk/StepFirstResponderPersonalInfo-DvnQoYv3.js +0 -183
  360. package/chunk/StepFirstResponderPersonalInfo-DvnQoYv3.js.map +0 -1
  361. package/chunk/StepLicensedProfessionalPersonalInfo-CMXJE07N.js +0 -181
  362. package/chunk/StepLicensedProfessionalPersonalInfo-CMXJE07N.js.map +0 -1
  363. package/chunk/StepLicensedProfessionalPersonalInfo-CvPf_pKl.js +0 -177
  364. package/chunk/StepLicensedProfessionalPersonalInfo-CvPf_pKl.js.map +0 -1
  365. package/chunk/StepLowIncomePersonalInfo-BNRPtMsh.js +0 -234
  366. package/chunk/StepLowIncomePersonalInfo-BNRPtMsh.js.map +0 -1
  367. package/chunk/StepLowIncomePersonalInfo-dAYWpN1Z.js +0 -238
  368. package/chunk/StepLowIncomePersonalInfo-dAYWpN1Z.js.map +0 -1
  369. package/chunk/StepMedicalProfessionalPersonalInfo-D1_DA_oF.js +0 -213
  370. package/chunk/StepMedicalProfessionalPersonalInfo-D1_DA_oF.js.map +0 -1
  371. package/chunk/StepMedicalProfessionalPersonalInfo-DsaYh9dA.js +0 -209
  372. package/chunk/StepMedicalProfessionalPersonalInfo-DsaYh9dA.js.map +0 -1
  373. package/chunk/StepStudentPersonalInfo-DuFw8izC.js.map +0 -1
  374. package/chunk/StepStudentPersonalInfo-uhK23XMF.js.map +0 -1
  375. package/chunk/countryUtils-CFTIxZHq.js +0 -12
  376. package/chunk/stepComponentHelpers-CvC0Nxhe.js.map +0 -1
  377. package/chunk/stepComponentHelpers-HOnoMkIF.js.map +0 -1
@@ -1,249 +0,0 @@
1
-
2
- /**
3
- * WARNING: This file is intended to be used within MySheerID.
4
- * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
- */
6
- /**
7
- * VERSION: 2.293.0
8
- * BUILD_TIMESTAMP: 1790101528001
9
- * BUILD_DATE: Tue Sep 22 2026 18:25:28 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 00fab93cde3d7a4fa864bf23fd76ab6952622776
11
- */
12
- import { p as e, s as t } from "./intl-DYOqmiaL.js";
13
- import { b as n } from "./runtimeTypes-B2AGNJMT.js";
14
- import { a as r, n as i, t as a } from "./jsx-runtime-B6t5B3Mb.js";
15
- import { p as o } from "./FormFooterComponent-DcKXPYSW.js";
16
- import { a as s } from "./refs-Mq0rtW9K.js";
17
- import { t as c } from "../_mysheerid-preview.js";
18
- import { t as l } from "./useCollectFieldsEndpoint-DlHC1_Qi.js";
19
- import { a as u, i as d, m as f, p, r as m, t as h } from "./stepComponentHelpers-CvC0Nxhe.js";
20
- import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-1QN8Diwc.js";
21
- import { n as S, t as C } from "./PersonalInfoStepSubmitButton-CrB88-09.js";
22
- import { t as w } from "./BirthDateComponent-C8TH6zhC.js";
23
- import { t as T } from "./PostalCodeComponent-CYS0aDbk.js";
24
- import { t as E } from "./CountryComponentWrapper-BriofJKE.js";
25
- import { t as D } from "./City-BAUe7lNj.js";
26
- import { t as O } from "./AddressComponent-CglwEa12.js";
27
- import { t as k } from "./ExtraMessage-B5w5QVkn.js";
28
- import { t as A } from "./ChangeLocaleComponent-DuUnRYy4.js";
29
- import { t as j } from "./PersonalInfoStepWrapper-Cx3INM03.js";
30
- import { t as M } from "./countryUtils-CyHB2r3w.js";
31
- import { t as N } from "./StateSelectComponent-DjUk8jIA.js";
32
- import { n as P, r as F, t as I } from "./DischargeDateComponent-CeEZ1mSx.js";
33
- import { t as L } from "./StatusComponent-BNW03jct.js";
34
- //#region src/components/StepMilitaryPersonalInfo/militaryStepHelpers.ts
35
- var R = (t, n, r, i) => {
36
- let a = r.viewModel;
37
- return e(a, (e) => {
38
- e[t] = n;
39
- let r = ["status"];
40
- e.fieldsToSkipValidation = (e.fieldsToSkipValidation || []).filter((e) => !r.includes(e)), (!i || i.length === 0) && e.fieldsToSkipValidation.push("status"), t === "status" && (e.organization = {
41
- id: 0,
42
- name: ""
43
- });
44
- });
45
- }, z = a(), B = ({ intl: e, verificationService: r }) => {
46
- let a = r.viewModel, { fieldValidationErrors: B } = r, V = r.verificationResponse, H = o(V), U = V.currentStep === n.collectInactiveMilitaryPersonalInfo || r.programTheme.transitionalMilitaryValidityDays ? [{ key: "dischargeDate" }] : [], { availableStatuses: W, isFieldRequired: G, isFieldOptional: K } = l({
47
- verificationId: V.verificationId,
48
- currentStep: n.collectMilitaryPersonalInfo,
49
- viewModel: a,
50
- defaultRequiredFields: U
51
- }), q = a.countryChoice?.value, J = M(r.programTheme, q), Y = d(e, W ?? V.availableStatuses ?? r.previousVerificationResponse?.availableStatuses), X = a.localeChoice.value, Z = t(), Q = G("dischargeDate") || K("dischargeDate"), $ = (e, t) => {
52
- r.updateViewModel(R(e, t, r, Y));
53
- };
54
- return s(), /* @__PURE__ */ (0, z.jsxs)(j, {
55
- verificationService: r,
56
- step: V.currentStep,
57
- className: "sid-military-personal-info-container",
58
- children: [/* @__PURE__ */ (0, z.jsx)(c, {
59
- verificationService: r,
60
- classNameIdentifier: "active-military-personal-info"
61
- }), /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
62
- /* @__PURE__ */ (0, z.jsx)(A, { verificationService: r }),
63
- /* @__PURE__ */ (0, z.jsx)(E, {
64
- verificationService: r,
65
- disabled: h("country")?.disabled
66
- }),
67
- Y.length > 0 ? /* @__PURE__ */ (0, z.jsx)(L, {
68
- segmentId: "military",
69
- value: {
70
- value: a.status,
71
- label: m(e, a.status)
72
- },
73
- isErrored: !!B.status,
74
- errorId: "invalidMilitaryStatus",
75
- options: Y,
76
- disabled: J || h("status")?.disabled,
77
- explanation: J ? /* @__PURE__ */ (0, z.jsx)(i, {
78
- id: "chooseCountry",
79
- defaultMessage: "Choose a country first"
80
- }) : void 0,
81
- onChange: (e) => {
82
- $("status", e ? e.value : ""), p("status", e ? e.value : "", r);
83
- }
84
- }) : null,
85
- /* @__PURE__ */ (0, z.jsx)(P, {
86
- isErrored: !!B.organization,
87
- onChange: (e) => {
88
- f(e, r), p("organization", e, r);
89
- },
90
- value: {
91
- value: a.organization.id,
92
- label: a.organization.name
93
- },
94
- verificationService: r,
95
- disabled: h("organization")?.disabled
96
- }),
97
- /* @__PURE__ */ (0, z.jsxs)("div", {
98
- className: "sid-names",
99
- children: [/* @__PURE__ */ (0, z.jsx)(g, {
100
- value: a.firstName,
101
- isErrored: !!B.firstName,
102
- disabled: h("firstName")?.disabled,
103
- onChange: (e) => {
104
- $("firstName", e), p("firstName", e, r);
105
- }
106
- }), /* @__PURE__ */ (0, z.jsx)(_, {
107
- value: a.lastName,
108
- isErrored: !!B.lastName,
109
- disabled: h("lastName")?.disabled,
110
- onChange: (e) => {
111
- $("lastName", e), p("lastName", e, r);
112
- }
113
- })]
114
- }),
115
- /* @__PURE__ */ (0, z.jsx)(w, {
116
- errorId: B.birthDate,
117
- locale: X,
118
- onChange: (e) => {
119
- $("birthDate", e), p("birthDate", e, r);
120
- },
121
- value: a.birthDate,
122
- disabled: h("birthDate")?.disabled
123
- }),
124
- Q && /* @__PURE__ */ (0, z.jsx)(I, {
125
- mode: r.programTheme.transitionalMilitaryValidityDays ? "date" : "month",
126
- errorId: B.dischargeDate,
127
- onChange: (e) => {
128
- $("dischargeDate", e), p("dischargeDate", e, r);
129
- },
130
- value: a.dischargeDate,
131
- locale: X,
132
- disabled: h("dischargeDate")?.disabled,
133
- isRequired: G("dischargeDate")
134
- }),
135
- r.programTheme.strictMilitaryValidationEnabled && /* @__PURE__ */ (0, z.jsx)(F, {
136
- errorId: B.activeDutyStartDate,
137
- locale: X,
138
- onChange: (e) => {
139
- $("activeDutyStartDate", e), p("activeDutyStartDate", e, r);
140
- },
141
- value: a.activeDutyStartDate,
142
- disabled: h("activeDutyStartDate")?.disabled,
143
- isRequired: h("activeDutyStartDate")?.requireIfOptional
144
- }),
145
- /* @__PURE__ */ (0, z.jsx)(S, {
146
- value: a.email,
147
- isErrored: !!B.email,
148
- explanation: /* @__PURE__ */ (0, z.jsx)(i, {
149
- id: "emailExplanation",
150
- defaultMessage: "Personal email address is recommended"
151
- }),
152
- onChange: (e) => {
153
- $("email", e), p("email", e, r);
154
- },
155
- onKeyDown: (e) => u(e),
156
- disabled: h("email")?.disabled
157
- }),
158
- r.programTheme.isSmsNotifierConfigured || r.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, z.jsx)(y, {
159
- isRequired: !!r.programTheme.smsLoopEnabled,
160
- value: a.phoneNumber,
161
- isErrored: !!B.phoneNumber,
162
- onChange: (e) => {
163
- $("phoneNumber", e), p("phoneNumber", e, r);
164
- },
165
- selectedCountryCode: a.countryChoice && a.countryChoice.value,
166
- disabled: h("phoneNumber")?.disabled
167
- }) : null,
168
- K("address1") && /* @__PURE__ */ (0, z.jsx)(O, {
169
- value: a.address1,
170
- isErrored: !!B.address1,
171
- errorId: B.address1,
172
- disabled: h("address1")?.disabled,
173
- onChange: (e) => {
174
- $("address1", e), p("address1", e, r);
175
- },
176
- isRequired: h("address1")?.requireIfOptional
177
- }),
178
- K("city") && /* @__PURE__ */ (0, z.jsx)(D, {
179
- value: a.city,
180
- isErrored: !!B.city,
181
- errorId: B.city,
182
- disabled: h("city")?.disabled,
183
- onChange: (e) => {
184
- $("city", e), p("city", e, r);
185
- },
186
- isRequired: h("city")?.requireIfOptional
187
- }),
188
- K("state") && /* @__PURE__ */ (0, z.jsx)(N, {
189
- value: a.state || void 0,
190
- isErrored: !!B.state,
191
- onChange: async (e) => {
192
- let t = e ? e.value : void 0;
193
- $("state", t), p("state", t, r);
194
- },
195
- label: /* @__PURE__ */ (0, z.jsx)(i, {
196
- id: "state",
197
- defaultMessage: "State"
198
- }),
199
- disabled: h("state")?.disabled,
200
- isRequired: h("state")?.requireIfOptional
201
- }),
202
- K("postalCode") && /* @__PURE__ */ (0, z.jsx)(T, {
203
- required: h("postalCode")?.requireIfOptional,
204
- isErrored: !!B.postalCode,
205
- onChange: (e) => {
206
- $("postalCode", e), p("postalCode", e, r);
207
- },
208
- value: a.postalCode,
209
- disabled: h("postalCode")?.disabled
210
- }),
211
- Z.customFormFields.map((e) => /* @__PURE__ */ (0, z.jsx)(v, {
212
- config: e,
213
- verificationService: r
214
- })),
215
- /* @__PURE__ */ (0, z.jsx)(b, {
216
- verificationService: r,
217
- isErrored: !!B.marketConsentValue,
218
- onChange: (e) => {
219
- $("metadata", {
220
- ...r.viewModel.metadata,
221
- marketConsentValue: e
222
- }), p("marketConsentValue", e, r);
223
- },
224
- viewModel: a,
225
- disabled: h("marketConsentValue")?.disabled
226
- }),
227
- /* @__PURE__ */ (0, z.jsx)(k, {
228
- verificationService: r,
229
- suffix: "CollectAboveSubmit"
230
- }),
231
- /* @__PURE__ */ (0, z.jsx)(x, {
232
- verificationService: r,
233
- isErrored: !!B.captchaToken
234
- }),
235
- /* @__PURE__ */ (0, z.jsx)(C, {
236
- step: V.currentStep,
237
- verificationService: r,
238
- viewModel: a,
239
- failedInstantMatch: H,
240
- buttonText: /* @__PURE__ */ (0, z.jsx)(i, {
241
- id: "step.personalInfo.submitButtonText",
242
- defaultMessage: "Verify My Military Status"
243
- })
244
- })
245
- ] })]
246
- });
247
- }, V = r(B);
248
- //#endregion
249
- export { B as StepCollectMilitaryPersonalInfo, V as StepCollectMilitaryPersonalInfoComponent, V as default };
@@ -1 +0,0 @@
1
- {"version":3,"file":"StepCollectMilitaryPersonalInfoComponent-CCCVPk8-.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/militaryStepHelpers.ts","../../src/components/StepMilitaryPersonalInfo/StepCollectMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["import produce from \"immer\";\n\nimport {\n type VerificationService,\n type FormSelectChoice,\n type MilitaryPersonalInfoViewModel,\n} from \"../../lib/types/types\";\n\nexport const updateMilitaryViewModel = (\n key: keyof MilitaryPersonalInfoViewModel,\n value: any,\n verificationService: VerificationService,\n availableStatuses: FormSelectChoice[],\n): MilitaryPersonalInfoViewModel => {\n const viewModel = verificationService.viewModel as MilitaryPersonalInfoViewModel;\n return produce(viewModel, (draft: MilitaryPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n\n // Reset military-managed skip flags before reapplying.\n const militaryManagedFields = [\"status\"];\n draft.fieldsToSkipValidation = (draft.fieldsToSkipValidation || []).filter(\n (id) => !militaryManagedFields.includes(id),\n );\n\n if (!availableStatuses || availableStatuses.length === 0) {\n draft.fieldsToSkipValidation.push(\"status\");\n }\n\n if (key === \"status\") {\n draft.organization = { id: 0, name: \"\" };\n }\n });\n};\n","import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type CollectInfoSteps, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MilitaryPersonalInfoViewModel,\n type ActiveMilitaryPersonalInfoResponse,\n type InactiveMilitaryPersonalInfoResponse,\n type MilitaryStatusResponse,\n type CustomFormFieldConfig,\n type FieldDescription,\n type State,\n} from \"../../lib/types/types\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getStatusLabel,\n getStatusOptions,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { getOptions } from \"../../options/options\";\n\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\ninterface Props {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepCollectMilitaryPersonalInfo = ({ intl, verificationService }: Props) => {\n const viewModel = verificationService.viewModel as MilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as\n | ActiveMilitaryPersonalInfoResponse\n | InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n // Seed: show dischargeDate on first paint when the response indicates an\n // inactive flow, or when the program's transitional validity window applies.\n // The /fields response replaces this once it resolves.\n const showDischargeDateInitially =\n verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo ||\n !!verificationService.programTheme.transitionalMilitaryValidityDays;\n const initialRequiredFields: FieldDescription[] = showDischargeDateInitially\n ? [{ key: \"dischargeDate\" }]\n : [];\n\n const {\n availableStatuses: dynamicStatuses,\n isFieldRequired,\n isFieldOptional,\n } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: VerificationStepsEnum.collectMilitaryPersonalInfo,\n viewModel,\n defaultRequiredFields: initialRequiredFields,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ??\n (verificationResponse as unknown as MilitaryStatusResponse).availableStatuses ??\n (verificationService.previousVerificationResponse as MilitaryStatusResponse)\n ?.availableStatuses,\n );\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const showDischargeDate = isFieldRequired(\"dischargeDate\") || isFieldOptional(\"dischargeDate\");\n\n const updateMilitary = (key: keyof MilitaryPersonalInfoViewModel, value: any) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, statusOptions),\n );\n };\n\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {statusOptions.length > 0 ? (\n <MilitaryStatusComponent\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updateMilitary(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: viewModel.organization.id,\n label: viewModel.organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMilitary(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMilitary(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateMilitary(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {showDischargeDate && (\n <DischargeDate\n mode={\n verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateMilitary(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n isRequired={isFieldRequired(\"dischargeDate\")}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateMilitary(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateMilitary(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMilitary(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {isFieldOptional(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateMilitary(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateMilitary(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"state\") && (\n <StateSelectComponent\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateMilitary(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMilitary(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMilitary(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={verificationResponse.currentStep as CollectInfoSteps}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepCollectMilitaryPersonalInfoComponent = injectIntl(StepCollectMilitaryPersonalInfo);\nexport default StepCollectMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAa,KACX,GACA,GACA,GACA,MACkC;CAClC,IAAM,IAAY,EAAoB;CACtC,OAAO,EAAQ,IAAY,MAAyC;EAClE,EAAO,KAAe;EAGtB,IAAM,IAAwB,CAAC,QAAQ;EASvC,AARA,EAAM,0BAA0B,EAAM,0BAA0B,CAAC,GAAG,QACjE,MAAO,CAAC,EAAsB,SAAS,CAAE,CAC5C,IAEI,CAAC,KAAqB,EAAkB,WAAW,MACrD,EAAM,uBAAuB,KAAK,QAAQ,GAGxC,MAAQ,aACV,EAAM,eAAe;GAAE,IAAI;GAAG,MAAM;EAAG;CAE3C,CAAC;AACH,YC2Ba,KAAmC,EAAE,SAAM,6BAAiC;CACvF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAG3C,IAAqB,EAAsB,CAAoB,GAS/D,IAHJ,EAAqB,gBACnB,EAAsB,uCACtB,EAAoB,aAAa,mCAEjC,CAAC,EAAE,KAAK,gBAAgB,CAAC,IACzB,CAAC,GAEC,EACJ,mBAAmB,GACnB,oBACA,uBACE,EAAyB;EAC3B,gBAAgB,EAAqB;EACrC,aAAa,EAAsB;EACnC;EACA,uBAAuB;CACzB,CAAC,GAEK,IAAqB,EAAU,eAAe,OAC9C,IAAoB,EACxB,EAAoB,cACpB,CACF,GAEM,IAAgB,EACpB,GACA,KACG,EAA2D,qBAC3D,EAAoB,8BACjB,iBACR,GAEM,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,IAAoB,EAAgB,eAAe,KAAK,EAAgB,eAAe,GAEvF,KAAkB,GAA0C,MAAe;EA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BAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA2C,EAAW,CAA+B"}
@@ -1,245 +0,0 @@
1
-
2
- /**
3
- * VERSION: 2.293.0
4
- * BUILD_TIMESTAMP: 1790101523842
5
- * BUILD_DATE: Tue Sep 22 2026 18:25:23 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 00fab93cde3d7a4fa864bf23fd76ab6952622776
7
- */
8
- import { c as e, n as t } from "./options-DsRV5fwh.js";
9
- import { a as n, n as r, t as i } from "./jsx-runtime-338NbZob.js";
10
- import { b as a } from "./runtimeTypes-B2AGNJMT.js";
11
- import { h as o } from "./FormFooterComponent-ChbgdbyW.js";
12
- import { a as s } from "./refs-Mq0rtW9K.js";
13
- import { n as c } from "../sheerid.js";
14
- import { t as l } from "./useCollectFieldsEndpoint-VZhNaKRq.js";
15
- import { a as u, i as d, m as f, p, r as m, t as h } from "./stepComponentHelpers-HOnoMkIF.js";
16
- import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-CvmkQ_5D.js";
17
- import { n as S, t as C } from "./PersonalInfoStepSubmitButton-CD-vfZ2W.js";
18
- import { t as w } from "./BirthDateComponent-DoxUuygs.js";
19
- import { t as T } from "./PostalCodeComponent-BzOER20j.js";
20
- import { t as E } from "./CountryComponentWrapper-S7tjrj1n.js";
21
- import { t as D } from "./City-BBwhhp0r.js";
22
- import { t as O } from "./AddressComponent-CmJnOMbH.js";
23
- import { t as k } from "./ExtraMessage-D4cO9DeJ.js";
24
- import { t as A } from "./ChangeLocaleComponent-ZNY5d0nd.js";
25
- import { t as j } from "./PersonalInfoStepWrapper-DNrpE3DD.js";
26
- import { t as M } from "./countryUtils-CFTIxZHq.js";
27
- import { t as N } from "./StateSelectComponent-ucSIYnVj.js";
28
- import { n as P, r as F, t as I } from "./DischargeDateComponent-Cbnod0KG.js";
29
- import { t as L } from "./StatusComponent-BYtArAqN.js";
30
- //#region src/components/StepMilitaryPersonalInfo/militaryStepHelpers.ts
31
- var R = (t, n, r, i) => {
32
- let a = r.viewModel;
33
- return e(a, (e) => {
34
- e[t] = n;
35
- let r = ["status"];
36
- e.fieldsToSkipValidation = (e.fieldsToSkipValidation || []).filter((e) => !r.includes(e)), (!i || i.length === 0) && e.fieldsToSkipValidation.push("status"), t === "status" && (e.organization = {
37
- id: 0,
38
- name: ""
39
- });
40
- });
41
- }, z = i(), B = ({ intl: e, verificationService: n }) => {
42
- let i = n.viewModel, { fieldValidationErrors: B } = n, V = n.verificationResponse, H = o(V), U = V.currentStep === a.collectInactiveMilitaryPersonalInfo || n.programTheme.transitionalMilitaryValidityDays ? [{ key: "dischargeDate" }] : [], { availableStatuses: W, isFieldRequired: G, isFieldOptional: K } = l({
43
- verificationId: V.verificationId,
44
- currentStep: a.collectMilitaryPersonalInfo,
45
- viewModel: i,
46
- defaultRequiredFields: U
47
- }), q = i.countryChoice?.value, J = M(n.programTheme, q), Y = d(e, W ?? V.availableStatuses ?? n.previousVerificationResponse?.availableStatuses), X = i.localeChoice.value, Z = t(), Q = G("dischargeDate") || K("dischargeDate"), $ = (e, t) => {
48
- n.updateViewModel(R(e, t, n, Y));
49
- };
50
- return s(), /* @__PURE__ */ (0, z.jsxs)(j, {
51
- verificationService: n,
52
- step: V.currentStep,
53
- className: "sid-military-personal-info-container",
54
- children: [/* @__PURE__ */ (0, z.jsx)(c, {
55
- verificationService: n,
56
- classNameIdentifier: "active-military-personal-info"
57
- }), /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
58
- /* @__PURE__ */ (0, z.jsx)(A, { verificationService: n }),
59
- /* @__PURE__ */ (0, z.jsx)(E, {
60
- verificationService: n,
61
- disabled: h("country")?.disabled
62
- }),
63
- Y.length > 0 ? /* @__PURE__ */ (0, z.jsx)(L, {
64
- segmentId: "military",
65
- value: {
66
- value: i.status,
67
- label: m(e, i.status)
68
- },
69
- isErrored: !!B.status,
70
- errorId: "invalidMilitaryStatus",
71
- options: Y,
72
- disabled: J || h("status")?.disabled,
73
- explanation: J ? /* @__PURE__ */ (0, z.jsx)(r, {
74
- id: "chooseCountry",
75
- defaultMessage: "Choose a country first"
76
- }) : void 0,
77
- onChange: (e) => {
78
- $("status", e ? e.value : ""), p("status", e ? e.value : "", n);
79
- }
80
- }) : null,
81
- /* @__PURE__ */ (0, z.jsx)(P, {
82
- isErrored: !!B.organization,
83
- onChange: (e) => {
84
- f(e, n), p("organization", e, n);
85
- },
86
- value: {
87
- value: i.organization.id,
88
- label: i.organization.name
89
- },
90
- verificationService: n,
91
- disabled: h("organization")?.disabled
92
- }),
93
- /* @__PURE__ */ (0, z.jsxs)("div", {
94
- className: "sid-names",
95
- children: [/* @__PURE__ */ (0, z.jsx)(g, {
96
- value: i.firstName,
97
- isErrored: !!B.firstName,
98
- disabled: h("firstName")?.disabled,
99
- onChange: (e) => {
100
- $("firstName", e), p("firstName", e, n);
101
- }
102
- }), /* @__PURE__ */ (0, z.jsx)(_, {
103
- value: i.lastName,
104
- isErrored: !!B.lastName,
105
- disabled: h("lastName")?.disabled,
106
- onChange: (e) => {
107
- $("lastName", e), p("lastName", e, n);
108
- }
109
- })]
110
- }),
111
- /* @__PURE__ */ (0, z.jsx)(w, {
112
- errorId: B.birthDate,
113
- locale: X,
114
- onChange: (e) => {
115
- $("birthDate", e), p("birthDate", e, n);
116
- },
117
- value: i.birthDate,
118
- disabled: h("birthDate")?.disabled
119
- }),
120
- Q && /* @__PURE__ */ (0, z.jsx)(I, {
121
- mode: n.programTheme.transitionalMilitaryValidityDays ? "date" : "month",
122
- errorId: B.dischargeDate,
123
- onChange: (e) => {
124
- $("dischargeDate", e), p("dischargeDate", e, n);
125
- },
126
- value: i.dischargeDate,
127
- locale: X,
128
- disabled: h("dischargeDate")?.disabled,
129
- isRequired: G("dischargeDate")
130
- }),
131
- n.programTheme.strictMilitaryValidationEnabled && /* @__PURE__ */ (0, z.jsx)(F, {
132
- errorId: B.activeDutyStartDate,
133
- locale: X,
134
- onChange: (e) => {
135
- $("activeDutyStartDate", e), p("activeDutyStartDate", e, n);
136
- },
137
- value: i.activeDutyStartDate,
138
- disabled: h("activeDutyStartDate")?.disabled,
139
- isRequired: h("activeDutyStartDate")?.requireIfOptional
140
- }),
141
- /* @__PURE__ */ (0, z.jsx)(S, {
142
- value: i.email,
143
- isErrored: !!B.email,
144
- explanation: /* @__PURE__ */ (0, z.jsx)(r, {
145
- id: "emailExplanation",
146
- defaultMessage: "Personal email address is recommended"
147
- }),
148
- onChange: (e) => {
149
- $("email", e), p("email", e, n);
150
- },
151
- onKeyDown: (e) => u(e),
152
- disabled: h("email")?.disabled
153
- }),
154
- n.programTheme.isSmsNotifierConfigured || n.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, z.jsx)(y, {
155
- isRequired: !!n.programTheme.smsLoopEnabled,
156
- value: i.phoneNumber,
157
- isErrored: !!B.phoneNumber,
158
- onChange: (e) => {
159
- $("phoneNumber", e), p("phoneNumber", e, n);
160
- },
161
- selectedCountryCode: i.countryChoice && i.countryChoice.value,
162
- disabled: h("phoneNumber")?.disabled
163
- }) : null,
164
- K("address1") && /* @__PURE__ */ (0, z.jsx)(O, {
165
- value: i.address1,
166
- isErrored: !!B.address1,
167
- errorId: B.address1,
168
- disabled: h("address1")?.disabled,
169
- onChange: (e) => {
170
- $("address1", e), p("address1", e, n);
171
- },
172
- isRequired: h("address1")?.requireIfOptional
173
- }),
174
- K("city") && /* @__PURE__ */ (0, z.jsx)(D, {
175
- value: i.city,
176
- isErrored: !!B.city,
177
- errorId: B.city,
178
- disabled: h("city")?.disabled,
179
- onChange: (e) => {
180
- $("city", e), p("city", e, n);
181
- },
182
- isRequired: h("city")?.requireIfOptional
183
- }),
184
- K("state") && /* @__PURE__ */ (0, z.jsx)(N, {
185
- value: i.state || void 0,
186
- isErrored: !!B.state,
187
- onChange: async (e) => {
188
- let t = e ? e.value : void 0;
189
- $("state", t), p("state", t, n);
190
- },
191
- label: /* @__PURE__ */ (0, z.jsx)(r, {
192
- id: "state",
193
- defaultMessage: "State"
194
- }),
195
- disabled: h("state")?.disabled,
196
- isRequired: h("state")?.requireIfOptional
197
- }),
198
- K("postalCode") && /* @__PURE__ */ (0, z.jsx)(T, {
199
- required: h("postalCode")?.requireIfOptional,
200
- isErrored: !!B.postalCode,
201
- onChange: (e) => {
202
- $("postalCode", e), p("postalCode", e, n);
203
- },
204
- value: i.postalCode,
205
- disabled: h("postalCode")?.disabled
206
- }),
207
- Z.customFormFields.map((e) => /* @__PURE__ */ (0, z.jsx)(v, {
208
- config: e,
209
- verificationService: n
210
- })),
211
- /* @__PURE__ */ (0, z.jsx)(b, {
212
- verificationService: n,
213
- isErrored: !!B.marketConsentValue,
214
- onChange: (e) => {
215
- $("metadata", {
216
- ...n.viewModel.metadata,
217
- marketConsentValue: e
218
- }), p("marketConsentValue", e, n);
219
- },
220
- viewModel: i,
221
- disabled: h("marketConsentValue")?.disabled
222
- }),
223
- /* @__PURE__ */ (0, z.jsx)(k, {
224
- verificationService: n,
225
- suffix: "CollectAboveSubmit"
226
- }),
227
- /* @__PURE__ */ (0, z.jsx)(x, {
228
- verificationService: n,
229
- isErrored: !!B.captchaToken
230
- }),
231
- /* @__PURE__ */ (0, z.jsx)(C, {
232
- step: V.currentStep,
233
- verificationService: n,
234
- viewModel: i,
235
- failedInstantMatch: H,
236
- buttonText: /* @__PURE__ */ (0, z.jsx)(r, {
237
- id: "step.personalInfo.submitButtonText",
238
- defaultMessage: "Verify My Military Status"
239
- })
240
- })
241
- ] })]
242
- });
243
- }, V = n(B);
244
- //#endregion
245
- export { B as StepCollectMilitaryPersonalInfo, V as StepCollectMilitaryPersonalInfoComponent, V as default };
@@ -1 +0,0 @@
1
- {"version":3,"file":"StepCollectMilitaryPersonalInfoComponent-JWgkagFS.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/militaryStepHelpers.ts","../../src/components/StepMilitaryPersonalInfo/StepCollectMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["import produce from \"immer\";\n\nimport {\n type VerificationService,\n type FormSelectChoice,\n type MilitaryPersonalInfoViewModel,\n} from \"../../lib/types/types\";\n\nexport const updateMilitaryViewModel = (\n key: keyof MilitaryPersonalInfoViewModel,\n value: any,\n verificationService: VerificationService,\n availableStatuses: FormSelectChoice[],\n): MilitaryPersonalInfoViewModel => {\n const viewModel = verificationService.viewModel as MilitaryPersonalInfoViewModel;\n return produce(viewModel, (draft: MilitaryPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n\n // Reset military-managed skip flags before reapplying.\n const militaryManagedFields = [\"status\"];\n draft.fieldsToSkipValidation = (draft.fieldsToSkipValidation || []).filter(\n (id) => !militaryManagedFields.includes(id),\n );\n\n if (!availableStatuses || availableStatuses.length === 0) {\n draft.fieldsToSkipValidation.push(\"status\");\n }\n\n if (key === \"status\") {\n draft.organization = { id: 0, name: \"\" };\n }\n });\n};\n","import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type CollectInfoSteps, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MilitaryPersonalInfoViewModel,\n type ActiveMilitaryPersonalInfoResponse,\n type InactiveMilitaryPersonalInfoResponse,\n type MilitaryStatusResponse,\n type CustomFormFieldConfig,\n type FieldDescription,\n type State,\n} from \"../../lib/types/types\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getStatusLabel,\n getStatusOptions,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { getOptions } from \"../../options/options\";\n\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\ninterface Props {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepCollectMilitaryPersonalInfo = ({ intl, verificationService }: Props) => {\n const viewModel = verificationService.viewModel as MilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as\n | ActiveMilitaryPersonalInfoResponse\n | InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n // Seed: show dischargeDate on first paint when the response indicates an\n // inactive flow, or when the program's transitional validity window applies.\n // The /fields response replaces this once it resolves.\n const showDischargeDateInitially =\n verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo ||\n !!verificationService.programTheme.transitionalMilitaryValidityDays;\n const initialRequiredFields: FieldDescription[] = showDischargeDateInitially\n ? [{ key: \"dischargeDate\" }]\n : [];\n\n const {\n availableStatuses: dynamicStatuses,\n isFieldRequired,\n isFieldOptional,\n } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: VerificationStepsEnum.collectMilitaryPersonalInfo,\n viewModel,\n defaultRequiredFields: initialRequiredFields,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(\n verificationService.programTheme,\n countryChoiceValue,\n );\n\n const statusOptions = getStatusOptions(\n intl,\n dynamicStatuses ??\n (verificationResponse as unknown as MilitaryStatusResponse).availableStatuses ??\n (verificationService.previousVerificationResponse as MilitaryStatusResponse)\n ?.availableStatuses,\n );\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const showDischargeDate = isFieldRequired(\"dischargeDate\") || isFieldOptional(\"dischargeDate\");\n\n const updateMilitary = (key: keyof MilitaryPersonalInfoViewModel, value: any) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, statusOptions),\n );\n };\n\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {statusOptions.length > 0 ? (\n <MilitaryStatusComponent\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"status\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n updateMilitary(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: viewModel.organization.id,\n label: viewModel.organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMilitary(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMilitary(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateMilitary(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {showDischargeDate && (\n <DischargeDate\n mode={\n verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateMilitary(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n isRequired={isFieldRequired(\"dischargeDate\")}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateMilitary(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateMilitary(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMilitary(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {isFieldOptional(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateMilitary(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateMilitary(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"state\") && (\n <StateSelectComponent\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateMilitary(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {isFieldOptional(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMilitary(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMilitary(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={verificationResponse.currentStep as CollectInfoSteps}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepCollectMilitaryPersonalInfoComponent = injectIntl(StepCollectMilitaryPersonalInfo);\nexport default StepCollectMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAa,KACX,GACA,GACA,GACA,MACkC;CAClC,IAAM,IAAY,EAAoB;CACtC,OAAO,EAAQ,IAAY,MAAyC;EAClE,EAAO,KAAe;EAGtB,IAAM,IAAwB,CAAC,QAAQ;EASvC,AARA,EAAM,0BAA0B,EAAM,0BAA0B,CAAC,GAAG,QACjE,MAAO,CAAC,EAAsB,SAAS,CAAE,CAC5C,IAEI,CAAC,KAAqB,EAAkB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