@sheerid/jslib 2.314.0 → 2.315.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/_mysheerid-preview.css +3 -3
  2. package/_mysheerid-preview.js +36 -36
  3. package/chunk/{AddressComponent-BhsB0ubP.js → AddressComponent-BUOibRxr.js} +4 -4
  4. package/chunk/{AddressComponent-BhsB0ubP.js.map → AddressComponent-BUOibRxr.js.map} +1 -1
  5. package/chunk/{AddressComponent-DT1QSw8o.js → AddressComponent-uhBMgV3q.js} +4 -4
  6. package/chunk/{AddressComponent-DT1QSw8o.js.map → AddressComponent-uhBMgV3q.js.map} +1 -1
  7. package/chunk/AnnouncingHeader-CM01vEpF.js +3 -3
  8. package/chunk/AnnouncingHeader-CSh0UW8I.js +3 -3
  9. package/chunk/{BirthDateComponent-BPaAXZlv.js → BirthDateComponent-DEm62ubJ.js} +4 -4
  10. package/chunk/{BirthDateComponent-B3mQalKa.js.map → BirthDateComponent-DEm62ubJ.js.map} +1 -1
  11. package/chunk/{BirthDateComponent-B3mQalKa.js → BirthDateComponent-i59ScGu6.js} +4 -4
  12. package/chunk/{BirthDateComponent-BPaAXZlv.js.map → BirthDateComponent-i59ScGu6.js.map} +1 -1
  13. package/chunk/{CaptchaComponent-Nm59DuJO.js → CaptchaComponent-BD4yKfJR.js} +7 -7
  14. package/chunk/{CaptchaComponent-Nm59DuJO.js.map → CaptchaComponent-BD4yKfJR.js.map} +1 -1
  15. package/chunk/{CaptchaComponent-B-0n8Sgc.js → CaptchaComponent-g9Ye-t7Z.js} +7 -7
  16. package/chunk/{CaptchaComponent-B-0n8Sgc.js.map → CaptchaComponent-g9Ye-t7Z.js.map} +1 -1
  17. package/chunk/{ChangeLocaleComponent-2ItMdEpd.js → ChangeLocaleComponent-DBoMb2NA.js} +7 -7
  18. package/chunk/{ChangeLocaleComponent-2ItMdEpd.js.map → ChangeLocaleComponent-DBoMb2NA.js.map} +1 -1
  19. package/chunk/{ChangeLocaleComponent-B47RYyd8.js → ChangeLocaleComponent-Drpt_vzW.js} +7 -7
  20. package/chunk/{ChangeLocaleComponent-B47RYyd8.js.map → ChangeLocaleComponent-Drpt_vzW.js.map} +1 -1
  21. package/chunk/{City-Dx5l48so.js → City-IKHXV6fA.js} +4 -4
  22. package/chunk/{City-BZP2jWJC.js.map → City-IKHXV6fA.js.map} +1 -1
  23. package/chunk/{City-BZP2jWJC.js → City-gBRdOIsP.js} +4 -4
  24. package/chunk/{City-Dx5l48so.js.map → City-gBRdOIsP.js.map} +1 -1
  25. package/chunk/{CollegeNameComponent-DF_dcHnu.js → CollegeNameComponent-CQvKnECH.js} +7 -7
  26. package/chunk/{CollegeNameComponent-DF_dcHnu.js.map → CollegeNameComponent-CQvKnECH.js.map} +1 -1
  27. package/chunk/{CollegeNameComponent-f6_gBtpS.js → CollegeNameComponent-DpMt-iEi.js} +7 -7
  28. package/chunk/{CollegeNameComponent-f6_gBtpS.js.map → CollegeNameComponent-DpMt-iEi.js.map} +1 -1
  29. package/chunk/CopyToClipboardComponent-BN9qCovT.js +3 -3
  30. package/chunk/CopyToClipboardComponent-Dag4rxf8.js +3 -3
  31. package/chunk/{CountryComponentWrapper-CDJl-HHu.js → CountryComponentWrapper-A-NCx760.js} +7 -7
  32. package/chunk/{CountryComponentWrapper-CDJl-HHu.js.map → CountryComponentWrapper-A-NCx760.js.map} +1 -1
  33. package/chunk/{CountryComponentWrapper-CPH7Q2C9.js → CountryComponentWrapper-DHUcGCUF.js} +7 -7
  34. package/chunk/{CountryComponentWrapper-CPH7Q2C9.js.map → CountryComponentWrapper-DHUcGCUF.js.map} +1 -1
  35. package/chunk/{DischargeDateComponent-DfiBSI4n.js → DischargeDateComponent-CifKJfBT.js} +8 -8
  36. package/chunk/{DischargeDateComponent-DfiBSI4n.js.map → DischargeDateComponent-CifKJfBT.js.map} +1 -1
  37. package/chunk/{DischargeDateComponent-Cx5GtJC0.js → DischargeDateComponent-DAeyxPdd.js} +8 -8
  38. package/chunk/{DischargeDateComponent-Cx5GtJC0.js.map → DischargeDateComponent-DAeyxPdd.js.map} +1 -1
  39. package/chunk/{DriverLicenseNumberComponent-D9eHyRtn.js → DriverLicenseNumberComponent-4I1cN8DR.js} +4 -4
  40. package/chunk/{DriverLicenseNumberComponent-D9eHyRtn.js.map → DriverLicenseNumberComponent-4I1cN8DR.js.map} +1 -1
  41. package/chunk/{DriverLicenseNumberComponent-DqGt7_Ww.js → DriverLicenseNumberComponent-ej0LVqRI.js} +4 -4
  42. package/chunk/{DriverLicenseNumberComponent-DqGt7_Ww.js.map → DriverLicenseNumberComponent-ej0LVqRI.js.map} +1 -1
  43. package/chunk/{EmailLoopPending-mlaNRUD9.js → EmailLoopPending-DQ4KVVzP.js} +5 -5
  44. package/chunk/{EmailLoopPending-mlaNRUD9.js.map → EmailLoopPending-DQ4KVVzP.js.map} +1 -1
  45. package/chunk/{EmailLoopPending-D67NiV5x.js → EmailLoopPending-DnPlbLqA.js} +5 -5
  46. package/chunk/{EmailLoopPending-D67NiV5x.js.map → EmailLoopPending-DnPlbLqA.js.map} +1 -1
  47. package/chunk/{ExtraMessage-DpGDn2nE.js → ExtraMessage-CzchllLx.js} +4 -4
  48. package/chunk/{ExtraMessage-DpGDn2nE.js.map → ExtraMessage-CzchllLx.js.map} +1 -1
  49. package/chunk/{ExtraMessage-G5N0ZMea.js → ExtraMessage-v4rZ0l8r.js} +4 -4
  50. package/chunk/{ExtraMessage-G5N0ZMea.js.map → ExtraMessage-v4rZ0l8r.js.map} +1 -1
  51. package/chunk/{FirstResponderOrganizationComponent-BLgIjTUq.js → FirstResponderOrganizationComponent-DUn8PxZo.js} +7 -7
  52. package/chunk/{FirstResponderOrganizationComponent-BLgIjTUq.js.map → FirstResponderOrganizationComponent-DUn8PxZo.js.map} +1 -1
  53. package/chunk/{FirstResponderOrganizationComponent-exaiDKTT.js → FirstResponderOrganizationComponent-JsNBGiPH.js} +7 -7
  54. package/chunk/{FirstResponderOrganizationComponent-exaiDKTT.js.map → FirstResponderOrganizationComponent-JsNBGiPH.js.map} +1 -1
  55. package/chunk/{FormFieldInputSelect-D6tAkFNC.js → FormFieldInputSelect-CtLIp6NY.js} +4 -4
  56. package/chunk/{FormFieldInputSelect-BSKPqpm_.js.map → FormFieldInputSelect-CtLIp6NY.js.map} +1 -1
  57. package/chunk/{FormFieldInputSelect-BSKPqpm_.js → FormFieldInputSelect-DzfYVFe2.js} +4 -4
  58. package/chunk/{FormFieldInputSelect-D6tAkFNC.js.map → FormFieldInputSelect-DzfYVFe2.js.map} +1 -1
  59. package/chunk/FormFieldLayout-KJilu-sR.js +3 -3
  60. package/chunk/FormFieldLayout-UCIBwDRH.js +3 -3
  61. package/chunk/FormFieldText-B_2IOFED.js +3 -3
  62. package/chunk/FormFieldText-CkPmuIPf.js +3 -3
  63. package/chunk/{FormFieldTypeahead-Bz3TMnYw.js → FormFieldTypeahead-BQGJX1il.js} +7 -7
  64. package/chunk/{FormFieldTypeahead-Bz3TMnYw.js.map → FormFieldTypeahead-BQGJX1il.js.map} +1 -1
  65. package/chunk/{FormFieldTypeahead-BRaA3hcO.js → FormFieldTypeahead-BjsW2DUM.js} +7 -7
  66. package/chunk/{FormFieldTypeahead-BRaA3hcO.js.map → FormFieldTypeahead-BjsW2DUM.js.map} +1 -1
  67. package/chunk/{FormFooterComponent-CVXgmWQR.js → FormFooterComponent-B7fUP0wx.js} +7 -7
  68. package/chunk/{FormFooterComponent-CVXgmWQR.js.map → FormFooterComponent-B7fUP0wx.js.map} +1 -1
  69. package/chunk/{FormFooterComponent-B4IrNZhK.js → FormFooterComponent-BTfz7YAX.js} +7 -7
  70. package/chunk/{FormFooterComponent-B4IrNZhK.js.map → FormFooterComponent-BTfz7YAX.js.map} +1 -1
  71. package/chunk/{FormSelectChoice-CIB7HacQ.js → FormSelectChoice-DGDSioEg.js} +5 -5
  72. package/chunk/{FormSelectChoice-CIB7HacQ.js.map → FormSelectChoice-DGDSioEg.js.map} +1 -1
  73. package/chunk/{FormSelectChoice-CbcfEHuQ.js → FormSelectChoice-DN3XV8go.js} +5 -5
  74. package/chunk/{FormSelectChoice-CbcfEHuQ.js.map → FormSelectChoice-DN3XV8go.js.map} +1 -1
  75. package/chunk/InputText-Bvj815Th.js +3 -3
  76. package/chunk/InputText-C2qEtF0t.js +3 -3
  77. package/chunk/{LicensedProfessionalOrganizationComponent-Dmo9gg0v.js → LicensedProfessionalOrganizationComponent-C43VAUdy.js} +7 -7
  78. package/chunk/{LicensedProfessionalOrganizationComponent-Dmo9gg0v.js.map → LicensedProfessionalOrganizationComponent-C43VAUdy.js.map} +1 -1
  79. package/chunk/{LicensedProfessionalOrganizationComponent-3wnxm1gl.js → LicensedProfessionalOrganizationComponent-DEwASktt.js} +7 -7
  80. package/chunk/{LicensedProfessionalOrganizationComponent-3wnxm1gl.js.map → LicensedProfessionalOrganizationComponent-DEwASktt.js.map} +1 -1
  81. package/chunk/{LogoComponent-B4tFzxvs.js → LogoComponent-BoEYsksW.js} +4 -4
  82. package/chunk/{LogoComponent-B4tFzxvs.js.map → LogoComponent-BoEYsksW.js.map} +1 -1
  83. package/chunk/{LogoComponent-CNTRIZ82.js → LogoComponent-C2diSRfu.js} +4 -4
  84. package/chunk/{LogoComponent-CNTRIZ82.js.map → LogoComponent-C2diSRfu.js.map} +1 -1
  85. package/chunk/{LowIncomeOrganizationComponent-Boc4boNa.js → LowIncomeOrganizationComponent-D9qAHj0m.js} +8 -8
  86. package/chunk/{LowIncomeOrganizationComponent-Boc4boNa.js.map → LowIncomeOrganizationComponent-D9qAHj0m.js.map} +1 -1
  87. package/chunk/{LowIncomeOrganizationComponent-BiLH2c8H.js → LowIncomeOrganizationComponent-bijYf_Ae.js} +8 -8
  88. package/chunk/{LowIncomeOrganizationComponent-BiLH2c8H.js.map → LowIncomeOrganizationComponent-bijYf_Ae.js.map} +1 -1
  89. package/chunk/{MedicalProfessionalOrganizationComponent-CkLCcGTL.js → MedicalProfessionalOrganizationComponent-CMDxCj_U.js} +7 -7
  90. package/chunk/{MedicalProfessionalOrganizationComponent-CkLCcGTL.js.map → MedicalProfessionalOrganizationComponent-CMDxCj_U.js.map} +1 -1
  91. package/chunk/{MedicalProfessionalOrganizationComponent-DM-H8kwu.js → MedicalProfessionalOrganizationComponent-CsZ0PEb5.js} +7 -7
  92. package/chunk/{MedicalProfessionalOrganizationComponent-DM-H8kwu.js.map → MedicalProfessionalOrganizationComponent-CsZ0PEb5.js.map} +1 -1
  93. package/chunk/{MemberIdComponent-DH_i2bP8.js → MemberIdComponent-B9vrsE-q.js} +4 -4
  94. package/chunk/{MemberIdComponent-BviEO2xf.js.map → MemberIdComponent-B9vrsE-q.js.map} +1 -1
  95. package/chunk/{MemberIdComponent-BviEO2xf.js → MemberIdComponent-JTyvLPTU.js} +4 -4
  96. package/chunk/{MemberIdComponent-DH_i2bP8.js.map → MemberIdComponent-JTyvLPTU.js.map} +1 -1
  97. package/chunk/{MembershipOrganizationComponent-CkdcFB5m.js → MembershipOrganizationComponent-C5dWGUPp.js} +7 -7
  98. package/chunk/{MembershipOrganizationComponent-CkdcFB5m.js.map → MembershipOrganizationComponent-C5dWGUPp.js.map} +1 -1
  99. package/chunk/{MembershipOrganizationComponent-Dzoxr8Ix.js → MembershipOrganizationComponent-Dwnrko48.js} +7 -7
  100. package/chunk/{MembershipOrganizationComponent-Dzoxr8Ix.js.map → MembershipOrganizationComponent-Dwnrko48.js.map} +1 -1
  101. package/chunk/{Message-DcW8EpbY.js → Message-CexO4eZq.js} +4 -4
  102. package/chunk/{Message-DcW8EpbY.js.map → Message-CexO4eZq.js.map} +1 -1
  103. package/chunk/{Message-BJIH7xEA.js → Message-YS1p6ov3.js} +4 -4
  104. package/chunk/{Message-BJIH7xEA.js.map → Message-YS1p6ov3.js.map} +1 -1
  105. package/chunk/Onfido-CTCgAwnB.js +3 -3
  106. package/chunk/{PersonalInfoStepSubmitButton-9dP-dawT.js → PersonalInfoStepSubmitButton-Ds_-FUfA.js} +4 -4
  107. package/chunk/{PersonalInfoStepSubmitButton-9dP-dawT.js.map → PersonalInfoStepSubmitButton-Ds_-FUfA.js.map} +1 -1
  108. package/chunk/{PersonalInfoStepSubmitButton-57KCa-Wu.js → PersonalInfoStepSubmitButton-vpNt-1XI.js} +4 -4
  109. package/chunk/{PersonalInfoStepSubmitButton-57KCa-Wu.js.map → PersonalInfoStepSubmitButton-vpNt-1XI.js.map} +1 -1
  110. package/chunk/{PersonalInfoStepWrapper-Xz-23FXk.js → PersonalInfoStepWrapper-CJzVOQ_x.js} +6 -6
  111. package/chunk/{PersonalInfoStepWrapper-Xz-23FXk.js.map → PersonalInfoStepWrapper-CJzVOQ_x.js.map} +1 -1
  112. package/chunk/{PersonalInfoStepWrapper-DM-VDAwi.js → PersonalInfoStepWrapper-CyCuyImb.js} +5 -5
  113. package/chunk/{PersonalInfoStepWrapper-DM-VDAwi.js.map → PersonalInfoStepWrapper-CyCuyImb.js.map} +1 -1
  114. package/chunk/{PostalCodeComponent-B1YC9e96.js → PostalCodeComponent-B25YSrIO.js} +4 -4
  115. package/chunk/{PostalCodeComponent-B1YC9e96.js.map → PostalCodeComponent-B25YSrIO.js.map} +1 -1
  116. package/chunk/{PostalCodeComponent-Mn1fl8iu.js → PostalCodeComponent-IMgjUHRf.js} +4 -4
  117. package/chunk/{PostalCodeComponent-Mn1fl8iu.js.map → PostalCodeComponent-IMgjUHRf.js.map} +1 -1
  118. package/chunk/{SSN-B1VwdvmE.js → SSN-0xlUI5ik.js} +4 -4
  119. package/chunk/{SSN-B1VwdvmE.js.map → SSN-0xlUI5ik.js.map} +1 -1
  120. package/chunk/{SSN-sfKSdRmS.js → SSN-BjBIZSyh.js} +4 -4
  121. package/chunk/{SSN-sfKSdRmS.js.map → SSN-BjBIZSyh.js.map} +1 -1
  122. package/chunk/{StateSelectComponent-B7eQinP3.js → StateSelectComponent-aAvCOLUg.js} +5 -5
  123. package/chunk/{StateSelectComponent-B7eQinP3.js.map → StateSelectComponent-aAvCOLUg.js.map} +1 -1
  124. package/chunk/{StateSelectComponent-DhkRqivG.js → StateSelectComponent-uKT0CUkG.js} +5 -5
  125. package/chunk/{StateSelectComponent-DhkRqivG.js.map → StateSelectComponent-uKT0CUkG.js.map} +1 -1
  126. package/chunk/{StatusComponent-DJMknEBZ.js → StatusComponent-CmqMjhRY.js} +5 -5
  127. package/chunk/{StatusComponent-DHvMI6LS.js.map → StatusComponent-CmqMjhRY.js.map} +1 -1
  128. package/chunk/{StatusComponent-DHvMI6LS.js → StatusComponent-DqlhdO7Q.js} +5 -5
  129. package/chunk/{StatusComponent-DJMknEBZ.js.map → StatusComponent-DqlhdO7Q.js.map} +1 -1
  130. package/chunk/{StepAgePersonalInfo-15a4u8lW.js → StepAgePersonalInfo-BMB7unTI.js} +16 -16
  131. package/chunk/{StepAgePersonalInfo-15a4u8lW.js.map → StepAgePersonalInfo-BMB7unTI.js.map} +1 -1
  132. package/chunk/{StepAgePersonalInfo-D2ax7PaI.js → StepAgePersonalInfo-D0vIoD_n.js} +16 -16
  133. package/chunk/{StepAgePersonalInfo-D2ax7PaI.js.map → StepAgePersonalInfo-D0vIoD_n.js.map} +1 -1
  134. package/chunk/StepCard-BEucy3JJ.js +3 -3
  135. package/chunk/StepCard-Blp7ZcI-.js +3 -3
  136. package/chunk/{StepCollectIdentifier-8Wsj7KLS.js → StepCollectIdentifier-B_IWZFnm.js} +5 -5
  137. package/chunk/{StepCollectIdentifier-8Wsj7KLS.js.map → StepCollectIdentifier-B_IWZFnm.js.map} +1 -1
  138. package/chunk/{StepCollectIdentifier-_kan_kzu.js → StepCollectIdentifier-RF_12KR0.js} +5 -5
  139. package/chunk/{StepCollectIdentifier-_kan_kzu.js.map → StepCollectIdentifier-RF_12KR0.js.map} +1 -1
  140. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CrmPn11A.js → StepCollectMilitaryPersonalInfoComponent-CTniITbD.js} +21 -21
  141. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CrmPn11A.js.map → StepCollectMilitaryPersonalInfoComponent-CTniITbD.js.map} +1 -1
  142. package/chunk/{StepCollectMilitaryPersonalInfoComponent-AUHqzV1P.js → StepCollectMilitaryPersonalInfoComponent-D9Z8yHB3.js} +21 -21
  143. package/chunk/{StepCollectMilitaryPersonalInfoComponent-AUHqzV1P.js.map → StepCollectMilitaryPersonalInfoComponent-D9Z8yHB3.js.map} +1 -1
  144. package/chunk/{StepCollectPersonalInfo-DWygvbfF.js → StepCollectPersonalInfo-Bmu7n4bc.js} +30 -30
  145. package/chunk/{StepCollectPersonalInfo-DWygvbfF.js.map → StepCollectPersonalInfo-Bmu7n4bc.js.map} +1 -1
  146. package/chunk/{StepCollectPersonalInfo-PuREf52a.js → StepCollectPersonalInfo-CYAL3QrN.js} +30 -30
  147. package/chunk/{StepCollectPersonalInfo-PuREf52a.js.map → StepCollectPersonalInfo-CYAL3QrN.js.map} +1 -1
  148. package/chunk/StepCompleteAuthentication-B_0EZ3mH.js +3 -3
  149. package/chunk/StepCompleteAuthentication-Ds3ieihr.js +3 -3
  150. package/chunk/{StepConsolation-BFfTMQZf.js → StepConsolation-D12aSsuO.js} +5 -5
  151. package/chunk/{StepConsolation-BFfTMQZf.js.map → StepConsolation-D12aSsuO.js.map} +1 -1
  152. package/chunk/{StepConsolation-C5SL95Kz.js → StepConsolation-mzf-Xvuk.js} +5 -5
  153. package/chunk/{StepConsolation-C5SL95Kz.js.map → StepConsolation-mzf-Xvuk.js.map} +1 -1
  154. package/chunk/{StepDocUpload-Cfe9u-Yg.js → StepDocUpload-BZ1I9-VI.js} +7 -7
  155. package/chunk/{StepDocUpload-Cfe9u-Yg.js.map → StepDocUpload-BZ1I9-VI.js.map} +1 -1
  156. package/chunk/{StepDocUpload-DFGy-RZb.js → StepDocUpload-_qGcWolC.js} +7 -7
  157. package/chunk/{StepDocUpload-DFGy-RZb.js.map → StepDocUpload-_qGcWolC.js.map} +1 -1
  158. package/chunk/{StepDriverLicensePersonalInfoComponent-DdmoAJlX.js → StepDriverLicensePersonalInfoComponent-BRLFwKvG.js} +12 -12
  159. package/chunk/{StepDriverLicensePersonalInfoComponent-DdmoAJlX.js.map → StepDriverLicensePersonalInfoComponent-BRLFwKvG.js.map} +1 -1
  160. package/chunk/{StepDriverLicensePersonalInfoComponent-BZ3KgdE7.js → StepDriverLicensePersonalInfoComponent-DTjd9EPj.js} +12 -12
  161. package/chunk/{StepDriverLicensePersonalInfoComponent-BZ3KgdE7.js.map → StepDriverLicensePersonalInfoComponent-DTjd9EPj.js.map} +1 -1
  162. package/chunk/{StepEmailLoop-eZzSYgjK.js → StepEmailLoop-2ftuvoPd.js} +6 -6
  163. package/chunk/{StepEmailLoop-eZzSYgjK.js.map → StepEmailLoop-2ftuvoPd.js.map} +1 -1
  164. package/chunk/{StepEmailLoop-BvbQpNhg.js → StepEmailLoop-CqjFTe3c.js} +6 -6
  165. package/chunk/{StepEmailLoop-BvbQpNhg.js.map → StepEmailLoop-CqjFTe3c.js.map} +1 -1
  166. package/chunk/{StepEmploymentPersonalInfo-COOXEbpc.js → StepEmploymentPersonalInfo-B-iW-S7t.js} +17 -17
  167. package/chunk/{StepEmploymentPersonalInfo-COOXEbpc.js.map → StepEmploymentPersonalInfo-B-iW-S7t.js.map} +1 -1
  168. package/chunk/{StepEmploymentPersonalInfo-KDfQnTyn.js → StepEmploymentPersonalInfo-D7Dp0Cg4.js} +17 -17
  169. package/chunk/{StepEmploymentPersonalInfo-KDfQnTyn.js.map → StepEmploymentPersonalInfo-D7Dp0Cg4.js.map} +1 -1
  170. package/chunk/{StepFirstResponderPersonalInfo-BTcRuxq9.js → StepFirstResponderPersonalInfo-CPSAt1KD.js} +18 -18
  171. package/chunk/{StepFirstResponderPersonalInfo-BTcRuxq9.js.map → StepFirstResponderPersonalInfo-CPSAt1KD.js.map} +1 -1
  172. package/chunk/{StepFirstResponderPersonalInfo-uB0fD2gT.js → StepFirstResponderPersonalInfo-LhAbOSlA.js} +18 -18
  173. package/chunk/{StepFirstResponderPersonalInfo-uB0fD2gT.js.map → StepFirstResponderPersonalInfo-LhAbOSlA.js.map} +1 -1
  174. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Dkk-V7VL.js → StepGeneralIdentityPersonalInfoComponent-CgtkLEB0.js} +15 -15
  175. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Dkk-V7VL.js.map → StepGeneralIdentityPersonalInfoComponent-CgtkLEB0.js.map} +1 -1
  176. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CjJIJNeD.js → StepGeneralIdentityPersonalInfoComponent-t9Kkem2-.js} +15 -15
  177. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CjJIJNeD.js.map → StepGeneralIdentityPersonalInfoComponent-t9Kkem2-.js.map} +1 -1
  178. package/chunk/{StepHybridIdentityPersonalInfoComponent-d8gd6eV_.js → StepHybridIdentityPersonalInfoComponent-BUMAYXNM.js} +16 -16
  179. package/chunk/{StepHybridIdentityPersonalInfoComponent-d8gd6eV_.js.map → StepHybridIdentityPersonalInfoComponent-BUMAYXNM.js.map} +1 -1
  180. package/chunk/{StepHybridIdentityPersonalInfoComponent-iJy6_0b0.js → StepHybridIdentityPersonalInfoComponent-iHwo3WsG.js} +16 -16
  181. package/chunk/{StepHybridIdentityPersonalInfoComponent-iJy6_0b0.js.map → StepHybridIdentityPersonalInfoComponent-iHwo3WsG.js.map} +1 -1
  182. package/chunk/{StepIDCheckLoop-BRlf5SAt.js → StepIDCheckLoop-CHAvBy1v.js} +4 -4
  183. package/chunk/{StepIDCheckLoop-BRlf5SAt.js.map → StepIDCheckLoop-CHAvBy1v.js.map} +1 -1
  184. package/chunk/{StepIDCheckLoop-CWyxFjNe.js → StepIDCheckLoop-CLclpa5W.js} +4 -4
  185. package/chunk/{StepIDCheckLoop-CWyxFjNe.js.map → StepIDCheckLoop-CLclpa5W.js.map} +1 -1
  186. package/chunk/{StepIDCheckLoopOnfido-DY5Q80N_.js → StepIDCheckLoopOnfido-BvBFfhtv.js} +7 -7
  187. package/chunk/{StepIDCheckLoopOnfido-DY5Q80N_.js.map → StepIDCheckLoopOnfido-BvBFfhtv.js.map} +1 -1
  188. package/chunk/{StepIDCheckLoopOnfido-3blrUlBA.js → StepIDCheckLoopOnfido-DSXpRkVG.js} +7 -7
  189. package/chunk/{StepIDCheckLoopOnfido-3blrUlBA.js.map → StepIDCheckLoopOnfido-DSXpRkVG.js.map} +1 -1
  190. package/chunk/{StepIDCheckLoopRegula-CN-KQjeA.js → StepIDCheckLoopRegula-B1ScLVSh.js} +6 -6
  191. package/chunk/{StepIDCheckLoopRegula-CN-KQjeA.js.map → StepIDCheckLoopRegula-B1ScLVSh.js.map} +1 -1
  192. package/chunk/{StepIDCheckLoopRegula-DF-YhjX1.js → StepIDCheckLoopRegula-BX_r_E4L.js} +6 -6
  193. package/chunk/{StepIDCheckLoopRegula-DF-YhjX1.js.map → StepIDCheckLoopRegula-BX_r_E4L.js.map} +1 -1
  194. package/chunk/{StepLicensedProfessionalPersonalInfo-CZKyEpkF.js → StepLicensedProfessionalPersonalInfo-D6e0aKcx.js} +18 -18
  195. package/chunk/{StepLicensedProfessionalPersonalInfo-CZKyEpkF.js.map → StepLicensedProfessionalPersonalInfo-D6e0aKcx.js.map} +1 -1
  196. package/chunk/{StepLicensedProfessionalPersonalInfo-DwNkTHc0.js → StepLicensedProfessionalPersonalInfo-PDja7OV9.js} +18 -18
  197. package/chunk/{StepLicensedProfessionalPersonalInfo-DwNkTHc0.js.map → StepLicensedProfessionalPersonalInfo-PDja7OV9.js.map} +1 -1
  198. package/chunk/{StepLowIncomePersonalInfo-Bm4zhlQi.js → StepLowIncomePersonalInfo-BDgG3QSv.js} +20 -20
  199. package/chunk/{StepLowIncomePersonalInfo-Bm4zhlQi.js.map → StepLowIncomePersonalInfo-BDgG3QSv.js.map} +1 -1
  200. package/chunk/{StepLowIncomePersonalInfo-BqQgGi0u.js → StepLowIncomePersonalInfo-D2qFMg0V.js} +20 -20
  201. package/chunk/{StepLowIncomePersonalInfo-BqQgGi0u.js.map → StepLowIncomePersonalInfo-D2qFMg0V.js.map} +1 -1
  202. package/chunk/{StepMedicalProfessionalPersonalInfo-BM1Innu0.js → StepMedicalProfessionalPersonalInfo-1XPLI2W3.js} +19 -19
  203. package/chunk/{StepMedicalProfessionalPersonalInfo-BM1Innu0.js.map → StepMedicalProfessionalPersonalInfo-1XPLI2W3.js.map} +1 -1
  204. package/chunk/{StepMedicalProfessionalPersonalInfo-8vP1rQax.js → StepMedicalProfessionalPersonalInfo-BC0lr1WI.js} +19 -19
  205. package/chunk/{StepMedicalProfessionalPersonalInfo-8vP1rQax.js.map → StepMedicalProfessionalPersonalInfo-BC0lr1WI.js.map} +1 -1
  206. package/chunk/{StepMemberPersonalInfo-JPen0Cdx.js → StepMemberPersonalInfo-BFKv1wPh.js} +14 -14
  207. package/chunk/{StepMemberPersonalInfo-JPen0Cdx.js.map → StepMemberPersonalInfo-BFKv1wPh.js.map} +1 -1
  208. package/chunk/{StepMemberPersonalInfo-6-8V13Wd.js → StepMemberPersonalInfo-RyxtQuwt.js} +14 -14
  209. package/chunk/{StepMemberPersonalInfo-6-8V13Wd.js.map → StepMemberPersonalInfo-RyxtQuwt.js.map} +1 -1
  210. package/chunk/{StepMoverPersonalInfo-8W0j39Gd.js → StepMoverPersonalInfo-BX_5wilp.js} +12 -12
  211. package/chunk/{StepMoverPersonalInfo-8W0j39Gd.js.map → StepMoverPersonalInfo-BX_5wilp.js.map} +1 -1
  212. package/chunk/{StepMoverPersonalInfo-BiHRl_6u.js → StepMoverPersonalInfo-Cl4UiqSf.js} +12 -12
  213. package/chunk/{StepMoverPersonalInfo-BiHRl_6u.js.map → StepMoverPersonalInfo-Cl4UiqSf.js.map} +1 -1
  214. package/chunk/{StepOverrideComponent-BjEUdOOY.js → StepOverrideComponent-CPCNavii.js} +6 -6
  215. package/chunk/{StepOverrideComponent-BjEUdOOY.js.map → StepOverrideComponent-CPCNavii.js.map} +1 -1
  216. package/chunk/{StepOverrideComponent-CpFR0L_g.js → StepOverrideComponent-mD4Wijhb.js} +6 -6
  217. package/chunk/{StepOverrideComponent-CpFR0L_g.js.map → StepOverrideComponent-mD4Wijhb.js.map} +1 -1
  218. package/chunk/{StepSMSLoop-D7PRpbEu.js → StepSMSLoop-DE9FVO3o.js} +4 -4
  219. package/chunk/{StepSMSLoop-D7PRpbEu.js.map → StepSMSLoop-DE9FVO3o.js.map} +1 -1
  220. package/chunk/{StepSMSLoop-B8V9weE6.js → StepSMSLoop-l4LDphcg.js} +4 -4
  221. package/chunk/{StepSMSLoop-B8V9weE6.js.map → StepSMSLoop-l4LDphcg.js.map} +1 -1
  222. package/chunk/StepSSO-Bx1gQq5b.js +3 -3
  223. package/chunk/StepSSO-Cy9ViRyN.js +3 -3
  224. package/chunk/{StepSocialSecurityNumber-CqjBuMQi.js → StepSocialSecurityNumber-Bjru8M0j.js} +7 -7
  225. package/chunk/{StepSocialSecurityNumber-CqjBuMQi.js.map → StepSocialSecurityNumber-Bjru8M0j.js.map} +1 -1
  226. package/chunk/{StepSocialSecurityNumber-DLpCIKZ-.js → StepSocialSecurityNumber-DPstxLu3.js} +7 -7
  227. package/chunk/{StepSocialSecurityNumber-DLpCIKZ-.js.map → StepSocialSecurityNumber-DPstxLu3.js.map} +1 -1
  228. package/chunk/{StepStudentPersonalInfo-Dvtm83FY.js → StepStudentPersonalInfo-BIewd34q.js} +17 -17
  229. package/chunk/{StepStudentPersonalInfo-Dvtm83FY.js.map → StepStudentPersonalInfo-BIewd34q.js.map} +1 -1
  230. package/chunk/{StepStudentPersonalInfo-ChDYBAZG.js → StepStudentPersonalInfo-DRvZ3Vtb.js} +17 -17
  231. package/chunk/{StepStudentPersonalInfo-ChDYBAZG.js.map → StepStudentPersonalInfo-DRvZ3Vtb.js.map} +1 -1
  232. package/chunk/{StepSuccess-D7nS4d-g.js → StepSuccess-Dh1ycMJX.js} +5 -5
  233. package/chunk/{StepSuccess-D7nS4d-g.js.map → StepSuccess-Dh1ycMJX.js.map} +1 -1
  234. package/chunk/{StepSuccess-BixNUZ52.js → StepSuccess-XOl1mdFQ.js} +5 -5
  235. package/chunk/{StepSuccess-BixNUZ52.js.map → StepSuccess-XOl1mdFQ.js.map} +1 -1
  236. package/chunk/{StepTeacherPersonalInfo-BuoLWqai.js → StepTeacherPersonalInfo-B8foLmZZ.js} +15 -15
  237. package/chunk/{StepTeacherPersonalInfo-BuoLWqai.js.map → StepTeacherPersonalInfo-B8foLmZZ.js.map} +1 -1
  238. package/chunk/{StepTeacherPersonalInfo-DF0rT1j8.js → StepTeacherPersonalInfo-ip_pVe12.js} +15 -15
  239. package/chunk/{StepTeacherPersonalInfo-DF0rT1j8.js.map → StepTeacherPersonalInfo-ip_pVe12.js.map} +1 -1
  240. package/chunk/StepThirdPartyLoop-BFizJiyZ.js +3 -3
  241. package/chunk/StepThirdPartyLoop-C9d7QWS3.js +3 -3
  242. package/chunk/{TeacherSchoolComponent-C1Wugzcm.js → TeacherSchoolComponent-kPobTv7N.js} +7 -7
  243. package/chunk/{TeacherSchoolComponent-C1Wugzcm.js.map → TeacherSchoolComponent-kPobTv7N.js.map} +1 -1
  244. package/chunk/{TeacherSchoolComponent-C6Rn4C5t.js → TeacherSchoolComponent-nB-dP00I.js} +7 -7
  245. package/chunk/{TeacherSchoolComponent-C6Rn4C5t.js.map → TeacherSchoolComponent-nB-dP00I.js.map} +1 -1
  246. package/chunk/TestingRouteOverrides-DXjtFZZd.js +3 -3
  247. package/chunk/TestingRouteOverrides-fnlJLg1Z.js +3 -3
  248. package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
  249. package/chunk/ar-D5CO913q.js +3 -3
  250. package/chunk/bg-1mhA5kYF.js +3 -3
  251. package/chunk/bn-IN-CpDqyRb_.js +3 -3
  252. package/chunk/clsx-DC8twM4t.js +3 -3
  253. package/chunk/{countryUtils-CsytXtrZ.js → countryUtils-DqbdyVbZ.js} +4 -4
  254. package/chunk/{countryUtils-BsXU1kSm.js.map → countryUtils-DqbdyVbZ.js.map} +1 -1
  255. package/chunk/{countryUtils-BsXU1kSm.js → countryUtils-R4Q_aquD.js} +4 -4
  256. package/chunk/{countryUtils-CsytXtrZ.js.map → countryUtils-R4Q_aquD.js.map} +1 -1
  257. package/chunk/cs-Chh7FAGt.js +3 -3
  258. package/chunk/da-DwrVoxto.js +3 -3
  259. package/chunk/de-IWGZLhgY.js +3 -3
  260. package/chunk/{downshift.esm-CrOf4z_h.js → downshift.esm-D2aHUCbq.js} +4 -4
  261. package/chunk/{downshift.esm-CrOf4z_h.js.map → downshift.esm-D2aHUCbq.js.map} +1 -1
  262. package/chunk/{downshift.esm-pUcOp4cT.js → downshift.esm-DQMomT6K.js} +4 -4
  263. package/chunk/{downshift.esm-pUcOp4cT.js.map → downshift.esm-DQMomT6K.js.map} +1 -1
  264. package/chunk/el-DbDcvSPJ.js +3 -3
  265. package/chunk/empties-BBKd53_B.js +3 -3
  266. package/chunk/empties-DcQjcgEV.js +3 -3
  267. package/chunk/en-GB-CNQ8Ww2j.js +3 -3
  268. package/chunk/es-ES-DWimqEZ_.js +3 -3
  269. package/chunk/es-qhC-seq5.js +3 -3
  270. package/chunk/et-yF9G-Mym.js +3 -3
  271. package/chunk/eventEmitter-CSG6jR7V.js +3 -3
  272. package/chunk/fa-BcdSf7og.js +3 -3
  273. package/chunk/fi-D-IP_KHm.js +3 -3
  274. package/chunk/fr-BmUuYxk0.js +3 -3
  275. package/chunk/fr-CA-DVQ4xmzZ.js +3 -3
  276. package/chunk/ga-DuZycND3.js +3 -3
  277. package/chunk/getInstallType-BRxisNNY.js +3 -3
  278. package/chunk/getInstallType-DlS_DNKt.js +3 -3
  279. package/chunk/hi-IN-l6Rn5Ewm.js +3 -3
  280. package/chunk/hooks-B7aeAwHn.js +3 -3
  281. package/chunk/hooks-D0X_qdc-.js +3 -3
  282. package/chunk/hr-BtqyDzDB.js +3 -3
  283. package/chunk/hu-C6syKJfb.js +3 -3
  284. package/chunk/i18next-iyVj5hRL.js +3 -3
  285. package/chunk/id-GgI-Z2a5.js +3 -3
  286. package/chunk/intl-BK4prEGw.js +3 -3
  287. package/chunk/is-CvmKEON9.js +3 -3
  288. package/chunk/it-CnmveGgC.js +3 -3
  289. package/chunk/iw-DFUYHkxF.js +3 -3
  290. package/chunk/ja-CjVb2tWW.js +3 -3
  291. package/chunk/jsx-runtime-BUMIo32n.js +3 -3
  292. package/chunk/jsx-runtime-DwmrsRqi.js +3 -3
  293. package/chunk/kk-Dvz4nK6K.js +3 -3
  294. package/chunk/ko-DzOqBMGC.js +3 -3
  295. package/chunk/lo-C2WPq55d.js +3 -3
  296. package/chunk/lt-BSDYvjTF.js +3 -3
  297. package/chunk/lv-CefDPT-M.js +3 -3
  298. package/chunk/mockProgramBranding-C9Ysu3Mp.js +3 -3
  299. package/chunk/mockProgramConfiguration-BNqSCrMG.js +3 -3
  300. package/chunk/mockProgramI18n-CgYx_1_a.js +3 -3
  301. package/chunk/mockProgramTheme-Cfk2dzF3.js +3 -3
  302. package/chunk/mocks-DV23paUj.js +3 -3
  303. package/chunk/mocks-R-p7VtJz.js +3 -3
  304. package/chunk/ms-BjestZxy.js +3 -3
  305. package/chunk/nl-B1FyUfCT.js +3 -3
  306. package/chunk/nl-BE-CbeAd3nq.js +3 -3
  307. package/chunk/no-Dr633Ddi.js +3 -3
  308. package/chunk/pl-UYTjMIq_.js +3 -3
  309. package/chunk/{programThemeGetters-DxY7DDdO.js → programThemeGetters-0iwXNOx6.js} +4 -4
  310. package/chunk/{programThemeGetters-DxY7DDdO.js.map → programThemeGetters-0iwXNOx6.js.map} +1 -1
  311. package/chunk/{programThemeGetters-DlZHVdvX.js → programThemeGetters-BEzpDnQy.js} +4 -4
  312. package/chunk/{programThemeGetters-DlZHVdvX.js.map → programThemeGetters-BEzpDnQy.js.map} +1 -1
  313. package/chunk/pt-BR-C8SYMT-J.js +3 -3
  314. package/chunk/pt-uH-M3GdN.js +3 -3
  315. package/chunk/refs-Mq0rtW9K.js +3 -3
  316. package/chunk/ro-CAOSXZ7h.js +3 -3
  317. package/chunk/ru-iwYoEydL.js +3 -3
  318. package/chunk/runtimeTypes-B2AGNJMT.js +3 -3
  319. package/chunk/sk-DYYNV3zw.js +3 -3
  320. package/chunk/sl-D_-eeM5N.js +3 -3
  321. package/chunk/sr-BTi9_anL.js +3 -3
  322. package/chunk/stepComponentHelpers-CyqXTDdj.js +3 -3
  323. package/chunk/stepComponentHelpers-Dztw-HNP.js +3 -3
  324. package/chunk/strings-DWLVdUcm.js +3 -3
  325. package/chunk/sv-DRwY4shG.js +3 -3
  326. package/chunk/sw-Bvj2mYmM.js +3 -3
  327. package/chunk/ta-CmtaYoNe.js +3 -3
  328. package/chunk/th-12r2yKkJ.js +3 -3
  329. package/chunk/tl-BGNfO7md.js +3 -3
  330. package/chunk/tr-DH2ZSJhs.js +3 -3
  331. package/chunk/uk-CELBZlTd.js +3 -3
  332. package/chunk/ur-MR8DTbmd.js +3 -3
  333. package/chunk/{useCollectFieldsEndpoint-Drk4Ums0.js → useCollectFieldsEndpoint-BbzTOhC3.js} +5 -5
  334. package/chunk/{useCollectFieldsEndpoint-Drk4Ums0.js.map → useCollectFieldsEndpoint-BbzTOhC3.js.map} +1 -1
  335. package/chunk/{useCollectFieldsEndpoint-Cu69CIHE.js → useCollectFieldsEndpoint-CKn8va6d.js} +5 -5
  336. package/chunk/{useCollectFieldsEndpoint-Cu69CIHE.js.map → useCollectFieldsEndpoint-CKn8va6d.js.map} +1 -1
  337. package/chunk/useMetrics-C13Ap129.js +3 -3
  338. package/chunk/useMetrics-O66_lNx5.js +3 -3
  339. package/chunk/vi-DtZ-SqD5.js +3 -3
  340. package/chunk/zh-DjyVyYac.js +3 -3
  341. package/chunk/zh-HK-CN1HarHq.js +3 -3
  342. package/chunk/zu-DPhgIh1z.js +3 -3
  343. package/package.json +1 -1
  344. package/sheerid-install.css +3 -3
  345. package/sheerid-install.js +3 -3
  346. package/sheerid.css +3 -3
  347. package/sheerid.js +36 -36
@@ -4,31 +4,31 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.314.0
8
- * BUILD_TIMESTAMP: 1793754658252
9
- * BUILD_DATE: Wed Nov 04 2026 01:10:58 GMT+0000 (Coordinated Universal Time)
7
+ * VERSION: 2.315.0
8
+ * BUILD_TIMESTAMP: 1793755578665
9
+ * BUILD_DATE: Wed Nov 04 2026 01:26:18 GMT+0000 (Coordinated Universal Time)
10
10
  * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
11
11
  */
12
12
  import { p as e, s as t } from "./intl-BK4prEGw.js";
13
13
  import { b as n } from "./runtimeTypes-B2AGNJMT.js";
14
14
  import { n as r, t as i } from "./jsx-runtime-BUMIo32n.js";
15
- import { o as a } from "./programThemeGetters-DlZHVdvX.js";
16
- import { m as o } from "./FormFooterComponent-CVXgmWQR.js";
15
+ import { o as a } from "./programThemeGetters-BEzpDnQy.js";
16
+ import { m as o } from "./FormFooterComponent-B7fUP0wx.js";
17
17
  import { t as s } from "../_mysheerid-preview.js";
18
- import { t as c } from "./useCollectFieldsEndpoint-Drk4Ums0.js";
18
+ import { t as c } from "./useCollectFieldsEndpoint-BbzTOhC3.js";
19
19
  import { d as l, f as u, r as d, t as f } from "./stepComponentHelpers-Dztw-HNP.js";
20
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-Nm59DuJO.js";
21
- import { n as y, t as b } from "./PersonalInfoStepSubmitButton-9dP-dawT.js";
22
- import { i as x } from "./FormSelectChoice-CbcfEHuQ.js";
23
- import { t as S } from "./BirthDateComponent-BPaAXZlv.js";
24
- import { t as C } from "./PostalCodeComponent-Mn1fl8iu.js";
25
- import { t as w } from "./CountryComponentWrapper-CDJl-HHu.js";
26
- import { t as T } from "./ExtraMessage-DpGDn2nE.js";
27
- import { t as E } from "./ChangeLocaleComponent-B47RYyd8.js";
28
- import { t as D } from "./PersonalInfoStepWrapper-Xz-23FXk.js";
29
- import { t as O } from "./countryUtils-BsXU1kSm.js";
30
- import { t as k } from "./StatusComponent-DJMknEBZ.js";
31
- import { t as A } from "./LicensedProfessionalOrganizationComponent-Dmo9gg0v.js";
20
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-BD4yKfJR.js";
21
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-Ds_-FUfA.js";
22
+ import { i as x } from "./FormSelectChoice-DN3XV8go.js";
23
+ import { t as S } from "./BirthDateComponent-DEm62ubJ.js";
24
+ import { t as C } from "./PostalCodeComponent-IMgjUHRf.js";
25
+ import { t as w } from "./CountryComponentWrapper-A-NCx760.js";
26
+ import { t as T } from "./ExtraMessage-CzchllLx.js";
27
+ import { t as E } from "./ChangeLocaleComponent-Drpt_vzW.js";
28
+ import { t as D } from "./PersonalInfoStepWrapper-CJzVOQ_x.js";
29
+ import { t as O } from "./countryUtils-R4Q_aquD.js";
30
+ import { t as k } from "./StatusComponent-CmqMjhRY.js";
31
+ import { t as A } from "./LicensedProfessionalOrganizationComponent-C43VAUdy.js";
32
32
  //#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
33
33
  var j = i(), M = ({ verificationService: i }) => {
34
34
  let M = a(), N = i.viewModel, { fieldValidationErrors: P } = i, F = i.verificationResponse, I = o(F), L = N.localeChoice.value, R = t(), { availableStatuses: z } = c({
@@ -1 +1 @@
1
- {"version":3,"file":"StepLicensedProfessionalPersonalInfo-CZKyEpkF.js","names":["produce","LicensedProfessionalStatusComponent","LicensedProfessionalOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","getOptions","VerificationStepsEnum","FormattedHTMLMessage","require_jsx_runtime","useProgramConfiguration","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StatusComponent","LicensedProfessionalOrganizationComponent","import_jsx_runtime","StepLicensedProfessionalPersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","locale","options","dynamicStatuses","statusOptions","countryChoiceValue","needToPickCountry","updateLicensedProfessionalViewModel","nextState","key","value","option","fieldValidationErrors","updatedStatuses","status","choice","newValue","event"],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type LicensedProfessionalStatus,\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepLicensedProfessionalPersonalInfoComponent = ({\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LicensedProfessionalStatus[],\n );\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).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 updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;A,aAgDayC,KAAiD,EAC5D,6BACwD;CACxD,IAAMC,IAAuB5B,EAAwB,GAC/C6B,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IACJD,EAAo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C,oBAAoBkB;KACtB,CAAC,GACD5C,EAAqC,sBAAsB4C,GAAUlB,CAAmB;IAC1F;IACW;IACX,UAAUvB,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GAED,iBAAA,GAAAmB,EAAA,IAAA,CAACN,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAM,EAAA,IAAA,CAACb,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC+B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAlB,EAAA,IAAA,CAACX,GAAD;IACE,MAAMlB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA6B,EAAA,IAAA,CAAC5B,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepLicensedProfessionalPersonalInfo-D6e0aKcx.js","names":["produce","LicensedProfessionalStatusComponent","LicensedProfessionalOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","getOptions","VerificationStepsEnum","FormattedHTMLMessage","require_jsx_runtime","useProgramConfiguration","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StatusComponent","LicensedProfessionalOrganizationComponent","import_jsx_runtime","StepLicensedProfessionalPersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","locale","options","dynamicStatuses","statusOptions","countryChoiceValue","needToPickCountry","updateLicensedProfessionalViewModel","nextState","key","value","option","fieldValidationErrors","updatedStatuses","status","choice","newValue","event"],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type LicensedProfessionalStatus,\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepLicensedProfessionalPersonalInfoComponent = ({\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LicensedProfessionalStatus[],\n );\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).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 updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;A,aAgDayC,KAAiD,EAC5D,6BACwD;CACxD,IAAMC,IAAuB5B,EAAwB,GAC/C6B,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IACJD,EAAoB,sBAChBE,IAAqB/B,EAAsB8B,CAAoB,GAE/DE,IAASJ,EAAU,aAAa,OAChCK,IAAUtC,EAAW,GAErB,EAAE,mBAAmBuC,MAAoBhC,EAAyB;EACtE,gBAAgB4B,EAAqB;EACrC,aAAaA,EAAqB;EAClC;CACF,CAAC,GAEKK,IAAgBpB,EACnBmB,KAAmBJ,EAAqB,iBAC3C,GAEMM,IAAqBR,EAAU,eAAe,OAC9CS,IAAoBf,EAAyBK,GAAsBS,CAAkB,GAErFE,KACJ,GACA,MACG;EACH,IAAMC,IAAuDtD,EAC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,MAAMlB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA6B,EAAA,IAAA,CAAC5B,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -1,30 +1,30 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.314.0
4
- * BUILD_TIMESTAMP: 1793754654073
5
- * BUILD_DATE: Wed Nov 04 2026 01:10:54 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.315.0
4
+ * BUILD_TIMESTAMP: 1793755574220
5
+ * BUILD_DATE: Wed Nov 04 2026 01:26:14 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
7
7
  */
8
8
  import { dt as e, u as t } from "./i18next-iyVj5hRL.js";
9
9
  import { n, t as r } from "./jsx-runtime-DwmrsRqi.js";
10
- import { o as i } from "./programThemeGetters-DxY7DDdO.js";
10
+ import { o as i } from "./programThemeGetters-0iwXNOx6.js";
11
11
  import { b as a } from "./runtimeTypes-B2AGNJMT.js";
12
- import { h as o } from "./FormFooterComponent-B4IrNZhK.js";
12
+ import { h as o } from "./FormFooterComponent-BTfz7YAX.js";
13
13
  import { n as s } from "../sheerid.js";
14
- import { t as c } from "./useCollectFieldsEndpoint-Cu69CIHE.js";
14
+ import { t as c } from "./useCollectFieldsEndpoint-CKn8va6d.js";
15
15
  import { d as l, f as u, r as d, t as f } from "./stepComponentHelpers-CyqXTDdj.js";
16
- import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-B-0n8Sgc.js";
17
- import { n as y, t as b } from "./PersonalInfoStepSubmitButton-57KCa-Wu.js";
18
- import { i as x } from "./FormSelectChoice-CIB7HacQ.js";
19
- import { t as S } from "./BirthDateComponent-B3mQalKa.js";
20
- import { t as C } from "./PostalCodeComponent-B1YC9e96.js";
21
- import { t as w } from "./CountryComponentWrapper-CPH7Q2C9.js";
22
- import { t as T } from "./ExtraMessage-G5N0ZMea.js";
23
- import { t as E } from "./ChangeLocaleComponent-2ItMdEpd.js";
24
- import { t as D } from "./PersonalInfoStepWrapper-DM-VDAwi.js";
25
- import { t as O } from "./countryUtils-CsytXtrZ.js";
26
- import { t as k } from "./StatusComponent-DHvMI6LS.js";
27
- import { t as A } from "./LicensedProfessionalOrganizationComponent-3wnxm1gl.js";
16
+ import { a as p, i as m, n as h, o as g, s as _, t as v } from "./CaptchaComponent-g9Ye-t7Z.js";
17
+ import { n as y, t as b } from "./PersonalInfoStepSubmitButton-vpNt-1XI.js";
18
+ import { i as x } from "./FormSelectChoice-DGDSioEg.js";
19
+ import { t as S } from "./BirthDateComponent-i59ScGu6.js";
20
+ import { t as C } from "./PostalCodeComponent-B25YSrIO.js";
21
+ import { t as w } from "./CountryComponentWrapper-DHUcGCUF.js";
22
+ import { t as T } from "./ExtraMessage-v4rZ0l8r.js";
23
+ import { t as E } from "./ChangeLocaleComponent-DBoMb2NA.js";
24
+ import { t as D } from "./PersonalInfoStepWrapper-CyCuyImb.js";
25
+ import { t as O } from "./countryUtils-DqbdyVbZ.js";
26
+ import { t as k } from "./StatusComponent-DqlhdO7Q.js";
27
+ import { t as A } from "./LicensedProfessionalOrganizationComponent-DEwASktt.js";
28
28
  //#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
29
29
  var j = r(), M = ({ verificationService: r }) => {
30
30
  let M = i(), N = r.viewModel, { fieldValidationErrors: P } = r, F = r.verificationResponse, I = o(F), L = N.localeChoice.value, R = t(), { availableStatuses: z } = c({
@@ -1 +1 @@
1
- {"version":3,"file":"StepLicensedProfessionalPersonalInfo-DwNkTHc0.js","names":["produce","LicensedProfessionalStatusComponent","LicensedProfessionalOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","getOptions","require_jsx_runtime","useProgramConfiguration","VerificationStepsEnum","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StatusComponent","LicensedProfessionalOrganizationComponent","import_jsx_runtime","StepLicensedProfessionalPersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","locale","options","dynamicStatuses","statusOptions","countryChoiceValue","needToPickCountry","updateLicensedProfessionalViewModel","nextState","key","value","option","fieldValidationErrors","FormattedHTMLMessage","updatedStatuses","status","choice","newValue","event"],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type LicensedProfessionalStatus,\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepLicensedProfessionalPersonalInfoComponent = ({\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LicensedProfessionalStatus[],\n );\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).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 updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;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/B,GAAD;IACuB;IACrB,WAAW,CAAC,CAACiD,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJAL,EAAoC,YAAY;MAC9C,GAAGT,EAAoB,UAAU;MACjC,oBAAoBmB;KACtB,CAAC,GACD7C,EAAqC,sBAAsB6C,GAAUnB,CAAmB;IAC1F;IACW;IACX,UAAUvB,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GAED,iBAAA,GAAAmB,EAAA,IAAA,CAACN,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAAM,EAAA,IAAA,CAACb,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC+B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAlB,EAAA,IAAA,CAACX,GAAD;IACE,MAAMf,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA0B,EAAA,IAAA,CAACmB,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepLicensedProfessionalPersonalInfo-PDja7OV9.js","names":["produce","LicensedProfessionalStatusComponent","LicensedProfessionalOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","fn","getOptions","require_jsx_runtime","useProgramConfiguration","VerificationStepsEnum","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","ExtraMessage","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StatusComponent","LicensedProfessionalOrganizationComponent","import_jsx_runtime","StepLicensedProfessionalPersonalInfoComponent","programConfiguration","viewModel","verificationService","verificationResponse","failedInstantMatch","locale","options","dynamicStatuses","statusOptions","countryChoiceValue","needToPickCountry","updateLicensedProfessionalViewModel","nextState","key","value","option","fieldValidationErrors","FormattedHTMLMessage","updatedStatuses","status","choice","newValue","event"],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type LicensedProfessionalStatus,\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepLicensedProfessionalPersonalInfoComponent = ({\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LicensedProfessionalStatus[],\n );\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n options={statusOptions}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).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 updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;A,aAgDawC,KAAiD,EAC5D,6BACwD;CACxD,IAAMC,IAAuB7B,EAAwB,GAC/C8B,IAAYC,EAAoB,WAChC,EAAE,6BAA0BA,GAC5BC,IACJD,EAAoB,sBAChBE,IAAqB/B,EAAsB8B,CAAoB,GAE/DE,IAASJ,EAAU,aAAa,OAChCK,IAAUrC,EAAW,GAErB,EAAE,mBAAmBsC,MAAoBhC,EAAyB;EACtE,gBAAgB4B,EAAqB;EACrC,aAAaA,EAAqB;EAClC;CACF,CAAC,GAEKK,IAAgBpB,EACnBmB,KAAmBJ,EAAqB,iBA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IAAA,CAACb,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC+B,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAAlB,EAAA,IAAA,CAACX,GAAD;IACE,MAAMf,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA0B,EAAA,IAAA,CAACmB,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -1,33 +1,33 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.314.0
4
- * BUILD_TIMESTAMP: 1793754654073
5
- * BUILD_DATE: Wed Nov 04 2026 01:10:54 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.315.0
4
+ * BUILD_TIMESTAMP: 1793755574220
5
+ * BUILD_DATE: Wed Nov 04 2026 01:26:14 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
7
7
  */
8
8
  import { At as e, dt as t, u as n } from "./i18next-iyVj5hRL.js";
9
9
  import { n as r, s as i, t as a } from "./jsx-runtime-DwmrsRqi.js";
10
- import { o } from "./programThemeGetters-DxY7DDdO.js";
10
+ import { o } from "./programThemeGetters-0iwXNOx6.js";
11
11
  import { S as s, b as c } from "./runtimeTypes-B2AGNJMT.js";
12
12
  import { a as l } from "./empties-BBKd53_B.js";
13
- import { E as u, h as d } from "./FormFooterComponent-B4IrNZhK.js";
13
+ import { E as u, h as d } from "./FormFooterComponent-BTfz7YAX.js";
14
14
  import { n as f } from "../sheerid.js";
15
- import { t as p } from "./useCollectFieldsEndpoint-Cu69CIHE.js";
15
+ import { t as p } from "./useCollectFieldsEndpoint-CKn8va6d.js";
16
16
  import { d as m, f as h, i as g, r as _, t as v } from "./stepComponentHelpers-CyqXTDdj.js";
17
- import { a as y, i as b, n as x, o as S, s as C, t as w } from "./CaptchaComponent-B-0n8Sgc.js";
18
- import { n as T, t as E } from "./PersonalInfoStepSubmitButton-57KCa-Wu.js";
19
- import { i as D } from "./FormSelectChoice-CIB7HacQ.js";
20
- import { t as O } from "./BirthDateComponent-B3mQalKa.js";
21
- import { t as k } from "./PostalCodeComponent-B1YC9e96.js";
22
- import { t as A } from "./CountryComponentWrapper-CPH7Q2C9.js";
23
- import { t as j } from "./City-BZP2jWJC.js";
24
- import { t as M } from "./AddressComponent-DT1QSw8o.js";
25
- import { t as N } from "./ChangeLocaleComponent-2ItMdEpd.js";
26
- import { t as P } from "./PersonalInfoStepWrapper-DM-VDAwi.js";
27
- import { t as F } from "./countryUtils-CsytXtrZ.js";
28
- import { t as I } from "./StateSelectComponent-DhkRqivG.js";
29
- import { n as L, t as R } from "./LowIncomeOrganizationComponent-Boc4boNa.js";
30
- import { t as z } from "./StatusComponent-DHvMI6LS.js";
17
+ import { a as y, i as b, n as x, o as S, s as C, t as w } from "./CaptchaComponent-g9Ye-t7Z.js";
18
+ import { n as T, t as E } from "./PersonalInfoStepSubmitButton-vpNt-1XI.js";
19
+ import { i as D } from "./FormSelectChoice-DGDSioEg.js";
20
+ import { t as O } from "./BirthDateComponent-i59ScGu6.js";
21
+ import { t as k } from "./PostalCodeComponent-B25YSrIO.js";
22
+ import { t as A } from "./CountryComponentWrapper-DHUcGCUF.js";
23
+ import { t as j } from "./City-gBRdOIsP.js";
24
+ import { t as M } from "./AddressComponent-uhBMgV3q.js";
25
+ import { t as N } from "./ChangeLocaleComponent-DBoMb2NA.js";
26
+ import { t as P } from "./PersonalInfoStepWrapper-CyCuyImb.js";
27
+ import { t as F } from "./countryUtils-DqbdyVbZ.js";
28
+ import { t as I } from "./StateSelectComponent-uKT0CUkG.js";
29
+ import { n as L, t as R } from "./LowIncomeOrganizationComponent-D9qAHj0m.js";
30
+ import { t as z } from "./StatusComponent-DqlhdO7Q.js";
31
31
  //#region src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx
32
32
  var B = /* @__PURE__ */ e(i(), 1), V = a(), H = ({ verificationService: e }) => {
33
33
  let i = o(), { viewModel: a } = e, H = n();
@@ -1 +1 @@
1
- {"version":3,"file":"StepLowIncomePersonalInfo-Bm4zhlQi.js","names":["produce","LowIncomeOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","__toESM","fn","getOptions","FormattedHTMLMessage","require_react","require_jsx_runtime","logger","VerificationStepsEnum","blankOrganization","isLowIncomeVM","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","orgToOption","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","CityComponent","AddressComponent","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StateSelectComponent","EBTCardNumberComponent","LowIncomeOrganizationComponent","StatusComponent","import_react","import_jsx_runtime","StepLowIncomePersonalInfoComponent","programConfiguration","useProgramConfiguration","verificationService","options","viewModel","verificationResponse","failedInstantMatch","dynamicStatuses","countryChoiceValue","needToPickCountry","statusOptions","locale","selectedStatus","isSelectedStatusSnapBenefits","updateLowIncomeViewModel","nextState","key","value","remaining","id","option","fieldValidationErrors","updatedStatuses","status","newValue","choice","stateValue","stateChoice","event"],"sources":["../../src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type FormSelectChoice,\n type LowIncomePersonalInfoResponse,\n type LowIncomePersonalInfoViewModel,\n type LowIncomeStatus,\n type Organization,\n type State,\n type VerificationService,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n orgToOption,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { blankOrganization } from \"../../lib/types/empties\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { isLowIncomeVM } from \"./lowIncomeTypes\";\n\ninterface StepLowIncomePersonalInfoComponentProps {\n verificationService: VerificationService<LowIncomePersonalInfoViewModel>;\n}\nexport const StepLowIncomePersonalInfoComponent = ({\n verificationService,\n}: StepLowIncomePersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const { viewModel } = verificationService;\n const options = getOptions();\n\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected LowIncomePersonalInfoViewModel\");\n return null;\n }\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LowIncomePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LowIncomeStatus[],\n );\n\n const locale = viewModel.localeChoice.value;\n\n const selectedStatus = viewModel.statuses[0] ? viewModel.statuses[0] : undefined;\n const isSelectedStatusSnapBenefits = selectedStatus === \"SNAP_BENEFITS\";\n const updateLowIncomeViewModel = (key: keyof LowIncomePersonalInfoViewModel, value: any) => {\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected LowIncomePersonalInfoViewModel\");\n return;\n }\n const nextState: LowIncomePersonalInfoViewModel = produce(\n viewModel,\n (draft: LowIncomePersonalInfoViewModel) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n // SNAP recipients get the EBT card number field instead of an organization\n // picker, so organization cannot be validated for them. Preserve entries\n // other fields own, and drop ours again once the picker comes back.\n // A partial update cannot do this: it deep merges, which concatenates\n // arrays rather than replacing them, so entries could never be removed.\n const remaining = (viewModel.fieldsToSkipValidation || []).filter(\n (id) => id !== \"organization\",\n );\n updateLowIncomeViewModel(\n \"fieldsToSkipValidation\",\n isSelectedStatusSnapBenefits ? [...remaining, \"organization\"] : remaining,\n );\n }, [isSelectedStatusSnapBenefits]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"low-income\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <StatusComponent\n segmentId=\"low-income\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n options={statusOptions}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice<LowIncomeStatus>) => {\n const updatedStatuses = status ? [status.value as LowIncomeStatus] : [];\n const nextState: LowIncomePersonalInfoViewModel = produce(\n viewModel,\n (draft: LowIncomePersonalInfoViewModel) => {\n if (viewModel.statuses[0] !== updatedStatuses[0]) {\n draft.organization = blankOrganization.organization; // Clear out the org b/c they're of different kind\n }\n draft.statuses = updatedStatuses;\n },\n );\n verificationService.updateViewModel(nextState);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? status.value : \"\",\n verificationService,\n );\n }}\n />\n {selectedStatus === \"SNAP_BENEFITS\" && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n {(selectedStatus === \"OTHER_GOVERNMENT_ASSISTANCE\" ||\n selectedStatus === \"COMMUNITY_ELIGIBILITY_PROVISION\") && (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(verificationService.viewModel.organization)}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateLowIncomeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"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 updateLowIncomeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <AddressComponent\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n value={viewModel.address1}\n isRequired\n explanation={\n <FormattedHTMLMessage id=\"addressExplanation\" defaultMessage=\"Use your home address\" />\n }\n />\n <div className=\"sid-address-extra-fields sid-thirds\">\n <CityComponent\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n value={viewModel.city}\n isRequired\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n />\n <StateSelectComponent\n isRequired\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateLowIncomeViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n </div>\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\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 updateLowIncomeViewModel(\"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 <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLowIncomePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;A,4CA2DaiD,KAAsC,EACjD,6BAC6C;CAC7C,IAAMC,IAAuBC,EAAwB,GAC/C,EAAE,iBAAcC,GAChBC,IAAU3C,EAAW;CAE3B,IAAI,CAACO,EAAcqC,CAAS,GAE1B,OADAxC,EAAO,MAAM,yCAAyC,GAC/C;CAGT,IAAM,EAAE,6BAA0BsC,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBtC,EAAsBqC,CA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nC,OAAOI,EAAU;IACjB,WAAW,CAAC,CAACiB,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADAP,EAAyB,eAAeU,CAAQ,GAChDrD,EAAqC,eAAeqD,GAAUtB,CAAmB;IACnF;IACA,qBAAqBE,EAAU,iBAAiBA,EAAU,cAAc;IACxE,UAAU7B,EAAwB,aAAa,CAAC,EAAE;GACnD,CAAA,IACC;IACF4B,EAAQ,oBAAoB,CAAC,EAAA,CAAG,KAAK,MACrC,iBAAA,GAAAL,EAAA,IAAA,CAACpB,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAAG;GACJ,iBAAA,GAAAoB,EAAA,IAAA,CAACzC,GAAD;IACuB;IACrB,WAAW,CAAC,CAACgE,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJAP,EAAyB,YAAY;MACnC,GAAGZ,EAAoB,UAAU;MACjC,oBAAoBsB;KACtB,CAAC,GACDrD,EAAqC,sBAAsBqD,GAAUtB,CAAmB;IAC1F;IACW;IACX,UAAU3B,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GACD,iBAAA,GAAAuB,EAAA,IAAA,CAACjB,GAAD;IACuB;IACrB,WAAW,CAAC,CAACwC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAAvB,EAAA,IAAA,CAACf,GAAD;IACE,MAAMlB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAAiC,EAAA,IAAA,CAACrC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepLowIncomePersonalInfo-BDgG3QSv.js","names":["produce","LowIncomeOrganization","FirstName","LastName","BirthDate","Email","PhoneNumber","MarketConsentWrapper","__toESM","fn","getOptions","FormattedHTMLMessage","require_react","require_jsx_runtime","logger","VerificationStepsEnum","blankOrganization","isLowIncomeVM","hasFailedInstantMatch","PersonalInfoHeader","useCollectFieldsEndpoint","updateFieldValidationErrorsByFieldId","updateViewModelOrganization","orgToOption","handleEmailOnKeyDown","getFieldConfigByFieldId","FirstNameComponent","LastNameComponent","FormFieldCustom","PhoneNumberComponent","MarketConsentWrapperComponent","CaptchaComponent","EmailComponent","PersonalInfoStepSubmitButton","useFormSelectChoice","BirthDateComponent","PostalCodeComponent","CountryComponentWrapper","CityComponent","AddressComponent","ChangeLocaleV2Component","PersonalInfoWrapper","isCountrySelectionNeeded","StateSelectComponent","EBTCardNumberComponent","LowIncomeOrganizationComponent","StatusComponent","import_react","import_jsx_runtime","StepLowIncomePersonalInfoComponent","programConfiguration","useProgramConfiguration","verificationService","options","viewModel","verificationResponse","failedInstantMatch","dynamicStatuses","countryChoiceValue","needToPickCountry","statusOptions","locale","selectedStatus","isSelectedStatusSnapBenefits","updateLowIncomeViewModel","nextState","key","value","remaining","id","option","fieldValidationErrors","updatedStatuses","status","newValue","choice","stateValue","stateChoice","event"],"sources":["../../src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type FormSelectChoice,\n type LowIncomePersonalInfoResponse,\n type LowIncomePersonalInfoViewModel,\n type LowIncomeStatus,\n type Organization,\n type State,\n type VerificationService,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n orgToOption,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { blankOrganization } from \"../../lib/types/empties\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\nimport { useCollectFieldsEndpoint } from \"../../lib/ServerApi/useCollectFieldsEndpoint\";\nimport { isCountrySelectionNeeded } from \"../FormFields/Country/countryUtils\";\n\nimport { isLowIncomeVM } from \"./lowIncomeTypes\";\n\ninterface StepLowIncomePersonalInfoComponentProps {\n verificationService: VerificationService<LowIncomePersonalInfoViewModel>;\n}\nexport const StepLowIncomePersonalInfoComponent = ({\n verificationService,\n}: StepLowIncomePersonalInfoComponentProps) => {\n const programConfiguration = useProgramConfiguration();\n const { viewModel } = verificationService;\n const options = getOptions();\n\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected LowIncomePersonalInfoViewModel\");\n return null;\n }\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LowIncomePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n\n const countryChoiceValue = viewModel.countryChoice?.value;\n const needToPickCountry = isCountrySelectionNeeded(programConfiguration, countryChoiceValue);\n\n const statusOptions = useFormSelectChoice(\n (dynamicStatuses ?? verificationResponse.availableStatuses) as LowIncomeStatus[],\n );\n\n const locale = viewModel.localeChoice.value;\n\n const selectedStatus = viewModel.statuses[0] ? viewModel.statuses[0] : undefined;\n const isSelectedStatusSnapBenefits = selectedStatus === \"SNAP_BENEFITS\";\n const updateLowIncomeViewModel = (key: keyof LowIncomePersonalInfoViewModel, value: any) => {\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected LowIncomePersonalInfoViewModel\");\n return;\n }\n const nextState: LowIncomePersonalInfoViewModel = produce(\n viewModel,\n (draft: LowIncomePersonalInfoViewModel) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n // SNAP recipients get the EBT card number field instead of an organization\n // picker, so organization cannot be validated for them. Preserve entries\n // other fields own, and drop ours again once the picker comes back.\n // A partial update cannot do this: it deep merges, which concatenates\n // arrays rather than replacing them, so entries could never be removed.\n const remaining = (viewModel.fieldsToSkipValidation || []).filter(\n (id) => id !== \"organization\",\n );\n updateLowIncomeViewModel(\n \"fieldsToSkipValidation\",\n isSelectedStatusSnapBenefits ? [...remaining, \"organization\"] : remaining,\n );\n }, [isSelectedStatusSnapBenefits]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"low-income\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <StatusComponent\n segmentId=\"low-income\"\n value={statusOptions.find((option) => option.value === viewModel.statuses[0])}\n isErrored={!!fieldValidationErrors.statuses}\n disabled={needToPickCountry || getFieldConfigByFieldId(\"statuses\")?.disabled}\n options={statusOptions}\n explanation={\n needToPickCountry ? (\n <FormattedHTMLMessage id=\"chooseCountry\" defaultMessage=\"Choose a country first\" />\n ) : undefined\n }\n onChange={(status: FormSelectChoice<LowIncomeStatus>) => {\n const updatedStatuses = status ? [status.value as LowIncomeStatus] : [];\n const nextState: LowIncomePersonalInfoViewModel = produce(\n viewModel,\n (draft: LowIncomePersonalInfoViewModel) => {\n if (viewModel.statuses[0] !== updatedStatuses[0]) {\n draft.organization = blankOrganization.organization; // Clear out the org b/c they're of different kind\n }\n draft.statuses = updatedStatuses;\n },\n );\n verificationService.updateViewModel(nextState);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? status.value : \"\",\n verificationService,\n );\n }}\n />\n {selectedStatus === \"SNAP_BENEFITS\" && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n {(selectedStatus === \"OTHER_GOVERNMENT_ASSISTANCE\" ||\n selectedStatus === \"COMMUNITY_ELIGIBILITY_PROVISION\") && (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(verificationService.viewModel.organization)}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateLowIncomeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"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 updateLowIncomeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <AddressComponent\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"address1\", newValue);\n updateFieldValidationErrorsByFieldId(\"address1\", newValue, verificationService);\n }}\n value={viewModel.address1}\n isRequired\n explanation={\n <FormattedHTMLMessage id=\"addressExplanation\" defaultMessage=\"Use your home address\" />\n }\n />\n <div className=\"sid-address-extra-fields sid-thirds\">\n <CityComponent\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n value={viewModel.city}\n isRequired\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n />\n <StateSelectComponent\n isRequired\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateLowIncomeViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n </div>\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {programConfiguration.isSmsNotifierConfigured || programConfiguration.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!programConfiguration.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLowIncomeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\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 updateLowIncomeViewModel(\"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 <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLowIncomePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;A,4CA2DaiD,KAAsC,EACjD,6BAC6C;CAC7C,IAAMC,IAAuBC,EAAwB,GAC/C,EAAE,iBAAcC,GAChBC,IAAU3C,EAAW;CAE3B,IAAI,CAACO,EAAcqC,CAAS,GAE1B,OADAxC,EAAO,MAAM,yCAAyC,GAC/C;CAGT,IAAM,EAAE,6BAA0BsC,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBtC,EAAsBqC,CAAoB,GAE/D,EAAE,mBAAmBE,MAAoBrC,EAAyB;EACtE,gBAAgBmC,EAAqB;EACrC,aAAaA,EAAqB;EAClC;CACF,CAAC,GAEKG,IAAqBJ,EAAU,eAAe,OAC9CK,IAAoBjB,EAAyBQ,GAAsBQ,CAAkB,GAErFE,IAAgB1B,EACnBuB,KAAmBF,EAAqB,iBAC3C,GAEMM,IAASP,EAAU,aAAa,OAEhCQ,IAAiBR,EAAU,SAAS,KAA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KAAK,MACrC,iBAAA,GAAAL,EAAA,IAAA,CAACpB,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAAG;GACJ,iBAAA,GAAAoB,EAAA,IAAA,CAACzC,GAAD;IACuB;IACrB,WAAW,CAAC,CAACgE,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJAP,EAAyB,YAAY;MACnC,GAAGZ,EAAoB,UAAU;MACjC,oBAAoBsB;KACtB,CAAC,GACDrD,EAAqC,sBAAsBqD,GAAUtB,CAAmB;IAC1F;IACW;IACX,UAAU3B,EAAwB,oBAAoB,CAAC,EAAE;GAC1D,CAAA;GACD,iBAAA,GAAAuB,EAAA,IAAA,CAACjB,GAAD;IACuB;IACrB,WAAW,CAAC,CAACwC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAAvB,EAAA,IAAA,CAACf,GAAD;IACE,MAAMlB,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAAiC,EAAA,IAAA,CAACrC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
@@ -4,34 +4,34 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.314.0
8
- * BUILD_TIMESTAMP: 1793754658252
9
- * BUILD_DATE: Wed Nov 04 2026 01:10:58 GMT+0000 (Coordinated Universal Time)
7
+ * VERSION: 2.315.0
8
+ * BUILD_TIMESTAMP: 1793755578665
9
+ * BUILD_DATE: Wed Nov 04 2026 01:26:18 GMT+0000 (Coordinated Universal Time)
10
10
  * BUILD_COMMIT: 22244e83657b6c12023c5aac9710b7924aab6459
11
11
  */
12
12
  import { At as e, p as t, s as n } from "./intl-BK4prEGw.js";
13
13
  import { S as r, b as i } from "./runtimeTypes-B2AGNJMT.js";
14
14
  import { n as a, s as o, t as s } from "./jsx-runtime-BUMIo32n.js";
15
- import { o as c } from "./programThemeGetters-DlZHVdvX.js";
15
+ import { o as c } from "./programThemeGetters-BEzpDnQy.js";
16
16
  import { a as l } from "./empties-DcQjcgEV.js";
17
- import { C as u, m as d } from "./FormFooterComponent-CVXgmWQR.js";
17
+ import { C as u, m as d } from "./FormFooterComponent-B7fUP0wx.js";
18
18
  import { t as f } from "../_mysheerid-preview.js";
19
- import { t as p } from "./useCollectFieldsEndpoint-Drk4Ums0.js";
19
+ import { t as p } from "./useCollectFieldsEndpoint-BbzTOhC3.js";
20
20
  import { d as m, f as h, i as g, r as _, t as v } from "./stepComponentHelpers-Dztw-HNP.js";
21
- import { a as y, i as b, n as x, o as S, s as C, t as w } from "./CaptchaComponent-Nm59DuJO.js";
22
- import { n as T, t as E } from "./PersonalInfoStepSubmitButton-9dP-dawT.js";
23
- import { i as D } from "./FormSelectChoice-CbcfEHuQ.js";
24
- import { t as O } from "./BirthDateComponent-BPaAXZlv.js";
25
- import { t as k } from "./PostalCodeComponent-Mn1fl8iu.js";
26
- import { t as A } from "./CountryComponentWrapper-CDJl-HHu.js";
27
- import { t as j } from "./City-Dx5l48so.js";
28
- import { t as M } from "./AddressComponent-BhsB0ubP.js";
29
- import { t as N } from "./ChangeLocaleComponent-B47RYyd8.js";
30
- import { t as P } from "./PersonalInfoStepWrapper-Xz-23FXk.js";
31
- import { t as F } from "./countryUtils-BsXU1kSm.js";
32
- import { t as I } from "./StateSelectComponent-B7eQinP3.js";
33
- import { n as L, t as R } from "./LowIncomeOrganizationComponent-BiLH2c8H.js";
34
- import { t as z } from "./StatusComponent-DJMknEBZ.js";
21
+ import { a as y, i as b, n as x, o as S, s as C, t as w } from "./CaptchaComponent-BD4yKfJR.js";
22
+ import { n as T, t as E } from "./PersonalInfoStepSubmitButton-Ds_-FUfA.js";
23
+ import { i as D } from "./FormSelectChoice-DN3XV8go.js";
24
+ import { t as O } from "./BirthDateComponent-DEm62ubJ.js";
25
+ import { t as k } from "./PostalCodeComponent-IMgjUHRf.js";
26
+ import { t as A } from "./CountryComponentWrapper-A-NCx760.js";
27
+ import { t as j } from "./City-IKHXV6fA.js";
28
+ import { t as M } from "./AddressComponent-BUOibRxr.js";
29
+ import { t as N } from "./ChangeLocaleComponent-Drpt_vzW.js";
30
+ import { t as P } from "./PersonalInfoStepWrapper-CJzVOQ_x.js";
31
+ import { t as F } from "./countryUtils-R4Q_aquD.js";
32
+ import { t as I } from "./StateSelectComponent-aAvCOLUg.js";
33
+ import { n as L, t as R } from "./LowIncomeOrganizationComponent-bijYf_Ae.js";
34
+ import { t as z } from "./StatusComponent-CmqMjhRY.js";
35
35
  //#region src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx
36
36
  var B = /* @__PURE__ */ e(o(), 1), V = s(), H = ({ verificationService: e }) => {
37
37
  let o = c(), { viewModel: s } = e, H = n();