@sheerid/jslib 2.252.0 → 2.254.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 (395) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +46 -46
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-DSxFIF4x.js → AddressComponent-DMwOmjiG.js} +6 -6
  5. package/chunk/{AddressComponent-DSxFIF4x.js.map → AddressComponent-DMwOmjiG.js.map} +1 -1
  6. package/chunk/{AddressComponent-DzD9VVa_.js → AddressComponent-DluNaOpg.js} +6 -6
  7. package/chunk/{AddressComponent-DzD9VVa_.js.map → AddressComponent-DluNaOpg.js.map} +1 -1
  8. package/chunk/{AnnouncingHeader-CXeTT64m.js → AnnouncingHeader-BZreAj2L.js} +6 -6
  9. package/chunk/{AnnouncingHeader-CLDpHgl_.js.map → AnnouncingHeader-BZreAj2L.js.map} +1 -1
  10. package/chunk/{AnnouncingHeader-CLDpHgl_.js → AnnouncingHeader-DjgtqEeX.js} +6 -6
  11. package/chunk/{AnnouncingHeader-CXeTT64m.js.map → AnnouncingHeader-DjgtqEeX.js.map} +1 -1
  12. package/chunk/{ApiUrls-B_EvoEh6.js → ApiUrls-BZ25S7H4.js} +6 -6
  13. package/chunk/{ApiUrls--DdrEkPe.js.map → ApiUrls-BZ25S7H4.js.map} +1 -1
  14. package/chunk/{ApiUrls--DdrEkPe.js → ApiUrls-DjOvLZXu.js} +6 -6
  15. package/chunk/{ApiUrls-B_EvoEh6.js.map → ApiUrls-DjOvLZXu.js.map} +1 -1
  16. package/chunk/{BirthDateComponent-Cy8ZXEl7.js → BirthDateComponent-B3W7JMzg.js} +7 -7
  17. package/chunk/{BirthDateComponent-BHIU3Biw.js.map → BirthDateComponent-B3W7JMzg.js.map} +1 -1
  18. package/chunk/{BirthDateComponent-BHIU3Biw.js → BirthDateComponent-BkIO_3Qj.js} +7 -7
  19. package/chunk/{BirthDateComponent-Cy8ZXEl7.js.map → BirthDateComponent-BkIO_3Qj.js.map} +1 -1
  20. package/chunk/{CaptchaComponent-BxNyzcXf.js → CaptchaComponent-MICPCxe2.js} +14 -14
  21. package/chunk/{CaptchaComponent-BORHB7bO.js.map → CaptchaComponent-MICPCxe2.js.map} +1 -1
  22. package/chunk/{CaptchaComponent-BORHB7bO.js → CaptchaComponent-pcbICyEB.js} +14 -14
  23. package/chunk/{CaptchaComponent-BxNyzcXf.js.map → CaptchaComponent-pcbICyEB.js.map} +1 -1
  24. package/chunk/{ChangeLocaleComponent-D-DQnbPA.js → ChangeLocaleComponent-Dy8pPz6F.js} +7 -7
  25. package/chunk/{ChangeLocaleComponent-D-DQnbPA.js.map → ChangeLocaleComponent-Dy8pPz6F.js.map} +1 -1
  26. package/chunk/{ChangeLocaleComponent-idsSKpgP.js → ChangeLocaleComponent-JRwy7sAI.js} +7 -7
  27. package/chunk/{ChangeLocaleComponent-idsSKpgP.js.map → ChangeLocaleComponent-JRwy7sAI.js.map} +1 -1
  28. package/chunk/{City-CL6havrT.js → City-BP95fpVf.js} +6 -6
  29. package/chunk/{City-BykM6lTM.js.map → City-BP95fpVf.js.map} +1 -1
  30. package/chunk/{City-BykM6lTM.js → City-CmO85Z9x.js} +6 -6
  31. package/chunk/{City-CL6havrT.js.map → City-CmO85Z9x.js.map} +1 -1
  32. package/chunk/{CollegeNameComponent-5BVjBNq0.js → CollegeNameComponent-Cag9OXO6.js} +8 -8
  33. package/chunk/{CollegeNameComponent-5BVjBNq0.js.map → CollegeNameComponent-Cag9OXO6.js.map} +1 -1
  34. package/chunk/{CollegeNameComponent-C9i2FJFx.js → CollegeNameComponent-Yn_65Dxc.js} +8 -8
  35. package/chunk/{CollegeNameComponent-C9i2FJFx.js.map → CollegeNameComponent-Yn_65Dxc.js.map} +1 -1
  36. package/chunk/{CopyToClipboardComponent-CyzLvXQJ.js → CopyToClipboardComponent-1BeB_oX_.js} +6 -6
  37. package/chunk/{CopyToClipboardComponent-B2uEMMpR.js.map → CopyToClipboardComponent-1BeB_oX_.js.map} +1 -1
  38. package/chunk/{CopyToClipboardComponent-B2uEMMpR.js → CopyToClipboardComponent-6MY3v7_-.js} +6 -6
  39. package/chunk/{CopyToClipboardComponent-CyzLvXQJ.js.map → CopyToClipboardComponent-6MY3v7_-.js.map} +1 -1
  40. package/chunk/{CountryComponentWrapper-CaYmSjkG.js → CountryComponentWrapper-M91KUviZ.js} +9 -9
  41. package/chunk/{CountryComponentWrapper-CaYmSjkG.js.map → CountryComponentWrapper-M91KUviZ.js.map} +1 -1
  42. package/chunk/{CountryComponentWrapper-CcHQo8OH.js → CountryComponentWrapper-Wa7Rjbtc.js} +9 -9
  43. package/chunk/{CountryComponentWrapper-CcHQo8OH.js.map → CountryComponentWrapper-Wa7Rjbtc.js.map} +1 -1
  44. package/chunk/{DischargeDateComponent-AcgnEjpb.js → DischargeDateComponent-BE1tHQBy.js} +10 -10
  45. package/chunk/{DischargeDateComponent-AcgnEjpb.js.map → DischargeDateComponent-BE1tHQBy.js.map} +1 -1
  46. package/chunk/{DischargeDateComponent-DdE_EyqK.js → DischargeDateComponent-DezI3rnz.js} +10 -10
  47. package/chunk/{DischargeDateComponent-DdE_EyqK.js.map → DischargeDateComponent-DezI3rnz.js.map} +1 -1
  48. package/chunk/{DriverLicenseNumberComponent-D9SDRAeV.js → DriverLicenseNumberComponent-CQeKZs0G.js} +6 -6
  49. package/chunk/{DriverLicenseNumberComponent-D9SDRAeV.js.map → DriverLicenseNumberComponent-CQeKZs0G.js.map} +1 -1
  50. package/chunk/{DriverLicenseNumberComponent-DYEKIU1G.js → DriverLicenseNumberComponent-DgXMM-Pt.js} +6 -6
  51. package/chunk/{DriverLicenseNumberComponent-DYEKIU1G.js.map → DriverLicenseNumberComponent-DgXMM-Pt.js.map} +1 -1
  52. package/chunk/{EmailLoopPending-1aY4gWSW.js → EmailLoopPending-DOVSvcGk.js} +9 -9
  53. package/chunk/{EmailLoopPending-1aY4gWSW.js.map → EmailLoopPending-DOVSvcGk.js.map} +1 -1
  54. package/chunk/{EmailLoopPending-CohuDy06.js → EmailLoopPending-SfnVPGBO.js} +9 -9
  55. package/chunk/{EmailLoopPending-CohuDy06.js.map → EmailLoopPending-SfnVPGBO.js.map} +1 -1
  56. package/chunk/{ExtraMessage-CN18YvZT.js → ExtraMessage-LbqL3mld.js} +7 -7
  57. package/chunk/{ExtraMessage-CN18YvZT.js.map → ExtraMessage-LbqL3mld.js.map} +1 -1
  58. package/chunk/{ExtraMessage-x7BWw0ei.js → ExtraMessage-LslZ9JEE.js} +7 -7
  59. package/chunk/{ExtraMessage-x7BWw0ei.js.map → ExtraMessage-LslZ9JEE.js.map} +1 -1
  60. package/chunk/{FirstResponderOrganizationComponent-gE3uH_Qu.js → FirstResponderOrganizationComponent-CCvYYUXM.js} +7 -7
  61. package/chunk/{FirstResponderOrganizationComponent-CFtRv00U.js.map → FirstResponderOrganizationComponent-CCvYYUXM.js.map} +1 -1
  62. package/chunk/{FirstResponderOrganizationComponent-CFtRv00U.js → FirstResponderOrganizationComponent-CudC3zEE.js} +7 -7
  63. package/chunk/{FirstResponderOrganizationComponent-gE3uH_Qu.js.map → FirstResponderOrganizationComponent-CudC3zEE.js.map} +1 -1
  64. package/chunk/{FormFieldInputSelect-BBmkWo4W.js → FormFieldInputSelect-Bj9SIl9y.js} +7 -7
  65. package/chunk/{FormFieldInputSelect-BBmkWo4W.js.map → FormFieldInputSelect-Bj9SIl9y.js.map} +1 -1
  66. package/chunk/{FormFieldInputSelect-D2TcQH6v.js → FormFieldInputSelect-CBpqcugO.js} +7 -7
  67. package/chunk/{FormFieldInputSelect-D2TcQH6v.js.map → FormFieldInputSelect-CBpqcugO.js.map} +1 -1
  68. package/chunk/{FormFieldLayout-D8zi4UuO.js → FormFieldLayout-CUA-PItd.js} +6 -6
  69. package/chunk/{FormFieldLayout-D8zi4UuO.js.map → FormFieldLayout-CUA-PItd.js.map} +1 -1
  70. package/chunk/{FormFieldLayout-CMLqr9t1.js → FormFieldLayout-DIcCOsGu.js} +6 -6
  71. package/chunk/{FormFieldLayout-CMLqr9t1.js.map → FormFieldLayout-DIcCOsGu.js.map} +1 -1
  72. package/chunk/{FormFieldText-DJOFzwWN.js → FormFieldText-BeEhq8Kc.js} +7 -7
  73. package/chunk/{FormFieldText-Cn6-0trL.js.map → FormFieldText-BeEhq8Kc.js.map} +1 -1
  74. package/chunk/{FormFieldText-Cn6-0trL.js → FormFieldText-zjWk7Cyc.js} +7 -7
  75. package/chunk/{FormFieldText-DJOFzwWN.js.map → FormFieldText-zjWk7Cyc.js.map} +1 -1
  76. package/chunk/{FormFieldTypeahead-DgFoEFiI.js → FormFieldTypeahead-CPFEA8e3.js} +13 -13
  77. package/chunk/{FormFieldTypeahead-DgFoEFiI.js.map → FormFieldTypeahead-CPFEA8e3.js.map} +1 -1
  78. package/chunk/{FormFieldTypeahead-owJNEvXI.js → FormFieldTypeahead-DnyLooZL.js} +13 -13
  79. package/chunk/{FormFieldTypeahead-owJNEvXI.js.map → FormFieldTypeahead-DnyLooZL.js.map} +1 -1
  80. package/chunk/{FormFooterComponent-DhQaJMxV.js → FormFooterComponent-CPP8uPKu.js} +1420 -1323
  81. package/chunk/FormFooterComponent-CPP8uPKu.js.map +1 -0
  82. package/chunk/{FormFooterComponent-CetDNO5o.js → FormFooterComponent-DmCwOlhB.js} +259 -162
  83. package/chunk/FormFooterComponent-DmCwOlhB.js.map +1 -0
  84. package/chunk/{FormSelectChoice-BhhHyaEw.js → FormSelectChoice-B77X0Ad1.js} +8 -8
  85. package/chunk/{FormSelectChoice-BhhHyaEw.js.map → FormSelectChoice-B77X0Ad1.js.map} +1 -1
  86. package/chunk/{FormSelectChoice-osDN1oLh.js → FormSelectChoice-EZ9fIKhd.js} +8 -8
  87. package/chunk/{FormSelectChoice-osDN1oLh.js.map → FormSelectChoice-EZ9fIKhd.js.map} +1 -1
  88. package/chunk/{InputText-CJnffm2K.js → InputText-Bzkl8mKj.js} +7 -7
  89. package/chunk/{InputText-BWuKLYeX.js.map → InputText-Bzkl8mKj.js.map} +1 -1
  90. package/chunk/{InputText-BWuKLYeX.js → InputText-CkDvaW9P.js} +7 -7
  91. package/chunk/{InputText-CJnffm2K.js.map → InputText-CkDvaW9P.js.map} +1 -1
  92. package/chunk/{LicensedProfessionalOrganizationComponent-Bs2Bbby5.js → LicensedProfessionalOrganizationComponent-Boiyi6cm.js} +7 -7
  93. package/chunk/{LicensedProfessionalOrganizationComponent-Bs2Bbby5.js.map → LicensedProfessionalOrganizationComponent-Boiyi6cm.js.map} +1 -1
  94. package/chunk/{LicensedProfessionalOrganizationComponent-C2rj3igZ.js → LicensedProfessionalOrganizationComponent-CZeobvM5.js} +7 -7
  95. package/chunk/{LicensedProfessionalOrganizationComponent-C2rj3igZ.js.map → LicensedProfessionalOrganizationComponent-CZeobvM5.js.map} +1 -1
  96. package/chunk/{LogoComponent-DgxgyyEk.js → LogoComponent-BMeuu-aK.js} +6 -6
  97. package/chunk/{LogoComponent-DgxgyyEk.js.map → LogoComponent-BMeuu-aK.js.map} +1 -1
  98. package/chunk/{LogoComponent-x1hhyiZ7.js → LogoComponent-CFPoRk_q.js} +6 -6
  99. package/chunk/{LogoComponent-x1hhyiZ7.js.map → LogoComponent-CFPoRk_q.js.map} +1 -1
  100. package/chunk/{LowIncomeOrganizationComponent-D-nhX8iT.js → LowIncomeOrganizationComponent-BU4PsgrN.js} +11 -11
  101. package/chunk/{LowIncomeOrganizationComponent-CUp0Zwff.js.map → LowIncomeOrganizationComponent-BU4PsgrN.js.map} +1 -1
  102. package/chunk/{LowIncomeOrganizationComponent-CUp0Zwff.js → LowIncomeOrganizationComponent-vALxp_n0.js} +11 -11
  103. package/chunk/{LowIncomeOrganizationComponent-D-nhX8iT.js.map → LowIncomeOrganizationComponent-vALxp_n0.js.map} +1 -1
  104. package/chunk/{MedicalProfessionalOrganizationComponent-DDOdWW0l.js → MedicalProfessionalOrganizationComponent-BxEdx7kR.js} +7 -7
  105. package/chunk/{MedicalProfessionalOrganizationComponent-CPj_iPSu.js.map → MedicalProfessionalOrganizationComponent-BxEdx7kR.js.map} +1 -1
  106. package/chunk/{MedicalProfessionalOrganizationComponent-CPj_iPSu.js → MedicalProfessionalOrganizationComponent-CZ9jqdI4.js} +7 -7
  107. package/chunk/{MedicalProfessionalOrganizationComponent-DDOdWW0l.js.map → MedicalProfessionalOrganizationComponent-CZ9jqdI4.js.map} +1 -1
  108. package/chunk/{MemberIdComponent-CCd021Y2.js → MemberIdComponent-D_KVob09.js} +6 -6
  109. package/chunk/{MemberIdComponent-CCd021Y2.js.map → MemberIdComponent-D_KVob09.js.map} +1 -1
  110. package/chunk/{MemberIdComponent-lHRDd-GD.js → MemberIdComponent-Dva2Xx7J.js} +6 -6
  111. package/chunk/{MemberIdComponent-lHRDd-GD.js.map → MemberIdComponent-Dva2Xx7J.js.map} +1 -1
  112. package/chunk/{MembershipOrganizationComponent-DFlV9g62.js → MembershipOrganizationComponent-BgBt98NY.js} +7 -7
  113. package/chunk/{MembershipOrganizationComponent-C4Lq8DDO.js.map → MembershipOrganizationComponent-BgBt98NY.js.map} +1 -1
  114. package/chunk/{MembershipOrganizationComponent-C4Lq8DDO.js → MembershipOrganizationComponent-nNE1RJkt.js} +7 -7
  115. package/chunk/{MembershipOrganizationComponent-DFlV9g62.js.map → MembershipOrganizationComponent-nNE1RJkt.js.map} +1 -1
  116. package/chunk/Onfido-CTCgAwnB.js +4 -4
  117. package/chunk/{PersonalInfoStepSubmitButton-Do9s_cOU.js → PersonalInfoStepSubmitButton-CdweyyxM.js} +10 -10
  118. package/chunk/{PersonalInfoStepSubmitButton-BQc65TXU.js.map → PersonalInfoStepSubmitButton-CdweyyxM.js.map} +1 -1
  119. package/chunk/{PersonalInfoStepSubmitButton-BQc65TXU.js → PersonalInfoStepSubmitButton-Ywai8bYu.js} +10 -10
  120. package/chunk/{PersonalInfoStepSubmitButton-Do9s_cOU.js.map → PersonalInfoStepSubmitButton-Ywai8bYu.js.map} +1 -1
  121. package/chunk/{PersonalInfoStepWrapper-CZNsVG-R.js → PersonalInfoStepWrapper-CqaYGNTV.js} +7 -7
  122. package/chunk/{PersonalInfoStepWrapper-CZNsVG-R.js.map → PersonalInfoStepWrapper-CqaYGNTV.js.map} +1 -1
  123. package/chunk/{PersonalInfoStepWrapper-BdHSrD2_.js → PersonalInfoStepWrapper-NXxRgQuY.js} +8 -8
  124. package/chunk/{PersonalInfoStepWrapper-BdHSrD2_.js.map → PersonalInfoStepWrapper-NXxRgQuY.js.map} +1 -1
  125. package/chunk/{PostalCodeComponent-DNUVgwF3.js → PostalCodeComponent-C97fgZFI.js} +6 -6
  126. package/chunk/{PostalCodeComponent-1-YsGlqY.js.map → PostalCodeComponent-C97fgZFI.js.map} +1 -1
  127. package/chunk/{PostalCodeComponent-1-YsGlqY.js → PostalCodeComponent-YFm2z5qa.js} +6 -6
  128. package/chunk/{PostalCodeComponent-DNUVgwF3.js.map → PostalCodeComponent-YFm2z5qa.js.map} +1 -1
  129. package/chunk/{SSN-BbJApc2I.js → SSN-CtVtLOD7.js} +7 -7
  130. package/chunk/{SSN-BX8TdkJC.js.map → SSN-CtVtLOD7.js.map} +1 -1
  131. package/chunk/{SSN-BX8TdkJC.js → SSN-mk_cMbDH.js} +7 -7
  132. package/chunk/{SSN-BbJApc2I.js.map → SSN-mk_cMbDH.js.map} +1 -1
  133. package/chunk/{StateSelectComponent-6kUzcwCo.js → StateSelectComponent-Bg87jZCc.js} +6 -6
  134. package/chunk/{StateSelectComponent-6kUzcwCo.js.map → StateSelectComponent-Bg87jZCc.js.map} +1 -1
  135. package/chunk/{StateSelectComponent-BSKKl9wF.js → StateSelectComponent-Ch974L0I.js} +6 -6
  136. package/chunk/{StateSelectComponent-BSKKl9wF.js.map → StateSelectComponent-Ch974L0I.js.map} +1 -1
  137. package/chunk/{StatusComponent-B68ABFjx.js → StatusComponent-I3YPh5p4.js} +7 -7
  138. package/chunk/{StatusComponent-B68ABFjx.js.map → StatusComponent-I3YPh5p4.js.map} +1 -1
  139. package/chunk/{StatusComponent-CV8Vb5eJ.js → StatusComponent-UzkZVeMY.js} +7 -7
  140. package/chunk/{StatusComponent-CV8Vb5eJ.js.map → StatusComponent-UzkZVeMY.js.map} +1 -1
  141. package/chunk/{StepActiveMilitaryPersonalInfoComponent-C8i62pcJ.js → StepActiveMilitaryPersonalInfoComponent-B75yHW35.js} +18 -18
  142. package/chunk/{StepActiveMilitaryPersonalInfoComponent-C8i62pcJ.js.map → StepActiveMilitaryPersonalInfoComponent-B75yHW35.js.map} +1 -1
  143. package/chunk/{StepActiveMilitaryPersonalInfoComponent-hoa8SxRd.js → StepActiveMilitaryPersonalInfoComponent-r8Qz3GNJ.js} +18 -18
  144. package/chunk/{StepActiveMilitaryPersonalInfoComponent-hoa8SxRd.js.map → StepActiveMilitaryPersonalInfoComponent-r8Qz3GNJ.js.map} +1 -1
  145. package/chunk/{StepAgePersonalInfo-BFhsxBUD.js → StepAgePersonalInfo-5ZaquvYa.js} +18 -18
  146. package/chunk/{StepAgePersonalInfo-BFhsxBUD.js.map → StepAgePersonalInfo-5ZaquvYa.js.map} +1 -1
  147. package/chunk/{StepAgePersonalInfo-DIWqbP3p.js → StepAgePersonalInfo-DKGjxnKb.js} +18 -18
  148. package/chunk/{StepAgePersonalInfo-DIWqbP3p.js.map → StepAgePersonalInfo-DKGjxnKb.js.map} +1 -1
  149. package/chunk/{StepCard-BEbyMH-c.js → StepCard-7t2vkHqM.js} +5 -5
  150. package/chunk/{StepCard-BEbyMH-c.js.map → StepCard-7t2vkHqM.js.map} +1 -1
  151. package/chunk/{StepCard-DRPVd5Xe.js → StepCard-BF_RD7Rd.js} +5 -5
  152. package/chunk/{StepCard-DRPVd5Xe.js.map → StepCard-BF_RD7Rd.js.map} +1 -1
  153. package/chunk/{StepCollectIdentifier-BSK3qDAU.js → StepCollectIdentifier-B8dhF_WT.js} +8 -8
  154. package/chunk/{StepCollectIdentifier-Cy2aeT_j.js.map → StepCollectIdentifier-B8dhF_WT.js.map} +1 -1
  155. package/chunk/{StepCollectIdentifier-Cy2aeT_j.js → StepCollectIdentifier-Cn01j3Iz.js} +8 -8
  156. package/chunk/{StepCollectIdentifier-BSK3qDAU.js.map → StepCollectIdentifier-Cn01j3Iz.js.map} +1 -1
  157. package/chunk/StepCollectMilitaryStatusComponent-DVUDBKUN.js +9 -0
  158. package/chunk/{StepCollectMilitaryStatusComponent-B0D4F5Hd.js → StepCollectMilitaryStatusComponent-Dg9WI4iL.js} +5 -5
  159. package/chunk/{StepCollectPersonalInfo-DrWJrhte.js → StepCollectPersonalInfo-BTLSG03E.js} +30 -30
  160. package/chunk/{StepCollectPersonalInfo-DrWJrhte.js.map → StepCollectPersonalInfo-BTLSG03E.js.map} +1 -1
  161. package/chunk/{StepCollectPersonalInfo-BhRo5AZW.js → StepCollectPersonalInfo-DWkPjpLM.js} +30 -30
  162. package/chunk/{StepCollectPersonalInfo-BhRo5AZW.js.map → StepCollectPersonalInfo-DWkPjpLM.js.map} +1 -1
  163. package/chunk/{StepCompleteAuthentication-BMYfHQDX.js → StepCompleteAuthentication-Cs4zhI-D.js} +7 -7
  164. package/chunk/{StepCompleteAuthentication-BMYfHQDX.js.map → StepCompleteAuthentication-Cs4zhI-D.js.map} +1 -1
  165. package/chunk/{StepCompleteAuthentication-Cu9GoQDP.js → StepCompleteAuthentication-q5i7ecb3.js} +7 -7
  166. package/chunk/{StepCompleteAuthentication-Cu9GoQDP.js.map → StepCompleteAuthentication-q5i7ecb3.js.map} +1 -1
  167. package/chunk/{StepConsolation-bt3asBBO.js → StepConsolation-6VRCf5nY.js} +9 -9
  168. package/chunk/{StepConsolation-DmX3B6yh.js.map → StepConsolation-6VRCf5nY.js.map} +1 -1
  169. package/chunk/{StepConsolation-DmX3B6yh.js → StepConsolation-C3u24VHa.js} +9 -9
  170. package/chunk/{StepConsolation-bt3asBBO.js.map → StepConsolation-C3u24VHa.js.map} +1 -1
  171. package/chunk/{StepDocUpload-DMUXunVM.js → StepDocUpload-BJ_DKmnH.js} +13 -13
  172. package/chunk/{StepDocUpload-DMUXunVM.js.map → StepDocUpload-BJ_DKmnH.js.map} +1 -1
  173. package/chunk/{StepDocUpload-CXRWsWyZ.js → StepDocUpload-BS0oJDvw.js} +13 -13
  174. package/chunk/{StepDocUpload-CXRWsWyZ.js.map → StepDocUpload-BS0oJDvw.js.map} +1 -1
  175. package/chunk/{StepDriverLicensePersonalInfoComponent-DAcFI9fH.js → StepDriverLicensePersonalInfoComponent-CqavybgY.js} +15 -15
  176. package/chunk/{StepDriverLicensePersonalInfoComponent-0uKhEZKS.js.map → StepDriverLicensePersonalInfoComponent-CqavybgY.js.map} +1 -1
  177. package/chunk/{StepDriverLicensePersonalInfoComponent-0uKhEZKS.js → StepDriverLicensePersonalInfoComponent-DCFhhkTa.js} +15 -15
  178. package/chunk/{StepDriverLicensePersonalInfoComponent-DAcFI9fH.js.map → StepDriverLicensePersonalInfoComponent-DCFhhkTa.js.map} +1 -1
  179. package/chunk/{StepEmailLoop-CNlnNJ-I.js → StepEmailLoop-CmzKCcg6.js} +11 -11
  180. package/chunk/{StepEmailLoop-CNlnNJ-I.js.map → StepEmailLoop-CmzKCcg6.js.map} +1 -1
  181. package/chunk/{StepEmailLoop-DvhrtkaW.js → StepEmailLoop-DoHh55DQ.js} +11 -11
  182. package/chunk/{StepEmailLoop-DvhrtkaW.js.map → StepEmailLoop-DoHh55DQ.js.map} +1 -1
  183. package/chunk/{StepEmploymentPersonalInfo-B5JXd1cN.js → StepEmploymentPersonalInfo-BM9zR-pW.js} +18 -18
  184. package/chunk/{StepEmploymentPersonalInfo-B5JXd1cN.js.map → StepEmploymentPersonalInfo-BM9zR-pW.js.map} +1 -1
  185. package/chunk/{StepEmploymentPersonalInfo-ChvYaKNw.js → StepEmploymentPersonalInfo-D-_RESeA.js} +18 -18
  186. package/chunk/{StepEmploymentPersonalInfo-ChvYaKNw.js.map → StepEmploymentPersonalInfo-D-_RESeA.js.map} +1 -1
  187. package/chunk/{StepFirstResponderPersonalInfo-RufrTrr8.js → StepFirstResponderPersonalInfo-BlOQi7Sl.js} +18 -18
  188. package/chunk/{StepFirstResponderPersonalInfo-LlsPNHdA.js.map → StepFirstResponderPersonalInfo-BlOQi7Sl.js.map} +1 -1
  189. package/chunk/{StepFirstResponderPersonalInfo-LlsPNHdA.js → StepFirstResponderPersonalInfo-DQOYNqy6.js} +18 -18
  190. package/chunk/{StepFirstResponderPersonalInfo-RufrTrr8.js.map → StepFirstResponderPersonalInfo-DQOYNqy6.js.map} +1 -1
  191. package/chunk/{StepGeneralIdentityPersonalInfoComponent-BipfF6xU.js → StepGeneralIdentityPersonalInfoComponent-BA3vJBXL.js} +18 -18
  192. package/chunk/{StepGeneralIdentityPersonalInfoComponent-BipfF6xU.js.map → StepGeneralIdentityPersonalInfoComponent-BA3vJBXL.js.map} +1 -1
  193. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CETkNIaC.js → StepGeneralIdentityPersonalInfoComponent-CrQxH7Ue.js} +18 -18
  194. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CETkNIaC.js.map → StepGeneralIdentityPersonalInfoComponent-CrQxH7Ue.js.map} +1 -1
  195. package/chunk/{StepHybridIdentityPersonalInfoComponent-B2nuVc7l.js → StepHybridIdentityPersonalInfoComponent-BvSaTMpV.js} +19 -19
  196. package/chunk/{StepHybridIdentityPersonalInfoComponent-B2nuVc7l.js.map → StepHybridIdentityPersonalInfoComponent-BvSaTMpV.js.map} +1 -1
  197. package/chunk/{StepHybridIdentityPersonalInfoComponent-DBq__6K1.js → StepHybridIdentityPersonalInfoComponent-w4gDqz_I.js} +19 -19
  198. package/chunk/{StepHybridIdentityPersonalInfoComponent-DBq__6K1.js.map → StepHybridIdentityPersonalInfoComponent-w4gDqz_I.js.map} +1 -1
  199. package/chunk/{StepIDCheckLoop-DcepvoDq.js → StepIDCheckLoop-CF3EtbMf.js} +8 -8
  200. package/chunk/{StepIDCheckLoop-DcepvoDq.js.map → StepIDCheckLoop-CF3EtbMf.js.map} +1 -1
  201. package/chunk/{StepIDCheckLoop-OZcXlCYI.js → StepIDCheckLoop-_9xD-GTW.js} +8 -8
  202. package/chunk/{StepIDCheckLoop-OZcXlCYI.js.map → StepIDCheckLoop-_9xD-GTW.js.map} +1 -1
  203. package/chunk/{StepIDCheckLoopOnfido-BccaRXnf.js → StepIDCheckLoopOnfido-D2R9h46H.js} +11 -11
  204. package/chunk/{StepIDCheckLoopOnfido-CJzbMWT9.js.map → StepIDCheckLoopOnfido-D2R9h46H.js.map} +1 -1
  205. package/chunk/{StepIDCheckLoopOnfido-CJzbMWT9.js → StepIDCheckLoopOnfido-DWOrgZI0.js} +11 -11
  206. package/chunk/{StepIDCheckLoopOnfido-BccaRXnf.js.map → StepIDCheckLoopOnfido-DWOrgZI0.js.map} +1 -1
  207. package/chunk/{StepIDCheckLoopRegula-vJGTN04M.js → StepIDCheckLoopRegula-BIe4Ilg4.js} +10 -10
  208. package/chunk/{StepIDCheckLoopRegula-BJNsxIhV.js.map → StepIDCheckLoopRegula-BIe4Ilg4.js.map} +1 -1
  209. package/chunk/{StepIDCheckLoopRegula-BJNsxIhV.js → StepIDCheckLoopRegula-BUWzcrtU.js} +10 -10
  210. package/chunk/{StepIDCheckLoopRegula-vJGTN04M.js.map → StepIDCheckLoopRegula-BUWzcrtU.js.map} +1 -1
  211. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CYJ86Qy2.js → StepInactiveMilitaryPersonalInfoComponent-Dqe7ln_b.js} +23 -23
  212. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CYJ86Qy2.js.map → StepInactiveMilitaryPersonalInfoComponent-Dqe7ln_b.js.map} +1 -1
  213. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-tDuo4mAi.js → StepInactiveMilitaryPersonalInfoComponent-jSkhs1WM.js} +23 -23
  214. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-tDuo4mAi.js.map → StepInactiveMilitaryPersonalInfoComponent-jSkhs1WM.js.map} +1 -1
  215. package/chunk/{StepLicensedProfessionalPersonalInfo-CbxBDwSv.js → StepLicensedProfessionalPersonalInfo-BVZplSac.js} +17 -17
  216. package/chunk/{StepLicensedProfessionalPersonalInfo-CbxBDwSv.js.map → StepLicensedProfessionalPersonalInfo-BVZplSac.js.map} +1 -1
  217. package/chunk/{StepLicensedProfessionalPersonalInfo-D_c4v8UM.js → StepLicensedProfessionalPersonalInfo-DouQ0kvH.js} +17 -17
  218. package/chunk/{StepLicensedProfessionalPersonalInfo-D_c4v8UM.js.map → StepLicensedProfessionalPersonalInfo-DouQ0kvH.js.map} +1 -1
  219. package/chunk/{StepLowIncomePersonalInfo-DKfMG8ar.js → StepLowIncomePersonalInfo-CHhvR_Q8.js} +21 -21
  220. package/chunk/{StepLowIncomePersonalInfo-DKfMG8ar.js.map → StepLowIncomePersonalInfo-CHhvR_Q8.js.map} +1 -1
  221. package/chunk/{StepLowIncomePersonalInfo-w2zhOF1V.js → StepLowIncomePersonalInfo-Pt1F6OIE.js} +21 -21
  222. package/chunk/{StepLowIncomePersonalInfo-w2zhOF1V.js.map → StepLowIncomePersonalInfo-Pt1F6OIE.js.map} +1 -1
  223. package/chunk/{StepMedicalProfessionalPersonalInfo-DsJ1m9gg.js → StepMedicalProfessionalPersonalInfo-B1oXb1e6.js} +19 -19
  224. package/chunk/{StepMedicalProfessionalPersonalInfo-Bmtf2gGb.js.map → StepMedicalProfessionalPersonalInfo-B1oXb1e6.js.map} +1 -1
  225. package/chunk/{StepMedicalProfessionalPersonalInfo-Bmtf2gGb.js → StepMedicalProfessionalPersonalInfo-CWBhpewe.js} +19 -19
  226. package/chunk/{StepMedicalProfessionalPersonalInfo-DsJ1m9gg.js.map → StepMedicalProfessionalPersonalInfo-CWBhpewe.js.map} +1 -1
  227. package/chunk/{StepMemberPersonalInfo-grYM_Yf4.js → StepMemberPersonalInfo-CDJisIV8.js} +16 -16
  228. package/chunk/{StepMemberPersonalInfo-Bizl9yj8.js.map → StepMemberPersonalInfo-CDJisIV8.js.map} +1 -1
  229. package/chunk/{StepMemberPersonalInfo-Bizl9yj8.js → StepMemberPersonalInfo-rg7jkd9O.js} +16 -16
  230. package/chunk/{StepMemberPersonalInfo-grYM_Yf4.js.map → StepMemberPersonalInfo-rg7jkd9O.js.map} +1 -1
  231. package/chunk/{StepMoverPersonalInfo-DkQbmMny.js → StepMoverPersonalInfo-B1RfwLmn.js} +14 -14
  232. package/chunk/{StepMoverPersonalInfo-D3aIlwOK.js.map → StepMoverPersonalInfo-B1RfwLmn.js.map} +1 -1
  233. package/chunk/{StepMoverPersonalInfo-D3aIlwOK.js → StepMoverPersonalInfo-Bukt5yTB.js} +14 -14
  234. package/chunk/{StepMoverPersonalInfo-DkQbmMny.js.map → StepMoverPersonalInfo-Bukt5yTB.js.map} +1 -1
  235. package/chunk/{StepOverrideComponent-VSx5gkrS.js → StepOverrideComponent-8VrcsxIL.js} +11 -11
  236. package/chunk/{StepOverrideComponent-SqQZ3-Y0.js.map → StepOverrideComponent-8VrcsxIL.js.map} +1 -1
  237. package/chunk/{StepOverrideComponent-SqQZ3-Y0.js → StepOverrideComponent-B0r87WfB.js} +11 -11
  238. package/chunk/{StepOverrideComponent-VSx5gkrS.js.map → StepOverrideComponent-B0r87WfB.js.map} +1 -1
  239. package/chunk/{StepSMSLoop-Bnj6w5bM.js → StepSMSLoop-4eyYSmnd.js} +9 -9
  240. package/chunk/{StepSMSLoop-Bnj6w5bM.js.map → StepSMSLoop-4eyYSmnd.js.map} +1 -1
  241. package/chunk/{StepSMSLoop-CDS9I-nu.js → StepSMSLoop-B-rGF2B1.js} +9 -9
  242. package/chunk/{StepSMSLoop-CDS9I-nu.js.map → StepSMSLoop-B-rGF2B1.js.map} +1 -1
  243. package/chunk/StepSSO-BRFhNvkp.js +4 -4
  244. package/chunk/StepSSO-BaFk7RFJ.js +4 -4
  245. package/chunk/{StepSocialSecurityNumber-C6pBegcg.js → StepSocialSecurityNumber-DLT2clyB.js} +12 -12
  246. package/chunk/{StepSocialSecurityNumber-Be2LWoJF.js.map → StepSocialSecurityNumber-DLT2clyB.js.map} +1 -1
  247. package/chunk/{StepSocialSecurityNumber-Be2LWoJF.js → StepSocialSecurityNumber-IyL2Ne9v.js} +12 -12
  248. package/chunk/{StepSocialSecurityNumber-C6pBegcg.js.map → StepSocialSecurityNumber-IyL2Ne9v.js.map} +1 -1
  249. package/chunk/{StepStudentPersonalInfo-CJh-76B0.js → StepStudentPersonalInfo-DIENU5ke.js} +16 -16
  250. package/chunk/{StepStudentPersonalInfo-06duqwlX.js.map → StepStudentPersonalInfo-DIENU5ke.js.map} +1 -1
  251. package/chunk/{StepStudentPersonalInfo-06duqwlX.js → StepStudentPersonalInfo-oAfwMH0V.js} +16 -16
  252. package/chunk/{StepStudentPersonalInfo-CJh-76B0.js.map → StepStudentPersonalInfo-oAfwMH0V.js.map} +1 -1
  253. package/chunk/{StepSuccess-BgY9a0Cn.js → StepSuccess-BeSTnahz.js} +11 -11
  254. package/chunk/{StepSuccess-BgY9a0Cn.js.map → StepSuccess-BeSTnahz.js.map} +1 -1
  255. package/chunk/{StepSuccess-MVR8TAGq.js → StepSuccess-BgbsF_am.js} +11 -11
  256. package/chunk/{StepSuccess-MVR8TAGq.js.map → StepSuccess-BgbsF_am.js.map} +1 -1
  257. package/chunk/{StepTeacherPersonalInfo-CVudPe_L.js → StepTeacherPersonalInfo-CIWvNpN9.js} +17 -17
  258. package/chunk/{StepTeacherPersonalInfo-CVudPe_L.js.map → StepTeacherPersonalInfo-CIWvNpN9.js.map} +1 -1
  259. package/chunk/{StepTeacherPersonalInfo-DOmYn9G8.js → StepTeacherPersonalInfo-Sg5-aCB-.js} +17 -17
  260. package/chunk/{StepTeacherPersonalInfo-DOmYn9G8.js.map → StepTeacherPersonalInfo-Sg5-aCB-.js.map} +1 -1
  261. package/chunk/StepThirdPartyLoop-BGHCbduX.js +4 -4
  262. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +4 -4
  263. package/chunk/{TeacherSchoolComponent-CVxRF20A.js → TeacherSchoolComponent-ClxYcIcW.js} +8 -8
  264. package/chunk/{TeacherSchoolComponent-CVxRF20A.js.map → TeacherSchoolComponent-ClxYcIcW.js.map} +1 -1
  265. package/chunk/{TeacherSchoolComponent-B5V_JYP1.js → TeacherSchoolComponent-Cv2tfISN.js} +8 -8
  266. package/chunk/{TeacherSchoolComponent-B5V_JYP1.js.map → TeacherSchoolComponent-Cv2tfISN.js.map} +1 -1
  267. package/chunk/{TestingRouteOverrides-D_76ZDo1.js → TestingRouteOverrides-B-zcTBa_.js} +6 -6
  268. package/chunk/{TestingRouteOverrides-D_76ZDo1.js.map → TestingRouteOverrides-B-zcTBa_.js.map} +1 -1
  269. package/chunk/{TestingRouteOverrides-D14rz0L4.js → TestingRouteOverrides-DCR0qXVH.js} +6 -6
  270. package/chunk/{TestingRouteOverrides-D14rz0L4.js.map → TestingRouteOverrides-DCR0qXVH.js.map} +1 -1
  271. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  272. package/chunk/{VerificationApiClient-Bsq9nmb1.js → VerificationApiClient-Bvh9qYb7.js} +8 -8
  273. package/chunk/{VerificationApiClient-Bsq9nmb1.js.map → VerificationApiClient-Bvh9qYb7.js.map} +1 -1
  274. package/chunk/{VerificationApiClient-C9Eh-JpJ.js → VerificationApiClient-D-eFEUYW.js} +8 -8
  275. package/chunk/{VerificationApiClient-C9Eh-JpJ.js.map → VerificationApiClient-D-eFEUYW.js.map} +1 -1
  276. package/chunk/{VerificationApiUtils-DA8QOxK3.js → VerificationApiUtils-BN06wwY1.js} +7 -7
  277. package/chunk/{VerificationApiUtils-DA8QOxK3.js.map → VerificationApiUtils-BN06wwY1.js.map} +1 -1
  278. package/chunk/{VerificationApiUtils-DSadLMiz.js → VerificationApiUtils-D19bC6ae.js} +7 -7
  279. package/chunk/{VerificationApiUtils-DSadLMiz.js.map → VerificationApiUtils-D19bC6ae.js.map} +1 -1
  280. package/chunk/ar-wkBEXxD9.js +4 -4
  281. package/chunk/bg-D2-seofX.js +4 -4
  282. package/chunk/bn-IN-B5PyYaJU.js +4 -4
  283. package/chunk/{countryUtils-Cv7oNEHL.js → countryUtils-BAFwHnuu.js} +5 -5
  284. package/chunk/{countryUtils-Cv7oNEHL.js.map → countryUtils-BAFwHnuu.js.map} +1 -1
  285. package/chunk/countryUtils-QSjR1rBI.js +12 -0
  286. package/chunk/{countryUtils-ZN4SsRTU.js.map → countryUtils-QSjR1rBI.js.map} +1 -1
  287. package/chunk/cs-CsEnIopo.js +4 -4
  288. package/chunk/da-Da-m3VU_.js +4 -4
  289. package/chunk/de-BSoD5U3-.js +4 -4
  290. package/chunk/{downshift.esm-DjizeEtd.js → downshift.esm-CqJ4DBf0.js} +7 -7
  291. package/chunk/{downshift.esm-BzITPxIv.js.map → downshift.esm-CqJ4DBf0.js.map} +1 -1
  292. package/chunk/{downshift.esm-BzITPxIv.js → downshift.esm-Cwd7c_DS.js} +7 -7
  293. package/chunk/{downshift.esm-DjizeEtd.js.map → downshift.esm-Cwd7c_DS.js.map} +1 -1
  294. package/chunk/el-CFa6y9Ri.js +4 -4
  295. package/chunk/{empties-QXFZXxsa.js → empties-BIoZK05_.js} +5 -5
  296. package/chunk/{empties-QXFZXxsa.js.map → empties-BIoZK05_.js.map} +1 -1
  297. package/chunk/{empties-ddtrXdee.js → empties-Ck9OJXHG.js} +5 -5
  298. package/chunk/{empties-ddtrXdee.js.map → empties-Ck9OJXHG.js.map} +1 -1
  299. package/chunk/{en-GB-iLW1auh9.js → en-GB-V8XaGkaI.js} +5 -5
  300. package/chunk/{en-GB-iLW1auh9.js.map → en-GB-V8XaGkaI.js.map} +1 -1
  301. package/chunk/es-D18tLxcT.js +4 -4
  302. package/chunk/es-ES-7x2bVUQr.js +4 -4
  303. package/chunk/et-udrWMVlD.js +4 -4
  304. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  305. package/chunk/fa-DgwYULMs.js +4 -4
  306. package/chunk/fi-CkCWFGDC.js +4 -4
  307. package/chunk/fr-BprIFEa8.js +4 -4
  308. package/chunk/fr-CA-DrjICejr.js +4 -4
  309. package/chunk/ga-LaV5ZJgg.js +4 -4
  310. package/chunk/hi-IN-7dtEICYI.js +4 -4
  311. package/chunk/hr-2Bctl997.js +4 -4
  312. package/chunk/hu-BT0z6TPZ.js +4 -4
  313. package/chunk/id-BvyYep3X.js +4 -4
  314. package/chunk/{intl-BykyN0c9.js → intl-aUfdCP8t.js} +7 -7
  315. package/chunk/intl-aUfdCP8t.js.map +1 -0
  316. package/chunk/is-DOsKfa80.js +4 -4
  317. package/chunk/it-3dX9AQk7.js +4 -4
  318. package/chunk/iw-5I90wqQ8.js +4 -4
  319. package/chunk/ja-CHdgbMgX.js +4 -4
  320. package/chunk/{jsx-runtime-De-7jy-U.js → jsx-runtime-BknAqbDq.js} +5 -5
  321. package/chunk/{jsx-runtime-De-7jy-U.js.map → jsx-runtime-BknAqbDq.js.map} +1 -1
  322. package/chunk/{jsx-runtime-pfrjHhUf.js → jsx-runtime-XNwIsY_N.js} +5 -5
  323. package/chunk/{jsx-runtime-pfrjHhUf.js.map → jsx-runtime-XNwIsY_N.js.map} +1 -1
  324. package/chunk/kk-BriyNfHL.js +4 -4
  325. package/chunk/ko-DsMaax3V.js +4 -4
  326. package/chunk/lo-CjASRmNr.js +4 -4
  327. package/chunk/lt-DF29E1de.js +4 -4
  328. package/chunk/lv-DlHBZyt-.js +4 -4
  329. package/chunk/{militaryStepHelpers-BfGvMNQt.js → militaryStepHelpers-UF-7lF1f.js} +5 -5
  330. package/chunk/{militaryStepHelpers-BfGvMNQt.js.map → militaryStepHelpers-UF-7lF1f.js.map} +1 -1
  331. package/chunk/{militaryStepHelpers-DNAVjYXU.js → militaryStepHelpers-qMYyQgVn.js} +5 -5
  332. package/chunk/{militaryStepHelpers-DNAVjYXU.js.map → militaryStepHelpers-qMYyQgVn.js.map} +1 -1
  333. package/chunk/{mocks-Cw8Tvikf.js → mocks-1r84in2Q.js} +6 -6
  334. package/chunk/{mocks-Cw8Tvikf.js.map → mocks-1r84in2Q.js.map} +1 -1
  335. package/chunk/{mocks-CYKME7z2.js → mocks-fUTXc8-e.js} +6 -6
  336. package/chunk/{mocks-CYKME7z2.js.map → mocks-fUTXc8-e.js.map} +1 -1
  337. package/chunk/ms-B3vDtlFh.js +4 -4
  338. package/chunk/nl-BE-Dw1IGXuF.js +4 -4
  339. package/chunk/nl-Cqkrr5-r.js +4 -4
  340. package/chunk/no-876EdwkX.js +4 -4
  341. package/chunk/{options-DD3L-yYH.js → options-D19mRw5a.js} +7 -7
  342. package/chunk/options-D19mRw5a.js.map +1 -0
  343. package/chunk/pl-B_G8s05-.js +4 -4
  344. package/chunk/{programThemeGetters-CLmOMSOr.js → programThemeGetters-CyMKyJao.js} +5 -5
  345. package/chunk/{programThemeGetters-CLmOMSOr.js.map → programThemeGetters-CyMKyJao.js.map} +1 -1
  346. package/chunk/{programThemeGetters-CassSHQA.js → programThemeGetters-Lz3L0Vh7.js} +5 -5
  347. package/chunk/{programThemeGetters-CassSHQA.js.map → programThemeGetters-Lz3L0Vh7.js.map} +1 -1
  348. package/chunk/pt-BR-DWj043qk.js +4 -4
  349. package/chunk/pt-DckA3Jnn.js +4 -4
  350. package/chunk/{refs-CQhPE4Xu.js → refs--ECXpllB.js} +5 -5
  351. package/chunk/{refs-C6-J-L7d.js.map → refs--ECXpllB.js.map} +1 -1
  352. package/chunk/{refs-C6-J-L7d.js → refs-Bbe0gnJ3.js} +5 -5
  353. package/chunk/{refs-CQhPE4Xu.js.map → refs-Bbe0gnJ3.js.map} +1 -1
  354. package/chunk/ro-DukNcWCM.js +4 -4
  355. package/chunk/ru-RkdRQ7qb.js +4 -4
  356. package/chunk/sk-CPBgBtC5.js +4 -4
  357. package/chunk/sl-Cyj9PWmN.js +4 -4
  358. package/chunk/sr-Bm1GVW8m.js +4 -4
  359. package/chunk/strings-DWLVdUcm.js +4 -4
  360. package/chunk/sv-CcMmeZrG.js +4 -4
  361. package/chunk/sw-BPvl1ou6.js +4 -4
  362. package/chunk/ta-BPEH7IlE.js +4 -4
  363. package/chunk/th-Dd912RL5.js +4 -4
  364. package/chunk/tl-J_TdpjQz.js +4 -4
  365. package/chunk/tr-B-GrrJj0.js +4 -4
  366. package/chunk/uk-MohyvT_n.js +4 -4
  367. package/chunk/ur-CDYGpWMm.js +4 -4
  368. package/chunk/{useCollectFieldsEndpoint-CCQEbKu3.js → useCollectFieldsEndpoint-C-dmKcDH.js} +8 -8
  369. package/chunk/{useCollectFieldsEndpoint-DA5iaKdp.js.map → useCollectFieldsEndpoint-C-dmKcDH.js.map} +1 -1
  370. package/chunk/{useCollectFieldsEndpoint-DA5iaKdp.js → useCollectFieldsEndpoint-DcXAV3kY.js} +8 -8
  371. package/chunk/{useCollectFieldsEndpoint-CCQEbKu3.js.map → useCollectFieldsEndpoint-DcXAV3kY.js.map} +1 -1
  372. package/chunk/{useMetrics-DDpAqYvt.js → useMetrics-D_8asKZL.js} +6 -6
  373. package/chunk/{useMetrics-CNmTjZ8z.js.map → useMetrics-D_8asKZL.js.map} +1 -1
  374. package/chunk/{useMetrics-CNmTjZ8z.js → useMetrics-Ivet_g4B.js} +6 -6
  375. package/chunk/{useMetrics-DDpAqYvt.js.map → useMetrics-Ivet_g4B.js.map} +1 -1
  376. package/chunk/{validators-BBcVEbKF.js → validators-BZCydYkb.js} +6 -6
  377. package/chunk/{validators-BBcVEbKF.js.map → validators-BZCydYkb.js.map} +1 -1
  378. package/chunk/{validators-CG1DHHwp.js → validators-Do9xo2t_.js} +6 -6
  379. package/chunk/{validators-CG1DHHwp.js.map → validators-Do9xo2t_.js.map} +1 -1
  380. package/chunk/vi-CdPTWSev.js +4 -4
  381. package/chunk/zh-DhnjKBoc.js +4 -4
  382. package/chunk/zh-HK-CWKNP_HX.js +4 -4
  383. package/chunk/zu-BpMHS0oR.js +4 -4
  384. package/package.json +1 -1
  385. package/sheerid-install.css +4 -4
  386. package/sheerid-install.js +4 -4
  387. package/sheerid.css +4 -4
  388. package/sheerid.js +46 -46
  389. package/sheerid.js.map +1 -1
  390. package/chunk/FormFooterComponent-CetDNO5o.js.map +0 -1
  391. package/chunk/FormFooterComponent-DhQaJMxV.js.map +0 -1
  392. package/chunk/StepCollectMilitaryStatusComponent-DegjipI2.js +0 -9
  393. package/chunk/countryUtils-ZN4SsRTU.js +0 -12
  394. package/chunk/intl-BykyN0c9.js.map +0 -1
  395. package/chunk/options-DD3L-yYH.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"StepMedicalProfessionalPersonalInfo-DsJ1m9gg.js","names":[],"sources":["../../src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport {\n VerificationStepsEnum,\n MedicalProfessionalStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MedicalProfessionalPersonalInfoViewModel,\n type MedicalProfessionalPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModel,\n getStatusLabel,\n getAvailableMedicalStatuses,\n getFieldConfigByFieldId,\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 { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StatusComponent as MedicalStatus } from \"../FormFields/Status/StatusComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 StepMedicalProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype MemberIdFieldType =\n | \"registrationNumber\"\n | \"numeroColegiado\"\n | \"autorisationsId\"\n | \"globalLocationNumber\"\n | \"gbrNummer\";\n\nconst memberIdMessageKeysByCountry: Record<string, MemberIdFieldType> = {\n AT: \"gbrNummer\",\n ES: \"numeroColegiado\",\n DK: \"autorisationsId\",\n CH: \"globalLocationNumber\",\n IE: \"registrationNumber\",\n GB: \"registrationNumber\",\n};\n\nconst getMemberIdMessageKeys = (country: string) => {\n const memberIdFieldType: MemberIdFieldType =\n memberIdMessageKeysByCountry[country] || \"registrationNumber\";\n return {\n labelKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Label`,\n explanationKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Explanation`,\n };\n};\n\nexport const StepMedicalProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepMedicalProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MedicalProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const updateMedicalProfessionalViewModel = (\n key: keyof MedicalProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldOptional } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n const shouldRenderMemberId = isFieldOptional(\"memberId\");\n\n React.useEffect(() => {\n // If the memberId field is not rendered, we shouldn't validate it\n // partially update to avoid clobbering the rest of the viewModel\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (shouldRenderMemberId) {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n } else {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n }\n }, [shouldRenderMemberId]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"medical-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <MedicalStatus\n segmentId=\"medical\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(\n intl,\n viewModel.status,\n MedicalProfessionalStatusDefaultMessagesEnum,\n ),\n }}\n isErrored={!!fieldValidationErrors.status}\n options={getAvailableMedicalStatuses(intl, verificationResponse.availableStatuses)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateMedicalProfessionalViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldRenderMemberId && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n explanation={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).explanationKey}\n defaultMessage=\"Your Professional Membership Registration Number\"\n />\n }\n label={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).labelKey}\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"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 <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMedicalProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Medical Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMedicalProfessionalPersonalInfoComponent = injectIntl(\n StepMedicalProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;4CA8DM,IAAkE;CACtE,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN,GAEM,KAA0B,MAAoB;CAClD,IAAM,IACJ,EAA6B,MAAY;CAC3C,OAAO;EACL,UAAU,mCAAmC,EAAkB;EAC/D,gBAAgB,mCAAmC,EAAkB;CACvE;AACF,GA0Oa,IAA+C,GAxOR,EAClD,SACA,6BACuD;CACvD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW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B;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmC,YAAY;MAC7C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
1
+ {"version":3,"file":"StepMedicalProfessionalPersonalInfo-CWBhpewe.js","names":[],"sources":["../../src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport {\n VerificationStepsEnum,\n MedicalProfessionalStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type FormSelectChoice,\n type Organization,\n type MedicalProfessionalPersonalInfoViewModel,\n type MedicalProfessionalPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModel,\n getStatusLabel,\n getAvailableMedicalStatuses,\n getFieldConfigByFieldId,\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 { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StatusComponent as MedicalStatus } from \"../FormFields/Status/StatusComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 StepMedicalProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype MemberIdFieldType =\n | \"registrationNumber\"\n | \"numeroColegiado\"\n | \"autorisationsId\"\n | \"globalLocationNumber\"\n | \"gbrNummer\";\n\nconst memberIdMessageKeysByCountry: Record<string, MemberIdFieldType> = {\n AT: \"gbrNummer\",\n ES: \"numeroColegiado\",\n DK: \"autorisationsId\",\n CH: \"globalLocationNumber\",\n IE: \"registrationNumber\",\n GB: \"registrationNumber\",\n};\n\nconst getMemberIdMessageKeys = (country: string) => {\n const memberIdFieldType: MemberIdFieldType =\n memberIdMessageKeysByCountry[country] || \"registrationNumber\";\n return {\n labelKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Label`,\n explanationKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Explanation`,\n };\n};\n\nexport const StepMedicalProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepMedicalProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MedicalProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const updateMedicalProfessionalViewModel = (\n key: keyof MedicalProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldOptional } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n const shouldRenderMemberId = isFieldOptional(\"memberId\");\n\n React.useEffect(() => {\n // If the memberId field is not rendered, we shouldn't validate it\n // partially update to avoid clobbering the rest of the viewModel\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (shouldRenderMemberId) {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n } else {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n }\n }, [shouldRenderMemberId]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"medical-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <MedicalStatus\n segmentId=\"medical\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(\n intl,\n viewModel.status,\n MedicalProfessionalStatusDefaultMessagesEnum,\n ),\n }}\n isErrored={!!fieldValidationErrors.status}\n options={getAvailableMedicalStatuses(intl, verificationResponse.availableStatuses)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateMedicalProfessionalViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"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 updateMedicalProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldRenderMemberId && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n explanation={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).explanationKey}\n defaultMessage=\"Your Professional Membership Registration Number\"\n />\n }\n label={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).labelKey}\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"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 <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMedicalProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Medical Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMedicalProfessionalPersonalInfoComponent = injectIntl(\n StepMedicalProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;4CA8DM,IAAkE;CACtE,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN,GAEM,KAA0B,MAAoB;C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,CAAA;IAEH,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAI,EAAuB,EAAU,OAAO,EAAE;KAC9C,gBAAe;IAChB,CAAA;GAEJ,CAAA;GAEF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmC,YAAY;MAC7C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
@@ -4,24 +4,24 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.252.0
8
- * BUILD_TIMESTAMP: 1783455306364
9
- * BUILD_DATE: Tue Jul 07 2026 20:15:06 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 058dd9382daa5331f63d2e72837d7ea867b024e1
7
+ * VERSION: 2.254.0
8
+ * BUILD_TIMESTAMP: 1783978050996
9
+ * BUILD_DATE: Mon Jul 13 2026 21:27:30 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: c717dfa3308cb09da6c05f87a2c9f56d881f77e9
11
11
  */
12
- import { Ht as e, jt as t, p as n, s as r } from "./intl-BykyN0c9.js";
13
- import { c as i, n as a, t as o } from "./jsx-runtime-pfrjHhUf.js";
14
- import { T as s } from "./FormFooterComponent-DhQaJMxV.js";
12
+ import { Ht as e, jt as t, p as n, s as r } from "./intl-aUfdCP8t.js";
13
+ import { c as i, n as a, t as o } from "./jsx-runtime-XNwIsY_N.js";
14
+ import { T as s } from "./FormFooterComponent-CPP8uPKu.js";
15
15
  import { $ as c, B as l, G as u, et as d, n as f } from "../_mysheerid-preview.js";
16
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-BxNyzcXf.js";
17
- import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Do9s_cOU.js";
18
- import { t as x } from "./BirthDateComponent-BHIU3Biw.js";
19
- import { t as S } from "./CountryComponentWrapper-CcHQo8OH.js";
20
- import { t as C } from "./ExtraMessage-CN18YvZT.js";
21
- import { t as w } from "./ChangeLocaleComponent-idsSKpgP.js";
22
- import { t as T } from "./PersonalInfoStepWrapper-BdHSrD2_.js";
23
- import { t as E } from "./MemberIdComponent-CCd021Y2.js";
24
- import { t as D } from "./MembershipOrganizationComponent-C4Lq8DDO.js";
16
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-MICPCxe2.js";
17
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-CdweyyxM.js";
18
+ import { t as x } from "./BirthDateComponent-BkIO_3Qj.js";
19
+ import { t as S } from "./CountryComponentWrapper-Wa7Rjbtc.js";
20
+ import { t as C } from "./ExtraMessage-LbqL3mld.js";
21
+ import { t as w } from "./ChangeLocaleComponent-JRwy7sAI.js";
22
+ import { t as T } from "./PersonalInfoStepWrapper-NXxRgQuY.js";
23
+ import { t as E } from "./MemberIdComponent-D_KVob09.js";
24
+ import { t as D } from "./MembershipOrganizationComponent-nNE1RJkt.js";
25
25
  //#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
26
26
  var O = /* @__PURE__ */ e(i(), 1), k = o(), A = ({ verificationService: e }) => {
27
27
  let i = e.viewModel, { fieldValidationErrors: o } = e, A = e.verificationResponse, j = s(A), M = r(), N = l("memberId")?.requireIfOptional, P = i.localeChoice.value, F = (t, r) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepMemberPersonalInfo-Bizl9yj8.js","names":[],"sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\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 { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepM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B,YAAY,CAAQ,GAC1C,EAAqC,YAAY,GAAU,CAAmB;IAChF;GACD,CAAA;GAEA,EAAoB,aAAa,2BAClC,EAAoB,aAAa,iBAC/B,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,YAAY,CAAC,CAAC,EAAoB,aAAa;IAC/C,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAsB,eAAe,CAAQ,GAC7C,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAsB,YAAY;MAChC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepMemberPersonalInfo-CDJisIV8.js","names":[],"sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\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 { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;4CAwNa,KA/KmB,EAAE,6BAAgE;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GACrB,IAAqB,EAAwB,UAAU,GAAG,mBAE1D,IAAS,EAAU,aAAa,OAEhC,KAAyB,GAAwC,MAAe;EACpF,IAAM,IAAyC,EA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mB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAsB,YAAY;MAChC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -1,23 +1,23 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.252.0
4
- * BUILD_TIMESTAMP: 1783455301503
5
- * BUILD_DATE: Tue Jul 07 2026 20:15:01 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 058dd9382daa5331f63d2e72837d7ea867b024e1
3
+ * VERSION: 2.254.0
4
+ * BUILD_TIMESTAMP: 1783978046618
5
+ * BUILD_DATE: Mon Jul 13 2026 21:27:26 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: c717dfa3308cb09da6c05f87a2c9f56d881f77e9
7
7
  */
8
- import { Ft as e, Wt as t, c as n, n as r } from "./options-DD3L-yYH.js";
9
- import { c as i, n as a, t as o } from "./jsx-runtime-De-7jy-U.js";
10
- import { x as s } from "./FormFooterComponent-CetDNO5o.js";
8
+ import { Ft as e, Wt as t, c as n, n as r } from "./options-D19mRw5a.js";
9
+ import { c as i, n as a, t as o } from "./jsx-runtime-BknAqbDq.js";
10
+ import { x as s } from "./FormFooterComponent-DmCwOlhB.js";
11
11
  import { K as c, V as l, et as u, r as d, tt as f } from "../sheerid.js";
12
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-BORHB7bO.js";
13
- import { n as y, t as b } from "./PersonalInfoStepSubmitButton-BQc65TXU.js";
14
- import { t as x } from "./BirthDateComponent-Cy8ZXEl7.js";
15
- import { t as S } from "./CountryComponentWrapper-CaYmSjkG.js";
16
- import { t as C } from "./ExtraMessage-x7BWw0ei.js";
17
- import { t as w } from "./ChangeLocaleComponent-D-DQnbPA.js";
18
- import { t as T } from "./PersonalInfoStepWrapper-CZNsVG-R.js";
19
- import { t as E } from "./MemberIdComponent-lHRDd-GD.js";
20
- import { t as D } from "./MembershipOrganizationComponent-DFlV9g62.js";
12
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-pcbICyEB.js";
13
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
14
+ import { t as x } from "./BirthDateComponent-B3W7JMzg.js";
15
+ import { t as S } from "./CountryComponentWrapper-M91KUviZ.js";
16
+ import { t as C } from "./ExtraMessage-LslZ9JEE.js";
17
+ import { t as w } from "./ChangeLocaleComponent-Dy8pPz6F.js";
18
+ import { t as T } from "./PersonalInfoStepWrapper-CqaYGNTV.js";
19
+ import { t as E } from "./MemberIdComponent-Dva2Xx7J.js";
20
+ import { t as D } from "./MembershipOrganizationComponent-BgBt98NY.js";
21
21
  //#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
22
22
  var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) => {
23
23
  let i = t.viewModel, { fieldValidationErrors: o } = t, A = t.verificationResponse, j = s(A), M = r(), N = l("memberId")?.requireIfOptional, P = i.localeChoice.value, F = (e, r) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepMemberPersonalInfo-grYM_Yf4.js","names":[],"sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\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 { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;4CAwNa,KA/KmB,EAAE,6BAAgE;CACh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AAoB,aAAa,iBAC/B,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,YAAY,CAAC,CAAC,EAAoB,aAAa;IAC/C,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAsB,eAAe,CAAQ,GAC7C,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAsB,YAAY;MAChC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepMemberPersonalInfo-rg7jkd9O.js","names":[],"sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type Organization,\n type MemberPersonalInfoViewModel,\n type MemberPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\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 { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"memberId\",\n );\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [...existing, \"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: existing }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;4CAwNa,KA/KmB,EAAE,6BAAgE;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GACrB,IAAqB,EAAwB,UAAU,GAAG,mBAE1D,IAAS,EAAU,aAAa,OAEhC,KAAyB,GAAwC,MAAe;EACpF,IAAM,IAAyC,EAC7C,IACC,MAAuC;GACtC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAgBA,OAdA,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IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAsB,YAAY;MAChC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -1,21 +1,21 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.252.0
4
- * BUILD_TIMESTAMP: 1783455301503
5
- * BUILD_DATE: Tue Jul 07 2026 20:15:01 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 058dd9382daa5331f63d2e72837d7ea867b024e1
3
+ * VERSION: 2.254.0
4
+ * BUILD_TIMESTAMP: 1783978046618
5
+ * BUILD_DATE: Mon Jul 13 2026 21:27:26 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: c717dfa3308cb09da6c05f87a2c9f56d881f77e9
7
7
  */
8
- import { Ft as e, Wt as t, c as n, n as r } from "./options-DD3L-yYH.js";
9
- import { a as i, c as a, n as o, t as s } from "./jsx-runtime-De-7jy-U.js";
10
- import { x as c } from "./FormFooterComponent-CetDNO5o.js";
8
+ import { Ft as e, Wt as t, c as n, n as r } from "./options-D19mRw5a.js";
9
+ import { a as i, c as a, n as o, t as s } from "./jsx-runtime-BknAqbDq.js";
10
+ import { x as c } from "./FormFooterComponent-DmCwOlhB.js";
11
11
  import { K as l, V as u, et as d, r as f } from "../sheerid.js";
12
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-BORHB7bO.js";
13
- import { n as y, t as b } from "./PersonalInfoStepSubmitButton-BQc65TXU.js";
14
- import { t as x } from "./PostalCodeComponent-DNUVgwF3.js";
15
- import { t as S } from "./AddressComponent-DSxFIF4x.js";
16
- import { t as C } from "./ExtraMessage-x7BWw0ei.js";
17
- import { t as w } from "./ChangeLocaleComponent-D-DQnbPA.js";
18
- import { t as T } from "./PersonalInfoStepWrapper-CZNsVG-R.js";
12
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-pcbICyEB.js";
13
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
14
+ import { t as x } from "./PostalCodeComponent-C97fgZFI.js";
15
+ import { t as S } from "./AddressComponent-DMwOmjiG.js";
16
+ import { t as C } from "./ExtraMessage-LslZ9JEE.js";
17
+ import { t as w } from "./ChangeLocaleComponent-Dy8pPz6F.js";
18
+ import { t as T } from "./PersonalInfoStepWrapper-CqaYGNTV.js";
19
19
  //#region src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx
20
20
  var E = /* @__PURE__ */ t(a(), 1), D = s(), O = i(({ verificationService: t }) => {
21
21
  let i = t.viewModel, { fieldValidationErrors: a } = t, s = t.verificationResponse, O = c(s), k = r(), A = (e, r) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepMoverPersonalInfo-D3aIlwOK.js","names":[],"sources":["../../src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx"],"sourcesContent":["import { useEffect } from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n type VerificationService,\n type MoverPersonalInfoViewModel,\n type MoverPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\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 { AddressComponent as Address } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 StepMoverPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMoverPersonalInfo = ({ verificationService }: StepMoverPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MoverPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MoverPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateMoverViewModel = (key: keyof MoverPersonalInfoViewModel, value: any) => {\n const nextState: MoverPersonalInfoViewModel = produce(\n viewModel,\n (draft: MoverPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // We do not want a drop down list, just apply available statuses to the viewModel\n useEffect(() => {\n updateMoverViewModel(\"statuses\", verificationResponse.availableStatuses);\n }, []);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"mover-personal-info\"\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 updateMoverViewModel(\"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 updateMoverViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Address\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(newValue) => {\n updateMoverViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"streetAddress\" defaultMessage=\"Street Address\" />}\n isRequired\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n />\n\n <PostalCode\n value={viewModel.postalCode}\n isErrored={!!fieldValidationErrors.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n onChange={(newValue) => {\n updateMoverViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateMoverViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMoverViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMoverViewModel(\"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.collectMoverPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Recent Mover Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMoverPersonalInfoComponent = injectIntl(StepMoverPersonalInfo);\n"],"mappings":";;;;;;;;;;;;4CA8La,IAAiC,GAzJf,EAAE,6BAA+D;CAC9F,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,KAAwB,GAAuC,MAAe;EAClF,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAOA,QAJA,GAAA,EAAA,iBAAgB;EACd,EAAqB,YAAY,EAAqB,iBAAiB;CACzE,GAAG,CAAC,CAAC,GAGH,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GAEpE,iBAAA,GAAA,EAAA,MAAC,OAAD;IAAK,WAAU;cAAf,CACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,UAAU,EAAwB,WAAW,GAAG;KAChD,WAAW,MAAa;MAEtB,AADA,EAAqB,aAAa,CAAQ,GAC1C,EAAqC,aAAa,GAAU,CAAmB;KACjF;IACD,CAAA,GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,UAAU,EAAwB,U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AU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAqB,YAAY;MAC/B,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAE8E"}
1
+ {"version":3,"file":"StepMoverPersonalInfo-B1RfwLmn.js","names":[],"sources":["../../src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx"],"sourcesContent":["import { useEffect } from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n type VerificationService,\n type MoverPersonalInfoViewModel,\n type MoverPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\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 { AddressComponent as Address } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 StepMoverPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMoverPersonalInfo = ({ verificationService }: StepMoverPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MoverPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MoverPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateMoverViewModel = (key: keyof MoverPersonalInfoViewModel, value: any) => {\n const nextState: MoverPersonalInfoViewModel = produce(\n viewModel,\n (draft: MoverPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // We do not want a drop down list, just apply available statuses to the viewModel\n useEffect(() => {\n updateMoverViewModel(\"statuses\", verificationResponse.availableStatuses);\n }, []);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"mover-personal-info\"\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 updateMoverViewModel(\"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 updateMoverViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Address\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(newValue) => {\n updateMoverViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"streetAddress\" defaultMessage=\"Street Address\" />}\n isRequired\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n />\n\n <PostalCode\n value={viewModel.postalCode}\n isErrored={!!fieldValidationErrors.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n onChange={(newValue) => {\n updateMoverViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateMoverViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMoverViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMoverViewModel(\"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.collectMoverPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Recent Mover Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};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BAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAqB,YAAY;MAC/B,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAE8E"}
@@ -4,22 +4,22 @@
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.252.0
8
- * BUILD_TIMESTAMP: 1783455306364
9
- * BUILD_DATE: Tue Jul 07 2026 20:15:06 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 058dd9382daa5331f63d2e72837d7ea867b024e1
7
+ * VERSION: 2.254.0
8
+ * BUILD_TIMESTAMP: 1783978050996
9
+ * BUILD_DATE: Mon Jul 13 2026 21:27:30 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: c717dfa3308cb09da6c05f87a2c9f56d881f77e9
11
11
  */
12
- import { Ht as e, jt as t, p as n, s as r } from "./intl-BykyN0c9.js";
13
- import { a as i, c as a, n as o, t as s } from "./jsx-runtime-pfrjHhUf.js";
14
- import { T as c } from "./FormFooterComponent-DhQaJMxV.js";
12
+ import { Ht as e, jt as t, p as n, s as r } from "./intl-aUfdCP8t.js";
13
+ import { a as i, c as a, n as o, t as s } from "./jsx-runtime-XNwIsY_N.js";
14
+ import { T as c } from "./FormFooterComponent-CPP8uPKu.js";
15
15
  import { $ as l, B as u, G as d, n as f } from "../_mysheerid-preview.js";
16
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-BxNyzcXf.js";
17
- import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Do9s_cOU.js";
18
- import { t as x } from "./PostalCodeComponent-1-YsGlqY.js";
19
- import { t as S } from "./AddressComponent-DzD9VVa_.js";
20
- import { t as C } from "./ExtraMessage-CN18YvZT.js";
21
- import { t as w } from "./ChangeLocaleComponent-idsSKpgP.js";
22
- import { t as T } from "./PersonalInfoStepWrapper-BdHSrD2_.js";
16
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-MICPCxe2.js";
17
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-CdweyyxM.js";
18
+ import { t as x } from "./PostalCodeComponent-YFm2z5qa.js";
19
+ import { t as S } from "./AddressComponent-DluNaOpg.js";
20
+ import { t as C } from "./ExtraMessage-LbqL3mld.js";
21
+ import { t as w } from "./ChangeLocaleComponent-JRwy7sAI.js";
22
+ import { t as T } from "./PersonalInfoStepWrapper-NXxRgQuY.js";
23
23
  //#region src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx
24
24
  var E = /* @__PURE__ */ e(a(), 1), D = s(), O = i(({ verificationService: e }) => {
25
25
  let i = e.viewModel, { fieldValidationErrors: a } = e, s = e.verificationResponse, O = c(s), k = r(), A = (t, r) => {
@@ -1 +1 @@
1
- {"version":3,"file":"StepMoverPersonalInfo-DkQbmMny.js","names":[],"sources":["../../src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx"],"sourcesContent":["import { useEffect } from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n type VerificationService,\n type MoverPersonalInfoViewModel,\n type MoverPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\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 { AddressComponent as Address } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 StepMoverPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMoverPersonalInfo = ({ verificationService }: StepMoverPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MoverPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MoverPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateMoverViewModel = (key: keyof MoverPersonalInfoViewModel, value: any) => {\n const nextState: MoverPersonalInfoViewModel = produce(\n viewModel,\n (draft: MoverPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // We do not want a drop down list, just apply available statuses to the viewModel\n useEffect(() => {\n updateMoverViewModel(\"statuses\", verificationResponse.availableStatuses);\n }, []);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"mover-personal-info\"\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 updateMoverViewModel(\"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 updateMoverViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Address\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(newValue) => {\n updateMoverViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"streetAddress\" defaultMessage=\"Street Address\" />}\n isRequired\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n />\n\n <PostalCode\n value={viewModel.postalCode}\n isErrored={!!fieldValidationErrors.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n onChange={(newValue) => {\n updateMoverViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateMoverViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMoverViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMoverViewModel(\"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.collectMoverPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Recent Mover Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMoverPersonalInfoComponent = injectIntl(StepMoverPersonalInfo);\n"],"mappings":";;;;;;;;;;;;4CA8La,IAAiC,GAzJf,EAAE,6BAA+D;CAC9F,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAU,EAAW,GAErB,KAAwB,GAAuC,MAAe;EAClF,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAOA,QAJA,GAAA,EAAA,iBAAgB;EACd,EAAqB,YAAY,EAAqB,iBAAiB;CACzE,GAAG,CAAC,CAAC,GAGH,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GAEpE,iBAAA,GAAA,EAAA,MAAC,OAAD;IAAK,WAAU;cAAf,CACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,UAAU,EAAwB,WAAW,GAAG;KAChD,WAAW,MAAa;MAEtB,AADA,EAAqB,aAAa,CAAQ,GAC1C,EAAqC,aAAa,GAAU,CAAmB;KACjF;IACD,CAAA,GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,UAAU,EAAwB,UAAU,GAAG;KAC/C,WAAW,MAAa;MAEtB,AADA,EAA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AAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAqB,YAAY;MAC/B,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAE8E"}
1
+ {"version":3,"file":"StepMoverPersonalInfo-Bukt5yTB.js","names":[],"sources":["../../src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.tsx"],"sourcesContent":["import { useEffect } from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n type VerificationService,\n type MoverPersonalInfoViewModel,\n type MoverPersonalInfoResponse,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\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 { AddressComponent as Address } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\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 StepMoverPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMoverPersonalInfo = ({ verificationService }: StepMoverPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MoverPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MoverPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const updateMoverViewModel = (key: keyof MoverPersonalInfoViewModel, value: any) => {\n const nextState: MoverPersonalInfoViewModel = produce(\n viewModel,\n (draft: MoverPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n // We do not want a drop down list, just apply available statuses to the viewModel\n useEffect(() => {\n updateMoverViewModel(\"statuses\", verificationResponse.availableStatuses);\n }, []);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"mover-personal-info\"\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 updateMoverViewModel(\"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 updateMoverViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Address\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(newValue) => {\n updateMoverViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"streetAddress\" defaultMessage=\"Street Address\" />}\n isRequired\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n />\n\n <PostalCode\n value={viewModel.postalCode}\n isErrored={!!fieldValidationErrors.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n onChange={(newValue) => {\n updateMoverViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateMoverViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMoverViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMoverViewModel(\"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.collectMoverPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Recent Mover Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMoverPersonalInfoComponent = injectIntl(StepMoverPersonal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W,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAqB,YAAY;MAC/B,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAE8E"}
@@ -1,17 +1,17 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.252.0
4
- * BUILD_TIMESTAMP: 1783455301503
5
- * BUILD_DATE: Tue Jul 07 2026 20:15:01 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 058dd9382daa5331f63d2e72837d7ea867b024e1
3
+ * VERSION: 2.254.0
4
+ * BUILD_TIMESTAMP: 1783978046618
5
+ * BUILD_DATE: Mon Jul 13 2026 21:27:26 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: c717dfa3308cb09da6c05f87a2c9f56d881f77e9
7
7
  */
8
- import { Bt as e, Ft as t, Wt as n, ct as r } from "./options-DD3L-yYH.js";
9
- import { a as i, c as a, n as o, t as s } from "./jsx-runtime-De-7jy-U.js";
10
- import { r as c, t as l } from "./FormFooterComponent-CetDNO5o.js";
11
- import { i as u } from "./validators-CG1DHHwp.js";
12
- import { t as d } from "./LogoComponent-DgxgyyEk.js";
13
- import { t as f } from "./AnnouncingHeader-CLDpHgl_.js";
14
- import { t as p } from "./FormFieldText-Cn6-0trL.js";
8
+ import { Bt as e, Ft as t, Wt as n, ct as r } from "./options-D19mRw5a.js";
9
+ import { a as i, c as a, n as o, t as s } from "./jsx-runtime-BknAqbDq.js";
10
+ import { r as c, t as l } from "./FormFooterComponent-DmCwOlhB.js";
11
+ import { i as u } from "./validators-Do9xo2t_.js";
12
+ import { t as d } from "./LogoComponent-BMeuu-aK.js";
13
+ import { t as f } from "./AnnouncingHeader-DjgtqEeX.js";
14
+ import { t as p } from "./FormFieldText-zjWk7Cyc.js";
15
15
  //#region src/components/FormFields/OverrideCode/OverrideCodeComponent.tsx
16
16
  var m = /* @__PURE__ */ n(a(), 1), h = s(), g = i(({ value: e, isErrored: t, onChange: n, placeholder: r = "" }) => /* @__PURE__ */ (0, h.jsx)(p, {
17
17
  fieldId: "overrideCode",
@@ -1 +1 @@
1
- {"version":3,"file":"StepOverrideComponent-SqQZ3-Y0.js","names":[],"sources":["../../src/components/FormFields/OverrideCode/OverrideCodeComponent.tsx","../../src/components/StepOverrideComponent/StepOverrideComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\nexport const OverrideCode = ({\n value,\n isErrored,\n onChange,\n placeholder = \"\",\n}: FormFieldComponentProps) => (\n <FormFieldText\n fieldId=\"overrideCode\"\n value={value}\n onChange={onChange}\n placeholder=\"\"\n type=\"password\"\n label={\n <FormattedHTMLMessage\n id=\"step.override.verificationOverrideCodeLabel\"\n defaultMessage=\"Verification Override Code\"\n />\n }\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOverrideCode\"\n defaultMessage=\"Invalid Override Code\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n />\n);\n\nexport const OverrideCodeComponent = injectIntl(OverrideCode);\n","import React from \"react\";\nimport { injectIntl, FormattedHTMLMessage, type InjectedIntl } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport {\n type VerificationService,\n type OverrideViewModel,\n type OverrideResponse,\n} from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { OverrideCodeComponent } from \"../FormFields/OverrideCode/OverrideCodeComponent\";\nimport { setViewModel } from \"../../lib/VerificationService/ViewModel\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { isFormFilled } from \"../../lib/validators/validators\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\ninterface StepOverrideProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepOverride = ({ intl, verificationService }: StepOverrideProps) => {\n const viewModel = verificationService.viewModel as OverrideViewModel;\n const verificationResponse = verificationService.verificationResponse as OverrideResponse;\n const { fieldValidationErrors } = verificationService;\n const [stepResultMessage, setStepResultMessage] = React.useState(\"\");\n const isAttemptLimitExceeded =\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"incorrectVerificationOverrideCodeAttemptLimitExceeded\");\n const maxRetriesPerOverrideCodeMessage = intl.formatHTMLMessage({\n id: \"step.override.errors.codeOverrideLimit\",\n defaultMessage: \"Override code limit exceeded.\",\n });\n\n React.useEffect(() => {\n if (isAttemptLimitExceeded) {\n setStepResultMessage(maxRetriesPerOverrideCodeMessage);\n }\n }, []);\n\n if (\n getSafe(() => verificationResponse.errorIds.length) &&\n !verificationService.fieldValidationErrors.overrideCode\n ) {\n verificationService.updateFieldValidationErrors({\n ...verificationService.fieldValidationErrors,\n overrideCode: verificationResponse.errorIds[0],\n });\n }\n\n const submitForm = () => {\n logger.info(\"StepOverrideCode submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.override,\n viewModel,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <div\n id=\"sid-step-overrice-code\"\n className=\"sid-override-personal-info-container sid-l-container\"\n >\n <div role=\"main\">\n <div className=\"sid-override-personal-info-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-override-personal-info-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg\"\n />\n }\n />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.override.title\"\n defaultMessage=\"Unable to Verify Status\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.override.subtitle\"\n defaultMessage=\"Please sign in to your school's web portal. It will open in a new tab.\"\n />\n </div>\n <div className=\"sid-header__subtitle-one sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.override.subtitle2\"\n defaultMessage=\"This will enable the customer to redeem the offer\"\n />\n </div>\n <OverrideCodeComponent\n value={viewModel.overrideCode}\n isErrored={!!fieldValidationErrors.overrideCode}\n onChange={(newValue) => {\n setViewModel({ ...viewModel, overrideCode: newValue });\n }}\n />\n {stepResultMessage && (\n <div>\n <p>{stepResultMessage}</p>\n </div>\n )}\n\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className=\"sid-override-submit sid-submit\">\n <button\n id=\"sid-submit-btn-collect-info\"\n onClick={submitForm}\n type=\"button\"\n className={`sid-btn sid-override-submit-btn sid-btn--dark sid-l-full-width ${\n !isFormFilled(viewModel, verificationService.formValidationOptions)\n ? \"sid-btn--disabled-like\"\n : \"\"\n }`}\n disabled={\n !!(\n !viewModel.overrideCode ||\n viewModel.overrideCode.length <= 0 ||\n isAttemptLimitExceeded\n )\n }\n >\n <span id=\"verify-status-text\">\n <FormattedHTMLMessage\n id=\"step.override.submitOverrideCodeButtonLabel\"\n defaultMessage=\"Submit Override Codes\"\n />\n </span>\n </button>\n </div>\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n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AAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IACE,CAAA;IACL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IACE,CAAA;IACL,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,WAAW,MAAa;MACtB,EAAa;OAAE,GAAG;OAAW,cAAc;MAAS,CAAC;KACvD;IACD,CAAA;IACA,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD,EAAA,UACE,iBAAA,GAAA,EAAA,KAAC,KAAD,EAAA,UAAI,EAAqB,CAAA,EACtB,CAAA;IAGP,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,UAAD;OACE,IAAG;OACH,eA/Da;QAEvB,AADA,EAAO,KAAK,kCAAkC,GAC9C,EAAoB,WAClB,EAAsB,UACtB,GACA,EAAoB,oBACtB;OACF;OAyDY,MAAK;OACL,WAAW,kEACR,EAAa,GAAW,EAAoB,qBAAqB,IAE9D,KADA;OAGN,UACE,CAAC,EACC,CAAC,EAAU,gBACX,EAAU,aAAa,UAAU,KACjC;iBAIJ,iBAAA,GAAA,EAAA,KAAC,QAAD;QAAM,IAAG;kBACP,iBAAA,GAAA,EAAA,KAAC,GAAD;SACE,IAAG;SACH,gBAAe;QAChB,CAAA;OACG,CAAA;MACA,CAAA;KACL,CAAA;IACF,CAAA;GACF;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET,CAC4D"}
1
+ {"version":3,"file":"StepOverrideComponent-8VrcsxIL.js","names":[],"sources":["../../src/components/FormFields/OverrideCode/OverrideCodeComponent.tsx","../../src/components/StepOverrideComponent/StepOverrideComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\nexport const OverrideCode = ({\n value,\n isErrored,\n onChange,\n placeholder = \"\",\n}: FormFieldComponentProps) => (\n <FormFieldText\n fieldId=\"overrideCode\"\n value={value}\n onChange={onChange}\n placeholder=\"\"\n type=\"password\"\n label={\n <FormattedHTMLMessage\n id=\"step.override.verificationOverrideCodeLabel\"\n defaultMessage=\"Verification Override Code\"\n />\n }\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOverrideCode\"\n defaultMessage=\"Invalid Override Code\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n />\n);\n\nexport const OverrideCodeComponent = injectIntl(OverrideCode);\n","import React from \"react\";\nimport { injectIntl, FormattedHTMLMessage, type InjectedIntl } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport {\n type VerificationService,\n type OverrideViewModel,\n type OverrideResponse,\n} from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { OverrideCodeComponent } from \"../FormFields/OverrideCode/OverrideCodeComponent\";\nimport { setViewModel } from \"../../lib/VerificationService/ViewModel\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { isFormFilled } from \"../../lib/validators/validators\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\ninterface StepOverrideProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepOverride = ({ intl, verificationService }: StepOverrideProps) => {\n const viewModel = verificationService.viewModel as OverrideViewModel;\n const verificationResponse = verificationService.verificationResponse as OverrideResponse;\n const { fieldValidationErrors } = verificationService;\n const [stepResultMessage, setStepResultMessage] = React.useState(\"\");\n const isAttemptLimitExceeded =\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"incorrectVerificationOverrideCodeAttemptLimitExceeded\");\n const maxRetriesPerOverrideCodeMessage = intl.formatHTMLMessage({\n id: \"step.override.errors.codeOverrideLimit\",\n defaultMessage: \"Override code limit exceeded.\",\n });\n\n React.useEffect(() => {\n if (isAttemptLimitExceeded) {\n setStepResultMessage(maxRetriesPerOverrideCodeMessage);\n }\n }, []);\n\n if (\n getSafe(() => verificationResponse.errorIds.length) &&\n !verificationService.fieldValidationErrors.overrideCode\n ) {\n verificationService.updateFieldValidationErrors({\n ...verificationService.fieldValidationErrors,\n overrideCode: verificationResponse.errorIds[0],\n });\n }\n\n const submitForm = () => {\n logger.info(\"StepOverrideCode submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.override,\n viewModel,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <div\n id=\"sid-step-overrice-code\"\n className=\"sid-override-personal-info-container sid-l-container\"\n >\n <div role=\"main\">\n <div className=\"sid-override-personal-info-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-override-personal-info-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg\"\n />\n }\n />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.override.title\"\n defaultMessage=\"Unable to Verify Status\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.override.subtitle\"\n defaultMessage=\"Please sign in to your school's web portal. It will open in a new tab.\"\n />\n </div>\n <div className=\"sid-header__subtitle-one sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.override.subtitle2\"\n defaultMessage=\"This will enable the customer to redeem the offer\"\n />\n </div>\n <OverrideCodeComponent\n value={viewModel.overrideCode}\n isErrored={!!fieldValidationErrors.overrideCode}\n onChange={(newValue) => {\n setViewModel({ ...viewModel, overrideCode: newValue });\n }}\n />\n {stepResultMessage && (\n <div>\n <p>{stepResultMessage}</p>\n </div>\n )}\n\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className=\"sid-override-submit sid-submit\">\n <button\n id=\"sid-submit-btn-collect-info\"\n onClick={submitForm}\n type=\"button\"\n className={`sid-btn sid-override-submit-btn sid-btn--dark sid-l-full-width ${\n !isFormFilled(viewModel, verificationService.formValidationOptions)\n ? \"sid-btn--disabled-like\"\n : \"\"\n }`}\n disabled={\n !!(\n !viewModel.overrideCode ||\n viewModel.overrideCode.length <= 0 ||\n isAttemptLimitExceeded\n )\n }\n >\n <span id=\"verify-status-text\">\n <FormattedHTMLMessage\n id=\"step.override.submitOverrideCodeButtonLabel\"\n defaultMessage=\"Submit Override Codes\"\n />\n </span>\n </button>\n </div>\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\nexport const StepOverrideComponent = injectIntl(StepOverride);\n"],"mappings":";;;;;;;;4CAmCA,IAAA,GA9BA,EAAA,UAAA,cAAA,aAAA,iBAAA,SAAA,iBAAA,GAAA,EAAA,KAAA,GAAA;;;;;;;;;;;;;;;AA2BG,CAAA,CAGH,GC8Ga,IAAwB,GAzHf,EAAE,SAAM,6BAA6C;CACzE,IAAM,IAAY,EAAoB,WAChC,IAAuB,EAAoB,sBAC3C,EAAE,6BAA0B,GAC5B,CAAC,GAAmB,KAAA,EAA8B,SAAS,EAAE,GAC7D,IACJ,EAAqB,YACrB,EAAqB,SAAS,SAAS,uDAAuD,GAC1F,IAAmC,EAAK,kBAAkB;EAC9D,IAAI;EACJ,gBAAgB;CAClB,CAAC;CA2BD,OAzBA,EAAM,gBAAgB;EACpB,AAAI,KACF,EAAqB,CAAgC;CAEzD,GAAG,CAAC,CAAC,GAGH,QAAc,EAAqB,SAAS,MAAM,KAClD,CAAC,EAAoB,sBAAsB,gBAE3C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