@sheerid/jslib-nightly 2.259.0-alpha.1 → 2.259.0-alpha.3

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 (399) hide show
  1. package/_mysheerid-preview.css +3 -3
  2. package/_mysheerid-preview.js +3931 -1402
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-RKH3wkuU.js → AddressComponent-CJV3vrMt.js} +6 -6
  5. package/chunk/{AddressComponent-CN9VzjhI.js.map → AddressComponent-CJV3vrMt.js.map} +1 -1
  6. package/chunk/{AddressComponent-CN9VzjhI.js → AddressComponent-DMwOmjiG.js} +4 -4
  7. package/chunk/{AddressComponent-RKH3wkuU.js.map → AddressComponent-DMwOmjiG.js.map} +1 -1
  8. package/chunk/{AnnouncingHeader-BZreAj2L.js → AnnouncingHeader-BF69hVVm.js} +5 -5
  9. package/chunk/{AnnouncingHeader-BZreAj2L.js.map → AnnouncingHeader-BF69hVVm.js.map} +1 -1
  10. package/chunk/AnnouncingHeader-DjgtqEeX.js +3 -3
  11. package/chunk/{ApiUrls-DNPrws1D.js → ApiUrls-D95iKOSI.js} +12 -12
  12. package/chunk/{ApiUrls-DNPrws1D.js.map → ApiUrls-D95iKOSI.js.map} +1 -1
  13. package/chunk/{ApiUrls-MjYrUy5O.js → ApiUrls-jsXRjACf.js} +4 -4
  14. package/chunk/{ApiUrls-MjYrUy5O.js.map → ApiUrls-jsXRjACf.js.map} +1 -1
  15. package/chunk/{BirthDateComponent-Dx9Zgnrr.js → BirthDateComponent-BHSI0CUp.js} +5 -5
  16. package/chunk/{BirthDateComponent-25k9Dw8L.js.map → BirthDateComponent-BHSI0CUp.js.map} +1 -1
  17. package/chunk/{BirthDateComponent-25k9Dw8L.js → BirthDateComponent-DqkkSB42.js} +7 -7
  18. package/chunk/{BirthDateComponent-Dx9Zgnrr.js.map → BirthDateComponent-DqkkSB42.js.map} +1 -1
  19. package/chunk/{CaptchaComponent-DA4ytPM2.js → CaptchaComponent-B2bCn0HL.js} +14 -14
  20. package/chunk/{CaptchaComponent-DA4ytPM2.js.map → CaptchaComponent-B2bCn0HL.js.map} +1 -1
  21. package/chunk/{CaptchaComponent-DZNI_Mdp.js → CaptchaComponent-pa2v-Kv1.js} +94 -94
  22. package/chunk/{CaptchaComponent-DZNI_Mdp.js.map → CaptchaComponent-pa2v-Kv1.js.map} +1 -1
  23. package/chunk/{ChangeLocaleComponent-COGR4N31.js → ChangeLocaleComponent-CP_kEafQ.js} +7 -7
  24. package/chunk/{ChangeLocaleComponent-COGR4N31.js.map → ChangeLocaleComponent-CP_kEafQ.js.map} +1 -1
  25. package/chunk/{ChangeLocaleComponent-DPIcEDOe.js → ChangeLocaleComponent-Cy07cdJk.js} +5 -5
  26. package/chunk/{ChangeLocaleComponent-DPIcEDOe.js.map → ChangeLocaleComponent-Cy07cdJk.js.map} +1 -1
  27. package/chunk/{City-BHrlkpMX.js → City-CmO85Z9x.js} +4 -4
  28. package/chunk/{City-BHrlkpMX.js.map → City-CmO85Z9x.js.map} +1 -1
  29. package/chunk/{City-BbRIAxOR.js → City-DlWin4GX.js} +6 -6
  30. package/chunk/{City-BbRIAxOR.js.map → City-DlWin4GX.js.map} +1 -1
  31. package/chunk/{CollegeNameComponent-DXmseJtL.js → CollegeNameComponent-Cz9Us9RM.js} +8 -8
  32. package/chunk/{CollegeNameComponent-Bu2ei2eB.js.map → CollegeNameComponent-Cz9Us9RM.js.map} +1 -1
  33. package/chunk/{CollegeNameComponent-Bu2ei2eB.js → CollegeNameComponent-wdFkAFsj.js} +5 -5
  34. package/chunk/{CollegeNameComponent-DXmseJtL.js.map → CollegeNameComponent-wdFkAFsj.js.map} +1 -1
  35. package/chunk/CopyToClipboardComponent-1BeB_oX_.js +3 -3
  36. package/chunk/{CopyToClipboardComponent-6MY3v7_-.js → CopyToClipboardComponent-C1BnmvlK.js} +8 -8
  37. package/chunk/{CopyToClipboardComponent-6MY3v7_-.js.map → CopyToClipboardComponent-C1BnmvlK.js.map} +1 -1
  38. package/chunk/CountryComponentWrapper-AaraHOGX.js +78 -0
  39. package/chunk/{CountryComponentWrapper-CQ6ZT9lg.js.map → CountryComponentWrapper-AaraHOGX.js.map} +1 -1
  40. package/chunk/{CountryComponentWrapper-CQ6ZT9lg.js → CountryComponentWrapper-BHYHjLHh.js} +9 -9
  41. package/chunk/{CountryComponentWrapper-CRF7oKmW.js.map → CountryComponentWrapper-BHYHjLHh.js.map} +1 -1
  42. package/chunk/{DischargeDateComponent-Dylz_5IN.js → DischargeDateComponent-BrziTMXL.js} +18 -18
  43. package/chunk/{DischargeDateComponent-dn8Ym3Oc.js.map → DischargeDateComponent-BrziTMXL.js.map} +1 -1
  44. package/chunk/{DischargeDateComponent-dn8Ym3Oc.js → DischargeDateComponent-d85FApuP.js} +7 -7
  45. package/chunk/{DischargeDateComponent-Dylz_5IN.js.map → DischargeDateComponent-d85FApuP.js.map} +1 -1
  46. package/chunk/{DriverLicenseNumberComponent-LxBCJTvz.js → DriverLicenseNumberComponent-D8q18o2M.js} +6 -6
  47. package/chunk/{DriverLicenseNumberComponent-1Nm_kmd6.js.map → DriverLicenseNumberComponent-D8q18o2M.js.map} +1 -1
  48. package/chunk/{DriverLicenseNumberComponent-1Nm_kmd6.js → DriverLicenseNumberComponent-DgXMM-Pt.js} +4 -4
  49. package/chunk/{DriverLicenseNumberComponent-LxBCJTvz.js.map → DriverLicenseNumberComponent-DgXMM-Pt.js.map} +1 -1
  50. package/chunk/EmailLoopPending-BBrkjClD.js +136 -0
  51. package/chunk/EmailLoopPending-BBrkjClD.js.map +1 -0
  52. package/chunk/{EmailLoopPending-MXkvNNP8.js → EmailLoopPending-CFh6KYhR.js} +53 -54
  53. package/chunk/EmailLoopPending-CFh6KYhR.js.map +1 -0
  54. package/chunk/{ExtraMessage-Roxhs2rt.js → ExtraMessage-BYLbcc4O.js} +6 -6
  55. package/chunk/{ExtraMessage-DeL_Wn33.js.map → ExtraMessage-BYLbcc4O.js.map} +1 -1
  56. package/chunk/{ExtraMessage-DeL_Wn33.js → ExtraMessage-DuEKh0WN.js} +4 -4
  57. package/chunk/{ExtraMessage-Roxhs2rt.js.map → ExtraMessage-DuEKh0WN.js.map} +1 -1
  58. package/chunk/{FirstResponderOrganizationComponent-DFJEAN8k.js → FirstResponderOrganizationComponent-Bm-LyjdU.js} +5 -5
  59. package/chunk/{FirstResponderOrganizationComponent-CaU7VuhG.js.map → FirstResponderOrganizationComponent-Bm-LyjdU.js.map} +1 -1
  60. package/chunk/{FirstResponderOrganizationComponent-CaU7VuhG.js → FirstResponderOrganizationComponent-DlrpOY2c.js} +7 -7
  61. package/chunk/{FirstResponderOrganizationComponent-DFJEAN8k.js.map → FirstResponderOrganizationComponent-DlrpOY2c.js.map} +1 -1
  62. package/chunk/{FormFieldInputSelect-BaD_qpOw.js → FormFieldInputSelect-CcSfBZU4.js} +4 -4
  63. package/chunk/{FormFieldInputSelect-BaD_qpOw.js.map → FormFieldInputSelect-CcSfBZU4.js.map} +1 -1
  64. package/chunk/{FormFieldInputSelect-CSqp8aHf.js → FormFieldInputSelect-DFoefspo.js} +6 -6
  65. package/chunk/{FormFieldInputSelect-CSqp8aHf.js.map → FormFieldInputSelect-DFoefspo.js.map} +1 -1
  66. package/chunk/{FormFieldLayout-CUA-PItd.js → FormFieldLayout-BpmeMD4X.js} +5 -5
  67. package/chunk/{FormFieldLayout-CUA-PItd.js.map → FormFieldLayout-BpmeMD4X.js.map} +1 -1
  68. package/chunk/FormFieldLayout-DIcCOsGu.js +3 -3
  69. package/chunk/FormFieldText-zjWk7Cyc.js +3 -3
  70. package/chunk/{FormFieldText-BeEhq8Kc.js → FormFieldText-zuTjfmLt.js} +6 -6
  71. package/chunk/{FormFieldText-BeEhq8Kc.js.map → FormFieldText-zuTjfmLt.js.map} +1 -1
  72. package/chunk/{FormFieldTypeahead-C3gO98J5.js → FormFieldTypeahead-C6c2tZjB.js} +455 -456
  73. package/chunk/{FormFieldTypeahead-C3gO98J5.js.map → FormFieldTypeahead-C6c2tZjB.js.map} +1 -1
  74. package/chunk/{FormFieldTypeahead-BvcKAdzA.js → FormFieldTypeahead-CWBTzGT7.js} +498 -499
  75. package/chunk/{FormFieldTypeahead-BvcKAdzA.js.map → FormFieldTypeahead-CWBTzGT7.js.map} +1 -1
  76. package/chunk/{FormFooterComponent-DcilxYfs.js → FormFooterComponent-BvXzhu3G.js} +2114 -2045
  77. package/chunk/FormFooterComponent-BvXzhu3G.js.map +1 -0
  78. package/chunk/{FormFooterComponent-Cobuya5J.js → FormFooterComponent-CU9v96Pk.js} +1333 -1252
  79. package/chunk/FormFooterComponent-CU9v96Pk.js.map +1 -0
  80. package/chunk/{FormSelectChoice-Dz_8_0v1.js → FormSelectChoice-C1rXawoW.js} +5 -5
  81. package/chunk/{FormSelectChoice-DjQUf_kR.js.map → FormSelectChoice-C1rXawoW.js.map} +1 -1
  82. package/chunk/{FormSelectChoice-DjQUf_kR.js → FormSelectChoice-De4VW65J.js} +17 -17
  83. package/chunk/{FormSelectChoice-Dz_8_0v1.js.map → FormSelectChoice-De4VW65J.js.map} +1 -1
  84. package/chunk/InputText-Bzkl8mKj.js +3 -3
  85. package/chunk/{InputText-CkDvaW9P.js → InputText-DA8wfbQM.js} +6 -6
  86. package/chunk/{InputText-CkDvaW9P.js.map → InputText-DA8wfbQM.js.map} +1 -1
  87. package/chunk/{LicensedProfessionalOrganizationComponent-D40O0mHv.js → LicensedProfessionalOrganizationComponent-DDLl3nm2.js} +7 -7
  88. package/chunk/{LicensedProfessionalOrganizationComponent-D40O0mHv.js.map → LicensedProfessionalOrganizationComponent-DDLl3nm2.js.map} +1 -1
  89. package/chunk/{LicensedProfessionalOrganizationComponent-BFIo2AVu.js → LicensedProfessionalOrganizationComponent-DWw7sAA_.js} +5 -5
  90. package/chunk/{LicensedProfessionalOrganizationComponent-BFIo2AVu.js.map → LicensedProfessionalOrganizationComponent-DWw7sAA_.js.map} +1 -1
  91. package/chunk/LogoComponent-BMeuu-aK.js +3 -3
  92. package/chunk/{LogoComponent-CFPoRk_q.js → LogoComponent-BxIXOXCM.js} +5 -5
  93. package/chunk/{LogoComponent-CFPoRk_q.js.map → LogoComponent-BxIXOXCM.js.map} +1 -1
  94. package/chunk/{LowIncomeOrganizationComponent-M-jIQ5Gq.js → LowIncomeOrganizationComponent-Js2hdcpd.js} +20 -20
  95. package/chunk/{LowIncomeOrganizationComponent-M-jIQ5Gq.js.map → LowIncomeOrganizationComponent-Js2hdcpd.js.map} +1 -1
  96. package/chunk/{LowIncomeOrganizationComponent-RtTN7yos.js → LowIncomeOrganizationComponent-pg41N7jZ.js} +9 -9
  97. package/chunk/{LowIncomeOrganizationComponent-RtTN7yos.js.map → LowIncomeOrganizationComponent-pg41N7jZ.js.map} +1 -1
  98. package/chunk/{MedicalProfessionalOrganizationComponent-BRXUpSBl.js → MedicalProfessionalOrganizationComponent-BiAMjeYg.js} +5 -5
  99. package/chunk/{MedicalProfessionalOrganizationComponent-BRXUpSBl.js.map → MedicalProfessionalOrganizationComponent-BiAMjeYg.js.map} +1 -1
  100. package/chunk/{MedicalProfessionalOrganizationComponent-QOUo82Ey.js → MedicalProfessionalOrganizationComponent-CG94dxGF.js} +7 -7
  101. package/chunk/{MedicalProfessionalOrganizationComponent-QOUo82Ey.js.map → MedicalProfessionalOrganizationComponent-CG94dxGF.js.map} +1 -1
  102. package/chunk/{MemberIdComponent-D4U9CjTr.js → MemberIdComponent-DMGaNM9l.js} +6 -6
  103. package/chunk/{MemberIdComponent-D4U9CjTr.js.map → MemberIdComponent-DMGaNM9l.js.map} +1 -1
  104. package/chunk/{MemberIdComponent-DOikwfIV.js → MemberIdComponent-Dva2Xx7J.js} +4 -4
  105. package/chunk/{MemberIdComponent-DOikwfIV.js.map → MemberIdComponent-Dva2Xx7J.js.map} +1 -1
  106. package/chunk/{MembershipOrganizationComponent-CisdewfJ.js → MembershipOrganizationComponent-B4sltAFs.js} +5 -5
  107. package/chunk/{MembershipOrganizationComponent-CisdewfJ.js.map → MembershipOrganizationComponent-B4sltAFs.js.map} +1 -1
  108. package/chunk/{MembershipOrganizationComponent-D02G3scF.js → MembershipOrganizationComponent-DqdtAn4g.js} +7 -7
  109. package/chunk/{MembershipOrganizationComponent-D02G3scF.js.map → MembershipOrganizationComponent-DqdtAn4g.js.map} +1 -1
  110. package/chunk/Onfido-CTCgAwnB.js +3 -3
  111. package/chunk/{PersonalInfoStepSubmitButton-i0P1DpyZ.js → PersonalInfoStepSubmitButton-D3lzSm2E.js} +22 -22
  112. package/chunk/{PersonalInfoStepSubmitButton-i0P1DpyZ.js.map → PersonalInfoStepSubmitButton-D3lzSm2E.js.map} +1 -1
  113. package/chunk/{PersonalInfoStepSubmitButton-Byqc8ilE.js → PersonalInfoStepSubmitButton-Ywai8bYu.js} +10 -10
  114. package/chunk/{PersonalInfoStepSubmitButton-Byqc8ilE.js.map → PersonalInfoStepSubmitButton-Ywai8bYu.js.map} +1 -1
  115. package/chunk/{PersonalInfoStepWrapper-BpxtlGxV.js → PersonalInfoStepWrapper-CfEXVPIa.js} +7 -7
  116. package/chunk/{PersonalInfoStepWrapper-BpxtlGxV.js.map → PersonalInfoStepWrapper-CfEXVPIa.js.map} +1 -1
  117. package/chunk/{PersonalInfoStepWrapper-VYXPs068.js → PersonalInfoStepWrapper-lbTtms4r.js} +4 -4
  118. package/chunk/{PersonalInfoStepWrapper-VYXPs068.js.map → PersonalInfoStepWrapper-lbTtms4r.js.map} +1 -1
  119. package/chunk/{PostalCodeComponent-DwnHo2aW.js → PostalCodeComponent-BGzBByZd.js} +6 -6
  120. package/chunk/{PostalCodeComponent-DwnHo2aW.js.map → PostalCodeComponent-BGzBByZd.js.map} +1 -1
  121. package/chunk/{PostalCodeComponent-hDSZecsX.js → PostalCodeComponent-C97fgZFI.js} +4 -4
  122. package/chunk/{PostalCodeComponent-hDSZecsX.js.map → PostalCodeComponent-C97fgZFI.js.map} +1 -1
  123. package/chunk/{SSN-_mJmp2Gg.js → SSN-CNzKgddw.js} +7 -7
  124. package/chunk/{SSN-B9b4KlAr.js.map → SSN-CNzKgddw.js.map} +1 -1
  125. package/chunk/{SSN-B9b4KlAr.js → SSN-mk_cMbDH.js} +4 -4
  126. package/chunk/{SSN-_mJmp2Gg.js.map → SSN-mk_cMbDH.js.map} +1 -1
  127. package/chunk/{StateSelectComponent-D26TjOAn.js → StateSelectComponent-C6R9Cjgi.js} +5 -5
  128. package/chunk/{StateSelectComponent-D26TjOAn.js.map → StateSelectComponent-C6R9Cjgi.js.map} +1 -1
  129. package/chunk/{StateSelectComponent-DGQL388D.js → StateSelectComponent-DVR-oYsL.js} +4 -4
  130. package/chunk/{StateSelectComponent-DGQL388D.js.map → StateSelectComponent-DVR-oYsL.js.map} +1 -1
  131. package/chunk/{StatusComponent-XLL7x50K.js → StatusComponent-DS5eysat.js} +5 -5
  132. package/chunk/{StatusComponent-Dv3frckJ.js.map → StatusComponent-DS5eysat.js.map} +1 -1
  133. package/chunk/{StatusComponent-Dv3frckJ.js → StatusComponent-VG5PRT7W.js} +7 -7
  134. package/chunk/{StatusComponent-XLL7x50K.js.map → StatusComponent-VG5PRT7W.js.map} +1 -1
  135. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B-obfX5s.js → StepActiveMilitaryPersonalInfoComponent-CLHSV6aV.js} +47 -51
  136. package/chunk/{StepActiveMilitaryPersonalInfoComponent-B-obfX5s.js.map → StepActiveMilitaryPersonalInfoComponent-CLHSV6aV.js.map} +1 -1
  137. package/chunk/{StepActiveMilitaryPersonalInfoComponent-CoGJXuid.js → StepActiveMilitaryPersonalInfoComponent-CsydoggY.js} +25 -21
  138. package/chunk/{StepActiveMilitaryPersonalInfoComponent-CoGJXuid.js.map → StepActiveMilitaryPersonalInfoComponent-CsydoggY.js.map} +1 -1
  139. package/chunk/{StepAgePersonalInfo-BTdUm8M1.js → StepAgePersonalInfo-DW1ElYsy.js} +39 -39
  140. package/chunk/{StepAgePersonalInfo-BTdUm8M1.js.map → StepAgePersonalInfo-DW1ElYsy.js.map} +1 -1
  141. package/chunk/StepAgePersonalInfo-DlOA9WFp.js +173 -0
  142. package/chunk/{StepAgePersonalInfo-KeuFdZua.js.map → StepAgePersonalInfo-DlOA9WFp.js.map} +1 -1
  143. package/chunk/StepCard-7t2vkHqM.js +3 -3
  144. package/chunk/{StepCard-BF_RD7Rd.js → StepCard-BtvCt-ND.js} +4 -4
  145. package/chunk/{StepCard-BF_RD7Rd.js.map → StepCard-BtvCt-ND.js.map} +1 -1
  146. package/chunk/{StepCollectIdentifier-aSTN2D3f.js → StepCollectIdentifier-BitqCn5S.js} +8 -8
  147. package/chunk/{StepCollectIdentifier-Cr5cRjes.js.map → StepCollectIdentifier-BitqCn5S.js.map} +1 -1
  148. package/chunk/{StepCollectIdentifier-Cr5cRjes.js → StepCollectIdentifier-iokOENmH.js} +10 -10
  149. package/chunk/{StepCollectIdentifier-aSTN2D3f.js.map → StepCollectIdentifier-iokOENmH.js.map} +1 -1
  150. package/chunk/{StepCollectMilitaryStatusComponent-5RzFVxA_.js → StepCollectMilitaryStatusComponent-DSl_NI5F.js} +4 -4
  151. package/chunk/StepCollectMilitaryStatusComponent-FkrZTfgt.js +9 -0
  152. package/chunk/StepCollectPersonalInfo-BsRPrpbi.js +361 -0
  153. package/chunk/{StepCollectPersonalInfo-BVd72Idl.js.map → StepCollectPersonalInfo-BsRPrpbi.js.map} +1 -1
  154. package/chunk/{StepCollectPersonalInfo-D75Yctan.js → StepCollectPersonalInfo-D_E9jueP.js} +87 -87
  155. package/chunk/{StepCollectPersonalInfo-D75Yctan.js.map → StepCollectPersonalInfo-D_E9jueP.js.map} +1 -1
  156. package/chunk/{StepCompleteAuthentication-CYsu3UXL.js → StepCompleteAuthentication-C2HoMZzF.js} +50 -51
  157. package/chunk/StepCompleteAuthentication-C2HoMZzF.js.map +1 -0
  158. package/chunk/{StepCompleteAuthentication-CmOEE_s5.js → StepCompleteAuthentication-Cs4zhI-D.js} +42 -43
  159. package/chunk/StepCompleteAuthentication-Cs4zhI-D.js.map +1 -0
  160. package/chunk/{StepConsolation-Bm7fMyFo.js → StepConsolation-C4z3-RUr.js} +4 -4
  161. package/chunk/{StepConsolation-Bm7fMyFo.js.map → StepConsolation-C4z3-RUr.js.map} +1 -1
  162. package/chunk/{StepConsolation-euaYpjbw.js → StepConsolation-CIsDgtMF.js} +8 -8
  163. package/chunk/{StepConsolation-euaYpjbw.js.map → StepConsolation-CIsDgtMF.js.map} +1 -1
  164. package/chunk/{StepDocUpload-Fi16blpY.js → StepDocUpload-DB-j-bu5.js} +40 -40
  165. package/chunk/{StepDocUpload-Dc986T4y.js.map → StepDocUpload-DB-j-bu5.js.map} +1 -1
  166. package/chunk/{StepDocUpload-Dc986T4y.js → StepDocUpload-QrHXh8mp.js} +242 -242
  167. package/chunk/{StepDocUpload-Fi16blpY.js.map → StepDocUpload-QrHXh8mp.js.map} +1 -1
  168. package/chunk/{StepDriverLicensePersonalInfoComponent-DnbKIy4f.js → StepDriverLicensePersonalInfoComponent-bh1_IVPF.js} +19 -15
  169. package/chunk/{StepDriverLicensePersonalInfoComponent-DnbKIy4f.js.map → StepDriverLicensePersonalInfoComponent-bh1_IVPF.js.map} +1 -1
  170. package/chunk/{StepDriverLicensePersonalInfoComponent-AvcQyGDT.js → StepDriverLicensePersonalInfoComponent-siLTyqlG.js} +32 -36
  171. package/chunk/{StepDriverLicensePersonalInfoComponent-AvcQyGDT.js.map → StepDriverLicensePersonalInfoComponent-siLTyqlG.js.map} +1 -1
  172. package/chunk/{StepEmailLoop-7EwsfbG2.js → StepEmailLoop-BPyFeeyk.js} +46 -47
  173. package/chunk/StepEmailLoop-BPyFeeyk.js.map +1 -0
  174. package/chunk/{StepEmailLoop-CLIGNsCO.js → StepEmailLoop-CLgXP9PF.js} +51 -52
  175. package/chunk/StepEmailLoop-CLgXP9PF.js.map +1 -0
  176. package/chunk/{StepEmploymentPersonalInfo-sQLnckQP.js → StepEmploymentPersonalInfo-BhfN1Swc.js} +22 -18
  177. package/chunk/{StepEmploymentPersonalInfo-CMJwlqZ5.js.map → StepEmploymentPersonalInfo-BhfN1Swc.js.map} +1 -1
  178. package/chunk/{StepEmploymentPersonalInfo-CMJwlqZ5.js → StepEmploymentPersonalInfo-D3OVzQfH.js} +44 -48
  179. package/chunk/{StepEmploymentPersonalInfo-sQLnckQP.js.map → StepEmploymentPersonalInfo-D3OVzQfH.js.map} +1 -1
  180. package/chunk/{StepFirstResponderPersonalInfo-BZVQnECv.js → StepFirstResponderPersonalInfo-CJ_OFUC1.js} +37 -37
  181. package/chunk/{StepFirstResponderPersonalInfo-BZVQnECv.js.map → StepFirstResponderPersonalInfo-CJ_OFUC1.js.map} +1 -1
  182. package/chunk/{StepFirstResponderPersonalInfo-De-yFa-l.js → StepFirstResponderPersonalInfo-Uj_HyOUK.js} +42 -42
  183. package/chunk/{StepFirstResponderPersonalInfo-De-yFa-l.js.map → StepFirstResponderPersonalInfo-Uj_HyOUK.js.map} +1 -1
  184. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D2xY36MO.js → StepGeneralIdentityPersonalInfoComponent-BA1NUm7h.js} +22 -18
  185. package/chunk/{StepGeneralIdentityPersonalInfoComponent-D2xY36MO.js.map → StepGeneralIdentityPersonalInfoComponent-BA1NUm7h.js.map} +1 -1
  186. package/chunk/{StepGeneralIdentityPersonalInfoComponent-mSxJaDUA.js → StepGeneralIdentityPersonalInfoComponent-DhXG5JLx.js} +41 -45
  187. package/chunk/{StepGeneralIdentityPersonalInfoComponent-mSxJaDUA.js.map → StepGeneralIdentityPersonalInfoComponent-DhXG5JLx.js.map} +1 -1
  188. package/chunk/{StepHybridIdentityPersonalInfoComponent-CPPuZYu5.js → StepHybridIdentityPersonalInfoComponent-BGO0rNuA.js} +23 -19
  189. package/chunk/{StepHybridIdentityPersonalInfoComponent-CPPuZYu5.js.map → StepHybridIdentityPersonalInfoComponent-BGO0rNuA.js.map} +1 -1
  190. package/chunk/{StepHybridIdentityPersonalInfoComponent-pmo1wXVQ.js → StepHybridIdentityPersonalInfoComponent-DL_yTP9w.js} +44 -48
  191. package/chunk/{StepHybridIdentityPersonalInfoComponent-pmo1wXVQ.js.map → StepHybridIdentityPersonalInfoComponent-DL_yTP9w.js.map} +1 -1
  192. package/chunk/{StepIDCheckLoop-C7UAES2n.js → StepIDCheckLoop-1S7sp1g_.js} +8 -8
  193. package/chunk/{StepIDCheckLoop-C7UAES2n.js.map → StepIDCheckLoop-1S7sp1g_.js.map} +1 -1
  194. package/chunk/{StepIDCheckLoop-DPbA9LaQ.js → StepIDCheckLoop-D6leD-oX.js} +5 -5
  195. package/chunk/{StepIDCheckLoop-DPbA9LaQ.js.map → StepIDCheckLoop-D6leD-oX.js.map} +1 -1
  196. package/chunk/{StepIDCheckLoopOnfido-CfscUwrA.js → StepIDCheckLoopOnfido-DS62i7yb.js} +40 -40
  197. package/chunk/{StepIDCheckLoopOnfido-CGFbgPNl.js.map → StepIDCheckLoopOnfido-DS62i7yb.js.map} +1 -1
  198. package/chunk/{StepIDCheckLoopOnfido-CGFbgPNl.js → StepIDCheckLoopOnfido-NLKVzJV1.js} +7 -7
  199. package/chunk/{StepIDCheckLoopOnfido-CfscUwrA.js.map → StepIDCheckLoopOnfido-NLKVzJV1.js.map} +1 -1
  200. package/chunk/{StepIDCheckLoopRegula-24zsl9hT.js → StepIDCheckLoopRegula-DeLb4d-j.js} +5 -5
  201. package/chunk/{StepIDCheckLoopRegula-24zsl9hT.js.map → StepIDCheckLoopRegula-DeLb4d-j.js.map} +1 -1
  202. package/chunk/{StepIDCheckLoopRegula-p9GQ7-mM.js → StepIDCheckLoopRegula-DpsuIVdU.js} +18 -18
  203. package/chunk/{StepIDCheckLoopRegula-p9GQ7-mM.js.map → StepIDCheckLoopRegula-DpsuIVdU.js.map} +1 -1
  204. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BCcxwwPz.js → StepInactiveMilitaryPersonalInfoComponent-BJg7kmzL.js} +33 -29
  205. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BCcxwwPz.js.map → StepInactiveMilitaryPersonalInfoComponent-BJg7kmzL.js.map} +1 -1
  206. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-MKHFys80.js → StepInactiveMilitaryPersonalInfoComponent-ag9fYZ8M.js} +69 -73
  207. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-MKHFys80.js.map → StepInactiveMilitaryPersonalInfoComponent-ag9fYZ8M.js.map} +1 -1
  208. package/chunk/{StepLicensedProfessionalPersonalInfo-Ba_hfFwF.js → StepLicensedProfessionalPersonalInfo-6e-HsF9r.js} +21 -17
  209. package/chunk/{StepLicensedProfessionalPersonalInfo-Ba_hfFwF.js.map → StepLicensedProfessionalPersonalInfo-6e-HsF9r.js.map} +1 -1
  210. package/chunk/{StepLicensedProfessionalPersonalInfo-DlJxyXZN.js → StepLicensedProfessionalPersonalInfo-CqCGJBV_.js} +37 -41
  211. package/chunk/{StepLicensedProfessionalPersonalInfo-DlJxyXZN.js.map → StepLicensedProfessionalPersonalInfo-CqCGJBV_.js.map} +1 -1
  212. package/chunk/{StepLowIncomePersonalInfo-Bh3kT1GO.js → StepLowIncomePersonalInfo-Vy6xgq87.js} +39 -35
  213. package/chunk/{StepLowIncomePersonalInfo-Bh3kT1GO.js.map → StepLowIncomePersonalInfo-Vy6xgq87.js.map} +1 -1
  214. package/chunk/{StepLowIncomePersonalInfo-hmb9pC8H.js → StepLowIncomePersonalInfo-nHj8RV6k.js} +63 -67
  215. package/chunk/{StepLowIncomePersonalInfo-hmb9pC8H.js.map → StepLowIncomePersonalInfo-nHj8RV6k.js.map} +1 -1
  216. package/chunk/{StepMedicalProfessionalPersonalInfo-BBQdw_WF.js → StepMedicalProfessionalPersonalInfo-BbkO8cmo.js} +48 -52
  217. package/chunk/{StepMedicalProfessionalPersonalInfo-BBQdw_WF.js.map → StepMedicalProfessionalPersonalInfo-BbkO8cmo.js.map} +1 -1
  218. package/chunk/{StepMedicalProfessionalPersonalInfo-CAViUdYI.js → StepMedicalProfessionalPersonalInfo-wrrupNWv.js} +28 -24
  219. package/chunk/{StepMedicalProfessionalPersonalInfo-CAViUdYI.js.map → StepMedicalProfessionalPersonalInfo-wrrupNWv.js.map} +1 -1
  220. package/chunk/{StepMemberPersonalInfo-CPcTjVm4.js → StepMemberPersonalInfo-Df9tiNq4.js} +20 -16
  221. package/chunk/{StepMemberPersonalInfo-CPcTjVm4.js.map → StepMemberPersonalInfo-Df9tiNq4.js.map} +1 -1
  222. package/chunk/StepMemberPersonalInfo-DzmzUubV.js +152 -0
  223. package/chunk/{StepMemberPersonalInfo-DzKpsoK8.js.map → StepMemberPersonalInfo-DzmzUubV.js.map} +1 -1
  224. package/chunk/StepMoverPersonalInfo-DtYxf5Tv.js +139 -0
  225. package/chunk/{StepMoverPersonalInfo-CLcsD8p7.js.map → StepMoverPersonalInfo-DtYxf5Tv.js.map} +1 -1
  226. package/chunk/{StepMoverPersonalInfo-CLcsD8p7.js → StepMoverPersonalInfo-QpfjD_c6.js} +18 -14
  227. package/chunk/{StepMoverPersonalInfo-DIspTifw.js.map → StepMoverPersonalInfo-QpfjD_c6.js.map} +1 -1
  228. package/chunk/{StepOverrideComponent-DbbQq6nF.js → StepOverrideComponent-CD6SjHRm.js} +41 -41
  229. package/chunk/StepOverrideComponent-CD6SjHRm.js.map +1 -0
  230. package/chunk/{StepOverrideComponent-67Wl2Ic3.js → StepOverrideComponent-D4YkXhso.js} +37 -37
  231. package/chunk/StepOverrideComponent-D4YkXhso.js.map +1 -0
  232. package/chunk/{StepSMSLoop-DbvJTafU.js → StepSMSLoop-DPthV2Lc.js} +18 -18
  233. package/chunk/{StepSMSLoop-DU91kmZw.js.map → StepSMSLoop-DPthV2Lc.js.map} +1 -1
  234. package/chunk/{StepSMSLoop-DU91kmZw.js → StepSMSLoop-DfmUZBbW.js} +4 -4
  235. package/chunk/{StepSMSLoop-DbvJTafU.js.map → StepSMSLoop-DfmUZBbW.js.map} +1 -1
  236. package/chunk/StepSSO-BRFhNvkp.js +9 -0
  237. package/chunk/{StepSSO-Bp-M6Mod.js → StepSSO-BaFk7RFJ.js} +4 -4
  238. package/chunk/{StepSocialSecurityNumber-DK4msVLI.js → StepSocialSecurityNumber-CGpWJ3oN.js} +9 -9
  239. package/chunk/{StepSocialSecurityNumber-CbSszHk8.js.map → StepSocialSecurityNumber-CGpWJ3oN.js.map} +1 -1
  240. package/chunk/{StepSocialSecurityNumber-CbSszHk8.js → StepSocialSecurityNumber-DxFxaZ2R.js} +26 -26
  241. package/chunk/{StepSocialSecurityNumber-DK4msVLI.js.map → StepSocialSecurityNumber-DxFxaZ2R.js.map} +1 -1
  242. package/chunk/{StepStudentPersonalInfo-CCxT9FDI.js → StepStudentPersonalInfo-DFTqKs_m.js} +36 -37
  243. package/chunk/{StepStudentPersonalInfo-BJlc0JF0.js.map → StepStudentPersonalInfo-DFTqKs_m.js.map} +1 -1
  244. package/chunk/{StepStudentPersonalInfo-BJlc0JF0.js → StepStudentPersonalInfo-DgYva1Rh.js} +72 -73
  245. package/chunk/{StepStudentPersonalInfo-CCxT9FDI.js.map → StepStudentPersonalInfo-DgYva1Rh.js.map} +1 -1
  246. package/chunk/{StepSuccess-DOWQrS9p.js → StepSuccess-BHqTjF_1.js} +71 -72
  247. package/chunk/StepSuccess-BHqTjF_1.js.map +1 -0
  248. package/chunk/{StepSuccess-DkoWskiv.js → StepSuccess-C6kBfGWn.js} +82 -83
  249. package/chunk/StepSuccess-C6kBfGWn.js.map +1 -0
  250. package/chunk/{StepTeacherPersonalInfo-CPk_P26g.js → StepTeacherPersonalInfo-BxaaxkGP.js} +21 -17
  251. package/chunk/{StepTeacherPersonalInfo-CPk_P26g.js.map → StepTeacherPersonalInfo-BxaaxkGP.js.map} +1 -1
  252. package/chunk/StepTeacherPersonalInfo-a_hD0tId.js +149 -0
  253. package/chunk/{StepTeacherPersonalInfo-CW71f8l7.js.map → StepTeacherPersonalInfo-a_hD0tId.js.map} +1 -1
  254. package/chunk/{StepThirdPartyLoop-CbFTIlwP.js → StepThirdPartyLoop-BGHCbduX.js} +4 -4
  255. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +9 -0
  256. package/chunk/{TeacherSchoolComponent-DrN1Py8h.js → TeacherSchoolComponent-DSNAhVx8.js} +8 -8
  257. package/chunk/{TeacherSchoolComponent-DrN1Py8h.js.map → TeacherSchoolComponent-DSNAhVx8.js.map} +1 -1
  258. package/chunk/{TeacherSchoolComponent-BkMlrpPJ.js → TeacherSchoolComponent-d1XeOQ1I.js} +5 -5
  259. package/chunk/{TeacherSchoolComponent-BkMlrpPJ.js.map → TeacherSchoolComponent-d1XeOQ1I.js.map} +1 -1
  260. package/chunk/TestingRouteOverrides-B-zcTBa_.js +3 -3
  261. package/chunk/TestingRouteOverrides-BDCygTLC.js +81 -0
  262. package/chunk/{TestingRouteOverrides-DCR0qXVH.js.map → TestingRouteOverrides-BDCygTLC.js.map} +1 -1
  263. package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
  264. package/chunk/{VerificationApiClient-xgUCQ1gs.js → VerificationApiClient-Cx1SikK8.js} +140 -140
  265. package/chunk/{VerificationApiClient-xgUCQ1gs.js.map → VerificationApiClient-Cx1SikK8.js.map} +1 -1
  266. package/chunk/{VerificationApiClient-CVR-bKWg.js → VerificationApiClient-Dbi5PEQ8.js} +4 -4
  267. package/chunk/{VerificationApiClient-CVR-bKWg.js.map → VerificationApiClient-Dbi5PEQ8.js.map} +1 -1
  268. package/chunk/{VerificationApiUtils-COM2VOcB.js → VerificationApiUtils-CtfMQ7a_.js} +6 -6
  269. package/chunk/{VerificationApiUtils-COM2VOcB.js.map → VerificationApiUtils-CtfMQ7a_.js.map} +1 -1
  270. package/chunk/{VerificationApiUtils-OKRnuWj4.js → VerificationApiUtils-y5gjtrYk.js} +5 -5
  271. package/chunk/{VerificationApiUtils-OKRnuWj4.js.map → VerificationApiUtils-y5gjtrYk.js.map} +1 -1
  272. package/chunk/ar-wkBEXxD9.js +3 -3
  273. package/chunk/bg-D2-seofX.js +3 -3
  274. package/chunk/bn-IN-B5PyYaJU.js +3 -3
  275. package/chunk/{countryUtils-BAFwHnuu.js → countryUtils-D2UBy7Uo.js} +4 -4
  276. package/chunk/{countryUtils-BAFwHnuu.js.map → countryUtils-D2UBy7Uo.js.map} +1 -1
  277. package/chunk/countryUtils-QSjR1rBI.js +3 -3
  278. package/chunk/cs-CsEnIopo.js +3 -3
  279. package/chunk/da-Da-m3VU_.js +3 -3
  280. package/chunk/de-BSoD5U3-.js +3 -3
  281. package/chunk/{downshift.esm-D4-Qs4ci.js → downshift.esm-ChSUVkrQ.js} +40 -40
  282. package/chunk/{downshift.esm-Cy12VCIv.js.map → downshift.esm-ChSUVkrQ.js.map} +1 -1
  283. package/chunk/{downshift.esm-Cy12VCIv.js → downshift.esm-DVcQrgG5.js} +121 -121
  284. package/chunk/{downshift.esm-D4-Qs4ci.js.map → downshift.esm-DVcQrgG5.js.map} +1 -1
  285. package/chunk/el-CFa6y9Ri.js +3 -3
  286. package/chunk/empties-BIoZK05_.js +3 -3
  287. package/chunk/{empties-Ck9OJXHG.js → empties-DHvaWflk.js} +4 -4
  288. package/chunk/{empties-Ck9OJXHG.js.map → empties-DHvaWflk.js.map} +1 -1
  289. package/chunk/en-GB-V8XaGkaI.js +3 -3
  290. package/chunk/es-D18tLxcT.js +3 -3
  291. package/chunk/es-ES-7x2bVUQr.js +3 -3
  292. package/chunk/et-udrWMVlD.js +3 -3
  293. package/chunk/eventEmitter-CSG6jR7V.js +3 -3
  294. package/chunk/fa-DgwYULMs.js +3 -3
  295. package/chunk/fi-CkCWFGDC.js +3 -3
  296. package/chunk/fr-BprIFEa8.js +3 -3
  297. package/chunk/fr-CA-DrjICejr.js +3 -3
  298. package/chunk/ga-LaV5ZJgg.js +3 -3
  299. package/chunk/hi-IN-7dtEICYI.js +3 -3
  300. package/chunk/hr-2Bctl997.js +3 -3
  301. package/chunk/hu-BT0z6TPZ.js +3 -3
  302. package/chunk/id-BvyYep3X.js +3 -3
  303. package/chunk/{intl-aUfdCP8t.js → intl-Yr2cw5px.js} +4 -4
  304. package/chunk/{intl-aUfdCP8t.js.map → intl-Yr2cw5px.js.map} +1 -1
  305. package/chunk/is-DOsKfa80.js +3 -3
  306. package/chunk/it-3dX9AQk7.js +3 -3
  307. package/chunk/iw-5I90wqQ8.js +3 -3
  308. package/chunk/ja-CHdgbMgX.js +3 -3
  309. package/chunk/jsx-runtime-BknAqbDq.js +3 -3
  310. package/chunk/{jsx-runtime-XNwIsY_N.js → jsx-runtime-D_-z-h6n.js} +17 -17
  311. package/chunk/{jsx-runtime-XNwIsY_N.js.map → jsx-runtime-D_-z-h6n.js.map} +1 -1
  312. package/chunk/kk-BriyNfHL.js +3 -3
  313. package/chunk/ko-DsMaax3V.js +3 -3
  314. package/chunk/lo-CjASRmNr.js +3 -3
  315. package/chunk/lt-DF29E1de.js +3 -3
  316. package/chunk/lv-DlHBZyt-.js +3 -3
  317. package/chunk/{militaryStepHelpers-qMYyQgVn.js → militaryStepHelpers-DSh6iat_.js} +4 -4
  318. package/chunk/{militaryStepHelpers-qMYyQgVn.js.map → militaryStepHelpers-DSh6iat_.js.map} +1 -1
  319. package/chunk/militaryStepHelpers-UF-7lF1f.js +3 -3
  320. package/chunk/mocks-1r84in2Q.js +3 -3
  321. package/chunk/{mocks-fUTXc8-e.js → mocks-CKXq8CZk.js} +8 -8
  322. package/chunk/{mocks-fUTXc8-e.js.map → mocks-CKXq8CZk.js.map} +1 -1
  323. package/chunk/ms-B3vDtlFh.js +3 -3
  324. package/chunk/nl-BE-Dw1IGXuF.js +3 -3
  325. package/chunk/nl-Cqkrr5-r.js +3 -3
  326. package/chunk/no-876EdwkX.js +3 -3
  327. package/chunk/options-D19mRw5a.js +3 -3
  328. package/chunk/pl-B_G8s05-.js +3 -3
  329. package/chunk/programThemeGetters-Lz3L0Vh7.js +3 -3
  330. package/chunk/{programThemeGetters-CyMKyJao.js → programThemeGetters-iBty-gXI.js} +35 -35
  331. package/chunk/{programThemeGetters-CyMKyJao.js.map → programThemeGetters-iBty-gXI.js.map} +1 -1
  332. package/chunk/pt-BR-DWj043qk.js +3 -3
  333. package/chunk/pt-DckA3Jnn.js +3 -3
  334. package/chunk/refs-Bbe0gnJ3.js +3 -3
  335. package/chunk/{refs--ECXpllB.js → refs-C_tB1qMA.js} +4 -4
  336. package/chunk/{refs--ECXpllB.js.map → refs-C_tB1qMA.js.map} +1 -1
  337. package/chunk/ro-DukNcWCM.js +3 -3
  338. package/chunk/ru-RkdRQ7qb.js +3 -3
  339. package/chunk/sk-CPBgBtC5.js +3 -3
  340. package/chunk/sl-Cyj9PWmN.js +3 -3
  341. package/chunk/sr-Bm1GVW8m.js +3 -3
  342. package/chunk/strings-DWLVdUcm.js +3 -3
  343. package/chunk/sv-CcMmeZrG.js +3 -3
  344. package/chunk/sw-BPvl1ou6.js +3 -3
  345. package/chunk/ta-BPEH7IlE.js +3 -3
  346. package/chunk/th-Dd912RL5.js +3 -3
  347. package/chunk/tl-J_TdpjQz.js +3 -3
  348. package/chunk/tr-B-GrrJj0.js +3 -3
  349. package/chunk/uk-MohyvT_n.js +3 -3
  350. package/chunk/ur-CDYGpWMm.js +3 -3
  351. package/chunk/{useCollectFieldsEndpoint-Bn7ZjdXx.js → useCollectFieldsEndpoint-3Y1ZabGh.js} +10 -10
  352. package/chunk/{useCollectFieldsEndpoint-Bn7ZjdXx.js.map → useCollectFieldsEndpoint-3Y1ZabGh.js.map} +1 -1
  353. package/chunk/{useCollectFieldsEndpoint-DHNko4IC.js → useCollectFieldsEndpoint-DbKsNLEw.js} +5 -5
  354. package/chunk/{useCollectFieldsEndpoint-DHNko4IC.js.map → useCollectFieldsEndpoint-DbKsNLEw.js.map} +1 -1
  355. package/chunk/{useMetrics-AzdlM_Kg.js → useMetrics-BdMoL7SD.js} +18 -18
  356. package/chunk/{useMetrics-DKs1RHom.js.map → useMetrics-BdMoL7SD.js.map} +1 -1
  357. package/chunk/{useMetrics-DKs1RHom.js → useMetrics-D_8asKZL.js} +4 -4
  358. package/chunk/{useMetrics-AzdlM_Kg.js.map → useMetrics-D_8asKZL.js.map} +1 -1
  359. package/chunk/validators-DTjHYDSK.js +474 -0
  360. package/chunk/validators-DTjHYDSK.js.map +1 -0
  361. package/chunk/validators-Do9xo2t_.js +470 -0
  362. package/chunk/validators-Do9xo2t_.js.map +1 -0
  363. package/chunk/vi-CdPTWSev.js +3 -3
  364. package/chunk/zh-DhnjKBoc.js +3 -3
  365. package/chunk/zh-HK-CWKNP_HX.js +3 -3
  366. package/chunk/zu-BpMHS0oR.js +3 -3
  367. package/package.json +3 -2
  368. package/sheerid-install.css +3 -3
  369. package/sheerid-install.js +3 -3
  370. package/sheerid.css +3 -3
  371. package/sheerid.js +3812 -1369
  372. package/sheerid.js.map +1 -1
  373. package/chunk/CountryComponentWrapper-CRF7oKmW.js +0 -78
  374. package/chunk/EmailLoopPending-MXkvNNP8.js.map +0 -1
  375. package/chunk/EmailLoopPending-anok50US.js +0 -137
  376. package/chunk/EmailLoopPending-anok50US.js.map +0 -1
  377. package/chunk/FormFooterComponent-Cobuya5J.js.map +0 -1
  378. package/chunk/FormFooterComponent-DcilxYfs.js.map +0 -1
  379. package/chunk/StepAgePersonalInfo-KeuFdZua.js +0 -173
  380. package/chunk/StepCollectMilitaryStatusComponent-CHOxuZnI.js +0 -9
  381. package/chunk/StepCollectPersonalInfo-BVd72Idl.js +0 -361
  382. package/chunk/StepCompleteAuthentication-CYsu3UXL.js.map +0 -1
  383. package/chunk/StepCompleteAuthentication-CmOEE_s5.js.map +0 -1
  384. package/chunk/StepEmailLoop-7EwsfbG2.js.map +0 -1
  385. package/chunk/StepEmailLoop-CLIGNsCO.js.map +0 -1
  386. package/chunk/StepMemberPersonalInfo-DzKpsoK8.js +0 -156
  387. package/chunk/StepMoverPersonalInfo-DIspTifw.js +0 -143
  388. package/chunk/StepOverrideComponent-67Wl2Ic3.js.map +0 -1
  389. package/chunk/StepOverrideComponent-DbbQq6nF.js.map +0 -1
  390. package/chunk/StepSSO-DfPU73JX.js +0 -9
  391. package/chunk/StepSuccess-DOWQrS9p.js.map +0 -1
  392. package/chunk/StepSuccess-DkoWskiv.js.map +0 -1
  393. package/chunk/StepTeacherPersonalInfo-CW71f8l7.js +0 -153
  394. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +0 -9
  395. package/chunk/TestingRouteOverrides-DCR0qXVH.js +0 -81
  396. package/chunk/hooks--D4yPhcg.js +0 -2893
  397. package/chunk/hooks--D4yPhcg.js.map +0 -1
  398. package/chunk/hooks-Bn35OzEf.js +0 -2889
  399. package/chunk/hooks-Bn35OzEf.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"StepMedicalProfessionalPersonalInfo-BBQdw_WF.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,EAA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AAA,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
+ {"version":3,"file":"StepMedicalProfessionalPersonalInfo-BbkO8cmo.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,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,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAI,EAAuB,EAAU,OAAO,EAAE;KAC9C,gBAAe;IAChB,CAAA;IAEH,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAI,EAAuB,EAAU,OAAO,EAAE;KAC9C,gBAAe;IAChB,CAAA;GAEJ,CAAA;GAEF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmC,YAAY;MAC7C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
@@ -1,28 +1,32 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.259.0-alpha.1
4
- * BUILD_TIMESTAMP: 1784754660626
5
- * BUILD_DATE: Wed Jul 22 2026 21:11:00 GMT+0000 (Coordinated Universal Time)
3
+ * WARNING: This file is intended to be used within MySheerID.
4
+ * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
+ */
6
+ /**
7
+ * VERSION: 2.259.0-alpha.3
8
+ * BUILD_TIMESTAMP: 1784836485051
9
+ * BUILD_DATE: Thu Jul 23 2026 19:54:45 GMT+0000 (Coordinated Universal Time)
6
10
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
7
11
  */
8
- import { Ct as e, Ft as t, Wt as n, n as r } from "./options-D19mRw5a.js";
9
- import { a as i, c as a, n as o, t as s } from "./jsx-runtime-BknAqbDq.js";
10
- import { x as c } from "./FormFooterComponent-DcilxYfs.js";
11
- import { $ as l, B as u, G as d, J as f, P as p, W as m, et as h, n as g } from "../sheerid.js";
12
- import { t as _ } from "./useCollectFieldsEndpoint-DHNko4IC.js";
13
- import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-DA4ytPM2.js";
14
- import { n as w, t as T } from "./PersonalInfoStepSubmitButton-Byqc8ilE.js";
15
- import { t as E } from "./BirthDateComponent-Dx9Zgnrr.js";
16
- import { t as D } from "./PostalCodeComponent-hDSZecsX.js";
17
- import { t as O } from "./CountryComponentWrapper-CQ6ZT9lg.js";
18
- import { t as k } from "./ExtraMessage-DeL_Wn33.js";
19
- import { t as A } from "./ChangeLocaleComponent-DPIcEDOe.js";
20
- import { t as j } from "./PersonalInfoStepWrapper-VYXPs068.js";
21
- import { t as M } from "./StatusComponent-XLL7x50K.js";
22
- import { t as N } from "./MedicalProfessionalOrganizationComponent-BRXUpSBl.js";
23
- import { t as P } from "./MemberIdComponent-DOikwfIV.js";
12
+ import { Mt as e, Ut as t, bt as n, s as r } from "./intl-Yr2cw5px.js";
13
+ import { a as i, c as a, n as o, t as s } from "./jsx-runtime-D_-z-h6n.js";
14
+ import { D as c } from "./FormFooterComponent-CU9v96Pk.js";
15
+ import { $ as l, B as u, G as d, J as f, P as p, W as m, et as h, n as g } from "../_mysheerid-preview.js";
16
+ import { t as _ } from "./useCollectFieldsEndpoint-3Y1ZabGh.js";
17
+ import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-pa2v-Kv1.js";
18
+ import { n as w, t as T } from "./PersonalInfoStepSubmitButton-D3lzSm2E.js";
19
+ import { t as E } from "./BirthDateComponent-DqkkSB42.js";
20
+ import { t as D } from "./PostalCodeComponent-BGzBByZd.js";
21
+ import { t as O } from "./CountryComponentWrapper-AaraHOGX.js";
22
+ import { t as k } from "./ExtraMessage-BYLbcc4O.js";
23
+ import { t as A } from "./ChangeLocaleComponent-CP_kEafQ.js";
24
+ import { t as j } from "./PersonalInfoStepWrapper-CfEXVPIa.js";
25
+ import { t as M } from "./StatusComponent-VG5PRT7W.js";
26
+ import { t as N } from "./MedicalProfessionalOrganizationComponent-CG94dxGF.js";
27
+ import { t as P } from "./MemberIdComponent-DMGaNM9l.js";
24
28
  //#region src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx
25
- var F = /* @__PURE__ */ n(a(), 1), I = s(), L = {
29
+ var F = /* @__PURE__ */ t(a(), 1), I = s(), L = {
26
30
  AT: "gbrNummer",
27
31
  ES: "numeroColegiado",
28
32
  DK: "autorisationsId",
@@ -35,7 +39,7 @@ var F = /* @__PURE__ */ n(a(), 1), I = s(), L = {
35
39
  labelKey: `step.collectMedicalPersonalInfo.${t}Label`,
36
40
  explanationKey: `step.collectMedicalPersonalInfo.${t}Explanation`
37
41
  };
38
- }, z = i(({ intl: n, verificationService: i }) => {
42
+ }, z = i(({ intl: t, verificationService: i }) => {
39
43
  let a = i.viewModel, { fieldValidationErrors: s } = i, L = i.verificationResponse, z = c(L), B = r(), V = a.localeChoice.value, H = (e, t) => {
40
44
  let n = f(a, e, t);
41
45
  i.updateViewModel(n);
@@ -64,10 +68,10 @@ var F = /* @__PURE__ */ n(a(), 1), I = s(), L = {
64
68
  segmentId: "medical",
65
69
  value: {
66
70
  value: a.status,
67
- label: m(n, a.status, e)
71
+ label: m(t, a.status, n)
68
72
  },
69
73
  isErrored: !!s.status,
70
- options: p(n, L.availableStatuses),
74
+ options: p(t, L.availableStatuses),
71
75
  disabled: u("status")?.disabled,
72
76
  onChange: (e) => {
73
77
  H("status", e ? e.value : ""), l("status", e ? e.value : "", i);
@@ -186,7 +190,7 @@ var F = /* @__PURE__ */ n(a(), 1), I = s(), L = {
186
190
  isErrored: !!s.captchaToken
187
191
  }),
188
192
  /* @__PURE__ */ (0, I.jsx)(T, {
189
- step: t.collectMedicalProfessionalPersonalInfo,
193
+ step: e.collectMedicalProfessionalPersonalInfo,
190
194
  verificationService: i,
191
195
  viewModel: a,
192
196
  failedInstantMatch: z,
@@ -1 +1 @@
1
- {"version":3,"file":"StepMedicalProfessionalPersonalInfo-CAViUdYI.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,IA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AAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmC,YAAY;MAC7C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
1
+ {"version":3,"file":"StepMedicalProfessionalPersonalInfo-wrrupNWv.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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EH,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAI,EAAuB,EAAU,OAAO,EAAE;KAC9C,gBAAe;IAChB,CAAA;GAEJ,CAAA;GAEF,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmC,YAAY;MAC7C,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAIA"}
@@ -1,23 +1,27 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.259.0-alpha.1
4
- * BUILD_TIMESTAMP: 1784754660626
5
- * BUILD_DATE: Wed Jul 22 2026 21:11:00 GMT+0000 (Coordinated Universal Time)
3
+ * WARNING: This file is intended to be used within MySheerID.
4
+ * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
+ */
6
+ /**
7
+ * VERSION: 2.259.0-alpha.3
8
+ * BUILD_TIMESTAMP: 1784836485051
9
+ * BUILD_DATE: Thu Jul 23 2026 19:54:45 GMT+0000 (Coordinated Universal Time)
6
10
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
7
11
  */
8
- import { Ft as e, Wt as t, c as n, n as r } from "./options-D19mRw5a.js";
9
- import { c as i, n as a, t as o } from "./jsx-runtime-BknAqbDq.js";
10
- import { x as s } from "./FormFooterComponent-DcilxYfs.js";
11
- import { $ as c, B as l, G as u, et as d, n 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-DA4ytPM2.js";
13
- import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Byqc8ilE.js";
14
- import { t as x } from "./BirthDateComponent-Dx9Zgnrr.js";
15
- import { t as S } from "./CountryComponentWrapper-CQ6ZT9lg.js";
16
- import { t as C } from "./ExtraMessage-DeL_Wn33.js";
17
- import { t as w } from "./ChangeLocaleComponent-DPIcEDOe.js";
18
- import { t as T } from "./PersonalInfoStepWrapper-VYXPs068.js";
19
- import { t as E } from "./MemberIdComponent-DOikwfIV.js";
20
- import { t as D } from "./MembershipOrganizationComponent-CisdewfJ.js";
12
+ import { Mt as e, Ut as t, p as n, s as r } from "./intl-Yr2cw5px.js";
13
+ import { c as i, n as a, t as o } from "./jsx-runtime-D_-z-h6n.js";
14
+ import { D as s } from "./FormFooterComponent-CU9v96Pk.js";
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-pa2v-Kv1.js";
17
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-D3lzSm2E.js";
18
+ import { t as x } from "./BirthDateComponent-DqkkSB42.js";
19
+ import { t as S } from "./CountryComponentWrapper-AaraHOGX.js";
20
+ import { t as C } from "./ExtraMessage-BYLbcc4O.js";
21
+ import { t as w } from "./ChangeLocaleComponent-CP_kEafQ.js";
22
+ import { t as T } from "./PersonalInfoStepWrapper-CfEXVPIa.js";
23
+ import { t as E } from "./MemberIdComponent-DMGaNM9l.js";
24
+ import { t as D } from "./MembershipOrganizationComponent-DqdtAn4g.js";
21
25
  //#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
22
26
  var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) => {
23
27
  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-CPcTjVm4.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 />\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berPersonalInfoComponent.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,OAEh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,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"}
@@ -0,0 +1,152 @@
1
+
2
+ /**
3
+ * VERSION: 2.259.0-alpha.3
4
+ * BUILD_TIMESTAMP: 1784836480727
5
+ * BUILD_DATE: Thu Jul 23 2026 19:54:40 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
7
+ */
8
+ import { Ft as e, Wt as t, c as n, n as r } from "./options-D19mRw5a.js";
9
+ import { c as i, n as a, t as o } from "./jsx-runtime-BknAqbDq.js";
10
+ import { C as s } from "./FormFooterComponent-BvXzhu3G.js";
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-B2bCn0HL.js";
13
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
14
+ import { t as x } from "./BirthDateComponent-BHSI0CUp.js";
15
+ import { t as S } from "./CountryComponentWrapper-BHYHjLHh.js";
16
+ import { t as C } from "./ExtraMessage-DuEKh0WN.js";
17
+ import { t as w } from "./ChangeLocaleComponent-Cy07cdJk.js";
18
+ import { t as T } from "./PersonalInfoStepWrapper-lbTtms4r.js";
19
+ import { t as E } from "./MemberIdComponent-Dva2Xx7J.js";
20
+ import { t as D } from "./MembershipOrganizationComponent-B4sltAFs.js";
21
+ //#region src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx
22
+ var O = /* @__PURE__ */ t(i(), 1), k = o(), A = ({ verificationService: t }) => {
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) => {
24
+ let a = n(i, (t) => {
25
+ t[e] = r;
26
+ });
27
+ t.updateViewModel(a);
28
+ };
29
+ return O.useEffect(() => {
30
+ let e = (t.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "memberId");
31
+ N ? t.updateViewModel({ fieldsToSkipValidation: e }, { partial: !0 }) : t.updateViewModel({ fieldsToSkipValidation: [...e, "memberId"] }, { partial: !0 });
32
+ }, [N]), /* @__PURE__ */ (0, k.jsxs)(T, {
33
+ verificationService: t,
34
+ step: A.currentStep,
35
+ children: [
36
+ /* @__PURE__ */ (0, k.jsx)(d, {
37
+ verificationService: t,
38
+ classNameIdentifier: "member-personal-info"
39
+ }),
40
+ /* @__PURE__ */ (0, k.jsx)(w, { verificationService: t }),
41
+ /* @__PURE__ */ (0, k.jsx)(S, {
42
+ verificationService: t,
43
+ disabled: l("country")?.disabled
44
+ }),
45
+ /* @__PURE__ */ (0, k.jsx)(D, {
46
+ value: t.viewModel.organization,
47
+ verificationService: t,
48
+ isErrored: !!o.organization,
49
+ disabled: l("organization")?.disabled,
50
+ onChange: (e) => {
51
+ f(e, t), u("organization", e, t);
52
+ }
53
+ }),
54
+ /* @__PURE__ */ (0, k.jsxs)("div", {
55
+ className: "sid-names",
56
+ children: [/* @__PURE__ */ (0, k.jsx)(p, {
57
+ value: i.firstName,
58
+ isErrored: !!o.firstName,
59
+ disabled: l("firstName")?.disabled,
60
+ onChange: (e) => {
61
+ F("firstName", e), u("firstName", e, t);
62
+ }
63
+ }), /* @__PURE__ */ (0, k.jsx)(m, {
64
+ value: i.lastName,
65
+ isErrored: !!o.lastName,
66
+ disabled: l("lastName")?.disabled,
67
+ onChange: (e) => {
68
+ F("lastName", e), u("lastName", e, t);
69
+ }
70
+ })]
71
+ }),
72
+ /* @__PURE__ */ (0, k.jsx)(y, {
73
+ value: i.email,
74
+ isErrored: !!o.email,
75
+ explanation: /* @__PURE__ */ (0, k.jsx)(a, {
76
+ id: "emailExplanation",
77
+ defaultMessage: " "
78
+ }),
79
+ onChange: (e) => {
80
+ F("email", e), u("email", e, t);
81
+ },
82
+ onKeyDown: (e) => c(e),
83
+ disabled: l("email")?.disabled
84
+ }),
85
+ /* @__PURE__ */ (0, k.jsx)(x, {
86
+ errorId: o.birthDate,
87
+ locale: P,
88
+ isRequired: l("birthDate")?.requireIfOptional,
89
+ onChange: (e) => {
90
+ F("birthDate", e), u("birthDate", e, t);
91
+ },
92
+ value: i.birthDate,
93
+ disabled: l("birthDate")?.disabled
94
+ }),
95
+ /* @__PURE__ */ (0, k.jsx)(E, {
96
+ value: i.memberId,
97
+ isErrored: !!o.memberId,
98
+ isRequired: N,
99
+ disabled: l("memberId")?.disabled,
100
+ onChange: (e) => {
101
+ F("memberId", e), u("memberId", e, t);
102
+ }
103
+ }),
104
+ t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, k.jsx)(g, {
105
+ isRequired: !!t.programTheme.smsLoopEnabled,
106
+ value: i.phoneNumber,
107
+ isErrored: !!o.phoneNumber,
108
+ onChange: (e) => {
109
+ F("phoneNumber", e), u("phoneNumber", e, t);
110
+ },
111
+ selectedCountryCode: i.countryChoice && i.countryChoice.value,
112
+ disabled: l("phoneNumber")?.disabled
113
+ }) : null,
114
+ M.customFormFields.map((e) => /* @__PURE__ */ (0, k.jsx)(h, {
115
+ config: e,
116
+ verificationService: t
117
+ })),
118
+ /* @__PURE__ */ (0, k.jsx)(_, {
119
+ verificationService: t,
120
+ isErrored: !!o.marketConsentValue,
121
+ onChange: (e) => {
122
+ F("metadata", {
123
+ ...t.viewModel.metadata,
124
+ marketConsentValue: e
125
+ }), u("marketConsentValue", e, t);
126
+ },
127
+ viewModel: i,
128
+ disabled: l("marketConsentValue")?.disabled
129
+ }),
130
+ /* @__PURE__ */ (0, k.jsx)(C, {
131
+ verificationService: t,
132
+ suffix: "CollectAboveSubmit"
133
+ }),
134
+ /* @__PURE__ */ (0, k.jsx)(v, {
135
+ verificationService: t,
136
+ isErrored: !!o.captchaToken
137
+ }),
138
+ /* @__PURE__ */ (0, k.jsx)(b, {
139
+ step: e.collectMemberPersonalInfo,
140
+ verificationService: t,
141
+ viewModel: i,
142
+ failedInstantMatch: j,
143
+ buttonText: /* @__PURE__ */ (0, k.jsx)(a, {
144
+ id: "step.personalInfo.submitButtonText",
145
+ defaultMessage: "Verify My Membership Status"
146
+ })
147
+ })
148
+ ]
149
+ });
150
+ };
151
+ //#endregion
152
+ export { A as default };
@@ -1 +1 @@
1
- {"version":3,"file":"StepMemberPersonalInfo-DzKpsoK8.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,QAC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;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-DzmzUubV.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,IAMH,EAAoB,gBAAgB,EAAE,wBAAwB,EAAS,GAAG,EAAE,SAAS,GAAK,CAAC,IAL3F,EAAoB,gBAClB,EAAE,wBAAwB,CAAC,GAAG,GAAU,UAAU,EAAE,GACpD,EAAE,SAAS,GAAK,CAClB;CAIJ,GAAG,CAAC,CAAkB,CAAC,GAGrB,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iB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