@sheerid/jslib 2.252.0 → 2.253.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 (393) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +45 -45
  3. package/chunk/{AddressComponent-DzD9VVa_.js → AddressComponent-DL9pd8Ow.js} +6 -6
  4. package/chunk/{AddressComponent-DSxFIF4x.js.map → AddressComponent-DL9pd8Ow.js.map} +1 -1
  5. package/chunk/{AddressComponent-DSxFIF4x.js → AddressComponent-Dmbx7wQb.js} +6 -6
  6. package/chunk/{AddressComponent-DzD9VVa_.js.map → AddressComponent-Dmbx7wQb.js.map} +1 -1
  7. package/chunk/{AnnouncingHeader-CLDpHgl_.js → AnnouncingHeader-C665jgXh.js} +6 -6
  8. package/chunk/{AnnouncingHeader-CLDpHgl_.js.map → AnnouncingHeader-C665jgXh.js.map} +1 -1
  9. package/chunk/{AnnouncingHeader-CXeTT64m.js → AnnouncingHeader-CRqImmVM.js} +6 -6
  10. package/chunk/{AnnouncingHeader-CXeTT64m.js.map → AnnouncingHeader-CRqImmVM.js.map} +1 -1
  11. package/chunk/{ApiUrls-B_EvoEh6.js → ApiUrls-B1l97XLd.js} +6 -6
  12. package/chunk/{ApiUrls--DdrEkPe.js.map → ApiUrls-B1l97XLd.js.map} +1 -1
  13. package/chunk/{ApiUrls--DdrEkPe.js → ApiUrls-BMVXJ1mM.js} +6 -6
  14. package/chunk/{ApiUrls-B_EvoEh6.js.map → ApiUrls-BMVXJ1mM.js.map} +1 -1
  15. package/chunk/{BirthDateComponent-BHIU3Biw.js → BirthDateComponent-D-98d9mx.js} +7 -7
  16. package/chunk/{BirthDateComponent-BHIU3Biw.js.map → BirthDateComponent-D-98d9mx.js.map} +1 -1
  17. package/chunk/{BirthDateComponent-Cy8ZXEl7.js → BirthDateComponent-DCXg16GU.js} +7 -7
  18. package/chunk/{BirthDateComponent-Cy8ZXEl7.js.map → BirthDateComponent-DCXg16GU.js.map} +1 -1
  19. package/chunk/{CaptchaComponent-BxNyzcXf.js → CaptchaComponent-B4PjRH23.js} +14 -14
  20. package/chunk/{CaptchaComponent-BORHB7bO.js.map → CaptchaComponent-B4PjRH23.js.map} +1 -1
  21. package/chunk/{CaptchaComponent-BORHB7bO.js → CaptchaComponent-BxjtTozO.js} +14 -14
  22. package/chunk/{CaptchaComponent-BxNyzcXf.js.map → CaptchaComponent-BxjtTozO.js.map} +1 -1
  23. package/chunk/{ChangeLocaleComponent-D-DQnbPA.js → ChangeLocaleComponent-Cqs8Ed1t.js} +7 -7
  24. package/chunk/{ChangeLocaleComponent-D-DQnbPA.js.map → ChangeLocaleComponent-Cqs8Ed1t.js.map} +1 -1
  25. package/chunk/{ChangeLocaleComponent-idsSKpgP.js → ChangeLocaleComponent-yTfSGHOP.js} +7 -7
  26. package/chunk/{ChangeLocaleComponent-idsSKpgP.js.map → ChangeLocaleComponent-yTfSGHOP.js.map} +1 -1
  27. package/chunk/{City-CL6havrT.js → City-Ccy5-tEQ.js} +6 -6
  28. package/chunk/{City-BykM6lTM.js.map → City-Ccy5-tEQ.js.map} +1 -1
  29. package/chunk/{City-BykM6lTM.js → City-DpGdS5VA.js} +6 -6
  30. package/chunk/{City-CL6havrT.js.map → City-DpGdS5VA.js.map} +1 -1
  31. package/chunk/{CollegeNameComponent-C9i2FJFx.js → CollegeNameComponent-5qe9ljjZ.js} +8 -8
  32. package/chunk/{CollegeNameComponent-5BVjBNq0.js.map → CollegeNameComponent-5qe9ljjZ.js.map} +1 -1
  33. package/chunk/{CollegeNameComponent-5BVjBNq0.js → CollegeNameComponent-CSlyVZ9K.js} +8 -8
  34. package/chunk/{CollegeNameComponent-C9i2FJFx.js.map → CollegeNameComponent-CSlyVZ9K.js.map} +1 -1
  35. package/chunk/{CopyToClipboardComponent-B2uEMMpR.js → CopyToClipboardComponent-CYURzymv.js} +6 -6
  36. package/chunk/{CopyToClipboardComponent-B2uEMMpR.js.map → CopyToClipboardComponent-CYURzymv.js.map} +1 -1
  37. package/chunk/{CopyToClipboardComponent-CyzLvXQJ.js → CopyToClipboardComponent-DssvbA6B.js} +6 -6
  38. package/chunk/{CopyToClipboardComponent-CyzLvXQJ.js.map → CopyToClipboardComponent-DssvbA6B.js.map} +1 -1
  39. package/chunk/{CountryComponentWrapper-CcHQo8OH.js → CountryComponentWrapper-D05UNMjA.js} +9 -9
  40. package/chunk/{CountryComponentWrapper-CaYmSjkG.js.map → CountryComponentWrapper-D05UNMjA.js.map} +1 -1
  41. package/chunk/{CountryComponentWrapper-CaYmSjkG.js → CountryComponentWrapper-DpGkBqyN.js} +9 -9
  42. package/chunk/{CountryComponentWrapper-CcHQo8OH.js.map → CountryComponentWrapper-DpGkBqyN.js.map} +1 -1
  43. package/chunk/{DischargeDateComponent-AcgnEjpb.js → DischargeDateComponent-B_NsMlit.js} +10 -10
  44. package/chunk/{DischargeDateComponent-AcgnEjpb.js.map → DischargeDateComponent-B_NsMlit.js.map} +1 -1
  45. package/chunk/{DischargeDateComponent-DdE_EyqK.js → DischargeDateComponent-DIkajREC.js} +10 -10
  46. package/chunk/{DischargeDateComponent-DdE_EyqK.js.map → DischargeDateComponent-DIkajREC.js.map} +1 -1
  47. package/chunk/{DriverLicenseNumberComponent-D9SDRAeV.js → DriverLicenseNumberComponent-C8WITgA-.js} +6 -6
  48. package/chunk/{DriverLicenseNumberComponent-D9SDRAeV.js.map → DriverLicenseNumberComponent-C8WITgA-.js.map} +1 -1
  49. package/chunk/{DriverLicenseNumberComponent-DYEKIU1G.js → DriverLicenseNumberComponent-H3LDFFs8.js} +6 -6
  50. package/chunk/{DriverLicenseNumberComponent-DYEKIU1G.js.map → DriverLicenseNumberComponent-H3LDFFs8.js.map} +1 -1
  51. package/chunk/{EmailLoopPending-1aY4gWSW.js → EmailLoopPending-BNRLFtBa.js} +9 -9
  52. package/chunk/{EmailLoopPending-1aY4gWSW.js.map → EmailLoopPending-BNRLFtBa.js.map} +1 -1
  53. package/chunk/{EmailLoopPending-CohuDy06.js → EmailLoopPending-Dl0ph2cL.js} +9 -9
  54. package/chunk/{EmailLoopPending-CohuDy06.js.map → EmailLoopPending-Dl0ph2cL.js.map} +1 -1
  55. package/chunk/{ExtraMessage-x7BWw0ei.js → ExtraMessage-BvCY4YpQ.js} +7 -7
  56. package/chunk/{ExtraMessage-CN18YvZT.js.map → ExtraMessage-BvCY4YpQ.js.map} +1 -1
  57. package/chunk/{ExtraMessage-CN18YvZT.js → ExtraMessage-Dkql53YF.js} +7 -7
  58. package/chunk/{ExtraMessage-x7BWw0ei.js.map → ExtraMessage-Dkql53YF.js.map} +1 -1
  59. package/chunk/{FirstResponderOrganizationComponent-gE3uH_Qu.js → FirstResponderOrganizationComponent-BUdtKpMV.js} +7 -7
  60. package/chunk/{FirstResponderOrganizationComponent-CFtRv00U.js.map → FirstResponderOrganizationComponent-BUdtKpMV.js.map} +1 -1
  61. package/chunk/{FirstResponderOrganizationComponent-CFtRv00U.js → FirstResponderOrganizationComponent-CfDgqpt-.js} +7 -7
  62. package/chunk/{FirstResponderOrganizationComponent-gE3uH_Qu.js.map → FirstResponderOrganizationComponent-CfDgqpt-.js.map} +1 -1
  63. package/chunk/{FormFieldInputSelect-BBmkWo4W.js → FormFieldInputSelect-BY24q7T0.js} +7 -7
  64. package/chunk/{FormFieldInputSelect-BBmkWo4W.js.map → FormFieldInputSelect-BY24q7T0.js.map} +1 -1
  65. package/chunk/{FormFieldInputSelect-D2TcQH6v.js → FormFieldInputSelect-Dz0l89FZ.js} +7 -7
  66. package/chunk/{FormFieldInputSelect-D2TcQH6v.js.map → FormFieldInputSelect-Dz0l89FZ.js.map} +1 -1
  67. package/chunk/{FormFieldLayout-CMLqr9t1.js → FormFieldLayout-C5-ReqYd.js} +6 -6
  68. package/chunk/{FormFieldLayout-D8zi4UuO.js.map → FormFieldLayout-C5-ReqYd.js.map} +1 -1
  69. package/chunk/{FormFieldLayout-D8zi4UuO.js → FormFieldLayout-CHV2U_Vf.js} +6 -6
  70. package/chunk/{FormFieldLayout-CMLqr9t1.js.map → FormFieldLayout-CHV2U_Vf.js.map} +1 -1
  71. package/chunk/{FormFieldText-Cn6-0trL.js → FormFieldText-BbdI2qod.js} +7 -7
  72. package/chunk/{FormFieldText-Cn6-0trL.js.map → FormFieldText-BbdI2qod.js.map} +1 -1
  73. package/chunk/{FormFieldText-DJOFzwWN.js → FormFieldText-CojbU6CY.js} +7 -7
  74. package/chunk/{FormFieldText-DJOFzwWN.js.map → FormFieldText-CojbU6CY.js.map} +1 -1
  75. package/chunk/{FormFieldTypeahead-owJNEvXI.js → FormFieldTypeahead-CNX3FDrh.js} +13 -13
  76. package/chunk/{FormFieldTypeahead-owJNEvXI.js.map → FormFieldTypeahead-CNX3FDrh.js.map} +1 -1
  77. package/chunk/{FormFieldTypeahead-DgFoEFiI.js → FormFieldTypeahead-CtEOFpYZ.js} +13 -13
  78. package/chunk/{FormFieldTypeahead-DgFoEFiI.js.map → FormFieldTypeahead-CtEOFpYZ.js.map} +1 -1
  79. package/chunk/{FormFooterComponent-DhQaJMxV.js → FormFooterComponent-B4pXl2Gg.js} +1419 -1323
  80. package/chunk/FormFooterComponent-B4pXl2Gg.js.map +1 -0
  81. package/chunk/{FormFooterComponent-CetDNO5o.js → FormFooterComponent-D4f181-M.js} +258 -162
  82. package/chunk/FormFooterComponent-D4f181-M.js.map +1 -0
  83. package/chunk/{FormSelectChoice-osDN1oLh.js → FormSelectChoice-5THzFmQH.js} +8 -8
  84. package/chunk/{FormSelectChoice-BhhHyaEw.js.map → FormSelectChoice-5THzFmQH.js.map} +1 -1
  85. package/chunk/{FormSelectChoice-BhhHyaEw.js → FormSelectChoice-BY7fTRbM.js} +8 -8
  86. package/chunk/{FormSelectChoice-osDN1oLh.js.map → FormSelectChoice-BY7fTRbM.js.map} +1 -1
  87. package/chunk/{InputText-CJnffm2K.js → InputText-AeuQFn-n.js} +7 -7
  88. package/chunk/{InputText-BWuKLYeX.js.map → InputText-AeuQFn-n.js.map} +1 -1
  89. package/chunk/{InputText-BWuKLYeX.js → InputText-C1KVw41V.js} +7 -7
  90. package/chunk/{InputText-CJnffm2K.js.map → InputText-C1KVw41V.js.map} +1 -1
  91. package/chunk/{LicensedProfessionalOrganizationComponent-C2rj3igZ.js → LicensedProfessionalOrganizationComponent-Cpw8UkAg.js} +7 -7
  92. package/chunk/{LicensedProfessionalOrganizationComponent-C2rj3igZ.js.map → LicensedProfessionalOrganizationComponent-Cpw8UkAg.js.map} +1 -1
  93. package/chunk/{LicensedProfessionalOrganizationComponent-Bs2Bbby5.js → LicensedProfessionalOrganizationComponent-Dt-B-KLT.js} +7 -7
  94. package/chunk/{LicensedProfessionalOrganizationComponent-Bs2Bbby5.js.map → LicensedProfessionalOrganizationComponent-Dt-B-KLT.js.map} +1 -1
  95. package/chunk/{LogoComponent-x1hhyiZ7.js → LogoComponent-BbjTQetI.js} +6 -6
  96. package/chunk/{LogoComponent-DgxgyyEk.js.map → LogoComponent-BbjTQetI.js.map} +1 -1
  97. package/chunk/{LogoComponent-DgxgyyEk.js → LogoComponent-Capadyoj.js} +6 -6
  98. package/chunk/{LogoComponent-x1hhyiZ7.js.map → LogoComponent-Capadyoj.js.map} +1 -1
  99. package/chunk/{LowIncomeOrganizationComponent-CUp0Zwff.js → LowIncomeOrganizationComponent-BmjqOHxV.js} +11 -11
  100. package/chunk/{LowIncomeOrganizationComponent-CUp0Zwff.js.map → LowIncomeOrganizationComponent-BmjqOHxV.js.map} +1 -1
  101. package/chunk/{LowIncomeOrganizationComponent-D-nhX8iT.js → LowIncomeOrganizationComponent-C8d-cPM9.js} +11 -11
  102. package/chunk/{LowIncomeOrganizationComponent-D-nhX8iT.js.map → LowIncomeOrganizationComponent-C8d-cPM9.js.map} +1 -1
  103. package/chunk/{MedicalProfessionalOrganizationComponent-CPj_iPSu.js → MedicalProfessionalOrganizationComponent-AEiTIh5y.js} +7 -7
  104. package/chunk/{MedicalProfessionalOrganizationComponent-CPj_iPSu.js.map → MedicalProfessionalOrganizationComponent-AEiTIh5y.js.map} +1 -1
  105. package/chunk/{MedicalProfessionalOrganizationComponent-DDOdWW0l.js → MedicalProfessionalOrganizationComponent-DGohlVeO.js} +7 -7
  106. package/chunk/{MedicalProfessionalOrganizationComponent-DDOdWW0l.js.map → MedicalProfessionalOrganizationComponent-DGohlVeO.js.map} +1 -1
  107. package/chunk/{MemberIdComponent-lHRDd-GD.js → MemberIdComponent-Bgj2RTIU.js} +6 -6
  108. package/chunk/{MemberIdComponent-CCd021Y2.js.map → MemberIdComponent-Bgj2RTIU.js.map} +1 -1
  109. package/chunk/{MemberIdComponent-CCd021Y2.js → MemberIdComponent-C4nH8HWl.js} +6 -6
  110. package/chunk/{MemberIdComponent-lHRDd-GD.js.map → MemberIdComponent-C4nH8HWl.js.map} +1 -1
  111. package/chunk/{MembershipOrganizationComponent-C4Lq8DDO.js → MembershipOrganizationComponent--cqePbSG.js} +7 -7
  112. package/chunk/{MembershipOrganizationComponent-C4Lq8DDO.js.map → MembershipOrganizationComponent--cqePbSG.js.map} +1 -1
  113. package/chunk/{MembershipOrganizationComponent-DFlV9g62.js → MembershipOrganizationComponent-DKndZo_l.js} +7 -7
  114. package/chunk/{MembershipOrganizationComponent-DFlV9g62.js.map → MembershipOrganizationComponent-DKndZo_l.js.map} +1 -1
  115. package/chunk/Onfido-CTCgAwnB.js +4 -4
  116. package/chunk/{PersonalInfoStepSubmitButton-BQc65TXU.js → PersonalInfoStepSubmitButton-B_cDlypb.js} +10 -10
  117. package/chunk/{PersonalInfoStepSubmitButton-BQc65TXU.js.map → PersonalInfoStepSubmitButton-B_cDlypb.js.map} +1 -1
  118. package/chunk/{PersonalInfoStepSubmitButton-Do9s_cOU.js → PersonalInfoStepSubmitButton-CXvt9o8S.js} +10 -10
  119. package/chunk/{PersonalInfoStepSubmitButton-Do9s_cOU.js.map → PersonalInfoStepSubmitButton-CXvt9o8S.js.map} +1 -1
  120. package/chunk/{PersonalInfoStepWrapper-CZNsVG-R.js → PersonalInfoStepWrapper-CdBLUd5V.js} +7 -7
  121. package/chunk/{PersonalInfoStepWrapper-CZNsVG-R.js.map → PersonalInfoStepWrapper-CdBLUd5V.js.map} +1 -1
  122. package/chunk/{PersonalInfoStepWrapper-BdHSrD2_.js → PersonalInfoStepWrapper-DAmzepBq.js} +8 -8
  123. package/chunk/{PersonalInfoStepWrapper-BdHSrD2_.js.map → PersonalInfoStepWrapper-DAmzepBq.js.map} +1 -1
  124. package/chunk/{PostalCodeComponent-1-YsGlqY.js → PostalCodeComponent-C5NIUmbp.js} +6 -6
  125. package/chunk/{PostalCodeComponent-1-YsGlqY.js.map → PostalCodeComponent-C5NIUmbp.js.map} +1 -1
  126. package/chunk/{PostalCodeComponent-DNUVgwF3.js → PostalCodeComponent-CUGDHlOa.js} +6 -6
  127. package/chunk/{PostalCodeComponent-DNUVgwF3.js.map → PostalCodeComponent-CUGDHlOa.js.map} +1 -1
  128. package/chunk/{SSN-BX8TdkJC.js → SSN-BZgf6MTH.js} +7 -7
  129. package/chunk/{SSN-BX8TdkJC.js.map → SSN-BZgf6MTH.js.map} +1 -1
  130. package/chunk/{SSN-BbJApc2I.js → SSN-COEXPfZd.js} +7 -7
  131. package/chunk/{SSN-BbJApc2I.js.map → SSN-COEXPfZd.js.map} +1 -1
  132. package/chunk/{StateSelectComponent-6kUzcwCo.js → StateSelectComponent-D9cuFwhj.js} +6 -6
  133. package/chunk/{StateSelectComponent-6kUzcwCo.js.map → StateSelectComponent-D9cuFwhj.js.map} +1 -1
  134. package/chunk/{StateSelectComponent-BSKKl9wF.js → StateSelectComponent-Dmp3aJ9_.js} +6 -6
  135. package/chunk/{StateSelectComponent-BSKKl9wF.js.map → StateSelectComponent-Dmp3aJ9_.js.map} +1 -1
  136. package/chunk/{StatusComponent-B68ABFjx.js → StatusComponent-54Lup0nO.js} +7 -7
  137. package/chunk/{StatusComponent-B68ABFjx.js.map → StatusComponent-54Lup0nO.js.map} +1 -1
  138. package/chunk/{StatusComponent-CV8Vb5eJ.js → StatusComponent-CJBJQf_t.js} +7 -7
  139. package/chunk/{StatusComponent-CV8Vb5eJ.js.map → StatusComponent-CJBJQf_t.js.map} +1 -1
  140. package/chunk/{StepActiveMilitaryPersonalInfoComponent-C8i62pcJ.js → StepActiveMilitaryPersonalInfoComponent-DYwwKWiP.js} +18 -18
  141. package/chunk/{StepActiveMilitaryPersonalInfoComponent-C8i62pcJ.js.map → StepActiveMilitaryPersonalInfoComponent-DYwwKWiP.js.map} +1 -1
  142. package/chunk/{StepActiveMilitaryPersonalInfoComponent-hoa8SxRd.js → StepActiveMilitaryPersonalInfoComponent-Dd9wZL69.js} +18 -18
  143. package/chunk/{StepActiveMilitaryPersonalInfoComponent-hoa8SxRd.js.map → StepActiveMilitaryPersonalInfoComponent-Dd9wZL69.js.map} +1 -1
  144. package/chunk/{StepAgePersonalInfo-BFhsxBUD.js → StepAgePersonalInfo-B6BaJSU9.js} +18 -18
  145. package/chunk/{StepAgePersonalInfo-BFhsxBUD.js.map → StepAgePersonalInfo-B6BaJSU9.js.map} +1 -1
  146. package/chunk/{StepAgePersonalInfo-DIWqbP3p.js → StepAgePersonalInfo-uB8J8jFk.js} +18 -18
  147. package/chunk/{StepAgePersonalInfo-DIWqbP3p.js.map → StepAgePersonalInfo-uB8J8jFk.js.map} +1 -1
  148. package/chunk/{StepCard-DRPVd5Xe.js → StepCard-B31RNuY9.js} +5 -5
  149. package/chunk/{StepCard-BEbyMH-c.js.map → StepCard-B31RNuY9.js.map} +1 -1
  150. package/chunk/{StepCard-BEbyMH-c.js → StepCard-PXVHWYeo.js} +5 -5
  151. package/chunk/{StepCard-DRPVd5Xe.js.map → StepCard-PXVHWYeo.js.map} +1 -1
  152. package/chunk/{StepCollectIdentifier-BSK3qDAU.js → StepCollectIdentifier-BPD70vxg.js} +8 -8
  153. package/chunk/{StepCollectIdentifier-Cy2aeT_j.js.map → StepCollectIdentifier-BPD70vxg.js.map} +1 -1
  154. package/chunk/{StepCollectIdentifier-Cy2aeT_j.js → StepCollectIdentifier-D5Mt1tDo.js} +8 -8
  155. package/chunk/{StepCollectIdentifier-BSK3qDAU.js.map → StepCollectIdentifier-D5Mt1tDo.js.map} +1 -1
  156. package/chunk/StepCollectMilitaryStatusComponent-CD7tdS_t.js +9 -0
  157. package/chunk/{StepCollectMilitaryStatusComponent-B0D4F5Hd.js → StepCollectMilitaryStatusComponent-Dk4ngVEf.js} +5 -5
  158. package/chunk/{StepCollectPersonalInfo-DrWJrhte.js → StepCollectPersonalInfo-CHC7DaGk.js} +30 -30
  159. package/chunk/{StepCollectPersonalInfo-DrWJrhte.js.map → StepCollectPersonalInfo-CHC7DaGk.js.map} +1 -1
  160. package/chunk/{StepCollectPersonalInfo-BhRo5AZW.js → StepCollectPersonalInfo-Jvy4xiYx.js} +30 -30
  161. package/chunk/{StepCollectPersonalInfo-BhRo5AZW.js.map → StepCollectPersonalInfo-Jvy4xiYx.js.map} +1 -1
  162. package/chunk/{StepCompleteAuthentication-BMYfHQDX.js → StepCompleteAuthentication-B3DbO_HZ.js} +7 -7
  163. package/chunk/{StepCompleteAuthentication-BMYfHQDX.js.map → StepCompleteAuthentication-B3DbO_HZ.js.map} +1 -1
  164. package/chunk/{StepCompleteAuthentication-Cu9GoQDP.js → StepCompleteAuthentication-khHRwXK7.js} +7 -7
  165. package/chunk/{StepCompleteAuthentication-Cu9GoQDP.js.map → StepCompleteAuthentication-khHRwXK7.js.map} +1 -1
  166. package/chunk/{StepConsolation-DmX3B6yh.js → StepConsolation-BdtjeVme.js} +9 -9
  167. package/chunk/{StepConsolation-DmX3B6yh.js.map → StepConsolation-BdtjeVme.js.map} +1 -1
  168. package/chunk/{StepConsolation-bt3asBBO.js → StepConsolation-CpG4ivzD.js} +9 -9
  169. package/chunk/{StepConsolation-bt3asBBO.js.map → StepConsolation-CpG4ivzD.js.map} +1 -1
  170. package/chunk/{StepDocUpload-DMUXunVM.js → StepDocUpload-C5274Wtg.js} +13 -13
  171. package/chunk/{StepDocUpload-DMUXunVM.js.map → StepDocUpload-C5274Wtg.js.map} +1 -1
  172. package/chunk/{StepDocUpload-CXRWsWyZ.js → StepDocUpload-CLVth33n.js} +13 -13
  173. package/chunk/{StepDocUpload-CXRWsWyZ.js.map → StepDocUpload-CLVth33n.js.map} +1 -1
  174. package/chunk/{StepDriverLicensePersonalInfoComponent-DAcFI9fH.js → StepDriverLicensePersonalInfoComponent-6akTvppj.js} +15 -15
  175. package/chunk/{StepDriverLicensePersonalInfoComponent-DAcFI9fH.js.map → StepDriverLicensePersonalInfoComponent-6akTvppj.js.map} +1 -1
  176. package/chunk/{StepDriverLicensePersonalInfoComponent-0uKhEZKS.js → StepDriverLicensePersonalInfoComponent-BnVL6avF.js} +15 -15
  177. package/chunk/{StepDriverLicensePersonalInfoComponent-0uKhEZKS.js.map → StepDriverLicensePersonalInfoComponent-BnVL6avF.js.map} +1 -1
  178. package/chunk/{StepEmailLoop-CNlnNJ-I.js → StepEmailLoop-D1KB0KwR.js} +11 -11
  179. package/chunk/{StepEmailLoop-CNlnNJ-I.js.map → StepEmailLoop-D1KB0KwR.js.map} +1 -1
  180. package/chunk/{StepEmailLoop-DvhrtkaW.js → StepEmailLoop-Dfug5ScA.js} +11 -11
  181. package/chunk/{StepEmailLoop-DvhrtkaW.js.map → StepEmailLoop-Dfug5ScA.js.map} +1 -1
  182. package/chunk/{StepEmploymentPersonalInfo-ChvYaKNw.js → StepEmploymentPersonalInfo-CFyNzULG.js} +18 -18
  183. package/chunk/{StepEmploymentPersonalInfo-B5JXd1cN.js.map → StepEmploymentPersonalInfo-CFyNzULG.js.map} +1 -1
  184. package/chunk/{StepEmploymentPersonalInfo-B5JXd1cN.js → StepEmploymentPersonalInfo-D7HGsB-p.js} +18 -18
  185. package/chunk/{StepEmploymentPersonalInfo-ChvYaKNw.js.map → StepEmploymentPersonalInfo-D7HGsB-p.js.map} +1 -1
  186. package/chunk/{StepFirstResponderPersonalInfo-LlsPNHdA.js → StepFirstResponderPersonalInfo-BulirlUs.js} +18 -18
  187. package/chunk/{StepFirstResponderPersonalInfo-LlsPNHdA.js.map → StepFirstResponderPersonalInfo-BulirlUs.js.map} +1 -1
  188. package/chunk/{StepFirstResponderPersonalInfo-RufrTrr8.js → StepFirstResponderPersonalInfo-Di_b4ACx.js} +18 -18
  189. package/chunk/{StepFirstResponderPersonalInfo-RufrTrr8.js.map → StepFirstResponderPersonalInfo-Di_b4ACx.js.map} +1 -1
  190. package/chunk/{StepGeneralIdentityPersonalInfoComponent-BipfF6xU.js → StepGeneralIdentityPersonalInfoComponent-olZs-6Rj.js} +18 -18
  191. package/chunk/{StepGeneralIdentityPersonalInfoComponent-BipfF6xU.js.map → StepGeneralIdentityPersonalInfoComponent-olZs-6Rj.js.map} +1 -1
  192. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CETkNIaC.js → StepGeneralIdentityPersonalInfoComponent-pQLGlnKM.js} +18 -18
  193. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CETkNIaC.js.map → StepGeneralIdentityPersonalInfoComponent-pQLGlnKM.js.map} +1 -1
  194. package/chunk/{StepHybridIdentityPersonalInfoComponent-B2nuVc7l.js → StepHybridIdentityPersonalInfoComponent-BnDQUGJs.js} +19 -19
  195. package/chunk/{StepHybridIdentityPersonalInfoComponent-B2nuVc7l.js.map → StepHybridIdentityPersonalInfoComponent-BnDQUGJs.js.map} +1 -1
  196. package/chunk/{StepHybridIdentityPersonalInfoComponent-DBq__6K1.js → StepHybridIdentityPersonalInfoComponent-CE7BsdJg.js} +19 -19
  197. package/chunk/{StepHybridIdentityPersonalInfoComponent-DBq__6K1.js.map → StepHybridIdentityPersonalInfoComponent-CE7BsdJg.js.map} +1 -1
  198. package/chunk/{StepIDCheckLoop-OZcXlCYI.js → StepIDCheckLoop-C5285ynn.js} +8 -8
  199. package/chunk/{StepIDCheckLoop-DcepvoDq.js.map → StepIDCheckLoop-C5285ynn.js.map} +1 -1
  200. package/chunk/{StepIDCheckLoop-DcepvoDq.js → StepIDCheckLoop-CcZ5Uaf4.js} +8 -8
  201. package/chunk/{StepIDCheckLoop-OZcXlCYI.js.map → StepIDCheckLoop-CcZ5Uaf4.js.map} +1 -1
  202. package/chunk/{StepIDCheckLoopOnfido-CJzbMWT9.js → StepIDCheckLoopOnfido-BjjTPVOv.js} +11 -11
  203. package/chunk/{StepIDCheckLoopOnfido-CJzbMWT9.js.map → StepIDCheckLoopOnfido-BjjTPVOv.js.map} +1 -1
  204. package/chunk/{StepIDCheckLoopOnfido-BccaRXnf.js → StepIDCheckLoopOnfido-BmxPYTpf.js} +11 -11
  205. package/chunk/{StepIDCheckLoopOnfido-BccaRXnf.js.map → StepIDCheckLoopOnfido-BmxPYTpf.js.map} +1 -1
  206. package/chunk/{StepIDCheckLoopRegula-vJGTN04M.js → StepIDCheckLoopRegula-D7Zd3zod.js} +10 -10
  207. package/chunk/{StepIDCheckLoopRegula-BJNsxIhV.js.map → StepIDCheckLoopRegula-D7Zd3zod.js.map} +1 -1
  208. package/chunk/{StepIDCheckLoopRegula-BJNsxIhV.js → StepIDCheckLoopRegula-DBYXDNLU.js} +10 -10
  209. package/chunk/{StepIDCheckLoopRegula-vJGTN04M.js.map → StepIDCheckLoopRegula-DBYXDNLU.js.map} +1 -1
  210. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-tDuo4mAi.js → StepInactiveMilitaryPersonalInfoComponent-HBJK96BR.js} +23 -23
  211. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CYJ86Qy2.js.map → StepInactiveMilitaryPersonalInfoComponent-HBJK96BR.js.map} +1 -1
  212. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CYJ86Qy2.js → StepInactiveMilitaryPersonalInfoComponent-T4We4W2c.js} +23 -23
  213. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-tDuo4mAi.js.map → StepInactiveMilitaryPersonalInfoComponent-T4We4W2c.js.map} +1 -1
  214. package/chunk/{StepLicensedProfessionalPersonalInfo-CbxBDwSv.js → StepLicensedProfessionalPersonalInfo-Bo9cIVmu.js} +17 -17
  215. package/chunk/{StepLicensedProfessionalPersonalInfo-CbxBDwSv.js.map → StepLicensedProfessionalPersonalInfo-Bo9cIVmu.js.map} +1 -1
  216. package/chunk/{StepLicensedProfessionalPersonalInfo-D_c4v8UM.js → StepLicensedProfessionalPersonalInfo-_ENTeOP7.js} +17 -17
  217. package/chunk/{StepLicensedProfessionalPersonalInfo-D_c4v8UM.js.map → StepLicensedProfessionalPersonalInfo-_ENTeOP7.js.map} +1 -1
  218. package/chunk/{StepLowIncomePersonalInfo-w2zhOF1V.js → StepLowIncomePersonalInfo-DcuP9uCp.js} +21 -21
  219. package/chunk/{StepLowIncomePersonalInfo-DKfMG8ar.js.map → StepLowIncomePersonalInfo-DcuP9uCp.js.map} +1 -1
  220. package/chunk/{StepLowIncomePersonalInfo-DKfMG8ar.js → StepLowIncomePersonalInfo-Dp76iAAP.js} +21 -21
  221. package/chunk/{StepLowIncomePersonalInfo-w2zhOF1V.js.map → StepLowIncomePersonalInfo-Dp76iAAP.js.map} +1 -1
  222. package/chunk/{StepMedicalProfessionalPersonalInfo-DsJ1m9gg.js → StepMedicalProfessionalPersonalInfo--vo70WUw.js} +19 -19
  223. package/chunk/{StepMedicalProfessionalPersonalInfo-Bmtf2gGb.js.map → StepMedicalProfessionalPersonalInfo--vo70WUw.js.map} +1 -1
  224. package/chunk/{StepMedicalProfessionalPersonalInfo-Bmtf2gGb.js → StepMedicalProfessionalPersonalInfo-Cx6z5vv_.js} +19 -19
  225. package/chunk/{StepMedicalProfessionalPersonalInfo-DsJ1m9gg.js.map → StepMedicalProfessionalPersonalInfo-Cx6z5vv_.js.map} +1 -1
  226. package/chunk/{StepMemberPersonalInfo-Bizl9yj8.js → StepMemberPersonalInfo-6GXnE9oW.js} +16 -16
  227. package/chunk/{StepMemberPersonalInfo-Bizl9yj8.js.map → StepMemberPersonalInfo-6GXnE9oW.js.map} +1 -1
  228. package/chunk/{StepMemberPersonalInfo-grYM_Yf4.js → StepMemberPersonalInfo-DIK_Up4k.js} +16 -16
  229. package/chunk/{StepMemberPersonalInfo-grYM_Yf4.js.map → StepMemberPersonalInfo-DIK_Up4k.js.map} +1 -1
  230. package/chunk/{StepMoverPersonalInfo-D3aIlwOK.js → StepMoverPersonalInfo-BdCiAwgT.js} +14 -14
  231. package/chunk/{StepMoverPersonalInfo-D3aIlwOK.js.map → StepMoverPersonalInfo-BdCiAwgT.js.map} +1 -1
  232. package/chunk/{StepMoverPersonalInfo-DkQbmMny.js → StepMoverPersonalInfo-Cs-5V2Vf.js} +14 -14
  233. package/chunk/{StepMoverPersonalInfo-DkQbmMny.js.map → StepMoverPersonalInfo-Cs-5V2Vf.js.map} +1 -1
  234. package/chunk/{StepOverrideComponent-SqQZ3-Y0.js → StepOverrideComponent-BuCf5lHB.js} +11 -11
  235. package/chunk/{StepOverrideComponent-SqQZ3-Y0.js.map → StepOverrideComponent-BuCf5lHB.js.map} +1 -1
  236. package/chunk/{StepOverrideComponent-VSx5gkrS.js → StepOverrideComponent-CQ0ofUDQ.js} +11 -11
  237. package/chunk/{StepOverrideComponent-VSx5gkrS.js.map → StepOverrideComponent-CQ0ofUDQ.js.map} +1 -1
  238. package/chunk/{StepSMSLoop-Bnj6w5bM.js → StepSMSLoop-DMyuCz5p.js} +9 -9
  239. package/chunk/{StepSMSLoop-Bnj6w5bM.js.map → StepSMSLoop-DMyuCz5p.js.map} +1 -1
  240. package/chunk/{StepSMSLoop-CDS9I-nu.js → StepSMSLoop-SnRlOV_y.js} +9 -9
  241. package/chunk/{StepSMSLoop-CDS9I-nu.js.map → StepSMSLoop-SnRlOV_y.js.map} +1 -1
  242. package/chunk/StepSSO-BRFhNvkp.js +4 -4
  243. package/chunk/StepSSO-BaFk7RFJ.js +4 -4
  244. package/chunk/{StepSocialSecurityNumber-Be2LWoJF.js → StepSocialSecurityNumber-CKQQW5C5.js} +12 -12
  245. package/chunk/{StepSocialSecurityNumber-Be2LWoJF.js.map → StepSocialSecurityNumber-CKQQW5C5.js.map} +1 -1
  246. package/chunk/{StepSocialSecurityNumber-C6pBegcg.js → StepSocialSecurityNumber-D_PGuZD6.js} +12 -12
  247. package/chunk/{StepSocialSecurityNumber-C6pBegcg.js.map → StepSocialSecurityNumber-D_PGuZD6.js.map} +1 -1
  248. package/chunk/{StepStudentPersonalInfo-CJh-76B0.js → StepStudentPersonalInfo-CMD9-6V4.js} +16 -16
  249. package/chunk/{StepStudentPersonalInfo-06duqwlX.js.map → StepStudentPersonalInfo-CMD9-6V4.js.map} +1 -1
  250. package/chunk/{StepStudentPersonalInfo-06duqwlX.js → StepStudentPersonalInfo-Dm_l8-YI.js} +16 -16
  251. package/chunk/{StepStudentPersonalInfo-CJh-76B0.js.map → StepStudentPersonalInfo-Dm_l8-YI.js.map} +1 -1
  252. package/chunk/{StepSuccess-BgY9a0Cn.js → StepSuccess-3vU0mbVv.js} +11 -11
  253. package/chunk/{StepSuccess-BgY9a0Cn.js.map → StepSuccess-3vU0mbVv.js.map} +1 -1
  254. package/chunk/{StepSuccess-MVR8TAGq.js → StepSuccess-BMwq2W8N.js} +11 -11
  255. package/chunk/{StepSuccess-MVR8TAGq.js.map → StepSuccess-BMwq2W8N.js.map} +1 -1
  256. package/chunk/{StepTeacherPersonalInfo-CVudPe_L.js → StepTeacherPersonalInfo-262MHFWy.js} +17 -17
  257. package/chunk/{StepTeacherPersonalInfo-CVudPe_L.js.map → StepTeacherPersonalInfo-262MHFWy.js.map} +1 -1
  258. package/chunk/{StepTeacherPersonalInfo-DOmYn9G8.js → StepTeacherPersonalInfo-BR4J18vS.js} +17 -17
  259. package/chunk/{StepTeacherPersonalInfo-DOmYn9G8.js.map → StepTeacherPersonalInfo-BR4J18vS.js.map} +1 -1
  260. package/chunk/StepThirdPartyLoop-BGHCbduX.js +4 -4
  261. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +4 -4
  262. package/chunk/{TeacherSchoolComponent-B5V_JYP1.js → TeacherSchoolComponent-B2lR7nTy.js} +8 -8
  263. package/chunk/{TeacherSchoolComponent-CVxRF20A.js.map → TeacherSchoolComponent-B2lR7nTy.js.map} +1 -1
  264. package/chunk/{TeacherSchoolComponent-CVxRF20A.js → TeacherSchoolComponent-Bbxea0Ji.js} +8 -8
  265. package/chunk/{TeacherSchoolComponent-B5V_JYP1.js.map → TeacherSchoolComponent-Bbxea0Ji.js.map} +1 -1
  266. package/chunk/{TestingRouteOverrides-D14rz0L4.js → TestingRouteOverrides-BogZlgPW.js} +6 -6
  267. package/chunk/{TestingRouteOverrides-D_76ZDo1.js.map → TestingRouteOverrides-BogZlgPW.js.map} +1 -1
  268. package/chunk/{TestingRouteOverrides-D_76ZDo1.js → TestingRouteOverrides-FAGpXyA6.js} +6 -6
  269. package/chunk/{TestingRouteOverrides-D14rz0L4.js.map → TestingRouteOverrides-FAGpXyA6.js.map} +1 -1
  270. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  271. package/chunk/{VerificationApiClient-Bsq9nmb1.js → VerificationApiClient-BO8ElFmj.js} +8 -8
  272. package/chunk/{VerificationApiClient-Bsq9nmb1.js.map → VerificationApiClient-BO8ElFmj.js.map} +1 -1
  273. package/chunk/{VerificationApiClient-C9Eh-JpJ.js → VerificationApiClient-DPuicXlE.js} +8 -8
  274. package/chunk/{VerificationApiClient-C9Eh-JpJ.js.map → VerificationApiClient-DPuicXlE.js.map} +1 -1
  275. package/chunk/{VerificationApiUtils-DSadLMiz.js → VerificationApiUtils-BDFqaPsb.js} +7 -7
  276. package/chunk/{VerificationApiUtils-DA8QOxK3.js.map → VerificationApiUtils-BDFqaPsb.js.map} +1 -1
  277. package/chunk/{VerificationApiUtils-DA8QOxK3.js → VerificationApiUtils-k8zQodQ6.js} +7 -7
  278. package/chunk/{VerificationApiUtils-DSadLMiz.js.map → VerificationApiUtils-k8zQodQ6.js.map} +1 -1
  279. package/chunk/ar-wkBEXxD9.js +4 -4
  280. package/chunk/bg-D2-seofX.js +4 -4
  281. package/chunk/bn-IN-B5PyYaJU.js +4 -4
  282. package/chunk/{countryUtils-Cv7oNEHL.js → countryUtils-h1jZdv97.js} +5 -5
  283. package/chunk/{countryUtils-Cv7oNEHL.js.map → countryUtils-h1jZdv97.js.map} +1 -1
  284. package/chunk/countryUtils-vV17lva1.js +12 -0
  285. package/chunk/{countryUtils-ZN4SsRTU.js.map → countryUtils-vV17lva1.js.map} +1 -1
  286. package/chunk/cs-CsEnIopo.js +4 -4
  287. package/chunk/da-Da-m3VU_.js +4 -4
  288. package/chunk/de-BSoD5U3-.js +4 -4
  289. package/chunk/{downshift.esm-BzITPxIv.js → downshift.esm-Ba4YUxLv.js} +7 -7
  290. package/chunk/{downshift.esm-BzITPxIv.js.map → downshift.esm-Ba4YUxLv.js.map} +1 -1
  291. package/chunk/{downshift.esm-DjizeEtd.js → downshift.esm-aRmW_Ivn.js} +7 -7
  292. package/chunk/{downshift.esm-DjizeEtd.js.map → downshift.esm-aRmW_Ivn.js.map} +1 -1
  293. package/chunk/el-CFa6y9Ri.js +4 -4
  294. package/chunk/{empties-QXFZXxsa.js → empties-D0HcIbna.js} +5 -5
  295. package/chunk/{empties-QXFZXxsa.js.map → empties-D0HcIbna.js.map} +1 -1
  296. package/chunk/{empties-ddtrXdee.js → empties-oqufRVwJ.js} +5 -5
  297. package/chunk/{empties-ddtrXdee.js.map → empties-oqufRVwJ.js.map} +1 -1
  298. package/chunk/{en-GB-iLW1auh9.js → en-GB-V8XaGkaI.js} +5 -5
  299. package/chunk/{en-GB-iLW1auh9.js.map → en-GB-V8XaGkaI.js.map} +1 -1
  300. package/chunk/es-D18tLxcT.js +4 -4
  301. package/chunk/es-ES-7x2bVUQr.js +4 -4
  302. package/chunk/et-udrWMVlD.js +4 -4
  303. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  304. package/chunk/fa-DgwYULMs.js +4 -4
  305. package/chunk/fi-CkCWFGDC.js +4 -4
  306. package/chunk/fr-BprIFEa8.js +4 -4
  307. package/chunk/fr-CA-DrjICejr.js +4 -4
  308. package/chunk/ga-LaV5ZJgg.js +4 -4
  309. package/chunk/hi-IN-7dtEICYI.js +4 -4
  310. package/chunk/hr-2Bctl997.js +4 -4
  311. package/chunk/hu-BT0z6TPZ.js +4 -4
  312. package/chunk/id-BvyYep3X.js +4 -4
  313. package/chunk/{intl-BykyN0c9.js → intl-Cqlpm1sq.js} +6 -6
  314. package/chunk/intl-Cqlpm1sq.js.map +1 -0
  315. package/chunk/is-DOsKfa80.js +4 -4
  316. package/chunk/it-3dX9AQk7.js +4 -4
  317. package/chunk/iw-5I90wqQ8.js +4 -4
  318. package/chunk/ja-CHdgbMgX.js +4 -4
  319. package/chunk/{jsx-runtime-De-7jy-U.js → jsx-runtime-BnnxqtDz.js} +5 -5
  320. package/chunk/{jsx-runtime-De-7jy-U.js.map → jsx-runtime-BnnxqtDz.js.map} +1 -1
  321. package/chunk/{jsx-runtime-pfrjHhUf.js → jsx-runtime-C6z95NB7.js} +5 -5
  322. package/chunk/{jsx-runtime-pfrjHhUf.js.map → jsx-runtime-C6z95NB7.js.map} +1 -1
  323. package/chunk/kk-BriyNfHL.js +4 -4
  324. package/chunk/ko-DsMaax3V.js +4 -4
  325. package/chunk/lo-CjASRmNr.js +4 -4
  326. package/chunk/lt-DF29E1de.js +4 -4
  327. package/chunk/lv-DlHBZyt-.js +4 -4
  328. package/chunk/{militaryStepHelpers-DNAVjYXU.js → militaryStepHelpers-BqdwwAql.js} +5 -5
  329. package/chunk/{militaryStepHelpers-BfGvMNQt.js.map → militaryStepHelpers-BqdwwAql.js.map} +1 -1
  330. package/chunk/{militaryStepHelpers-BfGvMNQt.js → militaryStepHelpers-VWPmjXpn.js} +5 -5
  331. package/chunk/{militaryStepHelpers-DNAVjYXU.js.map → militaryStepHelpers-VWPmjXpn.js.map} +1 -1
  332. package/chunk/{mocks-Cw8Tvikf.js → mocks-BOj7lDRY.js} +6 -6
  333. package/chunk/{mocks-Cw8Tvikf.js.map → mocks-BOj7lDRY.js.map} +1 -1
  334. package/chunk/{mocks-CYKME7z2.js → mocks-CltQI45M.js} +6 -6
  335. package/chunk/{mocks-CYKME7z2.js.map → mocks-CltQI45M.js.map} +1 -1
  336. package/chunk/ms-B3vDtlFh.js +4 -4
  337. package/chunk/nl-BE-Dw1IGXuF.js +4 -4
  338. package/chunk/nl-Cqkrr5-r.js +4 -4
  339. package/chunk/no-876EdwkX.js +4 -4
  340. package/chunk/{options-DD3L-yYH.js → options-cl-8q9QM.js} +6 -6
  341. package/chunk/options-cl-8q9QM.js.map +1 -0
  342. package/chunk/pl-B_G8s05-.js +4 -4
  343. package/chunk/{programThemeGetters-CLmOMSOr.js → programThemeGetters-DVGRbK4m.js} +5 -5
  344. package/chunk/{programThemeGetters-CLmOMSOr.js.map → programThemeGetters-DVGRbK4m.js.map} +1 -1
  345. package/chunk/{programThemeGetters-CassSHQA.js → programThemeGetters-DzM8X50i.js} +5 -5
  346. package/chunk/{programThemeGetters-CassSHQA.js.map → programThemeGetters-DzM8X50i.js.map} +1 -1
  347. package/chunk/pt-BR-DWj043qk.js +4 -4
  348. package/chunk/pt-DckA3Jnn.js +4 -4
  349. package/chunk/{refs-CQhPE4Xu.js → refs-XWXF03m7.js} +5 -5
  350. package/chunk/{refs-C6-J-L7d.js.map → refs-XWXF03m7.js.map} +1 -1
  351. package/chunk/{refs-C6-J-L7d.js → refs-f1rcjYQG.js} +5 -5
  352. package/chunk/{refs-CQhPE4Xu.js.map → refs-f1rcjYQG.js.map} +1 -1
  353. package/chunk/ro-DukNcWCM.js +4 -4
  354. package/chunk/ru-RkdRQ7qb.js +4 -4
  355. package/chunk/sk-CPBgBtC5.js +4 -4
  356. package/chunk/sl-Cyj9PWmN.js +4 -4
  357. package/chunk/sr-Bm1GVW8m.js +4 -4
  358. package/chunk/strings-DWLVdUcm.js +4 -4
  359. package/chunk/sv-CcMmeZrG.js +4 -4
  360. package/chunk/sw-BPvl1ou6.js +4 -4
  361. package/chunk/ta-BPEH7IlE.js +4 -4
  362. package/chunk/th-Dd912RL5.js +4 -4
  363. package/chunk/tl-J_TdpjQz.js +4 -4
  364. package/chunk/tr-B-GrrJj0.js +4 -4
  365. package/chunk/uk-MohyvT_n.js +4 -4
  366. package/chunk/ur-CDYGpWMm.js +4 -4
  367. package/chunk/{useCollectFieldsEndpoint-CCQEbKu3.js → useCollectFieldsEndpoint-B9buDo08.js} +8 -8
  368. package/chunk/{useCollectFieldsEndpoint-CCQEbKu3.js.map → useCollectFieldsEndpoint-B9buDo08.js.map} +1 -1
  369. package/chunk/{useCollectFieldsEndpoint-DA5iaKdp.js → useCollectFieldsEndpoint-DaS1L_Gt.js} +8 -8
  370. package/chunk/{useCollectFieldsEndpoint-DA5iaKdp.js.map → useCollectFieldsEndpoint-DaS1L_Gt.js.map} +1 -1
  371. package/chunk/{useMetrics-CNmTjZ8z.js → useMetrics-BmW2t4Jt.js} +6 -6
  372. package/chunk/{useMetrics-CNmTjZ8z.js.map → useMetrics-BmW2t4Jt.js.map} +1 -1
  373. package/chunk/{useMetrics-DDpAqYvt.js → useMetrics-D6EfsiR5.js} +6 -6
  374. package/chunk/{useMetrics-DDpAqYvt.js.map → useMetrics-D6EfsiR5.js.map} +1 -1
  375. package/chunk/{validators-BBcVEbKF.js → validators-BvJvqT9j.js} +6 -6
  376. package/chunk/{validators-BBcVEbKF.js.map → validators-BvJvqT9j.js.map} +1 -1
  377. package/chunk/{validators-CG1DHHwp.js → validators-DxgVWbpr.js} +6 -6
  378. package/chunk/{validators-CG1DHHwp.js.map → validators-DxgVWbpr.js.map} +1 -1
  379. package/chunk/vi-CdPTWSev.js +4 -4
  380. package/chunk/zh-DhnjKBoc.js +4 -4
  381. package/chunk/zh-HK-CWKNP_HX.js +4 -4
  382. package/chunk/zu-BpMHS0oR.js +4 -4
  383. package/package.json +1 -1
  384. package/sheerid-install.css +4 -4
  385. package/sheerid-install.js +4 -4
  386. package/sheerid.css +4 -4
  387. package/sheerid.js +45 -45
  388. package/chunk/FormFooterComponent-CetDNO5o.js.map +0 -1
  389. package/chunk/FormFooterComponent-DhQaJMxV.js.map +0 -1
  390. package/chunk/StepCollectMilitaryStatusComponent-DegjipI2.js +0 -9
  391. package/chunk/countryUtils-ZN4SsRTU.js +0 -12
  392. package/chunk/intl-BykyN0c9.js.map +0 -1
  393. 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,GAErB,IAAS,EAAU,aAAa,OAEhC,KACJ,GACA,MACG;EACH,IAAM,IAAY,EAAsB,GAAW,GAAK,CAAK;EAC7D,EA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AAU;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-Cx6z5vv_.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,EAA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e;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"}
@@ -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.253.0
4
+ * BUILD_TIMESTAMP: 1783621646513
5
+ * BUILD_DATE: Thu Jul 09 2026 18:27:26 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: afbfeeff42caa1b196aa0532ff55a655e02a2b14
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-cl-8q9QM.js";
9
+ import { c as i, n as a, t as o } from "./jsx-runtime-BnnxqtDz.js";
10
+ import { x as s } from "./FormFooterComponent-D4f181-M.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-BxjtTozO.js";
13
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-B_cDlypb.js";
14
+ import { t as x } from "./BirthDateComponent-DCXg16GU.js";
15
+ import { t as S } from "./CountryComponentWrapper-DpGkBqyN.js";
16
+ import { t as C } from "./ExtraMessage-BvCY4YpQ.js";
17
+ import { t as w } from "./ChangeLocaleComponent-Cqs8Ed1t.js";
18
+ import { t as T } from "./PersonalInfoStepWrapper-CdBLUd5V.js";
19
+ import { t as E } from "./MemberIdComponent-Bgj2RTIU.js";
20
+ import { t as D } from "./MembershipOrganizationComponent-DKndZo_l.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-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 StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;4CAwNa,KA/KmB,EAAE,6BAAgE;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,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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-6GXnE9oW.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,EAAM,gBAAgB;EACpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GA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C,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"}
@@ -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.253.0
8
+ * BUILD_TIMESTAMP: 1783621650640
9
+ * BUILD_DATE: Thu Jul 09 2026 18:27:30 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: afbfeeff42caa1b196aa0532ff55a655e02a2b14
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-Cqlpm1sq.js";
13
+ import { c as i, n as a, t as o } from "./jsx-runtime-C6z95NB7.js";
14
+ import { T as s } from "./FormFooterComponent-B4pXl2Gg.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-B4PjRH23.js";
17
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-CXvt9o8S.js";
18
+ import { t as x } from "./BirthDateComponent-D-98d9mx.js";
19
+ import { t as S } from "./CountryComponentWrapper-D05UNMjA.js";
20
+ import { t as C } from "./ExtraMessage-Dkql53YF.js";
21
+ import { t as w } from "./ChangeLocaleComponent-yTfSGHOP.js";
22
+ import { t as T } from "./PersonalInfoStepWrapper-DAmzepBq.js";
23
+ import { t as E } from "./MemberIdComponent-C4nH8HWl.js";
24
+ import { t as D } from "./MembershipOrganizationComponent--cqePbSG.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-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;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAA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AAU;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-DIK_Up4k.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,EAAM,gBAAgB;EACpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,UACjB;EACA,AAAK,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7E;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"}
@@ -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.253.0
8
+ * BUILD_TIMESTAMP: 1783621650640
9
+ * BUILD_DATE: Thu Jul 09 2026 18:27:30 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: afbfeeff42caa1b196aa0532ff55a655e02a2b14
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-Cqlpm1sq.js";
13
+ import { a as i, c as a, n as o, t as s } from "./jsx-runtime-C6z95NB7.js";
14
+ import { T as c } from "./FormFooterComponent-B4pXl2Gg.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-B4PjRH23.js";
17
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-CXvt9o8S.js";
18
+ import { t as x } from "./PostalCodeComponent-C5NIUmbp.js";
19
+ import { t as S } from "./AddressComponent-DL9pd8Ow.js";
20
+ import { t as C } from "./ExtraMessage-Dkql53YF.js";
21
+ import { t as w } from "./ChangeLocaleComponent-yTfSGHOP.js";
22
+ import { t as T } from "./PersonalInfoStepWrapper-DAmzepBq.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-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,UAAU,GAAG;KAC/C,WAAW,MAAa;MAEtB,AADA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iB,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-BdCiAwgT.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(StepMover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,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,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.253.0
4
+ * BUILD_TIMESTAMP: 1783621646513
5
+ * BUILD_DATE: Thu Jul 09 2026 18:27:26 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: afbfeeff42caa1b196aa0532ff55a655e02a2b14
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-cl-8q9QM.js";
9
+ import { a as i, c as a, n as o, t as s } from "./jsx-runtime-BnnxqtDz.js";
10
+ import { x as c } from "./FormFooterComponent-D4f181-M.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-BxjtTozO.js";
13
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-B_cDlypb.js";
14
+ import { t as x } from "./PostalCodeComponent-CUGDHlOa.js";
15
+ import { t as S } from "./AddressComponent-Dmbx7wQb.js";
16
+ import { t as C } from "./ExtraMessage-BvCY4YpQ.js";
17
+ import { t as w } from "./ChangeLocaleComponent-Cqs8Ed1t.js";
18
+ import { t as T } from "./PersonalInfoStepWrapper-CdBLUd5V.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-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,EAAqB,YAAY,CAAQ,GACzC,EAAqC,YAAY,GAAU,CAAmB;KAChF;IACD,CAAA,CACE;;GAEL,iBAAA,GAAA,EAAA,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AA,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-Cs-5V2Vf.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,WA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jC,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,18 +4,18 @@
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.253.0
8
+ * BUILD_TIMESTAMP: 1783621650640
9
+ * BUILD_DATE: Thu Jul 09 2026 18:27:30 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: afbfeeff42caa1b196aa0532ff55a655e02a2b14
11
11
  */
12
- import { Ht as e, It as t, Lt as n, jt 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 { n as c, t as l } from "./FormFooterComponent-DhQaJMxV.js";
15
- import { i as u } from "./validators-BBcVEbKF.js";
16
- import { t as d } from "./LogoComponent-x1hhyiZ7.js";
17
- import { t as f } from "./AnnouncingHeader-CXeTT64m.js";
18
- import { t as p } from "./FormFieldText-DJOFzwWN.js";
12
+ import { Ht as e, It as t, Lt as n, jt as r } from "./intl-Cqlpm1sq.js";
13
+ import { a as i, c as a, n as o, t as s } from "./jsx-runtime-C6z95NB7.js";
14
+ import { n as c, t as l } from "./FormFooterComponent-B4pXl2Gg.js";
15
+ import { i as u } from "./validators-BvJvqT9j.js";
16
+ import { t as d } from "./LogoComponent-BbjTQetI.js";
17
+ import { t as f } from "./AnnouncingHeader-CRqImmVM.js";
18
+ import { t as p } from "./FormFieldText-CojbU6CY.js";
19
19
  //#region src/components/FormFields/OverrideCode/OverrideCodeComponent.tsx
20
20
  var m = /* @__PURE__ */ e(a(), 1), h = s(), g = i(({ value: e, isErrored: t, onChange: n, placeholder: r = "" }) => /* @__PURE__ */ (0, h.jsx)(p, {
21
21
  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 );\n};\nexport const StepOverrideComponent = injectIntl(StepOverride);\n"],"mappings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ACE,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-BuCf5lHB.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,EAAoB,4BAA4B;EAC9C,GAAG,EAAoB;EACvB,cAA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