@sheerid/jslib-nightly 2.259.0-alpha.2 → 2.259.0-alpha.4

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 (398) hide show
  1. package/_mysheerid-preview.css +3 -3
  2. package/_mysheerid-preview.js +1457 -1457
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-DMwOmjiG.js → AddressComponent-BAzFHRbA.js} +5 -5
  5. package/chunk/{AddressComponent-CJV3vrMt.js.map → AddressComponent-BAzFHRbA.js.map} +1 -1
  6. package/chunk/{AddressComponent-CJV3vrMt.js → AddressComponent-DwBYG6uf.js} +5 -5
  7. package/chunk/{AddressComponent-DMwOmjiG.js.map → AddressComponent-DwBYG6uf.js.map} +1 -1
  8. package/chunk/{AnnouncingHeader-DjgtqEeX.js → AnnouncingHeader-C3SZBL-2.js} +5 -5
  9. package/chunk/{AnnouncingHeader-BF69hVVm.js.map → AnnouncingHeader-C3SZBL-2.js.map} +1 -1
  10. package/chunk/{AnnouncingHeader-BF69hVVm.js → AnnouncingHeader-DQHkHL1F.js} +5 -5
  11. package/chunk/{AnnouncingHeader-DjgtqEeX.js.map → AnnouncingHeader-DQHkHL1F.js.map} +1 -1
  12. package/chunk/{ApiUrls-Qas0Xjyd.js → ApiUrls-C1i2zShE.js} +5 -9
  13. package/chunk/{ApiUrls-BpvEY_I3.js.map → ApiUrls-C1i2zShE.js.map} +1 -1
  14. package/chunk/ApiUrls-dZcmNEuL.js +42 -0
  15. package/chunk/{ApiUrls-Qas0Xjyd.js.map → ApiUrls-dZcmNEuL.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-DFHRO9YQ.js → BirthDateComponent-CWp6qCwi.js} +6 -6
  17. package/chunk/{BirthDateComponent-DFHRO9YQ.js.map → BirthDateComponent-CWp6qCwi.js.map} +1 -1
  18. package/chunk/{BirthDateComponent-Dh5xAxOF.js → BirthDateComponent-D9LlGf-7.js} +6 -6
  19. package/chunk/{BirthDateComponent-Dh5xAxOF.js.map → BirthDateComponent-D9LlGf-7.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-DaH202Ah.js → CaptchaComponent-BLKVnsDS.js} +119 -123
  21. package/chunk/{CaptchaComponent-DaH202Ah.js.map → CaptchaComponent-BLKVnsDS.js.map} +1 -1
  22. package/chunk/{CaptchaComponent-QYGB0QuK.js → CaptchaComponent-ZNBrwLAd.js} +183 -179
  23. package/chunk/{CaptchaComponent-QYGB0QuK.js.map → CaptchaComponent-ZNBrwLAd.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-QMQdbxxB.js → ChangeLocaleComponent-CkmHNHiE.js} +6 -6
  25. package/chunk/{ChangeLocaleComponent-DdX2nV2D.js.map → ChangeLocaleComponent-CkmHNHiE.js.map} +1 -1
  26. package/chunk/{ChangeLocaleComponent-DdX2nV2D.js → ChangeLocaleComponent-MCyF8czV.js} +6 -6
  27. package/chunk/{ChangeLocaleComponent-QMQdbxxB.js.map → ChangeLocaleComponent-MCyF8czV.js.map} +1 -1
  28. package/chunk/{City-CmO85Z9x.js → City-Ch0wNVmN.js} +5 -5
  29. package/chunk/{City-CmO85Z9x.js.map → City-Ch0wNVmN.js.map} +1 -1
  30. package/chunk/{City-DlWin4GX.js → City-umz1wU5f.js} +5 -5
  31. package/chunk/{City-DlWin4GX.js.map → City-umz1wU5f.js.map} +1 -1
  32. package/chunk/{CollegeNameComponent-CIhHISji.js → CollegeNameComponent-Bw1V9DWR.js} +7 -7
  33. package/chunk/{CollegeNameComponent-CIhHISji.js.map → CollegeNameComponent-Bw1V9DWR.js.map} +1 -1
  34. package/chunk/{CollegeNameComponent-D_dKLkKY.js → CollegeNameComponent-sTb0aLwH.js} +7 -7
  35. package/chunk/{CollegeNameComponent-D_dKLkKY.js.map → CollegeNameComponent-sTb0aLwH.js.map} +1 -1
  36. package/chunk/{CopyToClipboardComponent-1BeB_oX_.js → CopyToClipboardComponent-CfiR0il_.js} +8 -8
  37. package/chunk/{CopyToClipboardComponent-1BeB_oX_.js.map → CopyToClipboardComponent-CfiR0il_.js.map} +1 -1
  38. package/chunk/{CopyToClipboardComponent-C1BnmvlK.js → CopyToClipboardComponent-eiQyVezJ.js} +8 -8
  39. package/chunk/{CopyToClipboardComponent-C1BnmvlK.js.map → CopyToClipboardComponent-eiQyVezJ.js.map} +1 -1
  40. package/chunk/{CountryComponentWrapper-Du13nINk.js → CountryComponentWrapper-BSSdDVcs.js} +17 -13
  41. package/chunk/{CountryComponentWrapper-Du13nINk.js.map → CountryComponentWrapper-BSSdDVcs.js.map} +1 -1
  42. package/chunk/CountryComponentWrapper-BWQRtr9a.js +74 -0
  43. package/chunk/{CountryComponentWrapper-zWLRBrRp.js.map → CountryComponentWrapper-BWQRtr9a.js.map} +1 -1
  44. package/chunk/{DischargeDateComponent-DH3gbXN-.js → DischargeDateComponent-BX2aPQbK.js} +12 -12
  45. package/chunk/{DischargeDateComponent-DH3gbXN-.js.map → DischargeDateComponent-BX2aPQbK.js.map} +1 -1
  46. package/chunk/{DischargeDateComponent-DpNsH3Q4.js → DischargeDateComponent-DmQ9YAzc.js} +13 -13
  47. package/chunk/{DischargeDateComponent-DpNsH3Q4.js.map → DischargeDateComponent-DmQ9YAzc.js.map} +1 -1
  48. package/chunk/{DriverLicenseNumberComponent-D8q18o2M.js → DriverLicenseNumberComponent-BVOVJVvt.js} +5 -5
  49. package/chunk/{DriverLicenseNumberComponent-D8q18o2M.js.map → DriverLicenseNumberComponent-BVOVJVvt.js.map} +1 -1
  50. package/chunk/{DriverLicenseNumberComponent-DgXMM-Pt.js → DriverLicenseNumberComponent-oKgkWwie.js} +5 -5
  51. package/chunk/{DriverLicenseNumberComponent-DgXMM-Pt.js.map → DriverLicenseNumberComponent-oKgkWwie.js.map} +1 -1
  52. package/chunk/{EmailLoopPending-Dvufu09u.js → EmailLoopPending-CE-tueNf.js} +18 -18
  53. package/chunk/{EmailLoopPending-Dvufu09u.js.map → EmailLoopPending-CE-tueNf.js.map} +1 -1
  54. package/chunk/{EmailLoopPending-BpsA3nlg.js → EmailLoopPending-IfP5ilCU.js} +22 -22
  55. package/chunk/{EmailLoopPending-BpsA3nlg.js.map → EmailLoopPending-IfP5ilCU.js.map} +1 -1
  56. package/chunk/{ExtraMessage-Ca6AF5JE.js → ExtraMessage-BicSxrM8.js} +6 -6
  57. package/chunk/{ExtraMessage-9BMK2Fd_.js.map → ExtraMessage-BicSxrM8.js.map} +1 -1
  58. package/chunk/{ExtraMessage-9BMK2Fd_.js → ExtraMessage-D_tMUnf9.js} +6 -6
  59. package/chunk/{ExtraMessage-Ca6AF5JE.js.map → ExtraMessage-D_tMUnf9.js.map} +1 -1
  60. package/chunk/{FirstResponderOrganizationComponent-DgcptK9s.js → FirstResponderOrganizationComponent-CarIvxfO.js} +6 -6
  61. package/chunk/{FirstResponderOrganizationComponent-C88NJlsu.js.map → FirstResponderOrganizationComponent-CarIvxfO.js.map} +1 -1
  62. package/chunk/{FirstResponderOrganizationComponent-C88NJlsu.js → FirstResponderOrganizationComponent-DATMg2cJ.js} +6 -6
  63. package/chunk/{FirstResponderOrganizationComponent-DgcptK9s.js.map → FirstResponderOrganizationComponent-DATMg2cJ.js.map} +1 -1
  64. package/chunk/{FormFieldInputSelect-BJlHmrSC.js → FormFieldInputSelect-BoPAcenZ.js} +6 -6
  65. package/chunk/{FormFieldInputSelect-BJlHmrSC.js.map → FormFieldInputSelect-BoPAcenZ.js.map} +1 -1
  66. package/chunk/{FormFieldInputSelect-qjIEfk_y.js → FormFieldInputSelect-PSqzJ3aN.js} +6 -6
  67. package/chunk/{FormFieldInputSelect-qjIEfk_y.js.map → FormFieldInputSelect-PSqzJ3aN.js.map} +1 -1
  68. package/chunk/{FormFieldLayout-BpmeMD4X.js → FormFieldLayout-Bb1WuAD0.js} +5 -5
  69. package/chunk/{FormFieldLayout-DIcCOsGu.js.map → FormFieldLayout-Bb1WuAD0.js.map} +1 -1
  70. package/chunk/{FormFieldLayout-DIcCOsGu.js → FormFieldLayout-DXsnKxvN.js} +5 -5
  71. package/chunk/{FormFieldLayout-BpmeMD4X.js.map → FormFieldLayout-DXsnKxvN.js.map} +1 -1
  72. package/chunk/{FormFieldText-zuTjfmLt.js → FormFieldText-B9pb3dXH.js} +6 -6
  73. package/chunk/{FormFieldText-zjWk7Cyc.js.map → FormFieldText-B9pb3dXH.js.map} +1 -1
  74. package/chunk/{FormFieldText-zjWk7Cyc.js → FormFieldText-pZJ86ywV.js} +6 -6
  75. package/chunk/{FormFieldText-zuTjfmLt.js.map → FormFieldText-pZJ86ywV.js.map} +1 -1
  76. package/chunk/{FormFieldTypeahead-CrDv6QmZ.js → FormFieldTypeahead-BLvDi0is.js} +90 -90
  77. package/chunk/{FormFieldTypeahead-CrDv6QmZ.js.map → FormFieldTypeahead-BLvDi0is.js.map} +1 -1
  78. package/chunk/{FormFieldTypeahead-4sP6yrSp.js → FormFieldTypeahead-DSiQ4zHO.js} +136 -136
  79. package/chunk/{FormFieldTypeahead-4sP6yrSp.js.map → FormFieldTypeahead-DSiQ4zHO.js.map} +1 -1
  80. package/chunk/{FormFooterComponent-D9_fIqUs.js → FormFooterComponent-B5sO7lYC.js} +1447 -1451
  81. package/chunk/FormFooterComponent-B5sO7lYC.js.map +1 -0
  82. package/chunk/{FormFooterComponent-CXzDxR2J.js → FormFooterComponent-DsvjZf4o.js} +1882 -1886
  83. package/chunk/{FormFooterComponent-CXzDxR2J.js.map → FormFooterComponent-DsvjZf4o.js.map} +1 -1
  84. package/chunk/{FormSelectChoice-QRH1HmYa.js → FormSelectChoice-DoK87Gbl.js} +16 -16
  85. package/chunk/{FormSelectChoice-BQPP65dN.js.map → FormSelectChoice-DoK87Gbl.js.map} +1 -1
  86. package/chunk/{FormSelectChoice-BQPP65dN.js → FormSelectChoice-YtuMSK5M.js} +16 -16
  87. package/chunk/{FormSelectChoice-QRH1HmYa.js.map → FormSelectChoice-YtuMSK5M.js.map} +1 -1
  88. package/chunk/{InputText-DA8wfbQM.js → InputText-B3qMKLhG.js} +6 -6
  89. package/chunk/{InputText-Bzkl8mKj.js.map → InputText-B3qMKLhG.js.map} +1 -1
  90. package/chunk/{InputText-Bzkl8mKj.js → InputText-CM38DNW0.js} +6 -6
  91. package/chunk/{InputText-DA8wfbQM.js.map → InputText-CM38DNW0.js.map} +1 -1
  92. package/chunk/{LicensedProfessionalOrganizationComponent-Cy9sdOZC.js → LicensedProfessionalOrganizationComponent-7Ch23kP0.js} +6 -6
  93. package/chunk/{LicensedProfessionalOrganizationComponent-Cy9sdOZC.js.map → LicensedProfessionalOrganizationComponent-7Ch23kP0.js.map} +1 -1
  94. package/chunk/{LicensedProfessionalOrganizationComponent-DD9CuMfT.js → LicensedProfessionalOrganizationComponent-bpm8_oJn.js} +6 -6
  95. package/chunk/{LicensedProfessionalOrganizationComponent-DD9CuMfT.js.map → LicensedProfessionalOrganizationComponent-bpm8_oJn.js.map} +1 -1
  96. package/chunk/{LogoComponent-BxIXOXCM.js → LogoComponent-C2JeW5X0.js} +5 -5
  97. package/chunk/{LogoComponent-BMeuu-aK.js.map → LogoComponent-C2JeW5X0.js.map} +1 -1
  98. package/chunk/{LogoComponent-BMeuu-aK.js → LogoComponent-DwplRUhZ.js} +5 -5
  99. package/chunk/{LogoComponent-BxIXOXCM.js.map → LogoComponent-DwplRUhZ.js.map} +1 -1
  100. package/chunk/{LowIncomeOrganizationComponent-Dpvvj9n4.js → LowIncomeOrganizationComponent-CF8b7PRT.js} +15 -15
  101. package/chunk/{LowIncomeOrganizationComponent-D3-otdoS.js.map → LowIncomeOrganizationComponent-CF8b7PRT.js.map} +1 -1
  102. package/chunk/{LowIncomeOrganizationComponent-D3-otdoS.js → LowIncomeOrganizationComponent-DNH8KSnF.js} +16 -16
  103. package/chunk/{LowIncomeOrganizationComponent-Dpvvj9n4.js.map → LowIncomeOrganizationComponent-DNH8KSnF.js.map} +1 -1
  104. package/chunk/{MedicalProfessionalOrganizationComponent-B_6Eeh8t.js → MedicalProfessionalOrganizationComponent-CQYCEMrI.js} +6 -6
  105. package/chunk/{MedicalProfessionalOrganizationComponent-B-hFqd6W.js.map → MedicalProfessionalOrganizationComponent-CQYCEMrI.js.map} +1 -1
  106. package/chunk/{MedicalProfessionalOrganizationComponent-B-hFqd6W.js → MedicalProfessionalOrganizationComponent-DrbGfGEM.js} +6 -6
  107. package/chunk/{MedicalProfessionalOrganizationComponent-B_6Eeh8t.js.map → MedicalProfessionalOrganizationComponent-DrbGfGEM.js.map} +1 -1
  108. package/chunk/{MemberIdComponent-Dva2Xx7J.js → MemberIdComponent-CFB8g_hq.js} +5 -5
  109. package/chunk/{MemberIdComponent-DMGaNM9l.js.map → MemberIdComponent-CFB8g_hq.js.map} +1 -1
  110. package/chunk/{MemberIdComponent-DMGaNM9l.js → MemberIdComponent-CTSpgRAd.js} +5 -5
  111. package/chunk/{MemberIdComponent-Dva2Xx7J.js.map → MemberIdComponent-CTSpgRAd.js.map} +1 -1
  112. package/chunk/{MembershipOrganizationComponent-DuJZlKLf.js → MembershipOrganizationComponent-DGi-HUka.js} +6 -6
  113. package/chunk/{MembershipOrganizationComponent-CfLlUdPl.js.map → MembershipOrganizationComponent-DGi-HUka.js.map} +1 -1
  114. package/chunk/{MembershipOrganizationComponent-CfLlUdPl.js → MembershipOrganizationComponent-sZW8Wagq.js} +6 -6
  115. package/chunk/{MembershipOrganizationComponent-DuJZlKLf.js.map → MembershipOrganizationComponent-sZW8Wagq.js.map} +1 -1
  116. package/chunk/Onfido-CTCgAwnB.js +3 -3
  117. package/chunk/{PersonalInfoStepSubmitButton-D3lzSm2E.js → PersonalInfoStepSubmitButton-5tuzy7zT.js} +20 -20
  118. package/chunk/{PersonalInfoStepSubmitButton-D3lzSm2E.js.map → PersonalInfoStepSubmitButton-5tuzy7zT.js.map} +1 -1
  119. package/chunk/{PersonalInfoStepSubmitButton-Ywai8bYu.js → PersonalInfoStepSubmitButton-Cz_CdAWG.js} +15 -15
  120. package/chunk/{PersonalInfoStepSubmitButton-Ywai8bYu.js.map → PersonalInfoStepSubmitButton-Cz_CdAWG.js.map} +1 -1
  121. package/chunk/{PersonalInfoStepWrapper-DgL_kGk3.js → PersonalInfoStepWrapper-4ZK1A1_g.js} +21 -21
  122. package/chunk/{PersonalInfoStepWrapper-DgL_kGk3.js.map → PersonalInfoStepWrapper-4ZK1A1_g.js.map} +1 -1
  123. package/chunk/{PersonalInfoStepWrapper-B-1TuvRJ.js → PersonalInfoStepWrapper-ARH3ZED1.js} +6 -6
  124. package/chunk/{PersonalInfoStepWrapper-B-1TuvRJ.js.map → PersonalInfoStepWrapper-ARH3ZED1.js.map} +1 -1
  125. package/chunk/{PostalCodeComponent-BGzBByZd.js → PostalCodeComponent-BYqnLcHd.js} +5 -5
  126. package/chunk/{PostalCodeComponent-C97fgZFI.js.map → PostalCodeComponent-BYqnLcHd.js.map} +1 -1
  127. package/chunk/{PostalCodeComponent-C97fgZFI.js → PostalCodeComponent-BwpQbUxr.js} +5 -5
  128. package/chunk/{PostalCodeComponent-BGzBByZd.js.map → PostalCodeComponent-BwpQbUxr.js.map} +1 -1
  129. package/chunk/{SSN-mk_cMbDH.js → SSN-BDVJgGSQ.js} +6 -6
  130. package/chunk/{SSN-CNzKgddw.js.map → SSN-BDVJgGSQ.js.map} +1 -1
  131. package/chunk/{SSN-CNzKgddw.js → SSN-DAInA3wn.js} +6 -6
  132. package/chunk/{SSN-mk_cMbDH.js.map → SSN-DAInA3wn.js.map} +1 -1
  133. package/chunk/{StateSelectComponent-D2j7QCvj.js → StateSelectComponent-C12-PmBR.js} +5 -5
  134. package/chunk/{StateSelectComponent-Cx1_JBfI.js.map → StateSelectComponent-C12-PmBR.js.map} +1 -1
  135. package/chunk/{StateSelectComponent-Cx1_JBfI.js → StateSelectComponent-Ctqsq9QW.js} +5 -5
  136. package/chunk/{StateSelectComponent-D2j7QCvj.js.map → StateSelectComponent-Ctqsq9QW.js.map} +1 -1
  137. package/chunk/{StatusComponent-Cxw9bsOp.js → StatusComponent-BkaYM9ne.js} +6 -6
  138. package/chunk/{StatusComponent-Cxw9bsOp.js.map → StatusComponent-BkaYM9ne.js.map} +1 -1
  139. package/chunk/{StatusComponent-_HBklXve.js → StatusComponent-DWf6Z-oB.js} +6 -6
  140. package/chunk/{StatusComponent-_HBklXve.js.map → StatusComponent-DWf6Z-oB.js.map} +1 -1
  141. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js → StepActiveMilitaryPersonalInfoComponent--98sV1fQ.js} +23 -23
  142. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js.map → StepActiveMilitaryPersonalInfoComponent--98sV1fQ.js.map} +1 -1
  143. package/chunk/{StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js → StepActiveMilitaryPersonalInfoComponent-DhsxUHNz.js} +20 -20
  144. package/chunk/{StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js.map → StepActiveMilitaryPersonalInfoComponent-DhsxUHNz.js.map} +1 -1
  145. package/chunk/{StepAgePersonalInfo-X-eQf_2z.js → StepAgePersonalInfo-ApVus-QC.js} +19 -19
  146. package/chunk/{StepAgePersonalInfo-DmBYGHG8.js.map → StepAgePersonalInfo-ApVus-QC.js.map} +1 -1
  147. package/chunk/{StepAgePersonalInfo-DmBYGHG8.js → StepAgePersonalInfo-D2TBteBL.js} +56 -56
  148. package/chunk/{StepAgePersonalInfo-X-eQf_2z.js.map → StepAgePersonalInfo-D2TBteBL.js.map} +1 -1
  149. package/chunk/{StepCard-7t2vkHqM.js → StepCard-Byk_N2eu.js} +4 -4
  150. package/chunk/{StepCard-7t2vkHqM.js.map → StepCard-Byk_N2eu.js.map} +1 -1
  151. package/chunk/{StepCard-BtvCt-ND.js → StepCard-CTG7niZl.js} +4 -4
  152. package/chunk/{StepCard-BtvCt-ND.js.map → StepCard-CTG7niZl.js.map} +1 -1
  153. package/chunk/{StepCollectIdentifier-bhlSO88L.js → StepCollectIdentifier-BACoD6-6.js} +7 -7
  154. package/chunk/{StepCollectIdentifier-bhlSO88L.js.map → StepCollectIdentifier-BACoD6-6.js.map} +1 -1
  155. package/chunk/{StepCollectIdentifier-8QO4sVSo.js → StepCollectIdentifier-BWoApZSB.js} +7 -7
  156. package/chunk/{StepCollectIdentifier-8QO4sVSo.js.map → StepCollectIdentifier-BWoApZSB.js.map} +1 -1
  157. package/chunk/{StepCollectMilitaryStatusComponent-CwiPlk5w.js → StepCollectMilitaryStatusComponent-CAmLY6bG.js} +4 -4
  158. package/chunk/StepCollectMilitaryStatusComponent-Dr2wJ6o4.js +9 -0
  159. package/chunk/StepCollectPersonalInfo-C4oB2-uA.js +361 -0
  160. package/chunk/{StepCollectPersonalInfo-R-5UOPTA.js.map → StepCollectPersonalInfo-C4oB2-uA.js.map} +1 -1
  161. package/chunk/StepCollectPersonalInfo-D6nFnozX.js +357 -0
  162. package/chunk/{StepCollectPersonalInfo-r2uBVXk_.js.map → StepCollectPersonalInfo-D6nFnozX.js.map} +1 -1
  163. package/chunk/{StepCompleteAuthentication-Cs4zhI-D.js → StepCompleteAuthentication-C0eGb9ij.js} +18 -18
  164. package/chunk/{StepCompleteAuthentication-C2HoMZzF.js.map → StepCompleteAuthentication-C0eGb9ij.js.map} +1 -1
  165. package/chunk/{StepCompleteAuthentication-C2HoMZzF.js → StepCompleteAuthentication-DZ5iFFUF.js} +6 -6
  166. package/chunk/{StepCompleteAuthentication-Cs4zhI-D.js.map → StepCompleteAuthentication-DZ5iFFUF.js.map} +1 -1
  167. package/chunk/{StepConsolation-J6tneCHK.js → StepConsolation-8kRAj5Sz.js} +8 -8
  168. package/chunk/{StepConsolation-CwLUx5P6.js.map → StepConsolation-8kRAj5Sz.js.map} +1 -1
  169. package/chunk/{StepConsolation-CwLUx5P6.js → StepConsolation-DD2SGGyo.js} +8 -8
  170. package/chunk/{StepConsolation-J6tneCHK.js.map → StepConsolation-DD2SGGyo.js.map} +1 -1
  171. package/chunk/{StepDocUpload-Dl-gzKui.js → StepDocUpload-BHToEeCL.js} +93 -93
  172. package/chunk/{StepDocUpload-Dl-gzKui.js.map → StepDocUpload-BHToEeCL.js.map} +1 -1
  173. package/chunk/{StepDocUpload-dc7sQRtA.js → StepDocUpload-CQUiXtli.js} +211 -211
  174. package/chunk/{StepDocUpload-dc7sQRtA.js.map → StepDocUpload-CQUiXtli.js.map} +1 -1
  175. package/chunk/{StepDriverLicensePersonalInfoComponent-DWZtsgBr.js → StepDriverLicensePersonalInfoComponent-Bn6_yUfQ.js} +14 -14
  176. package/chunk/{StepDriverLicensePersonalInfoComponent-CkHJjXlR.js.map → StepDriverLicensePersonalInfoComponent-Bn6_yUfQ.js.map} +1 -1
  177. package/chunk/{StepDriverLicensePersonalInfoComponent-CkHJjXlR.js → StepDriverLicensePersonalInfoComponent-CHEgMokE.js} +14 -14
  178. package/chunk/{StepDriverLicensePersonalInfoComponent-DWZtsgBr.js.map → StepDriverLicensePersonalInfoComponent-CHEgMokE.js.map} +1 -1
  179. package/chunk/{StepEmailLoop-BDRiI0kO.js → StepEmailLoop-BVn2f_di.js} +13 -13
  180. package/chunk/{StepEmailLoop-BDRiI0kO.js.map → StepEmailLoop-BVn2f_di.js.map} +1 -1
  181. package/chunk/{StepEmailLoop-DWNRCm1O.js → StepEmailLoop-DQDO5FRh.js} +12 -12
  182. package/chunk/{StepEmailLoop-DWNRCm1O.js.map → StepEmailLoop-DQDO5FRh.js.map} +1 -1
  183. package/chunk/{StepEmploymentPersonalInfo-C0UAANQZ.js → StepEmploymentPersonalInfo-4AHfUrMV.js} +17 -17
  184. package/chunk/{StepEmploymentPersonalInfo-C0UAANQZ.js.map → StepEmploymentPersonalInfo-4AHfUrMV.js.map} +1 -1
  185. package/chunk/{StepEmploymentPersonalInfo-al1phPDp.js → StepEmploymentPersonalInfo-BQXJZC68.js} +17 -17
  186. package/chunk/{StepEmploymentPersonalInfo-al1phPDp.js.map → StepEmploymentPersonalInfo-BQXJZC68.js.map} +1 -1
  187. package/chunk/{StepFirstResponderPersonalInfo-Byb5gsnf.js → StepFirstResponderPersonalInfo-BnYellOy.js} +25 -25
  188. package/chunk/{StepFirstResponderPersonalInfo-Byb5gsnf.js.map → StepFirstResponderPersonalInfo-BnYellOy.js.map} +1 -1
  189. package/chunk/{StepFirstResponderPersonalInfo-Ci8gAYOs.js → StepFirstResponderPersonalInfo-C6vO86r_.js} +31 -31
  190. package/chunk/{StepFirstResponderPersonalInfo-Ci8gAYOs.js.map → StepFirstResponderPersonalInfo-C6vO86r_.js.map} +1 -1
  191. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ca9lo4Jp.js → StepGeneralIdentityPersonalInfoComponent-DT9ktn2p.js} +17 -17
  192. package/chunk/{StepGeneralIdentityPersonalInfoComponent-B2Kv9xw_.js.map → StepGeneralIdentityPersonalInfoComponent-DT9ktn2p.js.map} +1 -1
  193. package/chunk/{StepGeneralIdentityPersonalInfoComponent-B2Kv9xw_.js → StepGeneralIdentityPersonalInfoComponent-DWi-th_C.js} +17 -17
  194. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ca9lo4Jp.js.map → StepGeneralIdentityPersonalInfoComponent-DWi-th_C.js.map} +1 -1
  195. package/chunk/{StepHybridIdentityPersonalInfoComponent-BZ7Qu4iK.js → StepHybridIdentityPersonalInfoComponent-BwGv3tHn.js} +18 -18
  196. package/chunk/{StepHybridIdentityPersonalInfoComponent-BZ7Qu4iK.js.map → StepHybridIdentityPersonalInfoComponent-BwGv3tHn.js.map} +1 -1
  197. package/chunk/{StepHybridIdentityPersonalInfoComponent-BjS4F6j2.js → StepHybridIdentityPersonalInfoComponent-wwCb9afT.js} +18 -18
  198. package/chunk/{StepHybridIdentityPersonalInfoComponent-BjS4F6j2.js.map → StepHybridIdentityPersonalInfoComponent-wwCb9afT.js.map} +1 -1
  199. package/chunk/{StepIDCheckLoop-DiGRkuBM.js → StepIDCheckLoop-B22CZjOb.js} +7 -7
  200. package/chunk/{StepIDCheckLoop-DiGRkuBM.js.map → StepIDCheckLoop-B22CZjOb.js.map} +1 -1
  201. package/chunk/{StepIDCheckLoop-Djow0hoO.js → StepIDCheckLoop-CqafffPd.js} +7 -7
  202. package/chunk/{StepIDCheckLoop-Djow0hoO.js.map → StepIDCheckLoop-CqafffPd.js.map} +1 -1
  203. package/chunk/{StepIDCheckLoopOnfido-BvMXuWoN.js → StepIDCheckLoopOnfido-BubFyrh9.js} +37 -37
  204. package/chunk/{StepIDCheckLoopOnfido-CT458GtS.js.map → StepIDCheckLoopOnfido-BubFyrh9.js.map} +1 -1
  205. package/chunk/{StepIDCheckLoopOnfido-CT458GtS.js → StepIDCheckLoopOnfido-QHwxn2Tv.js} +43 -43
  206. package/chunk/{StepIDCheckLoopOnfido-BvMXuWoN.js.map → StepIDCheckLoopOnfido-QHwxn2Tv.js.map} +1 -1
  207. package/chunk/{StepIDCheckLoopRegula-DcB8ugg0.js → StepIDCheckLoopRegula-DBucry3o.js} +19 -19
  208. package/chunk/{StepIDCheckLoopRegula-BvLpBUxe.js.map → StepIDCheckLoopRegula-DBucry3o.js.map} +1 -1
  209. package/chunk/{StepIDCheckLoopRegula-BvLpBUxe.js → StepIDCheckLoopRegula-piiOyU4g.js} +20 -20
  210. package/chunk/{StepIDCheckLoopRegula-DcB8ugg0.js.map → StepIDCheckLoopRegula-piiOyU4g.js.map} +1 -1
  211. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.js → StepInactiveMilitaryPersonalInfoComponent-CPD1WFY_.js} +27 -27
  212. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.js.map → StepInactiveMilitaryPersonalInfoComponent-CPD1WFY_.js.map} +1 -1
  213. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.js → StepInactiveMilitaryPersonalInfoComponent-Dw6xaLWV.js} +30 -30
  214. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.js.map → StepInactiveMilitaryPersonalInfoComponent-Dw6xaLWV.js.map} +1 -1
  215. package/chunk/{StepLicensedProfessionalPersonalInfo-DWvD1Z6N.js → StepLicensedProfessionalPersonalInfo-C3Z9WWZc.js} +16 -16
  216. package/chunk/{StepLicensedProfessionalPersonalInfo-C2gyvg1m.js.map → StepLicensedProfessionalPersonalInfo-C3Z9WWZc.js.map} +1 -1
  217. package/chunk/{StepLicensedProfessionalPersonalInfo-C2gyvg1m.js → StepLicensedProfessionalPersonalInfo-DD34r3AQ.js} +16 -16
  218. package/chunk/{StepLicensedProfessionalPersonalInfo-DWvD1Z6N.js.map → StepLicensedProfessionalPersonalInfo-DD34r3AQ.js.map} +1 -1
  219. package/chunk/{StepLowIncomePersonalInfo-CZlgdCqq.js → StepLowIncomePersonalInfo-t49sIPYt.js} +30 -30
  220. package/chunk/{StepLowIncomePersonalInfo-CTZREXGu.js.map → StepLowIncomePersonalInfo-t49sIPYt.js.map} +1 -1
  221. package/chunk/{StepLowIncomePersonalInfo-CTZREXGu.js → StepLowIncomePersonalInfo-uMs4T1U6.js} +31 -31
  222. package/chunk/{StepLowIncomePersonalInfo-CZlgdCqq.js.map → StepLowIncomePersonalInfo-uMs4T1U6.js.map} +1 -1
  223. package/chunk/{StepMedicalProfessionalPersonalInfo-DmsfNlPZ.js → StepMedicalProfessionalPersonalInfo-DFspAO2Z.js} +23 -23
  224. package/chunk/{StepMedicalProfessionalPersonalInfo-DmsfNlPZ.js.map → StepMedicalProfessionalPersonalInfo-DFspAO2Z.js.map} +1 -1
  225. package/chunk/{StepMedicalProfessionalPersonalInfo-CP9XPNbL.js → StepMedicalProfessionalPersonalInfo-FBuxl6LW.js} +20 -20
  226. package/chunk/{StepMedicalProfessionalPersonalInfo-CP9XPNbL.js.map → StepMedicalProfessionalPersonalInfo-FBuxl6LW.js.map} +1 -1
  227. package/chunk/{StepMemberPersonalInfo-TjSa0NJV.js → StepMemberPersonalInfo-BPnbyPU4.js} +15 -15
  228. package/chunk/{StepMemberPersonalInfo-Dpb5-ENF.js.map → StepMemberPersonalInfo-BPnbyPU4.js.map} +1 -1
  229. package/chunk/{StepMemberPersonalInfo-Dpb5-ENF.js → StepMemberPersonalInfo-Duikog5u.js} +56 -56
  230. package/chunk/{StepMemberPersonalInfo-TjSa0NJV.js.map → StepMemberPersonalInfo-Duikog5u.js.map} +1 -1
  231. package/chunk/{StepMoverPersonalInfo-6bjpRGAv.js → StepMoverPersonalInfo-C5OxWQd3.js} +47 -47
  232. package/chunk/{StepMoverPersonalInfo-6bjpRGAv.js.map → StepMoverPersonalInfo-C5OxWQd3.js.map} +1 -1
  233. package/chunk/{StepMoverPersonalInfo-vv7-jdz0.js → StepMoverPersonalInfo-Rxgi-6Uo.js} +13 -13
  234. package/chunk/{StepMoverPersonalInfo-vv7-jdz0.js.map → StepMoverPersonalInfo-Rxgi-6Uo.js.map} +1 -1
  235. package/chunk/{StepOverrideComponent-BXnbZhfO.js → StepOverrideComponent-CDa3ffZl.js} +14 -14
  236. package/chunk/{StepOverrideComponent-4f8ZZxxE.js.map → StepOverrideComponent-CDa3ffZl.js.map} +1 -1
  237. package/chunk/{StepOverrideComponent-4f8ZZxxE.js → StepOverrideComponent-CXOVt03w.js} +15 -15
  238. package/chunk/{StepOverrideComponent-BXnbZhfO.js.map → StepOverrideComponent-CXOVt03w.js.map} +1 -1
  239. package/chunk/{StepSMSLoop-DAKxJhXo.js → StepSMSLoop-B8Sfi7lM.js} +15 -15
  240. package/chunk/{StepSMSLoop-DAKxJhXo.js.map → StepSMSLoop-B8Sfi7lM.js.map} +1 -1
  241. package/chunk/{StepSMSLoop-DO4S-Aje.js → StepSMSLoop-BRma4Yv7.js} +19 -19
  242. package/chunk/{StepSMSLoop-DO4S-Aje.js.map → StepSMSLoop-BRma4Yv7.js.map} +1 -1
  243. package/chunk/StepSSO-BRFhNvkp.js +3 -3
  244. package/chunk/StepSSO-BaFk7RFJ.js +3 -3
  245. package/chunk/{StepSocialSecurityNumber-BseFM9rt.js → StepSocialSecurityNumber-BJPa_XQ3.js} +25 -25
  246. package/chunk/{StepSocialSecurityNumber-BseFM9rt.js.map → StepSocialSecurityNumber-BJPa_XQ3.js.map} +1 -1
  247. package/chunk/{StepSocialSecurityNumber-D0_62BYK.js → StepSocialSecurityNumber-xfhVCa0b.js} +11 -11
  248. package/chunk/{StepSocialSecurityNumber-D0_62BYK.js.map → StepSocialSecurityNumber-xfhVCa0b.js.map} +1 -1
  249. package/chunk/{StepStudentPersonalInfo-0LRBqSx5.js → StepStudentPersonalInfo-CKhmp2it.js} +15 -15
  250. package/chunk/{StepStudentPersonalInfo-0LRBqSx5.js.map → StepStudentPersonalInfo-CKhmp2it.js.map} +1 -1
  251. package/chunk/{StepStudentPersonalInfo-CLG5AxSd.js → StepStudentPersonalInfo-HjQOPJBa.js} +58 -58
  252. package/chunk/{StepStudentPersonalInfo-CLG5AxSd.js.map → StepStudentPersonalInfo-HjQOPJBa.js.map} +1 -1
  253. package/chunk/{StepSuccess-Be30r2Og.js → StepSuccess-CECU-0Sl.js} +30 -30
  254. package/chunk/{StepSuccess-8Ek9VvK_.js.map → StepSuccess-CECU-0Sl.js.map} +1 -1
  255. package/chunk/{StepSuccess-8Ek9VvK_.js → StepSuccess-U4LQ1MYZ.js} +33 -33
  256. package/chunk/{StepSuccess-Be30r2Og.js.map → StepSuccess-U4LQ1MYZ.js.map} +1 -1
  257. package/chunk/{StepTeacherPersonalInfo-BYTmkyxy.js → StepTeacherPersonalInfo-Bi_F5GHB.js} +16 -16
  258. package/chunk/{StepTeacherPersonalInfo-BYTmkyxy.js.map → StepTeacherPersonalInfo-Bi_F5GHB.js.map} +1 -1
  259. package/chunk/StepTeacherPersonalInfo-CsDLjaqb.js +149 -0
  260. package/chunk/{StepTeacherPersonalInfo-BfyMicng.js.map → StepTeacherPersonalInfo-CsDLjaqb.js.map} +1 -1
  261. package/chunk/StepThirdPartyLoop-BGHCbduX.js +3 -3
  262. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +3 -3
  263. package/chunk/{TeacherSchoolComponent-Qyri5g_X.js → TeacherSchoolComponent-C59ljPjO.js} +7 -7
  264. package/chunk/{TeacherSchoolComponent-Qyri5g_X.js.map → TeacherSchoolComponent-C59ljPjO.js.map} +1 -1
  265. package/chunk/{TeacherSchoolComponent-IkCV6bH-.js → TeacherSchoolComponent-Ds7hYDf8.js} +7 -7
  266. package/chunk/{TeacherSchoolComponent-IkCV6bH-.js.map → TeacherSchoolComponent-Ds7hYDf8.js.map} +1 -1
  267. package/chunk/TestingRouteOverrides-eSRTiZoc.js +77 -0
  268. package/chunk/{TestingRouteOverrides-BDCygTLC.js.map → TestingRouteOverrides-eSRTiZoc.js.map} +1 -1
  269. package/chunk/TestingRouteOverrides-olL49Zx5.js +81 -0
  270. package/chunk/{TestingRouteOverrides-B-zcTBa_.js.map → TestingRouteOverrides-olL49Zx5.js.map} +1 -1
  271. package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
  272. package/chunk/{VerificationApiClient-Br6D_KwQ.js → VerificationApiClient-Dw1w8mF1.js} +198 -198
  273. package/chunk/{VerificationApiClient-Br6D_KwQ.js.map → VerificationApiClient-Dw1w8mF1.js.map} +1 -1
  274. package/chunk/{VerificationApiClient-D6OYdL72.js → VerificationApiClient-qzcaFPIZ.js} +149 -149
  275. package/chunk/{VerificationApiClient-D6OYdL72.js.map → VerificationApiClient-qzcaFPIZ.js.map} +1 -1
  276. package/chunk/{VerificationApiUtils-D5oFJWD5.js → VerificationApiUtils-BuPDlUJJ.js} +6 -6
  277. package/chunk/{VerificationApiUtils-D5oFJWD5.js.map → VerificationApiUtils-BuPDlUJJ.js.map} +1 -1
  278. package/chunk/{VerificationApiUtils-rnfNWA2k.js → VerificationApiUtils-CgS02nkR.js} +6 -6
  279. package/chunk/{VerificationApiUtils-rnfNWA2k.js.map → VerificationApiUtils-CgS02nkR.js.map} +1 -1
  280. package/chunk/ar-wkBEXxD9.js +3 -3
  281. package/chunk/bg-D2-seofX.js +3 -3
  282. package/chunk/bn-IN-B5PyYaJU.js +3 -3
  283. package/chunk/{countryUtils-D2UBy7Uo.js → countryUtils-BTcv-xa-.js} +4 -4
  284. package/chunk/{countryUtils-D2UBy7Uo.js.map → countryUtils-BTcv-xa-.js.map} +1 -1
  285. package/chunk/{countryUtils-QSjR1rBI.js → countryUtils-Dw8fXGgB.js} +4 -4
  286. package/chunk/{countryUtils-QSjR1rBI.js.map → countryUtils-Dw8fXGgB.js.map} +1 -1
  287. package/chunk/cs-CsEnIopo.js +3 -3
  288. package/chunk/da-Da-m3VU_.js +3 -3
  289. package/chunk/de-BSoD5U3-.js +3 -3
  290. package/chunk/{downshift.esm-DWGiKAV_.js → downshift.esm-BIKsMPP5.js} +6 -6
  291. package/chunk/{downshift.esm-oTd5iRZU.js.map → downshift.esm-BIKsMPP5.js.map} +1 -1
  292. package/chunk/{downshift.esm-oTd5iRZU.js → downshift.esm-BtBgxJmR.js} +6 -6
  293. package/chunk/{downshift.esm-DWGiKAV_.js.map → downshift.esm-BtBgxJmR.js.map} +1 -1
  294. package/chunk/el-CFa6y9Ri.js +3 -3
  295. package/chunk/{empties-BIoZK05_.js → empties-BL76XMwN.js} +46 -46
  296. package/chunk/{empties-BIoZK05_.js.map → empties-BL76XMwN.js.map} +1 -1
  297. package/chunk/{empties-DHvaWflk.js → empties-BfAKqhLo.js} +4 -4
  298. package/chunk/{empties-DHvaWflk.js.map → empties-BfAKqhLo.js.map} +1 -1
  299. package/chunk/en-GB-V8XaGkaI.js +3 -3
  300. package/chunk/es-D18tLxcT.js +3 -3
  301. package/chunk/es-ES-7x2bVUQr.js +3 -3
  302. package/chunk/et-udrWMVlD.js +3 -3
  303. package/chunk/eventEmitter-CSG6jR7V.js +3 -3
  304. package/chunk/fa-DgwYULMs.js +3 -3
  305. package/chunk/fi-CkCWFGDC.js +3 -3
  306. package/chunk/fr-BprIFEa8.js +3 -3
  307. package/chunk/fr-CA-DrjICejr.js +3 -3
  308. package/chunk/ga-LaV5ZJgg.js +3 -3
  309. package/chunk/hi-IN-7dtEICYI.js +3 -3
  310. package/chunk/hr-2Bctl997.js +3 -3
  311. package/chunk/hu-BT0z6TPZ.js +3 -3
  312. package/chunk/id-BvyYep3X.js +3 -3
  313. package/chunk/{intl-Yr2cw5px.js → intl-C8E3kZCc.js} +429 -421
  314. package/chunk/intl-C8E3kZCc.js.map +1 -0
  315. package/chunk/is-DOsKfa80.js +3 -3
  316. package/chunk/it-3dX9AQk7.js +3 -3
  317. package/chunk/iw-5I90wqQ8.js +3 -3
  318. package/chunk/ja-CHdgbMgX.js +3 -3
  319. package/chunk/{jsx-runtime-BknAqbDq.js → jsx-runtime-Cqcg28yY.js} +8 -4
  320. package/chunk/{jsx-runtime-BknAqbDq.js.map → jsx-runtime-Cqcg28yY.js.map} +1 -1
  321. package/chunk/{jsx-runtime-D_-z-h6n.js → jsx-runtime-v0uEISUn.js} +4 -8
  322. package/chunk/{jsx-runtime-D_-z-h6n.js.map → jsx-runtime-v0uEISUn.js.map} +1 -1
  323. package/chunk/kk-BriyNfHL.js +3 -3
  324. package/chunk/ko-DsMaax3V.js +3 -3
  325. package/chunk/lo-CjASRmNr.js +3 -3
  326. package/chunk/lt-DF29E1de.js +3 -3
  327. package/chunk/lv-DlHBZyt-.js +3 -3
  328. package/chunk/{militaryStepHelpers-UF-7lF1f.js → militaryStepHelpers-D9B8OAip.js} +4 -4
  329. package/chunk/{militaryStepHelpers-UF-7lF1f.js.map → militaryStepHelpers-D9B8OAip.js.map} +1 -1
  330. package/chunk/{militaryStepHelpers-DSh6iat_.js → militaryStepHelpers-DZi-bs5z.js} +4 -4
  331. package/chunk/{militaryStepHelpers-DSh6iat_.js.map → militaryStepHelpers-DZi-bs5z.js.map} +1 -1
  332. package/chunk/{mocks-CKXq8CZk.js → mocks-CQJujYjv.js} +7 -7
  333. package/chunk/{mocks-1r84in2Q.js.map → mocks-CQJujYjv.js.map} +1 -1
  334. package/chunk/{mocks-1r84in2Q.js → mocks-DpCSGKUm.js} +7 -7
  335. package/chunk/{mocks-CKXq8CZk.js.map → mocks-DpCSGKUm.js.map} +1 -1
  336. package/chunk/ms-B3vDtlFh.js +3 -3
  337. package/chunk/nl-BE-Dw1IGXuF.js +3 -3
  338. package/chunk/nl-Cqkrr5-r.js +3 -3
  339. package/chunk/no-876EdwkX.js +3 -3
  340. package/chunk/{options-D19mRw5a.js → options-BlmP6RQn.js} +351 -343
  341. package/chunk/{options-D19mRw5a.js.map → options-BlmP6RQn.js.map} +1 -1
  342. package/chunk/pl-B_G8s05-.js +3 -3
  343. package/chunk/programThemeGetters-1A422VwF.js +165 -0
  344. package/chunk/{programThemeGetters-Lz3L0Vh7.js.map → programThemeGetters-1A422VwF.js.map} +1 -1
  345. package/chunk/{programThemeGetters-iBty-gXI.js → programThemeGetters-Cwj-2rp9.js} +36 -36
  346. package/chunk/{programThemeGetters-iBty-gXI.js.map → programThemeGetters-Cwj-2rp9.js.map} +1 -1
  347. package/chunk/pt-BR-DWj043qk.js +3 -3
  348. package/chunk/pt-DckA3Jnn.js +3 -3
  349. package/chunk/{refs-Bbe0gnJ3.js → refs-DRZANumu.js} +4 -4
  350. package/chunk/{refs-Bbe0gnJ3.js.map → refs-DRZANumu.js.map} +1 -1
  351. package/chunk/{refs-C_tB1qMA.js → refs-DhfzTkb0.js} +4 -4
  352. package/chunk/{refs-C_tB1qMA.js.map → refs-DhfzTkb0.js.map} +1 -1
  353. package/chunk/ro-DukNcWCM.js +3 -3
  354. package/chunk/ru-RkdRQ7qb.js +3 -3
  355. package/chunk/sk-CPBgBtC5.js +3 -3
  356. package/chunk/sl-Cyj9PWmN.js +3 -3
  357. package/chunk/sr-Bm1GVW8m.js +3 -3
  358. package/chunk/strings-DWLVdUcm.js +3 -3
  359. package/chunk/sv-CcMmeZrG.js +3 -3
  360. package/chunk/sw-BPvl1ou6.js +3 -3
  361. package/chunk/ta-BPEH7IlE.js +3 -3
  362. package/chunk/th-Dd912RL5.js +3 -3
  363. package/chunk/tl-J_TdpjQz.js +3 -3
  364. package/chunk/tr-B-GrrJj0.js +3 -3
  365. package/chunk/uk-MohyvT_n.js +3 -3
  366. package/chunk/ur-CDYGpWMm.js +3 -3
  367. package/chunk/{useCollectFieldsEndpoint-BSbEIf3Q.js → useCollectFieldsEndpoint-B4u8S9oy.js} +11 -11
  368. package/chunk/{useCollectFieldsEndpoint-BSbEIf3Q.js.map → useCollectFieldsEndpoint-B4u8S9oy.js.map} +1 -1
  369. package/chunk/{useCollectFieldsEndpoint-BuXZrZTD.js → useCollectFieldsEndpoint-Cs3WWTUu.js} +10 -10
  370. package/chunk/{useCollectFieldsEndpoint-BuXZrZTD.js.map → useCollectFieldsEndpoint-Cs3WWTUu.js.map} +1 -1
  371. package/chunk/{useMetrics-BdMoL7SD.js → useMetrics-C7IgrrFm.js} +18 -18
  372. package/chunk/{useMetrics-BdMoL7SD.js.map → useMetrics-C7IgrrFm.js.map} +1 -1
  373. package/chunk/{useMetrics-D_8asKZL.js → useMetrics-fJHxK9XL.js} +17 -17
  374. package/chunk/{useMetrics-D_8asKZL.js.map → useMetrics-fJHxK9XL.js.map} +1 -1
  375. package/chunk/{validators-DTjHYDSK.js → validators-CaMDTJo6.js} +71 -75
  376. package/chunk/{validators-Do9xo2t_.js.map → validators-CaMDTJo6.js.map} +1 -1
  377. package/chunk/{validators-Do9xo2t_.js → validators-W5FGeAnu.js} +79 -75
  378. package/chunk/{validators-DTjHYDSK.js.map → validators-W5FGeAnu.js.map} +1 -1
  379. package/chunk/vi-CdPTWSev.js +3 -3
  380. package/chunk/zh-DhnjKBoc.js +3 -3
  381. package/chunk/zh-HK-CWKNP_HX.js +3 -3
  382. package/chunk/zu-BpMHS0oR.js +3 -3
  383. package/package.json +1 -1
  384. package/sheerid-install.css +3 -3
  385. package/sheerid-install.js +3 -3
  386. package/sheerid.css +3 -3
  387. package/sheerid.js +269 -269
  388. package/chunk/ApiUrls-BpvEY_I3.js +0 -38
  389. package/chunk/CountryComponentWrapper-zWLRBrRp.js +0 -78
  390. package/chunk/FormFooterComponent-D9_fIqUs.js.map +0 -1
  391. package/chunk/StepCollectMilitaryStatusComponent-f2ZW0KJY.js +0 -9
  392. package/chunk/StepCollectPersonalInfo-R-5UOPTA.js +0 -361
  393. package/chunk/StepCollectPersonalInfo-r2uBVXk_.js +0 -357
  394. package/chunk/StepTeacherPersonalInfo-BfyMicng.js +0 -149
  395. package/chunk/TestingRouteOverrides-B-zcTBa_.js +0 -77
  396. package/chunk/TestingRouteOverrides-BDCygTLC.js +0 -81
  397. package/chunk/intl-Yr2cw5px.js.map +0 -1
  398. package/chunk/programThemeGetters-Lz3L0Vh7.js +0 -165
@@ -4,45 +4,45 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.259.0-alpha.2
8
- * BUILD_TIMESTAMP: 1784832348235
9
- * BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
7
+ * VERSION: 2.259.0-alpha.4
8
+ * BUILD_TIMESTAMP: 1784847411169
9
+ * BUILD_DATE: Thu Jul 23 2026 22:56:51 GMT+0000 (Coordinated Universal Time)
10
10
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
11
11
  */
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-D9_fIqUs.js";
15
- import { a as d } from "./refs-C_tB1qMA.js";
12
+ import { Nt as e, St as t, Wt as n, p as r, s as i, zt as a } from "./intl-C8E3kZCc.js";
13
+ import { a as o, c as s, n as c, t as l } from "./jsx-runtime-Cqcg28yY.js";
14
+ import { D as u } from "./FormFooterComponent-B5sO7lYC.js";
15
+ import { a as d } from "./refs-DhfzTkb0.js";
16
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-rnfNWA2k.js";
18
- import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-DaH202Ah.js";
19
- import { n as D, t as O } from "./PersonalInfoStepSubmitButton-D3lzSm2E.js";
20
- import { t as k } from "./BirthDateComponent-Dh5xAxOF.js";
21
- import { t as A } from "./PostalCodeComponent-BGzBByZd.js";
22
- import { t as j } from "./CountryComponentWrapper-zWLRBrRp.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-9BMK2Fd_.js";
26
- import { t as F } from "./ChangeLocaleComponent-DdX2nV2D.js";
27
- import { t as I } from "./PersonalInfoStepWrapper-DgL_kGk3.js";
28
- import { t as L } from "./StateSelectComponent-D2j7QCvj.js";
29
- import { n as R, r as z, t as B } from "./DischargeDateComponent-DH3gbXN-.js";
30
- import { t as V } from "./StatusComponent-Cxw9bsOp.js";
31
- import { t as H } from "./militaryStepHelpers-DSh6iat_.js";
17
+ import { t as b } from "./VerificationApiUtils-CgS02nkR.js";
18
+ import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-ZNBrwLAd.js";
19
+ import { n as D, t as O } from "./PersonalInfoStepSubmitButton-5tuzy7zT.js";
20
+ import { t as k } from "./BirthDateComponent-D9LlGf-7.js";
21
+ import { t as A } from "./PostalCodeComponent-BYqnLcHd.js";
22
+ import { t as j } from "./CountryComponentWrapper-BSSdDVcs.js";
23
+ import { t as M } from "./City-umz1wU5f.js";
24
+ import { t as N } from "./AddressComponent-DwBYG6uf.js";
25
+ import { t as P } from "./ExtraMessage-D_tMUnf9.js";
26
+ import { t as F } from "./ChangeLocaleComponent-MCyF8czV.js";
27
+ import { t as I } from "./PersonalInfoStepWrapper-4ZK1A1_g.js";
28
+ import { t as L } from "./StateSelectComponent-C12-PmBR.js";
29
+ import { n as R, r as z, t as B } from "./DischargeDateComponent-BX2aPQbK.js";
30
+ import { t as V } from "./StatusComponent-BkaYM9ne.js";
31
+ import { t as H } from "./militaryStepHelpers-DZi-bs5z.js";
32
32
  //#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
33
33
  var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService: o }) => {
34
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) => {
35
35
  o.updateViewModel(H(e, t, o, X));
36
36
  };
37
37
  return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === e.collectMilitaryStatus) && (() => {
38
- let n = r(s, () => {});
39
- t.info("StepMilitaryStatusComponent submitting form"), o.submitStep(e.collectMilitaryStatus, n, o.previousVerificationResponse || o.verificationResponse);
38
+ let t = r(s, () => {});
39
+ a.info("StepMilitaryStatusComponent submitting form"), o.submitStep(e.collectMilitaryStatus, t, o.previousVerificationResponse || o.verificationResponse);
40
40
  })(), U.useEffect(() => {
41
41
  (async () => {
42
42
  if (o.verificationResponse.currentStep === e.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
43
43
  Y((await b(K.verificationId, e.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
44
- } catch (n) {
45
- t.error(`Failed to determine fields to collect: ${n}`, e.collectInactiveMilitaryPersonalInfo);
44
+ } catch (t) {
45
+ a.error(`Failed to determine fields to collect: ${t}`, e.collectInactiveMilitaryPersonalInfo);
46
46
  }
47
47
  })();
48
48
  }, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
@@ -64,7 +64,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
64
64
  segmentId: "military",
65
65
  value: {
66
66
  value: s.status,
67
- label: _(n, s.status, a)
67
+ label: _(n, s.status, t)
68
68
  },
69
69
  isErrored: !!G.status,
70
70
  errorId: "invalidMilitaryStatus",
@@ -1 +1 @@
1
- {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.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,CAC5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AA;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-CPD1WFY_.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,q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A,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,44 +1,44 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.259.0-alpha.2
4
- * BUILD_TIMESTAMP: 1784832344356
5
- * BUILD_DATE: Thu Jul 23 2026 18:45:44 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.259.0-alpha.4
4
+ * BUILD_TIMESTAMP: 1784847407354
5
+ * BUILD_DATE: Thu Jul 23 2026 22:56:47 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
7
7
  */
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-CXzDxR2J.js";
11
- import { a as d } from "./refs-Bbe0gnJ3.js";
8
+ import { Gt as e, It as t, Tt as n, Vt as r, c as i, n as a } from "./options-BlmP6RQn.js";
9
+ import { a as o, c as s, n as c, t as l } from "./jsx-runtime-v0uEISUn.js";
10
+ import { C as u } from "./FormFooterComponent-DsvjZf4o.js";
11
+ import { a as d } from "./refs-DRZANumu.js";
12
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-D5oFJWD5.js";
14
- import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-QYGB0QuK.js";
15
- import { n as D, t as O } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
16
- import { t as k } from "./BirthDateComponent-DFHRO9YQ.js";
17
- import { t as A } from "./PostalCodeComponent-C97fgZFI.js";
18
- import { t as j } from "./CountryComponentWrapper-Du13nINk.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-Ca6AF5JE.js";
22
- import { t as F } from "./ChangeLocaleComponent-QMQdbxxB.js";
23
- import { t as I } from "./PersonalInfoStepWrapper-B-1TuvRJ.js";
24
- import { t as L } from "./StateSelectComponent-Cx1_JBfI.js";
25
- import { n as R, r as z, t as B } from "./DischargeDateComponent-DpNsH3Q4.js";
26
- import { t as V } from "./StatusComponent-_HBklXve.js";
27
- import { t as H } from "./militaryStepHelpers-UF-7lF1f.js";
13
+ import { t as b } from "./VerificationApiUtils-BuPDlUJJ.js";
14
+ import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-BLKVnsDS.js";
15
+ import { n as D, t as O } from "./PersonalInfoStepSubmitButton-Cz_CdAWG.js";
16
+ import { t as k } from "./BirthDateComponent-CWp6qCwi.js";
17
+ import { t as A } from "./PostalCodeComponent-BwpQbUxr.js";
18
+ import { t as j } from "./CountryComponentWrapper-BWQRtr9a.js";
19
+ import { t as M } from "./City-Ch0wNVmN.js";
20
+ import { t as N } from "./AddressComponent-BAzFHRbA.js";
21
+ import { t as P } from "./ExtraMessage-BicSxrM8.js";
22
+ import { t as F } from "./ChangeLocaleComponent-CkmHNHiE.js";
23
+ import { t as I } from "./PersonalInfoStepWrapper-ARH3ZED1.js";
24
+ import { t as L } from "./StateSelectComponent-Ctqsq9QW.js";
25
+ import { n as R, r as z, t as B } from "./DischargeDateComponent-DmQ9YAzc.js";
26
+ import { t as V } from "./StatusComponent-DWf6Z-oB.js";
27
+ import { t as H } from "./militaryStepHelpers-D9B8OAip.js";
28
28
  //#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
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) => {
29
+ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, 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, e), Z = s.localeChoice.value, Q = a(), $ = (e, t) => {
31
31
  o.updateViewModel(H(e, t, o, X));
32
32
  };
33
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);
34
+ let e = i(s, () => {});
35
+ r.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, e, o.previousVerificationResponse || o.verificationResponse);
36
36
  })(), U.useEffect(() => {
37
37
  (async () => {
38
38
  if (o.verificationResponse.currentStep === t.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
39
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);
40
+ } catch (e) {
41
+ r.error(`Failed to determine fields to collect: ${e}`, t.collectInactiveMilitaryPersonalInfo);
42
42
  }
43
43
  })();
44
44
  }, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
@@ -60,7 +60,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
60
60
  segmentId: "military",
61
61
  value: {
62
62
  value: s.status,
63
- label: f(n, s.status, a)
63
+ label: f(e, s.status, n)
64
64
  },
65
65
  isErrored: !!G.status,
66
66
  errorId: "invalidMilitaryStatus",
@@ -172,7 +172,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
172
172
  isRequired: g("city")?.requireIfOptional
173
173
  }),
174
174
  J.includes("state") && /* @__PURE__ */ (0, W.jsx)(L, {
175
- options: h(o.programTheme, n),
175
+ options: h(o.programTheme, e),
176
176
  value: s.state || void 0,
177
177
  isErrored: !!G.state,
178
178
  onChange: async (e) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.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 StepInactiveMilitaryPersonalInfoCom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,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-Dw6xaLWV.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,KAA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,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,24 +1,24 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.259.0-alpha.2
4
- * BUILD_TIMESTAMP: 1784832344356
5
- * BUILD_DATE: Thu Jul 23 2026 18:45:44 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.259.0-alpha.4
4
+ * BUILD_TIMESTAMP: 1784847407354
5
+ * BUILD_DATE: Thu Jul 23 2026 22:56:47 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
7
7
  */
8
- import { Ft as e, c as t, n } from "./options-D19mRw5a.js";
9
- import { a as r, n as i, t as a } from "./jsx-runtime-BknAqbDq.js";
10
- import { C as o } from "./FormFooterComponent-CXzDxR2J.js";
8
+ import { It as e, c as t, n } from "./options-BlmP6RQn.js";
9
+ import { a as r, n as i, t as a } from "./jsx-runtime-v0uEISUn.js";
10
+ import { C as o } from "./FormFooterComponent-DsvjZf4o.js";
11
11
  import { K as s, V as c, et as l, r as u, tt as d } from "../sheerid.js";
12
- import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-QYGB0QuK.js";
13
- import { n as v, t as y } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
14
- import { t as b } from "./BirthDateComponent-DFHRO9YQ.js";
15
- import { t as x } from "./PostalCodeComponent-C97fgZFI.js";
16
- import { t as S } from "./CountryComponentWrapper-Du13nINk.js";
17
- import { t as C } from "./ExtraMessage-Ca6AF5JE.js";
18
- import { t as w } from "./ChangeLocaleComponent-QMQdbxxB.js";
19
- import { t as T } from "./PersonalInfoStepWrapper-B-1TuvRJ.js";
20
- import { t as E } from "./StatusComponent-_HBklXve.js";
21
- import { t as D } from "./LicensedProfessionalOrganizationComponent-Cy9sdOZC.js";
12
+ import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-BLKVnsDS.js";
13
+ import { n as v, t as y } from "./PersonalInfoStepSubmitButton-Cz_CdAWG.js";
14
+ import { t as b } from "./BirthDateComponent-CWp6qCwi.js";
15
+ import { t as x } from "./PostalCodeComponent-BwpQbUxr.js";
16
+ import { t as S } from "./CountryComponentWrapper-BWQRtr9a.js";
17
+ import { t as C } from "./ExtraMessage-BicSxrM8.js";
18
+ import { t as w } from "./ChangeLocaleComponent-CkmHNHiE.js";
19
+ import { t as T } from "./PersonalInfoStepWrapper-ARH3ZED1.js";
20
+ import { t as E } from "./StatusComponent-DWf6Z-oB.js";
21
+ import { t as D } from "./LicensedProfessionalOrganizationComponent-7Ch23kP0.js";
22
22
  //#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
23
23
  var O = a(), k = {
24
24
  LICENSED_COSMETOLOGIST: "Licensed Cosmetologist",
@@ -1 +1 @@
1
- {"version":3,"file":"StepLicensedProfessionalPersonalInfo-C2gyvg1m.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type LicensedProfessionalStatus,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype DefaultStatusMessages = {\n [key in LicensedProfessionalStatus]: string;\n};\n\nconst defaultStatusMessages: DefaultStatusMessages = {\n LICENSED_COSMETOLOGIST: \"Licensed Cosmetologist\",\n LICENSED_REAL_ESTATE_AGENT: \"Licensed Real Estate Agent\",\n VETERINARIAN: \"Veterinarian\",\n CHILD_CARE_WORKER: \"Child Care Worker\",\n LIBRARIAN: \"Librarian\",\n INTERIOR_DESIGNER: \"Interior Designer\",\n ARCHITECT: \"Architect\",\n GENERAL_CONTRACTOR: \"General Contractor\",\n NUTRITION_PROFESSIONAL: \"Nutrition Professional\",\n};\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const getStatusLabel = (status: LicensedProfessionalStatus | undefined): string => {\n if (!status) {\n return \"\";\n }\n return intl.formatHTMLMessage({ id: status, defaultMessage: defaultStatusMessages[status] });\n };\n\n const getAvailableLicensedProfessionalStatuses = () => {\n const availableStatusesResponse = verificationResponse.availableStatuses;\n const availableStatuses: FormSelectChoice[] = [];\n\n if (availableStatusesResponse) {\n for (const status of availableStatusesResponse) {\n availableStatuses.push({\n value: status,\n label: getStatusLabel(status),\n });\n }\n }\n return availableStatuses;\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getAvailableLicensedProfessionalStatuses()}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"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 {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 updateLicensedProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\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.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;aAgDM,IAA+C;CACnD,wBAAwB;CACxB,4BAA4B;CAC5B,cAAc;CACd,mBAAmB;CACnB,WAAW;CACX,mBAAmB;CACnB,WAAW;CACX,oBAAoB;CACpB,wBAAwB;AAC1B,GAuNa,IAAgD,GArNf,EAC5C,SACA,6BACwD;CACxD,IAAM,IAAY,EAAoB,WAChC,EAAE,6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;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
1
+ {"version":3,"file":"StepLicensedProfessionalPersonalInfo-C3Z9WWZc.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type LicensedProfessionalStatus,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype DefaultStatusMessages = {\n [key in LicensedProfessionalStatus]: string;\n};\n\nconst defaultStatusMessages: DefaultStatusMessages = {\n LICENSED_COSMETOLOGIST: \"Licensed Cosmetologist\",\n LICENSED_REAL_ESTATE_AGENT: \"Licensed Real Estate Agent\",\n VETERINARIAN: \"Veterinarian\",\n CHILD_CARE_WORKER: \"Child Care Worker\",\n LIBRARIAN: \"Librarian\",\n INTERIOR_DESIGNER: \"Interior Designer\",\n ARCHITECT: \"Architect\",\n GENERAL_CONTRACTOR: \"General Contractor\",\n NUTRITION_PROFESSIONAL: \"Nutrition Professional\",\n};\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const getStatusLabel = (status: LicensedProfessionalStatus | undefined): string => {\n if (!status) {\n return \"\";\n }\n return intl.formatHTMLMessage({ id: status, defaultMessage: defaultStatusMessages[status] });\n };\n\n const getAvailableLicensedProfessionalStatuses = () => {\n const availableStatusesResponse = verificationResponse.availableStatuses;\n const availableStatuses: FormSelectChoice[] = [];\n\n if (availableStatusesResponse) {\n for (const status of availableStatusesResponse) {\n availableStatuses.push({\n value: status,\n label: getStatusLabel(status),\n });\n }\n }\n return availableStatuses;\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getAvailableLicensedProfessionalStatuses()}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"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 {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 updateLicensedProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\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.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;aAgDM,IAA+C;CACnD,wBAAwB;CACxB,4BAA4B;CAC5B,cAAc;CACd,mBAAmB;CACnB,WAAW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AAC,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;EACkB;;AAEzB,CAIA"}
@@ -4,25 +4,25 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.259.0-alpha.2
8
- * BUILD_TIMESTAMP: 1784832348235
9
- * BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
7
+ * VERSION: 2.259.0-alpha.4
8
+ * BUILD_TIMESTAMP: 1784847411169
9
+ * BUILD_DATE: Thu Jul 23 2026 22:56:51 GMT+0000 (Coordinated Universal Time)
10
10
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
11
11
  */
12
- import { Mt as e, p as t, s as n } from "./intl-Yr2cw5px.js";
13
- import { a as r, n as i, t as a } from "./jsx-runtime-D_-z-h6n.js";
14
- import { D as o } from "./FormFooterComponent-D9_fIqUs.js";
12
+ import { Nt as e, p as t, s as n } from "./intl-C8E3kZCc.js";
13
+ import { a as r, n as i, t as a } from "./jsx-runtime-Cqcg28yY.js";
14
+ import { D as o } from "./FormFooterComponent-B5sO7lYC.js";
15
15
  import { $ as s, B as c, G as l, et as u, n as d } from "../_mysheerid-preview.js";
16
- import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-DaH202Ah.js";
17
- import { n as v, t as y } from "./PersonalInfoStepSubmitButton-D3lzSm2E.js";
18
- import { t as b } from "./BirthDateComponent-Dh5xAxOF.js";
19
- import { t as x } from "./PostalCodeComponent-BGzBByZd.js";
20
- import { t as S } from "./CountryComponentWrapper-zWLRBrRp.js";
21
- import { t as C } from "./ExtraMessage-9BMK2Fd_.js";
22
- import { t as w } from "./ChangeLocaleComponent-DdX2nV2D.js";
23
- import { t as T } from "./PersonalInfoStepWrapper-DgL_kGk3.js";
24
- import { t as E } from "./StatusComponent-Cxw9bsOp.js";
25
- import { t as D } from "./LicensedProfessionalOrganizationComponent-DD9CuMfT.js";
16
+ import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-ZNBrwLAd.js";
17
+ import { n as v, t as y } from "./PersonalInfoStepSubmitButton-5tuzy7zT.js";
18
+ import { t as b } from "./BirthDateComponent-D9LlGf-7.js";
19
+ import { t as x } from "./PostalCodeComponent-BYqnLcHd.js";
20
+ import { t as S } from "./CountryComponentWrapper-BSSdDVcs.js";
21
+ import { t as C } from "./ExtraMessage-D_tMUnf9.js";
22
+ import { t as w } from "./ChangeLocaleComponent-MCyF8czV.js";
23
+ import { t as T } from "./PersonalInfoStepWrapper-4ZK1A1_g.js";
24
+ import { t as E } from "./StatusComponent-BkaYM9ne.js";
25
+ import { t as D } from "./LicensedProfessionalOrganizationComponent-bpm8_oJn.js";
26
26
  //#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
27
27
  var O = a(), k = {
28
28
  LICENSED_COSMETOLOGIST: "Licensed Cosmetologist",