@sheerid/jslib-nightly 2.259.0-alpha.1 → 2.259.0-alpha.3

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 (399) hide show
  1. package/_mysheerid-preview.css +3 -3
  2. package/_mysheerid-preview.js +3931 -1402
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-RKH3wkuU.js → AddressComponent-CJV3vrMt.js} +6 -6
  5. package/chunk/{AddressComponent-CN9VzjhI.js.map → AddressComponent-CJV3vrMt.js.map} +1 -1
  6. package/chunk/{AddressComponent-CN9VzjhI.js → AddressComponent-DMwOmjiG.js} +4 -4
  7. package/chunk/{AddressComponent-RKH3wkuU.js.map → AddressComponent-DMwOmjiG.js.map} +1 -1
  8. package/chunk/{AnnouncingHeader-BZreAj2L.js → AnnouncingHeader-BF69hVVm.js} +5 -5
  9. package/chunk/{AnnouncingHeader-BZreAj2L.js.map → AnnouncingHeader-BF69hVVm.js.map} +1 -1
  10. package/chunk/AnnouncingHeader-DjgtqEeX.js +3 -3
  11. package/chunk/{ApiUrls-DNPrws1D.js → ApiUrls-D95iKOSI.js} +12 -12
  12. package/chunk/{ApiUrls-DNPrws1D.js.map → ApiUrls-D95iKOSI.js.map} +1 -1
  13. package/chunk/{ApiUrls-MjYrUy5O.js → ApiUrls-jsXRjACf.js} +4 -4
  14. package/chunk/{ApiUrls-MjYrUy5O.js.map → ApiUrls-jsXRjACf.js.map} +1 -1
  15. package/chunk/{BirthDateComponent-Dx9Zgnrr.js → BirthDateComponent-BHSI0CUp.js} +5 -5
  16. package/chunk/{BirthDateComponent-25k9Dw8L.js.map → BirthDateComponent-BHSI0CUp.js.map} +1 -1
  17. package/chunk/{BirthDateComponent-25k9Dw8L.js → BirthDateComponent-DqkkSB42.js} +7 -7
  18. package/chunk/{BirthDateComponent-Dx9Zgnrr.js.map → BirthDateComponent-DqkkSB42.js.map} +1 -1
  19. package/chunk/{CaptchaComponent-DA4ytPM2.js → CaptchaComponent-B2bCn0HL.js} +14 -14
  20. package/chunk/{CaptchaComponent-DA4ytPM2.js.map → CaptchaComponent-B2bCn0HL.js.map} +1 -1
  21. package/chunk/{CaptchaComponent-DZNI_Mdp.js → CaptchaComponent-pa2v-Kv1.js} +94 -94
  22. package/chunk/{CaptchaComponent-DZNI_Mdp.js.map → CaptchaComponent-pa2v-Kv1.js.map} +1 -1
  23. package/chunk/{ChangeLocaleComponent-COGR4N31.js → ChangeLocaleComponent-CP_kEafQ.js} +7 -7
  24. package/chunk/{ChangeLocaleComponent-COGR4N31.js.map → ChangeLocaleComponent-CP_kEafQ.js.map} +1 -1
  25. package/chunk/{ChangeLocaleComponent-DPIcEDOe.js → ChangeLocaleComponent-Cy07cdJk.js} +5 -5
  26. package/chunk/{ChangeLocaleComponent-DPIcEDOe.js.map → ChangeLocaleComponent-Cy07cdJk.js.map} +1 -1
  27. package/chunk/{City-BHrlkpMX.js → City-CmO85Z9x.js} +4 -4
  28. package/chunk/{City-BHrlkpMX.js.map → City-CmO85Z9x.js.map} +1 -1
  29. package/chunk/{City-BbRIAxOR.js → City-DlWin4GX.js} +6 -6
  30. package/chunk/{City-BbRIAxOR.js.map → City-DlWin4GX.js.map} +1 -1
  31. package/chunk/{CollegeNameComponent-DXmseJtL.js → CollegeNameComponent-Cz9Us9RM.js} +8 -8
  32. package/chunk/{CollegeNameComponent-Bu2ei2eB.js.map → CollegeNameComponent-Cz9Us9RM.js.map} +1 -1
  33. package/chunk/{CollegeNameComponent-Bu2ei2eB.js → CollegeNameComponent-wdFkAFsj.js} +5 -5
  34. package/chunk/{CollegeNameComponent-DXmseJtL.js.map → CollegeNameComponent-wdFkAFsj.js.map} +1 -1
  35. package/chunk/CopyToClipboardComponent-1BeB_oX_.js +3 -3
  36. package/chunk/{CopyToClipboardComponent-6MY3v7_-.js → CopyToClipboardComponent-C1BnmvlK.js} +8 -8
  37. package/chunk/{CopyToClipboardComponent-6MY3v7_-.js.map → CopyToClipboardComponent-C1BnmvlK.js.map} +1 -1
  38. package/chunk/CountryComponentWrapper-AaraHOGX.js +78 -0
  39. package/chunk/{CountryComponentWrapper-CQ6ZT9lg.js.map → CountryComponentWrapper-AaraHOGX.js.map} +1 -1
  40. package/chunk/{CountryComponentWrapper-CQ6ZT9lg.js → CountryComponentWrapper-BHYHjLHh.js} +9 -9
  41. package/chunk/{CountryComponentWrapper-CRF7oKmW.js.map → CountryComponentWrapper-BHYHjLHh.js.map} +1 -1
  42. package/chunk/{DischargeDateComponent-Dylz_5IN.js → DischargeDateComponent-BrziTMXL.js} +18 -18
  43. package/chunk/{DischargeDateComponent-dn8Ym3Oc.js.map → DischargeDateComponent-BrziTMXL.js.map} +1 -1
  44. package/chunk/{DischargeDateComponent-dn8Ym3Oc.js → DischargeDateComponent-d85FApuP.js} +7 -7
  45. package/chunk/{DischargeDateComponent-Dylz_5IN.js.map → DischargeDateComponent-d85FApuP.js.map} +1 -1
  46. package/chunk/{DriverLicenseNumberComponent-LxBCJTvz.js → DriverLicenseNumberComponent-D8q18o2M.js} +6 -6
  47. package/chunk/{DriverLicenseNumberComponent-1Nm_kmd6.js.map → DriverLicenseNumberComponent-D8q18o2M.js.map} +1 -1
  48. package/chunk/{DriverLicenseNumberComponent-1Nm_kmd6.js → DriverLicenseNumberComponent-DgXMM-Pt.js} +4 -4
  49. package/chunk/{DriverLicenseNumberComponent-LxBCJTvz.js.map → DriverLicenseNumberComponent-DgXMM-Pt.js.map} +1 -1
  50. package/chunk/EmailLoopPending-BBrkjClD.js +136 -0
  51. package/chunk/EmailLoopPending-BBrkjClD.js.map +1 -0
  52. package/chunk/{EmailLoopPending-MXkvNNP8.js → EmailLoopPending-CFh6KYhR.js} +53 -54
  53. package/chunk/EmailLoopPending-CFh6KYhR.js.map +1 -0
  54. package/chunk/{ExtraMessage-Roxhs2rt.js → ExtraMessage-BYLbcc4O.js} +6 -6
  55. package/chunk/{ExtraMessage-DeL_Wn33.js.map → ExtraMessage-BYLbcc4O.js.map} +1 -1
  56. package/chunk/{ExtraMessage-DeL_Wn33.js → ExtraMessage-DuEKh0WN.js} +4 -4
  57. package/chunk/{ExtraMessage-Roxhs2rt.js.map → ExtraMessage-DuEKh0WN.js.map} +1 -1
  58. package/chunk/{FirstResponderOrganizationComponent-DFJEAN8k.js → FirstResponderOrganizationComponent-Bm-LyjdU.js} +5 -5
  59. package/chunk/{FirstResponderOrganizationComponent-CaU7VuhG.js.map → FirstResponderOrganizationComponent-Bm-LyjdU.js.map} +1 -1
  60. package/chunk/{FirstResponderOrganizationComponent-CaU7VuhG.js → FirstResponderOrganizationComponent-DlrpOY2c.js} +7 -7
  61. package/chunk/{FirstResponderOrganizationComponent-DFJEAN8k.js.map → FirstResponderOrganizationComponent-DlrpOY2c.js.map} +1 -1
  62. package/chunk/{FormFieldInputSelect-BaD_qpOw.js → FormFieldInputSelect-CcSfBZU4.js} +4 -4
  63. package/chunk/{FormFieldInputSelect-BaD_qpOw.js.map → FormFieldInputSelect-CcSfBZU4.js.map} +1 -1
  64. package/chunk/{FormFieldInputSelect-CSqp8aHf.js → FormFieldInputSelect-DFoefspo.js} +6 -6
  65. package/chunk/{FormFieldInputSelect-CSqp8aHf.js.map → FormFieldInputSelect-DFoefspo.js.map} +1 -1
  66. package/chunk/{FormFieldLayout-CUA-PItd.js → FormFieldLayout-BpmeMD4X.js} +5 -5
  67. package/chunk/{FormFieldLayout-CUA-PItd.js.map → FormFieldLayout-BpmeMD4X.js.map} +1 -1
  68. package/chunk/FormFieldLayout-DIcCOsGu.js +3 -3
  69. package/chunk/FormFieldText-zjWk7Cyc.js +3 -3
  70. package/chunk/{FormFieldText-BeEhq8Kc.js → FormFieldText-zuTjfmLt.js} +6 -6
  71. package/chunk/{FormFieldText-BeEhq8Kc.js.map → FormFieldText-zuTjfmLt.js.map} +1 -1
  72. package/chunk/{FormFieldTypeahead-C3gO98J5.js → FormFieldTypeahead-C6c2tZjB.js} +455 -456
  73. package/chunk/{FormFieldTypeahead-C3gO98J5.js.map → FormFieldTypeahead-C6c2tZjB.js.map} +1 -1
  74. package/chunk/{FormFieldTypeahead-BvcKAdzA.js → FormFieldTypeahead-CWBTzGT7.js} +498 -499
  75. package/chunk/{FormFieldTypeahead-BvcKAdzA.js.map → FormFieldTypeahead-CWBTzGT7.js.map} +1 -1
  76. package/chunk/{FormFooterComponent-DcilxYfs.js → FormFooterComponent-BvXzhu3G.js} +2114 -2045
  77. package/chunk/FormFooterComponent-BvXzhu3G.js.map +1 -0
  78. package/chunk/{FormFooterComponent-Cobuya5J.js → FormFooterComponent-CU9v96Pk.js} +1333 -1252
  79. package/chunk/FormFooterComponent-CU9v96Pk.js.map +1 -0
  80. package/chunk/{FormSelectChoice-Dz_8_0v1.js → FormSelectChoice-C1rXawoW.js} +5 -5
  81. package/chunk/{FormSelectChoice-DjQUf_kR.js.map → FormSelectChoice-C1rXawoW.js.map} +1 -1
  82. package/chunk/{FormSelectChoice-DjQUf_kR.js → FormSelectChoice-De4VW65J.js} +17 -17
  83. package/chunk/{FormSelectChoice-Dz_8_0v1.js.map → FormSelectChoice-De4VW65J.js.map} +1 -1
  84. package/chunk/InputText-Bzkl8mKj.js +3 -3
  85. package/chunk/{InputText-CkDvaW9P.js → InputText-DA8wfbQM.js} +6 -6
  86. package/chunk/{InputText-CkDvaW9P.js.map → InputText-DA8wfbQM.js.map} +1 -1
  87. package/chunk/{LicensedProfessionalOrganizationComponent-D40O0mHv.js → LicensedProfessionalOrganizationComponent-DDLl3nm2.js} +7 -7
  88. package/chunk/{LicensedProfessionalOrganizationComponent-D40O0mHv.js.map → LicensedProfessionalOrganizationComponent-DDLl3nm2.js.map} +1 -1
  89. package/chunk/{LicensedProfessionalOrganizationComponent-BFIo2AVu.js → LicensedProfessionalOrganizationComponent-DWw7sAA_.js} +5 -5
  90. package/chunk/{LicensedProfessionalOrganizationComponent-BFIo2AVu.js.map → LicensedProfessionalOrganizationComponent-DWw7sAA_.js.map} +1 -1
  91. package/chunk/LogoComponent-BMeuu-aK.js +3 -3
  92. package/chunk/{LogoComponent-CFPoRk_q.js → LogoComponent-BxIXOXCM.js} +5 -5
  93. package/chunk/{LogoComponent-CFPoRk_q.js.map → LogoComponent-BxIXOXCM.js.map} +1 -1
  94. package/chunk/{LowIncomeOrganizationComponent-M-jIQ5Gq.js → LowIncomeOrganizationComponent-Js2hdcpd.js} +20 -20
  95. package/chunk/{LowIncomeOrganizationComponent-M-jIQ5Gq.js.map → LowIncomeOrganizationComponent-Js2hdcpd.js.map} +1 -1
  96. package/chunk/{LowIncomeOrganizationComponent-RtTN7yos.js → LowIncomeOrganizationComponent-pg41N7jZ.js} +9 -9
  97. package/chunk/{LowIncomeOrganizationComponent-RtTN7yos.js.map → LowIncomeOrganizationComponent-pg41N7jZ.js.map} +1 -1
  98. package/chunk/{MedicalProfessionalOrganizationComponent-BRXUpSBl.js → MedicalProfessionalOrganizationComponent-BiAMjeYg.js} +5 -5
  99. package/chunk/{MedicalProfessionalOrganizationComponent-BRXUpSBl.js.map → MedicalProfessionalOrganizationComponent-BiAMjeYg.js.map} +1 -1
  100. package/chunk/{MedicalProfessionalOrganizationComponent-QOUo82Ey.js → MedicalProfessionalOrganizationComponent-CG94dxGF.js} +7 -7
  101. package/chunk/{MedicalProfessionalOrganizationComponent-QOUo82Ey.js.map → MedicalProfessionalOrganizationComponent-CG94dxGF.js.map} +1 -1
  102. package/chunk/{MemberIdComponent-D4U9CjTr.js → MemberIdComponent-DMGaNM9l.js} +6 -6
  103. package/chunk/{MemberIdComponent-D4U9CjTr.js.map → MemberIdComponent-DMGaNM9l.js.map} +1 -1
  104. package/chunk/{MemberIdComponent-DOikwfIV.js → MemberIdComponent-Dva2Xx7J.js} +4 -4
  105. package/chunk/{MemberIdComponent-DOikwfIV.js.map → MemberIdComponent-Dva2Xx7J.js.map} +1 -1
  106. package/chunk/{MembershipOrganizationComponent-CisdewfJ.js → MembershipOrganizationComponent-B4sltAFs.js} +5 -5
  107. package/chunk/{MembershipOrganizationComponent-CisdewfJ.js.map → MembershipOrganizationComponent-B4sltAFs.js.map} +1 -1
  108. package/chunk/{MembershipOrganizationComponent-D02G3scF.js → MembershipOrganizationComponent-DqdtAn4g.js} +7 -7
  109. package/chunk/{MembershipOrganizationComponent-D02G3scF.js.map → MembershipOrganizationComponent-DqdtAn4g.js.map} +1 -1
  110. package/chunk/Onfido-CTCgAwnB.js +3 -3
  111. package/chunk/{PersonalInfoStepSubmitButton-i0P1DpyZ.js → PersonalInfoStepSubmitButton-D3lzSm2E.js} +22 -22
  112. package/chunk/{PersonalInfoStepSubmitButton-i0P1DpyZ.js.map → PersonalInfoStepSubmitButton-D3lzSm2E.js.map} +1 -1
  113. package/chunk/{PersonalInfoStepSubmitButton-Byqc8ilE.js → PersonalInfoStepSubmitButton-Ywai8bYu.js} +10 -10
  114. package/chunk/{PersonalInfoStepSubmitButton-Byqc8ilE.js.map → PersonalInfoStepSubmitButton-Ywai8bYu.js.map} +1 -1
  115. package/chunk/{PersonalInfoStepWrapper-BpxtlGxV.js → PersonalInfoStepWrapper-CfEXVPIa.js} +7 -7
  116. package/chunk/{PersonalInfoStepWrapper-BpxtlGxV.js.map → PersonalInfoStepWrapper-CfEXVPIa.js.map} +1 -1
  117. package/chunk/{PersonalInfoStepWrapper-VYXPs068.js → PersonalInfoStepWrapper-lbTtms4r.js} +4 -4
  118. package/chunk/{PersonalInfoStepWrapper-VYXPs068.js.map → PersonalInfoStepWrapper-lbTtms4r.js.map} +1 -1
  119. package/chunk/{PostalCodeComponent-DwnHo2aW.js → PostalCodeComponent-BGzBByZd.js} +6 -6
  120. package/chunk/{PostalCodeComponent-DwnHo2aW.js.map → PostalCodeComponent-BGzBByZd.js.map} +1 -1
  121. package/chunk/{PostalCodeComponent-hDSZecsX.js → PostalCodeComponent-C97fgZFI.js} +4 -4
  122. package/chunk/{PostalCodeComponent-hDSZecsX.js.map → PostalCodeComponent-C97fgZFI.js.map} +1 -1
  123. package/chunk/{SSN-_mJmp2Gg.js → SSN-CNzKgddw.js} +7 -7
  124. package/chunk/{SSN-B9b4KlAr.js.map → SSN-CNzKgddw.js.map} +1 -1
  125. package/chunk/{SSN-B9b4KlAr.js → SSN-mk_cMbDH.js} +4 -4
  126. package/chunk/{SSN-_mJmp2Gg.js.map → SSN-mk_cMbDH.js.map} +1 -1
  127. package/chunk/{StateSelectComponent-D26TjOAn.js → StateSelectComponent-C6R9Cjgi.js} +5 -5
  128. package/chunk/{StateSelectComponent-D26TjOAn.js.map → StateSelectComponent-C6R9Cjgi.js.map} +1 -1
  129. package/chunk/{StateSelectComponent-DGQL388D.js → StateSelectComponent-DVR-oYsL.js} +4 -4
  130. package/chunk/{StateSelectComponent-DGQL388D.js.map → StateSelectComponent-DVR-oYsL.js.map} +1 -1
  131. package/chunk/{StatusComponent-XLL7x50K.js → StatusComponent-DS5eysat.js} +5 -5
  132. package/chunk/{StatusComponent-Dv3frckJ.js.map → StatusComponent-DS5eysat.js.map} +1 -1
  133. package/chunk/{StatusComponent-Dv3frckJ.js → StatusComponent-VG5PRT7W.js} +7 -7
  134. package/chunk/{StatusComponent-XLL7x50K.js.map → StatusComponent-VG5PRT7W.js.map} +1 -1
  135. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B-obfX5s.js → StepActiveMilitaryPersonalInfoComponent-CLHSV6aV.js} +47 -51
  136. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B-obfX5s.js.map → StepActiveMilitaryPersonalInfoComponent-CLHSV6aV.js.map} +1 -1
  137. package/chunk/{StepActiveMilitaryPersonalInfoComponent-CoGJXuid.js → StepActiveMilitaryPersonalInfoComponent-CsydoggY.js} +25 -21
  138. package/chunk/{StepActiveMilitaryPersonalInfoComponent-CoGJXuid.js.map → StepActiveMilitaryPersonalInfoComponent-CsydoggY.js.map} +1 -1
  139. package/chunk/{StepAgePersonalInfo-BTdUm8M1.js → StepAgePersonalInfo-DW1ElYsy.js} +39 -39
  140. package/chunk/{StepAgePersonalInfo-BTdUm8M1.js.map → StepAgePersonalInfo-DW1ElYsy.js.map} +1 -1
  141. package/chunk/StepAgePersonalInfo-DlOA9WFp.js +173 -0
  142. package/chunk/{StepAgePersonalInfo-KeuFdZua.js.map → StepAgePersonalInfo-DlOA9WFp.js.map} +1 -1
  143. package/chunk/StepCard-7t2vkHqM.js +3 -3
  144. package/chunk/{StepCard-BF_RD7Rd.js → StepCard-BtvCt-ND.js} +4 -4
  145. package/chunk/{StepCard-BF_RD7Rd.js.map → StepCard-BtvCt-ND.js.map} +1 -1
  146. package/chunk/{StepCollectIdentifier-aSTN2D3f.js → StepCollectIdentifier-BitqCn5S.js} +8 -8
  147. package/chunk/{StepCollectIdentifier-Cr5cRjes.js.map → StepCollectIdentifier-BitqCn5S.js.map} +1 -1
  148. package/chunk/{StepCollectIdentifier-Cr5cRjes.js → StepCollectIdentifier-iokOENmH.js} +10 -10
  149. package/chunk/{StepCollectIdentifier-aSTN2D3f.js.map → StepCollectIdentifier-iokOENmH.js.map} +1 -1
  150. package/chunk/{StepCollectMilitaryStatusComponent-5RzFVxA_.js → StepCollectMilitaryStatusComponent-DSl_NI5F.js} +4 -4
  151. package/chunk/StepCollectMilitaryStatusComponent-FkrZTfgt.js +9 -0
  152. package/chunk/StepCollectPersonalInfo-BsRPrpbi.js +361 -0
  153. package/chunk/{StepCollectPersonalInfo-BVd72Idl.js.map → StepCollectPersonalInfo-BsRPrpbi.js.map} +1 -1
  154. package/chunk/{StepCollectPersonalInfo-D75Yctan.js → StepCollectPersonalInfo-D_E9jueP.js} +87 -87
  155. package/chunk/{StepCollectPersonalInfo-D75Yctan.js.map → StepCollectPersonalInfo-D_E9jueP.js.map} +1 -1
  156. package/chunk/{StepCompleteAuthentication-CYsu3UXL.js → StepCompleteAuthentication-C2HoMZzF.js} +50 -51
  157. package/chunk/StepCompleteAuthentication-C2HoMZzF.js.map +1 -0
  158. package/chunk/{StepCompleteAuthentication-CmOEE_s5.js → StepCompleteAuthentication-Cs4zhI-D.js} +42 -43
  159. package/chunk/StepCompleteAuthentication-Cs4zhI-D.js.map +1 -0
  160. package/chunk/{StepConsolation-Bm7fMyFo.js → StepConsolation-C4z3-RUr.js} +4 -4
  161. package/chunk/{StepConsolation-Bm7fMyFo.js.map → StepConsolation-C4z3-RUr.js.map} +1 -1
  162. package/chunk/{StepConsolation-euaYpjbw.js → StepConsolation-CIsDgtMF.js} +8 -8
  163. package/chunk/{StepConsolation-euaYpjbw.js.map → StepConsolation-CIsDgtMF.js.map} +1 -1
  164. package/chunk/{StepDocUpload-Fi16blpY.js → StepDocUpload-DB-j-bu5.js} +40 -40
  165. package/chunk/{StepDocUpload-Dc986T4y.js.map → StepDocUpload-DB-j-bu5.js.map} +1 -1
  166. package/chunk/{StepDocUpload-Dc986T4y.js → StepDocUpload-QrHXh8mp.js} +242 -242
  167. package/chunk/{StepDocUpload-Fi16blpY.js.map → StepDocUpload-QrHXh8mp.js.map} +1 -1
  168. package/chunk/{StepDriverLicensePersonalInfoComponent-DnbKIy4f.js → StepDriverLicensePersonalInfoComponent-bh1_IVPF.js} +19 -15
  169. package/chunk/{StepDriverLicensePersonalInfoComponent-DnbKIy4f.js.map → StepDriverLicensePersonalInfoComponent-bh1_IVPF.js.map} +1 -1
  170. package/chunk/{StepDriverLicensePersonalInfoComponent-AvcQyGDT.js → StepDriverLicensePersonalInfoComponent-siLTyqlG.js} +32 -36
  171. package/chunk/{StepDriverLicensePersonalInfoComponent-AvcQyGDT.js.map → StepDriverLicensePersonalInfoComponent-siLTyqlG.js.map} +1 -1
  172. package/chunk/{StepEmailLoop-7EwsfbG2.js → StepEmailLoop-BPyFeeyk.js} +46 -47
  173. package/chunk/StepEmailLoop-BPyFeeyk.js.map +1 -0
  174. package/chunk/{StepEmailLoop-CLIGNsCO.js → StepEmailLoop-CLgXP9PF.js} +51 -52
  175. package/chunk/StepEmailLoop-CLgXP9PF.js.map +1 -0
  176. package/chunk/{StepEmploymentPersonalInfo-sQLnckQP.js → StepEmploymentPersonalInfo-BhfN1Swc.js} +22 -18
  177. package/chunk/{StepEmploymentPersonalInfo-CMJwlqZ5.js.map → StepEmploymentPersonalInfo-BhfN1Swc.js.map} +1 -1
  178. package/chunk/{StepEmploymentPersonalInfo-CMJwlqZ5.js → StepEmploymentPersonalInfo-D3OVzQfH.js} +44 -48
  179. package/chunk/{StepEmploymentPersonalInfo-sQLnckQP.js.map → StepEmploymentPersonalInfo-D3OVzQfH.js.map} +1 -1
  180. package/chunk/{StepFirstResponderPersonalInfo-BZVQnECv.js → StepFirstResponderPersonalInfo-CJ_OFUC1.js} +37 -37
  181. package/chunk/{StepFirstResponderPersonalInfo-BZVQnECv.js.map → StepFirstResponderPersonalInfo-CJ_OFUC1.js.map} +1 -1
  182. package/chunk/{StepFirstResponderPersonalInfo-De-yFa-l.js → StepFirstResponderPersonalInfo-Uj_HyOUK.js} +42 -42
  183. package/chunk/{StepFirstResponderPersonalInfo-De-yFa-l.js.map → StepFirstResponderPersonalInfo-Uj_HyOUK.js.map} +1 -1
  184. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D2xY36MO.js → StepGeneralIdentityPersonalInfoComponent-BA1NUm7h.js} +22 -18
  185. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D2xY36MO.js.map → StepGeneralIdentityPersonalInfoComponent-BA1NUm7h.js.map} +1 -1
  186. package/chunk/{StepGeneralIdentityPersonalInfoComponent-mSxJaDUA.js → StepGeneralIdentityPersonalInfoComponent-DhXG5JLx.js} +41 -45
  187. package/chunk/{StepGeneralIdentityPersonalInfoComponent-mSxJaDUA.js.map → StepGeneralIdentityPersonalInfoComponent-DhXG5JLx.js.map} +1 -1
  188. package/chunk/{StepHybridIdentityPersonalInfoComponent-CPPuZYu5.js → StepHybridIdentityPersonalInfoComponent-BGO0rNuA.js} +23 -19
  189. package/chunk/{StepHybridIdentityPersonalInfoComponent-CPPuZYu5.js.map → StepHybridIdentityPersonalInfoComponent-BGO0rNuA.js.map} +1 -1
  190. package/chunk/{StepHybridIdentityPersonalInfoComponent-pmo1wXVQ.js → StepHybridIdentityPersonalInfoComponent-DL_yTP9w.js} +44 -48
  191. package/chunk/{StepHybridIdentityPersonalInfoComponent-pmo1wXVQ.js.map → StepHybridIdentityPersonalInfoComponent-DL_yTP9w.js.map} +1 -1
  192. package/chunk/{StepIDCheckLoop-C7UAES2n.js → StepIDCheckLoop-1S7sp1g_.js} +8 -8
  193. package/chunk/{StepIDCheckLoop-C7UAES2n.js.map → StepIDCheckLoop-1S7sp1g_.js.map} +1 -1
  194. package/chunk/{StepIDCheckLoop-DPbA9LaQ.js → StepIDCheckLoop-D6leD-oX.js} +5 -5
  195. package/chunk/{StepIDCheckLoop-DPbA9LaQ.js.map → StepIDCheckLoop-D6leD-oX.js.map} +1 -1
  196. package/chunk/{StepIDCheckLoopOnfido-CfscUwrA.js → StepIDCheckLoopOnfido-DS62i7yb.js} +40 -40
  197. package/chunk/{StepIDCheckLoopOnfido-CGFbgPNl.js.map → StepIDCheckLoopOnfido-DS62i7yb.js.map} +1 -1
  198. package/chunk/{StepIDCheckLoopOnfido-CGFbgPNl.js → StepIDCheckLoopOnfido-NLKVzJV1.js} +7 -7
  199. package/chunk/{StepIDCheckLoopOnfido-CfscUwrA.js.map → StepIDCheckLoopOnfido-NLKVzJV1.js.map} +1 -1
  200. package/chunk/{StepIDCheckLoopRegula-24zsl9hT.js → StepIDCheckLoopRegula-DeLb4d-j.js} +5 -5
  201. package/chunk/{StepIDCheckLoopRegula-24zsl9hT.js.map → StepIDCheckLoopRegula-DeLb4d-j.js.map} +1 -1
  202. package/chunk/{StepIDCheckLoopRegula-p9GQ7-mM.js → StepIDCheckLoopRegula-DpsuIVdU.js} +18 -18
  203. package/chunk/{StepIDCheckLoopRegula-p9GQ7-mM.js.map → StepIDCheckLoopRegula-DpsuIVdU.js.map} +1 -1
  204. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BCcxwwPz.js → StepInactiveMilitaryPersonalInfoComponent-BJg7kmzL.js} +33 -29
  205. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BCcxwwPz.js.map → StepInactiveMilitaryPersonalInfoComponent-BJg7kmzL.js.map} +1 -1
  206. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-MKHFys80.js → StepInactiveMilitaryPersonalInfoComponent-ag9fYZ8M.js} +69 -73
  207. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-MKHFys80.js.map → StepInactiveMilitaryPersonalInfoComponent-ag9fYZ8M.js.map} +1 -1
  208. package/chunk/{StepLicensedProfessionalPersonalInfo-Ba_hfFwF.js → StepLicensedProfessionalPersonalInfo-6e-HsF9r.js} +21 -17
  209. package/chunk/{StepLicensedProfessionalPersonalInfo-Ba_hfFwF.js.map → StepLicensedProfessionalPersonalInfo-6e-HsF9r.js.map} +1 -1
  210. package/chunk/{StepLicensedProfessionalPersonalInfo-DlJxyXZN.js → StepLicensedProfessionalPersonalInfo-CqCGJBV_.js} +37 -41
  211. package/chunk/{StepLicensedProfessionalPersonalInfo-DlJxyXZN.js.map → StepLicensedProfessionalPersonalInfo-CqCGJBV_.js.map} +1 -1
  212. package/chunk/{StepLowIncomePersonalInfo-Bh3kT1GO.js → StepLowIncomePersonalInfo-Vy6xgq87.js} +39 -35
  213. package/chunk/{StepLowIncomePersonalInfo-Bh3kT1GO.js.map → StepLowIncomePersonalInfo-Vy6xgq87.js.map} +1 -1
  214. package/chunk/{StepLowIncomePersonalInfo-hmb9pC8H.js → StepLowIncomePersonalInfo-nHj8RV6k.js} +63 -67
  215. package/chunk/{StepLowIncomePersonalInfo-hmb9pC8H.js.map → StepLowIncomePersonalInfo-nHj8RV6k.js.map} +1 -1
  216. package/chunk/{StepMedicalProfessionalPersonalInfo-BBQdw_WF.js → StepMedicalProfessionalPersonalInfo-BbkO8cmo.js} +48 -52
  217. package/chunk/{StepMedicalProfessionalPersonalInfo-BBQdw_WF.js.map → StepMedicalProfessionalPersonalInfo-BbkO8cmo.js.map} +1 -1
  218. package/chunk/{StepMedicalProfessionalPersonalInfo-CAViUdYI.js → StepMedicalProfessionalPersonalInfo-wrrupNWv.js} +28 -24
  219. package/chunk/{StepMedicalProfessionalPersonalInfo-CAViUdYI.js.map → StepMedicalProfessionalPersonalInfo-wrrupNWv.js.map} +1 -1
  220. package/chunk/{StepMemberPersonalInfo-CPcTjVm4.js → StepMemberPersonalInfo-Df9tiNq4.js} +20 -16
  221. package/chunk/{StepMemberPersonalInfo-CPcTjVm4.js.map → StepMemberPersonalInfo-Df9tiNq4.js.map} +1 -1
  222. package/chunk/StepMemberPersonalInfo-DzmzUubV.js +152 -0
  223. package/chunk/{StepMemberPersonalInfo-DzKpsoK8.js.map → StepMemberPersonalInfo-DzmzUubV.js.map} +1 -1
  224. package/chunk/StepMoverPersonalInfo-DtYxf5Tv.js +139 -0
  225. package/chunk/{StepMoverPersonalInfo-CLcsD8p7.js.map → StepMoverPersonalInfo-DtYxf5Tv.js.map} +1 -1
  226. package/chunk/{StepMoverPersonalInfo-CLcsD8p7.js → StepMoverPersonalInfo-QpfjD_c6.js} +18 -14
  227. package/chunk/{StepMoverPersonalInfo-DIspTifw.js.map → StepMoverPersonalInfo-QpfjD_c6.js.map} +1 -1
  228. package/chunk/{StepOverrideComponent-DbbQq6nF.js → StepOverrideComponent-CD6SjHRm.js} +41 -41
  229. package/chunk/StepOverrideComponent-CD6SjHRm.js.map +1 -0
  230. package/chunk/{StepOverrideComponent-67Wl2Ic3.js → StepOverrideComponent-D4YkXhso.js} +37 -37
  231. package/chunk/StepOverrideComponent-D4YkXhso.js.map +1 -0
  232. package/chunk/{StepSMSLoop-DbvJTafU.js → StepSMSLoop-DPthV2Lc.js} +18 -18
  233. package/chunk/{StepSMSLoop-DU91kmZw.js.map → StepSMSLoop-DPthV2Lc.js.map} +1 -1
  234. package/chunk/{StepSMSLoop-DU91kmZw.js → StepSMSLoop-DfmUZBbW.js} +4 -4
  235. package/chunk/{StepSMSLoop-DbvJTafU.js.map → StepSMSLoop-DfmUZBbW.js.map} +1 -1
  236. package/chunk/StepSSO-BRFhNvkp.js +9 -0
  237. package/chunk/{StepSSO-Bp-M6Mod.js → StepSSO-BaFk7RFJ.js} +4 -4
  238. package/chunk/{StepSocialSecurityNumber-DK4msVLI.js → StepSocialSecurityNumber-CGpWJ3oN.js} +9 -9
  239. package/chunk/{StepSocialSecurityNumber-CbSszHk8.js.map → StepSocialSecurityNumber-CGpWJ3oN.js.map} +1 -1
  240. package/chunk/{StepSocialSecurityNumber-CbSszHk8.js → StepSocialSecurityNumber-DxFxaZ2R.js} +26 -26
  241. package/chunk/{StepSocialSecurityNumber-DK4msVLI.js.map → StepSocialSecurityNumber-DxFxaZ2R.js.map} +1 -1
  242. package/chunk/{StepStudentPersonalInfo-CCxT9FDI.js → StepStudentPersonalInfo-DFTqKs_m.js} +36 -37
  243. package/chunk/{StepStudentPersonalInfo-BJlc0JF0.js.map → StepStudentPersonalInfo-DFTqKs_m.js.map} +1 -1
  244. package/chunk/{StepStudentPersonalInfo-BJlc0JF0.js → StepStudentPersonalInfo-DgYva1Rh.js} +72 -73
  245. package/chunk/{StepStudentPersonalInfo-CCxT9FDI.js.map → StepStudentPersonalInfo-DgYva1Rh.js.map} +1 -1
  246. package/chunk/{StepSuccess-DOWQrS9p.js → StepSuccess-BHqTjF_1.js} +71 -72
  247. package/chunk/StepSuccess-BHqTjF_1.js.map +1 -0
  248. package/chunk/{StepSuccess-DkoWskiv.js → StepSuccess-C6kBfGWn.js} +82 -83
  249. package/chunk/StepSuccess-C6kBfGWn.js.map +1 -0
  250. package/chunk/{StepTeacherPersonalInfo-CPk_P26g.js → StepTeacherPersonalInfo-BxaaxkGP.js} +21 -17
  251. package/chunk/{StepTeacherPersonalInfo-CPk_P26g.js.map → StepTeacherPersonalInfo-BxaaxkGP.js.map} +1 -1
  252. package/chunk/StepTeacherPersonalInfo-a_hD0tId.js +149 -0
  253. package/chunk/{StepTeacherPersonalInfo-CW71f8l7.js.map → StepTeacherPersonalInfo-a_hD0tId.js.map} +1 -1
  254. package/chunk/{StepThirdPartyLoop-CbFTIlwP.js → StepThirdPartyLoop-BGHCbduX.js} +4 -4
  255. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +9 -0
  256. package/chunk/{TeacherSchoolComponent-DrN1Py8h.js → TeacherSchoolComponent-DSNAhVx8.js} +8 -8
  257. package/chunk/{TeacherSchoolComponent-DrN1Py8h.js.map → TeacherSchoolComponent-DSNAhVx8.js.map} +1 -1
  258. package/chunk/{TeacherSchoolComponent-BkMlrpPJ.js → TeacherSchoolComponent-d1XeOQ1I.js} +5 -5
  259. package/chunk/{TeacherSchoolComponent-BkMlrpPJ.js.map → TeacherSchoolComponent-d1XeOQ1I.js.map} +1 -1
  260. package/chunk/TestingRouteOverrides-B-zcTBa_.js +3 -3
  261. package/chunk/TestingRouteOverrides-BDCygTLC.js +81 -0
  262. package/chunk/{TestingRouteOverrides-DCR0qXVH.js.map → TestingRouteOverrides-BDCygTLC.js.map} +1 -1
  263. package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
  264. package/chunk/{VerificationApiClient-xgUCQ1gs.js → VerificationApiClient-Cx1SikK8.js} +140 -140
  265. package/chunk/{VerificationApiClient-xgUCQ1gs.js.map → VerificationApiClient-Cx1SikK8.js.map} +1 -1
  266. package/chunk/{VerificationApiClient-CVR-bKWg.js → VerificationApiClient-Dbi5PEQ8.js} +4 -4
  267. package/chunk/{VerificationApiClient-CVR-bKWg.js.map → VerificationApiClient-Dbi5PEQ8.js.map} +1 -1
  268. package/chunk/{VerificationApiUtils-COM2VOcB.js → VerificationApiUtils-CtfMQ7a_.js} +6 -6
  269. package/chunk/{VerificationApiUtils-COM2VOcB.js.map → VerificationApiUtils-CtfMQ7a_.js.map} +1 -1
  270. package/chunk/{VerificationApiUtils-OKRnuWj4.js → VerificationApiUtils-y5gjtrYk.js} +5 -5
  271. package/chunk/{VerificationApiUtils-OKRnuWj4.js.map → VerificationApiUtils-y5gjtrYk.js.map} +1 -1
  272. package/chunk/ar-wkBEXxD9.js +3 -3
  273. package/chunk/bg-D2-seofX.js +3 -3
  274. package/chunk/bn-IN-B5PyYaJU.js +3 -3
  275. package/chunk/{countryUtils-BAFwHnuu.js → countryUtils-D2UBy7Uo.js} +4 -4
  276. package/chunk/{countryUtils-BAFwHnuu.js.map → countryUtils-D2UBy7Uo.js.map} +1 -1
  277. package/chunk/countryUtils-QSjR1rBI.js +3 -3
  278. package/chunk/cs-CsEnIopo.js +3 -3
  279. package/chunk/da-Da-m3VU_.js +3 -3
  280. package/chunk/de-BSoD5U3-.js +3 -3
  281. package/chunk/{downshift.esm-D4-Qs4ci.js → downshift.esm-ChSUVkrQ.js} +40 -40
  282. package/chunk/{downshift.esm-Cy12VCIv.js.map → downshift.esm-ChSUVkrQ.js.map} +1 -1
  283. package/chunk/{downshift.esm-Cy12VCIv.js → downshift.esm-DVcQrgG5.js} +121 -121
  284. package/chunk/{downshift.esm-D4-Qs4ci.js.map → downshift.esm-DVcQrgG5.js.map} +1 -1
  285. package/chunk/el-CFa6y9Ri.js +3 -3
  286. package/chunk/empties-BIoZK05_.js +3 -3
  287. package/chunk/{empties-Ck9OJXHG.js → empties-DHvaWflk.js} +4 -4
  288. package/chunk/{empties-Ck9OJXHG.js.map → empties-DHvaWflk.js.map} +1 -1
  289. package/chunk/en-GB-V8XaGkaI.js +3 -3
  290. package/chunk/es-D18tLxcT.js +3 -3
  291. package/chunk/es-ES-7x2bVUQr.js +3 -3
  292. package/chunk/et-udrWMVlD.js +3 -3
  293. package/chunk/eventEmitter-CSG6jR7V.js +3 -3
  294. package/chunk/fa-DgwYULMs.js +3 -3
  295. package/chunk/fi-CkCWFGDC.js +3 -3
  296. package/chunk/fr-BprIFEa8.js +3 -3
  297. package/chunk/fr-CA-DrjICejr.js +3 -3
  298. package/chunk/ga-LaV5ZJgg.js +3 -3
  299. package/chunk/hi-IN-7dtEICYI.js +3 -3
  300. package/chunk/hr-2Bctl997.js +3 -3
  301. package/chunk/hu-BT0z6TPZ.js +3 -3
  302. package/chunk/id-BvyYep3X.js +3 -3
  303. package/chunk/{intl-aUfdCP8t.js → intl-Yr2cw5px.js} +4 -4
  304. package/chunk/{intl-aUfdCP8t.js.map → intl-Yr2cw5px.js.map} +1 -1
  305. package/chunk/is-DOsKfa80.js +3 -3
  306. package/chunk/it-3dX9AQk7.js +3 -3
  307. package/chunk/iw-5I90wqQ8.js +3 -3
  308. package/chunk/ja-CHdgbMgX.js +3 -3
  309. package/chunk/jsx-runtime-BknAqbDq.js +3 -3
  310. package/chunk/{jsx-runtime-XNwIsY_N.js → jsx-runtime-D_-z-h6n.js} +17 -17
  311. package/chunk/{jsx-runtime-XNwIsY_N.js.map → jsx-runtime-D_-z-h6n.js.map} +1 -1
  312. package/chunk/kk-BriyNfHL.js +3 -3
  313. package/chunk/ko-DsMaax3V.js +3 -3
  314. package/chunk/lo-CjASRmNr.js +3 -3
  315. package/chunk/lt-DF29E1de.js +3 -3
  316. package/chunk/lv-DlHBZyt-.js +3 -3
  317. package/chunk/{militaryStepHelpers-qMYyQgVn.js → militaryStepHelpers-DSh6iat_.js} +4 -4
  318. package/chunk/{militaryStepHelpers-qMYyQgVn.js.map → militaryStepHelpers-DSh6iat_.js.map} +1 -1
  319. package/chunk/militaryStepHelpers-UF-7lF1f.js +3 -3
  320. package/chunk/mocks-1r84in2Q.js +3 -3
  321. package/chunk/{mocks-fUTXc8-e.js → mocks-CKXq8CZk.js} +8 -8
  322. package/chunk/{mocks-fUTXc8-e.js.map → mocks-CKXq8CZk.js.map} +1 -1
  323. package/chunk/ms-B3vDtlFh.js +3 -3
  324. package/chunk/nl-BE-Dw1IGXuF.js +3 -3
  325. package/chunk/nl-Cqkrr5-r.js +3 -3
  326. package/chunk/no-876EdwkX.js +3 -3
  327. package/chunk/options-D19mRw5a.js +3 -3
  328. package/chunk/pl-B_G8s05-.js +3 -3
  329. package/chunk/programThemeGetters-Lz3L0Vh7.js +3 -3
  330. package/chunk/{programThemeGetters-CyMKyJao.js → programThemeGetters-iBty-gXI.js} +35 -35
  331. package/chunk/{programThemeGetters-CyMKyJao.js.map → programThemeGetters-iBty-gXI.js.map} +1 -1
  332. package/chunk/pt-BR-DWj043qk.js +3 -3
  333. package/chunk/pt-DckA3Jnn.js +3 -3
  334. package/chunk/refs-Bbe0gnJ3.js +3 -3
  335. package/chunk/{refs--ECXpllB.js → refs-C_tB1qMA.js} +4 -4
  336. package/chunk/{refs--ECXpllB.js.map → refs-C_tB1qMA.js.map} +1 -1
  337. package/chunk/ro-DukNcWCM.js +3 -3
  338. package/chunk/ru-RkdRQ7qb.js +3 -3
  339. package/chunk/sk-CPBgBtC5.js +3 -3
  340. package/chunk/sl-Cyj9PWmN.js +3 -3
  341. package/chunk/sr-Bm1GVW8m.js +3 -3
  342. package/chunk/strings-DWLVdUcm.js +3 -3
  343. package/chunk/sv-CcMmeZrG.js +3 -3
  344. package/chunk/sw-BPvl1ou6.js +3 -3
  345. package/chunk/ta-BPEH7IlE.js +3 -3
  346. package/chunk/th-Dd912RL5.js +3 -3
  347. package/chunk/tl-J_TdpjQz.js +3 -3
  348. package/chunk/tr-B-GrrJj0.js +3 -3
  349. package/chunk/uk-MohyvT_n.js +3 -3
  350. package/chunk/ur-CDYGpWMm.js +3 -3
  351. package/chunk/{useCollectFieldsEndpoint-Bn7ZjdXx.js → useCollectFieldsEndpoint-3Y1ZabGh.js} +10 -10
  352. package/chunk/{useCollectFieldsEndpoint-Bn7ZjdXx.js.map → useCollectFieldsEndpoint-3Y1ZabGh.js.map} +1 -1
  353. package/chunk/{useCollectFieldsEndpoint-DHNko4IC.js → useCollectFieldsEndpoint-DbKsNLEw.js} +5 -5
  354. package/chunk/{useCollectFieldsEndpoint-DHNko4IC.js.map → useCollectFieldsEndpoint-DbKsNLEw.js.map} +1 -1
  355. package/chunk/{useMetrics-AzdlM_Kg.js → useMetrics-BdMoL7SD.js} +18 -18
  356. package/chunk/{useMetrics-DKs1RHom.js.map → useMetrics-BdMoL7SD.js.map} +1 -1
  357. package/chunk/{useMetrics-DKs1RHom.js → useMetrics-D_8asKZL.js} +4 -4
  358. package/chunk/{useMetrics-AzdlM_Kg.js.map → useMetrics-D_8asKZL.js.map} +1 -1
  359. package/chunk/validators-DTjHYDSK.js +474 -0
  360. package/chunk/validators-DTjHYDSK.js.map +1 -0
  361. package/chunk/validators-Do9xo2t_.js +470 -0
  362. package/chunk/validators-Do9xo2t_.js.map +1 -0
  363. package/chunk/vi-CdPTWSev.js +3 -3
  364. package/chunk/zh-DhnjKBoc.js +3 -3
  365. package/chunk/zh-HK-CWKNP_HX.js +3 -3
  366. package/chunk/zu-BpMHS0oR.js +3 -3
  367. package/package.json +3 -2
  368. package/sheerid-install.css +3 -3
  369. package/sheerid-install.js +3 -3
  370. package/sheerid.css +3 -3
  371. package/sheerid.js +3812 -1369
  372. package/sheerid.js.map +1 -1
  373. package/chunk/CountryComponentWrapper-CRF7oKmW.js +0 -78
  374. package/chunk/EmailLoopPending-MXkvNNP8.js.map +0 -1
  375. package/chunk/EmailLoopPending-anok50US.js +0 -137
  376. package/chunk/EmailLoopPending-anok50US.js.map +0 -1
  377. package/chunk/FormFooterComponent-Cobuya5J.js.map +0 -1
  378. package/chunk/FormFooterComponent-DcilxYfs.js.map +0 -1
  379. package/chunk/StepAgePersonalInfo-KeuFdZua.js +0 -173
  380. package/chunk/StepCollectMilitaryStatusComponent-CHOxuZnI.js +0 -9
  381. package/chunk/StepCollectPersonalInfo-BVd72Idl.js +0 -361
  382. package/chunk/StepCompleteAuthentication-CYsu3UXL.js.map +0 -1
  383. package/chunk/StepCompleteAuthentication-CmOEE_s5.js.map +0 -1
  384. package/chunk/StepEmailLoop-7EwsfbG2.js.map +0 -1
  385. package/chunk/StepEmailLoop-CLIGNsCO.js.map +0 -1
  386. package/chunk/StepMemberPersonalInfo-DzKpsoK8.js +0 -156
  387. package/chunk/StepMoverPersonalInfo-DIspTifw.js +0 -143
  388. package/chunk/StepOverrideComponent-67Wl2Ic3.js.map +0 -1
  389. package/chunk/StepOverrideComponent-DbbQq6nF.js.map +0 -1
  390. package/chunk/StepSSO-DfPU73JX.js +0 -9
  391. package/chunk/StepSuccess-DOWQrS9p.js.map +0 -1
  392. package/chunk/StepSuccess-DkoWskiv.js.map +0 -1
  393. package/chunk/StepTeacherPersonalInfo-CW71f8l7.js +0 -153
  394. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +0 -9
  395. package/chunk/TestingRouteOverrides-DCR0qXVH.js +0 -81
  396. package/chunk/hooks--D4yPhcg.js +0 -2893
  397. package/chunk/hooks--D4yPhcg.js.map +0 -1
  398. package/chunk/hooks-Bn35OzEf.js +0 -2889
  399. package/chunk/hooks-Bn35OzEf.js.map +0 -1
@@ -1,44 +1,48 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.259.0-alpha.1
4
- * BUILD_TIMESTAMP: 1784754660626
5
- * BUILD_DATE: Wed Jul 22 2026 21:11:00 GMT+0000 (Coordinated Universal Time)
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.259.0-alpha.3
8
+ * BUILD_TIMESTAMP: 1784836485051
9
+ * BUILD_DATE: Thu Jul 23 2026 19:54:45 GMT+0000 (Coordinated Universal Time)
6
10
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
7
11
  */
8
- import { Bt as e, Ft as t, Wt as n, c as r, n as i, wt as a } from "./options-D19mRw5a.js";
9
- import { a as o, c as s, n as c, t as l } from "./jsx-runtime-BknAqbDq.js";
10
- import { x as u } from "./FormFooterComponent-DcilxYfs.js";
11
- import { a as d } from "./refs-Bbe0gnJ3.js";
12
- import { $ as f, B as p, F as m, G as h, I as g, W as _, et as v, n as y } from "../sheerid.js";
13
- import { t as b } from "./VerificationApiUtils-OKRnuWj4.js";
14
- import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-DA4ytPM2.js";
15
- import { n as D, t as O } from "./PersonalInfoStepSubmitButton-Byqc8ilE.js";
16
- import { t as k } from "./BirthDateComponent-Dx9Zgnrr.js";
17
- import { t as A } from "./PostalCodeComponent-hDSZecsX.js";
18
- import { t as j } from "./CountryComponentWrapper-CQ6ZT9lg.js";
19
- import { t as M } from "./City-BHrlkpMX.js";
20
- import { t as N } from "./AddressComponent-CN9VzjhI.js";
21
- import { t as P } from "./ExtraMessage-DeL_Wn33.js";
22
- import { t as F } from "./ChangeLocaleComponent-DPIcEDOe.js";
23
- import { t as I } from "./PersonalInfoStepWrapper-VYXPs068.js";
24
- import { t as L } from "./StateSelectComponent-DGQL388D.js";
25
- import { n as R, r as z, t as B } from "./DischargeDateComponent-dn8Ym3Oc.js";
26
- import { t as V } from "./StatusComponent-XLL7x50K.js";
27
- import { t as H } from "./militaryStepHelpers-UF-7lF1f.js";
12
+ import { Mt as e, Rt as t, Ut as n, p as r, s as i, xt as a } from "./intl-Yr2cw5px.js";
13
+ import { a as o, c as s, n as c, t as l } from "./jsx-runtime-D_-z-h6n.js";
14
+ import { D as u } from "./FormFooterComponent-CU9v96Pk.js";
15
+ import { a as d } from "./refs-C_tB1qMA.js";
16
+ import { $ as f, B as p, F as m, G as h, I as g, W as _, et as v, n as y } from "../_mysheerid-preview.js";
17
+ import { t as b } from "./VerificationApiUtils-CtfMQ7a_.js";
18
+ import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-pa2v-Kv1.js";
19
+ import { n as D, t as O } from "./PersonalInfoStepSubmitButton-D3lzSm2E.js";
20
+ import { t as k } from "./BirthDateComponent-DqkkSB42.js";
21
+ import { t as A } from "./PostalCodeComponent-BGzBByZd.js";
22
+ import { t as j } from "./CountryComponentWrapper-AaraHOGX.js";
23
+ import { t as M } from "./City-DlWin4GX.js";
24
+ import { t as N } from "./AddressComponent-CJV3vrMt.js";
25
+ import { t as P } from "./ExtraMessage-BYLbcc4O.js";
26
+ import { t as F } from "./ChangeLocaleComponent-CP_kEafQ.js";
27
+ import { t as I } from "./PersonalInfoStepWrapper-CfEXVPIa.js";
28
+ import { t as L } from "./StateSelectComponent-C6R9Cjgi.js";
29
+ import { n as R, r as z, t as B } from "./DischargeDateComponent-BrziTMXL.js";
30
+ import { t as V } from "./StatusComponent-VG5PRT7W.js";
31
+ import { t as H } from "./militaryStepHelpers-DSh6iat_.js";
28
32
  //#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
29
33
  var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService: o }) => {
30
34
  let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = m(o, n), Z = s.localeChoice.value, Q = i(), $ = (e, t) => {
31
35
  o.updateViewModel(H(e, t, o, X));
32
36
  };
33
- return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === t.collectMilitaryStatus) && (() => {
37
+ return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === e.collectMilitaryStatus) && (() => {
34
38
  let n = r(s, () => {});
35
- e.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, n, o.previousVerificationResponse || o.verificationResponse);
39
+ t.info("StepMilitaryStatusComponent submitting form"), o.submitStep(e.collectMilitaryStatus, n, o.previousVerificationResponse || o.verificationResponse);
36
40
  })(), U.useEffect(() => {
37
41
  (async () => {
38
- if (o.verificationResponse.currentStep === t.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
39
- Y((await b(K.verificationId, t.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
42
+ if (o.verificationResponse.currentStep === e.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
43
+ Y((await b(K.verificationId, e.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
40
44
  } catch (n) {
41
- e.error(`Failed to determine fields to collect: ${n}`, t.collectInactiveMilitaryPersonalInfo);
45
+ t.error(`Failed to determine fields to collect: ${n}`, e.collectInactiveMilitaryPersonalInfo);
42
46
  }
43
47
  })();
44
48
  }, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
@@ -220,7 +224,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
220
224
  isErrored: !!G.captchaToken
221
225
  }),
222
226
  /* @__PURE__ */ (0, W.jsx)(O, {
223
- step: t.collectInactiveMilitaryPersonalInfo,
227
+ step: e.collectInactiveMilitaryPersonalInfo,
224
228
  verificationService: o,
225
229
  viewModel: s,
226
230
  failedInstantMatch: q,
@@ -1 +1 @@
1
- {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-BCcxwwPz.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\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 MilitaryStatus } 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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\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=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .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 updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\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 updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\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 updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\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 updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"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={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\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 StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default St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AO,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAsB,IAAG;KAAQ,gBAAe;IAAS,CAAA;IAChE,UAAU,EAAwB,OAAO,GAAG;IAC5C,YAAY,EAAwB,OAAO,GAAG;GAC/C,CAAA;GAEF,EAAe,SAAS,YAAY,KACnC,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,UAAU,EAAwB,YAAY,GAAG;IACjD,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAgC,cAAc,CAAQ,GACtD,EAAqC,cAAc,GAAU,CAAmB;IAClF;IACA,OAAO,EAAU;IACjB,UAAU,EAAwB,YAAY,GAAG;GAClD,CAAA;GAGF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAgC,YAAY;MAC1C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
1
+ {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-BJg7kmzL.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\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 MilitaryStatus } 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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\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=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .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 updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\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 updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\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 updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\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 updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"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={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\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 StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,GACvD,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAuDA,QA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iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAgC,YAAY;MAC1C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
@@ -1,48 +1,44 @@
1
1
 
2
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.259.0-alpha.1
8
- * BUILD_TIMESTAMP: 1784754664523
9
- * BUILD_DATE: Wed Jul 22 2026 21:11:04 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.259.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1784836480727
5
+ * BUILD_DATE: Thu Jul 23 2026 19:54:40 GMT+0000 (Coordinated Universal Time)
10
6
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
11
7
  */
12
- import { Ht as e, Lt as t, bt as n, jt as r, p as i, s as a } from "./intl-aUfdCP8t.js";
13
- import { a as o, c as s, n as c, t as l } from "./jsx-runtime-XNwIsY_N.js";
14
- import { T as u } from "./FormFooterComponent-Cobuya5J.js";
15
- import { a as d } from "./refs--ECXpllB.js";
16
- import { $ as f, F as p, P as m, Q as h, U as g, W as _, t as v, z as y } from "../_mysheerid-preview.js";
17
- import { t as b } from "./VerificationApiUtils-COM2VOcB.js";
18
- import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-DZNI_Mdp.js";
19
- import { n as D, t as O } from "./PersonalInfoStepSubmitButton-i0P1DpyZ.js";
20
- import { t as k } from "./BirthDateComponent-25k9Dw8L.js";
21
- import { t as A } from "./PostalCodeComponent-DwnHo2aW.js";
22
- import { t as j } from "./CountryComponentWrapper-CRF7oKmW.js";
23
- import { t as M } from "./City-BbRIAxOR.js";
24
- import { t as N } from "./AddressComponent-RKH3wkuU.js";
25
- import { t as P } from "./ExtraMessage-Roxhs2rt.js";
26
- import { t as F } from "./ChangeLocaleComponent-COGR4N31.js";
27
- import { t as I } from "./PersonalInfoStepWrapper-BpxtlGxV.js";
28
- import { t as L } from "./StateSelectComponent-D26TjOAn.js";
29
- import { n as R, r as z, t as B } from "./DischargeDateComponent-Dylz_5IN.js";
30
- import { t as V } from "./StatusComponent-Dv3frckJ.js";
31
- import { t as H } from "./militaryStepHelpers-qMYyQgVn.js";
8
+ import { Bt as e, Ft as t, Wt as n, c as r, n as i, wt as a } from "./options-D19mRw5a.js";
9
+ import { a as o, c as s, n as c, t as l } from "./jsx-runtime-BknAqbDq.js";
10
+ import { C as u } from "./FormFooterComponent-BvXzhu3G.js";
11
+ import { a as d } from "./refs-Bbe0gnJ3.js";
12
+ import { G as f, I as p, K as m, L as h, V as g, et as _, r as v, tt as y } from "../sheerid.js";
13
+ import { t as b } from "./VerificationApiUtils-y5gjtrYk.js";
14
+ import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-B2bCn0HL.js";
15
+ import { n as D, t as O } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
16
+ import { t as k } from "./BirthDateComponent-BHSI0CUp.js";
17
+ import { t as A } from "./PostalCodeComponent-C97fgZFI.js";
18
+ import { t as j } from "./CountryComponentWrapper-BHYHjLHh.js";
19
+ import { t as M } from "./City-CmO85Z9x.js";
20
+ import { t as N } from "./AddressComponent-DMwOmjiG.js";
21
+ import { t as P } from "./ExtraMessage-DuEKh0WN.js";
22
+ import { t as F } from "./ChangeLocaleComponent-Cy07cdJk.js";
23
+ import { t as I } from "./PersonalInfoStepWrapper-lbTtms4r.js";
24
+ import { t as L } from "./StateSelectComponent-DVR-oYsL.js";
25
+ import { n as R, r as z, t as B } from "./DischargeDateComponent-d85FApuP.js";
26
+ import { t as V } from "./StatusComponent-DS5eysat.js";
27
+ import { t as H } from "./militaryStepHelpers-UF-7lF1f.js";
32
28
  //#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
33
- var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService: o }) => {
34
- let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = m(o, e), Z = s.localeChoice.value, Q = a(), $ = (e, t) => {
29
+ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService: o }) => {
30
+ let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = p(o, n), Z = s.localeChoice.value, Q = i(), $ = (e, t) => {
35
31
  o.updateViewModel(H(e, t, o, X));
36
32
  };
37
- return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === r.collectMilitaryStatus) && (() => {
38
- let e = i(s, () => {});
39
- t.info("StepMilitaryStatusComponent submitting form"), o.submitStep(r.collectMilitaryStatus, e, o.previousVerificationResponse || o.verificationResponse);
33
+ return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === t.collectMilitaryStatus) && (() => {
34
+ let n = r(s, () => {});
35
+ e.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, n, o.previousVerificationResponse || o.verificationResponse);
40
36
  })(), U.useEffect(() => {
41
37
  (async () => {
42
- if (o.verificationResponse.currentStep === r.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
43
- Y((await b(K.verificationId, r.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
44
- } catch (e) {
45
- t.error(`Failed to determine fields to collect: ${e}`, r.collectInactiveMilitaryPersonalInfo);
38
+ if (o.verificationResponse.currentStep === t.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
39
+ Y((await b(K.verificationId, t.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
40
+ } catch (n) {
41
+ e.error(`Failed to determine fields to collect: ${n}`, t.collectInactiveMilitaryPersonalInfo);
46
42
  }
47
43
  })();
48
44
  }, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
@@ -58,49 +54,49 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
58
54
  /* @__PURE__ */ (0, W.jsx)(F, { verificationService: o }),
59
55
  /* @__PURE__ */ (0, W.jsx)(j, {
60
56
  verificationService: o,
61
- disabled: y("country")?.disabled
57
+ disabled: g("country")?.disabled
62
58
  }),
63
59
  X ? /* @__PURE__ */ (0, W.jsx)(V, {
64
60
  segmentId: "military",
65
61
  value: {
66
62
  value: s.status,
67
- label: g(e, s.status, n)
63
+ label: f(n, s.status, a)
68
64
  },
69
65
  isErrored: !!G.status,
70
66
  errorId: "invalidMilitaryStatus",
71
67
  options: X,
72
- disabled: y("status")?.disabled,
68
+ disabled: g("status")?.disabled,
73
69
  onChange: (e) => {
74
- $("status", e ? e.value : ""), h("status", e ? e.value : "", o);
70
+ $("status", e ? e.value : ""), _("status", e ? e.value : "", o);
75
71
  }
76
72
  }) : null,
77
73
  /* @__PURE__ */ (0, W.jsx)(R, {
78
74
  isErrored: !!G.organization,
79
75
  onChange: (e) => {
80
- f(e, o), h("organization", e, o);
76
+ y(e, o), _("organization", e, o);
81
77
  },
82
78
  value: {
83
79
  value: o.viewModel.organization.id,
84
80
  label: o.viewModel.organization.name
85
81
  },
86
82
  verificationService: o,
87
- disabled: y("organization")?.disabled
83
+ disabled: g("organization")?.disabled
88
84
  }),
89
85
  /* @__PURE__ */ (0, W.jsxs)("div", {
90
86
  className: "sid-names",
91
87
  children: [/* @__PURE__ */ (0, W.jsx)(x, {
92
88
  value: s.firstName,
93
89
  isErrored: !!G.firstName,
94
- disabled: y("firstName")?.disabled,
90
+ disabled: g("firstName")?.disabled,
95
91
  onChange: (e) => {
96
- $("firstName", e), h("firstName", e, o);
92
+ $("firstName", e), _("firstName", e, o);
97
93
  }
98
94
  }), /* @__PURE__ */ (0, W.jsx)(S, {
99
95
  value: s.lastName,
100
96
  isErrored: !!G.lastName,
101
- disabled: y("lastName")?.disabled,
97
+ disabled: g("lastName")?.disabled,
102
98
  onChange: (e) => {
103
- $("lastName", e), h("lastName", e, o);
99
+ $("lastName", e), _("lastName", e, o);
104
100
  }
105
101
  })]
106
102
  }),
@@ -108,29 +104,29 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
108
104
  errorId: G.birthDate,
109
105
  locale: Z,
110
106
  onChange: (e) => {
111
- $("birthDate", e), h("birthDate", e, o);
107
+ $("birthDate", e), _("birthDate", e, o);
112
108
  },
113
109
  value: s.birthDate,
114
- disabled: y("birthDate")?.disabled
110
+ disabled: g("birthDate")?.disabled
115
111
  }),
116
112
  o.programTheme.strictMilitaryValidationEnabled && /* @__PURE__ */ (0, W.jsx)(z, {
117
113
  errorId: G.activeDutyStartDate,
118
114
  locale: Z,
119
115
  onChange: (e) => {
120
- $("activeDutyStartDate", e), h("activeDutyStartDate", e, o);
116
+ $("activeDutyStartDate", e), _("activeDutyStartDate", e, o);
121
117
  },
122
118
  value: s.activeDutyStartDate,
123
- disabled: y("activeDutyStartDate")?.disabled
119
+ disabled: g("activeDutyStartDate")?.disabled
124
120
  }),
125
121
  /* @__PURE__ */ (0, W.jsx)(B, {
126
122
  mode: o.programTheme.transitionalMilitaryValidityDays ? "date" : "month",
127
123
  errorId: G.dischargeDate,
128
124
  onChange: (e) => {
129
- $("dischargeDate", e), h("dischargeDate", e, o);
125
+ $("dischargeDate", e), _("dischargeDate", e, o);
130
126
  },
131
127
  value: s.dischargeDate,
132
128
  locale: Z,
133
- disabled: y("dischargeDate")?.disabled
129
+ disabled: g("dischargeDate")?.disabled
134
130
  }),
135
131
  /* @__PURE__ */ (0, W.jsx)(D, {
136
132
  value: s.email,
@@ -140,64 +136,64 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
140
136
  defaultMessage: "Personal email address is recommended"
141
137
  }),
142
138
  onChange: (e) => {
143
- $("email", e), h("email", e, o);
139
+ $("email", e), _("email", e, o);
144
140
  },
145
- onKeyDown: (e) => _(e),
146
- disabled: y("email")?.disabled
141
+ onKeyDown: (e) => m(e),
142
+ disabled: g("email")?.disabled
147
143
  }),
148
144
  o.programTheme.isSmsNotifierConfigured || o.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, W.jsx)(w, {
149
145
  isRequired: !!o.programTheme.smsLoopEnabled,
150
146
  value: s.phoneNumber,
151
147
  isErrored: !!G.phoneNumber,
152
148
  onChange: (e) => {
153
- $("phoneNumber", e), h("phoneNumber", e, o);
149
+ $("phoneNumber", e), _("phoneNumber", e, o);
154
150
  },
155
151
  selectedCountryCode: s.countryChoice && s.countryChoice.value,
156
- disabled: y("phoneNumber")?.disabled
152
+ disabled: g("phoneNumber")?.disabled
157
153
  }) : null,
158
154
  J.includes("address1") && /* @__PURE__ */ (0, W.jsx)(N, {
159
155
  value: s.address1,
160
156
  isErrored: !!G.address1,
161
157
  errorId: G.address1,
162
- disabled: y("address1")?.disabled,
158
+ disabled: g("address1")?.disabled,
163
159
  onChange: (e) => {
164
- $("address1", e), h("address1", e, o);
160
+ $("address1", e), _("address1", e, o);
165
161
  },
166
- isRequired: y("address1")?.requireIfOptional
162
+ isRequired: g("address1")?.requireIfOptional
167
163
  }),
168
164
  J.includes("city") && /* @__PURE__ */ (0, W.jsx)(M, {
169
165
  value: s.city,
170
166
  isErrored: !!G.city,
171
167
  errorId: G.city,
172
- disabled: y("city")?.disabled,
168
+ disabled: g("city")?.disabled,
173
169
  onChange: (e) => {
174
- $("city", e), h("city", e, o);
170
+ $("city", e), _("city", e, o);
175
171
  },
176
- isRequired: y("city")?.requireIfOptional
172
+ isRequired: g("city")?.requireIfOptional
177
173
  }),
178
174
  J.includes("state") && /* @__PURE__ */ (0, W.jsx)(L, {
179
- options: p(o.programTheme, e),
175
+ options: h(o.programTheme, n),
180
176
  value: s.state || void 0,
181
177
  isErrored: !!G.state,
182
178
  onChange: async (e) => {
183
179
  let t = e ? e.value : void 0;
184
- $("state", t), h("state", t, o);
180
+ $("state", t), _("state", t, o);
185
181
  },
186
182
  label: /* @__PURE__ */ (0, W.jsx)(c, {
187
183
  id: "state",
188
184
  defaultMessage: "State"
189
185
  }),
190
- disabled: y("state")?.disabled,
191
- isRequired: y("state")?.requireIfOptional
186
+ disabled: g("state")?.disabled,
187
+ isRequired: g("state")?.requireIfOptional
192
188
  }),
193
189
  J.includes("postalCode") && /* @__PURE__ */ (0, W.jsx)(A, {
194
- required: y("postalCode")?.requireIfOptional,
190
+ required: g("postalCode")?.requireIfOptional,
195
191
  isErrored: !!G.postalCode,
196
192
  onChange: (e) => {
197
- $("postalCode", e), h("postalCode", e, o);
193
+ $("postalCode", e), _("postalCode", e, o);
198
194
  },
199
195
  value: s.postalCode,
200
- disabled: y("postalCode")?.disabled
196
+ disabled: g("postalCode")?.disabled
201
197
  }),
202
198
  Q.customFormFields.map((e) => /* @__PURE__ */ (0, W.jsx)(C, {
203
199
  config: e,
@@ -210,10 +206,10 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
210
206
  $("metadata", {
211
207
  ...o.viewModel.metadata,
212
208
  marketConsentValue: e
213
- }), h("marketConsentValue", e, o);
209
+ }), _("marketConsentValue", e, o);
214
210
  },
215
211
  viewModel: s,
216
- disabled: y("marketConsentValue")?.disabled
212
+ disabled: g("marketConsentValue")?.disabled
217
213
  }),
218
214
  /* @__PURE__ */ (0, W.jsx)(P, {
219
215
  verificationService: o,
@@ -224,7 +220,7 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
224
220
  isErrored: !!G.captchaToken
225
221
  }),
226
222
  /* @__PURE__ */ (0, W.jsx)(O, {
227
- step: r.collectInactiveMilitaryPersonalInfo,
223
+ step: t.collectInactiveMilitaryPersonalInfo,
228
224
  verificationService: o,
229
225
  viewModel: s,
230
226
  failedInstantMatch: q,
@@ -1 +1 @@
1
- {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-MKHFys80.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\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 MilitaryStatus } 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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\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=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .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 updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\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 updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\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 updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\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 updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"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={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\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 StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,GACvD,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAuDA,QA1CG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAGb,EAAM,gBAAgB;EACpB,CAAC,YAAY;GACX,IACE,EAAoB,qBAAqB,gBACvC,EAAsB,uCACxB,EAAU,eAAe,UAAU,MAEnC,IAAI;IAOF,GAAkB,MANyC,EACzD,EAAqB,gBACrB,EAAsB,qCACtB,CACF,IAEyC,iBAAiB,UAAU,KAAK,MAAM,EAAE,GAAG,CAAC;GACvF,SAAS,GAAO;IACd,EAAO,MACL,0CAA0C,KAC1C,EAAsB,mCACxB;GACF;EAEJ,GAAG;CACL,GAAG,CAAC,EAAoB,qBAAqB,aAAa,EAAU,aAAa,CA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KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA4C,EACvD,CACF"}
1
+ {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-ag9fYZ8M.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\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 MilitaryStatus } 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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\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=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .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 updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\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 updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\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 updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\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 updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"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={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\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 StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,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