@sheerid/jslib 2.305.0 → 2.307.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 (405) hide show
  1. package/_mysheerid-preview.css +4 -4
  2. package/_mysheerid-preview.js +1053 -1069
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/{AddressComponent-Cy1Rhow8.js → AddressComponent-C2lC7O7h.js} +8 -8
  5. package/chunk/{AddressComponent-7Kn9xST8.js.map → AddressComponent-C2lC7O7h.js.map} +1 -1
  6. package/chunk/{AddressComponent-7Kn9xST8.js → AddressComponent-h8JfcOkn.js} +8 -8
  7. package/chunk/{AddressComponent-Cy1Rhow8.js.map → AddressComponent-h8JfcOkn.js.map} +1 -1
  8. package/chunk/{AnnouncingHeader-zH7WLU2-.js → AnnouncingHeader-DKOYC3b9.js} +6 -6
  9. package/chunk/{AnnouncingHeader-CnV2m0Ak.js.map → AnnouncingHeader-DKOYC3b9.js.map} +1 -1
  10. package/chunk/{AnnouncingHeader-CnV2m0Ak.js → AnnouncingHeader-gJrk6VDV.js} +6 -6
  11. package/chunk/{AnnouncingHeader-zH7WLU2-.js.map → AnnouncingHeader-gJrk6VDV.js.map} +1 -1
  12. package/chunk/{BirthDateComponent-Jlv1ygoa.js → BirthDateComponent-DLA-a79g.js} +8 -8
  13. package/chunk/{BirthDateComponent-D1M8ATw2.js.map → BirthDateComponent-DLA-a79g.js.map} +1 -1
  14. package/chunk/{BirthDateComponent-D1M8ATw2.js → BirthDateComponent-PIolYRcO.js} +8 -8
  15. package/chunk/{BirthDateComponent-Jlv1ygoa.js.map → BirthDateComponent-PIolYRcO.js.map} +1 -1
  16. package/chunk/{CaptchaComponent-DijVQaDh.js → CaptchaComponent-DNRbjOk0.js} +232 -235
  17. package/chunk/{CaptchaComponent-DijVQaDh.js.map → CaptchaComponent-DNRbjOk0.js.map} +1 -1
  18. package/chunk/{CaptchaComponent-Jj13Tw4k.js → CaptchaComponent-DwUevV3t.js} +234 -237
  19. package/chunk/{CaptchaComponent-Jj13Tw4k.js.map → CaptchaComponent-DwUevV3t.js.map} +1 -1
  20. package/chunk/{ChangeLocaleComponent-B_Ya5hV4.js → ChangeLocaleComponent-BOMhh2b3.js} +9 -9
  21. package/chunk/{ChangeLocaleComponent-B_Ya5hV4.js.map → ChangeLocaleComponent-BOMhh2b3.js.map} +1 -1
  22. package/chunk/{ChangeLocaleComponent-DhcUoMWL.js → ChangeLocaleComponent-D0JepSri.js} +9 -9
  23. package/chunk/{ChangeLocaleComponent-DhcUoMWL.js.map → ChangeLocaleComponent-D0JepSri.js.map} +1 -1
  24. package/chunk/{City-iq1DR3HC.js → City-DRLuVsMu.js} +8 -8
  25. package/chunk/{City-DmwFHxPe.js.map → City-DRLuVsMu.js.map} +1 -1
  26. package/chunk/{City-DmwFHxPe.js → City-Ufl43AsO.js} +8 -8
  27. package/chunk/{City-iq1DR3HC.js.map → City-Ufl43AsO.js.map} +1 -1
  28. package/chunk/CollegeNameComponent-B8jZYiX1.js +43 -0
  29. package/chunk/CollegeNameComponent-B8jZYiX1.js.map +1 -0
  30. package/chunk/CollegeNameComponent-Xj0rQB7c.js +39 -0
  31. package/chunk/CollegeNameComponent-Xj0rQB7c.js.map +1 -0
  32. package/chunk/{CopyToClipboardComponent-BdrpxpHJ.js → CopyToClipboardComponent-BorxChs8.js} +9 -9
  33. package/chunk/{CopyToClipboardComponent-BdrpxpHJ.js.map → CopyToClipboardComponent-BorxChs8.js.map} +1 -1
  34. package/chunk/{CopyToClipboardComponent-Dm3-3x4b.js → CopyToClipboardComponent-ystjPwTW.js} +9 -9
  35. package/chunk/{CopyToClipboardComponent-Dm3-3x4b.js.map → CopyToClipboardComponent-ystjPwTW.js.map} +1 -1
  36. package/chunk/{CountryComponentWrapper-BmNABlLF.js → CountryComponentWrapper-CF5TH0Ww.js} +29 -29
  37. package/chunk/{CountryComponentWrapper-BmNABlLF.js.map → CountryComponentWrapper-CF5TH0Ww.js.map} +1 -1
  38. package/chunk/{CountryComponentWrapper-CFooYkPK.js → CountryComponentWrapper-CauXt0Zp.js} +12 -12
  39. package/chunk/{CountryComponentWrapper-CFooYkPK.js.map → CountryComponentWrapper-CauXt0Zp.js.map} +1 -1
  40. package/chunk/{DischargeDateComponent-CKL2mQc6.js → DischargeDateComponent-BURlHu-f.js} +18 -18
  41. package/chunk/{DischargeDateComponent-CKL2mQc6.js.map → DischargeDateComponent-BURlHu-f.js.map} +1 -1
  42. package/chunk/{DischargeDateComponent-WBm110Pc.js → DischargeDateComponent-DphDUj7n.js} +17 -17
  43. package/chunk/{DischargeDateComponent-WBm110Pc.js.map → DischargeDateComponent-DphDUj7n.js.map} +1 -1
  44. package/chunk/{DriverLicenseNumberComponent-C2nVV_gO.js → DriverLicenseNumberComponent-BUe8vef1.js} +8 -8
  45. package/chunk/{DriverLicenseNumberComponent-C2nVV_gO.js.map → DriverLicenseNumberComponent-BUe8vef1.js.map} +1 -1
  46. package/chunk/{DriverLicenseNumberComponent-bTA5d7cI.js → DriverLicenseNumberComponent-fEmGGbnz.js} +8 -8
  47. package/chunk/{DriverLicenseNumberComponent-bTA5d7cI.js.map → DriverLicenseNumberComponent-fEmGGbnz.js.map} +1 -1
  48. package/chunk/{EmailLoopPending-ByW9XkIK.js → EmailLoopPending-BN7Op60d.js} +12 -12
  49. package/chunk/{EmailLoopPending-ByW9XkIK.js.map → EmailLoopPending-BN7Op60d.js.map} +1 -1
  50. package/chunk/{EmailLoopPending-DTnuWa6p.js → EmailLoopPending-HOmFgKTU.js} +14 -14
  51. package/chunk/{EmailLoopPending-DTnuWa6p.js.map → EmailLoopPending-HOmFgKTU.js.map} +1 -1
  52. package/chunk/{ExtraMessage-W3biUb29.js → ExtraMessage-BnNB6oFi.js} +7 -7
  53. package/chunk/{ExtraMessage-DuuHw84g.js.map → ExtraMessage-BnNB6oFi.js.map} +1 -1
  54. package/chunk/{ExtraMessage-DuuHw84g.js → ExtraMessage-Pq3Frlg0.js} +7 -7
  55. package/chunk/{ExtraMessage-W3biUb29.js.map → ExtraMessage-Pq3Frlg0.js.map} +1 -1
  56. package/chunk/{FirstResponderOrganizationComponent-DquuqEdB.js → FirstResponderOrganizationComponent-B8Th8Q4m.js} +9 -9
  57. package/chunk/{FirstResponderOrganizationComponent-C4caR50S.js.map → FirstResponderOrganizationComponent-B8Th8Q4m.js.map} +1 -1
  58. package/chunk/{FirstResponderOrganizationComponent-C4caR50S.js → FirstResponderOrganizationComponent-C8zsvoAK.js} +9 -9
  59. package/chunk/{FirstResponderOrganizationComponent-DquuqEdB.js.map → FirstResponderOrganizationComponent-C8zsvoAK.js.map} +1 -1
  60. package/chunk/{FormFieldInputSelect-d-hHVoQQ.js → FormFieldInputSelect-BKMQ9gEA.js} +7 -7
  61. package/chunk/{FormFieldInputSelect-CnGM7mg4.js.map → FormFieldInputSelect-BKMQ9gEA.js.map} +1 -1
  62. package/chunk/{FormFieldInputSelect-CnGM7mg4.js → FormFieldInputSelect-dsQeqe8F.js} +7 -7
  63. package/chunk/{FormFieldInputSelect-d-hHVoQQ.js.map → FormFieldInputSelect-dsQeqe8F.js.map} +1 -1
  64. package/chunk/{FormFieldLayout-D1tb5nAu.js → FormFieldLayout-B5_PsKrR.js} +6 -6
  65. package/chunk/{FormFieldLayout-D1tb5nAu.js.map → FormFieldLayout-B5_PsKrR.js.map} +1 -1
  66. package/chunk/{FormFieldLayout-Dt_dMiDh.js → FormFieldLayout-CRgEwTkx.js} +6 -6
  67. package/chunk/{FormFieldLayout-Dt_dMiDh.js.map → FormFieldLayout-CRgEwTkx.js.map} +1 -1
  68. package/chunk/{FormFieldText-CsFISbyw.js → FormFieldText-BWImUS8U.js} +7 -7
  69. package/chunk/{FormFieldText-BU2NBm1H.js.map → FormFieldText-BWImUS8U.js.map} +1 -1
  70. package/chunk/{FormFieldText-BU2NBm1H.js → FormFieldText-D4SW8w-w.js} +7 -7
  71. package/chunk/{FormFieldText-CsFISbyw.js.map → FormFieldText-D4SW8w-w.js.map} +1 -1
  72. package/chunk/{FormFieldTypeahead-DQe-u8ke.js → FormFieldTypeahead-B0gZVz-_.js} +87 -87
  73. package/chunk/{FormFieldTypeahead-DQe-u8ke.js.map → FormFieldTypeahead-B0gZVz-_.js.map} +1 -1
  74. package/chunk/{FormFieldTypeahead-UICnjipa.js → FormFieldTypeahead-MpKtmzcg.js} +85 -85
  75. package/chunk/{FormFieldTypeahead-UICnjipa.js.map → FormFieldTypeahead-MpKtmzcg.js.map} +1 -1
  76. package/chunk/{FormFooterComponent-GntU0CK1.js → FormFooterComponent-3UsgRJsz.js} +489 -509
  77. package/chunk/FormFooterComponent-3UsgRJsz.js.map +1 -0
  78. package/chunk/{FormFooterComponent-INOCMS5I.js → FormFooterComponent-CxPaPS8m.js} +503 -523
  79. package/chunk/FormFooterComponent-CxPaPS8m.js.map +1 -0
  80. package/chunk/{FormSelectChoice-CbCgCvkh.js → FormSelectChoice-D-la3EDO.js} +8 -8
  81. package/chunk/{FormSelectChoice-CbCgCvkh.js.map → FormSelectChoice-D-la3EDO.js.map} +1 -1
  82. package/chunk/{FormSelectChoice-lKpoGUFg.js → FormSelectChoice-D9QN8zac.js} +8 -8
  83. package/chunk/{FormSelectChoice-lKpoGUFg.js.map → FormSelectChoice-D9QN8zac.js.map} +1 -1
  84. package/chunk/{InputText-DMztCQmi.js → InputText-CS8Q8oNz.js} +6 -6
  85. package/chunk/{InputText-CuBi-ytU.js.map → InputText-CS8Q8oNz.js.map} +1 -1
  86. package/chunk/{InputText-CuBi-ytU.js → InputText-D__c437o.js} +6 -6
  87. package/chunk/{InputText-DMztCQmi.js.map → InputText-D__c437o.js.map} +1 -1
  88. package/chunk/{LicensedProfessionalOrganizationComponent-Ca5Q95Dv.js → LicensedProfessionalOrganizationComponent-0YuaW1wl.js} +9 -9
  89. package/chunk/{LicensedProfessionalOrganizationComponent-Ca5Q95Dv.js.map → LicensedProfessionalOrganizationComponent-0YuaW1wl.js.map} +1 -1
  90. package/chunk/{LicensedProfessionalOrganizationComponent-CzbEn3OT.js → LicensedProfessionalOrganizationComponent-DpFUTGIU.js} +9 -9
  91. package/chunk/{LicensedProfessionalOrganizationComponent-CzbEn3OT.js.map → LicensedProfessionalOrganizationComponent-DpFUTGIU.js.map} +1 -1
  92. package/chunk/{LogoComponent-BBafuteW.js → LogoComponent-BgbR17OV.js} +6 -6
  93. package/chunk/{LogoComponent-BBafuteW.js.map → LogoComponent-BgbR17OV.js.map} +1 -1
  94. package/chunk/{LogoComponent-BlvwHGG7.js → LogoComponent-CuBinjv8.js} +6 -6
  95. package/chunk/{LogoComponent-BlvwHGG7.js.map → LogoComponent-CuBinjv8.js.map} +1 -1
  96. package/chunk/{LowIncomeOrganizationComponent-C5tBx4R1.js → LowIncomeOrganizationComponent-BwJZgutt.js} +15 -15
  97. package/chunk/{LowIncomeOrganizationComponent-SXofGZtZ.js.map → LowIncomeOrganizationComponent-BwJZgutt.js.map} +1 -1
  98. package/chunk/{LowIncomeOrganizationComponent-SXofGZtZ.js → LowIncomeOrganizationComponent-Cu8hF9KG.js} +21 -21
  99. package/chunk/{LowIncomeOrganizationComponent-C5tBx4R1.js.map → LowIncomeOrganizationComponent-Cu8hF9KG.js.map} +1 -1
  100. package/chunk/{MedicalProfessionalOrganizationComponent-DhXuwA6G.js → MedicalProfessionalOrganizationComponent-D1nAdwMg.js} +9 -9
  101. package/chunk/{MedicalProfessionalOrganizationComponent-DhXuwA6G.js.map → MedicalProfessionalOrganizationComponent-D1nAdwMg.js.map} +1 -1
  102. package/chunk/{MedicalProfessionalOrganizationComponent-DDEwJw25.js → MedicalProfessionalOrganizationComponent-qH0R0RdW.js} +9 -9
  103. package/chunk/{MedicalProfessionalOrganizationComponent-DDEwJw25.js.map → MedicalProfessionalOrganizationComponent-qH0R0RdW.js.map} +1 -1
  104. package/chunk/{MemberIdComponent-CYE9NWER.js → MemberIdComponent-B6AVjpgw.js} +8 -8
  105. package/chunk/{MemberIdComponent-CYE9NWER.js.map → MemberIdComponent-B6AVjpgw.js.map} +1 -1
  106. package/chunk/{MemberIdComponent-zZA-2Be7.js → MemberIdComponent-zCfHfHqP.js} +8 -8
  107. package/chunk/{MemberIdComponent-zZA-2Be7.js.map → MemberIdComponent-zCfHfHqP.js.map} +1 -1
  108. package/chunk/{MembershipOrganizationComponent-BvUIEiHp.js → MembershipOrganizationComponent-BpVuchsF.js} +9 -9
  109. package/chunk/{MembershipOrganizationComponent-BvUIEiHp.js.map → MembershipOrganizationComponent-BpVuchsF.js.map} +1 -1
  110. package/chunk/{MembershipOrganizationComponent-Dt6uhM9W.js → MembershipOrganizationComponent-CsmHLMIR.js} +9 -9
  111. package/chunk/{MembershipOrganizationComponent-Dt6uhM9W.js.map → MembershipOrganizationComponent-CsmHLMIR.js.map} +1 -1
  112. package/chunk/{Message-B01COPOe.js → Message-DiIMSbkQ.js} +7639 -7613
  113. package/chunk/Message-DiIMSbkQ.js.map +1 -0
  114. package/chunk/{Message-D2z1-4t7.js → Message-DtxngN6C.js} +7853 -7827
  115. package/chunk/Message-DtxngN6C.js.map +1 -0
  116. package/chunk/Onfido-CTCgAwnB.js +4 -4
  117. package/chunk/{PersonalInfoStepSubmitButton-BIFTcGKn.js → PersonalInfoStepSubmitButton-C9bX9hn-.js} +19 -19
  118. package/chunk/{PersonalInfoStepSubmitButton-BIFTcGKn.js.map → PersonalInfoStepSubmitButton-C9bX9hn-.js.map} +1 -1
  119. package/chunk/{PersonalInfoStepSubmitButton-BhivUjA7.js → PersonalInfoStepSubmitButton-Ce7x__Wi.js} +20 -20
  120. package/chunk/{PersonalInfoStepSubmitButton-BhivUjA7.js.map → PersonalInfoStepSubmitButton-Ce7x__Wi.js.map} +1 -1
  121. package/chunk/{PersonalInfoStepWrapper-CmbBT85L.js → PersonalInfoStepWrapper-CBtDM65w.js} +7 -7
  122. package/chunk/{PersonalInfoStepWrapper-CmbBT85L.js.map → PersonalInfoStepWrapper-CBtDM65w.js.map} +1 -1
  123. package/chunk/{PersonalInfoStepWrapper-BhmtlbC3.js → PersonalInfoStepWrapper-TFsKYUeL.js} +8 -8
  124. package/chunk/{PersonalInfoStepWrapper-BhmtlbC3.js.map → PersonalInfoStepWrapper-TFsKYUeL.js.map} +1 -1
  125. package/chunk/{PostalCodeComponent-1D8zJ6Gw.js → PostalCodeComponent-BBs9Bp36.js} +8 -8
  126. package/chunk/{PostalCodeComponent-1D8zJ6Gw.js.map → PostalCodeComponent-BBs9Bp36.js.map} +1 -1
  127. package/chunk/{PostalCodeComponent-DCpTuzDt.js → PostalCodeComponent-Dknp_LrI.js} +8 -8
  128. package/chunk/{PostalCodeComponent-DCpTuzDt.js.map → PostalCodeComponent-Dknp_LrI.js.map} +1 -1
  129. package/chunk/{SSN-BYa6bN2F.js → SSN-BSxE5Uet.js} +8 -8
  130. package/chunk/{SSN-BYa6bN2F.js.map → SSN-BSxE5Uet.js.map} +1 -1
  131. package/chunk/{SSN-Cv-vv86v.js → SSN-gJcpvUFG.js} +8 -8
  132. package/chunk/{SSN-Cv-vv86v.js.map → SSN-gJcpvUFG.js.map} +1 -1
  133. package/chunk/{StateSelectComponent-C5SyZrP9.js → StateSelectComponent-BLPGXEhQ.js} +7 -7
  134. package/chunk/{StateSelectComponent-C5SyZrP9.js.map → StateSelectComponent-BLPGXEhQ.js.map} +1 -1
  135. package/chunk/{StateSelectComponent-Yrm2gmjt.js → StateSelectComponent-CqzkF1jU.js} +7 -7
  136. package/chunk/{StateSelectComponent-Yrm2gmjt.js.map → StateSelectComponent-CqzkF1jU.js.map} +1 -1
  137. package/chunk/StatusComponent-C95cd9HL.js +41 -0
  138. package/chunk/StatusComponent-C95cd9HL.js.map +1 -0
  139. package/chunk/StatusComponent-Os3WMfWG.js +45 -0
  140. package/chunk/StatusComponent-Os3WMfWG.js.map +1 -0
  141. package/chunk/{StepAgePersonalInfo-B-fHCbQ0.js → StepAgePersonalInfo-D2IGNQbe.js} +58 -58
  142. package/chunk/{StepAgePersonalInfo-B-fHCbQ0.js.map → StepAgePersonalInfo-D2IGNQbe.js.map} +1 -1
  143. package/chunk/{StepAgePersonalInfo-BZ8HQDRa.js → StepAgePersonalInfo-DVP1nW1R.js} +58 -58
  144. package/chunk/{StepAgePersonalInfo-BZ8HQDRa.js.map → StepAgePersonalInfo-DVP1nW1R.js.map} +1 -1
  145. package/chunk/{StepCard-DJR-l3sW.js → StepCard-B72CFYHs.js} +5 -5
  146. package/chunk/{StepCard-DJR-l3sW.js.map → StepCard-B72CFYHs.js.map} +1 -1
  147. package/chunk/{StepCard-wwTRGIhn.js → StepCard-Bvt7Kykz.js} +5 -5
  148. package/chunk/{StepCard-wwTRGIhn.js.map → StepCard-Bvt7Kykz.js.map} +1 -1
  149. package/chunk/{StepCollectIdentifier-DduKuXJZ.js → StepCollectIdentifier-Cr-pcekl.js} +9 -9
  150. package/chunk/{StepCollectIdentifier-DduKuXJZ.js.map → StepCollectIdentifier-Cr-pcekl.js.map} +1 -1
  151. package/chunk/{StepCollectIdentifier-CyCr6Kkf.js → StepCollectIdentifier-DnC9MgdJ.js} +9 -9
  152. package/chunk/{StepCollectIdentifier-CyCr6Kkf.js.map → StepCollectIdentifier-DnC9MgdJ.js.map} +1 -1
  153. package/chunk/{StepCollectMilitaryPersonalInfoComponent-DYvlaLFf.js → StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js} +24 -24
  154. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CTzbUlUh.js.map → StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js.map} +1 -1
  155. package/chunk/{StepCollectMilitaryPersonalInfoComponent-CTzbUlUh.js → StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js} +24 -24
  156. package/chunk/{StepCollectMilitaryPersonalInfoComponent-DYvlaLFf.js.map → StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js.map} +1 -1
  157. package/chunk/{StepCollectPersonalInfo-BKe3gp2Y.js → StepCollectPersonalInfo-BW4zdAuJ.js} +121 -121
  158. package/chunk/{StepCollectPersonalInfo-BKe3gp2Y.js.map → StepCollectPersonalInfo-BW4zdAuJ.js.map} +1 -1
  159. package/chunk/{StepCollectPersonalInfo-DMhjFyhS.js → StepCollectPersonalInfo-Dp0QqT2l.js} +122 -122
  160. package/chunk/{StepCollectPersonalInfo-DMhjFyhS.js.map → StepCollectPersonalInfo-Dp0QqT2l.js.map} +1 -1
  161. package/chunk/{StepCompleteAuthentication-Cj1zd9Fz.js → StepCompleteAuthentication-BrdV0iN-.js} +9 -9
  162. package/chunk/{StepCompleteAuthentication-76dd_HoE.js.map → StepCompleteAuthentication-BrdV0iN-.js.map} +1 -1
  163. package/chunk/{StepCompleteAuthentication-76dd_HoE.js → StepCompleteAuthentication-DLwlKmBO.js} +20 -20
  164. package/chunk/{StepCompleteAuthentication-Cj1zd9Fz.js.map → StepCompleteAuthentication-DLwlKmBO.js.map} +1 -1
  165. package/chunk/{StepConsolation-BMIhHrZ_.js → StepConsolation-BjfCC2wN.js} +8 -8
  166. package/chunk/{StepConsolation-D4U5Lz4s.js.map → StepConsolation-BjfCC2wN.js.map} +1 -1
  167. package/chunk/{StepConsolation-D4U5Lz4s.js → StepConsolation-CGZzbc4p.js} +8 -8
  168. package/chunk/{StepConsolation-BMIhHrZ_.js.map → StepConsolation-CGZzbc4p.js.map} +1 -1
  169. package/chunk/{StepDocUpload-ATFJ1VNK.js → StepDocUpload--r9rabBA.js} +23 -23
  170. package/chunk/{StepDocUpload-ATFJ1VNK.js.map → StepDocUpload--r9rabBA.js.map} +1 -1
  171. package/chunk/{StepDocUpload-BPWmYRcH.js → StepDocUpload-LtmtqAaG.js} +30 -30
  172. package/chunk/{StepDocUpload-BPWmYRcH.js.map → StepDocUpload-LtmtqAaG.js.map} +1 -1
  173. package/chunk/{StepDriverLicensePersonalInfoComponent-B6BPGM9y.js → StepDriverLicensePersonalInfoComponent-TZmQSwrX.js} +15 -15
  174. package/chunk/{StepDriverLicensePersonalInfoComponent-B6BPGM9y.js.map → StepDriverLicensePersonalInfoComponent-TZmQSwrX.js.map} +1 -1
  175. package/chunk/{StepDriverLicensePersonalInfoComponent-CLv-0SEo.js → StepDriverLicensePersonalInfoComponent-jrvtL5WY.js} +15 -15
  176. package/chunk/{StepDriverLicensePersonalInfoComponent-CLv-0SEo.js.map → StepDriverLicensePersonalInfoComponent-jrvtL5WY.js.map} +1 -1
  177. package/chunk/{StepEmailLoop-UdxzIxg_.js → StepEmailLoop-BOMgU-LY.js} +13 -13
  178. package/chunk/{StepEmailLoop-D7TmjcYy.js.map → StepEmailLoop-BOMgU-LY.js.map} +1 -1
  179. package/chunk/{StepEmailLoop-D7TmjcYy.js → StepEmailLoop-KgVxTrKD.js} +13 -13
  180. package/chunk/{StepEmailLoop-UdxzIxg_.js.map → StepEmailLoop-KgVxTrKD.js.map} +1 -1
  181. package/chunk/{StepEmploymentPersonalInfo-DppM-dRp.js → StepEmploymentPersonalInfo-CsCSbWGn.js} +20 -20
  182. package/chunk/{StepEmploymentPersonalInfo-DppM-dRp.js.map → StepEmploymentPersonalInfo-CsCSbWGn.js.map} +1 -1
  183. package/chunk/{StepEmploymentPersonalInfo-eF2ZaDPS.js → StepEmploymentPersonalInfo-DCgjGcV1.js} +20 -20
  184. package/chunk/{StepEmploymentPersonalInfo-eF2ZaDPS.js.map → StepEmploymentPersonalInfo-DCgjGcV1.js.map} +1 -1
  185. package/chunk/{StepFirstResponderPersonalInfo-BQtlqbwc.js → StepFirstResponderPersonalInfo-BNichcOp.js} +22 -22
  186. package/chunk/{StepFirstResponderPersonalInfo-BQtlqbwc.js.map → StepFirstResponderPersonalInfo-BNichcOp.js.map} +1 -1
  187. package/chunk/{StepFirstResponderPersonalInfo-CztSfSRA.js → StepFirstResponderPersonalInfo-C0dqZ6v9.js} +22 -22
  188. package/chunk/{StepFirstResponderPersonalInfo-CztSfSRA.js.map → StepFirstResponderPersonalInfo-C0dqZ6v9.js.map} +1 -1
  189. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CKd4Dp6T.js → StepGeneralIdentityPersonalInfoComponent-BFGOloFz.js} +18 -18
  190. package/chunk/{StepGeneralIdentityPersonalInfoComponent-CKd4Dp6T.js.map → StepGeneralIdentityPersonalInfoComponent-BFGOloFz.js.map} +1 -1
  191. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cdfe4rFN.js → StepGeneralIdentityPersonalInfoComponent-BY5f03WX.js} +18 -18
  192. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cdfe4rFN.js.map → StepGeneralIdentityPersonalInfoComponent-BY5f03WX.js.map} +1 -1
  193. package/chunk/{StepHybridIdentityPersonalInfoComponent-q4VhGaMS.js → StepHybridIdentityPersonalInfoComponent-6iihyo4W.js} +19 -19
  194. package/chunk/{StepHybridIdentityPersonalInfoComponent-Dsa_CKJM.js.map → StepHybridIdentityPersonalInfoComponent-6iihyo4W.js.map} +1 -1
  195. package/chunk/{StepHybridIdentityPersonalInfoComponent-Dsa_CKJM.js → StepHybridIdentityPersonalInfoComponent-CUmSF5K7.js} +19 -19
  196. package/chunk/{StepHybridIdentityPersonalInfoComponent-q4VhGaMS.js.map → StepHybridIdentityPersonalInfoComponent-CUmSF5K7.js.map} +1 -1
  197. package/chunk/{StepIDCheckLoop-EhL3Le-F.js → StepIDCheckLoop-D8HQBh8L.js} +8 -8
  198. package/chunk/{StepIDCheckLoop-BWxld16D.js.map → StepIDCheckLoop-D8HQBh8L.js.map} +1 -1
  199. package/chunk/{StepIDCheckLoop-BWxld16D.js → StepIDCheckLoop-DSxFMqVr.js} +8 -8
  200. package/chunk/{StepIDCheckLoop-EhL3Le-F.js.map → StepIDCheckLoop-DSxFMqVr.js.map} +1 -1
  201. package/chunk/{StepIDCheckLoopOnfido-CHKilPtA.js → StepIDCheckLoopOnfido-BTKJ2Blc.js} +28 -28
  202. package/chunk/{StepIDCheckLoopOnfido-CHKilPtA.js.map → StepIDCheckLoopOnfido-BTKJ2Blc.js.map} +1 -1
  203. package/chunk/{StepIDCheckLoopOnfido-Di9NfHJM.js → StepIDCheckLoopOnfido-DMuf0LlO.js} +14 -14
  204. package/chunk/{StepIDCheckLoopOnfido-Di9NfHJM.js.map → StepIDCheckLoopOnfido-DMuf0LlO.js.map} +1 -1
  205. package/chunk/{StepIDCheckLoopRegula-BYts2Drd.js → StepIDCheckLoopRegula-Ci85xeOu.js} +11 -11
  206. package/chunk/{StepIDCheckLoopRegula-BYts2Drd.js.map → StepIDCheckLoopRegula-Ci85xeOu.js.map} +1 -1
  207. package/chunk/{StepIDCheckLoopRegula-DQUN1TMk.js → StepIDCheckLoopRegula-wLpAcBIL.js} +11 -11
  208. package/chunk/{StepIDCheckLoopRegula-DQUN1TMk.js.map → StepIDCheckLoopRegula-wLpAcBIL.js.map} +1 -1
  209. package/chunk/{StepLicensedProfessionalPersonalInfo-Bk__6Yly.js → StepLicensedProfessionalPersonalInfo-CaME8oV0.js} +21 -21
  210. package/chunk/{StepLicensedProfessionalPersonalInfo-B9tXN-Gj.js.map → StepLicensedProfessionalPersonalInfo-CaME8oV0.js.map} +1 -1
  211. package/chunk/{StepLicensedProfessionalPersonalInfo-B9tXN-Gj.js → StepLicensedProfessionalPersonalInfo-DcyPpqRP.js} +21 -21
  212. package/chunk/{StepLicensedProfessionalPersonalInfo-Bk__6Yly.js.map → StepLicensedProfessionalPersonalInfo-DcyPpqRP.js.map} +1 -1
  213. package/chunk/{StepLowIncomePersonalInfo-C1yGX0tU.js → StepLowIncomePersonalInfo-D2XooNBZ.js} +25 -25
  214. package/chunk/{StepLowIncomePersonalInfo-C1yGX0tU.js.map → StepLowIncomePersonalInfo-D2XooNBZ.js.map} +1 -1
  215. package/chunk/{StepLowIncomePersonalInfo-UIbxTxQ6.js → StepLowIncomePersonalInfo-D_DnxewS.js} +74 -74
  216. package/chunk/{StepLowIncomePersonalInfo-UIbxTxQ6.js.map → StepLowIncomePersonalInfo-D_DnxewS.js.map} +1 -1
  217. package/chunk/{StepMedicalProfessionalPersonalInfo-CKwl0Aoz.js → StepMedicalProfessionalPersonalInfo-BBTMJxlc.js} +22 -22
  218. package/chunk/{StepMedicalProfessionalPersonalInfo-CKwl0Aoz.js.map → StepMedicalProfessionalPersonalInfo-BBTMJxlc.js.map} +1 -1
  219. package/chunk/{StepMedicalProfessionalPersonalInfo-PZWUlBsx.js → StepMedicalProfessionalPersonalInfo-DQvZgNA8.js} +22 -22
  220. package/chunk/{StepMedicalProfessionalPersonalInfo-PZWUlBsx.js.map → StepMedicalProfessionalPersonalInfo-DQvZgNA8.js.map} +1 -1
  221. package/chunk/{StepMemberPersonalInfo-CHgfdkTw.js → StepMemberPersonalInfo-C163dcFm.js} +57 -57
  222. package/chunk/{StepMemberPersonalInfo-BF9YI1SU.js.map → StepMemberPersonalInfo-C163dcFm.js.map} +1 -1
  223. package/chunk/{StepMemberPersonalInfo-BF9YI1SU.js → StepMemberPersonalInfo-DZI9oiLg.js} +17 -17
  224. package/chunk/{StepMemberPersonalInfo-CHgfdkTw.js.map → StepMemberPersonalInfo-DZI9oiLg.js.map} +1 -1
  225. package/chunk/{StepMoverPersonalInfo-DBQ7vjuj.js → StepMoverPersonalInfo-DVKj_md6.js} +47 -47
  226. package/chunk/{StepMoverPersonalInfo-DBQ7vjuj.js.map → StepMoverPersonalInfo-DVKj_md6.js.map} +1 -1
  227. package/chunk/{StepMoverPersonalInfo-JN4fzgsz.js → StepMoverPersonalInfo-DkqRxBv_.js} +15 -15
  228. package/chunk/{StepMoverPersonalInfo-JN4fzgsz.js.map → StepMoverPersonalInfo-DkqRxBv_.js.map} +1 -1
  229. package/chunk/{StepOverrideComponent-BdKhdxCF.js → StepOverrideComponent-BZ5DPwb7.js} +21 -21
  230. package/chunk/{StepOverrideComponent-I6jIloHJ.js.map → StepOverrideComponent-BZ5DPwb7.js.map} +1 -1
  231. package/chunk/{StepOverrideComponent-I6jIloHJ.js → StepOverrideComponent-CFCHGcGm.js} +21 -21
  232. package/chunk/{StepOverrideComponent-BdKhdxCF.js.map → StepOverrideComponent-CFCHGcGm.js.map} +1 -1
  233. package/chunk/{StepSMSLoop-DhwsBE2w.js → StepSMSLoop-kUCfwUG3.js} +22 -22
  234. package/chunk/{StepSMSLoop-BQ-ebg-w.js.map → StepSMSLoop-kUCfwUG3.js.map} +1 -1
  235. package/chunk/{StepSMSLoop-BQ-ebg-w.js → StepSMSLoop-qDDjiu2X.js} +25 -25
  236. package/chunk/{StepSMSLoop-DhwsBE2w.js.map → StepSMSLoop-qDDjiu2X.js.map} +1 -1
  237. package/chunk/StepSSO-BGHCbduX.js +4 -4
  238. package/chunk/StepSSO-ZHByQpHa.js +4 -4
  239. package/chunk/{StepSocialSecurityNumber-ITN1udUd.js → StepSocialSecurityNumber-CzdRBNES.js} +24 -24
  240. package/chunk/{StepSocialSecurityNumber-BjMAYy4I.js.map → StepSocialSecurityNumber-CzdRBNES.js.map} +1 -1
  241. package/chunk/{StepSocialSecurityNumber-BjMAYy4I.js → StepSocialSecurityNumber-D-Ryab7q.js} +12 -12
  242. package/chunk/{StepSocialSecurityNumber-ITN1udUd.js.map → StepSocialSecurityNumber-D-Ryab7q.js.map} +1 -1
  243. package/chunk/{StepStudentPersonalInfo-B8EJqu5o.js → StepStudentPersonalInfo-DzBMt8Kd.js} +64 -64
  244. package/chunk/{StepStudentPersonalInfo-B8EJqu5o.js.map → StepStudentPersonalInfo-DzBMt8Kd.js.map} +1 -1
  245. package/chunk/{StepStudentPersonalInfo-C6OXBOsJ.js → StepStudentPersonalInfo-z2J7_k9j.js} +22 -22
  246. package/chunk/{StepStudentPersonalInfo-C6OXBOsJ.js.map → StepStudentPersonalInfo-z2J7_k9j.js.map} +1 -1
  247. package/chunk/{StepSuccess-D1Hg8KzS.js → StepSuccess-CoQmjeaw.js} +28 -28
  248. package/chunk/{StepSuccess-D1Hg8KzS.js.map → StepSuccess-CoQmjeaw.js.map} +1 -1
  249. package/chunk/{StepSuccess-ye_BWJ5v.js → StepSuccess-CwprAx_X.js} +30 -30
  250. package/chunk/{StepSuccess-ye_BWJ5v.js.map → StepSuccess-CwprAx_X.js.map} +1 -1
  251. package/chunk/{StepTeacherPersonalInfo-B_nvmggg.js → StepTeacherPersonalInfo-BnREkHc-.js} +18 -18
  252. package/chunk/{StepTeacherPersonalInfo-B_fczbbC.js.map → StepTeacherPersonalInfo-BnREkHc-.js.map} +1 -1
  253. package/chunk/{StepTeacherPersonalInfo-B_fczbbC.js → StepTeacherPersonalInfo-oxESzOhJ.js} +18 -18
  254. package/chunk/{StepTeacherPersonalInfo-B_nvmggg.js.map → StepTeacherPersonalInfo-oxESzOhJ.js.map} +1 -1
  255. package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
  256. package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
  257. package/chunk/TeacherSchoolComponent-X4jP0iPe.js +39 -0
  258. package/chunk/TeacherSchoolComponent-X4jP0iPe.js.map +1 -0
  259. package/chunk/TeacherSchoolComponent-xlpebqi9.js +43 -0
  260. package/chunk/TeacherSchoolComponent-xlpebqi9.js.map +1 -0
  261. package/chunk/{TestingRouteOverrides-CujYUoVO.js → TestingRouteOverrides-CqkLaStu.js} +26 -26
  262. package/chunk/{TestingRouteOverrides-CUyDPV66.js.map → TestingRouteOverrides-CqkLaStu.js.map} +1 -1
  263. package/chunk/{TestingRouteOverrides-CUyDPV66.js → TestingRouteOverrides-DUx5spVA.js} +24 -24
  264. package/chunk/{TestingRouteOverrides-CujYUoVO.js.map → TestingRouteOverrides-DUx5spVA.js.map} +1 -1
  265. package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
  266. package/chunk/ar-D5CO913q.js +4 -4
  267. package/chunk/bg-1mhA5kYF.js +4 -4
  268. package/chunk/bn-IN-CpDqyRb_.js +4 -4
  269. package/chunk/clsx-CB5rauS5.js +4 -4
  270. package/chunk/{countryUtils-DnejTdLp.js → countryUtils-B4JUeycO.js} +5 -5
  271. package/chunk/{countryUtils-BdYD9O0C.js.map → countryUtils-B4JUeycO.js.map} +1 -1
  272. package/chunk/countryUtils-DS8Zctdr.js +12 -0
  273. package/chunk/{countryUtils-DnejTdLp.js.map → countryUtils-DS8Zctdr.js.map} +1 -1
  274. package/chunk/cs-Chh7FAGt.js +4 -4
  275. package/chunk/da-DwrVoxto.js +4 -4
  276. package/chunk/de-IWGZLhgY.js +4 -4
  277. package/chunk/{downshift.esm-N5l_mTkN.js → downshift.esm-B1eE_tYZ.js} +7 -7
  278. package/chunk/{downshift.esm-W4ZpLUFm.js.map → downshift.esm-B1eE_tYZ.js.map} +1 -1
  279. package/chunk/{downshift.esm-W4ZpLUFm.js → downshift.esm-CWgGV2e-.js} +124 -124
  280. package/chunk/{downshift.esm-N5l_mTkN.js.map → downshift.esm-CWgGV2e-.js.map} +1 -1
  281. package/chunk/el-DbDcvSPJ.js +4 -4
  282. package/chunk/{empties-CgrU7EMF.js → empties-C1INRgC4.js} +51 -57
  283. package/chunk/{empties-Cv-TCyNM.js.map → empties-C1INRgC4.js.map} +1 -1
  284. package/chunk/{empties-Cv-TCyNM.js → empties-C38lUQIl.js} +6 -12
  285. package/chunk/{empties-CgrU7EMF.js.map → empties-C38lUQIl.js.map} +1 -1
  286. package/chunk/en-GB-CNQ8Ww2j.js +4 -4
  287. package/chunk/es-ES-DWimqEZ_.js +4 -4
  288. package/chunk/es-qhC-seq5.js +4 -4
  289. package/chunk/et-yF9G-Mym.js +4 -4
  290. package/chunk/eventEmitter-CSG6jR7V.js +4 -4
  291. package/chunk/fa-BcdSf7og.js +4 -4
  292. package/chunk/fi-D-IP_KHm.js +4 -4
  293. package/chunk/fr-BmUuYxk0.js +4 -4
  294. package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
  295. package/chunk/ga-DuZycND3.js +4 -4
  296. package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
  297. package/chunk/{hooks-i_EJH0P5.js → hooks-DFk9wlFh.js} +51 -51
  298. package/chunk/hooks-DFk9wlFh.js.map +1 -0
  299. package/chunk/{hooks-HrcXcUYn.js → hooks-Y72jcEAM.js} +47 -47
  300. package/chunk/hooks-Y72jcEAM.js.map +1 -0
  301. package/chunk/hr-BtqyDzDB.js +4 -4
  302. package/chunk/hu-C6syKJfb.js +4 -4
  303. package/chunk/id-GgI-Z2a5.js +4 -4
  304. package/chunk/{intl-DYOqmiaL.js → intl-D5sUivUy.js} +285 -273
  305. package/chunk/intl-D5sUivUy.js.map +1 -0
  306. package/chunk/is-CvmKEON9.js +4 -4
  307. package/chunk/it-CnmveGgC.js +4 -4
  308. package/chunk/iw-DFUYHkxF.js +4 -4
  309. package/chunk/ja-CjVb2tWW.js +4 -4
  310. package/chunk/{jsx-runtime-DQO6A867.js → jsx-runtime-BfITI5pK.js} +19 -19
  311. package/chunk/{jsx-runtime-DtApx7WX.js.map → jsx-runtime-BfITI5pK.js.map} +1 -1
  312. package/chunk/{jsx-runtime-DtApx7WX.js → jsx-runtime-CB6nLaN6.js} +19 -19
  313. package/chunk/{jsx-runtime-DQO6A867.js.map → jsx-runtime-CB6nLaN6.js.map} +1 -1
  314. package/chunk/kk-Dvz4nK6K.js +4 -4
  315. package/chunk/ko-DzOqBMGC.js +4 -4
  316. package/chunk/lo-C2WPq55d.js +4 -4
  317. package/chunk/lt-BSDYvjTF.js +4 -4
  318. package/chunk/lv-CefDPT-M.js +4 -4
  319. package/chunk/mockProgramConfiguration-YBQMVL51.js +4 -4
  320. package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
  321. package/chunk/mockProgramI18n-CgYx_1_a.js.map +1 -1
  322. package/chunk/{mockProgramTheme-CBqgtg7A.js → mockProgramTheme-CPG4vkJd.js} +4 -8
  323. package/chunk/mockProgramTheme-CPG4vkJd.js.map +1 -0
  324. package/chunk/{mocks-Cn2hY_Nm.js → mocks-BJWOJTTC.js} +73 -74
  325. package/chunk/mocks-BJWOJTTC.js.map +1 -0
  326. package/chunk/{mocks-Do-_JoZy.js → mocks-BtNIwVeT.js} +73 -74
  327. package/chunk/mocks-BtNIwVeT.js.map +1 -0
  328. package/chunk/ms-BjestZxy.js +4 -4
  329. package/chunk/nl-B1FyUfCT.js +4 -4
  330. package/chunk/nl-BE-CbeAd3nq.js +4 -4
  331. package/chunk/no-Dr633Ddi.js +4 -4
  332. package/chunk/{options-DsRV5fwh.js → options-BCFIfBTZ.js} +356 -344
  333. package/chunk/options-BCFIfBTZ.js.map +1 -0
  334. package/chunk/pl-UYTjMIq_.js +4 -4
  335. package/chunk/programThemeGetters-BIRDUiTI.js +158 -0
  336. package/chunk/programThemeGetters-BIRDUiTI.js.map +1 -0
  337. package/chunk/{programThemeGetters-DtvKCzaA.js → programThemeGetters-CIZ0gRgE.js} +36 -56
  338. package/chunk/programThemeGetters-CIZ0gRgE.js.map +1 -0
  339. package/chunk/pt-BR-C8SYMT-J.js +4 -4
  340. package/chunk/pt-uH-M3GdN.js +4 -4
  341. package/chunk/refs-Mq0rtW9K.js +4 -4
  342. package/chunk/ro-CAOSXZ7h.js +4 -4
  343. package/chunk/ru-iwYoEydL.js +4 -4
  344. package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
  345. package/chunk/sk-DYYNV3zw.js +4 -4
  346. package/chunk/sl-D_-eeM5N.js +4 -4
  347. package/chunk/sr-BTi9_anL.js +4 -4
  348. package/chunk/{stepComponentHelpers-DZXh3P6t.js → stepComponentHelpers--E4kvS6y.js} +14 -14
  349. package/chunk/{stepComponentHelpers-D8vgCSY7.js.map → stepComponentHelpers--E4kvS6y.js.map} +1 -1
  350. package/chunk/{stepComponentHelpers-D8vgCSY7.js → stepComponentHelpers-CD1Gfspm.js} +34 -34
  351. package/chunk/{stepComponentHelpers-DZXh3P6t.js.map → stepComponentHelpers-CD1Gfspm.js.map} +1 -1
  352. package/chunk/strings-DWLVdUcm.js +4 -4
  353. package/chunk/sv-DRwY4shG.js +4 -4
  354. package/chunk/sw-Bvj2mYmM.js +4 -4
  355. package/chunk/ta-CmtaYoNe.js +4 -4
  356. package/chunk/th-12r2yKkJ.js +4 -4
  357. package/chunk/tl-BGNfO7md.js +4 -4
  358. package/chunk/tr-DH2ZSJhs.js +4 -4
  359. package/chunk/uk-CELBZlTd.js +4 -4
  360. package/chunk/ur-MR8DTbmd.js +4 -4
  361. package/chunk/{useCollectFieldsEndpoint-C0qk0ahQ.js → useCollectFieldsEndpoint-Bxae2_8a.js} +20 -20
  362. package/chunk/{useCollectFieldsEndpoint-Cre55nuJ.js.map → useCollectFieldsEndpoint-Bxae2_8a.js.map} +1 -1
  363. package/chunk/{useCollectFieldsEndpoint-Cre55nuJ.js → useCollectFieldsEndpoint-CzTl9kbR.js} +20 -20
  364. package/chunk/{useCollectFieldsEndpoint-C0qk0ahQ.js.map → useCollectFieldsEndpoint-CzTl9kbR.js.map} +1 -1
  365. package/chunk/{useMetrics-BZU-S7E4.js → useMetrics-CtsRRjGJ.js} +7 -7
  366. package/chunk/{useMetrics-BZU-S7E4.js.map → useMetrics-CtsRRjGJ.js.map} +1 -1
  367. package/chunk/{useMetrics-CKV-Of-2.js → useMetrics-jabV9gsZ.js} +7 -7
  368. package/chunk/{useMetrics-CKV-Of-2.js.map → useMetrics-jabV9gsZ.js.map} +1 -1
  369. package/chunk/vi-DtZ-SqD5.js +4 -4
  370. package/chunk/zh-DjyVyYac.js +4 -4
  371. package/chunk/zh-HK-CN1HarHq.js +4 -4
  372. package/chunk/zu-DPhgIh1z.js +4 -4
  373. package/package.json +1 -1
  374. package/sheerid-install.css +4 -4
  375. package/sheerid-install.js +4 -4
  376. package/sheerid.css +4 -4
  377. package/sheerid.js +1337 -1353
  378. package/sheerid.js.map +1 -1
  379. package/chunk/CollegeNameComponent-BfM_mY5M.js +0 -46
  380. package/chunk/CollegeNameComponent-BfM_mY5M.js.map +0 -1
  381. package/chunk/CollegeNameComponent-CR9Jp91m.js +0 -42
  382. package/chunk/CollegeNameComponent-CR9Jp91m.js.map +0 -1
  383. package/chunk/FormFooterComponent-GntU0CK1.js.map +0 -1
  384. package/chunk/FormFooterComponent-INOCMS5I.js.map +0 -1
  385. package/chunk/Message-B01COPOe.js.map +0 -1
  386. package/chunk/Message-D2z1-4t7.js.map +0 -1
  387. package/chunk/StatusComponent-CBcXQ1RR.js +0 -44
  388. package/chunk/StatusComponent-CBcXQ1RR.js.map +0 -1
  389. package/chunk/StatusComponent-DVPyiAZr.js +0 -48
  390. package/chunk/StatusComponent-DVPyiAZr.js.map +0 -1
  391. package/chunk/TeacherSchoolComponent-C1IpPIt7.js +0 -46
  392. package/chunk/TeacherSchoolComponent-C1IpPIt7.js.map +0 -1
  393. package/chunk/TeacherSchoolComponent-l3FK9Z72.js +0 -42
  394. package/chunk/TeacherSchoolComponent-l3FK9Z72.js.map +0 -1
  395. package/chunk/countryUtils-BdYD9O0C.js +0 -12
  396. package/chunk/hooks-HrcXcUYn.js.map +0 -1
  397. package/chunk/hooks-i_EJH0P5.js.map +0 -1
  398. package/chunk/intl-DYOqmiaL.js.map +0 -1
  399. package/chunk/mockProgramTheme-CBqgtg7A.js.map +0 -1
  400. package/chunk/mocks-Cn2hY_Nm.js.map +0 -1
  401. package/chunk/mocks-Do-_JoZy.js.map +0 -1
  402. package/chunk/options-DsRV5fwh.js.map +0 -1
  403. package/chunk/programThemeGetters-B8-9nrqc.js +0 -178
  404. package/chunk/programThemeGetters-B8-9nrqc.js.map +0 -1
  405. package/chunk/programThemeGetters-DtvKCzaA.js.map +0 -1
@@ -4,30 +4,30 @@
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.305.0
8
- * BUILD_TIMESTAMP: 1792519358011
9
- * BUILD_DATE: Tue Oct 20 2026 18:02:38 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 27e0d8fcdd6d90b110f6af92bdd6cde6129f1879
7
+ * VERSION: 2.307.0
8
+ * BUILD_TIMESTAMP: 1792788069710
9
+ * BUILD_DATE: Fri Oct 23 2026 20:41:09 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 9bea609f9e2a9b4cd4a26fb21eea3072f87be58a
11
11
  */
12
- import { p as e, s as t } from "./intl-DYOqmiaL.js";
12
+ import { p as e, s as t } from "./intl-D5sUivUy.js";
13
13
  import { b as n } from "./runtimeTypes-B2AGNJMT.js";
14
- import { n as r, t as i } from "./jsx-runtime-DtApx7WX.js";
15
- import { p as a } from "./FormFooterComponent-GntU0CK1.js";
14
+ import { n as r, t as i } from "./jsx-runtime-CB6nLaN6.js";
15
+ import { p as a } from "./FormFooterComponent-3UsgRJsz.js";
16
16
  import { t as o } from "../_mysheerid-preview.js";
17
- import { t as s } from "./useCollectFieldsEndpoint-Cre55nuJ.js";
18
- import { d as c, f as l, r as u, t as d } from "./stepComponentHelpers-DZXh3P6t.js";
19
- import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-Jj13Tw4k.js";
20
- import { n as v, t as y } from "./PersonalInfoStepSubmitButton-BIFTcGKn.js";
21
- import { i as b } from "./FormSelectChoice-CbCgCvkh.js";
22
- import { t as x } from "./BirthDateComponent-D1M8ATw2.js";
23
- import { t as S } from "./PostalCodeComponent-1D8zJ6Gw.js";
24
- import { t as C } from "./CountryComponentWrapper-CFooYkPK.js";
25
- import { t as w } from "./ExtraMessage-DuuHw84g.js";
26
- import { t as T } from "./ChangeLocaleComponent-B_Ya5hV4.js";
27
- import { t as E } from "./PersonalInfoStepWrapper-BhmtlbC3.js";
28
- import { t as D } from "./countryUtils-DnejTdLp.js";
29
- import { t as O } from "./StatusComponent-DVPyiAZr.js";
30
- import { t as k } from "./LicensedProfessionalOrganizationComponent-Ca5Q95Dv.js";
17
+ import { t as s } from "./useCollectFieldsEndpoint-CzTl9kbR.js";
18
+ import { d as c, f as l, r as u, t as d } from "./stepComponentHelpers--E4kvS6y.js";
19
+ import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-DwUevV3t.js";
20
+ import { n as v, t as y } from "./PersonalInfoStepSubmitButton-C9bX9hn-.js";
21
+ import { i as b } from "./FormSelectChoice-D-la3EDO.js";
22
+ import { t as x } from "./BirthDateComponent-PIolYRcO.js";
23
+ import { t as S } from "./PostalCodeComponent-BBs9Bp36.js";
24
+ import { t as C } from "./CountryComponentWrapper-CauXt0Zp.js";
25
+ import { t as w } from "./ExtraMessage-Pq3Frlg0.js";
26
+ import { t as T } from "./ChangeLocaleComponent-BOMhh2b3.js";
27
+ import { t as E } from "./PersonalInfoStepWrapper-TFsKYUeL.js";
28
+ import { t as D } from "./countryUtils-B4JUeycO.js";
29
+ import { t as O } from "./StatusComponent-Os3WMfWG.js";
30
+ import { t as k } from "./LicensedProfessionalOrganizationComponent-0YuaW1wl.js";
31
31
  //#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
32
32
  var A = i(), j = ({ verificationService: i }) => {
33
33
  let j = i.viewModel, { fieldValidationErrors: M } = i, N = i.verificationResponse, P = a(N), F = j.localeChoice.value, I = t(), { availableStatuses: L } = s({
@@ -1 +1 @@
1
- {"version":3,"file":"StepLicensedProfessionalPersonalInfo-B9tXN-Gj.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\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 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(\n verificationService.programTheme,\n countryChoiceValue,\n );\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 {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n 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 </PersonalInfoWr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EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepLicensedProfessionalPersonalInfo-CaME8oV0.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\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 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(\n verificationService.programTheme,\n countryChoiceValue,\n );\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 {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n 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":";;;;;;;;;;;;;;;;;;;;aA+Ca,KAAiD,EAC5D,6BACwD;CACxD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAE/D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,EAAE,mBAAmB,MAAoB,EAAyB;EACtE,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GAEK,IAAgB,EACnB,KAAmB,EAAqB,iBAC3C,GAEM,IAAq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3
+ * VERSION: 2.307.0
4
+ * BUILD_TIMESTAMP: 1792788063846
5
+ * BUILD_DATE: Fri Oct 23 2026 20:41:03 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 9bea609f9e2a9b4cd4a26fb21eea3072f87be58a
7
7
  */
8
- import { c as e, n as t } from "./options-DsRV5fwh.js";
9
- import { n, t as r } from "./jsx-runtime-DQO6A867.js";
8
+ import { c as e, n as t } from "./options-BCFIfBTZ.js";
9
+ import { n, t as r } from "./jsx-runtime-BfITI5pK.js";
10
10
  import { b as i } from "./runtimeTypes-B2AGNJMT.js";
11
- import { h as a } from "./FormFooterComponent-INOCMS5I.js";
11
+ import { h as a } from "./FormFooterComponent-CxPaPS8m.js";
12
12
  import { n as o } from "../sheerid.js";
13
- import { t as s } from "./useCollectFieldsEndpoint-C0qk0ahQ.js";
14
- import { d as c, f as l, r as u, t as d } from "./stepComponentHelpers-D8vgCSY7.js";
15
- import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-DijVQaDh.js";
16
- import { n as v, t as y } from "./PersonalInfoStepSubmitButton-BhivUjA7.js";
17
- import { i as b } from "./FormSelectChoice-lKpoGUFg.js";
18
- import { t as x } from "./BirthDateComponent-Jlv1ygoa.js";
19
- import { t as S } from "./PostalCodeComponent-DCpTuzDt.js";
20
- import { t as C } from "./CountryComponentWrapper-BmNABlLF.js";
21
- import { t as w } from "./ExtraMessage-W3biUb29.js";
22
- import { t as T } from "./ChangeLocaleComponent-DhcUoMWL.js";
23
- import { t as E } from "./PersonalInfoStepWrapper-CmbBT85L.js";
24
- import { t as D } from "./countryUtils-BdYD9O0C.js";
25
- import { t as O } from "./StatusComponent-CBcXQ1RR.js";
26
- import { t as k } from "./LicensedProfessionalOrganizationComponent-CzbEn3OT.js";
13
+ import { t as s } from "./useCollectFieldsEndpoint-Bxae2_8a.js";
14
+ import { d as c, f as l, r as u, t as d } from "./stepComponentHelpers-CD1Gfspm.js";
15
+ import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-DNRbjOk0.js";
16
+ import { n as v, t as y } from "./PersonalInfoStepSubmitButton-Ce7x__Wi.js";
17
+ import { i as b } from "./FormSelectChoice-D9QN8zac.js";
18
+ import { t as x } from "./BirthDateComponent-DLA-a79g.js";
19
+ import { t as S } from "./PostalCodeComponent-Dknp_LrI.js";
20
+ import { t as C } from "./CountryComponentWrapper-CF5TH0Ww.js";
21
+ import { t as w } from "./ExtraMessage-BnNB6oFi.js";
22
+ import { t as T } from "./ChangeLocaleComponent-D0JepSri.js";
23
+ import { t as E } from "./PersonalInfoStepWrapper-CBtDM65w.js";
24
+ import { t as D } from "./countryUtils-DS8Zctdr.js";
25
+ import { t as O } from "./StatusComponent-C95cd9HL.js";
26
+ import { t as k } from "./LicensedProfessionalOrganizationComponent-DpFUTGIU.js";
27
27
  //#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
28
28
  var A = r(), j = ({ verificationService: r }) => {
29
29
  let j = r.viewModel, { fieldValidationErrors: M } = r, N = r.verificationResponse, P = a(N), F = j.localeChoice.value, I = t(), { availableStatuses: L } = s({
@@ -1 +1 @@
1
- {"version":3,"file":"StepLicensedProfessionalPersonalInfo-Bk__6Yly.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\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 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(\n verificationService.programTheme,\n countryChoiceValue,\n );\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 {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n 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":";;;;;;;;;;;;;;;;;;;;aA+Ca,KAAiD,EAC5D,6BACwD;CACxD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAE/D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,EAAE,mBAAmB,MAAoB,EAAyB;EACtE,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GAEK,IAAgB,EACnB,KAAmB,EAAqB,iBAC3C,GAEM,IAAqB,EAAU,eAAe,OAC9C,IAAoB,EACxB,EAAoB,cACpB,CACF,GAEM,KACJ,GACA,MACG;EACH,IAAM,IAAuD,EAC3D,IACC,MAAqD;GACpD,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,WAAU;IACV,OAAO,EAAc,MAAM,MAAW,EAAO,UAAU,EAAU,SAAS,EAAE;IAC5E,WAAW,CAAC,CAAC,EAAsB;IACnC,SAAS;IACT,UAAU,KAAqB,EAAwB,UAAU,GAAG;IACpE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UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepLicensedProfessionalPersonalInfo-DcyPpqRP.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useFormSelectChoice } from \"@/components/FormInputs/InputSelect/InputSelectComponent\";\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 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(\n verificationService.programTheme,\n countryChoiceValue,\n );\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 {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n 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":";;;;;;;;;;;;;;;;;;;;aA+Ca,KAAiD,EAC5D,6BACwD;CACxD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,s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kB;;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.305.0
8
- * BUILD_TIMESTAMP: 1792519358011
9
- * BUILD_DATE: Tue Oct 20 2026 18:02:38 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 27e0d8fcdd6d90b110f6af92bdd6cde6129f1879
7
+ * VERSION: 2.307.0
8
+ * BUILD_TIMESTAMP: 1792788069710
9
+ * BUILD_DATE: Fri Oct 23 2026 20:41:09 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 9bea609f9e2a9b4cd4a26fb21eea3072f87be58a
11
11
  */
12
- import { kt as e, p as t, s as n } from "./intl-DYOqmiaL.js";
12
+ import { At as e, p as t, s as n } from "./intl-D5sUivUy.js";
13
13
  import { S as r, b as i } from "./runtimeTypes-B2AGNJMT.js";
14
- import { d as a } from "./programThemeGetters-DtvKCzaA.js";
15
- import { n as o, s, t as c } from "./jsx-runtime-DtApx7WX.js";
16
- import { i as l } from "./empties-CgrU7EMF.js";
17
- import { p as u } from "./FormFooterComponent-GntU0CK1.js";
14
+ import { u as a } from "./programThemeGetters-CIZ0gRgE.js";
15
+ import { n as o, s, t as c } from "./jsx-runtime-CB6nLaN6.js";
16
+ import { i as l } from "./empties-C1INRgC4.js";
17
+ import { p as u } from "./FormFooterComponent-3UsgRJsz.js";
18
18
  import { t as d } from "../_mysheerid-preview.js";
19
- import { t as f } from "./useCollectFieldsEndpoint-Cre55nuJ.js";
20
- import { d as p, f as m, i as h, r as g, t as _ } from "./stepComponentHelpers-DZXh3P6t.js";
21
- import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-Jj13Tw4k.js";
22
- import { n as w, t as T } from "./PersonalInfoStepSubmitButton-BIFTcGKn.js";
23
- import { i as E } from "./FormSelectChoice-CbCgCvkh.js";
24
- import { t as D } from "./BirthDateComponent-D1M8ATw2.js";
25
- import { t as O } from "./PostalCodeComponent-1D8zJ6Gw.js";
26
- import { t as k } from "./CountryComponentWrapper-CFooYkPK.js";
27
- import { t as A } from "./City-DmwFHxPe.js";
28
- import { t as j } from "./AddressComponent-Cy1Rhow8.js";
29
- import { t as M } from "./ChangeLocaleComponent-B_Ya5hV4.js";
30
- import { t as N } from "./PersonalInfoStepWrapper-BhmtlbC3.js";
31
- import { t as P } from "./countryUtils-DnejTdLp.js";
32
- import { t as F } from "./StateSelectComponent-C5SyZrP9.js";
33
- import { n as I, t as L } from "./LowIncomeOrganizationComponent-C5tBx4R1.js";
34
- import { t as R } from "./StatusComponent-DVPyiAZr.js";
19
+ import { t as f } from "./useCollectFieldsEndpoint-CzTl9kbR.js";
20
+ import { d as p, f as m, i as h, r as g, t as _ } from "./stepComponentHelpers--E4kvS6y.js";
21
+ import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-DwUevV3t.js";
22
+ import { n as w, t as T } from "./PersonalInfoStepSubmitButton-C9bX9hn-.js";
23
+ import { i as E } from "./FormSelectChoice-D-la3EDO.js";
24
+ import { t as D } from "./BirthDateComponent-PIolYRcO.js";
25
+ import { t as O } from "./PostalCodeComponent-BBs9Bp36.js";
26
+ import { t as k } from "./CountryComponentWrapper-CauXt0Zp.js";
27
+ import { t as A } from "./City-Ufl43AsO.js";
28
+ import { t as j } from "./AddressComponent-C2lC7O7h.js";
29
+ import { t as M } from "./ChangeLocaleComponent-BOMhh2b3.js";
30
+ import { t as N } from "./PersonalInfoStepWrapper-TFsKYUeL.js";
31
+ import { t as P } from "./countryUtils-B4JUeycO.js";
32
+ import { t as F } from "./StateSelectComponent-BLPGXEhQ.js";
33
+ import { n as I, t as L } from "./LowIncomeOrganizationComponent-BwJZgutt.js";
34
+ import { t as R } from "./StatusComponent-Os3WMfWG.js";
35
35
  //#region src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.tsx
36
36
  var z = /* @__PURE__ */ e(s(), 1), B = c(), V = ({ verificationService: e }) => {
37
37
  let { viewModel: s } = e, c = n();
@@ -1 +1 @@
1
- {"version":3,"file":"StepLowIncomePersonalInfo-C1yGX0tU.js","names":[],"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\";\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 { 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(\n verificationService.programTheme,\n countryChoiceValue,\n );\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 {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n 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":";;;;;;;;;;;;;;;;;;;;;;;;4CA0Da,KAAsC,EACjD,6BAC6C;CAC7C,IAAM,EAAE,iBAAc,GAChB,IAAU,EAAW;CAE3B,IAAI,CAAC,EAAc,CAAS,GAE1B,OADA,EAAO,MAAM,yCAAyC,GAC/C;CAGT,IAAM,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAE/D,EAAE,mBAAmB,MAAoB,EAAyB;EACtE,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GAEK,IAAqB,EAAU,eAAe,OAC9C,IAAoB,EACxB,EAAoB,cACpB,CACF,GAEM,IAAgB,EACnB,KAAmB,EAAqB,iBAC3C,GAEM,IAAS,EAAU,aAAa,OAEhC,IAAiB,EAAU,SAAS,KAAK,EAAU,SAAS,KAAK,KAAA,GACjE,IAA+B,MAAmB,iBAClD,KAA4B,GAA2C,MAAe;EAC1F,IAAI,CAAC,EAAc,CAAS,GAAG;GAC7B,EAAO,MAAM,yCAAyC;GACtD;EACF;EACA,IAAM,IAA4C,EAChD,IACC,MAA0C;GAEzC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAiBA,OAfA,EAAM,gBAAgB;EAMpB,IAAM,KAAa,EAAU,0BAA0B,CAAC,GAAG,QACxD,MAAO,MAAO,cACjB;EACA,EACE,0BACA,IAA+B,CAAC,GAAG,GAAW,cAAc,IAAI,CAClE;CACF,GAAG,CAAC,CAA4B,CAAC,GAG/B,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;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;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;IACF,EAAQ,oBAAoB,CAAC,GAAG,KAAK,MACrC,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAAG;GACJ,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAyB,YAAY;MACnC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
1
+ {"version":3,"file":"StepLowIncomePersonalInfo-D2XooNBZ.js","names":[],"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\";\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 { 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(\n verificationService.programTheme,\n countryChoiceValue,\n );\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 {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n 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":";;;;;;;;;;;;;;;;;;;;;;;;4CA0Da,KAAsC,EACjD,6BAC6C;CAC7C,IAAM,EAAE,iBAAc,GAChB,IAAU,EAAW;CAE3B,IAAI,CAAC,EAAc,CAAS,GAE1B,OADA,EAAO,MAAM,yCAAyC,GAC/C;CAGT,IAAM,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAE/D,EAAE,mBAAmB,MAAoB,EAAyB;EACtE,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;CACF,CAAC,GAEK,IAAqB,EAAU,eAAe,OAC9C,IAAoB,EACx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