@sheerid/jslib 2.295.0 → 2.296.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 (412) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +47 -47
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-maoUGgcH.js → AddressComponent-BfmMdKRk.js} +8 -8
  5. package/chunk/{AddressComponent-DgdxVCak.js.map → AddressComponent-BfmMdKRk.js.map} +1 -1
  6. package/chunk/{AddressComponent-DgdxVCak.js → AddressComponent-D35t0wuk.js} +8 -8
  7. package/chunk/{AddressComponent-maoUGgcH.js.map → AddressComponent-D35t0wuk.js.map} +1 -1
  8. package/chunk/{AnnouncingHeader-C6QNdmy8.js → AnnouncingHeader-CnV2m0Ak.js} +5 -5
  9. package/chunk/{AnnouncingHeader-C6QNdmy8.js.map → AnnouncingHeader-CnV2m0Ak.js.map} +1 -1
  10. package/chunk/{AnnouncingHeader-DJd16MZV.js → AnnouncingHeader-zH7WLU2-.js} +5 -5
  11. package/chunk/{AnnouncingHeader-DJd16MZV.js.map → AnnouncingHeader-zH7WLU2-.js.map} +1 -1
  12. package/chunk/{BirthDateComponent-DsswVPXn.js → BirthDateComponent-CTKl9PbC.js} +7 -7
  13. package/chunk/{BirthDateComponent-CLfHsLxA.js.map → BirthDateComponent-CTKl9PbC.js.map} +1 -1
  14. package/chunk/{BirthDateComponent-CLfHsLxA.js → BirthDateComponent-CpOFqU8H.js} +7 -7
  15. package/chunk/{BirthDateComponent-DsswVPXn.js.map → BirthDateComponent-CpOFqU8H.js.map} +1 -1
  16. package/chunk/{CaptchaComponent-Yb-l7_Pn.js → CaptchaComponent-BJZ9V_pH.js} +49 -49
  17. package/chunk/CaptchaComponent-BJZ9V_pH.js.map +1 -0
  18. package/chunk/{CaptchaComponent-REgKvi8p.js → CaptchaComponent-hjpjrO_P.js} +46 -46
  19. package/chunk/CaptchaComponent-hjpjrO_P.js.map +1 -0
  20. package/chunk/{ChangeLocaleComponent-BJ3jZ7Nk.js → ChangeLocaleComponent-Blkp6RPU.js} +8 -8
  21. package/chunk/{ChangeLocaleComponent-BJ3jZ7Nk.js.map → ChangeLocaleComponent-Blkp6RPU.js.map} +1 -1
  22. package/chunk/{ChangeLocaleComponent-dhAkzkH4.js → ChangeLocaleComponent-lntDT1u0.js} +8 -8
  23. package/chunk/{ChangeLocaleComponent-dhAkzkH4.js.map → ChangeLocaleComponent-lntDT1u0.js.map} +1 -1
  24. package/chunk/{City-D7NN9waG.js → City-B1Su4Q-3.js} +8 -8
  25. package/chunk/{City-D7NN9waG.js.map → City-B1Su4Q-3.js.map} +1 -1
  26. package/chunk/{City-DL20Kfkf.js → City-D9gqlTjx.js} +8 -8
  27. package/chunk/{City-DL20Kfkf.js.map → City-D9gqlTjx.js.map} +1 -1
  28. package/chunk/{CollegeNameComponent-CHM311lm.js → CollegeNameComponent-CSI45Lxy.js} +9 -9
  29. package/chunk/{CollegeNameComponent-9pp2d2fm.js.map → CollegeNameComponent-CSI45Lxy.js.map} +1 -1
  30. package/chunk/{CollegeNameComponent-9pp2d2fm.js → CollegeNameComponent-DkbR_G-h.js} +9 -9
  31. package/chunk/{CollegeNameComponent-CHM311lm.js.map → CollegeNameComponent-DkbR_G-h.js.map} +1 -1
  32. package/chunk/{CopyToClipboardComponent-nKhkSaum.js → CopyToClipboardComponent-BdrpxpHJ.js} +5 -5
  33. package/chunk/{CopyToClipboardComponent-cvPop_DN.js.map → CopyToClipboardComponent-BdrpxpHJ.js.map} +1 -1
  34. package/chunk/{CopyToClipboardComponent-cvPop_DN.js → CopyToClipboardComponent-Dm3-3x4b.js} +5 -5
  35. package/chunk/{CopyToClipboardComponent-nKhkSaum.js.map → CopyToClipboardComponent-Dm3-3x4b.js.map} +1 -1
  36. package/chunk/{CountryComponentWrapper-CI5jLzGL.js → CountryComponentWrapper-CCJkL-BP.js} +15 -15
  37. package/chunk/{CountryComponentWrapper-CI5jLzGL.js.map → CountryComponentWrapper-CCJkL-BP.js.map} +1 -1
  38. package/chunk/{CountryComponentWrapper-DMctN0cb.js → CountryComponentWrapper-F2GH1MuK.js} +14 -14
  39. package/chunk/{CountryComponentWrapper-DMctN0cb.js.map → CountryComponentWrapper-F2GH1MuK.js.map} +1 -1
  40. package/chunk/{DischargeDateComponent-BshmF9Yt.js → DischargeDateComponent-CiE-h8-V.js} +25 -25
  41. package/chunk/{DischargeDateComponent-BshmF9Yt.js.map → DischargeDateComponent-CiE-h8-V.js.map} +1 -1
  42. package/chunk/{DischargeDateComponent-C0EIfXt0.js → DischargeDateComponent-DiIr0PAb.js} +25 -25
  43. package/chunk/{DischargeDateComponent-C0EIfXt0.js.map → DischargeDateComponent-DiIr0PAb.js.map} +1 -1
  44. package/chunk/{DriverLicenseNumberComponent-Dc8Qgy7p.js → DriverLicenseNumberComponent--ym3qzMT.js} +8 -8
  45. package/chunk/{DriverLicenseNumberComponent-Dc8Qgy7p.js.map → DriverLicenseNumberComponent--ym3qzMT.js.map} +1 -1
  46. package/chunk/{DriverLicenseNumberComponent-DeioJNhW.js → DriverLicenseNumberComponent-Dy3-2Pmc.js} +8 -8
  47. package/chunk/{DriverLicenseNumberComponent-DeioJNhW.js.map → DriverLicenseNumberComponent-Dy3-2Pmc.js.map} +1 -1
  48. package/chunk/{EmailLoopPending-DDmfESwc.js → EmailLoopPending-Bt7BajuC.js} +20 -20
  49. package/chunk/{EmailLoopPending-BrRIw6Xp.js.map → EmailLoopPending-Bt7BajuC.js.map} +1 -1
  50. package/chunk/{EmailLoopPending-BrRIw6Xp.js → EmailLoopPending-C2edcgLy.js} +20 -20
  51. package/chunk/{EmailLoopPending-DDmfESwc.js.map → EmailLoopPending-C2edcgLy.js.map} +1 -1
  52. package/chunk/{ExtraMessage-DEA8DQsG.js → ExtraMessage-Cob9qW6m.js} +6 -6
  53. package/chunk/{ExtraMessage-DEA8DQsG.js.map → ExtraMessage-Cob9qW6m.js.map} +1 -1
  54. package/chunk/{ExtraMessage-hNyxibRx.js → ExtraMessage-wekuxzBu.js} +6 -6
  55. package/chunk/{ExtraMessage-hNyxibRx.js.map → ExtraMessage-wekuxzBu.js.map} +1 -1
  56. package/chunk/{FirstResponderOrganizationComponent-D9I33eOb.js → FirstResponderOrganizationComponent-Al8r6Qm9.js} +9 -9
  57. package/chunk/{FirstResponderOrganizationComponent-C7joVP0X.js.map → FirstResponderOrganizationComponent-Al8r6Qm9.js.map} +1 -1
  58. package/chunk/{FirstResponderOrganizationComponent-C7joVP0X.js → FirstResponderOrganizationComponent-BO-TvISL.js} +9 -9
  59. package/chunk/{FirstResponderOrganizationComponent-D9I33eOb.js.map → FirstResponderOrganizationComponent-BO-TvISL.js.map} +1 -1
  60. package/chunk/{FormFieldInputSelect-Bzfv3xGL.js → FormFieldInputSelect-DR3EfH0r.js} +7 -7
  61. package/chunk/{FormFieldInputSelect-Bzfv3xGL.js.map → FormFieldInputSelect-DR3EfH0r.js.map} +1 -1
  62. package/chunk/{FormFieldInputSelect-Dj8d1GXq.js → FormFieldInputSelect-Dv55bWvn.js} +7 -7
  63. package/chunk/{FormFieldInputSelect-Dj8d1GXq.js.map → FormFieldInputSelect-Dv55bWvn.js.map} +1 -1
  64. package/chunk/{FormFieldLayout-Bx2JoyDR.js → FormFieldLayout-D1tb5nAu.js} +5 -5
  65. package/chunk/{FormFieldLayout-Bx2JoyDR.js.map → FormFieldLayout-D1tb5nAu.js.map} +1 -1
  66. package/chunk/{FormFieldLayout-_lQMBCmX.js → FormFieldLayout-Dt_dMiDh.js} +5 -5
  67. package/chunk/{FormFieldLayout-_lQMBCmX.js.map → FormFieldLayout-Dt_dMiDh.js.map} +1 -1
  68. package/chunk/{FormFieldText-5WjD4GNf.js → FormFieldText-BU2NBm1H.js} +7 -7
  69. package/chunk/{FormFieldText-5WjD4GNf.js.map → FormFieldText-BU2NBm1H.js.map} +1 -1
  70. package/chunk/{FormFieldText-BQLBciux.js → FormFieldText-CsFISbyw.js} +7 -7
  71. package/chunk/{FormFieldText-BQLBciux.js.map → FormFieldText-CsFISbyw.js.map} +1 -1
  72. package/chunk/{FormFieldTypeahead-CHXpavSg.js → FormFieldTypeahead-BdDdwhLS.js} +28 -28
  73. package/chunk/{FormFieldTypeahead-CHXpavSg.js.map → FormFieldTypeahead-BdDdwhLS.js.map} +1 -1
  74. package/chunk/{FormFieldTypeahead-DD5l6OzL.js → FormFieldTypeahead-eRU9B5Ku.js} +28 -28
  75. package/chunk/{FormFieldTypeahead-DD5l6OzL.js.map → FormFieldTypeahead-eRU9B5Ku.js.map} +1 -1
  76. package/chunk/{FormFooterComponent-r-Wk8ivg.js → FormFooterComponent-CP5Igxpo.js} +10 -10
  77. package/chunk/{FormFooterComponent-r-Wk8ivg.js.map → FormFooterComponent-CP5Igxpo.js.map} +1 -1
  78. package/chunk/{FormFooterComponent-DuoNNzmM.js → FormFooterComponent-CmpIRI0d.js} +10 -10
  79. package/chunk/{FormFooterComponent-DuoNNzmM.js.map → FormFooterComponent-CmpIRI0d.js.map} +1 -1
  80. package/chunk/{FormSelectChoice-DRijHkxS.js → FormSelectChoice-BzH4Y9DK.js} +13 -13
  81. package/chunk/{FormSelectChoice-Cv7h1Gk-.js.map → FormSelectChoice-BzH4Y9DK.js.map} +1 -1
  82. package/chunk/{FormSelectChoice-Cv7h1Gk-.js → FormSelectChoice-CqsrGoB5.js} +10 -10
  83. package/chunk/{FormSelectChoice-DRijHkxS.js.map → FormSelectChoice-CqsrGoB5.js.map} +1 -1
  84. package/chunk/{InputText-DBIXmm_R.js → InputText-CuBi-ytU.js} +5 -5
  85. package/chunk/InputText-CuBi-ytU.js.map +1 -0
  86. package/chunk/{InputText-DqQkxoCM.js → InputText-DMztCQmi.js} +5 -5
  87. package/chunk/InputText-DMztCQmi.js.map +1 -0
  88. package/chunk/{LicensedProfessionalOrganizationComponent-D3xtH997.js → LicensedProfessionalOrganizationComponent-CS1-HJ1C.js} +9 -9
  89. package/chunk/{LicensedProfessionalOrganizationComponent-Cb3iTvqT.js.map → LicensedProfessionalOrganizationComponent-CS1-HJ1C.js.map} +1 -1
  90. package/chunk/{LicensedProfessionalOrganizationComponent-Cb3iTvqT.js → LicensedProfessionalOrganizationComponent-De1NTvgs.js} +9 -9
  91. package/chunk/{LicensedProfessionalOrganizationComponent-D3xtH997.js.map → LicensedProfessionalOrganizationComponent-De1NTvgs.js.map} +1 -1
  92. package/chunk/{LogoComponent-BdfWOuxB.js → LogoComponent-DtnWbRII.js} +6 -6
  93. package/chunk/{LogoComponent-BdfWOuxB.js.map → LogoComponent-DtnWbRII.js.map} +1 -1
  94. package/chunk/{LogoComponent-DyVO4147.js → LogoComponent-jL4Rq6ZT.js} +6 -6
  95. package/chunk/{LogoComponent-DyVO4147.js.map → LogoComponent-jL4Rq6ZT.js.map} +1 -1
  96. package/chunk/{LowIncomeOrganizationComponent-COao8mYF.js → LowIncomeOrganizationComponent-Dc4HYfr1.js} +20 -20
  97. package/chunk/{LowIncomeOrganizationComponent-C1Kc1f-S.js.map → LowIncomeOrganizationComponent-Dc4HYfr1.js.map} +1 -1
  98. package/chunk/{LowIncomeOrganizationComponent-C1Kc1f-S.js → LowIncomeOrganizationComponent-xwq7_FKf.js} +20 -20
  99. package/chunk/{LowIncomeOrganizationComponent-COao8mYF.js.map → LowIncomeOrganizationComponent-xwq7_FKf.js.map} +1 -1
  100. package/chunk/{MedicalProfessionalOrganizationComponent-RaxoODpA.js → MedicalProfessionalOrganizationComponent-DRwIFnoi.js} +9 -9
  101. package/chunk/{MedicalProfessionalOrganizationComponent-kkwsXIu4.js.map → MedicalProfessionalOrganizationComponent-DRwIFnoi.js.map} +1 -1
  102. package/chunk/{MedicalProfessionalOrganizationComponent-kkwsXIu4.js → MedicalProfessionalOrganizationComponent-DgSm4cZi.js} +9 -9
  103. package/chunk/{MedicalProfessionalOrganizationComponent-RaxoODpA.js.map → MedicalProfessionalOrganizationComponent-DgSm4cZi.js.map} +1 -1
  104. package/chunk/{MemberIdComponent-jvqHM2pn.js → MemberIdComponent-CXJD--6p.js} +8 -8
  105. package/chunk/{MemberIdComponent-BN3lbgRi.js.map → MemberIdComponent-CXJD--6p.js.map} +1 -1
  106. package/chunk/{MemberIdComponent-BN3lbgRi.js → MemberIdComponent-NEg1mYJM.js} +8 -8
  107. package/chunk/{MemberIdComponent-jvqHM2pn.js.map → MemberIdComponent-NEg1mYJM.js.map} +1 -1
  108. package/chunk/{MembershipOrganizationComponent-DYoDg3dU.js → MembershipOrganizationComponent-Ppqk5QyR.js} +9 -9
  109. package/chunk/{MembershipOrganizationComponent-BZHkjQ5J.js.map → MembershipOrganizationComponent-Ppqk5QyR.js.map} +1 -1
  110. package/chunk/{MembershipOrganizationComponent-BZHkjQ5J.js → MembershipOrganizationComponent-tzDKZgR_.js} +9 -9
  111. package/chunk/{MembershipOrganizationComponent-DYoDg3dU.js.map → MembershipOrganizationComponent-tzDKZgR_.js.map} +1 -1
  112. package/chunk/{Message-TROixmy1.js → Message-C4qWuoA7.js} +324 -324
  113. package/chunk/{Message-TROixmy1.js.map → Message-C4qWuoA7.js.map} +1 -1
  114. package/chunk/{Message-BOC0ndsP.js → Message-CZskfqcI.js} +14 -14
  115. package/chunk/{Message-BOC0ndsP.js.map → Message-CZskfqcI.js.map} +1 -1
  116. package/chunk/Onfido-CTCgAwnB.js +4 -4
  117. package/chunk/{PersonalInfoStepSubmitButton-CuQmqVvc.js → PersonalInfoStepSubmitButton-DevIpS3M.js} +21 -21
  118. package/chunk/{PersonalInfoStepSubmitButton-CuQmqVvc.js.map → PersonalInfoStepSubmitButton-DevIpS3M.js.map} +1 -1
  119. package/chunk/{PersonalInfoStepSubmitButton-GwnOAcWy.js → PersonalInfoStepSubmitButton-obiTgRFv.js} +22 -22
  120. package/chunk/{PersonalInfoStepSubmitButton-GwnOAcWy.js.map → PersonalInfoStepSubmitButton-obiTgRFv.js.map} +1 -1
  121. package/chunk/{PersonalInfoStepWrapper-DNUApKjr.js → PersonalInfoStepWrapper-Bwy_EnUr.js} +7 -7
  122. package/chunk/{PersonalInfoStepWrapper-DNUApKjr.js.map → PersonalInfoStepWrapper-Bwy_EnUr.js.map} +1 -1
  123. package/chunk/{PersonalInfoStepWrapper-hoTD6n-G.js → PersonalInfoStepWrapper-_LiPRLv0.js} +6 -6
  124. package/chunk/{PersonalInfoStepWrapper-hoTD6n-G.js.map → PersonalInfoStepWrapper-_LiPRLv0.js.map} +1 -1
  125. package/chunk/{PostalCodeComponent-BwV4q_6-.js → PostalCodeComponent-BU3uUkz5.js} +8 -8
  126. package/chunk/{PostalCodeComponent-BQ7y0ygq.js.map → PostalCodeComponent-BU3uUkz5.js.map} +1 -1
  127. package/chunk/{PostalCodeComponent-BQ7y0ygq.js → PostalCodeComponent-DE4FtHXn.js} +8 -8
  128. package/chunk/{PostalCodeComponent-BwV4q_6-.js.map → PostalCodeComponent-DE4FtHXn.js.map} +1 -1
  129. package/chunk/{SSN-u-erpOkk.js → SSN-Bd7iEK0D.js} +8 -8
  130. package/chunk/{SSN-ClwVR0oH.js.map → SSN-Bd7iEK0D.js.map} +1 -1
  131. package/chunk/{SSN-ClwVR0oH.js → SSN-CiU8LUIC.js} +8 -8
  132. package/chunk/{SSN-u-erpOkk.js.map → SSN-CiU8LUIC.js.map} +1 -1
  133. package/chunk/{StateSelectComponent-ChCBK2cV.js → StateSelectComponent-BCHagpBG.js} +8 -8
  134. package/chunk/{StateSelectComponent-CWQwYWF8.js.map → StateSelectComponent-BCHagpBG.js.map} +1 -1
  135. package/chunk/{StateSelectComponent-CWQwYWF8.js → StateSelectComponent-Be_BuLYk.js} +8 -8
  136. package/chunk/{StateSelectComponent-ChCBK2cV.js.map → StateSelectComponent-Be_BuLYk.js.map} +1 -1
  137. package/chunk/{StatusComponent-DQOSEKFy.js → StatusComponent-CMoJS2Jl.js} +10 -10
  138. package/chunk/{StatusComponent-DQOSEKFy.js.map → StatusComponent-CMoJS2Jl.js.map} +1 -1
  139. package/chunk/{StatusComponent-Dc38Mb9r.js → StatusComponent-CYTWVmt6.js} +10 -10
  140. package/chunk/{StatusComponent-Dc38Mb9r.js.map → StatusComponent-CYTWVmt6.js.map} +1 -1
  141. package/chunk/{StepAgePersonalInfo-O-fJZAXz.js → StepAgePersonalInfo-BtZmkOMB.js} +39 -39
  142. package/chunk/{StepAgePersonalInfo-O-fJZAXz.js.map → StepAgePersonalInfo-BtZmkOMB.js.map} +1 -1
  143. package/chunk/{StepAgePersonalInfo-laL4y5lq.js → StepAgePersonalInfo-D5RdoP-0.js} +38 -38
  144. package/chunk/{StepAgePersonalInfo-laL4y5lq.js.map → StepAgePersonalInfo-D5RdoP-0.js.map} +1 -1
  145. package/chunk/{StepCard-DD1BU5jb.js → StepCard-DJR-l3sW.js} +5 -5
  146. package/chunk/{StepCard-CQGeXH7Z.js.map → StepCard-DJR-l3sW.js.map} +1 -1
  147. package/chunk/{StepCard-CQGeXH7Z.js → StepCard-wwTRGIhn.js} +5 -5
  148. package/chunk/{StepCard-DD1BU5jb.js.map → StepCard-wwTRGIhn.js.map} +1 -1
  149. package/chunk/{StepCollectIdentifier-Cjm32rgq.js → StepCollectIdentifier-BkMWEbcs.js} +8 -8
  150. package/chunk/{StepCollectIdentifier-Cjm32rgq.js.map → StepCollectIdentifier-BkMWEbcs.js.map} +1 -1
  151. package/chunk/{StepCollectIdentifier-G4pFqOK9.js → StepCollectIdentifier-DIHpPUyG.js} +8 -8
  152. package/chunk/{StepCollectIdentifier-G4pFqOK9.js.map → StepCollectIdentifier-DIHpPUyG.js.map} +1 -1
  153. package/chunk/StepCollectMilitaryPersonalInfoComponent-CL0bldgZ.js +248 -0
  154. package/chunk/StepCollectMilitaryPersonalInfoComponent-CL0bldgZ.js.map +1 -0
  155. package/chunk/StepCollectMilitaryPersonalInfoComponent-on1o7u6X.js +244 -0
  156. package/chunk/StepCollectMilitaryPersonalInfoComponent-on1o7u6X.js.map +1 -0
  157. package/chunk/StepCollectPersonalInfo-2_qDC_UX.js +370 -0
  158. package/chunk/StepCollectPersonalInfo-2_qDC_UX.js.map +1 -0
  159. package/chunk/StepCollectPersonalInfo-D9uCpSl7.js +366 -0
  160. package/chunk/StepCollectPersonalInfo-D9uCpSl7.js.map +1 -0
  161. package/chunk/{StepCompleteAuthentication-xpON0-yc.js → StepCompleteAuthentication-BawnNriI.js} +21 -21
  162. package/chunk/{StepCompleteAuthentication-xpON0-yc.js.map → StepCompleteAuthentication-BawnNriI.js.map} +1 -1
  163. package/chunk/{StepCompleteAuthentication-5kcqz-By.js → StepCompleteAuthentication-VpE4-5vs.js} +20 -20
  164. package/chunk/{StepCompleteAuthentication-5kcqz-By.js.map → StepCompleteAuthentication-VpE4-5vs.js.map} +1 -1
  165. package/chunk/{StepConsolation-G7o48Tin.js → StepConsolation-CEEI3obU.js} +8 -8
  166. package/chunk/{StepConsolation-G7o48Tin.js.map → StepConsolation-CEEI3obU.js.map} +1 -1
  167. package/chunk/{StepConsolation-BCOW9PEV.js → StepConsolation-CPHH5mJI.js} +8 -8
  168. package/chunk/{StepConsolation-BCOW9PEV.js.map → StepConsolation-CPHH5mJI.js.map} +1 -1
  169. package/chunk/{StepDocUpload-DyHCicU5.js → StepDocUpload-DbfG66DC.js} +12 -12
  170. package/chunk/{StepDocUpload-DyHCicU5.js.map → StepDocUpload-DbfG66DC.js.map} +1 -1
  171. package/chunk/{StepDocUpload-CWQCHhFI.js → StepDocUpload-MkUIAN5u.js} +12 -12
  172. package/chunk/{StepDocUpload-CWQCHhFI.js.map → StepDocUpload-MkUIAN5u.js.map} +1 -1
  173. package/chunk/StepDriverLicensePersonalInfoComponent-D2gKosYd.js +146 -0
  174. package/chunk/StepDriverLicensePersonalInfoComponent-D2gKosYd.js.map +1 -0
  175. package/chunk/StepDriverLicensePersonalInfoComponent-kJQTIw6I.js +142 -0
  176. package/chunk/StepDriverLicensePersonalInfoComponent-kJQTIw6I.js.map +1 -0
  177. package/chunk/{StepEmailLoop-BtNAJ4VG.js → StepEmailLoop-3mxe4-A1.js} +12 -12
  178. package/chunk/{StepEmailLoop-7E6iMUNH.js.map → StepEmailLoop-3mxe4-A1.js.map} +1 -1
  179. package/chunk/{StepEmailLoop-7E6iMUNH.js → StepEmailLoop-B-kLgRUt.js} +12 -12
  180. package/chunk/{StepEmailLoop-BtNAJ4VG.js.map → StepEmailLoop-B-kLgRUt.js.map} +1 -1
  181. package/chunk/StepEmploymentPersonalInfo-CH3qSsU9.js +220 -0
  182. package/chunk/StepEmploymentPersonalInfo-CH3qSsU9.js.map +1 -0
  183. package/chunk/StepEmploymentPersonalInfo-DvOQsc4J.js +216 -0
  184. package/chunk/StepEmploymentPersonalInfo-DvOQsc4J.js.map +1 -0
  185. package/chunk/{StepFirstResponderPersonalInfo-BGWMMjgm.js → StepFirstResponderPersonalInfo-CUU7noYw.js} +20 -20
  186. package/chunk/{StepFirstResponderPersonalInfo-BGWMMjgm.js.map → StepFirstResponderPersonalInfo-CUU7noYw.js.map} +1 -1
  187. package/chunk/{StepFirstResponderPersonalInfo-DtmJru3d.js → StepFirstResponderPersonalInfo-DIFcJEh2.js} +20 -20
  188. package/chunk/{StepFirstResponderPersonalInfo-DtmJru3d.js.map → StepFirstResponderPersonalInfo-DIFcJEh2.js.map} +1 -1
  189. package/chunk/StepGeneralIdentityPersonalInfoComponent-6nOwJD32.js +179 -0
  190. package/chunk/StepGeneralIdentityPersonalInfoComponent-6nOwJD32.js.map +1 -0
  191. package/chunk/StepGeneralIdentityPersonalInfoComponent-jdxI-psg.js +175 -0
  192. package/chunk/StepGeneralIdentityPersonalInfoComponent-jdxI-psg.js.map +1 -0
  193. package/chunk/StepHybridIdentityPersonalInfoComponent-Bf7F-60O.js +188 -0
  194. package/chunk/StepHybridIdentityPersonalInfoComponent-Bf7F-60O.js.map +1 -0
  195. package/chunk/StepHybridIdentityPersonalInfoComponent-C9L2Ke1K.js +184 -0
  196. package/chunk/StepHybridIdentityPersonalInfoComponent-C9L2Ke1K.js.map +1 -0
  197. package/chunk/{StepIDCheckLoop-Do0-tvDI.js → StepIDCheckLoop-CAeac23M.js} +6 -6
  198. package/chunk/{StepIDCheckLoop-Do0-tvDI.js.map → StepIDCheckLoop-CAeac23M.js.map} +1 -1
  199. package/chunk/{StepIDCheckLoop-D6qhQn6b.js → StepIDCheckLoop-CCiosQ5Q.js} +6 -6
  200. package/chunk/{StepIDCheckLoop-D6qhQn6b.js.map → StepIDCheckLoop-CCiosQ5Q.js.map} +1 -1
  201. package/chunk/{StepIDCheckLoopOnfido-DUItWVK4.js → StepIDCheckLoopOnfido-7dr0m35-.js} +40 -40
  202. package/chunk/{StepIDCheckLoopOnfido-DUItWVK4.js.map → StepIDCheckLoopOnfido-7dr0m35-.js.map} +1 -1
  203. package/chunk/{StepIDCheckLoopOnfido-DDywJIeR.js → StepIDCheckLoopOnfido-CQNbs_q4.js} +40 -40
  204. package/chunk/{StepIDCheckLoopOnfido-DDywJIeR.js.map → StepIDCheckLoopOnfido-CQNbs_q4.js.map} +1 -1
  205. package/chunk/{StepIDCheckLoopRegula-CvVuirKf.js → StepIDCheckLoopRegula-DRa-5-fJ.js} +35 -35
  206. package/chunk/{StepIDCheckLoopRegula-CmQLTkrX.js.map → StepIDCheckLoopRegula-DRa-5-fJ.js.map} +1 -1
  207. package/chunk/{StepIDCheckLoopRegula-CmQLTkrX.js → StepIDCheckLoopRegula-DyRVgrz6.js} +34 -34
  208. package/chunk/{StepIDCheckLoopRegula-CvVuirKf.js.map → StepIDCheckLoopRegula-DyRVgrz6.js.map} +1 -1
  209. package/chunk/{StepLicensedProfessionalPersonalInfo-DbWrYcQ_.js → StepLicensedProfessionalPersonalInfo-2raRP_sC.js} +20 -20
  210. package/chunk/{StepLicensedProfessionalPersonalInfo-BhIn-AA3.js.map → StepLicensedProfessionalPersonalInfo-2raRP_sC.js.map} +1 -1
  211. package/chunk/{StepLicensedProfessionalPersonalInfo-BhIn-AA3.js → StepLicensedProfessionalPersonalInfo-C9TLaEUo.js} +20 -20
  212. package/chunk/{StepLicensedProfessionalPersonalInfo-DbWrYcQ_.js.map → StepLicensedProfessionalPersonalInfo-C9TLaEUo.js.map} +1 -1
  213. package/chunk/StepLowIncomePersonalInfo-CriFm1p0.js +232 -0
  214. package/chunk/StepLowIncomePersonalInfo-CriFm1p0.js.map +1 -0
  215. package/chunk/StepLowIncomePersonalInfo-DUKc7Xzd.js +236 -0
  216. package/chunk/StepLowIncomePersonalInfo-DUKc7Xzd.js.map +1 -0
  217. package/chunk/StepMedicalProfessionalPersonalInfo-BpskGst0.js +211 -0
  218. package/chunk/StepMedicalProfessionalPersonalInfo-BpskGst0.js.map +1 -0
  219. package/chunk/StepMedicalProfessionalPersonalInfo-BwQAKDQf.js +207 -0
  220. package/chunk/StepMedicalProfessionalPersonalInfo-BwQAKDQf.js.map +1 -0
  221. package/chunk/{StepMemberPersonalInfo-D25hjill.js → StepMemberPersonalInfo-CPIKj6JS.js} +31 -31
  222. package/chunk/{StepMemberPersonalInfo--RSWSrn4.js.map → StepMemberPersonalInfo-CPIKj6JS.js.map} +1 -1
  223. package/chunk/{StepMemberPersonalInfo--RSWSrn4.js → StepMemberPersonalInfo-IZX2jT9o.js} +31 -31
  224. package/chunk/{StepMemberPersonalInfo-D25hjill.js.map → StepMemberPersonalInfo-IZX2jT9o.js.map} +1 -1
  225. package/chunk/StepMoverPersonalInfo-DkZFK0Y5.js +141 -0
  226. package/chunk/StepMoverPersonalInfo-DkZFK0Y5.js.map +1 -0
  227. package/chunk/StepMoverPersonalInfo-QrDDJn9q.js +145 -0
  228. package/chunk/StepMoverPersonalInfo-QrDDJn9q.js.map +1 -0
  229. package/chunk/{StepOverrideComponent-c8O0Smnb.js → StepOverrideComponent-DB8XcUxS.js} +20 -20
  230. package/chunk/{StepOverrideComponent-c8O0Smnb.js.map → StepOverrideComponent-DB8XcUxS.js.map} +1 -1
  231. package/chunk/{StepOverrideComponent-CiqRKexX.js → StepOverrideComponent-DQK02UCn.js} +19 -19
  232. package/chunk/{StepOverrideComponent-CiqRKexX.js.map → StepOverrideComponent-DQK02UCn.js.map} +1 -1
  233. package/chunk/{StepSMSLoop-B3hkEQDG.js → StepSMSLoop-DHcrK3zK.js} +24 -24
  234. package/chunk/{StepSMSLoop-B3hkEQDG.js.map → StepSMSLoop-DHcrK3zK.js.map} +1 -1
  235. package/chunk/{StepSMSLoop-C-HznICP.js → StepSMSLoop-Dd-TlY0x.js} +23 -23
  236. package/chunk/{StepSMSLoop-C-HznICP.js.map → StepSMSLoop-Dd-TlY0x.js.map} +1 -1
  237. package/chunk/StepSSO-BGHCbduX.js +4 -4
  238. package/chunk/StepSSO-ZHByQpHa.js +4 -4
  239. package/chunk/StepSocialSecurityNumber-eisNq5zV.js +151 -0
  240. package/chunk/StepSocialSecurityNumber-eisNq5zV.js.map +1 -0
  241. package/chunk/{StepSocialSecurityNumber--bK8TwxM.js → StepSocialSecurityNumber-tQeL8BPo.js} +57 -57
  242. package/chunk/StepSocialSecurityNumber-tQeL8BPo.js.map +1 -0
  243. package/chunk/{StepStudentPersonalInfo-BAc9QmMn.js → StepStudentPersonalInfo-BXKx-RjY.js} +43 -43
  244. package/chunk/{StepStudentPersonalInfo-BAc9QmMn.js.map → StepStudentPersonalInfo-BXKx-RjY.js.map} +1 -1
  245. package/chunk/{StepStudentPersonalInfo-DQ8oCfdE.js → StepStudentPersonalInfo-xDQaapez.js} +30 -30
  246. package/chunk/{StepStudentPersonalInfo-DQ8oCfdE.js.map → StepStudentPersonalInfo-xDQaapez.js.map} +1 -1
  247. package/chunk/{StepSuccess-0PqmUdFL.js → StepSuccess-Buungtjz.js} +34 -34
  248. package/chunk/{StepSuccess-D6kosHAA.js.map → StepSuccess-Buungtjz.js.map} +1 -1
  249. package/chunk/{StepSuccess-D6kosHAA.js → StepSuccess-DVw4r-Tw.js} +29 -29
  250. package/chunk/{StepSuccess-0PqmUdFL.js.map → StepSuccess-DVw4r-Tw.js.map} +1 -1
  251. package/chunk/{StepTeacherPersonalInfo-BIvT1HlM.js → StepTeacherPersonalInfo-CDDemAKT.js} +31 -31
  252. package/chunk/{StepTeacherPersonalInfo-BIvT1HlM.js.map → StepTeacherPersonalInfo-CDDemAKT.js.map} +1 -1
  253. package/chunk/{StepTeacherPersonalInfo-CX-QvAFx.js → StepTeacherPersonalInfo-D1JAJHN3.js} +31 -31
  254. package/chunk/{StepTeacherPersonalInfo-CX-QvAFx.js.map → StepTeacherPersonalInfo-D1JAJHN3.js.map} +1 -1
  255. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
  256. package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
  257. package/chunk/{TeacherSchoolComponent-DCMr56C0.js → TeacherSchoolComponent-BNIskQFr.js} +9 -9
  258. package/chunk/{TeacherSchoolComponent-DCMr56C0.js.map → TeacherSchoolComponent-BNIskQFr.js.map} +1 -1
  259. package/chunk/{TeacherSchoolComponent-DRNiHn0H.js → TeacherSchoolComponent-DRXDnv-p.js} +9 -9
  260. package/chunk/{TeacherSchoolComponent-DRNiHn0H.js.map → TeacherSchoolComponent-DRXDnv-p.js.map} +1 -1
  261. package/chunk/TestingRouteOverrides-BbCY31VT.js +4 -4
  262. package/chunk/TestingRouteOverrides-DEu_4afz.js +4 -4
  263. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  264. package/chunk/ar-D5CO913q.js +4 -4
  265. package/chunk/bg-1mhA5kYF.js +4 -4
  266. package/chunk/bn-IN-CpDqyRb_.js +4 -4
  267. package/chunk/clsx-CB5rauS5.js +4 -4
  268. package/chunk/{countryUtils-DoVJSI8W.js → countryUtils-CxM4Re8c.js} +5 -5
  269. package/chunk/{countryUtils-Dn17xbSI.js.map → countryUtils-CxM4Re8c.js.map} +1 -1
  270. package/chunk/countryUtils-R_5wICVb.js +12 -0
  271. package/chunk/{countryUtils-DoVJSI8W.js.map → countryUtils-R_5wICVb.js.map} +1 -1
  272. package/chunk/cs-Chh7FAGt.js +4 -4
  273. package/chunk/da-DwrVoxto.js +4 -4
  274. package/chunk/de-IWGZLhgY.js +4 -4
  275. package/chunk/{downshift.esm-BGnGkwiG.js → downshift.esm-BbR19lWJ.js} +8 -8
  276. package/chunk/{downshift.esm--NTaU4XK.js.map → downshift.esm-BbR19lWJ.js.map} +1 -1
  277. package/chunk/{downshift.esm--NTaU4XK.js → downshift.esm-Cy3QHO2k.js} +8 -8
  278. package/chunk/{downshift.esm-BGnGkwiG.js.map → downshift.esm-Cy3QHO2k.js.map} +1 -1
  279. package/chunk/el-DbDcvSPJ.js +4 -4
  280. package/chunk/empties-B034wwK_.js +4 -4
  281. package/chunk/empties-lrCPA-9V.js +4 -4
  282. package/chunk/en-GB-CNQ8Ww2j.js +4 -4
  283. package/chunk/es-ES-DWimqEZ_.js +4 -4
  284. package/chunk/es-qhC-seq5.js +4 -4
  285. package/chunk/et-yF9G-Mym.js +4 -4
  286. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  287. package/chunk/fa-BcdSf7og.js +4 -4
  288. package/chunk/fi-D-IP_KHm.js +4 -4
  289. package/chunk/fr-BmUuYxk0.js +4 -4
  290. package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
  291. package/chunk/ga-DuZycND3.js +4 -4
  292. package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
  293. package/chunk/{hooks-DSoorQS3.js → hooks-DtYEjP2m.js} +7 -7
  294. package/chunk/{hooks-Bu8Px0Ok.js.map → hooks-DtYEjP2m.js.map} +1 -1
  295. package/chunk/{hooks-Bu8Px0Ok.js → hooks-QCx6OZlb.js} +7 -7
  296. package/chunk/{hooks-DSoorQS3.js.map → hooks-QCx6OZlb.js.map} +1 -1
  297. package/chunk/hr-BtqyDzDB.js +4 -4
  298. package/chunk/hu-C6syKJfb.js +4 -4
  299. package/chunk/id-GgI-Z2a5.js +4 -4
  300. package/chunk/intl-DYOqmiaL.js +4 -4
  301. package/chunk/is-CvmKEON9.js +4 -4
  302. package/chunk/it-CnmveGgC.js +4 -4
  303. package/chunk/iw-DFUYHkxF.js +4 -4
  304. package/chunk/ja-CjVb2tWW.js +4 -4
  305. package/chunk/{jsx-runtime-338NbZob.js → jsx-runtime-DQO6A867.js} +396 -429
  306. package/chunk/jsx-runtime-DQO6A867.js.map +1 -0
  307. package/chunk/{jsx-runtime-B6t5B3Mb.js → jsx-runtime-DtApx7WX.js} +396 -429
  308. package/chunk/jsx-runtime-DtApx7WX.js.map +1 -0
  309. package/chunk/kk-Dvz4nK6K.js +4 -4
  310. package/chunk/ko-DzOqBMGC.js +4 -4
  311. package/chunk/lo-C2WPq55d.js +4 -4
  312. package/chunk/lt-BSDYvjTF.js +4 -4
  313. package/chunk/lv-CefDPT-M.js +4 -4
  314. package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
  315. package/chunk/mocks-BQNtP7qW.js +4 -4
  316. package/chunk/mocks-DC7WJf5c.js +4 -4
  317. package/chunk/ms-BjestZxy.js +4 -4
  318. package/chunk/nl-B1FyUfCT.js +4 -4
  319. package/chunk/nl-BE-CbeAd3nq.js +4 -4
  320. package/chunk/no-Dr633Ddi.js +4 -4
  321. package/chunk/options-DsRV5fwh.js +4 -4
  322. package/chunk/pl-UYTjMIq_.js +4 -4
  323. package/chunk/{programThemeGetters-DmWeluMk.js → programThemeGetters-Bs9weQ3i.js} +5 -5
  324. package/chunk/{programThemeGetters-DmWeluMk.js.map → programThemeGetters-Bs9weQ3i.js.map} +1 -1
  325. package/chunk/{programThemeGetters-Df5v2sTO.js → programThemeGetters-CHcPOXgA.js} +5 -5
  326. package/chunk/{programThemeGetters-Df5v2sTO.js.map → programThemeGetters-CHcPOXgA.js.map} +1 -1
  327. package/chunk/pt-BR-C8SYMT-J.js +4 -4
  328. package/chunk/pt-uH-M3GdN.js +4 -4
  329. package/chunk/refs-Mq0rtW9K.js +4 -4
  330. package/chunk/ro-CAOSXZ7h.js +4 -4
  331. package/chunk/ru-iwYoEydL.js +4 -4
  332. package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
  333. package/chunk/sk-DYYNV3zw.js +4 -4
  334. package/chunk/sl-D_-eeM5N.js +4 -4
  335. package/chunk/sr-BTi9_anL.js +4 -4
  336. package/chunk/{stepComponentHelpers-J67LZsd0.js → stepComponentHelpers-C-r8qzyD.js} +5 -5
  337. package/chunk/{stepComponentHelpers-J67LZsd0.js.map → stepComponentHelpers-C-r8qzyD.js.map} +1 -1
  338. package/chunk/{stepComponentHelpers-hkvp2qUS.js → stepComponentHelpers-CDj3don1.js} +5 -5
  339. package/chunk/{stepComponentHelpers-hkvp2qUS.js.map → stepComponentHelpers-CDj3don1.js.map} +1 -1
  340. package/chunk/strings-DWLVdUcm.js +4 -4
  341. package/chunk/sv-DRwY4shG.js +4 -4
  342. package/chunk/sw-Bvj2mYmM.js +4 -4
  343. package/chunk/ta-CmtaYoNe.js +4 -4
  344. package/chunk/th-12r2yKkJ.js +4 -4
  345. package/chunk/tl-BGNfO7md.js +4 -4
  346. package/chunk/tr-DH2ZSJhs.js +4 -4
  347. package/chunk/uk-CELBZlTd.js +4 -4
  348. package/chunk/ur-MR8DTbmd.js +4 -4
  349. package/chunk/{useCollectFieldsEndpoint-CQeQ7JOB.js → useCollectFieldsEndpoint-Bj5AYf3g.js} +7 -7
  350. package/chunk/{useCollectFieldsEndpoint-CQeQ7JOB.js.map → useCollectFieldsEndpoint-Bj5AYf3g.js.map} +1 -1
  351. package/chunk/{useCollectFieldsEndpoint-DzxiHifj.js → useCollectFieldsEndpoint-DKrY7rlv.js} +7 -7
  352. package/chunk/{useCollectFieldsEndpoint-DzxiHifj.js.map → useCollectFieldsEndpoint-DKrY7rlv.js.map} +1 -1
  353. package/chunk/{useMetrics-C3RIqUJI.js → useMetrics-D6LU4c5p.js} +6 -6
  354. package/chunk/{useMetrics-C3RIqUJI.js.map → useMetrics-D6LU4c5p.js.map} +1 -1
  355. package/chunk/{useMetrics-dwc-Zjl_.js → useMetrics-DGl7Sxfe.js} +6 -6
  356. package/chunk/{useMetrics-dwc-Zjl_.js.map → useMetrics-DGl7Sxfe.js.map} +1 -1
  357. package/chunk/vi-DtZ-SqD5.js +4 -4
  358. package/chunk/zh-DjyVyYac.js +4 -4
  359. package/chunk/zh-HK-CN1HarHq.js +4 -4
  360. package/chunk/zu-DPhgIh1z.js +4 -4
  361. package/package.json +1 -1
  362. package/sheerid-install.css +4 -4
  363. package/sheerid-install.js +4 -4
  364. package/sheerid.css +4 -4
  365. package/sheerid.js +82 -82
  366. package/sheerid.js.map +1 -1
  367. package/chunk/CaptchaComponent-REgKvi8p.js.map +0 -1
  368. package/chunk/CaptchaComponent-Yb-l7_Pn.js.map +0 -1
  369. package/chunk/InputText-DBIXmm_R.js.map +0 -1
  370. package/chunk/InputText-DqQkxoCM.js.map +0 -1
  371. package/chunk/StepCollectMilitaryPersonalInfoComponent-BnDLyomQ.js +0 -247
  372. package/chunk/StepCollectMilitaryPersonalInfoComponent-BnDLyomQ.js.map +0 -1
  373. package/chunk/StepCollectMilitaryPersonalInfoComponent-DxvcdUUs.js +0 -243
  374. package/chunk/StepCollectMilitaryPersonalInfoComponent-DxvcdUUs.js.map +0 -1
  375. package/chunk/StepCollectPersonalInfo-DRNLoSAw.js +0 -370
  376. package/chunk/StepCollectPersonalInfo-DRNLoSAw.js.map +0 -1
  377. package/chunk/StepCollectPersonalInfo-DcRynwwh.js +0 -366
  378. package/chunk/StepCollectPersonalInfo-DcRynwwh.js.map +0 -1
  379. package/chunk/StepDriverLicensePersonalInfoComponent-CRAjwgXK.js +0 -145
  380. package/chunk/StepDriverLicensePersonalInfoComponent-CRAjwgXK.js.map +0 -1
  381. package/chunk/StepDriverLicensePersonalInfoComponent-D4Lkdkgd.js +0 -141
  382. package/chunk/StepDriverLicensePersonalInfoComponent-D4Lkdkgd.js.map +0 -1
  383. package/chunk/StepEmploymentPersonalInfo-BDWcx1FU.js +0 -220
  384. package/chunk/StepEmploymentPersonalInfo-BDWcx1FU.js.map +0 -1
  385. package/chunk/StepEmploymentPersonalInfo-CiqN8uV6.js +0 -216
  386. package/chunk/StepEmploymentPersonalInfo-CiqN8uV6.js.map +0 -1
  387. package/chunk/StepGeneralIdentityPersonalInfoComponent-BZpIssl6.js +0 -178
  388. package/chunk/StepGeneralIdentityPersonalInfoComponent-BZpIssl6.js.map +0 -1
  389. package/chunk/StepGeneralIdentityPersonalInfoComponent-af647do9.js +0 -174
  390. package/chunk/StepGeneralIdentityPersonalInfoComponent-af647do9.js.map +0 -1
  391. package/chunk/StepHybridIdentityPersonalInfoComponent-CBDgcbRT.js +0 -183
  392. package/chunk/StepHybridIdentityPersonalInfoComponent-CBDgcbRT.js.map +0 -1
  393. package/chunk/StepHybridIdentityPersonalInfoComponent-CWVdzJCv.js +0 -187
  394. package/chunk/StepHybridIdentityPersonalInfoComponent-CWVdzJCv.js.map +0 -1
  395. package/chunk/StepLowIncomePersonalInfo-D_HBmImA.js +0 -232
  396. package/chunk/StepLowIncomePersonalInfo-D_HBmImA.js.map +0 -1
  397. package/chunk/StepLowIncomePersonalInfo-n--chtDU.js +0 -236
  398. package/chunk/StepLowIncomePersonalInfo-n--chtDU.js.map +0 -1
  399. package/chunk/StepMedicalProfessionalPersonalInfo-C6JCaext.js +0 -211
  400. package/chunk/StepMedicalProfessionalPersonalInfo-C6JCaext.js.map +0 -1
  401. package/chunk/StepMedicalProfessionalPersonalInfo-CZhrEe6o.js +0 -207
  402. package/chunk/StepMedicalProfessionalPersonalInfo-CZhrEe6o.js.map +0 -1
  403. package/chunk/StepMoverPersonalInfo-Bd1budZI.js +0 -145
  404. package/chunk/StepMoverPersonalInfo-Bd1budZI.js.map +0 -1
  405. package/chunk/StepMoverPersonalInfo-b38J1JqS.js +0 -141
  406. package/chunk/StepMoverPersonalInfo-b38J1JqS.js.map +0 -1
  407. package/chunk/StepSocialSecurityNumber--bK8TwxM.js.map +0 -1
  408. package/chunk/StepSocialSecurityNumber-D-S0s81B.js +0 -151
  409. package/chunk/StepSocialSecurityNumber-D-S0s81B.js.map +0 -1
  410. package/chunk/countryUtils-Dn17xbSI.js +0 -12
  411. package/chunk/jsx-runtime-338NbZob.js.map +0 -1
  412. package/chunk/jsx-runtime-B6t5B3Mb.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepSocialSecurityNumber-eisNq5zV.js","names":[],"sources":["../../src/components/StepSocialSecurityNumber/SsnChoice.tsx","../../src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\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 } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum, FieldIdEnum } from \"../../lib/types/runtimeTypes\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport { type VerificationService, type 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 { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nimport { SsnChoice } from \"./SsnChoice\";\n\ninterface StepSocialSecurityNumberProps {\n verificationService: VerificationService;\n}\n\nexport const StepSocialSecurityNumber = ({\n verificationService,\n}: 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"],"mappings":";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E3B,AADA,EAAmB,wBAAwB,CAAK,GAChD,EACE,wBACA,GACA,CACF;QACF;QACA,WAAW,CAAC,CAAC,EAAsB,EAAY;QAC/C,aAAY;OACb,CAAA;MACE,CAAA;KACF;;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,UAAD;OACE,IAAG;OACH,eACE,EACE,GACA,GACA,EAAsB,2BACxB;OAEF,MAAK;OACL,WAAW,gFACT,IAAgB,KAAK;OAEvB,cAAW;OACX,MAAM,MAAW,EAAO,gBAAgB,CAAM;iBAE9C,iBAAA,GAAA,EAAA,KAAC,GAAD;QAAsB,IAAG;QAAU,gBAAe;OAAW,CAAA;MACvD,CAAA;KACL,CAAA;IACF,CAAA;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;KACE,WAAU;KACV,MAAK;KACL,UAAU;KACV,SAAS;KACT,SAAS;eAET,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACE,CAAA;IACF,CAAA;GACF;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
@@ -4,110 +4,110 @@
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.295.0
8
- * BUILD_TIMESTAMP: 1790114649208
9
- * BUILD_DATE: Tue Sep 22 2026 22:04:09 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 52df9017e3cb51641ba764b25f2494e8745819c7
7
+ * VERSION: 2.296.0
8
+ * BUILD_TIMESTAMP: 1790267309032
9
+ * BUILD_DATE: Thu Sep 24 2026 16:28:29 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: c40128b666ae42ee6a9edba848b7517c53c4e62a
11
11
  */
12
12
  import { kt as e, p as t } from "./intl-DYOqmiaL.js";
13
13
  import { b as n, t as r } from "./runtimeTypes-B2AGNJMT.js";
14
- import { a as i, c as a, n as o, t as s } from "./jsx-runtime-B6t5B3Mb.js";
15
- import { t as c } from "./FormFooterComponent-DuoNNzmM.js";
16
- import { o as l } from "./refs-Mq0rtW9K.js";
17
- import { t as u } from "./LogoComponent-DyVO4147.js";
18
- import { t as d } from "./AnnouncingHeader-C6QNdmy8.js";
19
- import { d as f, l as p } from "./stepComponentHelpers-J67LZsd0.js";
20
- import { t as m } from "./ChangeLocaleComponent-BJ3jZ7Nk.js";
21
- import { t as h } from "./SSN-ClwVR0oH.js";
14
+ import { n as i, s as a, t as o } from "./jsx-runtime-DtApx7WX.js";
15
+ import { t as s } from "./FormFooterComponent-CmpIRI0d.js";
16
+ import { o as c } from "./refs-Mq0rtW9K.js";
17
+ import { t as l } from "./LogoComponent-jL4Rq6ZT.js";
18
+ import { t as u } from "./AnnouncingHeader-CnV2m0Ak.js";
19
+ import { d, l as f } from "./stepComponentHelpers-C-r8qzyD.js";
20
+ import { t as p } from "./ChangeLocaleComponent-Blkp6RPU.js";
21
+ import { t as m } from "./SSN-CiU8LUIC.js";
22
22
  //#region src/components/StepSocialSecurityNumber/SsnChoice.tsx
23
- var g = /* @__PURE__ */ e(a(), 1), _ = s(), v = ({ useSsn: e, useDocUpload: t, verificationService: n }) => /* @__PURE__ */ (0, _.jsxs)("div", {
23
+ var h = /* @__PURE__ */ e(a(), 1), g = o(), _ = ({ useSsn: e, useDocUpload: t, verificationService: n }) => /* @__PURE__ */ (0, g.jsxs)("div", {
24
24
  id: "sid-ssn-choice",
25
25
  className: "sid-ssn-choice-container sid-l-container sid-l-horz-center",
26
- children: [/* @__PURE__ */ (0, _.jsxs)("div", {
26
+ children: [/* @__PURE__ */ (0, g.jsxs)("div", {
27
27
  role: "main",
28
28
  children: [
29
- /* @__PURE__ */ (0, _.jsxs)("div", {
29
+ /* @__PURE__ */ (0, g.jsxs)("div", {
30
30
  className: "sid-header",
31
- children: [/* @__PURE__ */ (0, _.jsx)("div", {
31
+ children: [/* @__PURE__ */ (0, g.jsx)("div", {
32
32
  className: "sid-ssn-choice-logo-container sid-l-horz-center",
33
- children: /* @__PURE__ */ (0, _.jsx)(u, { verificationService: n })
34
- }), /* @__PURE__ */ (0, _.jsx)("div", {
33
+ children: /* @__PURE__ */ (0, g.jsx)(l, { verificationService: n })
34
+ }), /* @__PURE__ */ (0, g.jsx)("div", {
35
35
  className: "sid-header__title sid-l-horz-center",
36
- children: /* @__PURE__ */ (0, _.jsx)(o, {
36
+ children: /* @__PURE__ */ (0, g.jsx)(i, {
37
37
  id: "step.collectSocialSecurityNumber.selectOption",
38
38
  defaultMessage: "Select an option",
39
39
  tagName: "h1"
40
40
  })
41
41
  })]
42
42
  }),
43
- /* @__PURE__ */ (0, _.jsx)("div", {
43
+ /* @__PURE__ */ (0, g.jsx)("div", {
44
44
  className: "sid-ssn-choice__choice1 sid-l-space-top-lg",
45
- children: /* @__PURE__ */ (0, _.jsx)("button", {
45
+ children: /* @__PURE__ */ (0, g.jsx)("button", {
46
46
  type: "button",
47
47
  onClick: e,
48
48
  className: "sid-btn sid-ssn-choice-one-btn sid-btn--light sid-l-full-width sid-use-ssn",
49
- children: /* @__PURE__ */ (0, _.jsx)(o, {
49
+ children: /* @__PURE__ */ (0, g.jsx)(i, {
50
50
  id: "step.collectSocialSecurityNumber.useSsn",
51
51
  defaultMessage: "Verify using your social security number"
52
52
  })
53
53
  })
54
54
  }),
55
- /* @__PURE__ */ (0, _.jsx)("div", {
55
+ /* @__PURE__ */ (0, g.jsx)("div", {
56
56
  className: "sid-ssn-choice__choice2 sid-l-space-top-md",
57
- children: /* @__PURE__ */ (0, _.jsx)("button", {
57
+ children: /* @__PURE__ */ (0, g.jsx)("button", {
58
58
  type: "button",
59
59
  onClick: t,
60
60
  className: "sid-btn sid-ssn-choice-two-btn sid-btn--light sid-l-full-width sid-use-doc-upload",
61
- children: /* @__PURE__ */ (0, _.jsx)(o, {
61
+ children: /* @__PURE__ */ (0, g.jsx)(i, {
62
62
  id: "step.collectSocialSecurityNumber.uploadDoc",
63
63
  defaultMessage: "Upload a document"
64
64
  })
65
65
  })
66
66
  })
67
67
  ]
68
- }), /* @__PURE__ */ (0, _.jsx)("div", {
68
+ }), /* @__PURE__ */ (0, g.jsx)("div", {
69
69
  className: "sid-ssn-choice__footer sid-l-space-top-lg",
70
- children: /* @__PURE__ */ (0, _.jsx)(c, { verificationService: n })
70
+ children: /* @__PURE__ */ (0, g.jsx)(s, { verificationService: n })
71
71
  })]
72
- }), y = i(({ verificationService: e }) => {
73
- let [i, a] = g.useState(!0), s = e.viewModel, { fieldValidationErrors: y } = e, b = () => e.submitStep(n.cancelSocialSecurityNumber, s, e.verificationResponse), x = (n, r) => {
74
- let i = t(s, (e) => {
72
+ }), v = ({ verificationService: e }) => {
73
+ let [a, o] = h.useState(!0), v = e.viewModel, { fieldValidationErrors: y } = e, b = () => e.submitStep(n.cancelSocialSecurityNumber, v, e.verificationResponse), x = (n, r) => {
74
+ let i = t(v, (e) => {
75
75
  e[n] = r;
76
76
  });
77
77
  e.updateViewModel(i);
78
- }, S = s.socialSecurityNumber && s.socialSecurityNumber.toString().length === 9;
79
- return i ? /* @__PURE__ */ (0, _.jsx)(v, {
80
- useSsn: () => a(!1),
78
+ }, S = v.socialSecurityNumber && v.socialSecurityNumber.toString().length === 9;
79
+ return a ? /* @__PURE__ */ (0, g.jsx)(_, {
80
+ useSsn: () => o(!1),
81
81
  useDocUpload: b,
82
82
  verificationService: e
83
- }) : /* @__PURE__ */ (0, _.jsxs)("div", {
83
+ }) : /* @__PURE__ */ (0, g.jsxs)("div", {
84
84
  id: "sid-step-social-security",
85
85
  className: "sid-social-sercurity-number-container sid-l-container sid-l-horz-center",
86
- children: [/* @__PURE__ */ (0, _.jsxs)("div", {
86
+ children: [/* @__PURE__ */ (0, g.jsxs)("div", {
87
87
  role: "main",
88
88
  children: [
89
- /* @__PURE__ */ (0, _.jsxs)("div", {
89
+ /* @__PURE__ */ (0, g.jsxs)("div", {
90
90
  className: "sid-header",
91
91
  children: [
92
- /* @__PURE__ */ (0, _.jsx)("div", {
92
+ /* @__PURE__ */ (0, g.jsx)("div", {
93
93
  className: "sid-social-security-number-logo-container sid-l-horz-center",
94
- children: /* @__PURE__ */ (0, _.jsx)(u, { verificationService: e })
94
+ children: /* @__PURE__ */ (0, g.jsx)(l, { verificationService: e })
95
95
  }),
96
- /* @__PURE__ */ (0, _.jsx)(d, {
96
+ /* @__PURE__ */ (0, g.jsx)(u, {
97
97
  align: "center",
98
- children: /* @__PURE__ */ (0, _.jsx)(o, {
98
+ children: /* @__PURE__ */ (0, g.jsx)(i, {
99
99
  id: "step.collectSocialSecurityNumber.title",
100
100
  defaultMessage: "Enter your social security number",
101
101
  tagName: "h1"
102
102
  })
103
103
  }),
104
- /* @__PURE__ */ (0, _.jsx)(m, { verificationService: e }),
105
- /* @__PURE__ */ (0, _.jsx)("div", {
104
+ /* @__PURE__ */ (0, g.jsx)(p, { verificationService: e }),
105
+ /* @__PURE__ */ (0, g.jsx)("div", {
106
106
  className: "sid-ssn-wrapper",
107
- children: /* @__PURE__ */ (0, _.jsx)(h, {
108
- value: s.socialSecurityNumber,
107
+ children: /* @__PURE__ */ (0, g.jsx)(m, {
108
+ value: v.socialSecurityNumber,
109
109
  onChange: (t) => {
110
- x("socialSecurityNumber", t), f("socialSecurityNumber", t, e);
110
+ x("socialSecurityNumber", t), d("socialSecurityNumber", t, e);
111
111
  },
112
112
  isErrored: !!y[r.socialSecurityNumber],
113
113
  placeholder: "000-00-0000"
@@ -115,41 +115,41 @@ var g = /* @__PURE__ */ e(a(), 1), _ = s(), v = ({ useSsn: e, useDocUpload: t, v
115
115
  })
116
116
  ]
117
117
  }),
118
- /* @__PURE__ */ (0, _.jsx)("div", {
118
+ /* @__PURE__ */ (0, g.jsx)("div", {
119
119
  className: "sid-form-region sid-submit-wrapper sid-l-space-top-md",
120
- children: /* @__PURE__ */ (0, _.jsx)("div", {
120
+ children: /* @__PURE__ */ (0, g.jsx)("div", {
121
121
  className: "sid-social-security-number-submit sid-submit",
122
- children: /* @__PURE__ */ (0, _.jsx)("button", {
122
+ children: /* @__PURE__ */ (0, g.jsx)("button", {
123
123
  id: "sid-submit-wrapper__collect-info",
124
- onClick: () => p(s, e, n.collectSocialSecurityNumber),
124
+ onClick: () => f(v, e, n.collectSocialSecurityNumber),
125
125
  type: "submit",
126
126
  className: `sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width ${S ? "" : "sid-btn--disabled-like"}`,
127
127
  "aria-label": "submit",
128
- ref: (e) => l("submitButton", e),
129
- children: /* @__PURE__ */ (0, _.jsx)(o, {
128
+ ref: (e) => c("submitButton", e),
129
+ children: /* @__PURE__ */ (0, g.jsx)(i, {
130
130
  id: "proceed",
131
131
  defaultMessage: "Proceed"
132
132
  })
133
133
  })
134
134
  })
135
135
  }),
136
- /* @__PURE__ */ (0, _.jsx)("div", {
136
+ /* @__PURE__ */ (0, g.jsx)("div", {
137
137
  className: "sid-form-region sid-social-security-number-upload-instead-btn sid-l-space-top-md",
138
138
  role: "button",
139
139
  tabIndex: 0,
140
140
  onKeyUp: b,
141
141
  onClick: b,
142
- children: /* @__PURE__ */ (0, _.jsx)("div", {
142
+ children: /* @__PURE__ */ (0, g.jsx)("div", {
143
143
  className: "sid-social-security-number-upload-instead-text sid-h-link-like",
144
- children: /* @__PURE__ */ (0, _.jsx)(o, {
144
+ children: /* @__PURE__ */ (0, g.jsx)(i, {
145
145
  id: "step.collectSocialSecurityNumber.uploadInstead",
146
146
  defaultMessage: "Upload a document instead"
147
147
  })
148
148
  })
149
149
  })
150
150
  ]
151
- }), /* @__PURE__ */ (0, _.jsx)(c, { verificationService: e })]
151
+ }), /* @__PURE__ */ (0, g.jsx)(s, { verificationService: e })]
152
152
  });
153
- });
153
+ };
154
154
  //#endregion
155
- export { y as default };
155
+ export { v as default };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepSocialSecurityNumber-tQeL8BPo.js","names":[],"sources":["../../src/components/StepSocialSecurityNumber/SsnChoice.tsx","../../src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\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 } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum, FieldIdEnum } from \"../../lib/types/runtimeTypes\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport { type VerificationService, type 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 { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nimport { SsnChoice } from \"./SsnChoice\";\n\ninterface StepSocialSecurityNumberProps {\n verificationService: VerificationService;\n}\n\nexport const StepSocialSecurityNumber = ({\n verificationService,\n}: 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"],"mappings":";;;;;;;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A,EAAmB,wBAAwB,CAAK,GAChD,EACE,wBACA,GACA,CACF;QACF;QACA,WAAW,CAAC,CAAC,EAAsB,EAAY;QAC/C,aAAY;OACb,CAAA;MACE,CAAA;KACF;;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,UAAD;OACE,IAAG;OACH,eACE,EACE,GACA,GACA,EAAsB,2BACxB;OAEF,MAAK;OACL,WAAW,gFACT,IAAgB,KAAK;OAEvB,cAAW;OACX,MAAM,MAAW,EAAO,gBAAgB,CAAM;iBAE9C,iBAAA,GAAA,EAAA,KAAC,GAAD;QAAsB,IAAG;QAAU,gBAAe;OAAW,CAAA;MACvD,CAAA;KACL,CAAA;IACF,CAAA;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;KACE,WAAU;KACV,MAAK;KACL,UAAU;KACV,SAAS;KACT,SAAS;eAET,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACE,CAAA;IACF,CAAA;GACF;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
@@ -4,68 +4,68 @@
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.295.0
8
- * BUILD_TIMESTAMP: 1790114649208
9
- * BUILD_DATE: Tue Sep 22 2026 22:04:09 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 52df9017e3cb51641ba764b25f2494e8745819c7
7
+ * VERSION: 2.296.0
8
+ * BUILD_TIMESTAMP: 1790267309032
9
+ * BUILD_DATE: Thu Sep 24 2026 16:28:29 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: c40128b666ae42ee6a9edba848b7517c53c4e62a
11
11
  */
12
12
  import { kt as e, p as t, s as n } from "./intl-DYOqmiaL.js";
13
13
  import { b as r, p as i } from "./runtimeTypes-B2AGNJMT.js";
14
- import { c as a, n as o, t as s } from "./jsx-runtime-B6t5B3Mb.js";
15
- import { n as c } from "./Message-BOC0ndsP.js";
16
- import { p as l } from "./FormFooterComponent-DuoNNzmM.js";
17
- import { t as u } from "./hooks-DSoorQS3.js";
14
+ import { n as a, s as o, t as s } from "./jsx-runtime-DtApx7WX.js";
15
+ import { n as c } from "./Message-CZskfqcI.js";
16
+ import { p as l } from "./FormFooterComponent-CmpIRI0d.js";
17
+ import { t as u } from "./hooks-DtYEjP2m.js";
18
18
  import { t as d } from "../_mysheerid-preview.js";
19
- import { d as f, f as p, r as m, t as h } from "./stepComponentHelpers-J67LZsd0.js";
20
- import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-REgKvi8p.js";
21
- import { t as S } from "./FormFieldText-5WjD4GNf.js";
22
- import { n as C, t as w } from "./PersonalInfoStepSubmitButton-GwnOAcWy.js";
23
- import { i as T } from "./FormSelectChoice-DRijHkxS.js";
24
- import { t as E } from "./BirthDateComponent-DsswVPXn.js";
25
- import { t as D } from "./CountryComponentWrapper-DMctN0cb.js";
26
- import { t as O } from "./ExtraMessage-hNyxibRx.js";
27
- import { t as k } from "./ChangeLocaleComponent-BJ3jZ7Nk.js";
28
- import { t as A } from "./PersonalInfoStepWrapper-DNUApKjr.js";
29
- import { t as j } from "./CollegeNameComponent-9pp2d2fm.js";
30
- import { t as M } from "./StatusComponent-Dc38Mb9r.js";
19
+ import { d as f, f as p, r as m, t as h } from "./stepComponentHelpers-C-r8qzyD.js";
20
+ import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-hjpjrO_P.js";
21
+ import { t as S } from "./FormFieldText-BU2NBm1H.js";
22
+ import { n as C, t as w } from "./PersonalInfoStepSubmitButton-obiTgRFv.js";
23
+ import { i as T } from "./FormSelectChoice-BzH4Y9DK.js";
24
+ import { t as E } from "./BirthDateComponent-CTKl9PbC.js";
25
+ import { t as D } from "./CountryComponentWrapper-F2GH1MuK.js";
26
+ import { t as O } from "./ExtraMessage-wekuxzBu.js";
27
+ import { t as k } from "./ChangeLocaleComponent-Blkp6RPU.js";
28
+ import { t as A } from "./PersonalInfoStepWrapper-Bwy_EnUr.js";
29
+ import { t as j } from "./CollegeNameComponent-DkbR_G-h.js";
30
+ import { t as M } from "./StatusComponent-CYTWVmt6.js";
31
31
  //#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
32
- var N = /* @__PURE__ */ e(a(), 1), P = s(), F = ({ value: e, isErrored: t, onChange: n, explanation: r, placeholder: i = "", isRequired: a = !1 }) => {
32
+ var N = /* @__PURE__ */ e(o(), 1), P = s(), F = ({ value: e, isErrored: t, onChange: n, explanation: r, placeholder: i = "", isRequired: o = !1 }) => {
33
33
  let { msg: s } = c(), l = u("include-cvec-field-france-student");
34
34
  return h("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, P.jsx)(S, {
35
35
  fieldId: "cvecNumber",
36
36
  value: e,
37
37
  onChange: n,
38
38
  placeholder: i || s({ id: "cvecNumber" }),
39
- label: /* @__PURE__ */ (0, P.jsx)(o, {
39
+ label: /* @__PURE__ */ (0, P.jsx)(a, {
40
40
  id: "cvecNumber",
41
41
  defaultMessage: "CVEC certificate number"
42
42
  }),
43
- errorMessage: t && /* @__PURE__ */ (0, P.jsx)(o, {
43
+ errorMessage: t && /* @__PURE__ */ (0, P.jsx)(a, {
44
44
  id: "errorId.invalidCvecNumber",
45
45
  defaultMessage: "Invalid CVEC certificate number"
46
46
  }),
47
47
  showPlaceholderAndHideLabel: !!i,
48
- required: a,
49
- explanation: r || (l === "labeled-optional" ? /* @__PURE__ */ (0, P.jsx)(o, {
48
+ required: o,
49
+ explanation: r || (l === "labeled-optional" ? /* @__PURE__ */ (0, P.jsx)(a, {
50
50
  id: "cvecNumberExplanation",
51
51
  defaultMessage: "Optional - Add your CVEC number to increase your chances of being verified instantly."
52
- }) : /* @__PURE__ */ (0, P.jsx)(o, {
52
+ }) : /* @__PURE__ */ (0, P.jsx)(a, {
53
53
  id: "_EXPERIMENTAL.cvecNumberExplanation",
54
54
  defaultMessage: "Add your CVEC number to increase your chances of being verified instantly."
55
55
  }))
56
56
  });
57
57
  }, I = Object.keys(i), L = ({ verificationService: e }) => {
58
- let { msg: i } = c(), a = e.viewModel, { fieldValidationErrors: s } = e, S = e.verificationResponse, L = n(), R = u("include-cvec-field-france-student"), z = R !== "control" && R !== "default" && a?.countryChoice?.value === "FR", B = S.availableStatuses ?? [], V = B.includes("GRADUATE") && B.some((e) => e !== "GRADUATE");
58
+ let { msg: i } = c(), o = e.viewModel, { fieldValidationErrors: s } = e, S = e.verificationResponse, L = n(), R = u("include-cvec-field-france-student"), z = R !== "control" && R !== "default" && o?.countryChoice?.value === "FR", B = S.availableStatuses ?? [], V = B.includes("GRADUATE") && B.some((e) => e !== "GRADUATE");
59
59
  N.useEffect(() => {
60
60
  let t = (e.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "cvecNumber" && e !== "status");
61
61
  z || (t = [...t, "cvecNumber"]), V || (t = [...t, "status"]), U("fieldsToSkipValidation", t);
62
62
  }, [z, V]);
63
63
  let H = l(S), U = (n, r) => {
64
- let i = t(a, (e) => {
64
+ let i = t(o, (e) => {
65
65
  e[n] = r;
66
66
  });
67
67
  e.updateViewModel(i);
68
- }, W = a.localeChoice.value, G = T(I);
68
+ }, W = o.localeChoice.value, G = T(I);
69
69
  return /* @__PURE__ */ (0, P.jsxs)(A, {
70
70
  verificationService: e,
71
71
  step: S.currentStep,
@@ -81,11 +81,11 @@ var N = /* @__PURE__ */ e(a(), 1), P = s(), F = ({ value: e, isErrored: t, onCha
81
81
  }),
82
82
  V && /* @__PURE__ */ (0, P.jsx)(M, {
83
83
  segmentId: "student",
84
- label: /* @__PURE__ */ (0, P.jsx)(o, {
84
+ label: /* @__PURE__ */ (0, P.jsx)(a, {
85
85
  id: "graduationStatus",
86
86
  defaultMessage: "Graduation Status"
87
87
  }),
88
- value: G.find((e) => e.value === a.status),
88
+ value: G.find((e) => e.value === o.status),
89
89
  isErrored: !!s.status,
90
90
  options: G,
91
91
  disabled: h("status")?.disabled,
@@ -106,7 +106,7 @@ var N = /* @__PURE__ */ e(a(), 1), P = s(), F = ({ value: e, isErrored: t, onCha
106
106
  }),
107
107
  z && /* @__PURE__ */ (0, P.jsx)(F, {
108
108
  isRequired: h("cvecNumber")?.requireIfOptional,
109
- value: a.cvecNumber,
109
+ value: o.cvecNumber,
110
110
  isErrored: !!s.cvecNumber,
111
111
  disabled: h("cvecNumber")?.disabled,
112
112
  onChange: (t) => {
@@ -115,7 +115,7 @@ var N = /* @__PURE__ */ e(a(), 1), P = s(), F = ({ value: e, isErrored: t, onCha
115
115
  }),
116
116
  /* @__PURE__ */ (0, P.jsx)("div", {
117
117
  className: "sid-names-explanation sid-l-space-top-md",
118
- children: /* @__PURE__ */ (0, P.jsx)(o, {
118
+ children: /* @__PURE__ */ (0, P.jsx)(a, {
119
119
  id: "step.personalInfo.nameInstructions",
120
120
  defaultMessage: "Personal or school email is fine"
121
121
  })
@@ -123,14 +123,14 @@ var N = /* @__PURE__ */ e(a(), 1), P = s(), F = ({ value: e, isErrored: t, onCha
123
123
  /* @__PURE__ */ (0, P.jsxs)("div", {
124
124
  className: "sid-names",
125
125
  children: [/* @__PURE__ */ (0, P.jsx)(g, {
126
- value: a.firstName,
126
+ value: o.firstName,
127
127
  isErrored: !!s.firstName,
128
128
  disabled: h("firstName")?.disabled,
129
129
  onChange: (t) => {
130
130
  U("firstName", t), f("firstName", t, e);
131
131
  }
132
132
  }), /* @__PURE__ */ (0, P.jsx)(_, {
133
- value: a.lastName,
133
+ value: o.lastName,
134
134
  isErrored: !!s.lastName,
135
135
  disabled: h("lastName")?.disabled,
136
136
  onChange: (t) => {
@@ -139,7 +139,7 @@ var N = /* @__PURE__ */ e(a(), 1), P = s(), F = ({ value: e, isErrored: t, onCha
139
139
  })]
140
140
  }),
141
141
  /* @__PURE__ */ (0, P.jsx)(E, {
142
- value: a.birthDate,
142
+ value: o.birthDate,
143
143
  errorId: s.birthDate,
144
144
  locale: W,
145
145
  isRequired: !0,
@@ -149,9 +149,9 @@ var N = /* @__PURE__ */ e(a(), 1), P = s(), F = ({ value: e, isErrored: t, onCha
149
149
  }
150
150
  }),
151
151
  /* @__PURE__ */ (0, P.jsx)(C, {
152
- value: a.email,
152
+ value: o.email,
153
153
  isErrored: !!s.email,
154
- explanation: /* @__PURE__ */ (0, P.jsx)(o, {
154
+ explanation: /* @__PURE__ */ (0, P.jsx)(a, {
155
155
  id: "emailExplanation",
156
156
  defaultMessage: "Personal or school email is fine"
157
157
  }),
@@ -163,13 +163,13 @@ var N = /* @__PURE__ */ e(a(), 1), P = s(), F = ({ value: e, isErrored: t, onCha
163
163
  }),
164
164
  e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, P.jsx)(y, {
165
165
  isRequired: !!e.programTheme.smsLoopEnabled,
166
- value: a.phoneNumber,
166
+ value: o.phoneNumber,
167
167
  isErrored: !!s.phoneNumber,
168
168
  disabled: h("phoneNumber")?.disabled,
169
169
  onChange: (t) => {
170
170
  U("phoneNumber", t), f("phoneNumber", t, e);
171
171
  },
172
- selectedCountryCode: a.countryChoice && a.countryChoice.value
172
+ selectedCountryCode: o.countryChoice && o.countryChoice.value
173
173
  }) : null,
174
174
  (L.customFormFields || []).map((t) => /* @__PURE__ */ (0, P.jsx)(v, {
175
175
  config: t,
@@ -186,7 +186,7 @@ var N = /* @__PURE__ */ e(a(), 1), P = s(), F = ({ value: e, isErrored: t, onCha
186
186
  marketConsentValue: t
187
187
  }), f("marketConsentValue", t, e);
188
188
  },
189
- viewModel: a
189
+ viewModel: o
190
190
  }),
191
191
  /* @__PURE__ */ (0, P.jsx)(O, {
192
192
  verificationService: e,
@@ -199,9 +199,9 @@ var N = /* @__PURE__ */ e(a(), 1), P = s(), F = ({ value: e, isErrored: t, onCha
199
199
  /* @__PURE__ */ (0, P.jsx)(w, {
200
200
  step: r.collectStudentPersonalInfo,
201
201
  verificationService: e,
202
- viewModel: a,
202
+ viewModel: o,
203
203
  failedInstantMatch: H,
204
- buttonText: /* @__PURE__ */ (0, P.jsx)(o, {
204
+ buttonText: /* @__PURE__ */ (0, P.jsx)(a, {
205
205
  id: "step.personalInfo.submitButtonText",
206
206
  defaultMessage: "Verify My Student Status"
207
207
  })
@@ -1 +1 @@
1
- {"version":3,"file":"StepStudentPersonalInfo-BAc9QmMn.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumberComponent = ({\n value,\n isErrored,\n onChange,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n const { msg } = useMessage();\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={placeholder || msg({ id: \"cvecNumber\" })}\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\n\nimport {\n type VerificationService,\n type StudentPersonalInfoViewModel,\n type Organization,\n type StudentPersonalInfoResponse,\n type CustomFormFieldConfig,\n type FieldId,\n type FormSelectChoice,\n type StudentStatusSelection,\n} from \"@/lib/types/types\";\n\nimport { StudentStatusDefaultMessagesEnum, VerificationStepsEnum } from \"@/lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"@/lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\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 { 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\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\nimport { useFormSelectChoice } from \"../FormInputs/InputSelect/InputSelectComponent\";\n\n// Graduation status dropdown is only Student/Graduate options, not the raw `availableStatuses`\nconst STATUS_SELECTIONS = Object.keys(StudentStatusDefaultMessagesEnum) as StudentStatusSelection[];\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepStudentPersonalInfoComponent = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const { msg } = useMessage();\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n // #endregion include-cvec-field-france-student\n\n // The \"Graduation Status\" input applies only when the program offers a genuine\n // Student or Graduate choice: GRADUATE and at least one non-graduate student status\n // The \"Student\" option includes all program configured non-graduate statuses\n const availableStatuses = verificationResponse.availableStatuses ?? [];\n const showGraduateStatusInput =\n availableStatuses.includes(\"GRADUATE\") && availableStatuses.some((s) => s !== \"GRADUATE\");\n\n React.useEffect(() => {\n let skip: FieldId[] = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\" && id !== \"status\",\n );\n if (!showCvecInput) {\n // Don't validate CVEC number if country is not France\n skip = [...skip, \"cvecNumber\"];\n }\n if (!showGraduateStatusInput) {\n // Only require a graduation status when the program offers the Student/Graduate choice.\n skip = [...skip, \"status\"];\n }\n updateStudentViewModel(\"fieldsToSkipValidation\", skip);\n }, [showCvecInput, showGraduateStatusInput]);\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n const statusOptions = useFormSelectChoice(STATUS_SELECTIONS);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {showGraduateStatusInput && (\n <Status\n segmentId=\"student\"\n label={<FormattedHTMLMessage id=\"graduationStatus\" defaultMessage=\"Graduation Status\" />}\n value={statusOptions.find((option) => option.value === viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n options={statusOptions}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const value = status ? (status.value as StudentStatusSelection) : undefined;\n updateStudentViewModel(\"status\", value);\n updateFieldValidationErrorsByFieldId(\"status\", value ?? \"\", verificationService);\n }}\n />\n )}\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names-explanation sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.personalInfo.nameInstructions\"\n defaultMessage=\"Personal or school email is fine\"\n />\n </div>\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"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 updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;4CAaA,KAAA,EAAA,UAAA,cAAA,aAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,GCjBM,IAAoB,OAAO,KAAK,CAAgC,GAMzD,KAAoC,EAC/C,6BAC2C;CAC3C,IAAM,EAAE,WAAQ,EAAW,GACrB,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aAC3B,GAAW,eAAe,UAAU,MAMhC,IAAoB,EAAqB,qBAAqB,CAAC,GAC/D,IACJ,EAAkB,SAAS,UAAU,KAAK,EAAkB,MAAM,MAAM,MAAM,UAAU;CAE1F,EAAM,gBAAgB;EACpB,IAAI,KAAmB,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QACjF,MAAO,MAAO,gBAAgB,MAAO,QACxC;EASA,AARK,MAEH,IAAO,CAAC,GAAG,GAAM,YAAY,IAE1B,MAEH,IAAO,CAAC,GAAG,GAAM,QAAQ,IAE3B,EAAuB,0BAA0B,CAAI;CACvD,GAAG,CAAC,GAAe,CAAuB,CAAC;CAE3C,IAAM,IAAqB,EAAsB,CAAoB,GAE/D,KAA0B,GAAyC,MAAe;EACtF,IAAM,IAA0C,EAC9C,IACC,MAAwC;GACvC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,IAAS,EAAU,aAAa,OAChC,IAAgB,EAAoB,CAAiB;CAE3D,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB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AW,MAAa;KAEtB,AADA,EAAuB,eAAe,CAAQ,GAC9C,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;GACzE,CAAA,IACC;IACF,EAAQ,oBAAoB,CAAC,GAAG,KAAK,MACrC,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAAG;GACJ,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,UAAU,EAAwB,oBAAoB,GAAG;IACzD,WAAW,MAAa;KAKtB,AAJA,EAAuB,YAAY;MACjC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;GACZ,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GACrF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepStudentPersonalInfo-BXKx-RjY.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumberComponent = ({\n value,\n isErrored,\n onChange,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n const { msg } = useMessage();\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={placeholder || msg({ id: \"cvecNumber\" })}\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\n\nimport {\n type VerificationService,\n type StudentPersonalInfoViewModel,\n type Organization,\n type StudentPersonalInfoResponse,\n type CustomFormFieldConfig,\n type FieldId,\n type FormSelectChoice,\n type StudentStatusSelection,\n} from \"@/lib/types/types\";\n\nimport { StudentStatusDefaultMessagesEnum, VerificationStepsEnum } from \"@/lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"@/lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\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 { 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\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\nimport { useFormSelectChoice } from \"../FormInputs/InputSelect/InputSelectComponent\";\n\n// Graduation status dropdown is only Student/Graduate options, not the raw `availableStatuses`\nconst STATUS_SELECTIONS = Object.keys(StudentStatusDefaultMessagesEnum) as StudentStatusSelection[];\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepStudentPersonalInfoComponent = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const { msg } = useMessage();\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n // #endregion include-cvec-field-france-student\n\n // The \"Graduation Status\" input applies only when the program offers a genuine\n // Student or Graduate choice: GRADUATE and at least one non-graduate student status\n // The \"Student\" option includes all program configured non-graduate statuses\n const availableStatuses = verificationResponse.availableStatuses ?? [];\n const showGraduateStatusInput =\n availableStatuses.includes(\"GRADUATE\") && availableStatuses.some((s) => s !== \"GRADUATE\");\n\n React.useEffect(() => {\n let skip: FieldId[] = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\" && id !== \"status\",\n );\n if (!showCvecInput) {\n // Don't validate CVEC number if country is not France\n skip = [...skip, \"cvecNumber\"];\n }\n if (!showGraduateStatusInput) {\n // Only require a graduation status when the program offers the Student/Graduate choice.\n skip = [...skip, \"status\"];\n }\n updateStudentViewModel(\"fieldsToSkipValidation\", skip);\n }, [showCvecInput, showGraduateStatusInput]);\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n const statusOptions = useFormSelectChoice(STATUS_SELECTIONS);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {showGraduateStatusInput && (\n <Status\n segmentId=\"student\"\n label={<FormattedHTMLMessage id=\"graduationStatus\" defaultMessage=\"Graduation Status\" />}\n value={statusOptions.find((option) => option.value === viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n options={statusOptions}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const value = status ? (status.value as StudentStatusSelection) : undefined;\n updateStudentViewModel(\"status\", value);\n updateFieldValidationErrorsByFieldId(\"status\", value ?? \"\", verificationService);\n }}\n />\n )}\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names-explanation sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.personalInfo.nameInstructions\"\n defaultMessage=\"Personal or school email is fine\"\n />\n </div>\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"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 updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;4CAaA,KAAA,EAAA,UAAA,cAAA,aAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,GCjBM,IAAoB,OAAO,KAAK,CAAgC,GAMzD,KAAoC,EAC/C,6BAC2C;CAC3C,IAAM,EAAE,WAAQ,EAAW,GACrB,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aAC3B,GAAW,eAAe,UAAU,MAMhC,IAAoB,EAAqB,qBAAqB,CAAC,GAC/D,IACJ,EAAkB,SAAS,UAAU,KAAK,EAAkB,MAAM,MAAM,MAAM,UAAU;CAE1F,EAAM,gBAAgB;EACpB,IAAI,KAAmB,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QACjF,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