@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
@@ -0,0 +1,176 @@
1
+
2
+ /**
3
+ * WARNING: This file is intended to be used within MySheerID.
4
+ * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
+ */
6
+ /**
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
+ */
12
+ import { h as R, z as t, R as P, j as s, w as T, P as k, x as z, Y as q, Z as B, _ as O, u as n, y as w, B as L, E as H, a as j, e as K, $ as W, a0 as A, H as J, J as Y, M as Z, K as _, f as $, V as G, N as Q, m as U } from "../_mysheerid-preview.js";
13
+ const X = ({ verificationService: e }) => {
14
+ var p, b, u, h, C, i, x, M, g, I, N;
15
+ const o = e.viewModel, { fieldValidationErrors: d } = e, r = e.verificationResponse, E = R(r), y = Q(), m = (p = t("memberId")) == null ? void 0 : p.requireIfOptional, F = o.localeChoice.value, l = (a, f) => {
16
+ const V = U(
17
+ o,
18
+ (D) => {
19
+ D[a] = f;
20
+ }
21
+ );
22
+ e.updateViewModel(V);
23
+ };
24
+ return P.useEffect(() => {
25
+ m ? e.updateViewModel({ fieldsToSkipValidation: [] }, { partial: !0 }) : e.updateViewModel(
26
+ { fieldsToSkipValidation: ["memberId"] },
27
+ { partial: !0 }
28
+ );
29
+ }, [m]), /* @__PURE__ */ s.jsxs(
30
+ T,
31
+ {
32
+ verificationService: e,
33
+ step: r.currentStep,
34
+ children: [
35
+ /* @__PURE__ */ s.jsx(
36
+ k,
37
+ {
38
+ verificationService: e,
39
+ classNameIdentifier: "member-personal-info"
40
+ }
41
+ ),
42
+ /* @__PURE__ */ s.jsx(z, { verificationService: e }),
43
+ /* @__PURE__ */ s.jsx(
44
+ q,
45
+ {
46
+ verificationService: e,
47
+ disabled: (b = t("country")) == null ? void 0 : b.disabled
48
+ }
49
+ ),
50
+ /* @__PURE__ */ s.jsx(
51
+ B,
52
+ {
53
+ value: e.viewModel.organization,
54
+ verificationService: e,
55
+ isErrored: !!d.organization,
56
+ disabled: (u = t("organization")) == null ? void 0 : u.disabled,
57
+ onChange: (a) => {
58
+ O(a, e), n("organization", a, e);
59
+ }
60
+ }
61
+ ),
62
+ /* @__PURE__ */ s.jsxs("div", { className: "sid-names", children: [
63
+ /* @__PURE__ */ s.jsx(
64
+ w,
65
+ {
66
+ value: o.firstName,
67
+ isErrored: !!d.firstName,
68
+ disabled: (h = t("firstName")) == null ? void 0 : h.disabled,
69
+ onChange: (a) => {
70
+ l("firstName", a), n("firstName", a, e);
71
+ }
72
+ }
73
+ ),
74
+ /* @__PURE__ */ s.jsx(
75
+ L,
76
+ {
77
+ value: o.lastName,
78
+ isErrored: !!d.lastName,
79
+ disabled: (C = t("lastName")) == null ? void 0 : C.disabled,
80
+ onChange: (a) => {
81
+ l("lastName", a), n("lastName", a, e);
82
+ }
83
+ }
84
+ )
85
+ ] }),
86
+ /* @__PURE__ */ s.jsx(
87
+ H,
88
+ {
89
+ value: o.email,
90
+ isErrored: !!d.email,
91
+ explanation: /* @__PURE__ */ s.jsx(j, { id: "emailExplanation", defaultMessage: " " }),
92
+ onChange: (a) => {
93
+ l("email", a), n("email", a, e);
94
+ },
95
+ onKeyDown: (a) => K(a),
96
+ disabled: (i = t("email")) == null ? void 0 : i.disabled
97
+ }
98
+ ),
99
+ /* @__PURE__ */ s.jsx(
100
+ W,
101
+ {
102
+ errorId: d.birthDate,
103
+ locale: F,
104
+ isRequired: (x = t("birthDate")) == null ? void 0 : x.requireIfOptional,
105
+ onChange: (a) => {
106
+ l("birthDate", a), n("birthDate", a, e);
107
+ },
108
+ value: o.birthDate,
109
+ disabled: (M = t("birthDate")) == null ? void 0 : M.disabled
110
+ }
111
+ ),
112
+ /* @__PURE__ */ s.jsx(
113
+ A,
114
+ {
115
+ value: o.memberId,
116
+ isErrored: !!d.memberId,
117
+ isRequired: m,
118
+ disabled: (g = t("memberId")) == null ? void 0 : g.disabled,
119
+ onChange: (a) => {
120
+ l("memberId", a), n("memberId", a, e);
121
+ }
122
+ }
123
+ ),
124
+ e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ s.jsx(
125
+ J,
126
+ {
127
+ isRequired: !!e.programTheme.smsLoopEnabled,
128
+ value: o.phoneNumber,
129
+ isErrored: !!d.phoneNumber,
130
+ onChange: (a) => {
131
+ l("phoneNumber", a), n("phoneNumber", a, e);
132
+ },
133
+ selectedCountryCode: o.countryChoice && o.countryChoice.value,
134
+ disabled: (I = t("phoneNumber")) == null ? void 0 : I.disabled
135
+ }
136
+ ) : null,
137
+ y.customFormFields.map((a) => /* @__PURE__ */ s.jsx(Y, { config: a, verificationService: e })),
138
+ /* @__PURE__ */ s.jsx(
139
+ Z,
140
+ {
141
+ verificationService: e,
142
+ isErrored: !!d.marketConsentValue,
143
+ onChange: (a) => {
144
+ l("metadata", {
145
+ ...e.viewModel.metadata,
146
+ marketConsentValue: a
147
+ }), n("marketConsentValue", a, e);
148
+ },
149
+ viewModel: o,
150
+ disabled: (N = t("marketConsentValue")) == null ? void 0 : N.disabled
151
+ }
152
+ ),
153
+ /* @__PURE__ */ s.jsx(_, { verificationService: e, suffix: "CollectAboveSubmit" }),
154
+ /* @__PURE__ */ s.jsx(
155
+ $,
156
+ {
157
+ step: G.collectMemberPersonalInfo,
158
+ verificationService: e,
159
+ viewModel: o,
160
+ failedInstantMatch: E,
161
+ buttonText: /* @__PURE__ */ s.jsx(
162
+ j,
163
+ {
164
+ id: "step.personalInfo.submitButtonText",
165
+ defaultMessage: "Verify My Membership Status"
166
+ }
167
+ )
168
+ }
169
+ )
170
+ ]
171
+ }
172
+ );
173
+ }, c = X;
174
+ export {
175
+ c as default
176
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-CLCPYu7D.js","sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n VerificationService,\n Organization,\n MemberPersonalInfoViewModel,\n MemberPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [\"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: [] }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"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 updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\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 updateMemberViewModel(\"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 <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"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.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"names":["StepMemberPersonalInfo","verificationService","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","options","getOptions","isMemberIdRequired","_a","getFieldConfigByFieldId","locale","updateMemberViewModel","key","value","nextState","produce","draft","React","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","CountryComponentWrapper","_b","MembershipOrganizationComponent","_c","choice","updateViewModelOrganization","updateFieldValidationErrorsByFieldId","FirstName","_d","newValue","LastName","_e","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_f","BirthDate","_g","_h","MemberId","_i","PhoneNumber","_j","config","FormFieldCustom","MarketConsentWrapperComponent","_k","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepMemberPersonalInfoComponent"],"mappings":";AAyCA,MAAMA,IAAyB,CAAC,EAAE,qBAAAC,QAAgE;;AAChG,QAAMC,IAAYD,EAAoB,WAChC,EAAE,uBAAAE,EAA0B,IAAAF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAq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AwB,aAAa,MAArC,gBAAAqC,EAAwC;AAAA,UAAA;AAAA,QAAA,IAElD;AAAA,QAEHzC,EAAQ,iBAAiB,IAAI,CAAC0C,MAC5B3B,gBAAAA,MAAA4B,GAAA,EAAgB,QAAAD,GAAgB,qBAAAhD,EAAA,CAA0C,CAC5E;AAAA,QAEDqB,gBAAAA,EAAA;AAAA,UAAC6B;AAAA,UAAA;AAAA,YACC,qBAAAlD;AAAA,YACA,WAAW,CAAC,CAACE,EAAsB;AAAA,YACnC,UAAU,CAAC+B,MAAa;AACtB,cAAArB,EAAsB,YAAY;AAAA,gBAChC,GAAGZ,EAAoB,UAAU;AAAA,gBACjC,oBAAoBiC;AAAA,cAAA,CACrB,GACoCH,EAAA,sBAAsBG,GAAUjC,CAAmB;AAAA,YAC1F;AAAA,YACA,WAAAC;AAAA,YACA,WAAUkD,IAAAzC,EAAwB,oBAAoB,MAA5C,gBAAAyC,EAA+C;AAAA,UAAA;AAAA,QAC3D;AAAA,QAEC9B,gBAAAA,EAAAA,IAAA+B,GAAA,EAAa,qBAAApD,GAA0C,QAAO,qBAAqB,CAAA;AAAA,QAEpFqB,gBAAAA,EAAA;AAAA,UAACgC;AAAA,UAAA;AAAA,YACC,MAAMC,EAAsB;AAAA,YAC5B,qBAAAtD;AAAA,YACA,WAAAC;AAAA,YACA,oBAAAG;AAAA,YACA,YACEiB,gBAAAA,EAAA;AAAA,cAACgB;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEakB,IAAkCxD;"}
@@ -4,12 +4,12 @@
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 n, a as l, f as r, i as j, R as N, A as y, v as S, S as g, I as f, u as w, J as C, K as M, V as o, k as _ } from "../_mysheerid-preview.js";
12
+ import { j as s, n, a as l, k as r, i as j, R as N, A as y, x as S, S as g, u as f, O as w, T as C, V as o, U as M, m as _ } from "../_mysheerid-preview.js";
13
13
  const k = ({ useSsn: e, useDocUpload: d, verificationService: c }) => /* @__PURE__ */ s.jsxs("div", { id: "sid-ssn-choice", className: "sid-ssn-choice-container sid-l-container sid-l-horz-center", children: [
14
14
  /* @__PURE__ */ s.jsxs("div", { role: "main", children: [
15
15
  /* @__PURE__ */ s.jsxs("div", { className: "sid-header", children: [
@@ -99,13 +99,13 @@ const k = ({ useSsn: e, useDocUpload: d, verificationService: c }) => /* @__PURE
99
99
  {
100
100
  value: i.socialSecurityNumber,
101
101
  onChange: (t) => {
102
- m("socialSecurityNumber", t), w(
102
+ m("socialSecurityNumber", t), f(
103
103
  "socialSecurityNumber",
104
104
  t,
105
105
  e
106
106
  );
107
107
  },
108
- isErrored: !!u[f.socialSecurityNumber],
108
+ isErrored: !!u[w.socialSecurityNumber],
109
109
  placeholder: "000-00-0000"
110
110
  }
111
111
  ) })
@@ -114,7 +114,7 @@ const k = ({ useSsn: e, useDocUpload: d, verificationService: c }) => /* @__PURE
114
114
  "button",
115
115
  {
116
116
  id: "sid-submit-wrapper__collect-info",
117
- onClick: () => M(
117
+ onClick: () => C(
118
118
  i,
119
119
  e,
120
120
  o.collectSocialSecurityNumber
@@ -122,7 +122,7 @@ const k = ({ useSsn: e, useDocUpload: d, verificationService: c }) => /* @__PURE
122
122
  type: "submit",
123
123
  className: `sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width ${h ? "" : "sid-btn--disabled-like"}`,
124
124
  "aria-label": "submit",
125
- ref: (t) => C("submitButton", t),
125
+ ref: (t) => M("submitButton", t),
126
126
  children: /* @__PURE__ */ s.jsx(l, { id: "proceed", defaultMessage: "Proceed" })
127
127
  }
128
128
  ) }) }),
@@ -148,7 +148,7 @@ const k = ({ useSsn: e, useDocUpload: d, verificationService: c }) => /* @__PURE
148
148
  ]
149
149
  }
150
150
  );
151
- }, I = j(E);
151
+ }, z = j(E);
152
152
  export {
153
- I as default
153
+ z as default
154
154
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index-BDw8efPp.js","sources":["../../src/components/StepSocialSecurityNumber/SsnChoice.tsx","../../src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\n\ntype Props = {\n useSsn: () => void;\n useDocUpload: () => void;\n verificationService: any;\n};\n\nconst Step = ({ useSsn, useDocUpload, verificationService }: Props) => (\n <div id=\"sid-ssn-choice\" className=\"sid-ssn-choice-container sid-l-container sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-ssn-choice-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <div className=\"sid-header__title sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.selectOption\"\n defaultMessage=\"Select an option\"\n tagName=\"h1\"\n />\n </div>\n </div>\n\n <div className=\"sid-ssn-choice__choice1 sid-l-space-top-lg\">\n <button\n type=\"button\"\n onClick={useSsn}\n className=\"sid-btn sid-ssn-choice-one-btn sid-btn--light sid-l-full-width sid-use-ssn\"\n >\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.useSsn\"\n defaultMessage=\"Verify using your social security number\"\n />\n </button>\n </div>\n\n <div className=\"sid-ssn-choice__choice2 sid-l-space-top-md\">\n <button\n type=\"button\"\n onClick={useDocUpload}\n className=\"sid-btn sid-ssn-choice-two-btn sid-btn--light sid-l-full-width sid-use-doc-upload\"\n >\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadDoc\"\n defaultMessage=\"Upload a document\"\n />\n </button>\n </div>\n </div>\n <div className=\"sid-ssn-choice__footer sid-l-space-top-lg\">\n <FormFooter verificationService={verificationService} />\n </div>\n </div>\n);\n\nexport const SsnChoice = Step;\n","import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum, FieldIdEnum } from \"../../lib/types/runtimeTypes\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport { VerificationService, SocialSecurityViewModel } from \"../../lib/types/types\";\nimport {\n submitForm,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { SsnChoice } from \"./SsnChoice\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\ninterface StepSocialSecurityNumberProps {\n verificationService: VerificationService;\n}\n\nconst Step = ({ verificationService }: StepSocialSecurityNumberProps) => {\n const [showChoice, setShowChoice] = React.useState(true);\n const viewModel = verificationService.viewModel as SocialSecurityViewModel;\n const { fieldValidationErrors } = verificationService;\n const doCancelStep = () =>\n verificationService.submitStep(\n VerificationStepsEnum.cancelSocialSecurityNumber,\n viewModel,\n verificationService.verificationResponse,\n );\n\n const updateSSNViewModel = (key: keyof SocialSecurityViewModel, value: any) => {\n const nextState: SocialSecurityViewModel = produce(\n viewModel,\n (draft: SocialSecurityViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const isSubmittable =\n viewModel.socialSecurityNumber && viewModel.socialSecurityNumber.toString().length === 9;\n\n if (showChoice) {\n return (\n <SsnChoice\n useSsn={() => setShowChoice(false)}\n useDocUpload={doCancelStep}\n verificationService={verificationService}\n />\n );\n }\n\n return (\n <div\n id=\"sid-step-social-security\"\n className=\"sid-social-sercurity-number-container sid-l-container sid-l-horz-center\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-social-security-number-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.title\"\n defaultMessage=\"Enter your social security number\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updateSSNViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className=\"sid-social-security-number-submit sid-submit\">\n <button\n id=\"sid-submit-wrapper__collect-info\"\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.collectSocialSecurityNumber,\n )\n }\n type=\"submit\"\n className={`sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width ${\n isSubmittable ? \"\" : \"sid-btn--disabled-like\"\n }`}\n aria-label=\"submit\"\n ref={(button) => setRef(\"submitButton\", button)}\n >\n <FormattedHTMLMessage id=\"proceed\" defaultMessage=\"Proceed\" />\n </button>\n </div>\n </div>\n\n <div\n className=\"sid-form-region sid-social-security-number-upload-instead-btn sid-l-space-top-md\"\n role=\"button\"\n tabIndex={0}\n onKeyUp={doCancelStep}\n onClick={doCancelStep}\n >\n <div className=\"sid-social-security-number-upload-instead-text sid-h-link-like\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadInstead\"\n defaultMessage=\"Upload a document instead\"\n />\n </div>\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\n// TODO remove injectIntl, it's not used\nexport const StepSocialSecurityNumber = injectIntl(Step);\n"],"names":["Step","useSsn","useDocUpload","verificationService","jsxs","jsx","LogoComponent","FormattedHTMLMessage","FormFooter","SsnChoice","showChoice","setShowChoice","React","viewModel","fieldValidationErrors","doCancelStep","VerificationStepsEnum","updateSSNViewModel","key","value","nextState","produce","draft","isSubmittable","AnnouncingHeader","ChangeLocaleV2Component","SocialSecurityNumber","updateFieldValidationErrorsByFieldId","FieldIdEnum","submitForm","button","setRef","StepSocialSecurityNumber","injectIntl"],"mappings":";AAWA,MAAMA,IAAO,CAAC,EAAE,QAAAC,GAAQ,cAAAC,GAAc,qBAAAC,EAAA,MACpCC,gBAAAA,EAAAA,KAAC,OAAI,EAAA,IAAG,kBAAiB,WAAU,8DACjC,UAAA;AAAA,EAACA,gBAAAA,EAAAA,KAAA,OAAA,EAAI,MAAK,QACR,UAAA;AAAA,IAACA,gBAAAA,EAAAA,KAAA,OAAA,EAAI,WAAU,cACb,UAAA;AAAA,MAAAC,gBAAAA,EAAAA,IAAC,SAAI,WAAU,mDACb,UAACA,gBAAAA,EAAA,IAAAC,GAAA,EAAc,qBAAAH,EAA0C,CAAA,GAC3D;AAAA,MACAE,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,uCACb,UAAAA,gBAAAA,EAAA;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,IAAG;AAAA,UACH,gBAAe;AAAA,UACf,S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CAAA;AAAA,UAAA,GACF;AAAA,gCAEC,OAAI,EAAA,WAAU,yDACb,UAACvB,gBAAAA,MAAA,OAAA,EAAI,WAAU,gDACb,UAAAA,gBAAAA,EAAA;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,IAAG;AAAA,cACH,SAAS,MACPwB;AAAA,gBACEhB;AAAA,gBACAV;AAAA,gBACAa,EAAsB;AAAA,cACxB;AAAA,cAEF,MAAK;AAAA,cACL,WAAW,gFACTO,IAAgB,KAAK,wBACvB;AAAA,cACA,cAAW;AAAA,cACX,KAAK,CAACO,MAAWC,EAAO,gBAAgBD,CAAM;AAAA,cAE9C,UAACzB,gBAAAA,EAAA,IAAAE,GAAA,EAAqB,IAAG,WAAU,gBAAe,UAAU,CAAA;AAAA,YAAA;AAAA,aAEhE,EACF,CAAA;AAAA,UAEAF,gBAAAA,EAAA;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,WAAU;AAAA,cACV,MAAK;AAAA,cACL,UAAU;AAAA,cACV,SAASU;AAAA,cACT,SAASA;AAAA,cAET,UAAAV,gBAAAA,EAAA,IAAC,OAAI,EAAA,WAAU,kEACb,UAAAA,gBAAAA,EAAA;AAAA,gBAACE;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA,EAEnB,CAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACF,GACF;AAAA,QACAF,gBAAAA,MAACG,KAAW,qBAAAL,EAA0C,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACxD;AAEJ,GAGa6B,IAA2BC,EAAWjC,CAAI;"}
1
+ {"version":3,"file":"index-CZjGTko2.js","sources":["../../src/components/StepSocialSecurityNumber/SsnChoice.tsx","../../src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\n\ntype Props = {\n useSsn: () => void;\n useDocUpload: () => void;\n verificationService: any;\n};\n\nconst Step = ({ useSsn, useDocUpload, verificationService }: Props) => (\n <div id=\"sid-ssn-choice\" className=\"sid-ssn-choice-container sid-l-container sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-ssn-choice-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <div className=\"sid-header__title sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.selectOption\"\n defaultMessage=\"Select an option\"\n tagName=\"h1\"\n />\n </div>\n </div>\n\n <div className=\"sid-ssn-choice__choice1 sid-l-space-top-lg\">\n <button\n type=\"button\"\n onClick={useSsn}\n className=\"sid-btn sid-ssn-choice-one-btn sid-btn--light sid-l-full-width sid-use-ssn\"\n >\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.useSsn\"\n defaultMessage=\"Verify using your social security number\"\n />\n </button>\n </div>\n\n <div className=\"sid-ssn-choice__choice2 sid-l-space-top-md\">\n <button\n type=\"button\"\n onClick={useDocUpload}\n className=\"sid-btn sid-ssn-choice-two-btn sid-btn--light sid-l-full-width sid-use-doc-upload\"\n >\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadDoc\"\n defaultMessage=\"Upload a document\"\n />\n </button>\n </div>\n </div>\n <div className=\"sid-ssn-choice__footer sid-l-space-top-lg\">\n <FormFooter verificationService={verificationService} />\n </div>\n </div>\n);\n\nexport const SsnChoice = Step;\n","import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum, FieldIdEnum } from \"../../lib/types/runtimeTypes\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport { VerificationService, SocialSecurityViewModel } from \"../../lib/types/types\";\nimport {\n submitForm,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { SsnChoice } from \"./SsnChoice\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\ninterface StepSocialSecurityNumberProps {\n verificationService: VerificationService;\n}\n\nconst Step = ({ verificationService }: StepSocialSecurityNumberProps) => {\n const [showChoice, setShowChoice] = React.useState(true);\n const viewModel = verificationService.viewModel as SocialSecurityViewModel;\n const { fieldValidationErrors } = verificationService;\n const doCancelStep = () =>\n verificationService.submitStep(\n VerificationStepsEnum.cancelSocialSecurityNumber,\n viewModel,\n verificationService.verificationResponse,\n );\n\n const updateSSNViewModel = (key: keyof SocialSecurityViewModel, value: any) => {\n const nextState: SocialSecurityViewModel = produce(\n viewModel,\n (draft: SocialSecurityViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const isSubmittable =\n viewModel.socialSecurityNumber && viewModel.socialSecurityNumber.toString().length === 9;\n\n if (showChoice) {\n return (\n <SsnChoice\n useSsn={() => setShowChoice(false)}\n useDocUpload={doCancelStep}\n verificationService={verificationService}\n />\n );\n }\n\n return (\n <div\n id=\"sid-step-social-security\"\n className=\"sid-social-sercurity-number-container sid-l-container sid-l-horz-center\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-social-security-number-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.title\"\n defaultMessage=\"Enter your social security number\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updateSSNViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className=\"sid-social-security-number-submit sid-submit\">\n <button\n id=\"sid-submit-wrapper__collect-info\"\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.collectSocialSecurityNumber,\n )\n }\n type=\"submit\"\n className={`sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width ${\n isSubmittable ? \"\" : \"sid-btn--disabled-like\"\n }`}\n aria-label=\"submit\"\n ref={(button) => setRef(\"submitButton\", button)}\n >\n <FormattedHTMLMessage id=\"proceed\" defaultMessage=\"Proceed\" />\n </button>\n </div>\n </div>\n\n <div\n className=\"sid-form-region sid-social-security-number-upload-instead-btn sid-l-space-top-md\"\n role=\"button\"\n tabIndex={0}\n onKeyUp={doCancelStep}\n onClick={doCancelStep}\n >\n <div className=\"sid-social-security-number-upload-instead-text sid-h-link-like\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadInstead\"\n defaultMessage=\"Upload a document instead\"\n />\n </div>\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\n// TODO remove injectIntl, it's not used\nexport const StepSocialSecurityNumber = injectIntl(Step);\n"],"names":["Step","useSsn","useDocUpload","verificationService","jsxs","jsx","LogoComponent","FormattedHTMLMessage","FormFooter","SsnChoice","showChoice","setShowChoice","React","viewModel","fieldValidationErrors","doCancelStep","VerificationStepsEnum","updateSSNViewModel","key","value","nextState","produce","draft","isSubmittable","AnnouncingHeader","ChangeLocaleV2Component","SocialSecurityNumber","updateFieldValidationErrorsByFieldId","FieldIdEnum","subm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ET,UAAAV,gBAAAA,EAAA,IAAC,OAAI,EAAA,WAAU,kEACb,UAAAA,gBAAAA,EAAA;AAAA,gBAACE;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA,GAEnB;AAAA,YAAA;AAAA,UACF;AAAA,QAAA,GACF;AAAA,QACAF,gBAAAA,MAACG,KAAW,qBAAAL,GAA0C;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG5D,GAGa6B,IAA2BC,EAAWjC,CAAI;"}
@@ -1,31 +1,39 @@
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
- var I = Object.defineProperty;
9
- var b = (a, t, e) => t in a ? I(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e;
10
- var c = (a, t, e) => b(a, typeof t != "symbol" ? t + "" : t, e);
11
- import { aE as M, l as w, aF as j, aG as R, R as N, aH as C, aI as S, aJ as T, j as s, L as F, A as _, a as o, m as A, n as O, C as $, aK as D, t as k } from "../sheerid.js";
12
- const P = {
13
- INLINE_IFRAME_CONTENT: "sid-inline-iframe"
14
- }, H = "SheerID Verification Form", z = {
15
- CLASS_NAMES: P
16
- }, V = (a) => {
8
+ var M = Object.defineProperty;
9
+ var x = (a, t, e) => t in a ? M(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e;
10
+ var c = (a, t, e) => (x(a, typeof t != "symbol" ? t + "" : t, e), e);
11
+ import { aH as b, l as E, aI as _, aJ as R, R as N, g as j, aK as C, j as s, n as T, A as S, a as o, o as O, p as A, C as F, aL as D, aM as P, N as $ } from "../sheerid.js";
12
+ const k = {
13
+ INLINE_IFRAME_CONTENT: "sid-inline-iframe",
14
+ MODAL_WRAPPER: "sid-modal__wrapper",
15
+ MODAL_IFRAME: "sid-modal__iframe",
16
+ OVERLAY: "sid-modal__overlay",
17
+ CLOSE_BUTTON: "sid-modal__close-button",
18
+ CLOSE_TEXT: "sid-modal__close-text",
19
+ CLOSE_ICON: "sid-modal__close-icon"
20
+ }, H = "SheerID Verification Form", W = {
21
+ CLASS_NAMES: k,
22
+ DEFAULT_MOBILE_THRESHOLD_WIDTH: 620,
23
+ MODAL_OPACITY_TRANSITION_PERIOD: 300
24
+ }, B = (a) => {
17
25
  const t = new URL(a);
18
26
  return new URL(window.location.href).searchParams.forEach((i, r) => {
19
27
  t.searchParams.has(r) || t.searchParams.set(r, i);
20
28
  }), t.href;
21
- }, E = {
22
- className: z.CLASS_NAMES.INLINE_IFRAME_CONTENT,
29
+ }, L = {
30
+ className: W.CLASS_NAMES.INLINE_IFRAME_CONTENT,
23
31
  title: H
24
- }, W = (a) => {
32
+ }, V = (a) => {
25
33
  if (typeof a != "function")
26
34
  throw new Error(`Expected type "function", but received ${typeof a}`);
27
35
  };
28
- class m extends M {
36
+ class m extends b {
29
37
  constructor(e, i) {
30
38
  super();
31
39
  c(this, "containerElement");
@@ -37,7 +45,7 @@ class m extends M {
37
45
  c(this, "onLoadEvents", []);
38
46
  c(this, "onCleanupEvents", []);
39
47
  c(this, "installType", "cdn_inline_iframe");
40
- m.isValidHttpUrl(i) ? (this.containerElement = e, this.verificationUrl = new URL(V(i)), this.verificationIframeUid = m.createUniqueId()) : w.error("Invalid URL. Provide a proper URL: https://example.com/", "iframe url");
48
+ m.isValidHttpUrl(i) ? (this.containerElement = e, this.verificationUrl = new URL(B(i)), this.verificationIframeUid = m.createUniqueId()) : E.error("Invalid URL. Provide a proper URL: https://example.com/", "iframe url");
41
49
  }
42
50
  cleanup() {
43
51
  this.onCleanupEvents.forEach((e) => e());
@@ -56,7 +64,7 @@ class m extends M {
56
64
  createIframe(e) {
57
65
  this.iframe = document.createElement("iframe"), this.iframe.classList.add(e.className), this.iframe.title = e.title;
58
66
  let i = "?";
59
- return this.verificationUrl.search && (i = "&"), this.iframe.src = `${this.verificationUrl.href}${i}verificationIframeUid=${this.verificationIframeUid}&${j}=${encodeURIComponent(
67
+ return this.verificationUrl.search && (i = "&"), this.iframe.src = `${this.verificationUrl.href}${i}verificationIframeUid=${this.verificationIframeUid}&${_}=${encodeURIComponent(
60
68
  window.location.href
61
69
  )}&${R}=${this.installType}`, this.iframe.allow = "camera *;microphone *;geolocation *;clipboard-read *;clipboard-write *", this.iframe.onload = () => this.onLoad(), this.iframe;
62
70
  }
@@ -64,9 +72,9 @@ class m extends M {
64
72
  // otherwise call it immediately
65
73
  addOnLoadEvent(e) {
66
74
  try {
67
- W(e);
75
+ V(e);
68
76
  } catch {
69
- w.error("Invalid callback provided to iFrame.onLoad()", "iframe addOnLoadEvent");
77
+ E.error("Invalid callback provided to iFrame.onLoad()", "iframe addOnLoadEvent");
70
78
  return;
71
79
  }
72
80
  this.hasLoaded ? e() : this.onLoadEvents.push(e);
@@ -112,10 +120,10 @@ class m extends M {
112
120
  this.installType = e;
113
121
  }
114
122
  init(e = !0) {
115
- e && this.createIframe(E), this.addActionListener(), this.containerElement.appendChild(this.iframe);
123
+ e && this.createIframe(L), this.addActionListener(), this.containerElement.appendChild(this.iframe);
116
124
  }
117
125
  }
118
- class B extends m {
126
+ class z extends m {
119
127
  constructor(t, e) {
120
128
  super(t, e), this.verificationUrl = new URL(this.getAffinityUrlWithUID(e));
121
129
  }
@@ -136,35 +144,35 @@ class B extends m {
136
144
  return this.iframe = document.createElement("iframe"), this.iframe.classList.add(t.className), this.iframe.title = t.title, this.iframe.src = this.verificationUrl.href, this.iframe.allow = "camera;microphone", this.iframe.onload = () => this.onLoad(), this.iframe;
137
145
  }
138
146
  init() {
139
- this.createIframe({ ...E, title: "SheerID Affinity Offers" }), this.addActionListener(), this.containerElement.appendChild(this.iframe);
147
+ this.createIframe({ ...L, title: "SheerID Affinity Offers" }), this.addActionListener(), this.containerElement.appendChild(this.iframe);
140
148
  }
141
149
  }
142
- function G(a, t) {
143
- const e = new B(a, t);
150
+ function Y(a, t) {
151
+ const e = new z(a, t);
144
152
  return e.init(), e;
145
153
  }
146
- const y = (a, t = "_top") => {
154
+ const w = (a, t = "_top") => {
147
155
  window.open(a, t).focus();
148
- }, Y = () => {
149
- switch (k().restApi.serviceUrl) {
156
+ }, q = () => {
157
+ switch ($().restApi.serviceUrl) {
150
158
  case "https://services.sheerid.com":
151
159
  return "https://shr-id.com";
152
160
  default:
153
161
  return "https://aa-preview.sheerid.net";
154
162
  }
155
- }, q = ({ verificationService: a }) => {
156
- const { verificationResponse: t, programId: e, viewModel: i } = a, { verificationId: r, redirectUrl: u } = t, { config: p } = a.programTheme, d = N.useRef(null), U = !!u, f = t.rewardCode || "{rewardCode}", g = p.offerType === "noCode", { rewardDisplay: v } = p, x = !g && !!v.length, l = C(
157
- S
158
- ) || t.consumerInfoState, L = l === "consumerNotFound" || l === "consumerFoundNewFieldsAvailable", h = T(i, t);
163
+ }, G = ({ verificationService: a }) => {
164
+ const { verificationResponse: t, programId: e, viewModel: i } = a, { verificationId: r, redirectUrl: h } = t, { config: p } = a.programTheme, d = N.useRef(null), I = !!h, f = t.rewardCode || "{rewardCode}", g = p.offerType === "noCode", { rewardDisplay: v } = p, U = !g && !!v.length, l = j(
165
+ P
166
+ ) || t.consumerInfoState, y = l === "consumerNotFound" || l === "consumerFoundNewFieldsAvailable", u = C(i, t);
159
167
  return N.useEffect(() => {
160
- d.current && (d.current.innerHTML = "", G(
168
+ d.current && (d.current.innerHTML = "", Y(
161
169
  d.current,
162
- `${Y()}/affinity/${h}/${e}/${r}`
170
+ `${q()}/affinity/${u}/${e}/${r}`
163
171
  ));
164
- }, [d, e, r, h]), /* @__PURE__ */ s.jsxs("div", { id: "sid-step-success", className: "sid-success-container sid-l-container", role: "region", children: [
172
+ }, [d, e, r, u]), /* @__PURE__ */ s.jsxs("div", { id: "sid-step-success", className: "sid-success-container sid-l-container", role: "region", children: [
165
173
  /* @__PURE__ */ s.jsxs("div", { className: "sid-header sid-l-horz-center sid-l-space-top-md", children: [
166
174
  /* @__PURE__ */ s.jsx("div", { className: "sid-success-logo-container sid-l-horz-center", children: /* @__PURE__ */ s.jsx(
167
- F,
175
+ T,
168
176
  {
169
177
  verificationService: a,
170
178
  fallbackLogo: /* @__PURE__ */ s.jsx(
@@ -177,7 +185,7 @@ const y = (a, t = "_top") => {
177
185
  )
178
186
  }
179
187
  ) }),
180
- /* @__PURE__ */ s.jsx(_, { align: "center", children: /* @__PURE__ */ s.jsx(
188
+ /* @__PURE__ */ s.jsx(S, { align: "center", children: /* @__PURE__ */ s.jsx(
181
189
  o,
182
190
  {
183
191
  id: "step.success.title",
@@ -195,12 +203,12 @@ const y = (a, t = "_top") => {
195
203
  }
196
204
  ) })
197
205
  ] }),
198
- x && /* @__PURE__ */ s.jsx("div", { className: "sid-l-horz-center sid-reward-container sid-l-space-top-md", children: v.map((n) => n !== A.TEXT ? /* @__PURE__ */ s.jsx(
206
+ U && /* @__PURE__ */ s.jsx("div", { className: "sid-l-horz-center sid-reward-container sid-l-space-top-md", children: v.map((n) => n !== O.TEXT ? /* @__PURE__ */ s.jsx(
199
207
  "img",
200
208
  {
201
209
  className: "sid-l-space-top-md sid-barcode",
202
210
  alt: f,
203
- src: O(r, "rewardCode", n)
211
+ src: A(r, "rewardCode", n)
204
212
  },
205
213
  n
206
214
  ) : /* @__PURE__ */ s.jsxs("div", { children: [
@@ -213,7 +221,7 @@ const y = (a, t = "_top") => {
213
221
  }
214
222
  ),
215
223
  /* @__PURE__ */ s.jsx("div", { className: "sid-l-space-top-md sid-h-bold-text sid-l-horz-center", children: /* @__PURE__ */ s.jsx(
216
- $,
224
+ F,
217
225
  {
218
226
  textToCopy: f,
219
227
  notificationText: /* @__PURE__ */ s.jsx(o, { id: "copied", defaultMessage: "Copied" }),
@@ -241,11 +249,11 @@ const y = (a, t = "_top") => {
241
249
  )
242
250
  }
243
251
  ),
244
- U ? /* @__PURE__ */ s.jsx("div", { className: "sid-submit sid-success-submit sid-l-space-top-md", children: /* @__PURE__ */ s.jsx(
252
+ I ? /* @__PURE__ */ s.jsx("div", { className: "sid-submit sid-success-submit sid-l-space-top-md", children: /* @__PURE__ */ s.jsx(
245
253
  "button",
246
254
  {
247
255
  type: "button",
248
- onClick: () => y(u),
256
+ onClick: () => w(h),
249
257
  className: "sid-btn sid-success-redirect-btn sid-btn--dark",
250
258
  children: /* @__PURE__ */ s.jsx(
251
259
  o,
@@ -284,7 +292,7 @@ const y = (a, t = "_top") => {
284
292
  className: "sid-affinity-container sid-l-full-width sid-l-space-top-lg"
285
293
  }
286
294
  ),
287
- L && /* @__PURE__ */ s.jsxs("div", { className: "sid-remember-me-footer-container", children: [
295
+ y && /* @__PURE__ */ s.jsxs("div", { className: "sid-remember-me-footer-container", children: [
288
296
  /* @__PURE__ */ s.jsx("div", { className: "sid-remember-me-title", children: l === "consumerNotFound" ? /* @__PURE__ */ s.jsx(
289
297
  o,
290
298
  {
@@ -317,8 +325,8 @@ const y = (a, t = "_top") => {
317
325
  "button",
318
326
  {
319
327
  type: "button",
320
- onClick: () => y(
321
- D(h, e, r),
328
+ onClick: () => w(
329
+ D(u, e, r),
322
330
  "_blank"
323
331
  ),
324
332
  className: "sid-btn sid-remember-me-redirect-btn",
@@ -339,7 +347,7 @@ const y = (a, t = "_top") => {
339
347
  )
340
348
  ] })
341
349
  ] });
342
- }, X = q;
350
+ }, K = G;
343
351
  export {
344
- X as default
352
+ K as default
345
353
  };