@sheerid/jslib 2.247.0 → 2.248.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 (270) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +995 -1023
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/AddressComponent-Bukkdb4u.js +4 -4
  5. package/chunk/AddressComponent-CkxRlnVO.js +4 -4
  6. package/chunk/{BirthDateComponent-uWKLRke9.js → BirthDateComponent-Bs0xFFJM.js} +5 -5
  7. package/chunk/{BirthDateComponent-B0tDW0yB.js.map → BirthDateComponent-Bs0xFFJM.js.map} +1 -1
  8. package/chunk/{BirthDateComponent-B0tDW0yB.js → BirthDateComponent-DLk6Ilxs.js} +5 -5
  9. package/chunk/{BirthDateComponent-uWKLRke9.js.map → BirthDateComponent-DLk6Ilxs.js.map} +1 -1
  10. package/chunk/{CaptchaComponent-D0ddmO45.js → CaptchaComponent-C0umNe_d.js} +62 -62
  11. package/chunk/{CaptchaComponent-D0ddmO45.js.map → CaptchaComponent-C0umNe_d.js.map} +1 -1
  12. package/chunk/{CaptchaComponent-DE-ZE8nT.js → CaptchaComponent-Cuh_UEdw.js} +5 -5
  13. package/chunk/{CaptchaComponent-DE-ZE8nT.js.map → CaptchaComponent-Cuh_UEdw.js.map} +1 -1
  14. package/chunk/ChangeLocaleComponent-B9FhViAh.js +4 -4
  15. package/chunk/ChangeLocaleComponent-zT_LYIcp.js +4 -4
  16. package/chunk/City-DjkeTI1V.js +4 -4
  17. package/chunk/City-IOdmmFE7.js +4 -4
  18. package/chunk/{CollegeNameComponent--3-lJ1K4.js → CollegeNameComponent-CnPvtBkA.js} +5 -5
  19. package/chunk/{CollegeNameComponent--3-lJ1K4.js.map → CollegeNameComponent-CnPvtBkA.js.map} +1 -1
  20. package/chunk/{CollegeNameComponent-D37lC9Cv.js → CollegeNameComponent-DF3oj7Uw.js} +5 -5
  21. package/chunk/{CollegeNameComponent-D37lC9Cv.js.map → CollegeNameComponent-DF3oj7Uw.js.map} +1 -1
  22. package/chunk/CopyToClipboardComponent-BksoYi0Z.js +4 -4
  23. package/chunk/CopyToClipboardComponent-CtgyrPCJ.js +4 -4
  24. package/chunk/CountryComponentWrapper-C58Sci59.js +4 -4
  25. package/chunk/CountryComponentWrapper-ZvBsjX0l.js +4 -4
  26. package/chunk/{DischargeDateComponent-DuJO1xvy.js → DischargeDateComponent-DmfDDmWr.js} +5 -5
  27. package/chunk/{DischargeDateComponent-CE7d9Tm4.js.map → DischargeDateComponent-DmfDDmWr.js.map} +1 -1
  28. package/chunk/{DischargeDateComponent-CE7d9Tm4.js → DischargeDateComponent-lYQRumBW.js} +5 -5
  29. package/chunk/{DischargeDateComponent-DuJO1xvy.js.map → DischargeDateComponent-lYQRumBW.js.map} +1 -1
  30. package/chunk/DriverLicenseNumberComponent-D6O21jQQ.js +4 -4
  31. package/chunk/DriverLicenseNumberComponent-K8bTab_I.js +4 -4
  32. package/chunk/{EmailLoopPending-DI76b6U9.js → EmailLoopPending-B3NjLevJ.js} +19 -19
  33. package/chunk/{EmailLoopPending-DI76b6U9.js.map → EmailLoopPending-B3NjLevJ.js.map} +1 -1
  34. package/chunk/{EmailLoopPending-nqmGJQhh.js → EmailLoopPending-CsLNydVl.js} +15 -15
  35. package/chunk/{EmailLoopPending-nqmGJQhh.js.map → EmailLoopPending-CsLNydVl.js.map} +1 -1
  36. package/chunk/{ExtraMessage-WGe7ZQyg.js → ExtraMessage-CmZsLEQu.js} +5 -5
  37. package/chunk/{ExtraMessage-CcqDnr5y.js.map → ExtraMessage-CmZsLEQu.js.map} +1 -1
  38. package/chunk/{ExtraMessage-CcqDnr5y.js → ExtraMessage-DVAZbguB.js} +9 -9
  39. package/chunk/{ExtraMessage-WGe7ZQyg.js.map → ExtraMessage-DVAZbguB.js.map} +1 -1
  40. package/chunk/{FirstResponderOrganizationComponent-CmATK21l.js → FirstResponderOrganizationComponent-CtDqxnQQ.js} +5 -5
  41. package/chunk/{FirstResponderOrganizationComponent-CmATK21l.js.map → FirstResponderOrganizationComponent-CtDqxnQQ.js.map} +1 -1
  42. package/chunk/{FirstResponderOrganizationComponent-BRRa_qj-.js → FirstResponderOrganizationComponent-Drf19OL-.js} +5 -5
  43. package/chunk/{FirstResponderOrganizationComponent-BRRa_qj-.js.map → FirstResponderOrganizationComponent-Drf19OL-.js.map} +1 -1
  44. package/chunk/FormFieldInputSelect-CCyn1vvf.js +4 -4
  45. package/chunk/FormFieldInputSelect-CEVgL_cH.js +4 -4
  46. package/chunk/FormFieldLayout-BesyfbpW.js +4 -4
  47. package/chunk/FormFieldLayout-CVSvHLSi.js +4 -4
  48. package/chunk/FormFieldText-BtlTdgzX.js +4 -4
  49. package/chunk/FormFieldText-yR7hiQsc.js +4 -4
  50. package/chunk/{FormFieldTypeahead-ChF6x24k.js → FormFieldTypeahead-CH_TSGle.js} +377 -377
  51. package/chunk/{FormFieldTypeahead-ChF6x24k.js.map → FormFieldTypeahead-CH_TSGle.js.map} +1 -1
  52. package/chunk/{FormFieldTypeahead-CtxrXjHv.js → FormFieldTypeahead-Da-vHxEO.js} +419 -419
  53. package/chunk/{FormFieldTypeahead-CtxrXjHv.js.map → FormFieldTypeahead-Da-vHxEO.js.map} +1 -1
  54. package/chunk/FormSelectChoice-D-8ofshG.js +4 -4
  55. package/chunk/FormSelectChoice-DlGn-Pdy.js +4 -4
  56. package/chunk/InputText-BB3UKiij.js +4 -4
  57. package/chunk/InputText-V45_YE-T.js +4 -4
  58. package/chunk/{LicensedProfessionalOrganizationComponent-DBXMMx_e.js → LicensedProfessionalOrganizationComponent-BT4n-ToV.js} +5 -5
  59. package/chunk/{LicensedProfessionalOrganizationComponent-DBXMMx_e.js.map → LicensedProfessionalOrganizationComponent-BT4n-ToV.js.map} +1 -1
  60. package/chunk/{LicensedProfessionalOrganizationComponent-sDiGRvUQ.js → LicensedProfessionalOrganizationComponent-sC--o74M.js} +5 -5
  61. package/chunk/{LicensedProfessionalOrganizationComponent-sDiGRvUQ.js.map → LicensedProfessionalOrganizationComponent-sC--o74M.js.map} +1 -1
  62. package/chunk/{LowIncomeOrganizationComponent-CnulmvG6.js → LowIncomeOrganizationComponent-BvyJXrdQ.js} +5 -5
  63. package/chunk/{LowIncomeOrganizationComponent-CnulmvG6.js.map → LowIncomeOrganizationComponent-BvyJXrdQ.js.map} +1 -1
  64. package/chunk/{LowIncomeOrganizationComponent-D8gq-gLP.js → LowIncomeOrganizationComponent-CLJNbJKu.js} +5 -5
  65. package/chunk/{LowIncomeOrganizationComponent-D8gq-gLP.js.map → LowIncomeOrganizationComponent-CLJNbJKu.js.map} +1 -1
  66. package/chunk/{MedicalProfessionalOrganizationComponent-DTOhrqUL.js → MedicalProfessionalOrganizationComponent-B-syoAlu.js} +5 -5
  67. package/chunk/{MedicalProfessionalOrganizationComponent-3Itqu9cN.js.map → MedicalProfessionalOrganizationComponent-B-syoAlu.js.map} +1 -1
  68. package/chunk/{MedicalProfessionalOrganizationComponent-3Itqu9cN.js → MedicalProfessionalOrganizationComponent-BmiJZots.js} +5 -5
  69. package/chunk/{MedicalProfessionalOrganizationComponent-DTOhrqUL.js.map → MedicalProfessionalOrganizationComponent-BmiJZots.js.map} +1 -1
  70. package/chunk/MemberIdComponent-Cu2-mU8u.js +4 -4
  71. package/chunk/MemberIdComponent-D23Ilwkz.js +4 -4
  72. package/chunk/{MembershipOrganizationComponent-DIMXdPl3.js → MembershipOrganizationComponent-Bf1xshzG.js} +5 -5
  73. package/chunk/{MembershipOrganizationComponent-DIMXdPl3.js.map → MembershipOrganizationComponent-Bf1xshzG.js.map} +1 -1
  74. package/chunk/{MembershipOrganizationComponent-Ie7etzSn.js → MembershipOrganizationComponent-CIoAj7iZ.js} +5 -5
  75. package/chunk/{MembershipOrganizationComponent-Ie7etzSn.js.map → MembershipOrganizationComponent-CIoAj7iZ.js.map} +1 -1
  76. package/chunk/Onfido-37vLDu4k.js +4 -4
  77. package/chunk/PersonalInfoStepSubmitButton-BLlwswI-.js +4 -4
  78. package/chunk/PersonalInfoStepSubmitButton-veY-9f10.js +4 -4
  79. package/chunk/PersonalInfoStepWrapper-BiSzCAk8.js +4 -4
  80. package/chunk/PersonalInfoStepWrapper-HXjWWCYf.js +4 -4
  81. package/chunk/PostalCodeComponent-DvZ8oZli.js +4 -4
  82. package/chunk/PostalCodeComponent-lrJGRros.js +4 -4
  83. package/chunk/SSN-CQUI4vVz.js +4 -4
  84. package/chunk/SSN-DQ81decb.js +4 -4
  85. package/chunk/StateSelectComponent-CG87WpOW.js +4 -4
  86. package/chunk/StateSelectComponent-nOsC00ex.js +4 -4
  87. package/chunk/StatusComponent-BJQNoEQp.js +4 -4
  88. package/chunk/StatusComponent-n3jBHJdZ.js +4 -4
  89. package/chunk/{StepAgePersonalInfo-DtdP8w7b.js → StepAgePersonalInfo-BbImsXfx.js} +8 -8
  90. package/chunk/{StepAgePersonalInfo-Ca8JaxOI.js.map → StepAgePersonalInfo-BbImsXfx.js.map} +1 -1
  91. package/chunk/{StepAgePersonalInfo-Ca8JaxOI.js → StepAgePersonalInfo-D21CSk3y.js} +8 -8
  92. package/chunk/{StepAgePersonalInfo-DtdP8w7b.js.map → StepAgePersonalInfo-D21CSk3y.js.map} +1 -1
  93. package/chunk/StepCard-BZ5kx6cD.js +4 -4
  94. package/chunk/StepCard-D_mLHJLz.js +4 -4
  95. package/chunk/StepCollectIdentifier-2rYBJnI1.js +4 -4
  96. package/chunk/StepCollectIdentifier-mZjiHAT1.js +4 -4
  97. package/chunk/{StepCollectMilitaryPersonalInfoComponent-DIzCW8K5.js → StepCollectMilitaryPersonalInfoComponent-Be7kYEbM.js} +9 -9
  98. package/chunk/{StepCollectMilitaryPersonalInfoComponent-DIzCW8K5.js.map → StepCollectMilitaryPersonalInfoComponent-Be7kYEbM.js.map} +1 -1
  99. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CgGDBhZS.js → StepCollectMilitaryPersonalInfoComponent-Y6UPWKD2.js} +9 -9
  100. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CgGDBhZS.js.map → StepCollectMilitaryPersonalInfoComponent-Y6UPWKD2.js.map} +1 -1
  101. package/chunk/{StepCollectPersonalInfo-HNqAjPy4.js → StepCollectPersonalInfo-6evU9UFg.js} +16 -16
  102. package/chunk/{StepCollectPersonalInfo-HNqAjPy4.js.map → StepCollectPersonalInfo-6evU9UFg.js.map} +1 -1
  103. package/chunk/{StepCollectPersonalInfo-mLCPwTN6.js → StepCollectPersonalInfo-XkEXV-iW.js} +16 -16
  104. package/chunk/{StepCollectPersonalInfo-mLCPwTN6.js.map → StepCollectPersonalInfo-XkEXV-iW.js.map} +1 -1
  105. package/chunk/StepCompleteAuthentication-DnTif2W6.js +4 -4
  106. package/chunk/StepCompleteAuthentication-aBe0T7BX.js +4 -4
  107. package/chunk/{StepConsolation-DdswFFPp.js → StepConsolation-2GKAlcdt.js} +13 -13
  108. package/chunk/{StepConsolation-DdswFFPp.js.map → StepConsolation-2GKAlcdt.js.map} +1 -1
  109. package/chunk/{StepConsolation-UdKEsKki.js → StepConsolation-L3B5-pCn.js} +18 -18
  110. package/chunk/{StepConsolation-UdKEsKki.js.map → StepConsolation-L3B5-pCn.js.map} +1 -1
  111. package/chunk/{StepDocUpload-BY28iUhz.js → StepDocUpload-BOpUs-jc.js} +185 -185
  112. package/chunk/{StepDocUpload-BY28iUhz.js.map → StepDocUpload-BOpUs-jc.js.map} +1 -1
  113. package/chunk/{StepDocUpload-Uk4OkEbk.js → StepDocUpload-Ck2Fkmt3.js} +482 -482
  114. package/chunk/{StepDocUpload-Uk4OkEbk.js.map → StepDocUpload-Ck2Fkmt3.js.map} +1 -1
  115. package/chunk/{StepDriverLicensePersonalInfoComponent-veSQF1xd.js → StepDriverLicensePersonalInfoComponent-YmaqDbhD.js} +6 -6
  116. package/chunk/{StepDriverLicensePersonalInfoComponent-BbamyvXd.js.map → StepDriverLicensePersonalInfoComponent-YmaqDbhD.js.map} +1 -1
  117. package/chunk/{StepDriverLicensePersonalInfoComponent-BbamyvXd.js → StepDriverLicensePersonalInfoComponent-ro1ZZchn.js} +6 -6
  118. package/chunk/{StepDriverLicensePersonalInfoComponent-veSQF1xd.js.map → StepDriverLicensePersonalInfoComponent-ro1ZZchn.js.map} +1 -1
  119. package/chunk/{StepEmailLoop-DsL4IHH7.js → StepEmailLoop-B09M3kHx.js} +29 -29
  120. package/chunk/{StepEmailLoop-DsL4IHH7.js.map → StepEmailLoop-B09M3kHx.js.map} +1 -1
  121. package/chunk/{StepEmailLoop-FytSYfcH.js → StepEmailLoop-BK-jB2V7.js} +17 -17
  122. package/chunk/{StepEmailLoop-FytSYfcH.js.map → StepEmailLoop-BK-jB2V7.js.map} +1 -1
  123. package/chunk/{StepEmploymentPersonalInfo-suokVw34.js → StepEmploymentPersonalInfo-CkpQtqFc.js} +7 -7
  124. package/chunk/{StepEmploymentPersonalInfo-suokVw34.js.map → StepEmploymentPersonalInfo-CkpQtqFc.js.map} +1 -1
  125. package/chunk/{StepEmploymentPersonalInfo-CT0xdIqB.js → StepEmploymentPersonalInfo-Dm54oUuJ.js} +7 -7
  126. package/chunk/{StepEmploymentPersonalInfo-CT0xdIqB.js.map → StepEmploymentPersonalInfo-Dm54oUuJ.js.map} +1 -1
  127. package/chunk/{StepFirstResponderPersonalInfo-cJ0I66V3.js → StepFirstResponderPersonalInfo-ab_a-a76.js} +9 -9
  128. package/chunk/{StepFirstResponderPersonalInfo-cJ0I66V3.js.map → StepFirstResponderPersonalInfo-ab_a-a76.js.map} +1 -1
  129. package/chunk/{StepFirstResponderPersonalInfo-21K4JPLJ.js → StepFirstResponderPersonalInfo-reHh6B-r.js} +9 -9
  130. package/chunk/{StepFirstResponderPersonalInfo-21K4JPLJ.js.map → StepFirstResponderPersonalInfo-reHh6B-r.js.map} +1 -1
  131. package/chunk/{StepGeneralIdentityPersonalInfoComponent-0vDhvX-f.js → StepGeneralIdentityPersonalInfoComponent-CfiOPTKL.js} +7 -7
  132. package/chunk/{StepGeneralIdentityPersonalInfoComponent-0vDhvX-f.js.map → StepGeneralIdentityPersonalInfoComponent-CfiOPTKL.js.map} +1 -1
  133. package/chunk/{StepGeneralIdentityPersonalInfoComponent-LtXbbdTk.js → StepGeneralIdentityPersonalInfoComponent-zArdBXOy.js} +7 -7
  134. package/chunk/{StepGeneralIdentityPersonalInfoComponent-LtXbbdTk.js.map → StepGeneralIdentityPersonalInfoComponent-zArdBXOy.js.map} +1 -1
  135. package/chunk/{StepHybridIdentityPersonalInfoComponent-CZ_NWsU5.js → StepHybridIdentityPersonalInfoComponent-Ddi_sFSV.js} +7 -7
  136. package/chunk/{StepHybridIdentityPersonalInfoComponent-CZ_NWsU5.js.map → StepHybridIdentityPersonalInfoComponent-Ddi_sFSV.js.map} +1 -1
  137. package/chunk/{StepHybridIdentityPersonalInfoComponent-D_kNxG4z.js → StepHybridIdentityPersonalInfoComponent-eKyrwWDx.js} +7 -7
  138. package/chunk/{StepHybridIdentityPersonalInfoComponent-D_kNxG4z.js.map → StepHybridIdentityPersonalInfoComponent-eKyrwWDx.js.map} +1 -1
  139. package/chunk/{StepIDCheckLoop-Cs9sCYeC.js → StepIDCheckLoop-CzOTam3f.js} +5 -5
  140. package/chunk/{StepIDCheckLoop-Cs9sCYeC.js.map → StepIDCheckLoop-CzOTam3f.js.map} +1 -1
  141. package/chunk/{StepIDCheckLoop-y3B18jLz.js → StepIDCheckLoop-NVY6Na18.js} +5 -5
  142. package/chunk/{StepIDCheckLoop-y3B18jLz.js.map → StepIDCheckLoop-NVY6Na18.js.map} +1 -1
  143. package/chunk/StepIDCheckLoopOnfido-BN0JQSB1.js +4 -4
  144. package/chunk/StepIDCheckLoopOnfido-BiO4Prw4.js +4 -4
  145. package/chunk/{StepIDCheckLoopRegula-Ds4UjuR0.js → StepIDCheckLoopRegula--6TQ7fHt.js} +37 -37
  146. package/chunk/{StepIDCheckLoopRegula-B04QQ5kq.js.map → StepIDCheckLoopRegula--6TQ7fHt.js.map} +1 -1
  147. package/chunk/{StepIDCheckLoopRegula-B04QQ5kq.js → StepIDCheckLoopRegula-CU0C7_yr.js} +20 -20
  148. package/chunk/{StepIDCheckLoopRegula-Ds4UjuR0.js.map → StepIDCheckLoopRegula-CU0C7_yr.js.map} +1 -1
  149. package/chunk/{StepLicensedProfessionalPersonalInfo-ZnVGGI7J.js → StepLicensedProfessionalPersonalInfo-CNoYHtIc.js} +9 -9
  150. package/chunk/{StepLicensedProfessionalPersonalInfo-CGg2o0fx.js.map → StepLicensedProfessionalPersonalInfo-CNoYHtIc.js.map} +1 -1
  151. package/chunk/{StepLicensedProfessionalPersonalInfo-CGg2o0fx.js → StepLicensedProfessionalPersonalInfo-CsSeujol.js} +9 -9
  152. package/chunk/{StepLicensedProfessionalPersonalInfo-ZnVGGI7J.js.map → StepLicensedProfessionalPersonalInfo-CsSeujol.js.map} +1 -1
  153. package/chunk/{StepLowIncomePersonalInfo-C_R16jsz.js → StepLowIncomePersonalInfo-B4ItgnSU.js} +8 -8
  154. package/chunk/{StepLowIncomePersonalInfo-C_R16jsz.js.map → StepLowIncomePersonalInfo-B4ItgnSU.js.map} +1 -1
  155. package/chunk/{StepLowIncomePersonalInfo-BiMIDkdF.js → StepLowIncomePersonalInfo-Bx2sI2Zj.js} +8 -8
  156. package/chunk/{StepLowIncomePersonalInfo-BiMIDkdF.js.map → StepLowIncomePersonalInfo-Bx2sI2Zj.js.map} +1 -1
  157. package/chunk/{StepMedicalProfessionalPersonalInfo-BRInNGaM.js → StepMedicalProfessionalPersonalInfo-3VniR-r2.js} +9 -9
  158. package/chunk/{StepMedicalProfessionalPersonalInfo-BRInNGaM.js.map → StepMedicalProfessionalPersonalInfo-3VniR-r2.js.map} +1 -1
  159. package/chunk/{StepMedicalProfessionalPersonalInfo-DBueJ-et.js → StepMedicalProfessionalPersonalInfo-BPcnz6WY.js} +9 -9
  160. package/chunk/{StepMedicalProfessionalPersonalInfo-DBueJ-et.js.map → StepMedicalProfessionalPersonalInfo-BPcnz6WY.js.map} +1 -1
  161. package/chunk/{StepMemberPersonalInfo-DV17pI3O.js → StepMemberPersonalInfo-BLSxbVT5.js} +8 -8
  162. package/chunk/{StepMemberPersonalInfo-AXsuKV9t.js.map → StepMemberPersonalInfo-BLSxbVT5.js.map} +1 -1
  163. package/chunk/{StepMemberPersonalInfo-AXsuKV9t.js → StepMemberPersonalInfo-CqDljJ_G.js} +8 -8
  164. package/chunk/{StepMemberPersonalInfo-DV17pI3O.js.map → StepMemberPersonalInfo-CqDljJ_G.js.map} +1 -1
  165. package/chunk/{StepMoverPersonalInfo-DLA7Lwxq.js → StepMoverPersonalInfo-CEzqq77M.js} +6 -6
  166. package/chunk/{StepMoverPersonalInfo-DLA7Lwxq.js.map → StepMoverPersonalInfo-CEzqq77M.js.map} +1 -1
  167. package/chunk/{StepMoverPersonalInfo-GPZw8v_N.js → StepMoverPersonalInfo-mDxH8pdD.js} +6 -6
  168. package/chunk/{StepMoverPersonalInfo-GPZw8v_N.js.map → StepMoverPersonalInfo-mDxH8pdD.js.map} +1 -1
  169. package/chunk/{StepOverrideComponent-6emc4t15.js → StepOverrideComponent-BRbDer8j.js} +25 -25
  170. package/chunk/{StepOverrideComponent-6emc4t15.js.map → StepOverrideComponent-BRbDer8j.js.map} +1 -1
  171. package/chunk/{StepOverrideComponent-Cd1adOMO.js → StepOverrideComponent-DzKCqsTp.js} +16 -16
  172. package/chunk/{StepOverrideComponent-Cd1adOMO.js.map → StepOverrideComponent-DzKCqsTp.js.map} +1 -1
  173. package/chunk/StepSMSLoop-BJLKDaZG.js +4 -4
  174. package/chunk/StepSMSLoop-DYCZvGvb.js +4 -4
  175. package/chunk/StepSSO-B0NDIcgz.js +4 -4
  176. package/chunk/StepSSO-DYAr8DyT.js +4 -4
  177. package/chunk/{StepSocialSecurityNumber-BlD9PCHV.js → StepSocialSecurityNumber-Cj4IegXf.js} +15 -15
  178. package/chunk/{StepSocialSecurityNumber-BGsRsjM1.js.map → StepSocialSecurityNumber-Cj4IegXf.js.map} +1 -1
  179. package/chunk/{StepSocialSecurityNumber-BGsRsjM1.js → StepSocialSecurityNumber-D_6-yJHJ.js} +18 -18
  180. package/chunk/{StepSocialSecurityNumber-BlD9PCHV.js.map → StepSocialSecurityNumber-D_6-yJHJ.js.map} +1 -1
  181. package/chunk/{StepStudentPersonalInfo-geh6wZ_D.js → StepStudentPersonalInfo-D7UYHkij.js} +9 -9
  182. package/chunk/{StepStudentPersonalInfo-B8ZqZXMN.js.map → StepStudentPersonalInfo-D7UYHkij.js.map} +1 -1
  183. package/chunk/{StepStudentPersonalInfo-B8ZqZXMN.js → StepStudentPersonalInfo-DoCd4QzI.js} +38 -38
  184. package/chunk/{StepStudentPersonalInfo-geh6wZ_D.js.map → StepStudentPersonalInfo-DoCd4QzI.js.map} +1 -1
  185. package/chunk/{StepSuccess-CB3MM6Ok.js → StepSuccess-COzcG0d4.js} +32 -32
  186. package/chunk/{StepSuccess-CB3MM6Ok.js.map → StepSuccess-COzcG0d4.js.map} +1 -1
  187. package/chunk/{StepSuccess-CJKRWcmj.js → StepSuccess-DmBqpPul.js} +22 -22
  188. package/chunk/{StepSuccess-CJKRWcmj.js.map → StepSuccess-DmBqpPul.js.map} +1 -1
  189. package/chunk/{StepTeacherPersonalInfo-PSnqhgwN.js → StepTeacherPersonalInfo-C-gLF7UY.js} +9 -9
  190. package/chunk/{StepTeacherPersonalInfo-Bw1E5Mjo.js.map → StepTeacherPersonalInfo-C-gLF7UY.js.map} +1 -1
  191. package/chunk/{StepTeacherPersonalInfo-Bw1E5Mjo.js → StepTeacherPersonalInfo-CK9KHo6m.js} +9 -9
  192. package/chunk/{StepTeacherPersonalInfo-PSnqhgwN.js.map → StepTeacherPersonalInfo-CK9KHo6m.js.map} +1 -1
  193. package/chunk/StepThirdPartyLoop-CemU-J3W.js +4 -4
  194. package/chunk/StepThirdPartyLoop-DpCPBnq_.js +4 -4
  195. package/chunk/{TeacherSchoolComponent-CZ_Ju_nz.js → TeacherSchoolComponent-5NrzG4iI.js} +5 -5
  196. package/chunk/{TeacherSchoolComponent-CZ_Ju_nz.js.map → TeacherSchoolComponent-5NrzG4iI.js.map} +1 -1
  197. package/chunk/{TeacherSchoolComponent-Dfb49YI1.js → TeacherSchoolComponent-CqCF369X.js} +5 -5
  198. package/chunk/{TeacherSchoolComponent-Dfb49YI1.js.map → TeacherSchoolComponent-CqCF369X.js.map} +1 -1
  199. package/chunk/ThreatMetrix-BZ2mAsXV.js +4 -4
  200. package/chunk/ar-Dv80pKr-.js +4 -4
  201. package/chunk/bg-BdSc6G6N.js +4 -4
  202. package/chunk/bn-IN-CrUr8JOI.js +4 -4
  203. package/chunk/countryUtils-DaKrkKMK.js +4 -4
  204. package/chunk/countryUtils-H8nsbqSo.js +4 -4
  205. package/chunk/cs-DpA5-rH7.js +4 -4
  206. package/chunk/da-C3-FJEY_.js +4 -4
  207. package/chunk/de-jPL9fRXR.js +4 -4
  208. package/chunk/downshift.esm-Cj6_BOEM.js +4 -4
  209. package/chunk/downshift.esm-LvcDlmEB.js +4 -4
  210. package/chunk/el-DlrR5LMm.js +4 -4
  211. package/chunk/en-GB-W9d6ZCN1.js +4 -4
  212. package/chunk/es-B6OTYL4o.js +4 -4
  213. package/chunk/es-ES-xHUvZoL6.js +4 -4
  214. package/chunk/et-DslGQ4U9.js +4 -4
  215. package/chunk/fa-CyMH0fVT.js +4 -4
  216. package/chunk/fi-DlWjgmmJ.js +4 -4
  217. package/chunk/fr-CA-CNlAWAGz.js +4 -4
  218. package/chunk/fr-CKAMq4d5.js +4 -4
  219. package/chunk/ga-DtNqo3ZG.js +4 -4
  220. package/chunk/hi-IN-D_eGFRvE.js +4 -4
  221. package/chunk/hr-DTuTLrLg.js +4 -4
  222. package/chunk/hu-DSRQQvFq.js +4 -4
  223. package/chunk/id-Dt1qRS4w.js +4 -4
  224. package/chunk/is-DFKTfJF9.js +4 -4
  225. package/chunk/it-DAMkVYDo.js +4 -4
  226. package/chunk/iw-B-0MBQrz.js +4 -4
  227. package/chunk/ja-C5qGKliw.js +4 -4
  228. package/chunk/kk-Cv_pOPga.js +4 -4
  229. package/chunk/ko-DF10ih6D.js +4 -4
  230. package/chunk/lo-1CgtDqdu.js +4 -4
  231. package/chunk/lt-5ciyKS_n.js +4 -4
  232. package/chunk/lv-BVU8SzMV.js +4 -4
  233. package/chunk/mocks-BxRYqs3S.js +4 -4
  234. package/chunk/mocks-DhaSEfKH.js +4 -4
  235. package/chunk/ms-DfT-JI0V.js +4 -4
  236. package/chunk/nl-BE-DWOhBddM.js +4 -4
  237. package/chunk/nl-CAa4TZix.js +4 -4
  238. package/chunk/no-BDEZtPNY.js +4 -4
  239. package/chunk/pl-cJhZ0uIf.js +4 -4
  240. package/chunk/pt-BR-BRTaX_c8.js +4 -4
  241. package/chunk/pt-DUpqsAm0.js +4 -4
  242. package/chunk/ro-C7LObCGu.js +4 -4
  243. package/chunk/ru-Cn52qo44.js +4 -4
  244. package/chunk/sk-CyBj5Lrr.js +4 -4
  245. package/chunk/sl-B83EBD3O.js +4 -4
  246. package/chunk/sr-BWltsfGo.js +4 -4
  247. package/chunk/sv-WoxLH2NJ.js +4 -4
  248. package/chunk/sw-DVbHvR4N.js +4 -4
  249. package/chunk/ta-CCOsIMmw.js +4 -4
  250. package/chunk/th-OmrOHkUd.js +4 -4
  251. package/chunk/tl-SPm1AiBZ.js +4 -4
  252. package/chunk/tr-CaKTs3Fq.js +4 -4
  253. package/chunk/uk-BUsn2zPB.js +4 -4
  254. package/chunk/ur-Cm2EOQrR.js +4 -4
  255. package/chunk/{useCollectFieldsEndpoint-DAgrG_FJ.js → useCollectFieldsEndpoint-CWkFjx5s.js} +9 -9
  256. package/chunk/{useCollectFieldsEndpoint-DAgrG_FJ.js.map → useCollectFieldsEndpoint-CWkFjx5s.js.map} +1 -1
  257. package/chunk/{useCollectFieldsEndpoint-ielmtTHm.js → useCollectFieldsEndpoint-DgcqtYAq.js} +15 -15
  258. package/chunk/{useCollectFieldsEndpoint-ielmtTHm.js.map → useCollectFieldsEndpoint-DgcqtYAq.js.map} +1 -1
  259. package/chunk/useMetrics-BxQBcyhj.js +4 -4
  260. package/chunk/useMetrics-wi33JsKT.js +4 -4
  261. package/chunk/vi-gUtmT7wP.js +4 -4
  262. package/chunk/zh-Bri8XWQG.js +4 -4
  263. package/chunk/zh-HK-K7X0SaAv.js +4 -4
  264. package/chunk/zu-DPTVvU5o.js +4 -4
  265. package/package.json +1 -1
  266. package/sheerid-install.css +4 -4
  267. package/sheerid-install.js +4 -4
  268. package/sheerid.css +4 -4
  269. package/sheerid.js +1044 -1072
  270. package/sheerid.js.map +1 -1
@@ -1,14 +1,14 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.247.0
4
- * BUILD_TIMESTAMP: 1782324559119
5
- * BUILD_DATE: Wed Jun 24 2026 18:09:19 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 9f6149374ff98d68840b36c8f328051701206ef6
3
+ * VERSION: 2.248.0
4
+ * BUILD_TIMESTAMP: 1782334790592
5
+ * BUILD_DATE: Wed Jun 24 2026 20:59:50 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 8cb06b1fe5288b47f3dca59fb4c49ff9b8bc12b4
7
7
  */
8
8
  import { F as e, It as t, Lt as n, M as r, Pt as i, V as a, Y as o, _n as s, en as c, ft as l, mt as u, n as d, nn as f } from "../sheerid.js";
9
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-DE-ZE8nT.js";
9
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-Cuh_UEdw.js";
10
10
  import { n as y, t as b } from "./PersonalInfoStepSubmitButton-BLlwswI-.js";
11
- import { t as x } from "./ExtraMessage-WGe7ZQyg.js";
11
+ import { t as x } from "./ExtraMessage-CmZsLEQu.js";
12
12
  import { t as S } from "./ChangeLocaleComponent-B9FhViAh.js";
13
13
  import { t as C } from "./PersonalInfoStepWrapper-HXjWWCYf.js";
14
14
  import { t as w } from "./StateSelectComponent-nOsC00ex.js";
@@ -1 +1 @@
1
- {"version":3,"file":"StepDriverLicensePersonalInfoComponent-BbamyvXd.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;GACr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,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,GAEa,IAAyC,EAAW,CAA6B"}
1
+ {"version":3,"file":"StepDriverLicensePersonalInfoComponent-YmaqDbhD.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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AC,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"}
@@ -4,15 +4,15 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.247.0
8
- * BUILD_TIMESTAMP: 1782324564546
9
- * BUILD_DATE: Wed Jun 24 2026 18:09:24 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 9f6149374ff98d68840b36c8f328051701206ef6
7
+ * VERSION: 2.248.0
8
+ * BUILD_TIMESTAMP: 1782334794973
9
+ * BUILD_DATE: Wed Jun 24 2026 20:59:54 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 8cb06b1fe5288b47f3dca59fb4c49ff9b8bc12b4
11
11
  */
12
12
  import { B as e, Gt as t, J as n, Kt as r, P as i, St as a, gt as o, j as s, mt as c, pt as l, t as u, vn as d, wt as f } from "../_mysheerid-preview.js";
13
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-D0ddmO45.js";
13
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-C0umNe_d.js";
14
14
  import { n as y, t as b } from "./PersonalInfoStepSubmitButton-veY-9f10.js";
15
- import { t as x } from "./ExtraMessage-CcqDnr5y.js";
15
+ import { t as x } from "./ExtraMessage-DVAZbguB.js";
16
16
  import { t as S } from "./ChangeLocaleComponent-zT_LYIcp.js";
17
17
  import { t as C } from "./PersonalInfoStepWrapper-BiSzCAk8.js";
18
18
  import { t as w } from "./StateSelectComponent-CG87WpOW.js";
@@ -1 +1 @@
1
- {"version":3,"file":"StepDriverLicensePersonalInfoComponent-veSQF1xd.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,MAA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AEa,IAAyC,EAAW,CAA6B"}
1
+ {"version":3,"file":"StepDriverLicensePersonalInfoComponent-ro1ZZchn.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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,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,GAEa,IAAyC,EAAW,CAA6B"}
@@ -4,17 +4,17 @@
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.247.0
8
- * BUILD_TIMESTAMP: 1782324564546
9
- * BUILD_DATE: Wed Jun 24 2026 18:09:24 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 9f6149374ff98d68840b36c8f328051701206ef6
7
+ * VERSION: 2.248.0
8
+ * BUILD_TIMESTAMP: 1782334794973
9
+ * BUILD_DATE: Wed Jun 24 2026 20:59:54 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 8cb06b1fe5288b47f3dca59fb4c49ff9b8bc12b4
11
11
  */
12
- import { J as e, K as t, Kt as n, Q as r, gt as i, mt as a, pt as o, st as s, tt as c, vn as l, xn as u } from "../_mysheerid-preview.js";
12
+ import { J as e, K as t, Kt as n, Q as r, ct as i, gt as a, mt as o, pt as s, tt as c, vn as l, xn as u } from "../_mysheerid-preview.js";
13
13
  import { t as d } from "./FormFieldText-yR7hiQsc.js";
14
- import { t as f } from "./EmailLoopPending-DI76b6U9.js";
14
+ import { t as f } from "./EmailLoopPending-B3NjLevJ.js";
15
15
  //#region src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx
16
- var p = o(), m = ({ verificationService: i }) => {
17
- let o = i.viewModel, f = i.fieldValidationErrors, m = (i.verificationResponse?.errorIds || []).includes("invalidEmail");
16
+ var p = s(), m = ({ verificationService: a }) => {
17
+ let s = a.viewModel, f = a.fieldValidationErrors, m = (a.verificationResponse?.errorIds || []).includes("invalidEmail");
18
18
  return /* @__PURE__ */ (0, p.jsxs)(p.Fragment, { children: [/* @__PURE__ */ (0, p.jsxs)("div", {
19
19
  className: "sid-header sid-l-horz-center",
20
20
  children: [/* @__PURE__ */ (0, p.jsxs)("div", {
@@ -22,8 +22,8 @@ var p = o(), m = ({ verificationService: i }) => {
22
22
  children: [
23
23
  /* @__PURE__ */ (0, p.jsx)("div", {
24
24
  className: "sid-sso-logo-container sid-l-horz-center",
25
- children: /* @__PURE__ */ (0, p.jsx)(s, {
26
- verificationService: i,
25
+ children: /* @__PURE__ */ (0, p.jsx)(i, {
26
+ verificationService: a,
27
27
  fallbackLogo: /* @__PURE__ */ (0, p.jsx)("img", {
28
28
  className: "sid-sso-logo-default sid-l-lead-image",
29
29
  alt: "",
@@ -35,7 +35,7 @@ var p = o(), m = ({ verificationService: i }) => {
35
35
  className: "sid-preheader-label sid-l-space-top-md",
36
36
  children: /* @__PURE__ */ (0, p.jsx)("span", {
37
37
  className: "sid-h-label",
38
- children: /* @__PURE__ */ (0, p.jsx)(a, {
38
+ children: /* @__PURE__ */ (0, p.jsx)(o, {
39
39
  id: "instant",
40
40
  defaultMessage: "Instant"
41
41
  })
@@ -43,7 +43,7 @@ var p = o(), m = ({ verificationService: i }) => {
43
43
  }),
44
44
  /* @__PURE__ */ (0, p.jsx)(r, {
45
45
  align: "center",
46
- children: /* @__PURE__ */ (0, p.jsx)(a, {
46
+ children: /* @__PURE__ */ (0, p.jsx)(o, {
47
47
  id: "step.emailLoop.collectOrganizationEmail.title",
48
48
  defaultMessage: "Verify using your work email address",
49
49
  tagName: "h1"
@@ -51,7 +51,7 @@ var p = o(), m = ({ verificationService: i }) => {
51
51
  }),
52
52
  /* @__PURE__ */ (0, p.jsx)("div", {
53
53
  className: "sid-header__subtitle-one",
54
- children: /* @__PURE__ */ (0, p.jsx)(a, {
54
+ children: /* @__PURE__ */ (0, p.jsx)(o, {
55
55
  id: "step.emailLoop.collectOrganizationEmail.subtitle",
56
56
  defaultMessage: "Enter the email address provided by your employer and we'll send you a verification link"
57
57
  })
@@ -62,22 +62,22 @@ var p = o(), m = ({ verificationService: i }) => {
62
62
  children: [
63
63
  /* @__PURE__ */ (0, p.jsx)(d, {
64
64
  fieldId: "emailOverride",
65
- value: o.organizationEmail,
65
+ value: s.organizationEmail,
66
66
  onChange: (t) => {
67
- i.updateViewModel({
68
- ...o,
67
+ a.updateViewModel({
68
+ ...s,
69
69
  organizationEmail: t
70
- }), e("organizationEmail", t, i);
70
+ }), e("organizationEmail", t, a);
71
71
  },
72
72
  placeholder: "",
73
- label: /* @__PURE__ */ (0, p.jsx)(a, {
73
+ label: /* @__PURE__ */ (0, p.jsx)(o, {
74
74
  id: "step.emailLoop.collectOrganizationEmail.email.label",
75
75
  defaultMessage: "Work email address"
76
76
  }),
77
- errorMessage: m && /* @__PURE__ */ (0, p.jsx)(a, {
77
+ errorMessage: m && /* @__PURE__ */ (0, p.jsx)(o, {
78
78
  id: "step.emailLoop.errors.invalidEmail",
79
79
  defaultMessage: "This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below."
80
- }) || f.organizationEmail && /* @__PURE__ */ (0, p.jsx)(a, {
80
+ }) || f.organizationEmail && /* @__PURE__ */ (0, p.jsx)(o, {
81
81
  id: "emailIds.invalidEmail",
82
82
  defaultMessage: "Invalid email"
83
83
  })
@@ -88,10 +88,10 @@ var p = o(), m = ({ verificationService: i }) => {
88
88
  id: "sid-submit-btn-sso",
89
89
  type: "submit",
90
90
  disabled: !!f.organizationEmail,
91
- onClick: () => t(o, i, l.emailLoopCollectOrganizationEmail),
91
+ onClick: () => t(s, a, l.emailLoopCollectOrganizationEmail),
92
92
  className: "sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width ",
93
93
  "aria-label": "submit",
94
- children: /* @__PURE__ */ (0, p.jsx)(a, {
94
+ children: /* @__PURE__ */ (0, p.jsx)(o, {
95
95
  id: "step.emailLoop.collectOrganizationEmail.email.send",
96
96
  defaultMessage: "Send Email"
97
97
  })
@@ -102,14 +102,14 @@ var p = o(), m = ({ verificationService: i }) => {
102
102
  children: [
103
103
  /* @__PURE__ */ (0, p.jsx)("div", {
104
104
  className: "sid-header__subtitle-two sid-h-bold-text",
105
- children: /* @__PURE__ */ (0, p.jsx)(a, {
105
+ children: /* @__PURE__ */ (0, p.jsx)(o, {
106
106
  id: "step.emailLoop.collectOrganizationEmail.alternative",
107
107
  defaultMessage: "Unable to access a work email address?"
108
108
  })
109
109
  }),
110
110
  /* @__PURE__ */ (0, p.jsx)("div", {
111
111
  className: "sid-form-region sid-l-space-btm-sm sid-l-space-top-sm",
112
- children: /* @__PURE__ */ (0, p.jsx)(a, {
112
+ children: /* @__PURE__ */ (0, p.jsx)(o, {
113
113
  id: "step.sso.alternative",
114
114
  defaultMessage: "You can also verify by uploading proof of eligibility"
115
115
  })
@@ -119,12 +119,12 @@ var p = o(), m = ({ verificationService: i }) => {
119
119
  children: /* @__PURE__ */ (0, p.jsx)("button", {
120
120
  onClick: async () => {
121
121
  u.info("StepEmailLoopComponent submitting form after skipping email loop");
122
- let e = n(o, () => {});
123
- return i.submitStep(l.cancelEmailLoop, e, i.verificationResponse);
122
+ let e = n(s, () => {});
123
+ return a.submitStep(l.cancelEmailLoop, e, a.verificationResponse);
124
124
  },
125
125
  className: "sid-h-btn-link-like sid-link sid-h-bold-text",
126
126
  type: "button",
127
- children: /* @__PURE__ */ (0, p.jsx)(a, {
127
+ children: /* @__PURE__ */ (0, p.jsx)(o, {
128
128
  id: "step.sso.cancel",
129
129
  defaultMessage: "Upload Proof of Enrollment"
130
130
  })
@@ -135,8 +135,8 @@ var p = o(), m = ({ verificationService: i }) => {
135
135
  /* @__PURE__ */ (0, p.jsx)("div", { className: "sid-l-space-top-lg" })
136
136
  ]
137
137
  })]
138
- }), /* @__PURE__ */ (0, p.jsx)(c, { verificationService: i })] });
139
- }, h = i(({ verificationService: e }) => /* @__PURE__ */ (0, p.jsx)("div", {
138
+ }), /* @__PURE__ */ (0, p.jsx)(c, { verificationService: a })] });
139
+ }, h = a(({ verificationService: e }) => /* @__PURE__ */ (0, p.jsx)("div", {
140
140
  id: "sid-step-email-loop",
141
141
  className: "sid-step-email-loop-container sid-l-container",
142
142
  children: e.verificationResponse.currentState === "collectOrganizationEmail" ? /* @__PURE__ */ (0, p.jsx)(m, { verificationService: e }) : /* @__PURE__ */ (0, p.jsx)(f, { verificationService: e })
@@ -1 +1 @@
1
- {"version":3,"file":"StepEmailLoop-DsL4IHH7.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\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import { 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":";;;;aAmBa,KAAqC,EAChD,6BAGI;CACJ,IAAM,IAAY,EAAoB,WAChC,IAAwB,EAAoB,uBAC5C,KAAqB,EAAoB,sBAAsB,YAAY,CAAC,GAAG,SACnF,cACF;CAqBA,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,iBAAA,GAAA,EAAA,KAAC,OAAD;OACE,WAAU;OACV,KAAI;OACJ,KAAI;MACL,CAAA;KAEJ,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,OAAD;GAAK,WAAU;aAAf;IACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,SAAQ;KACR,OAAO,EAA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oBACtB;QACF;QAoGc,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,GCxIa,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-B09M3kHx.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\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import { 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":";;;;aAmBa,KAAqC,EAChD,6BAGI;CACJ,IAAM,IAAY,EAAoB,WAChC,IAAwB,EAAoB,uBAC5C,KAAqB,EAAoB,sBAAsB,YAAY,CAAC,GAAG,SACnF,cACF;CAqBA,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,iBAAA,GAAA,EAAA,KAAC,OAAD;OACE,WAAU;OACV,KAAI;OACJ,KAAI;MACL,CAAA;KAEJ,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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A,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;OAChB,CAAA;MACE,CAAA;MACL,iBAAA,GAAA,EAAA,KAAC,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,YA3Ga;SAClC,EAAO,KAAK,kEAAkE;SAC9E,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;SAC7C,OAAO,EAAoB,WACzB,EAAsB,iBACtB,GACA,EAAoB,oBACtB;QACF;QAoGc,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,GCxIa,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,13 +1,13 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.247.0
4
- * BUILD_TIMESTAMP: 1782324559119
5
- * BUILD_DATE: Wed Jun 24 2026 18:09:19 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 9f6149374ff98d68840b36c8f328051701206ef6
3
+ * VERSION: 2.248.0
4
+ * BUILD_TIMESTAMP: 1782334790592
5
+ * BUILD_DATE: Wed Jun 24 2026 20:59:50 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 8cb06b1fe5288b47f3dca59fb4c49ff9b8bc12b4
7
7
  */
8
- import { $ as e, Lt as t, Pt as n, Y as r, _n as i, ct as a, en as o, nn as s, nt as c, q as l, yn as u } from "../sheerid.js";
8
+ import { $ as e, Lt as t, Pt as n, Y as r, _n as i, en as a, lt as o, nn as s, nt as c, q as l, yn as u } from "../sheerid.js";
9
9
  import { t as d } from "./FormFieldText-BtlTdgzX.js";
10
- import { t as f } from "./EmailLoopPending-nqmGJQhh.js";
10
+ import { t as f } from "./EmailLoopPending-CsLNydVl.js";
11
11
  //#region src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx
12
12
  var p = n(), m = ({ verificationService: n }) => {
13
13
  let s = n.viewModel, f = n.fieldValidationErrors, m = (n.verificationResponse?.errorIds || []).includes("invalidEmail");
@@ -18,7 +18,7 @@ var p = n(), m = ({ verificationService: n }) => {
18
18
  children: [
19
19
  /* @__PURE__ */ (0, p.jsx)("div", {
20
20
  className: "sid-sso-logo-container sid-l-horz-center",
21
- children: /* @__PURE__ */ (0, p.jsx)(a, {
21
+ children: /* @__PURE__ */ (0, p.jsx)(o, {
22
22
  verificationService: n,
23
23
  fallbackLogo: /* @__PURE__ */ (0, p.jsx)("img", {
24
24
  className: "sid-sso-logo-default sid-l-lead-image",
@@ -31,7 +31,7 @@ var p = n(), m = ({ verificationService: n }) => {
31
31
  className: "sid-preheader-label sid-l-space-top-md",
32
32
  children: /* @__PURE__ */ (0, p.jsx)("span", {
33
33
  className: "sid-h-label",
34
- children: /* @__PURE__ */ (0, p.jsx)(o, {
34
+ children: /* @__PURE__ */ (0, p.jsx)(a, {
35
35
  id: "instant",
36
36
  defaultMessage: "Instant"
37
37
  })
@@ -39,7 +39,7 @@ var p = n(), m = ({ verificationService: n }) => {
39
39
  }),
40
40
  /* @__PURE__ */ (0, p.jsx)(e, {
41
41
  align: "center",
42
- children: /* @__PURE__ */ (0, p.jsx)(o, {
42
+ children: /* @__PURE__ */ (0, p.jsx)(a, {
43
43
  id: "step.emailLoop.collectOrganizationEmail.title",
44
44
  defaultMessage: "Verify using your work email address",
45
45
  tagName: "h1"
@@ -47,7 +47,7 @@ var p = n(), m = ({ verificationService: n }) => {
47
47
  }),
48
48
  /* @__PURE__ */ (0, p.jsx)("div", {
49
49
  className: "sid-header__subtitle-one",
50
- children: /* @__PURE__ */ (0, p.jsx)(o, {
50
+ children: /* @__PURE__ */ (0, p.jsx)(a, {
51
51
  id: "step.emailLoop.collectOrganizationEmail.subtitle",
52
52
  defaultMessage: "Enter the email address provided by your employer and we'll send you a verification link"
53
53
  })
@@ -66,14 +66,14 @@ var p = n(), m = ({ verificationService: n }) => {
66
66
  }), r("organizationEmail", e, n);
67
67
  },
68
68
  placeholder: "",
69
- label: /* @__PURE__ */ (0, p.jsx)(o, {
69
+ label: /* @__PURE__ */ (0, p.jsx)(a, {
70
70
  id: "step.emailLoop.collectOrganizationEmail.email.label",
71
71
  defaultMessage: "Work email address"
72
72
  }),
73
- errorMessage: m && /* @__PURE__ */ (0, p.jsx)(o, {
73
+ errorMessage: m && /* @__PURE__ */ (0, p.jsx)(a, {
74
74
  id: "step.emailLoop.errors.invalidEmail",
75
75
  defaultMessage: "This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below."
76
- }) || f.organizationEmail && /* @__PURE__ */ (0, p.jsx)(o, {
76
+ }) || f.organizationEmail && /* @__PURE__ */ (0, p.jsx)(a, {
77
77
  id: "emailIds.invalidEmail",
78
78
  defaultMessage: "Invalid email"
79
79
  })
@@ -87,7 +87,7 @@ var p = n(), m = ({ verificationService: n }) => {
87
87
  onClick: () => l(s, n, i.emailLoopCollectOrganizationEmail),
88
88
  className: "sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width ",
89
89
  "aria-label": "submit",
90
- children: /* @__PURE__ */ (0, p.jsx)(o, {
90
+ children: /* @__PURE__ */ (0, p.jsx)(a, {
91
91
  id: "step.emailLoop.collectOrganizationEmail.email.send",
92
92
  defaultMessage: "Send Email"
93
93
  })
@@ -98,14 +98,14 @@ var p = n(), m = ({ verificationService: n }) => {
98
98
  children: [
99
99
  /* @__PURE__ */ (0, p.jsx)("div", {
100
100
  className: "sid-header__subtitle-two sid-h-bold-text",
101
- children: /* @__PURE__ */ (0, p.jsx)(o, {
101
+ children: /* @__PURE__ */ (0, p.jsx)(a, {
102
102
  id: "step.emailLoop.collectOrganizationEmail.alternative",
103
103
  defaultMessage: "Unable to access a work email address?"
104
104
  })
105
105
  }),
106
106
  /* @__PURE__ */ (0, p.jsx)("div", {
107
107
  className: "sid-form-region sid-l-space-btm-sm sid-l-space-top-sm",
108
- children: /* @__PURE__ */ (0, p.jsx)(o, {
108
+ children: /* @__PURE__ */ (0, p.jsx)(a, {
109
109
  id: "step.sso.alternative",
110
110
  defaultMessage: "You can also verify by uploading proof of eligibility"
111
111
  })
@@ -120,7 +120,7 @@ var p = n(), m = ({ verificationService: n }) => {
120
120
  },
121
121
  className: "sid-h-btn-link-like sid-link sid-h-bold-text",
122
122
  type: "button",
123
- children: /* @__PURE__ */ (0, p.jsx)(o, {
123
+ children: /* @__PURE__ */ (0, p.jsx)(a, {
124
124
  id: "step.sso.cancel",
125
125
  defaultMessage: "Upload Proof of Enrollment"
126
126
  })
@@ -1 +1 @@
1
- {"version":3,"file":"StepEmailLoop-FytSYfcH.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\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import { 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":";;;;aAmBa,KAAqC,EAChD,6BAGI;CACJ,IAAM,IAAY,EAAoB,WAChC,IAAwB,EAAoB,uBAC5C,KAAqB,EAAoB,sBAAsB,YAAY,CAAC,GAAG,SACnF,cACF;CAqBA,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,GAA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BAAsB,CAAA;AAErE,CAAA,CAIqD"}
1
+ {"version":3,"file":"StepEmailLoop-BK-jB2V7.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\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import { 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 StepEmailLoopCom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AChB,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,GCxIa,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,21 +1,21 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.247.0
4
- * BUILD_TIMESTAMP: 1782324559119
5
- * BUILD_DATE: Wed Jun 24 2026 18:09:19 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 9f6149374ff98d68840b36c8f328051701206ef6
3
+ * VERSION: 2.248.0
4
+ * BUILD_TIMESTAMP: 1782334790592
5
+ * BUILD_DATE: Wed Jun 24 2026 20:59:50 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 8cb06b1fe5288b47f3dca59fb4c49ff9b8bc12b4
7
7
  */
8
8
  import { F as e, It as t, K as n, Lt as r, M as i, Pt as a, V as o, X as s, Y as c, _n as l, bt as u, en as d, n as f, nn as p } from "../sheerid.js";
9
- import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-DE-ZE8nT.js";
9
+ import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-Cuh_UEdw.js";
10
10
  import { n as b, t as x } from "./PersonalInfoStepSubmitButton-BLlwswI-.js";
11
11
  import { t as S } from "./PostalCodeComponent-lrJGRros.js";
12
12
  import { t as C } from "./CountryComponentWrapper-ZvBsjX0l.js";
13
13
  import { t as w } from "./City-DjkeTI1V.js";
14
14
  import { t as T } from "./AddressComponent-Bukkdb4u.js";
15
- import { t as E } from "./ExtraMessage-WGe7ZQyg.js";
15
+ import { t as E } from "./ExtraMessage-CmZsLEQu.js";
16
16
  import { t as D } from "./ChangeLocaleComponent-B9FhViAh.js";
17
17
  import { t as O } from "./PersonalInfoStepWrapper-HXjWWCYf.js";
18
- import { t as k } from "./FormFieldTypeahead-ChF6x24k.js";
18
+ import { t as k } from "./FormFieldTypeahead-CH_TSGle.js";
19
19
  import { t as A } from "./StateSelectComponent-nOsC00ex.js";
20
20
  //#region src/components/FormFields/Company/CompanyComponent.tsx
21
21
  var j = a(), M = p(({ value: t, isErrored: n, onChange: r, verificationService: i, intl: a, placeholder: o = "", disabled: s = !1 }) => e("organization")?.hidden ? null : /* @__PURE__ */ (0, j.jsx)(k, {