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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/_mysheerid-preview.css +3 -3
  2. package/_mysheerid-preview.js +5 -5
  3. package/chunk/EmailLoopPending-ZOpr2Sd2.js +3 -3
  4. package/chunk/EmailLoopPending-pdu6KCZh.js +3 -3
  5. package/chunk/LicensedProfessionalOrganizationComponent-C8XqJ4_r.js +3 -3
  6. package/chunk/LicensedProfessionalOrganizationComponent-D-jfKTb1.js +3 -3
  7. package/chunk/Onfido-BG8cDEVW.js +3 -3
  8. package/chunk/StepIDCheckLoopOnfido-C59BolDi.js +3 -3
  9. package/chunk/StepIDCheckLoopOnfido-DxQwOLAT.js +3 -3
  10. package/chunk/StepIDCheckLoopRegula-CsFE_4Te.js +3 -3
  11. package/chunk/StepIDCheckLoopRegula-DmDnFC2G.js +3 -3
  12. package/chunk/StepInactiveMilitaryPersonalInfoComponent-B0HM0oU8.js +3 -3
  13. package/chunk/StepInactiveMilitaryPersonalInfoComponent-f-Vkz0g7.js +3 -3
  14. package/chunk/ar-DQf-740T.js +3 -3
  15. package/chunk/bg-4TPIrMGg.js +3 -3
  16. package/chunk/bn-IN-FZHF5rDq.js +3 -3
  17. package/chunk/cs-CyfSb-3N.js +3 -3
  18. package/chunk/da-D4U92jYz.js +3 -3
  19. package/chunk/de-CS8iEK9J.js +3 -3
  20. package/chunk/el-BmROJ0uV.js +3 -3
  21. package/chunk/en-GB-CJnmfvsY.js +3 -3
  22. package/chunk/es-ES-CyC-5EZZ.js +3 -3
  23. package/chunk/es-SSoVdnZs.js +3 -3
  24. package/chunk/fi-Bxyp15LT.js +3 -3
  25. package/chunk/fr-CA-C0_4HjP9.js +3 -3
  26. package/chunk/fr-CXsFB_BA.js +3 -3
  27. package/chunk/ga-CfmBornI.js +3 -3
  28. package/chunk/hi-IN-D5UuCTwT.js +3 -3
  29. package/chunk/hr-CbDILNPf.js +3 -3
  30. package/chunk/hu-DXrY_Mal.js +3 -3
  31. package/chunk/id-CyB0MxtK.js +3 -3
  32. package/chunk/index-B2QviHhu.js +3 -3
  33. package/chunk/index-B3ez232a.js +3 -3
  34. package/chunk/index-B4gdV8s6.js +3 -3
  35. package/chunk/index-B4tYkrWL.js +3 -3
  36. package/chunk/index-B6vb6UM_.js +3 -3
  37. package/chunk/index-BAHIZ4mf.js +3 -3
  38. package/chunk/index-BFbpUbk0.js +3 -3
  39. package/chunk/index-BGcK4jIu.js +3 -3
  40. package/chunk/index-BGyQS1iv.js +3 -3
  41. package/chunk/index-BPSsj5IJ.js +3 -3
  42. package/chunk/index-BggzUiyL.js +3 -3
  43. package/chunk/index-ByKnn_8W.js +3 -3
  44. package/chunk/index-C1RsiZ-I.js +3 -3
  45. package/chunk/index-C3puJbMQ.js +3 -3
  46. package/chunk/index-CAqwyxjO.js +3 -3
  47. package/chunk/index-CD9uhZhR.js +3 -3
  48. package/chunk/index-CL2wO6m-.js +3 -3
  49. package/chunk/index-CYZfa9V6.js +3 -3
  50. package/chunk/index-Ci1MhwSO.js +3 -3
  51. package/chunk/index-Clk5kQv2.js +3 -3
  52. package/chunk/index-Crb7Nhvh.js +3 -3
  53. package/chunk/index-CvOkO-lY.js +3 -3
  54. package/chunk/index-CzHKAw6X.js +3 -3
  55. package/chunk/index-D51S45xm.js +3 -3
  56. package/chunk/index-D673DKFG.js +3 -3
  57. package/chunk/index-DCyWqpgt.js +3 -3
  58. package/chunk/index-DIkWpujR.js +3 -3
  59. package/chunk/index-DMztrPpo.js +3 -3
  60. package/chunk/index-DP88H7RY.js +3 -3
  61. package/chunk/index-D_vy-x3C.js +3 -3
  62. package/chunk/index-Dbh2iG5X.js +3 -3
  63. package/chunk/index-Dh-e2MRZ.js +3 -3
  64. package/chunk/index-Dj3vY_6F.js +3 -3
  65. package/chunk/index-Do9WX18T.js +3 -3
  66. package/chunk/index-Dva8rjTE.js +3 -3
  67. package/chunk/index-ivqByqgE.js +3 -3
  68. package/chunk/index-kaVa-KtS.js +3 -3
  69. package/chunk/index-n5NkRJj7.js +3 -3
  70. package/chunk/index-z2oAhMO1.js +3 -3
  71. package/chunk/is-CDJf9SQj.js +3 -3
  72. package/chunk/it-DsGV0V9x.js +3 -3
  73. package/chunk/iw-jVZyVv_U.js +3 -3
  74. package/chunk/ja-pw5Y6rJ3.js +3 -3
  75. package/chunk/ko-BtxoW1xg.js +3 -3
  76. package/chunk/lo-BwN9NrzR.js +3 -3
  77. package/chunk/lt-AGueViiv.js +3 -3
  78. package/chunk/ms-Cti1KQ3P.js +3 -3
  79. package/chunk/nl-BE-lYF8pQD5.js +3 -3
  80. package/chunk/nl-DJz45J8Z.js +3 -3
  81. package/chunk/no-BfwP8w5q.js +3 -3
  82. package/chunk/pl-DZVzdGG0.js +3 -3
  83. package/chunk/pt-BR-LNROPv8C.js +3 -3
  84. package/chunk/pt-BV0rMak1.js +3 -3
  85. package/chunk/ro-BLwafleO.js +3 -3
  86. package/chunk/ru-DuxVwqUi.js +3 -3
  87. package/chunk/sk-Bs2XvWEr.js +3 -3
  88. package/chunk/sl-CYLMExsr.js +3 -3
  89. package/chunk/sr-T823YLAS.js +3 -3
  90. package/chunk/sv-Mjf6eNed.js +3 -3
  91. package/chunk/sw-B0GX2PKJ.js +3 -3
  92. package/chunk/th-CYFtgDkc.js +3 -3
  93. package/chunk/tr-xCu8ntdP.js +3 -3
  94. package/chunk/uk-DCRLMtpm.js +3 -3
  95. package/chunk/ur-CvHpDm6T.js +3 -3
  96. package/chunk/useCollectFieldsEndpoint-D0VXzWyt.js +3 -3
  97. package/chunk/useCollectFieldsEndpoint-DIzHv7w9.js +3 -3
  98. package/chunk/vi-B-V3wWgy.js +3 -3
  99. package/chunk/zh-DgGcneQd.js +3 -3
  100. package/chunk/zh-HK-DQfpEeke.js +3 -3
  101. package/chunk/zu-DezGnB8B.js +3 -3
  102. package/es6.css +3 -3
  103. package/jslib.js +4 -4
  104. package/lib/{EmailLoopPending-BbQo_xXm.js → EmailLoopPending-3BLNMrQ0.js} +4 -4
  105. package/lib/{EmailLoopPending-BbQo_xXm.js.map → EmailLoopPending-3BLNMrQ0.js.map} +1 -1
  106. package/lib/{LicensedProfessionalOrganizationComponent-NlZ-nP1G.js → LicensedProfessionalOrganizationComponent-E_N9XWNw.js} +4 -4
  107. package/lib/{LicensedProfessionalOrganizationComponent-NlZ-nP1G.js.map → LicensedProfessionalOrganizationComponent-E_N9XWNw.js.map} +1 -1
  108. package/lib/Onfido-BG8cDEVW.js +3 -3
  109. package/lib/StepCollectMilitaryStatusComponent-NyxoSSqv.js +11 -0
  110. package/lib/{StepCollectMilitaryStatusComponent-DQwIMpUS.js.map → StepCollectMilitaryStatusComponent-NyxoSSqv.js.map} +1 -1
  111. package/lib/{StepIDCheckLoopOnfido-NZCQIWxs.js → StepIDCheckLoopOnfido-DyM481jC.js} +4 -4
  112. package/lib/{StepIDCheckLoopOnfido-NZCQIWxs.js.map → StepIDCheckLoopOnfido-DyM481jC.js.map} +1 -1
  113. package/lib/{StepIDCheckLoopRegula-BSv4_BBh.js → StepIDCheckLoopRegula-DproF3-1.js} +4 -4
  114. package/lib/{StepIDCheckLoopRegula-BSv4_BBh.js.map → StepIDCheckLoopRegula-DproF3-1.js.map} +1 -1
  115. package/lib/{StepInactiveMilitaryPersonalInfoComponent-BiNg0t2Q.js → StepInactiveMilitaryPersonalInfoComponent-DRVJQAPQ.js} +5 -5
  116. package/lib/{StepInactiveMilitaryPersonalInfoComponent-BiNg0t2Q.js.map → StepInactiveMilitaryPersonalInfoComponent-DRVJQAPQ.js.map} +1 -1
  117. package/lib/{VerificationApiUtils-BTa2oY3r.js → VerificationApiUtils-6b5kSFUj.js} +4 -4
  118. package/lib/{VerificationApiUtils-BTa2oY3r.js.map → VerificationApiUtils-6b5kSFUj.js.map} +1 -1
  119. package/lib/ar-DQf-740T.js +3 -3
  120. package/lib/bg-4TPIrMGg.js +3 -3
  121. package/lib/bn-IN-FZHF5rDq.js +3 -3
  122. package/lib/cs-CyfSb-3N.js +3 -3
  123. package/lib/da-D4U92jYz.js +3 -3
  124. package/lib/de-CS8iEK9J.js +3 -3
  125. package/lib/el-BmROJ0uV.js +3 -3
  126. package/lib/en-GB-CJnmfvsY.js +3 -3
  127. package/lib/es-ES-CyC-5EZZ.js +3 -3
  128. package/lib/es-SSoVdnZs.js +3 -3
  129. package/lib/{es6-rqK7XGV3.js → es6-Baa1pdo2.js} +32 -32
  130. package/lib/{es6-rqK7XGV3.js.map → es6-Baa1pdo2.js.map} +1 -1
  131. package/lib/fi-Bxyp15LT.js +3 -3
  132. package/lib/fr-CA-C0_4HjP9.js +3 -3
  133. package/lib/fr-CXsFB_BA.js +3 -3
  134. package/lib/ga-CfmBornI.js +3 -3
  135. package/lib/hi-IN-D5UuCTwT.js +3 -3
  136. package/lib/hr-CbDILNPf.js +3 -3
  137. package/lib/hu-DXrY_Mal.js +3 -3
  138. package/lib/id-CyB0MxtK.js +3 -3
  139. package/lib/{index-DLis41CP.js → index-11-kipYh.js} +4 -4
  140. package/lib/{index-DLis41CP.js.map → index-11-kipYh.js.map} +1 -1
  141. package/lib/{index-DVgLDJ5C.js → index-BAcCuJi_.js} +4 -4
  142. package/lib/{index-DVgLDJ5C.js.map → index-BAcCuJi_.js.map} +1 -1
  143. package/lib/{index-C0aTjeHx.js → index-BQvFVpxI.js} +4 -4
  144. package/lib/{index-C0aTjeHx.js.map → index-BQvFVpxI.js.map} +1 -1
  145. package/lib/{index-Cx2Ugo1m.js → index-BRByhu-2.js} +4 -4
  146. package/lib/{index-Cx2Ugo1m.js.map → index-BRByhu-2.js.map} +1 -1
  147. package/lib/{index-DqMkIxBp.js → index-BgE8FQaB.js} +4 -4
  148. package/lib/{index-DqMkIxBp.js.map → index-BgE8FQaB.js.map} +1 -1
  149. package/lib/index-BhAAdoeZ.js +11 -0
  150. package/lib/index-BhAAdoeZ.js.map +1 -0
  151. package/lib/{index-DrgzCcdh.js → index-C0ld39Nx.js} +4 -4
  152. package/lib/{index-DrgzCcdh.js.map → index-C0ld39Nx.js.map} +1 -1
  153. package/lib/{index-C505nW1T.js → index-C9_yulsf.js} +6 -6
  154. package/lib/{index-C505nW1T.js.map → index-C9_yulsf.js.map} +1 -1
  155. package/lib/{index-DQIE7yNH.js → index-CEtaTlzl.js} +4 -4
  156. package/lib/{index-DQIE7yNH.js.map → index-CEtaTlzl.js.map} +1 -1
  157. package/lib/{index-CFYe_UYD.js → index-CFt37y55.js} +5 -5
  158. package/lib/{index-CFYe_UYD.js.map → index-CFt37y55.js.map} +1 -1
  159. package/lib/{index-CFVAnkD8.js → index-CMl-q0bS.js} +4 -4
  160. package/lib/{index-CFVAnkD8.js.map → index-CMl-q0bS.js.map} +1 -1
  161. package/lib/{index-D5EHadza.js → index-CdrNfDP2.js} +4 -4
  162. package/lib/{index-D5EHadza.js.map → index-CdrNfDP2.js.map} +1 -1
  163. package/lib/{index-BBw2oTqa.js → index-Ctoq-C7T.js} +5 -5
  164. package/lib/{index-BBw2oTqa.js.map → index-Ctoq-C7T.js.map} +1 -1
  165. package/lib/{index-CXtAh5IG.js → index-D7zgWla7.js} +5 -5
  166. package/lib/{index-CXtAh5IG.js.map → index-D7zgWla7.js.map} +1 -1
  167. package/lib/index-DIkWpujR.js +3 -3
  168. package/lib/{index-jxOUKu8F.js → index-DZmke7g0.js} +4 -4
  169. package/lib/{index-jxOUKu8F.js.map → index-DZmke7g0.js.map} +1 -1
  170. package/lib/index-DaRrA57q.js +11 -0
  171. package/lib/index-DaRrA57q.js.map +1 -0
  172. package/lib/{index-qlMOO8hO.js → index-DfwWw6pm.js} +4 -4
  173. package/lib/{index-qlMOO8hO.js.map → index-DfwWw6pm.js.map} +1 -1
  174. package/lib/{index-fLcsMaGw.js → index-DpozGZg9.js} +5 -5
  175. package/lib/{index-fLcsMaGw.js.map → index-DpozGZg9.js.map} +1 -1
  176. package/lib/index-GgWqt21N.js +11 -0
  177. package/lib/index-GgWqt21N.js.map +1 -0
  178. package/lib/{index-7ucakyow.js → index-IE7Rq3rk.js} +4 -4
  179. package/lib/{index-7ucakyow.js.map → index-IE7Rq3rk.js.map} +1 -1
  180. package/lib/index-i7xL_pq7.js +11 -0
  181. package/lib/index-i7xL_pq7.js.map +1 -0
  182. package/lib/{index-mwIUsbF3.js → index-r-6zitpe.js} +4 -4
  183. package/lib/{index-mwIUsbF3.js.map → index-r-6zitpe.js.map} +1 -1
  184. package/lib/{index-BVttZlaV.js → index-uPoywtf-.js} +5 -5
  185. package/lib/{index-BVttZlaV.js.map → index-uPoywtf-.js.map} +1 -1
  186. package/lib/is-CDJf9SQj.js +3 -3
  187. package/lib/it-DsGV0V9x.js +3 -3
  188. package/lib/iw-jVZyVv_U.js +3 -3
  189. package/lib/ja-pw5Y6rJ3.js +3 -3
  190. package/lib/ko-BtxoW1xg.js +3 -3
  191. package/lib/lo-BwN9NrzR.js +3 -3
  192. package/lib/lt-AGueViiv.js +3 -3
  193. package/lib/ms-Cti1KQ3P.js +3 -3
  194. package/lib/nl-BE-lYF8pQD5.js +3 -3
  195. package/lib/nl-DJz45J8Z.js +3 -3
  196. package/lib/no-BfwP8w5q.js +3 -3
  197. package/lib/pl-DZVzdGG0.js +3 -3
  198. package/lib/pt-BR-LNROPv8C.js +3 -3
  199. package/lib/pt-BV0rMak1.js +3 -3
  200. package/lib/ro-BLwafleO.js +3 -3
  201. package/lib/ru-DuxVwqUi.js +3 -3
  202. package/lib/sk-Bs2XvWEr.js +3 -3
  203. package/lib/sl-CYLMExsr.js +3 -3
  204. package/lib/sr-T823YLAS.js +3 -3
  205. package/lib/sv-Mjf6eNed.js +3 -3
  206. package/lib/sw-B0GX2PKJ.js +3 -3
  207. package/lib/th-CYFtgDkc.js +3 -3
  208. package/lib/tr-xCu8ntdP.js +3 -3
  209. package/lib/uk-DCRLMtpm.js +3 -3
  210. package/lib/ur-CvHpDm6T.js +3 -3
  211. package/lib/{useCollectFieldsEndpoint-BhGZHUUd.js → useCollectFieldsEndpoint-CH1wqWaO.js} +5 -5
  212. package/lib/{useCollectFieldsEndpoint-BhGZHUUd.js.map → useCollectFieldsEndpoint-CH1wqWaO.js.map} +1 -1
  213. package/lib/vi-B-V3wWgy.js +3 -3
  214. package/lib/zh-DgGcneQd.js +3 -3
  215. package/lib/zh-HK-DQfpEeke.js +3 -3
  216. package/lib/zu-DezGnB8B.js +3 -3
  217. package/package.json +1 -1
  218. package/sheerid-install.css +3 -3
  219. package/sheerid-install.js +4 -4
  220. package/sheerid.css +3 -3
  221. package/sheerid.js +5 -5
  222. package/types-reference.zip +0 -0
  223. package/lib/StepCollectMilitaryStatusComponent-DQwIMpUS.js +0 -11
  224. package/lib/index-BtT3ulex.js +0 -11
  225. package/lib/index-BtT3ulex.js.map +0 -1
  226. package/lib/index-DDK14CKX.js +0 -11
  227. package/lib/index-DDK14CKX.js.map +0 -1
  228. package/lib/index-DFXcKR_O.js +0 -11
  229. package/lib/index-DFXcKR_O.js.map +0 -1
  230. package/lib/index-IZPFpCik.js +0 -11
  231. package/lib/index-IZPFpCik.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-BiNg0t2Q.js","sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"names":["StepInactiveMilitaryPersonalInfo","intl","verificationService","viewModel","previousViewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","optionalFields","setOptionalFields","React","availableStatuses","getAvailableMilitaryStatuses","locale","options","getOptions","updateInactiveMilitaryViewModel","key","value","updateMilitaryViewModel","submitStep","nextState","produce","logger","VerificationStepsEnum","collectFieldsResponse","getFieldsToCollect","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","newValue","LastName","BirthDate","ActiveDutyStartDateComponent","DischargeDate","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","PhoneNumber","AddressComponent","CityComponent","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","PostalCodeComponent","config","FormFieldCustom","MarketConsentWrapper","ExtraMessage","PersonalInfoStepSubmitButton","StepInactiveMilitaryPersonalInfoComponent","injectIntl"],"mappings":";;;;AAkEO,MAAMA,KAAmC,CAAC;AAAA,EAC/C,MAAAC;AAAA,EACA,qBAAAC;AACF,MAAsD;AACpD,QAAMC,IAAYD,EAAoB,WAChCE,IACJF,EAAoB,mBAChB,EAAE,uBAAAG,MAA0BH,GAC5BI,IACJJ,EAAoB,sBAChBK,IAAqBC,EAAsBF,CAAoB,GAC/D,CAACG,GAAgBC,CAAiB,IAAIC,EAAM,SAAS,CAAA,CAA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AAA,CACrB,GACDL;AAAA,kBACE;AAAA,kBACAK;AAAA,kBACA9C;AAAA,gBAAA;AAAA,cAEJ;AAAA,cACA,WAAAC;AAAA,cACA,UAAUmC,EAAwB,oBAAoB,GAAG;AAAA,YAAA;AAAA,UAAA;AAAA,UAG3DL,gBAAAA,EAAAA,IAACmC,GAAA,EAAa,qBAAAlE,GAA0C,QAAO,qBAAA,CAAqB;AAAA,UAEpF+B,gBAAAA,EAAAA;AAAAA,YAACoC;AAAA,YAAA;AAAA,cACC,MAAM5C,EAAsB;AAAA,cAC5B,qBAAAvB;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAI;AAAA,cACA,YACE0B,gBAAAA,EAAAA;AAAAA,gBAACqB;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ,EAAA,CACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEagB,KAA4CC;AAAA,EACvDvE;AACF;"}
1
+ {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-DRVJQAPQ.js","sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"names":["StepInactiveMilitaryPersonalInfo","intl","verificationService","viewModel","previousViewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","optionalFields","setOptionalFields","React","availableStatuses","getAvailableMilitaryStatuses","locale","options","getOptions","updateInactiveMilitaryViewModel","key","value","updateMilitaryViewModel","submitStep","nextState","produce","logger","VerificationStepsEnum","collectFieldsResponse","getFieldsToCollect","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","newValue","LastName","BirthDate","ActiveDutyStartDateComponent","DischargeDate","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","PhoneNumber","AddressComponent","CityComponent","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","PostalCodeComponent","config","FormFieldCustom","MarketConsentWrapper","ExtraMessage","PersonalInfoStepSubmitButton","StepInactiveMilitaryPersonalInfoComponent","injectIntl"],"mappings":";;;;AAkEO,MAAMA,KAAmC,CAAC;AAAA,EAC/C,MAAAC;AAAA,EACA,qBAAAC;AACF,MAAsD;AACpD,QAAMC,IAAYD,EAAoB,WAChCE,IACJF,EAAoB,mBAChB,EAAE,uBAAAG,MAA0BH,GAC5BI,IACJJ,EAAoB,sBAChBK,IAAqBC,EAAsBF,CAAoB,GAC/D,CAACG,GAAgBC,CAAiB,IAAIC,EAAM,SAAS,CAAA,CAAE,GACvDC,IAAoBC,EAA6BX,GAAqBD,CAAI,GA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AAA,kBACA9C;AAAA,gBAAA;AAAA,cAEJ;AAAA,cACA,WAAAC;AAAA,cACA,UAAUmC,EAAwB,oBAAoB,GAAG;AAAA,YAAA;AAAA,UAAA;AAAA,UAG3DL,gBAAAA,EAAAA,IAACmC,GAAA,EAAa,qBAAAlE,GAA0C,QAAO,qBAAA,CAAqB;AAAA,UAEpF+B,gBAAAA,EAAAA;AAAAA,YAACoC;AAAA,YAAA;AAAA,cACC,MAAM5C,EAAsB;AAAA,cAC5B,qBAAAvB;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAI;AAAA,cACA,YACE0B,gBAAAA,EAAAA;AAAAA,gBAACqB;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ,EAAA,CACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEagB,KAA4CC;AAAA,EACvDvE;AACF;"}
@@ -1,11 +1,11 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.159.0-alpha.1
4
- * BUILD_TIMESTAMP: 1767993776006
5
- * BUILD_DATE: Fri Jan 09 2026 21:22:56 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.159.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1768001869241
5
+ * BUILD_DATE: Fri Jan 09 2026 23:37:49 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: b30d55ac1954beeef29047dfc64f4e8a1fb9aec6
7
7
  */
8
- import { V as n, s as i, P as l, g as a } from "./es6-rqK7XGV3.js";
8
+ import { V as n, s as i, P as l, g as a } from "./es6-Baa1pdo2.js";
9
9
  async function d(r, e, t) {
10
10
  if (n[e]) {
11
11
  const s = i[e](t), o = await l(
@@ -1 +1 @@
1
- {"version":3,"file":"VerificationApiUtils-BTa2oY3r.js","sources":["../../src/lib/ServerApi/VerificationApiUtils.ts"],"sourcesContent":["import { VerificationStepsEnum } from \"../types/runtimeTypes\";\nimport { CollectFieldsResponse, DatabaseId, VerificationStep, ViewModel } from \"../types/types\";\nimport { getFieldsToCollectUrl } from \"./ApiUrls\";\nimport * as Network from \"./Network\";\nimport { stepToRequest } from \"./StepToRequest\";\n\n/**\n * EXPERIMENTAL - Check which fields are required and optional for a given view model\n */\nexport async function getFieldsToCollect(\n verificationId: DatabaseId,\n step: VerificationStep,\n viewModel: ViewModel,\n): Promise<CollectFieldsResponse> {\n if (VerificationStepsEnum[step]) {\n const requestBody = stepToRequest[step](viewModel);\n const response = (await Network.PostJson(\n getFieldsToCollectUrl(verificationId, step),\n requestBody,\n )) as CollectFieldsResponse;\n if (response.currentStep === \"error\") {\n throw new Error(`Failed to determine fields to collect: ${response}`);\n }\n return response as CollectFieldsResponse;\n }\n throw new Error(`Unknown step ${step}`);\n}\n"],"names":["getFieldsToCollect","verificationId","step","viewModel","VerificationStepsEnum","requestBody","stepToRequest","response","Network.PostJson","getFieldsToCollectUrl"],"mappings":";AASA,eAAsBA,EACpBC,GACAC,GACAC,GACgC;AAChC,MAAIC,EAAsBF,CAAI,GAAG;AAC/B,UAAMG,IAAcC,EAAcJ,CAAI,EAAEC,CAAS,GAC3CI,IAAY,MAAMC;AAAAA,MACtBC,EAAsBR,GAAgBC,CAAI;AAAA,MAC1CG;AAAA,IAAA;AAEF,QAAIE,EAAS,gBAAgB;AAC3B,YAAM,IAAI,MAAM,0CAA0CA,CAAQ,EAAE;AAEtE,WAAOA;AAAA,EACT;AACA,QAAM,IAAI,MAAM,gBAAgBL,CAAI,EAAE;AACxC;"}
1
+ {"version":3,"file":"VerificationApiUtils-6b5kSFUj.js","sources":["../../src/lib/ServerApi/VerificationApiUtils.ts"],"sourcesContent":["import { VerificationStepsEnum } from \"../types/runtimeTypes\";\nimport { CollectFieldsResponse, DatabaseId, VerificationStep, ViewModel } from \"../types/types\";\nimport { getFieldsToCollectUrl } from \"./ApiUrls\";\nimport * as Network from \"./Network\";\nimport { stepToRequest } from \"./StepToRequest\";\n\n/**\n * EXPERIMENTAL - Check which fields are required and optional for a given view model\n */\nexport async function getFieldsToCollect(\n verificationId: DatabaseId,\n step: VerificationStep,\n viewModel: ViewModel,\n): Promise<CollectFieldsResponse> {\n if (VerificationStepsEnum[step]) {\n const requestBody = stepToRequest[step](viewModel);\n const response = (await Network.PostJson(\n getFieldsToCollectUrl(verificationId, step),\n requestBody,\n )) as CollectFieldsResponse;\n if (response.currentStep === \"error\") {\n throw new Error(`Failed to determine fields to collect: ${response}`);\n }\n return response as CollectFieldsResponse;\n }\n throw new Error(`Unknown step ${step}`);\n}\n"],"names":["getFieldsToCollect","verificationId","step","viewModel","VerificationStepsEnum","requestBody","stepToRequest","response","Network.PostJson","getFieldsToCollectUrl"],"mappings":";AASA,eAAsBA,EACpBC,GACAC,GACAC,GACgC;AAChC,MAAIC,EAAsBF,CAAI,GAAG;AAC/B,UAAMG,IAAcC,EAAcJ,CAAI,EAAEC,CAAS,GAC3CI,IAAY,MAAMC;AAAAA,MACtBC,EAAsBR,GAAgBC,CAAI;AAAA,MAC1CG;AAAA,IAAA;AAEF,QAAIE,EAAS,gBAAgB;AAC3B,YAAM,IAAI,MAAM,0CAA0CA,CAAQ,EAAE;AAEtE,WAAOA;AAAA,EACT;AACA,QAAM,IAAI,MAAM,gBAAgBL,CAAI,EAAE;AACxC;"}
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.159.0-alpha.1
4
- * BUILD_TIMESTAMP: 1767993776006
5
- * BUILD_DATE: Fri Jan 09 2026 21:22:56 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.159.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1768001869241
5
+ * BUILD_DATE: Fri Jan 09 2026 23:37:49 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: b30d55ac1954beeef29047dfc64f4e8a1fb9aec6
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.159.0-alpha.1
4
- * BUILD_TIMESTAMP: 1767993776006
5
- * BUILD_DATE: Fri Jan 09 2026 21:22:56 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.159.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1768001869241
5
+ * BUILD_DATE: Fri Jan 09 2026 23:37:49 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: b30d55ac1954beeef29047dfc64f4e8a1fb9aec6
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.159.0-alpha.1
4
- * BUILD_TIMESTAMP: 1767993776006
5
- * BUILD_DATE: Fri Jan 09 2026 21:22:56 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.159.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1768001869241
5
+ * BUILD_DATE: Fri Jan 09 2026 23:37:49 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: b30d55ac1954beeef29047dfc64f4e8a1fb9aec6
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.159.0-alpha.1
4
- * BUILD_TIMESTAMP: 1767993776006
5
- * BUILD_DATE: Fri Jan 09 2026 21:22:56 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.159.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1768001869241
5
+ * BUILD_DATE: Fri Jan 09 2026 23:37:49 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: b30d55ac1954beeef29047dfc64f4e8a1fb9aec6
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.159.0-alpha.1
4
- * BUILD_TIMESTAMP: 1767993776006
5
- * BUILD_DATE: Fri Jan 09 2026 21:22:56 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.159.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1768001869241
5
+ * BUILD_DATE: Fri Jan 09 2026 23:37:49 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: b30d55ac1954beeef29047dfc64f4e8a1fb9aec6
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.159.0-alpha.1
4
- * BUILD_TIMESTAMP: 1767993776006
5
- * BUILD_DATE: Fri Jan 09 2026 21:22:56 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.159.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1768001869241
5
+ * BUILD_DATE: Fri Jan 09 2026 23:37:49 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: b30d55ac1954beeef29047dfc64f4e8a1fb9aec6
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.159.0-alpha.1
4
- * BUILD_TIMESTAMP: 1767993776006
5
- * BUILD_DATE: Fri Jan 09 2026 21:22:56 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.159.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1768001869241
5
+ * BUILD_DATE: Fri Jan 09 2026 23:37:49 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: b30d55ac1954beeef29047dfc64f4e8a1fb9aec6
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.159.0-alpha.1
4
- * BUILD_TIMESTAMP: 1767993776006
5
- * BUILD_DATE: Fri Jan 09 2026 21:22:56 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.159.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1768001869241
5
+ * BUILD_DATE: Fri Jan 09 2026 23:37:49 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: b30d55ac1954beeef29047dfc64f4e8a1fb9aec6
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.159.0-alpha.1
4
- * BUILD_TIMESTAMP: 1767993776006
5
- * BUILD_DATE: Fri Jan 09 2026 21:22:56 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.159.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1768001869241
5
+ * BUILD_DATE: Fri Jan 09 2026 23:37:49 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: b30d55ac1954beeef29047dfc64f4e8a1fb9aec6
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.159.0-alpha.1
4
- * BUILD_TIMESTAMP: 1767993776006
5
- * BUILD_DATE: Fri Jan 09 2026 21:22:56 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.159.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1768001869241
5
+ * BUILD_DATE: Fri Jan 09 2026 23:37:49 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: b30d55ac1954beeef29047dfc64f4e8a1fb9aec6
7
7
  */
8
8
  const e = {
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.159.0-alpha.1
4
- * BUILD_TIMESTAMP: 1767993776006
5
- * BUILD_DATE: Fri Jan 09 2026 21:22:56 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.159.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1768001869241
5
+ * BUILD_DATE: Fri Jan 09 2026 23:37:49 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: b30d55ac1954beeef29047dfc64f4e8a1fb9aec6
7
7
  */
8
8
  import * as Ee from "react";
@@ -104,7 +104,7 @@ const NB = (e) => e && e.stack && e.message, Qp = (...e) => {
104
104
  locale: qt(() => o.programTheme.intl.locale),
105
105
  isTestMode: qt(() => o.programTheme.isTestMode),
106
106
  openOrgSearchEnabled: qt(() => o.programTheme.openOrgSearchEnabled),
107
- jslibVerActual: qt(() => "2.159.0-alpha.1", "?"),
107
+ jslibVerActual: qt(() => "2.159.0-alpha.3", "?"),
108
108
  ...r
109
109
  };
110
110
  }
@@ -3711,7 +3711,7 @@ const POe = (e, t) => {
3711
3711
  }, VO = () => `${$t().restApi.serviceUrl}${$t().restApi.resources.verification}`, lG = (e) => `${VO()}${e}`, cG = () => VO(), uG = (e, t = null) => {
3712
3712
  const r = `${$t().restApi.serviceUrl}${$t().restApi.resources.program.base}${e}/${$t().restApi.resources.program.theme}`;
3713
3713
  return t ? `${r}?locale=${t}` : `${r}`;
3714
- }, dG = (e) => `${$t().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, fG = (e) => `${$t().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, pG = (e, t) => `${$t().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, hG = (e, t) => `${$t().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, OOe = (e, t, r) => `${$t().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, n4 = () => "2.159.0-alpha.1", mG = () => window.location.href, DO = () => {
3714
+ }, dG = (e) => `${$t().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, fG = (e) => `${$t().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, pG = (e, t) => `${$t().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, hG = (e, t) => `${$t().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, OOe = (e, t, r) => `${$t().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, n4 = () => "2.159.0-alpha.3", mG = () => window.location.href, DO = () => {
3715
3715
  try {
3716
3716
  const e = new URLSearchParams(window.location.search);
3717
3717
  if (e.get(Mi))
@@ -14308,25 +14308,25 @@ const HV = ({
14308
14308
  }, t6 = Sr(yX), vX = {
14309
14309
  StepPendingComponent: sX,
14310
14310
  StepErrorComponent: t6,
14311
- StepStudentPersonalInfoComponent: ft.lazy(() => import("./index-CFVAnkD8.js")),
14312
- StepOverrideComponent: ft.lazy(() => import("./index-IZPFpCik.js")),
14313
- StepAgePersonalInfoComponent: ft.lazy(() => import("./index-BVttZlaV.js")),
14314
- StepSeniorPersonalInfoComponent: ft.lazy(() => import("./index-BVttZlaV.js")),
14311
+ StepStudentPersonalInfoComponent: ft.lazy(() => import("./index-CMl-q0bS.js")),
14312
+ StepOverrideComponent: ft.lazy(() => import("./index-DaRrA57q.js")),
14313
+ StepAgePersonalInfoComponent: ft.lazy(() => import("./index-uPoywtf-.js")),
14314
+ StepSeniorPersonalInfoComponent: ft.lazy(() => import("./index-uPoywtf-.js")),
14315
14315
  StepActiveMilitaryPersonalInfoComponent: ft.lazy(
14316
14316
  () => Promise.resolve().then(() => Nne)
14317
14317
  ),
14318
14318
  StepCollectMilitaryStatusComponent: ft.lazy(
14319
- () => import("./StepCollectMilitaryStatusComponent-DQwIMpUS.js")
14319
+ () => import("./StepCollectMilitaryStatusComponent-NyxoSSqv.js")
14320
14320
  ),
14321
14321
  StepInactiveMilitaryPersonalInfoComponent: ft.lazy(
14322
- () => import("./StepInactiveMilitaryPersonalInfoComponent-BiNg0t2Q.js")
14322
+ () => import("./StepInactiveMilitaryPersonalInfoComponent-DRVJQAPQ.js")
14323
14323
  ),
14324
14324
  StepDriverLicensePersonalInfoComponent: ft.lazy(
14325
14325
  () => Promise.resolve().then(() => jne)
14326
14326
  ),
14327
- StepEmploymentPersonalInfoComponent: ft.lazy(() => import("./index-D5EHadza.js")),
14327
+ StepEmploymentPersonalInfoComponent: ft.lazy(() => import("./index-CdrNfDP2.js")),
14328
14328
  StepFirstResponderPersonalInfoComponent: ft.lazy(
14329
- () => import("./index-qlMOO8hO.js")
14329
+ () => import("./index-DfwWw6pm.js")
14330
14330
  ),
14331
14331
  StepGeneralIdentityPersonalInfoComponent: ft.lazy(
14332
14332
  () => Promise.resolve().then(() => Fne)
@@ -14334,29 +14334,29 @@ const HV = ({
14334
14334
  StepHybridIdentityPersonalInfoComponent: ft.lazy(
14335
14335
  () => Promise.resolve().then(() => Bne)
14336
14336
  ),
14337
- StepIDCheckLoopComponent: ft.lazy(() => import("./index-C505nW1T.js")),
14337
+ StepIDCheckLoopComponent: ft.lazy(() => import("./index-C9_yulsf.js")),
14338
14338
  StepLicensedProfessionalPersonalInfoComponent: ft.lazy(
14339
- () => import("./index-CXtAh5IG.js")
14339
+ () => import("./index-D7zgWla7.js")
14340
14340
  ),
14341
- StepLowIncomePersonalInfoComponent: ft.lazy(() => import("./index-DDK14CKX.js")),
14341
+ StepLowIncomePersonalInfoComponent: ft.lazy(() => import("./index-BhAAdoeZ.js")),
14342
14342
  StepMedicalProfessionalPersonalInfoComponent: ft.lazy(
14343
- () => import("./index-BBw2oTqa.js")
14343
+ () => import("./index-Ctoq-C7T.js")
14344
14344
  ),
14345
- StepMemberPersonalInfoComponent: ft.lazy(() => import("./index-C0aTjeHx.js")),
14346
- StepConsolationComponent: ft.lazy(() => import("./index-jxOUKu8F.js")),
14347
- StepDocUploadComponent: ft.lazy(() => import("./index-Cx2Ugo1m.js")),
14348
- StepEmailLoopComponent: ft.lazy(() => import("./index-CFYe_UYD.js")),
14349
- StepPendingEmailLoopComponent: ft.lazy(() => import("./EmailLoopPending-BbQo_xXm.js")),
14350
- StepMoverPersonalInfoComponent: ft.lazy(() => import("./index-7ucakyow.js")),
14351
- StepSMSLoopComponent: ft.lazy(() => import("./index-DrgzCcdh.js")),
14352
- StepSocialSecurity: ft.lazy(() => import("./index-DVgLDJ5C.js")),
14353
- StepSSOComponent: ft.lazy(() => import("./index-BtT3ulex.js")),
14354
- StepSuccessComponent: ft.lazy(() => import("./index-DQIE7yNH.js")),
14355
- StepTeacherPersonalInfoComponent: ft.lazy(() => import("./index-mwIUsbF3.js")),
14356
- StepCompleteAuthentication: ft.lazy(() => import("./index-DqMkIxBp.js")),
14357
- StepCollectIdentifierComponent: ft.lazy(() => import("./index-DLis41CP.js")),
14358
- StepCollectPersonalInfo: ft.lazy(() => import("./index-fLcsMaGw.js")),
14359
- StepThirdPartyLoopComponent: ft.lazy(() => import("./index-DFXcKR_O.js"))
14345
+ StepMemberPersonalInfoComponent: ft.lazy(() => import("./index-BQvFVpxI.js")),
14346
+ StepConsolationComponent: ft.lazy(() => import("./index-DZmke7g0.js")),
14347
+ StepDocUploadComponent: ft.lazy(() => import("./index-BRByhu-2.js")),
14348
+ StepEmailLoopComponent: ft.lazy(() => import("./index-CFt37y55.js")),
14349
+ StepPendingEmailLoopComponent: ft.lazy(() => import("./EmailLoopPending-3BLNMrQ0.js")),
14350
+ StepMoverPersonalInfoComponent: ft.lazy(() => import("./index-IE7Rq3rk.js")),
14351
+ StepSMSLoopComponent: ft.lazy(() => import("./index-C0ld39Nx.js")),
14352
+ StepSocialSecurity: ft.lazy(() => import("./index-BAcCuJi_.js")),
14353
+ StepSSOComponent: ft.lazy(() => import("./index-i7xL_pq7.js")),
14354
+ StepSuccessComponent: ft.lazy(() => import("./index-CEtaTlzl.js")),
14355
+ StepTeacherPersonalInfoComponent: ft.lazy(() => import("./index-r-6zitpe.js")),
14356
+ StepCompleteAuthentication: ft.lazy(() => import("./index-BgE8FQaB.js")),
14357
+ StepCollectIdentifierComponent: ft.lazy(() => import("./index-11-kipYh.js")),
14358
+ StepCollectPersonalInfo: ft.lazy(() => import("./index-DpozGZg9.js")),
14359
+ StepThirdPartyLoopComponent: ft.lazy(() => import("./index-GgWqt21N.js"))
14360
14360
  }, Or = (e) => {
14361
14361
  ye.info("getComponent", e);
14362
14362
  const t = FW(e);