@sheerid/jslib-nightly 2.259.0-alpha.0 → 2.259.0-alpha.2

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 (339) hide show
  1. package/_mysheerid-preview.css +3 -3
  2. package/_mysheerid-preview.js +1448 -1437
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/chunk/AddressComponent-CJV3vrMt.js +3 -3
  5. package/chunk/AddressComponent-DMwOmjiG.js +3 -3
  6. package/chunk/AnnouncingHeader-BF69hVVm.js +3 -3
  7. package/chunk/AnnouncingHeader-DjgtqEeX.js +3 -3
  8. package/chunk/{ApiUrls-DD69zqho.js → ApiUrls-BpvEY_I3.js} +4 -4
  9. package/chunk/{ApiUrls-BUOgPCsd.js.map → ApiUrls-BpvEY_I3.js.map} +1 -1
  10. package/chunk/{ApiUrls-BUOgPCsd.js → ApiUrls-Qas0Xjyd.js} +4 -4
  11. package/chunk/{ApiUrls-DD69zqho.js.map → ApiUrls-Qas0Xjyd.js.map} +1 -1
  12. package/chunk/{BirthDateComponent-CbC-mm0W.js → BirthDateComponent-DFHRO9YQ.js} +4 -4
  13. package/chunk/{BirthDateComponent-C0-e7KwX.js.map → BirthDateComponent-DFHRO9YQ.js.map} +1 -1
  14. package/chunk/{BirthDateComponent-C0-e7KwX.js → BirthDateComponent-Dh5xAxOF.js} +4 -4
  15. package/chunk/{BirthDateComponent-CbC-mm0W.js.map → BirthDateComponent-Dh5xAxOF.js.map} +1 -1
  16. package/chunk/{CaptchaComponent-Duz84ZKe.js → CaptchaComponent-DaH202Ah.js} +5 -5
  17. package/chunk/{CaptchaComponent-BLfz276x.js.map → CaptchaComponent-DaH202Ah.js.map} +1 -1
  18. package/chunk/{CaptchaComponent-BLfz276x.js → CaptchaComponent-QYGB0QuK.js} +5 -5
  19. package/chunk/{CaptchaComponent-Duz84ZKe.js.map → CaptchaComponent-QYGB0QuK.js.map} +1 -1
  20. package/chunk/{ChangeLocaleComponent-MUKxUCnP.js → ChangeLocaleComponent-DdX2nV2D.js} +4 -4
  21. package/chunk/{ChangeLocaleComponent-MUKxUCnP.js.map → ChangeLocaleComponent-DdX2nV2D.js.map} +1 -1
  22. package/chunk/{ChangeLocaleComponent-TWfz6Ckg.js → ChangeLocaleComponent-QMQdbxxB.js} +4 -4
  23. package/chunk/{ChangeLocaleComponent-TWfz6Ckg.js.map → ChangeLocaleComponent-QMQdbxxB.js.map} +1 -1
  24. package/chunk/City-CmO85Z9x.js +3 -3
  25. package/chunk/City-DlWin4GX.js +3 -3
  26. package/chunk/{CollegeNameComponent-B1Ca_eWx.js → CollegeNameComponent-CIhHISji.js} +4 -4
  27. package/chunk/{CollegeNameComponent-B1Ca_eWx.js.map → CollegeNameComponent-CIhHISji.js.map} +1 -1
  28. package/chunk/{CollegeNameComponent-DyjsG19X.js → CollegeNameComponent-D_dKLkKY.js} +4 -4
  29. package/chunk/{CollegeNameComponent-DyjsG19X.js.map → CollegeNameComponent-D_dKLkKY.js.map} +1 -1
  30. package/chunk/CopyToClipboardComponent-1BeB_oX_.js +3 -3
  31. package/chunk/CopyToClipboardComponent-C1BnmvlK.js +3 -3
  32. package/chunk/{CountryComponentWrapper-D13yeww-.js → CountryComponentWrapper-Du13nINk.js} +4 -4
  33. package/chunk/{CountryComponentWrapper-1B1UB23s.js.map → CountryComponentWrapper-Du13nINk.js.map} +1 -1
  34. package/chunk/{CountryComponentWrapper-1B1UB23s.js → CountryComponentWrapper-zWLRBrRp.js} +4 -4
  35. package/chunk/{CountryComponentWrapper-D13yeww-.js.map → CountryComponentWrapper-zWLRBrRp.js.map} +1 -1
  36. package/chunk/{DischargeDateComponent-Csnt8D2b.js → DischargeDateComponent-DH3gbXN-.js} +6 -6
  37. package/chunk/{DischargeDateComponent-Csnt8D2b.js.map → DischargeDateComponent-DH3gbXN-.js.map} +1 -1
  38. package/chunk/{DischargeDateComponent-DSVPepGi.js → DischargeDateComponent-DpNsH3Q4.js} +6 -6
  39. package/chunk/{DischargeDateComponent-DSVPepGi.js.map → DischargeDateComponent-DpNsH3Q4.js.map} +1 -1
  40. package/chunk/DriverLicenseNumberComponent-D8q18o2M.js +3 -3
  41. package/chunk/DriverLicenseNumberComponent-DgXMM-Pt.js +3 -3
  42. package/chunk/{EmailLoopPending-CbRnSu3F.js → EmailLoopPending-BpsA3nlg.js} +4 -4
  43. package/chunk/{EmailLoopPending-CbRnSu3F.js.map → EmailLoopPending-BpsA3nlg.js.map} +1 -1
  44. package/chunk/{EmailLoopPending-CaTCBPNd.js → EmailLoopPending-Dvufu09u.js} +4 -4
  45. package/chunk/{EmailLoopPending-CaTCBPNd.js.map → EmailLoopPending-Dvufu09u.js.map} +1 -1
  46. package/chunk/{ExtraMessage-BI-sKAfh.js → ExtraMessage-9BMK2Fd_.js} +4 -4
  47. package/chunk/{ExtraMessage-BI-sKAfh.js.map → ExtraMessage-9BMK2Fd_.js.map} +1 -1
  48. package/chunk/{ExtraMessage-DN9YcUAI.js → ExtraMessage-Ca6AF5JE.js} +4 -4
  49. package/chunk/{ExtraMessage-DN9YcUAI.js.map → ExtraMessage-Ca6AF5JE.js.map} +1 -1
  50. package/chunk/{FirstResponderOrganizationComponent-DzOguBO7.js → FirstResponderOrganizationComponent-C88NJlsu.js} +4 -4
  51. package/chunk/{FirstResponderOrganizationComponent-DOj8zCQD.js.map → FirstResponderOrganizationComponent-C88NJlsu.js.map} +1 -1
  52. package/chunk/{FirstResponderOrganizationComponent-DOj8zCQD.js → FirstResponderOrganizationComponent-DgcptK9s.js} +4 -4
  53. package/chunk/{FirstResponderOrganizationComponent-DzOguBO7.js.map → FirstResponderOrganizationComponent-DgcptK9s.js.map} +1 -1
  54. package/chunk/{FormFieldInputSelect-6vq4o7k8.js → FormFieldInputSelect-BJlHmrSC.js} +4 -4
  55. package/chunk/{FormFieldInputSelect-6vq4o7k8.js.map → FormFieldInputSelect-BJlHmrSC.js.map} +1 -1
  56. package/chunk/{FormFieldInputSelect-Cu_CS04I.js → FormFieldInputSelect-qjIEfk_y.js} +4 -4
  57. package/chunk/{FormFieldInputSelect-Cu_CS04I.js.map → FormFieldInputSelect-qjIEfk_y.js.map} +1 -1
  58. package/chunk/FormFieldLayout-BpmeMD4X.js +3 -3
  59. package/chunk/FormFieldLayout-DIcCOsGu.js +3 -3
  60. package/chunk/FormFieldText-zjWk7Cyc.js +3 -3
  61. package/chunk/FormFieldText-zuTjfmLt.js +3 -3
  62. package/chunk/{FormFieldTypeahead-BiT423mU.js → FormFieldTypeahead-4sP6yrSp.js} +6 -6
  63. package/chunk/{FormFieldTypeahead-BiT423mU.js.map → FormFieldTypeahead-4sP6yrSp.js.map} +1 -1
  64. package/chunk/{FormFieldTypeahead-B_rJDR1Z.js → FormFieldTypeahead-CrDv6QmZ.js} +6 -6
  65. package/chunk/{FormFieldTypeahead-B_rJDR1Z.js.map → FormFieldTypeahead-CrDv6QmZ.js.map} +1 -1
  66. package/chunk/{FormFooterComponent-CHDsW47Q.js → FormFooterComponent-CXzDxR2J.js} +1554 -1587
  67. package/chunk/FormFooterComponent-CXzDxR2J.js.map +1 -0
  68. package/chunk/{FormFooterComponent-7fnUts4r.js → FormFooterComponent-D9_fIqUs.js} +1812 -1845
  69. package/chunk/FormFooterComponent-D9_fIqUs.js.map +1 -0
  70. package/chunk/{FormSelectChoice-Dz4pLT4V.js → FormSelectChoice-BQPP65dN.js} +4 -4
  71. package/chunk/{FormSelectChoice-C4fW0dhz.js.map → FormSelectChoice-BQPP65dN.js.map} +1 -1
  72. package/chunk/{FormSelectChoice-C4fW0dhz.js → FormSelectChoice-QRH1HmYa.js} +4 -4
  73. package/chunk/{FormSelectChoice-Dz4pLT4V.js.map → FormSelectChoice-QRH1HmYa.js.map} +1 -1
  74. package/chunk/InputText-Bzkl8mKj.js +3 -3
  75. package/chunk/InputText-DA8wfbQM.js +3 -3
  76. package/chunk/{LicensedProfessionalOrganizationComponent-CrcHRLxl.js → LicensedProfessionalOrganizationComponent-Cy9sdOZC.js} +4 -4
  77. package/chunk/{LicensedProfessionalOrganizationComponent-CrcHRLxl.js.map → LicensedProfessionalOrganizationComponent-Cy9sdOZC.js.map} +1 -1
  78. package/chunk/{LicensedProfessionalOrganizationComponent-daoOlt5_.js → LicensedProfessionalOrganizationComponent-DD9CuMfT.js} +4 -4
  79. package/chunk/{LicensedProfessionalOrganizationComponent-daoOlt5_.js.map → LicensedProfessionalOrganizationComponent-DD9CuMfT.js.map} +1 -1
  80. package/chunk/LogoComponent-BMeuu-aK.js +3 -3
  81. package/chunk/LogoComponent-BxIXOXCM.js +3 -3
  82. package/chunk/{LowIncomeOrganizationComponent-DRHBlX4K.js → LowIncomeOrganizationComponent-D3-otdoS.js} +6 -6
  83. package/chunk/{LowIncomeOrganizationComponent-Bi1VMWy1.js.map → LowIncomeOrganizationComponent-D3-otdoS.js.map} +1 -1
  84. package/chunk/{LowIncomeOrganizationComponent-Bi1VMWy1.js → LowIncomeOrganizationComponent-Dpvvj9n4.js} +6 -6
  85. package/chunk/{LowIncomeOrganizationComponent-DRHBlX4K.js.map → LowIncomeOrganizationComponent-Dpvvj9n4.js.map} +1 -1
  86. package/chunk/{MedicalProfessionalOrganizationComponent-Z3Q-VAql.js → MedicalProfessionalOrganizationComponent-B-hFqd6W.js} +4 -4
  87. package/chunk/{MedicalProfessionalOrganizationComponent-UDY7IdWY.js.map → MedicalProfessionalOrganizationComponent-B-hFqd6W.js.map} +1 -1
  88. package/chunk/{MedicalProfessionalOrganizationComponent-UDY7IdWY.js → MedicalProfessionalOrganizationComponent-B_6Eeh8t.js} +4 -4
  89. package/chunk/{MedicalProfessionalOrganizationComponent-Z3Q-VAql.js.map → MedicalProfessionalOrganizationComponent-B_6Eeh8t.js.map} +1 -1
  90. package/chunk/MemberIdComponent-DMGaNM9l.js +3 -3
  91. package/chunk/MemberIdComponent-Dva2Xx7J.js +3 -3
  92. package/chunk/{MembershipOrganizationComponent-COGXFFDB.js → MembershipOrganizationComponent-CfLlUdPl.js} +4 -4
  93. package/chunk/{MembershipOrganizationComponent-B-fQOzaF.js.map → MembershipOrganizationComponent-CfLlUdPl.js.map} +1 -1
  94. package/chunk/{MembershipOrganizationComponent-B-fQOzaF.js → MembershipOrganizationComponent-DuJZlKLf.js} +4 -4
  95. package/chunk/{MembershipOrganizationComponent-COGXFFDB.js.map → MembershipOrganizationComponent-DuJZlKLf.js.map} +1 -1
  96. package/chunk/Onfido-CTCgAwnB.js +3 -3
  97. package/chunk/PersonalInfoStepSubmitButton-D3lzSm2E.js +3 -3
  98. package/chunk/PersonalInfoStepSubmitButton-Ywai8bYu.js +3 -3
  99. package/chunk/{PersonalInfoStepWrapper-fu8GN5uT.js → PersonalInfoStepWrapper-B-1TuvRJ.js} +4 -4
  100. package/chunk/{PersonalInfoStepWrapper-fu8GN5uT.js.map → PersonalInfoStepWrapper-B-1TuvRJ.js.map} +1 -1
  101. package/chunk/{PersonalInfoStepWrapper-C10gEXaL.js → PersonalInfoStepWrapper-DgL_kGk3.js} +5 -5
  102. package/chunk/{PersonalInfoStepWrapper-C10gEXaL.js.map → PersonalInfoStepWrapper-DgL_kGk3.js.map} +1 -1
  103. package/chunk/PostalCodeComponent-BGzBByZd.js +3 -3
  104. package/chunk/PostalCodeComponent-C97fgZFI.js +3 -3
  105. package/chunk/SSN-CNzKgddw.js +3 -3
  106. package/chunk/SSN-mk_cMbDH.js +3 -3
  107. package/chunk/{StateSelectComponent-KMddp4QG.js → StateSelectComponent-Cx1_JBfI.js} +4 -4
  108. package/chunk/{StateSelectComponent-D7sByFD8.js.map → StateSelectComponent-Cx1_JBfI.js.map} +1 -1
  109. package/chunk/{StateSelectComponent-D7sByFD8.js → StateSelectComponent-D2j7QCvj.js} +4 -4
  110. package/chunk/{StateSelectComponent-KMddp4QG.js.map → StateSelectComponent-D2j7QCvj.js.map} +1 -1
  111. package/chunk/{StatusComponent-G15FSZBx.js → StatusComponent-Cxw9bsOp.js} +4 -4
  112. package/chunk/{StatusComponent-Cj2osQIm.js.map → StatusComponent-Cxw9bsOp.js.map} +1 -1
  113. package/chunk/{StatusComponent-Cj2osQIm.js → StatusComponent-_HBklXve.js} +4 -4
  114. package/chunk/{StatusComponent-G15FSZBx.js.map → StatusComponent-_HBklXve.js.map} +1 -1
  115. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DXKo_X5e.js → StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js} +12 -12
  116. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DEMgmtg9.js.map → StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js.map} +1 -1
  117. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DEMgmtg9.js → StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js} +12 -12
  118. package/chunk/{StepActiveMilitaryPersonalInfoComponent-DXKo_X5e.js.map → StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js.map} +1 -1
  119. package/chunk/{StepAgePersonalInfo-DBmZQkoN.js → StepAgePersonalInfo-DmBYGHG8.js} +11 -11
  120. package/chunk/{StepAgePersonalInfo-Cg2KJl87.js.map → StepAgePersonalInfo-DmBYGHG8.js.map} +1 -1
  121. package/chunk/{StepAgePersonalInfo-Cg2KJl87.js → StepAgePersonalInfo-X-eQf_2z.js} +11 -11
  122. package/chunk/{StepAgePersonalInfo-DBmZQkoN.js.map → StepAgePersonalInfo-X-eQf_2z.js.map} +1 -1
  123. package/chunk/StepCard-7t2vkHqM.js +3 -3
  124. package/chunk/StepCard-BtvCt-ND.js +3 -3
  125. package/chunk/{StepCollectIdentifier-D1iGAPFT.js → StepCollectIdentifier-8QO4sVSo.js} +6 -6
  126. package/chunk/{StepCollectIdentifier-D1iGAPFT.js.map → StepCollectIdentifier-8QO4sVSo.js.map} +1 -1
  127. package/chunk/{StepCollectIdentifier-Dg3uYsGk.js → StepCollectIdentifier-bhlSO88L.js} +4 -4
  128. package/chunk/{StepCollectIdentifier-Dg3uYsGk.js.map → StepCollectIdentifier-bhlSO88L.js.map} +1 -1
  129. package/chunk/{StepCollectMilitaryStatusComponent-B-rKAGLF.js → StepCollectMilitaryStatusComponent-CwiPlk5w.js} +4 -4
  130. package/chunk/StepCollectMilitaryStatusComponent-f2ZW0KJY.js +9 -0
  131. package/chunk/{StepCollectPersonalInfo-Bd2neHAt.js → StepCollectPersonalInfo-R-5UOPTA.js} +19 -19
  132. package/chunk/{StepCollectPersonalInfo-Bd2neHAt.js.map → StepCollectPersonalInfo-R-5UOPTA.js.map} +1 -1
  133. package/chunk/{StepCollectPersonalInfo-CgCFL5Qi.js → StepCollectPersonalInfo-r2uBVXk_.js} +21 -21
  134. package/chunk/{StepCollectPersonalInfo-CgCFL5Qi.js.map → StepCollectPersonalInfo-r2uBVXk_.js.map} +1 -1
  135. package/chunk/StepCompleteAuthentication-C2HoMZzF.js +3 -3
  136. package/chunk/StepCompleteAuthentication-Cs4zhI-D.js +3 -3
  137. package/chunk/{StepConsolation-C-p5oy72.js → StepConsolation-CwLUx5P6.js} +4 -4
  138. package/chunk/{StepConsolation-_rgGx9HJ.js.map → StepConsolation-CwLUx5P6.js.map} +1 -1
  139. package/chunk/{StepConsolation-_rgGx9HJ.js → StepConsolation-J6tneCHK.js} +4 -4
  140. package/chunk/{StepConsolation-C-p5oy72.js.map → StepConsolation-J6tneCHK.js.map} +1 -1
  141. package/chunk/{StepDocUpload-CNsA5Gor.js → StepDocUpload-Dl-gzKui.js} +4 -4
  142. package/chunk/{StepDocUpload-CNsA5Gor.js.map → StepDocUpload-Dl-gzKui.js.map} +1 -1
  143. package/chunk/{StepDocUpload-BvJS2i9h.js → StepDocUpload-dc7sQRtA.js} +4 -4
  144. package/chunk/{StepDocUpload-BvJS2i9h.js.map → StepDocUpload-dc7sQRtA.js.map} +1 -1
  145. package/chunk/{StepDriverLicensePersonalInfoComponent-BHw8h_xd.js → StepDriverLicensePersonalInfoComponent-CkHJjXlR.js} +9 -9
  146. package/chunk/{StepDriverLicensePersonalInfoComponent-BHw8h_xd.js.map → StepDriverLicensePersonalInfoComponent-CkHJjXlR.js.map} +1 -1
  147. package/chunk/{StepDriverLicensePersonalInfoComponent-nqBCtdvd.js → StepDriverLicensePersonalInfoComponent-DWZtsgBr.js} +9 -9
  148. package/chunk/{StepDriverLicensePersonalInfoComponent-nqBCtdvd.js.map → StepDriverLicensePersonalInfoComponent-DWZtsgBr.js.map} +1 -1
  149. package/chunk/{StepEmailLoop-BMJqy8Gr.js → StepEmailLoop-BDRiI0kO.js} +5 -5
  150. package/chunk/{StepEmailLoop-BMJqy8Gr.js.map → StepEmailLoop-BDRiI0kO.js.map} +1 -1
  151. package/chunk/{StepEmailLoop-DrIdPigE.js → StepEmailLoop-DWNRCm1O.js} +5 -5
  152. package/chunk/{StepEmailLoop-DrIdPigE.js.map → StepEmailLoop-DWNRCm1O.js.map} +1 -1
  153. package/chunk/{StepEmploymentPersonalInfo-ByQh_PGu.js → StepEmploymentPersonalInfo-C0UAANQZ.js} +10 -10
  154. package/chunk/{StepEmploymentPersonalInfo-BNFD_ATO.js.map → StepEmploymentPersonalInfo-C0UAANQZ.js.map} +1 -1
  155. package/chunk/{StepEmploymentPersonalInfo-BNFD_ATO.js → StepEmploymentPersonalInfo-al1phPDp.js} +10 -10
  156. package/chunk/{StepEmploymentPersonalInfo-ByQh_PGu.js.map → StepEmploymentPersonalInfo-al1phPDp.js.map} +1 -1
  157. package/chunk/{StepFirstResponderPersonalInfo-tLOc2kvw.js → StepFirstResponderPersonalInfo-Byb5gsnf.js} +12 -12
  158. package/chunk/{StepFirstResponderPersonalInfo-tLOc2kvw.js.map → StepFirstResponderPersonalInfo-Byb5gsnf.js.map} +1 -1
  159. package/chunk/{StepFirstResponderPersonalInfo-yXdXVaHX.js → StepFirstResponderPersonalInfo-Ci8gAYOs.js} +12 -12
  160. package/chunk/{StepFirstResponderPersonalInfo-yXdXVaHX.js.map → StepFirstResponderPersonalInfo-Ci8gAYOs.js.map} +1 -1
  161. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cx7wDOYq.js → StepGeneralIdentityPersonalInfoComponent-B2Kv9xw_.js} +10 -10
  162. package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cx7wDOYq.js.map → StepGeneralIdentityPersonalInfoComponent-B2Kv9xw_.js.map} +1 -1
  163. package/chunk/{StepGeneralIdentityPersonalInfoComponent-NiHNcRkI.js → StepGeneralIdentityPersonalInfoComponent-Ca9lo4Jp.js} +10 -10
  164. package/chunk/{StepGeneralIdentityPersonalInfoComponent-NiHNcRkI.js.map → StepGeneralIdentityPersonalInfoComponent-Ca9lo4Jp.js.map} +1 -1
  165. package/chunk/{StepHybridIdentityPersonalInfoComponent-BPTD_88b.js → StepHybridIdentityPersonalInfoComponent-BZ7Qu4iK.js} +10 -10
  166. package/chunk/{StepHybridIdentityPersonalInfoComponent-BPTD_88b.js.map → StepHybridIdentityPersonalInfoComponent-BZ7Qu4iK.js.map} +1 -1
  167. package/chunk/{StepHybridIdentityPersonalInfoComponent-DciYC3Cu.js → StepHybridIdentityPersonalInfoComponent-BjS4F6j2.js} +10 -10
  168. package/chunk/{StepHybridIdentityPersonalInfoComponent-DciYC3Cu.js.map → StepHybridIdentityPersonalInfoComponent-BjS4F6j2.js.map} +1 -1
  169. package/chunk/{StepIDCheckLoop-BMspmYhF.js → StepIDCheckLoop-DiGRkuBM.js} +4 -4
  170. package/chunk/{StepIDCheckLoop-BMspmYhF.js.map → StepIDCheckLoop-DiGRkuBM.js.map} +1 -1
  171. package/chunk/{StepIDCheckLoop-WJt2qQ-U.js → StepIDCheckLoop-Djow0hoO.js} +4 -4
  172. package/chunk/{StepIDCheckLoop-WJt2qQ-U.js.map → StepIDCheckLoop-Djow0hoO.js.map} +1 -1
  173. package/chunk/{StepIDCheckLoopOnfido-BEH6bjb9.js → StepIDCheckLoopOnfido-BvMXuWoN.js} +6 -6
  174. package/chunk/{StepIDCheckLoopOnfido-CJctkNAr.js.map → StepIDCheckLoopOnfido-BvMXuWoN.js.map} +1 -1
  175. package/chunk/{StepIDCheckLoopOnfido-CJctkNAr.js → StepIDCheckLoopOnfido-CT458GtS.js} +6 -6
  176. package/chunk/{StepIDCheckLoopOnfido-BEH6bjb9.js.map → StepIDCheckLoopOnfido-CT458GtS.js.map} +1 -1
  177. package/chunk/{StepIDCheckLoopRegula-DnQU1Cu8.js → StepIDCheckLoopRegula-BvLpBUxe.js} +4 -4
  178. package/chunk/{StepIDCheckLoopRegula-CIneTQ2D.js.map → StepIDCheckLoopRegula-BvLpBUxe.js.map} +1 -1
  179. package/chunk/{StepIDCheckLoopRegula-CIneTQ2D.js → StepIDCheckLoopRegula-DcB8ugg0.js} +4 -4
  180. package/chunk/{StepIDCheckLoopRegula-DnQU1Cu8.js.map → StepIDCheckLoopRegula-DcB8ugg0.js.map} +1 -1
  181. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-B_ClVHZA.js → StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.js} +14 -14
  182. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-B_ClVHZA.js.map → StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.js.map} +1 -1
  183. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Du_oFY3-.js → StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.js} +14 -14
  184. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Du_oFY3-.js.map → StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.js.map} +1 -1
  185. package/chunk/{StepLicensedProfessionalPersonalInfo-Du8wz9zW.js → StepLicensedProfessionalPersonalInfo-C2gyvg1m.js} +12 -12
  186. package/chunk/{StepLicensedProfessionalPersonalInfo-C_Qaiumd.js.map → StepLicensedProfessionalPersonalInfo-C2gyvg1m.js.map} +1 -1
  187. package/chunk/{StepLicensedProfessionalPersonalInfo-C_Qaiumd.js → StepLicensedProfessionalPersonalInfo-DWvD1Z6N.js} +12 -12
  188. package/chunk/{StepLicensedProfessionalPersonalInfo-Du8wz9zW.js.map → StepLicensedProfessionalPersonalInfo-DWvD1Z6N.js.map} +1 -1
  189. package/chunk/{StepLowIncomePersonalInfo-Bdzv2_B2.js → StepLowIncomePersonalInfo-CTZREXGu.js} +14 -14
  190. package/chunk/{StepLowIncomePersonalInfo-Bdzv2_B2.js.map → StepLowIncomePersonalInfo-CTZREXGu.js.map} +1 -1
  191. package/chunk/{StepLowIncomePersonalInfo-BrcbPtV5.js → StepLowIncomePersonalInfo-CZlgdCqq.js} +12 -12
  192. package/chunk/{StepLowIncomePersonalInfo-BrcbPtV5.js.map → StepLowIncomePersonalInfo-CZlgdCqq.js.map} +1 -1
  193. package/chunk/{StepMedicalProfessionalPersonalInfo-CtD-cQM2.js → StepMedicalProfessionalPersonalInfo-CP9XPNbL.js} +13 -13
  194. package/chunk/{StepMedicalProfessionalPersonalInfo-CtD-cQM2.js.map → StepMedicalProfessionalPersonalInfo-CP9XPNbL.js.map} +1 -1
  195. package/chunk/{StepMedicalProfessionalPersonalInfo-DvPyWRde.js → StepMedicalProfessionalPersonalInfo-DmsfNlPZ.js} +13 -13
  196. package/chunk/{StepMedicalProfessionalPersonalInfo-DvPyWRde.js.map → StepMedicalProfessionalPersonalInfo-DmsfNlPZ.js.map} +1 -1
  197. package/chunk/{StepMemberPersonalInfo-BWnOho3Y.js → StepMemberPersonalInfo-Dpb5-ENF.js} +11 -11
  198. package/chunk/{StepMemberPersonalInfo-BWnOho3Y.js.map → StepMemberPersonalInfo-Dpb5-ENF.js.map} +1 -1
  199. package/chunk/{StepMemberPersonalInfo-WhRolEt-.js → StepMemberPersonalInfo-TjSa0NJV.js} +11 -11
  200. package/chunk/{StepMemberPersonalInfo-WhRolEt-.js.map → StepMemberPersonalInfo-TjSa0NJV.js.map} +1 -1
  201. package/chunk/{StepMoverPersonalInfo-BCtzi0DP.js → StepMoverPersonalInfo-6bjpRGAv.js} +8 -8
  202. package/chunk/{StepMoverPersonalInfo-BCtzi0DP.js.map → StepMoverPersonalInfo-6bjpRGAv.js.map} +1 -1
  203. package/chunk/{StepMoverPersonalInfo-ThmViqPc.js → StepMoverPersonalInfo-vv7-jdz0.js} +8 -8
  204. package/chunk/{StepMoverPersonalInfo-ThmViqPc.js.map → StepMoverPersonalInfo-vv7-jdz0.js.map} +1 -1
  205. package/chunk/{StepOverrideComponent-DHKPSgj1.js → StepOverrideComponent-4f8ZZxxE.js} +4 -4
  206. package/chunk/{StepOverrideComponent-BJC_yQiA.js.map → StepOverrideComponent-4f8ZZxxE.js.map} +1 -1
  207. package/chunk/{StepOverrideComponent-BJC_yQiA.js → StepOverrideComponent-BXnbZhfO.js} +4 -4
  208. package/chunk/{StepOverrideComponent-DHKPSgj1.js.map → StepOverrideComponent-BXnbZhfO.js.map} +1 -1
  209. package/chunk/{StepSMSLoop-B9eGlzMK.js → StepSMSLoop-DAKxJhXo.js} +4 -4
  210. package/chunk/{StepSMSLoop-B9eGlzMK.js.map → StepSMSLoop-DAKxJhXo.js.map} +1 -1
  211. package/chunk/{StepSMSLoop-CAM2ISnZ.js → StepSMSLoop-DO4S-Aje.js} +4 -4
  212. package/chunk/{StepSMSLoop-CAM2ISnZ.js.map → StepSMSLoop-DO4S-Aje.js.map} +1 -1
  213. package/chunk/StepSSO-BRFhNvkp.js +3 -3
  214. package/chunk/StepSSO-BaFk7RFJ.js +3 -3
  215. package/chunk/{StepSocialSecurityNumber-C_ecECqL.js → StepSocialSecurityNumber-BseFM9rt.js} +5 -5
  216. package/chunk/{StepSocialSecurityNumber-7HMjyTzr.js.map → StepSocialSecurityNumber-BseFM9rt.js.map} +1 -1
  217. package/chunk/{StepSocialSecurityNumber-7HMjyTzr.js → StepSocialSecurityNumber-D0_62BYK.js} +5 -5
  218. package/chunk/{StepSocialSecurityNumber-C_ecECqL.js.map → StepSocialSecurityNumber-D0_62BYK.js.map} +1 -1
  219. package/chunk/{StepStudentPersonalInfo-Da5L4hHz.js → StepStudentPersonalInfo-0LRBqSx5.js} +11 -11
  220. package/chunk/{StepStudentPersonalInfo-CMNDwmxq.js.map → StepStudentPersonalInfo-0LRBqSx5.js.map} +1 -1
  221. package/chunk/{StepStudentPersonalInfo-CMNDwmxq.js → StepStudentPersonalInfo-CLG5AxSd.js} +11 -11
  222. package/chunk/{StepStudentPersonalInfo-Da5L4hHz.js.map → StepStudentPersonalInfo-CLG5AxSd.js.map} +1 -1
  223. package/chunk/{StepSuccess-D4JsYt9Q.js → StepSuccess-8Ek9VvK_.js} +4 -4
  224. package/chunk/{StepSuccess-B52Sr6Bw.js.map → StepSuccess-8Ek9VvK_.js.map} +1 -1
  225. package/chunk/{StepSuccess-B52Sr6Bw.js → StepSuccess-Be30r2Og.js} +4 -4
  226. package/chunk/{StepSuccess-D4JsYt9Q.js.map → StepSuccess-Be30r2Og.js.map} +1 -1
  227. package/chunk/{StepTeacherPersonalInfo-Di4CTvPy.js → StepTeacherPersonalInfo-BYTmkyxy.js} +12 -12
  228. package/chunk/{StepTeacherPersonalInfo-C_upVar3.js.map → StepTeacherPersonalInfo-BYTmkyxy.js.map} +1 -1
  229. package/chunk/{StepTeacherPersonalInfo-C_upVar3.js → StepTeacherPersonalInfo-BfyMicng.js} +12 -12
  230. package/chunk/{StepTeacherPersonalInfo-Di4CTvPy.js.map → StepTeacherPersonalInfo-BfyMicng.js.map} +1 -1
  231. package/chunk/StepThirdPartyLoop-BGHCbduX.js +3 -3
  232. package/chunk/StepThirdPartyLoop-ZHByQpHa.js +3 -3
  233. package/chunk/{TeacherSchoolComponent-BMETb7Az.js → TeacherSchoolComponent-IkCV6bH-.js} +4 -4
  234. package/chunk/{TeacherSchoolComponent-BuNyNPwS.js.map → TeacherSchoolComponent-IkCV6bH-.js.map} +1 -1
  235. package/chunk/{TeacherSchoolComponent-BuNyNPwS.js → TeacherSchoolComponent-Qyri5g_X.js} +4 -4
  236. package/chunk/{TeacherSchoolComponent-BMETb7Az.js.map → TeacherSchoolComponent-Qyri5g_X.js.map} +1 -1
  237. package/chunk/TestingRouteOverrides-B-zcTBa_.js +3 -3
  238. package/chunk/TestingRouteOverrides-BDCygTLC.js +3 -3
  239. package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
  240. package/chunk/{VerificationApiClient-CBlZ_xYL.js → VerificationApiClient-Br6D_KwQ.js} +4 -4
  241. package/chunk/{VerificationApiClient-CBlZ_xYL.js.map → VerificationApiClient-Br6D_KwQ.js.map} +1 -1
  242. package/chunk/{VerificationApiClient-Dm-ac5-R.js → VerificationApiClient-D6OYdL72.js} +4 -4
  243. package/chunk/{VerificationApiClient-Dm-ac5-R.js.map → VerificationApiClient-D6OYdL72.js.map} +1 -1
  244. package/chunk/{VerificationApiUtils-ChH7rF6h.js → VerificationApiUtils-D5oFJWD5.js} +5 -5
  245. package/chunk/{VerificationApiUtils-C7N2K9q4.js.map → VerificationApiUtils-D5oFJWD5.js.map} +1 -1
  246. package/chunk/{VerificationApiUtils-C7N2K9q4.js → VerificationApiUtils-rnfNWA2k.js} +5 -5
  247. package/chunk/{VerificationApiUtils-ChH7rF6h.js.map → VerificationApiUtils-rnfNWA2k.js.map} +1 -1
  248. package/chunk/ar-wkBEXxD9.js +3 -3
  249. package/chunk/bg-D2-seofX.js +3 -3
  250. package/chunk/bn-IN-B5PyYaJU.js +3 -3
  251. package/chunk/countryUtils-D2UBy7Uo.js +3 -3
  252. package/chunk/countryUtils-QSjR1rBI.js +3 -3
  253. package/chunk/cs-CsEnIopo.js +3 -3
  254. package/chunk/da-Da-m3VU_.js +3 -3
  255. package/chunk/de-BSoD5U3-.js +3 -3
  256. package/chunk/{downshift.esm-CRm7oOLa.js → downshift.esm-DWGiKAV_.js} +4 -4
  257. package/chunk/{downshift.esm-CRm7oOLa.js.map → downshift.esm-DWGiKAV_.js.map} +1 -1
  258. package/chunk/{downshift.esm-Ru5RFg-s.js → downshift.esm-oTd5iRZU.js} +40 -40
  259. package/chunk/{downshift.esm-Ru5RFg-s.js.map → downshift.esm-oTd5iRZU.js.map} +1 -1
  260. package/chunk/el-CFa6y9Ri.js +3 -3
  261. package/chunk/empties-BIoZK05_.js +3 -3
  262. package/chunk/empties-DHvaWflk.js +3 -3
  263. package/chunk/en-GB-V8XaGkaI.js +3 -3
  264. package/chunk/es-D18tLxcT.js +3 -3
  265. package/chunk/es-ES-7x2bVUQr.js +3 -3
  266. package/chunk/et-udrWMVlD.js +3 -3
  267. package/chunk/eventEmitter-CSG6jR7V.js +3 -3
  268. package/chunk/fa-DgwYULMs.js +3 -3
  269. package/chunk/fi-CkCWFGDC.js +3 -3
  270. package/chunk/fr-BprIFEa8.js +3 -3
  271. package/chunk/fr-CA-DrjICejr.js +3 -3
  272. package/chunk/ga-LaV5ZJgg.js +3 -3
  273. package/chunk/hi-IN-7dtEICYI.js +3 -3
  274. package/chunk/hr-2Bctl997.js +3 -3
  275. package/chunk/hu-BT0z6TPZ.js +3 -3
  276. package/chunk/id-BvyYep3X.js +3 -3
  277. package/chunk/intl-Yr2cw5px.js +3 -3
  278. package/chunk/is-DOsKfa80.js +3 -3
  279. package/chunk/it-3dX9AQk7.js +3 -3
  280. package/chunk/iw-5I90wqQ8.js +3 -3
  281. package/chunk/ja-CHdgbMgX.js +3 -3
  282. package/chunk/jsx-runtime-BknAqbDq.js +3 -3
  283. package/chunk/jsx-runtime-D_-z-h6n.js +3 -3
  284. package/chunk/kk-BriyNfHL.js +3 -3
  285. package/chunk/ko-DsMaax3V.js +3 -3
  286. package/chunk/lo-CjASRmNr.js +3 -3
  287. package/chunk/lt-DF29E1de.js +3 -3
  288. package/chunk/lv-DlHBZyt-.js +3 -3
  289. package/chunk/militaryStepHelpers-DSh6iat_.js +3 -3
  290. package/chunk/militaryStepHelpers-UF-7lF1f.js +3 -3
  291. package/chunk/mocks-1r84in2Q.js +3 -3
  292. package/chunk/mocks-CKXq8CZk.js +3 -3
  293. package/chunk/ms-B3vDtlFh.js +3 -3
  294. package/chunk/nl-BE-Dw1IGXuF.js +3 -3
  295. package/chunk/nl-Cqkrr5-r.js +3 -3
  296. package/chunk/no-876EdwkX.js +3 -3
  297. package/chunk/options-D19mRw5a.js +3 -3
  298. package/chunk/pl-B_G8s05-.js +3 -3
  299. package/chunk/programThemeGetters-Lz3L0Vh7.js +3 -3
  300. package/chunk/programThemeGetters-iBty-gXI.js +3 -3
  301. package/chunk/pt-BR-DWj043qk.js +3 -3
  302. package/chunk/pt-DckA3Jnn.js +3 -3
  303. package/chunk/refs-Bbe0gnJ3.js +3 -3
  304. package/chunk/refs-C_tB1qMA.js +3 -3
  305. package/chunk/ro-DukNcWCM.js +3 -3
  306. package/chunk/ru-RkdRQ7qb.js +3 -3
  307. package/chunk/sk-CPBgBtC5.js +3 -3
  308. package/chunk/sl-Cyj9PWmN.js +3 -3
  309. package/chunk/sr-Bm1GVW8m.js +3 -3
  310. package/chunk/strings-DWLVdUcm.js +3 -3
  311. package/chunk/sv-CcMmeZrG.js +3 -3
  312. package/chunk/sw-BPvl1ou6.js +3 -3
  313. package/chunk/ta-BPEH7IlE.js +3 -3
  314. package/chunk/th-Dd912RL5.js +3 -3
  315. package/chunk/tl-J_TdpjQz.js +3 -3
  316. package/chunk/tr-B-GrrJj0.js +3 -3
  317. package/chunk/uk-MohyvT_n.js +3 -3
  318. package/chunk/ur-CDYGpWMm.js +3 -3
  319. package/chunk/{useCollectFieldsEndpoint-DhBtrtjg.js → useCollectFieldsEndpoint-BSbEIf3Q.js} +5 -5
  320. package/chunk/{useCollectFieldsEndpoint-BBlv-Xfw.js.map → useCollectFieldsEndpoint-BSbEIf3Q.js.map} +1 -1
  321. package/chunk/{useCollectFieldsEndpoint-BBlv-Xfw.js → useCollectFieldsEndpoint-BuXZrZTD.js} +5 -5
  322. package/chunk/{useCollectFieldsEndpoint-DhBtrtjg.js.map → useCollectFieldsEndpoint-BuXZrZTD.js.map} +1 -1
  323. package/chunk/useMetrics-BdMoL7SD.js +3 -3
  324. package/chunk/useMetrics-D_8asKZL.js +3 -3
  325. package/chunk/validators-DTjHYDSK.js +3 -3
  326. package/chunk/validators-Do9xo2t_.js +3 -3
  327. package/chunk/vi-CdPTWSev.js +3 -3
  328. package/chunk/zh-DhnjKBoc.js +3 -3
  329. package/chunk/zh-HK-CWKNP_HX.js +3 -3
  330. package/chunk/zu-BpMHS0oR.js +3 -3
  331. package/package.json +1 -1
  332. package/sheerid-install.css +3 -3
  333. package/sheerid-install.js +3 -3
  334. package/sheerid.css +3 -3
  335. package/sheerid.js +1752 -1741
  336. package/sheerid.js.map +1 -1
  337. package/chunk/FormFooterComponent-7fnUts4r.js.map +0 -1
  338. package/chunk/FormFooterComponent-CHDsW47Q.js.map +0 -1
  339. package/chunk/StepCollectMilitaryStatusComponent-BI_jEHsZ.js +0 -9
@@ -1 +1 @@
1
- {"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-DXKo_X5e.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\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.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAwBA,QAXG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAIb,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;EAC3B,WAAU;YAHZ,CAKE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACuB;GACrB,qBAAoB;E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AAA,EAAA,KAAC,GAAD;IACE,YAAY,CAAC,CAAC,EAAoB,aAAa;IAC/C,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAA8B,eAAe,CAAQ,GACrD,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAA8B,YAAY;MACxC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA0C,EAAW,CAA8B"}
1
+ {"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\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.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EA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C,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA0C,EAAW,CAA8B"}
@@ -1,25 +1,25 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.259.0-alpha.0
4
- * BUILD_TIMESTAMP: 1784669389198
5
- * BUILD_DATE: Tue Jul 21 2026 21:29:49 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.259.0-alpha.2
4
+ * BUILD_TIMESTAMP: 1784832344356
5
+ * BUILD_DATE: Thu Jul 23 2026 18:45:44 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
7
7
  */
8
8
  import { Ft as e, Wt as t, ct as n, n as r } from "./options-D19mRw5a.js";
9
9
  import { a as i, c as a, n as o, t as s } from "./jsx-runtime-BknAqbDq.js";
10
- import { w as c } from "./FormFooterComponent-CHDsW47Q.js";
10
+ import { C as c } from "./FormFooterComponent-CXzDxR2J.js";
11
11
  import { K as l, V as u, Y as d, et as f, j as p, r as m, z as h } from "../sheerid.js";
12
- import { t as g } from "./useCollectFieldsEndpoint-DhBtrtjg.js";
13
- import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-BLfz276x.js";
12
+ import { t as g } from "./useCollectFieldsEndpoint-BSbEIf3Q.js";
13
+ import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-QYGB0QuK.js";
14
14
  import { n as C, t as w } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
15
- import { t as T } from "./BirthDateComponent-CbC-mm0W.js";
15
+ import { t as T } from "./BirthDateComponent-DFHRO9YQ.js";
16
16
  import { t as E } from "./PostalCodeComponent-C97fgZFI.js";
17
- import { t as D } from "./CountryComponentWrapper-D13yeww-.js";
17
+ import { t as D } from "./CountryComponentWrapper-Du13nINk.js";
18
18
  import { t as O } from "./City-CmO85Z9x.js";
19
19
  import { t as k } from "./AddressComponent-DMwOmjiG.js";
20
- import { t as A } from "./ExtraMessage-DN9YcUAI.js";
21
- import { t as j } from "./ChangeLocaleComponent-TWfz6Ckg.js";
22
- import { t as M } from "./PersonalInfoStepWrapper-fu8GN5uT.js";
20
+ import { t as A } from "./ExtraMessage-Ca6AF5JE.js";
21
+ import { t as j } from "./ChangeLocaleComponent-QMQdbxxB.js";
22
+ import { t as M } from "./PersonalInfoStepWrapper-B-1TuvRJ.js";
23
23
  //#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
24
24
  var N = /* @__PURE__ */ t(a(), 1), P = s(), F = i(({ verificationService: t, intl: i }) => {
25
25
  let a = t.viewModel, { fieldValidationErrors: s } = t, F = t.verificationResponse, I = c(F), L = n(() => a.countryChoice.value, h(p(t.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled, B = L !== "US" || t.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = r();
@@ -1 +1 @@
1
- {"version":3,"file":"StepAgePersonalInfo-Cg2KJl87.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.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 updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"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 updateAgeViewModel(\"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 <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAAoB,cACpB,CAGwB,CAC4C,EAAqB,KAAK,GAC1F,IACJ,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnD,IACJ,MAAqB,QACrB,EAAoB,aAAa,2BACjC,EAAoB,aAAa,gBAC7B,IACJ,MAAqB,QAAQ,EAAoB,aAAa,gBAE1D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW;CAE3B,AACE,CAAC,EAAsB,eACvB,EAAqB,YACrB,EAAqB,SAAS,SAAS,oBAAoB,KAE3D,EAAoB,4BAA4B;EAC9C,GAAG;EACH,aAAa;CACf,CAAC;CAGH,IAAM,KAAsB,GAAqC,MAAe;EAC9E,IAAM,IAAsC,EAAsB,GAAW,GAAK,CAAK;EACvF,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,uBAAoB,EAAyB;EACnD,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;EACA;CACF,CAAC;CAOD,OALA,EAAM,gBAAgB;EAEpB,EAAqC,e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AC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmB,YAAY;MAC7B,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;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,CAE0E"}
1
+ {"version":3,"file":"StepAgePersonalInfo-DmBYGHG8.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.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 updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"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 updateAgeViewModel(\"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 <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgeP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D;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,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,CAE0E"}
@@ -4,26 +4,26 @@
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.259.0-alpha.0
8
- * BUILD_TIMESTAMP: 1784669393177
9
- * BUILD_DATE: Tue Jul 21 2026 21:29:53 GMT+0000 (Coordinated Universal Time)
7
+ * VERSION: 2.259.0-alpha.2
8
+ * BUILD_TIMESTAMP: 1784832348235
9
+ * BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
10
10
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
11
11
  */
12
12
  import { Lt as e, Mt as t, Ut as n, s as r } from "./intl-Yr2cw5px.js";
13
13
  import { a as i, c as a, n as o, t as s } from "./jsx-runtime-D_-z-h6n.js";
14
- import { O as c } from "./FormFooterComponent-7fnUts4r.js";
14
+ import { D as c } from "./FormFooterComponent-D9_fIqUs.js";
15
15
  import { $ as l, A as u, B as d, G as f, J as p, R as m, n as h } from "../_mysheerid-preview.js";
16
- import { t as g } from "./useCollectFieldsEndpoint-BBlv-Xfw.js";
17
- import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-Duz84ZKe.js";
16
+ import { t as g } from "./useCollectFieldsEndpoint-BuXZrZTD.js";
17
+ import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-DaH202Ah.js";
18
18
  import { n as C, t as w } from "./PersonalInfoStepSubmitButton-D3lzSm2E.js";
19
- import { t as T } from "./BirthDateComponent-C0-e7KwX.js";
19
+ import { t as T } from "./BirthDateComponent-Dh5xAxOF.js";
20
20
  import { t as E } from "./PostalCodeComponent-BGzBByZd.js";
21
- import { t as D } from "./CountryComponentWrapper-1B1UB23s.js";
21
+ import { t as D } from "./CountryComponentWrapper-zWLRBrRp.js";
22
22
  import { t as O } from "./City-DlWin4GX.js";
23
23
  import { t as k } from "./AddressComponent-CJV3vrMt.js";
24
- import { t as A } from "./ExtraMessage-BI-sKAfh.js";
25
- import { t as j } from "./ChangeLocaleComponent-MUKxUCnP.js";
26
- import { t as M } from "./PersonalInfoStepWrapper-C10gEXaL.js";
24
+ import { t as A } from "./ExtraMessage-9BMK2Fd_.js";
25
+ import { t as j } from "./ChangeLocaleComponent-DdX2nV2D.js";
26
+ import { t as M } from "./PersonalInfoStepWrapper-DgL_kGk3.js";
27
27
  //#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
28
28
  var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, intl: i }) => {
29
29
  let a = n.viewModel, { fieldValidationErrors: s } = n, F = n.verificationResponse, I = c(F), L = e(() => a.countryChoice.value, m(u(n.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || n.programTheme.isSmsNotifierConfigured || n.programTheme.smsLoopEnabled, B = L !== "US" || n.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = r();
@@ -1 +1 @@
1
- {"version":3,"file":"StepAgePersonalInfo-DBmZQkoN.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.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 updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"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 updateAgeViewModel(\"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 <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAAoB,cACpB,CAGwB,CAC4C,EAAqB,KAAK,GAC1F,IACJ,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnD,IACJ,MAAqB,QACrB,EAAoB,aAAa,2BACjC,EAAoB,aAAa,gBAC7B,IACJ,MAAqB,QAAQ,EAAoB,aAAa,gBAE1D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW;CAE3B,AACE,CAAC,EAAsB,eACvB,EAAqB,YACrB,EAAqB,SAAS,SAAS,oBAAoB,KAE3D,EAAoB,4BAA4B;EAC9C,GAAG;EACH,aAAa;CACf,CAAC;CAGH,IAAM,KAAsB,GAAqC,MAAe;EAC9E,IAAM,IAAsC,EAAsB,GAAW,GAAK,CAAK;EACvF,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,uBAAoB,EAAyB;EACnD,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;EACA;CACF,CAAC;CAOD,OALA,EAAM,gBAAgB;EAEpB,EAAqC,eAAe,EAAU,aAAa,CAAmB;CAChG,GAAG,CAAC,EAAU,OAAO,CAAC,GAGpB,iBAAA,GAAA,EAAA,MAAC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,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmB,YAAY;MAC7B,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;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,CAE0E"}
1
+ {"version":3,"file":"StepAgePersonalInfo-X-eQf_2z.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.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 updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"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 updateAgeViewModel(\"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 <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAA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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,CAE0E"}
@@ -1,8 +1,8 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.259.0-alpha.0
4
- * BUILD_TIMESTAMP: 1784669389198
5
- * BUILD_DATE: Tue Jul 21 2026 21:29:49 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.259.0-alpha.2
4
+ * BUILD_TIMESTAMP: 1784832344356
5
+ * BUILD_DATE: Thu Jul 23 2026 18:45:44 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
7
7
  */
8
8
  import { t as e } from "./jsx-runtime-BknAqbDq.js";
@@ -4,9 +4,9 @@
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.259.0-alpha.0
8
- * BUILD_TIMESTAMP: 1784669393177
9
- * BUILD_DATE: Tue Jul 21 2026 21:29:53 GMT+0000 (Coordinated Universal Time)
7
+ * VERSION: 2.259.0-alpha.2
8
+ * BUILD_TIMESTAMP: 1784832348235
9
+ * BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
10
10
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
11
11
  */
12
12
  import { t as e } from "./jsx-runtime-D_-z-h6n.js";
@@ -1,18 +1,18 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.259.0-alpha.0
4
- * BUILD_TIMESTAMP: 1784669389198
5
- * BUILD_DATE: Tue Jul 21 2026 21:29:49 GMT+0000 (Coordinated Universal Time)
3
+ * VERSION: 2.259.0-alpha.2
4
+ * BUILD_TIMESTAMP: 1784832344356
5
+ * BUILD_DATE: Thu Jul 23 2026 18:45:44 GMT+0000 (Coordinated Universal Time)
6
6
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
7
7
  */
8
8
  import { Ft as e, c as t } from "./options-D19mRw5a.js";
9
9
  import { n, t as r } from "./jsx-runtime-BknAqbDq.js";
10
- import { t as i, w as a } from "./FormFooterComponent-CHDsW47Q.js";
10
+ import { C as i, t as a } from "./FormFooterComponent-CXzDxR2J.js";
11
11
  import { K as o, et as s, r as c } from "../sheerid.js";
12
12
  import { n as l, t as u } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
13
13
  //#region src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx
14
14
  var d = r(), f = ({ verificationService: r }) => {
15
- let f = r.viewModel, { fieldValidationErrors: p } = r, m = r.verificationResponse, h = a(m), g = (e, n) => {
15
+ let f = r.viewModel, { fieldValidationErrors: p } = r, m = r.verificationResponse, h = i(m), g = (e, n) => {
16
16
  let i = t(f, (t) => {
17
17
  t[e] = n;
18
18
  });
@@ -51,7 +51,7 @@ var d = r(), f = ({ verificationService: r }) => {
51
51
  })
52
52
  })
53
53
  ]
54
- }), /* @__PURE__ */ (0, d.jsx)(i, { verificationService: r })]
54
+ }), /* @__PURE__ */ (0, d.jsx)(a, { verificationService: r })]
55
55
  });
56
56
  };
57
57
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"StepCollectIdentifier-D1iGAPFT.js","names":[],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;aAqFa,KA7DkB,EAAE,6BAAsD;CACrF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAE/D,KAAoC,GAAuC,MAAe;EAC9F,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADA,EAAiC,SAAS,CAAQ,GAClD,EAAqC,SAAS,GAAU,CAAmB;KAC7E;KACA,YAAY,MAAiD,EAAqB,CAAK;IACxF,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
1
+ {"version":3,"file":"StepCollectIdentifier-8QO4sVSo.js","names":[],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;aAqFa,KA7DkB,EAAE,6BAAsD;CACrF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAE/D,KAAoC,GAAuC,MAAe;EAC9F,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADA,EAAiC,SAAS,CAAQ,GAClD,EAAqC,SAAS,GAAU,CAAmB;KAC7E;KACA,YAAY,MAAiD,EAAqB,CAAK;IACxF,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
@@ -4,14 +4,14 @@
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.259.0-alpha.0
8
- * BUILD_TIMESTAMP: 1784669393177
9
- * BUILD_DATE: Tue Jul 21 2026 21:29:53 GMT+0000 (Coordinated Universal Time)
7
+ * VERSION: 2.259.0-alpha.2
8
+ * BUILD_TIMESTAMP: 1784832348235
9
+ * BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
10
10
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
11
11
  */
12
12
  import { Mt as e, p as t } from "./intl-Yr2cw5px.js";
13
13
  import { n, t as r } from "./jsx-runtime-D_-z-h6n.js";
14
- import { O as i, t as a } from "./FormFooterComponent-7fnUts4r.js";
14
+ import { D as i, t as a } from "./FormFooterComponent-D9_fIqUs.js";
15
15
  import { $ as o, G as s, n as c } from "../_mysheerid-preview.js";
16
16
  import { n as l, t as u } from "./PersonalInfoStepSubmitButton-D3lzSm2E.js";
17
17
  //#region src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx
@@ -1 +1 @@
1
- {"version":3,"file":"StepCollectIdentifier-Dg3uYsGk.js","names":[],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;aAqFa,KA7DkB,EAAE,6BAAsD;CACrF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAE/D,KAAoC,GAAuC,MAAe;EAC9F,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADA,EAAiC,SAAS,CAAQ,GAClD,EAAqC,SAAS,GAAU,CAAmB;KAC7E;KACA,YAAY,MAAiD,EAAqB,CAAK;IACxF,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
1
+ {"version":3,"file":"StepCollectIdentifier-bhlSO88L.js","names":[],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;aAqFa,KA7DkB,EAAE,6BAAsD;CACrF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAE/D,KAAoC,GAAuC,MAAe;EAC9F,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADA,EAAiC,SAAS,CAAQ,GAClD,EAAqC,SAAS,GAAU,CAAmB;KAC7E;KACA,YAAY,MAAiD,EAAqB,CAAK;IACxF,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
@@ -4,10 +4,10 @@
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.259.0-alpha.0
8
- * BUILD_TIMESTAMP: 1784669393177
9
- * BUILD_DATE: Tue Jul 21 2026 21:29:53 GMT+0000 (Coordinated Universal Time)
7
+ * VERSION: 2.259.0-alpha.2
8
+ * BUILD_TIMESTAMP: 1784832348235
9
+ * BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
10
10
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
11
11
  */
12
- import { StepActiveMilitaryPersonalInfoComponent as e } from "./StepActiveMilitaryPersonalInfoComponent-DEMgmtg9.js";
12
+ import { StepActiveMilitaryPersonalInfoComponent as e } from "./StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js";
13
13
  export { e as default };
@@ -0,0 +1,9 @@
1
+
2
+ /**
3
+ * VERSION: 2.259.0-alpha.2
4
+ * BUILD_TIMESTAMP: 1784832344356
5
+ * BUILD_DATE: Thu Jul 23 2026 18:45:44 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
7
+ */
8
+ import { StepActiveMilitaryPersonalInfoComponent as e } from "./StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js";
9
+ export { e as default };
@@ -4,37 +4,37 @@
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.259.0-alpha.0
8
- * BUILD_TIMESTAMP: 1784669393177
9
- * BUILD_DATE: Tue Jul 21 2026 21:29:53 GMT+0000 (Coordinated Universal Time)
7
+ * VERSION: 2.259.0-alpha.2
8
+ * BUILD_TIMESTAMP: 1784832348235
9
+ * BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
10
10
  * BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
11
11
  */
12
12
  import { Et as e, Lt as t, Mt as n, Rt as r, Ut as i, gt as ee, p as te, s as ne } from "./intl-Yr2cw5px.js";
13
13
  import { a, c as o, n as s, t as c } from "./jsx-runtime-D_-z-h6n.js";
14
- import { O as re, t as ie } from "./FormFooterComponent-7fnUts4r.js";
15
- import { n as l } from "./VerificationApiClient-Dm-ac5-R.js";
14
+ import { D as re, t as ie } from "./FormFooterComponent-D9_fIqUs.js";
15
+ import { n as l } from "./VerificationApiClient-D6OYdL72.js";
16
16
  import { s as u } from "./programThemeGetters-iBty-gXI.js";
17
17
  import { $ as d, B as f, G as ae, I as oe, K as se, L as ce, W as le, Y as ue, Z as de, et as p, n as fe } from "../_mysheerid-preview.js";
18
- import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-Duz84ZKe.js";
18
+ import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-DaH202Ah.js";
19
19
  import { n as b, t as x } from "./PersonalInfoStepSubmitButton-D3lzSm2E.js";
20
- import { t as S } from "./BirthDateComponent-C0-e7KwX.js";
20
+ import { t as S } from "./BirthDateComponent-Dh5xAxOF.js";
21
21
  import { t as C } from "./PostalCodeComponent-BGzBByZd.js";
22
- import { t as w } from "./CountryComponentWrapper-1B1UB23s.js";
22
+ import { t as w } from "./CountryComponentWrapper-zWLRBrRp.js";
23
23
  import { t as T } from "./City-DlWin4GX.js";
24
24
  import { t as E } from "./AddressComponent-CJV3vrMt.js";
25
- import { t as D } from "./ExtraMessage-BI-sKAfh.js";
26
- import { t as O } from "./CollegeNameComponent-DyjsG19X.js";
27
- import { t as k } from "./StateSelectComponent-D7sByFD8.js";
28
- import { n as A, r as j, t as M } from "./DischargeDateComponent-Csnt8D2b.js";
25
+ import { t as D } from "./ExtraMessage-9BMK2Fd_.js";
26
+ import { t as O } from "./CollegeNameComponent-D_dKLkKY.js";
27
+ import { t as k } from "./StateSelectComponent-D2j7QCvj.js";
28
+ import { n as A, r as j, t as M } from "./DischargeDateComponent-DH3gbXN-.js";
29
29
  import { t as N } from "./DriverLicenseNumberComponent-D8q18o2M.js";
30
- import { n as P, t as F } from "./LowIncomeOrganizationComponent-DRHBlX4K.js";
31
- import { t as I } from "./StatusComponent-G15FSZBx.js";
32
- import { t as pe } from "./FirstResponderOrganizationComponent-DOj8zCQD.js";
33
- import { t as L } from "./LicensedProfessionalOrganizationComponent-daoOlt5_.js";
34
- import { t as R } from "./MedicalProfessionalOrganizationComponent-UDY7IdWY.js";
30
+ import { n as P, t as F } from "./LowIncomeOrganizationComponent-D3-otdoS.js";
31
+ import { t as I } from "./StatusComponent-Cxw9bsOp.js";
32
+ import { t as pe } from "./FirstResponderOrganizationComponent-DgcptK9s.js";
33
+ import { t as L } from "./LicensedProfessionalOrganizationComponent-DD9CuMfT.js";
34
+ import { t as R } from "./MedicalProfessionalOrganizationComponent-B_6Eeh8t.js";
35
35
  import { t as z } from "./MemberIdComponent-DMGaNM9l.js";
36
- import { t as B } from "./MembershipOrganizationComponent-COGXFFDB.js";
37
- import { t as me } from "./TeacherSchoolComponent-BMETb7Az.js";
36
+ import { t as B } from "./MembershipOrganizationComponent-CfLlUdPl.js";
37
+ import { t as me } from "./TeacherSchoolComponent-IkCV6bH-.js";
38
38
  import { t as he } from "./SSN-CNzKgddw.js";
39
39
  //#region src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx
40
40
  var V = /* @__PURE__ */ i(o(), 1), H = c(), U = a(({ intl: i, verificationService: a }) => {