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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (467) hide show
  1. package/__tests__/__helpers__/renderers.d.ts +5 -5
  2. package/__tests__/e2e/collectInfo/collectInfo.spec.d.ts +1 -0
  3. package/_mysheerid-preview.css +4 -4
  4. package/_mysheerid-preview.js +16311 -17900
  5. package/_mysheerid-preview.js.map +1 -1
  6. package/chunk/{EmailLoopPending-Cp3dQjbH.js → EmailLoopPending-CKTAwQQA.js} +17 -17
  7. package/chunk/{EmailLoopPending-Cp3dQjbH.js.map → EmailLoopPending-CKTAwQQA.js.map} +1 -1
  8. package/chunk/{EmailLoopPending-WTPkkJsm.js → EmailLoopPending-Dzs07hxx.js} +17 -17
  9. package/chunk/{EmailLoopPending-WTPkkJsm.js.map → EmailLoopPending-Dzs07hxx.js.map} +1 -1
  10. package/chunk/{LicensedProfessionalOrganizationComponent-D7gWh3Qx.js → LicensedProfessionalOrganizationComponent-BNNNPaDn.js} +5 -5
  11. package/chunk/{LicensedProfessionalOrganizationComponent-D7gWh3Qx.js.map → LicensedProfessionalOrganizationComponent-BNNNPaDn.js.map} +1 -1
  12. package/chunk/{LicensedProfessionalOrganizationComponent-LYrmpWss.js → LicensedProfessionalOrganizationComponent-trZr_eIW.js} +5 -5
  13. package/chunk/{LicensedProfessionalOrganizationComponent-LYrmpWss.js.map → LicensedProfessionalOrganizationComponent-trZr_eIW.js.map} +1 -1
  14. package/chunk/{Onfido-AyvUk6wg.js → Onfido-CMH3IUna.js} +28 -28
  15. package/chunk/{Onfido-AyvUk6wg.js.map → Onfido-CMH3IUna.js.map} +1 -1
  16. package/chunk/{StepIDCheckLoopOnfido-CQTiZz60.js → StepIDCheckLoopOnfido-C9iUX8TC.js} +11 -12
  17. package/chunk/{StepIDCheckLoopOnfido-CQTiZz60.js.map → StepIDCheckLoopOnfido-C9iUX8TC.js.map} +1 -1
  18. package/chunk/{StepIDCheckLoopOnfido-CsO8JOUT.js → StepIDCheckLoopOnfido-lChJAp_W.js} +11 -12
  19. package/chunk/{StepIDCheckLoopOnfido-CsO8JOUT.js.map → StepIDCheckLoopOnfido-lChJAp_W.js.map} +1 -1
  20. package/chunk/{StepIDCheckLoopRegula-VCHUckkA.js → StepIDCheckLoopRegula-BB8xA4nn.js} +85 -59
  21. package/chunk/StepIDCheckLoopRegula-BB8xA4nn.js.map +1 -0
  22. package/chunk/{StepIDCheckLoopRegula-B2frgNDw.js → StepIDCheckLoopRegula-D8XhToQz.js} +85 -59
  23. package/chunk/StepIDCheckLoopRegula-D8XhToQz.js.map +1 -0
  24. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js → StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js} +48 -48
  25. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js.map → StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js.map} +1 -1
  26. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js → StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.js} +48 -48
  27. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js.map → StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.js.map} +1 -1
  28. package/chunk/ar-CtJ_9k3U.js +4 -4
  29. package/chunk/bg-CWxXfiDq.js +4 -4
  30. package/chunk/bn-IN-Dpq_hCqt.js +4 -4
  31. package/chunk/cs-HevyelX7.js +4 -4
  32. package/chunk/da-6QXhWjWH.js +4 -4
  33. package/chunk/de-ChuCvRLv.js +4 -4
  34. package/chunk/el-3IAhABcN.js +4 -4
  35. package/chunk/en-GB-ByNBaer-.js +4 -4
  36. package/chunk/es-CL_dUc9X.js +4 -4
  37. package/chunk/es-ES-CW4At4Ol.js +4 -4
  38. package/chunk/fi-D8cIebkk.js +4 -4
  39. package/chunk/fr-BDU-1C6f.js +4 -4
  40. package/chunk/fr-CA-Dc02rv8D.js +4 -4
  41. package/chunk/ga-P7eP-INQ.js +4 -4
  42. package/chunk/hi-IN-DlmwjoqH.js +4 -4
  43. package/chunk/hr-CT_VP_lm.js +4 -4
  44. package/chunk/hu-I8Z1uXsR.js +4 -4
  45. package/chunk/id-CUPTGKOT.js +4 -4
  46. package/chunk/{index-CgBENXRP.js → index-B1579hxf.js} +28 -28
  47. package/chunk/{index-tFgJS6bB.js.map → index-B1579hxf.js.map} +1 -1
  48. package/chunk/{index-DB9SisGK.js → index-B4B6qxaM.js} +15 -15
  49. package/chunk/{index-DB9SisGK.js.map → index-B4B6qxaM.js.map} +1 -1
  50. package/chunk/{index-BGCnajPS.js → index-B5okgMmp.js} +30 -30
  51. package/chunk/{index-BFMTiaJv.js.map → index-B5okgMmp.js.map} +1 -1
  52. package/chunk/{index-DPEoeYI6.js → index-B8tKf2Rd.js} +38 -38
  53. package/chunk/{index-CgSW4Vzh.js.map → index-B8tKf2Rd.js.map} +1 -1
  54. package/chunk/{index-XXxK9rgV.js → index-B92Kfyw6.js} +46 -46
  55. package/chunk/{index-XXxK9rgV.js.map → index-B92Kfyw6.js.map} +1 -1
  56. package/chunk/{index-CtqWr1aK.js → index-BDsZCFuU.js} +58 -58
  57. package/chunk/{index-CtqWr1aK.js.map → index-BDsZCFuU.js.map} +1 -1
  58. package/chunk/{index-aKTpkBwz.js → index-BGGHZBWq.js} +56 -48
  59. package/chunk/{index-aKTpkBwz.js.map → index-BGGHZBWq.js.map} +1 -1
  60. package/chunk/{index-B3NA0DdP.js → index-BW4s6-PH.js} +46 -46
  61. package/chunk/{index-B3NA0DdP.js.map → index-BW4s6-PH.js.map} +1 -1
  62. package/chunk/{index-MRhfTdmm.js → index-BYMr8It7.js} +15 -15
  63. package/chunk/{index-MRhfTdmm.js.map → index-BYMr8It7.js.map} +1 -1
  64. package/chunk/{index-CgSW4Vzh.js → index-BjaCS2a8.js} +38 -38
  65. package/{lib/index-DIJ3ZLm3.js.map → chunk/index-BjaCS2a8.js.map} +1 -1
  66. package/chunk/{index-BDw8efPp.js → index-Bld-AWYE.js} +11 -11
  67. package/chunk/{index-BhkJfnda.js.map → index-Bld-AWYE.js.map} +1 -1
  68. package/chunk/{index-C9bZ7enn.js → index-BnPrfsM1.js} +7 -7
  69. package/chunk/{index-2QV6VPA3.js.map → index-BnPrfsM1.js.map} +1 -1
  70. package/chunk/{index-NjSUlAP4.js → index-BqnEM3hj.js} +54 -54
  71. package/chunk/index-BqnEM3hj.js.map +1 -0
  72. package/chunk/{index-RmF57u5_.js → index-BrkIzqD1.js} +57 -54
  73. package/chunk/index-BrkIzqD1.js.map +1 -0
  74. package/chunk/index-BupTUiiS.js +27 -0
  75. package/chunk/index-BupTUiiS.js.map +1 -0
  76. package/chunk/{index-BPEB_HHW.js → index-BvGP9l7M.js} +237 -219
  77. package/chunk/index-BvGP9l7M.js.map +1 -0
  78. package/chunk/index-C7nYtBX_.js +172 -0
  79. package/chunk/index-C7nYtBX_.js.map +1 -0
  80. package/chunk/{index-BtYzUCrC.js → index-CCUi9Uhw.js} +11 -11
  81. package/chunk/{index-qAxcloBs.js.map → index-CCUi9Uhw.js.map} +1 -1
  82. package/chunk/{index-DZsw9-0u.js → index-CEi_QkyI.js} +237 -219
  83. package/chunk/index-CEi_QkyI.js.map +1 -0
  84. package/chunk/index-CLCPYu7D.js +176 -0
  85. package/chunk/index-CLCPYu7D.js.map +1 -0
  86. package/chunk/{index-BhkJfnda.js → index-CZjGTko2.js} +11 -11
  87. package/chunk/{index-BDw8efPp.js.map → index-CZjGTko2.js.map} +1 -1
  88. package/chunk/{index-Dl7QItmr.js → index-CfUabHav.js} +56 -48
  89. package/chunk/{index-Dl7QItmr.js.map → index-CfUabHav.js.map} +1 -1
  90. package/chunk/{index-qAxcloBs.js → index-CjcHzfTY.js} +11 -11
  91. package/chunk/{index-BtYzUCrC.js.map → index-CjcHzfTY.js.map} +1 -1
  92. package/chunk/{index-DWjrZunN.js → index-Cp0C-9fh.js} +8 -8
  93. package/{lib/index-BpAwd4yZ.js.map → chunk/index-Cp0C-9fh.js.map} +1 -1
  94. package/chunk/{index-D3dphMnl.js → index-Cq__fToG.js} +15 -15
  95. package/chunk/{index-CaSKZsTY.js.map → index-Cq__fToG.js.map} +1 -1
  96. package/chunk/{index-DFQ4PjGJ.js → index-D6oLMvTq.js} +58 -58
  97. package/chunk/{index-DFQ4PjGJ.js.map → index-D6oLMvTq.js.map} +1 -1
  98. package/chunk/{index-tFgJS6bB.js → index-D7O7vvSe.js} +28 -28
  99. package/{lib/index-CFbGwQvV.js.map → chunk/index-D7O7vvSe.js.map} +1 -1
  100. package/chunk/{index-BFMTiaJv.js → index-DGGRPaEI.js} +30 -30
  101. package/chunk/{index-BGCnajPS.js.map → index-DGGRPaEI.js.map} +1 -1
  102. package/chunk/index-DIkWpujR.js +4 -4
  103. package/chunk/index-DIkWpujR.js.map +1 -1
  104. package/chunk/{index-DIV55Je2.js → index-DPv0lytr.js} +18 -18
  105. package/chunk/{index-DIV55Je2.js.map → index-DPv0lytr.js.map} +1 -1
  106. package/chunk/{index-4APDQFqJ.js → index-DSrYVtDo.js} +8 -8
  107. package/chunk/{index-4APDQFqJ.js.map → index-DSrYVtDo.js.map} +1 -1
  108. package/chunk/{index-D7dDB9pN.js → index-Dba2dHcR.js} +18 -18
  109. package/chunk/{index-D7dDB9pN.js.map → index-Dba2dHcR.js.map} +1 -1
  110. package/chunk/{index-CaSKZsTY.js → index-DhpucFa7.js} +15 -15
  111. package/{lib/index-CWWXURVN.js.map → chunk/index-DhpucFa7.js.map} +1 -1
  112. package/chunk/{index-_ohn63ug.js → index-DnCqjuSC.js} +29 -29
  113. package/chunk/{index-B30_E6pJ.js.map → index-DnCqjuSC.js.map} +1 -1
  114. package/chunk/{index-B30_E6pJ.js → index-DpYUZXus.js} +29 -29
  115. package/chunk/{index-_ohn63ug.js.map → index-DpYUZXus.js.map} +1 -1
  116. package/chunk/{index-oMg5zy_2.js → index-F6_JySe5.js} +54 -54
  117. package/chunk/index-F6_JySe5.js.map +1 -0
  118. package/chunk/{index-2QV6VPA3.js → index-YmkMflXj.js} +7 -7
  119. package/chunk/{index-C9bZ7enn.js.map → index-YmkMflXj.js.map} +1 -1
  120. package/chunk/{index-C0jDbJPp.js → index-eYM75vHB.js} +57 -54
  121. package/chunk/index-eYM75vHB.js.map +1 -0
  122. package/chunk/index-iZ8pO5if.js +31 -0
  123. package/chunk/index-iZ8pO5if.js.map +1 -0
  124. package/chunk/is-CUuXi4qZ.js +4 -4
  125. package/chunk/it-BNmynTsg.js +4 -4
  126. package/chunk/iw-FGzquR_X.js +4 -4
  127. package/chunk/ja-YgUpXA0l.js +4 -4
  128. package/chunk/ko-CuNS5J_M.js +4 -4
  129. package/chunk/lo-BEf8aFjR.js +4 -4
  130. package/chunk/lt-DvX1gz1a.js +4 -4
  131. package/chunk/ms-gSqM-Mfi.js +4 -4
  132. package/chunk/nl-BE-Cid5LFlN.js +4 -4
  133. package/chunk/nl-CUUTswxa.js +4 -4
  134. package/chunk/no-BvUqlShV.js +4 -4
  135. package/chunk/pl-CU8leZhI.js +4 -4
  136. package/chunk/pt-BR-CboWpHFi.js +4 -4
  137. package/chunk/pt-BnK7xRT_.js +4 -4
  138. package/chunk/ro-BfAyXxSW.js +4 -4
  139. package/chunk/ru-BD-YGPuQ.js +4 -4
  140. package/chunk/sk-CqsabpdG.js +4 -4
  141. package/chunk/sl-CeVAf0S_.js +4 -4
  142. package/chunk/sr-DSaHxcCQ.js +4 -4
  143. package/chunk/sv-DOyWYViy.js +4 -4
  144. package/chunk/sw-2Q7Jo6wp.js +4 -4
  145. package/chunk/th-BZ6F9sPf.js +4 -4
  146. package/chunk/tr-om80xrv2.js +4 -4
  147. package/chunk/uk-Dxugux8e.js +4 -4
  148. package/chunk/ur-OBILUeZ7.js +4 -4
  149. package/chunk/{useCollectFieldsEndpoint-BsY8WlOg.js → useCollectFieldsEndpoint-C5fsaYJe.js} +11 -11
  150. package/chunk/{useCollectFieldsEndpoint-BsY8WlOg.js.map → useCollectFieldsEndpoint-C5fsaYJe.js.map} +1 -1
  151. package/chunk/{useCollectFieldsEndpoint-DeICm6Vb.js → useCollectFieldsEndpoint-kmLFyUA-.js} +11 -11
  152. package/chunk/{useCollectFieldsEndpoint-DeICm6Vb.js.map → useCollectFieldsEndpoint-kmLFyUA-.js.map} +1 -1
  153. package/chunk/{useEmailFirstExperiment-3uKuefem.js → useEmailFirstExperiment-CSa3DQll.js} +30 -29
  154. package/chunk/{useEmailFirstExperiment-3uKuefem.js.map → useEmailFirstExperiment-CSa3DQll.js.map} +1 -1
  155. package/chunk/{useEmailFirstExperiment-B1_E_D0z.js → useEmailFirstExperiment-DZ1B78ke.js} +30 -29
  156. package/chunk/{useEmailFirstExperiment-B1_E_D0z.js.map → useEmailFirstExperiment-DZ1B78ke.js.map} +1 -1
  157. package/chunk/vi-BOR2GuRI.js +4 -4
  158. package/chunk/zh-HK-BI-IHOGG.js +4 -4
  159. package/chunk/zh-eoMG5RFC.js +4 -4
  160. package/chunk/zu-D_A8wcJW.js +4 -4
  161. package/dev/programIds.d.ts +1 -1
  162. package/es6.css +4 -4
  163. package/jslib.js +15 -15
  164. package/lib/{EmailLoopPending-CqGboDpE.js → EmailLoopPending-Dv5RU8aW.js} +8 -8
  165. package/lib/{EmailLoopPending-CqGboDpE.js.map → EmailLoopPending-Dv5RU8aW.js.map} +1 -1
  166. package/lib/{LicensedProfessionalOrganizationComponent-DZ-zCLNb.js → LicensedProfessionalOrganizationComponent-DtoPR91l.js} +5 -5
  167. package/lib/{LicensedProfessionalOrganizationComponent-DZ-zCLNb.js.map → LicensedProfessionalOrganizationComponent-DtoPR91l.js.map} +1 -1
  168. package/lib/{Onfido-AyvUk6wg.js → Onfido-CMH3IUna.js} +28 -28
  169. package/lib/{Onfido-AyvUk6wg.js.map → Onfido-CMH3IUna.js.map} +1 -1
  170. package/lib/StepCollectMilitaryStatusComponent-DGfjdYFR.js +11 -0
  171. package/lib/{StepCollectMilitaryStatusComponent-BdghJG7J.js.map → StepCollectMilitaryStatusComponent-DGfjdYFR.js.map} +1 -1
  172. package/lib/{StepIDCheckLoopOnfido-C6a2v64o.js → StepIDCheckLoopOnfido-DiSAKwu6.js} +5 -5
  173. package/lib/{StepIDCheckLoopOnfido-C6a2v64o.js.map → StepIDCheckLoopOnfido-DiSAKwu6.js.map} +1 -1
  174. package/lib/{StepIDCheckLoopRegula-B4gdB1au.js → StepIDCheckLoopRegula-Cbr1wxzD.js} +16 -17
  175. package/lib/StepIDCheckLoopRegula-Cbr1wxzD.js.map +1 -0
  176. package/lib/{StepInactiveMilitaryPersonalInfoComponent-DIS37EQl.js → StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js} +44 -44
  177. package/lib/{StepInactiveMilitaryPersonalInfoComponent-DIS37EQl.js.map → StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js.map} +1 -1
  178. package/lib/VerificationApiUtils-BaeyxwKQ.js +21 -0
  179. package/lib/{VerificationApiUtils-Dec-3NxE.js.map → VerificationApiUtils-BaeyxwKQ.js.map} +1 -1
  180. package/lib/ar-CtJ_9k3U.js +4 -4
  181. package/lib/bg-CWxXfiDq.js +4 -4
  182. package/lib/bn-IN-Dpq_hCqt.js +4 -4
  183. package/lib/cs-HevyelX7.js +4 -4
  184. package/lib/da-6QXhWjWH.js +4 -4
  185. package/lib/de-ChuCvRLv.js +4 -4
  186. package/lib/el-3IAhABcN.js +4 -4
  187. package/lib/en-GB-ByNBaer-.js +4 -4
  188. package/lib/es-CL_dUc9X.js +4 -4
  189. package/lib/es-ES-CW4At4Ol.js +4 -4
  190. package/lib/{es6-CNbgOM7D.js → es6-DIUKg5Yl.js} +12458 -13664
  191. package/lib/es6-DIUKg5Yl.js.map +1 -0
  192. package/lib/fi-D8cIebkk.js +4 -4
  193. package/lib/fr-BDU-1C6f.js +4 -4
  194. package/lib/fr-CA-Dc02rv8D.js +4 -4
  195. package/lib/ga-P7eP-INQ.js +4 -4
  196. package/lib/hi-IN-DlmwjoqH.js +4 -4
  197. package/lib/hr-CT_VP_lm.js +4 -4
  198. package/lib/hu-I8Z1uXsR.js +4 -4
  199. package/lib/id-CUPTGKOT.js +4 -4
  200. package/lib/{index-CwEH1Xqn.js → index-348MFV_0.js} +5 -5
  201. package/lib/{index-CwEH1Xqn.js.map → index-348MFV_0.js.map} +1 -1
  202. package/lib/{index-CF4-uNPC.js → index-5FO_J7_Z.js} +27 -27
  203. package/lib/{index-CF4-uNPC.js.map → index-5FO_J7_Z.js.map} +1 -1
  204. package/lib/{index-DiEccR2E.js → index-B8tJDCPk.js} +27 -27
  205. package/lib/{index-DiEccR2E.js.map → index-B8tJDCPk.js.map} +1 -1
  206. package/lib/{index-Da-h4i4f.js → index-BNxZc3yj.js} +20 -20
  207. package/lib/{index-Da-h4i4f.js.map → index-BNxZc3yj.js.map} +1 -1
  208. package/lib/{index-CFbGwQvV.js → index-BR7Obj6X.js} +32 -32
  209. package/{chunk/index-CgBENXRP.js.map → lib/index-BR7Obj6X.js.map} +1 -1
  210. package/lib/index-BfZIEtAp.js +174 -0
  211. package/lib/index-BfZIEtAp.js.map +1 -0
  212. package/lib/{index-BpAwd4yZ.js → index-BwlcJZwR.js} +8 -8
  213. package/{chunk/index-DWjrZunN.js.map → lib/index-BwlcJZwR.js.map} +1 -1
  214. package/lib/{index-CFdjELC4.js → index-CEOPDO2Y.js} +30 -27
  215. package/lib/index-CEOPDO2Y.js.map +1 -0
  216. package/lib/{index-U8Xg6WS9.js → index-CGjXCGni.js} +20 -20
  217. package/lib/{index-U8Xg6WS9.js.map → index-CGjXCGni.js.map} +1 -1
  218. package/lib/index-CLowb6Wx.js +11 -0
  219. package/lib/index-CLowb6Wx.js.map +1 -0
  220. package/lib/{index-Bs8gT2Ki.js → index-CT2Bcg4x.js} +5 -5
  221. package/lib/{index-Bs8gT2Ki.js.map → index-CT2Bcg4x.js.map} +1 -1
  222. package/lib/{index-BgxQ03Lw.js → index-CUzHMJTj.js} +26 -26
  223. package/lib/{index-BgxQ03Lw.js.map → index-CUzHMJTj.js.map} +1 -1
  224. package/lib/{index-Dz5MfyRl.js → index-CeXTXAJi.js} +60 -60
  225. package/lib/{index-Dz5MfyRl.js.map → index-CeXTXAJi.js.map} +1 -1
  226. package/lib/index-DIkWpujR.js +4 -4
  227. package/lib/index-DIkWpujR.js.map +1 -1
  228. package/lib/index-DPs8xffH.js +11 -0
  229. package/lib/index-DPs8xffH.js.map +1 -0
  230. package/lib/index-DWo3Cysb.js +11 -0
  231. package/lib/index-DWo3Cysb.js.map +1 -0
  232. package/lib/index-DXdjJ-86.js +28 -0
  233. package/lib/{index-BqMoknWH.js.map → index-DXdjJ-86.js.map} +1 -1
  234. package/lib/{index-JHJAgNn2.js → index-DdQXDuhi.js} +9 -9
  235. package/lib/{index-JHJAgNn2.js.map → index-DdQXDuhi.js.map} +1 -1
  236. package/lib/{index-s1MF80_2.js → index-LZPXbSqW.js} +402 -385
  237. package/lib/index-LZPXbSqW.js.map +1 -0
  238. package/lib/{index-DIJ3ZLm3.js → index-MzEDmZWe.js} +16 -16
  239. package/{chunk/index-DPEoeYI6.js.map → lib/index-MzEDmZWe.js.map} +1 -1
  240. package/lib/index-TKSJ1nbf.js +11 -0
  241. package/lib/index-TKSJ1nbf.js.map +1 -0
  242. package/lib/{index-CWWXURVN.js → index-UiGEZV81.js} +5 -5
  243. package/{chunk/index-D3dphMnl.js.map → lib/index-UiGEZV81.js.map} +1 -1
  244. package/lib/{index-CHCJ1GKm.js → index-ed6oGI-U.js} +7 -7
  245. package/lib/{index-CHCJ1GKm.js.map → index-ed6oGI-U.js.map} +1 -1
  246. package/lib/{index-B-vvoe4K.js → index-s5CW4RjM.js} +61 -61
  247. package/lib/index-s5CW4RjM.js.map +1 -0
  248. package/lib/is-CUuXi4qZ.js +4 -4
  249. package/lib/it-BNmynTsg.js +4 -4
  250. package/lib/iw-FGzquR_X.js +4 -4
  251. package/lib/ja-YgUpXA0l.js +4 -4
  252. package/lib/ko-CuNS5J_M.js +4 -4
  253. package/lib/lo-BEf8aFjR.js +4 -4
  254. package/lib/lt-DvX1gz1a.js +4 -4
  255. package/lib/ms-gSqM-Mfi.js +4 -4
  256. package/lib/nl-BE-Cid5LFlN.js +4 -4
  257. package/lib/nl-CUUTswxa.js +4 -4
  258. package/lib/no-BvUqlShV.js +4 -4
  259. package/lib/pl-CU8leZhI.js +4 -4
  260. package/lib/pt-BR-CboWpHFi.js +4 -4
  261. package/lib/pt-BnK7xRT_.js +4 -4
  262. package/lib/ro-BfAyXxSW.js +4 -4
  263. package/lib/ru-BD-YGPuQ.js +4 -4
  264. package/lib/sk-CqsabpdG.js +4 -4
  265. package/lib/sl-CeVAf0S_.js +4 -4
  266. package/lib/sr-DSaHxcCQ.js +4 -4
  267. package/lib/sv-DOyWYViy.js +4 -4
  268. package/lib/sw-2Q7Jo6wp.js +4 -4
  269. package/lib/th-BZ6F9sPf.js +4 -4
  270. package/lib/tr-om80xrv2.js +4 -4
  271. package/lib/uk-Dxugux8e.js +4 -4
  272. package/lib/ur-OBILUeZ7.js +4 -4
  273. package/lib/{useCollectFieldsEndpoint-DLjeRtxA.js → useCollectFieldsEndpoint-CS1fVgEX.js} +6 -6
  274. package/lib/{useCollectFieldsEndpoint-DLjeRtxA.js.map → useCollectFieldsEndpoint-CS1fVgEX.js.map} +1 -1
  275. package/lib/{useEmailFirstExperiment-RXZazerr.js → useEmailFirstExperiment-Co9DPGhK.js} +7 -6
  276. package/lib/{useEmailFirstExperiment-RXZazerr.js.map → useEmailFirstExperiment-Co9DPGhK.js.map} +1 -1
  277. package/lib/vi-BOR2GuRI.js +4 -4
  278. package/lib/zh-HK-BI-IHOGG.js +4 -4
  279. package/lib/zh-eoMG5RFC.js +4 -4
  280. package/lib/zu-D_A8wcJW.js +4 -4
  281. package/package.json +4 -4
  282. package/sheerid-install.css +4 -4
  283. package/sheerid-install.js +6 -6
  284. package/sheerid-install.js.map +1 -1
  285. package/sheerid.css +5 -5
  286. package/sheerid.js +16329 -17918
  287. package/sheerid.js.map +1 -1
  288. package/src/components/AcceptableUploadsComponent/AcceptableUploadsComponent.d.ts +1 -1
  289. package/src/components/AcceptableUploadsComponent/getLegacyAcceptableUploads.d.ts +1 -1
  290. package/src/components/Button/Button.d.ts +0 -1
  291. package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +1 -2
  292. package/src/components/CustomCssContext/CustomCssContextProvider.d.ts +1 -1
  293. package/src/components/DateComponent/DateComponent.d.ts +2 -2
  294. package/src/components/ExtraMessage.d.ts +1 -1
  295. package/src/components/FaqLink/FaqLinkComponent.d.ts +1 -1
  296. package/src/components/FeatureFlags/ExperimentComponent/ExperimentComponent.d.ts +4 -4
  297. package/src/components/FetchOrganizationsComponent.d.ts +1 -1
  298. package/src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.d.ts +1 -1
  299. package/src/components/FormFields/Address/AddressComponent.d.ts +2 -2
  300. package/src/components/FormFields/BirthDate/BirthDateComponent.d.ts +1 -1
  301. package/src/components/FormFields/BranchOfService/BranchOfServiceComponent.d.ts +2 -2
  302. package/src/components/FormFields/CVECNumber/CVECNumberComponent.d.ts +2 -2
  303. package/src/components/FormFields/ChangeLocale/ChangeLocaleComponent.d.ts +3 -3
  304. package/src/components/FormFields/City/City.d.ts +2 -2
  305. package/src/components/FormFields/CollegeName/CollegeNameComponent.d.ts +2 -2
  306. package/src/components/FormFields/Company/CompanyComponent.d.ts +2 -2
  307. package/src/components/FormFields/Country/CountryComponent.d.ts +2 -2
  308. package/src/components/FormFields/Country/CountryComponentWrapper.d.ts +2 -2
  309. package/src/components/FormFields/DischargeDate/DischargeDateComponent.d.ts +1 -1
  310. package/src/components/FormFields/DriverLicenseNumber/DriverLicenseNumberComponent.d.ts +2 -2
  311. package/src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.d.ts +2 -2
  312. package/src/components/FormFields/Email/EmailComponent.d.ts +2 -2
  313. package/src/components/FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent.d.ts +1 -1
  314. package/src/components/FormFields/EmailFirstCollectInfo/useEmailFirstExperiment.d.ts +1 -1
  315. package/src/components/FormFields/FirstName/FirstNameComponent.d.ts +2 -2
  316. package/src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.d.ts +2 -2
  317. package/src/components/FormFields/FormFieldCustom/FormFieldCustom.d.ts +2 -2
  318. package/src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.d.ts +1 -1
  319. package/src/components/FormFields/FormFieldRadio/FormFieldRadio.d.ts +2 -2
  320. package/src/components/FormFields/FormFieldSelect/FormFieldSelect.d.ts +2 -2
  321. package/src/components/FormFields/FormFieldText/FormFieldText.d.ts +1 -1
  322. package/src/components/FormFields/FormFieldTypeahead/FormFieldTypeahead.d.ts +2 -2
  323. package/src/components/FormFields/LastName/LastNameComponent.d.ts +2 -2
  324. package/src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.d.ts +2 -2
  325. package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.d.ts +2 -2
  326. package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.d.ts +1 -1
  327. package/src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.d.ts +2 -2
  328. package/src/components/FormFields/MemberId/MemberIdComponent.d.ts +2 -2
  329. package/src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.d.ts +2 -2
  330. package/src/components/FormFields/OptIn/OptInComponent.d.ts +1 -1
  331. package/src/components/FormFields/OverrideCode/OverrideCodeComponent.d.ts +2 -2
  332. package/src/components/FormFields/PhoneNumber/PhoneNumberComponent.d.ts +2 -2
  333. package/src/components/FormFields/PostalCode/PostalCodeComponent.d.ts +2 -2
  334. package/src/components/FormFields/SMSCode/SMSCodeComponent.d.ts +2 -2
  335. package/src/components/FormFields/SSN/SSN.d.ts +2 -2
  336. package/src/components/FormFields/State/State.d.ts +2 -2
  337. package/src/components/FormFields/State/StateSelectComponent.d.ts +2 -2
  338. package/src/components/FormFields/Status/StatusComponent.d.ts +2 -2
  339. package/src/components/FormFields/TeacherSchool/TeacherSchoolComponent.d.ts +2 -2
  340. package/src/components/FormFooter/FooterTextComponent.d.ts +1 -1
  341. package/src/components/FormFooter/FormFooterComponent.d.ts +1 -1
  342. package/src/components/FormHeader/FormHeaderComponent.d.ts +1 -1
  343. package/src/components/FormHeader/StepHeaders/PersonalInfoHeaderComponent.d.ts +1 -1
  344. package/src/components/FormInputs/InputRadio/InputRadio.d.ts +1 -1
  345. package/src/components/FormInputs/InputSelect/InputSelectComponent.d.ts +1 -1
  346. package/src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.d.ts +1 -1
  347. package/src/components/FormInputs/PostalCodeInput/PostalCodeInputComponent.d.ts +1 -1
  348. package/src/components/FormInputs/Select/SelectComponent.d.ts +1 -1
  349. package/src/components/FormInputs/Select/SelectList/SelectListComponent.d.ts +1 -1
  350. package/src/components/FormInputs/Typeahead/TypeaheadComponent.d.ts +1 -1
  351. package/src/components/FormInputs/Typeahead/TypeaheadComponentHelper.d.ts +1 -1
  352. package/src/components/HowDoesVerifyingWork/HowDoesVerifyingWorkComponent.d.ts +1 -1
  353. package/src/components/Layout/Layout.d.ts +1 -1
  354. package/src/components/LoadStepComponent.d.ts +1 -1
  355. package/src/components/LoadingScreen/LoadingScreenComponent.d.ts +1 -1
  356. package/src/components/LoadingScreen/LoadingScreenMessage.d.ts +1 -1
  357. package/src/components/LogoComponent/LogoComponent.d.ts +1 -1
  358. package/src/components/NewVerificationComponent.d.ts +3 -3
  359. package/src/components/NewVerificationInnerComponent.d.ts +1 -1
  360. package/src/components/OrganizationList/OrganizationListComponent.d.ts +1 -1
  361. package/src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.d.ts +2 -2
  362. package/src/components/PersonalInfoStepWrapper/PersonalInfoStepWrapper.d.ts +1 -2
  363. package/src/components/PoweredBy/PoweredByComponent.d.ts +1 -1
  364. package/src/components/PrivacyPolicyLink/PrivacyPolicyLinkComponent.d.ts +2 -2
  365. package/src/components/RewardsRemaining/RewardsRemainingComponent.d.ts +1 -1
  366. package/src/components/SingleSignOnComponent.d.ts +2 -2
  367. package/src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.d.ts +2 -2
  368. package/src/components/StepCollectIdentifier/StepCollectIdentifierComponent.d.ts +1 -1
  369. package/src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.d.ts +2 -2
  370. package/src/components/StepConsolation/StepConsolationComponent.d.ts +1 -1
  371. package/src/components/StepDocUpload/StepDocUploadComponent.d.ts +1 -1
  372. package/src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.d.ts +1 -1
  373. package/src/components/StepEmailLoop/EmailLoopPending.d.ts +1 -1
  374. package/src/components/StepEmailLoop/StepEmailLoopComponent.d.ts +2 -2
  375. package/src/components/StepEmploymentPersonalInfo/StepEmploymentPersonalInfoComponent.d.ts +1 -1
  376. package/src/components/StepError/StepErrorComponent.d.ts +2 -2
  377. package/src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.d.ts +1 -1
  378. package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.d.ts +1 -1
  379. package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.d.ts +1 -1
  380. package/src/components/StepIDCheckLoop/Onfido/IdCheckLoopOnfido/IdCheckLoopOnfido.d.ts +2 -2
  381. package/src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.d.ts +1 -1
  382. package/src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.d.ts +1 -1
  383. package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.d.ts +1 -1
  384. package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/IdCheckLoopRegula.d.ts +1 -1
  385. package/src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.d.ts +1 -1
  386. package/src/components/StepIDCheckLoop/StepIDCheckLoopComponent.d.ts +1 -1
  387. package/src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.d.ts +1 -1
  388. package/src/components/StepIdentityPersonalInfo/StepGeneralIdentityPersonalInfoComponent.d.ts +1 -1
  389. package/src/components/StepIdentityPersonalInfo/StepHybridIdentityPersonalInfoComponent.d.ts +1 -1
  390. package/src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.d.ts +1 -1
  391. package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.d.ts +1 -1
  392. package/src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.d.ts +1 -1
  393. package/src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.d.ts +1 -1
  394. package/src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.d.ts +1 -1
  395. package/src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.d.ts +1 -1
  396. package/src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.d.ts +1 -1
  397. package/src/components/StepOverrideComponent/StepOverrideComponent.d.ts +2 -2
  398. package/src/components/StepPending/ReviewPendingComponent.d.ts +1 -1
  399. package/src/components/StepPending/SingleSignOnPendingComponent.d.ts +2 -2
  400. package/src/components/StepPending/StepPendingComponent.d.ts +1 -1
  401. package/src/components/StepPending/ThirdPartyLoopPendingComponent.d.ts +1 -1
  402. package/src/components/StepSMSLoop/StepSMSLoopComponent.d.ts +2 -2
  403. package/src/components/StepSSO/StepSSOComponent.d.ts +1 -1
  404. package/src/components/StepSeniorPersonalInfo/StepSeniorPersonalInfoComponent.d.ts +1 -1
  405. package/src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.d.ts +1 -1
  406. package/src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.d.ts +1 -1
  407. package/src/components/StepSuccess/StepSuccessComponent.d.ts +1 -1
  408. package/src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.d.ts +1 -1
  409. package/src/components/StepThirdPartyLoop/StepThirdPartyLoopComponent.d.ts +3 -3
  410. package/src/components/TestModeFlag/TestModeFlagComponent.d.ts +1 -1
  411. package/src/components/UploadInfoComponent/UploadInfoComponent.d.ts +1 -1
  412. package/src/components/VerificationForm/VerificationFormComponent.d.ts +1 -1
  413. package/src/es5Bindings/VerificationFormEs5.d.ts +1 -1
  414. package/src/lib/ProgramTheme/programThemeGetters.d.ts +1 -1
  415. package/src/lib/ServerApi/ApiUrls.d.ts +1 -1
  416. package/src/lib/ServerApi/VerificationApiClient.d.ts +1 -1
  417. package/src/lib/ServerApi/VerificationHelpRequestApi.d.ts +1 -1
  418. package/src/lib/VerificationService/VerificationServiceActions.d.ts +1 -1
  419. package/src/lib/VerificationService/ViewModel.d.ts +5 -3
  420. package/src/lib/hooks/index.d.ts +1 -1
  421. package/src/lib/installScript/_mysheerid-preview.d.ts +2 -2
  422. package/src/lib/installScript/affinity.d.ts +1 -1
  423. package/src/lib/installScript/iframe.d.ts +1 -1
  424. package/src/lib/installScript/index.d.ts +3 -3
  425. package/src/lib/installScript/modal.d.ts +1 -1
  426. package/src/lib/intl/localized-messages/en-US.json.d.ts +1 -1
  427. package/src/lib/state/contextHooks.d.ts +1 -1
  428. package/src/lib/types/runtimeTypes.d.ts +1 -1
  429. package/src/lib/types/types.d.ts +12 -8
  430. package/src/lib/utils/customTagReplacer/index.d.ts +1 -1
  431. package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +2 -2
  432. package/src/lib/utils/structures/FormSelectChoice.d.ts +1 -1
  433. package/types-reference.zip +0 -0
  434. package/chunk/StepIDCheckLoopRegula-B2frgNDw.js.map +0 -1
  435. package/chunk/StepIDCheckLoopRegula-VCHUckkA.js.map +0 -1
  436. package/chunk/index-BIn_Jf1h.js +0 -48
  437. package/chunk/index-BIn_Jf1h.js.map +0 -1
  438. package/chunk/index-BOpxl8V9.js +0 -167
  439. package/chunk/index-BOpxl8V9.js.map +0 -1
  440. package/chunk/index-BPEB_HHW.js.map +0 -1
  441. package/chunk/index-C0jDbJPp.js.map +0 -1
  442. package/chunk/index-CfKAGYGb.js +0 -52
  443. package/chunk/index-CfKAGYGb.js.map +0 -1
  444. package/chunk/index-DZsw9-0u.js.map +0 -1
  445. package/chunk/index-DtoxnCtM.js +0 -171
  446. package/chunk/index-DtoxnCtM.js.map +0 -1
  447. package/chunk/index-NjSUlAP4.js.map +0 -1
  448. package/chunk/index-RmF57u5_.js.map +0 -1
  449. package/chunk/index-oMg5zy_2.js.map +0 -1
  450. package/lib/StepCollectMilitaryStatusComponent-BdghJG7J.js +0 -11
  451. package/lib/StepIDCheckLoopRegula-B4gdB1au.js.map +0 -1
  452. package/lib/VerificationApiUtils-Dec-3NxE.js +0 -23
  453. package/lib/es6-CNbgOM7D.js.map +0 -1
  454. package/lib/index-B-vvoe4K.js.map +0 -1
  455. package/lib/index-BUb81vE5.js +0 -11
  456. package/lib/index-BUb81vE5.js.map +0 -1
  457. package/lib/index-BqMoknWH.js +0 -28
  458. package/lib/index-BvZhF_Rn.js +0 -168
  459. package/lib/index-BvZhF_Rn.js.map +0 -1
  460. package/lib/index-CFdjELC4.js.map +0 -1
  461. package/lib/index-DFexphfg.js +0 -11
  462. package/lib/index-DFexphfg.js.map +0 -1
  463. package/lib/index-DbevfyP-.js +0 -11
  464. package/lib/index-DbevfyP-.js.map +0 -1
  465. package/lib/index-aInot7yT.js +0 -11
  466. package/lib/index-aInot7yT.js.map +0 -1
  467. package/lib/index-s1MF80_2.js.map +0 -1
@@ -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.105.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1746202258802
9
+ * BUILD_DATE: Fri May 02 2025 16:10:58 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
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,EA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A,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,E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AA;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.105.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1746202258802
9
+ * BUILD_DATE: Fri May 02 2025 16:10:58 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
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,YAAY;AAClC,IAAAC,EAAO,KAAK,kEAAkE;AACxE,UAAAC,IAAYC,EAAQV,GAAW,MAAM;AAAA,IAAA,CAAE;AAC7C,WAAOD,EAAoB;AAAA,MACzBY,EAAsB;AAAA,MACtBF;AAAA,MACAV,EAAoB;AAAA,IACtB;AAAA,EACF;AAEA,SAEIa,gBAAAA,EAAA,KAAAC,YAAA,EAAA,UAAA;AAAA,IAACD,gBAAAA,EAAAA,KAAA,OAAA,EAAI,WAAU,gCACb,UAAA;AAAA,MAACA,gBAAAA,EAAAA,KAAA,OAAA,EAAI,MAAK,QACR,UAAA;AAAA,QAACE,gBAAAA,EAAAA,IAAA,OAAA,EAAI,WAAU,4CACb,UAAAA,gBAAAA,EAAA;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,qBAAAhB;AAAA,YACA,cACEe,gBAAAA,EAAA;AAAA,cAAC;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AAA,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","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,EAAA,GAGIC,IAAgB,CAACC,MAA8B;AACnD,IAAAN,EAAoB,gBAAgB,EAAE,GAAGC,GAAW,mBAAAK,EAAmB,CAAA,GACvEC;AAAA,MACE;AAAA,MACAD;AAAA,MACAN;AAAA,IAAA;AAAA,EACF,GAGIQ,IAAkB,YAAY;AAClC,IAAAC,EAAO,KAAK,kEAAkE;AACxE,UAAAC,IAAYC,EAAQV,GAAW,MAAM;AAAA,IAAA,CAA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BAAe;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,cACjB;AAAA,YAAA;AAAA,UAAA,GAEJ;AAAA,QAAA,GACF;AAAA,QAEAF,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,qBAAqB,CAAA;AAAA,MAAA,GACtC;AAAA,IAAA,GACF;AAAA,IACAA,gBAAAA,MAACM,KAAW,qBAAArB,GAA0C;AAAA,EACxD,EAAA,CAAA;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,GAA0C,EAEzE,CAAA;AAEJ,GAEayB,IAAyBC,EAAWJ,CAAa;"}
@@ -1,14 +1,14 @@
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.105.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746202200333
5
+ * BUILD_DATE: Fri May 02 2025 16:10:00 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
7
7
  */
8
- 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 "../sheerid.js";
8
+ 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 "../sheerid.js";
9
9
  const G = ({ verificationService: e }) => {
10
10
  var p, u, C, b, x, h, N;
11
- const o = e.viewModel, { fieldValidationErrors: t } = e, r = e.verificationResponse, M = f(r), g = P(), d = (s, j) => {
11
+ const o = e.viewModel, { fieldValidationErrors: t } = e, r = e.verificationResponse, M = f(r), g = w(), d = (s, j) => {
12
12
  const E = z(
13
13
  o,
14
14
  (i) => {
@@ -26,7 +26,7 @@ const G = ({ verificationService: e }) => {
26
26
  step: r.currentStep,
27
27
  children: [
28
28
  /* @__PURE__ */ a.jsx(
29
- k,
29
+ P,
30
30
  {
31
31
  verificationService: e,
32
32
  classNameIdentifier: "mover-personal-info"
@@ -46,7 +46,7 @@ const G = ({ verificationService: e }) => {
46
46
  }
47
47
  ),
48
48
  /* @__PURE__ */ a.jsx(
49
- B,
49
+ k,
50
50
  {
51
51
  value: o.lastName,
52
52
  isErrored: !!t.lastName,
@@ -58,7 +58,7 @@ const G = ({ verificationService: e }) => {
58
58
  )
59
59
  ] }),
60
60
  /* @__PURE__ */ a.jsx(
61
- L,
61
+ B,
62
62
  {
63
63
  value: o.address1,
64
64
  isErrored: !!t.address1,
@@ -72,7 +72,7 @@ const G = ({ verificationService: e }) => {
72
72
  }
73
73
  ),
74
74
  /* @__PURE__ */ a.jsx(
75
- V,
75
+ L,
76
76
  {
77
77
  value: o.postalCode,
78
78
  isErrored: !!t.postalCode,
@@ -83,7 +83,7 @@ const G = ({ verificationService: e }) => {
83
83
  }
84
84
  ),
85
85
  /* @__PURE__ */ a.jsx(
86
- A,
86
+ V,
87
87
  {
88
88
  value: o.email,
89
89
  isErrored: !!t.email,
@@ -97,12 +97,12 @@ const G = ({ verificationService: e }) => {
97
97
  onChange: (s) => {
98
98
  d("email", s), l("email", s, e);
99
99
  },
100
- onKeyDown: (s) => q(s),
100
+ onKeyDown: (s) => A(s),
101
101
  disabled: (x = n("email")) == null ? void 0 : x.disabled
102
102
  }
103
103
  ),
104
104
  e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ a.jsx(
105
- D,
105
+ q,
106
106
  {
107
107
  isRequired: !!e.programTheme.smsLoopEnabled,
108
108
  value: o.phoneNumber,
@@ -114,9 +114,9 @@ const G = ({ verificationService: e }) => {
114
114
  disabled: (h = n("phoneNumber")) == null ? void 0 : h.disabled
115
115
  }
116
116
  ) : null,
117
- g.customFormFields.map((s) => /* @__PURE__ */ a.jsx(H, { config: s, verificationService: e })),
117
+ g.customFormFields.map((s) => /* @__PURE__ */ a.jsx(D, { config: s, verificationService: e })),
118
118
  /* @__PURE__ */ a.jsx(
119
- K,
119
+ H,
120
120
  {
121
121
  verificationService: e,
122
122
  isErrored: !!t.marketConsentValue,
@@ -130,11 +130,11 @@ const G = ({ verificationService: e }) => {
130
130
  disabled: (N = n("marketConsentValue")) == null ? void 0 : N.disabled
131
131
  }
132
132
  ),
133
- /* @__PURE__ */ a.jsx(O, { verificationService: e, suffix: "CollectAboveSubmit" }),
133
+ /* @__PURE__ */ a.jsx(K, { verificationService: e, suffix: "CollectAboveSubmit" }),
134
134
  /* @__PURE__ */ a.jsx(
135
- W,
135
+ O,
136
136
  {
137
- step: w.collectMoverPersonalInfo,
137
+ step: W.collectMoverPersonalInfo,
138
138
  verificationService: e,
139
139
  viewModel: o,
140
140
  failedInstantMatch: M,
@@ -1 +1 @@
1
- {"version":3,"file":"index-D7dDB9pN.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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F;AAAA,YACA,qBAAqBC,EAAU,iBAAiBA,EAAU,cAAc;AAAA,YACxE,WAAUoC,IAAAf,EAAwB,aAAa,MAArC,gBAAAe,EAAwC;AAAA,UAAA;AAAA,QAAA,IAElD;AAAA,QAEH/B,EAAQ,iBAAiB,IAAI,CAACgC,MAC5BrB,gBAAAA,MAAAsB,GAAA,EAAgB,QAAAD,GAAgB,qBAAAtC,EAAA,CAA0C,CAC5E;AAAA,QAEDiB,gBAAAA,EAAA;AAAA,UAACuB;AAAAA,UAAA;AAAA,YACC,qBAAAxC;AAAA,YACA,WAAW,CAAC,CAACE,EAAsB;AAAA,YACnC,UAAU,CAACqB,MAAa;AACtB,cAAAf,EAAqB,YAAY;AAAA,gBAC/B,GAAGR,EAAoB,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,YAAA;AAAA,UACjB;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAAA,EACF;AAEJ,GAEaiB,IAAiCC,EAAW/C,CAAqB;"}
1
+ {"version":3,"file":"index-Dba2dHcR.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,MAC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- * BUILD_DATE: Thu May 01 2025 19:33:06 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: a18837a69c59275ce314d94cf6208e53b6620598
3
+ * VERSION: 2.105.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746202200333
5
+ * BUILD_DATE: Fri May 02 2025 16:10:00 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
7
7
  */
8
- import { j as e, L as r, a as s, m as c, n as p, C as m } from "../sheerid.js";
9
- const u = ({ verificationService: o }) => {
10
- const d = o.verificationResponse.consolationRewardCode || "${consolationRewardCode}", i = o.programTheme.config.offerType === "noCode", { verificationId: n } = o.verificationResponse, { rewardDisplay: t } = o.programTheme.config, l = !i && !!t.length;
8
+ import { j as e, n as r, a as o, o as c, p, C as m } from "../sheerid.js";
9
+ const u = ({ verificationService: s }) => {
10
+ const d = s.verificationResponse.consolationRewardCode || "${consolationRewardCode}", i = s.programTheme.config.offerType === "noCode", { verificationId: n } = s.verificationResponse, { rewardDisplay: t } = s.programTheme.config, l = !i && !!t.length;
11
11
  return /* @__PURE__ */ e.jsxs("div", { id: "sid-step-consolation", className: "sid-l-container", children: [
12
12
  /* @__PURE__ */ e.jsxs("div", { className: "sid-header sid-l-horz-center sid-l-space-top-md", children: [
13
- /* @__PURE__ */ e.jsx("div", { className: "sid-l-horz-center", children: /* @__PURE__ */ e.jsx(r, { verificationService: o }) }),
13
+ /* @__PURE__ */ e.jsx("div", { className: "sid-l-horz-center", children: /* @__PURE__ */ e.jsx(r, { verificationService: s }) }),
14
14
  /* @__PURE__ */ e.jsx(
15
15
  "div",
16
16
  {
@@ -18,7 +18,7 @@ const u = ({ verificationService: o }) => {
18
18
  id: "consolation-status",
19
19
  role: "alertdialog",
20
20
  children: /* @__PURE__ */ e.jsx(
21
- s,
21
+ o,
22
22
  {
23
23
  id: "step.consolation.title",
24
24
  defaultMessage: "Claim your offer",
@@ -28,7 +28,7 @@ const u = ({ verificationService: o }) => {
28
28
  }
29
29
  ),
30
30
  /* @__PURE__ */ e.jsx("div", { className: "sid-l-horz-center", children: /* @__PURE__ */ e.jsx(
31
- s,
31
+ o,
32
32
  {
33
33
  id: "step.consolation.subtitle",
34
34
  defaultMessage: "Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once."
@@ -56,9 +56,9 @@ const u = ({ verificationService: o }) => {
56
56
  m,
57
57
  {
58
58
  textToCopy: d,
59
- notificationText: /* @__PURE__ */ e.jsx(s, { id: "copied", defaultMessage: "Copied" }),
59
+ notificationText: /* @__PURE__ */ e.jsx(o, { id: "copied", defaultMessage: "Copied" }),
60
60
  children: /* @__PURE__ */ e.jsx(
61
- s,
61
+ o,
62
62
  {
63
63
  id: "step.success.copyCouponCode",
64
64
  defaultMessage: "Copy Coupon code"
@@ -68,7 +68,7 @@ const u = ({ verificationService: o }) => {
68
68
  ) })
69
69
  ] })) }),
70
70
  /* @__PURE__ */ e.jsx("div", { className: "sid-footer sid-l-horz-center sid-l-space-top-lg", children: /* @__PURE__ */ e.jsx(
71
- s,
71
+ o,
72
72
  {
73
73
  id: "rewardCodeEmailNotification",
74
74
  defaultMessage: "We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com."
@@ -79,8 +79,8 @@ const u = ({ verificationService: o }) => {
79
79
  {
80
80
  className: "sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text",
81
81
  role: "contentinfo",
82
- children: /* @__PURE__ */ e.jsx(s, { id: "companyName", defaultMessage: "{Company}", children: (a) => /* @__PURE__ */ e.jsx(
83
- s,
82
+ children: /* @__PURE__ */ e.jsx(o, { id: "companyName", defaultMessage: "{Company}", children: (a) => /* @__PURE__ */ e.jsx(
83
+ o,
84
84
  {
85
85
  id: "step.consolation.verificationOnly",
86
86
  defaultMessage: "Please direct any and all questions about this offer to {companyName}.",
@@ -1 +1 @@
1
- {"version":3,"file":"index-CWWXURVN.js","sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { VerificationService, ConsolationResponse } from \"../../lib/types/types\";\n\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\n\ninterface StepConsolationProps {\n verificationService: VerificationService;\n}\n\nconst StepConsolation = ({ verificationService }: StepConsolationProps) => {\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = verificationService.programTheme.config.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = verificationService.programTheme.config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n return (\n <div id=\"sid-step-consolation\" className=\"sid-l-container\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n\n <div\n className=\"sid-header__title sid-l-horz-center sid-l-space-top-md\"\n id=\"consolation-status\"\n role=\"alertdialog\"\n >\n <FormattedHTMLMessage\n id=\"step.consolation.title\"\n defaultMessage=\"Claim your offer\"\n tagName=\"h1\"\n />\n </div>\n\n <div className=\"sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.\"\n />\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={consolationRewardCode}\n src={getBarcodeUrl(verificationId, \"consolationRewardCode\", displayType)}\n />\n );\n return (\n <>\n <div\n className=\"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {consolationRewardCode}\n </div>\n <div className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\">\n <CopyToClipboard\n textToCopy={consolationRewardCode}\n notificationText={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy Coupon code\"\n />\n </CopyToClipboard>\n </div>\n </>\n );\n })}\n </div>\n )}\n\n <div className=\"sid-footer sid-l-horz-center sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"rewardCodeEmailNotification\"\n defaultMessage=\"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.\"\n />\n </div>\n\n <div\n className=\"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.verificationOnly\"\n defaultMessage=\"Please direct any and all questions about this offer to {companyName}.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepConsolationComponent = StepConsolation;\n"],"names":["StepConsolation","verificationService","consolationRewardCode","noCodeType","verificationId","rewardDisplay","showReward","jsxs","jsx","LogoComponent","FormattedHTMLMessage","displayType","RewardDisplayEnum","getBarcodeUrl","Fragment","CopyToClipboard","companyName","StepConsolationComponent"],"mappings":";;AAcA,MAAMA,IAAkB,CAAC,EAAE,qBAAAC,QAAgD;AACnE,QAAAC,IACHD,EAAoB,qBAA6C,yBAClE,4BAEIE,IAAaF,EAAoB,aAAa,OAAO,cAAc,UACnE,EAAE,gBAAAG,MAAmBH,EAAoB,sBAEzC,EAAE,eAAAI,EAAA,IAAkBJ,EAAoB,a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AAC,OAAI,EAAA,WAAU,wDACb,UAAAA,gBAAAA,EAAA;AAAA,QAACO;AAAA,QAAA;AAAA,UACC,YAAYb;AAAA,UACZ,kBAAmBM,gBAAAA,EAAA,IAAAE,GAAA,EAAqB,IAAG,UAAS,gBAAe,UAAS;AAAA,UAE5E,UAAAF,gBAAAA,EAAA;AAAA,YAACE;AAAA,YAAA;AAAA,cACC,IAAG;AAAA,cACH,gBAAe;AAAA,YAAA;AAAA,UAAA;AAAA,QACjB;AAAA,MAAA,EAEJ,CAAA;AAAA,IAAA,GACF,CAEH,GACH;AAAA,IAGFF,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,mDACb,UAAAA,gBAAAA,EAAA;AAAA,MAACE;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH,gBAAe;AAAA,MAAA;AAAA,IAAA,GAEnB;AAAA,IAEAF,gBAAAA,EAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,MAAK;AAAA,QAEL,gCAACE,GAAqB,EAAA,IAAG,eAAc,gBAAe,aACnD,WAACM,MACAR,gBAAAA,EAAA;AAAA,UAACE;AAAA,UAAA;AAAA,YACC,IAAG;AAAA,YACH,gBAAe;AAAA,YACf,QAAQ,EAAE,aAAAM,EAAY;AAAA,UAAA;AAAA,QAAA,EAG5B,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,GACF;AAEJ,GAEaC,IAA2BjB;"}
1
+ {"version":3,"file":"index-DhpucFa7.js","sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { VerificationService, ConsolationResponse } from \"../../lib/types/types\";\n\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\n\ninterface StepConsolationProps {\n verificationService: VerificationService;\n}\n\nconst StepConsolation = ({ verificationService }: StepConsolationProps) => {\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = verificationService.programTheme.config.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = verificationService.programTheme.config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n return (\n <div id=\"sid-step-consolation\" className=\"sid-l-container\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n\n <div\n className=\"sid-header__title sid-l-horz-center sid-l-space-top-md\"\n id=\"consolation-status\"\n role=\"alertdialog\"\n >\n <FormattedHTMLMessage\n id=\"step.consolation.title\"\n defaultMessage=\"Claim your offer\"\n tagName=\"h1\"\n />\n </div>\n\n <div className=\"sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.\"\n />\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={consolationRewardCode}\n src={getBarcodeUrl(verificationId, \"consolationRewardCode\", displayType)}\n />\n );\n return (\n <>\n <div\n className=\"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {consolationRewardCode}\n </div>\n <div className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\">\n <CopyToClipboard\n textToCopy={consolationRewardCode}\n notificationText={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy Coupon code\"\n />\n </CopyToClipboard>\n </div>\n </>\n );\n })}\n </div>\n )}\n\n <div className=\"sid-footer sid-l-horz-center sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"rewardCodeEmailNotification\"\n defaultMessage=\"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.\"\n />\n </div>\n\n <div\n className=\"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.verificationOnly\"\n defaultMessage=\"Please direct any and all questions about this offer to {companyName}.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepConsolationComponent = StepConsolation;\n"],"names":["StepConsolation","verificationService","consolationRewardCode","noCodeType","verificationId","rewardDisplay","showReward","jsxs","jsx","LogoComponent","FormattedHTMLMessage","displayType","RewardDisplayEnum","getBarcodeUrl","Fragment","CopyToClipboard","companyName","StepConsolationComponent"],"mappings":";AAcA,MAAMA,IAAkB,CAAC,EAAE,qBAAAC,QAAgD;AACnE,QAAAC,IACHD,EAAoB,qBAA6C,yBAClE,4BAEIE,IAAaF,EAAoB,aAAa,OAAO,cAAc,UACnE,EAAE,gBAAAG,EAAe,IAAIH,EAAoB,sBAEzC,EAAE,eAAAI,EAAkB,IAAAJ,EAAoB,aAAa,QACrDK,IAAa,CAACH,KAAc,CAAC,CAACE,EAAc;AAElD,SACGE,gBAAAA,EAAAA,KAAA,OAAA,EAAI,IAAG,wBAAuB,WAAU,mBACvC,UAAA;AAAA,IAACA,gBAAAA,EAAAA,KAAA,OAAA,EAAI,WAAU,mDACb,UAAA;AAAA,MAAAC,gBAAAA,EAAAA,IAAC,SAAI,WAAU,qBACb,UAACA,gBAAAA,EAAA,IAAAC,GAAA,EAA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