@sheerid/jslib-nightly 2.103.0-alpha.1 → 2.104.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (462) hide show
  1. package/__tests__/__helpers__/renderers.d.ts +5 -5
  2. package/_mysheerid-preview.css +4 -4
  3. package/_mysheerid-preview.js +16418 -17936
  4. package/_mysheerid-preview.js.map +1 -1
  5. package/chunk/{EmailLoopPending-Cp3dQjbH.js → EmailLoopPending-D-O7IRrU.js} +17 -17
  6. package/chunk/{EmailLoopPending-Cp3dQjbH.js.map → EmailLoopPending-D-O7IRrU.js.map} +1 -1
  7. package/chunk/{EmailLoopPending-WTPkkJsm.js → EmailLoopPending-DmENoLpP.js} +17 -17
  8. package/chunk/{EmailLoopPending-WTPkkJsm.js.map → EmailLoopPending-DmENoLpP.js.map} +1 -1
  9. package/chunk/LicensedProfessionalOrganizationComponent-BrW9osPt.js +55 -0
  10. package/chunk/LicensedProfessionalOrganizationComponent-BrW9osPt.js.map +1 -0
  11. package/chunk/LicensedProfessionalOrganizationComponent-Cu6a9uBs.js +51 -0
  12. package/chunk/LicensedProfessionalOrganizationComponent-Cu6a9uBs.js.map +1 -0
  13. package/chunk/{Onfido-AyvUk6wg.js → Onfido-CMH3IUna.js} +28 -28
  14. package/chunk/{Onfido-AyvUk6wg.js.map → Onfido-CMH3IUna.js.map} +1 -1
  15. package/chunk/{StepIDCheckLoopOnfido-Dbk23JEP.js → StepIDCheckLoopOnfido-BRtMQNQl.js} +12 -13
  16. package/chunk/{StepIDCheckLoopOnfido-DbTm06es.js.map → StepIDCheckLoopOnfido-BRtMQNQl.js.map} +1 -1
  17. package/chunk/{StepIDCheckLoopOnfido-DbTm06es.js → StepIDCheckLoopOnfido-mZhLONqq.js} +12 -13
  18. package/chunk/{StepIDCheckLoopOnfido-Dbk23JEP.js.map → StepIDCheckLoopOnfido-mZhLONqq.js.map} +1 -1
  19. package/chunk/{StepIDCheckLoopRegula-CeadrU2e.js → StepIDCheckLoopRegula-1wd-jJGJ.js} +85 -58
  20. package/chunk/StepIDCheckLoopRegula-1wd-jJGJ.js.map +1 -0
  21. package/chunk/{StepIDCheckLoopRegula-B7RS9_LL.js → StepIDCheckLoopRegula-jyg1vIi3.js} +85 -58
  22. package/chunk/StepIDCheckLoopRegula-jyg1vIi3.js.map +1 -0
  23. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js → StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js} +52 -52
  24. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js.map → StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js.map} +1 -1
  25. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js → StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js} +52 -52
  26. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js.map → StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js.map} +1 -1
  27. package/chunk/ar-CtJ_9k3U.js +4 -4
  28. package/chunk/bg-CWxXfiDq.js +4 -4
  29. package/chunk/bn-IN-Dpq_hCqt.js +4 -4
  30. package/chunk/cs-HevyelX7.js +4 -4
  31. package/chunk/da-6QXhWjWH.js +4 -4
  32. package/chunk/de-ChuCvRLv.js +4 -4
  33. package/chunk/el-3IAhABcN.js +4 -4
  34. package/chunk/en-GB-ByNBaer-.js +4 -4
  35. package/chunk/es-CL_dUc9X.js +4 -4
  36. package/chunk/es-ES-CW4At4Ol.js +4 -4
  37. package/chunk/fi-D8cIebkk.js +4 -4
  38. package/chunk/fr-BDU-1C6f.js +4 -4
  39. package/chunk/fr-CA-Dc02rv8D.js +4 -4
  40. package/chunk/ga-P7eP-INQ.js +4 -4
  41. package/chunk/hi-IN-DlmwjoqH.js +4 -4
  42. package/chunk/hr-CT_VP_lm.js +4 -4
  43. package/chunk/hu-I8Z1uXsR.js +4 -4
  44. package/chunk/id-CUPTGKOT.js +4 -4
  45. package/chunk/{index-Dl7QItmr.js → index-1tM2UWke.js} +56 -48
  46. package/chunk/{index-Dl7QItmr.js.map → index-1tM2UWke.js.map} +1 -1
  47. package/chunk/{index-XXxK9rgV.js → index-25aIMfhs.js} +87 -86
  48. package/chunk/index-25aIMfhs.js.map +1 -0
  49. package/chunk/{index-BOpxl8V9.js → index-2tpdu0Sm.js} +28 -28
  50. package/chunk/{index-BOpxl8V9.js.map → index-2tpdu0Sm.js.map} +1 -1
  51. package/chunk/{index-CaSKZsTY.js → index-BJxmlJd1.js} +15 -15
  52. package/chunk/{index-CaSKZsTY.js.map → index-BJxmlJd1.js.map} +1 -1
  53. package/chunk/{index-4APDQFqJ.js → index-BSXBGGOf.js} +10 -10
  54. package/{lib/index-BHwYKmBe.js.map → chunk/index-BSXBGGOf.js.map} +1 -1
  55. package/chunk/index-B_CvWvhW.js +27 -0
  56. package/chunk/index-B_CvWvhW.js.map +1 -0
  57. package/chunk/{index-DFQ4PjGJ.js → index-BgB4HxER.js} +58 -58
  58. package/chunk/{index-CtqWr1aK.js.map → index-BgB4HxER.js.map} +1 -1
  59. package/chunk/{index-RmF57u5_.js → index-BjWeyRVL.js} +43 -43
  60. package/chunk/{index-C0jDbJPp.js.map → index-BjWeyRVL.js.map} +1 -1
  61. package/chunk/{index-qAxcloBs.js → index-BmJ3aubI.js} +11 -11
  62. package/chunk/{index-qAxcloBs.js.map → index-BmJ3aubI.js.map} +1 -1
  63. package/chunk/{index-CtqWr1aK.js → index-BrVZpRb7.js} +58 -58
  64. package/chunk/{index-DFQ4PjGJ.js.map → index-BrVZpRb7.js.map} +1 -1
  65. package/chunk/index-Bv_0MGCt.js +31 -0
  66. package/chunk/index-Bv_0MGCt.js.map +1 -0
  67. package/chunk/{index-aKTpkBwz.js → index-C3tQa9xA.js} +56 -48
  68. package/chunk/{index-aKTpkBwz.js.map → index-C3tQa9xA.js.map} +1 -1
  69. package/chunk/{index-C0jDbJPp.js → index-C6cgSdQ9.js} +43 -43
  70. package/chunk/{index-RmF57u5_.js.map → index-C6cgSdQ9.js.map} +1 -1
  71. package/chunk/{index-D3dphMnl.js → index-CEidf7uT.js} +15 -15
  72. package/{lib/index-Sytmygw_.js.map → chunk/index-CEidf7uT.js.map} +1 -1
  73. package/chunk/{index-BhkJfnda.js → index-CGKKTwvx.js} +15 -15
  74. package/chunk/{index-BDw8efPp.js.map → index-CGKKTwvx.js.map} +1 -1
  75. package/chunk/{index-BtYzUCrC.js → index-Cb7GlxEu.js} +11 -11
  76. package/chunk/{index-BtYzUCrC.js.map → index-Cb7GlxEu.js.map} +1 -1
  77. package/chunk/{index-DPEoeYI6.js → index-Cq8qB8GK.js} +44 -44
  78. package/chunk/{index-CgSW4Vzh.js.map → index-Cq8qB8GK.js.map} +1 -1
  79. package/chunk/{index-B30_E6pJ.js → index-D1j4nnQa.js} +31 -31
  80. package/chunk/{index-B30_E6pJ.js.map → index-D1j4nnQa.js.map} +1 -1
  81. package/chunk/{index-DB9SisGK.js → index-D6Gez9pU.js} +21 -21
  82. package/chunk/{index-DB9SisGK.js.map → index-D6Gez9pU.js.map} +1 -1
  83. package/chunk/{index-BGCnajPS.js → index-D6RaCifq.js} +30 -30
  84. package/chunk/{index-BFMTiaJv.js.map → index-D6RaCifq.js.map} +1 -1
  85. package/chunk/{index-NjSUlAP4.js → index-D8z4eipH.js} +53 -53
  86. package/chunk/{index-oMg5zy_2.js.map → index-D8z4eipH.js.map} +1 -1
  87. package/chunk/{index-C9bZ7enn.js → index-DFjiwKs3.js} +7 -7
  88. package/chunk/{index-2QV6VPA3.js.map → index-DFjiwKs3.js.map} +1 -1
  89. package/chunk/index-DIkWpujR.js +4 -4
  90. package/chunk/index-DIkWpujR.js.map +1 -1
  91. package/chunk/{index-BDw8efPp.js → index-DJReh58z.js} +15 -15
  92. package/chunk/{index-BhkJfnda.js.map → index-DJReh58z.js.map} +1 -1
  93. package/chunk/{index-DWjrZunN.js → index-DPLvpl1z.js} +10 -10
  94. package/chunk/{index-4APDQFqJ.js.map → index-DPLvpl1z.js.map} +1 -1
  95. package/chunk/{index-DZsw9-0u.js → index-DR_Yi6nm.js} +237 -219
  96. package/chunk/index-DR_Yi6nm.js.map +1 -0
  97. package/chunk/{index-_ohn63ug.js → index-DZ0bnNgg.js} +31 -31
  98. package/chunk/{index-_ohn63ug.js.map → index-DZ0bnNgg.js.map} +1 -1
  99. package/chunk/{index-B3NA0DdP.js → index-D_lbJwrN.js} +87 -86
  100. package/chunk/index-D_lbJwrN.js.map +1 -0
  101. package/chunk/{index-MRhfTdmm.js → index-DyHhX3QL.js} +21 -21
  102. package/chunk/{index-MRhfTdmm.js.map → index-DyHhX3QL.js.map} +1 -1
  103. package/chunk/{index-CgSW4Vzh.js → index-F-HVkQz5.js} +44 -44
  104. package/{lib/index-Cn53lF5X.js.map → chunk/index-F-HVkQz5.js.map} +1 -1
  105. package/chunk/{index-D7dDB9pN.js → index-GaKINs6g.js} +23 -23
  106. package/chunk/{index-DIV55Je2.js.map → index-GaKINs6g.js.map} +1 -1
  107. package/{lib/index-S3ZpXPMJ.js → chunk/index-IntP52Fm.js} +22 -23
  108. package/chunk/{index-BGCnajPS.js.map → index-IntP52Fm.js.map} +1 -1
  109. package/chunk/{index-DIV55Je2.js → index-i9-QlgZ0.js} +23 -23
  110. package/chunk/{index-D7dDB9pN.js.map → index-i9-QlgZ0.js.map} +1 -1
  111. package/chunk/{index-tFgJS6bB.js → index-n6-LNqUp.js} +23 -23
  112. package/chunk/{index-tFgJS6bB.js.map → index-n6-LNqUp.js.map} +1 -1
  113. package/chunk/{index-2QV6VPA3.js → index-rjS-77t0.js} +7 -7
  114. package/chunk/{index-C9bZ7enn.js.map → index-rjS-77t0.js.map} +1 -1
  115. package/chunk/{index-BPEB_HHW.js → index-vIL1gjSk.js} +237 -219
  116. package/chunk/index-vIL1gjSk.js.map +1 -0
  117. package/chunk/{index-CgBENXRP.js → index-whConjrR.js} +23 -23
  118. package/{lib/index-BcE9NN84.js.map → chunk/index-whConjrR.js.map} +1 -1
  119. package/chunk/{index-DtoxnCtM.js → index-y-QcpyIc.js} +28 -28
  120. package/{lib/index-DQvdYpIH.js.map → chunk/index-y-QcpyIc.js.map} +1 -1
  121. package/chunk/{index-oMg5zy_2.js → index-ygMzyxW9.js} +53 -53
  122. package/chunk/{index-NjSUlAP4.js.map → index-ygMzyxW9.js.map} +1 -1
  123. package/chunk/is-CUuXi4qZ.js +4 -4
  124. package/chunk/it-BNmynTsg.js +4 -4
  125. package/chunk/iw-FGzquR_X.js +4 -4
  126. package/chunk/ja-YgUpXA0l.js +4 -4
  127. package/chunk/ko-CuNS5J_M.js +4 -4
  128. package/chunk/lo-BEf8aFjR.js +4 -4
  129. package/chunk/lt-DvX1gz1a.js +4 -4
  130. package/chunk/ms-gSqM-Mfi.js +4 -4
  131. package/chunk/nl-BE-Cid5LFlN.js +4 -4
  132. package/chunk/nl-CUUTswxa.js +4 -4
  133. package/chunk/no-BvUqlShV.js +4 -4
  134. package/chunk/pl-CU8leZhI.js +4 -4
  135. package/chunk/pt-BR-CboWpHFi.js +4 -4
  136. package/chunk/pt-BnK7xRT_.js +4 -4
  137. package/chunk/ro-BfAyXxSW.js +4 -4
  138. package/chunk/ru-BD-YGPuQ.js +4 -4
  139. package/chunk/sk-CqsabpdG.js +4 -4
  140. package/chunk/sl-CeVAf0S_.js +4 -4
  141. package/chunk/sr-DSaHxcCQ.js +4 -4
  142. package/chunk/sv-DOyWYViy.js +4 -4
  143. package/chunk/sw-2Q7Jo6wp.js +4 -4
  144. package/chunk/th-BZ6F9sPf.js +4 -4
  145. package/chunk/tr-om80xrv2.js +4 -4
  146. package/chunk/uk-Dxugux8e.js +4 -4
  147. package/chunk/ur-OBILUeZ7.js +4 -4
  148. package/chunk/{useCollectFieldsEndpoint-BsY8WlOg.js → useCollectFieldsEndpoint-CumMd2sJ.js} +11 -11
  149. package/chunk/{useCollectFieldsEndpoint-BsY8WlOg.js.map → useCollectFieldsEndpoint-CumMd2sJ.js.map} +1 -1
  150. package/chunk/{useCollectFieldsEndpoint-DeICm6Vb.js → useCollectFieldsEndpoint-V5bz5WAF.js} +11 -11
  151. package/chunk/{useCollectFieldsEndpoint-DeICm6Vb.js.map → useCollectFieldsEndpoint-V5bz5WAF.js.map} +1 -1
  152. package/chunk/{useEmailFirstExperiment-3uKuefem.js → useEmailFirstExperiment-CV5nAxtl.js} +30 -29
  153. package/chunk/{useEmailFirstExperiment-3uKuefem.js.map → useEmailFirstExperiment-CV5nAxtl.js.map} +1 -1
  154. package/chunk/{useEmailFirstExperiment-B1_E_D0z.js → useEmailFirstExperiment-mjdDc7vk.js} +30 -29
  155. package/chunk/{useEmailFirstExperiment-B1_E_D0z.js.map → useEmailFirstExperiment-mjdDc7vk.js.map} +1 -1
  156. package/chunk/vi-BOR2GuRI.js +4 -4
  157. package/chunk/zh-HK-BI-IHOGG.js +4 -4
  158. package/chunk/zh-eoMG5RFC.js +4 -4
  159. package/chunk/zu-D_A8wcJW.js +4 -4
  160. package/dev/programIds.d.ts +1 -1
  161. package/es6.css +4 -4
  162. package/jslib.js +25 -25
  163. package/lib/{EmailLoopPending-BWEJteWf.js → EmailLoopPending-DUy2k56y.js} +14 -14
  164. package/lib/{EmailLoopPending-BWEJteWf.js.map → EmailLoopPending-DUy2k56y.js.map} +1 -1
  165. package/lib/LicensedProfessionalOrganizationComponent-BPtxmkjH.js +52 -0
  166. package/lib/LicensedProfessionalOrganizationComponent-BPtxmkjH.js.map +1 -0
  167. package/lib/{Onfido-AyvUk6wg.js → Onfido-CMH3IUna.js} +28 -28
  168. package/lib/{Onfido-AyvUk6wg.js.map → Onfido-CMH3IUna.js.map} +1 -1
  169. package/lib/StepCollectMilitaryStatusComponent-u1rI8N4t.js +11 -0
  170. package/lib/{StepCollectMilitaryStatusComponent-B6FWsKVT.js.map → StepCollectMilitaryStatusComponent-u1rI8N4t.js.map} +1 -1
  171. package/lib/{StepIDCheckLoopOnfido-BoYu03qf.js → StepIDCheckLoopOnfido-DirszrOR.js} +19 -19
  172. package/lib/{StepIDCheckLoopOnfido-BoYu03qf.js.map → StepIDCheckLoopOnfido-DirszrOR.js.map} +1 -1
  173. package/lib/{StepIDCheckLoopRegula-CleO2AvI.js → StepIDCheckLoopRegula-DoIQP1h2.js} +5 -5
  174. package/lib/{StepIDCheckLoopRegula-CleO2AvI.js.map → StepIDCheckLoopRegula-DoIQP1h2.js.map} +1 -1
  175. package/lib/{StepInactiveMilitaryPersonalInfoComponent-CwHB55DG.js → StepInactiveMilitaryPersonalInfoComponent-uX6OkV0d.js} +52 -52
  176. package/lib/{StepInactiveMilitaryPersonalInfoComponent-CwHB55DG.js.map → StepInactiveMilitaryPersonalInfoComponent-uX6OkV0d.js.map} +1 -1
  177. package/lib/VerificationApiUtils-DXDQAg5m.js +21 -0
  178. package/lib/VerificationApiUtils-DXDQAg5m.js.map +1 -0
  179. package/lib/ar-CtJ_9k3U.js +4 -4
  180. package/lib/bg-CWxXfiDq.js +4 -4
  181. package/lib/bn-IN-Dpq_hCqt.js +4 -4
  182. package/lib/cs-HevyelX7.js +4 -4
  183. package/lib/da-6QXhWjWH.js +4 -4
  184. package/lib/de-ChuCvRLv.js +4 -4
  185. package/lib/el-3IAhABcN.js +4 -4
  186. package/lib/en-GB-ByNBaer-.js +4 -4
  187. package/lib/es-CL_dUc9X.js +4 -4
  188. package/lib/es-ES-CW4At4Ol.js +4 -4
  189. package/lib/es6-DS7nD0gX.js +26840 -0
  190. package/lib/es6-DS7nD0gX.js.map +1 -0
  191. package/lib/fi-D8cIebkk.js +4 -4
  192. package/lib/fr-BDU-1C6f.js +4 -4
  193. package/lib/fr-CA-Dc02rv8D.js +4 -4
  194. package/lib/ga-P7eP-INQ.js +4 -4
  195. package/lib/hi-IN-DlmwjoqH.js +4 -4
  196. package/lib/hr-CT_VP_lm.js +4 -4
  197. package/lib/hu-I8Z1uXsR.js +4 -4
  198. package/lib/id-CUPTGKOT.js +4 -4
  199. package/lib/{index-DpFFsGey.js → index--qLF6ZOW.js} +76 -75
  200. package/lib/index--qLF6ZOW.js.map +1 -0
  201. package/lib/index-0NkCv3Y-.js +11 -0
  202. package/lib/index-0NkCv3Y-.js.map +1 -0
  203. package/lib/{index-DQvdYpIH.js → index-9ka8yNRo.js} +23 -23
  204. package/{chunk/index-DtoxnCtM.js.map → lib/index-9ka8yNRo.js.map} +1 -1
  205. package/lib/{index-D0D7HAPn.js → index-AWpSRRq3.js} +60 -60
  206. package/lib/{index-D0D7HAPn.js.map → index-AWpSRRq3.js.map} +1 -1
  207. package/lib/index-B9dEWYQH.js +11 -0
  208. package/lib/index-B9dEWYQH.js.map +1 -0
  209. package/lib/{index-BcE9NN84.js → index-BAFdbWcI.js} +32 -32
  210. package/{chunk/index-CgBENXRP.js.map → lib/index-BAFdbWcI.js.map} +1 -1
  211. package/lib/index-BY6Xy81u.js +11 -0
  212. package/lib/index-BY6Xy81u.js.map +1 -0
  213. package/lib/{index-CRYZY6vI.js → index-C1JFiqbD.js} +24 -24
  214. package/lib/{index-CRYZY6vI.js.map → index-C1JFiqbD.js.map} +1 -1
  215. package/lib/index-C3Iqch6i.js +11 -0
  216. package/lib/index-C3Iqch6i.js.map +1 -0
  217. package/lib/{index-CBDyLXYG.js → index-CCflTrqh.js} +52 -52
  218. package/lib/{index-CBDyLXYG.js.map → index-CCflTrqh.js.map} +1 -1
  219. package/lib/{index-VNMhK7yn.js → index-CJfYYEay.js} +7 -7
  220. package/lib/{index-VNMhK7yn.js.map → index-CJfYYEay.js.map} +1 -1
  221. package/lib/{index-Cn53lF5X.js → index-CLj9YCrn.js} +27 -27
  222. package/{chunk/index-DPEoeYI6.js.map → lib/index-CLj9YCrn.js.map} +1 -1
  223. package/lib/{index-CBifWEeV.js → index-CY10ElCy.js} +402 -385
  224. package/lib/index-CY10ElCy.js.map +1 -0
  225. package/lib/{index-3SRQvj39.js → index-CgJWGuRF.js} +26 -26
  226. package/lib/{index-3SRQvj39.js.map → index-CgJWGuRF.js.map} +1 -1
  227. package/lib/{index-BxVqnD-7.js → index-CkW6g9oh.js} +23 -23
  228. package/lib/{index-BxVqnD-7.js.map → index-CkW6g9oh.js.map} +1 -1
  229. package/lib/{index-eOSlGhXP.js → index-CwqfypY1.js} +5 -5
  230. package/lib/{index-eOSlGhXP.js.map → index-CwqfypY1.js.map} +1 -1
  231. package/{chunk/index-BFMTiaJv.js → lib/index-CyiYceqn.js} +33 -32
  232. package/lib/{index-S3ZpXPMJ.js.map → index-CyiYceqn.js.map} +1 -1
  233. package/lib/{index-BHwYKmBe.js → index-D-0wY68l.js} +10 -10
  234. package/{chunk/index-DWjrZunN.js.map → lib/index-D-0wY68l.js.map} +1 -1
  235. package/lib/{index-BJBWT9wa.js → index-DEYBhR7F.js} +25 -25
  236. package/lib/{index-BJBWT9wa.js.map → index-DEYBhR7F.js.map} +1 -1
  237. package/lib/index-DIkWpujR.js +4 -4
  238. package/lib/index-DIkWpujR.js.map +1 -1
  239. package/lib/index-Da2aS2uY.js +28 -0
  240. package/lib/{index-B8_50Him.js.map → index-Da2aS2uY.js.map} +1 -1
  241. package/lib/{index-Sytmygw_.js → index-DcOpzG-K.js} +5 -5
  242. package/{chunk/index-D3dphMnl.js.map → lib/index-DcOpzG-K.js.map} +1 -1
  243. package/lib/{index-CTem-Vg8.js → index-VC3WFrsr.js} +9 -9
  244. package/lib/{index-CTem-Vg8.js.map → index-VC3WFrsr.js.map} +1 -1
  245. package/lib/{index-CrV2nMoq.js → index-uCUcf8WW.js} +5 -5
  246. package/lib/{index-CrV2nMoq.js.map → index-uCUcf8WW.js.map} +1 -1
  247. package/lib/is-CUuXi4qZ.js +4 -4
  248. package/lib/it-BNmynTsg.js +4 -4
  249. package/lib/iw-FGzquR_X.js +4 -4
  250. package/lib/ja-YgUpXA0l.js +4 -4
  251. package/lib/ko-CuNS5J_M.js +4 -4
  252. package/lib/lo-BEf8aFjR.js +4 -4
  253. package/lib/lt-DvX1gz1a.js +4 -4
  254. package/lib/ms-gSqM-Mfi.js +4 -4
  255. package/lib/nl-BE-Cid5LFlN.js +4 -4
  256. package/lib/nl-CUUTswxa.js +4 -4
  257. package/lib/no-BvUqlShV.js +4 -4
  258. package/lib/pl-CU8leZhI.js +4 -4
  259. package/lib/pt-BR-CboWpHFi.js +4 -4
  260. package/lib/pt-BnK7xRT_.js +4 -4
  261. package/lib/ro-BfAyXxSW.js +4 -4
  262. package/lib/ru-BD-YGPuQ.js +4 -4
  263. package/lib/sk-CqsabpdG.js +4 -4
  264. package/lib/sl-CeVAf0S_.js +4 -4
  265. package/lib/sr-DSaHxcCQ.js +4 -4
  266. package/lib/sv-DOyWYViy.js +4 -4
  267. package/lib/sw-2Q7Jo6wp.js +4 -4
  268. package/lib/th-BZ6F9sPf.js +4 -4
  269. package/lib/tr-om80xrv2.js +4 -4
  270. package/lib/uk-Dxugux8e.js +4 -4
  271. package/lib/ur-OBILUeZ7.js +4 -4
  272. package/lib/{useCollectFieldsEndpoint-CAKKawmD.js → useCollectFieldsEndpoint-DhvzoNQ8.js} +8 -8
  273. package/lib/{useCollectFieldsEndpoint-CAKKawmD.js.map → useCollectFieldsEndpoint-DhvzoNQ8.js.map} +1 -1
  274. package/lib/{useEmailFirstExperiment-vO9rcSms.js → useEmailFirstExperiment-r3ZPOBWV.js} +7 -6
  275. package/lib/{useEmailFirstExperiment-vO9rcSms.js.map → useEmailFirstExperiment-r3ZPOBWV.js.map} +1 -1
  276. package/lib/vi-BOR2GuRI.js +4 -4
  277. package/lib/zh-HK-BI-IHOGG.js +4 -4
  278. package/lib/zh-eoMG5RFC.js +4 -4
  279. package/lib/zu-D_A8wcJW.js +4 -4
  280. package/package.json +4 -4
  281. package/sheerid-install.css +4 -4
  282. package/sheerid-install.js +6 -6
  283. package/sheerid-install.js.map +1 -1
  284. package/sheerid.css +5 -5
  285. package/sheerid.js +16514 -18032
  286. package/sheerid.js.map +1 -1
  287. package/src/components/AcceptableUploadsComponent/AcceptableUploadsComponent.d.ts +1 -1
  288. package/src/components/AcceptableUploadsComponent/getLegacyAcceptableUploads.d.ts +1 -1
  289. package/src/components/Button/Button.d.ts +0 -1
  290. package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +1 -2
  291. package/src/components/CustomCssContext/CustomCssContextProvider.d.ts +1 -1
  292. package/src/components/DateComponent/DateComponent.d.ts +2 -2
  293. package/src/components/ExtraMessage.d.ts +1 -1
  294. package/src/components/FaqLink/FaqLinkComponent.d.ts +1 -1
  295. package/src/components/FeatureFlags/ExperimentComponent/ExperimentComponent.d.ts +4 -4
  296. package/src/components/FetchOrganizationsComponent.d.ts +1 -1
  297. package/src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.d.ts +1 -1
  298. package/src/components/FormFields/Address/AddressComponent.d.ts +2 -2
  299. package/src/components/FormFields/BirthDate/BirthDateComponent.d.ts +1 -1
  300. package/src/components/FormFields/BranchOfService/BranchOfServiceComponent.d.ts +2 -2
  301. package/src/components/FormFields/CVECNumber/CVECNumberComponent.d.ts +2 -2
  302. package/src/components/FormFields/ChangeLocale/ChangeLocaleComponent.d.ts +3 -3
  303. package/src/components/FormFields/City/City.d.ts +2 -2
  304. package/src/components/FormFields/CollegeName/CollegeNameComponent.d.ts +2 -2
  305. package/src/components/FormFields/Company/CompanyComponent.d.ts +2 -2
  306. package/src/components/FormFields/Country/CountryComponent.d.ts +2 -2
  307. package/src/components/FormFields/Country/CountryComponentWrapper.d.ts +2 -2
  308. package/src/components/FormFields/DischargeDate/DischargeDateComponent.d.ts +1 -1
  309. package/src/components/FormFields/DriverLicenseNumber/DriverLicenseNumberComponent.d.ts +2 -2
  310. package/src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.d.ts +2 -2
  311. package/src/components/FormFields/Email/EmailComponent.d.ts +2 -2
  312. package/src/components/FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent.d.ts +1 -1
  313. package/src/components/FormFields/EmailFirstCollectInfo/useEmailFirstExperiment.d.ts +1 -1
  314. package/src/components/FormFields/FirstName/FirstNameComponent.d.ts +2 -2
  315. package/src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.d.ts +2 -2
  316. package/src/components/FormFields/FormFieldCustom/FormFieldCustom.d.ts +2 -2
  317. package/src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.d.ts +1 -1
  318. package/src/components/FormFields/FormFieldRadio/FormFieldRadio.d.ts +2 -2
  319. package/src/components/FormFields/FormFieldSelect/FormFieldSelect.d.ts +2 -2
  320. package/src/components/FormFields/FormFieldText/FormFieldText.d.ts +1 -1
  321. package/src/components/FormFields/FormFieldTypeahead/FormFieldTypeahead.d.ts +2 -2
  322. package/src/components/FormFields/LastName/LastNameComponent.d.ts +2 -2
  323. package/src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.d.ts +2 -2
  324. package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.d.ts +2 -2
  325. package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.d.ts +1 -1
  326. package/src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.d.ts +2 -2
  327. package/src/components/FormFields/MemberId/MemberIdComponent.d.ts +2 -2
  328. package/src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.d.ts +2 -2
  329. package/src/components/FormFields/OptIn/OptInComponent.d.ts +1 -1
  330. package/src/components/FormFields/OverrideCode/OverrideCodeComponent.d.ts +2 -2
  331. package/src/components/FormFields/PhoneNumber/PhoneNumberComponent.d.ts +2 -2
  332. package/src/components/FormFields/PostalCode/PostalCodeComponent.d.ts +2 -2
  333. package/src/components/FormFields/SMSCode/SMSCodeComponent.d.ts +2 -2
  334. package/src/components/FormFields/SSN/SSN.d.ts +2 -2
  335. package/src/components/FormFields/State/State.d.ts +2 -2
  336. package/src/components/FormFields/State/StateSelectComponent.d.ts +2 -2
  337. package/src/components/FormFields/Status/StatusComponent.d.ts +2 -2
  338. package/src/components/FormFields/TeacherSchool/TeacherSchoolComponent.d.ts +2 -2
  339. package/src/components/FormFooter/FooterTextComponent.d.ts +1 -1
  340. package/src/components/FormFooter/FormFooterComponent.d.ts +1 -1
  341. package/src/components/FormHeader/FormHeaderComponent.d.ts +1 -1
  342. package/src/components/FormHeader/StepHeaders/PersonalInfoHeaderComponent.d.ts +1 -1
  343. package/src/components/FormInputs/InputRadio/InputRadio.d.ts +1 -1
  344. package/src/components/FormInputs/InputSelect/InputSelectComponent.d.ts +1 -1
  345. package/src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.d.ts +1 -1
  346. package/src/components/FormInputs/PostalCodeInput/PostalCodeInputComponent.d.ts +1 -1
  347. package/src/components/FormInputs/Select/SelectComponent.d.ts +1 -1
  348. package/src/components/FormInputs/Select/SelectList/SelectListComponent.d.ts +1 -1
  349. package/src/components/FormInputs/Typeahead/TypeaheadComponent.d.ts +1 -1
  350. package/src/components/FormInputs/Typeahead/TypeaheadComponentHelper.d.ts +1 -1
  351. package/src/components/HowDoesVerifyingWork/HowDoesVerifyingWorkComponent.d.ts +1 -1
  352. package/src/components/Layout/Layout.d.ts +1 -1
  353. package/src/components/LoadStepComponent.d.ts +1 -1
  354. package/src/components/LoadingScreen/LoadingScreenComponent.d.ts +1 -1
  355. package/src/components/LoadingScreen/LoadingScreenMessage.d.ts +1 -1
  356. package/src/components/LogoComponent/LogoComponent.d.ts +1 -1
  357. package/src/components/NewVerificationComponent.d.ts +3 -3
  358. package/src/components/NewVerificationInnerComponent.d.ts +1 -1
  359. package/src/components/OrganizationList/OrganizationListComponent.d.ts +1 -1
  360. package/src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.d.ts +2 -2
  361. package/src/components/PersonalInfoStepWrapper/PersonalInfoStepWrapper.d.ts +1 -2
  362. package/src/components/PoweredBy/PoweredByComponent.d.ts +1 -1
  363. package/src/components/PrivacyPolicyLink/PrivacyPolicyLinkComponent.d.ts +2 -2
  364. package/src/components/RewardsRemaining/RewardsRemainingComponent.d.ts +1 -1
  365. package/src/components/SingleSignOnComponent.d.ts +2 -2
  366. package/src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.d.ts +2 -2
  367. package/src/components/StepCollectIdentifier/StepCollectIdentifierComponent.d.ts +1 -1
  368. package/src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.d.ts +2 -2
  369. package/src/components/StepConsolation/StepConsolationComponent.d.ts +1 -1
  370. package/src/components/StepDocUpload/StepDocUploadComponent.d.ts +1 -1
  371. package/src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.d.ts +1 -1
  372. package/src/components/StepEmailLoop/EmailLoopPending.d.ts +1 -1
  373. package/src/components/StepEmailLoop/StepEmailLoopComponent.d.ts +2 -2
  374. package/src/components/StepEmploymentPersonalInfo/StepEmploymentPersonalInfoComponent.d.ts +1 -1
  375. package/src/components/StepError/StepErrorComponent.d.ts +2 -2
  376. package/src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.d.ts +1 -1
  377. package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.d.ts +1 -1
  378. package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.d.ts +1 -1
  379. package/src/components/StepIDCheckLoop/Onfido/IdCheckLoopOnfido/IdCheckLoopOnfido.d.ts +2 -2
  380. package/src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.d.ts +1 -1
  381. package/src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.d.ts +1 -1
  382. package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.d.ts +1 -1
  383. package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/IdCheckLoopRegula.d.ts +1 -1
  384. package/src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.d.ts +1 -1
  385. package/src/components/StepIDCheckLoop/StepIDCheckLoopComponent.d.ts +1 -1
  386. package/src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.d.ts +1 -1
  387. package/src/components/StepIdentityPersonalInfo/StepGeneralIdentityPersonalInfoComponent.d.ts +1 -1
  388. package/src/components/StepIdentityPersonalInfo/StepHybridIdentityPersonalInfoComponent.d.ts +1 -1
  389. package/src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.d.ts +1 -1
  390. package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.d.ts +1 -1
  391. package/src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.d.ts +1 -1
  392. package/src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.d.ts +1 -1
  393. package/src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.d.ts +1 -1
  394. package/src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.d.ts +1 -1
  395. package/src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.d.ts +1 -1
  396. package/src/components/StepOverrideComponent/StepOverrideComponent.d.ts +2 -2
  397. package/src/components/StepPending/ReviewPendingComponent.d.ts +1 -1
  398. package/src/components/StepPending/SingleSignOnPendingComponent.d.ts +2 -2
  399. package/src/components/StepPending/StepPendingComponent.d.ts +1 -1
  400. package/src/components/StepPending/ThirdPartyLoopPendingComponent.d.ts +1 -1
  401. package/src/components/StepSMSLoop/StepSMSLoopComponent.d.ts +2 -2
  402. package/src/components/StepSSO/StepSSOComponent.d.ts +1 -1
  403. package/src/components/StepSeniorPersonalInfo/StepSeniorPersonalInfoComponent.d.ts +1 -1
  404. package/src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.d.ts +1 -1
  405. package/src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.d.ts +1 -1
  406. package/src/components/StepSuccess/StepSuccessComponent.d.ts +1 -1
  407. package/src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.d.ts +1 -1
  408. package/src/components/StepThirdPartyLoop/StepThirdPartyLoopComponent.d.ts +3 -3
  409. package/src/components/TestModeFlag/TestModeFlagComponent.d.ts +1 -1
  410. package/src/components/UploadInfoComponent/UploadInfoComponent.d.ts +1 -1
  411. package/src/components/VerificationForm/VerificationFormComponent.d.ts +1 -1
  412. package/src/es5Bindings/VerificationFormEs5.d.ts +1 -1
  413. package/src/lib/ProgramTheme/programThemeGetters.d.ts +1 -1
  414. package/src/lib/ServerApi/ApiUrls.d.ts +1 -1
  415. package/src/lib/ServerApi/VerificationApiClient.d.ts +1 -1
  416. package/src/lib/ServerApi/VerificationHelpRequestApi.d.ts +1 -1
  417. package/src/lib/VerificationService/VerificationServiceActions.d.ts +1 -1
  418. package/src/lib/hooks/index.d.ts +1 -1
  419. package/src/lib/installScript/_mysheerid-preview.d.ts +2 -2
  420. package/src/lib/installScript/affinity.d.ts +1 -1
  421. package/src/lib/installScript/iframe.d.ts +1 -1
  422. package/src/lib/installScript/index.d.ts +3 -3
  423. package/src/lib/installScript/modal.d.ts +1 -1
  424. package/src/lib/state/contextHooks.d.ts +1 -1
  425. package/src/lib/types/runtimeTypes.d.ts +1 -1
  426. package/src/lib/types/types.d.ts +8 -7
  427. package/src/lib/utils/customTagReplacer/index.d.ts +1 -1
  428. package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +2 -2
  429. package/src/lib/utils/structures/FormSelectChoice.d.ts +1 -1
  430. package/types-reference.zip +0 -0
  431. package/chunk/LicensedProfessionalOrganizationComponent-D7gWh3Qx.js +0 -45
  432. package/chunk/LicensedProfessionalOrganizationComponent-D7gWh3Qx.js.map +0 -1
  433. package/chunk/LicensedProfessionalOrganizationComponent-LYrmpWss.js +0 -49
  434. package/chunk/LicensedProfessionalOrganizationComponent-LYrmpWss.js.map +0 -1
  435. package/chunk/StepIDCheckLoopRegula-B7RS9_LL.js.map +0 -1
  436. package/chunk/StepIDCheckLoopRegula-CeadrU2e.js.map +0 -1
  437. package/chunk/index-B2aeWDCT.js +0 -48
  438. package/chunk/index-B2aeWDCT.js.map +0 -1
  439. package/chunk/index-B3NA0DdP.js.map +0 -1
  440. package/chunk/index-BPEB_HHW.js.map +0 -1
  441. package/chunk/index-BqmbVto7.js +0 -52
  442. package/chunk/index-BqmbVto7.js.map +0 -1
  443. package/chunk/index-DZsw9-0u.js.map +0 -1
  444. package/chunk/index-XXxK9rgV.js.map +0 -1
  445. package/lib/LicensedProfessionalOrganizationComponent-8Fz7VzpC.js +0 -46
  446. package/lib/LicensedProfessionalOrganizationComponent-8Fz7VzpC.js.map +0 -1
  447. package/lib/StepCollectMilitaryStatusComponent-B6FWsKVT.js +0 -11
  448. package/lib/VerificationApiUtils-xT8neNEB.js +0 -24
  449. package/lib/VerificationApiUtils-xT8neNEB.js.map +0 -1
  450. package/lib/es6-B4C99nr_.js +0 -27974
  451. package/lib/es6-B4C99nr_.js.map +0 -1
  452. package/lib/index-B8_50Him.js +0 -28
  453. package/lib/index-CBifWEeV.js.map +0 -1
  454. package/lib/index-CTWjUdXx.js +0 -11
  455. package/lib/index-CTWjUdXx.js.map +0 -1
  456. package/lib/index-CiuvIMbL.js +0 -11
  457. package/lib/index-CiuvIMbL.js.map +0 -1
  458. package/lib/index-DZB3KVgZ.js +0 -11
  459. package/lib/index-DZB3KVgZ.js.map +0 -1
  460. package/lib/index-DpFFsGey.js.map +0 -1
  461. package/lib/index-XBfOIml7.js +0 -11
  462. package/lib/index-XBfOIml7.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.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 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","_a","collectFieldsResponse","getFieldsToCollect","_c","_b","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","_d","newValue","LastName","_e","BirthDate","_f","ActiveDutyStartDateComponent","_g","DischargeDate","_h","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","AddressComponent","_k","_l","CityComponent","_m","_n","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","_o","_p","PostalCodeComponent","_q","_r","config","FormFieldCustom","MarketConsentWrapper","_s","ExtraMessage","PersonalInfoStepSubmitButton","StepInactiveMilitaryPersonalInfoComponent","injectIntl"],"mappings":";AAkEO,MAAMA,KAAmC,CAAC;AAAA,EAC/C,MAAAC;AAAA,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A,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ,GAEa2B,KAA4CC;AAAA,EACvD1F;AACF;"}
1
+ {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.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 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","_a","collectFieldsResponse","getFieldsToCollect","_c","_b","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","_d","newValue","LastName","_e","BirthDate","_f","ActiveDutyStartDateComponent","_g","DischargeDate","_h","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","AddressComponent","_k","_l","CityComponent","_m","_n","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","_o","_p","PostalCodeComponent","_q","_r","config","FormFieldCustom","MarketConsentWrapper","_s","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,EAA0B,IAAAH,GAC5BI,IACJJ,EAAoB,sBAChBK,IAAqBC,EAAsBF,CAAoB,GAC/D,CAACG,GAAgBC,CAAiB,IAAIC,EAAM,SAAS,CAAA,CAAE,GACvDC,IAAoBC,EAA6BX,GAAqBD,CAAI,GAC1Ea,IAASX,EAAU,aAAa,OAChCY,IAAUC,MAEVC,IAAkC,CACtCC,GACAC,MACG;AACiB,IAAAjB,EAAA;AAAA,MAClBkB,GAAwBF,GAAKC,GAAOjB,GAAqBU,CAAiB;AAAA,IAAA;AAAA,EAC5E,GAGIS,IAAa,MAAM;AACjB,UAAAC,IAAYC,GAAQpB,GAAW,MAAM;AAAA,IAAA,CAAE;AAC7C,IAAAqB,EAAO,KAAK,6CAA6C,GACrCtB,EAAA;AAAA,MAClBuB,EAAsB;AAAA,MACtBH;AAAA,MACApB,EAAoB,gCAAgCA,EAAoB;AAAA,IAAA;AAAA,EAC1E;AAGF,UACGC,EAAU,UAAUC,KAAqBA,EAAkB,WAAWD,EAAU,UAChFA,EAAU,UACTD,EAAoB,qBAAqB,gBACvCuB,EAAsB,0BAEfJ,KAGbV,EAAM,UAAU,MAAM;AACpB,KAAC,YAAY;;AAET,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D,gBAAAA,EAAAA,IAAAmD,IAAA,EAAa,qBAAArF,GAA0C,QAAO,qBAAqB,CAAA;AAAA,UAEpFkC,gBAAAA,EAAA;AAAA,YAACoD;AAAA,YAAA;AAAA,cACC,MAAM/D,EAAsB;AAAA,cAC5B,qBAAAvB;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAI;AAAA,cACA,YACE6B,gBAAAA,EAAA;AAAA,gBAAC0B;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cACjB;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEa2B,KAA4CC;AAAA,EACvD1F;AACF;"}
@@ -1,80 +1,80 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.103.0-alpha.1
4
- * BUILD_TIMESTAMP: 1746113249549
5
- * BUILD_DATE: Thu May 01 2025 15:27:29 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: d965970f2cd2a5e2e0ec472faaa3d106de7ca01e
3
+ * VERSION: 2.104.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746122030388
5
+ * BUILD_DATE: Thu May 01 2025 17:53:50 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 11de903d86267c3dbd7e05948a323fa12b63d0ec
7
7
  */
8
- import { i as Q, h as $, R as h, ax as J, V as i, b as X, l as W, ay as Y, j as t, s as Z, P as _, t as S, v, Q as aa, x as o, a2 as sa, ab as ea, u as d, az as ta, aA as oa, U as la, w as da, y as na, W as ra, aB as ia, aC as ua, E as ma, d as pa, a as g, D as Ca, z as ba, a0 as ya, a5 as ha, a6 as ga, B as Ma, G as xa, M as Ia, H as Da, e as ja, k as ca, aD as Ea } from "../sheerid.js";
8
+ import { h as $, R as y, aA as J, V as i, d as Y, l as H, j as t, x as _, P as Q, y as X, Y as Z, a as o, a8 as S, ag as v, u as d, aB as aa, _ as sa, z as ea, B as ta, $ as oa, aC as la, aD as da, E as na, b as g, f as ra, H as ia, D as ua, a6 as ma, ab as pa, ac as Ca, G as ba, J as ha, M as ya, K as ga, k as Ma, i as xa, N as Ia, aE as Da, n as ja, aF as ca, aG as Ea } from "../sheerid.js";
9
9
  const Na = ({
10
10
  intl: p,
11
11
  verificationService: s
12
12
  }) => {
13
- var I, D, j, c, E, N, f, F, R, P, T, V, q, B, O, z, k, w, A;
14
- const e = s.viewModel, M = s.previousViewModel, { fieldValidationErrors: l } = s, C = s.verificationResponse, H = $(C), [m, x] = h.useState([]), b = J(s, p), y = e.localeChoice.value, U = S(), n = (a, r) => {
13
+ var I, D, j, c, E, N, f, F, R, P, T, V, q, B, O, k, z, A, L;
14
+ const e = s.viewModel, M = s.previousViewModel, { fieldValidationErrors: l } = s, C = s.verificationResponse, K = $(C), [m, x] = y.useState([]), b = J(s, p), h = e.localeChoice.value, W = Ia(), n = (a, r) => {
15
15
  s.updateViewModel(
16
- Ea(a, r, s, b)
16
+ Da(a, r, s, b)
17
17
  );
18
- }, K = () => {
19
- const a = ca(e, () => {
18
+ }, G = () => {
19
+ const a = ja(e, () => {
20
20
  });
21
- W.info("StepMilitaryStatusComponent submitting form"), s.submitStep(
21
+ H.info("StepMilitaryStatusComponent submitting form"), s.submitStep(
22
22
  i.collectMilitaryStatus,
23
23
  a,
24
24
  s.previousVerificationResponse || s.verificationResponse
25
25
  );
26
26
  };
27
- return (e.status && M && M.status !== e.status || e.status && s.verificationResponse.currentStep === i.collectMilitaryStatus) && K(), h.useEffect(() => {
27
+ return (e.status && M && M.status !== e.status || e.status && s.verificationResponse.currentStep === i.collectMilitaryStatus) && G(), y.useEffect(() => {
28
28
  (async () => {
29
- var a, r, L;
29
+ var a, r, w;
30
30
  if (s.verificationResponse.currentStep === i.collectInactiveMilitaryPersonalInfo && ((a = e.countryChoice) == null ? void 0 : a.value) === "US")
31
31
  try {
32
- const u = await X(
32
+ const u = await Y(
33
33
  C.verificationId,
34
34
  i.collectInactiveMilitaryPersonalInfo,
35
35
  e
36
36
  );
37
- x((L = (r = u == null ? void 0 : u.fieldsToCollect) == null ? void 0 : r.optional) == null ? void 0 : L.map((G) => G.key));
37
+ x((w = (r = u == null ? void 0 : u.fieldsToCollect) == null ? void 0 : r.optional) == null ? void 0 : w.map((U) => U.key));
38
38
  } catch (u) {
39
- W.error(
39
+ H.error(
40
40
  `Failed to determine fields to collect: ${u}`,
41
41
  i.collectInactiveMilitaryPersonalInfo
42
42
  );
43
43
  }
44
44
  })();
45
- }, [s.verificationResponse.currentStep, e.countryChoice]), h.useEffect(() => {
45
+ }, [s.verificationResponse.currentStep, e.countryChoice]), y.useEffect(() => {
46
46
  var a;
47
47
  ((a = e.countryChoice) == null ? void 0 : a.value) !== "US" && x([]);
48
- }, [e.countryChoice]), Y(), /* @__PURE__ */ t.jsxs(
49
- Z,
48
+ }, [e.countryChoice]), ca(), /* @__PURE__ */ t.jsxs(
49
+ _,
50
50
  {
51
51
  verificationService: s,
52
52
  step: C.currentStep,
53
53
  className: "sid-military-personal-info-container",
54
54
  children: [
55
55
  /* @__PURE__ */ t.jsx(
56
- _,
56
+ Q,
57
57
  {
58
58
  verificationService: s,
59
59
  classNameIdentifier: "inactive-military-personal-info"
60
60
  }
61
61
  ),
62
62
  /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
63
- /* @__PURE__ */ t.jsx(v, { verificationService: s }),
63
+ /* @__PURE__ */ t.jsx(X, { verificationService: s }),
64
64
  /* @__PURE__ */ t.jsx(
65
- aa,
65
+ Z,
66
66
  {
67
67
  verificationService: s,
68
68
  disabled: (I = o("country")) == null ? void 0 : I.disabled
69
69
  }
70
70
  ),
71
71
  b ? /* @__PURE__ */ t.jsx(
72
- sa,
72
+ S,
73
73
  {
74
74
  segmentId: "military",
75
75
  value: {
76
76
  value: e.status,
77
- label: ea(p, e.status, ta)
77
+ label: v(p, e.status, Ea)
78
78
  },
79
79
  isErrored: !!l.status,
80
80
  errorId: "invalidMilitaryStatus",
@@ -90,11 +90,11 @@ const Na = ({
90
90
  }
91
91
  ) : null,
92
92
  /* @__PURE__ */ t.jsx(
93
- oa,
93
+ aa,
94
94
  {
95
95
  isErrored: !!l.organization,
96
96
  onChange: (a) => {
97
- la(a, s), d("organization", a, s);
97
+ sa(a, s), d("organization", a, s);
98
98
  },
99
99
  value: {
100
100
  value: s.viewModel.organization.id,
@@ -106,7 +106,7 @@ const Na = ({
106
106
  ),
107
107
  /* @__PURE__ */ t.jsxs("div", { className: "sid-names", children: [
108
108
  /* @__PURE__ */ t.jsx(
109
- da,
109
+ ea,
110
110
  {
111
111
  value: e.firstName,
112
112
  isErrored: !!l.firstName,
@@ -117,7 +117,7 @@ const Na = ({
117
117
  }
118
118
  ),
119
119
  /* @__PURE__ */ t.jsx(
120
- na,
120
+ ta,
121
121
  {
122
122
  value: e.lastName,
123
123
  isErrored: !!l.lastName,
@@ -129,10 +129,10 @@ const Na = ({
129
129
  )
130
130
  ] }),
131
131
  /* @__PURE__ */ t.jsx(
132
- ra,
132
+ oa,
133
133
  {
134
134
  errorId: l.birthDate,
135
- locale: y,
135
+ locale: h,
136
136
  onChange: (a) => {
137
137
  n("birthDate", a), d("birthDate", a, s);
138
138
  },
@@ -141,10 +141,10 @@ const Na = ({
141
141
  }
142
142
  ),
143
143
  s.programTheme.strictMilitaryValidationEnabled && /* @__PURE__ */ t.jsx(
144
- ia,
144
+ la,
145
145
  {
146
146
  errorId: l.activeDutyStartDate,
147
- locale: y,
147
+ locale: h,
148
148
  onChange: (a) => {
149
149
  n("activeDutyStartDate", a), d(
150
150
  "activeDutyStartDate",
@@ -157,19 +157,19 @@ const Na = ({
157
157
  }
158
158
  ),
159
159
  /* @__PURE__ */ t.jsx(
160
- ua,
160
+ da,
161
161
  {
162
162
  errorId: l.dischargeDate,
163
163
  onChange: (a) => {
164
164
  n("dischargeDate", a), d("dischargeDate", a, s);
165
165
  },
166
166
  value: e.dischargeDate,
167
- locale: y,
167
+ locale: h,
168
168
  disabled: (F = o("dischargeDate")) == null ? void 0 : F.disabled
169
169
  }
170
170
  ),
171
171
  /* @__PURE__ */ t.jsx(
172
- ma,
172
+ na,
173
173
  {
174
174
  value: e.email,
175
175
  isErrored: !!l.email,
@@ -183,12 +183,12 @@ const Na = ({
183
183
  onChange: (a) => {
184
184
  n("email", a), d("email", a, s);
185
185
  },
186
- onKeyDown: (a) => pa(a),
186
+ onKeyDown: (a) => ra(a),
187
187
  disabled: (R = o("email")) == null ? void 0 : R.disabled
188
188
  }
189
189
  ),
190
190
  s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled ? /* @__PURE__ */ t.jsx(
191
- Ca,
191
+ ia,
192
192
  {
193
193
  isRequired: !!s.programTheme.smsLoopEnabled,
194
194
  value: e.phoneNumber,
@@ -201,7 +201,7 @@ const Na = ({
201
201
  }
202
202
  ) : null,
203
203
  m.includes("address1") && /* @__PURE__ */ t.jsx(
204
- ba,
204
+ ua,
205
205
  {
206
206
  value: e.address1,
207
207
  isErrored: !!l.address1,
@@ -214,7 +214,7 @@ const Na = ({
214
214
  }
215
215
  ),
216
216
  m.includes("city") && /* @__PURE__ */ t.jsx(
217
- ya,
217
+ ma,
218
218
  {
219
219
  value: e.city,
220
220
  isErrored: !!l.city,
@@ -227,9 +227,9 @@ const Na = ({
227
227
  }
228
228
  ),
229
229
  m.includes("state") && /* @__PURE__ */ t.jsx(
230
- ha,
230
+ pa,
231
231
  {
232
- options: ga(s.programTheme, p),
232
+ options: Ca(s.programTheme, p),
233
233
  value: e.state || void 0,
234
234
  isErrored: !!l.state,
235
235
  onChange: async (a) => {
@@ -238,24 +238,24 @@ const Na = ({
238
238
  },
239
239
  label: /* @__PURE__ */ t.jsx(g, { id: "state", defaultMessage: "State" }),
240
240
  disabled: (O = o("state")) == null ? void 0 : O.disabled,
241
- isRequired: (z = o("state")) == null ? void 0 : z.requireIfOptional
241
+ isRequired: (k = o("state")) == null ? void 0 : k.requireIfOptional
242
242
  }
243
243
  ),
244
244
  m.includes("postalCode") && /* @__PURE__ */ t.jsx(
245
- Ma,
245
+ ba,
246
246
  {
247
- required: (k = o("postalCode")) == null ? void 0 : k.requireIfOptional,
247
+ required: (z = o("postalCode")) == null ? void 0 : z.requireIfOptional,
248
248
  isErrored: !!l.postalCode,
249
249
  onChange: (a) => {
250
250
  n("postalCode", a), d("postalCode", a, s);
251
251
  },
252
252
  value: e.postalCode,
253
- disabled: (w = o("postalCode")) == null ? void 0 : w.disabled
253
+ disabled: (A = o("postalCode")) == null ? void 0 : A.disabled
254
254
  }
255
255
  ),
256
- U.customFormFields.map((a) => /* @__PURE__ */ t.jsx(xa, { config: a, verificationService: s })),
256
+ W.customFormFields.map((a) => /* @__PURE__ */ t.jsx(ha, { config: a, verificationService: s })),
257
257
  /* @__PURE__ */ t.jsx(
258
- Ia,
258
+ ya,
259
259
  {
260
260
  verificationService: s,
261
261
  isErrored: !!l.marketConsentValue,
@@ -270,17 +270,17 @@ const Na = ({
270
270
  );
271
271
  },
272
272
  viewModel: e,
273
- disabled: (A = o("marketConsentValue")) == null ? void 0 : A.disabled
273
+ disabled: (L = o("marketConsentValue")) == null ? void 0 : L.disabled
274
274
  }
275
275
  ),
276
- /* @__PURE__ */ t.jsx(Da, { verificationService: s, suffix: "CollectAboveSubmit" }),
276
+ /* @__PURE__ */ t.jsx(ga, { verificationService: s, suffix: "CollectAboveSubmit" }),
277
277
  /* @__PURE__ */ t.jsx(
278
- ja,
278
+ Ma,
279
279
  {
280
280
  step: i.collectInactiveMilitaryPersonalInfo,
281
281
  verificationService: s,
282
282
  viewModel: e,
283
- failedInstantMatch: H,
283
+ failedInstantMatch: K,
284
284
  buttonText: /* @__PURE__ */ t.jsx(
285
285
  g,
286
286
  {
@@ -294,7 +294,7 @@ const Na = ({
294
294
  ]
295
295
  }
296
296
  );
297
- }, Fa = Q(
297
+ }, Fa = xa(
298
298
  Na
299
299
  );
300
300
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.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 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","_a","collectFieldsResponse","getFieldsToCollect","_c","_b","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","_d","newValue","LastName","_e","BirthDate","_f","ActiveDutyStartDateComponent","_g","DischargeDate","_h","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","AddressComponent","_k","_l","CityComponent","_m","_n","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","_o","_p","PostalCodeComponent","_q","_r","config","FormFieldCustom","MarketConsentWrapper","_s","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,GAC1Ea,IAASX,EAAU,aAAa,OAChCY,IAAUC,EAAW,GAErBC,IAAkC,CACtCC,GACAC,MACG;AACiB,IAAAjB,EAAA;AAAA,MAClBkB,GAAwBF,GAAKC,GAAOjB,GAAqBU,CAAiB;AAAA,IAC5E;AAAA,EACF,GAEMS,IAAa,MAAM;AACjB,UAAAC,IAAYC,GAAQpB,GAAW,MAAM;AAAA,IAAA,CAAE;AAC7C,IAAAqB,EAAO,KAAK,6CAA6C,GACrCtB,EAAA;AAAA,MAClBuB,EAAsB;AAAA,MACtBH;AAAA,MACApB,EAAoB,gCAAgCA,EAAoB;AAAA,IAC1E;AAAA,EACF;AAEA,UACGC,EAAU,UAAUC,KAAqBA,EAAkB,WAAWD,EAAU,UAChFA,EAAU,UACTD,EAAoB,qBAAqB,gBACvCuB,EAAsB,0BAEfJ,EAAA,GAGbV,EAAM,UAAU,MAAM;AACpB,KAAC,YAAY;;AAET,UAAAT,EAAoB,qBAAqB,gBACvCuB,EAAsB,yCACxBC,IAAAvB,EAAU,kBAAV,gBAAAuB,EAAyB,WAAU;AAE/B,YAAA;AACF,gBAAM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,YAACoD;AAAA,YAAA;AAAA,cACC,MAAM/D,EAAsB;AAAA,cAC5B,qBAAAvB;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAI;AAAA,cACA,YACE6B,gBAAAA,EAAA;AAAA,gBAAC0B;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ,GAEa2B,KAA4CC;AAAA,EACvD1F;AACF;"}
1
+ {"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.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 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","_a","collectFieldsResponse","getFieldsToCollect","_c","_b","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","_d","newValue","LastName","_e","BirthDate","_f","ActiveDutyStartDateComponent","_g","DischargeDate","_h","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","AddressComponent","_k","_l","CityComponent","_m","_n","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","_o","_p","PostalCodeComponent","_q","_r","config","FormFieldCustom","MarketConsentWrapper","_s","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,EAA0B,IAAAH,GAC5BI,IACJJ,EAAoB,sBAChBK,IAAqBC,EAAsBF,CAAoB,GAC/D,CAACG,GAAgBC,CAAiB,IAAIC,EAAM,SAAS,CAAA,CAAE,GACvDC,IAAoBC,EAA6BX,GAAqBD,CAAI,GAC1Ea,IAASX,EAAU,aAAa,OAChCY,IAAUC,MAEVC,IAAkC,CACtCC,GACAC,MACG;AACiB,IAAAjB,EAAA;AAAA,MAClBkB,GAAwBF,GAAKC,GAAOjB,GAAqBU,CAAiB;AAAA,IAAA;AAAA,EAC5E,GAGIS,IAAa,MAAM;AACjB,UAAAC,IAAYC,GAAQpB,GAAW,MAAM;AAAA,IAAA,CAAE;AAC7C,IAAAqB,EAAO,KAA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,EAAgC,YAAY;AAAA,kBAC1C,GAAGf,EAAoB,UAAU;AAAA,kBACjC,oBAAoBkD;AAAA,gBAAA,CACrB,GACDN;AAAA,kBACE;AAAA,kBACAM;AAAA,kBACAlD;AAAA,gBAAA;AAAA,cAEJ;AAAA,cACA,WAAAC;AAAA,cACA,WAAUmF,IAAA7C,EAAwB,oBAAoB,MAA5C,gBAAA6C,EAA+C;AAAA,YAAA;AAAA,UAC3D;AAAA,UAEClD,gBAAAA,EAAAA,IAAAmD,IAAA,EAAa,qBAAArF,GAA0C,QAAO,qBAAqB,CAAA;AAAA,UAEpFkC,gBAAAA,EAAA;AAAA,YAACoD;AAAA,YAAA;AAAA,cACC,MAAM/D,EAAsB;AAAA,cAC5B,qBAAAvB;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAI;AAAA,cACA,YACE6B,gBAAAA,EAAA;AAAA,gBAAC0B;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cACjB;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEa2B,KAA4CC;AAAA,EACvD1F;AACF;"}
@@ -4,10 +4,10 @@
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.103.0-alpha.1
8
- * BUILD_TIMESTAMP: 1746113289616
9
- * BUILD_DATE: Thu May 01 2025 15:28:09 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d965970f2cd2a5e2e0ec472faaa3d106de7ca01e
7
+ * VERSION: 2.104.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1746122131368
9
+ * BUILD_DATE: Thu May 01 2025 17:55:31 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 11de903d86267c3dbd7e05948a323fa12b63d0ec
11
11
  */
12
12
  const e = {
13
13
  "defaultMessages.ACTIVE_DUTY": "الخدمة الفعلية",
@@ -4,10 +4,10 @@
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.103.0-alpha.1
8
- * BUILD_TIMESTAMP: 1746113289616
9
- * BUILD_DATE: Thu May 01 2025 15:28:09 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d965970f2cd2a5e2e0ec472faaa3d106de7ca01e
7
+ * VERSION: 2.104.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1746122131368
9
+ * BUILD_DATE: Thu May 01 2025 17:55:31 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 11de903d86267c3dbd7e05948a323fa12b63d0ec
11
11
  */
12
12
  const e = {
13
13
  "defaultMessages.ACTIVE_DUTY": "Активна служба",
@@ -4,10 +4,10 @@
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.103.0-alpha.1
8
- * BUILD_TIMESTAMP: 1746113289616
9
- * BUILD_DATE: Thu May 01 2025 15:28:09 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d965970f2cd2a5e2e0ec472faaa3d106de7ca01e
7
+ * VERSION: 2.104.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1746122131368
9
+ * BUILD_DATE: Thu May 01 2025 17:55:31 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 11de903d86267c3dbd7e05948a323fa12b63d0ec
11
11
  */
12
12
  const e = {
13
13
  "defaultMessages.ACTIVE_DUTY": "সক্রিয় দায়িত্ব",
@@ -4,10 +4,10 @@
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.103.0-alpha.1
8
- * BUILD_TIMESTAMP: 1746113289616
9
- * BUILD_DATE: Thu May 01 2025 15:28:09 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d965970f2cd2a5e2e0ec472faaa3d106de7ca01e
7
+ * VERSION: 2.104.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1746122131368
9
+ * BUILD_DATE: Thu May 01 2025 17:55:31 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 11de903d86267c3dbd7e05948a323fa12b63d0ec
11
11
  */
12
12
  const e = {
13
13
  "defaultMessages.ACTIVE_DUTY": "Aktivní služba",