@sheerid/jslib-nightly 2.104.0-alpha.1 → 2.104.0-alpha.2

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 (457) hide show
  1. package/__tests__/__helpers__/renderers.d.ts +5 -5
  2. package/_mysheerid-preview.css +4 -4
  3. package/_mysheerid-preview.js +16301 -17897
  4. package/_mysheerid-preview.js.map +1 -1
  5. package/chunk/{EmailLoopPending-Cp3dQjbH.js → EmailLoopPending-CKTAwQQA.js} +17 -17
  6. package/chunk/{EmailLoopPending-Cp3dQjbH.js.map → EmailLoopPending-CKTAwQQA.js.map} +1 -1
  7. package/chunk/{EmailLoopPending-WTPkkJsm.js → EmailLoopPending-Dzs07hxx.js} +17 -17
  8. package/chunk/{EmailLoopPending-WTPkkJsm.js.map → EmailLoopPending-Dzs07hxx.js.map} +1 -1
  9. package/chunk/{LicensedProfessionalOrganizationComponent-D7gWh3Qx.js → LicensedProfessionalOrganizationComponent-BNNNPaDn.js} +5 -5
  10. package/chunk/{LicensedProfessionalOrganizationComponent-D7gWh3Qx.js.map → LicensedProfessionalOrganizationComponent-BNNNPaDn.js.map} +1 -1
  11. package/chunk/{LicensedProfessionalOrganizationComponent-LYrmpWss.js → LicensedProfessionalOrganizationComponent-trZr_eIW.js} +5 -5
  12. package/chunk/{LicensedProfessionalOrganizationComponent-LYrmpWss.js.map → LicensedProfessionalOrganizationComponent-trZr_eIW.js.map} +1 -1
  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-CQTiZz60.js → StepIDCheckLoopOnfido-C9iUX8TC.js} +11 -12
  16. package/chunk/{StepIDCheckLoopOnfido-CQTiZz60.js.map → StepIDCheckLoopOnfido-C9iUX8TC.js.map} +1 -1
  17. package/chunk/{StepIDCheckLoopOnfido-CsO8JOUT.js → StepIDCheckLoopOnfido-lChJAp_W.js} +11 -12
  18. package/chunk/{StepIDCheckLoopOnfido-CsO8JOUT.js.map → StepIDCheckLoopOnfido-lChJAp_W.js.map} +1 -1
  19. package/chunk/{StepIDCheckLoopRegula-VCHUckkA.js → StepIDCheckLoopRegula-BB8xA4nn.js} +85 -59
  20. package/chunk/StepIDCheckLoopRegula-BB8xA4nn.js.map +1 -0
  21. package/chunk/{StepIDCheckLoopRegula-B2frgNDw.js → StepIDCheckLoopRegula-D8XhToQz.js} +85 -59
  22. package/chunk/StepIDCheckLoopRegula-D8XhToQz.js.map +1 -0
  23. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js → StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js} +48 -48
  24. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js.map → StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js.map} +1 -1
  25. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js → StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.js} +48 -48
  26. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js.map → StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.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-CgBENXRP.js → index-B1579hxf.js} +28 -28
  46. package/chunk/{index-tFgJS6bB.js.map → index-B1579hxf.js.map} +1 -1
  47. package/chunk/{index-DB9SisGK.js → index-B4B6qxaM.js} +15 -15
  48. package/chunk/{index-DB9SisGK.js.map → index-B4B6qxaM.js.map} +1 -1
  49. package/chunk/{index-BGCnajPS.js → index-B5okgMmp.js} +30 -30
  50. package/chunk/{index-BFMTiaJv.js.map → index-B5okgMmp.js.map} +1 -1
  51. package/chunk/{index-DPEoeYI6.js → index-B8tKf2Rd.js} +38 -38
  52. package/chunk/{index-CgSW4Vzh.js.map → index-B8tKf2Rd.js.map} +1 -1
  53. package/chunk/{index-XXxK9rgV.js → index-B92Kfyw6.js} +46 -46
  54. package/chunk/{index-XXxK9rgV.js.map → index-B92Kfyw6.js.map} +1 -1
  55. package/chunk/{index-CtqWr1aK.js → index-BDsZCFuU.js} +58 -58
  56. package/chunk/{index-CtqWr1aK.js.map → index-BDsZCFuU.js.map} +1 -1
  57. package/chunk/{index-aKTpkBwz.js → index-BGGHZBWq.js} +56 -48
  58. package/chunk/{index-aKTpkBwz.js.map → index-BGGHZBWq.js.map} +1 -1
  59. package/chunk/{index-B3NA0DdP.js → index-BW4s6-PH.js} +46 -46
  60. package/chunk/{index-B3NA0DdP.js.map → index-BW4s6-PH.js.map} +1 -1
  61. package/chunk/{index-MRhfTdmm.js → index-BYMr8It7.js} +15 -15
  62. package/chunk/{index-MRhfTdmm.js.map → index-BYMr8It7.js.map} +1 -1
  63. package/chunk/{index-RmF57u5_.js → index-Bb9hNLHu.js} +45 -45
  64. package/chunk/{index-C0jDbJPp.js.map → index-Bb9hNLHu.js.map} +1 -1
  65. package/chunk/{index-CgSW4Vzh.js → index-BjaCS2a8.js} +38 -38
  66. package/{lib/index-DIJ3ZLm3.js.map → chunk/index-BjaCS2a8.js.map} +1 -1
  67. package/chunk/{index-BDw8efPp.js → index-Bld-AWYE.js} +11 -11
  68. package/chunk/{index-BhkJfnda.js.map → index-Bld-AWYE.js.map} +1 -1
  69. package/chunk/{index-C9bZ7enn.js → index-BnPrfsM1.js} +7 -7
  70. package/chunk/{index-2QV6VPA3.js.map → index-BnPrfsM1.js.map} +1 -1
  71. package/chunk/index-BupTUiiS.js +27 -0
  72. package/chunk/index-BupTUiiS.js.map +1 -0
  73. package/chunk/{index-BPEB_HHW.js → index-BvGP9l7M.js} +237 -219
  74. package/chunk/index-BvGP9l7M.js.map +1 -0
  75. package/chunk/{index-BtYzUCrC.js → index-CCUi9Uhw.js} +11 -11
  76. package/chunk/{index-qAxcloBs.js.map → index-CCUi9Uhw.js.map} +1 -1
  77. package/chunk/{index-DZsw9-0u.js → index-CEi_QkyI.js} +237 -219
  78. package/chunk/index-CEi_QkyI.js.map +1 -0
  79. package/chunk/{index-BhkJfnda.js → index-CZjGTko2.js} +11 -11
  80. package/chunk/{index-BDw8efPp.js.map → index-CZjGTko2.js.map} +1 -1
  81. package/chunk/index-CblWzXDU.js +169 -0
  82. package/chunk/index-CblWzXDU.js.map +1 -0
  83. package/chunk/{index-Dl7QItmr.js → index-CfUabHav.js} +56 -48
  84. package/chunk/{index-Dl7QItmr.js.map → index-CfUabHav.js.map} +1 -1
  85. package/chunk/{index-qAxcloBs.js → index-CjcHzfTY.js} +11 -11
  86. package/chunk/{index-BtYzUCrC.js.map → index-CjcHzfTY.js.map} +1 -1
  87. package/chunk/{index-DWjrZunN.js → index-Cp0C-9fh.js} +8 -8
  88. package/{lib/index-BpAwd4yZ.js.map → chunk/index-Cp0C-9fh.js.map} +1 -1
  89. package/chunk/{index-D3dphMnl.js → index-Cq__fToG.js} +15 -15
  90. package/chunk/{index-CaSKZsTY.js.map → index-Cq__fToG.js.map} +1 -1
  91. package/chunk/{index-DFQ4PjGJ.js → index-D6oLMvTq.js} +58 -58
  92. package/chunk/{index-DFQ4PjGJ.js.map → index-D6oLMvTq.js.map} +1 -1
  93. package/chunk/{index-tFgJS6bB.js → index-D7O7vvSe.js} +28 -28
  94. package/{lib/index-CFbGwQvV.js.map → chunk/index-D7O7vvSe.js.map} +1 -1
  95. package/chunk/{index-C0jDbJPp.js → index-DCKw4cP_.js} +45 -45
  96. package/chunk/{index-RmF57u5_.js.map → index-DCKw4cP_.js.map} +1 -1
  97. package/chunk/{index-oMg5zy_2.js → index-DFsuXQL_.js} +53 -53
  98. package/chunk/{index-oMg5zy_2.js.map → index-DFsuXQL_.js.map} +1 -1
  99. package/chunk/{index-BFMTiaJv.js → index-DGGRPaEI.js} +30 -30
  100. package/chunk/{index-BGCnajPS.js.map → index-DGGRPaEI.js.map} +1 -1
  101. package/chunk/index-DIkWpujR.js +4 -4
  102. package/chunk/index-DIkWpujR.js.map +1 -1
  103. package/chunk/{index-DIV55Je2.js → index-DPv0lytr.js} +18 -18
  104. package/chunk/{index-DIV55Je2.js.map → index-DPv0lytr.js.map} +1 -1
  105. package/chunk/{index-4APDQFqJ.js → index-DSrYVtDo.js} +8 -8
  106. package/chunk/{index-4APDQFqJ.js.map → index-DSrYVtDo.js.map} +1 -1
  107. package/chunk/{index-D7dDB9pN.js → index-Dba2dHcR.js} +18 -18
  108. package/chunk/{index-D7dDB9pN.js.map → index-Dba2dHcR.js.map} +1 -1
  109. package/chunk/{index-CaSKZsTY.js → index-DhpucFa7.js} +15 -15
  110. package/{lib/index-CWWXURVN.js.map → chunk/index-DhpucFa7.js.map} +1 -1
  111. package/chunk/{index-_ohn63ug.js → index-DnCqjuSC.js} +29 -29
  112. package/chunk/{index-B30_E6pJ.js.map → index-DnCqjuSC.js.map} +1 -1
  113. package/chunk/{index-B30_E6pJ.js → index-DpYUZXus.js} +29 -29
  114. package/chunk/{index-_ohn63ug.js.map → index-DpYUZXus.js.map} +1 -1
  115. package/chunk/{index-NjSUlAP4.js → index-QVvWIHrD.js} +53 -53
  116. package/chunk/{index-NjSUlAP4.js.map → index-QVvWIHrD.js.map} +1 -1
  117. package/chunk/{index-DtoxnCtM.js → index-UGfD9tnj.js} +64 -62
  118. package/chunk/index-UGfD9tnj.js.map +1 -0
  119. package/chunk/{index-2QV6VPA3.js → index-YmkMflXj.js} +7 -7
  120. package/chunk/{index-C9bZ7enn.js.map → index-YmkMflXj.js.map} +1 -1
  121. package/chunk/index-iZ8pO5if.js +31 -0
  122. package/chunk/index-iZ8pO5if.js.map +1 -0
  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-C5fsaYJe.js} +11 -11
  149. package/chunk/{useCollectFieldsEndpoint-BsY8WlOg.js.map → useCollectFieldsEndpoint-C5fsaYJe.js.map} +1 -1
  150. package/chunk/{useCollectFieldsEndpoint-DeICm6Vb.js → useCollectFieldsEndpoint-kmLFyUA-.js} +11 -11
  151. package/chunk/{useCollectFieldsEndpoint-DeICm6Vb.js.map → useCollectFieldsEndpoint-kmLFyUA-.js.map} +1 -1
  152. package/chunk/{useEmailFirstExperiment-3uKuefem.js → useEmailFirstExperiment-CSa3DQll.js} +30 -29
  153. package/chunk/{useEmailFirstExperiment-3uKuefem.js.map → useEmailFirstExperiment-CSa3DQll.js.map} +1 -1
  154. package/chunk/{useEmailFirstExperiment-B1_E_D0z.js → useEmailFirstExperiment-DZ1B78ke.js} +30 -29
  155. package/chunk/{useEmailFirstExperiment-B1_E_D0z.js.map → useEmailFirstExperiment-DZ1B78ke.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 +15 -15
  163. package/lib/{EmailLoopPending-CqGboDpE.js → EmailLoopPending-9TIqOjh0.js} +8 -8
  164. package/lib/{EmailLoopPending-CqGboDpE.js.map → EmailLoopPending-9TIqOjh0.js.map} +1 -1
  165. package/lib/{LicensedProfessionalOrganizationComponent-DZ-zCLNb.js → LicensedProfessionalOrganizationComponent-BdlRIkjK.js} +5 -5
  166. package/lib/{LicensedProfessionalOrganizationComponent-DZ-zCLNb.js.map → LicensedProfessionalOrganizationComponent-BdlRIkjK.js.map} +1 -1
  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-D9AxEZrO.js +11 -0
  170. package/lib/{StepCollectMilitaryStatusComponent-BdghJG7J.js.map → StepCollectMilitaryStatusComponent-D9AxEZrO.js.map} +1 -1
  171. package/lib/{StepIDCheckLoopOnfido-C6a2v64o.js → StepIDCheckLoopOnfido-tTk18P23.js} +5 -5
  172. package/lib/{StepIDCheckLoopOnfido-C6a2v64o.js.map → StepIDCheckLoopOnfido-tTk18P23.js.map} +1 -1
  173. package/lib/{StepIDCheckLoopRegula-B4gdB1au.js → StepIDCheckLoopRegula-BzHh3YEv.js} +16 -17
  174. package/lib/StepIDCheckLoopRegula-BzHh3YEv.js.map +1 -0
  175. package/lib/{StepInactiveMilitaryPersonalInfoComponent-DIS37EQl.js → StepInactiveMilitaryPersonalInfoComponent-DCgIcHvZ.js} +44 -44
  176. package/lib/{StepInactiveMilitaryPersonalInfoComponent-DIS37EQl.js.map → StepInactiveMilitaryPersonalInfoComponent-DCgIcHvZ.js.map} +1 -1
  177. package/lib/VerificationApiUtils-hb7EqMfE.js +21 -0
  178. package/lib/{VerificationApiUtils-Dec-3NxE.js.map → VerificationApiUtils-hb7EqMfE.js.map} +1 -1
  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-CNbgOM7D.js → es6-C6MdgCMX.js} +12435 -13648
  190. package/lib/es6-C6MdgCMX.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-Dz5MfyRl.js → index-A2uleoGr.js} +60 -60
  200. package/lib/{index-Dz5MfyRl.js.map → index-A2uleoGr.js.map} +1 -1
  201. package/lib/index-B0q6ScmE.js +171 -0
  202. package/lib/index-B0q6ScmE.js.map +1 -0
  203. package/lib/{index-DiEccR2E.js → index-B4tPRnWs.js} +27 -27
  204. package/lib/{index-DiEccR2E.js.map → index-B4tPRnWs.js.map} +1 -1
  205. package/lib/{index-DIJ3ZLm3.js → index-BF3H-Cda.js} +16 -16
  206. package/{chunk/index-DPEoeYI6.js.map → lib/index-BF3H-Cda.js.map} +1 -1
  207. package/lib/{index-JHJAgNn2.js → index-BJIfbxEt.js} +9 -9
  208. package/lib/{index-JHJAgNn2.js.map → index-BJIfbxEt.js.map} +1 -1
  209. package/lib/index-BplQ7imw.js +28 -0
  210. package/lib/{index-BqMoknWH.js.map → index-BplQ7imw.js.map} +1 -1
  211. package/lib/{index-BgxQ03Lw.js → index-BpszpgeX.js} +26 -26
  212. package/lib/{index-BgxQ03Lw.js.map → index-BpszpgeX.js.map} +1 -1
  213. package/lib/index-BvlWWXiT.js +11 -0
  214. package/lib/index-BvlWWXiT.js.map +1 -0
  215. package/lib/index-CJvrsSXZ.js +11 -0
  216. package/lib/index-CJvrsSXZ.js.map +1 -0
  217. package/lib/{index-B-vvoe4K.js → index-CZjkIENw.js} +51 -51
  218. package/lib/{index-B-vvoe4K.js.map → index-CZjkIENw.js.map} +1 -1
  219. package/lib/{index-CWWXURVN.js → index-CZodZNg-.js} +5 -5
  220. package/{chunk/index-D3dphMnl.js.map → lib/index-CZodZNg-.js.map} +1 -1
  221. package/lib/{index-U8Xg6WS9.js → index-Cp36Pcoi.js} +20 -20
  222. package/lib/{index-U8Xg6WS9.js.map → index-Cp36Pcoi.js.map} +1 -1
  223. package/lib/{index-CwEH1Xqn.js → index-D4eERCAu.js} +5 -5
  224. package/lib/{index-CwEH1Xqn.js.map → index-D4eERCAu.js.map} +1 -1
  225. package/lib/index-DIkWpujR.js +4 -4
  226. package/lib/index-DIkWpujR.js.map +1 -1
  227. package/lib/{index-CFdjELC4.js → index-DKrXU7hs.js} +26 -26
  228. package/lib/{index-CFdjELC4.js.map → index-DKrXU7hs.js.map} +1 -1
  229. package/lib/index-DLUpqP9u.js +11 -0
  230. package/lib/index-DLUpqP9u.js.map +1 -0
  231. package/lib/{index-s1MF80_2.js → index-DyBgfOX7.js} +402 -385
  232. package/lib/index-DyBgfOX7.js.map +1 -0
  233. package/lib/{index-Da-h4i4f.js → index-N-dolDtu.js} +20 -20
  234. package/lib/{index-Da-h4i4f.js.map → index-N-dolDtu.js.map} +1 -1
  235. package/lib/{index-BpAwd4yZ.js → index-QQE4f5yZ.js} +8 -8
  236. package/{chunk/index-DWjrZunN.js.map → lib/index-QQE4f5yZ.js.map} +1 -1
  237. package/lib/{index-Bs8gT2Ki.js → index-cfFxpmJ0.js} +5 -5
  238. package/lib/{index-Bs8gT2Ki.js.map → index-cfFxpmJ0.js.map} +1 -1
  239. package/lib/{index-CFbGwQvV.js → index-qTuKj59y.js} +32 -32
  240. package/{chunk/index-CgBENXRP.js.map → lib/index-qTuKj59y.js.map} +1 -1
  241. package/lib/{index-CHCJ1GKm.js → index-uG_slt2C.js} +7 -7
  242. package/lib/{index-CHCJ1GKm.js.map → index-uG_slt2C.js.map} +1 -1
  243. package/lib/{index-CF4-uNPC.js → index-vHwl9Ouo.js} +27 -27
  244. package/lib/{index-CF4-uNPC.js.map → index-vHwl9Ouo.js.map} +1 -1
  245. package/lib/index-wzVNqFMX.js +11 -0
  246. package/lib/index-wzVNqFMX.js.map +1 -0
  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-DLjeRtxA.js → useCollectFieldsEndpoint-wNz5nMBP.js} +6 -6
  273. package/lib/{useCollectFieldsEndpoint-DLjeRtxA.js.map → useCollectFieldsEndpoint-wNz5nMBP.js.map} +1 -1
  274. package/lib/{useEmailFirstExperiment-RXZazerr.js → useEmailFirstExperiment-Bk3uBcKy.js} +7 -6
  275. package/lib/{useEmailFirstExperiment-RXZazerr.js.map → useEmailFirstExperiment-Bk3uBcKy.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 +16353 -17949
  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 +7 -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/StepIDCheckLoopRegula-B2frgNDw.js.map +0 -1
  432. package/chunk/StepIDCheckLoopRegula-VCHUckkA.js.map +0 -1
  433. package/chunk/index-BIn_Jf1h.js +0 -48
  434. package/chunk/index-BIn_Jf1h.js.map +0 -1
  435. package/chunk/index-BOpxl8V9.js +0 -167
  436. package/chunk/index-BOpxl8V9.js.map +0 -1
  437. package/chunk/index-BPEB_HHW.js.map +0 -1
  438. package/chunk/index-CfKAGYGb.js +0 -52
  439. package/chunk/index-CfKAGYGb.js.map +0 -1
  440. package/chunk/index-DZsw9-0u.js.map +0 -1
  441. package/chunk/index-DtoxnCtM.js.map +0 -1
  442. package/lib/StepCollectMilitaryStatusComponent-BdghJG7J.js +0 -11
  443. package/lib/StepIDCheckLoopRegula-B4gdB1au.js.map +0 -1
  444. package/lib/VerificationApiUtils-Dec-3NxE.js +0 -23
  445. package/lib/es6-CNbgOM7D.js.map +0 -1
  446. package/lib/index-BUb81vE5.js +0 -11
  447. package/lib/index-BUb81vE5.js.map +0 -1
  448. package/lib/index-BqMoknWH.js +0 -28
  449. package/lib/index-BvZhF_Rn.js +0 -168
  450. package/lib/index-BvZhF_Rn.js.map +0 -1
  451. package/lib/index-DFexphfg.js +0 -11
  452. package/lib/index-DFexphfg.js.map +0 -1
  453. package/lib/index-DbevfyP-.js +0 -11
  454. package/lib/index-DbevfyP-.js.map +0 -1
  455. package/lib/index-aInot7yT.js +0 -11
  456. package/lib/index-aInot7yT.js.map +0 -1
  457. package/lib/index-s1MF80_2.js.map +0 -1
@@ -1,12 +1,12 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.104.0-alpha.1
4
- * BUILD_TIMESTAMP: 1746127986395
5
- * BUILD_DATE: Thu May 01 2025 19:33:06 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: a18837a69c59275ce314d94cf6208e53b6620598
3
+ * VERSION: 2.104.0-alpha.2
4
+ * BUILD_TIMESTAMP: 1746142342273
5
+ * BUILD_DATE: Thu May 01 2025 23:32:22 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
7
7
  */
8
- import { i as A, h as D, j as a, s as O, t as F, P as _, v as V, Q as k, x as t, a2 as B, u as l, U as z, w as G, y as H, W, B as w, a as p, E as c, d as K, D as U, G as q, M as Q, H as J, e as X, V as Y, k as Z } from "../sheerid.js";
9
- import { L as $ } from "./LicensedProfessionalOrganizationComponent-D7gWh3Qx.js";
8
+ import { i as A, h as O, j as a, w as D, P as F, x as _, Y as V, z as t, a8 as z, u as l, _ as B, y as k, B as G, $ as H, G as W, a as p, E as w, e as K, H as c, J as q, M as U, K as J, f as Y, V as $, N as Q, m as X } from "../sheerid.js";
9
+ import { L as Z } from "./LicensedProfessionalOrganizationComponent-BNNNPaDn.js";
10
10
  const S = {
11
11
  LICENSED_COSMETOLOGIST: "Licensed Cosmetologist",
12
12
  LICENSED_REAL_ESTATE_AGENT: "Licensed Real Estate Agent",
@@ -18,19 +18,19 @@ const S = {
18
18
  GENERAL_CONTRACTOR: "General Contractor",
19
19
  NUTRITION_PROFESSIONAL: "Nutrition Professional"
20
20
  }, v = ({
21
- intl: M,
21
+ intl: j,
22
22
  verificationService: e
23
23
  }) => {
24
- var C, b, E, h, g, N, x, I, L, j;
25
- const o = e.viewModel, { fieldValidationErrors: n } = e, u = e.verificationResponse, R = D(u), f = o.localeChoice.value, T = F(), d = (s, r) => {
26
- const m = Z(
24
+ var C, b, E, h, g, N, x, I, L, f;
25
+ const o = e.viewModel, { fieldValidationErrors: n } = e, u = e.verificationResponse, M = O(u), R = o.localeChoice.value, T = Q(), d = (s, r) => {
26
+ const m = X(
27
27
  o,
28
28
  (y) => {
29
29
  y[s] = r;
30
30
  }
31
31
  );
32
32
  e.updateViewModel(m);
33
- }, i = (s) => s ? M.formatHTMLMessage({ id: s, defaultMessage: S[s] }) : "", P = () => {
33
+ }, i = (s) => s ? j.formatHTMLMessage({ id: s, defaultMessage: S[s] }) : "", P = () => {
34
34
  const s = u.availableStatuses, r = [];
35
35
  if (s)
36
36
  for (const m of s)
@@ -41,28 +41,28 @@ const S = {
41
41
  return r;
42
42
  };
43
43
  return /* @__PURE__ */ a.jsxs(
44
- O,
44
+ D,
45
45
  {
46
46
  verificationService: e,
47
47
  step: u.currentStep,
48
48
  children: [
49
49
  /* @__PURE__ */ a.jsx(
50
- _,
50
+ F,
51
51
  {
52
52
  verificationService: e,
53
53
  classNameIdentifier: "licensed-professional"
54
54
  }
55
55
  ),
56
- /* @__PURE__ */ a.jsx(V, { verificationService: e }),
56
+ /* @__PURE__ */ a.jsx(_, { verificationService: e }),
57
57
  /* @__PURE__ */ a.jsx(
58
- k,
58
+ V,
59
59
  {
60
60
  verificationService: e,
61
61
  disabled: (C = t("country")) == null ? void 0 : C.disabled
62
62
  }
63
63
  ),
64
64
  /* @__PURE__ */ a.jsx(
65
- B,
65
+ z,
66
66
  {
67
67
  segmentId: "licensed-professional",
68
68
  value: {
@@ -83,11 +83,11 @@ const S = {
83
83
  }
84
84
  ),
85
85
  /* @__PURE__ */ a.jsx(
86
- $,
86
+ Z,
87
87
  {
88
88
  isErrored: !!n.organization,
89
89
  onChange: (s) => {
90
- z(s, e), l("organization", s, e);
90
+ B(s, e), l("organization", s, e);
91
91
  },
92
92
  value: e.viewModel.organization,
93
93
  verificationService: e,
@@ -96,7 +96,7 @@ const S = {
96
96
  ),
97
97
  /* @__PURE__ */ a.jsxs("div", { className: "sid-names", children: [
98
98
  /* @__PURE__ */ a.jsx(
99
- G,
99
+ k,
100
100
  {
101
101
  value: o.firstName,
102
102
  isErrored: !!n.firstName,
@@ -107,7 +107,7 @@ const S = {
107
107
  }
108
108
  ),
109
109
  /* @__PURE__ */ a.jsx(
110
- H,
110
+ G,
111
111
  {
112
112
  value: o.lastName,
113
113
  isErrored: !!n.lastName,
@@ -119,10 +119,10 @@ const S = {
119
119
  )
120
120
  ] }),
121
121
  /* @__PURE__ */ a.jsx(
122
- W,
122
+ H,
123
123
  {
124
124
  errorId: n.birthDate,
125
- locale: f,
125
+ locale: R,
126
126
  onChange: (s) => {
127
127
  d("birthDate", s), l("birthDate", s, e);
128
128
  },
@@ -131,7 +131,7 @@ const S = {
131
131
  }
132
132
  ),
133
133
  /* @__PURE__ */ a.jsx(
134
- w,
134
+ W,
135
135
  {
136
136
  isErrored: !!n.postalCode,
137
137
  onChange: (s) => {
@@ -149,7 +149,7 @@ const S = {
149
149
  }
150
150
  ),
151
151
  /* @__PURE__ */ a.jsx(
152
- c,
152
+ w,
153
153
  {
154
154
  value: o.email,
155
155
  isErrored: !!n.email,
@@ -168,7 +168,7 @@ const S = {
168
168
  }
169
169
  ),
170
170
  e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ a.jsx(
171
- U,
171
+ c,
172
172
  {
173
173
  isRequired: !!e.programTheme.smsLoopEnabled,
174
174
  value: o.phoneNumber,
@@ -182,7 +182,7 @@ const S = {
182
182
  ) : null,
183
183
  T.customFormFields.map((s) => /* @__PURE__ */ a.jsx(q, { config: s, verificationService: e })),
184
184
  /* @__PURE__ */ a.jsx(
185
- Q,
185
+ U,
186
186
  {
187
187
  verificationService: e,
188
188
  isErrored: !!n.marketConsentValue,
@@ -193,17 +193,17 @@ const S = {
193
193
  }), l("marketConsentValue", s, e);
194
194
  },
195
195
  viewModel: o,
196
- disabled: (j = t("marketConsentValue")) == null ? void 0 : j.disabled
196
+ disabled: (f = t("marketConsentValue")) == null ? void 0 : f.disabled
197
197
  }
198
198
  ),
199
199
  /* @__PURE__ */ a.jsx(J, { verificationService: e, suffix: "CollectAboveSubmit" }),
200
200
  /* @__PURE__ */ a.jsx(
201
- X,
201
+ Y,
202
202
  {
203
- step: Y.collectLicensedProfessionalPersonalInfo,
203
+ step: $.collectLicensedProfessionalPersonalInfo,
204
204
  verificationService: e,
205
205
  viewModel: o,
206
- failedInstantMatch: R,
206
+ failedInstantMatch: M,
207
207
  buttonText: /* @__PURE__ */ a.jsx(
208
208
  p,
209
209
  {
@@ -1 +1 @@
1
- {"version":3,"file":"index-BGCnajPS.js","sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n CustomFormFieldConfig,\n FormSelectChoice,\n LicensedProfessionalPersonalInfoResponse,\n LicensedProfessionalPersonalInfoViewModel,\n LicensedProfessionalStatus,\n Organization,\n VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype DefaultStatusMessages = {\n [key in LicensedProfessionalStatus]: string;\n};\n\nconst defaultStatusMessages: DefaultStatusMessages = {\n LICENSED_COSMETOLOGIST: \"Licensed Cosmetologist\",\n LICENSED_REAL_ESTATE_AGENT: \"Licensed Real Estate Agent\",\n VETERINARIAN: \"Veterinarian\",\n CHILD_CARE_WORKER: \"Child Care Worker\",\n LIBRARIAN: \"Librarian\",\n INTERIOR_DESIGNER: \"Interior Designer\",\n ARCHITECT: \"Architect\",\n GENERAL_CONTRACTOR: \"General Contractor\",\n NUTRITION_PROFESSIONAL: \"Nutrition Professional\",\n};\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const getStatusLabel = (status: LicensedProfessionalStatus | undefined): string => {\n if (!status) {\n return \"\";\n }\n return intl.formatHTMLMessage({ id: status, defaultMessage: defaultStatusMessages[status] });\n };\n\n const getAvailableLicensedProfessionalStatuses = () => {\n const availableStatusesResponse = verificationResponse.availableStatuses;\n const availableStatuses: FormSelectChoice[] = [];\n\n if (availableStatusesResponse) {\n for (const status of availableStatusesResponse) {\n availableStatuses.push({\n value: status,\n label: getStatusLabel(status),\n });\n }\n }\n return availableStatuses;\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getAvailableLicensedProfessionalStatuses()}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"names":["defaultStatusMessages","StepLicensedProfessionalPersonalInfo","intl","verificationService","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","locale","options","getOptions","updateLicensedProfessionalViewModel","key","value","nextState","produce","draft","getStatusLabel","status","getAvailableLicensedProfessionalStatuses","availableStatusesResponse","availableStatuses","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","CountryComponentWrapper","_a","getFieldConfigByFieldId","LicensedProfessionalStatusComponent","_b","updatedStatuses","updateFieldValidationErrorsByFieldId","LicensedProfessionalOrganization","choice","updateViewModelOrganization","_c","FirstName","_d","newValue","LastName","_e","BirthDate","_f","PostalCodeComponent","_g","FormattedHTMLMessage","Email","event","handleEmailOnKeyDown","_h","PhoneNumber","_i","config","FormFieldCustom","MarketConsentWrapper","_j","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepLicensedProfessionalPersonalInfoComponent","injectIntl"],"mappings":";;AAiDA,MAAMA,IAA+C;AAAA,EACnD,wBAAwB;AAAA,EACxB,4BAA4B;AAAA,EAC5B,cAAc;AAAA,EACd,mBAAmB;AAAA,EACnB,WAAW;AAAA,EACX,mBAAmB;AAAA,EACnB,WAAW;AAAA,EACX,oBAAoB;AAAA,EACpB,wBAAwB;AAC1B,GAEMC,IAAuC,CAAC;AAAA,EAC5C,MAAAC;AAAA,EACA,qBAAAC;AACF,MAA0D;;AACxD,QAAMC,IAAYD,EAAoB,WAChC,EAAE,uBAAAE,MAA0BF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAE/DG,IAASL,EAAU,aAAa,OAChCM,IAAUC,EAAW,GAErBC,IAAsC,CAC1CC,GACAC,MACG;AACH,UAAMC,IAAuDC;AAAAA,MAC3DZ;AAAA,MACA,CAACa,MAAqD;AACnD,QAAAA,EAAMJ,CAAG,IAAYC;AAAA,MAAA;AAAA,IAE1B;AACA,IAAAX,EAAoB,gBAAgBY,CAAS;AAAA,EAC/C,GAEMG,IAAiB,CAACC,MACjBA,IAGEjB,EAAK,kBAAkB,EAAE,IAAIiB,GAAQ,gBAAgBnB,EAAsBmB,CAAM,GAAG,IAFlF,IAKLC,IAA2C,MAAM;AACrD,UAAMC,IAA4Bf,EAAqB,mBACjDgB,IAAwC,CAAC;AAE/C,QAAID;AACF,iBAAWF,KAAUE;AACnB,QAAAC,EAAkB,KAAK;AAAA,UACrB,OAAOH;AAAA,UACP,OAAOD,EAAeC,CAAM;AAAA,QAAA,CAC7B;AAGE,WAAAG;AAAA,EACT;AAGE,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,qBAAArB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xB,EAAwB,aAAa,MAArC,gBAAAwB,EAAwC;AAAA,UAAA;AAAA,QAAA,IAElD;AAAA,QAEH5C,EAAQ,iBAAiB,IAAI,CAAC6C,MAC5B9B,gBAAAA,MAAA+B,GAAA,EAAgB,QAAAD,GAAgB,qBAAApD,EAAA,CAA0C,CAC5E;AAAA,QAEDsB,gBAAAA,EAAA;AAAA,UAACgC;AAAAA,UAAA;AAAA,YACC,qBAAAtD;AAAA,YACA,WAAW,CAAC,CAACE,EAAsB;AAAA,YACnC,UAAU,CAACoC,MAAa;AACtB,cAAA7B,EAAoC,YAAY;AAAA,gBAC9C,GAAGT,EAAoB,UAAU;AAAA,gBACjC,oBAAoBsC;AAAA,cAAA,CACrB,GACoCP,EAAA,sBAAsBO,GAAUtC,CAAmB;AAAA,YAC1F;AAAA,YACA,WAAAC;AAAA,YACA,WAAUsD,IAAA5B,EAAwB,oBAAoB,MAA5C,gBAAA4B,EAA+C;AAAA,UAAA;AAAA,QAC3D;AAAA,QAECjC,gBAAAA,EAAAA,IAAAkC,GAAA,EAAa,qBAAAxD,GAA0C,QAAO,qBAAqB,CAAA;AAAA,QAEpFsB,gBAAAA,EAAA;AAAA,UAACmC;AAAA,UAAA;AAAA,YACC,MAAMC,EAAsB;AAAA,YAC5B,qBAAA1D;AAAA,YACA,WAAAC;AAAA,YACA,oBAAAG;AAAA,YACA,YACEkB,gBAAAA,EAAA;AAAA,cAACuB;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YAAA;AAAA,UACjB;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAAA,EACF;AAEJ,GAEac,KAAgDC;AAAA,EAC3D9D;AACF;"}
1
+ {"version":3,"file":"index-DGGRPaEI.js","sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n CustomFormFieldConfig,\n FormSelectChoice,\n LicensedProfessionalPersonalInfoResponse,\n LicensedProfessionalPersonalInfoViewModel,\n LicensedProfessionalStatus,\n Organization,\n VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype DefaultStatusMessages = {\n [key in LicensedProfessionalStatus]: string;\n};\n\nconst defaultStatusMessages: DefaultStatusMessages = {\n LICENSED_COSMETOLOGIST: \"Licensed Cosmetologist\",\n LICENSED_REAL_ESTATE_AGENT: \"Licensed Real Estate Agent\",\n VETERINARIAN: \"Veterinarian\",\n CHILD_CARE_WORKER: \"Child Care Worker\",\n LIBRARIAN: \"Librarian\",\n INTERIOR_DESIGNER: \"Interior Designer\",\n ARCHITECT: \"Architect\",\n GENERAL_CONTRACTOR: \"General Contractor\",\n NUTRITION_PROFESSIONAL: \"Nutrition Professional\",\n};\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const getStatusLabel = (status: LicensedProfessionalStatus | undefined): string => {\n if (!status) {\n return \"\";\n }\n return intl.formatHTMLMessage({ id: status, defaultMessage: defaultStatusMessages[status] });\n };\n\n const getAvailableLicensedProfessionalStatuses = () => {\n const availableStatusesResponse = verificationResponse.availableStatuses;\n const availableStatuses: FormSelectChoice[] = [];\n\n if (availableStatusesResponse) {\n for (const status of availableStatusesResponse) {\n availableStatuses.push({\n value: status,\n label: getStatusLabel(status),\n });\n }\n }\n return availableStatuses;\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getAvailableLicensedProfessionalStatuses()}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"names":["defaultStatusMessages","StepLicensedProfessionalPersonalInfo","intl","verificationService","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","locale","options","getOptions","updateLicensedProfessionalViewModel","key","value","nextState","produce","draft","getStatusLabel","status","getAvailableLicensedProfessionalStatuses","availableStatusesResponse","availableStatuses","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","CountryComponentWrapper","_a","getFieldConfigByFieldId","LicensedProfessionalStatusComponent","_b","updatedStatuses","updateFieldValidationErrorsByFieldId","LicensedProfessionalOrganization","choice","updateViewModelOrganization","_c","FirstName","_d","newValue","LastName","_e","BirthDate","_f","PostalCodeComponent","_g","FormattedHTMLMessage","Email","event","handleEmailOnKeyDown","_h","PhoneNumber","_i","config","FormFieldCustom","MarketConsentWrapper","_j","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepLicensedProfessionalPersonalInfoComponent","injectIntl"],"mappings":";;AAiDA,MAAMA,IAA+C;AAAA,EACnD,wBAAwB;AAAA,EACxB,4BAA4B;AAAA,EAC5B,cAAc;AAAA,EACd,mBAAmB;AAAA,EACnB,WAAW;AAAA,EACX,mBAAmB;AAAA,EACnB,WAAW;AAAA,EACX,oBAAoB;AAAA,EACpB,wBAAwB;AAC1B,GAEMC,IAAuC,CAAC;AAAA,EAC5C,MAAAC;AAAA,EACA,qBAAAC;AACF,MAA0D;;AACxD,QAAMC,IAAYD,EAAoB,WAChC,EAAE,uBAAAE,EAA0B,IAAAF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAE/DG,IAASL,EAAU,aAAa,OAChCM,IAAUC,KAEVC,IAAsC,CAC1CC,GACAC,MACG;AACH,UAAMC,IAAuDC;AAAAA,MAC3DZ;AAAA,MACA,CAACa,MAAqD;AACnD,QAAAA,EAAMJ,CAAG,IAAYC;AAAA,MACxB;AAAA,IAAA;AAEF,IAAAX,EAAoB,gBAAgBY,CAAS;AAAA,EAAA,GAGzCG,IAAiB,CAACC,MACjBA,IAGEjB,EAAK,kBAAkB,EAAE,IAAIiB,GAAQ,gBAAgBnB,EAAsBmB,CAAM,EAAA,CAAG,IAFlF,IAKLC,IAA2C,MAAM;AACrD,UAAMC,IAA4Bf,EAAqB,mBACjDgB,IAAwC,CAAA;AAE9C,QAAID;AACF,iBAAWF,KAAUE;AACnB,QAAAC,EAAkB,KAAK;AAAA,UACrB,OAAOH;AAAA,UACP,OAAOD,EAAeC,CAAM;AAAA,QAAA,CAC7B;AAGE,WAAAG;AAAA,EAAA;AAIP,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,qBAAArB;AAAA,MACA,MAAMG,EAAqB;AAAA,MAE3B,UAAA;AAAA,QAAA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AAA,QAAA,IAElD;AAAA,QAEH5C,EAAQ,iBAAiB,IAAI,CAAC6C,MAC5B9B,gBAAAA,MAAA+B,GAAA,EAAgB,QAAAD,GAAgB,qBAAApD,EAAA,CAA0C,CAC5E;AAAA,QAEDsB,gBAAAA,EAAA;AAAA,UAACgC;AAAAA,UAAA;AAAA,YACC,qBAAAtD;AAAA,YACA,WAAW,CAAC,CAACE,EAAsB;AAAA,YACnC,UAAU,CAACoC,MAAa;AACtB,cAAA7B,EAAoC,YAAY;AAAA,gBAC9C,GAAGT,EAAoB,UAAU;AAAA,gBACjC,oBAAoBsC;AAAA,cAAA,CACrB,GACoCP,EAAA,sBAAsBO,GAAUtC,CAAmB;AAAA,YAC1F;AAAA,YACA,WAAAC;AAAA,YACA,WAAUsD,IAAA5B,EAAwB,oBAAoB,MAA5C,gBAAA4B,EAA+C;AAAA,UAAA;AAAA,QAC3D;AAAA,QAECjC,gBAAAA,EAAAA,IAAAkC,GAAA,EAAa,qBAAAxD,GAA0C,QAAO,qBAAqB,CAAA;AAAA,QAEpFsB,gBAAAA,EAAA;AAAA,UAACmC;AAAA,UAAA;AAAA,YACC,MAAMC,EAAsB;AAAA,YAC5B,qBAAA1D;AAAA,YACA,WAAAC;AAAA,YACA,oBAAAG;AAAA,YACA,YACEkB,gBAAAA,EAAA;AAAA,cAACuB;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEac,KAAgDC;AAAA,EAC3D9D;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.104.0-alpha.1
8
- * BUILD_TIMESTAMP: 1746128043861
9
- * BUILD_DATE: Thu May 01 2025 19:34:03 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: a18837a69c59275ce314d94cf6208e53b6620598
7
+ * VERSION: 2.104.0-alpha.2
8
+ * BUILD_TIMESTAMP: 1746142396526
9
+ * BUILD_DATE: Thu May 01 2025 23:33:16 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
11
11
  */
12
12
  const v = () => {
13
13
  let m = window.hp_frame || null, d = window.tmx_frame || null, f = window.tmx_script || null;
@@ -1 +1 @@
1
- {"version":3,"file":"index-DIkWpujR.js","sources":["../../src/lib/ThreatMetrix/index.js"],"sourcesContent":["const CreateThreatMetrixExport = () => {\n let hp_frame = window.hp_frame || null;\n let tmx_frame = window.tmx_frame || null;\n let tmx_script = window.tmx_script || null;\n var threatmetrix = threatmetrix || {};\n (threatmetrix.version = 3),\n (threatmetrix.create_url = function (t, e, r, n, a) {\n function i() {\n return Math.floor(2742745743359 * Math.random());\n }\n function c() {\n return o(i());\n }\n function o(t) {\n return (t + 78364164096).toString(36);\n }\n var m = i(),\n u = i(),\n l = 885187064159;\n (u = ((u = u - (u % 256) + threatmetrix.version) + m) % 2742745743359),\n (l = (l + m) % 2742745743359);\n var s = \"https://\" + t + \"/\" + (m = c() + o(m)) + e,\n h = [(u = o(l) + o(u)) + \"=\" + r, c() + c() + \"=\" + n];\n return void 0 !== a && a.length > 0 && h.push(c() + c() + \"=\" + a), s + \"?\" + h.join(\"&\");\n }),\n (threatmetrix.beacon = function (t, e, r, n) {\n var a = \"turn:aa.online-metrix.net?transport=\",\n i = \"1:\" + e + \":\" + r,\n c = {\n iceServers: [\n { urls: a + \"tcp\", username: i, credential: r },\n { urls: a + \"udp\", username: i, credential: r },\n ],\n };\n try {\n var o = new RTCPeerConnection(c);\n o.createDataChannel(Math.random().toString());\n var m = function () {},\n u = function (t) {\n o.setLocalDescription(t, m, m);\n };\n \"undefined\" == typeof Promise || o.createOffer.length > 0\n ? o.createOffer(u, m)\n : o.createOffer().then(u, m);\n } catch (t) {}\n }),\n (threatmetrix.load_tags = function (t, e, r, n) {\n threatmetrix.beacon(t, e, r, n);\n var a = document.getElementsByTagName(\"head\").item(0),\n i = document.createElement(\"script\");\n (i.id = \"tmx_tags_js\"), i.setAttribute(\"type\", \"text/javascript\");\n var c = threatmetrix.create_url(t, \".js\", e, r, n);\n i.setAttribute(\"src\", c), threatmetrix.set_csp_nonce(i), a.appendChild(i);\n }),\n (threatmetrix.load_iframe_tags = function (t, e, r, n) {\n threatmetrix.beacon(t, e, r, n);\n var a = threatmetrix.create_url(t, \".htm\", e, r, n),\n i = document.createElement(\"iframe\");\n (i.title = \"empty\"),\n i.setAttribute(\"aria-disabled\", \"true\"),\n (i.width = \"0\"),\n (i.height = \"0\"),\n i.setAttribute(\n \"style\",\n \"color:rgba(0,0,0,0); float:left; position:absolute; top:-200; left:-200; border:0px\",\n ),\n i.setAttribute(\"src\", a),\n document.body.appendChild(i);\n }),\n (threatmetrix.csp_nonce = null),\n (threatmetrix.register_csp_nonce = function (t) {\n if (void 0 !== t.currentScript && null !== t.currentScript) {\n var e = t.currentScript.getAttribute(\"nonce\");\n void 0 !== e && null !== e && \"\" !== e\n ? (threatmetrix.csp_nonce = e)\n : void 0 !== t.currentScript.nonce &&\n null !== t.currentScript.nonce &&\n \"\" !== t.currentScript.nonce &&\n (threatmetrix.csp_nonce = t.currentScript.nonce);\n }\n }),\n (threatmetrix.set_csp_nonce = function (t) {\n null !== threatmetrix.csp_nonce &&\n (t.setAttribute(\"nonce\", threatmetrix.csp_nonce),\n t.getAttribute(\"nonce\") !== threatmetrix.csp_nonce && (t.nonce = threatmetrix.csp_nonce));\n }),\n (threatmetrix.cleanup = function () {\n for (; null !== (hp_frame = document.getElementById(\"tdz_ifrm\")); )\n hp_frame.parentElement.removeChild(hp_frame);\n for (; null !== (tmx_frame = document.getElementById(\"tmx_tags_iframe\")); )\n tmx_frame.parentElement.removeChild(tmx_frame);\n for (; null !== (tmx_script = document.getElementById(\"tmx_tags_js\")); )\n tmx_script.parentElement.removeChild(tmx_script);\n }),\n (threatmetrix.profile = function (t, e, r, n) {\n threatmetrix.cleanup(),\n threatmetrix.register_csp_nonce(document),\n threatmetrix.load_tags(t, e, r, n);\n }),\n (threatmetrix.profile_iframe = function (t, e, r, n) {\n threatmetrix.cleanup(),\n threatmetrix.register_csp_nonce(document),\n threatmetrix.load_iframe_tags(t, e, r, n);\n });\n return threatmetrix;\n};\n\nexport const ThreatMetrix = CreateThreatMetrixExport();\n"],"names":["CreateThreatMetrixExport","hp_frame","tmx_frame","tmx_script","threatmetrix","e","r","n","a","i","c","o","t","m","u","l","s","h","ThreatMetrix"],"mappings":"AAAA,MAAMA,IAA2B,MAAM;AACrC,MAAIC,IAAW,OAAO,YAAY,MAC9BC,IAAY,OAAO,aAAa,MAChCC,IAAa,OAAO,cAAc;AACtC,MAAIC,IAAeA,KAAgB,CAAE;AACrC,SAACA,EAAa,UAAU,GACrBA,EAAa,aAAa,SAAU,GAAGC,GAAGC,GAAGC,GAAGC,GAAG;AAClD,aAASC,IAAI;AACX,aAAO,KAAK,MAAM,gBAAgB,KAAK,OAAM,CAAE;AAAA,IACvD;AACM,aAASC,IAAI;AACX,aAAOC,EAAEF,GAAG;AAAA,IACpB;AACM,aAASE,EAAEC,GAAG;AACZ,cAAQA,IAAI,aAAa,SAAS,EAAE;AAAA,IAC5C;AACM,QAAIC,IAAIJ,EAAG,GACTK,IAAIL,EAAG,GACPM,IAAI;AACN,IAACD,MAAMA,IAAIA,IAAKA,IAAI,MAAOV,EAAa,WAAWS,KAAK,eACrDE,KAAKA,IAAIF,KAAK;AACjB,QAAIG,IAAI,aAAa,IAAI,OAAOH,IAAIH,EAAC,IAAKC,EAAEE,CAAC,KAAKR,GAChDY,IAAI,EAAEH,IAAIH,EAAEI,CAAC,IAAIJ,EAAEG,CAAC,KAAK,MAAMR,GAAGI,EAAC,IAAKA,EAAG,IAAG,MAAMH,CAAC;AACvD,WAAkBC,MAAX,UAAgBA,EAAE,SAAS,KAAKS,EAAE,KAAKP,EAAC,I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AAG;AAC5C,IAAAH,EAAa,QAAS,GACpBA,EAAa,mBAAmB,QAAQ,GACxCA,EAAa,UAAU,GAAGC,GAAGC,GAAGC,CAAC;AAAA,EACpC,GACAH,EAAa,iBAAiB,SAAU,GAAGC,GAAGC,GAAGC,GAAG;AACnD,IAAAH,EAAa,QAAS,GACpBA,EAAa,mBAAmB,QAAQ,GACxCA,EAAa,iBAAiB,GAAGC,GAAGC,GAAGC,CAAC;AAAA,EAChD,GACSH;AACT,GAEac,IAAelB,EAAwB;"}
1
+ {"version":3,"file":"index-DIkWpujR.js","sources":["../../src/lib/ThreatMetrix/index.js"],"sourcesContent":["const CreateThreatMetrixExport = () => {\n let hp_frame = window.hp_frame || null;\n let tmx_frame = window.tmx_frame || null;\n let tmx_script = window.tmx_script || null;\n var threatmetrix = threatmetrix || {};\n (threatmetrix.version = 3),\n (threatmetrix.create_url = function (t, e, r, n, a) {\n function i() {\n return Math.floor(2742745743359 * Math.random());\n }\n function c() {\n return o(i());\n }\n function o(t) {\n return (t + 78364164096).toString(36);\n }\n var m = i(),\n u = i(),\n l = 885187064159;\n (u = ((u = u - (u % 256) + threatmetrix.version) + m) % 2742745743359),\n (l = (l + m) % 2742745743359);\n var s = \"https://\" + t + \"/\" + (m = c() + o(m)) + e,\n h = [(u = o(l) + o(u)) + \"=\" + r, c() + c() + \"=\" + n];\n return void 0 !== a && a.length > 0 && h.push(c() + c() + \"=\" + a), s + \"?\" + h.join(\"&\");\n }),\n (threatmetrix.beacon = function (t, e, r, n) {\n var a = \"turn:aa.online-metrix.net?transport=\",\n i = \"1:\" + e + \":\" + r,\n c = {\n iceServers: [\n { urls: a + \"tcp\", username: i, credential: r },\n { urls: a + \"udp\", username: i, credential: r },\n ],\n };\n try {\n var o = new RTCPeerConnection(c);\n o.createDataChannel(Math.random().toString());\n var m = function () {},\n u = function (t) {\n o.setLocalDescription(t, m, m);\n };\n \"undefined\" == typeof Promise || o.createOffer.length > 0\n ? o.createOffer(u, m)\n : o.createOffer().then(u, m);\n } catch (t) {}\n }),\n (threatmetrix.load_tags = function (t, e, r, n) {\n threatmetrix.beacon(t, e, r, n);\n var a = document.getElementsByTagName(\"head\").item(0),\n i = document.createElement(\"script\");\n (i.id = \"tmx_tags_js\"), i.setAttribute(\"type\", \"text/javascript\");\n var c = threatmetrix.create_url(t, \".js\", e, r, n);\n i.setAttribute(\"src\", c), threatmetrix.set_csp_nonce(i), a.appendChild(i);\n }),\n (threatmetrix.load_iframe_tags = function (t, e, r, n) {\n threatmetrix.beacon(t, e, r, n);\n var a = threatmetrix.create_url(t, \".htm\", e, r, n),\n i = document.createElement(\"iframe\");\n (i.title = \"empty\"),\n i.setAttribute(\"aria-disabled\", \"true\"),\n (i.width = \"0\"),\n (i.height = \"0\"),\n i.setAttribute(\n \"style\",\n \"color:rgba(0,0,0,0); float:left; position:absolute; top:-200; left:-200; border:0px\",\n ),\n i.setAttribute(\"src\", a),\n document.body.appendChild(i);\n }),\n (threatmetrix.csp_nonce = null),\n (threatmetrix.register_csp_nonce = function (t) {\n if (void 0 !== t.currentScript && null !== t.currentScript) {\n var e = t.currentScript.getAttribute(\"nonce\");\n void 0 !== e && null !== e && \"\" !== e\n ? (threatmetrix.csp_nonce = e)\n : void 0 !== t.currentScript.nonce &&\n null !== t.currentScript.nonce &&\n \"\" !== t.currentScript.nonce &&\n (threatmetrix.csp_nonce = t.currentScript.nonce);\n }\n }),\n (threatmetrix.set_csp_nonce = function (t) {\n null !== threatmetrix.csp_nonce &&\n (t.setAttribute(\"nonce\", threatmetrix.csp_nonce),\n t.getAttribute(\"nonce\") !== threatmetrix.csp_nonce && (t.nonce = threatmetrix.csp_nonce));\n }),\n (threatmetrix.cleanup = function () {\n for (; null !== (hp_frame = document.getElementById(\"tdz_ifrm\")); )\n hp_frame.parentElement.removeChild(hp_frame);\n for (; null !== (tmx_frame = document.getElementById(\"tmx_tags_iframe\")); )\n tmx_frame.parentElement.removeChild(tmx_frame);\n for (; null !== (tmx_script = document.getElementById(\"tmx_tags_js\")); )\n tmx_script.parentElement.removeChild(tmx_script);\n }),\n (threatmetrix.profile = function (t, e, r, n) {\n threatmetrix.cleanup(),\n threatmetrix.register_csp_nonce(document),\n threatmetrix.load_tags(t, e, r, n);\n }),\n (threatmetrix.profile_iframe = function (t, e, r, n) {\n threatmetrix.cleanup(),\n threatmetrix.register_csp_nonce(document),\n threatmetrix.load_iframe_tags(t, e, r, n);\n });\n return threatmetrix;\n};\n\nexport const ThreatMetrix = CreateThreatMetrixExport();\n"],"names":["CreateThreatMetrixExport","hp_frame","tmx_frame","tmx_script","threatmetrix","e","r","n","a","i","c","o","t","m","u","l","s","h","ThreatMetrix"],"mappings":"AAAA,MAAMA,IAA2B,MAAM;AACrC,MAAIC,IAAW,OAAO,YAAY,MAC9BC,IAAY,OAAO,aAAa,MAChCC,IAAa,OAAO,cAAc;AACtC,MAAIC,IAAeA,KAAgB;AACnC,SAACA,EAAa,UAAU,GACrBA,EAAa,aAAa,SAAU,GAAGC,GAAGC,GAAGC,GAAGC,GAAG;AAClD,aAASC,IAAI;AACX,aAAO,KAAK,MAAM,gBAAgB,KAAK,OAAQ,CAAA;AAAA,IAChD;AACD,aAASC,IAAI;AACX,aAAOC,EAAEF,EAAC,CAAE;AAAA,IACb;AACD,aAASE,EAAEC,GAAG;AACZ,cAAQA,IAAI,aAAa,SAAS,EAAE;AAAA,IACrC;AACD,QAAIC,IAAIJ,EAAG,GACTK,IAAIL,EAAG,GACPM,IAAI;AACN,IAACD,MAAMA,IAAIA,IAAKA,IAAI,MAAOV,EAAa,WAAWS,KAAK,eACrDE,KAAKA,IAAIF,KAAK;AACjB,QAAIG,IAAI,aAAa,IAAI,OAAOH,IAAIH,EAAC,IAAKC,EAAEE,CAAC,KAAKR,GAChDY,IAAI,EAAEH,IAAIH,EAAEI,CAAC,IAAIJ,EAAEG,CAAC,KAAK,MAAMR,GAAGI,EAAG,IAAGA,EAAC,IAAK,MAAMH,CAAC;AACvD,WAAkBC,MAAX,UAAgBA,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Aa,UAAU,SAAU,GAAGC,GAAGC,GAAGC,GAAG;AAC5C,IAAAH,EAAa,QAAS,GACpBA,EAAa,mBAAmB,QAAQ,GACxCA,EAAa,UAAU,GAAGC,GAAGC,GAAGC,CAAC;AAAA,EACpC,GACAH,EAAa,iBAAiB,SAAU,GAAGC,GAAGC,GAAGC,GAAG;AACnD,IAAAH,EAAa,QAAS,GACpBA,EAAa,mBAAmB,QAAQ,GACxCA,EAAa,iBAAiB,GAAGC,GAAGC,GAAGC,CAAC;AAAA,EAChD,GACSH;AACT,GAEac,IAAelB,EAAwB;"}
@@ -4,15 +4,15 @@
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.104.0-alpha.1
8
- * BUILD_TIMESTAMP: 1746128043861
9
- * BUILD_DATE: Thu May 01 2025 19:34:03 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: a18837a69c59275ce314d94cf6208e53b6620598
7
+ * VERSION: 2.104.0-alpha.2
8
+ * BUILD_TIMESTAMP: 1746142396526
9
+ * BUILD_DATE: Thu May 01 2025 23:33:16 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
11
11
  */
12
- import { i as I, h as f, r as y, j as a, s as F, t as P, P as k, v as R, w as T, x as n, u as l, y as B, z as L, a as m, B as V, E as A, d as q, D, G as H, M as K, H as O, e as W, V as w, k as z } from "../_mysheerid-preview.js";
12
+ import { i as I, h as f, r as y, j as a, w as F, P, x as R, y as T, z as n, u as l, B as k, D as B, a as m, G as L, E as V, e as A, H as q, J as D, M as H, K, f as O, V as W, N as w, m as z } from "../_mysheerid-preview.js";
13
13
  const G = ({ verificationService: e }) => {
14
14
  var p, u, C, b, x, h, N;
15
- const o = e.viewModel, { fieldValidationErrors: t } = e, r = e.verificationResponse, M = f(r), g = P(), d = (s, j) => {
15
+ const o = e.viewModel, { fieldValidationErrors: t } = e, r = e.verificationResponse, M = f(r), g = w(), d = (s, j) => {
16
16
  const E = z(
17
17
  o,
18
18
  (i) => {
@@ -30,7 +30,7 @@ const G = ({ verificationService: e }) => {
30
30
  step: r.currentStep,
31
31
  children: [
32
32
  /* @__PURE__ */ a.jsx(
33
- k,
33
+ P,
34
34
  {
35
35
  verificationService: e,
36
36
  classNameIdentifier: "mover-personal-info"
@@ -50,7 +50,7 @@ const G = ({ verificationService: e }) => {
50
50
  }
51
51
  ),
52
52
  /* @__PURE__ */ a.jsx(
53
- B,
53
+ k,
54
54
  {
55
55
  value: o.lastName,
56
56
  isErrored: !!t.lastName,
@@ -62,7 +62,7 @@ const G = ({ verificationService: e }) => {
62
62
  )
63
63
  ] }),
64
64
  /* @__PURE__ */ a.jsx(
65
- L,
65
+ B,
66
66
  {
67
67
  value: o.address1,
68
68
  isErrored: !!t.address1,
@@ -76,7 +76,7 @@ const G = ({ verificationService: e }) => {
76
76
  }
77
77
  ),
78
78
  /* @__PURE__ */ a.jsx(
79
- V,
79
+ L,
80
80
  {
81
81
  value: o.postalCode,
82
82
  isErrored: !!t.postalCode,
@@ -87,7 +87,7 @@ const G = ({ verificationService: e }) => {
87
87
  }
88
88
  ),
89
89
  /* @__PURE__ */ a.jsx(
90
- A,
90
+ V,
91
91
  {
92
92
  value: o.email,
93
93
  isErrored: !!t.email,
@@ -101,12 +101,12 @@ const G = ({ verificationService: e }) => {
101
101
  onChange: (s) => {
102
102
  d("email", s), l("email", s, e);
103
103
  },
104
- onKeyDown: (s) => q(s),
104
+ onKeyDown: (s) => A(s),
105
105
  disabled: (x = n("email")) == null ? void 0 : x.disabled
106
106
  }
107
107
  ),
108
108
  e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ a.jsx(
109
- D,
109
+ q,
110
110
  {
111
111
  isRequired: !!e.programTheme.smsLoopEnabled,
112
112
  value: o.phoneNumber,
@@ -118,9 +118,9 @@ const G = ({ verificationService: e }) => {
118
118
  disabled: (h = n("phoneNumber")) == null ? void 0 : h.disabled
119
119
  }
120
120
  ) : null,
121
- g.customFormFields.map((s) => /* @__PURE__ */ a.jsx(H, { config: s, verificationService: e })),
121
+ g.customFormFields.map((s) => /* @__PURE__ */ a.jsx(D, { config: s, verificationService: e })),
122
122
  /* @__PURE__ */ a.jsx(
123
- K,
123
+ H,
124
124
  {
125
125
  verificationService: e,
126
126
  isErrored: !!t.marketConsentValue,
@@ -134,11 +134,11 @@ const G = ({ verificationService: e }) => {
134
134
  disabled: (N = n("marketConsentValue")) == null ? void 0 : N.disabled
135
135
  }
136
136
  ),
137
- /* @__PURE__ */ a.jsx(O, { verificationService: e, suffix: "CollectAboveSubmit" }),
137
+ /* @__PURE__ */ a.jsx(K, { verificationService: e, suffix: "CollectAboveSubmit" }),
138
138
  /* @__PURE__ */ a.jsx(
139
- W,
139
+ O,
140
140
  {
141
- step: w.collectMoverPersonalInfo,
141
+ step: W.collectMoverPersonalInfo,
142
142
  verificationService: e,
143
143
  viewModel: o,
144
144
  failedInstantMatch: M,
@@ -1 +1 @@
1
- {"version":3,"file":"index-DIV55Je2.js","sources":["../../src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx"],"sourcesContent":["import React, { useEffect } from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n MoverPersonalInfoViewModel,\n MoverPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { AddressComponent as Address } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepMoverPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMoverPersonalInfo = ({ verificationService }: StepMoverPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MoverPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MoverPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateMoverViewModel = (key: keyof MoverPersonalInfoViewModel, value: any) => {\n const nextState: MoverPersonalInfoViewModel = produce(\n viewModel,\n (draft: MoverPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // We do not want a drop down list, just apply available statuses to the viewModel\n useEffect(() => {\n updateMoverViewModel(\"statuses\", verificationResponse.availableStatuses);\n }, []);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"mover-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\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 updateMoverViewModel(\"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 updateMoverViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Address\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(newValue) => {\n updateMoverViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"streetAddress\" defaultMessage=\"Street Address\" />}\n isRequired\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n />\n\n <PostalCode\n value={viewModel.postalCode}\n isErrored={!!fieldValidationErrors.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n onChange={(newValue) => {\n updateMoverViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateMoverViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMoverViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMoverViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMoverPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Recent Mover Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMoverPersonalInfoComponent = injectIntl(StepMoverPersonalInfo);\n"],"names":["StepMoverPersonalInfo","verificationService","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","options","getOptions","updateMoverViewModel","key","value","nextState","produce","draft","useEffect","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","FirstName","_a","getFieldConfigByFieldId","newValue","updateFieldValidationErrorsByFieldId","LastName","_b","Address","FormattedHTMLMessage","_c","PostalCode","_d","Email","event","handleEmailOnKeyDown","_e","PhoneNumber","_f","config","FormFieldCustom","MarketConsentWrapper","_g","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepMoverPersonalInfoComponent","injectIntl"],"mappings":";AAsCA,MAAMA,IAAwB,CAAC,EAAE,qBAAAC,QAA+D;;AAC9F,QAAMC,IAAYD,EAAoB,WAChC,EAAE,uBAAAE,MAA0BF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAUC,EAAW,GAErBC,IAAuB,CAACC,GAAuCC,MAAe;AAClF,UAAMC,IAAwCC;AAAAA,MAC5CX;AAAA,MACA,CAACY,MAAsC;AACpC,QAAAA,EAAMJ,CAAG,IAAYC;AAAA,MAAA;AAAA,IAE1B;AACA,IAAAV,EAAoB,gBAAgBW,CAAS;AAAA,EAC/C;AAGAG,SAAAA,EAAAA,UAAU,MAAM;AACO,IAAAN,EAAA,YAAYL,EAAqB,iBAAiB;AAAA,EACzE,GAAG,EAAE,GAGHY,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,qBAAAhB;AAAA,MACA,MAAMG,EAAqB;AAAA,MAE3B,UAAA;AAAA,QAAAc,gBAAAA,EAAA;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,qBAAAlB;AAAA,YACA,qBAAoB;AAAA,UAAA;AAAA,QACtB;AAAA,QAEAiB,gBAAAA,MAACE,KAAwB,qBAAAnB,GAA0C;AAAA,QAEnEe,gBAAAA,EAAAA,KAAC,OAAI,EAAA,WAAU,aACb,UAAA;AAAA,UAAAE,gBAAAA,EAAA;AAAA,YAACG;AAAAA,YAAA;AAAA,cACC,OAAOnB,EAAU;AAAA,cACjB,WAAW,CAAC,CAACC,EAAsB;AAAA,cACnC,WAAUmB,IAAAC,EAAwB,WAAW,MAAnC,gBAAAD,EAAsC;AAAA,cAChD,UAAU,CAACE,MAAa;AAC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U;AAAA,gBACjC,oBAAoBuB;AAAA,cAAA,CACrB,GACoCC,EAAA,sBAAsBD,GAAUvB,CAAmB;AAAA,YAC1F;AAAA,YACA,WAAAC;AAAA,YACA,WAAUwC,IAAAnB,EAAwB,oBAAoB,MAA5C,gBAAAmB,EAA+C;AAAA,UAAA;AAAA,QAC3D;AAAA,QAECxB,gBAAAA,EAAAA,IAAAyB,GAAA,EAAa,qBAAA1C,GAA0C,QAAO,qBAAqB,CAAA;AAAA,QAEpFiB,gBAAAA,EAAA;AAAA,UAAC0B;AAAA,UAAA;AAAA,YACC,MAAMC,EAAsB;AAAA,YAC5B,qBAAA5C;AAAA,YACA,WAAAC;AAAA,YACA,oBAAAG;AAAA,YACA,YACEa,gBAAAA,EAAA;AAAA,cAACW;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YAAA;AAAA,UACjB;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAAA,EACF;AAEJ,GAEaiB,IAAiCC,EAAW/C,CAAqB;"}
1
+ {"version":3,"file":"index-DPv0lytr.js","sources":["../../src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx"],"sourcesContent":["import React, { useEffect } from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n MoverPersonalInfoViewModel,\n MoverPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { AddressComponent as Address } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepMoverPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMoverPersonalInfo = ({ verificationService }: StepMoverPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MoverPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MoverPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateMoverViewModel = (key: keyof MoverPersonalInfoViewModel, value: any) => {\n const nextState: MoverPersonalInfoViewModel = produce(\n viewModel,\n (draft: MoverPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // We do not want a drop down list, just apply available statuses to the viewModel\n useEffect(() => {\n updateMoverViewModel(\"statuses\", verificationResponse.availableStatuses);\n }, []);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"mover-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\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 updateMoverViewModel(\"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 updateMoverViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Address\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(newValue) => {\n updateMoverViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"streetAddress\" defaultMessage=\"Street Address\" />}\n isRequired\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n />\n\n <PostalCode\n value={viewModel.postalCode}\n isErrored={!!fieldValidationErrors.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n onChange={(newValue) => {\n updateMoverViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateMoverViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMoverViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMoverViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMoverPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Recent Mover Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMoverPersonalInfoComponent = injectIntl(StepMoverPersonalInfo);\n"],"names":["StepMoverPersonalInfo","verificationService","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","options","getOptions","updateMoverViewModel","key","value","nextState","produce","draft","useEffect","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","FirstName","_a","getFieldConfigByFieldId","newValue","updateFieldValidationErrorsByFieldId","LastName","_b","Address","FormattedHTMLMessage","_c","PostalCode","_d","Email","event","handleEmailOnKeyDown","_e","PhoneNumber","_f","config","FormFieldCustom","MarketConsentWrapper","_g","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepMoverPersonalInfoComponent","injectIntl"],"mappings":";AAsCA,MAAMA,IAAwB,CAAC,EAAE,qBAAAC,QAA+D;;AAC9F,QAAMC,IAAYD,EAAoB,WAChC,EAAE,uBAAAE,EAA0B,IAAAF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAUC,KAEVC,IAAuB,CAACC,GAAuCC,MAAe;AAClF,UAAMC,IAAwCC;AAAAA,MAC5CX;AAAA,MACA,CAACY,MAAsC;AACpC,QAAAA,EAAMJ,CAAG,IAAYC;AAAA,MACxB;AAAA,IAAA;AAEF,IAAAV,EAAoB,gBAAgBW,CAAS;AAAA,EAAA;AAI/CG,SAAAA,EAAAA,UAAU,MAAM;AACO,IAAAN,EAAA,YAAYL,EAAqB,iBAAiB;AAAA,EACzE,GAAG,CAAE,CAAA,GAGHY,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,qBAAAhB;AAAA,MACA,MAAMG,EAAqB;AAAA,MAE3B,UAAA;AAAA,QAAAc,gBAAAA,EAAA;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,qBAAAlB;AAAA,YACA,qBAAoB;AAAA,UAAA;AAAA,QACtB;AAAA,QAEAiB,gBAAAA,MAACE,KAAwB,qBAAAnB,GAA0C;AAAA,QAEnEe,gBAAAA,EAAAA,KAAC,OAAI,EAAA,WAAU,aACb,UAAA;AAAA,UAAAE,gBAAAA,EAAA;AAAA,YAACG;AAAAA,YAAA;AAAA,cACC,OAAOnB,EAAU;AAAA,cACjB,WAAW,CAAC,CAACC,EAAsB;AAAA,cACnC,WAAUmB,IAAAC,EAAwB,WAAW,MAAnC,gBAAAD,EAAsC;AAAA,cAChD,UAAU,CAACE,M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oB,UAAU;AAAA,gBACjC,oBAAoBuB;AAAA,cAAA,CACrB,GACoCC,EAAA,sBAAsBD,GAAUvB,CAAmB;AAAA,YAC1F;AAAA,YACA,WAAAC;AAAA,YACA,WAAUwC,IAAAnB,EAAwB,oBAAoB,MAA5C,gBAAAmB,EAA+C;AAAA,UAAA;AAAA,QAC3D;AAAA,QAECxB,gBAAAA,EAAAA,IAAAyB,GAAA,EAAa,qBAAA1C,GAA0C,QAAO,qBAAqB,CAAA;AAAA,QAEpFiB,gBAAAA,EAAA;AAAA,UAAC0B;AAAA,UAAA;AAAA,YACC,MAAMC,EAAsB;AAAA,YAC5B,qBAAA5C;AAAA,YACA,WAAAC;AAAA,YACA,oBAAAG;AAAA,YACA,YACEa,gBAAAA,EAAA;AAAA,cAACW;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEaiB,IAAiCC,EAAW/C,CAAqB;"}
@@ -4,13 +4,13 @@
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.104.0-alpha.1
8
- * BUILD_TIMESTAMP: 1746128043861
9
- * BUILD_DATE: Thu May 01 2025 19:34:03 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: a18837a69c59275ce314d94cf6208e53b6620598
7
+ * VERSION: 2.104.0-alpha.2
8
+ * BUILD_TIMESTAMP: 1746142396526
9
+ * BUILD_DATE: Thu May 01 2025 23:33:16 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
11
11
  */
12
- import { j as s, L as c, a, A as p, O as g, K as u, V as d, f as x, u as j, l as b, k as h, i as E } from "../_mysheerid-preview.js";
13
- import { EmailLoopPendingComponent as f } from "./EmailLoopPending-WTPkkJsm.js";
12
+ import { j as s, n as c, a, A as p, X as u, T as g, V as d, k as x, u as j, l as b, v as h, i as E } from "../_mysheerid-preview.js";
13
+ import { EmailLoopPendingComponent as f } from "./EmailLoopPending-Dzs07hxx.js";
14
14
  const L = ({
15
15
  verificationService: e
16
16
  }) => {
@@ -69,7 +69,7 @@ const L = ({
69
69
  ] }),
70
70
  /* @__PURE__ */ s.jsxs("div", { className: "sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md", children: [
71
71
  /* @__PURE__ */ s.jsx(
72
- g,
72
+ u,
73
73
  {
74
74
  fieldId: "emailOverride",
75
75
  value: i.organizationEmail,
@@ -97,7 +97,7 @@ const L = ({
97
97
  id: "sid-submit-btn-sso",
98
98
  type: "submit",
99
99
  disabled: !!o.organizationEmail,
100
- onClick: () => u(
100
+ onClick: () => g(
101
101
  i,
102
102
  e,
103
103
  d.emailLoopCollectOrganizationEmail
@@ -1 +1 @@
1
- {"version":3,"file":"index-4APDQFqJ.js","sources":["../../src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx","../../src/components/StepEmailLoop/StepEmailLoopComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { FormFieldText } from \"../FormFields/FormFieldText/FormFieldText\";\nimport {\n updateFieldValidationErrorsByFieldId,\n submitForm,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n EmailLoopCollectOrganizationEmailViewModel,\n VerificationService,\n} from \"../../lib/types/types\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import React from \"react\";\nimport { injectIntl, InjectedIntl } from \"react-intl\";\n\nimport { EmailLoopResponse, VerificationService } from \"../../lib/types/types\";\n\nimport { EmailLoopCollectOrganizationEmail } from \"./EmailLoopCollectOrganizationEmail\";\nimport { EmailLoopPendingComponent } from \"./EmailLoopPending\";\n\nexport interface StepEmailLoopComponentProps {\n // eslint-disable-next-line react/no-unused-prop-types -- this prop type is reused in the sub components\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepEmailLoop = ({ verificationService }: StepEmailLoopComponentProps) => {\n const isCollectOrgEmailState =\n (verificationService.verificationResponse as EmailLoopResponse).currentState ===\n \"collectOrganizationEmail\";\n return (\n <div id=\"sid-step-email-loop\" className=\"sid-step-email-loop-container sid-l-container\">\n {isCollectOrgEmailState ? (\n <EmailLoopCollectOrganizationEmail verificationService={verificationService} />\n ) : (\n <EmailLoopPendingComponent verificationService={verificationService} />\n )}\n </div>\n );\n};\n\nexport const StepEmailLoopComponent = injectIntl(StepEmailLoop);\n"],"names":["EmailLoopCollectOrganizationEmail","verificationService","viewModel","fieldValidationErrors","isInvalidOrgEmail","_a","setEmailValue","organizationEmail","updateFieldValidationErrorsByFieldId","cancelEmailLoop","logger","nextState","produce","VerificationStepsEnum","jsxs","Fragment","jsx","LogoComponent","FormattedHTMLMessage","AnnouncingHeader","FormFieldText","submitForm","FormFooter","StepEmailLoop","isCollectOrgEmailState","EmailLoopPendingComponent","StepEmailLoopComponent","injectIntl"],"mappings":";;AAoBO,MAAMA,IAAoC,CAAC;AAAA,EAChD,qBAAAC;AACF,MAEM;;AACJ,QAAMC,IAAYD,EAAoB,WAChCE,IAAwBF,EAAoB,uBAC5CG,OAAqBC,IAAAJ,EAAoB,yBAApB,gBAAAI,EAA0C,aAAY,CAAI,GAAA;AAAA,IACnF;AAAA,EACF,GAEMC,IAAgB,CAACC,MAA8B;AACnD,IAAAN,EAAoB,gBAAgB,EAAE,GAAGC,GAAW,mBAAAK,GAAmB,GACvEC;AAAA,MACE;AAAA,MACAD;AAAA,MACAN;AAAA,IACF;AAAA,EACF,GAEMQ,IAAkB,YA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AI,EAAA,WAAU,yDACb,UAAAA,gBAAAA,EAAA;AAAA,YAACE;AAAA,YAAA;AAAA,cACC,IAAG;AAAA,cACH,gBAAe;AAAA,YAAA;AAAA,UAAA,GAEnB;AAAA,UACAF,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,sBACb,UAAAA,gBAAAA,EAAA;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,SAASP;AAAA,cACT,WAAU;AAAA,cACV,MAAK;AAAA,cAEL,UAAAO,gBAAAA,EAAA;AAAA,gBAACE;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA,EAEJ,CAAA;AAAA,QAAA,GACF;AAAA,QAEAF,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,qBAAqB,CAAA;AAAA,MAAA,EACtC,CAAA;AAAA,IAAA,GACF;AAAA,IACAA,gBAAAA,MAACM,KAAW,qBAAArB,EAA0C,CAAA;AAAA,EAAA,GACxD;AAEJ,GCvJasB,IAAgB,CAAC,EAAE,qBAAAtB,QAAuD;AAC/E,QAAAuB,IACHvB,EAAoB,qBAA2C,iBAChE;AACF,SACGe,gBAAAA,EAAA,IAAA,OAAA,EAAI,IAAG,uBAAsB,WAAU,iDACrC,UAAAQ,IACER,gBAAAA,EAAA,IAAAhB,GAAA,EAAkC,qBAAAC,EAA0C,CAAA,IAE5Ee,gBAAAA,EAAAA,IAAAS,GAAA,EAA0B,qBAAAxB,EAA0C,CAAA,GAEzE;AAEJ,GAEayB,IAAyBC,EAAWJ,CAAa;"}
1
+ {"version":3,"file":"index-DSrYVtDo.js","sources":["../../src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx","../../src/components/StepEmailLoop/StepEmailLoopComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { FormFieldText } from \"../FormFields/FormFieldText/FormFieldText\";\nimport {\n updateFieldValidationErrorsByFieldId,\n submitForm,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n EmailLoopCollectOrganizationEmailViewModel,\n VerificationService,\n} from \"../../lib/types/types\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import React from \"react\";\nimport { injectIntl, InjectedIntl } from \"react-intl\";\n\nimport { EmailLoopResponse, VerificationService } from \"../../lib/types/types\";\n\nimport { EmailLoopCollectOrganizationEmail } from \"./EmailLoopCollectOrganizationEmail\";\nimport { EmailLoopPendingComponent } from \"./EmailLoopPending\";\n\nexport interface StepEmailLoopComponentProps {\n // eslint-disable-next-line react/no-unused-prop-types -- this prop type is reused in the sub components\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepEmailLoop = ({ verificationService }: StepEmailLoopComponentProps) => {\n const isCollectOrgEmailState =\n (verificationService.verificationResponse as EmailLoopResponse).currentState ===\n \"collectOrganizationEmail\";\n return (\n <div id=\"sid-step-email-loop\" className=\"sid-step-email-loop-container sid-l-container\">\n {isCollectOrgEmailState ? (\n <EmailLoopCollectOrganizationEmail verificationService={verificationService} />\n ) : (\n <EmailLoopPendingComponent verificationService={verificationService} />\n )}\n </div>\n );\n};\n\nexport const StepEmailLoopComponent = injectIntl(StepEmailLoop);\n"],"names":["EmailLoopCollectOrganizationEmail","verificationService","viewModel","fieldValidationErrors","isInvalidOrgEmail","_a","setEmailValue","organizationEmail","updateFieldValidationErrorsByFieldId","cancelEmailLoop","logger","nextState","produce","VerificationStepsEnum","jsxs","Fragment","jsx","LogoComponent","FormattedHTMLMessage","AnnouncingHeader","FormFieldText","submitForm","FormFooter","StepEmailLoop","isCollect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