@sheerid/jslib 2.277.0 → 2.278.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 (417) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +91 -90
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/AddressComponent-CaMRwh5O.js +37 -0
  5. package/chunk/AddressComponent-CaMRwh5O.js.map +1 -0
  6. package/chunk/AddressComponent-LZTJCC-l.js +41 -0
  7. package/chunk/AddressComponent-LZTJCC-l.js.map +1 -0
  8. package/chunk/AnnouncingHeader-CCVSQeQR.js +4 -4
  9. package/chunk/AnnouncingHeader-YPjBYzsZ.js +4 -4
  10. package/chunk/{ApiUrls-C93kMsSC.js → ApiUrls-DRCiQtw6.js} +5 -5
  11. package/chunk/{ApiUrls-C93kMsSC.js.map → ApiUrls-DRCiQtw6.js.map} +1 -1
  12. package/chunk/{ApiUrls-BEuqNxHS.js → ApiUrls-_Hc7S_uv.js} +5 -5
  13. package/chunk/{ApiUrls-BEuqNxHS.js.map → ApiUrls-_Hc7S_uv.js.map} +1 -1
  14. package/chunk/{BirthDateComponent-f9e4it7x.js → BirthDateComponent-CAQJ-IWM.js} +5 -5
  15. package/chunk/{BirthDateComponent-MZDnneXy.js.map → BirthDateComponent-CAQJ-IWM.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-MZDnneXy.js → BirthDateComponent-_BjsBSM4.js} +5 -5
  17. package/chunk/{BirthDateComponent-f9e4it7x.js.map → BirthDateComponent-_BjsBSM4.js.map} +1 -1
  18. package/chunk/{CaptchaComponent-CCq7YSum.js → CaptchaComponent-BqREyMje.js} +118 -117
  19. package/chunk/CaptchaComponent-BqREyMje.js.map +1 -0
  20. package/chunk/{CaptchaComponent-hqx9tSkk.js → CaptchaComponent-D2OIvL-b.js} +118 -117
  21. package/chunk/CaptchaComponent-D2OIvL-b.js.map +1 -0
  22. package/chunk/{ChangeLocaleComponent-DtJjnuBc.js → ChangeLocaleComponent-BvnXlDa-.js} +5 -5
  23. package/chunk/{ChangeLocaleComponent-CKKK4OcA.js.map → ChangeLocaleComponent-BvnXlDa-.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-CKKK4OcA.js → ChangeLocaleComponent-CpHB_D8Q.js} +5 -5
  25. package/chunk/{ChangeLocaleComponent-DtJjnuBc.js.map → ChangeLocaleComponent-CpHB_D8Q.js.map} +1 -1
  26. package/chunk/City-B6bQRRvQ.js +40 -0
  27. package/chunk/City-B6bQRRvQ.js.map +1 -0
  28. package/chunk/City-CCBan228.js +36 -0
  29. package/chunk/City-CCBan228.js.map +1 -0
  30. package/chunk/{CollegeNameComponent-C47D3rO4.js → CollegeNameComponent-BbxIOfzR.js} +5 -5
  31. package/chunk/{CollegeNameComponent-4QYMIIcd.js.map → CollegeNameComponent-BbxIOfzR.js.map} +1 -1
  32. package/chunk/{CollegeNameComponent-4QYMIIcd.js → CollegeNameComponent-CEJO0-bq.js} +5 -5
  33. package/chunk/{CollegeNameComponent-C47D3rO4.js.map → CollegeNameComponent-CEJO0-bq.js.map} +1 -1
  34. package/chunk/CopyToClipboardComponent-DGi3bxV2.js +4 -4
  35. package/chunk/CopyToClipboardComponent-cLuyXFes.js +4 -4
  36. package/chunk/CountryComponentWrapper-BNtvUusJ.js +82 -0
  37. package/chunk/CountryComponentWrapper-BNtvUusJ.js.map +1 -0
  38. package/chunk/CountryComponentWrapper-CW4yj9IF.js +78 -0
  39. package/chunk/CountryComponentWrapper-CW4yj9IF.js.map +1 -0
  40. package/chunk/DischargeDateComponent-CNaz5UZP.js +120 -0
  41. package/chunk/DischargeDateComponent-CNaz5UZP.js.map +1 -0
  42. package/chunk/DischargeDateComponent-tTwN3FLy.js +116 -0
  43. package/chunk/DischargeDateComponent-tTwN3FLy.js.map +1 -0
  44. package/chunk/DriverLicenseNumberComponent-B5_svahy.js +43 -0
  45. package/chunk/DriverLicenseNumberComponent-B5_svahy.js.map +1 -0
  46. package/chunk/DriverLicenseNumberComponent-vsVldXkA.js +39 -0
  47. package/chunk/DriverLicenseNumberComponent-vsVldXkA.js.map +1 -0
  48. package/chunk/{EmailLoopPending-HyZBgisU.js → EmailLoopPending-CYCQv7pW.js} +5 -5
  49. package/chunk/{EmailLoopPending-HyZBgisU.js.map → EmailLoopPending-CYCQv7pW.js.map} +1 -1
  50. package/chunk/{EmailLoopPending-ojWCBFjq.js → EmailLoopPending-DNFHR6Ck.js} +5 -5
  51. package/chunk/{EmailLoopPending-ojWCBFjq.js.map → EmailLoopPending-DNFHR6Ck.js.map} +1 -1
  52. package/chunk/{ExtraMessage-PLTUBdhw.js → ExtraMessage-Byw0Tgm1.js} +5 -5
  53. package/chunk/{ExtraMessage-BXxlQROb.js.map → ExtraMessage-Byw0Tgm1.js.map} +1 -1
  54. package/chunk/{ExtraMessage-BXxlQROb.js → ExtraMessage-g4LSV-H2.js} +5 -5
  55. package/chunk/{ExtraMessage-PLTUBdhw.js.map → ExtraMessage-g4LSV-H2.js.map} +1 -1
  56. package/chunk/FirstResponderOrganizationComponent-BtIXngo4.js +41 -0
  57. package/chunk/FirstResponderOrganizationComponent-BtIXngo4.js.map +1 -0
  58. package/chunk/FirstResponderOrganizationComponent-DVF6aC7P.js +37 -0
  59. package/chunk/FirstResponderOrganizationComponent-DVF6aC7P.js.map +1 -0
  60. package/chunk/{FormFieldInputSelect-Cl4QZ12h.js → FormFieldInputSelect-D1aFx17c.js} +5 -5
  61. package/chunk/{FormFieldInputSelect-C6OyLsWL.js.map → FormFieldInputSelect-D1aFx17c.js.map} +1 -1
  62. package/chunk/{FormFieldInputSelect-C6OyLsWL.js → FormFieldInputSelect-ie6Vx1Bx.js} +5 -5
  63. package/chunk/{FormFieldInputSelect-Cl4QZ12h.js.map → FormFieldInputSelect-ie6Vx1Bx.js.map} +1 -1
  64. package/chunk/FormFieldLayout-C4SCdGBC.js +4 -4
  65. package/chunk/FormFieldLayout-Cj_v9kYa.js +4 -4
  66. package/chunk/FormFieldText-BbdrtNh_.js +4 -4
  67. package/chunk/FormFieldText-Gf13Luq7.js +4 -4
  68. package/chunk/{FormFieldTypeahead-DbrQgvbJ.js → FormFieldTypeahead-DQEez7ko.js} +466 -469
  69. package/chunk/{FormFieldTypeahead-DTFxOQnf.js.map → FormFieldTypeahead-DQEez7ko.js.map} +1 -1
  70. package/chunk/{FormFieldTypeahead-DTFxOQnf.js → FormFieldTypeahead-uKX8ZHqO.js} +385 -388
  71. package/chunk/{FormFieldTypeahead-DbrQgvbJ.js.map → FormFieldTypeahead-uKX8ZHqO.js.map} +1 -1
  72. package/chunk/FormFooterComponent-BHQc5VBK.js +2007 -0
  73. package/chunk/FormFooterComponent-BHQc5VBK.js.map +1 -0
  74. package/chunk/FormFooterComponent-CAoH3NjO.js +1981 -0
  75. package/chunk/FormFooterComponent-CAoH3NjO.js.map +1 -0
  76. package/chunk/{FormSelectChoice-C4LlT7fR.js → FormSelectChoice-Cm99LmoK.js} +5 -5
  77. package/chunk/{FormSelectChoice-C4LlT7fR.js.map → FormSelectChoice-Cm99LmoK.js.map} +1 -1
  78. package/chunk/{FormSelectChoice-CClt04rV.js → FormSelectChoice-DjcUTWnw.js} +5 -5
  79. package/chunk/{FormSelectChoice-CClt04rV.js.map → FormSelectChoice-DjcUTWnw.js.map} +1 -1
  80. package/chunk/InputText-BXPuBlPq.js +4 -4
  81. package/chunk/InputText-h_myNeHr.js +4 -4
  82. package/chunk/LicensedProfessionalOrganizationComponent-BHrQmG_W.js +40 -0
  83. package/chunk/LicensedProfessionalOrganizationComponent-BHrQmG_W.js.map +1 -0
  84. package/chunk/LicensedProfessionalOrganizationComponent-DMdDUhnU.js +36 -0
  85. package/chunk/LicensedProfessionalOrganizationComponent-DMdDUhnU.js.map +1 -0
  86. package/chunk/LogoComponent-Do8K5ydz.js +4 -4
  87. package/chunk/LogoComponent-Dx1G-rzE.js +4 -4
  88. package/chunk/LowIncomeOrganizationComponent-CZnbIM2h.js +101 -0
  89. package/chunk/LowIncomeOrganizationComponent-CZnbIM2h.js.map +1 -0
  90. package/chunk/LowIncomeOrganizationComponent-DLxB_wnC.js +105 -0
  91. package/chunk/LowIncomeOrganizationComponent-DLxB_wnC.js.map +1 -0
  92. package/chunk/MedicalProfessionalOrganizationComponent-CozwSmoI.js +41 -0
  93. package/chunk/MedicalProfessionalOrganizationComponent-CozwSmoI.js.map +1 -0
  94. package/chunk/MedicalProfessionalOrganizationComponent-t-k48G10.js +37 -0
  95. package/chunk/MedicalProfessionalOrganizationComponent-t-k48G10.js.map +1 -0
  96. package/chunk/MemberIdComponent-BzUuPdSk.js +39 -0
  97. package/chunk/MemberIdComponent-BzUuPdSk.js.map +1 -0
  98. package/chunk/MemberIdComponent-CYqH9MG5.js +43 -0
  99. package/chunk/MemberIdComponent-CYqH9MG5.js.map +1 -0
  100. package/chunk/MembershipOrganizationComponent-BPQ27RX9.js +40 -0
  101. package/chunk/MembershipOrganizationComponent-BPQ27RX9.js.map +1 -0
  102. package/chunk/MembershipOrganizationComponent-Bbu2i3Dm.js +36 -0
  103. package/chunk/MembershipOrganizationComponent-Bbu2i3Dm.js.map +1 -0
  104. package/chunk/{FormFooterComponent-CaOt9TQw.js → Message-BK3a2RyH.js} +1417 -3384
  105. package/chunk/Message-BK3a2RyH.js.map +1 -0
  106. package/chunk/Message-CSa2etjX.js +6859 -0
  107. package/chunk/Message-CSa2etjX.js.map +1 -0
  108. package/chunk/Onfido-CTCgAwnB.js +4 -4
  109. package/chunk/{PersonalInfoStepSubmitButton-DA3ceOLw.js → PersonalInfoStepSubmitButton-BcdQUzMO.js} +34 -33
  110. package/chunk/PersonalInfoStepSubmitButton-BcdQUzMO.js.map +1 -0
  111. package/chunk/{PersonalInfoStepSubmitButton-D_Y9q0Iy.js → PersonalInfoStepSubmitButton-VxT_vwVv.js} +34 -33
  112. package/chunk/PersonalInfoStepSubmitButton-VxT_vwVv.js.map +1 -0
  113. package/chunk/{PersonalInfoStepWrapper-6neTJTQD.js → PersonalInfoStepWrapper-BHS3GKl7.js} +5 -5
  114. package/chunk/{PersonalInfoStepWrapper-6neTJTQD.js.map → PersonalInfoStepWrapper-BHS3GKl7.js.map} +1 -1
  115. package/chunk/{PersonalInfoStepWrapper-Dsb0Qcv5.js → PersonalInfoStepWrapper-CxRB64LQ.js} +6 -6
  116. package/chunk/{PersonalInfoStepWrapper-Dsb0Qcv5.js.map → PersonalInfoStepWrapper-CxRB64LQ.js.map} +1 -1
  117. package/chunk/PostalCodeComponent-CKbC80_m.js +38 -0
  118. package/chunk/PostalCodeComponent-CKbC80_m.js.map +1 -0
  119. package/chunk/PostalCodeComponent-jmSOU3LM.js +42 -0
  120. package/chunk/PostalCodeComponent-jmSOU3LM.js.map +1 -0
  121. package/chunk/SSN-DHAzpgQK.js +45 -0
  122. package/chunk/SSN-DHAzpgQK.js.map +1 -0
  123. package/chunk/SSN-DNVykxAU.js +49 -0
  124. package/chunk/SSN-DNVykxAU.js.map +1 -0
  125. package/chunk/StateSelectComponent-B5lHw2N5.js +42 -0
  126. package/chunk/StateSelectComponent-B5lHw2N5.js.map +1 -0
  127. package/chunk/StateSelectComponent-B7Cp6ANo.js +38 -0
  128. package/chunk/StateSelectComponent-B7Cp6ANo.js.map +1 -0
  129. package/chunk/{StatusComponent-BxQNsHYs.js → StatusComponent-CrGh5fqB.js} +5 -5
  130. package/chunk/{StatusComponent-BTvs1WVn.js.map → StatusComponent-CrGh5fqB.js.map} +1 -1
  131. package/chunk/{StatusComponent-BTvs1WVn.js → StatusComponent-CyX5COrt.js} +5 -5
  132. package/chunk/{StatusComponent-BxQNsHYs.js.map → StatusComponent-CyX5COrt.js.map} +1 -1
  133. package/chunk/{StepAgePersonalInfo-UWfkIpnn.js → StepAgePersonalInfo-BswIeVCd.js} +16 -16
  134. package/chunk/{StepAgePersonalInfo-BOnOqXxm.js.map → StepAgePersonalInfo-BswIeVCd.js.map} +1 -1
  135. package/chunk/{StepAgePersonalInfo-BOnOqXxm.js → StepAgePersonalInfo-CHBH5ROm.js} +16 -16
  136. package/chunk/{StepAgePersonalInfo-UWfkIpnn.js.map → StepAgePersonalInfo-CHBH5ROm.js.map} +1 -1
  137. package/chunk/StepCard-B0o7IN6g.js +4 -4
  138. package/chunk/StepCard-CWT2BiAH.js +4 -4
  139. package/chunk/{StepCollectIdentifier-CtpUvhZs.js → StepCollectIdentifier-D8IjgFjI.js} +6 -6
  140. package/chunk/{StepCollectIdentifier-D7bSwvYI.js.map → StepCollectIdentifier-D8IjgFjI.js.map} +1 -1
  141. package/chunk/{StepCollectIdentifier-D7bSwvYI.js → StepCollectIdentifier-dPXJHRwi.js} +8 -8
  142. package/chunk/{StepCollectIdentifier-CtpUvhZs.js.map → StepCollectIdentifier-dPXJHRwi.js.map} +1 -1
  143. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js → StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js} +19 -19
  144. package/chunk/{StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js.map → StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js.map} +1 -1
  145. package/chunk/{StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js → StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js} +19 -19
  146. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js.map → StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js.map} +1 -1
  147. package/chunk/{StepCollectPersonalInfo-BlAJbqgb.js → StepCollectPersonalInfo-BLClPcAC.js} +31 -31
  148. package/chunk/{StepCollectPersonalInfo-BlAJbqgb.js.map → StepCollectPersonalInfo-BLClPcAC.js.map} +1 -1
  149. package/chunk/{StepCollectPersonalInfo-CzLVKlZ3.js → StepCollectPersonalInfo-BvBAA_0_.js} +30 -30
  150. package/chunk/{StepCollectPersonalInfo-CzLVKlZ3.js.map → StepCollectPersonalInfo-BvBAA_0_.js.map} +1 -1
  151. package/chunk/StepCompleteAuthentication-Cnv_QzG7.js +4 -4
  152. package/chunk/StepCompleteAuthentication-D7NH3MFa.js +4 -4
  153. package/chunk/{StepConsolation-C5ZHdmQ6.js → StepConsolation-CKbOj-OW.js} +5 -5
  154. package/chunk/{StepConsolation-BrzJnbYN.js.map → StepConsolation-CKbOj-OW.js.map} +1 -1
  155. package/chunk/{StepConsolation-BrzJnbYN.js → StepConsolation-qvCq7iMz.js} +5 -5
  156. package/chunk/{StepConsolation-C5ZHdmQ6.js.map → StepConsolation-qvCq7iMz.js.map} +1 -1
  157. package/chunk/{StepDocUpload-D2_e55pR.js → StepDocUpload-CelPrD2S.js} +9 -8
  158. package/chunk/{StepDocUpload-BuH-EW5U.js.map → StepDocUpload-CelPrD2S.js.map} +1 -1
  159. package/chunk/{StepDocUpload-BuH-EW5U.js → StepDocUpload-hbZjFKLA.js} +9 -8
  160. package/chunk/{StepDocUpload-D2_e55pR.js.map → StepDocUpload-hbZjFKLA.js.map} +1 -1
  161. package/chunk/{StepDriverLicensePersonalInfoComponent-DcVZb5ke.js → StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js} +12 -12
  162. package/chunk/{StepDriverLicensePersonalInfoComponent-DcVZb5ke.js.map → StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js.map} +1 -1
  163. package/chunk/{StepDriverLicensePersonalInfoComponent-UZoq9OhC.js → StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js} +12 -12
  164. package/chunk/{StepDriverLicensePersonalInfoComponent-UZoq9OhC.js.map → StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js.map} +1 -1
  165. package/chunk/{StepEmailLoop-138hnevc.js → StepEmailLoop-B_D0MzXV.js} +6 -6
  166. package/chunk/{StepEmailLoop-138hnevc.js.map → StepEmailLoop-B_D0MzXV.js.map} +1 -1
  167. package/chunk/{StepEmailLoop-p3PjfBvc.js → StepEmailLoop-DnFBaEUV.js} +6 -6
  168. package/chunk/{StepEmailLoop-p3PjfBvc.js.map → StepEmailLoop-DnFBaEUV.js.map} +1 -1
  169. package/chunk/StepEmploymentPersonalInfo-CWyReZIX.js +220 -0
  170. package/chunk/StepEmploymentPersonalInfo-CWyReZIX.js.map +1 -0
  171. package/chunk/StepEmploymentPersonalInfo-D6wk7BPP.js +216 -0
  172. package/chunk/StepEmploymentPersonalInfo-D6wk7BPP.js.map +1 -0
  173. package/chunk/{StepFirstResponderPersonalInfo-CSGMgT02.js → StepFirstResponderPersonalInfo-BEYQjJZE.js} +19 -19
  174. package/chunk/{StepFirstResponderPersonalInfo-CSGMgT02.js.map → StepFirstResponderPersonalInfo-BEYQjJZE.js.map} +1 -1
  175. package/chunk/{StepFirstResponderPersonalInfo-gF_5zHxj.js → StepFirstResponderPersonalInfo-WFafxPno.js} +19 -19
  176. package/chunk/{StepFirstResponderPersonalInfo-gF_5zHxj.js.map → StepFirstResponderPersonalInfo-WFafxPno.js.map} +1 -1
  177. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js → StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js} +15 -15
  178. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js.map → StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js.map} +1 -1
  179. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js → StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js} +15 -15
  180. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js.map → StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js.map} +1 -1
  181. package/chunk/{StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js → StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js} +16 -16
  182. package/chunk/{StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js.map → StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js.map} +1 -1
  183. package/chunk/{StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js → StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js} +16 -16
  184. package/chunk/{StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js.map → StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js.map} +1 -1
  185. package/chunk/{StepIDCheckLoop-CX6VsvAJ.js → StepIDCheckLoop-3dEcYNM-.js} +5 -5
  186. package/chunk/{StepIDCheckLoop-CX6VsvAJ.js.map → StepIDCheckLoop-3dEcYNM-.js.map} +1 -1
  187. package/chunk/{StepIDCheckLoop-DFhu-v9n.js → StepIDCheckLoop-ADjD8T7n.js} +5 -5
  188. package/chunk/{StepIDCheckLoop-DFhu-v9n.js.map → StepIDCheckLoop-ADjD8T7n.js.map} +1 -1
  189. package/chunk/{StepIDCheckLoopOnfido-0o-ZdynC.js → StepIDCheckLoopOnfido-DFITsdwV.js} +11 -11
  190. package/chunk/{StepIDCheckLoopOnfido-0o-ZdynC.js.map → StepIDCheckLoopOnfido-DFITsdwV.js.map} +1 -1
  191. package/chunk/{StepIDCheckLoopOnfido-CiuUU7f9.js → StepIDCheckLoopOnfido-u841Fq12.js} +11 -11
  192. package/chunk/{StepIDCheckLoopOnfido-CiuUU7f9.js.map → StepIDCheckLoopOnfido-u841Fq12.js.map} +1 -1
  193. package/chunk/{StepIDCheckLoopRegula-D5Ln2I62.js → StepIDCheckLoopRegula-4XrJNB8_.js} +6 -5
  194. package/chunk/{StepIDCheckLoopRegula-D5Ln2I62.js.map → StepIDCheckLoopRegula-4XrJNB8_.js.map} +1 -1
  195. package/chunk/{StepIDCheckLoopRegula-D94f7Ccr.js → StepIDCheckLoopRegula-DDU-aqdl.js} +6 -5
  196. package/chunk/{StepIDCheckLoopRegula-D94f7Ccr.js.map → StepIDCheckLoopRegula-DDU-aqdl.js.map} +1 -1
  197. package/chunk/{StepLicensedProfessionalPersonalInfo-BHInsLPJ.js → StepLicensedProfessionalPersonalInfo-BXscxOmH.js} +16 -16
  198. package/chunk/{StepLicensedProfessionalPersonalInfo-BHInsLPJ.js.map → StepLicensedProfessionalPersonalInfo-BXscxOmH.js.map} +1 -1
  199. package/chunk/{StepLicensedProfessionalPersonalInfo-CHQbAgsG.js → StepLicensedProfessionalPersonalInfo-CvU4u5nA.js} +16 -16
  200. package/chunk/{StepLicensedProfessionalPersonalInfo-CHQbAgsG.js.map → StepLicensedProfessionalPersonalInfo-CvU4u5nA.js.map} +1 -1
  201. package/chunk/{StepLowIncomePersonalInfo-DVDI4DRm.js → StepLowIncomePersonalInfo-BD5AdV7z.js} +21 -21
  202. package/chunk/{StepLowIncomePersonalInfo-DVDI4DRm.js.map → StepLowIncomePersonalInfo-BD5AdV7z.js.map} +1 -1
  203. package/chunk/{StepLowIncomePersonalInfo-oBDI4ML2.js → StepLowIncomePersonalInfo-BlvN-faw.js} +21 -21
  204. package/chunk/{StepLowIncomePersonalInfo-oBDI4ML2.js.map → StepLowIncomePersonalInfo-BlvN-faw.js.map} +1 -1
  205. package/chunk/{StepMedicalProfessionalPersonalInfo-DmoUExs9.js → StepMedicalProfessionalPersonalInfo-D-wc9M27.js} +17 -17
  206. package/chunk/{StepMedicalProfessionalPersonalInfo-DmoUExs9.js.map → StepMedicalProfessionalPersonalInfo-D-wc9M27.js.map} +1 -1
  207. package/chunk/{StepMedicalProfessionalPersonalInfo-_x2wcVNS.js → StepMedicalProfessionalPersonalInfo-DzPoAdkI.js} +17 -17
  208. package/chunk/{StepMedicalProfessionalPersonalInfo-_x2wcVNS.js.map → StepMedicalProfessionalPersonalInfo-DzPoAdkI.js.map} +1 -1
  209. package/chunk/{StepMemberPersonalInfo-CI9Q06Ic.js → StepMemberPersonalInfo-BwhcP3-x.js} +14 -14
  210. package/chunk/{StepMemberPersonalInfo-BAjKLJCl.js.map → StepMemberPersonalInfo-BwhcP3-x.js.map} +1 -1
  211. package/chunk/{StepMemberPersonalInfo-BAjKLJCl.js → StepMemberPersonalInfo-DcH87kDt.js} +14 -14
  212. package/chunk/{StepMemberPersonalInfo-CI9Q06Ic.js.map → StepMemberPersonalInfo-DcH87kDt.js.map} +1 -1
  213. package/chunk/{StepMoverPersonalInfo-DIkMi5zU.js → StepMoverPersonalInfo-C3e_5Bhi.js} +12 -12
  214. package/chunk/{StepMoverPersonalInfo-CVT4pPa6.js.map → StepMoverPersonalInfo-C3e_5Bhi.js.map} +1 -1
  215. package/chunk/{StepMoverPersonalInfo-CVT4pPa6.js → StepMoverPersonalInfo-DdAYuWun.js} +12 -12
  216. package/chunk/{StepMoverPersonalInfo-DIkMi5zU.js.map → StepMoverPersonalInfo-DdAYuWun.js.map} +1 -1
  217. package/chunk/{StepOverrideComponent-B9HVSPlq.js → StepOverrideComponent-BA6ZbYda.js} +5 -5
  218. package/chunk/{StepOverrideComponent-B9HVSPlq.js.map → StepOverrideComponent-BA6ZbYda.js.map} +1 -1
  219. package/chunk/{StepOverrideComponent-DOBT7C22.js → StepOverrideComponent-C58-KkL6.js} +5 -5
  220. package/chunk/{StepOverrideComponent-DOBT7C22.js.map → StepOverrideComponent-C58-KkL6.js.map} +1 -1
  221. package/chunk/{StepSMSLoop-BM7UE2tP.js → StepSMSLoop-CiFQF0bq.js} +73 -72
  222. package/chunk/StepSMSLoop-CiFQF0bq.js.map +1 -0
  223. package/chunk/{StepSMSLoop-Wr-MrFaf.js → StepSMSLoop-DmbMtSCW.js} +73 -72
  224. package/chunk/StepSMSLoop-DmbMtSCW.js.map +1 -0
  225. package/chunk/StepSSO-BGHCbduX.js +4 -4
  226. package/chunk/StepSSO-ZHByQpHa.js +4 -4
  227. package/chunk/{StepSocialSecurityNumber-LcWg-zo5.js → StepSocialSecurityNumber-6QeIRjAc.js} +7 -7
  228. package/chunk/{StepSocialSecurityNumber-DepVz3V7.js.map → StepSocialSecurityNumber-6QeIRjAc.js.map} +1 -1
  229. package/chunk/{StepSocialSecurityNumber-DepVz3V7.js → StepSocialSecurityNumber-kcHexBbp.js} +7 -7
  230. package/chunk/{StepSocialSecurityNumber-LcWg-zo5.js.map → StepSocialSecurityNumber-kcHexBbp.js.map} +1 -1
  231. package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js +216 -0
  232. package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js.map +1 -0
  233. package/chunk/StepStudentPersonalInfo-ubt7IGBA.js +220 -0
  234. package/chunk/StepStudentPersonalInfo-ubt7IGBA.js.map +1 -0
  235. package/chunk/{StepSuccess-CvK7t1zN.js → StepSuccess-Cc0UdSaD.js} +5 -5
  236. package/chunk/{StepSuccess-C3a0CPsE.js.map → StepSuccess-Cc0UdSaD.js.map} +1 -1
  237. package/chunk/{StepSuccess-C3a0CPsE.js → StepSuccess-ZEmH-ZFX.js} +5 -5
  238. package/chunk/{StepSuccess-CvK7t1zN.js.map → StepSuccess-ZEmH-ZFX.js.map} +1 -1
  239. package/chunk/{StepTeacherPersonalInfo-DhOL3_0H.js → StepTeacherPersonalInfo-CiHN6WAb.js} +15 -15
  240. package/chunk/{StepTeacherPersonalInfo-DhOL3_0H.js.map → StepTeacherPersonalInfo-CiHN6WAb.js.map} +1 -1
  241. package/chunk/{StepTeacherPersonalInfo-_Wwkq-dn.js → StepTeacherPersonalInfo-X7uaefYx.js} +15 -15
  242. package/chunk/{StepTeacherPersonalInfo-_Wwkq-dn.js.map → StepTeacherPersonalInfo-X7uaefYx.js.map} +1 -1
  243. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
  244. package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
  245. package/chunk/{TeacherSchoolComponent-BwLUGmNi.js → TeacherSchoolComponent-DH3cPm43.js} +5 -5
  246. package/chunk/{TeacherSchoolComponent-3HVz97q_.js.map → TeacherSchoolComponent-DH3cPm43.js.map} +1 -1
  247. package/chunk/{TeacherSchoolComponent-3HVz97q_.js → TeacherSchoolComponent-DL4ZFk5x.js} +5 -5
  248. package/chunk/{TeacherSchoolComponent-BwLUGmNi.js.map → TeacherSchoolComponent-DL4ZFk5x.js.map} +1 -1
  249. package/chunk/TestingRouteOverrides-CAGESMw9.js +4 -4
  250. package/chunk/TestingRouteOverrides-CrhfSmLr.js +4 -4
  251. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  252. package/chunk/{VerificationApiClient-BcE3SjuJ.js → VerificationApiClient-CVe2IgK7.js} +5 -5
  253. package/chunk/{VerificationApiClient-BcE3SjuJ.js.map → VerificationApiClient-CVe2IgK7.js.map} +1 -1
  254. package/chunk/{VerificationApiClient-fJ7P4ejD.js → VerificationApiClient-DOQLbKh3.js} +5 -5
  255. package/chunk/{VerificationApiClient-fJ7P4ejD.js.map → VerificationApiClient-DOQLbKh3.js.map} +1 -1
  256. package/chunk/ar-Dh-2G5c3.js +4 -4
  257. package/chunk/bg-BbAhdJRh.js +4 -4
  258. package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
  259. package/chunk/countryUtils-AR9k3KRg.js +4 -4
  260. package/chunk/countryUtils-DWqId-zY.js +4 -4
  261. package/chunk/cs-CYGsmvju.js +4 -4
  262. package/chunk/da-COZWvvUD.js +4 -4
  263. package/chunk/de-BHclNQGr.js +4 -4
  264. package/chunk/{downshift.esm-DryiNDJI.js → downshift.esm-5BwX87os.js} +5 -5
  265. package/chunk/{downshift.esm-BKI3sFd7.js.map → downshift.esm-5BwX87os.js.map} +1 -1
  266. package/chunk/{downshift.esm-BKI3sFd7.js → downshift.esm-GtunYkBG.js} +5 -5
  267. package/chunk/{downshift.esm-DryiNDJI.js.map → downshift.esm-GtunYkBG.js.map} +1 -1
  268. package/chunk/el-Bv_XQ0FX.js +4 -4
  269. package/chunk/empties-B6naRhes.js +4 -4
  270. package/chunk/empties-Crmkxudi.js +4 -4
  271. package/chunk/en-GB-CkENrh2I.js +4 -4
  272. package/chunk/es-BRKAFTKN.js +4 -4
  273. package/chunk/es-ES-BWfAbWbQ.js +4 -4
  274. package/chunk/et-CxMgVbW2.js +4 -4
  275. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  276. package/chunk/fa-BEC3aNBF.js +4 -4
  277. package/chunk/fi-BaP3FR15.js +4 -4
  278. package/chunk/fr-CA-CS4SuM-m.js +4 -4
  279. package/chunk/fr-DSU2B7p2.js +4 -4
  280. package/chunk/ga-DZEr9X_A.js +4 -4
  281. package/chunk/hi-IN-DvBVpWNQ.js +4 -4
  282. package/chunk/hooks-C15H5pD-.js +4 -4
  283. package/chunk/hooks-ChQrxN58.js +4 -4
  284. package/chunk/hr-CL1lHDbu.js +4 -4
  285. package/chunk/hu-Cf5Uq9R_.js +4 -4
  286. package/chunk/id-ay9yilKx.js +4 -4
  287. package/chunk/intl-e5WHiYfA.js +4 -4
  288. package/chunk/is-tpzRyIZi.js +4 -4
  289. package/chunk/it-C3-BupR4.js +4 -4
  290. package/chunk/iw-CBna3XPT.js +4 -4
  291. package/chunk/ja-DvXOkZRn.js +4 -4
  292. package/chunk/jsx-runtime-Ini3eO9_.js +4 -4
  293. package/chunk/jsx-runtime-LqzCS-0D.js +4 -4
  294. package/chunk/kk-DGXgY6Uw.js +4 -4
  295. package/chunk/ko-BlUGwGxN.js +4 -4
  296. package/chunk/lo-DT6wxwS1.js +4 -4
  297. package/chunk/lt-CT5-H4ci.js +4 -4
  298. package/chunk/lv-CBMD1XRp.js +4 -4
  299. package/chunk/mocks-DGc1byho.js +4 -4
  300. package/chunk/mocks-RU9BGNOn.js +4 -4
  301. package/chunk/ms-DuxNeOgk.js +4 -4
  302. package/chunk/nl-BE-D028qM7-.js +4 -4
  303. package/chunk/nl-DEuaat_s.js +4 -4
  304. package/chunk/no-CjeRjD1D.js +4 -4
  305. package/chunk/options-pBCAJBwS.js +4 -4
  306. package/chunk/pl-X0qJw7IS.js +4 -4
  307. package/chunk/programThemeGetters-C9Sw0RZq.js +4 -4
  308. package/chunk/programThemeGetters-uLsgGat1.js +4 -4
  309. package/chunk/pt-BR-C6XmLn3o.js +4 -4
  310. package/chunk/pt-o7v4iOVx.js +4 -4
  311. package/chunk/refs-CGvEbCaw.js +4 -4
  312. package/chunk/refs-CI3K5ndt.js +4 -4
  313. package/chunk/ro-C74ZR3HS.js +4 -4
  314. package/chunk/ru-BA9P3RVu.js +4 -4
  315. package/chunk/sk-DmyizV49.js +4 -4
  316. package/chunk/sl-Cxm3YoWE.js +4 -4
  317. package/chunk/sr-gOtgEOlP.js +4 -4
  318. package/chunk/stepComponentHelpers-BdqtwfRd.js +4 -4
  319. package/chunk/stepComponentHelpers-DIHMDrmF.js +4 -4
  320. package/chunk/strings-DWLVdUcm.js +4 -4
  321. package/chunk/sv-DnCUWo1-.js +4 -4
  322. package/chunk/sw-BY7XXvUU.js +4 -4
  323. package/chunk/ta-CVL0b6Hh.js +4 -4
  324. package/chunk/th-CyU0RW3x.js +4 -4
  325. package/chunk/tl-BfgQ0irB.js +4 -4
  326. package/chunk/tr-BPg_L4bY.js +4 -4
  327. package/chunk/uk-CNaioa7V.js +4 -4
  328. package/chunk/ur-Ht1Mcpm0.js +4 -4
  329. package/chunk/{useCollectFieldsEndpoint-D7OQBDpX.js → useCollectFieldsEndpoint-74jMd594.js} +7 -7
  330. package/chunk/{useCollectFieldsEndpoint-D7OQBDpX.js.map → useCollectFieldsEndpoint-74jMd594.js.map} +1 -1
  331. package/chunk/{useCollectFieldsEndpoint-BsX_IHLN.js → useCollectFieldsEndpoint-dSngHehw.js} +7 -7
  332. package/chunk/{useCollectFieldsEndpoint-BsX_IHLN.js.map → useCollectFieldsEndpoint-dSngHehw.js.map} +1 -1
  333. package/chunk/useMetrics-BrHWTzbP.js +4 -4
  334. package/chunk/useMetrics-O5xTFm6y.js +4 -4
  335. package/chunk/vi-sI1BYLXG.js +4 -4
  336. package/chunk/zh-DNG4VB8r.js +4 -4
  337. package/chunk/zh-HK-5Y3ROXEm.js +4 -4
  338. package/chunk/zu-DNMG8Idu.js +4 -4
  339. package/package.json +1 -1
  340. package/sheerid-install.css +4 -4
  341. package/sheerid-install.js +4 -4
  342. package/sheerid.css +4 -4
  343. package/sheerid.js +654 -653
  344. package/sheerid.js.map +1 -1
  345. package/chunk/AddressComponent-C3iwf09x.js +0 -40
  346. package/chunk/AddressComponent-C3iwf09x.js.map +0 -1
  347. package/chunk/AddressComponent-oDHvr6bn.js +0 -36
  348. package/chunk/AddressComponent-oDHvr6bn.js.map +0 -1
  349. package/chunk/CaptchaComponent-CCq7YSum.js.map +0 -1
  350. package/chunk/CaptchaComponent-hqx9tSkk.js.map +0 -1
  351. package/chunk/City-CUVEjTrI.js +0 -39
  352. package/chunk/City-CUVEjTrI.js.map +0 -1
  353. package/chunk/City-Drub1WX8.js +0 -35
  354. package/chunk/City-Drub1WX8.js.map +0 -1
  355. package/chunk/CountryComponentWrapper-B3Ki9bAz.js +0 -78
  356. package/chunk/CountryComponentWrapper-B3Ki9bAz.js.map +0 -1
  357. package/chunk/CountryComponentWrapper-DeR9PrA2.js +0 -82
  358. package/chunk/CountryComponentWrapper-DeR9PrA2.js.map +0 -1
  359. package/chunk/DischargeDateComponent-Btg3v71t.js +0 -117
  360. package/chunk/DischargeDateComponent-Btg3v71t.js.map +0 -1
  361. package/chunk/DischargeDateComponent-CqKUrGE0.js +0 -121
  362. package/chunk/DischargeDateComponent-CqKUrGE0.js.map +0 -1
  363. package/chunk/DriverLicenseNumberComponent-B2arYwHU.js +0 -42
  364. package/chunk/DriverLicenseNumberComponent-B2arYwHU.js.map +0 -1
  365. package/chunk/DriverLicenseNumberComponent-ByNoEq6v.js +0 -38
  366. package/chunk/DriverLicenseNumberComponent-ByNoEq6v.js.map +0 -1
  367. package/chunk/FirstResponderOrganizationComponent-BiI8JG49.js +0 -36
  368. package/chunk/FirstResponderOrganizationComponent-BiI8JG49.js.map +0 -1
  369. package/chunk/FirstResponderOrganizationComponent-BwzXdBV-.js +0 -40
  370. package/chunk/FirstResponderOrganizationComponent-BwzXdBV-.js.map +0 -1
  371. package/chunk/FormFooterComponent-B2W5vjOS.js +0 -8856
  372. package/chunk/FormFooterComponent-B2W5vjOS.js.map +0 -1
  373. package/chunk/FormFooterComponent-CaOt9TQw.js.map +0 -1
  374. package/chunk/LicensedProfessionalOrganizationComponent-wJSn67h6.js +0 -39
  375. package/chunk/LicensedProfessionalOrganizationComponent-wJSn67h6.js.map +0 -1
  376. package/chunk/LicensedProfessionalOrganizationComponent-wfXwXvVc.js +0 -35
  377. package/chunk/LicensedProfessionalOrganizationComponent-wfXwXvVc.js.map +0 -1
  378. package/chunk/LowIncomeOrganizationComponent-C3Dc7HeO.js +0 -110
  379. package/chunk/LowIncomeOrganizationComponent-C3Dc7HeO.js.map +0 -1
  380. package/chunk/LowIncomeOrganizationComponent-D8RlrBXa.js +0 -106
  381. package/chunk/LowIncomeOrganizationComponent-D8RlrBXa.js.map +0 -1
  382. package/chunk/MedicalProfessionalOrganizationComponent-BlEmZTpI.js +0 -40
  383. package/chunk/MedicalProfessionalOrganizationComponent-BlEmZTpI.js.map +0 -1
  384. package/chunk/MedicalProfessionalOrganizationComponent-DS1iVIfQ.js +0 -36
  385. package/chunk/MedicalProfessionalOrganizationComponent-DS1iVIfQ.js.map +0 -1
  386. package/chunk/MemberIdComponent-5OnkQeLm.js +0 -42
  387. package/chunk/MemberIdComponent-5OnkQeLm.js.map +0 -1
  388. package/chunk/MemberIdComponent-sR9aGDN4.js +0 -38
  389. package/chunk/MemberIdComponent-sR9aGDN4.js.map +0 -1
  390. package/chunk/MembershipOrganizationComponent-BrbunU1_.js +0 -35
  391. package/chunk/MembershipOrganizationComponent-BrbunU1_.js.map +0 -1
  392. package/chunk/MembershipOrganizationComponent-UqzaA4bV.js +0 -39
  393. package/chunk/MembershipOrganizationComponent-UqzaA4bV.js.map +0 -1
  394. package/chunk/PersonalInfoStepSubmitButton-DA3ceOLw.js.map +0 -1
  395. package/chunk/PersonalInfoStepSubmitButton-D_Y9q0Iy.js.map +0 -1
  396. package/chunk/PostalCodeComponent-BhBBSAL-.js +0 -41
  397. package/chunk/PostalCodeComponent-BhBBSAL-.js.map +0 -1
  398. package/chunk/PostalCodeComponent-DKC3DspF.js +0 -37
  399. package/chunk/PostalCodeComponent-DKC3DspF.js.map +0 -1
  400. package/chunk/SSN-7DHOlAAq.js +0 -44
  401. package/chunk/SSN-7DHOlAAq.js.map +0 -1
  402. package/chunk/SSN-DlBvRiaZ.js +0 -48
  403. package/chunk/SSN-DlBvRiaZ.js.map +0 -1
  404. package/chunk/StateSelectComponent-BXHXB6Kn.js +0 -44
  405. package/chunk/StateSelectComponent-BXHXB6Kn.js.map +0 -1
  406. package/chunk/StateSelectComponent-lM5e-_1v.js +0 -40
  407. package/chunk/StateSelectComponent-lM5e-_1v.js.map +0 -1
  408. package/chunk/StepEmploymentPersonalInfo-CIb2V_Aj.js +0 -219
  409. package/chunk/StepEmploymentPersonalInfo-CIb2V_Aj.js.map +0 -1
  410. package/chunk/StepEmploymentPersonalInfo-txyihsja.js +0 -215
  411. package/chunk/StepEmploymentPersonalInfo-txyihsja.js.map +0 -1
  412. package/chunk/StepSMSLoop-BM7UE2tP.js.map +0 -1
  413. package/chunk/StepSMSLoop-Wr-MrFaf.js.map +0 -1
  414. package/chunk/StepStudentPersonalInfo-CxPq9ICS.js +0 -218
  415. package/chunk/StepStudentPersonalInfo-CxPq9ICS.js.map +0 -1
  416. package/chunk/StepStudentPersonalInfo-DQMWaRSa.js +0 -222
  417. package/chunk/StepStudentPersonalInfo-DQMWaRSa.js.map +0 -1
@@ -4,24 +4,24 @@
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.277.0
8
- * BUILD_TIMESTAMP: 1787693419738
9
- * BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
7
+ * VERSION: 2.278.0
8
+ * BUILD_TIMESTAMP: 1788969605732
9
+ * BUILD_DATE: Wed Sep 09 2026 16:00:05 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 8a89332fc253f0825b74dafece3ffed62b9fd070
11
11
  */
12
12
  import { Nt as e, p as t, s as n } from "./intl-e5WHiYfA.js";
13
13
  import { a as r, n as i, t as a } from "./jsx-runtime-LqzCS-0D.js";
14
- import { O as o } from "./FormFooterComponent-CaOt9TQw.js";
14
+ import { p as o } from "./FormFooterComponent-CAoH3NjO.js";
15
15
  import { a as s } from "./refs-CI3K5ndt.js";
16
16
  import { t as c } from "../_mysheerid-preview.js";
17
17
  import { a as l, r as u, u as d, v as f } from "./stepComponentHelpers-BdqtwfRd.js";
18
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-CCq7YSum.js";
19
- import { n as y, t as b } from "./PersonalInfoStepSubmitButton-D_Y9q0Iy.js";
20
- import { t as x } from "./ExtraMessage-PLTUBdhw.js";
21
- import { t as S } from "./ChangeLocaleComponent-CKKK4OcA.js";
22
- import { t as C } from "./PersonalInfoStepWrapper-Dsb0Qcv5.js";
23
- import { t as w } from "./StateSelectComponent-BXHXB6Kn.js";
24
- import { t as T } from "./DriverLicenseNumberComponent-B2arYwHU.js";
18
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-BqREyMje.js";
19
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-VxT_vwVv.js";
20
+ import { t as x } from "./ExtraMessage-Byw0Tgm1.js";
21
+ import { t as S } from "./ChangeLocaleComponent-CpHB_D8Q.js";
22
+ import { t as C } from "./PersonalInfoStepWrapper-CxRB64LQ.js";
23
+ import { t as w } from "./StateSelectComponent-B5lHw2N5.js";
24
+ import { t as T } from "./DriverLicenseNumberComponent-B5_svahy.js";
25
25
  //#region src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.tsx
26
26
  var E = a(), D = ({ intl: r, verificationService: a }) => {
27
27
  let D = a.viewModel, { fieldValidationErrors: O } = a, k = a.verificationResponse, A = o(k), j = n(), M = (e, n) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepDriverLicensePersonalInfoComponent-DcVZb5ke.js","names":[],"sources":["../../src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport {\n type VerificationService,\n type DriverLicensePersonalInfoViewModel,\n type DriverLicensePersonalInfoResponse,\n type State,\n type FormSelectChoice,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { DriverLicenseNumberComponent as DriverLicenseNumber } from \"../FormFields/DriverLicenseNumber/DriverLicenseNumberComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepDriverLicensePersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepDriverLicensePersonalInfo = ({\n intl,\n verificationService,\n}: StepDriverLicensePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as DriverLicensePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as DriverLicensePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateIdentityViewModel = (key: keyof DriverLicensePersonalInfoViewModel, value: any) => {\n const nextState: DriverLicensePersonalInfoViewModel = produce(\n viewModel,\n (draft: DriverLicensePersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"drivers-license\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateIdentityViewModel(\"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 updateIdentityViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateIdentityViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateIdentityViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n <StateSelectComponent\n isRequired\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateIdentityViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={\n <FormattedHTMLMessage id=\"driverLicenseState\" defaultMessage=\"Driver license state\" />\n }\n />\n <DriverLicenseNumber\n value={viewModel.driverLicenseNumber}\n isErrored={!!fieldValidationErrors.driverLicenseNumber}\n isRequired\n disabled={getFieldConfigByFieldId(\"driverLicenseNumber\")?.disabled}\n onChange={(newValue) => {\n updateIdentityViewModel(\"driverLicenseNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"driverLicenseNumber\",\n newValue,\n verificationService,\n );\n }}\n />\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateIdentityViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectDriverLicensePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Identity\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepDriverLicensePersonalInfoComponent = injectIntl(StepDriverLicensePersonalInfo);\nexport default StepDriverLicensePersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;aA4Ca,KAAiC,EAC5C,SACA,6BACiD;CACjD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,KAA2B,GAA+C,MAAe;EAC7F,IAAM,IAAgD,EACpD,IACC,MAA8C;GAC7C,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAKA,OAFA,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GAEpE,iBAAA,GAAA,EAAA,MAAC,OAAD;IAAK,WAAU;cAAf,CACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,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D;KAChE,IAAM,IAAa,IAAc,EAAY,QAAQ,KAAA;KAErD,AADA,EAAwB,SAAS,CAAU,GAC3C,EAAqC,SAAS,GAAY,CAAmB;IAC/E;IACA,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAsB,IAAG;KAAqB,gBAAe;IAAwB,CAAA;GAExF,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,YAAA;IACA,UAAU,EAAwB,qBAAqB,GAAG;IAC1D,WAAW,MAAa;KAEtB,AADA,EAAwB,uBAAuB,CAAQ,GACvD,EACE,uBACA,GACA,CACF;IACF;GACD,CAAA;GAEA,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAwB,YAAY;MAClC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,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,GAEa,IAAyC,EAAW,CAA6B"}
1
+ {"version":3,"file":"StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js","names":[],"sources":["../../src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport {\n type VerificationService,\n type DriverLicensePersonalInfoViewModel,\n type DriverLicensePersonalInfoResponse,\n type State,\n type FormSelectChoice,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { DriverLicenseNumberComponent as DriverLicenseNumber } from \"../FormFields/DriverLicenseNumber/DriverLicenseNumberComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepDriverLicensePersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepDriverLicensePersonalInfo = ({\n intl,\n verificationService,\n}: StepDriverLicensePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as DriverLicensePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as DriverLicensePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateIdentityViewModel = (key: keyof DriverLicensePersonalInfoViewModel, value: any) => {\n const nextState: DriverLicensePersonalInfoViewModel = produce(\n viewModel,\n (draft: DriverLicensePersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"drivers-license\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateIdentityViewModel(\"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 updateIdentityViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateIdentityViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateIdentityViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n <StateSelectComponent\n isRequired\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateIdentityViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={\n <FormattedHTMLMessage id=\"driverLicenseState\" defaultMessage=\"Driver license state\" />\n }\n />\n <DriverLicenseNumber\n value={viewModel.driverLicenseNumber}\n isErrored={!!fieldValidationErrors.driverLicenseNumber}\n isRequired\n disabled={getFieldConfigByFieldId(\"driverLicenseNumber\")?.disabled}\n onChange={(newValue) => {\n updateIdentityViewModel(\"driverLicenseNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"driverLicenseNumber\",\n newValue,\n verificationService,\n );\n }}\n />\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateIdentityViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectDriverLicensePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Identity\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepDriverLicensePersonalInfoComponent = injectIntl(StepDriverLicensePersonalInfo);\nexport default StepDriverLicensePersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;aA4Ca,KAAiC,EAC5C,SACA,6BACiD;CACjD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,KAA2B,GAA+C,MAAe;EAC7F,IAAM,IAAgD,EACpD,IACC,MAA8C;GAC7C,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAKA,OAFA,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GAEpE,iBAAA,GAAA,EAAA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zB,GAEa,IAAyC,EAAW,CAA6B"}
@@ -1,23 +1,23 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.277.0
4
- * BUILD_TIMESTAMP: 1787693415496
5
- * BUILD_DATE: Tue Aug 25 2026 21:30:15 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
3
+ * VERSION: 2.278.0
4
+ * BUILD_TIMESTAMP: 1788969597831
5
+ * BUILD_DATE: Wed Sep 09 2026 15:59:57 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 8a89332fc253f0825b74dafece3ffed62b9fd070
7
7
  */
8
8
  import { Ft as e, c as t, n } from "./options-pBCAJBwS.js";
9
9
  import { a as r, n as i, t as a } from "./jsx-runtime-Ini3eO9_.js";
10
- import { w as o } from "./FormFooterComponent-B2W5vjOS.js";
10
+ import { h as o } from "./FormFooterComponent-BHQc5VBK.js";
11
11
  import { a as s } from "./refs-CGvEbCaw.js";
12
12
  import { n as c } from "../sheerid.js";
13
13
  import { a as l, r as u, u as d, v as f } from "./stepComponentHelpers-DIHMDrmF.js";
14
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-hqx9tSkk.js";
15
- import { n as y, t as b } from "./PersonalInfoStepSubmitButton-DA3ceOLw.js";
16
- import { t as x } from "./ExtraMessage-BXxlQROb.js";
17
- import { t as S } from "./ChangeLocaleComponent-DtJjnuBc.js";
18
- import { t as C } from "./PersonalInfoStepWrapper-6neTJTQD.js";
19
- import { t as w } from "./StateSelectComponent-lM5e-_1v.js";
20
- import { t as T } from "./DriverLicenseNumberComponent-ByNoEq6v.js";
14
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-D2OIvL-b.js";
15
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-BcdQUzMO.js";
16
+ import { t as x } from "./ExtraMessage-g4LSV-H2.js";
17
+ import { t as S } from "./ChangeLocaleComponent-BvnXlDa-.js";
18
+ import { t as C } from "./PersonalInfoStepWrapper-BHS3GKl7.js";
19
+ import { t as w } from "./StateSelectComponent-B7Cp6ANo.js";
20
+ import { t as T } from "./DriverLicenseNumberComponent-vsVldXkA.js";
21
21
  //#region src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.tsx
22
22
  var E = a(), D = ({ intl: r, verificationService: a }) => {
23
23
  let D = a.viewModel, { fieldValidationErrors: O } = a, k = a.verificationResponse, A = o(k), j = n(), M = (e, n) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepDriverLicensePersonalInfoComponent-UZoq9OhC.js","names":[],"sources":["../../src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport {\n type VerificationService,\n type DriverLicensePersonalInfoViewModel,\n type DriverLicensePersonalInfoResponse,\n type State,\n type FormSelectChoice,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { DriverLicenseNumberComponent as DriverLicenseNumber } from \"../FormFields/DriverLicenseNumber/DriverLicenseNumberComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepDriverLicensePersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepDriverLicensePersonalInfo = ({\n intl,\n verificationService,\n}: StepDriverLicensePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as DriverLicensePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as DriverLicensePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateIdentityViewModel = (key: keyof DriverLicensePersonalInfoViewModel, value: any) => {\n const nextState: DriverLicensePersonalInfoViewModel = produce(\n viewModel,\n (draft: DriverLicensePersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"drivers-license\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateIdentityViewModel(\"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 updateIdentityViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateIdentityViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateIdentityViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n <StateSelectComponent\n isRequired\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateIdentityViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={\n <FormattedHTMLMessage id=\"driverLicenseState\" defaultMessage=\"Driver license state\" />\n }\n />\n <DriverLicenseNumber\n value={viewModel.driverLicenseNumber}\n isErrored={!!fieldValidationErrors.driverLicenseNumber}\n isRequired\n disabled={getFieldConfigByFieldId(\"driverLicenseNumber\")?.disabled}\n onChange={(newValue) => {\n updateIdentityViewModel(\"driverLicenseNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"driverLicenseNumber\",\n newValue,\n verificationService,\n );\n }}\n />\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateIdentityViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectDriverLicensePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Identity\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepDriverLicensePersonalInfoComponent = injectIntl(StepDriverLicensePersonalInfo);\nexport default StepDriverLicensePersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;aA4Ca,KAAiC,EAC5C,SACA,6BACiD;CACjD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,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AmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,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,GAEa,IAAyC,EAAW,CAA6B"}
1
+ {"version":3,"file":"StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js","names":[],"sources":["../../src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport {\n type VerificationService,\n type DriverLicensePersonalInfoViewModel,\n type DriverLicensePersonalInfoResponse,\n type State,\n type FormSelectChoice,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { DriverLicenseNumberComponent as DriverLicenseNumber } from \"../FormFields/DriverLicenseNumber/DriverLicenseNumberComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepDriverLicensePersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepDriverLicensePersonalInfo = ({\n intl,\n verificationService,\n}: StepDriverLicensePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as DriverLicensePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as DriverLicensePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateIdentityViewModel = (key: keyof DriverLicensePersonalInfoViewModel, value: any) => {\n const nextState: DriverLicensePersonalInfoViewModel = produce(\n viewModel,\n (draft: DriverLicensePersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"drivers-license\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateIdentityViewModel(\"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 updateIdentityViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateIdentityViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateIdentityViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n <StateSelectComponent\n isRequired\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateIdentityViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={\n <FormattedHTMLMessage id=\"driverLicenseState\" defaultMessage=\"Driver license state\" />\n }\n />\n <DriverLicenseNumber\n value={viewModel.driverLicenseNumber}\n isErrored={!!fieldValidationErrors.driverLicenseNumber}\n isRequired\n disabled={getFieldConfigByFieldId(\"driverLicenseNumber\")?.disabled}\n onChange={(newValue) => {\n updateIdentityViewModel(\"driverLicenseNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"driverLicenseNumber\",\n newValue,\n verificationService,\n );\n }}\n />\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateIdentityViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectDriverLicensePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Identity\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepDriverLicensePersonalInfoComponent = injectIntl(StepDriverLicensePersonalInfo);\nexport default StepDriverLicensePersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;aA4Ca,KAAiC,EAC5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a;KAKtB,AAJA,EAAwB,YAAY;MAClC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,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,GAEa,IAAyC,EAAW,CAA6B"}
@@ -1,19 +1,19 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.277.0
4
- * BUILD_TIMESTAMP: 1787693415496
5
- * BUILD_DATE: Tue Aug 25 2026 21:30:15 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
3
+ * VERSION: 2.278.0
4
+ * BUILD_TIMESTAMP: 1788969597831
5
+ * BUILD_DATE: Wed Sep 09 2026 15:59:57 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 8a89332fc253f0825b74dafece3ffed62b9fd070
7
7
  */
8
8
  import { Bt as e, Ft as t, c as n } from "./options-pBCAJBwS.js";
9
9
  import { a as r, n as i, t as a } from "./jsx-runtime-Ini3eO9_.js";
10
- import { t as o } from "./FormFooterComponent-B2W5vjOS.js";
10
+ import { t as o } from "./FormFooterComponent-BHQc5VBK.js";
11
11
  import { t as s } from "./hooks-ChQrxN58.js";
12
12
  import { t as c } from "./LogoComponent-Do8K5ydz.js";
13
13
  import { t as l } from "./AnnouncingHeader-CCVSQeQR.js";
14
14
  import { g as u, v as d } from "./stepComponentHelpers-DIHMDrmF.js";
15
15
  import { t as f } from "./FormFieldText-BbdrtNh_.js";
16
- import { t as p } from "./EmailLoopPending-HyZBgisU.js";
16
+ import { t as p } from "./EmailLoopPending-CYCQv7pW.js";
17
17
  //#region src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx
18
18
  var m = a(), h = ({ verificationService: r }) => {
19
19
  let a = r.viewModel, p = r.fieldValidationErrors, h = (r.verificationResponse?.errorIds || []).includes("invalidEmail"), g = s("hc-my-sheer-id-theme-builder");
@@ -1 +1 @@
1
- {"version":3,"file":"StepEmailLoop-138hnevc.js","names":[],"sources":["../../src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx","../../src/components/StepEmailLoop/StepEmailLoopComponent.tsx"],"sourcesContent":["import produce from \"immer\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { FormFieldText } from \"../FormFields/FormFieldText/FormFieldText\";\nimport {\n updateFieldValidationErrorsByFieldId,\n submitForm,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport {\n type EmailLoopCollectOrganizationEmailViewModel,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n !shouldHideIcon && (\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n )\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import { injectIntl, type InjectedIntl } from \"react-intl\";\n\nimport { type EmailLoopResponse, type VerificationService } from \"../../lib/types/types\";\n\nimport { EmailLoopCollectOrganizationEmail } from \"./EmailLoopCollectOrganizationEmail\";\nimport { EmailLoopPendingComponent } from \"./EmailLoopPending\";\n\nexport interface StepEmailLoopComponentProps {\n // eslint-disable-next-line react/no-unused-prop-types -- this prop type is reused in the sub components\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepEmailLoop = ({ verificationService }: StepEmailLoopComponentProps) => {\n const isCollectOrgEmailState =\n (verificationService.verificationResponse as EmailLoopResponse).currentState ===\n \"collectOrganizationEmail\";\n return (\n <div id=\"sid-step-email-loop\" className=\"sid-step-email-loop-container sid-l-container\">\n {isCollectOrgEmailState ? (\n <EmailLoopCollectOrganizationEmail verificationService={verificationService} />\n ) : (\n <EmailLoopPendingComponent verificationService={verificationService} />\n )}\n </div>\n );\n};\n\nexport const StepEmailLoopComponent = injectIntl(StepEmailLoop);\n"],"mappings":";;;;;;;;;;aAoBa,KAAqC,EAChD,6BAGI;CACJ,IAAM,IAAY,EAAoB,WAChC,IAAwB,EAAoB,uBAC5C,KAAqB,EAAoB,sBAAsB,YAAY,CAAC,GAAG,SACnF,cACF,GACM,IAAiB,EAAQ,8BAA8B;CAqB7D,OACE,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,GAAD;MACuB;MACrB,cACE,CAAC,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;OACE,WAAU;OACV,KAAI;OACJ,KAAI;MACL,CAAA;KAGN,CAAA;IACE,CAAA;IACL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,QAAD;MAAM,WAAU;gBACd,iBAAA,GAAA,EAAA,KAAC,GAAD;OAAsB,IAAG;OAAU,gBAAe;MAAW,CAAA;KACzD,CAAA;IACH,CAAA;IACL,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAkB,OAAM;eACtB,iBAAA,GA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,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;OAChB,CAAA;MACE,CAAA;MACL,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,UAAD;QACE,SAAS,YA7Ga;SAClC,EAAO,KAAK,kEAAkE;SAC9E,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;SAC7C,OAAO,EAAoB,WACzB,EAAsB,iBACtB,GACA,EAAoB,oBACtB;QACF;QAsGc,WAAU;QACV,MAAK;kBAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;SACE,IAAG;SACH,gBAAe;QAChB,CAAA;OACK,CAAA;MACL,CAAA;KACF;;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD,EAAK,WAAU,qBAAsB,CAAA;GAClC;IACF;KACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACvD,EAAA,CAAA;AAEN,GC5Ia,IAAyB,GAfR,EAAE,6BAK5B,iBAAA,GAAA,EAAA,KAAC,OAAD;CAAK,IAAG;CAAsB,WAAU;WAHvC,EAAoB,qBAA2C,iBAChE,6BAII,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAwD,uBAAsB,CAAA,IAE9E,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAgD,uBAAsB,CAAA;AAErE,CAAA,CAIqD"}
1
+ {"version":3,"file":"StepEmailLoop-B_D0MzXV.js","names":[],"sources":["../../src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx","../../src/components/StepEmailLoop/StepEmailLoopComponent.tsx"],"sourcesContent":["import produce from \"immer\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { FormFieldText } from \"../FormFields/FormFieldText/FormFieldText\";\nimport {\n updateFieldValidationErrorsByFieldId,\n submitForm,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport {\n type EmailLoopCollectOrganizationEmailViewModel,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n !shouldHideIcon && (\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n )\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import { injectIntl, type InjectedIntl } from \"react-intl\";\n\nimport { type EmailLoopResponse, type VerificationService } from \"../../lib/types/types\";\n\nimport { EmailLoopCollectOrganizationEmail } from \"./EmailLoopCollectOrganizationEmail\";\nimport { EmailLoopPendingComponent } from \"./EmailLoopPending\";\n\nexport interface StepEmailLoopComponentProps {\n // eslint-disable-next-line react/no-unused-prop-types -- this prop type is reused in the sub components\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepEmailLoop = ({ verificationService }: StepEmailLoopComponentProps) => {\n const isCollectOrgEmailState =\n (verificationService.verificationResponse as EmailLoopResponse).currentState ===\n \"collectOrganizationEmail\";\n return (\n <div id=\"sid-step-email-loop\" className=\"sid-step-email-loop-container sid-l-container\">\n {isCollectOrgEmailState ? (\n <EmailLoopCollectOrganizationEmail verificationService={verificationService} />\n ) : (\n <EmailLoopPendingComponent verificationService={verificationService} />\n )}\n </div>\n );\n};\n\nexport const StepEmailLoopComponent = injectIntl(StepEmailLoop);\n"],"mappings":";;;;;;;;;;aAoBa,KAAqC,EAChD,6BAGI;CACJ,IAAM,IAAY,EAAoB,WAChC,IAAwB,EAAoB,uBAC5C,KAAqB,EAAoB,sBAAsB,YAAY,CAAC,GAAG,SACnF,cACF,GACM,IAAiB,EAAQ,8BAA8B;CAqB7D,OACE,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CACE,iBAAA,G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A,GAAA,EAAA,KAAC,OAAD;CAAK,IAAG;CAAsB,WAAU;WAHvC,EAAoB,qBAA2C,iBAChE,6BAII,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAwD,uBAAsB,CAAA,IAE9E,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAgD,uBAAsB,CAAA;AAErE,CAAA,CAIqD"}
@@ -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.277.0
8
- * BUILD_TIMESTAMP: 1787693419738
9
- * BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
7
+ * VERSION: 2.278.0
8
+ * BUILD_TIMESTAMP: 1788969605732
9
+ * BUILD_DATE: Wed Sep 09 2026 16:00:05 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 8a89332fc253f0825b74dafece3ffed62b9fd070
11
11
  */
12
12
  import { Bt as e, Nt as t, p as n } from "./intl-e5WHiYfA.js";
13
13
  import { a as r, n as i, t as a } from "./jsx-runtime-LqzCS-0D.js";
14
- import { t as o } from "./FormFooterComponent-CaOt9TQw.js";
14
+ import { t as o } from "./FormFooterComponent-CAoH3NjO.js";
15
15
  import { t as s } from "./hooks-C15H5pD-.js";
16
16
  import { t as c } from "./LogoComponent-Dx1G-rzE.js";
17
17
  import { t as l } from "./AnnouncingHeader-YPjBYzsZ.js";
18
18
  import { g as u, v as d } from "./stepComponentHelpers-BdqtwfRd.js";
19
19
  import { t as f } from "./FormFieldText-Gf13Luq7.js";
20
- import { t as p } from "./EmailLoopPending-ojWCBFjq.js";
20
+ import { t as p } from "./EmailLoopPending-DNFHR6Ck.js";
21
21
  //#region src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx
22
22
  var m = a(), h = ({ verificationService: r }) => {
23
23
  let a = r.viewModel, p = r.fieldValidationErrors, h = (r.verificationResponse?.errorIds || []).includes("invalidEmail"), g = s("hc-my-sheer-id-theme-builder");
@@ -1 +1 @@
1
- {"version":3,"file":"StepEmailLoop-p3PjfBvc.js","names":[],"sources":["../../src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx","../../src/components/StepEmailLoop/StepEmailLoopComponent.tsx"],"sourcesContent":["import produce from \"immer\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { FormFieldText } from \"../FormFields/FormFieldText/FormFieldText\";\nimport {\n updateFieldValidationErrorsByFieldId,\n submitForm,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport {\n type EmailLoopCollectOrganizationEmailViewModel,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n !shouldHideIcon && (\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n )\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import { injectIntl, type InjectedIntl } from \"react-intl\";\n\nimport { type EmailLoopResponse, type VerificationService } from \"../../lib/types/types\";\n\nimport { EmailLoopCollectOrganizationEmail } from \"./EmailLoopCollectOrganizationEmail\";\nimport { EmailLoopPendingComponent } from \"./EmailLoopPending\";\n\nexport interface StepEmailLoopComponentProps {\n // eslint-disable-next-line react/no-unused-prop-types -- this prop type is reused in the sub components\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepEmailLoop = ({ verificationService }: StepEmailLoopComponentProps) => {\n const isCollectOrgEmailState =\n (verificationService.verificationResponse as EmailLoopResponse).currentState ===\n \"collectOrganizationEmail\";\n return (\n <div id=\"sid-step-email-loop\" className=\"sid-step-email-loop-container sid-l-container\">\n {isCollectOrgEmailState ? (\n <EmailLoopCollectOrganizationEmail verificationService={verificationService} />\n ) : (\n <EmailLoopPendingComponent verificationService={verificationService} />\n )}\n </div>\n );\n};\n\nexport const StepEmailLoopComponent = injectIntl(StepEmailLoop);\n"],"mappings":";;;;;;;;;;aAoBa,KAAqC,EAChD,6BAGI;CACJ,IAAM,IAAY,EAAoB,WAChC,IAAwB,EAAoB,uBAC5C,KAAqB,EAAoB,sBAAsB,YAAY,CAAC,GAAG,SACnF,cACF,GACM,IAAiB,EAAQ,8BAA8B;CAqB7D,OACE,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,GAAD;MACuB;MACrB,cACE,CAAC,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;OACE,WAAU;OACV,KAAI;OACJ,KAAI;MACL,CAAA;KAGN,CAAA;IACE,CAAA;IACL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,QAAD;MAAM,WAAU;gBACd,iBAAA,GAAA,EAAA,KAAC,GAAD;OAAsB,IAAG;OAAU,gBAAe;MAAW,CAAA;KACzD,CAAA;IACH,CAAA;IACL,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAkB,OAAM;eACtB,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;MACf,SAAQ;KACT,CAAA;IACe,CAAA;IAClB,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IACE,CAAA;GACF;MAEL,iBAAA,GAAA,EAAA,MAAC,O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IAAY,EAAQ,SAAiB,CAAC,CAAC;SAC7C,OAAO,EAAoB,WACzB,EAAsB,iBACtB,GACA,EAAoB,oBACtB;QACF;QAsGc,WAAU;QACV,MAAK;kBAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;SACE,IAAG;SACH,gBAAe;QAChB,CAAA;OACK,CAAA;MACL,CAAA;KACF;;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD,EAAK,WAAU,qBAAsB,CAAA;GAClC;IACF;KACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACvD,EAAA,CAAA;AAEN,GC5Ia,IAAyB,GAfR,EAAE,6BAK5B,iBAAA,GAAA,EAAA,KAAC,OAAD;CAAK,IAAG;CAAsB,WAAU;WAHvC,EAAoB,qBAA2C,iBAChE,6BAII,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAwD,uBAAsB,CAAA,IAE9E,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAgD,uBAAsB,CAAA;AAErE,CAAA,CAIqD"}
1
+ {"version":3,"file":"StepEmailLoop-DnFBaEUV.js","names":[],"sources":["../../src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx","../../src/components/StepEmailLoop/StepEmailLoopComponent.tsx"],"sourcesContent":["import produce from \"immer\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { FormFieldText } from \"../FormFields/FormFieldText/FormFieldText\";\nimport {\n updateFieldValidationErrorsByFieldId,\n submitForm,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport {\n type EmailLoopCollectOrganizationEmailViewModel,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n !shouldHideIcon && (\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n )\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import { injectIntl, type InjectedIntl } from \"react-intl\";\n\nimport { type EmailLoopResponse, type VerificationService } from \"../../lib/types/types\";\n\nimport { EmailLoopCollectOrganizationEmail } from \"./EmailLoopCollectOrganizationEmail\";\nimport { EmailLoopPendingComponent } from \"./EmailLoopPending\";\n\nexport interface StepEmailLoopComponentProps {\n // eslint-disable-next-line react/no-unused-prop-types -- this prop type is reused in the sub components\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepEmailLoop = ({ verificationService }: StepEmailLoopComponentProps) => {\n const isCollectOrgEmailState =\n (verificationService.verificationResponse as EmailLoopResponse).currentState ===\n \"collectOrganizationEmail\";\n return (\n <div id=\"sid-step-email-loop\" className=\"sid-step-email-loop-container sid-l-container\">\n {isCollectOrgEmailState ? (\n <EmailLoopCollectOrganizationEmail verificationService={verificationService} />\n ) : (\n <EmailLoopPendingComponent verificationService={verificationService} />\n )}\n </div>\n );\n};\n\nexport const StepEmailLoopComponent = injectIntl(StepEmailLoop);\n"],"mappings":";;;;;;;;;;aAoBa,KAAqC,EAChD,6BAGI;CACJ,IAAM,IAAY,EAAoB,WAChC,IAAwB,EAAoB,uBAC5C,KAAqB,EAAoB,sBAAsB,YAAY,CAAC,GAAG,SACnF,cACF,GACM,IAAiB,EAAQ,8BAA8B;CAqB7D,OACE,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,GAAD;MACuB;MACrB,cACE,CAAC,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;OACE,WAA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2
+ /**
3
+ * WARNING: This file is intended to be used within MySheerID.
4
+ * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
+ */
6
+ /**
7
+ * VERSION: 2.278.0
8
+ * BUILD_TIMESTAMP: 1788969605732
9
+ * BUILD_DATE: Wed Sep 09 2026 16:00:05 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 8a89332fc253f0825b74dafece3ffed62b9fd070
11
+ */
12
+ import { Nt as e, p as t, s as n } from "./intl-e5WHiYfA.js";
13
+ import { a as r, n as i, t as a } from "./jsx-runtime-LqzCS-0D.js";
14
+ import { n as o } from "./Message-BK3a2RyH.js";
15
+ import { c as s } from "./programThemeGetters-uLsgGat1.js";
16
+ import { t as c } from "../_mysheerid-preview.js";
17
+ import { a as l, h as u, r as d, u as f, v as p, y as m } from "./stepComponentHelpers-BdqtwfRd.js";
18
+ import { a as h, i as g, n as _, o as v, s as y, t as b } from "./CaptchaComponent-BqREyMje.js";
19
+ import { n as x, t as S } from "./PersonalInfoStepSubmitButton-VxT_vwVv.js";
20
+ import { t as C } from "./PostalCodeComponent-jmSOU3LM.js";
21
+ import { t as w } from "./CountryComponentWrapper-BNtvUusJ.js";
22
+ import { t as T } from "./City-B6bQRRvQ.js";
23
+ import { t as E } from "./AddressComponent-LZTJCC-l.js";
24
+ import { t as D } from "./ExtraMessage-Byw0Tgm1.js";
25
+ import { t as O } from "./ChangeLocaleComponent-CpHB_D8Q.js";
26
+ import { t as k } from "./PersonalInfoStepWrapper-CxRB64LQ.js";
27
+ import { t as A } from "./FormFieldTypeahead-DQEez7ko.js";
28
+ import { t as j } from "./StateSelectComponent-B5lHw2N5.js";
29
+ //#region src/components/FormFields/Company/CompanyComponent.tsx
30
+ var M = a(), N = ({ value: e, isErrored: t, onChange: n, verificationService: r, placeholder: a = "", disabled: c = !1 }) => {
31
+ let { msg: u } = o();
32
+ return l("organization")?.hidden ? null : /* @__PURE__ */ (0, M.jsx)(A, {
33
+ fieldId: "company",
34
+ value: e,
35
+ verificationService: r,
36
+ onChange: (e) => n(e),
37
+ placeholder: a || u({ id: "companyPlaceholder" }),
38
+ label: /* @__PURE__ */ (0, M.jsx)(i, {
39
+ id: "company",
40
+ defaultMessage: "Company"
41
+ }),
42
+ errorMessage: t && /* @__PURE__ */ (0, M.jsx)(i, {
43
+ id: "errorId.invalidOrganization",
44
+ defaultMessage: "You must select an organization from the list"
45
+ }),
46
+ orgSearchUrl: s(r.viewModel, r.programTheme),
47
+ showPlaceholderAndHideLabel: !!a,
48
+ disabled: c
49
+ });
50
+ }, P = r(({ intl: r, verificationService: a }) => {
51
+ let o = a.viewModel, { fieldValidationErrors: s } = a, A = n(), P = (e, n) => {
52
+ let r = t(o, (t) => {
53
+ t[e] = n;
54
+ });
55
+ a.updateViewModel(r);
56
+ };
57
+ return /* @__PURE__ */ (0, M.jsxs)(k, {
58
+ verificationService: a,
59
+ step: a.verificationResponse.currentStep,
60
+ children: [
61
+ /* @__PURE__ */ (0, M.jsx)(c, {
62
+ verificationService: a,
63
+ classNameIdentifier: "employment"
64
+ }),
65
+ /* @__PURE__ */ (0, M.jsx)(O, { verificationService: a }),
66
+ /* @__PURE__ */ (0, M.jsx)(w, {
67
+ verificationService: a,
68
+ disabled: l("country")?.disabled,
69
+ viewModelDraftDecorator: (e, t) => {
70
+ let n = e;
71
+ n.shouldCollectAddress = u(t, a.programTheme.config.countries);
72
+ let r = [
73
+ "address1",
74
+ "city",
75
+ "state",
76
+ "postalCode"
77
+ ], i = (n.fieldsToSkipValidation || []).filter((e) => !r.includes(e));
78
+ n.shouldCollectAddress ? n.fieldsToSkipValidation = i.length ? i : void 0 : (n.address1 = "", n.city = "", n.state = "", n.postalCode = "", n.fieldsToSkipValidation = [...i, ...r]);
79
+ }
80
+ }),
81
+ /* @__PURE__ */ (0, M.jsx)(N, {
82
+ value: a.viewModel.organization,
83
+ verificationService: a,
84
+ isErrored: !!s.organization,
85
+ disabled: l("organization")?.disabled,
86
+ onChange: (e) => {
87
+ m(e, a), p("organization", e, a);
88
+ }
89
+ }),
90
+ /* @__PURE__ */ (0, M.jsxs)("div", {
91
+ className: "sid-names",
92
+ children: [/* @__PURE__ */ (0, M.jsx)(h, {
93
+ value: o.firstName,
94
+ isErrored: !!s.firstName,
95
+ disabled: l("firstName")?.disabled,
96
+ onChange: (e) => {
97
+ P("firstName", e), p("firstName", e, a);
98
+ }
99
+ }), /* @__PURE__ */ (0, M.jsx)(g, {
100
+ value: o.lastName,
101
+ isErrored: !!s.lastName,
102
+ disabled: l("lastName")?.disabled,
103
+ onChange: (e) => {
104
+ P("lastName", e), p("lastName", e, a);
105
+ }
106
+ })]
107
+ }),
108
+ u(o.countryChoice, a.programTheme.config.countries) ? /* @__PURE__ */ (0, M.jsx)(E, {
109
+ isErrored: !!s.address1,
110
+ errorId: s.address1,
111
+ onChange: (e) => {
112
+ P("address1", e), p("address1", e, a);
113
+ },
114
+ isRequired: !0,
115
+ value: o.address1,
116
+ disabled: l("address1")?.disabled,
117
+ explanation: /* @__PURE__ */ (0, M.jsx)(i, {
118
+ id: "addressExplanation",
119
+ defaultMessage: "Use your home address"
120
+ })
121
+ }) : null,
122
+ u(o.countryChoice, a.programTheme.config.countries) ? /* @__PURE__ */ (0, M.jsxs)("div", {
123
+ className: "sid-thirds",
124
+ children: [
125
+ /* @__PURE__ */ (0, M.jsx)(T, {
126
+ isErrored: !!s.city,
127
+ errorId: s.city,
128
+ onChange: (e) => {
129
+ P("city", e), p("city", e, a);
130
+ },
131
+ value: o.city,
132
+ isRequired: !0,
133
+ disabled: l("city")?.disabled
134
+ }),
135
+ /* @__PURE__ */ (0, M.jsx)(j, {
136
+ isRequired: !0,
137
+ options: d(a.programTheme, r),
138
+ value: o.state || void 0,
139
+ isErrored: !!s.state,
140
+ onChange: async (e) => {
141
+ let t = e ? e.value : void 0;
142
+ P("state", t), p("state", t, a);
143
+ },
144
+ label: /* @__PURE__ */ (0, M.jsx)(i, {
145
+ id: "state",
146
+ defaultMessage: "State"
147
+ }),
148
+ disabled: l("state")?.disabled
149
+ }),
150
+ /* @__PURE__ */ (0, M.jsx)(C, {
151
+ isErrored: !!s.postalCode,
152
+ onChange: (e) => {
153
+ P("postalCode", e), p("postalCode", e, a);
154
+ },
155
+ value: o.postalCode,
156
+ disabled: l("postalCode")?.disabled
157
+ })
158
+ ]
159
+ }) : null,
160
+ /* @__PURE__ */ (0, M.jsx)(x, {
161
+ value: o.email,
162
+ isErrored: !!s.email,
163
+ explanation: /* @__PURE__ */ (0, M.jsx)(i, {
164
+ id: "emailExplanation",
165
+ defaultMessage: "Use your work email if you have one"
166
+ }),
167
+ onChange: (e) => {
168
+ P("email", e), p("email", e, a);
169
+ },
170
+ onKeyDown: (e) => f(e),
171
+ disabled: l("email")?.disabled
172
+ }),
173
+ a.programTheme.isSmsNotifierConfigured || a.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, M.jsx)(v, {
174
+ isRequired: !!a.programTheme.smsLoopEnabled,
175
+ value: o.phoneNumber,
176
+ isErrored: !!s.phoneNumber,
177
+ onChange: (e) => {
178
+ P("phoneNumber", e), p("phoneNumber", e, a);
179
+ },
180
+ selectedCountryCode: o.countryChoice && o.countryChoice.value,
181
+ disabled: l("phoneNumber")?.disabled
182
+ }) : null,
183
+ A.customFormFields.map((e) => /* @__PURE__ */ (0, M.jsx)(_, {
184
+ config: e,
185
+ verificationService: a
186
+ })),
187
+ /* @__PURE__ */ (0, M.jsx)(y, {
188
+ verificationService: a,
189
+ isErrored: !!s.marketConsentValue,
190
+ onChange: (e) => {
191
+ P("metadata", {
192
+ ...a.viewModel.metadata,
193
+ marketConsentValue: e
194
+ }), p("marketConsentValue", e, a);
195
+ },
196
+ viewModel: o,
197
+ disabled: l("marketConsentValue")?.disabled
198
+ }),
199
+ /* @__PURE__ */ (0, M.jsx)(D, {
200
+ verificationService: a,
201
+ suffix: "CollectAboveSubmit"
202
+ }),
203
+ /* @__PURE__ */ (0, M.jsx)(b, {
204
+ verificationService: a,
205
+ isErrored: !!s.captchaToken
206
+ }),
207
+ /* @__PURE__ */ (0, M.jsx)(S, {
208
+ step: e.collectEmployeePersonalInfo,
209
+ verificationService: a,
210
+ viewModel: o,
211
+ buttonText: /* @__PURE__ */ (0, M.jsx)(i, {
212
+ id: "step.personalInfo.submitButtonText",
213
+ defaultMessage: "Verify My Employment Status"
214
+ })
215
+ })
216
+ ]
217
+ });
218
+ });
219
+ //#endregion
220
+ export { P as default };