@sheerid/jslib 2.263.0 → 2.264.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 (373) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +1376 -3792
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-Bz4YL1zB.js → AddressComponent-BcUOtiOW.js} +5 -5
  5. package/chunk/{AddressComponent-BIrgOqZP.js.map → AddressComponent-BcUOtiOW.js.map} +1 -1
  6. package/chunk/{AddressComponent-BIrgOqZP.js → AddressComponent-cZ7Rrphj.js} +5 -5
  7. package/chunk/{AddressComponent-Bz4YL1zB.js.map → AddressComponent-cZ7Rrphj.js.map} +1 -1
  8. package/chunk/AnnouncingHeader-DDT5xAyL.js +4 -4
  9. package/chunk/AnnouncingHeader-DSPYeTwU.js +4 -4
  10. package/chunk/{ApiUrls-5BL8244F.js → ApiUrls-BGkT0u8_.js} +5 -5
  11. package/chunk/{ApiUrls-5BL8244F.js.map → ApiUrls-BGkT0u8_.js.map} +1 -1
  12. package/chunk/{ApiUrls-BtzfsgUq.js → ApiUrls-DplKihXV.js} +5 -5
  13. package/chunk/{ApiUrls-BtzfsgUq.js.map → ApiUrls-DplKihXV.js.map} +1 -1
  14. package/chunk/{BirthDateComponent-DolPukGV.js → BirthDateComponent-DiRfVMkQ.js} +6 -6
  15. package/chunk/{BirthDateComponent-C9D52_sv.js.map → BirthDateComponent-DiRfVMkQ.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-C9D52_sv.js → BirthDateComponent-mw3tGfO1.js} +6 -6
  17. package/chunk/{BirthDateComponent-DolPukGV.js.map → BirthDateComponent-mw3tGfO1.js.map} +1 -1
  18. package/chunk/{CaptchaComponent-Bd0QiNl5.js → CaptchaComponent-Bo6-PXzj.js} +7 -7
  19. package/chunk/{CaptchaComponent-Bd0QiNl5.js.map → CaptchaComponent-Bo6-PXzj.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-jOXCtvzE.js → CaptchaComponent-D6FNNlKj.js} +15 -15
  21. package/chunk/{CaptchaComponent-jOXCtvzE.js.map → CaptchaComponent-D6FNNlKj.js.map} +1 -1
  22. package/chunk/{ChangeLocaleComponent-Bip0Zvo1.js → ChangeLocaleComponent-B905JfFy.js} +6 -6
  23. package/chunk/{ChangeLocaleComponent-Bip0Zvo1.js.map → ChangeLocaleComponent-B905JfFy.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-qKZIgmCX.js → ChangeLocaleComponent-C1vybPVc.js} +6 -6
  25. package/chunk/{ChangeLocaleComponent-qKZIgmCX.js.map → ChangeLocaleComponent-C1vybPVc.js.map} +1 -1
  26. package/chunk/{City-CCtrauPi.js → City-BiuOEuRx.js} +5 -5
  27. package/chunk/{City-CCtrauPi.js.map → City-BiuOEuRx.js.map} +1 -1
  28. package/chunk/{City-DOi7PTZI.js → City-D-gJ5H6v.js} +5 -5
  29. package/chunk/{City-DOi7PTZI.js.map → City-D-gJ5H6v.js.map} +1 -1
  30. package/chunk/{CollegeNameComponent-B02MJ5F0.js → CollegeNameComponent-BDZD28ed.js} +6 -6
  31. package/chunk/{CollegeNameComponent-B02MJ5F0.js.map → CollegeNameComponent-BDZD28ed.js.map} +1 -1
  32. package/chunk/{CollegeNameComponent-BoT4meEn.js → CollegeNameComponent-C_1m4XT-.js} +6 -6
  33. package/chunk/{CollegeNameComponent-BoT4meEn.js.map → CollegeNameComponent-C_1m4XT-.js.map} +1 -1
  34. package/chunk/CopyToClipboardComponent-CI5EWk0o.js +4 -4
  35. package/chunk/CopyToClipboardComponent-DyolMvdc.js +4 -4
  36. package/chunk/{CountryComponentWrapper-GPBK6Y8O.js → CountryComponentWrapper-BrhHPoQD.js} +9 -9
  37. package/chunk/{CountryComponentWrapper-CCoy3Zoi.js.map → CountryComponentWrapper-BrhHPoQD.js.map} +1 -1
  38. package/chunk/{CountryComponentWrapper-CCoy3Zoi.js → CountryComponentWrapper-HDMnK8-s.js} +10 -10
  39. package/chunk/{CountryComponentWrapper-GPBK6Y8O.js.map → CountryComponentWrapper-HDMnK8-s.js.map} +1 -1
  40. package/chunk/{DischargeDateComponent-ymNhH1GN.js → DischargeDateComponent-CFgYtvv6.js} +12 -12
  41. package/chunk/{DischargeDateComponent-CyYECS-K.js.map → DischargeDateComponent-CFgYtvv6.js.map} +1 -1
  42. package/chunk/{DischargeDateComponent-CyYECS-K.js → DischargeDateComponent-D3GK6UIu.js} +8 -8
  43. package/chunk/{DischargeDateComponent-ymNhH1GN.js.map → DischargeDateComponent-D3GK6UIu.js.map} +1 -1
  44. package/chunk/{DriverLicenseNumberComponent-C3627P1m.js → DriverLicenseNumberComponent-BzgEUUM2.js} +5 -5
  45. package/chunk/{DriverLicenseNumberComponent-C3627P1m.js.map → DriverLicenseNumberComponent-BzgEUUM2.js.map} +1 -1
  46. package/chunk/{DriverLicenseNumberComponent-lB2n8IBb.js → DriverLicenseNumberComponent-DoJspVrD.js} +5 -5
  47. package/chunk/{DriverLicenseNumberComponent-lB2n8IBb.js.map → DriverLicenseNumberComponent-DoJspVrD.js.map} +1 -1
  48. package/chunk/{EmailLoopPending-Czkli3uD.js → EmailLoopPending-Bm7vJ_QR.js} +55 -54
  49. package/chunk/EmailLoopPending-Bm7vJ_QR.js.map +1 -0
  50. package/chunk/{EmailLoopPending-FiV8oqMN.js → EmailLoopPending-CpMrwV1m.js} +55 -54
  51. package/chunk/EmailLoopPending-CpMrwV1m.js.map +1 -0
  52. package/chunk/{ExtraMessage-CZyIoyAy.js → ExtraMessage-BbACElsX.js} +5 -5
  53. package/chunk/{ExtraMessage-CZyIoyAy.js.map → ExtraMessage-BbACElsX.js.map} +1 -1
  54. package/chunk/{ExtraMessage-D6xvBugr.js → ExtraMessage-C4sJr6cw.js} +5 -5
  55. package/chunk/{ExtraMessage-D6xvBugr.js.map → ExtraMessage-C4sJr6cw.js.map} +1 -1
  56. package/chunk/{FirstResponderOrganizationComponent-Bt8BWHYf.js → FirstResponderOrganizationComponent-Bq03G6Dk.js} +6 -6
  57. package/chunk/{FirstResponderOrganizationComponent-Bt8BWHYf.js.map → FirstResponderOrganizationComponent-Bq03G6Dk.js.map} +1 -1
  58. package/chunk/{FirstResponderOrganizationComponent-DbMHmm5D.js → FirstResponderOrganizationComponent-C7ULKSCq.js} +6 -6
  59. package/chunk/{FirstResponderOrganizationComponent-DbMHmm5D.js.map → FirstResponderOrganizationComponent-C7ULKSCq.js.map} +1 -1
  60. package/chunk/{FormFieldInputSelect-Bzcg97PF.js → FormFieldInputSelect-B3UZlH_H.js} +5 -5
  61. package/chunk/{FormFieldInputSelect-Bzcg97PF.js.map → FormFieldInputSelect-B3UZlH_H.js.map} +1 -1
  62. package/chunk/{FormFieldInputSelect-DZsD_cQO.js → FormFieldInputSelect-CnGFMROq.js} +5 -5
  63. package/chunk/{FormFieldInputSelect-DZsD_cQO.js.map → FormFieldInputSelect-CnGFMROq.js.map} +1 -1
  64. package/chunk/FormFieldLayout-C-prs50D.js +4 -4
  65. package/chunk/FormFieldLayout-eXRaMPRB.js +4 -4
  66. package/chunk/FormFieldText-C44FpzvF.js +4 -4
  67. package/chunk/FormFieldText-DKDYD6O1.js +4 -4
  68. package/chunk/{FormFieldTypeahead-WerEgh8b.js → FormFieldTypeahead-BSbSF1lL.js} +457 -456
  69. package/chunk/{FormFieldTypeahead-WerEgh8b.js.map → FormFieldTypeahead-BSbSF1lL.js.map} +1 -1
  70. package/chunk/{FormFieldTypeahead-D_LQgN8U.js → FormFieldTypeahead-DmKNOVYP.js} +459 -458
  71. package/chunk/{FormFieldTypeahead-D_LQgN8U.js.map → FormFieldTypeahead-DmKNOVYP.js.map} +1 -1
  72. package/chunk/{FormFooterComponent-7bb8jZLG.js → FormFooterComponent-BkXmQxBf.js} +1114 -1114
  73. package/chunk/{FormFooterComponent-7bb8jZLG.js.map → FormFooterComponent-BkXmQxBf.js.map} +1 -1
  74. package/chunk/{FormFooterComponent-DNXKayDA.js → FormFooterComponent-khRc1L5E.js} +1198 -1198
  75. package/chunk/{FormFooterComponent-DNXKayDA.js.map → FormFooterComponent-khRc1L5E.js.map} +1 -1
  76. package/chunk/{FormSelectChoice-BcBYNROQ.js → FormSelectChoice-DJuQmzKz.js} +6 -6
  77. package/chunk/{FormSelectChoice-BcBYNROQ.js.map → FormSelectChoice-DJuQmzKz.js.map} +1 -1
  78. package/chunk/{FormSelectChoice-Cd6Pov12.js → FormSelectChoice-tC4ovQdX.js} +6 -6
  79. package/chunk/{FormSelectChoice-Cd6Pov12.js.map → FormSelectChoice-tC4ovQdX.js.map} +1 -1
  80. package/chunk/InputText-C12rmr0E.js +4 -4
  81. package/chunk/InputText-CDxD4Fcy.js +4 -4
  82. package/chunk/{LicensedProfessionalOrganizationComponent-DsIDg2GA.js → LicensedProfessionalOrganizationComponent-BZsY1scU.js} +6 -6
  83. package/chunk/{LicensedProfessionalOrganizationComponent-CbdvK7yE.js.map → LicensedProfessionalOrganizationComponent-BZsY1scU.js.map} +1 -1
  84. package/chunk/{LicensedProfessionalOrganizationComponent-CbdvK7yE.js → LicensedProfessionalOrganizationComponent-dNPXXR17.js} +6 -6
  85. package/chunk/{LicensedProfessionalOrganizationComponent-DsIDg2GA.js.map → LicensedProfessionalOrganizationComponent-dNPXXR17.js.map} +1 -1
  86. package/chunk/LogoComponent-Dt2sl-7K.js +4 -4
  87. package/chunk/LogoComponent-qYFfdGhk.js +4 -4
  88. package/chunk/{LowIncomeOrganizationComponent-Cadz2x7K.js → LowIncomeOrganizationComponent-B2w-1D1s.js} +12 -12
  89. package/chunk/{LowIncomeOrganizationComponent-Cadz2x7K.js.map → LowIncomeOrganizationComponent-B2w-1D1s.js.map} +1 -1
  90. package/chunk/{LowIncomeOrganizationComponent-ChkotGFN.js → LowIncomeOrganizationComponent-Z0BGp7hP.js} +10 -10
  91. package/chunk/{LowIncomeOrganizationComponent-ChkotGFN.js.map → LowIncomeOrganizationComponent-Z0BGp7hP.js.map} +1 -1
  92. package/chunk/{MedicalProfessionalOrganizationComponent-DZZIqryd.js → MedicalProfessionalOrganizationComponent-D-YIIZN8.js} +6 -6
  93. package/chunk/{MedicalProfessionalOrganizationComponent-DJeYueww.js.map → MedicalProfessionalOrganizationComponent-D-YIIZN8.js.map} +1 -1
  94. package/chunk/{MedicalProfessionalOrganizationComponent-DJeYueww.js → MedicalProfessionalOrganizationComponent-DdVYxvwO.js} +6 -6
  95. package/chunk/{MedicalProfessionalOrganizationComponent-DZZIqryd.js.map → MedicalProfessionalOrganizationComponent-DdVYxvwO.js.map} +1 -1
  96. package/chunk/{MemberIdComponent-BehRbst0.js → MemberIdComponent-DDa-iQtj.js} +5 -5
  97. package/chunk/{MemberIdComponent-BehRbst0.js.map → MemberIdComponent-DDa-iQtj.js.map} +1 -1
  98. package/chunk/{MemberIdComponent-Bwx5Gc1F.js → MemberIdComponent-DDpGpO2e.js} +5 -5
  99. package/chunk/{MemberIdComponent-Bwx5Gc1F.js.map → MemberIdComponent-DDpGpO2e.js.map} +1 -1
  100. package/chunk/{MembershipOrganizationComponent-DJCNzvV4.js → MembershipOrganizationComponent-BEOw1H7n.js} +6 -6
  101. package/chunk/{MembershipOrganizationComponent-DJCNzvV4.js.map → MembershipOrganizationComponent-BEOw1H7n.js.map} +1 -1
  102. package/chunk/{MembershipOrganizationComponent-BiDHWiH7.js → MembershipOrganizationComponent-CCCYoUe_.js} +6 -6
  103. package/chunk/{MembershipOrganizationComponent-BiDHWiH7.js.map → MembershipOrganizationComponent-CCCYoUe_.js.map} +1 -1
  104. package/chunk/Onfido-CTCgAwnB.js +4 -4
  105. package/chunk/{PersonalInfoStepSubmitButton-u4r9ghKQ.js → PersonalInfoStepSubmitButton-C6dx95ih.js} +11 -11
  106. package/chunk/{PersonalInfoStepSubmitButton-C9ilhi9-.js.map → PersonalInfoStepSubmitButton-C6dx95ih.js.map} +1 -1
  107. package/chunk/{PersonalInfoStepSubmitButton-C9ilhi9-.js → PersonalInfoStepSubmitButton-DBVGelcX.js} +11 -11
  108. package/chunk/{PersonalInfoStepSubmitButton-u4r9ghKQ.js.map → PersonalInfoStepSubmitButton-DBVGelcX.js.map} +1 -1
  109. package/chunk/{PersonalInfoStepWrapper-D311a-Ph.js → PersonalInfoStepWrapper-BmHuTQIp.js} +5 -5
  110. package/chunk/{PersonalInfoStepWrapper-D311a-Ph.js.map → PersonalInfoStepWrapper-BmHuTQIp.js.map} +1 -1
  111. package/chunk/{PersonalInfoStepWrapper-BRtYQQe-.js → PersonalInfoStepWrapper-D0IAqpda.js} +6 -6
  112. package/chunk/{PersonalInfoStepWrapper-BRtYQQe-.js.map → PersonalInfoStepWrapper-D0IAqpda.js.map} +1 -1
  113. package/chunk/{PostalCodeComponent-Ds-f1Aso.js → PostalCodeComponent-BSNHro7-.js} +5 -5
  114. package/chunk/{PostalCodeComponent-BA2FNJ8F.js.map → PostalCodeComponent-BSNHro7-.js.map} +1 -1
  115. package/chunk/{PostalCodeComponent-BA2FNJ8F.js → PostalCodeComponent-EPa7PrEn.js} +5 -5
  116. package/chunk/{PostalCodeComponent-Ds-f1Aso.js.map → PostalCodeComponent-EPa7PrEn.js.map} +1 -1
  117. package/chunk/{SSN-V4OsBJo-.js → SSN-BTH_HKwP.js} +5 -5
  118. package/chunk/{SSN-DKOJL4kj.js.map → SSN-BTH_HKwP.js.map} +1 -1
  119. package/chunk/{SSN-DKOJL4kj.js → SSN-CoqeSJiv.js} +5 -5
  120. package/chunk/{SSN-V4OsBJo-.js.map → SSN-CoqeSJiv.js.map} +1 -1
  121. package/chunk/{StateSelectComponent-H1NOjMea.js → StateSelectComponent-CsMhYr5S.js} +5 -5
  122. package/chunk/{StateSelectComponent-H1NOjMea.js.map → StateSelectComponent-CsMhYr5S.js.map} +1 -1
  123. package/chunk/{StateSelectComponent-n7Tw6woS.js → StateSelectComponent-D3JOWUan.js} +5 -5
  124. package/chunk/{StateSelectComponent-n7Tw6woS.js.map → StateSelectComponent-D3JOWUan.js.map} +1 -1
  125. package/chunk/{StatusComponent-DjlW-ELF.js → StatusComponent-BV3O5IFV.js} +6 -6
  126. package/chunk/{StatusComponent-Bcd8Ga_d.js.map → StatusComponent-BV3O5IFV.js.map} +1 -1
  127. package/chunk/{StatusComponent-Bcd8Ga_d.js → StatusComponent-CZMNhzFo.js} +6 -6
  128. package/chunk/{StatusComponent-DjlW-ELF.js.map → StatusComponent-CZMNhzFo.js.map} +1 -1
  129. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B14u20Oo.js → StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js} +49 -45
  130. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B14u20Oo.js.map → StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js.map} +1 -1
  131. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DfxYTbSc.js → StepActiveMilitaryPersonalInfoComponent-R1Hz2NV5.js} +22 -26
  132. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DfxYTbSc.js.map → StepActiveMilitaryPersonalInfoComponent-R1Hz2NV5.js.map} +1 -1
  133. package/chunk/{StepAgePersonalInfo-CAR0KywC.js → StepAgePersonalInfo-7J8X1jpZ.js} +39 -39
  134. package/chunk/{StepAgePersonalInfo-BSbrQCh3.js.map → StepAgePersonalInfo-7J8X1jpZ.js.map} +1 -1
  135. package/chunk/{StepAgePersonalInfo-BSbrQCh3.js → StepAgePersonalInfo-CdgtxCTX.js} +40 -40
  136. package/chunk/{StepAgePersonalInfo-CAR0KywC.js.map → StepAgePersonalInfo-CdgtxCTX.js.map} +1 -1
  137. package/chunk/StepCard-B-nYcoAX.js +4 -4
  138. package/chunk/StepCard-DXyV0Wj4.js +4 -4
  139. package/chunk/{StepCollectIdentifier-l3Wvwdwp.js → StepCollectIdentifier-BGN4P47k.js} +9 -9
  140. package/chunk/{StepCollectIdentifier-z-vfDewz.js.map → StepCollectIdentifier-BGN4P47k.js.map} +1 -1
  141. package/chunk/{StepCollectIdentifier-z-vfDewz.js → StepCollectIdentifier-DNIMAHOm.js} +7 -7
  142. package/chunk/{StepCollectIdentifier-l3Wvwdwp.js.map → StepCollectIdentifier-DNIMAHOm.js.map} +1 -1
  143. package/chunk/StepCollectMilitaryStatusComponent-02pN7KWp.js +9 -0
  144. package/chunk/{StepCollectMilitaryStatusComponent-CdmUVnga.js → StepCollectMilitaryStatusComponent-A0b6sTsC.js} +5 -5
  145. package/chunk/{StepCollectPersonalInfo-CvzeFcB4.js → StepCollectPersonalInfo-DSYGRZsu.js} +86 -86
  146. package/chunk/{StepCollectPersonalInfo-CvzeFcB4.js.map → StepCollectPersonalInfo-DSYGRZsu.js.map} +1 -1
  147. package/chunk/{StepCollectPersonalInfo-C-CKn207.js → StepCollectPersonalInfo-Dnp2yK42.js} +118 -118
  148. package/chunk/{StepCollectPersonalInfo-C-CKn207.js.map → StepCollectPersonalInfo-Dnp2yK42.js.map} +1 -1
  149. package/chunk/{StepCompleteAuthentication-zrcJ8B4S.js → StepCompleteAuthentication-COpZ5w8i.js} +44 -43
  150. package/chunk/StepCompleteAuthentication-COpZ5w8i.js.map +1 -0
  151. package/chunk/{StepCompleteAuthentication-Al4mmZZ4.js → StepCompleteAuthentication-CWDsVUrM.js} +44 -43
  152. package/chunk/StepCompleteAuthentication-CWDsVUrM.js.map +1 -0
  153. package/chunk/{StepConsolation-C_Prf3j3.js → StepConsolation-CWZOfBEr.js} +5 -5
  154. package/chunk/{StepConsolation-BQAOeOOd.js.map → StepConsolation-CWZOfBEr.js.map} +1 -1
  155. package/chunk/{StepConsolation-BQAOeOOd.js → StepConsolation-DISoSIlj.js} +5 -5
  156. package/chunk/{StepConsolation-C_Prf3j3.js.map → StepConsolation-DISoSIlj.js.map} +1 -1
  157. package/chunk/{StepDocUpload-C1IXuvwZ.js → StepDocUpload-BDm37Fq1.js} +60 -60
  158. package/chunk/{StepDocUpload-C1IXuvwZ.js.map → StepDocUpload-BDm37Fq1.js.map} +1 -1
  159. package/chunk/{StepDocUpload-B43mxO56.js → StepDocUpload-ETxR-vzb.js} +56 -56
  160. package/chunk/{StepDocUpload-B43mxO56.js.map → StepDocUpload-ETxR-vzb.js.map} +1 -1
  161. package/chunk/{StepDriverLicensePersonalInfoComponent-yf_0IUzD.js → StepDriverLicensePersonalInfoComponent-CBOl141P.js} +37 -33
  162. package/chunk/{StepDriverLicensePersonalInfoComponent-Ckfq3VFs.js.map → StepDriverLicensePersonalInfoComponent-CBOl141P.js.map} +1 -1
  163. package/chunk/{StepDriverLicensePersonalInfoComponent-Ckfq3VFs.js → StepDriverLicensePersonalInfoComponent-CUuNFSwL.js} +16 -20
  164. package/chunk/{StepDriverLicensePersonalInfoComponent-yf_0IUzD.js.map → StepDriverLicensePersonalInfoComponent-CUuNFSwL.js.map} +1 -1
  165. package/chunk/{StepEmailLoop-CHiMm3ff.js → StepEmailLoop-66eXFv6H.js} +48 -47
  166. package/chunk/StepEmailLoop-66eXFv6H.js.map +1 -0
  167. package/chunk/{StepEmailLoop-C7flA645.js → StepEmailLoop-DQiSiwAG.js} +49 -48
  168. package/chunk/StepEmailLoop-DQiSiwAG.js.map +1 -0
  169. package/chunk/{StepEmploymentPersonalInfo-DZmOXIJM.js → StepEmploymentPersonalInfo-CKeI3whS.js} +19 -23
  170. package/chunk/{StepEmploymentPersonalInfo-BcTcSPYa.js.map → StepEmploymentPersonalInfo-CKeI3whS.js.map} +1 -1
  171. package/chunk/{StepEmploymentPersonalInfo-BcTcSPYa.js → StepEmploymentPersonalInfo-gKRvI5TZ.js} +49 -45
  172. package/chunk/{StepEmploymentPersonalInfo-DZmOXIJM.js.map → StepEmploymentPersonalInfo-gKRvI5TZ.js.map} +1 -1
  173. package/chunk/{StepFirstResponderPersonalInfo-CAPiK9Dt.js → StepFirstResponderPersonalInfo-B42FfPMz.js} +38 -38
  174. package/chunk/{StepFirstResponderPersonalInfo-CAPiK9Dt.js.map → StepFirstResponderPersonalInfo-B42FfPMz.js.map} +1 -1
  175. package/chunk/{StepFirstResponderPersonalInfo-nZbV-Ibr.js → StepFirstResponderPersonalInfo-B8DN_Q06.js} +39 -39
  176. package/chunk/{StepFirstResponderPersonalInfo-nZbV-Ibr.js.map → StepFirstResponderPersonalInfo-B8DN_Q06.js.map} +1 -1
  177. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ca02U9E6.js → StepGeneralIdentityPersonalInfoComponent-Ba0AN_Uw.js} +46 -42
  178. package/chunk/{StepGeneralIdentityPersonalInfoComponent-9Q7aqL0S.js.map → StepGeneralIdentityPersonalInfoComponent-Ba0AN_Uw.js.map} +1 -1
  179. package/chunk/{StepGeneralIdentityPersonalInfoComponent-9Q7aqL0S.js → StepGeneralIdentityPersonalInfoComponent-CFdYhH7A.js} +19 -23
  180. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ca02U9E6.js.map → StepGeneralIdentityPersonalInfoComponent-CFdYhH7A.js.map} +1 -1
  181. package/chunk/{StepHybridIdentityPersonalInfoComponent-B1Df69lG.js → StepHybridIdentityPersonalInfoComponent-C-w3vXUI.js} +49 -45
  182. package/chunk/{StepHybridIdentityPersonalInfoComponent-B1Df69lG.js.map → StepHybridIdentityPersonalInfoComponent-C-w3vXUI.js.map} +1 -1
  183. package/chunk/{StepHybridIdentityPersonalInfoComponent-CkN-pDE1.js → StepHybridIdentityPersonalInfoComponent-KAWl91YH.js} +20 -24
  184. package/chunk/{StepHybridIdentityPersonalInfoComponent-CkN-pDE1.js.map → StepHybridIdentityPersonalInfoComponent-KAWl91YH.js.map} +1 -1
  185. package/chunk/{StepIDCheckLoop-CCSjd3UQ.js → StepIDCheckLoop-DKQFGeYF.js} +6 -6
  186. package/chunk/{StepIDCheckLoop-CCSjd3UQ.js.map → StepIDCheckLoop-DKQFGeYF.js.map} +1 -1
  187. package/chunk/{StepIDCheckLoop-CIOkLGwo.js → StepIDCheckLoop-DzY5dNGP.js} +6 -6
  188. package/chunk/{StepIDCheckLoop-CIOkLGwo.js.map → StepIDCheckLoop-DzY5dNGP.js.map} +1 -1
  189. package/chunk/{StepIDCheckLoopOnfido-D2DVgdky.js → StepIDCheckLoopOnfido-Cch_5u12.js} +8 -8
  190. package/chunk/{StepIDCheckLoopOnfido-D2DVgdky.js.map → StepIDCheckLoopOnfido-Cch_5u12.js.map} +1 -1
  191. package/chunk/{StepIDCheckLoopOnfido-cnxsOMWV.js → StepIDCheckLoopOnfido-Dx2ATNUg.js} +8 -8
  192. package/chunk/{StepIDCheckLoopOnfido-cnxsOMWV.js.map → StepIDCheckLoopOnfido-Dx2ATNUg.js.map} +1 -1
  193. package/chunk/{StepIDCheckLoopRegula-qjFbEs5b.js → StepIDCheckLoopRegula-BTQfpfOM.js} +8 -8
  194. package/chunk/{StepIDCheckLoopRegula-Y10NX1Q3.js.map → StepIDCheckLoopRegula-BTQfpfOM.js.map} +1 -1
  195. package/chunk/{StepIDCheckLoopRegula-Y10NX1Q3.js → StepIDCheckLoopRegula-DdWBTpVn.js} +6 -6
  196. package/chunk/{StepIDCheckLoopRegula-qjFbEs5b.js.map → StepIDCheckLoopRegula-DdWBTpVn.js.map} +1 -1
  197. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BXdn-Qvo.js → StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js} +74 -70
  198. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BXdn-Qvo.js.map → StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js.map} +1 -1
  199. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DaCh7SYg.js → StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js} +36 -40
  200. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DaCh7SYg.js.map → StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js.map} +1 -1
  201. package/chunk/{StepLicensedProfessionalPersonalInfo-BnDVMUtO.js → StepLicensedProfessionalPersonalInfo-CSqmpZXF.js} +42 -38
  202. package/chunk/{StepLicensedProfessionalPersonalInfo-BQwZQIFl.js.map → StepLicensedProfessionalPersonalInfo-CSqmpZXF.js.map} +1 -1
  203. package/chunk/{StepLicensedProfessionalPersonalInfo-BQwZQIFl.js → StepLicensedProfessionalPersonalInfo-DKMUW049.js} +18 -22
  204. package/chunk/{StepLicensedProfessionalPersonalInfo-BnDVMUtO.js.map → StepLicensedProfessionalPersonalInfo-DKMUW049.js.map} +1 -1
  205. package/chunk/{StepLowIncomePersonalInfo-BoqwsqL5.js → StepLowIncomePersonalInfo-D9O8Uor2.js} +68 -64
  206. package/chunk/{StepLowIncomePersonalInfo-BoqwsqL5.js.map → StepLowIncomePersonalInfo-D9O8Uor2.js.map} +1 -1
  207. package/chunk/{StepLowIncomePersonalInfo-Db03vaPA.js → StepLowIncomePersonalInfo-QFuvGE-L.js} +35 -39
  208. package/chunk/{StepLowIncomePersonalInfo-Db03vaPA.js.map → StepLowIncomePersonalInfo-QFuvGE-L.js.map} +1 -1
  209. package/chunk/{StepMedicalProfessionalPersonalInfo-awsF3xcG.js → StepMedicalProfessionalPersonalInfo-CbmolcMH.js} +54 -50
  210. package/chunk/{StepMedicalProfessionalPersonalInfo-C0JUATxi.js.map → StepMedicalProfessionalPersonalInfo-CbmolcMH.js.map} +1 -1
  211. package/chunk/{StepMedicalProfessionalPersonalInfo-C0JUATxi.js → StepMedicalProfessionalPersonalInfo-XW9SRLYa.js} +26 -30
  212. package/chunk/{StepMedicalProfessionalPersonalInfo-awsF3xcG.js.map → StepMedicalProfessionalPersonalInfo-XW9SRLYa.js.map} +1 -1
  213. package/chunk/{StepMemberPersonalInfo-BofE_acL.js → StepMemberPersonalInfo-CVOzYqMw.js} +35 -35
  214. package/chunk/{StepMemberPersonalInfo-B0f91YLZ.js.map → StepMemberPersonalInfo-CVOzYqMw.js.map} +1 -1
  215. package/chunk/{StepMemberPersonalInfo-B0f91YLZ.js → StepMemberPersonalInfo-DvmSqX4n.js} +25 -25
  216. package/chunk/{StepMemberPersonalInfo-BofE_acL.js.map → StepMemberPersonalInfo-DvmSqX4n.js.map} +1 -1
  217. package/chunk/{StepMoverPersonalInfo-CmfGAXkf.js → StepMoverPersonalInfo-ADq4X93i.js} +21 -21
  218. package/chunk/{StepMoverPersonalInfo-BD_EHnng.js.map → StepMoverPersonalInfo-ADq4X93i.js.map} +1 -1
  219. package/chunk/{StepMoverPersonalInfo-BD_EHnng.js → StepMoverPersonalInfo-u06pbtdj.js} +22 -22
  220. package/chunk/{StepMoverPersonalInfo-CmfGAXkf.js.map → StepMoverPersonalInfo-u06pbtdj.js.map} +1 -1
  221. package/chunk/{StepOverrideComponent-redazXZp.js → StepOverrideComponent-CPTcGV0Y.js} +38 -38
  222. package/chunk/StepOverrideComponent-CPTcGV0Y.js.map +1 -0
  223. package/chunk/{StepOverrideComponent-fPPJK_4j.js → StepOverrideComponent-DrnSMis1.js} +38 -38
  224. package/chunk/StepOverrideComponent-DrnSMis1.js.map +1 -0
  225. package/chunk/{StepSMSLoop-CQmW0RCA.js → StepSMSLoop-BeJD_bwf.js} +5 -5
  226. package/chunk/{StepSMSLoop-DkvcaHot.js.map → StepSMSLoop-BeJD_bwf.js.map} +1 -1
  227. package/chunk/{StepSMSLoop-DkvcaHot.js → StepSMSLoop-WBuEgD6l.js} +5 -5
  228. package/chunk/{StepSMSLoop-CQmW0RCA.js.map → StepSMSLoop-WBuEgD6l.js.map} +1 -1
  229. package/chunk/{StepSSO-BaFk7RFJ.js → StepSSO-Bp-M6Mod.js} +5 -5
  230. package/chunk/StepSSO-DfPU73JX.js +9 -0
  231. package/chunk/{StepSocialSecurityNumber-DV9hLypX.js → StepSocialSecurityNumber-CxmDZ_yz.js} +10 -10
  232. package/chunk/{StepSocialSecurityNumber-Byc5LqGo.js.map → StepSocialSecurityNumber-CxmDZ_yz.js.map} +1 -1
  233. package/chunk/{StepSocialSecurityNumber-Byc5LqGo.js → StepSocialSecurityNumber-DR2_1m3S.js} +8 -8
  234. package/chunk/{StepSocialSecurityNumber-DV9hLypX.js.map → StepSocialSecurityNumber-DR2_1m3S.js.map} +1 -1
  235. package/chunk/{StepStudentPersonalInfo-4BRY3R9o.js → StepStudentPersonalInfo-C27MhV1r.js} +41 -40
  236. package/chunk/{StepStudentPersonalInfo-4BRY3R9o.js.map → StepStudentPersonalInfo-C27MhV1r.js.map} +1 -1
  237. package/chunk/{StepStudentPersonalInfo-BZbY6a71.js → StepStudentPersonalInfo-Cw-DUf5K.js} +40 -39
  238. package/chunk/{StepStudentPersonalInfo-BZbY6a71.js.map → StepStudentPersonalInfo-Cw-DUf5K.js.map} +1 -1
  239. package/chunk/{StepSuccess-BU5AsEbz.js → StepSuccess-BFG2uFAo.js} +73 -72
  240. package/chunk/StepSuccess-BFG2uFAo.js.map +1 -0
  241. package/chunk/{StepSuccess-CYK71tK1.js → StepSuccess-DjqHe3hp.js} +73 -72
  242. package/chunk/StepSuccess-DjqHe3hp.js.map +1 -0
  243. package/chunk/{StepTeacherPersonalInfo-B2lZ53de.js → StepTeacherPersonalInfo-DMMFjHnf.js} +34 -34
  244. package/chunk/{StepTeacherPersonalInfo-B2lZ53de.js.map → StepTeacherPersonalInfo-DMMFjHnf.js.map} +1 -1
  245. package/chunk/{StepTeacherPersonalInfo-DZekcOaB.js → StepTeacherPersonalInfo-j1D03USI.js} +26 -26
  246. package/chunk/{StepTeacherPersonalInfo-DZekcOaB.js.map → StepTeacherPersonalInfo-j1D03USI.js.map} +1 -1
  247. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +9 -0
  248. package/chunk/{StepThirdPartyLoop-BGHCbduX.js → StepThirdPartyLoop-CbFTIlwP.js} +5 -5
  249. package/chunk/{TeacherSchoolComponent-Bk9mAtGT.js → TeacherSchoolComponent-CiMvlnGq.js} +6 -6
  250. package/chunk/{TeacherSchoolComponent-Bk9mAtGT.js.map → TeacherSchoolComponent-CiMvlnGq.js.map} +1 -1
  251. package/chunk/{TeacherSchoolComponent-BhQA41W4.js → TeacherSchoolComponent-DsUzj_xt.js} +6 -6
  252. package/chunk/{TeacherSchoolComponent-BhQA41W4.js.map → TeacherSchoolComponent-DsUzj_xt.js.map} +1 -1
  253. package/chunk/TestingRouteOverrides-C6_6elEq.js +4 -4
  254. package/chunk/TestingRouteOverrides-DHL_cusu.js +4 -4
  255. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  256. package/chunk/{VerificationApiClient-DMn0LZDJ.js → VerificationApiClient-1OjLrKjE.js} +5 -5
  257. package/chunk/{VerificationApiClient-DMn0LZDJ.js.map → VerificationApiClient-1OjLrKjE.js.map} +1 -1
  258. package/chunk/{VerificationApiClient-D25kKPW3.js → VerificationApiClient-PLVc1WDR.js} +5 -5
  259. package/chunk/{VerificationApiClient-D25kKPW3.js.map → VerificationApiClient-PLVc1WDR.js.map} +1 -1
  260. package/chunk/{VerificationApiUtils-DqEF-n7G.js → VerificationApiUtils-CbPWShkM.js} +6 -6
  261. package/chunk/{VerificationApiUtils-DqEF-n7G.js.map → VerificationApiUtils-CbPWShkM.js.map} +1 -1
  262. package/chunk/{VerificationApiUtils-if8YfRNb.js → VerificationApiUtils-DnXcSPRj.js} +6 -6
  263. package/chunk/{VerificationApiUtils-if8YfRNb.js.map → VerificationApiUtils-DnXcSPRj.js.map} +1 -1
  264. package/chunk/ar-CZrVPqvf.js +4 -4
  265. package/chunk/bg-Cj9u62RW.js +4 -4
  266. package/chunk/bn-IN-AX8JdjQ8.js +4 -4
  267. package/chunk/countryUtils-CAW7TO02.js +4 -4
  268. package/chunk/countryUtils-CV_Lr16_.js +4 -4
  269. package/chunk/cs-5rrzGv7_.js +4 -4
  270. package/chunk/da-DMDlBT-5.js +4 -4
  271. package/chunk/de-DG-q-l7o.js +4 -4
  272. package/chunk/{downshift.esm-_-Q1VM-s.js → downshift.esm-BaiLtXU1.js} +5 -5
  273. package/chunk/{downshift.esm-_-Q1VM-s.js.map → downshift.esm-BaiLtXU1.js.map} +1 -1
  274. package/chunk/{downshift.esm-DVFysUHL.js → downshift.esm-DG33Aw1V.js} +5 -5
  275. package/chunk/{downshift.esm-DVFysUHL.js.map → downshift.esm-DG33Aw1V.js.map} +1 -1
  276. package/chunk/el-yctEkMhE.js +4 -4
  277. package/chunk/empties-CuuBn0bi.js +4 -4
  278. package/chunk/empties-NTFzwSRR.js +4 -4
  279. package/chunk/en-GB-6LZCsn1D.js +4 -4
  280. package/chunk/es-BMeF1R04.js +4 -4
  281. package/chunk/es-ES-CsFb7QAU.js +4 -4
  282. package/chunk/et-CiZKWMRu.js +4 -4
  283. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  284. package/chunk/fa-D9V3MCMh.js +4 -4
  285. package/chunk/fi-poKCN0AL.js +4 -4
  286. package/chunk/fr-BiSjb5hG.js +4 -4
  287. package/chunk/fr-CA-zBX3D7Nl.js +4 -4
  288. package/chunk/ga-jC99p6r7.js +4 -4
  289. package/chunk/hi-IN-C_1AZftT.js +4 -4
  290. package/chunk/hooks-ClexZCWs.js +2888 -0
  291. package/chunk/hooks-ClexZCWs.js.map +1 -0
  292. package/chunk/hooks-DqGWdJ7N.js +2892 -0
  293. package/chunk/hooks-DqGWdJ7N.js.map +1 -0
  294. package/chunk/hr-abbR52XG.js +4 -4
  295. package/chunk/hu-CeZoihsr.js +4 -4
  296. package/chunk/id-wFLT8G20.js +4 -4
  297. package/chunk/intl-CuZpjbF2.js +4 -4
  298. package/chunk/is-sc_8Dmxx.js +4 -4
  299. package/chunk/it-Mhw_31wt.js +4 -4
  300. package/chunk/iw-BfqjzsAq.js +4 -4
  301. package/chunk/ja-Bdvw5s91.js +4 -4
  302. package/chunk/jsx-runtime-B29HBOo1.js +4 -4
  303. package/chunk/jsx-runtime-Br-ldzo0.js +4 -4
  304. package/chunk/kk-mHV9A9HS.js +4 -4
  305. package/chunk/ko-C7nyKdTs.js +4 -4
  306. package/chunk/lo-baNG1foB.js +4 -4
  307. package/chunk/lt-CNU2L7fK.js +4 -4
  308. package/chunk/lv-bP-HuAKS.js +4 -4
  309. package/chunk/militaryStepHelpers-BlzQcNHu.js +4 -4
  310. package/chunk/militaryStepHelpers-COmBnCcw.js +4 -4
  311. package/chunk/mocks-BlLp3eOz.js +4 -4
  312. package/chunk/mocks-CuPTVtpf.js +4 -4
  313. package/chunk/ms-Bg8aDCAA.js +4 -4
  314. package/chunk/nl-BE-Ct8zP0W1.js +4 -4
  315. package/chunk/nl-CbfjSfKQ.js +4 -4
  316. package/chunk/no-DjDW2Ec_.js +4 -4
  317. package/chunk/options-BqxY1ri6.js +4 -4
  318. package/chunk/pl--DnD-6qz.js +4 -4
  319. package/chunk/programThemeGetters-BKJAvlOG.js +4 -4
  320. package/chunk/programThemeGetters-f9o96pYi.js +4 -4
  321. package/chunk/pt-BR-B02CJDXT.js +4 -4
  322. package/chunk/pt-CcmRJnZb.js +4 -4
  323. package/chunk/refs-B-c--SWS.js +4 -4
  324. package/chunk/refs-CWwQlqJe.js +4 -4
  325. package/chunk/ro-CLdi0jqR.js +4 -4
  326. package/chunk/ru-Z91NV1Cr.js +4 -4
  327. package/chunk/sk-B7rRmmv6.js +4 -4
  328. package/chunk/sl-DhAq6T_a.js +4 -4
  329. package/chunk/sr-DpP50d7v.js +4 -4
  330. package/chunk/strings-DWLVdUcm.js +4 -4
  331. package/chunk/sv-QG7LEZNd.js +4 -4
  332. package/chunk/sw--WAxwRTW.js +4 -4
  333. package/chunk/ta-DRF7u30N.js +4 -4
  334. package/chunk/th-BoK35Z2N.js +4 -4
  335. package/chunk/tl-BDTwfyaC.js +4 -4
  336. package/chunk/tr-BoXGTv5p.js +4 -4
  337. package/chunk/uk-AXN3c9FX.js +4 -4
  338. package/chunk/ur-D5Nqe4mS.js +4 -4
  339. package/chunk/{useCollectFieldsEndpoint-C8WAisEk.js → useCollectFieldsEndpoint-ChTjhl6c.js} +6 -6
  340. package/chunk/{useCollectFieldsEndpoint-C8WAisEk.js.map → useCollectFieldsEndpoint-ChTjhl6c.js.map} +1 -1
  341. package/chunk/{useCollectFieldsEndpoint-CY9EgLrA.js → useCollectFieldsEndpoint-CqGDsmUW.js} +6 -6
  342. package/chunk/{useCollectFieldsEndpoint-CY9EgLrA.js.map → useCollectFieldsEndpoint-CqGDsmUW.js.map} +1 -1
  343. package/chunk/{useMetrics-B3zSqEvx.js → useMetrics-BIJ6jLMV.js} +5 -5
  344. package/chunk/{useMetrics-yFN3h5mC.js.map → useMetrics-BIJ6jLMV.js.map} +1 -1
  345. package/chunk/{useMetrics-yFN3h5mC.js → useMetrics-DWYTjtqD.js} +5 -5
  346. package/chunk/{useMetrics-B3zSqEvx.js.map → useMetrics-DWYTjtqD.js.map} +1 -1
  347. package/chunk/vi-BE4aMeLo.js +4 -4
  348. package/chunk/zh-CUzsIz8M.js +4 -4
  349. package/chunk/zh-HK-BTCqwQOw.js +4 -4
  350. package/chunk/zu-ChHTiO3Y.js +4 -4
  351. package/package.json +1 -1
  352. package/sheerid-install.css +4 -4
  353. package/sheerid-install.js +4 -4
  354. package/sheerid.css +4 -4
  355. package/sheerid.js +1360 -3776
  356. package/sheerid.js.map +1 -1
  357. package/chunk/EmailLoopPending-Czkli3uD.js.map +0 -1
  358. package/chunk/EmailLoopPending-FiV8oqMN.js.map +0 -1
  359. package/chunk/StepCollectMilitaryStatusComponent-BqeZDXtK.js +0 -9
  360. package/chunk/StepCompleteAuthentication-Al4mmZZ4.js.map +0 -1
  361. package/chunk/StepCompleteAuthentication-zrcJ8B4S.js.map +0 -1
  362. package/chunk/StepEmailLoop-C7flA645.js.map +0 -1
  363. package/chunk/StepEmailLoop-CHiMm3ff.js.map +0 -1
  364. package/chunk/StepOverrideComponent-fPPJK_4j.js.map +0 -1
  365. package/chunk/StepOverrideComponent-redazXZp.js.map +0 -1
  366. package/chunk/StepSSO-BRFhNvkp.js +0 -9
  367. package/chunk/StepSuccess-BU5AsEbz.js.map +0 -1
  368. package/chunk/StepSuccess-CYK71tK1.js.map +0 -1
  369. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +0 -9
  370. package/chunk/validators-DqymSzki.js +0 -470
  371. package/chunk/validators-DqymSzki.js.map +0 -1
  372. package/chunk/validators-DtqLbhHK.js +0 -474
  373. package/chunk/validators-DtqLbhHK.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"StepSocialSecurityNumber-Byc5LqGo.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, injectIntl } 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\nconst Step = ({ verificationService }: StepSocialSecurityNumberProps) => {\n const [showChoice, setShowChoice] = React.useState(true);\n const viewModel = verificationService.viewModel as SocialSecurityViewModel;\n const { fieldValidationErrors } = verificationService;\n const doCancelStep = () =>\n verificationService.submitStep(\n VerificationStepsEnum.cancelSocialSecurityNumber,\n viewModel,\n verificationService.verificationResponse,\n );\n\n const updateSSNViewModel = (key: keyof SocialSecurityViewModel, value: any) => {\n const nextState: SocialSecurityViewModel = produce(\n viewModel,\n (draft: SocialSecurityViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const isSubmittable =\n viewModel.socialSecurityNumber && viewModel.socialSecurityNumber.toString().length === 9;\n\n if (showChoice) {\n return (\n <SsnChoice\n useSsn={() => setShowChoice(false)}\n useDocUpload={doCancelStep}\n verificationService={verificationService}\n />\n );\n }\n\n return (\n <div\n id=\"sid-step-social-security\"\n className=\"sid-social-sercurity-number-container sid-l-container sid-l-horz-center\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-social-security-number-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.title\"\n defaultMessage=\"Enter your social security number\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updateSSNViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className=\"sid-social-security-number-submit sid-submit\">\n <button\n id=\"sid-submit-wrapper__collect-info\"\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.collectSocialSecurityNumber,\n )\n }\n type=\"submit\"\n className={`sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width ${\n isSubmittable ? \"\" : \"sid-btn--disabled-like\"\n }`}\n aria-label=\"submit\"\n ref={(button) => setRef(\"submitButton\", button)}\n >\n <FormattedHTMLMessage id=\"proceed\" defaultMessage=\"Proceed\" />\n </button>\n </div>\n </div>\n\n <div\n className=\"sid-form-region sid-social-security-number-upload-instead-btn sid-l-space-top-md\"\n role=\"button\"\n tabIndex={0}\n onKeyUp={doCancelStep}\n onClick={doCancelStep}\n >\n <div className=\"sid-social-security-number-upload-instead-text sid-h-link-like\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadInstead\"\n defaultMessage=\"Upload a document instead\"\n />\n </div>\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\n// TODO remove injectIntl, it's not used\nexport const StepSocialSecurityNumber = injectIntl(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AU;QACjB,WAAW,MAAkB;SAE3B,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,CAGuD"}
1
+ {"version":3,"file":"StepSocialSecurityNumber-CxmDZ_yz.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, injectIntl } 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\nconst Step = ({ verificationService }: StepSocialSecurityNumberProps) => {\n const [showChoice, setShowChoice] = React.useState(true);\n const viewModel = verificationService.viewModel as SocialSecurityViewModel;\n const { fieldValidationErrors } = verificationService;\n const doCancelStep = () =>\n verificationService.submitStep(\n VerificationStepsEnum.cancelSocialSecurityNumber,\n viewModel,\n verificationService.verificationResponse,\n );\n\n const updateSSNViewModel = (key: keyof SocialSecurityViewModel, value: any) => {\n const nextState: SocialSecurityViewModel = produce(\n viewModel,\n (draft: SocialSecurityViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const isSubmittable =\n viewModel.socialSecurityNumber && viewModel.socialSecurityNumber.toString().length === 9;\n\n if (showChoice) {\n return (\n <SsnChoice\n useSsn={() => setShowChoice(false)}\n useDocUpload={doCancelStep}\n verificationService={verificationService}\n />\n );\n }\n\n return (\n <div\n id=\"sid-step-social-security\"\n className=\"sid-social-sercurity-number-container sid-l-container sid-l-horz-center\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-social-security-number-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.title\"\n defaultMessage=\"Enter your social security number\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updateSSNViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className=\"sid-social-security-number-submit sid-submit\">\n <button\n id=\"sid-submit-wrapper__collect-info\"\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.collectSocialSecurityNumber,\n )\n }\n type=\"submit\"\n className={`sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width ${\n isSubmittable ? \"\" : \"sid-btn--disabled-like\"\n }`}\n aria-label=\"submit\"\n ref={(button) => setRef(\"submitButton\", button)}\n >\n <FormattedHTMLMessage id=\"proceed\" defaultMessage=\"Proceed\" />\n </button>\n </div>\n </div>\n\n <div\n className=\"sid-form-region sid-social-security-number-upload-instead-btn sid-l-space-top-md\"\n role=\"button\"\n tabIndex={0}\n onKeyUp={doCancelStep}\n onClick={doCancelStep}\n >\n <div className=\"sid-social-security-number-upload-instead-text sid-h-link-like\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadInstead\"\n defaultMessage=\"Upload a document instead\"\n />\n </div>\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\n// TODO remove injectIntl, it's not used\nexport const StepSocialSecurityNumber = injectIntl(Step);\n"],"mappings":";;;;;;;;;;4CA2DA,KAhDA,EAAA,WAAA,iBAAA,6BAAA,iBAAA,GAAA,EAAA,MAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IC+Ha,IAA2B,GAnH1B,EAAE,6BAAyD;CACvE,IAAM,CAAC,GAAY,KAAA,EAAuB,SAAS,EAAI,GACjD,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,UACJ,EAAoB,WAClB,EAAsB,4BACtB,GACA,EAAoB,oBACtB,GAEI,KAAsB,GAAoC,MAA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AW,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,CAGuD"}
@@ -4,20 +4,20 @@
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.263.0
8
- * BUILD_TIMESTAMP: 1785516728580
9
- * BUILD_DATE: Fri Jul 31 2026 16:52:08 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
7
+ * VERSION: 2.264.0
8
+ * BUILD_TIMESTAMP: 1785521582792
9
+ * BUILD_DATE: Fri Jul 31 2026 18:13:02 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
11
11
  */
12
12
  import { Ft as e, Kt as t, p as n, vt as r } from "./intl-CuZpjbF2.js";
13
13
  import { a as i, c as a, n as o, t as s } from "./jsx-runtime-Br-ldzo0.js";
14
- import { t as c } from "./FormFooterComponent-7bb8jZLG.js";
14
+ import { t as c } from "./FormFooterComponent-BkXmQxBf.js";
15
15
  import { o as l } from "./refs-B-c--SWS.js";
16
16
  import { t as u } from "./LogoComponent-qYFfdGhk.js";
17
17
  import { t as d } from "./AnnouncingHeader-DDT5xAyL.js";
18
- import { $ as f, Z as p } from "../_mysheerid-preview.js";
19
- import { t as m } from "./ChangeLocaleComponent-qKZIgmCX.js";
20
- import { t as h } from "./SSN-V4OsBJo-.js";
18
+ import { Q as f, X as p } from "../_mysheerid-preview.js";
19
+ import { t as m } from "./ChangeLocaleComponent-C1vybPVc.js";
20
+ import { t as h } from "./SSN-BTH_HKwP.js";
21
21
  //#region src/components/StepSocialSecurityNumber/SsnChoice.tsx
22
22
  var g = /* @__PURE__ */ t(a(), 1), _ = s(), v = ({ useSsn: e, useDocUpload: t, verificationService: n }) => /* @__PURE__ */ (0, _.jsxs)("div", {
23
23
  id: "sid-ssn-choice",
@@ -1 +1 @@
1
- {"version":3,"file":"StepSocialSecurityNumber-DV9hLypX.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, injectIntl } 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\nconst Step = ({ verificationService }: StepSocialSecurityNumberProps) => {\n const [showChoice, setShowChoice] = React.useState(true);\n const viewModel = verificationService.viewModel as SocialSecurityViewModel;\n const { fieldValidationErrors } = verificationService;\n const doCancelStep = () =>\n verificationService.submitStep(\n VerificationStepsEnum.cancelSocialSecurityNumber,\n viewModel,\n verificationService.verificationResponse,\n );\n\n const updateSSNViewModel = (key: keyof SocialSecurityViewModel, value: any) => {\n const nextState: SocialSecurityViewModel = produce(\n viewModel,\n (draft: SocialSecurityViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const isSubmittable =\n viewModel.socialSecurityNumber && viewModel.socialSecurityNumber.toString().length === 9;\n\n if (showChoice) {\n return (\n <SsnChoice\n useSsn={() => setShowChoice(false)}\n useDocUpload={doCancelStep}\n verificationService={verificationService}\n />\n );\n }\n\n return (\n <div\n id=\"sid-step-social-security\"\n className=\"sid-social-sercurity-number-container sid-l-container sid-l-horz-center\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-social-security-number-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.title\"\n defaultMessage=\"Enter your social security number\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updateSSNViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className=\"sid-social-security-number-submit sid-submit\">\n <button\n id=\"sid-submit-wrapper__collect-info\"\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.collectSocialSecurityNumber,\n )\n }\n type=\"submit\"\n className={`sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width ${\n isSubmittable ? \"\" : \"sid-btn--disabled-like\"\n }`}\n aria-label=\"submit\"\n ref={(button) => setRef(\"submitButton\", button)}\n >\n <FormattedHTMLMessage id=\"proceed\" defaultMessage=\"Proceed\" />\n </button>\n </div>\n </div>\n\n <div\n className=\"sid-form-region sid-social-security-number-upload-instead-btn sid-l-space-top-md\"\n role=\"button\"\n tabIndex={0}\n onKeyUp={doCancelStep}\n onClick={doCancelStep}\n >\n <div className=\"sid-social-security-number-upload-instead-text sid-h-link-like\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadInstead\"\n defaultMessage=\"Upload a document instead\"\n />\n </div>\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\n// TODO remove injectIntl, it's not used\nexport const StepSocialSecurityNumber = injectIntl(Step);\n"],"mappings":";;;;;;;;;;4CA2DA,KAhDA,EAAA,WAAA,iBAAA,6BAAA,iBAAA,GAAA,EAAA,MAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IC+Ha,IAA2B,GAnH1B,EAAE,6BAAyD;CACvE,IAAM,CAAC,GAAY,KAAA,EAAuB,SAAS,EAAI,GACjD,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,UACJ,EAAoB,WAClB,EAAsB,4BACtB,GACA,EAAoB,oBACtB,GAEI,KAAsB,GAAoC,MAAe;EAC7E,IAAM,IAAqC,EACzC,IACC,MAAmC;GAClC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,IACJ,EAAU,wBAAwB,EAAU,qBAAqB,SAAS,EAAE,WAAW;CAYzF,OAVI,IAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,cAAc,EAAc,EAAK;EACjC,cAAc;EACO;CACtB,CAAA,IAKH,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,MAAC,OAAD;KAAK,WAAU;eAAf;MACE,iBAAA,G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GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET,CAGuD"}
1
+ {"version":3,"file":"StepSocialSecurityNumber-DR2_1m3S.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, injectIntl } 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\nconst Step = ({ verificationService }: StepSocialSecurityNumberProps) => {\n const [showChoice, setShowChoice] = React.useState(true);\n const viewModel = verificationService.viewModel as SocialSecurityViewModel;\n const { fieldValidationErrors } = verificationService;\n const doCancelStep = () =>\n verificationService.submitStep(\n VerificationStepsEnum.cancelSocialSecurityNumber,\n viewModel,\n verificationService.verificationResponse,\n );\n\n const updateSSNViewModel = (key: keyof SocialSecurityViewModel, value: any) => {\n const nextState: SocialSecurityViewModel = produce(\n viewModel,\n (draft: SocialSecurityViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const isSubmittable =\n viewModel.socialSecurityNumber && viewModel.socialSecurityNumber.toString().length === 9;\n\n if (showChoice) {\n return (\n <SsnChoice\n useSsn={() => setShowChoice(false)}\n useDocUpload={doCancelStep}\n verificationService={verificationService}\n />\n );\n }\n\n return (\n <div\n id=\"sid-step-social-security\"\n className=\"sid-social-sercurity-number-container sid-l-container sid-l-horz-center\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-social-security-number-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.title\"\n defaultMessage=\"Enter your social security number\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updateSSNViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className=\"sid-social-security-number-submit sid-submit\">\n <button\n id=\"sid-submit-wrapper__collect-info\"\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.collectSocialSecurityNumber,\n )\n }\n type=\"submit\"\n className={`sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width ${\n isSubmittable ? \"\" : \"sid-btn--disabled-like\"\n }`}\n aria-label=\"submit\"\n ref={(button) => setRef(\"submitButton\", button)}\n >\n <FormattedHTMLMessage id=\"proceed\" defaultMessage=\"Proceed\" />\n </button>\n </div>\n </div>\n\n <div\n className=\"sid-form-region sid-social-security-number-upload-instead-btn sid-l-space-top-md\"\n role=\"button\"\n tabIndex={0}\n onKeyUp={doCancelStep}\n onClick={doCancelStep}\n >\n <div className=\"sid-social-security-number-upload-instead-text sid-h-link-like\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadInstead\"\n defaultMessage=\"Upload a document instead\"\n />\n </div>\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\n// TODO remove inj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AA,GAAA,EAAA,KAAC,GAAD;QACE,OAAO,EAAU;QACjB,WAAW,MAAkB;SAE3B,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,CAGuD"}
@@ -1,28 +1,29 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.263.0
4
- * BUILD_TIMESTAMP: 1785516718995
5
- * BUILD_DATE: Fri Jul 31 2026 16:51:58 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
3
+ * VERSION: 2.264.0
4
+ * BUILD_TIMESTAMP: 1785521577545
5
+ * BUILD_DATE: Fri Jul 31 2026 18:12:57 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
7
7
  */
8
8
  import { Kt as e, Lt as t, Nt as n, c as r, n as i } from "./options-BqxY1ri6.js";
9
9
  import { a, c as o, n as s, t as c } from "./jsx-runtime-B29HBOo1.js";
10
- import { C as l } from "./FormFooterComponent-DNXKayDA.js";
11
- import { K as u, V as d, et as f, n as p, r as m, tt as h } from "../sheerid.js";
12
- import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-jOXCtvzE.js";
10
+ import { C as l } from "./FormFooterComponent-khRc1L5E.js";
11
+ import { t as u } from "./hooks-ClexZCWs.js";
12
+ import { $ as d, B as f, G as p, et as m, n as h } from "../sheerid.js";
13
+ import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-D6FNNlKj.js";
13
14
  import { t as S } from "./FormFieldText-C44FpzvF.js";
14
- import { n as C, t as w } from "./PersonalInfoStepSubmitButton-C9ilhi9-.js";
15
- import { t as T } from "./BirthDateComponent-DolPukGV.js";
16
- import { t as E } from "./CountryComponentWrapper-CCoy3Zoi.js";
17
- import { t as D } from "./ExtraMessage-CZyIoyAy.js";
18
- import { t as O } from "./ChangeLocaleComponent-Bip0Zvo1.js";
19
- import { t as k } from "./PersonalInfoStepWrapper-D311a-Ph.js";
20
- import { t as A } from "./CollegeNameComponent-B02MJ5F0.js";
21
- import { t as j } from "./StatusComponent-Bcd8Ga_d.js";
15
+ import { n as C, t as w } from "./PersonalInfoStepSubmitButton-DBVGelcX.js";
16
+ import { t as T } from "./BirthDateComponent-DiRfVMkQ.js";
17
+ import { t as E } from "./CountryComponentWrapper-HDMnK8-s.js";
18
+ import { t as D } from "./ExtraMessage-BbACElsX.js";
19
+ import { t as O } from "./ChangeLocaleComponent-B905JfFy.js";
20
+ import { t as k } from "./PersonalInfoStepWrapper-BmHuTQIp.js";
21
+ import { t as A } from "./CollegeNameComponent-BDZD28ed.js";
22
+ import { t as j } from "./StatusComponent-CZMNhzFo.js";
22
23
  //#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
23
24
  var M = /* @__PURE__ */ e(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onChange: n, intl: r, explanation: i, placeholder: a = "", isRequired: o = !1 }) => {
24
- let c = p("include-cvec-field-france-student");
25
- return d("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, N.jsx)(S, {
25
+ let c = u("include-cvec-field-france-student");
26
+ return f("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, N.jsx)(S, {
26
27
  fieldId: "cvecNumber",
27
28
  value: e,
28
29
  onChange: n,
@@ -49,7 +50,7 @@ var M = /* @__PURE__ */ e(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
49
50
  }))
50
51
  });
51
52
  }), F = Object.keys(n), I = a(({ verificationService: e, intl: a }) => {
52
- let o = e.viewModel, { fieldValidationErrors: c } = e, S = e.verificationResponse, I = i(), L = p("include-cvec-field-france-student"), R = L !== "control" && L !== "default" && o?.countryChoice?.value === "FR", z = S.availableStatuses ?? [], B = z.includes("GRADUATE") && z.some((e) => e !== "GRADUATE");
53
+ let o = e.viewModel, { fieldValidationErrors: c } = e, S = e.verificationResponse, I = i(), L = u("include-cvec-field-france-student"), R = L !== "control" && L !== "default" && o?.countryChoice?.value === "FR", z = S.availableStatuses ?? [], B = z.includes("GRADUATE") && z.some((e) => e !== "GRADUATE");
53
54
  M.useEffect(() => {
54
55
  let t = (e.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "cvecNumber" && e !== "status");
55
56
  R || (t = [...t, "cvecNumber"]), B || (t = [...t, "status"]), H("fieldsToSkipValidation", t);
@@ -73,14 +74,14 @@ var M = /* @__PURE__ */ e(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
73
74
  verificationService: e,
74
75
  step: S.currentStep,
75
76
  children: [
76
- /* @__PURE__ */ (0, N.jsx)(m, {
77
+ /* @__PURE__ */ (0, N.jsx)(h, {
77
78
  verificationService: e,
78
79
  classNameIdentifier: "student-personal-info"
79
80
  }),
80
81
  /* @__PURE__ */ (0, N.jsx)(O, { verificationService: e }),
81
82
  /* @__PURE__ */ (0, N.jsx)(E, {
82
83
  verificationService: e,
83
- disabled: d("country")?.disabled
84
+ disabled: f("country")?.disabled
84
85
  }),
85
86
  B && /* @__PURE__ */ (0, N.jsx)(j, {
86
87
  segmentId: "student",
@@ -91,10 +92,10 @@ var M = /* @__PURE__ */ e(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
91
92
  value: W(o.status),
92
93
  isErrored: !!c.status,
93
94
  options: F.map(W),
94
- disabled: d("status")?.disabled,
95
+ disabled: f("status")?.disabled,
95
96
  onChange: (t) => {
96
97
  let n = t ? t.value : void 0;
97
- H("status", n), f("status", n ?? "", e);
98
+ H("status", n), d("status", n ?? "", e);
98
99
  }
99
100
  }),
100
101
  /* @__PURE__ */ (0, N.jsx)(A, {
@@ -102,18 +103,18 @@ var M = /* @__PURE__ */ e(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
102
103
  verificationService: e,
103
104
  isErrored: !!c.organization,
104
105
  isRequired: !0,
105
- disabled: d("organization")?.disabled,
106
+ disabled: f("organization")?.disabled,
106
107
  onChange: (t) => {
107
- h(t, e), f("organization", t, e);
108
+ m(t, e), d("organization", t, e);
108
109
  }
109
110
  }),
110
111
  R && /* @__PURE__ */ (0, N.jsx)(P, {
111
- isRequired: d("cvecNumber")?.requireIfOptional,
112
+ isRequired: f("cvecNumber")?.requireIfOptional,
112
113
  value: o.cvecNumber,
113
114
  isErrored: !!c.cvecNumber,
114
- disabled: d("cvecNumber")?.disabled,
115
+ disabled: f("cvecNumber")?.disabled,
115
116
  onChange: (t) => {
116
- H("cvecNumber", t), f("cvecNumber", t, e);
117
+ H("cvecNumber", t), d("cvecNumber", t, e);
117
118
  }
118
119
  }),
119
120
  /* @__PURE__ */ (0, N.jsxs)("div", {
@@ -121,16 +122,16 @@ var M = /* @__PURE__ */ e(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
121
122
  children: [/* @__PURE__ */ (0, N.jsx)(g, {
122
123
  value: o.firstName,
123
124
  isErrored: !!c.firstName,
124
- disabled: d("firstName")?.disabled,
125
+ disabled: f("firstName")?.disabled,
125
126
  onChange: (t) => {
126
- H("firstName", t), f("firstName", t, e);
127
+ H("firstName", t), d("firstName", t, e);
127
128
  }
128
129
  }), /* @__PURE__ */ (0, N.jsx)(_, {
129
130
  value: o.lastName,
130
131
  isErrored: !!c.lastName,
131
- disabled: d("lastName")?.disabled,
132
+ disabled: f("lastName")?.disabled,
132
133
  onChange: (t) => {
133
- H("lastName", t), f("lastName", t, e);
134
+ H("lastName", t), d("lastName", t, e);
134
135
  }
135
136
  })]
136
137
  }),
@@ -139,9 +140,9 @@ var M = /* @__PURE__ */ e(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
139
140
  errorId: c.birthDate,
140
141
  locale: U,
141
142
  isRequired: !0,
142
- disabled: d("birthDate")?.disabled,
143
+ disabled: f("birthDate")?.disabled,
143
144
  onChange: (t) => {
144
- H("birthDate", t), f("birthDate", t, e);
145
+ H("birthDate", t), d("birthDate", t, e);
145
146
  }
146
147
  }),
147
148
  /* @__PURE__ */ (0, N.jsx)(C, {
@@ -152,18 +153,18 @@ var M = /* @__PURE__ */ e(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
152
153
  defaultMessage: "Personal or school email is fine"
153
154
  }),
154
155
  onChange: (t) => {
155
- H("email", t), f("email", t, e);
156
+ H("email", t), d("email", t, e);
156
157
  },
157
- onKeyDown: (e) => u(e),
158
- disabled: d("email")?.disabled
158
+ onKeyDown: (e) => p(e),
159
+ disabled: f("email")?.disabled
159
160
  }),
160
161
  e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, N.jsx)(y, {
161
162
  isRequired: !!e.programTheme.smsLoopEnabled,
162
163
  value: o.phoneNumber,
163
164
  isErrored: !!c.phoneNumber,
164
- disabled: d("phoneNumber")?.disabled,
165
+ disabled: f("phoneNumber")?.disabled,
165
166
  onChange: (t) => {
166
- H("phoneNumber", t), f("phoneNumber", t, e);
167
+ H("phoneNumber", t), d("phoneNumber", t, e);
167
168
  },
168
169
  selectedCountryCode: o.countryChoice && o.countryChoice.value
169
170
  }) : null,
@@ -175,12 +176,12 @@ var M = /* @__PURE__ */ e(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
175
176
  /* @__PURE__ */ (0, N.jsx)(b, {
176
177
  verificationService: e,
177
178
  isErrored: !!c.marketConsentValue,
178
- disabled: d("marketConsentValue")?.disabled,
179
+ disabled: f("marketConsentValue")?.disabled,
179
180
  onChange: (t) => {
180
181
  H("metadata", {
181
182
  ...e.viewModel.metadata,
182
183
  marketConsentValue: t
183
- }), f("marketConsentValue", t, e);
184
+ }), d("marketConsentValue", t, e);
184
185
  },
185
186
  viewModel: o
186
187
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"StepStudentPersonalInfo-4BRY3R9o.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\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 CVECNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\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={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"cvecNumberPlaceholder\",\n defaultMessage: \"CVEC certificate number\",\n })\n }\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};\nexport const CVECNumberComponent = injectIntl(CVECNumber);\n","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n type FieldId,\n type FormSelectChoice,\n type StudentStatusSelection,\n} from \"../../lib/types/types\";\n\nimport {\n StudentStatusDefaultMessagesEnum,\n VerificationStepsEnum,\n} 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\";\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 intl: InjectedIntl;\n}\n\nconst StepStudentPersonalInfo = ({\n verificationService,\n intl,\n}: StepStudentPersonalInfoComponentProps) => {\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\n const getStatusChoice = (status?: StudentStatusSelection): FormSelectChoice =>\n status\n ? {\n value: status,\n label: intl.formatHTMLMessage({\n id: status,\n defaultMessage: StudentStatusDefaultMessagesEnum[status],\n }),\n }\n : { value: \"\", label: \"\" };\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={getStatusChoice(viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n options={STATUS_SELECTIONS.map(getStatusChoice)}\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\">\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\nexport const StepStudentPersonalInfoComponent = injectIntl(StepStudentPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;4CAuEA,IAAA,GA3DA,EAAA,UAAA,cAAA,aAAA,SAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,CACA,GCnBM,IAAoB,OAAO,KAAK,CAAgC,GA+NzD,IAAmC,GAxNf,EAC/B,wBACA,cAC2C;CAC3C,IAAM,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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/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\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 CVECNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\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={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"cvecNumberPlaceholder\",\n defaultMessage: \"CVEC certificate number\",\n })\n }\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};\nexport const CVECNumberComponent = injectIntl(CVECNumber);\n","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n type FieldId,\n type FormSelectChoice,\n type StudentStatusSelection,\n} from \"../../lib/types/types\";\n\nimport {\n StudentStatusDefaultMessagesEnum,\n VerificationStepsEnum,\n} 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\";\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 intl: InjectedIntl;\n}\n\nconst StepStudentPersonalInfo = ({\n verificationService,\n intl,\n}: StepStudentPersonalInfoComponentProps) => {\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\n const getStatusChoice = (status?: StudentStatusSelection): FormSelectChoice =>\n status\n ? {\n value: status,\n label: intl.formatHTMLMessage({\n id: status,\n defaultMessage: StudentStatusDefaultMessagesEnum[status],\n }),\n }\n : { value: \"\", label: \"\" };\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={getStatusChoice(viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n options={STATUS_SELECTIONS.map(getStatusChoice)}\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\">\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\nexport const StepStudentPersonalInfoComponent = injectIntl(StepStudentPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CAuEA,IAAA,GA3DA,EAAA,UAAA,cAAA,aAAA,SAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,CACA,GCnBM,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AD;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,CAEkF"}
@@ -4,29 +4,30 @@
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.263.0
8
- * BUILD_TIMESTAMP: 1785516728580
9
- * BUILD_DATE: Fri Jul 31 2026 16:52:08 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
7
+ * VERSION: 2.264.0
8
+ * BUILD_TIMESTAMP: 1785521582792
9
+ * BUILD_DATE: Fri Jul 31 2026 18:13:02 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
11
11
  */
12
12
  import { Ft as e, Kt as t, jt as n, p as r, s as i } from "./intl-CuZpjbF2.js";
13
13
  import { a, c as o, n as s, t as c } from "./jsx-runtime-Br-ldzo0.js";
14
- import { D as l } from "./FormFooterComponent-7bb8jZLG.js";
15
- import { $ as u, B as d, G as f, et as p, n as m, t as h } from "../_mysheerid-preview.js";
16
- import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-Bd0QiNl5.js";
14
+ import { D as l } from "./FormFooterComponent-BkXmQxBf.js";
15
+ import { t as u } from "./hooks-DqGWdJ7N.js";
16
+ import { $ as d, Q as f, W as p, t as m, z as h } from "../_mysheerid-preview.js";
17
+ import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-Bo6-PXzj.js";
17
18
  import { t as S } from "./FormFieldText-DKDYD6O1.js";
18
- import { n as C, t as w } from "./PersonalInfoStepSubmitButton-u4r9ghKQ.js";
19
- import { t as T } from "./BirthDateComponent-C9D52_sv.js";
20
- import { t as E } from "./CountryComponentWrapper-GPBK6Y8O.js";
21
- import { t as D } from "./ExtraMessage-D6xvBugr.js";
22
- import { t as O } from "./ChangeLocaleComponent-qKZIgmCX.js";
23
- import { t as k } from "./PersonalInfoStepWrapper-BRtYQQe-.js";
24
- import { t as A } from "./CollegeNameComponent-BoT4meEn.js";
25
- import { t as j } from "./StatusComponent-DjlW-ELF.js";
19
+ import { n as C, t as w } from "./PersonalInfoStepSubmitButton-C6dx95ih.js";
20
+ import { t as T } from "./BirthDateComponent-mw3tGfO1.js";
21
+ import { t as E } from "./CountryComponentWrapper-BrhHPoQD.js";
22
+ import { t as D } from "./ExtraMessage-C4sJr6cw.js";
23
+ import { t as O } from "./ChangeLocaleComponent-C1vybPVc.js";
24
+ import { t as k } from "./PersonalInfoStepWrapper-D0IAqpda.js";
25
+ import { t as A } from "./CollegeNameComponent-C_1m4XT-.js";
26
+ import { t as j } from "./StatusComponent-BV3O5IFV.js";
26
27
  //#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
27
28
  var M = /* @__PURE__ */ t(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onChange: n, intl: r, explanation: i, placeholder: a = "", isRequired: o = !1 }) => {
28
- let c = h("include-cvec-field-france-student");
29
- return d("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, N.jsx)(S, {
29
+ let c = u("include-cvec-field-france-student");
30
+ return h("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, N.jsx)(S, {
30
31
  fieldId: "cvecNumber",
31
32
  value: e,
32
33
  onChange: n,
@@ -53,7 +54,7 @@ var M = /* @__PURE__ */ t(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
53
54
  }))
54
55
  });
55
56
  }), F = Object.keys(n), I = a(({ verificationService: t, intl: a }) => {
56
- let o = t.viewModel, { fieldValidationErrors: c } = t, S = t.verificationResponse, I = i(), L = h("include-cvec-field-france-student"), R = L !== "control" && L !== "default" && o?.countryChoice?.value === "FR", z = S.availableStatuses ?? [], B = z.includes("GRADUATE") && z.some((e) => e !== "GRADUATE");
57
+ let o = t.viewModel, { fieldValidationErrors: c } = t, S = t.verificationResponse, I = i(), L = u("include-cvec-field-france-student"), R = L !== "control" && L !== "default" && o?.countryChoice?.value === "FR", z = S.availableStatuses ?? [], B = z.includes("GRADUATE") && z.some((e) => e !== "GRADUATE");
57
58
  M.useEffect(() => {
58
59
  let e = (t.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "cvecNumber" && e !== "status");
59
60
  R || (e = [...e, "cvecNumber"]), B || (e = [...e, "status"]), H("fieldsToSkipValidation", e);
@@ -84,7 +85,7 @@ var M = /* @__PURE__ */ t(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
84
85
  /* @__PURE__ */ (0, N.jsx)(O, { verificationService: t }),
85
86
  /* @__PURE__ */ (0, N.jsx)(E, {
86
87
  verificationService: t,
87
- disabled: d("country")?.disabled
88
+ disabled: h("country")?.disabled
88
89
  }),
89
90
  B && /* @__PURE__ */ (0, N.jsx)(j, {
90
91
  segmentId: "student",
@@ -95,10 +96,10 @@ var M = /* @__PURE__ */ t(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
95
96
  value: W(o.status),
96
97
  isErrored: !!c.status,
97
98
  options: F.map(W),
98
- disabled: d("status")?.disabled,
99
+ disabled: h("status")?.disabled,
99
100
  onChange: (e) => {
100
101
  let n = e ? e.value : void 0;
101
- H("status", n), u("status", n ?? "", t);
102
+ H("status", n), f("status", n ?? "", t);
102
103
  }
103
104
  }),
104
105
  /* @__PURE__ */ (0, N.jsx)(A, {
@@ -106,18 +107,18 @@ var M = /* @__PURE__ */ t(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
106
107
  verificationService: t,
107
108
  isErrored: !!c.organization,
108
109
  isRequired: !0,
109
- disabled: d("organization")?.disabled,
110
+ disabled: h("organization")?.disabled,
110
111
  onChange: (e) => {
111
- p(e, t), u("organization", e, t);
112
+ d(e, t), f("organization", e, t);
112
113
  }
113
114
  }),
114
115
  R && /* @__PURE__ */ (0, N.jsx)(P, {
115
- isRequired: d("cvecNumber")?.requireIfOptional,
116
+ isRequired: h("cvecNumber")?.requireIfOptional,
116
117
  value: o.cvecNumber,
117
118
  isErrored: !!c.cvecNumber,
118
- disabled: d("cvecNumber")?.disabled,
119
+ disabled: h("cvecNumber")?.disabled,
119
120
  onChange: (e) => {
120
- H("cvecNumber", e), u("cvecNumber", e, t);
121
+ H("cvecNumber", e), f("cvecNumber", e, t);
121
122
  }
122
123
  }),
123
124
  /* @__PURE__ */ (0, N.jsxs)("div", {
@@ -125,16 +126,16 @@ var M = /* @__PURE__ */ t(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
125
126
  children: [/* @__PURE__ */ (0, N.jsx)(g, {
126
127
  value: o.firstName,
127
128
  isErrored: !!c.firstName,
128
- disabled: d("firstName")?.disabled,
129
+ disabled: h("firstName")?.disabled,
129
130
  onChange: (e) => {
130
- H("firstName", e), u("firstName", e, t);
131
+ H("firstName", e), f("firstName", e, t);
131
132
  }
132
133
  }), /* @__PURE__ */ (0, N.jsx)(_, {
133
134
  value: o.lastName,
134
135
  isErrored: !!c.lastName,
135
- disabled: d("lastName")?.disabled,
136
+ disabled: h("lastName")?.disabled,
136
137
  onChange: (e) => {
137
- H("lastName", e), u("lastName", e, t);
138
+ H("lastName", e), f("lastName", e, t);
138
139
  }
139
140
  })]
140
141
  }),
@@ -143,9 +144,9 @@ var M = /* @__PURE__ */ t(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
143
144
  errorId: c.birthDate,
144
145
  locale: U,
145
146
  isRequired: !0,
146
- disabled: d("birthDate")?.disabled,
147
+ disabled: h("birthDate")?.disabled,
147
148
  onChange: (e) => {
148
- H("birthDate", e), u("birthDate", e, t);
149
+ H("birthDate", e), f("birthDate", e, t);
149
150
  }
150
151
  }),
151
152
  /* @__PURE__ */ (0, N.jsx)(C, {
@@ -156,18 +157,18 @@ var M = /* @__PURE__ */ t(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
156
157
  defaultMessage: "Personal or school email is fine"
157
158
  }),
158
159
  onChange: (e) => {
159
- H("email", e), u("email", e, t);
160
+ H("email", e), f("email", e, t);
160
161
  },
161
- onKeyDown: (e) => f(e),
162
- disabled: d("email")?.disabled
162
+ onKeyDown: (e) => p(e),
163
+ disabled: h("email")?.disabled
163
164
  }),
164
165
  t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, N.jsx)(y, {
165
166
  isRequired: !!t.programTheme.smsLoopEnabled,
166
167
  value: o.phoneNumber,
167
168
  isErrored: !!c.phoneNumber,
168
- disabled: d("phoneNumber")?.disabled,
169
+ disabled: h("phoneNumber")?.disabled,
169
170
  onChange: (e) => {
170
- H("phoneNumber", e), u("phoneNumber", e, t);
171
+ H("phoneNumber", e), f("phoneNumber", e, t);
171
172
  },
172
173
  selectedCountryCode: o.countryChoice && o.countryChoice.value
173
174
  }) : null,
@@ -179,12 +180,12 @@ var M = /* @__PURE__ */ t(o(), 1), N = c(), P = a(({ value: e, isErrored: t, onC
179
180
  /* @__PURE__ */ (0, N.jsx)(b, {
180
181
  verificationService: t,
181
182
  isErrored: !!c.marketConsentValue,
182
- disabled: d("marketConsentValue")?.disabled,
183
+ disabled: h("marketConsentValue")?.disabled,
183
184
  onChange: (e) => {
184
185
  H("metadata", {
185
186
  ...t.viewModel.metadata,
186
187
  marketConsentValue: e
187
- }), u("marketConsentValue", e, t);
188
+ }), f("marketConsentValue", e, t);
188
189
  },
189
190
  viewModel: o
190
191
  }),