@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
@@ -1,33 +1,33 @@
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, c as n, n as r, wt as i } from "./options-D19mRw5a.js";
9
- import { a, c as o, n as s, t as c } from "./jsx-runtime-BknAqbDq.js";
10
- import { C as l } from "./FormFooterComponent-CXzDxR2J.js";
11
- import { a as u } from "./refs-Bbe0gnJ3.js";
8
+ import { It as e, Tt as t, Vt as n, c as r, n as i } from "./options-BlmP6RQn.js";
9
+ import { a, c as o, n as s, t as c } from "./jsx-runtime-v0uEISUn.js";
10
+ import { C as l } from "./FormFooterComponent-DsvjZf4o.js";
11
+ import { a as u } from "./refs-DRZANumu.js";
12
12
  import { G as d, I as f, K as p, V as m, et as h, r as g, tt as _ } from "../sheerid.js";
13
- import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-QYGB0QuK.js";
14
- import { n as w, t as T } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
15
- import { t as E } from "./BirthDateComponent-DFHRO9YQ.js";
16
- import { t as D } from "./CountryComponentWrapper-Du13nINk.js";
17
- import { t as O } from "./ExtraMessage-Ca6AF5JE.js";
18
- import { t as k } from "./ChangeLocaleComponent-QMQdbxxB.js";
19
- import { t as A } from "./PersonalInfoStepWrapper-B-1TuvRJ.js";
20
- import { n as j, r as M, t as N } from "./DischargeDateComponent-DpNsH3Q4.js";
21
- import { t as P } from "./StatusComponent-_HBklXve.js";
22
- import { t as F } from "./militaryStepHelpers-UF-7lF1f.js";
13
+ import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-BLKVnsDS.js";
14
+ import { n as w, t as T } from "./PersonalInfoStepSubmitButton-Cz_CdAWG.js";
15
+ import { t as E } from "./BirthDateComponent-CWp6qCwi.js";
16
+ import { t as D } from "./CountryComponentWrapper-BWQRtr9a.js";
17
+ import { t as O } from "./ExtraMessage-BicSxrM8.js";
18
+ import { t as k } from "./ChangeLocaleComponent-CkmHNHiE.js";
19
+ import { t as A } from "./PersonalInfoStepWrapper-ARH3ZED1.js";
20
+ import { n as j, r as M, t as N } from "./DischargeDateComponent-DmQ9YAzc.js";
21
+ import { t as P } from "./StatusComponent-DWf6Z-oB.js";
22
+ import { t as F } from "./militaryStepHelpers-D9B8OAip.js";
23
23
  o();
24
24
  var I = c(), L = ({ intl: a, verificationService: o }) => {
25
- let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = f(o, a), H = c.localeChoice.value, U = r(), W = (e, t) => {
25
+ let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = f(o, a), H = c.localeChoice.value, U = i(), W = (e, t) => {
26
26
  o.updateViewModel(F(e, t, o, V));
27
27
  };
28
- return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep === t.collectMilitaryStatus) && (() => {
29
- let r = n(c, () => {});
30
- e.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, r, o.previousVerificationResponse || o.verificationResponse);
28
+ return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep === e.collectMilitaryStatus) && (() => {
29
+ let t = r(c, () => {});
30
+ n.info("StepMilitaryStatusComponent submitting form"), o.submitStep(e.collectMilitaryStatus, t, o.previousVerificationResponse || o.verificationResponse);
31
31
  })(), u(), /* @__PURE__ */ (0, I.jsxs)(A, {
32
32
  verificationService: o,
33
33
  step: z.currentStep,
@@ -45,7 +45,7 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
45
45
  segmentId: "military",
46
46
  value: {
47
47
  value: c.status,
48
- label: d(a, c.status, i)
48
+ label: d(a, c.status, t)
49
49
  },
50
50
  isErrored: !!R.status,
51
51
  errorId: "invalidMilitaryStatus",
@@ -162,7 +162,7 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
162
162
  isErrored: !!R.captchaToken
163
163
  }),
164
164
  /* @__PURE__ */ (0, I.jsx)(T, {
165
- step: t.collectActiveMilitaryPersonalInfo,
165
+ step: e.collectActiveMilitaryPersonalInfo,
166
166
  verificationService: o,
167
167
  viewModel: c,
168
168
  failedInstantMatch: B,
@@ -1 +1 @@
1
- {"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.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 ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as 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 { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\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 // 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=\"active-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 updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"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.collectActiveMilitaryPersonalInfo}\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 StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,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;CAwBA,QAXG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB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,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA0C,EAAW,CAA8B"}
1
+ {"version":3,"file":"StepActiveMilitaryPersonalInfoComponent--98sV1fQ.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.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 ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as 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 { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\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 // 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=\"active-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 updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"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.collectActiveMilitaryPersonalInfo}\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 StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,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;CAwBA,QAXG,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,GAIb,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;EAC3B,WAAU;YAHZ,CAKE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACuB;GACrB,qBAAoB;EACrB,CAAA,GAED,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA;GACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GACA,IACC,i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AiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,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,EAA8B,YAAY;MACxC,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,IAA0C,EAAW,CAA8B"}
@@ -4,34 +4,34 @@
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, p as n, s as r, xt as i } from "./intl-Yr2cw5px.js";
13
- import { a, c as o, n as s, t as c } from "./jsx-runtime-D_-z-h6n.js";
14
- import { D as l } from "./FormFooterComponent-D9_fIqUs.js";
15
- import { a as u } from "./refs-C_tB1qMA.js";
12
+ import { Nt as e, St as t, p as n, s as r, zt as i } from "./intl-C8E3kZCc.js";
13
+ import { a, c as o, n as s, t as c } from "./jsx-runtime-Cqcg28yY.js";
14
+ import { D as l } from "./FormFooterComponent-B5sO7lYC.js";
15
+ import { a as u } from "./refs-DhfzTkb0.js";
16
16
  import { $ as d, B as f, F as p, G as m, W as h, et as g, n as _ } from "../_mysheerid-preview.js";
17
- import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-DaH202Ah.js";
18
- import { n as w, t as T } from "./PersonalInfoStepSubmitButton-D3lzSm2E.js";
19
- import { t as E } from "./BirthDateComponent-Dh5xAxOF.js";
20
- import { t as D } from "./CountryComponentWrapper-zWLRBrRp.js";
21
- import { t as O } from "./ExtraMessage-9BMK2Fd_.js";
22
- import { t as k } from "./ChangeLocaleComponent-DdX2nV2D.js";
23
- import { t as A } from "./PersonalInfoStepWrapper-DgL_kGk3.js";
24
- import { n as j, r as M, t as N } from "./DischargeDateComponent-DH3gbXN-.js";
25
- import { t as P } from "./StatusComponent-Cxw9bsOp.js";
26
- import { t as F } from "./militaryStepHelpers-DSh6iat_.js";
17
+ import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-ZNBrwLAd.js";
18
+ import { n as w, t as T } from "./PersonalInfoStepSubmitButton-5tuzy7zT.js";
19
+ import { t as E } from "./BirthDateComponent-D9LlGf-7.js";
20
+ import { t as D } from "./CountryComponentWrapper-BSSdDVcs.js";
21
+ import { t as O } from "./ExtraMessage-D_tMUnf9.js";
22
+ import { t as k } from "./ChangeLocaleComponent-MCyF8czV.js";
23
+ import { t as A } from "./PersonalInfoStepWrapper-4ZK1A1_g.js";
24
+ import { n as j, r as M, t as N } from "./DischargeDateComponent-BX2aPQbK.js";
25
+ import { t as P } from "./StatusComponent-BkaYM9ne.js";
26
+ import { t as F } from "./militaryStepHelpers-DZi-bs5z.js";
27
27
  o();
28
28
  var I = c(), L = ({ intl: a, verificationService: o }) => {
29
29
  let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = p(o, a), H = c.localeChoice.value, U = r(), W = (e, t) => {
30
30
  o.updateViewModel(F(e, t, o, V));
31
31
  };
32
32
  return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep === e.collectMilitaryStatus) && (() => {
33
- let r = n(c, () => {});
34
- t.info("StepMilitaryStatusComponent submitting form"), o.submitStep(e.collectMilitaryStatus, r, o.previousVerificationResponse || o.verificationResponse);
33
+ let t = n(c, () => {});
34
+ i.info("StepMilitaryStatusComponent submitting form"), o.submitStep(e.collectMilitaryStatus, t, o.previousVerificationResponse || o.verificationResponse);
35
35
  })(), u(), /* @__PURE__ */ (0, I.jsxs)(A, {
36
36
  verificationService: o,
37
37
  step: z.currentStep,
@@ -49,7 +49,7 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
49
49
  segmentId: "military",
50
50
  value: {
51
51
  value: c.status,
52
- label: h(a, c.status, i)
52
+ label: h(a, c.status, t)
53
53
  },
54
54
  isErrored: !!R.status,
55
55
  errorId: "invalidMilitaryStatus",
@@ -1 +1 @@
1
- {"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.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 ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as 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 { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\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 // 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=\"active-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 updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"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.collectActiveMilitaryPersonalInfo}\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 StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,G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AD;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,IAA0C,EAAW,CAA8B"}
1
+ {"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-DhsxUHNz.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.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 ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as 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 { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\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 // 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=\"active-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 updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"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.collectActiveMilitaryPersonalInfo}\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 StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,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;CAwBA,QAXG,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,GAIb,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;EAC3B,WAAU;YAHZ,CAKE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACuB;GACrB,qBAAoB;EACrB,CAAA,GAED,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA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C,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAA8B,eAAe,CAAQ,GACrD,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,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,EAA8B,YAAY;MACxC,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,IAA0C,EAAW,CAA8B"}
@@ -4,29 +4,29 @@
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 { Lt as e, Mt as t, Ut as n, s as r } from "./intl-Yr2cw5px.js";
13
- import { a as i, c as a, n as o, t as s } from "./jsx-runtime-D_-z-h6n.js";
14
- import { D as c } from "./FormFooterComponent-D9_fIqUs.js";
12
+ import { Nt as e, Rt as t, Wt as n, s as r } from "./intl-C8E3kZCc.js";
13
+ import { a as i, c as a, n as o, t as s } from "./jsx-runtime-Cqcg28yY.js";
14
+ import { D as c } from "./FormFooterComponent-B5sO7lYC.js";
15
15
  import { $ as l, A as u, B as d, G as f, J as p, R as m, n as h } from "../_mysheerid-preview.js";
16
- import { t as g } from "./useCollectFieldsEndpoint-BuXZrZTD.js";
17
- import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-DaH202Ah.js";
18
- import { n as C, t as w } from "./PersonalInfoStepSubmitButton-D3lzSm2E.js";
19
- import { t as T } from "./BirthDateComponent-Dh5xAxOF.js";
20
- import { t as E } from "./PostalCodeComponent-BGzBByZd.js";
21
- import { t as D } from "./CountryComponentWrapper-zWLRBrRp.js";
22
- import { t as O } from "./City-DlWin4GX.js";
23
- import { t as k } from "./AddressComponent-CJV3vrMt.js";
24
- import { t as A } from "./ExtraMessage-9BMK2Fd_.js";
25
- import { t as j } from "./ChangeLocaleComponent-DdX2nV2D.js";
26
- import { t as M } from "./PersonalInfoStepWrapper-DgL_kGk3.js";
16
+ import { t as g } from "./useCollectFieldsEndpoint-Cs3WWTUu.js";
17
+ import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-ZNBrwLAd.js";
18
+ import { n as C, t as w } from "./PersonalInfoStepSubmitButton-5tuzy7zT.js";
19
+ import { t as T } from "./BirthDateComponent-D9LlGf-7.js";
20
+ import { t as E } from "./PostalCodeComponent-BYqnLcHd.js";
21
+ import { t as D } from "./CountryComponentWrapper-BSSdDVcs.js";
22
+ import { t as O } from "./City-umz1wU5f.js";
23
+ import { t as k } from "./AddressComponent-DwBYG6uf.js";
24
+ import { t as A } from "./ExtraMessage-D_tMUnf9.js";
25
+ import { t as j } from "./ChangeLocaleComponent-MCyF8czV.js";
26
+ import { t as M } from "./PersonalInfoStepWrapper-4ZK1A1_g.js";
27
27
  //#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
28
28
  var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, intl: i }) => {
29
- let a = n.viewModel, { fieldValidationErrors: s } = n, F = n.verificationResponse, I = c(F), L = e(() => a.countryChoice.value, m(u(n.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || n.programTheme.isSmsNotifierConfigured || n.programTheme.smsLoopEnabled, B = L !== "US" || n.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = r();
29
+ let a = n.viewModel, { fieldValidationErrors: s } = n, F = n.verificationResponse, I = c(F), L = t(() => a.countryChoice.value, m(u(n.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || n.programTheme.isSmsNotifierConfigured || n.programTheme.smsLoopEnabled, B = L !== "US" || n.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = r();
30
30
  !s.phoneNumber && F.errorIds && F.errorIds.includes("invalidPhoneNumber") && n.updateFieldValidationErrors({
31
31
  ...s,
32
32
  phoneNumber: "invalidPhoneNumber"
@@ -157,7 +157,7 @@ var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, int
157
157
  isErrored: !!s.captchaToken
158
158
  }),
159
159
  /* @__PURE__ */ (0, P.jsx)(w, {
160
- step: t.collectAgePersonalInfo,
160
+ step: e.collectAgePersonalInfo,
161
161
  verificationService: n,
162
162
  viewModel: a,
163
163
  failedInstantMatch: I,
@@ -1 +1 @@
1
- {"version":3,"file":"StepAgePersonalInfo-DmBYGHG8.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\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 { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.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 updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"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 updateAgeViewModel(\"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 <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAAoB,cACpB,CAGwB,CAC4C,EAAqB,KAAK,GAC1F,IACJ,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnD,IACJ,MAAqB,QACrB,EAAoB,aAAa,2BACjC,EAAoB,aAAa,gBAC7B,IACJ,MAAqB,QAAQ,EAAoB,aAAa,gBAE1D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW;CAE3B,AACE,CAAC,EAAsB,eACvB,EAAqB,YACrB,EAAqB,SAAS,SAAS,oBAAoB,KAE3D,EAAoB,4BAA4B;EAC9C,GAAG;EACH,aAAa;CACf,CAAC;CAGH,IAAM,KAAsB,GAAqC,MAAe;EAC9E,IAAM,IAAsC,EAAsB,GAAW,GAAK,CA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eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,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,EAAmB,YAAY;MAC7B,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;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;GACD,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,CAE0E"}
1
+ {"version":3,"file":"StepAgePersonalInfo-ApVus-QC.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\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 { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.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 updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"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 updateAgeViewModel(\"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 <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAAoB,cACpB,CAGwB,CAC4C,EAAqB,KAAK,GAC1F,IACJ,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnD,IACJ,MAAqB,QACrB,EAAoB,aAAa,2BACjC,EAAoB,aAAa,gBAC7B,IACJ,MAAqB,QAAQ,EAAoB,aAAa,gBAE1D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW;CAE3B,AACE,CAAC,EAAsB,eACvB,EAAqB,YACrB,EAAqB,SAAS,SAAS,oBAAoB,KAE3D,EAAoB,4BAA4B;EAC9C,GAAG;EACH,aAAa;CACf,CAAC;CAGH,IAAM,KAAsB,GAAqC,MAAe;EAC9E,IAAM,IAAsC,EAAsB,GAAW,GAAK,CAAK;EACvF,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,uBAAoB,EAAyB;EACnD,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;EACA;CACF,CAAC;CAOD,OALA,EAAM,gBAAgB;EAEpB,EAAqC,eAAe,EAAU,aAAa,CAAmB;CAChG,GAAG,CAAC,EAAU,OAAO,CAAC,GAGpB,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IAA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