@sheerid/jslib 2.278.0 → 2.280.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +808 -809
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-LZTJCC-l.js → AddressComponent-Dt6V7nTl.js} +8 -8
- package/chunk/{AddressComponent-CaMRwh5O.js.map → AddressComponent-Dt6V7nTl.js.map} +1 -1
- package/chunk/{AddressComponent-CaMRwh5O.js → AddressComponent-jYt6u6Og.js} +8 -8
- package/chunk/{AddressComponent-LZTJCC-l.js.map → AddressComponent-jYt6u6Og.js.map} +1 -1
- package/chunk/{AnnouncingHeader-YPjBYzsZ.js → AnnouncingHeader-DXfeQFzD.js} +6 -6
- package/chunk/{AnnouncingHeader-CCVSQeQR.js.map → AnnouncingHeader-DXfeQFzD.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CCVSQeQR.js → AnnouncingHeader-DgKb4Oci.js} +6 -6
- package/chunk/{AnnouncingHeader-YPjBYzsZ.js.map → AnnouncingHeader-DgKb4Oci.js.map} +1 -1
- package/chunk/{ApiUrls-_Hc7S_uv.js → ApiUrls-DU5mINxc.js} +13 -13
- package/chunk/{ApiUrls-_Hc7S_uv.js.map → ApiUrls-DU5mINxc.js.map} +1 -1
- package/chunk/{ApiUrls-DRCiQtw6.js → ApiUrls-iC5Epdhr.js} +13 -13
- package/chunk/{ApiUrls-DRCiQtw6.js.map → ApiUrls-iC5Epdhr.js.map} +1 -1
- package/chunk/{BirthDateComponent-CAQJ-IWM.js → BirthDateComponent-C31Jxnf9.js} +8 -8
- package/chunk/{BirthDateComponent-CAQJ-IWM.js.map → BirthDateComponent-C31Jxnf9.js.map} +1 -1
- package/chunk/{BirthDateComponent-_BjsBSM4.js → BirthDateComponent-J3GXZush.js} +8 -8
- package/chunk/{BirthDateComponent-_BjsBSM4.js.map → BirthDateComponent-J3GXZush.js.map} +1 -1
- package/chunk/{CaptchaComponent-D2OIvL-b.js → CaptchaComponent-BrH791mU.js} +143 -143
- package/chunk/{CaptchaComponent-BqREyMje.js.map → CaptchaComponent-BrH791mU.js.map} +1 -1
- package/chunk/{CaptchaComponent-BqREyMje.js → CaptchaComponent-D3gR_wiv.js} +131 -131
- package/chunk/{CaptchaComponent-D2OIvL-b.js.map → CaptchaComponent-D3gR_wiv.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BvnXlDa-.js → ChangeLocaleComponent-4lrBj9C8.js} +63 -62
- package/chunk/{ChangeLocaleComponent-BvnXlDa-.js.map → ChangeLocaleComponent-4lrBj9C8.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CpHB_D8Q.js → ChangeLocaleComponent-mFvHcArW.js} +63 -62
- package/chunk/{ChangeLocaleComponent-CpHB_D8Q.js.map → ChangeLocaleComponent-mFvHcArW.js.map} +1 -1
- package/chunk/{City-B6bQRRvQ.js → City-4Y-JSMns.js} +8 -8
- package/chunk/{City-B6bQRRvQ.js.map → City-4Y-JSMns.js.map} +1 -1
- package/chunk/{City-CCBan228.js → City-C9ODgW6J.js} +8 -8
- package/chunk/{City-CCBan228.js.map → City-C9ODgW6J.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BbxIOfzR.js → CollegeNameComponent-Bx67cbxR.js} +9 -9
- package/chunk/{CollegeNameComponent-BbxIOfzR.js.map → CollegeNameComponent-Bx67cbxR.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CEJO0-bq.js → CollegeNameComponent-DERbwtnk.js} +9 -9
- package/chunk/{CollegeNameComponent-CEJO0-bq.js.map → CollegeNameComponent-DERbwtnk.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DGi3bxV2.js → CopyToClipboardComponent-B1sjjnah.js} +9 -9
- package/chunk/{CopyToClipboardComponent-DGi3bxV2.js.map → CopyToClipboardComponent-B1sjjnah.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-cLuyXFes.js → CopyToClipboardComponent-kC3bs3Rs.js} +9 -9
- package/chunk/{CopyToClipboardComponent-cLuyXFes.js.map → CopyToClipboardComponent-kC3bs3Rs.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CW4yj9IF.js → CountryComponentWrapper-CR9HrOiD.js} +16 -16
- package/chunk/{CountryComponentWrapper-BNtvUusJ.js.map → CountryComponentWrapper-CR9HrOiD.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BNtvUusJ.js → CountryComponentWrapper-Dp_Lw4Jz.js} +16 -16
- package/chunk/{CountryComponentWrapper-CW4yj9IF.js.map → CountryComponentWrapper-Dp_Lw4Jz.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CNaz5UZP.js → DischargeDateComponent-CVzCNByg.js} +20 -21
- package/chunk/{DischargeDateComponent-CNaz5UZP.js.map → DischargeDateComponent-CVzCNByg.js.map} +1 -1
- package/chunk/{DischargeDateComponent-tTwN3FLy.js → DischargeDateComponent-CwuBWpWv.js} +17 -18
- package/chunk/{DischargeDateComponent-tTwN3FLy.js.map → DischargeDateComponent-CwuBWpWv.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-vsVldXkA.js → DriverLicenseNumberComponent-Bc6KjLgw.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-B5_svahy.js.map → DriverLicenseNumberComponent-Bc6KjLgw.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-B5_svahy.js → DriverLicenseNumberComponent-Dc0IOI_1.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-vsVldXkA.js.map → DriverLicenseNumberComponent-Dc0IOI_1.js.map} +1 -1
- package/chunk/{EmailLoopPending-DNFHR6Ck.js → EmailLoopPending-CgRp0qIE.js} +44 -53
- package/chunk/EmailLoopPending-CgRp0qIE.js.map +1 -0
- package/chunk/{EmailLoopPending-CYCQv7pW.js → EmailLoopPending-k272doKR.js} +45 -54
- package/chunk/EmailLoopPending-k272doKR.js.map +1 -0
- package/chunk/{ExtraMessage-Byw0Tgm1.js → ExtraMessage-BqOf0zRz.js} +7 -7
- package/chunk/{ExtraMessage-Byw0Tgm1.js.map → ExtraMessage-BqOf0zRz.js.map} +1 -1
- package/chunk/{ExtraMessage-g4LSV-H2.js → ExtraMessage-DNaGfjEE.js} +7 -7
- package/chunk/{ExtraMessage-g4LSV-H2.js.map → ExtraMessage-DNaGfjEE.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DVF6aC7P.js → FirstResponderOrganizationComponent-C4O8PWXy.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-BtIXngo4.js.map → FirstResponderOrganizationComponent-C4O8PWXy.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BtIXngo4.js → FirstResponderOrganizationComponent-CmNIF2iC.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-DVF6aC7P.js.map → FirstResponderOrganizationComponent-CmNIF2iC.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-D1aFx17c.js → FormFieldInputSelect-BaYOGEm0.js} +7 -7
- package/chunk/{FormFieldInputSelect-D1aFx17c.js.map → FormFieldInputSelect-BaYOGEm0.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-ie6Vx1Bx.js → FormFieldInputSelect-DDcenZW0.js} +7 -7
- package/chunk/{FormFieldInputSelect-ie6Vx1Bx.js.map → FormFieldInputSelect-DDcenZW0.js.map} +1 -1
- package/chunk/{FormFieldLayout-C4SCdGBC.js → FormFieldLayout-B0rAKucV.js} +6 -6
- package/chunk/{FormFieldLayout-C4SCdGBC.js.map → FormFieldLayout-B0rAKucV.js.map} +1 -1
- package/chunk/{FormFieldLayout-Cj_v9kYa.js → FormFieldLayout-CRoiILDA.js} +6 -6
- package/chunk/{FormFieldLayout-Cj_v9kYa.js.map → FormFieldLayout-CRoiILDA.js.map} +1 -1
- package/chunk/{FormFieldText-BbdrtNh_.js → FormFieldText-4HZU3C1Z.js} +7 -7
- package/chunk/{FormFieldText-BbdrtNh_.js.map → FormFieldText-4HZU3C1Z.js.map} +1 -1
- package/chunk/{FormFieldText-Gf13Luq7.js → FormFieldText-hOha2vTr.js} +7 -7
- package/chunk/{FormFieldText-Gf13Luq7.js.map → FormFieldText-hOha2vTr.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DQEez7ko.js → FormFieldTypeahead-BCZ6Nsns.js} +141 -142
- package/chunk/{FormFieldTypeahead-uKX8ZHqO.js.map → FormFieldTypeahead-BCZ6Nsns.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-uKX8ZHqO.js → FormFieldTypeahead-Cv1WXfhF.js} +132 -133
- package/chunk/{FormFieldTypeahead-DQEez7ko.js.map → FormFieldTypeahead-Cv1WXfhF.js.map} +1 -1
- package/chunk/{FormFooterComponent-BHQc5VBK.js → FormFooterComponent-D9mEMiRZ.js} +515 -520
- package/chunk/FormFooterComponent-D9mEMiRZ.js.map +1 -0
- package/chunk/{FormFooterComponent-CAoH3NjO.js → FormFooterComponent-oaSe-Xzj.js} +468 -473
- package/chunk/FormFooterComponent-oaSe-Xzj.js.map +1 -0
- package/chunk/{FormSelectChoice-DjcUTWnw.js → FormSelectChoice-C8zbGNXM.js} +16 -16
- package/chunk/{FormSelectChoice-Cm99LmoK.js.map → FormSelectChoice-C8zbGNXM.js.map} +1 -1
- package/chunk/{FormSelectChoice-Cm99LmoK.js → FormSelectChoice-DhgV7HJV.js} +16 -16
- package/chunk/{FormSelectChoice-DjcUTWnw.js.map → FormSelectChoice-DhgV7HJV.js.map} +1 -1
- package/chunk/{InputText-BXPuBlPq.js → InputText-BZv5j2AC.js} +7 -7
- package/chunk/{InputText-BXPuBlPq.js.map → InputText-BZv5j2AC.js.map} +1 -1
- package/chunk/{InputText-h_myNeHr.js → InputText-CeC4vzEI.js} +7 -7
- package/chunk/{InputText-h_myNeHr.js.map → InputText-CeC4vzEI.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BHrQmG_W.js → LicensedProfessionalOrganizationComponent-BXcQ9OAk.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-BHrQmG_W.js.map → LicensedProfessionalOrganizationComponent-BXcQ9OAk.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-DMdDUhnU.js → LicensedProfessionalOrganizationComponent-BY-_49Un.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-DMdDUhnU.js.map → LicensedProfessionalOrganizationComponent-BY-_49Un.js.map} +1 -1
- package/chunk/{LogoComponent-Do8K5ydz.js → LogoComponent-DIcMbBgg.js} +6 -6
- package/chunk/{LogoComponent-Do8K5ydz.js.map → LogoComponent-DIcMbBgg.js.map} +1 -1
- package/chunk/{LogoComponent-Dx1G-rzE.js → LogoComponent-U1dLeCEh.js} +6 -6
- package/chunk/{LogoComponent-Dx1G-rzE.js.map → LogoComponent-U1dLeCEh.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DLxB_wnC.js → LowIncomeOrganizationComponent-BRvt-ulP.js} +21 -22
- package/chunk/{LowIncomeOrganizationComponent-DLxB_wnC.js.map → LowIncomeOrganizationComponent-BRvt-ulP.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CZnbIM2h.js → LowIncomeOrganizationComponent-DGK9gkyA.js} +21 -22
- package/chunk/{LowIncomeOrganizationComponent-CZnbIM2h.js.map → LowIncomeOrganizationComponent-DGK9gkyA.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-t-k48G10.js → MedicalProfessionalOrganizationComponent-CTJ3FmrY.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-t-k48G10.js.map → MedicalProfessionalOrganizationComponent-CTJ3FmrY.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CozwSmoI.js → MedicalProfessionalOrganizationComponent-DH5zW7H6.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-CozwSmoI.js.map → MedicalProfessionalOrganizationComponent-DH5zW7H6.js.map} +1 -1
- package/chunk/{MemberIdComponent-CYqH9MG5.js → MemberIdComponent-BAFAN1PO.js} +8 -8
- package/chunk/{MemberIdComponent-BzUuPdSk.js.map → MemberIdComponent-BAFAN1PO.js.map} +1 -1
- package/chunk/{MemberIdComponent-BzUuPdSk.js → MemberIdComponent-DFE0KKa8.js} +8 -8
- package/chunk/{MemberIdComponent-CYqH9MG5.js.map → MemberIdComponent-DFE0KKa8.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Bbu2i3Dm.js → MembershipOrganizationComponent-Bqfrzd_X.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-BPQ27RX9.js.map → MembershipOrganizationComponent-Bqfrzd_X.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BPQ27RX9.js → MembershipOrganizationComponent-CmgEVqRQ.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-Bbu2i3Dm.js.map → MembershipOrganizationComponent-CmgEVqRQ.js.map} +1 -1
- package/chunk/{Message-BK3a2RyH.js → Message-8LvAVwXZ.js} +3831 -2389
- package/chunk/Message-8LvAVwXZ.js.map +1 -0
- package/chunk/{Message-CSa2etjX.js → Message-C8ZwB4H_.js} +3934 -2476
- package/chunk/Message-C8ZwB4H_.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-VxT_vwVv.js → PersonalInfoStepSubmitButton-CaE4yvTG.js} +18 -18
- package/chunk/PersonalInfoStepSubmitButton-CaE4yvTG.js.map +1 -0
- package/chunk/{PersonalInfoStepSubmitButton-BcdQUzMO.js → PersonalInfoStepSubmitButton-huS5DiV5.js} +18 -18
- package/chunk/PersonalInfoStepSubmitButton-huS5DiV5.js.map +1 -0
- package/chunk/{PersonalInfoStepWrapper-CxRB64LQ.js → PersonalInfoStepWrapper-CoL68lv9.js} +20 -20
- package/chunk/{PersonalInfoStepWrapper-CxRB64LQ.js.map → PersonalInfoStepWrapper-CoL68lv9.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BHS3GKl7.js → PersonalInfoStepWrapper-D6RA9ErC.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BHS3GKl7.js.map → PersonalInfoStepWrapper-D6RA9ErC.js.map} +1 -1
- package/chunk/{PostalCodeComponent-jmSOU3LM.js → PostalCodeComponent-BJJkLSwH.js} +8 -8
- package/chunk/{PostalCodeComponent-CKbC80_m.js.map → PostalCodeComponent-BJJkLSwH.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CKbC80_m.js → PostalCodeComponent-gktdA05J.js} +8 -8
- package/chunk/{PostalCodeComponent-jmSOU3LM.js.map → PostalCodeComponent-gktdA05J.js.map} +1 -1
- package/chunk/{SSN-DNVykxAU.js → SSN-D32o5tdz.js} +9 -9
- package/chunk/{SSN-DHAzpgQK.js.map → SSN-D32o5tdz.js.map} +1 -1
- package/chunk/{SSN-DHAzpgQK.js → SSN-RI7wGUeN.js} +9 -9
- package/chunk/{SSN-DNVykxAU.js.map → SSN-RI7wGUeN.js.map} +1 -1
- package/chunk/{StateSelectComponent-B7Cp6ANo.js → StateSelectComponent-CUkPmdgD.js} +7 -7
- package/chunk/{StateSelectComponent-B5lHw2N5.js.map → StateSelectComponent-CUkPmdgD.js.map} +1 -1
- package/chunk/{StateSelectComponent-B5lHw2N5.js → StateSelectComponent-IqnD_yvb.js} +7 -7
- package/chunk/{StateSelectComponent-B7Cp6ANo.js.map → StateSelectComponent-IqnD_yvb.js.map} +1 -1
- package/chunk/{StatusComponent-CrGh5fqB.js → StatusComponent-B9rfe8oP.js} +8 -8
- package/chunk/{StatusComponent-CrGh5fqB.js.map → StatusComponent-B9rfe8oP.js.map} +1 -1
- package/chunk/{StatusComponent-CyX5COrt.js → StatusComponent-Domycxys.js} +8 -8
- package/chunk/{StatusComponent-CyX5COrt.js.map → StatusComponent-Domycxys.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-CkvJUnK6.js +174 -0
- package/chunk/{StepAgePersonalInfo-BswIeVCd.js.map → StepAgePersonalInfo-CkvJUnK6.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-DYee4Bdk.js +170 -0
- package/chunk/{StepAgePersonalInfo-CHBH5ROm.js.map → StepAgePersonalInfo-DYee4Bdk.js.map} +1 -1
- package/chunk/{StepCard-CWT2BiAH.js → StepCard-BgkQO1Vv.js} +5 -5
- package/chunk/{StepCard-B0o7IN6g.js.map → StepCard-BgkQO1Vv.js.map} +1 -1
- package/chunk/{StepCard-B0o7IN6g.js → StepCard-CdjikmfN.js} +5 -5
- package/chunk/{StepCard-CWT2BiAH.js.map → StepCard-CdjikmfN.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-D8IjgFjI.js → StepCollectIdentifier-CZPgIiri.js} +9 -9
- package/chunk/{StepCollectIdentifier-D8IjgFjI.js.map → StepCollectIdentifier-CZPgIiri.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-dPXJHRwi.js → StepCollectIdentifier-z7v0uFVo.js} +9 -9
- package/chunk/{StepCollectIdentifier-dPXJHRwi.js.map → StepCollectIdentifier-z7v0uFVo.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js → StepCollectMilitaryPersonalInfoComponent-aLezCfcI.js} +62 -62
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js.map → StepCollectMilitaryPersonalInfoComponent-aLezCfcI.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js → StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js} +62 -62
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js.map → StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-BH2TbclC.js +372 -0
- package/chunk/{StepCollectPersonalInfo-BvBAA_0_.js.map → StepCollectPersonalInfo-BH2TbclC.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-mmn3gr1x.js +368 -0
- package/chunk/{StepCollectPersonalInfo-BLClPcAC.js.map → StepCollectPersonalInfo-mmn3gr1x.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-D7NH3MFa.js → StepCompleteAuthentication-aZqH2zX2.js} +21 -21
- package/chunk/{StepCompleteAuthentication-D7NH3MFa.js.map → StepCompleteAuthentication-aZqH2zX2.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js → StepCompleteAuthentication-wMkyc86t.js} +21 -21
- package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js.map → StepCompleteAuthentication-wMkyc86t.js.map} +1 -1
- package/chunk/{StepConsolation-CKbOj-OW.js → StepConsolation-DRnpaPIB.js} +9 -9
- package/chunk/{StepConsolation-CKbOj-OW.js.map → StepConsolation-DRnpaPIB.js.map} +1 -1
- package/chunk/{StepConsolation-qvCq7iMz.js → StepConsolation-Dv1D8Kkg.js} +9 -9
- package/chunk/{StepConsolation-qvCq7iMz.js.map → StepConsolation-Dv1D8Kkg.js.map} +1 -1
- package/chunk/{StepDocUpload-hbZjFKLA.js → StepDocUpload-CyqOFprF.js} +742 -745
- package/chunk/{StepDocUpload-CelPrD2S.js.map → StepDocUpload-CyqOFprF.js.map} +1 -1
- package/chunk/{StepDocUpload-CelPrD2S.js → StepDocUpload-DALptUyS.js} +628 -631
- package/chunk/{StepDocUpload-hbZjFKLA.js.map → StepDocUpload-DALptUyS.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js → StepDriverLicensePersonalInfoComponent-BxHNa8Y6.js} +32 -32
- package/chunk/{StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js.map → StepDriverLicensePersonalInfoComponent-BxHNa8Y6.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js → StepDriverLicensePersonalInfoComponent-vwgnq6DB.js} +32 -32
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js.map → StepDriverLicensePersonalInfoComponent-vwgnq6DB.js.map} +1 -1
- package/chunk/{StepEmailLoop-DnFBaEUV.js → StepEmailLoop-BEIC15oF.js} +59 -59
- package/chunk/{StepEmailLoop-B_D0MzXV.js.map → StepEmailLoop-BEIC15oF.js.map} +1 -1
- package/chunk/{StepEmailLoop-B_D0MzXV.js → StepEmailLoop-CDFx1DYG.js} +59 -59
- package/chunk/{StepEmailLoop-DnFBaEUV.js.map → StepEmailLoop-CDFx1DYG.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CWyReZIX.js → StepEmploymentPersonalInfo-BdPNUH_U.js} +49 -49
- package/chunk/{StepEmploymentPersonalInfo-D6wk7BPP.js.map → StepEmploymentPersonalInfo-BdPNUH_U.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-D6wk7BPP.js → StepEmploymentPersonalInfo-WW3m6eci.js} +49 -49
- package/chunk/{StepEmploymentPersonalInfo-CWyReZIX.js.map → StepEmploymentPersonalInfo-WW3m6eci.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BEYQjJZE.js → StepFirstResponderPersonalInfo-CtkSlAqn.js} +50 -50
- package/chunk/{StepFirstResponderPersonalInfo-BEYQjJZE.js.map → StepFirstResponderPersonalInfo-CtkSlAqn.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-WFafxPno.js → StepFirstResponderPersonalInfo-duACveZS.js} +47 -47
- package/chunk/{StepFirstResponderPersonalInfo-WFafxPno.js.map → StepFirstResponderPersonalInfo-duACveZS.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js → StepGeneralIdentityPersonalInfoComponent-BsZXHtwX.js} +41 -41
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js.map → StepGeneralIdentityPersonalInfoComponent-BsZXHtwX.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js → StepGeneralIdentityPersonalInfoComponent-D9svwHkN.js} +41 -41
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js.map → StepGeneralIdentityPersonalInfoComponent-D9svwHkN.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js → StepHybridIdentityPersonalInfoComponent-BBXGkQ13.js} +44 -44
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js.map → StepHybridIdentityPersonalInfoComponent-BBXGkQ13.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js → StepHybridIdentityPersonalInfoComponent-ClebDHVj.js} +44 -44
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js.map → StepHybridIdentityPersonalInfoComponent-ClebDHVj.js.map} +1 -1
- package/chunk/StepIDCheckLoop-B1ZBa2cL.js +24 -0
- package/chunk/{StepIDCheckLoop-3dEcYNM-.js.map → StepIDCheckLoop-B1ZBa2cL.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-ADjD8T7n.js → StepIDCheckLoop-DYhoRoFm.js} +8 -8
- package/chunk/{StepIDCheckLoop-ADjD8T7n.js.map → StepIDCheckLoop-DYhoRoFm.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DFITsdwV.js → StepIDCheckLoopOnfido-XnkRtW2L.js} +129 -130
- package/chunk/StepIDCheckLoopOnfido-XnkRtW2L.js.map +1 -0
- package/chunk/{StepIDCheckLoopOnfido-u841Fq12.js → StepIDCheckLoopOnfido-aRk8hzdK.js} +129 -130
- package/chunk/StepIDCheckLoopOnfido-aRk8hzdK.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-4XrJNB8_.js → StepIDCheckLoopRegula-BljVwImZ.js} +22 -22
- package/chunk/{StepIDCheckLoopRegula-4XrJNB8_.js.map → StepIDCheckLoopRegula-BljVwImZ.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DDU-aqdl.js → StepIDCheckLoopRegula-Cf7ASD1i.js} +22 -22
- package/chunk/{StepIDCheckLoopRegula-DDU-aqdl.js.map → StepIDCheckLoopRegula-Cf7ASD1i.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CvU4u5nA.js → StepLicensedProfessionalPersonalInfo-D6n29Iss.js} +42 -42
- package/chunk/{StepLicensedProfessionalPersonalInfo-BXscxOmH.js.map → StepLicensedProfessionalPersonalInfo-D6n29Iss.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BXscxOmH.js → StepLicensedProfessionalPersonalInfo-hXd4L7zJ.js} +42 -42
- package/chunk/{StepLicensedProfessionalPersonalInfo-CvU4u5nA.js.map → StepLicensedProfessionalPersonalInfo-hXd4L7zJ.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BlvN-faw.js → StepLowIncomePersonalInfo-B9rvMh5D.js} +61 -61
- package/chunk/{StepLowIncomePersonalInfo-BD5AdV7z.js.map → StepLowIncomePersonalInfo-B9rvMh5D.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BD5AdV7z.js → StepLowIncomePersonalInfo-Dt3q7Wto.js} +61 -61
- package/chunk/{StepLowIncomePersonalInfo-BlvN-faw.js.map → StepLowIncomePersonalInfo-Dt3q7Wto.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DzPoAdkI.js → StepMedicalProfessionalPersonalInfo-Dj00ow88.js} +50 -50
- package/chunk/{StepMedicalProfessionalPersonalInfo-D-wc9M27.js.map → StepMedicalProfessionalPersonalInfo-Dj00ow88.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D-wc9M27.js → StepMedicalProfessionalPersonalInfo-bFiCwH3X.js} +50 -50
- package/chunk/{StepMedicalProfessionalPersonalInfo-DzPoAdkI.js.map → StepMedicalProfessionalPersonalInfo-bFiCwH3X.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-D5G1Esfb.js +153 -0
- package/chunk/{StepMemberPersonalInfo-BwhcP3-x.js.map → StepMemberPersonalInfo-D5G1Esfb.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-DXQDbgye.js +157 -0
- package/chunk/{StepMemberPersonalInfo-DcH87kDt.js.map → StepMemberPersonalInfo-DXQDbgye.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-BoV-SR2Q.js +140 -0
- package/chunk/{StepMoverPersonalInfo-C3e_5Bhi.js.map → StepMoverPersonalInfo-BoV-SR2Q.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-C4dW2U-w.js +144 -0
- package/chunk/{StepMoverPersonalInfo-DdAYuWun.js.map → StepMoverPersonalInfo-C4dW2U-w.js.map} +1 -1
- package/chunk/{StepOverrideComponent-C58-KkL6.js → StepOverrideComponent-BLPmVFvp.js} +36 -38
- package/chunk/StepOverrideComponent-BLPmVFvp.js.map +1 -0
- package/chunk/{StepOverrideComponent-BA6ZbYda.js → StepOverrideComponent-jBI8dQE7.js} +36 -38
- package/chunk/StepOverrideComponent-jBI8dQE7.js.map +1 -0
- package/chunk/StepSMSLoop-BN32oj1H.js +168 -0
- package/chunk/StepSMSLoop-BN32oj1H.js.map +1 -0
- package/chunk/StepSMSLoop-Cyus2TEa.js +172 -0
- package/chunk/StepSMSLoop-Cyus2TEa.js.map +1 -0
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-6QeIRjAc.js → StepSocialSecurityNumber-BlzVBYtJ.js} +31 -27
- package/chunk/{StepSocialSecurityNumber-6QeIRjAc.js.map → StepSocialSecurityNumber-BlzVBYtJ.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-kcHexBbp.js → StepSocialSecurityNumber-DSnFbXs9.js} +17 -21
- package/chunk/{StepSocialSecurityNumber-kcHexBbp.js.map → StepSocialSecurityNumber-DSnFbXs9.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-03QpIWkq.js +217 -0
- package/chunk/StepStudentPersonalInfo-03QpIWkq.js.map +1 -0
- package/chunk/StepStudentPersonalInfo-BxyMqSGg.js +213 -0
- package/chunk/StepStudentPersonalInfo-BxyMqSGg.js.map +1 -0
- package/chunk/{StepSuccess-ZEmH-ZFX.js → StepSuccess--jHHRqxE.js} +31 -31
- package/chunk/{StepSuccess-Cc0UdSaD.js.map → StepSuccess--jHHRqxE.js.map} +1 -1
- package/chunk/{StepSuccess-Cc0UdSaD.js → StepSuccess-CY2liqnE.js} +31 -31
- package/chunk/{StepSuccess-ZEmH-ZFX.js.map → StepSuccess-CY2liqnE.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-C8Limyv9.js +150 -0
- package/chunk/{StepTeacherPersonalInfo-CiHN6WAb.js.map → StepTeacherPersonalInfo-C8Limyv9.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-CDiyDDoq.js +154 -0
- package/chunk/{StepTeacherPersonalInfo-X7uaefYx.js.map → StepTeacherPersonalInfo-CDiyDDoq.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-DL4ZFk5x.js → TeacherSchoolComponent-Bau63Qxf.js} +9 -9
- package/chunk/{TeacherSchoolComponent-DH3cPm43.js.map → TeacherSchoolComponent-Bau63Qxf.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-DH3cPm43.js → TeacherSchoolComponent-DgOYDpYq.js} +9 -9
- package/chunk/{TeacherSchoolComponent-DL4ZFk5x.js.map → TeacherSchoolComponent-DgOYDpYq.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CVTgdIFf.js +77 -0
- package/chunk/{TestingRouteOverrides-CAGESMw9.js.map → TestingRouteOverrides-CVTgdIFf.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CfhNQg5b.js +81 -0
- package/chunk/{TestingRouteOverrides-CrhfSmLr.js.map → TestingRouteOverrides-CfhNQg5b.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-Dh-2G5c3.js +4 -4
- package/chunk/bg-BbAhdJRh.js +4 -4
- package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
- package/chunk/{countryUtils-AR9k3KRg.js → countryUtils-D3poSBsN.js} +5 -5
- package/chunk/{countryUtils-AR9k3KRg.js.map → countryUtils-D3poSBsN.js.map} +1 -1
- package/chunk/countryUtils-DhafHNJu.js +12 -0
- package/chunk/{countryUtils-DWqId-zY.js.map → countryUtils-DhafHNJu.js.map} +1 -1
- package/chunk/cs-CYGsmvju.js +4 -4
- package/chunk/da-COZWvvUD.js +4 -4
- package/chunk/de-BHclNQGr.js +4 -4
- package/chunk/{downshift.esm-5BwX87os.js → downshift.esm-CP7HkAFI.js} +7 -7
- package/chunk/{downshift.esm-5BwX87os.js.map → downshift.esm-CP7HkAFI.js.map} +1 -1
- package/chunk/{downshift.esm-GtunYkBG.js → downshift.esm-DiHkspCQ.js} +7 -7
- package/chunk/{downshift.esm-GtunYkBG.js.map → downshift.esm-DiHkspCQ.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/{empties-B6naRhes.js → empties-BAB8wNt9.js} +5 -5
- package/chunk/{empties-B6naRhes.js.map → empties-BAB8wNt9.js.map} +1 -1
- package/chunk/{empties-Crmkxudi.js → empties-Tz4MgFii.js} +49 -49
- package/chunk/{empties-Crmkxudi.js.map → empties-Tz4MgFii.js.map} +1 -1
- package/chunk/en-GB-CkENrh2I.js +4 -4
- package/chunk/es-BRKAFTKN.js +4 -4
- package/chunk/es-ES-BWfAbWbQ.js +4 -4
- package/chunk/et-CxMgVbW2.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BEC3aNBF.js +4 -4
- package/chunk/fi-BaP3FR15.js +4 -4
- package/chunk/fr-CA-CS4SuM-m.js +4 -4
- package/chunk/fr-DSU2B7p2.js +4 -4
- package/chunk/ga-DZEr9X_A.js +4 -4
- package/chunk/hi-IN-DvBVpWNQ.js +4 -4
- package/chunk/{hooks-ChQrxN58.js → hooks-C64fd9ZU.js} +80 -80
- package/chunk/{hooks-C15H5pD-.js.map → hooks-C64fd9ZU.js.map} +1 -1
- package/chunk/{hooks-C15H5pD-.js → hooks-DuYcWWea.js} +75 -75
- package/chunk/{hooks-ChQrxN58.js.map → hooks-DuYcWWea.js.map} +1 -1
- package/chunk/hr-CL1lHDbu.js +4 -4
- package/chunk/hu-Cf5Uq9R_.js +4 -4
- package/chunk/id-ay9yilKx.js +4 -4
- package/chunk/{intl-e5WHiYfA.js → intl-COP5OPN0.js} +322 -319
- package/chunk/intl-COP5OPN0.js.map +1 -0
- package/chunk/is-tpzRyIZi.js +4 -4
- package/chunk/it-C3-BupR4.js +4 -4
- package/chunk/iw-CBna3XPT.js +4 -4
- package/chunk/ja-DvXOkZRn.js +4 -4
- package/chunk/{jsx-runtime-LqzCS-0D.js → jsx-runtime-CCEfa_da.js} +18 -18
- package/chunk/{jsx-runtime-Ini3eO9_.js.map → jsx-runtime-CCEfa_da.js.map} +1 -1
- package/chunk/{jsx-runtime-Ini3eO9_.js → jsx-runtime-CeCA46f-.js} +18 -18
- package/chunk/{jsx-runtime-LqzCS-0D.js.map → jsx-runtime-CeCA46f-.js.map} +1 -1
- package/chunk/kk-DGXgY6Uw.js +4 -4
- package/chunk/ko-BlUGwGxN.js +4 -4
- package/chunk/lo-DT6wxwS1.js +4 -4
- package/chunk/lt-CT5-H4ci.js +4 -4
- package/chunk/lv-CBMD1XRp.js +4 -4
- package/chunk/{mocks-DGc1byho.js → mocks-CeB2B-__.js} +6 -6
- package/chunk/{mocks-DGc1byho.js.map → mocks-CeB2B-__.js.map} +1 -1
- package/chunk/{mocks-RU9BGNOn.js → mocks-R7IOaaBN.js} +9 -9
- package/chunk/{mocks-RU9BGNOn.js.map → mocks-R7IOaaBN.js.map} +1 -1
- package/chunk/ms-DuxNeOgk.js +4 -4
- package/chunk/nl-BE-D028qM7-.js +4 -4
- package/chunk/nl-DEuaat_s.js +4 -4
- package/chunk/no-CjeRjD1D.js +4 -4
- package/chunk/{options-pBCAJBwS.js → options-sWzacjlS.js} +309 -306
- package/chunk/{options-pBCAJBwS.js.map → options-sWzacjlS.js.map} +1 -1
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/{programThemeGetters-C9Sw0RZq.js → programThemeGetters-BnS5Q93M.js} +29 -25
- package/chunk/{programThemeGetters-C9Sw0RZq.js.map → programThemeGetters-BnS5Q93M.js.map} +1 -1
- package/chunk/programThemeGetters-D44jbcz5.js +149 -0
- package/chunk/{programThemeGetters-uLsgGat1.js.map → programThemeGetters-D44jbcz5.js.map} +1 -1
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/{refs-CGvEbCaw.js → refs-CYbzNJIm.js} +5 -5
- package/chunk/{refs-CGvEbCaw.js.map → refs-CYbzNJIm.js.map} +1 -1
- package/chunk/{refs-CI3K5ndt.js → refs-DiYh48lF.js} +5 -5
- package/chunk/{refs-CI3K5ndt.js.map → refs-DiYh48lF.js.map} +1 -1
- package/chunk/ro-C74ZR3HS.js +4 -4
- package/chunk/ru-BA9P3RVu.js +4 -4
- package/chunk/sk-DmyizV49.js +4 -4
- package/chunk/sl-Cxm3YoWE.js +4 -4
- package/chunk/sr-gOtgEOlP.js +4 -4
- package/chunk/stepComponentHelpers-CEcpJGQG.js +121 -0
- package/chunk/stepComponentHelpers-CEcpJGQG.js.map +1 -0
- package/chunk/stepComponentHelpers-DoMfmu_O.js +117 -0
- package/chunk/stepComponentHelpers-DoMfmu_O.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DnCUWo1-.js +4 -4
- package/chunk/sw-BY7XXvUU.js +4 -4
- package/chunk/ta-CVL0b6Hh.js +4 -4
- package/chunk/th-CyU0RW3x.js +4 -4
- package/chunk/tl-BfgQ0irB.js +4 -4
- package/chunk/tr-BPg_L4bY.js +4 -4
- package/chunk/uk-CNaioa7V.js +4 -4
- package/chunk/ur-Ht1Mcpm0.js +4 -4
- package/chunk/useCollectFieldsEndpoint-Ce16y3_V.js +61 -0
- package/chunk/{useCollectFieldsEndpoint-74jMd594.js.map → useCollectFieldsEndpoint-Ce16y3_V.js.map} +1 -1
- package/chunk/useCollectFieldsEndpoint-DZRtkBor.js +65 -0
- package/chunk/{useCollectFieldsEndpoint-dSngHehw.js.map → useCollectFieldsEndpoint-DZRtkBor.js.map} +1 -1
- package/chunk/{useMetrics-O5xTFm6y.js → useMetrics-Bqc9pEAl.js} +19 -19
- package/chunk/{useMetrics-O5xTFm6y.js.map → useMetrics-Bqc9pEAl.js.map} +1 -1
- package/chunk/{useMetrics-BrHWTzbP.js → useMetrics-Lk6qCoTA.js} +19 -19
- package/chunk/{useMetrics-BrHWTzbP.js.map → useMetrics-Lk6qCoTA.js.map} +1 -1
- package/chunk/vi-sI1BYLXG.js +4 -4
- package/chunk/zh-DNG4VB8r.js +4 -4
- package/chunk/zh-HK-5Y3ROXEm.js +4 -4
- package/chunk/zu-DNMG8Idu.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +277 -278
- package/sheerid.js.map +1 -1
- package/chunk/EmailLoopPending-CYCQv7pW.js.map +0 -1
- package/chunk/EmailLoopPending-DNFHR6Ck.js.map +0 -1
- package/chunk/FormFooterComponent-BHQc5VBK.js.map +0 -1
- package/chunk/FormFooterComponent-CAoH3NjO.js.map +0 -1
- package/chunk/Message-BK3a2RyH.js.map +0 -1
- package/chunk/Message-CSa2etjX.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-BcdQUzMO.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-VxT_vwVv.js.map +0 -1
- package/chunk/StepAgePersonalInfo-BswIeVCd.js +0 -170
- package/chunk/StepAgePersonalInfo-CHBH5ROm.js +0 -174
- package/chunk/StepCollectPersonalInfo-BLClPcAC.js +0 -372
- package/chunk/StepCollectPersonalInfo-BvBAA_0_.js +0 -368
- package/chunk/StepIDCheckLoop-3dEcYNM-.js +0 -24
- package/chunk/StepIDCheckLoopOnfido-DFITsdwV.js.map +0 -1
- package/chunk/StepIDCheckLoopOnfido-u841Fq12.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-BwhcP3-x.js +0 -157
- package/chunk/StepMemberPersonalInfo-DcH87kDt.js +0 -153
- package/chunk/StepMoverPersonalInfo-C3e_5Bhi.js +0 -140
- package/chunk/StepMoverPersonalInfo-DdAYuWun.js +0 -144
- package/chunk/StepOverrideComponent-BA6ZbYda.js.map +0 -1
- package/chunk/StepOverrideComponent-C58-KkL6.js.map +0 -1
- package/chunk/StepSMSLoop-CiFQF0bq.js +0 -181
- package/chunk/StepSMSLoop-CiFQF0bq.js.map +0 -1
- package/chunk/StepSMSLoop-DmbMtSCW.js +0 -185
- package/chunk/StepSMSLoop-DmbMtSCW.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js +0 -216
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js +0 -220
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-CiHN6WAb.js +0 -154
- package/chunk/StepTeacherPersonalInfo-X7uaefYx.js +0 -150
- package/chunk/TestingRouteOverrides-CAGESMw9.js +0 -81
- package/chunk/TestingRouteOverrides-CrhfSmLr.js +0 -77
- package/chunk/VerificationApiClient-CVe2IgK7.js +0 -1451
- package/chunk/VerificationApiClient-CVe2IgK7.js.map +0 -1
- package/chunk/VerificationApiClient-DOQLbKh3.js +0 -1471
- package/chunk/VerificationApiClient-DOQLbKh3.js.map +0 -1
- package/chunk/countryUtils-DWqId-zY.js +0 -12
- package/chunk/intl-e5WHiYfA.js.map +0 -1
- package/chunk/programThemeGetters-uLsgGat1.js +0 -153
- package/chunk/stepComponentHelpers-BdqtwfRd.js +0 -133
- package/chunk/stepComponentHelpers-BdqtwfRd.js.map +0 -1
- package/chunk/stepComponentHelpers-DIHMDrmF.js +0 -129
- package/chunk/stepComponentHelpers-DIHMDrmF.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-74jMd594.js +0 -66
- package/chunk/useCollectFieldsEndpoint-dSngHehw.js +0 -62
package/_mysheerid-preview.js
CHANGED
|
@@ -4,75 +4,74 @@
|
|
|
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.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.280.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1789074204977
|
|
9
|
+
* BUILD_DATE: Thu Sep 10 2026 21:03:24 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 0337262e7e7380640882a11e0184fba716c38a59
|
|
11
11
|
*/
|
|
12
|
-
import { Bt as e, D as t, E as n,
|
|
13
|
-
import { f as
|
|
14
|
-
import { c as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { a as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { t as at } from "./chunk/
|
|
23
|
-
import { t as ot } from "./chunk/
|
|
24
|
-
import { t as st } from "./chunk/AnnouncingHeader-YPjBYzsZ.js";
|
|
12
|
+
import { Bt as e, D as t, E as n, Ft as r, Gt as i, Mt as a, Pt as o, T as s, Ut as c, Vt as l, b as u, c as d, f, g as p, h as m, i as h, k as g, l as _, m as v, mt as y, n as b, o as x, p as S, r as C, s as w, st as T, t as ee, v as te, w as E, x as D, y as O, zt as k } from "./chunk/intl-COP5OPN0.js";
|
|
13
|
+
import { f as A, m as j, p as M, u as ne } from "./chunk/ApiUrls-DU5mINxc.js";
|
|
14
|
+
import { c as re, i as ie, n as N, t as ae } from "./chunk/jsx-runtime-CCEfa_da.js";
|
|
15
|
+
import { F as oe, M as se, P as ce, S as le, _ as ue, a as de, b as fe, c as pe, d as me, f as he, g as ge, i as _e, j as ve, k as ye, o as be, r as xe, s as Se, t as P, u as Ce, v as we, x as Te, y as Ee } from "./chunk/Message-C8ZwB4H_.js";
|
|
16
|
+
import { a as De, i as Oe, n as ke, r as Ae, s as je, t as Me } from "./chunk/TestingRouteOverrides-CfhNQg5b.js";
|
|
17
|
+
import { _ as Ne, a as Pe, c as Fe, d as Ie, f as Le, g as Re, h as ze, i as Be, l as Ve, n as He, o as Ue, p as We, r as Ge, s as Ke, t as qe, u as Je } from "./chunk/FormFooterComponent-oaSe-Xzj.js";
|
|
18
|
+
import { i as Ye } from "./chunk/programThemeGetters-BnS5Q93M.js";
|
|
19
|
+
import { a as Xe, i as Ze, n as Qe, r as $e, t as et } from "./chunk/hooks-DuYcWWea.js";
|
|
20
|
+
import { i as tt, s as nt, t as rt } from "./chunk/refs-DiYh48lF.js";
|
|
21
|
+
import { t as it } from "./chunk/LogoComponent-U1dLeCEh.js";
|
|
22
|
+
import { t as at } from "./chunk/strings-DWLVdUcm.js";
|
|
23
|
+
import { t as ot } from "./chunk/AnnouncingHeader-DXfeQFzD.js";
|
|
25
24
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
let r = (0,
|
|
25
|
+
var F = /* @__PURE__ */ i(re());
|
|
26
|
+
function st({ i18n: e, defaultNS: t, children: n }) {
|
|
27
|
+
let r = (0, F.useMemo)(() => ({
|
|
29
28
|
i18n: e,
|
|
30
29
|
defaultNS: t
|
|
31
30
|
}), [e, t]);
|
|
32
|
-
return (0,
|
|
31
|
+
return (0, F.createElement)(oe.Provider, { value: r }, n);
|
|
33
32
|
}
|
|
34
33
|
//#endregion
|
|
35
34
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
36
|
-
var
|
|
37
|
-
let
|
|
38
|
-
let
|
|
39
|
-
|
|
35
|
+
var ct = (e, t = { partial: !0 }) => {
|
|
36
|
+
let n = Ge(), r = n.getState(), i = () => {
|
|
37
|
+
let r = g(e);
|
|
38
|
+
l.info("Setting programTheme", r), Ie(n.dispatch)(r, t.partial), we(r, t.partial);
|
|
40
39
|
};
|
|
41
|
-
|
|
40
|
+
r.isLoading ? ze({
|
|
42
41
|
name: "ON_VERIFICATION_READY",
|
|
43
42
|
callback: () => {
|
|
44
|
-
|
|
43
|
+
i();
|
|
45
44
|
}
|
|
46
|
-
}) :
|
|
47
|
-
},
|
|
45
|
+
}) : i();
|
|
46
|
+
}, lt = /* @__PURE__ */ i(e(), 1), ut = /* @__PURE__ */ i(ge(), 1), I = ae(), dt = () => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
48
47
|
className: "sid-spinner",
|
|
49
48
|
"data-testid": "sid-spinner",
|
|
50
49
|
children: [
|
|
51
|
-
/* @__PURE__ */ (0,
|
|
52
|
-
/* @__PURE__ */ (0,
|
|
53
|
-
/* @__PURE__ */ (0,
|
|
54
|
-
/* @__PURE__ */ (0,
|
|
50
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
51
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
52
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
53
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
55
54
|
]
|
|
56
|
-
}),
|
|
55
|
+
}), ft = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
57
56
|
className: "sid-loading-screen__message",
|
|
58
|
-
children: [
|
|
57
|
+
children: [r(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
59
58
|
className: "sid-loading-screen__message-header",
|
|
60
59
|
role: "alert",
|
|
61
|
-
children: /* @__PURE__ */ (0,
|
|
60
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
62
61
|
id: "step.personalInfo.verifyingTitle",
|
|
63
62
|
defaultMessage: "Verifying your status"
|
|
64
63
|
})
|
|
65
|
-
}), /* @__PURE__ */ (0,
|
|
64
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
66
65
|
className: "sid-loading-screen__message-subhead",
|
|
67
|
-
children: /* @__PURE__ */ (0,
|
|
66
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
68
67
|
id: "step.personalInfo.verifyingSubtitle",
|
|
69
68
|
defaultMessage: "This should only take a minute"
|
|
70
69
|
})
|
|
71
70
|
})]
|
|
72
|
-
}),
|
|
71
|
+
}), pt = ({ step: e = Me() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
73
72
|
className: "sid-loading-screen",
|
|
74
|
-
children: [/* @__PURE__ */ (0,
|
|
75
|
-
}),
|
|
73
|
+
children: [/* @__PURE__ */ (0, I.jsx)(dt, {}), e && /* @__PURE__ */ (0, I.jsx)(ft, { step: e })]
|
|
74
|
+
}), mt = /* @__PURE__ */ c(((e, t) => {
|
|
76
75
|
var n, r = n = {
|
|
77
76
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
78
77
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -139,13 +138,13 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
139
138
|
enumerable: !0,
|
|
140
139
|
configurable: !1
|
|
141
140
|
}), t.exports = r;
|
|
142
|
-
})),
|
|
143
|
-
var n =
|
|
141
|
+
})), ht = /* @__PURE__ */ c(((e, t) => {
|
|
142
|
+
var n = mt();
|
|
144
143
|
t.exports = {
|
|
145
144
|
isRtlLang: n.isRtlLang,
|
|
146
145
|
getLangDir: n.getLangDir
|
|
147
146
|
};
|
|
148
|
-
})),
|
|
147
|
+
})), gt = /* @__PURE__ */ i(ce(), 1), _t = /* @__PURE__ */ i(ht(), 1), L = {
|
|
149
148
|
landingBackgroundColor: "#fff",
|
|
150
149
|
landingPrimaryFontColor: "#000",
|
|
151
150
|
landingBackgroundImage: "none",
|
|
@@ -159,7 +158,7 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
159
158
|
formFont: "var(--sheerid-font-family-sans)",
|
|
160
159
|
cssVariables: null,
|
|
161
160
|
customStyles: null
|
|
162
|
-
},
|
|
161
|
+
}, vt = F.createContext(L), R = {
|
|
163
162
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
164
163
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
165
164
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -173,7 +172,7 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
173
172
|
formFont: "--sheerid-font-family-body",
|
|
174
173
|
cssVariables: null,
|
|
175
174
|
customStyles: null
|
|
176
|
-
},
|
|
175
|
+
}, yt = {
|
|
177
176
|
"--sheerid-color-fg-05": {
|
|
178
177
|
from: "--sheerid-color-bg",
|
|
179
178
|
to: "--sheerid-color-fg",
|
|
@@ -284,25 +283,25 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
284
283
|
to: "--sheerid-color-fg",
|
|
285
284
|
percentage: 3
|
|
286
285
|
}
|
|
287
|
-
},
|
|
288
|
-
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor ||
|
|
289
|
-
[
|
|
290
|
-
[
|
|
291
|
-
[
|
|
292
|
-
[
|
|
293
|
-
[
|
|
294
|
-
[
|
|
295
|
-
[
|
|
296
|
-
[
|
|
297
|
-
[
|
|
298
|
-
[
|
|
299
|
-
[
|
|
300
|
-
...Object.entries(
|
|
286
|
+
}, bt = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
287
|
+
let r = (e) => window.self === window.top ? e.replace(/body,/g, "").replace(/label,/g, "").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g, "").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g, "").replace(/h1\s*?\{[\s\S]*?\}\n?/g, "") : e, i = t || e?.customCss || "", a = i ? r(i) : null, o = e?.landingPage, s = o?.backgroundColor || L.landingBackgroundColor, c = o?.primaryFontColor || L.landingPrimaryFontColor, l = o?.backgroundImageUrl || L.landingBackgroundImage, u = e?.backgroundColor || L.formBackgroundColor, d = e?.primaryFontColor || L.formPrimaryFontColor, f = e?.buttonColor || L.formButtonColor, p = e?.buttonFontColor || L.formButtonFontColor, m = e?.linkColor || L.formLinkColor, h = e?.h1FontColor || L.formH1FontColor, g = e?.helperFontColor || L.formHelperFontColor, _ = e?.font || L.formFont, v = {
|
|
288
|
+
[R.landingBackgroundColor]: s,
|
|
289
|
+
[R.landingPrimaryFontColor]: c,
|
|
290
|
+
[R.landingBackgroundImage]: l === L.landingBackgroundImage ? L.landingBackgroundImage : `url(${l})`,
|
|
291
|
+
[R.formBackgroundColor]: u,
|
|
292
|
+
[R.formPrimaryFontColor]: d,
|
|
293
|
+
[R.formButtonColor]: f,
|
|
294
|
+
[R.formButtonFontColor]: p,
|
|
295
|
+
[R.formLinkColor]: m,
|
|
296
|
+
[R.formH1FontColor]: h,
|
|
297
|
+
[R.formHelperFontColor]: g,
|
|
298
|
+
[R.formFont]: _ === L.formFont ? L.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
299
|
+
...Object.entries(yt).reduce((e, [t, n]) => {
|
|
301
300
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
302
301
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
303
302
|
}, {})
|
|
304
|
-
}, y =
|
|
305
|
-
return /* @__PURE__ */ (0,
|
|
303
|
+
}, y = F.useRef(null), b = M() === A.cdnInlineIframe, x = M() === A.cdnModalIframe;
|
|
304
|
+
return /* @__PURE__ */ (0, I.jsx)(vt.Provider, {
|
|
306
305
|
value: {
|
|
307
306
|
landingBackgroundColor: s,
|
|
308
307
|
landingPrimaryFontColor: c,
|
|
@@ -318,15 +317,15 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
318
317
|
cssVariables: v,
|
|
319
318
|
customStyles: a
|
|
320
319
|
},
|
|
321
|
-
children: /* @__PURE__ */ (0,
|
|
320
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
322
321
|
style: v,
|
|
323
322
|
ref: y,
|
|
324
323
|
"data-in-iframe": b,
|
|
325
324
|
"data-in-modal": x,
|
|
326
|
-
children: [a && /* @__PURE__ */ (0,
|
|
325
|
+
children: [a && /* @__PURE__ */ (0, I.jsx)("style", { children: a }), n]
|
|
327
326
|
})
|
|
328
327
|
});
|
|
329
|
-
},
|
|
328
|
+
}, xt = (e, t, n) => ({
|
|
330
329
|
minAge: t?.minAge || e?.config?.minAge,
|
|
331
330
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
332
331
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -334,128 +333,128 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
334
333
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
335
334
|
currentStep: t?.currentStep,
|
|
336
335
|
viewModel: n
|
|
337
|
-
}),
|
|
336
|
+
}), St = {}, Ct = (e) => St[e] ? (l.log(`getOverridenComponent returning ${e}`), St[e]) : null, wt = ({ verificationService: e, linkText: t }) => {
|
|
338
337
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
339
|
-
return n ? /* @__PURE__ */ (0,
|
|
338
|
+
return n ? /* @__PURE__ */ (0, I.jsx)(xe, {
|
|
340
339
|
className: "sid-faq sid-link",
|
|
341
|
-
href:
|
|
342
|
-
children: t || /* @__PURE__ */ (0,
|
|
340
|
+
href: Ye(i, n, r, ee(e.viewModel), e.verificationResponse),
|
|
341
|
+
children: t || /* @__PURE__ */ (0, I.jsx)(N, {
|
|
343
342
|
id: "getHelp",
|
|
344
343
|
defaultMessage: "Get help"
|
|
345
344
|
})
|
|
346
345
|
}) : null;
|
|
347
|
-
},
|
|
346
|
+
}, Tt = /* @__PURE__ */ (0, I.jsx)(N, {
|
|
348
347
|
id: "poweredBy",
|
|
349
348
|
defaultMessage: "Verification services powered by SheerID."
|
|
350
|
-
}),
|
|
349
|
+
}), Et = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
351
350
|
switch (n) {
|
|
352
|
-
case "poweredby": return /* @__PURE__ */ (0,
|
|
351
|
+
case "poweredby": return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
353
352
|
className: "sid-footer__powered-by-container-experiment",
|
|
354
|
-
children: [/* @__PURE__ */ (0,
|
|
353
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
355
354
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
356
|
-
children:
|
|
357
|
-
}), !r && /* @__PURE__ */ (0,
|
|
355
|
+
children: Tt
|
|
356
|
+
}), !r && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
358
357
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
359
|
-
children: /* @__PURE__ */ (0,
|
|
358
|
+
children: /* @__PURE__ */ (0, I.jsx)(wt, { verificationService: e })
|
|
360
359
|
})]
|
|
361
360
|
});
|
|
362
|
-
case "verificationby": return /* @__PURE__ */ (0,
|
|
361
|
+
case "verificationby": return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
363
362
|
className: "sid-footer__powered-by-container--stacked sid-l-horz-center sid-footer__powered-by-experiment",
|
|
364
|
-
children: /* @__PURE__ */ (0,
|
|
363
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
365
364
|
className: "sid-footer__powered-by-verificationby-experiment",
|
|
366
|
-
children: [/* @__PURE__ */ (0,
|
|
365
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
367
366
|
className: "sid-footer__powered-by-icon-experiment",
|
|
368
|
-
children: /* @__PURE__ */ (0,
|
|
367
|
+
children: /* @__PURE__ */ (0, I.jsx)("img", {
|
|
369
368
|
alt: "",
|
|
370
369
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
371
370
|
})
|
|
372
|
-
}),
|
|
371
|
+
}), Tt]
|
|
373
372
|
})
|
|
374
373
|
});
|
|
375
|
-
default: return /* @__PURE__ */ (0,
|
|
374
|
+
default: return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
376
375
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
377
|
-
children: [/* @__PURE__ */ (0,
|
|
376
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
378
377
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
379
|
-
children:
|
|
380
|
-
}), !r && /* @__PURE__ */ (0,
|
|
378
|
+
children: Tt
|
|
379
|
+
}), !r && /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
381
380
|
className: t ? "sid-l-space-top-sm" : "",
|
|
382
|
-
children: ["\xA0", /* @__PURE__ */ (0,
|
|
381
|
+
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(wt, { verificationService: e })]
|
|
383
382
|
})]
|
|
384
383
|
});
|
|
385
384
|
}
|
|
386
|
-
},
|
|
387
|
-
let n =
|
|
385
|
+
}, Dt = (e, t) => {
|
|
386
|
+
let n = F.useRef(null);
|
|
388
387
|
function r() {
|
|
389
388
|
clearInterval(n.current);
|
|
390
389
|
}
|
|
391
|
-
return
|
|
392
|
-
},
|
|
393
|
-
let a =
|
|
394
|
-
return /* @__PURE__ */ (0,
|
|
390
|
+
return F.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
391
|
+
}, Ot = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = jt.PRIMARY }) => {
|
|
392
|
+
let a = at(e);
|
|
393
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
395
394
|
className: "sid-header sid-l-horz-center",
|
|
396
395
|
children: [
|
|
397
|
-
/* @__PURE__ */ (0,
|
|
396
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
398
397
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
399
398
|
children: n
|
|
400
399
|
}),
|
|
401
|
-
/* @__PURE__ */ (0,
|
|
400
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
402
401
|
align: "center",
|
|
403
402
|
children: t.title
|
|
404
403
|
}),
|
|
405
|
-
/* @__PURE__ */ (0,
|
|
404
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
406
405
|
className: "sid-header__subtitle-one",
|
|
407
406
|
children: t.subtitle
|
|
408
407
|
}),
|
|
409
|
-
t?.subtitle2 && /* @__PURE__ */ (0,
|
|
410
|
-
/* @__PURE__ */ (0,
|
|
408
|
+
t?.subtitle2 && /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }),
|
|
409
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
411
410
|
className: "sid-header__subtitle-two sid-h-small-text sid-l-space-top-md",
|
|
412
|
-
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0,
|
|
411
|
+
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0, I.jsx)("div", {
|
|
413
412
|
className: `sid-form-region sid-${a}-pending-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
414
|
-
children: /* @__PURE__ */ (0,
|
|
413
|
+
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
415
414
|
onClick: r,
|
|
416
415
|
type: "submit",
|
|
417
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
416
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === jt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
418
417
|
"aria-label": "submit",
|
|
419
418
|
children: t.cancel
|
|
420
419
|
})
|
|
421
420
|
})]
|
|
422
421
|
}),
|
|
423
|
-
t?.subtitle2 ? /* @__PURE__ */ (0,
|
|
422
|
+
t?.subtitle2 ? /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
424
423
|
]
|
|
425
424
|
});
|
|
426
|
-
},
|
|
425
|
+
}, kt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = jt.PRIMARY }) => /* @__PURE__ */ (0, I.jsx)(Ot, {
|
|
427
426
|
messages: t,
|
|
428
427
|
stepName: e,
|
|
429
428
|
logo: n,
|
|
430
429
|
cancelSingleSignOn: r,
|
|
431
430
|
cancelButtonType: i
|
|
432
|
-
}),
|
|
433
|
-
let i =
|
|
434
|
-
return /* @__PURE__ */ (0,
|
|
431
|
+
}), At = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
432
|
+
let i = et("hc-my-sheer-id-theme-builder");
|
|
433
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
435
434
|
className: "sid-header sid-l-horz-center",
|
|
436
435
|
children: [
|
|
437
|
-
/* @__PURE__ */ (0,
|
|
436
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
438
437
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
439
|
-
children: /* @__PURE__ */ (0,
|
|
438
|
+
children: /* @__PURE__ */ (0, I.jsx)(it, {
|
|
440
439
|
verificationService: t,
|
|
441
|
-
fallbackLogo: !i && /* @__PURE__ */ (0,
|
|
440
|
+
fallbackLogo: !i && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
442
441
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
443
442
|
alt: "",
|
|
444
443
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"
|
|
445
444
|
})
|
|
446
445
|
})
|
|
447
446
|
}),
|
|
448
|
-
/* @__PURE__ */ (0,
|
|
447
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
449
448
|
align: "center",
|
|
450
449
|
children: e.title
|
|
451
450
|
}),
|
|
452
|
-
/* @__PURE__ */ (0,
|
|
451
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
453
452
|
className: "sid-header__subtitle-one",
|
|
454
453
|
children: e.subtitle
|
|
455
454
|
}),
|
|
456
|
-
/* @__PURE__ */ (0,
|
|
455
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
457
456
|
className: `sid-form-region sid-${r}-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
458
|
-
children: /* @__PURE__ */ (0,
|
|
457
|
+
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
459
458
|
id: `sid-submit-btn-${r}`,
|
|
460
459
|
onClick: () => n("isSingleSignOnActive", !0),
|
|
461
460
|
type: "submit",
|
|
@@ -463,200 +462,200 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
463
462
|
children: e.login
|
|
464
463
|
})
|
|
465
464
|
}),
|
|
466
|
-
/* @__PURE__ */ (0,
|
|
465
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
467
466
|
]
|
|
468
467
|
});
|
|
469
|
-
},
|
|
468
|
+
}, jt = /* @__PURE__ */ function(e) {
|
|
470
469
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
471
|
-
}({}),
|
|
472
|
-
let { programId:
|
|
473
|
-
verificationService:
|
|
474
|
-
fallbackLogo: !g && /* @__PURE__ */ (0,
|
|
470
|
+
}({}), Mt = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
471
|
+
let { programId: i } = e, a = e.viewModel, s = e.previousViewModel || void 0, c = e.verificationResponse, u = e.previousVerificationResponse || void 0, { verificationId: d, locale: f } = e.verificationResponse, m = De(), h = at(t), g = et("hc-my-sheer-id-theme-builder"), _, v = /* @__PURE__ */ (0, I.jsx)(it, {
|
|
472
|
+
verificationService: e,
|
|
473
|
+
fallbackLogo: !g && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
475
474
|
className: `sid-${h}-logo-default sid-l-lead-image`,
|
|
476
475
|
alt: "",
|
|
477
476
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
478
477
|
})
|
|
479
478
|
}), y = () => setTimeout(() => {
|
|
480
|
-
|
|
481
|
-
}, 1e3), b = (
|
|
482
|
-
let r = S(
|
|
483
|
-
t
|
|
479
|
+
e.fetchExistingVerificationRequest(i, d, u, s);
|
|
480
|
+
}, 1e3), b = (t, n) => {
|
|
481
|
+
let r = S(a, (e) => {
|
|
482
|
+
e[t] = n;
|
|
484
483
|
});
|
|
485
|
-
|
|
484
|
+
e.updateViewModel(r);
|
|
486
485
|
}, x = () => {
|
|
487
486
|
O(p.SSO_CANCEL_CLICKED, {
|
|
488
|
-
programId:
|
|
487
|
+
programId: i,
|
|
489
488
|
locale: f,
|
|
490
489
|
verificationId: d
|
|
491
|
-
}),
|
|
492
|
-
let
|
|
493
|
-
|
|
490
|
+
}), rt();
|
|
491
|
+
let n = S(a, () => {});
|
|
492
|
+
l.info("SingleSignOnComponent submitting cancel request"), clearTimeout(_), e.submitStep(t, n, e.verificationResponse);
|
|
494
493
|
}, C = (e, t) => {
|
|
495
494
|
O(p.SSO_SIGN_IN_CLICKED, {
|
|
496
|
-
programId:
|
|
495
|
+
programId: i,
|
|
497
496
|
locale: f,
|
|
498
497
|
verificationId: d
|
|
499
498
|
}), b(e, t), w();
|
|
500
499
|
}, w = () => {
|
|
501
|
-
let e =
|
|
502
|
-
|
|
500
|
+
let e = t === o.sso ? ye(c.loginUrl) : c.loginUrl;
|
|
501
|
+
nt(window.open(e, "_blank")), tt().focus();
|
|
503
502
|
};
|
|
504
|
-
return
|
|
503
|
+
return a.isSingleSignOnActive && !m && (_ = y()), !a.countryChoice && s && s.countryChoice && b("countryChoice", s.countryChoice), /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
505
504
|
id: `sid-step-${h}`,
|
|
506
505
|
className: `sid-${h}-container sid-l-container`,
|
|
507
506
|
"data-testid": `sid-step-${h}`,
|
|
508
|
-
children: [/* @__PURE__ */ (0,
|
|
507
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
509
508
|
role: "main",
|
|
510
|
-
children:
|
|
511
|
-
stepName:
|
|
512
|
-
messages:
|
|
509
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(kt, {
|
|
510
|
+
stepName: t,
|
|
511
|
+
messages: n,
|
|
513
512
|
logo: v,
|
|
514
513
|
cancelSingleSignOn: x,
|
|
515
|
-
cancelButtonType:
|
|
516
|
-
}) : /* @__PURE__ */ (0,
|
|
517
|
-
verificationService:
|
|
518
|
-
messages:
|
|
514
|
+
cancelButtonType: r
|
|
515
|
+
}) : /* @__PURE__ */ (0, I.jsx)(At, {
|
|
516
|
+
verificationService: e,
|
|
517
|
+
messages: n,
|
|
519
518
|
updateViewModelAndOpenLoginTab: C,
|
|
520
519
|
dashedStepName: h
|
|
521
520
|
})
|
|
522
|
-
}), /* @__PURE__ */ (0,
|
|
521
|
+
}), /* @__PURE__ */ (0, I.jsx)(qe, { verificationService: e })]
|
|
523
522
|
});
|
|
524
|
-
},
|
|
525
|
-
title: /* @__PURE__ */ (0,
|
|
523
|
+
}, Nt = {
|
|
524
|
+
title: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
526
525
|
id: "step.sso.title",
|
|
527
526
|
defaultMessage: "Verify using your school credentials",
|
|
528
527
|
tagName: "h1"
|
|
529
528
|
}),
|
|
530
|
-
subtitle: /* @__PURE__ */ (0,
|
|
529
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
531
530
|
id: "step.sso.subtitle",
|
|
532
531
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
533
532
|
}),
|
|
534
|
-
login: /* @__PURE__ */ (0,
|
|
533
|
+
login: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
535
534
|
id: "step.sso.login",
|
|
536
535
|
defaultMessage: "Sign in to my school"
|
|
537
536
|
}),
|
|
538
|
-
cancel: /* @__PURE__ */ (0,
|
|
537
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
539
538
|
id: "step.sso.cancel",
|
|
540
539
|
defaultMessage: "Upload Proof of Enrollment"
|
|
541
540
|
}),
|
|
542
|
-
subtitle2: /* @__PURE__ */ (0,
|
|
541
|
+
subtitle2: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
543
542
|
id: "step.sso.subtitle2",
|
|
544
543
|
defaultMessage: "Can't sign in to your school?"
|
|
545
544
|
})
|
|
546
|
-
},
|
|
545
|
+
}, Pt = ({ verificationService: e }) => /* @__PURE__ */ (0, I.jsx)(Mt, {
|
|
547
546
|
verificationService: e,
|
|
548
|
-
stepName:
|
|
549
|
-
messages:
|
|
550
|
-
}),
|
|
547
|
+
stepName: o.sso,
|
|
548
|
+
messages: Nt
|
|
549
|
+
}), Ft = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
551
550
|
className: "sid-header sid-l-horz-center",
|
|
552
551
|
"data-testid": "sid-review-pending",
|
|
553
552
|
children: [
|
|
554
|
-
/* @__PURE__ */ (0,
|
|
553
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
555
554
|
className: "sid-l-horz-center",
|
|
556
555
|
children: e
|
|
557
556
|
}),
|
|
558
|
-
/* @__PURE__ */ (0,
|
|
557
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
559
558
|
align: "center",
|
|
560
|
-
children: /* @__PURE__ */ (0,
|
|
559
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
561
560
|
id: "step.pending.titleReview",
|
|
562
561
|
defaultMessage: "Reviewing",
|
|
563
562
|
tagName: "h1"
|
|
564
563
|
})
|
|
565
564
|
}),
|
|
566
|
-
/* @__PURE__ */ (0,
|
|
565
|
+
/* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
567
566
|
id: "step.pending.uploadedDocument",
|
|
568
567
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
569
568
|
}) }),
|
|
570
|
-
/* @__PURE__ */ (0,
|
|
569
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
571
570
|
className: "sid-header__subtitle-one sid-l-space-top-md",
|
|
572
|
-
children: /* @__PURE__ */ (0,
|
|
571
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "step.pending.turnaroundTime" })
|
|
573
572
|
}),
|
|
574
|
-
/* @__PURE__ */ (0,
|
|
573
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
575
574
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
576
|
-
children: /* @__PURE__ */ (0,
|
|
575
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
577
576
|
id: "step.pending.subtitle2",
|
|
578
577
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
579
578
|
})
|
|
580
579
|
}),
|
|
581
|
-
/* @__PURE__ */ (0,
|
|
580
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
582
581
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
583
|
-
children: /* @__PURE__ */ (0,
|
|
582
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
584
583
|
id: "step.pending.subtitle3",
|
|
585
584
|
defaultMessage: "You will be contacted via email."
|
|
586
585
|
})
|
|
587
586
|
}),
|
|
588
|
-
/* @__PURE__ */ (0,
|
|
587
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
589
588
|
]
|
|
590
|
-
}),
|
|
589
|
+
}), It = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
591
590
|
className: "sid-header sid-l-horz-center",
|
|
592
591
|
"data-testid": "sid-review-pending",
|
|
593
592
|
children: [
|
|
594
|
-
/* @__PURE__ */ (0,
|
|
593
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
595
594
|
className: "sid-l-horz-center",
|
|
596
595
|
children: e
|
|
597
596
|
}),
|
|
598
|
-
/* @__PURE__ */ (0,
|
|
597
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
599
598
|
align: "center",
|
|
600
|
-
children: /* @__PURE__ */ (0,
|
|
599
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
601
600
|
id: "step.pending.idCheckLoop.title",
|
|
602
601
|
defaultMessage: "We're reviewing your documents",
|
|
603
602
|
tagName: "h1"
|
|
604
603
|
})
|
|
605
604
|
}),
|
|
606
|
-
/* @__PURE__ */ (0,
|
|
605
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
607
606
|
className: "sid-header__subtitle-one",
|
|
608
|
-
children: /* @__PURE__ */ (0,
|
|
607
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
609
608
|
id: "step.pending.idCheckLoop.subtitle",
|
|
610
609
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
611
610
|
})
|
|
612
611
|
}),
|
|
613
|
-
/* @__PURE__ */ (0,
|
|
612
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
614
613
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
615
|
-
children: /* @__PURE__ */ (0,
|
|
614
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
616
615
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
617
616
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
618
617
|
})
|
|
619
618
|
}),
|
|
620
|
-
/* @__PURE__ */ (0,
|
|
619
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
621
620
|
]
|
|
622
|
-
}),
|
|
623
|
-
title: /* @__PURE__ */ (0,
|
|
621
|
+
}), Lt = { [a.SIGNZY]: {
|
|
622
|
+
title: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
624
623
|
id: "step.thirdPartyLoop.signzy.title",
|
|
625
624
|
tagName: "h1",
|
|
626
625
|
defaultMessage: "Verify using DigiLocker"
|
|
627
626
|
}),
|
|
628
|
-
subtitle: /* @__PURE__ */ (0,
|
|
627
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
629
628
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
630
629
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
631
630
|
}),
|
|
632
|
-
login: /* @__PURE__ */ (0,
|
|
631
|
+
login: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
633
632
|
id: "step.thirdPartyLoop.signzy.login",
|
|
634
633
|
defaultMessage: "Sign in to DigiLocker"
|
|
635
634
|
}),
|
|
636
|
-
cancel: /* @__PURE__ */ (0,
|
|
635
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
637
636
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
638
637
|
defaultMessage: "Upload Proof of Identity"
|
|
639
638
|
})
|
|
640
|
-
} },
|
|
641
|
-
let n = /* @__PURE__ */ (0,
|
|
639
|
+
} }, Rt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
640
|
+
let n = /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
642
641
|
className: "sid-header sid-l-horz-center",
|
|
643
642
|
children: [
|
|
644
|
-
/* @__PURE__ */ (0,
|
|
643
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
645
644
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
646
645
|
children: e
|
|
647
646
|
}),
|
|
648
|
-
/* @__PURE__ */ (0,
|
|
647
|
+
/* @__PURE__ */ (0, I.jsx)(ot, {
|
|
649
648
|
align: "center",
|
|
650
|
-
children: /* @__PURE__ */ (0,
|
|
649
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
651
650
|
id: "error",
|
|
652
651
|
tagName: "h1"
|
|
653
652
|
})
|
|
654
653
|
}),
|
|
655
|
-
/* @__PURE__ */ (0,
|
|
654
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
656
655
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
657
|
-
children: /* @__PURE__ */ (0,
|
|
656
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
658
657
|
className: "sid-error-msg sid-l-horz-center",
|
|
659
|
-
children: /* @__PURE__ */ (0,
|
|
658
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, {
|
|
660
659
|
id: "step.thirdPartyLoop.error",
|
|
661
660
|
defaultMessage: "Provider not supported"
|
|
662
661
|
})
|
|
@@ -664,226 +663,226 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
664
663
|
})
|
|
665
664
|
]
|
|
666
665
|
});
|
|
667
|
-
return /* @__PURE__ */ (0,
|
|
666
|
+
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
668
667
|
id: "sid-step-third-party-loop",
|
|
669
668
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
670
669
|
"data-testid": "sid-step-third-party-loop-error",
|
|
671
|
-
children: t ? /* @__PURE__ */ (0,
|
|
670
|
+
children: t ? /* @__PURE__ */ (0, I.jsx)("div", {
|
|
672
671
|
role: "main",
|
|
673
672
|
children: n
|
|
674
673
|
}) : n
|
|
675
674
|
});
|
|
676
|
-
},
|
|
677
|
-
let t =
|
|
678
|
-
return t ? /* @__PURE__ */ (0,
|
|
675
|
+
}, zt = ({ verificationService: e }) => {
|
|
676
|
+
let t = Lt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = et("hc-my-sheer-id-theme-builder");
|
|
677
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(Mt, {
|
|
679
678
|
verificationService: e,
|
|
680
|
-
stepName:
|
|
679
|
+
stepName: o.thirdPartyLoop,
|
|
681
680
|
messages: t,
|
|
682
|
-
cancelButtonType:
|
|
683
|
-
}) : /* @__PURE__ */ (0,
|
|
681
|
+
cancelButtonType: jt.SECONDARY
|
|
682
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Rt, {
|
|
684
683
|
isStepRoot: !0,
|
|
685
|
-
logo: /* @__PURE__ */ (0,
|
|
684
|
+
logo: /* @__PURE__ */ (0, I.jsx)(it, {
|
|
686
685
|
verificationService: e,
|
|
687
|
-
fallbackLogo: !n && /* @__PURE__ */ (0,
|
|
686
|
+
fallbackLogo: !n && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
688
687
|
className: "sid-error-logo sid-l-lead-image",
|
|
689
688
|
alt: "",
|
|
690
689
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
691
690
|
})
|
|
692
691
|
})
|
|
693
692
|
});
|
|
694
|
-
},
|
|
695
|
-
let
|
|
696
|
-
return
|
|
697
|
-
stepName:
|
|
698
|
-
messages:
|
|
693
|
+
}, Bt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
694
|
+
let i = Lt[r ? Oe("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
695
|
+
return i ? /* @__PURE__ */ (0, I.jsx)(kt, {
|
|
696
|
+
stepName: o.thirdPartyLoop,
|
|
697
|
+
messages: i,
|
|
699
698
|
logo: e,
|
|
700
699
|
cancelSingleSignOn: n,
|
|
701
|
-
cancelButtonType:
|
|
702
|
-
}) : /* @__PURE__ */ (0,
|
|
703
|
-
},
|
|
704
|
-
let { programId:
|
|
705
|
-
|
|
700
|
+
cancelButtonType: jt.SECONDARY
|
|
701
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Rt, { logo: e });
|
|
702
|
+
}, Vt = 5e3, Ht = 2e4, Ut = 2e4, Wt = 2e3, Gt = ({ verificationService: e }) => {
|
|
703
|
+
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, s = De(), c = Ae() && Ae() === o.sso, u = Ae() && Ae() === o.thirdPartyLoop, d = Ae() && Ae() === o.idCheckLoop, f = et("hc-my-sheer-id-theme-builder"), p = () => i?.currentStep === o.sso, m = () => i?.currentStep === o.thirdPartyLoop, h = () => i?.currentStep === o.idCheckLoop, g = p() || m() || c || u, _ = h() || d, v = !g && !_, [y, b] = F.useState(() => g ? Wt : _ ? Ut : Vt);
|
|
704
|
+
F.useEffect(() => {
|
|
706
705
|
if (!v) return;
|
|
707
|
-
let e = setTimeout(() => b(
|
|
706
|
+
let e = setTimeout(() => b(Ut), Ht);
|
|
708
707
|
return () => clearTimeout(e);
|
|
709
708
|
}, [v]);
|
|
710
|
-
let x = !
|
|
711
|
-
|
|
712
|
-
}, y), C = (
|
|
713
|
-
let
|
|
714
|
-
|
|
715
|
-
}, w = /* @__PURE__ */ (0,
|
|
716
|
-
verificationService:
|
|
717
|
-
fallbackLogo: !f && /* @__PURE__ */ (0,
|
|
709
|
+
let x = !s && Dt(() => {
|
|
710
|
+
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
711
|
+
}, y), C = (t) => {
|
|
712
|
+
let r = S(n, () => {});
|
|
713
|
+
l.info("StepSingleSignOnComponent submitting cancel request, step:", t), x(), rt(), e.submitStep(t, r, i);
|
|
714
|
+
}, w = /* @__PURE__ */ (0, I.jsx)(it, {
|
|
715
|
+
verificationService: e,
|
|
716
|
+
fallbackLogo: !f && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
718
717
|
className: "sid-l-lead-image",
|
|
719
718
|
alt: "",
|
|
720
719
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
721
720
|
})
|
|
722
721
|
});
|
|
723
|
-
return /* @__PURE__ */ (0,
|
|
722
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
724
723
|
id: "sid-step-pending",
|
|
725
724
|
className: "sid-l-container",
|
|
726
|
-
children: [/* @__PURE__ */ (0,
|
|
725
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
727
726
|
role: "main",
|
|
728
727
|
children: (() => {
|
|
729
|
-
let e = p() ||
|
|
730
|
-
return e ? /* @__PURE__ */ (0,
|
|
731
|
-
stepName:
|
|
732
|
-
messages:
|
|
728
|
+
let e = p() || c, t = m() || u, n = h() || d;
|
|
729
|
+
return e ? /* @__PURE__ */ (0, I.jsx)(kt, {
|
|
730
|
+
stepName: o.sso,
|
|
731
|
+
messages: Nt,
|
|
733
732
|
logo: w,
|
|
734
|
-
cancelSingleSignOn: () => C(
|
|
735
|
-
}) : t ? /* @__PURE__ */ (0,
|
|
733
|
+
cancelSingleSignOn: () => C(o.sso)
|
|
734
|
+
}) : t ? /* @__PURE__ */ (0, I.jsx)(Bt, {
|
|
736
735
|
logo: w,
|
|
737
|
-
cancelThirdPartyLoop: () => C(
|
|
738
|
-
verificationLastResponse:
|
|
736
|
+
cancelThirdPartyLoop: () => C(o.thirdPartyLoop),
|
|
737
|
+
verificationLastResponse: i,
|
|
739
738
|
isMockingPreviousStepThirdPartyLoop: u
|
|
740
|
-
}) : n ? /* @__PURE__ */ (0,
|
|
739
|
+
}) : n ? /* @__PURE__ */ (0, I.jsx)(It, { logo: w }) : /* @__PURE__ */ (0, I.jsx)(Ft, { logo: w });
|
|
741
740
|
})()
|
|
742
|
-
}), _ ? /* @__PURE__ */ (0,
|
|
743
|
-
verificationService:
|
|
741
|
+
}), _ ? /* @__PURE__ */ (0, I.jsx)(Et, {
|
|
742
|
+
verificationService: e,
|
|
744
743
|
isCentered: !0
|
|
745
|
-
}) : /* @__PURE__ */ (0,
|
|
746
|
-
verificationService:
|
|
747
|
-
children: [/* @__PURE__ */ (0,
|
|
744
|
+
}) : /* @__PURE__ */ (0, I.jsxs)(qe, {
|
|
745
|
+
verificationService: e,
|
|
746
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {}), " "]
|
|
748
747
|
})]
|
|
749
748
|
});
|
|
750
|
-
},
|
|
751
|
-
let e =
|
|
749
|
+
}, Kt = () => {
|
|
750
|
+
let e = _e(), t = de(), n = pe(), r = k(() => n.segment), i = F.useCallback(() => {
|
|
752
751
|
if (window.self !== window.top) {
|
|
753
752
|
let e = new URL(window.location.href);
|
|
754
753
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
755
754
|
return;
|
|
756
755
|
}
|
|
757
756
|
(async () => {
|
|
758
|
-
|
|
757
|
+
Ke(e)(), await Ue(e)(t, r, void 0, void 0, !0);
|
|
759
758
|
})();
|
|
760
759
|
}, [
|
|
761
760
|
e,
|
|
762
761
|
t,
|
|
763
762
|
r
|
|
764
763
|
]);
|
|
765
|
-
return /* @__PURE__ */ (0,
|
|
764
|
+
return /* @__PURE__ */ (0, I.jsx)("button", {
|
|
766
765
|
type: "button",
|
|
767
766
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
768
767
|
onClick: i,
|
|
769
768
|
onKeyPress: i,
|
|
770
|
-
children: /* @__PURE__ */ (0,
|
|
769
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "tryAgain" })
|
|
771
770
|
});
|
|
772
|
-
},
|
|
771
|
+
}, qt = {
|
|
773
772
|
NONE: "none",
|
|
774
773
|
RESET: "reset",
|
|
775
774
|
POSTMESSAGE: "postMessage",
|
|
776
775
|
REDIRECT: "redirect"
|
|
777
|
-
},
|
|
778
|
-
let e =
|
|
776
|
+
}, Jt = () => {
|
|
777
|
+
let e = pe(), t = () => se({
|
|
779
778
|
action: "tryAgain",
|
|
780
779
|
verificationResponse: e
|
|
781
780
|
});
|
|
782
|
-
return /* @__PURE__ */ (0,
|
|
781
|
+
return /* @__PURE__ */ (0, I.jsx)("button", {
|
|
783
782
|
type: "button",
|
|
784
783
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
785
784
|
onClick: t,
|
|
786
785
|
onKeyPress: t,
|
|
787
|
-
children: /* @__PURE__ */ (0,
|
|
786
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "tryAgain" })
|
|
788
787
|
});
|
|
789
|
-
},
|
|
788
|
+
}, Yt = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, I.jsx)(xe, {
|
|
790
789
|
target: t,
|
|
791
790
|
href: e.toString(),
|
|
792
791
|
className: "sid-btn sid-btn--dark",
|
|
793
|
-
children: /* @__PURE__ */ (0,
|
|
794
|
-
}),
|
|
795
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
796
|
-
},
|
|
797
|
-
let
|
|
792
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "seeOtherOffers" })
|
|
793
|
+
}), Xt = (e) => {
|
|
794
|
+
if (!(typeof e == "object" && "type" in e && Object.values(qt).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
795
|
+
}, Zt = () => {
|
|
796
|
+
let e = x("tryAgainAction");
|
|
798
797
|
try {
|
|
799
|
-
switch (
|
|
800
|
-
case
|
|
801
|
-
case
|
|
802
|
-
case
|
|
803
|
-
redirectUrl:
|
|
804
|
-
target:
|
|
798
|
+
switch (Xt(e), e.type) {
|
|
799
|
+
case qt.NONE: return null;
|
|
800
|
+
case qt.POSTMESSAGE: return window.self === window.top ? (l.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, I.jsx)(Jt, {});
|
|
801
|
+
case qt.REDIRECT: return /* @__PURE__ */ (0, I.jsx)(Yt, {
|
|
802
|
+
redirectUrl: e.url,
|
|
803
|
+
target: e.target
|
|
805
804
|
});
|
|
806
|
-
case
|
|
805
|
+
case qt.RESET: return /* @__PURE__ */ (0, I.jsx)(Kt, {});
|
|
807
806
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
808
807
|
}
|
|
809
|
-
} catch (
|
|
810
|
-
return
|
|
808
|
+
} catch (e) {
|
|
809
|
+
return l.error(e.message), /* @__PURE__ */ (0, I.jsx)(Kt, {});
|
|
811
810
|
}
|
|
812
|
-
},
|
|
811
|
+
}, Qt = [
|
|
813
812
|
"docReviewLimitExceeded",
|
|
814
813
|
"verificationLimitExceeded",
|
|
815
814
|
"fraudRulesReject"
|
|
816
|
-
],
|
|
815
|
+
], $t = ({ verificationService: e, errorIds: t }) => {
|
|
817
816
|
let n = t[0];
|
|
818
|
-
return /* @__PURE__ */ (0,
|
|
817
|
+
return /* @__PURE__ */ (0, I.jsx)(ot, {
|
|
819
818
|
align: "center",
|
|
820
|
-
children: /* @__PURE__ */ (0,
|
|
819
|
+
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(P, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
821
820
|
});
|
|
822
|
-
},
|
|
821
|
+
}, en = ({ errorIds: e, errorDetailId: t }) => {
|
|
823
822
|
let n = /* @__PURE__ */ new Map();
|
|
824
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0,
|
|
825
|
-
},
|
|
823
|
+
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, I.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(P, { id: t }, t)) }) : null;
|
|
824
|
+
}, tn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
826
825
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
827
|
-
let t =
|
|
828
|
-
return t ? /* @__PURE__ */ (0,
|
|
826
|
+
let t = k(() => e.programTheme.config.brandInfo.faqUrl);
|
|
827
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(xe, {
|
|
829
828
|
href: t,
|
|
830
|
-
onClick: () => u(
|
|
829
|
+
onClick: () => u(o.error, t),
|
|
831
830
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
832
|
-
children: /* @__PURE__ */ (0,
|
|
831
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
833
832
|
}) : null;
|
|
834
833
|
}
|
|
835
834
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
836
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return
|
|
835
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return x("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(Zt, {});
|
|
837
836
|
let r = t[0];
|
|
838
|
-
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0,
|
|
837
|
+
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, I.jsx)(xe, {
|
|
839
838
|
href: n,
|
|
840
|
-
onClick: () => u(
|
|
839
|
+
onClick: () => u(o.error, n),
|
|
841
840
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
842
|
-
children: /* @__PURE__ */ (0,
|
|
843
|
-
}) : /* @__PURE__ */ (0,
|
|
844
|
-
},
|
|
845
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
841
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: `step.error.errorId.${r}.buttonText` })
|
|
842
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Zt, {});
|
|
843
|
+
}, nn = ({ verificationService: e, errorId: t }) => {
|
|
844
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = et("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
846
845
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
847
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
848
|
-
return /* @__PURE__ */ (0,
|
|
846
|
+
let s = Array.from(o), c = s.some((e) => Qt.includes(e));
|
|
847
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
849
848
|
id: "sid-step-error",
|
|
850
849
|
className: "sid-error-container sid-l-container",
|
|
851
|
-
children: [/* @__PURE__ */ (0,
|
|
850
|
+
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
852
851
|
className: "sid-header sid-l-horz-center",
|
|
853
852
|
role: "banner",
|
|
854
853
|
children: [
|
|
855
|
-
/* @__PURE__ */ (0,
|
|
854
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
856
855
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
857
|
-
children: /* @__PURE__ */ (0,
|
|
856
|
+
children: /* @__PURE__ */ (0, I.jsx)(it, {
|
|
858
857
|
verificationService: e,
|
|
859
|
-
fallbackLogo: !a && /* @__PURE__ */ (0,
|
|
858
|
+
fallbackLogo: !a && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
860
859
|
className: "sid-error-logo sid-l-lead-image",
|
|
861
860
|
alt: "",
|
|
862
861
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
863
862
|
})
|
|
864
863
|
})
|
|
865
864
|
}),
|
|
866
|
-
/* @__PURE__ */ (0,
|
|
865
|
+
/* @__PURE__ */ (0, I.jsx)($t, {
|
|
867
866
|
verificationService: e,
|
|
868
867
|
errorIds: s
|
|
869
868
|
}),
|
|
870
|
-
/* @__PURE__ */ (0,
|
|
869
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
871
870
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
872
871
|
children: [
|
|
873
|
-
/* @__PURE__ */ (0,
|
|
872
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
874
873
|
className: "sid-error-msg sid-l-horz-center",
|
|
875
|
-
children: /* @__PURE__ */ (0,
|
|
874
|
+
children: /* @__PURE__ */ (0, I.jsx)(en, {
|
|
876
875
|
errorIds: s,
|
|
877
876
|
errorDetailId: i
|
|
878
877
|
})
|
|
879
878
|
}),
|
|
880
|
-
c && /* @__PURE__ */ (0,
|
|
879
|
+
c && /* @__PURE__ */ (0, I.jsx)("p", {
|
|
881
880
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
882
|
-
children: /* @__PURE__ */ (0,
|
|
881
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "contactSupport" })
|
|
883
882
|
}),
|
|
884
|
-
/* @__PURE__ */ (0,
|
|
883
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
885
884
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
886
|
-
children: /* @__PURE__ */ (0,
|
|
885
|
+
children: /* @__PURE__ */ (0, I.jsx)(tn, {
|
|
887
886
|
verificationService: e,
|
|
888
887
|
errorIds: s,
|
|
889
888
|
redirectUrl: r
|
|
@@ -892,266 +891,266 @@ var lt = (t, n = { partial: !0 }) => {
|
|
|
892
891
|
]
|
|
893
892
|
})
|
|
894
893
|
]
|
|
895
|
-
}), /* @__PURE__ */ (0,
|
|
894
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
896
895
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
897
|
-
children: /* @__PURE__ */ (0,
|
|
896
|
+
children: /* @__PURE__ */ (0, I.jsx)(Et, {
|
|
898
897
|
verificationService: e,
|
|
899
898
|
isCentered: !0,
|
|
900
899
|
hideFaqLink: c
|
|
901
900
|
})
|
|
902
901
|
})]
|
|
903
902
|
});
|
|
904
|
-
},
|
|
905
|
-
StepPendingComponent:
|
|
906
|
-
StepErrorComponent:
|
|
907
|
-
StepStudentPersonalInfoComponent:
|
|
908
|
-
StepOverrideComponent:
|
|
909
|
-
StepAgePersonalInfoComponent:
|
|
910
|
-
StepSeniorPersonalInfoComponent:
|
|
911
|
-
StepCollectMilitaryPersonalInfoComponent:
|
|
912
|
-
StepCollectMilitaryStatusComponent:
|
|
913
|
-
StepActiveMilitaryPersonalInfoComponent:
|
|
914
|
-
StepInactiveMilitaryPersonalInfoComponent:
|
|
915
|
-
StepDriverLicensePersonalInfoComponent:
|
|
916
|
-
StepEmploymentPersonalInfoComponent:
|
|
917
|
-
StepFirstResponderPersonalInfoComponent:
|
|
918
|
-
StepGeneralIdentityPersonalInfoComponent:
|
|
919
|
-
StepHybridIdentityPersonalInfoComponent:
|
|
920
|
-
StepIDCheckLoopComponent:
|
|
921
|
-
StepLicensedProfessionalPersonalInfoComponent:
|
|
922
|
-
StepLowIncomePersonalInfoComponent:
|
|
923
|
-
StepMedicalProfessionalPersonalInfoComponent:
|
|
924
|
-
StepMemberPersonalInfoComponent:
|
|
925
|
-
StepConsolationComponent:
|
|
926
|
-
StepDocUploadComponent:
|
|
927
|
-
StepEmailLoopComponent:
|
|
928
|
-
StepPendingEmailLoopComponent:
|
|
929
|
-
StepMoverPersonalInfoComponent:
|
|
930
|
-
StepSMSLoopComponent:
|
|
931
|
-
StepSocialSecurity:
|
|
932
|
-
StepSSOComponent:
|
|
933
|
-
StepSuccessComponent:
|
|
934
|
-
StepTeacherPersonalInfoComponent:
|
|
935
|
-
StepCompleteAuthentication:
|
|
936
|
-
StepCollectIdentifierComponent:
|
|
937
|
-
StepCollectPersonalInfo:
|
|
938
|
-
StepThirdPartyLoopComponent:
|
|
939
|
-
},
|
|
940
|
-
|
|
941
|
-
let
|
|
942
|
-
switch ((0,
|
|
903
|
+
}, rn = {
|
|
904
|
+
StepPendingComponent: Gt,
|
|
905
|
+
StepErrorComponent: nn,
|
|
906
|
+
StepStudentPersonalInfoComponent: F.lazy(() => import("./chunk/StepStudentPersonalInfo-03QpIWkq.js")),
|
|
907
|
+
StepOverrideComponent: F.lazy(() => import("./chunk/StepOverrideComponent-BLPmVFvp.js")),
|
|
908
|
+
StepAgePersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-CkvJUnK6.js")),
|
|
909
|
+
StepSeniorPersonalInfoComponent: F.lazy(() => import("./chunk/StepAgePersonalInfo-CkvJUnK6.js")),
|
|
910
|
+
StepCollectMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js")),
|
|
911
|
+
StepCollectMilitaryStatusComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js")),
|
|
912
|
+
StepActiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js")),
|
|
913
|
+
StepInactiveMilitaryPersonalInfoComponent: F.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-eHNUb4js.js")),
|
|
914
|
+
StepDriverLicensePersonalInfoComponent: F.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-BxHNa8Y6.js")),
|
|
915
|
+
StepEmploymentPersonalInfoComponent: F.lazy(() => import("./chunk/StepEmploymentPersonalInfo-BdPNUH_U.js")),
|
|
916
|
+
StepFirstResponderPersonalInfoComponent: F.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-CtkSlAqn.js")),
|
|
917
|
+
StepGeneralIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-BsZXHtwX.js")),
|
|
918
|
+
StepHybridIdentityPersonalInfoComponent: F.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-BBXGkQ13.js")),
|
|
919
|
+
StepIDCheckLoopComponent: F.lazy(() => import("./chunk/StepIDCheckLoop-DYhoRoFm.js")),
|
|
920
|
+
StepLicensedProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-hXd4L7zJ.js")),
|
|
921
|
+
StepLowIncomePersonalInfoComponent: F.lazy(() => import("./chunk/StepLowIncomePersonalInfo-B9rvMh5D.js")),
|
|
922
|
+
StepMedicalProfessionalPersonalInfoComponent: F.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-Dj00ow88.js")),
|
|
923
|
+
StepMemberPersonalInfoComponent: F.lazy(() => import("./chunk/StepMemberPersonalInfo-DXQDbgye.js")),
|
|
924
|
+
StepConsolationComponent: F.lazy(() => import("./chunk/StepConsolation-DRnpaPIB.js")),
|
|
925
|
+
StepDocUploadComponent: F.lazy(() => import("./chunk/StepDocUpload-CyqOFprF.js")),
|
|
926
|
+
StepEmailLoopComponent: F.lazy(() => import("./chunk/StepEmailLoop-BEIC15oF.js")),
|
|
927
|
+
StepPendingEmailLoopComponent: F.lazy(() => import("./chunk/EmailLoopPending-CgRp0qIE.js").then((e) => e.n)),
|
|
928
|
+
StepMoverPersonalInfoComponent: F.lazy(() => import("./chunk/StepMoverPersonalInfo-C4dW2U-w.js")),
|
|
929
|
+
StepSMSLoopComponent: F.lazy(() => import("./chunk/StepSMSLoop-Cyus2TEa.js")),
|
|
930
|
+
StepSocialSecurity: F.lazy(() => import("./chunk/StepSocialSecurityNumber-BlzVBYtJ.js")),
|
|
931
|
+
StepSSOComponent: F.lazy(() => import("./chunk/StepSSO-BGHCbduX.js")),
|
|
932
|
+
StepSuccessComponent: F.lazy(() => import("./chunk/StepSuccess--jHHRqxE.js")),
|
|
933
|
+
StepTeacherPersonalInfoComponent: F.lazy(() => import("./chunk/StepTeacherPersonalInfo-CDiyDDoq.js")),
|
|
934
|
+
StepCompleteAuthentication: F.lazy(() => import("./chunk/StepCompleteAuthentication-aZqH2zX2.js")),
|
|
935
|
+
StepCollectIdentifierComponent: F.lazy(() => import("./chunk/StepCollectIdentifier-CZPgIiri.js")),
|
|
936
|
+
StepCollectPersonalInfo: F.lazy(() => import("./chunk/StepCollectPersonalInfo-BH2TbclC.js")),
|
|
937
|
+
StepThirdPartyLoopComponent: F.lazy(() => import("./chunk/StepThirdPartyLoop-CbFTIlwP.js"))
|
|
938
|
+
}, z = (e) => (l.info("getComponent", e), Ct(e) || rn[e]), an = () => /* @__PURE__ */ (0, I.jsx)(pt, {}), on = ({ stepToLoad: e, verificationService: t }) => {
|
|
939
|
+
l.info(`LoadStepComponent: rendering step: ${e}`);
|
|
940
|
+
let n;
|
|
941
|
+
switch ((0, F.useEffect)(() => {
|
|
943
942
|
try {
|
|
944
943
|
performance.mark(m.INITIAL_STEP_LOAD);
|
|
945
944
|
} catch {}
|
|
946
|
-
}, []),
|
|
947
|
-
if (!["pending", "error"].includes(
|
|
945
|
+
}, []), F.useEffect(() => {
|
|
946
|
+
if (!["pending", "error"].includes(e)) try {
|
|
948
947
|
performance.mark(p.STEP_SEEN), D({
|
|
949
948
|
eventName: p.STEP_SEEN,
|
|
950
|
-
params: { step:
|
|
949
|
+
params: { step: e }
|
|
951
950
|
});
|
|
952
|
-
} catch (
|
|
953
|
-
|
|
951
|
+
} catch (e) {
|
|
952
|
+
l.error(e);
|
|
954
953
|
}
|
|
955
|
-
}, [
|
|
954
|
+
}, [e]), e) {
|
|
956
955
|
case "collectPersonalInfo":
|
|
957
|
-
|
|
956
|
+
n = z("StepCollectPersonalInfo");
|
|
958
957
|
break;
|
|
959
958
|
case "collectStudentPersonalInfo":
|
|
960
|
-
|
|
959
|
+
n = z("StepStudentPersonalInfoComponent");
|
|
961
960
|
break;
|
|
962
961
|
case "collectSeniorPersonalInfo":
|
|
963
|
-
|
|
962
|
+
n = z("StepSeniorPersonalInfoComponent");
|
|
964
963
|
break;
|
|
965
964
|
case "collectAgePersonalInfo":
|
|
966
|
-
|
|
965
|
+
n = z("StepAgePersonalInfoComponent");
|
|
967
966
|
break;
|
|
968
967
|
case "collectTeacherPersonalInfo":
|
|
969
|
-
|
|
968
|
+
n = z("StepTeacherPersonalInfoComponent");
|
|
970
969
|
break;
|
|
971
970
|
case "collectMemberPersonalInfo":
|
|
972
|
-
|
|
971
|
+
n = z("StepMemberPersonalInfoComponent");
|
|
973
972
|
break;
|
|
974
973
|
case "collectMilitaryStatus":
|
|
975
|
-
|
|
974
|
+
n = z("StepCollectMilitaryStatusComponent");
|
|
976
975
|
break;
|
|
977
976
|
case "collectActiveMilitaryPersonalInfo":
|
|
978
|
-
|
|
977
|
+
n = z("StepActiveMilitaryPersonalInfoComponent");
|
|
979
978
|
break;
|
|
980
979
|
case "collectInactiveMilitaryPersonalInfo":
|
|
981
|
-
|
|
980
|
+
n = z("StepInactiveMilitaryPersonalInfoComponent");
|
|
982
981
|
break;
|
|
983
982
|
case "collectMilitaryPersonalInfo":
|
|
984
|
-
|
|
983
|
+
n = z("StepCollectMilitaryPersonalInfoComponent");
|
|
985
984
|
break;
|
|
986
985
|
case "collectFirstResponderPersonalInfo":
|
|
987
|
-
|
|
986
|
+
n = z("StepFirstResponderPersonalInfoComponent");
|
|
988
987
|
break;
|
|
989
988
|
case "collectMedicalProfessionalPersonalInfo":
|
|
990
|
-
|
|
989
|
+
n = z("StepMedicalProfessionalPersonalInfoComponent");
|
|
991
990
|
break;
|
|
992
991
|
case "collectEmployeePersonalInfo":
|
|
993
|
-
|
|
992
|
+
n = z("StepEmploymentPersonalInfoComponent");
|
|
994
993
|
break;
|
|
995
994
|
case "collectDriverLicensePersonalInfo":
|
|
996
|
-
|
|
995
|
+
n = z("StepDriverLicensePersonalInfoComponent");
|
|
997
996
|
break;
|
|
998
997
|
case "collectGeneralIdentityPersonalInfo":
|
|
999
|
-
|
|
998
|
+
n = z("StepGeneralIdentityPersonalInfoComponent");
|
|
1000
999
|
break;
|
|
1001
1000
|
case "collectHybridIdentityPersonalInfo":
|
|
1002
|
-
|
|
1001
|
+
n = z("StepHybridIdentityPersonalInfoComponent");
|
|
1003
1002
|
break;
|
|
1004
1003
|
case "collectLicensedProfessionalPersonalInfo":
|
|
1005
|
-
|
|
1004
|
+
n = z("StepLicensedProfessionalPersonalInfoComponent");
|
|
1006
1005
|
break;
|
|
1007
1006
|
case "collectMoverPersonalInfo":
|
|
1008
|
-
|
|
1007
|
+
n = z("StepMoverPersonalInfoComponent");
|
|
1009
1008
|
break;
|
|
1010
1009
|
case "collectLowIncomePersonalInfo":
|
|
1011
|
-
|
|
1010
|
+
n = z("StepLowIncomePersonalInfoComponent");
|
|
1012
1011
|
break;
|
|
1013
1012
|
case "collectSocialSecurityNumber":
|
|
1014
|
-
|
|
1013
|
+
n = z("StepSocialSecurity");
|
|
1015
1014
|
break;
|
|
1016
1015
|
case "success":
|
|
1017
|
-
|
|
1016
|
+
n = z("StepSuccessComponent");
|
|
1018
1017
|
break;
|
|
1019
1018
|
case "consolation":
|
|
1020
|
-
|
|
1019
|
+
n = z("StepConsolationComponent");
|
|
1021
1020
|
break;
|
|
1022
1021
|
case "override":
|
|
1023
|
-
|
|
1022
|
+
n = z("StepOverrideComponent");
|
|
1024
1023
|
break;
|
|
1025
1024
|
case "docUpload":
|
|
1026
|
-
|
|
1025
|
+
n = z("StepDocUploadComponent");
|
|
1027
1026
|
break;
|
|
1028
1027
|
case "pending":
|
|
1029
|
-
|
|
1028
|
+
n = z("StepPendingComponent");
|
|
1030
1029
|
break;
|
|
1031
1030
|
case "sso":
|
|
1032
|
-
|
|
1031
|
+
n = z("StepSSOComponent");
|
|
1033
1032
|
break;
|
|
1034
1033
|
case "thirdPartyLoop":
|
|
1035
|
-
|
|
1034
|
+
n = z("StepThirdPartyLoopComponent");
|
|
1036
1035
|
break;
|
|
1037
1036
|
case "smsLoop":
|
|
1038
|
-
|
|
1037
|
+
n = z("StepSMSLoopComponent");
|
|
1039
1038
|
break;
|
|
1040
1039
|
case "emailLoop":
|
|
1041
|
-
|
|
1040
|
+
n = z("StepEmailLoopComponent");
|
|
1042
1041
|
break;
|
|
1043
1042
|
case "idCheckLoop":
|
|
1044
|
-
|
|
1043
|
+
n = z("StepIDCheckLoopComponent");
|
|
1045
1044
|
break;
|
|
1046
1045
|
case "collectIdentifier":
|
|
1047
|
-
|
|
1046
|
+
n = z("StepCollectIdentifierComponent");
|
|
1048
1047
|
break;
|
|
1049
1048
|
case "completeAuthentication":
|
|
1050
|
-
|
|
1049
|
+
n = z("StepCompleteAuthentication");
|
|
1051
1050
|
break;
|
|
1052
|
-
case "missingRequiredMetadata": return
|
|
1053
|
-
verificationService:
|
|
1051
|
+
case "missingRequiredMetadata": return n = z("StepErrorComponent"), /* @__PURE__ */ (0, I.jsx)(n, {
|
|
1052
|
+
verificationService: t,
|
|
1054
1053
|
errorId: "missingRequiredMetadata"
|
|
1055
1054
|
});
|
|
1056
|
-
case "missingRequiredExternalId": return
|
|
1057
|
-
verificationService:
|
|
1055
|
+
case "missingRequiredExternalId": return n = z("StepErrorComponent"), /* @__PURE__ */ (0, I.jsx)(n, {
|
|
1056
|
+
verificationService: t,
|
|
1058
1057
|
errorId: "missingRequiredExternalId"
|
|
1059
1058
|
});
|
|
1060
1059
|
case "error":
|
|
1061
|
-
|
|
1060
|
+
n = z("StepErrorComponent");
|
|
1062
1061
|
break;
|
|
1063
1062
|
case "cancelDocUpload":
|
|
1064
1063
|
case "cancelEmailLoop":
|
|
1065
1064
|
case "cancelSocialSecurityNumber":
|
|
1066
1065
|
case "docReviewLimitExceeded":
|
|
1067
|
-
case "emailLoopCollectOrganizationEmail": return
|
|
1068
|
-
verificationService:
|
|
1066
|
+
case "emailLoopCollectOrganizationEmail": return l.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(nn, {
|
|
1067
|
+
verificationService: t,
|
|
1069
1068
|
errorId: "invalidStep"
|
|
1070
1069
|
});
|
|
1071
|
-
default: return
|
|
1072
|
-
verificationService:
|
|
1070
|
+
default: return l.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(nn, {
|
|
1071
|
+
verificationService: t,
|
|
1073
1072
|
errorId: "invalidStep"
|
|
1074
1073
|
});
|
|
1075
1074
|
}
|
|
1076
|
-
return /* @__PURE__ */ (0,
|
|
1077
|
-
fallback:
|
|
1078
|
-
children: /* @__PURE__ */ (0,
|
|
1075
|
+
return /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
1076
|
+
fallback: an(),
|
|
1077
|
+
children: /* @__PURE__ */ (0, I.jsx)(n, { verificationService: t })
|
|
1079
1078
|
});
|
|
1080
|
-
},
|
|
1079
|
+
}, sn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, I.jsx)("span", {
|
|
1081
1080
|
dangerouslySetInnerHTML: e,
|
|
1082
1081
|
...t
|
|
1083
|
-
}) : /* @__PURE__ */ (0,
|
|
1082
|
+
}) : /* @__PURE__ */ (0, I.jsx)(F.Fragment, { ...t }), cn = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
1084
1083
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1085
1084
|
role: "note",
|
|
1086
|
-
children: ["Test Mode", /* @__PURE__ */ (0,
|
|
1085
|
+
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(xe, {
|
|
1087
1086
|
className: "sid-test-mode-flag__link",
|
|
1088
1087
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1089
1088
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1090
1089
|
children: "(learn more)"
|
|
1091
1090
|
})]
|
|
1092
|
-
}) : null,
|
|
1091
|
+
}) : null, ln = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, I.jsxs)("header", {
|
|
1093
1092
|
className: "sid-header",
|
|
1094
1093
|
children: [
|
|
1095
|
-
/* @__PURE__ */ (0,
|
|
1094
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1096
1095
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1097
|
-
children: /* @__PURE__ */ (0,
|
|
1096
|
+
children: /* @__PURE__ */ (0, I.jsx)(it, {
|
|
1098
1097
|
verificationService: e,
|
|
1099
1098
|
fallbackLogo: r
|
|
1100
1099
|
})
|
|
1101
1100
|
}),
|
|
1102
|
-
/* @__PURE__ */ (0,
|
|
1101
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1103
1102
|
className: `sid-header__title sid-l-horz-center ${i ? `sid-${i}-header` : ""}`,
|
|
1104
|
-
children: /* @__PURE__ */ (0,
|
|
1103
|
+
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: t })
|
|
1105
1104
|
}),
|
|
1106
1105
|
n
|
|
1107
1106
|
]
|
|
1108
1107
|
});
|
|
1109
1108
|
typeof window < "u" && window.document && window.document.createElement;
|
|
1110
|
-
function
|
|
1109
|
+
function B(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1111
1110
|
return function(r) {
|
|
1112
1111
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
1113
1112
|
};
|
|
1114
1113
|
}
|
|
1115
1114
|
//#endregion
|
|
1116
1115
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1117
|
-
function
|
|
1116
|
+
function un(e, t) {
|
|
1118
1117
|
if (typeof e == "function") return e(t);
|
|
1119
1118
|
e != null && (e.current = t);
|
|
1120
1119
|
}
|
|
1121
|
-
function
|
|
1120
|
+
function dn(...e) {
|
|
1122
1121
|
return (t) => {
|
|
1123
1122
|
let n = !1, r = e.map((e) => {
|
|
1124
|
-
let r =
|
|
1123
|
+
let r = un(e, t);
|
|
1125
1124
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1126
1125
|
});
|
|
1127
1126
|
if (n) return () => {
|
|
1128
1127
|
for (let t = 0; t < r.length; t++) {
|
|
1129
1128
|
let n = r[t];
|
|
1130
|
-
typeof n == "function" ? n() :
|
|
1129
|
+
typeof n == "function" ? n() : un(e[t], null);
|
|
1131
1130
|
}
|
|
1132
1131
|
};
|
|
1133
1132
|
};
|
|
1134
1133
|
}
|
|
1135
|
-
function
|
|
1136
|
-
return
|
|
1134
|
+
function V(...e) {
|
|
1135
|
+
return F.useCallback(dn(...e), e);
|
|
1137
1136
|
}
|
|
1138
1137
|
//#endregion
|
|
1139
1138
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1140
|
-
function
|
|
1139
|
+
function fn(e, t = []) {
|
|
1141
1140
|
let n = [];
|
|
1142
1141
|
function r(t, r) {
|
|
1143
|
-
let i =
|
|
1142
|
+
let i = F.createContext(r), a = n.length;
|
|
1144
1143
|
n = [...n, r];
|
|
1145
1144
|
let o = (t) => {
|
|
1146
|
-
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c =
|
|
1147
|
-
return /* @__PURE__ */ (0,
|
|
1145
|
+
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = F.useMemo(() => o, Object.values(o));
|
|
1146
|
+
return /* @__PURE__ */ (0, I.jsx)(s.Provider, {
|
|
1148
1147
|
value: c,
|
|
1149
1148
|
children: r
|
|
1150
1149
|
});
|
|
1151
1150
|
};
|
|
1152
1151
|
o.displayName = t + "Provider";
|
|
1153
1152
|
function s(n, o) {
|
|
1154
|
-
let s = o?.[e]?.[a] || i, c =
|
|
1153
|
+
let s = o?.[e]?.[a] || i, c = F.useContext(s);
|
|
1155
1154
|
if (c) return c;
|
|
1156
1155
|
if (r !== void 0) return r;
|
|
1157
1156
|
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
@@ -1159,18 +1158,18 @@ function pn(e, t = []) {
|
|
|
1159
1158
|
return [o, s];
|
|
1160
1159
|
}
|
|
1161
1160
|
let i = () => {
|
|
1162
|
-
let t = n.map((e) =>
|
|
1161
|
+
let t = n.map((e) => F.createContext(e));
|
|
1163
1162
|
return function(n) {
|
|
1164
1163
|
let r = n?.[e] || t;
|
|
1165
|
-
return
|
|
1164
|
+
return F.useMemo(() => ({ [`__scope${e}`]: {
|
|
1166
1165
|
...n,
|
|
1167
1166
|
[e]: r
|
|
1168
1167
|
} }), [n, r]);
|
|
1169
1168
|
};
|
|
1170
1169
|
};
|
|
1171
|
-
return i.scopeName = e, [r,
|
|
1170
|
+
return i.scopeName = e, [r, pn(i, ...t)];
|
|
1172
1171
|
}
|
|
1173
|
-
function
|
|
1172
|
+
function pn(...e) {
|
|
1174
1173
|
let t = e[0];
|
|
1175
1174
|
if (e.length === 1) return t;
|
|
1176
1175
|
let n = () => {
|
|
@@ -1186,7 +1185,7 @@ function mn(...e) {
|
|
|
1186
1185
|
...i
|
|
1187
1186
|
};
|
|
1188
1187
|
}, {});
|
|
1189
|
-
return
|
|
1188
|
+
return F.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
1190
1189
|
};
|
|
1191
1190
|
};
|
|
1192
1191
|
return n.scopeName = t.scopeName, n;
|
|
@@ -1194,18 +1193,18 @@ function mn(...e) {
|
|
|
1194
1193
|
//#endregion
|
|
1195
1194
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1196
1195
|
// @__NO_SIDE_EFFECTS__
|
|
1197
|
-
function
|
|
1198
|
-
let t = /* @__PURE__ */
|
|
1199
|
-
let { children: r, ...i } = e, a =
|
|
1196
|
+
function mn(e) {
|
|
1197
|
+
let t = /* @__PURE__ */ hn(e), n = F.forwardRef((e, n) => {
|
|
1198
|
+
let { children: r, ...i } = e, a = F.Children.toArray(r), o = a.find(_n);
|
|
1200
1199
|
if (o) {
|
|
1201
|
-
let e = o.props.children, r = a.map((t) => t === o ?
|
|
1202
|
-
return /* @__PURE__ */ (0,
|
|
1200
|
+
let e = o.props.children, r = a.map((t) => t === o ? F.Children.count(e) > 1 ? F.Children.only(null) : F.isValidElement(e) ? e.props.children : null : t);
|
|
1201
|
+
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
1203
1202
|
...i,
|
|
1204
1203
|
ref: n,
|
|
1205
|
-
children:
|
|
1204
|
+
children: F.isValidElement(e) ? F.cloneElement(e, void 0, r) : null
|
|
1206
1205
|
});
|
|
1207
1206
|
}
|
|
1208
|
-
return /* @__PURE__ */ (0,
|
|
1207
|
+
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
1209
1208
|
...i,
|
|
1210
1209
|
ref: n,
|
|
1211
1210
|
children: r
|
|
@@ -1214,22 +1213,22 @@ function hn(e) {
|
|
|
1214
1213
|
return n.displayName = `${e}.Slot`, n;
|
|
1215
1214
|
}
|
|
1216
1215
|
// @__NO_SIDE_EFFECTS__
|
|
1217
|
-
function
|
|
1218
|
-
let t =
|
|
1216
|
+
function hn(e) {
|
|
1217
|
+
let t = F.forwardRef((e, t) => {
|
|
1219
1218
|
let { children: n, ...r } = e;
|
|
1220
|
-
if (
|
|
1221
|
-
let e =
|
|
1222
|
-
return n.type !==
|
|
1219
|
+
if (F.isValidElement(n)) {
|
|
1220
|
+
let e = yn(n), i = vn(r, n.props);
|
|
1221
|
+
return n.type !== F.Fragment && (i.ref = t ? dn(t, e) : e), F.cloneElement(n, i);
|
|
1223
1222
|
}
|
|
1224
|
-
return
|
|
1223
|
+
return F.Children.count(n) > 1 ? F.Children.only(null) : null;
|
|
1225
1224
|
});
|
|
1226
1225
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1227
1226
|
}
|
|
1228
|
-
var
|
|
1229
|
-
function
|
|
1230
|
-
return
|
|
1227
|
+
var gn = Symbol("radix.slottable");
|
|
1228
|
+
function _n(e) {
|
|
1229
|
+
return F.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === gn;
|
|
1231
1230
|
}
|
|
1232
|
-
function
|
|
1231
|
+
function vn(e, t) {
|
|
1233
1232
|
let n = { ...t };
|
|
1234
1233
|
for (let r in t) {
|
|
1235
1234
|
let i = e[r], a = t[r];
|
|
@@ -1246,13 +1245,13 @@ function yn(e, t) {
|
|
|
1246
1245
|
...n
|
|
1247
1246
|
};
|
|
1248
1247
|
}
|
|
1249
|
-
function
|
|
1248
|
+
function yn(e) {
|
|
1250
1249
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1251
1250
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
1252
1251
|
}
|
|
1253
1252
|
//#endregion
|
|
1254
1253
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
1255
|
-
var
|
|
1254
|
+
var H = [
|
|
1256
1255
|
"a",
|
|
1257
1256
|
"button",
|
|
1258
1257
|
"div",
|
|
@@ -1271,9 +1270,9 @@ var V = [
|
|
|
1271
1270
|
"svg",
|
|
1272
1271
|
"ul"
|
|
1273
1272
|
].reduce((e, t) => {
|
|
1274
|
-
let n = /* @__PURE__ */
|
|
1273
|
+
let n = /* @__PURE__ */ mn(`Primitive.${t}`), r = F.forwardRef((e, r) => {
|
|
1275
1274
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1276
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0,
|
|
1275
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, I.jsx)(o, {
|
|
1277
1276
|
...a,
|
|
1278
1277
|
ref: r
|
|
1279
1278
|
});
|
|
@@ -1283,22 +1282,22 @@ var V = [
|
|
|
1283
1282
|
[t]: r
|
|
1284
1283
|
};
|
|
1285
1284
|
}, {});
|
|
1286
|
-
function
|
|
1287
|
-
e &&
|
|
1285
|
+
function bn(e, t) {
|
|
1286
|
+
e && ut.flushSync(() => e.dispatchEvent(t));
|
|
1288
1287
|
}
|
|
1289
1288
|
//#endregion
|
|
1290
1289
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1291
|
-
function
|
|
1292
|
-
let t =
|
|
1293
|
-
return
|
|
1290
|
+
function xn(e) {
|
|
1291
|
+
let t = F.useRef(e);
|
|
1292
|
+
return F.useEffect(() => {
|
|
1294
1293
|
t.current = e;
|
|
1295
|
-
}),
|
|
1294
|
+
}), F.useMemo(() => (...e) => t.current?.(...e), []);
|
|
1296
1295
|
}
|
|
1297
1296
|
//#endregion
|
|
1298
1297
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1299
|
-
function
|
|
1300
|
-
let n =
|
|
1301
|
-
|
|
1298
|
+
function Sn(e, t = globalThis?.document) {
|
|
1299
|
+
let n = xn(e);
|
|
1300
|
+
F.useEffect(() => {
|
|
1302
1301
|
let e = (e) => {
|
|
1303
1302
|
e.key === "Escape" && n(e);
|
|
1304
1303
|
};
|
|
@@ -1307,67 +1306,67 @@ function Cn(e, t = globalThis?.document) {
|
|
|
1307
1306
|
}
|
|
1308
1307
|
//#endregion
|
|
1309
1308
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1310
|
-
var
|
|
1309
|
+
var Cn = "DismissableLayer", wn = "dismissableLayer.update", Tn = "dismissableLayer.pointerDownOutside", En = "dismissableLayer.focusOutside", Dn, On = F.createContext({
|
|
1311
1310
|
layers: /* @__PURE__ */ new Set(),
|
|
1312
1311
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1313
1312
|
branches: /* @__PURE__ */ new Set()
|
|
1314
|
-
}),
|
|
1315
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l =
|
|
1313
|
+
}), kn = F.forwardRef((e, t) => {
|
|
1314
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = F.useContext(On), [u, d] = F.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = F.useState({}), m = V(t, (e) => d(e)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), _ = h.indexOf(g), v = u ? h.indexOf(u) : -1, y = l.layersWithOutsidePointerEventsDisabled.size > 0, b = v >= _, x = Mn((e) => {
|
|
1316
1315
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1317
1316
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1318
|
-
}, f), S =
|
|
1317
|
+
}, f), S = Nn((e) => {
|
|
1319
1318
|
let t = e.target;
|
|
1320
1319
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1321
1320
|
}, f);
|
|
1322
|
-
return
|
|
1321
|
+
return Sn((e) => {
|
|
1323
1322
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1324
|
-
}, f),
|
|
1325
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1326
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1323
|
+
}, f), F.useEffect(() => {
|
|
1324
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Dn = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Pn(), () => {
|
|
1325
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Dn);
|
|
1327
1326
|
};
|
|
1328
1327
|
}, [
|
|
1329
1328
|
u,
|
|
1330
1329
|
f,
|
|
1331
1330
|
n,
|
|
1332
1331
|
l
|
|
1333
|
-
]),
|
|
1334
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1335
|
-
}, [u, l]),
|
|
1332
|
+
]), F.useEffect(() => () => {
|
|
1333
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Pn());
|
|
1334
|
+
}, [u, l]), F.useEffect(() => {
|
|
1336
1335
|
let e = () => p({});
|
|
1337
|
-
return document.addEventListener(
|
|
1338
|
-
}, []), /* @__PURE__ */ (0,
|
|
1336
|
+
return document.addEventListener(wn, e), () => document.removeEventListener(wn, e);
|
|
1337
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1339
1338
|
...c,
|
|
1340
1339
|
ref: m,
|
|
1341
1340
|
style: {
|
|
1342
1341
|
pointerEvents: y ? b ? "auto" : "none" : void 0,
|
|
1343
1342
|
...e.style
|
|
1344
1343
|
},
|
|
1345
|
-
onFocusCapture:
|
|
1346
|
-
onBlurCapture:
|
|
1347
|
-
onPointerDownCapture:
|
|
1344
|
+
onFocusCapture: B(e.onFocusCapture, S.onFocusCapture),
|
|
1345
|
+
onBlurCapture: B(e.onBlurCapture, S.onBlurCapture),
|
|
1346
|
+
onPointerDownCapture: B(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1348
1347
|
});
|
|
1349
1348
|
});
|
|
1350
|
-
|
|
1351
|
-
var
|
|
1352
|
-
let n =
|
|
1353
|
-
return
|
|
1349
|
+
kn.displayName = Cn;
|
|
1350
|
+
var An = "DismissableLayerBranch", jn = F.forwardRef((e, t) => {
|
|
1351
|
+
let n = F.useContext(On), r = F.useRef(null), i = V(t, r);
|
|
1352
|
+
return F.useEffect(() => {
|
|
1354
1353
|
let e = r.current;
|
|
1355
1354
|
if (e) return n.branches.add(e), () => {
|
|
1356
1355
|
n.branches.delete(e);
|
|
1357
1356
|
};
|
|
1358
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
1357
|
+
}, [n.branches]), /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1359
1358
|
...e,
|
|
1360
1359
|
ref: i
|
|
1361
1360
|
});
|
|
1362
1361
|
});
|
|
1363
|
-
|
|
1364
|
-
function
|
|
1365
|
-
let n =
|
|
1366
|
-
return
|
|
1362
|
+
jn.displayName = An;
|
|
1363
|
+
function Mn(e, t = globalThis?.document) {
|
|
1364
|
+
let n = xn(e), r = F.useRef(!1), i = F.useRef(() => {});
|
|
1365
|
+
return F.useEffect(() => {
|
|
1367
1366
|
let e = (e) => {
|
|
1368
1367
|
if (e.target && !r.current) {
|
|
1369
1368
|
let r = function() {
|
|
1370
|
-
|
|
1369
|
+
Fn(Tn, n, a, { discrete: !0 });
|
|
1371
1370
|
}, a = { originalEvent: e };
|
|
1372
1371
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1373
1372
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1380,11 +1379,11 @@ function Nn(e, t = globalThis?.document) {
|
|
|
1380
1379
|
};
|
|
1381
1380
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1382
1381
|
}
|
|
1383
|
-
function
|
|
1384
|
-
let n =
|
|
1385
|
-
return
|
|
1382
|
+
function Nn(e, t = globalThis?.document) {
|
|
1383
|
+
let n = xn(e), r = F.useRef(!1);
|
|
1384
|
+
return F.useEffect(() => {
|
|
1386
1385
|
let e = (e) => {
|
|
1387
|
-
e.target && !r.current &&
|
|
1386
|
+
e.target && !r.current && Fn(En, n, { originalEvent: e }, { discrete: !1 });
|
|
1388
1387
|
};
|
|
1389
1388
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1390
1389
|
}, [t, n]), {
|
|
@@ -1392,40 +1391,40 @@ function Pn(e, t = globalThis?.document) {
|
|
|
1392
1391
|
onBlurCapture: () => r.current = !1
|
|
1393
1392
|
};
|
|
1394
1393
|
}
|
|
1395
|
-
function
|
|
1396
|
-
let e = new CustomEvent(
|
|
1394
|
+
function Pn() {
|
|
1395
|
+
let e = new CustomEvent(wn);
|
|
1397
1396
|
document.dispatchEvent(e);
|
|
1398
1397
|
}
|
|
1399
|
-
function
|
|
1398
|
+
function Fn(e, t, n, { discrete: r }) {
|
|
1400
1399
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1401
1400
|
bubbles: !1,
|
|
1402
1401
|
cancelable: !0,
|
|
1403
1402
|
detail: n
|
|
1404
1403
|
});
|
|
1405
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1404
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? bn(i, a) : i.dispatchEvent(a);
|
|
1406
1405
|
}
|
|
1407
1406
|
//#endregion
|
|
1408
1407
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1409
|
-
var
|
|
1410
|
-
function
|
|
1411
|
-
|
|
1408
|
+
var In = 0;
|
|
1409
|
+
function Ln() {
|
|
1410
|
+
F.useEffect(() => {
|
|
1412
1411
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1413
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1414
|
-
|
|
1412
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? Rn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Rn()), In++, () => {
|
|
1413
|
+
In === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), In--;
|
|
1415
1414
|
};
|
|
1416
1415
|
}, []);
|
|
1417
1416
|
}
|
|
1418
|
-
function
|
|
1417
|
+
function Rn() {
|
|
1419
1418
|
let e = document.createElement("span");
|
|
1420
1419
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
1421
1420
|
}
|
|
1422
1421
|
//#endregion
|
|
1423
1422
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1424
|
-
var
|
|
1423
|
+
var zn = "focusScope.autoFocusOnMount", Bn = "focusScope.autoFocusOnUnmount", Vn = {
|
|
1425
1424
|
bubbles: !1,
|
|
1426
1425
|
cancelable: !0
|
|
1427
|
-
},
|
|
1428
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] =
|
|
1426
|
+
}, Hn = "FocusScope", Un = F.forwardRef((e, t) => {
|
|
1427
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = F.useState(null), l = xn(i), u = xn(a), d = F.useRef(null), f = V(t, (e) => c(e)), p = F.useRef({
|
|
1429
1428
|
paused: !1,
|
|
1430
1429
|
pause() {
|
|
1431
1430
|
this.paused = !0;
|
|
@@ -1434,18 +1433,18 @@ var Bn = "focusScope.autoFocusOnMount", Vn = "focusScope.autoFocusOnUnmount", Hn
|
|
|
1434
1433
|
this.paused = !1;
|
|
1435
1434
|
}
|
|
1436
1435
|
}).current;
|
|
1437
|
-
|
|
1436
|
+
F.useEffect(() => {
|
|
1438
1437
|
if (r) {
|
|
1439
1438
|
let e = function(e) {
|
|
1440
1439
|
if (p.paused || !s) return;
|
|
1441
1440
|
let t = e.target;
|
|
1442
|
-
s.contains(t) ? d.current = t :
|
|
1441
|
+
s.contains(t) ? d.current = t : Xn(d.current, { select: !0 });
|
|
1443
1442
|
}, t = function(e) {
|
|
1444
1443
|
if (p.paused || !s) return;
|
|
1445
1444
|
let t = e.relatedTarget;
|
|
1446
|
-
t !== null && (s.contains(t) ||
|
|
1445
|
+
t !== null && (s.contains(t) || Xn(d.current, { select: !0 }));
|
|
1447
1446
|
}, n = function(e) {
|
|
1448
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1447
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && Xn(s);
|
|
1449
1448
|
};
|
|
1450
1449
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1451
1450
|
let r = new MutationObserver(n);
|
|
@@ -1460,18 +1459,18 @@ var Bn = "focusScope.autoFocusOnMount", Vn = "focusScope.autoFocusOnUnmount", Hn
|
|
|
1460
1459
|
r,
|
|
1461
1460
|
s,
|
|
1462
1461
|
p.paused
|
|
1463
|
-
]),
|
|
1462
|
+
]), F.useEffect(() => {
|
|
1464
1463
|
if (s) {
|
|
1465
|
-
|
|
1464
|
+
Zn.add(p);
|
|
1466
1465
|
let e = document.activeElement;
|
|
1467
1466
|
if (!s.contains(e)) {
|
|
1468
|
-
let t = new CustomEvent(
|
|
1469
|
-
s.addEventListener(
|
|
1467
|
+
let t = new CustomEvent(zn, Vn);
|
|
1468
|
+
s.addEventListener(zn, l), s.dispatchEvent(t), t.defaultPrevented || (Wn(er(Kn(s)), { select: !0 }), document.activeElement === e && Xn(s));
|
|
1470
1469
|
}
|
|
1471
1470
|
return () => {
|
|
1472
|
-
s.removeEventListener(
|
|
1473
|
-
let t = new CustomEvent(
|
|
1474
|
-
s.addEventListener(
|
|
1471
|
+
s.removeEventListener(zn, l), setTimeout(() => {
|
|
1472
|
+
let t = new CustomEvent(Bn, Vn);
|
|
1473
|
+
s.addEventListener(Bn, u), s.dispatchEvent(t), t.defaultPrevented || Xn(e ?? document.body, { select: !0 }), s.removeEventListener(Bn, u), Zn.remove(p);
|
|
1475
1474
|
}, 0);
|
|
1476
1475
|
};
|
|
1477
1476
|
}
|
|
@@ -1481,35 +1480,35 @@ var Bn = "focusScope.autoFocusOnMount", Vn = "focusScope.autoFocusOnUnmount", Hn
|
|
|
1481
1480
|
u,
|
|
1482
1481
|
p
|
|
1483
1482
|
]);
|
|
1484
|
-
let m =
|
|
1483
|
+
let m = F.useCallback((e) => {
|
|
1485
1484
|
if (!n && !r || p.paused) return;
|
|
1486
1485
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1487
1486
|
if (t && i) {
|
|
1488
|
-
let t = e.currentTarget, [r, a] =
|
|
1489
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1487
|
+
let t = e.currentTarget, [r, a] = Gn(t);
|
|
1488
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && Xn(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && Xn(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1490
1489
|
}
|
|
1491
1490
|
}, [
|
|
1492
1491
|
n,
|
|
1493
1492
|
r,
|
|
1494
1493
|
p.paused
|
|
1495
1494
|
]);
|
|
1496
|
-
return /* @__PURE__ */ (0,
|
|
1495
|
+
return /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
1497
1496
|
tabIndex: -1,
|
|
1498
1497
|
...o,
|
|
1499
1498
|
ref: f,
|
|
1500
1499
|
onKeyDown: m
|
|
1501
1500
|
});
|
|
1502
1501
|
});
|
|
1503
|
-
|
|
1504
|
-
function
|
|
1502
|
+
Un.displayName = Hn;
|
|
1503
|
+
function Wn(e, { select: t = !1 } = {}) {
|
|
1505
1504
|
let n = document.activeElement;
|
|
1506
|
-
for (let r of e) if (
|
|
1505
|
+
for (let r of e) if (Xn(r, { select: t }), document.activeElement !== n) return;
|
|
1507
1506
|
}
|
|
1508
|
-
function
|
|
1509
|
-
let t =
|
|
1510
|
-
return [
|
|
1507
|
+
function Gn(e) {
|
|
1508
|
+
let t = Kn(e);
|
|
1509
|
+
return [qn(t, e), qn(t.reverse(), e)];
|
|
1511
1510
|
}
|
|
1512
|
-
function
|
|
1511
|
+
function Kn(e) {
|
|
1513
1512
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1514
1513
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1515
1514
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1517,10 +1516,10 @@ function qn(e) {
|
|
|
1517
1516
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1518
1517
|
return t;
|
|
1519
1518
|
}
|
|
1520
|
-
function
|
|
1521
|
-
for (let n of e) if (!
|
|
1519
|
+
function qn(e, t) {
|
|
1520
|
+
for (let n of e) if (!Jn(n, { upTo: t })) return n;
|
|
1522
1521
|
}
|
|
1523
|
-
function
|
|
1522
|
+
function Jn(e, { upTo: t }) {
|
|
1524
1523
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1525
1524
|
for (; e;) {
|
|
1526
1525
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1529,41 +1528,41 @@ function Yn(e, { upTo: t }) {
|
|
|
1529
1528
|
}
|
|
1530
1529
|
return !1;
|
|
1531
1530
|
}
|
|
1532
|
-
function
|
|
1531
|
+
function Yn(e) {
|
|
1533
1532
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1534
1533
|
}
|
|
1535
|
-
function
|
|
1534
|
+
function Xn(e, { select: t = !1 } = {}) {
|
|
1536
1535
|
if (e && e.focus) {
|
|
1537
1536
|
let n = document.activeElement;
|
|
1538
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1537
|
+
e.focus({ preventScroll: !0 }), e !== n && Yn(e) && t && e.select();
|
|
1539
1538
|
}
|
|
1540
1539
|
}
|
|
1541
|
-
var
|
|
1542
|
-
function
|
|
1540
|
+
var Zn = Qn();
|
|
1541
|
+
function Qn() {
|
|
1543
1542
|
let e = [];
|
|
1544
1543
|
return {
|
|
1545
1544
|
add(t) {
|
|
1546
1545
|
let n = e[0];
|
|
1547
|
-
t !== n && n?.pause(), e =
|
|
1546
|
+
t !== n && n?.pause(), e = $n(e, t), e.unshift(t);
|
|
1548
1547
|
},
|
|
1549
1548
|
remove(t) {
|
|
1550
|
-
e =
|
|
1549
|
+
e = $n(e, t), e[0]?.resume();
|
|
1551
1550
|
}
|
|
1552
1551
|
};
|
|
1553
1552
|
}
|
|
1554
|
-
function
|
|
1553
|
+
function $n(e, t) {
|
|
1555
1554
|
let n = [...e], r = n.indexOf(t);
|
|
1556
1555
|
return r !== -1 && n.splice(r, 1), n;
|
|
1557
1556
|
}
|
|
1558
|
-
function
|
|
1557
|
+
function er(e) {
|
|
1559
1558
|
return e.filter((e) => e.tagName !== "A");
|
|
1560
1559
|
}
|
|
1561
1560
|
//#endregion
|
|
1562
1561
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1563
|
-
var
|
|
1562
|
+
var tr = globalThis?.document ? F.useLayoutEffect : () => {}, nr = F.useId || (() => void 0), rr = 0;
|
|
1564
1563
|
function ir(e) {
|
|
1565
|
-
let [t, n] =
|
|
1566
|
-
return
|
|
1564
|
+
let [t, n] = F.useState(nr());
|
|
1565
|
+
return tr(() => {
|
|
1567
1566
|
e || n((e) => e ?? String(rr++));
|
|
1568
1567
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1569
1568
|
}
|
|
@@ -1797,15 +1796,15 @@ var Ar = 50, jr = async (e, t, n) => {
|
|
|
1797
1796
|
y: r
|
|
1798
1797
|
}, p = mr(i), m = pr(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
|
|
1799
1798
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1800
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = or(d[_], T), te = or(d[v], T), E = ee, D = C - h[m] - te, O = C / 2 - h[m] / 2 + w,
|
|
1799
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = or(d[_], T), te = or(d[v], T), E = ee, D = C - h[m] - te, O = C / 2 - h[m] / 2 + w, k = ur(E, O, D), A = !c.arrow && dr(i) != null && O !== k && a.reference[m] / 2 - (O < E ? ee : te) - h[m] / 2 < 0, j = A ? O < E ? O - E : O - D : 0;
|
|
1801
1800
|
return {
|
|
1802
|
-
[p]: f[p] +
|
|
1801
|
+
[p]: f[p] + j,
|
|
1803
1802
|
data: {
|
|
1804
|
-
[p]:
|
|
1805
|
-
centerOffset: O -
|
|
1806
|
-
...
|
|
1803
|
+
[p]: k,
|
|
1804
|
+
centerOffset: O - k - j,
|
|
1805
|
+
...A && { alignmentOffset: j }
|
|
1807
1806
|
},
|
|
1808
|
-
reset:
|
|
1807
|
+
reset: A
|
|
1809
1808
|
};
|
|
1810
1809
|
}
|
|
1811
1810
|
}), Nr = function(e) {
|
|
@@ -2448,7 +2447,7 @@ var zi = zr, Bi = Br, Vi = Nr, Hi = Hr, Ui = Ir, Wi = Mr, Gi = Vr, Ki = (e, t, n
|
|
|
2448
2447
|
...i,
|
|
2449
2448
|
platform: a
|
|
2450
2449
|
});
|
|
2451
|
-
}, qi = typeof document < "u" ?
|
|
2450
|
+
}, qi = typeof document < "u" ? F.useLayoutEffect : function() {};
|
|
2452
2451
|
function Ji(e, t) {
|
|
2453
2452
|
if (e === t) return !0;
|
|
2454
2453
|
if (typeof e != typeof t) return !1;
|
|
@@ -2478,27 +2477,27 @@ function Xi(e, t) {
|
|
|
2478
2477
|
return Math.round(t * n) / n;
|
|
2479
2478
|
}
|
|
2480
2479
|
function Zi(e) {
|
|
2481
|
-
let t =
|
|
2480
|
+
let t = F.useRef(e);
|
|
2482
2481
|
return qi(() => {
|
|
2483
2482
|
t.current = e;
|
|
2484
2483
|
}), t;
|
|
2485
2484
|
}
|
|
2486
2485
|
function Qi(e) {
|
|
2487
2486
|
e === void 0 && (e = {});
|
|
2488
|
-
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] =
|
|
2487
|
+
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = F.useState({
|
|
2489
2488
|
x: 0,
|
|
2490
2489
|
y: 0,
|
|
2491
2490
|
strategy: n,
|
|
2492
2491
|
placement: t,
|
|
2493
2492
|
middlewareData: {},
|
|
2494
2493
|
isPositioned: !1
|
|
2495
|
-
}), [f, p] =
|
|
2494
|
+
}), [f, p] = F.useState(r);
|
|
2496
2495
|
Ji(f, r) || p(r);
|
|
2497
|
-
let [m, h] =
|
|
2496
|
+
let [m, h] = F.useState(null), [g, _] = F.useState(null), v = F.useCallback((e) => {
|
|
2498
2497
|
e !== S.current && (S.current = e, h(e));
|
|
2499
|
-
}, []), y =
|
|
2498
|
+
}, []), y = F.useCallback((e) => {
|
|
2500
2499
|
e !== C.current && (C.current = e, _(e));
|
|
2501
|
-
}, []), b = a || m, x = o || g, S =
|
|
2500
|
+
}, []), b = a || m, x = o || g, S = F.useRef(null), C = F.useRef(null), w = F.useRef(u), T = c != null, ee = Zi(c), te = Zi(i), E = Zi(l), D = F.useCallback(() => {
|
|
2502
2501
|
if (!S.current || !C.current) return;
|
|
2503
2502
|
let e = {
|
|
2504
2503
|
placement: t,
|
|
@@ -2510,7 +2509,7 @@ function Qi(e) {
|
|
|
2510
2509
|
...e,
|
|
2511
2510
|
isPositioned: E.current !== !1
|
|
2512
2511
|
};
|
|
2513
|
-
O.current && !Ji(w.current, t) && (w.current = t,
|
|
2512
|
+
O.current && !Ji(w.current, t) && (w.current = t, ut.flushSync(() => {
|
|
2514
2513
|
d(t);
|
|
2515
2514
|
}));
|
|
2516
2515
|
});
|
|
@@ -2527,7 +2526,7 @@ function Qi(e) {
|
|
|
2527
2526
|
isPositioned: !1
|
|
2528
2527
|
})));
|
|
2529
2528
|
}, [l]);
|
|
2530
|
-
let O =
|
|
2529
|
+
let O = F.useRef(!1);
|
|
2531
2530
|
qi(() => (O.current = !0, () => {
|
|
2532
2531
|
O.current = !1;
|
|
2533
2532
|
}), []), qi(() => {
|
|
@@ -2542,26 +2541,26 @@ function Qi(e) {
|
|
|
2542
2541
|
ee,
|
|
2543
2542
|
T
|
|
2544
2543
|
]);
|
|
2545
|
-
let
|
|
2544
|
+
let k = F.useMemo(() => ({
|
|
2546
2545
|
reference: S,
|
|
2547
2546
|
floating: C,
|
|
2548
2547
|
setReference: v,
|
|
2549
2548
|
setFloating: y
|
|
2550
|
-
}), [v, y]),
|
|
2549
|
+
}), [v, y]), A = F.useMemo(() => ({
|
|
2551
2550
|
reference: b,
|
|
2552
2551
|
floating: x
|
|
2553
|
-
}), [b, x]),
|
|
2552
|
+
}), [b, x]), j = F.useMemo(() => {
|
|
2554
2553
|
let e = {
|
|
2555
2554
|
position: n,
|
|
2556
2555
|
left: 0,
|
|
2557
2556
|
top: 0
|
|
2558
2557
|
};
|
|
2559
|
-
if (!
|
|
2560
|
-
let t = Xi(
|
|
2558
|
+
if (!A.floating) return e;
|
|
2559
|
+
let t = Xi(A.floating, u.x), r = Xi(A.floating, u.y);
|
|
2561
2560
|
return s ? {
|
|
2562
2561
|
...e,
|
|
2563
2562
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2564
|
-
...Yi(
|
|
2563
|
+
...Yi(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2565
2564
|
} : {
|
|
2566
2565
|
position: n,
|
|
2567
2566
|
left: t,
|
|
@@ -2570,22 +2569,22 @@ function Qi(e) {
|
|
|
2570
2569
|
}, [
|
|
2571
2570
|
n,
|
|
2572
2571
|
s,
|
|
2573
|
-
|
|
2572
|
+
A.floating,
|
|
2574
2573
|
u.x,
|
|
2575
2574
|
u.y
|
|
2576
2575
|
]);
|
|
2577
|
-
return
|
|
2576
|
+
return F.useMemo(() => ({
|
|
2578
2577
|
...u,
|
|
2579
2578
|
update: D,
|
|
2580
|
-
refs:
|
|
2581
|
-
elements:
|
|
2582
|
-
floatingStyles:
|
|
2579
|
+
refs: k,
|
|
2580
|
+
elements: A,
|
|
2581
|
+
floatingStyles: j
|
|
2583
2582
|
}), [
|
|
2584
2583
|
u,
|
|
2585
2584
|
D,
|
|
2586
|
-
ne,
|
|
2587
2585
|
k,
|
|
2588
|
-
A
|
|
2586
|
+
A,
|
|
2587
|
+
j
|
|
2589
2588
|
]);
|
|
2590
2589
|
}
|
|
2591
2590
|
var $i = (e) => {
|
|
@@ -2651,16 +2650,16 @@ var $i = (e) => {
|
|
|
2651
2650
|
fn: n.fn,
|
|
2652
2651
|
options: [e, t]
|
|
2653
2652
|
};
|
|
2654
|
-
}, sa = "Arrow", ca =
|
|
2653
|
+
}, sa = "Arrow", ca = F.forwardRef((e, t) => {
|
|
2655
2654
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2656
|
-
return /* @__PURE__ */ (0,
|
|
2655
|
+
return /* @__PURE__ */ (0, I.jsx)(H.svg, {
|
|
2657
2656
|
...a,
|
|
2658
2657
|
ref: t,
|
|
2659
2658
|
width: r,
|
|
2660
2659
|
height: i,
|
|
2661
2660
|
viewBox: "0 0 30 10",
|
|
2662
2661
|
preserveAspectRatio: "none",
|
|
2663
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
2662
|
+
children: e.asChild ? n : /* @__PURE__ */ (0, I.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2664
2663
|
});
|
|
2665
2664
|
});
|
|
2666
2665
|
ca.displayName = sa;
|
|
@@ -2668,8 +2667,8 @@ var la = ca;
|
|
|
2668
2667
|
//#endregion
|
|
2669
2668
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2670
2669
|
function ua(e) {
|
|
2671
|
-
let [t, n] =
|
|
2672
|
-
return
|
|
2670
|
+
let [t, n] = F.useState(void 0);
|
|
2671
|
+
return tr(() => {
|
|
2673
2672
|
if (e) {
|
|
2674
2673
|
n({
|
|
2675
2674
|
width: e.offsetWidth,
|
|
@@ -2693,9 +2692,9 @@ function ua(e) {
|
|
|
2693
2692
|
}
|
|
2694
2693
|
//#endregion
|
|
2695
2694
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2696
|
-
var da = "Popper", [fa, pa] =
|
|
2697
|
-
let { __scopePopper: t, children: n } = e, [r, i] =
|
|
2698
|
-
return /* @__PURE__ */ (0,
|
|
2695
|
+
var da = "Popper", [fa, pa] = fn(da), [ma, ha] = fa(da), ga = (e) => {
|
|
2696
|
+
let { __scopePopper: t, children: n } = e, [r, i] = F.useState(null);
|
|
2697
|
+
return /* @__PURE__ */ (0, I.jsx)(ma, {
|
|
2699
2698
|
scope: t,
|
|
2700
2699
|
anchor: r,
|
|
2701
2700
|
onAnchorChange: i,
|
|
@@ -2703,19 +2702,19 @@ var da = "Popper", [fa, pa] = pn(da), [ma, ha] = fa(da), ga = (e) => {
|
|
|
2703
2702
|
});
|
|
2704
2703
|
};
|
|
2705
2704
|
ga.displayName = da;
|
|
2706
|
-
var _a = "PopperAnchor", va =
|
|
2707
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a = ha(_a, n), o =
|
|
2708
|
-
return
|
|
2705
|
+
var _a = "PopperAnchor", va = F.forwardRef((e, t) => {
|
|
2706
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = ha(_a, n), o = F.useRef(null), s = V(t, o), c = F.useRef(null);
|
|
2707
|
+
return F.useEffect(() => {
|
|
2709
2708
|
let e = c.current;
|
|
2710
2709
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
2711
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
2710
|
+
}), r ? null : /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2712
2711
|
...i,
|
|
2713
2712
|
ref: s
|
|
2714
2713
|
});
|
|
2715
2714
|
});
|
|
2716
2715
|
va.displayName = _a;
|
|
2717
|
-
var ya = "PopperContent", [ba, xa] = fa(ya), Sa =
|
|
2718
|
-
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g = ha(ya, n), [_, v] =
|
|
2716
|
+
var ya = "PopperContent", [ba, xa] = fa(ya), Sa = F.forwardRef((e, t) => {
|
|
2717
|
+
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g = ha(ya, n), [_, v] = F.useState(null), y = V(t, (e) => v(e)), [b, x] = F.useState(null), S = ua(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2719
2718
|
top: 0,
|
|
2720
2719
|
right: 0,
|
|
2721
2720
|
bottom: 0,
|
|
@@ -2725,7 +2724,7 @@ var ya = "PopperContent", [ba, xa] = fa(ya), Sa = P.forwardRef((e, t) => {
|
|
|
2725
2724
|
padding: ee,
|
|
2726
2725
|
boundary: te.filter(Ea),
|
|
2727
2726
|
altBoundary: E
|
|
2728
|
-
}, { refs: O, floatingStyles:
|
|
2727
|
+
}, { refs: O, floatingStyles: k, placement: A, isPositioned: j, middlewareData: M } = Qi({
|
|
2729
2728
|
strategy: "fixed",
|
|
2730
2729
|
placement: T,
|
|
2731
2730
|
whileElementsMounted: (...e) => Ri(...e, { animationFrame: p === "always" }),
|
|
@@ -2762,43 +2761,43 @@ var ya = "PopperContent", [ba, xa] = fa(ya), Sa = P.forwardRef((e, t) => {
|
|
|
2762
2761
|
...D
|
|
2763
2762
|
})
|
|
2764
2763
|
]
|
|
2765
|
-
}), [
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
}, [
|
|
2769
|
-
let
|
|
2770
|
-
return
|
|
2771
|
-
_ &&
|
|
2772
|
-
}, [_]), /* @__PURE__ */ (0,
|
|
2764
|
+
}), [ne, re] = Oa(A), ie = xn(m);
|
|
2765
|
+
tr(() => {
|
|
2766
|
+
j && ie?.();
|
|
2767
|
+
}, [j, ie]);
|
|
2768
|
+
let N = M.arrow?.x, ae = M.arrow?.y, oe = M.arrow?.centerOffset !== 0, [se, ce] = F.useState();
|
|
2769
|
+
return tr(() => {
|
|
2770
|
+
_ && ce(window.getComputedStyle(_).zIndex);
|
|
2771
|
+
}, [_]), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
2773
2772
|
ref: O.setFloating,
|
|
2774
2773
|
"data-radix-popper-content-wrapper": "",
|
|
2775
2774
|
style: {
|
|
2776
|
-
...
|
|
2777
|
-
transform:
|
|
2775
|
+
...k,
|
|
2776
|
+
transform: j ? k.transform : "translate(0, -200%)",
|
|
2778
2777
|
minWidth: "max-content",
|
|
2779
|
-
zIndex:
|
|
2780
|
-
"--radix-popper-transform-origin": [
|
|
2781
|
-
...
|
|
2778
|
+
zIndex: se,
|
|
2779
|
+
"--radix-popper-transform-origin": [M.transformOrigin?.x, M.transformOrigin?.y].join(" "),
|
|
2780
|
+
...M.hide?.referenceHidden && {
|
|
2782
2781
|
visibility: "hidden",
|
|
2783
2782
|
pointerEvents: "none"
|
|
2784
2783
|
}
|
|
2785
2784
|
},
|
|
2786
2785
|
dir: e.dir,
|
|
2787
|
-
children: /* @__PURE__ */ (0,
|
|
2786
|
+
children: /* @__PURE__ */ (0, I.jsx)(ba, {
|
|
2788
2787
|
scope: n,
|
|
2789
|
-
placedSide:
|
|
2788
|
+
placedSide: ne,
|
|
2790
2789
|
onArrowChange: x,
|
|
2791
|
-
arrowX:
|
|
2792
|
-
arrowY:
|
|
2793
|
-
shouldHideArrow:
|
|
2794
|
-
children: /* @__PURE__ */ (0,
|
|
2795
|
-
"data-side":
|
|
2796
|
-
"data-align":
|
|
2790
|
+
arrowX: N,
|
|
2791
|
+
arrowY: ae,
|
|
2792
|
+
shouldHideArrow: oe,
|
|
2793
|
+
children: /* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2794
|
+
"data-side": ne,
|
|
2795
|
+
"data-align": re,
|
|
2797
2796
|
...h,
|
|
2798
2797
|
ref: y,
|
|
2799
2798
|
style: {
|
|
2800
2799
|
...h.style,
|
|
2801
|
-
animation:
|
|
2800
|
+
animation: j ? void 0 : "none"
|
|
2802
2801
|
}
|
|
2803
2802
|
})
|
|
2804
2803
|
})
|
|
@@ -2810,9 +2809,9 @@ var Ca = "PopperArrow", wa = {
|
|
|
2810
2809
|
right: "left",
|
|
2811
2810
|
bottom: "top",
|
|
2812
2811
|
left: "right"
|
|
2813
|
-
}, Ta =
|
|
2812
|
+
}, Ta = F.forwardRef(function(e, t) {
|
|
2814
2813
|
let { __scopePopper: n, ...r } = e, i = xa(Ca, n), a = wa[i.placedSide];
|
|
2815
|
-
return /* @__PURE__ */ (0,
|
|
2814
|
+
return /* @__PURE__ */ (0, I.jsx)("span", {
|
|
2816
2815
|
ref: i.onArrowChange,
|
|
2817
2816
|
style: {
|
|
2818
2817
|
position: "absolute",
|
|
@@ -2833,7 +2832,7 @@ var Ca = "PopperArrow", wa = {
|
|
|
2833
2832
|
}[i.placedSide],
|
|
2834
2833
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2835
2834
|
},
|
|
2836
|
-
children: /* @__PURE__ */ (0,
|
|
2835
|
+
children: /* @__PURE__ */ (0, I.jsx)(la, {
|
|
2837
2836
|
...r,
|
|
2838
2837
|
ref: t,
|
|
2839
2838
|
style: {
|
|
@@ -2866,11 +2865,11 @@ function Oa(e) {
|
|
|
2866
2865
|
let [t, n = "center"] = e.split("-");
|
|
2867
2866
|
return [t, n];
|
|
2868
2867
|
}
|
|
2869
|
-
var ka = ga, Aa = va, ja = Sa, Ma = Ta, Na = "Portal", Pa =
|
|
2870
|
-
let { container: n, ...r } = e, [i, a] =
|
|
2871
|
-
|
|
2868
|
+
var ka = ga, Aa = va, ja = Sa, Ma = Ta, Na = "Portal", Pa = F.forwardRef((e, t) => {
|
|
2869
|
+
let { container: n, ...r } = e, [i, a] = F.useState(!1);
|
|
2870
|
+
tr(() => a(!0), []);
|
|
2872
2871
|
let o = n || i && globalThis?.document?.body;
|
|
2873
|
-
return o ?
|
|
2872
|
+
return o ? ut.createPortal(/* @__PURE__ */ (0, I.jsx)(H.div, {
|
|
2874
2873
|
...r,
|
|
2875
2874
|
ref: t
|
|
2876
2875
|
}), o) : null;
|
|
@@ -2879,15 +2878,15 @@ Pa.displayName = Na;
|
|
|
2879
2878
|
//#endregion
|
|
2880
2879
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2881
2880
|
function Fa(e, t) {
|
|
2882
|
-
return
|
|
2881
|
+
return F.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2883
2882
|
}
|
|
2884
2883
|
var Ia = (e) => {
|
|
2885
|
-
let { present: t, children: n } = e, r = La(t), i = typeof n == "function" ? n({ present: r.isPresent }) :
|
|
2886
|
-
return typeof n == "function" || r.isPresent ?
|
|
2884
|
+
let { present: t, children: n } = e, r = La(t), i = typeof n == "function" ? n({ present: r.isPresent }) : F.Children.only(n), a = V(r.ref, za(i));
|
|
2885
|
+
return typeof n == "function" || r.isPresent ? F.cloneElement(i, { ref: a }) : null;
|
|
2887
2886
|
};
|
|
2888
2887
|
Ia.displayName = "Presence";
|
|
2889
2888
|
function La(e) {
|
|
2890
|
-
let [t, n] =
|
|
2889
|
+
let [t, n] = F.useState(), r = F.useRef(null), i = F.useRef(e), a = F.useRef("none"), [o, s] = Fa(e ? "mounted" : "unmounted", {
|
|
2891
2890
|
mounted: {
|
|
2892
2891
|
UNMOUNT: "unmounted",
|
|
2893
2892
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2898,16 +2897,16 @@ function La(e) {
|
|
|
2898
2897
|
},
|
|
2899
2898
|
unmounted: { MOUNT: "mounted" }
|
|
2900
2899
|
});
|
|
2901
|
-
return
|
|
2900
|
+
return F.useEffect(() => {
|
|
2902
2901
|
let e = Ra(r.current);
|
|
2903
2902
|
a.current = o === "mounted" ? e : "none";
|
|
2904
|
-
}, [o]),
|
|
2903
|
+
}, [o]), tr(() => {
|
|
2905
2904
|
let t = r.current, n = i.current;
|
|
2906
2905
|
if (n !== e) {
|
|
2907
2906
|
let r = a.current, o = Ra(t);
|
|
2908
2907
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2909
2908
|
}
|
|
2910
|
-
}, [e, s]),
|
|
2909
|
+
}, [e, s]), tr(() => {
|
|
2911
2910
|
if (t) {
|
|
2912
2911
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2913
2912
|
let o = Ra(r.current).includes(CSS.escape(a.animationName));
|
|
@@ -2926,7 +2925,7 @@ function La(e) {
|
|
|
2926
2925
|
} else s("ANIMATION_END");
|
|
2927
2926
|
}, [t, s]), {
|
|
2928
2927
|
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
2929
|
-
ref:
|
|
2928
|
+
ref: F.useCallback((e) => {
|
|
2930
2929
|
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
2931
2930
|
}, [])
|
|
2932
2931
|
};
|
|
@@ -2940,20 +2939,20 @@ function za(e) {
|
|
|
2940
2939
|
}
|
|
2941
2940
|
//#endregion
|
|
2942
2941
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2943
|
-
var Ba =
|
|
2942
|
+
var Ba = F.useInsertionEffect || tr;
|
|
2944
2943
|
function Va({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2945
2944
|
let [i, a, o] = Ha({
|
|
2946
2945
|
defaultProp: t,
|
|
2947
2946
|
onChange: n
|
|
2948
2947
|
}), s = e !== void 0, c = s ? e : i;
|
|
2949
2948
|
{
|
|
2950
|
-
let t =
|
|
2951
|
-
|
|
2949
|
+
let t = F.useRef(e !== void 0);
|
|
2950
|
+
F.useEffect(() => {
|
|
2952
2951
|
let e = t.current;
|
|
2953
2952
|
e !== s && console.warn(`${r} is changing from ${e ? "controlled" : "uncontrolled"} to ${s ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`), t.current = s;
|
|
2954
2953
|
}, [s, r]);
|
|
2955
2954
|
}
|
|
2956
|
-
return [c,
|
|
2955
|
+
return [c, F.useCallback((t) => {
|
|
2957
2956
|
if (s) {
|
|
2958
2957
|
let n = Ua(t) ? t(e) : t;
|
|
2959
2958
|
n !== e && o.current?.(n);
|
|
@@ -2966,10 +2965,10 @@ function Va({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2966
2965
|
])];
|
|
2967
2966
|
}
|
|
2968
2967
|
function Ha({ defaultProp: e, onChange: t }) {
|
|
2969
|
-
let [n, r] =
|
|
2968
|
+
let [n, r] = F.useState(e), i = F.useRef(n), a = F.useRef(t);
|
|
2970
2969
|
return Ba(() => {
|
|
2971
2970
|
a.current = t;
|
|
2972
|
-
}, [t]),
|
|
2971
|
+
}, [t]), F.useEffect(() => {
|
|
2973
2972
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
2974
2973
|
}, [n, i]), [
|
|
2975
2974
|
n,
|
|
@@ -3169,7 +3168,7 @@ function lo(e, t) {
|
|
|
3169
3168
|
//#endregion
|
|
3170
3169
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3171
3170
|
function uo(e, t) {
|
|
3172
|
-
var n = (0,
|
|
3171
|
+
var n = (0, F.useState)(function() {
|
|
3173
3172
|
return {
|
|
3174
3173
|
value: e,
|
|
3175
3174
|
callback: t,
|
|
@@ -3188,7 +3187,7 @@ function uo(e, t) {
|
|
|
3188
3187
|
}
|
|
3189
3188
|
//#endregion
|
|
3190
3189
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3191
|
-
var fo = typeof window < "u" ?
|
|
3190
|
+
var fo = typeof window < "u" ? F.useLayoutEffect : F.useEffect, po = /* @__PURE__ */ new WeakMap();
|
|
3192
3191
|
function mo(e, t) {
|
|
3193
3192
|
var n = uo(t || null, function(t) {
|
|
3194
3193
|
return e.forEach(function(e) {
|
|
@@ -3282,7 +3281,7 @@ var vo = function(e) {
|
|
|
3282
3281
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3283
3282
|
var r = t.read();
|
|
3284
3283
|
if (!r) throw Error("Sidecar medium not found");
|
|
3285
|
-
return
|
|
3284
|
+
return F.createElement(r, $({}, n));
|
|
3286
3285
|
};
|
|
3287
3286
|
vo.isSideCarExport = !0;
|
|
3288
3287
|
function yo(e, t) {
|
|
@@ -3290,8 +3289,8 @@ function yo(e, t) {
|
|
|
3290
3289
|
}
|
|
3291
3290
|
//#endregion
|
|
3292
3291
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3293
|
-
var bo = _o(), xo = function() {}, So =
|
|
3294
|
-
var n =
|
|
3292
|
+
var bo = _o(), xo = function() {}, So = F.forwardRef(function(e, t) {
|
|
3293
|
+
var n = F.useRef(null), r = F.useState({
|
|
3295
3294
|
onScrollCapture: xo,
|
|
3296
3295
|
onWheelCapture: xo,
|
|
3297
3296
|
onTouchMoveCapture: xo
|
|
@@ -3310,7 +3309,7 @@ var bo = _o(), xo = function() {}, So = P.forwardRef(function(e, t) {
|
|
|
3310
3309
|
"as",
|
|
3311
3310
|
"gapMode"
|
|
3312
3311
|
]), x = f, S = mo([n, t]), C = $($({}, b), i);
|
|
3313
|
-
return
|
|
3312
|
+
return F.createElement(F.Fragment, null, u && F.createElement(x, {
|
|
3314
3313
|
sideCar: bo,
|
|
3315
3314
|
removeScrollBar: l,
|
|
3316
3315
|
shards: d,
|
|
@@ -3321,7 +3320,7 @@ var bo = _o(), xo = function() {}, So = P.forwardRef(function(e, t) {
|
|
|
3321
3320
|
allowPinchZoom: !!g,
|
|
3322
3321
|
lockRef: n,
|
|
3323
3322
|
gapMode: y
|
|
3324
|
-
}), o ?
|
|
3323
|
+
}), o ? F.cloneElement(F.Children.only(s), $($({}, C), { ref: S })) : F.createElement(v, $({}, C, {
|
|
3325
3324
|
className: c,
|
|
3326
3325
|
ref: S
|
|
3327
3326
|
}), s));
|
|
@@ -3368,7 +3367,7 @@ var Oo = function() {
|
|
|
3368
3367
|
}, ko = function() {
|
|
3369
3368
|
var e = Oo();
|
|
3370
3369
|
return function(t, n) {
|
|
3371
|
-
|
|
3370
|
+
F.useEffect(function() {
|
|
3372
3371
|
return e.add(t), function() {
|
|
3373
3372
|
e.remove();
|
|
3374
3373
|
};
|
|
@@ -3451,7 +3450,7 @@ var Oo = function() {
|
|
|
3451
3450
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3452
3451
|
return isFinite(e) ? e : 0;
|
|
3453
3452
|
}, zo = function() {
|
|
3454
|
-
|
|
3453
|
+
F.useEffect(function() {
|
|
3455
3454
|
return document.body.setAttribute(Io, (Ro() + 1).toString()), function() {
|
|
3456
3455
|
var e = Ro() - 1;
|
|
3457
3456
|
e <= 0 ? document.body.removeAttribute(Io) : document.body.setAttribute(Io, e.toString());
|
|
@@ -3460,10 +3459,10 @@ var Oo = function() {
|
|
|
3460
3459
|
}, Bo = function(e) {
|
|
3461
3460
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3462
3461
|
zo();
|
|
3463
|
-
var a =
|
|
3462
|
+
var a = F.useMemo(function() {
|
|
3464
3463
|
return Po(i);
|
|
3465
3464
|
}, [i]);
|
|
3466
|
-
return
|
|
3465
|
+
return F.createElement(Fo, { styles: Lo(a, !t, i, n ? "" : "!important") });
|
|
3467
3466
|
}, Vo = !1;
|
|
3468
3467
|
if (typeof window < "u") try {
|
|
3469
3468
|
var Ho = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -3536,10 +3535,10 @@ var Uo = Vo ? { passive: !1 } : !1, Wo = function(e) {
|
|
|
3536
3535
|
`;
|
|
3537
3536
|
}, os = 0, ss = [];
|
|
3538
3537
|
function cs(e) {
|
|
3539
|
-
var t =
|
|
3540
|
-
|
|
3538
|
+
var t = F.useRef([]), n = F.useRef([0, 0]), r = F.useRef(), i = F.useState(os++)[0], a = F.useState(Ao)[0], o = F.useRef(e);
|
|
3539
|
+
F.useEffect(function() {
|
|
3541
3540
|
o.current = e;
|
|
3542
|
-
}, [e]),
|
|
3541
|
+
}, [e]), F.useEffect(function() {
|
|
3543
3542
|
if (e.inert) {
|
|
3544
3543
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3545
3544
|
var t = io([e.lockRef.current], (e.shards || []).map(rs), !0).filter(Boolean);
|
|
@@ -3556,7 +3555,7 @@ function cs(e) {
|
|
|
3556
3555
|
e.lockRef.current,
|
|
3557
3556
|
e.shards
|
|
3558
3557
|
]);
|
|
3559
|
-
var s =
|
|
3558
|
+
var s = F.useCallback(function(e, t) {
|
|
3560
3559
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3561
3560
|
var i = ts(e), a = n.current, s = "deltaX" in e ? e.deltaX : a[0] - i[0], c = "deltaY" in e ? e.deltaY : a[1] - i[1], l, u = e.target, d = Math.abs(s) > Math.abs(c) ? "h" : "v";
|
|
3562
3561
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
@@ -3568,7 +3567,7 @@ function cs(e) {
|
|
|
3568
3567
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3569
3568
|
var h = r.current || l;
|
|
3570
3569
|
return es(h, t, e, h === "h" ? s : c, !0);
|
|
3571
|
-
}, []), c =
|
|
3570
|
+
}, []), c = F.useCallback(function(e) {
|
|
3572
3571
|
var n = e;
|
|
3573
3572
|
if (!(!ss.length || ss[ss.length - 1] !== a)) {
|
|
3574
3573
|
var r = "deltaY" in n ? ns(n) : ts(n), i = t.current.filter(function(e) {
|
|
@@ -3585,7 +3584,7 @@ function cs(e) {
|
|
|
3585
3584
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
3586
3585
|
}
|
|
3587
3586
|
}
|
|
3588
|
-
}, []), l =
|
|
3587
|
+
}, []), l = F.useCallback(function(e, n, r, i) {
|
|
3589
3588
|
var a = {
|
|
3590
3589
|
name: e,
|
|
3591
3590
|
delta: n,
|
|
@@ -3598,14 +3597,14 @@ function cs(e) {
|
|
|
3598
3597
|
return e !== a;
|
|
3599
3598
|
});
|
|
3600
3599
|
}, 1);
|
|
3601
|
-
}, []), u =
|
|
3600
|
+
}, []), u = F.useCallback(function(e) {
|
|
3602
3601
|
n.current = ts(e), r.current = void 0;
|
|
3603
|
-
}, []), d =
|
|
3602
|
+
}, []), d = F.useCallback(function(t) {
|
|
3604
3603
|
l(t.type, ns(t), t.target, s(t, e.lockRef.current));
|
|
3605
|
-
}, []), f =
|
|
3604
|
+
}, []), f = F.useCallback(function(t) {
|
|
3606
3605
|
l(t.type, ts(t), t.target, s(t, e.lockRef.current));
|
|
3607
3606
|
}, []);
|
|
3608
|
-
|
|
3607
|
+
F.useEffect(function() {
|
|
3609
3608
|
return ss.push(a), e.setCallbacks({
|
|
3610
3609
|
onScrollCapture: d,
|
|
3611
3610
|
onWheelCapture: d,
|
|
@@ -3617,7 +3616,7 @@ function cs(e) {
|
|
|
3617
3616
|
};
|
|
3618
3617
|
}, []);
|
|
3619
3618
|
var p = e.removeScrollBar, m = e.inert;
|
|
3620
|
-
return
|
|
3619
|
+
return F.createElement(F.Fragment, null, m ? F.createElement(a, { styles: as(i) }) : null, p ? F.createElement(Bo, {
|
|
3621
3620
|
noRelative: e.noRelative,
|
|
3622
3621
|
gapMode: e.gapMode
|
|
3623
3622
|
}) : null);
|
|
@@ -3628,8 +3627,8 @@ function ls(e) {
|
|
|
3628
3627
|
}
|
|
3629
3628
|
//#endregion
|
|
3630
3629
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3631
|
-
var us = yo(bo, cs), ds =
|
|
3632
|
-
return
|
|
3630
|
+
var us = yo(bo, cs), ds = F.forwardRef(function(e, t) {
|
|
3631
|
+
return F.createElement(So, $({}, e, {
|
|
3633
3632
|
ref: t,
|
|
3634
3633
|
sideCar: us
|
|
3635
3634
|
}));
|
|
@@ -3637,42 +3636,42 @@ var us = yo(bo, cs), ds = P.forwardRef(function(e, t) {
|
|
|
3637
3636
|
ds.classNames = So.classNames;
|
|
3638
3637
|
//#endregion
|
|
3639
3638
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3640
|
-
var fs = "Popover", [ps, ms] =
|
|
3641
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = hs(t), c =
|
|
3639
|
+
var fs = "Popover", [ps, ms] = fn(fs, [pa]), hs = pa(), [gs, _s] = ps(fs), vs = (e) => {
|
|
3640
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = hs(t), c = F.useRef(null), [l, u] = F.useState(!1), [d, f] = Va({
|
|
3642
3641
|
prop: r,
|
|
3643
3642
|
defaultProp: i ?? !1,
|
|
3644
3643
|
onChange: a,
|
|
3645
3644
|
caller: fs
|
|
3646
3645
|
});
|
|
3647
|
-
return /* @__PURE__ */ (0,
|
|
3646
|
+
return /* @__PURE__ */ (0, I.jsx)(ka, {
|
|
3648
3647
|
...s,
|
|
3649
|
-
children: /* @__PURE__ */ (0,
|
|
3648
|
+
children: /* @__PURE__ */ (0, I.jsx)(gs, {
|
|
3650
3649
|
scope: t,
|
|
3651
3650
|
contentId: ir(),
|
|
3652
3651
|
triggerRef: c,
|
|
3653
3652
|
open: d,
|
|
3654
3653
|
onOpenChange: f,
|
|
3655
|
-
onOpenToggle:
|
|
3654
|
+
onOpenToggle: F.useCallback(() => f((e) => !e), [f]),
|
|
3656
3655
|
hasCustomAnchor: l,
|
|
3657
|
-
onCustomAnchorAdd:
|
|
3658
|
-
onCustomAnchorRemove:
|
|
3656
|
+
onCustomAnchorAdd: F.useCallback(() => u(!0), []),
|
|
3657
|
+
onCustomAnchorRemove: F.useCallback(() => u(!1), []),
|
|
3659
3658
|
modal: o,
|
|
3660
3659
|
children: n
|
|
3661
3660
|
})
|
|
3662
3661
|
});
|
|
3663
3662
|
};
|
|
3664
3663
|
vs.displayName = fs;
|
|
3665
|
-
var ys = "PopoverAnchor", bs =
|
|
3664
|
+
var ys = "PopoverAnchor", bs = F.forwardRef((e, t) => {
|
|
3666
3665
|
let { __scopePopover: n, ...r } = e, i = _s(ys, n), a = hs(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3667
|
-
return
|
|
3666
|
+
return F.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(Aa, {
|
|
3668
3667
|
...a,
|
|
3669
3668
|
...r,
|
|
3670
3669
|
ref: t
|
|
3671
3670
|
});
|
|
3672
3671
|
});
|
|
3673
3672
|
bs.displayName = ys;
|
|
3674
|
-
var xs = "PopoverTrigger", Ss =
|
|
3675
|
-
let { __scopePopover: n, ...r } = e, i = _s(xs, n), a = hs(n), o =
|
|
3673
|
+
var xs = "PopoverTrigger", Ss = F.forwardRef((e, t) => {
|
|
3674
|
+
let { __scopePopover: n, ...r } = e, i = _s(xs, n), a = hs(n), o = V(t, i.triggerRef), s = /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3676
3675
|
type: "button",
|
|
3677
3676
|
"aria-haspopup": "dialog",
|
|
3678
3677
|
"aria-expanded": i.open,
|
|
@@ -3680,9 +3679,9 @@ var xs = "PopoverTrigger", Ss = P.forwardRef((e, t) => {
|
|
|
3680
3679
|
"data-state": Ls(i.open),
|
|
3681
3680
|
...r,
|
|
3682
3681
|
ref: o,
|
|
3683
|
-
onClick:
|
|
3682
|
+
onClick: B(e.onClick, i.onOpenToggle)
|
|
3684
3683
|
});
|
|
3685
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0,
|
|
3684
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(Aa, {
|
|
3686
3685
|
asChild: !0,
|
|
3687
3686
|
...a,
|
|
3688
3687
|
children: s
|
|
@@ -3691,12 +3690,12 @@ var xs = "PopoverTrigger", Ss = P.forwardRef((e, t) => {
|
|
|
3691
3690
|
Ss.displayName = xs;
|
|
3692
3691
|
var Cs = "PopoverPortal", [ws, Ts] = ps(Cs, { forceMount: void 0 }), Es = (e) => {
|
|
3693
3692
|
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = _s(Cs, t);
|
|
3694
|
-
return /* @__PURE__ */ (0,
|
|
3693
|
+
return /* @__PURE__ */ (0, I.jsx)(ws, {
|
|
3695
3694
|
scope: t,
|
|
3696
3695
|
forceMount: n,
|
|
3697
|
-
children: /* @__PURE__ */ (0,
|
|
3696
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ia, {
|
|
3698
3697
|
present: n || a.open,
|
|
3699
|
-
children: /* @__PURE__ */ (0,
|
|
3698
|
+
children: /* @__PURE__ */ (0, I.jsx)(Pa, {
|
|
3700
3699
|
asChild: !0,
|
|
3701
3700
|
container: i,
|
|
3702
3701
|
children: r
|
|
@@ -3705,46 +3704,46 @@ var Cs = "PopoverPortal", [ws, Ts] = ps(Cs, { forceMount: void 0 }), Es = (e) =>
|
|
|
3705
3704
|
});
|
|
3706
3705
|
};
|
|
3707
3706
|
Es.displayName = Cs;
|
|
3708
|
-
var Ds = "PopoverContent", Os =
|
|
3707
|
+
var Ds = "PopoverContent", Os = F.forwardRef((e, t) => {
|
|
3709
3708
|
let n = Ts(Ds, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = _s(Ds, e.__scopePopover);
|
|
3710
|
-
return /* @__PURE__ */ (0,
|
|
3709
|
+
return /* @__PURE__ */ (0, I.jsx)(Ia, {
|
|
3711
3710
|
present: r || a.open,
|
|
3712
|
-
children: a.modal ? /* @__PURE__ */ (0,
|
|
3711
|
+
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(As, {
|
|
3713
3712
|
...i,
|
|
3714
3713
|
ref: t
|
|
3715
|
-
}) : /* @__PURE__ */ (0,
|
|
3714
|
+
}) : /* @__PURE__ */ (0, I.jsx)(js, {
|
|
3716
3715
|
...i,
|
|
3717
3716
|
ref: t
|
|
3718
3717
|
})
|
|
3719
3718
|
});
|
|
3720
3719
|
});
|
|
3721
3720
|
Os.displayName = Ds;
|
|
3722
|
-
var ks = /* @__PURE__ */
|
|
3723
|
-
let n = _s(Ds, e.__scopePopover), r =
|
|
3724
|
-
return
|
|
3721
|
+
var ks = /* @__PURE__ */ mn("PopoverContent.RemoveScroll"), As = F.forwardRef((e, t) => {
|
|
3722
|
+
let n = _s(Ds, e.__scopePopover), r = F.useRef(null), i = V(t, r), a = F.useRef(!1);
|
|
3723
|
+
return F.useEffect(() => {
|
|
3725
3724
|
let e = r.current;
|
|
3726
3725
|
if (e) return Qa(e);
|
|
3727
|
-
}, []), /* @__PURE__ */ (0,
|
|
3726
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(ds, {
|
|
3728
3727
|
as: ks,
|
|
3729
3728
|
allowPinchZoom: !0,
|
|
3730
|
-
children: /* @__PURE__ */ (0,
|
|
3729
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ms, {
|
|
3731
3730
|
...e,
|
|
3732
3731
|
ref: i,
|
|
3733
3732
|
trapFocus: n.open,
|
|
3734
3733
|
disableOutsidePointerEvents: !0,
|
|
3735
|
-
onCloseAutoFocus:
|
|
3734
|
+
onCloseAutoFocus: B(e.onCloseAutoFocus, (e) => {
|
|
3736
3735
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
3737
3736
|
}),
|
|
3738
|
-
onPointerDownOutside:
|
|
3737
|
+
onPointerDownOutside: B(e.onPointerDownOutside, (e) => {
|
|
3739
3738
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
3740
3739
|
a.current = t.button === 2 || n;
|
|
3741
3740
|
}, { checkForDefaultPrevented: !1 }),
|
|
3742
|
-
onFocusOutside:
|
|
3741
|
+
onFocusOutside: B(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3743
3742
|
})
|
|
3744
3743
|
});
|
|
3745
|
-
}), js =
|
|
3746
|
-
let n = _s(Ds, e.__scopePopover), r =
|
|
3747
|
-
return /* @__PURE__ */ (0,
|
|
3744
|
+
}), js = F.forwardRef((e, t) => {
|
|
3745
|
+
let n = _s(Ds, e.__scopePopover), r = F.useRef(!1), i = F.useRef(!1);
|
|
3746
|
+
return /* @__PURE__ */ (0, I.jsx)(Ms, {
|
|
3748
3747
|
...e,
|
|
3749
3748
|
ref: t,
|
|
3750
3749
|
trapFocus: !1,
|
|
@@ -3758,15 +3757,15 @@ var ks = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), As = P.forwardRef((e
|
|
|
3758
3757
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3759
3758
|
}
|
|
3760
3759
|
});
|
|
3761
|
-
}), Ms =
|
|
3760
|
+
}), Ms = F.forwardRef((e, t) => {
|
|
3762
3761
|
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = _s(Ds, n), p = hs(n);
|
|
3763
|
-
return
|
|
3762
|
+
return Ln(), /* @__PURE__ */ (0, I.jsx)(Un, {
|
|
3764
3763
|
asChild: !0,
|
|
3765
3764
|
loop: !0,
|
|
3766
3765
|
trapped: r,
|
|
3767
3766
|
onMountAutoFocus: i,
|
|
3768
3767
|
onUnmountAutoFocus: a,
|
|
3769
|
-
children: /* @__PURE__ */ (0,
|
|
3768
|
+
children: /* @__PURE__ */ (0, I.jsx)(kn, {
|
|
3770
3769
|
asChild: !0,
|
|
3771
3770
|
disableOutsidePointerEvents: o,
|
|
3772
3771
|
onInteractOutside: u,
|
|
@@ -3774,7 +3773,7 @@ var ks = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), As = P.forwardRef((e
|
|
|
3774
3773
|
onPointerDownOutside: c,
|
|
3775
3774
|
onFocusOutside: l,
|
|
3776
3775
|
onDismiss: () => f.onOpenChange(!1),
|
|
3777
|
-
children: /* @__PURE__ */ (0,
|
|
3776
|
+
children: /* @__PURE__ */ (0, I.jsx)(ja, {
|
|
3778
3777
|
"data-state": Ls(f.open),
|
|
3779
3778
|
role: "dialog",
|
|
3780
3779
|
id: f.contentId,
|
|
@@ -3792,19 +3791,19 @@ var ks = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), As = P.forwardRef((e
|
|
|
3792
3791
|
})
|
|
3793
3792
|
})
|
|
3794
3793
|
});
|
|
3795
|
-
}), Ns = "PopoverClose", Ps =
|
|
3794
|
+
}), Ns = "PopoverClose", Ps = F.forwardRef((e, t) => {
|
|
3796
3795
|
let { __scopePopover: n, ...r } = e, i = _s(Ns, n);
|
|
3797
|
-
return /* @__PURE__ */ (0,
|
|
3796
|
+
return /* @__PURE__ */ (0, I.jsx)(H.button, {
|
|
3798
3797
|
type: "button",
|
|
3799
3798
|
...r,
|
|
3800
3799
|
ref: t,
|
|
3801
|
-
onClick:
|
|
3800
|
+
onClick: B(e.onClick, () => i.onOpenChange(!1))
|
|
3802
3801
|
});
|
|
3803
3802
|
});
|
|
3804
3803
|
Ps.displayName = Ns;
|
|
3805
|
-
var Fs = "PopoverArrow", Is =
|
|
3804
|
+
var Fs = "PopoverArrow", Is = F.forwardRef((e, t) => {
|
|
3806
3805
|
let { __scopePopover: n, ...r } = e, i = hs(n);
|
|
3807
|
-
return /* @__PURE__ */ (0,
|
|
3806
|
+
return /* @__PURE__ */ (0, I.jsx)(Ma, {
|
|
3808
3807
|
...i,
|
|
3809
3808
|
...r,
|
|
3810
3809
|
ref: t
|
|
@@ -3814,122 +3813,122 @@ Is.displayName = Fs;
|
|
|
3814
3813
|
function Ls(e) {
|
|
3815
3814
|
return e ? "open" : "closed";
|
|
3816
3815
|
}
|
|
3817
|
-
var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0,
|
|
3816
|
+
var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, I.jsxs)(Rs, {
|
|
3818
3817
|
defaultOpen: n,
|
|
3819
|
-
children: [/* @__PURE__ */ (0,
|
|
3818
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3820
3819
|
className: "flex justify-center",
|
|
3821
|
-
children: /* @__PURE__ */ (0,
|
|
3820
|
+
children: /* @__PURE__ */ (0, I.jsx)(zs, {
|
|
3822
3821
|
asChild: !0,
|
|
3823
3822
|
children: t
|
|
3824
3823
|
})
|
|
3825
|
-
}), /* @__PURE__ */ (0,
|
|
3824
|
+
}), /* @__PURE__ */ (0, I.jsxs)(Bs, {
|
|
3826
3825
|
className: "sid-popover__container",
|
|
3827
3826
|
sideOffset: 10,
|
|
3828
3827
|
side: "bottom",
|
|
3829
|
-
children: [e, /* @__PURE__ */ (0,
|
|
3828
|
+
children: [e, /* @__PURE__ */ (0, I.jsx)(Vs, { className: "sid-popover__caret" })]
|
|
3830
3829
|
})]
|
|
3831
3830
|
}), Us = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3832
|
-
let n =
|
|
3833
|
-
return /* @__PURE__ */ (0,
|
|
3831
|
+
let n = Se();
|
|
3832
|
+
return /* @__PURE__ */ (0, I.jsx)(Hs, {
|
|
3834
3833
|
initialVisibility: t,
|
|
3835
|
-
trigger: /* @__PURE__ */ (0,
|
|
3834
|
+
trigger: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
3836
3835
|
type: "button",
|
|
3837
3836
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3838
|
-
children: /* @__PURE__ */ (0,
|
|
3837
|
+
children: /* @__PURE__ */ (0, I.jsx)(P, { id: "howDoesVerifyingWork" })
|
|
3839
3838
|
}),
|
|
3840
|
-
message: /* @__PURE__ */ (0,
|
|
3841
|
-
/* @__PURE__ */ (0,
|
|
3839
|
+
message: /* @__PURE__ */ (0, I.jsxs)("div", { children: [
|
|
3840
|
+
/* @__PURE__ */ (0, I.jsx)(P, {
|
|
3842
3841
|
id: "step.personalInfo.howDoesVerifyingWorkDetails",
|
|
3843
3842
|
context: n
|
|
3844
3843
|
}),
|
|
3845
3844
|
"\xA0",
|
|
3846
|
-
/* @__PURE__ */ (0,
|
|
3845
|
+
/* @__PURE__ */ (0, I.jsx)(wt, { verificationService: e })
|
|
3847
3846
|
] })
|
|
3848
3847
|
});
|
|
3849
3848
|
}, Ws = ({ verificationService: e }) => {
|
|
3850
|
-
let t =
|
|
3851
|
-
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0,
|
|
3849
|
+
let t = k(() => e.programTheme.remainingRewardCodes, null);
|
|
3850
|
+
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3852
3851
|
className: "sid-rewards-remaining",
|
|
3853
3852
|
role: "note",
|
|
3854
3853
|
children: [
|
|
3855
|
-
/* @__PURE__ */ (0,
|
|
3856
|
-
/* @__PURE__ */ (0,
|
|
3854
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3855
|
+
/* @__PURE__ */ (0, I.jsx)(N, {
|
|
3857
3856
|
id: "lowRewardPool",
|
|
3858
3857
|
defaultMessage: e.messages.lowRewardPool,
|
|
3859
3858
|
values: { offersRemaining: t }
|
|
3860
3859
|
}),
|
|
3861
|
-
/* @__PURE__ */ (0,
|
|
3860
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3862
3861
|
]
|
|
3863
3862
|
}) : null;
|
|
3864
3863
|
}, Gs = (e) => e !== void 0, Ks = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3865
|
-
let { verificationResponse: n } = e, r = Gs(n) ?
|
|
3866
|
-
return /* @__PURE__ */ (0,
|
|
3864
|
+
let { verificationResponse: n } = e, r = Gs(n) ? We(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3865
|
+
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3867
3866
|
className: "sid-personal-info-header",
|
|
3868
|
-
children: /* @__PURE__ */ (0,
|
|
3867
|
+
children: /* @__PURE__ */ (0, I.jsxs)(ln, {
|
|
3869
3868
|
verificationService: e,
|
|
3870
|
-
title: /* @__PURE__ */ (0,
|
|
3869
|
+
title: /* @__PURE__ */ (0, I.jsx)(P, {
|
|
3871
3870
|
id: i,
|
|
3872
3871
|
context: n.segment
|
|
3873
3872
|
}),
|
|
3874
3873
|
classNameIdentifier: t,
|
|
3875
3874
|
children: [
|
|
3876
|
-
/* @__PURE__ */ (0,
|
|
3875
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3877
3876
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3878
|
-
children: /* @__PURE__ */ (0,
|
|
3877
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: a })
|
|
3879
3878
|
}),
|
|
3880
|
-
/* @__PURE__ */ (0,
|
|
3879
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3881
3880
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3882
|
-
children: !r && /* @__PURE__ */ (0,
|
|
3881
|
+
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Us, { verificationService: e }), /* @__PURE__ */ (0, I.jsx)(Ws, { verificationService: e })] })
|
|
3883
3882
|
}),
|
|
3884
|
-
/* @__PURE__ */ (0,
|
|
3883
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3885
3884
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3886
|
-
children: /* @__PURE__ */ (0,
|
|
3885
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "requiredFields" })
|
|
3887
3886
|
})
|
|
3888
3887
|
]
|
|
3889
3888
|
})
|
|
3890
3889
|
});
|
|
3891
|
-
}, qs = () => ({ isEmbedded: !!
|
|
3890
|
+
}, qs = () => ({ isEmbedded: !!T("verificationIframeUid") }), Js = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3892
3891
|
let { isEmbedded: i } = qs();
|
|
3893
|
-
return !r || i ? /* @__PURE__ */ (0,
|
|
3892
|
+
return !r || i ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: t }) : /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3894
3893
|
className: `sid-layout sid-layout--${e}`,
|
|
3895
|
-
children: /* @__PURE__ */ (0,
|
|
3894
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3896
3895
|
className: "sid-layout__container",
|
|
3897
|
-
children: [e === "fullRight" && /* @__PURE__ */ (0,
|
|
3896
|
+
children: [e === "fullRight" && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3898
3897
|
className: "sid-layout__content",
|
|
3899
|
-
children: /* @__PURE__ */ (0,
|
|
3898
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ks, {
|
|
3900
3899
|
verificationService: n,
|
|
3901
3900
|
classNameIdentifier: "landing"
|
|
3902
3901
|
})
|
|
3903
|
-
}), /* @__PURE__ */ (0,
|
|
3902
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3904
3903
|
className: "sid-layout__form-container",
|
|
3905
|
-
children: /* @__PURE__ */ (0,
|
|
3904
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3906
3905
|
className: "sid-layout__form",
|
|
3907
3906
|
children: t
|
|
3908
3907
|
})
|
|
3909
3908
|
})]
|
|
3910
3909
|
})
|
|
3911
3910
|
});
|
|
3912
|
-
}, Ys = ({ children: e }) => /* @__PURE__ */ (0,
|
|
3911
|
+
}, Ys = ({ children: e }) => /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3913
3912
|
className: "sid sid-form-wrapper",
|
|
3914
3913
|
children: e
|
|
3915
|
-
}), Xs = ({ locale:
|
|
3916
|
-
let
|
|
3917
|
-
...
|
|
3914
|
+
}), Xs = ({ locale: e, messages: n, programTheme: r, verificationService: i, programId: a }) => {
|
|
3915
|
+
let o = Xe(), s = w(), c = be() ?? r, u = Ce(Ee, Te), d = (0, F.useMemo)(() => u ? {
|
|
3916
|
+
...i.verificationResponse,
|
|
3918
3917
|
...u
|
|
3919
|
-
} :
|
|
3920
|
-
...
|
|
3921
|
-
programTheme:
|
|
3918
|
+
} : i.verificationResponse, [u, i.verificationResponse]), f = (0, F.useMemo)(() => ({
|
|
3919
|
+
...i,
|
|
3920
|
+
programTheme: c,
|
|
3922
3921
|
verificationResponse: d,
|
|
3923
|
-
formValidationOptions:
|
|
3922
|
+
formValidationOptions: xt(c, d, i.viewModel)
|
|
3924
3923
|
}), [
|
|
3925
|
-
|
|
3926
|
-
|
|
3924
|
+
i,
|
|
3925
|
+
c,
|
|
3927
3926
|
d
|
|
3928
|
-
]), p =
|
|
3929
|
-
|
|
3927
|
+
]), p = c.themeChoices?.landingPage.layout || "center", { renderAs: m } = s, g = Qe();
|
|
3928
|
+
F.useEffect(() => {
|
|
3930
3929
|
try {
|
|
3931
3930
|
if (g && f && f.viewModel) {
|
|
3932
|
-
let e = (0,
|
|
3931
|
+
let e = (0, gt.default)(g);
|
|
3933
3932
|
E(v.flags, e);
|
|
3934
3933
|
let t = S(f.viewModel.metadata || {}, (t) => {
|
|
3935
3934
|
t.flags = e;
|
|
@@ -3938,51 +3937,51 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
3938
3937
|
});
|
|
3939
3938
|
f.updateViewModel(n);
|
|
3940
3939
|
}
|
|
3941
|
-
} catch (
|
|
3942
|
-
|
|
3940
|
+
} catch (e) {
|
|
3941
|
+
l.error(e);
|
|
3943
3942
|
}
|
|
3944
|
-
}, []),
|
|
3945
|
-
if (f.verificationResponse.verificationId &&
|
|
3943
|
+
}, []), F.useEffect(() => {
|
|
3944
|
+
if (f.verificationResponse.verificationId && s._launchDarklyUserTargeting && o) {
|
|
3946
3945
|
let e = {
|
|
3947
3946
|
kind: "multi",
|
|
3948
3947
|
user: {
|
|
3949
3948
|
key: f.verificationResponse.verificationId,
|
|
3950
3949
|
locale: f.verificationResponse.locale,
|
|
3951
3950
|
segment: f.verificationResponse.segment,
|
|
3952
|
-
installType:
|
|
3951
|
+
installType: M()
|
|
3953
3952
|
},
|
|
3954
|
-
program: { key:
|
|
3953
|
+
program: { key: a }
|
|
3955
3954
|
};
|
|
3956
|
-
|
|
3955
|
+
c.accountId && (e.account = { key: c.accountId }), o.identify(e);
|
|
3957
3956
|
}
|
|
3958
|
-
}, [f.verificationResponse.verificationId,
|
|
3957
|
+
}, [f.verificationResponse.verificationId, o]), F.useEffect(() => {
|
|
3959
3958
|
try {
|
|
3960
|
-
|
|
3959
|
+
w()._launchDarklyFlagCb(g);
|
|
3961
3960
|
} catch {}
|
|
3962
3961
|
}, [g]);
|
|
3963
|
-
let _ =
|
|
3964
|
-
return /* @__PURE__ */ (0,
|
|
3962
|
+
let _ = Ce(Ee, fe);
|
|
3963
|
+
return /* @__PURE__ */ (0, I.jsx)(ie, {
|
|
3965
3964
|
locale: "en",
|
|
3966
3965
|
messages: {
|
|
3967
|
-
...
|
|
3968
|
-
...(0,
|
|
3969
|
-
...(0,
|
|
3966
|
+
...n,
|
|
3967
|
+
...(0, lt.default)(C(e)),
|
|
3968
|
+
...(0, lt.default)(_?.[e] ?? {})
|
|
3970
3969
|
},
|
|
3971
|
-
textComponent:
|
|
3972
|
-
children: /* @__PURE__ */ (0,
|
|
3973
|
-
themeChoices:
|
|
3974
|
-
customCssFromOptions:
|
|
3975
|
-
children: /* @__PURE__ */ (0,
|
|
3976
|
-
className: `${
|
|
3977
|
-
children: /* @__PURE__ */ (0,
|
|
3970
|
+
textComponent: sn,
|
|
3971
|
+
children: /* @__PURE__ */ (0, I.jsx)(bt, {
|
|
3972
|
+
themeChoices: c.themeChoices,
|
|
3973
|
+
customCssFromOptions: w().customCss,
|
|
3974
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3975
|
+
className: `${_t.default.isRtlLang(h(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
3976
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ys, { children: /* @__PURE__ */ (0, I.jsx)(Js, {
|
|
3978
3977
|
layout: p,
|
|
3979
3978
|
verificationService: f,
|
|
3980
3979
|
renderAsLandingPage: m === "landingPage",
|
|
3981
|
-
children: /* @__PURE__ */ (0,
|
|
3982
|
-
fallback: /* @__PURE__ */ (0,
|
|
3983
|
-
children: /* @__PURE__ */ (0,
|
|
3980
|
+
children: /* @__PURE__ */ (0, I.jsx)(F.Suspense, {
|
|
3981
|
+
fallback: /* @__PURE__ */ (0, I.jsx)(pt, { step: f.loadingStep }),
|
|
3982
|
+
children: /* @__PURE__ */ (0, I.jsx)(st, {
|
|
3984
3983
|
i18n: t,
|
|
3985
|
-
children: f.isLoading ? /* @__PURE__ */ (0,
|
|
3984
|
+
children: f.isLoading ? /* @__PURE__ */ (0, I.jsx)(pt, { step: f.loadingStep }) : /* @__PURE__ */ (0, I.jsxs)("div", { children: [!w().hideTestModeFlag && /* @__PURE__ */ (0, I.jsx)(cn, { verificationService: f }), /* @__PURE__ */ (0, I.jsx)(on, {
|
|
3986
3985
|
stepToLoad: f.overrideStep || f.verificationResponse.currentStep,
|
|
3987
3986
|
verificationService: f
|
|
3988
3987
|
})] })
|
|
@@ -3991,19 +3990,19 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
3991
3990
|
}) })
|
|
3992
3991
|
})
|
|
3993
3992
|
})
|
|
3994
|
-
},
|
|
3993
|
+
}, e);
|
|
3995
3994
|
}, Zs = () => {
|
|
3996
3995
|
let e = null;
|
|
3997
3996
|
document.addEventListener("keydown", (t) => {
|
|
3998
3997
|
if (t.key !== "Tab") return;
|
|
3999
3998
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
4000
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
3999
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (Ne({
|
|
4001
4000
|
type: "focus",
|
|
4002
4001
|
focusOn: "firstElement"
|
|
4003
4002
|
}), t.preventDefault());
|
|
4004
4003
|
}), window.addEventListener("message", (t) => {
|
|
4005
4004
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4006
|
-
}),
|
|
4005
|
+
}), Ne({
|
|
4007
4006
|
type: "focus",
|
|
4008
4007
|
focusOn: "firstElement"
|
|
4009
4008
|
});
|
|
@@ -4011,16 +4010,16 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
4011
4010
|
window.addEventListener("message", (e) => {
|
|
4012
4011
|
e.data.isInLightBox === "true" && Zs();
|
|
4013
4012
|
});
|
|
4014
|
-
}, $s = class extends
|
|
4013
|
+
}, $s = class extends F.Component {
|
|
4015
4014
|
verificationService;
|
|
4016
|
-
constructor(
|
|
4017
|
-
super(
|
|
4015
|
+
constructor(e) {
|
|
4016
|
+
super(e), l.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? l.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : l.info("No trackingId to associate with the verification request");
|
|
4018
4017
|
}
|
|
4019
4018
|
componentDidMount() {
|
|
4020
|
-
if (f(), Qs(),
|
|
4019
|
+
if (f(), Qs(), ve((e) => {
|
|
4021
4020
|
switch (e.data.action) {
|
|
4022
4021
|
case "setViewModel":
|
|
4023
|
-
|
|
4022
|
+
He(e.data.viewModel, {
|
|
4024
4023
|
partial: !0,
|
|
4025
4024
|
metadataCheck: !0,
|
|
4026
4025
|
externalUserIdCheck: !0
|
|
@@ -4031,51 +4030,51 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
4031
4030
|
break;
|
|
4032
4031
|
default:
|
|
4033
4032
|
}
|
|
4034
|
-
}),
|
|
4033
|
+
}), je()) l.info("Mocking loading screen. Not fetching new verification request.");
|
|
4035
4034
|
else {
|
|
4036
|
-
|
|
4037
|
-
let
|
|
4038
|
-
this.props.verificationService.fetchNewVerificationRequest(this.props.programId,
|
|
4035
|
+
l.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4036
|
+
let e = k(() => this.props.verificationService.verificationResponse.segment);
|
|
4037
|
+
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4039
4038
|
}
|
|
4040
4039
|
}
|
|
4041
4040
|
render() {
|
|
4042
|
-
let { viewModel:
|
|
4043
|
-
this.props.messages && (
|
|
4044
|
-
let
|
|
4045
|
-
...
|
|
4046
|
-
...(0,
|
|
4041
|
+
let { viewModel: e } = this.props.verificationService, t = ee(e), n;
|
|
4042
|
+
this.props.messages && (n = this.props.messages);
|
|
4043
|
+
let r = {
|
|
4044
|
+
...n,
|
|
4045
|
+
...(0, lt.default)(C(t))
|
|
4047
4046
|
};
|
|
4048
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return
|
|
4047
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return l.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, I.jsx)(ie, {
|
|
4049
4048
|
locale: "en",
|
|
4050
|
-
messages: i,
|
|
4051
|
-
textComponent: cn,
|
|
4052
|
-
children: /* @__PURE__ */ (0, F.jsx)(mt, {})
|
|
4053
|
-
}, n);
|
|
4054
|
-
let { programTheme: a } = this.props.verificationService, { verificationResponse: o } = this.props.verificationService;
|
|
4055
|
-
return e.info("NewVerificationComponent: verificationResponse, viewModel", o, t), e.info(`NewVerificationComponent: locale: ${n}, currentStep: ${o.currentStep}, messages: `, r), /* @__PURE__ */ (0, F.jsx)(Xs, {
|
|
4056
|
-
locale: n,
|
|
4057
4049
|
messages: r,
|
|
4058
|
-
|
|
4050
|
+
textComponent: sn,
|
|
4051
|
+
children: /* @__PURE__ */ (0, I.jsx)(pt, {})
|
|
4052
|
+
}, t);
|
|
4053
|
+
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
4054
|
+
return l.info("NewVerificationComponent: verificationResponse, viewModel", a, e), l.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, I.jsx)(Xs, {
|
|
4055
|
+
locale: t,
|
|
4056
|
+
messages: n,
|
|
4057
|
+
programTheme: i,
|
|
4059
4058
|
verificationService: this.props.verificationService,
|
|
4060
4059
|
programId: this.props.programId
|
|
4061
4060
|
});
|
|
4062
4061
|
}
|
|
4063
|
-
}, ec =
|
|
4062
|
+
}, ec = he((e, t) => ({ ...e }), (e, t) => ({
|
|
4064
4063
|
dispatch: e,
|
|
4065
|
-
fetchNewVerificationRequest:
|
|
4066
|
-
fetchExistingVerificationRequest:
|
|
4067
|
-
updateViewModel:
|
|
4068
|
-
updateLocale:
|
|
4069
|
-
updateProgramTheme:
|
|
4070
|
-
updateFieldValidationErrors:
|
|
4071
|
-
resetState:
|
|
4064
|
+
fetchNewVerificationRequest: Ue(e),
|
|
4065
|
+
fetchExistingVerificationRequest: Pe(e),
|
|
4066
|
+
updateViewModel: Le(e),
|
|
4067
|
+
updateLocale: Je(e, t.programId),
|
|
4068
|
+
updateProgramTheme: Ie(e),
|
|
4069
|
+
updateFieldValidationErrors: Ve(e),
|
|
4070
|
+
resetState: Ke(e)
|
|
4072
4071
|
}), (e, t, n) => {
|
|
4073
4072
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4074
4073
|
return {
|
|
4075
4074
|
verificationService: {
|
|
4076
4075
|
...e,
|
|
4077
4076
|
...i,
|
|
4078
|
-
submitStep:
|
|
4077
|
+
submitStep: Fe(r, a)
|
|
4079
4078
|
},
|
|
4080
4079
|
messages: e.messages,
|
|
4081
4080
|
...n
|
|
@@ -4083,48 +4082,48 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
4083
4082
|
})($s), tc = (e) => ({
|
|
4084
4083
|
kind: "program",
|
|
4085
4084
|
key: e
|
|
4086
|
-
}), nc = ({ programId: e, children: t }) => /* @__PURE__ */ (0,
|
|
4085
|
+
}), nc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, I.jsx)(Ze, {
|
|
4087
4086
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4088
4087
|
context: tc(e),
|
|
4089
|
-
flags:
|
|
4088
|
+
flags: $e,
|
|
4090
4089
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4091
4090
|
options: { streaming: !1 },
|
|
4092
4091
|
children: t
|
|
4093
|
-
}), rc =
|
|
4094
|
-
E(v.jslibVersionActual,
|
|
4095
|
-
var ic =
|
|
4092
|
+
}), rc = Ge();
|
|
4093
|
+
E(v.jslibVersionActual, k(() => ne(), "?")), E(v.clientVersion, k(() => ne(), "?"));
|
|
4094
|
+
var ic = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4096
4095
|
try {
|
|
4097
|
-
|
|
4098
|
-
} catch (
|
|
4099
|
-
|
|
4096
|
+
Re();
|
|
4097
|
+
} catch (e) {
|
|
4098
|
+
l.warn("Failed to add predefined hooks", e);
|
|
4100
4099
|
}
|
|
4101
|
-
return (0,
|
|
4100
|
+
return (0, F.useEffect)(() => {
|
|
4102
4101
|
te();
|
|
4103
4102
|
}), rc.dispatch({
|
|
4104
|
-
programId:
|
|
4103
|
+
programId: e,
|
|
4105
4104
|
type: "PROGRAM_ID"
|
|
4106
|
-
}),
|
|
4107
|
-
refresh:
|
|
4108
|
-
reset:
|
|
4109
|
-
}), /* @__PURE__ */ (0,
|
|
4105
|
+
}), n && (n.current = {
|
|
4106
|
+
refresh: F.useCallback(() => rc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4107
|
+
reset: F.useCallback(() => rc.dispatch({ type: "RESET_STATE" }), [])
|
|
4108
|
+
}), /* @__PURE__ */ (0, I.jsx)(me, {
|
|
4110
4109
|
store: rc,
|
|
4111
|
-
children: /* @__PURE__ */ (0,
|
|
4112
|
-
programId:
|
|
4113
|
-
children: /* @__PURE__ */ (0,
|
|
4114
|
-
programId:
|
|
4115
|
-
trackingId:
|
|
4110
|
+
children: /* @__PURE__ */ (0, I.jsx)(nc, {
|
|
4111
|
+
programId: e,
|
|
4112
|
+
children: /* @__PURE__ */ (0, I.jsx)(ec, {
|
|
4113
|
+
programId: e,
|
|
4114
|
+
trackingId: t
|
|
4116
4115
|
})
|
|
4117
4116
|
})
|
|
4118
4117
|
});
|
|
4119
|
-
}), ac = class
|
|
4118
|
+
}), ac = class e {
|
|
4120
4119
|
element;
|
|
4121
4120
|
programId;
|
|
4122
4121
|
trackingId;
|
|
4123
4122
|
viewModel;
|
|
4124
4123
|
ref;
|
|
4125
|
-
constructor(n, r
|
|
4126
|
-
if (!(this instanceof
|
|
4127
|
-
|
|
4124
|
+
constructor(t, n, r) {
|
|
4125
|
+
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4126
|
+
l.info(`Constructing VerificationFormEs5 ${n}`), y(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = F.createRef(), this.render();
|
|
4128
4127
|
}
|
|
4129
4128
|
refresh() {
|
|
4130
4129
|
this.ref.current.refresh();
|
|
@@ -4133,20 +4132,20 @@ var ic = P.forwardRef(({ programId: t, trackingId: n = void 0 }, r) => {
|
|
|
4133
4132
|
this.ref.current.reset();
|
|
4134
4133
|
}
|
|
4135
4134
|
render() {
|
|
4136
|
-
|
|
4135
|
+
ut.render(/* @__PURE__ */ (0, I.jsx)(ic, {
|
|
4137
4136
|
programId: this.programId,
|
|
4138
4137
|
trackingId: this.trackingId,
|
|
4139
4138
|
ref: this.ref
|
|
4140
4139
|
}), this.element);
|
|
4141
4140
|
}
|
|
4142
4141
|
unmount() {
|
|
4143
|
-
|
|
4142
|
+
ut.unmountComponentAtNode(this.element);
|
|
4144
4143
|
}
|
|
4145
4144
|
};
|
|
4146
4145
|
//#endregion
|
|
4147
4146
|
//#region src/lib/state/previewMessages.ts
|
|
4148
4147
|
function oc(e, t) {
|
|
4149
|
-
|
|
4148
|
+
Ee.set((n) => ({
|
|
4150
4149
|
...n,
|
|
4151
4150
|
overrides: {
|
|
4152
4151
|
...n.overrides,
|
|
@@ -4161,7 +4160,7 @@ function oc(e, t) {
|
|
|
4161
4160
|
})), n({ [e]: t });
|
|
4162
4161
|
}
|
|
4163
4162
|
function sc(e) {
|
|
4164
|
-
e.forEach((e) => t.removeResourceBundle(e,
|
|
4163
|
+
e.forEach((e) => t.removeResourceBundle(e, s.OPTIONS)), n(w().messagesWithLocale);
|
|
4165
4164
|
}
|
|
4166
4165
|
//#endregion
|
|
4167
4166
|
//#region src/lib/state/previewResponse.ts
|
|
@@ -4185,8 +4184,8 @@ async function lc(e) {
|
|
|
4185
4184
|
let r = cc[n];
|
|
4186
4185
|
r && (t[r] = e[n]);
|
|
4187
4186
|
}), _(t);
|
|
4188
|
-
let n = e.step ??
|
|
4189
|
-
|
|
4187
|
+
let n = e.step ?? Ee.get().overrides.mock?.step, r = n ? await ke(n, Ge().getState().verificationResponse) : void 0;
|
|
4188
|
+
Ee.set((t) => ({
|
|
4190
4189
|
...t,
|
|
4191
4190
|
overrides: {
|
|
4192
4191
|
...t.overrides,
|
|
@@ -4201,33 +4200,33 @@ async function lc(e) {
|
|
|
4201
4200
|
//#endregion
|
|
4202
4201
|
//#region src/lib/state/previewApi.ts
|
|
4203
4202
|
function uc(e) {
|
|
4204
|
-
|
|
4203
|
+
le({ programTheme: e });
|
|
4205
4204
|
}
|
|
4206
4205
|
function dc(e) {
|
|
4207
|
-
|
|
4206
|
+
le({ programTheme: e });
|
|
4208
4207
|
}
|
|
4209
4208
|
function fc(e) {
|
|
4210
|
-
|
|
4209
|
+
le({ response: e });
|
|
4211
4210
|
}
|
|
4212
4211
|
function pc(e) {
|
|
4213
|
-
let t =
|
|
4214
|
-
return
|
|
4212
|
+
let t = Ge(), { programId: n, verificationResponse: r } = t.getState();
|
|
4213
|
+
return Je(t.dispatch, n)(e, r?.segment);
|
|
4215
4214
|
}
|
|
4216
4215
|
function mc() {
|
|
4217
|
-
let e = Object.keys(
|
|
4218
|
-
|
|
4216
|
+
let e = Object.keys(Ee.get().overrides.messages ?? {});
|
|
4217
|
+
ue(), sc(e);
|
|
4219
4218
|
}
|
|
4220
4219
|
//#endregion
|
|
4221
4220
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4222
|
-
A
|
|
4221
|
+
j(A.programBuilderPreview);
|
|
4223
4222
|
function hc(e, t) {
|
|
4224
4223
|
return new ac(e, t);
|
|
4225
4224
|
}
|
|
4226
4225
|
function gc(e) {
|
|
4227
|
-
|
|
4226
|
+
ct(e);
|
|
4228
4227
|
}
|
|
4229
4228
|
function _c(e) {
|
|
4230
|
-
|
|
4229
|
+
Be(), _(e);
|
|
4231
4230
|
}
|
|
4232
4231
|
function vc() {
|
|
4233
4232
|
d();
|
|
@@ -4236,7 +4235,7 @@ function yc(e) {
|
|
|
4236
4235
|
_({ _launchDarklyFlagCb: e });
|
|
4237
4236
|
}
|
|
4238
4237
|
function bc(e, t, n) {
|
|
4239
|
-
return
|
|
4238
|
+
return b(e, t, n);
|
|
4240
4239
|
}
|
|
4241
4240
|
var xc = {
|
|
4242
4241
|
loadInElement: hc,
|
|
@@ -4254,4 +4253,4 @@ var xc = {
|
|
|
4254
4253
|
clearPreview: mc
|
|
4255
4254
|
};
|
|
4256
4255
|
//#endregion
|
|
4257
|
-
export {
|
|
4256
|
+
export { Dt as A, mn as C, B as D, V as E, vt as M, pt as N, zt as O, dt as P, bn as S, dn as T, Un as _, to as a, xn as b, Va as c, mc as clearPreview, Aa as d, xc as default, Ma as f, ir as g, yc as getFeatureFlags, bc as getProgramMessages, pa as h, eo as i, wt as j, Pt as k, Ia as l, hc as loadInElement, ka as m, Ws as n, ro as o, ja as p, ds as r, vc as resetProgramOptions, Qa as s, uc as setPreviewBranding, dc as setPreviewConfiguration, pc as setPreviewLocale, oc as setPreviewMessages, lc as setPreviewMock, fc as setPreviewResponse, _c as setProgramOptions, gc as setProgramThemeChoices, Ks as t, Pa as u, Ln as v, fn as w, H as x, kn as y };
|