@sheerid/jslib 2.276.0 → 2.277.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 +873 -869
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-DeNJR0XJ.js → AddressComponent-C3iwf09x.js} +7 -7
- package/chunk/{AddressComponent-C89pD6Mq.js.map → AddressComponent-C3iwf09x.js.map} +1 -1
- package/chunk/{AddressComponent-C89pD6Mq.js → AddressComponent-oDHvr6bn.js} +7 -7
- package/chunk/{AddressComponent-DeNJR0XJ.js.map → AddressComponent-oDHvr6bn.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BlnfAnLI.js → AnnouncingHeader-CCVSQeQR.js} +6 -6
- package/chunk/{AnnouncingHeader-BlnfAnLI.js.map → AnnouncingHeader-CCVSQeQR.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CegZwDFd.js → AnnouncingHeader-YPjBYzsZ.js} +6 -6
- package/chunk/{AnnouncingHeader-CegZwDFd.js.map → AnnouncingHeader-YPjBYzsZ.js.map} +1 -1
- package/chunk/{ApiUrls-DtgMSGlO.js → ApiUrls-BEuqNxHS.js} +12 -8
- package/chunk/ApiUrls-BEuqNxHS.js.map +1 -0
- package/chunk/ApiUrls-C93kMsSC.js +44 -0
- package/chunk/ApiUrls-C93kMsSC.js.map +1 -0
- package/chunk/{BirthDateComponent-BYO6Kfgc.js → BirthDateComponent-MZDnneXy.js} +8 -8
- package/chunk/{BirthDateComponent-2CJqlbNU.js.map → BirthDateComponent-MZDnneXy.js.map} +1 -1
- package/chunk/{BirthDateComponent-2CJqlbNU.js → BirthDateComponent-f9e4it7x.js} +8 -8
- package/chunk/{BirthDateComponent-BYO6Kfgc.js.map → BirthDateComponent-f9e4it7x.js.map} +1 -1
- package/chunk/{CaptchaComponent-CoajXhka.js → CaptchaComponent-CCq7YSum.js} +135 -135
- package/chunk/{CaptchaComponent-CoajXhka.js.map → CaptchaComponent-CCq7YSum.js.map} +1 -1
- package/chunk/{CaptchaComponent-DnyafWoN.js → CaptchaComponent-hqx9tSkk.js} +134 -134
- package/chunk/{CaptchaComponent-DnyafWoN.js.map → CaptchaComponent-hqx9tSkk.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Z-taCJ6R.js → ChangeLocaleComponent-CKKK4OcA.js} +8 -8
- package/chunk/{ChangeLocaleComponent-C4jVlT7w.js.map → ChangeLocaleComponent-CKKK4OcA.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-C4jVlT7w.js → ChangeLocaleComponent-DtJjnuBc.js} +8 -8
- package/chunk/{ChangeLocaleComponent-Z-taCJ6R.js.map → ChangeLocaleComponent-DtJjnuBc.js.map} +1 -1
- package/chunk/{City-CEOnA40d.js → City-CUVEjTrI.js} +7 -7
- package/chunk/{City-CEOnA40d.js.map → City-CUVEjTrI.js.map} +1 -1
- package/chunk/{City-CHFvccq5.js → City-Drub1WX8.js} +7 -7
- package/chunk/{City-CHFvccq5.js.map → City-Drub1WX8.js.map} +1 -1
- package/chunk/{CollegeNameComponent-TPDjSelK.js → CollegeNameComponent-4QYMIIcd.js} +9 -9
- package/chunk/{CollegeNameComponent-C-Vq-0f_.js.map → CollegeNameComponent-4QYMIIcd.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C-Vq-0f_.js → CollegeNameComponent-C47D3rO4.js} +9 -9
- package/chunk/{CollegeNameComponent-TPDjSelK.js.map → CollegeNameComponent-C47D3rO4.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BdTGehGx.js → CopyToClipboardComponent-DGi3bxV2.js} +9 -9
- package/chunk/{CopyToClipboardComponent-BdTGehGx.js.map → CopyToClipboardComponent-DGi3bxV2.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DkrM2SFa.js → CopyToClipboardComponent-cLuyXFes.js} +9 -9
- package/chunk/{CopyToClipboardComponent-DkrM2SFa.js.map → CopyToClipboardComponent-cLuyXFes.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CsMhIsMa.js → CountryComponentWrapper-B3Ki9bAz.js} +16 -16
- package/chunk/{CountryComponentWrapper-C45AFJGi.js.map → CountryComponentWrapper-B3Ki9bAz.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-C45AFJGi.js → CountryComponentWrapper-DeR9PrA2.js} +16 -16
- package/chunk/{CountryComponentWrapper-CsMhIsMa.js.map → CountryComponentWrapper-DeR9PrA2.js.map} +1 -1
- package/chunk/{DischargeDateComponent-W6LVGtRA.js → DischargeDateComponent-Btg3v71t.js} +21 -21
- package/chunk/{DischargeDateComponent-W6LVGtRA.js.map → DischargeDateComponent-Btg3v71t.js.map} +1 -1
- package/chunk/{DischargeDateComponent-YwN1LS7c.js → DischargeDateComponent-CqKUrGE0.js} +21 -21
- package/chunk/{DischargeDateComponent-YwN1LS7c.js.map → DischargeDateComponent-CqKUrGE0.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DWRBwzc1.js → DriverLicenseNumberComponent-B2arYwHU.js} +7 -7
- package/chunk/{DriverLicenseNumberComponent-BgyfMAeh.js.map → DriverLicenseNumberComponent-B2arYwHU.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BgyfMAeh.js → DriverLicenseNumberComponent-ByNoEq6v.js} +7 -7
- package/chunk/{DriverLicenseNumberComponent-DWRBwzc1.js.map → DriverLicenseNumberComponent-ByNoEq6v.js.map} +1 -1
- package/chunk/{EmailLoopPending-DbehVow3.js → EmailLoopPending-HyZBgisU.js} +25 -25
- package/chunk/{EmailLoopPending-C7SKw1We.js.map → EmailLoopPending-HyZBgisU.js.map} +1 -1
- package/chunk/{EmailLoopPending-C7SKw1We.js → EmailLoopPending-ojWCBFjq.js} +24 -24
- package/chunk/{EmailLoopPending-DbehVow3.js.map → EmailLoopPending-ojWCBFjq.js.map} +1 -1
- package/chunk/{ExtraMessage-f9Om84tg.js → ExtraMessage-BXxlQROb.js} +7 -7
- package/chunk/{ExtraMessage-CIU0SFFU.js.map → ExtraMessage-BXxlQROb.js.map} +1 -1
- package/chunk/{ExtraMessage-CIU0SFFU.js → ExtraMessage-PLTUBdhw.js} +7 -7
- package/chunk/{ExtraMessage-f9Om84tg.js.map → ExtraMessage-PLTUBdhw.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-D3iJl4at.js → FirstResponderOrganizationComponent-BiI8JG49.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-CCzd7O89.js.map → FirstResponderOrganizationComponent-BiI8JG49.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CCzd7O89.js → FirstResponderOrganizationComponent-BwzXdBV-.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-D3iJl4at.js.map → FirstResponderOrganizationComponent-BwzXdBV-.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BioVB7zS.js → FormFieldInputSelect-C6OyLsWL.js} +7 -7
- package/chunk/{FormFieldInputSelect-BAVhOrsd.js.map → FormFieldInputSelect-C6OyLsWL.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BAVhOrsd.js → FormFieldInputSelect-Cl4QZ12h.js} +7 -7
- package/chunk/{FormFieldInputSelect-BioVB7zS.js.map → FormFieldInputSelect-Cl4QZ12h.js.map} +1 -1
- package/chunk/{FormFieldLayout-Bav93prH.js → FormFieldLayout-C4SCdGBC.js} +6 -6
- package/chunk/{FormFieldLayout-Bav93prH.js.map → FormFieldLayout-C4SCdGBC.js.map} +1 -1
- package/chunk/{FormFieldLayout-C-P2QCto.js → FormFieldLayout-Cj_v9kYa.js} +6 -6
- package/chunk/{FormFieldLayout-C-P2QCto.js.map → FormFieldLayout-Cj_v9kYa.js.map} +1 -1
- package/chunk/{FormFieldText-mvPCLbUG.js → FormFieldText-BbdrtNh_.js} +7 -7
- package/chunk/{FormFieldText-BPefsplc.js.map → FormFieldText-BbdrtNh_.js.map} +1 -1
- package/chunk/{FormFieldText-BPefsplc.js → FormFieldText-Gf13Luq7.js} +7 -7
- package/chunk/{FormFieldText-mvPCLbUG.js.map → FormFieldText-Gf13Luq7.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Cd4-ak1z.js → FormFieldTypeahead-DTFxOQnf.js} +70 -70
- package/chunk/{FormFieldTypeahead-Cd4-ak1z.js.map → FormFieldTypeahead-DTFxOQnf.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-D5lcrGM-.js → FormFieldTypeahead-DbrQgvbJ.js} +85 -85
- package/chunk/{FormFieldTypeahead-D5lcrGM-.js.map → FormFieldTypeahead-DbrQgvbJ.js.map} +1 -1
- package/chunk/{FormFooterComponent-BEDJQK_Z.js → FormFooterComponent-B2W5vjOS.js} +1949 -1942
- package/chunk/{FormFooterComponent-BEDJQK_Z.js.map → FormFooterComponent-B2W5vjOS.js.map} +1 -1
- package/chunk/{FormFooterComponent-BuRQRQFI.js → FormFooterComponent-CaOt9TQw.js} +196 -189
- package/chunk/FormFooterComponent-CaOt9TQw.js.map +1 -0
- package/chunk/{FormSelectChoice-BMOCwG1_.js → FormSelectChoice-C4LlT7fR.js} +16 -16
- package/chunk/{FormSelectChoice-BMOCwG1_.js.map → FormSelectChoice-C4LlT7fR.js.map} +1 -1
- package/chunk/{FormSelectChoice-xPF_7dfg.js → FormSelectChoice-CClt04rV.js} +16 -16
- package/chunk/{FormSelectChoice-xPF_7dfg.js.map → FormSelectChoice-CClt04rV.js.map} +1 -1
- package/chunk/{InputText-B4CjWTez.js → InputText-BXPuBlPq.js} +7 -7
- package/chunk/{InputText-B4CjWTez.js.map → InputText-BXPuBlPq.js.map} +1 -1
- package/chunk/{InputText-Dc_DjXbQ.js → InputText-h_myNeHr.js} +7 -7
- package/chunk/{InputText-Dc_DjXbQ.js.map → InputText-h_myNeHr.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CP_MLvtk.js → LicensedProfessionalOrganizationComponent-wJSn67h6.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-Dwbseq8o.js.map → LicensedProfessionalOrganizationComponent-wJSn67h6.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Dwbseq8o.js → LicensedProfessionalOrganizationComponent-wfXwXvVc.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-CP_MLvtk.js.map → LicensedProfessionalOrganizationComponent-wfXwXvVc.js.map} +1 -1
- package/chunk/{LogoComponent-BaBfWuKr.js → LogoComponent-Do8K5ydz.js} +6 -6
- package/chunk/{LogoComponent-BaBfWuKr.js.map → LogoComponent-Do8K5ydz.js.map} +1 -1
- package/chunk/{LogoComponent-DSoOQ1Uz.js → LogoComponent-Dx1G-rzE.js} +6 -6
- package/chunk/{LogoComponent-DSoOQ1Uz.js.map → LogoComponent-Dx1G-rzE.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BXmap6Rx.js → LowIncomeOrganizationComponent-C3Dc7HeO.js} +20 -20
- package/chunk/{LowIncomeOrganizationComponent-BXmap6Rx.js.map → LowIncomeOrganizationComponent-C3Dc7HeO.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-D8CNP5HY.js → LowIncomeOrganizationComponent-D8RlrBXa.js} +20 -20
- package/chunk/{LowIncomeOrganizationComponent-D8CNP5HY.js.map → LowIncomeOrganizationComponent-D8RlrBXa.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-KmjANRJ9.js → MedicalProfessionalOrganizationComponent-BlEmZTpI.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-BbYalsLY.js.map → MedicalProfessionalOrganizationComponent-BlEmZTpI.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BbYalsLY.js → MedicalProfessionalOrganizationComponent-DS1iVIfQ.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-KmjANRJ9.js.map → MedicalProfessionalOrganizationComponent-DS1iVIfQ.js.map} +1 -1
- package/chunk/{MemberIdComponent-TNTlU0wZ.js → MemberIdComponent-5OnkQeLm.js} +7 -7
- package/chunk/{MemberIdComponent-TNTlU0wZ.js.map → MemberIdComponent-5OnkQeLm.js.map} +1 -1
- package/chunk/{MemberIdComponent-ubWwGiAG.js → MemberIdComponent-sR9aGDN4.js} +7 -7
- package/chunk/{MemberIdComponent-ubWwGiAG.js.map → MemberIdComponent-sR9aGDN4.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-QqiCbPz3.js → MembershipOrganizationComponent-BrbunU1_.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-BlYWLmzA.js.map → MembershipOrganizationComponent-BrbunU1_.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BlYWLmzA.js → MembershipOrganizationComponent-UqzaA4bV.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-QqiCbPz3.js.map → MembershipOrganizationComponent-UqzaA4bV.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-_wFfZCyV.js → PersonalInfoStepSubmitButton-DA3ceOLw.js} +28 -26
- package/chunk/PersonalInfoStepSubmitButton-DA3ceOLw.js.map +1 -0
- package/chunk/{PersonalInfoStepSubmitButton-DvMU95pj.js → PersonalInfoStepSubmitButton-D_Y9q0Iy.js} +20 -18
- package/chunk/PersonalInfoStepSubmitButton-D_Y9q0Iy.js.map +1 -0
- package/chunk/{PersonalInfoStepWrapper-BCe97Fbw.js → PersonalInfoStepWrapper-6neTJTQD.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BCe97Fbw.js.map → PersonalInfoStepWrapper-6neTJTQD.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-C-DG20qY.js → PersonalInfoStepWrapper-Dsb0Qcv5.js} +21 -21
- package/chunk/{PersonalInfoStepWrapper-C-DG20qY.js.map → PersonalInfoStepWrapper-Dsb0Qcv5.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BF8Fplpm.js → PostalCodeComponent-BhBBSAL-.js} +7 -7
- package/chunk/{PostalCodeComponent-BF8Fplpm.js.map → PostalCodeComponent-BhBBSAL-.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Cn7FPVh2.js → PostalCodeComponent-DKC3DspF.js} +7 -7
- package/chunk/{PostalCodeComponent-Cn7FPVh2.js.map → PostalCodeComponent-DKC3DspF.js.map} +1 -1
- package/chunk/{SSN-DPn5f0xr.js → SSN-7DHOlAAq.js} +8 -8
- package/chunk/{SSN-CbSneflU.js.map → SSN-7DHOlAAq.js.map} +1 -1
- package/chunk/{SSN-CbSneflU.js → SSN-DlBvRiaZ.js} +8 -8
- package/chunk/{SSN-DPn5f0xr.js.map → SSN-DlBvRiaZ.js.map} +1 -1
- package/chunk/{StateSelectComponent-BMxcczlp.js → StateSelectComponent-BXHXB6Kn.js} +6 -6
- package/chunk/{StateSelectComponent-BMxcczlp.js.map → StateSelectComponent-BXHXB6Kn.js.map} +1 -1
- package/chunk/{StateSelectComponent-Fwkoplfb.js → StateSelectComponent-lM5e-_1v.js} +6 -6
- package/chunk/{StateSelectComponent-Fwkoplfb.js.map → StateSelectComponent-lM5e-_1v.js.map} +1 -1
- package/chunk/{StatusComponent-C--lHDG1.js → StatusComponent-BTvs1WVn.js} +15 -14
- package/chunk/StatusComponent-BTvs1WVn.js.map +1 -0
- package/chunk/{StatusComponent-DUPrDBFL.js → StatusComponent-BxQNsHYs.js} +15 -14
- package/chunk/StatusComponent-BxQNsHYs.js.map +1 -0
- package/chunk/StepAgePersonalInfo-BOnOqXxm.js +174 -0
- package/chunk/{StepAgePersonalInfo-B3prBGtM.js.map → StepAgePersonalInfo-BOnOqXxm.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-B3prBGtM.js → StepAgePersonalInfo-UWfkIpnn.js} +43 -47
- package/chunk/{StepAgePersonalInfo-Bqy4A9R_.js.map → StepAgePersonalInfo-UWfkIpnn.js.map} +1 -1
- package/chunk/{StepCard-DOhBSDPW.js → StepCard-B0o7IN6g.js} +5 -5
- package/chunk/{StepCard-DOhBSDPW.js.map → StepCard-B0o7IN6g.js.map} +1 -1
- package/chunk/{StepCard-Ym7mbGWv.js → StepCard-CWT2BiAH.js} +5 -5
- package/chunk/{StepCard-Ym7mbGWv.js.map → StepCard-CWT2BiAH.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BPVZi_2Z.js → StepCollectIdentifier-CtpUvhZs.js} +11 -11
- package/chunk/{StepCollectIdentifier-BPVZi_2Z.js.map → StepCollectIdentifier-CtpUvhZs.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DIYCPon1.js → StepCollectIdentifier-D7bSwvYI.js} +15 -15
- package/chunk/{StepCollectIdentifier-DIYCPon1.js.map → StepCollectIdentifier-D7bSwvYI.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js +245 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js +249 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-BlAJbqgb.js +372 -0
- package/chunk/StepCollectPersonalInfo-BlAJbqgb.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-CzLVKlZ3.js +368 -0
- package/chunk/StepCollectPersonalInfo-CzLVKlZ3.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-Yz3dPahs.js → StepCompleteAuthentication-Cnv_QzG7.js} +21 -21
- package/chunk/{StepCompleteAuthentication-BmYjAKgP.js.map → StepCompleteAuthentication-Cnv_QzG7.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BmYjAKgP.js → StepCompleteAuthentication-D7NH3MFa.js} +21 -21
- package/chunk/{StepCompleteAuthentication-Yz3dPahs.js.map → StepCompleteAuthentication-D7NH3MFa.js.map} +1 -1
- package/chunk/{StepConsolation-DPjGqB9c.js → StepConsolation-BrzJnbYN.js} +9 -9
- package/chunk/{StepConsolation-DPjGqB9c.js.map → StepConsolation-BrzJnbYN.js.map} +1 -1
- package/chunk/{StepConsolation-CuDYCCAE.js → StepConsolation-C5ZHdmQ6.js} +9 -9
- package/chunk/{StepConsolation-CuDYCCAE.js.map → StepConsolation-C5ZHdmQ6.js.map} +1 -1
- package/chunk/{StepDocUpload-wmENbcHT.js → StepDocUpload-BuH-EW5U.js} +214 -214
- package/chunk/{StepDocUpload-wmENbcHT.js.map → StepDocUpload-BuH-EW5U.js.map} +1 -1
- package/chunk/{StepDocUpload-DXh4w_Gy.js → StepDocUpload-D2_e55pR.js} +221 -221
- package/chunk/{StepDocUpload-DXh4w_Gy.js.map → StepDocUpload-D2_e55pR.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DsWHV5ef.js → StepDriverLicensePersonalInfoComponent-DcVZb5ke.js} +32 -32
- package/chunk/{StepDriverLicensePersonalInfoComponent-C89uw9hB.js.map → StepDriverLicensePersonalInfoComponent-DcVZb5ke.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-C89uw9hB.js → StepDriverLicensePersonalInfoComponent-UZoq9OhC.js} +36 -36
- package/chunk/{StepDriverLicensePersonalInfoComponent-DsWHV5ef.js.map → StepDriverLicensePersonalInfoComponent-UZoq9OhC.js.map} +1 -1
- package/chunk/{StepEmailLoop-qLTbVSgG.js → StepEmailLoop-138hnevc.js} +17 -17
- package/chunk/{StepEmailLoop-CgImGOHm.js.map → StepEmailLoop-138hnevc.js.map} +1 -1
- package/chunk/{StepEmailLoop-CgImGOHm.js → StepEmailLoop-p3PjfBvc.js} +17 -17
- package/chunk/{StepEmailLoop-qLTbVSgG.js.map → StepEmailLoop-p3PjfBvc.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DmWrWi0w.js → StepEmploymentPersonalInfo-CIb2V_Aj.js} +47 -47
- package/chunk/{StepEmploymentPersonalInfo-BokWlHYE.js.map → StepEmploymentPersonalInfo-CIb2V_Aj.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BokWlHYE.js → StepEmploymentPersonalInfo-txyihsja.js} +51 -51
- package/chunk/{StepEmploymentPersonalInfo-DmWrWi0w.js.map → StepEmploymentPersonalInfo-txyihsja.js.map} +1 -1
- package/chunk/StepFirstResponderPersonalInfo-CSGMgT02.js +186 -0
- package/chunk/StepFirstResponderPersonalInfo-CSGMgT02.js.map +1 -0
- package/chunk/StepFirstResponderPersonalInfo-gF_5zHxj.js +182 -0
- package/chunk/StepFirstResponderPersonalInfo-gF_5zHxj.js.map +1 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C0xjZ49y.js → StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js} +45 -45
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DtnhsOS8.js.map → StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DtnhsOS8.js → StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js} +41 -41
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C0xjZ49y.js.map → StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BrfsVxoL.js → StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js} +44 -44
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BrfsVxoL.js.map → StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DtWwTb-w.js → StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js} +48 -48
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DtWwTb-w.js.map → StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js.map} +1 -1
- package/chunk/StepIDCheckLoop-CX6VsvAJ.js +24 -0
- package/chunk/{StepIDCheckLoop-CqMy-kih.js.map → StepIDCheckLoop-CX6VsvAJ.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-D3fkw6rR.js → StepIDCheckLoop-DFhu-v9n.js} +8 -8
- package/chunk/{StepIDCheckLoop-D3fkw6rR.js.map → StepIDCheckLoop-DFhu-v9n.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CPqxoGK2.js → StepIDCheckLoopOnfido-0o-ZdynC.js} +48 -48
- package/chunk/{StepIDCheckLoopOnfido-CuHGDZD7.js.map → StepIDCheckLoopOnfido-0o-ZdynC.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CuHGDZD7.js → StepIDCheckLoopOnfido-CiuUU7f9.js} +53 -53
- package/chunk/{StepIDCheckLoopOnfido-CPqxoGK2.js.map → StepIDCheckLoopOnfido-CiuUU7f9.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DgO-1qZp.js → StepIDCheckLoopRegula-D5Ln2I62.js} +21 -21
- package/chunk/{StepIDCheckLoopRegula-B0OCBK0E.js.map → StepIDCheckLoopRegula-D5Ln2I62.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B0OCBK0E.js → StepIDCheckLoopRegula-D94f7Ccr.js} +21 -21
- package/chunk/{StepIDCheckLoopRegula-DgO-1qZp.js.map → StepIDCheckLoopRegula-D94f7Ccr.js.map} +1 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-BHInsLPJ.js +180 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-BHInsLPJ.js.map +1 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-CHQbAgsG.js +176 -0
- package/chunk/StepLicensedProfessionalPersonalInfo-CHQbAgsG.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-DVDI4DRm.js +234 -0
- package/chunk/StepLowIncomePersonalInfo-DVDI4DRm.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-oBDI4ML2.js +238 -0
- package/chunk/StepLowIncomePersonalInfo-oBDI4ML2.js.map +1 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-DmoUExs9.js +208 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-DmoUExs9.js.map +1 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-_x2wcVNS.js +212 -0
- package/chunk/StepMedicalProfessionalPersonalInfo-_x2wcVNS.js.map +1 -0
- package/chunk/StepMemberPersonalInfo-BAjKLJCl.js +153 -0
- package/chunk/{StepMemberPersonalInfo-BkdO0M03.js.map → StepMemberPersonalInfo-BAjKLJCl.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-CI9Q06Ic.js +157 -0
- package/chunk/{StepMemberPersonalInfo-iiEeEHMd.js.map → StepMemberPersonalInfo-CI9Q06Ic.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-B8ulp8r4.js → StepMoverPersonalInfo-CVT4pPa6.js} +56 -56
- package/chunk/{StepMoverPersonalInfo-B8ulp8r4.js.map → StepMoverPersonalInfo-CVT4pPa6.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-DIkMi5zU.js +140 -0
- package/chunk/{StepMoverPersonalInfo-ddojJbVP.js.map → StepMoverPersonalInfo-DIkMi5zU.js.map} +1 -1
- package/chunk/{StepOverrideComponent-1C4izDUn.js → StepOverrideComponent-B9HVSPlq.js} +16 -16
- package/chunk/{StepOverrideComponent-1C4izDUn.js.map → StepOverrideComponent-B9HVSPlq.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CW4AqS1W.js → StepOverrideComponent-DOBT7C22.js} +16 -16
- package/chunk/{StepOverrideComponent-CW4AqS1W.js.map → StepOverrideComponent-DOBT7C22.js.map} +1 -1
- package/chunk/{StepSMSLoop-CYsBZ7tK.js → StepSMSLoop-BM7UE2tP.js} +20 -20
- package/chunk/{StepSMSLoop-ZFEdfzI7.js.map → StepSMSLoop-BM7UE2tP.js.map} +1 -1
- package/chunk/{StepSMSLoop-ZFEdfzI7.js → StepSMSLoop-Wr-MrFaf.js} +19 -19
- package/chunk/{StepSMSLoop-CYsBZ7tK.js.map → StepSMSLoop-Wr-MrFaf.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-S4ajjj2k.js → StepSocialSecurityNumber-DepVz3V7.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-S4ajjj2k.js.map → StepSocialSecurityNumber-DepVz3V7.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-2cDHkFtc.js → StepSocialSecurityNumber-LcWg-zo5.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-2cDHkFtc.js.map → StepSocialSecurityNumber-LcWg-zo5.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DNqHAtn-.js → StepStudentPersonalInfo-CxPq9ICS.js} +48 -48
- package/chunk/{StepStudentPersonalInfo-CPEy1x3k.js.map → StepStudentPersonalInfo-CxPq9ICS.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CPEy1x3k.js → StepStudentPersonalInfo-DQMWaRSa.js} +78 -78
- package/chunk/{StepStudentPersonalInfo-DNqHAtn-.js.map → StepStudentPersonalInfo-DQMWaRSa.js.map} +1 -1
- package/chunk/{StepSuccess-CAGzawu7.js → StepSuccess-C3a0CPsE.js} +30 -30
- package/chunk/{StepSuccess-CAGzawu7.js.map → StepSuccess-C3a0CPsE.js.map} +1 -1
- package/chunk/{StepSuccess-D_IWaCdF.js → StepSuccess-CvK7t1zN.js} +29 -29
- package/chunk/{StepSuccess-D_IWaCdF.js.map → StepSuccess-CvK7t1zN.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-DhOL3_0H.js +154 -0
- package/chunk/{StepTeacherPersonalInfo-CJXMX4i-.js.map → StepTeacherPersonalInfo-DhOL3_0H.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-_Wwkq-dn.js +150 -0
- package/chunk/{StepTeacherPersonalInfo-DuQ_2jzT.js.map → StepTeacherPersonalInfo-_Wwkq-dn.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-CTUcGZBk.js → TeacherSchoolComponent-3HVz97q_.js} +9 -9
- package/chunk/{TeacherSchoolComponent-3hHaynGt.js.map → TeacherSchoolComponent-3HVz97q_.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-3hHaynGt.js → TeacherSchoolComponent-BwLUGmNi.js} +9 -9
- package/chunk/{TeacherSchoolComponent-CTUcGZBk.js.map → TeacherSchoolComponent-BwLUGmNi.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-MQkB4gbS.js → TestingRouteOverrides-CAGESMw9.js} +26 -26
- package/chunk/{TestingRouteOverrides-B51tlkPN.js.map → TestingRouteOverrides-CAGESMw9.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CrhfSmLr.js +77 -0
- package/chunk/{TestingRouteOverrides-MQkB4gbS.js.map → TestingRouteOverrides-CrhfSmLr.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-BuZNO3k4.js → VerificationApiClient-BcE3SjuJ.js} +377 -414
- package/chunk/{VerificationApiClient-CSmDqqJd.js.map → VerificationApiClient-BcE3SjuJ.js.map} +1 -1
- package/chunk/{VerificationApiClient-CSmDqqJd.js → VerificationApiClient-fJ7P4ejD.js} +424 -421
- package/chunk/{VerificationApiClient-BuZNO3k4.js.map → VerificationApiClient-fJ7P4ejD.js.map} +1 -1
- 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-AmQexyFX.js → countryUtils-AR9k3KRg.js} +5 -5
- package/chunk/{countryUtils-AmQexyFX.js.map → countryUtils-AR9k3KRg.js.map} +1 -1
- package/chunk/countryUtils-DWqId-zY.js +12 -0
- package/chunk/{countryUtils-_b1AEFmu.js.map → countryUtils-DWqId-zY.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-a6BpIuFH.js → downshift.esm-BKI3sFd7.js} +7 -7
- package/chunk/{downshift.esm-a6BpIuFH.js.map → downshift.esm-BKI3sFd7.js.map} +1 -1
- package/chunk/{downshift.esm-TD1ZHIGw.js → downshift.esm-DryiNDJI.js} +7 -7
- package/chunk/{downshift.esm-TD1ZHIGw.js.map → downshift.esm-DryiNDJI.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/{empties-Cng4q8t3.js → empties-B6naRhes.js} +64 -73
- package/chunk/empties-B6naRhes.js.map +1 -0
- package/chunk/{empties-B6yh07nS.js → empties-Crmkxudi.js} +64 -73
- package/chunk/empties-Crmkxudi.js.map +1 -0
- 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-D2tFSceS.js → hooks-C15H5pD-.js} +481 -481
- package/chunk/hooks-C15H5pD-.js.map +1 -0
- package/chunk/{hooks-B179G474.js → hooks-ChQrxN58.js} +480 -480
- package/chunk/hooks-ChQrxN58.js.map +1 -0
- package/chunk/hr-CL1lHDbu.js +4 -4
- package/chunk/hu-Cf5Uq9R_.js +4 -4
- package/chunk/id-ay9yilKx.js +4 -4
- package/chunk/{intl-Ft_65Lzo.js → intl-e5WHiYfA.js} +7 -6
- package/chunk/intl-e5WHiYfA.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-DOqJBLjd.js → jsx-runtime-Ini3eO9_.js} +18 -18
- package/chunk/{jsx-runtime-DOqJBLjd.js.map → jsx-runtime-Ini3eO9_.js.map} +1 -1
- package/chunk/{jsx-runtime-Bq9F3xvK.js → jsx-runtime-LqzCS-0D.js} +18 -18
- package/chunk/{jsx-runtime-Bq9F3xvK.js.map → jsx-runtime-LqzCS-0D.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-CoMRz_O2.js → mocks-DGc1byho.js} +10 -9
- package/chunk/{mocks-CoMRz_O2.js.map → mocks-DGc1byho.js.map} +1 -1
- package/chunk/{mocks-C1va3xs9.js → mocks-RU9BGNOn.js} +9 -8
- package/chunk/{mocks-C1va3xs9.js.map → mocks-RU9BGNOn.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-Co1RW3vc.js → options-pBCAJBwS.js} +7 -6
- package/chunk/options-pBCAJBwS.js.map +1 -0
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/{programThemeGetters-De_Bowzi.js → programThemeGetters-C9Sw0RZq.js} +45 -45
- package/chunk/{programThemeGetters-D2JwF5p-.js.map → programThemeGetters-C9Sw0RZq.js.map} +1 -1
- package/chunk/programThemeGetters-uLsgGat1.js +153 -0
- package/chunk/{programThemeGetters-De_Bowzi.js.map → programThemeGetters-uLsgGat1.js.map} +1 -1
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/{refs-Cz53Qfgi.js → refs-CGvEbCaw.js} +5 -5
- package/chunk/{refs-BgqdAkVI.js.map → refs-CGvEbCaw.js.map} +1 -1
- package/chunk/{refs-BgqdAkVI.js → refs-CI3K5ndt.js} +5 -5
- package/chunk/{refs-Cz53Qfgi.js.map → refs-CI3K5ndt.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-BdqtwfRd.js +133 -0
- package/chunk/stepComponentHelpers-BdqtwfRd.js.map +1 -0
- package/chunk/stepComponentHelpers-DIHMDrmF.js +129 -0
- package/chunk/stepComponentHelpers-DIHMDrmF.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-BsX_IHLN.js +62 -0
- package/chunk/useCollectFieldsEndpoint-BsX_IHLN.js.map +1 -0
- package/chunk/useCollectFieldsEndpoint-D7OQBDpX.js +66 -0
- package/chunk/useCollectFieldsEndpoint-D7OQBDpX.js.map +1 -0
- package/chunk/{useMetrics-DBzqwN2m.js → useMetrics-BrHWTzbP.js} +19 -19
- package/chunk/{useMetrics-saY5Oa2a.js.map → useMetrics-BrHWTzbP.js.map} +1 -1
- package/chunk/{useMetrics-saY5Oa2a.js → useMetrics-O5xTFm6y.js} +19 -19
- package/chunk/{useMetrics-DBzqwN2m.js.map → useMetrics-O5xTFm6y.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 +284 -280
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls-Cn6zYY4_.js +0 -40
- package/chunk/ApiUrls-Cn6zYY4_.js.map +0 -1
- package/chunk/ApiUrls-DtgMSGlO.js.map +0 -1
- package/chunk/FormFooterComponent-BuRQRQFI.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-DvMU95pj.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-_wFfZCyV.js.map +0 -1
- package/chunk/StatusComponent-C--lHDG1.js.map +0 -1
- package/chunk/StatusComponent-DUPrDBFL.js.map +0 -1
- package/chunk/StepActiveMilitaryPersonalInfoComponent-BQ1iNc2_.js +0 -179
- package/chunk/StepActiveMilitaryPersonalInfoComponent-BQ1iNc2_.js.map +0 -1
- package/chunk/StepActiveMilitaryPersonalInfoComponent-KweeN4OQ.js +0 -183
- package/chunk/StepActiveMilitaryPersonalInfoComponent-KweeN4OQ.js.map +0 -1
- package/chunk/StepAgePersonalInfo-Bqy4A9R_.js +0 -170
- package/chunk/StepCollectMilitaryStatusComponent-CNctoDoi.js +0 -13
- package/chunk/StepCollectMilitaryStatusComponent-DCVnycL7.js +0 -9
- package/chunk/StepCollectPersonalInfo-BOCmDplo.js +0 -358
- package/chunk/StepCollectPersonalInfo-BOCmDplo.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-R9fs-nQd.js +0 -362
- package/chunk/StepCollectPersonalInfo-R9fs-nQd.js.map +0 -1
- package/chunk/StepFirstResponderPersonalInfo--u-ggEEq.js +0 -172
- package/chunk/StepFirstResponderPersonalInfo--u-ggEEq.js.map +0 -1
- package/chunk/StepFirstResponderPersonalInfo-Cs4BiLuq.js +0 -176
- package/chunk/StepFirstResponderPersonalInfo-Cs4BiLuq.js.map +0 -1
- package/chunk/StepIDCheckLoop-CqMy-kih.js +0 -24
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-BUL3KyDd.js +0 -237
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-BUL3KyDd.js.map +0 -1
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-DD3ijaER.js +0 -241
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-DD3ijaER.js.map +0 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-BoMh77dS.js +0 -190
- package/chunk/StepLicensedProfessionalPersonalInfo-BoMh77dS.js.map +0 -1
- package/chunk/StepLicensedProfessionalPersonalInfo-CJUnLQJn.js +0 -186
- package/chunk/StepLicensedProfessionalPersonalInfo-CJUnLQJn.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-KsWVTeO_.js +0 -223
- package/chunk/StepLowIncomePersonalInfo-KsWVTeO_.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-WixW7jSE.js +0 -227
- package/chunk/StepLowIncomePersonalInfo-WixW7jSE.js.map +0 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-CkP3ijlv.js +0 -203
- package/chunk/StepMedicalProfessionalPersonalInfo-CkP3ijlv.js.map +0 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-ZWnPprFj.js +0 -207
- package/chunk/StepMedicalProfessionalPersonalInfo-ZWnPprFj.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-BkdO0M03.js +0 -157
- package/chunk/StepMemberPersonalInfo-iiEeEHMd.js +0 -153
- package/chunk/StepMoverPersonalInfo-ddojJbVP.js +0 -140
- package/chunk/StepTeacherPersonalInfo-CJXMX4i-.js +0 -150
- package/chunk/StepTeacherPersonalInfo-DuQ_2jzT.js +0 -154
- package/chunk/TestingRouteOverrides-B51tlkPN.js +0 -77
- package/chunk/VerificationApiUtils-BBxvDM3j.js +0 -25
- package/chunk/VerificationApiUtils-BBxvDM3j.js.map +0 -1
- package/chunk/VerificationApiUtils-CFvFUGWV.js +0 -21
- package/chunk/VerificationApiUtils-CFvFUGWV.js.map +0 -1
- package/chunk/countryUtils-_b1AEFmu.js +0 -12
- package/chunk/empties-B6yh07nS.js.map +0 -1
- package/chunk/empties-Cng4q8t3.js.map +0 -1
- package/chunk/hooks-B179G474.js.map +0 -1
- package/chunk/hooks-D2tFSceS.js.map +0 -1
- package/chunk/intl-Ft_65Lzo.js.map +0 -1
- package/chunk/militaryStepHelpers-CJ4smMQ2.js +0 -22
- package/chunk/militaryStepHelpers-CJ4smMQ2.js.map +0 -1
- package/chunk/militaryStepHelpers-tnlMV7Ug.js +0 -26
- package/chunk/militaryStepHelpers-tnlMV7Ug.js.map +0 -1
- package/chunk/options-Co1RW3vc.js.map +0 -1
- package/chunk/programThemeGetters-D2JwF5p-.js +0 -153
- package/chunk/stepComponentHelpers-2Sq02uha.js +0 -174
- package/chunk/stepComponentHelpers-2Sq02uha.js.map +0 -1
- package/chunk/stepComponentHelpers-uJDQGcgs.js +0 -170
- package/chunk/stepComponentHelpers-uJDQGcgs.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-BU9xoRkC.js +0 -37
- package/chunk/useCollectFieldsEndpoint-BU9xoRkC.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-EgQ_hVpj.js +0 -41
- package/chunk/useCollectFieldsEndpoint-EgQ_hVpj.js.map +0 -1
package/_mysheerid-preview.js
CHANGED
|
@@ -4,74 +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: Tue Aug 25 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.277.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1787693419738
|
|
9
|
+
* BUILD_DATE: Tue Aug 25 2026 21:30:19 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 6bf9486531bf722019a9060202aca84ce001472b
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { c as
|
|
15
|
-
import { A as
|
|
16
|
-
import { c as
|
|
17
|
-
import { a as
|
|
18
|
-
import { i as
|
|
19
|
-
import { a as
|
|
20
|
-
import { i as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
12
|
+
import { Bt as e, D as t, E as n, Ht as r, Nt as i, O as a, Pt as o, Rt as s, T as c, Wt as l, b as u, c as d, f, g as p, h as m, i as h, jt as g, l as _, m as v, n as y, o as b, ot as x, p as S, pt as C, r as w, s as T, t as ee, v as te, w as E, x as D, y as O, zt as ne } from "./chunk/intl-e5WHiYfA.js";
|
|
13
|
+
import { f as k, m as A, p as j, u as re } from "./chunk/ApiUrls-BEuqNxHS.js";
|
|
14
|
+
import { c as ie, i as ae, n as M, t as oe } from "./chunk/jsx-runtime-LqzCS-0D.js";
|
|
15
|
+
import { A as se, C as ce, D as le, E as ue, I as de, L as fe, M as pe, N as me, O as he, P as ge, R as _e, S as ve, T as ye, _ as be, a as xe, b as Se, c as Ce, d as we, f as Te, j as Ee, k as De, l as Oe, n as ke, o as Ae, p as je, r as N, s as Me, t as Ne, u as Pe, v as Fe, w as Ie, x as Le, y as Re, z as ze } from "./chunk/FormFooterComponent-CaOt9TQw.js";
|
|
16
|
+
import { c as Be, d as Ve, l as He, o as Ue } from "./chunk/VerificationApiClient-BcE3SjuJ.js";
|
|
17
|
+
import { a as We, i as Ge, n as Ke, r as qe, s as Je, t as Ye } from "./chunk/TestingRouteOverrides-CAGESMw9.js";
|
|
18
|
+
import { i as Xe } from "./chunk/programThemeGetters-uLsgGat1.js";
|
|
19
|
+
import { a as Ze, i as Qe, n as $e, r as et, t as tt } from "./chunk/hooks-C15H5pD-.js";
|
|
20
|
+
import { i as nt, s as rt, t as it } from "./chunk/refs-CI3K5ndt.js";
|
|
21
|
+
import { t as at } from "./chunk/LogoComponent-Dx1G-rzE.js";
|
|
22
|
+
import { t as ot } from "./chunk/strings-DWLVdUcm.js";
|
|
23
|
+
import { t as st } from "./chunk/AnnouncingHeader-YPjBYzsZ.js";
|
|
24
24
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
25
|
-
var
|
|
26
|
-
function
|
|
27
|
-
let r = (0,
|
|
25
|
+
var P = /* @__PURE__ */ l(ie());
|
|
26
|
+
function ct({ i18n: e, defaultNS: t, children: n }) {
|
|
27
|
+
let r = (0, P.useMemo)(() => ({
|
|
28
28
|
i18n: e,
|
|
29
29
|
defaultNS: t
|
|
30
30
|
}), [e, t]);
|
|
31
|
-
return (0,
|
|
31
|
+
return (0, P.createElement)(ze.Provider, { value: r }, n);
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
35
|
-
var
|
|
36
|
-
let
|
|
37
|
-
let
|
|
38
|
-
|
|
35
|
+
var lt = (t, n = { partial: !0 }) => {
|
|
36
|
+
let r = Fe(), i = r.getState(), o = () => {
|
|
37
|
+
let i = a(t);
|
|
38
|
+
e.info("Setting programTheme", i), ue(r.dispatch)(i, n.partial), se(i, n.partial);
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
i.isLoading ? de({
|
|
41
41
|
name: "ON_VERIFICATION_READY",
|
|
42
42
|
callback: () => {
|
|
43
|
-
|
|
43
|
+
o();
|
|
44
44
|
}
|
|
45
|
-
}) :
|
|
46
|
-
},
|
|
45
|
+
}) : o();
|
|
46
|
+
}, ut = /* @__PURE__ */ l(ne(), 1), dt = /* @__PURE__ */ l(be(), 1), F = oe(), ft = () => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
47
47
|
className: "sid-spinner",
|
|
48
48
|
"data-testid": "sid-spinner",
|
|
49
49
|
children: [
|
|
50
|
-
/* @__PURE__ */ (0,
|
|
51
|
-
/* @__PURE__ */ (0,
|
|
52
|
-
/* @__PURE__ */ (0,
|
|
53
|
-
/* @__PURE__ */ (0,
|
|
50
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
51
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
52
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" }),
|
|
53
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-spinner__frame" })
|
|
54
54
|
]
|
|
55
|
-
}),
|
|
55
|
+
}), pt = ({ step: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
56
56
|
className: "sid-loading-screen__message",
|
|
57
|
-
children: [
|
|
57
|
+
children: [o(e) && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
58
58
|
className: "sid-loading-screen__message-header",
|
|
59
59
|
role: "alert",
|
|
60
|
-
children: /* @__PURE__ */ (0,
|
|
60
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
61
61
|
id: "step.personalInfo.verifyingTitle",
|
|
62
62
|
defaultMessage: "Verifying your status"
|
|
63
63
|
})
|
|
64
|
-
}), /* @__PURE__ */ (0,
|
|
64
|
+
}), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
65
65
|
className: "sid-loading-screen__message-subhead",
|
|
66
|
-
children: /* @__PURE__ */ (0,
|
|
66
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
67
67
|
id: "step.personalInfo.verifyingSubtitle",
|
|
68
68
|
defaultMessage: "This should only take a minute"
|
|
69
69
|
})
|
|
70
70
|
})]
|
|
71
|
-
}),
|
|
71
|
+
}), mt = ({ step: e = Ye() }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
72
72
|
className: "sid-loading-screen",
|
|
73
|
-
children: [/* @__PURE__ */ (0,
|
|
74
|
-
}),
|
|
73
|
+
children: [/* @__PURE__ */ (0, F.jsx)(ft, {}), e && /* @__PURE__ */ (0, F.jsx)(pt, { step: e })]
|
|
74
|
+
}), ht = /* @__PURE__ */ r(((e, t) => {
|
|
75
75
|
var n, r = n = {
|
|
76
76
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
77
77
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -138,13 +138,13 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
138
138
|
enumerable: !0,
|
|
139
139
|
configurable: !1
|
|
140
140
|
}), t.exports = r;
|
|
141
|
-
})),
|
|
142
|
-
var n =
|
|
141
|
+
})), gt = /* @__PURE__ */ r(((e, t) => {
|
|
142
|
+
var n = ht();
|
|
143
143
|
t.exports = {
|
|
144
144
|
isRtlLang: n.isRtlLang,
|
|
145
145
|
getLangDir: n.getLangDir
|
|
146
146
|
};
|
|
147
|
-
})),
|
|
147
|
+
})), _t = /* @__PURE__ */ l(Ve(), 1), vt = /* @__PURE__ */ l(gt(), 1), I = {
|
|
148
148
|
landingBackgroundColor: "#fff",
|
|
149
149
|
landingPrimaryFontColor: "#000",
|
|
150
150
|
landingBackgroundImage: "none",
|
|
@@ -158,7 +158,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
158
158
|
formFont: "var(--sheerid-font-family-sans)",
|
|
159
159
|
cssVariables: null,
|
|
160
160
|
customStyles: null
|
|
161
|
-
},
|
|
161
|
+
}, yt = P.createContext(I), L = {
|
|
162
162
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
163
163
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
164
164
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -172,7 +172,7 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
172
172
|
formFont: "--sheerid-font-family-body",
|
|
173
173
|
cssVariables: null,
|
|
174
174
|
customStyles: null
|
|
175
|
-
},
|
|
175
|
+
}, bt = {
|
|
176
176
|
"--sheerid-color-fg-05": {
|
|
177
177
|
from: "--sheerid-color-bg",
|
|
178
178
|
to: "--sheerid-color-fg",
|
|
@@ -283,25 +283,25 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
283
283
|
to: "--sheerid-color-fg",
|
|
284
284
|
percentage: 3
|
|
285
285
|
}
|
|
286
|
-
},
|
|
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 ||
|
|
288
|
-
[
|
|
289
|
-
[
|
|
290
|
-
[
|
|
291
|
-
[
|
|
292
|
-
[
|
|
293
|
-
[
|
|
294
|
-
[
|
|
295
|
-
[
|
|
296
|
-
[
|
|
297
|
-
[
|
|
298
|
-
[
|
|
299
|
-
...Object.entries(
|
|
286
|
+
}, xt = ({ 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 || I.landingBackgroundColor, c = o?.primaryFontColor || I.landingPrimaryFontColor, l = o?.backgroundImageUrl || I.landingBackgroundImage, u = e?.backgroundColor || I.formBackgroundColor, d = e?.primaryFontColor || I.formPrimaryFontColor, f = e?.buttonColor || I.formButtonColor, p = e?.buttonFontColor || I.formButtonFontColor, m = e?.linkColor || I.formLinkColor, h = e?.h1FontColor || I.formH1FontColor, g = e?.helperFontColor || I.formHelperFontColor, _ = e?.font || I.formFont, v = {
|
|
288
|
+
[L.landingBackgroundColor]: s,
|
|
289
|
+
[L.landingPrimaryFontColor]: c,
|
|
290
|
+
[L.landingBackgroundImage]: l === I.landingBackgroundImage ? I.landingBackgroundImage : `url(${l})`,
|
|
291
|
+
[L.formBackgroundColor]: u,
|
|
292
|
+
[L.formPrimaryFontColor]: d,
|
|
293
|
+
[L.formButtonColor]: f,
|
|
294
|
+
[L.formButtonFontColor]: p,
|
|
295
|
+
[L.formLinkColor]: m,
|
|
296
|
+
[L.formH1FontColor]: h,
|
|
297
|
+
[L.formHelperFontColor]: g,
|
|
298
|
+
[L.formFont]: _ === I.formFont ? I.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
299
|
+
...Object.entries(bt).reduce((e, [t, n]) => {
|
|
300
300
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
301
301
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
302
302
|
}, {})
|
|
303
|
-
}, y =
|
|
304
|
-
return /* @__PURE__ */ (0,
|
|
303
|
+
}, y = P.useRef(null), b = j() === k.cdnInlineIframe, x = j() === k.cdnModalIframe;
|
|
304
|
+
return /* @__PURE__ */ (0, F.jsx)(yt.Provider, {
|
|
305
305
|
value: {
|
|
306
306
|
landingBackgroundColor: s,
|
|
307
307
|
landingPrimaryFontColor: c,
|
|
@@ -317,15 +317,15 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
317
317
|
cssVariables: v,
|
|
318
318
|
customStyles: a
|
|
319
319
|
},
|
|
320
|
-
children: /* @__PURE__ */ (0,
|
|
320
|
+
children: /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
321
321
|
style: v,
|
|
322
322
|
ref: y,
|
|
323
323
|
"data-in-iframe": b,
|
|
324
324
|
"data-in-modal": x,
|
|
325
|
-
children: [a && /* @__PURE__ */ (0,
|
|
325
|
+
children: [a && /* @__PURE__ */ (0, F.jsx)("style", { children: a }), n]
|
|
326
326
|
})
|
|
327
327
|
});
|
|
328
|
-
},
|
|
328
|
+
}, St = (e, t, n) => ({
|
|
329
329
|
minAge: t?.minAge || e?.config?.minAge,
|
|
330
330
|
maxAge: t?.maxAge || e?.config?.maxAge,
|
|
331
331
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -333,128 +333,128 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
333
333
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
334
334
|
currentStep: t?.currentStep,
|
|
335
335
|
viewModel: n
|
|
336
|
-
}),
|
|
336
|
+
}), Ct = {}, wt = (t) => Ct[t] ? (e.log(`getOverridenComponent returning ${t}`), Ct[t]) : null, Tt = ({ verificationService: e, linkText: t }) => {
|
|
337
337
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
338
|
-
return n ? /* @__PURE__ */ (0,
|
|
338
|
+
return n ? /* @__PURE__ */ (0, F.jsx)(xe, {
|
|
339
339
|
className: "sid-faq sid-link",
|
|
340
|
-
href:
|
|
341
|
-
children: t || /* @__PURE__ */ (0,
|
|
340
|
+
href: Xe(i, n, r, ee(e.viewModel), e.verificationResponse),
|
|
341
|
+
children: t || /* @__PURE__ */ (0, F.jsx)(M, {
|
|
342
342
|
id: "getHelp",
|
|
343
343
|
defaultMessage: "Get help"
|
|
344
344
|
})
|
|
345
345
|
}) : null;
|
|
346
|
-
},
|
|
346
|
+
}, Et = /* @__PURE__ */ (0, F.jsx)(M, {
|
|
347
347
|
id: "poweredBy",
|
|
348
348
|
defaultMessage: "Verification services powered by SheerID."
|
|
349
|
-
}),
|
|
349
|
+
}), Dt = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
350
350
|
switch (n) {
|
|
351
|
-
case "poweredby": return /* @__PURE__ */ (0,
|
|
351
|
+
case "poweredby": return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
352
352
|
className: "sid-footer__powered-by-container-experiment",
|
|
353
|
-
children: [/* @__PURE__ */ (0,
|
|
353
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
354
354
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
355
|
-
children:
|
|
356
|
-
}), !r && /* @__PURE__ */ (0,
|
|
355
|
+
children: Et
|
|
356
|
+
}), !r && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
357
357
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
358
|
-
children: /* @__PURE__ */ (0,
|
|
358
|
+
children: /* @__PURE__ */ (0, F.jsx)(Tt, { verificationService: e })
|
|
359
359
|
})]
|
|
360
360
|
});
|
|
361
|
-
case "verificationby": return /* @__PURE__ */ (0,
|
|
361
|
+
case "verificationby": return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
362
362
|
className: "sid-footer__powered-by-container--stacked sid-l-horz-center sid-footer__powered-by-experiment",
|
|
363
|
-
children: /* @__PURE__ */ (0,
|
|
363
|
+
children: /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
364
364
|
className: "sid-footer__powered-by-verificationby-experiment",
|
|
365
|
-
children: [/* @__PURE__ */ (0,
|
|
365
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
366
366
|
className: "sid-footer__powered-by-icon-experiment",
|
|
367
|
-
children: /* @__PURE__ */ (0,
|
|
367
|
+
children: /* @__PURE__ */ (0, F.jsx)("img", {
|
|
368
368
|
alt: "",
|
|
369
369
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
370
370
|
})
|
|
371
|
-
}),
|
|
371
|
+
}), Et]
|
|
372
372
|
})
|
|
373
373
|
});
|
|
374
|
-
default: return /* @__PURE__ */ (0,
|
|
374
|
+
default: return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
375
375
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
376
|
-
children: [/* @__PURE__ */ (0,
|
|
376
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
377
377
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
378
|
-
children:
|
|
379
|
-
}), !r && /* @__PURE__ */ (0,
|
|
378
|
+
children: Et
|
|
379
|
+
}), !r && /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
380
380
|
className: t ? "sid-l-space-top-sm" : "",
|
|
381
|
-
children: ["\xA0", /* @__PURE__ */ (0,
|
|
381
|
+
children: ["\xA0", /* @__PURE__ */ (0, F.jsx)(Tt, { verificationService: e })]
|
|
382
382
|
})]
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
|
-
},
|
|
386
|
-
let n =
|
|
385
|
+
}, Ot = (e, t) => {
|
|
386
|
+
let n = P.useRef(null);
|
|
387
387
|
function r() {
|
|
388
388
|
clearInterval(n.current);
|
|
389
389
|
}
|
|
390
|
-
return
|
|
391
|
-
},
|
|
392
|
-
let a =
|
|
393
|
-
return /* @__PURE__ */ (0,
|
|
390
|
+
return P.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
391
|
+
}, kt = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Mt.PRIMARY }) => {
|
|
392
|
+
let a = ot(e);
|
|
393
|
+
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
394
394
|
className: "sid-header sid-l-horz-center",
|
|
395
395
|
children: [
|
|
396
|
-
/* @__PURE__ */ (0,
|
|
396
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
397
397
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
398
398
|
children: n
|
|
399
399
|
}),
|
|
400
|
-
/* @__PURE__ */ (0,
|
|
400
|
+
/* @__PURE__ */ (0, F.jsx)(st, {
|
|
401
401
|
align: "center",
|
|
402
402
|
children: t.title
|
|
403
403
|
}),
|
|
404
|
-
/* @__PURE__ */ (0,
|
|
404
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
405
405
|
className: "sid-header__subtitle-one",
|
|
406
406
|
children: t.subtitle
|
|
407
407
|
}),
|
|
408
|
-
t?.subtitle2 && /* @__PURE__ */ (0,
|
|
409
|
-
/* @__PURE__ */ (0,
|
|
408
|
+
t?.subtitle2 && /* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" }),
|
|
409
|
+
/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
410
410
|
className: "sid-header__subtitle-two sid-h-small-text sid-l-space-top-md",
|
|
411
|
-
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0,
|
|
411
|
+
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0, F.jsx)("div", {
|
|
412
412
|
className: `sid-form-region sid-${a}-pending-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
413
|
-
children: /* @__PURE__ */ (0,
|
|
413
|
+
children: /* @__PURE__ */ (0, F.jsx)("button", {
|
|
414
414
|
onClick: r,
|
|
415
415
|
type: "submit",
|
|
416
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
416
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === Mt.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
417
417
|
"aria-label": "submit",
|
|
418
418
|
children: t.cancel
|
|
419
419
|
})
|
|
420
420
|
})]
|
|
421
421
|
}),
|
|
422
|
-
t?.subtitle2 ? /* @__PURE__ */ (0,
|
|
422
|
+
t?.subtitle2 ? /* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
423
423
|
]
|
|
424
424
|
});
|
|
425
|
-
},
|
|
425
|
+
}, At = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = Mt.PRIMARY }) => /* @__PURE__ */ (0, F.jsx)(kt, {
|
|
426
426
|
messages: t,
|
|
427
427
|
stepName: e,
|
|
428
428
|
logo: n,
|
|
429
429
|
cancelSingleSignOn: r,
|
|
430
430
|
cancelButtonType: i
|
|
431
|
-
}),
|
|
432
|
-
let i =
|
|
433
|
-
return /* @__PURE__ */ (0,
|
|
431
|
+
}), jt = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
432
|
+
let i = tt("hc-my-sheer-id-theme-builder");
|
|
433
|
+
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
434
434
|
className: "sid-header sid-l-horz-center",
|
|
435
435
|
children: [
|
|
436
|
-
/* @__PURE__ */ (0,
|
|
436
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
437
437
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
438
|
-
children: /* @__PURE__ */ (0,
|
|
438
|
+
children: /* @__PURE__ */ (0, F.jsx)(at, {
|
|
439
439
|
verificationService: t,
|
|
440
|
-
fallbackLogo: !i && /* @__PURE__ */ (0,
|
|
440
|
+
fallbackLogo: !i && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
441
441
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
442
442
|
alt: "",
|
|
443
443
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"
|
|
444
444
|
})
|
|
445
445
|
})
|
|
446
446
|
}),
|
|
447
|
-
/* @__PURE__ */ (0,
|
|
447
|
+
/* @__PURE__ */ (0, F.jsx)(st, {
|
|
448
448
|
align: "center",
|
|
449
449
|
children: e.title
|
|
450
450
|
}),
|
|
451
|
-
/* @__PURE__ */ (0,
|
|
451
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
452
452
|
className: "sid-header__subtitle-one",
|
|
453
453
|
children: e.subtitle
|
|
454
454
|
}),
|
|
455
|
-
/* @__PURE__ */ (0,
|
|
455
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
456
456
|
className: `sid-form-region sid-${r}-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
457
|
-
children: /* @__PURE__ */ (0,
|
|
457
|
+
children: /* @__PURE__ */ (0, F.jsx)("button", {
|
|
458
458
|
id: `sid-submit-btn-${r}`,
|
|
459
459
|
onClick: () => n("isSingleSignOnActive", !0),
|
|
460
460
|
type: "submit",
|
|
@@ -462,200 +462,200 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
462
462
|
children: e.login
|
|
463
463
|
})
|
|
464
464
|
}),
|
|
465
|
-
/* @__PURE__ */ (0,
|
|
465
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
466
466
|
]
|
|
467
467
|
});
|
|
468
|
-
},
|
|
468
|
+
}, Mt = /* @__PURE__ */ function(e) {
|
|
469
469
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
470
|
-
}({}),
|
|
471
|
-
let { programId:
|
|
472
|
-
verificationService:
|
|
473
|
-
fallbackLogo: !g && /* @__PURE__ */ (0,
|
|
474
|
-
className: `sid-${
|
|
470
|
+
}({}), Nt = ({ verificationService: t, stepName: n, messages: r, cancelButtonType: a = "primary" }) => {
|
|
471
|
+
let { programId: o } = t, s = t.viewModel, c = t.previousViewModel || void 0, l = t.verificationResponse, u = t.previousVerificationResponse || void 0, { verificationId: d, locale: f } = t.verificationResponse, m = We(), h = ot(n), g = tt("hc-my-sheer-id-theme-builder"), _, v = /* @__PURE__ */ (0, F.jsx)(at, {
|
|
472
|
+
verificationService: t,
|
|
473
|
+
fallbackLogo: !g && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
474
|
+
className: `sid-${h}-logo-default sid-l-lead-image`,
|
|
475
475
|
alt: "",
|
|
476
476
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
477
477
|
})
|
|
478
478
|
}), y = () => setTimeout(() => {
|
|
479
|
-
|
|
480
|
-
}, 1e3), b = (
|
|
481
|
-
let r =
|
|
482
|
-
e
|
|
479
|
+
t.fetchExistingVerificationRequest(o, d, u, c);
|
|
480
|
+
}, 1e3), b = (e, n) => {
|
|
481
|
+
let r = S(s, (t) => {
|
|
482
|
+
t[e] = n;
|
|
483
483
|
});
|
|
484
|
-
|
|
484
|
+
t.updateViewModel(r);
|
|
485
485
|
}, x = () => {
|
|
486
|
-
|
|
487
|
-
programId:
|
|
486
|
+
O(p.SSO_CANCEL_CLICKED, {
|
|
487
|
+
programId: o,
|
|
488
488
|
locale: f,
|
|
489
|
-
verificationId:
|
|
490
|
-
}),
|
|
491
|
-
let
|
|
492
|
-
|
|
493
|
-
},
|
|
494
|
-
|
|
495
|
-
programId:
|
|
489
|
+
verificationId: d
|
|
490
|
+
}), it();
|
|
491
|
+
let r = S(s, () => {});
|
|
492
|
+
e.info("SingleSignOnComponent submitting cancel request"), clearTimeout(_), t.submitStep(n, r, t.verificationResponse);
|
|
493
|
+
}, C = (e, t) => {
|
|
494
|
+
O(p.SSO_SIGN_IN_CLICKED, {
|
|
495
|
+
programId: o,
|
|
496
496
|
locale: f,
|
|
497
|
-
verificationId:
|
|
497
|
+
verificationId: d
|
|
498
498
|
}), b(e, t), w();
|
|
499
499
|
}, w = () => {
|
|
500
|
-
let e =
|
|
501
|
-
|
|
500
|
+
let e = n === i.sso ? Ue(l.loginUrl) : l.loginUrl;
|
|
501
|
+
rt(window.open(e, "_blank")), nt().focus();
|
|
502
502
|
};
|
|
503
|
-
return
|
|
504
|
-
id: `sid-step-${
|
|
505
|
-
className: `sid-${
|
|
506
|
-
"data-testid": `sid-step-${
|
|
507
|
-
children: [/* @__PURE__ */ (0,
|
|
503
|
+
return s.isSingleSignOnActive && !m && (_ = y()), !s.countryChoice && c && c.countryChoice && b("countryChoice", c.countryChoice), /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
504
|
+
id: `sid-step-${h}`,
|
|
505
|
+
className: `sid-${h}-container sid-l-container`,
|
|
506
|
+
"data-testid": `sid-step-${h}`,
|
|
507
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
508
508
|
role: "main",
|
|
509
|
-
children:
|
|
510
|
-
stepName:
|
|
511
|
-
messages:
|
|
509
|
+
children: s.isSingleSignOnActive ? /* @__PURE__ */ (0, F.jsx)(At, {
|
|
510
|
+
stepName: n,
|
|
511
|
+
messages: r,
|
|
512
512
|
logo: v,
|
|
513
513
|
cancelSingleSignOn: x,
|
|
514
|
-
cancelButtonType:
|
|
515
|
-
}) : /* @__PURE__ */ (0,
|
|
516
|
-
verificationService:
|
|
517
|
-
messages:
|
|
518
|
-
updateViewModelAndOpenLoginTab:
|
|
519
|
-
dashedStepName:
|
|
514
|
+
cancelButtonType: a
|
|
515
|
+
}) : /* @__PURE__ */ (0, F.jsx)(jt, {
|
|
516
|
+
verificationService: t,
|
|
517
|
+
messages: r,
|
|
518
|
+
updateViewModelAndOpenLoginTab: C,
|
|
519
|
+
dashedStepName: h
|
|
520
520
|
})
|
|
521
|
-
}), /* @__PURE__ */ (0,
|
|
521
|
+
}), /* @__PURE__ */ (0, F.jsx)(Ne, { verificationService: t })]
|
|
522
522
|
});
|
|
523
|
-
},
|
|
524
|
-
title: /* @__PURE__ */ (0,
|
|
523
|
+
}, Pt = {
|
|
524
|
+
title: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
525
525
|
id: "step.sso.title",
|
|
526
526
|
defaultMessage: "Verify using your school credentials",
|
|
527
527
|
tagName: "h1"
|
|
528
528
|
}),
|
|
529
|
-
subtitle: /* @__PURE__ */ (0,
|
|
529
|
+
subtitle: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
530
530
|
id: "step.sso.subtitle",
|
|
531
531
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
532
532
|
}),
|
|
533
|
-
login: /* @__PURE__ */ (0,
|
|
533
|
+
login: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
534
534
|
id: "step.sso.login",
|
|
535
535
|
defaultMessage: "Sign in to my school"
|
|
536
536
|
}),
|
|
537
|
-
cancel: /* @__PURE__ */ (0,
|
|
537
|
+
cancel: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
538
538
|
id: "step.sso.cancel",
|
|
539
539
|
defaultMessage: "Upload Proof of Enrollment"
|
|
540
540
|
}),
|
|
541
|
-
subtitle2: /* @__PURE__ */ (0,
|
|
541
|
+
subtitle2: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
542
542
|
id: "step.sso.subtitle2",
|
|
543
543
|
defaultMessage: "Can't sign in to your school?"
|
|
544
544
|
})
|
|
545
|
-
},
|
|
545
|
+
}, Ft = ({ verificationService: e }) => /* @__PURE__ */ (0, F.jsx)(Nt, {
|
|
546
546
|
verificationService: e,
|
|
547
|
-
stepName:
|
|
548
|
-
messages:
|
|
549
|
-
}),
|
|
547
|
+
stepName: i.sso,
|
|
548
|
+
messages: Pt
|
|
549
|
+
}), It = ({ logo: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
550
550
|
className: "sid-header sid-l-horz-center",
|
|
551
551
|
"data-testid": "sid-review-pending",
|
|
552
552
|
children: [
|
|
553
|
-
/* @__PURE__ */ (0,
|
|
553
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
554
554
|
className: "sid-l-horz-center",
|
|
555
555
|
children: e
|
|
556
556
|
}),
|
|
557
|
-
/* @__PURE__ */ (0,
|
|
557
|
+
/* @__PURE__ */ (0, F.jsx)(st, {
|
|
558
558
|
align: "center",
|
|
559
|
-
children: /* @__PURE__ */ (0,
|
|
559
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
560
560
|
id: "step.pending.titleReview",
|
|
561
561
|
defaultMessage: "Reviewing",
|
|
562
562
|
tagName: "h1"
|
|
563
563
|
})
|
|
564
564
|
}),
|
|
565
|
-
/* @__PURE__ */ (0,
|
|
565
|
+
/* @__PURE__ */ (0, F.jsx)("div", { children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
566
566
|
id: "step.pending.uploadedDocument",
|
|
567
567
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
568
568
|
}) }),
|
|
569
|
-
/* @__PURE__ */ (0,
|
|
569
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
570
570
|
className: "sid-header__subtitle-one sid-l-space-top-md",
|
|
571
|
-
children: /* @__PURE__ */ (0,
|
|
571
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "step.pending.turnaroundTime" })
|
|
572
572
|
}),
|
|
573
|
-
/* @__PURE__ */ (0,
|
|
573
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
574
574
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
575
|
-
children: /* @__PURE__ */ (0,
|
|
575
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
576
576
|
id: "step.pending.subtitle2",
|
|
577
577
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
578
578
|
})
|
|
579
579
|
}),
|
|
580
|
-
/* @__PURE__ */ (0,
|
|
580
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
581
581
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
582
|
-
children: /* @__PURE__ */ (0,
|
|
582
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
583
583
|
id: "step.pending.subtitle3",
|
|
584
584
|
defaultMessage: "You will be contacted via email."
|
|
585
585
|
})
|
|
586
586
|
}),
|
|
587
|
-
/* @__PURE__ */ (0,
|
|
587
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
588
588
|
]
|
|
589
|
-
}),
|
|
589
|
+
}), Lt = ({ logo: e }) => /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
590
590
|
className: "sid-header sid-l-horz-center",
|
|
591
591
|
"data-testid": "sid-review-pending",
|
|
592
592
|
children: [
|
|
593
|
-
/* @__PURE__ */ (0,
|
|
593
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
594
594
|
className: "sid-l-horz-center",
|
|
595
595
|
children: e
|
|
596
596
|
}),
|
|
597
|
-
/* @__PURE__ */ (0,
|
|
597
|
+
/* @__PURE__ */ (0, F.jsx)(st, {
|
|
598
598
|
align: "center",
|
|
599
|
-
children: /* @__PURE__ */ (0,
|
|
599
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
600
600
|
id: "step.pending.idCheckLoop.title",
|
|
601
601
|
defaultMessage: "We're reviewing your documents",
|
|
602
602
|
tagName: "h1"
|
|
603
603
|
})
|
|
604
604
|
}),
|
|
605
|
-
/* @__PURE__ */ (0,
|
|
605
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
606
606
|
className: "sid-header__subtitle-one",
|
|
607
|
-
children: /* @__PURE__ */ (0,
|
|
607
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
608
608
|
id: "step.pending.idCheckLoop.subtitle",
|
|
609
609
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
610
610
|
})
|
|
611
611
|
}),
|
|
612
|
-
/* @__PURE__ */ (0,
|
|
612
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
613
613
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
614
|
-
children: /* @__PURE__ */ (0,
|
|
614
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
615
615
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
616
616
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
617
617
|
})
|
|
618
618
|
}),
|
|
619
|
-
/* @__PURE__ */ (0,
|
|
619
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
620
620
|
]
|
|
621
|
-
}),
|
|
622
|
-
title: /* @__PURE__ */ (0,
|
|
621
|
+
}), Rt = { [g.SIGNZY]: {
|
|
622
|
+
title: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
623
623
|
id: "step.thirdPartyLoop.signzy.title",
|
|
624
624
|
tagName: "h1",
|
|
625
625
|
defaultMessage: "Verify using DigiLocker"
|
|
626
626
|
}),
|
|
627
|
-
subtitle: /* @__PURE__ */ (0,
|
|
627
|
+
subtitle: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
628
628
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
629
629
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
630
630
|
}),
|
|
631
|
-
login: /* @__PURE__ */ (0,
|
|
631
|
+
login: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
632
632
|
id: "step.thirdPartyLoop.signzy.login",
|
|
633
633
|
defaultMessage: "Sign in to DigiLocker"
|
|
634
634
|
}),
|
|
635
|
-
cancel: /* @__PURE__ */ (0,
|
|
635
|
+
cancel: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
636
636
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
637
637
|
defaultMessage: "Upload Proof of Identity"
|
|
638
638
|
})
|
|
639
|
-
} },
|
|
640
|
-
let n = /* @__PURE__ */ (0,
|
|
639
|
+
} }, zt = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
640
|
+
let n = /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
641
641
|
className: "sid-header sid-l-horz-center",
|
|
642
642
|
children: [
|
|
643
|
-
/* @__PURE__ */ (0,
|
|
643
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
644
644
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
645
645
|
children: e
|
|
646
646
|
}),
|
|
647
|
-
/* @__PURE__ */ (0,
|
|
647
|
+
/* @__PURE__ */ (0, F.jsx)(st, {
|
|
648
648
|
align: "center",
|
|
649
|
-
children: /* @__PURE__ */ (0,
|
|
649
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
650
650
|
id: "error",
|
|
651
651
|
tagName: "h1"
|
|
652
652
|
})
|
|
653
653
|
}),
|
|
654
|
-
/* @__PURE__ */ (0,
|
|
654
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
655
655
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
656
|
-
children: /* @__PURE__ */ (0,
|
|
656
|
+
children: /* @__PURE__ */ (0, F.jsx)("div", {
|
|
657
657
|
className: "sid-error-msg sid-l-horz-center",
|
|
658
|
-
children: /* @__PURE__ */ (0,
|
|
658
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, {
|
|
659
659
|
id: "step.thirdPartyLoop.error",
|
|
660
660
|
defaultMessage: "Provider not supported"
|
|
661
661
|
})
|
|
@@ -663,226 +663,226 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
663
663
|
})
|
|
664
664
|
]
|
|
665
665
|
});
|
|
666
|
-
return /* @__PURE__ */ (0,
|
|
666
|
+
return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
667
667
|
id: "sid-step-third-party-loop",
|
|
668
668
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
669
669
|
"data-testid": "sid-step-third-party-loop-error",
|
|
670
|
-
children: t ? /* @__PURE__ */ (0,
|
|
670
|
+
children: t ? /* @__PURE__ */ (0, F.jsx)("div", {
|
|
671
671
|
role: "main",
|
|
672
672
|
children: n
|
|
673
673
|
}) : n
|
|
674
674
|
});
|
|
675
|
-
},
|
|
676
|
-
let t =
|
|
677
|
-
return t ? /* @__PURE__ */ (0,
|
|
675
|
+
}, Bt = ({ verificationService: e }) => {
|
|
676
|
+
let t = Rt[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = tt("hc-my-sheer-id-theme-builder");
|
|
677
|
+
return t ? /* @__PURE__ */ (0, F.jsx)(Nt, {
|
|
678
678
|
verificationService: e,
|
|
679
|
-
stepName:
|
|
679
|
+
stepName: i.thirdPartyLoop,
|
|
680
680
|
messages: t,
|
|
681
|
-
cancelButtonType:
|
|
682
|
-
}) : /* @__PURE__ */ (0,
|
|
681
|
+
cancelButtonType: Mt.SECONDARY
|
|
682
|
+
}) : /* @__PURE__ */ (0, F.jsx)(zt, {
|
|
683
683
|
isStepRoot: !0,
|
|
684
|
-
logo: /* @__PURE__ */ (0,
|
|
684
|
+
logo: /* @__PURE__ */ (0, F.jsx)(at, {
|
|
685
685
|
verificationService: e,
|
|
686
|
-
fallbackLogo: !n && /* @__PURE__ */ (0,
|
|
686
|
+
fallbackLogo: !n && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
687
687
|
className: "sid-error-logo sid-l-lead-image",
|
|
688
688
|
alt: "",
|
|
689
689
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
690
690
|
})
|
|
691
691
|
})
|
|
692
692
|
});
|
|
693
|
-
},
|
|
694
|
-
let
|
|
695
|
-
return
|
|
696
|
-
stepName:
|
|
697
|
-
messages:
|
|
693
|
+
}, Vt = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
694
|
+
let a = Rt[r ? Ge("thirdPartyLoopProvider") : t?.thirdPartyLoopProvider] || void 0;
|
|
695
|
+
return a ? /* @__PURE__ */ (0, F.jsx)(At, {
|
|
696
|
+
stepName: i.thirdPartyLoop,
|
|
697
|
+
messages: a,
|
|
698
698
|
logo: e,
|
|
699
699
|
cancelSingleSignOn: n,
|
|
700
|
-
cancelButtonType:
|
|
701
|
-
}) : /* @__PURE__ */ (0,
|
|
702
|
-
},
|
|
703
|
-
let { programId:
|
|
704
|
-
|
|
700
|
+
cancelButtonType: Mt.SECONDARY
|
|
701
|
+
}) : /* @__PURE__ */ (0, F.jsx)(zt, { logo: e });
|
|
702
|
+
}, Ht = 5e3, Ut = 2e4, Wt = 2e4, Gt = 2e3, Kt = ({ verificationService: t }) => {
|
|
703
|
+
let { programId: n } = t, { viewModel: r } = t, a = t.previousViewModel || void 0, o = t.verificationResponse.lastResponse || t.previousVerificationResponse || void 0, { verificationId: s } = t.verificationResponse, c = We(), l = qe() && qe() === i.sso, u = qe() && qe() === i.thirdPartyLoop, d = qe() && qe() === i.idCheckLoop, f = tt("hc-my-sheer-id-theme-builder"), p = () => o?.currentStep === i.sso, m = () => o?.currentStep === i.thirdPartyLoop, h = () => o?.currentStep === i.idCheckLoop, g = p() || m() || l || u, _ = h() || d, v = !g && !_, [y, b] = P.useState(() => g ? Gt : _ ? Wt : Ht);
|
|
704
|
+
P.useEffect(() => {
|
|
705
705
|
if (!v) return;
|
|
706
|
-
let e = setTimeout(() => b(
|
|
706
|
+
let e = setTimeout(() => b(Wt), Ut);
|
|
707
707
|
return () => clearTimeout(e);
|
|
708
708
|
}, [v]);
|
|
709
|
-
let x = !
|
|
710
|
-
|
|
711
|
-
}, y),
|
|
712
|
-
let
|
|
713
|
-
|
|
714
|
-
}, w = /* @__PURE__ */ (0,
|
|
715
|
-
verificationService:
|
|
716
|
-
fallbackLogo: !f && /* @__PURE__ */ (0,
|
|
709
|
+
let x = !c && Ot(() => {
|
|
710
|
+
t.fetchExistingVerificationRequest(n, s, o, a, !1);
|
|
711
|
+
}, y), C = (n) => {
|
|
712
|
+
let i = S(r, () => {});
|
|
713
|
+
e.info("StepSingleSignOnComponent submitting cancel request, step:", n), x(), it(), t.submitStep(n, i, o);
|
|
714
|
+
}, w = /* @__PURE__ */ (0, F.jsx)(at, {
|
|
715
|
+
verificationService: t,
|
|
716
|
+
fallbackLogo: !f && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
717
717
|
className: "sid-l-lead-image",
|
|
718
718
|
alt: "",
|
|
719
719
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
720
720
|
})
|
|
721
721
|
});
|
|
722
|
-
return /* @__PURE__ */ (0,
|
|
722
|
+
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
723
723
|
id: "sid-step-pending",
|
|
724
724
|
className: "sid-l-container",
|
|
725
|
-
children: [/* @__PURE__ */ (0,
|
|
725
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
726
726
|
role: "main",
|
|
727
727
|
children: (() => {
|
|
728
|
-
let e = p() ||
|
|
729
|
-
return e ? /* @__PURE__ */ (0,
|
|
730
|
-
stepName:
|
|
731
|
-
messages:
|
|
728
|
+
let e = p() || l, t = m() || u, n = h() || d;
|
|
729
|
+
return e ? /* @__PURE__ */ (0, F.jsx)(At, {
|
|
730
|
+
stepName: i.sso,
|
|
731
|
+
messages: Pt,
|
|
732
732
|
logo: w,
|
|
733
|
-
cancelSingleSignOn: () =>
|
|
734
|
-
}) : t ? /* @__PURE__ */ (0,
|
|
733
|
+
cancelSingleSignOn: () => C(i.sso)
|
|
734
|
+
}) : t ? /* @__PURE__ */ (0, F.jsx)(Vt, {
|
|
735
735
|
logo: w,
|
|
736
|
-
cancelThirdPartyLoop: () =>
|
|
737
|
-
verificationLastResponse:
|
|
738
|
-
isMockingPreviousStepThirdPartyLoop:
|
|
739
|
-
}) : n ? /* @__PURE__ */ (0,
|
|
736
|
+
cancelThirdPartyLoop: () => C(i.thirdPartyLoop),
|
|
737
|
+
verificationLastResponse: o,
|
|
738
|
+
isMockingPreviousStepThirdPartyLoop: u
|
|
739
|
+
}) : n ? /* @__PURE__ */ (0, F.jsx)(Lt, { logo: w }) : /* @__PURE__ */ (0, F.jsx)(It, { logo: w });
|
|
740
740
|
})()
|
|
741
|
-
}), _ ? /* @__PURE__ */ (0,
|
|
742
|
-
verificationService:
|
|
741
|
+
}), _ ? /* @__PURE__ */ (0, F.jsx)(Dt, {
|
|
742
|
+
verificationService: t,
|
|
743
743
|
isCentered: !0
|
|
744
|
-
}) : /* @__PURE__ */ (0,
|
|
745
|
-
verificationService:
|
|
746
|
-
children: [/* @__PURE__ */ (0,
|
|
744
|
+
}) : /* @__PURE__ */ (0, F.jsxs)(Ne, {
|
|
745
|
+
verificationService: t,
|
|
746
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {}), " "]
|
|
747
747
|
})]
|
|
748
748
|
});
|
|
749
|
-
},
|
|
750
|
-
let e =
|
|
749
|
+
}, qt = () => {
|
|
750
|
+
let e = Ae(), t = Me(), n = Pe(), r = s(() => n.segment), i = P.useCallback(() => {
|
|
751
751
|
if (window.self !== window.top) {
|
|
752
752
|
let e = new URL(window.location.href);
|
|
753
753
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
754
754
|
return;
|
|
755
755
|
}
|
|
756
756
|
(async () => {
|
|
757
|
-
|
|
757
|
+
ve(e)(), await Le(e)(t, r, void 0, void 0, !0);
|
|
758
758
|
})();
|
|
759
759
|
}, [
|
|
760
760
|
e,
|
|
761
761
|
t,
|
|
762
|
-
|
|
762
|
+
r
|
|
763
763
|
]);
|
|
764
|
-
return /* @__PURE__ */ (0,
|
|
764
|
+
return /* @__PURE__ */ (0, F.jsx)("button", {
|
|
765
765
|
type: "button",
|
|
766
766
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
767
|
-
onClick:
|
|
768
|
-
onKeyPress:
|
|
769
|
-
children: /* @__PURE__ */ (0,
|
|
767
|
+
onClick: i,
|
|
768
|
+
onKeyPress: i,
|
|
769
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "tryAgain" })
|
|
770
770
|
});
|
|
771
|
-
},
|
|
771
|
+
}, Jt = {
|
|
772
772
|
NONE: "none",
|
|
773
773
|
RESET: "reset",
|
|
774
774
|
POSTMESSAGE: "postMessage",
|
|
775
775
|
REDIRECT: "redirect"
|
|
776
|
-
},
|
|
777
|
-
let e =
|
|
776
|
+
}, Yt = () => {
|
|
777
|
+
let e = Pe(), t = () => He({
|
|
778
778
|
action: "tryAgain",
|
|
779
779
|
verificationResponse: e
|
|
780
780
|
});
|
|
781
|
-
return /* @__PURE__ */ (0,
|
|
781
|
+
return /* @__PURE__ */ (0, F.jsx)("button", {
|
|
782
782
|
type: "button",
|
|
783
783
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
784
784
|
onClick: t,
|
|
785
785
|
onKeyPress: t,
|
|
786
|
-
children: /* @__PURE__ */ (0,
|
|
786
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "tryAgain" })
|
|
787
787
|
});
|
|
788
|
-
},
|
|
788
|
+
}, Xt = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, F.jsx)(xe, {
|
|
789
789
|
target: t,
|
|
790
790
|
href: e.toString(),
|
|
791
791
|
className: "sid-btn sid-btn--dark",
|
|
792
|
-
children: /* @__PURE__ */ (0,
|
|
793
|
-
}),
|
|
794
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
795
|
-
},
|
|
796
|
-
let
|
|
792
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "seeOtherOffers" })
|
|
793
|
+
}), Zt = (e) => {
|
|
794
|
+
if (!(typeof e == "object" && "type" in e && Object.values(Jt).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
795
|
+
}, Qt = () => {
|
|
796
|
+
let t = b("tryAgainAction");
|
|
797
797
|
try {
|
|
798
|
-
switch (
|
|
799
|
-
case
|
|
800
|
-
case
|
|
801
|
-
case
|
|
802
|
-
redirectUrl:
|
|
803
|
-
target:
|
|
798
|
+
switch (Zt(t), t.type) {
|
|
799
|
+
case Jt.NONE: return null;
|
|
800
|
+
case Jt.POSTMESSAGE: return window.self === window.top ? (e.error(`Invalid tryAgainAction option type "${t.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, F.jsx)(Yt, {});
|
|
801
|
+
case Jt.REDIRECT: return /* @__PURE__ */ (0, F.jsx)(Xt, {
|
|
802
|
+
redirectUrl: t.url,
|
|
803
|
+
target: t.target
|
|
804
804
|
});
|
|
805
|
-
case
|
|
805
|
+
case Jt.RESET: return /* @__PURE__ */ (0, F.jsx)(qt, {});
|
|
806
806
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
807
807
|
}
|
|
808
|
-
} catch (
|
|
809
|
-
return
|
|
808
|
+
} catch (t) {
|
|
809
|
+
return e.error(t.message), /* @__PURE__ */ (0, F.jsx)(qt, {});
|
|
810
810
|
}
|
|
811
|
-
},
|
|
811
|
+
}, $t = [
|
|
812
812
|
"docReviewLimitExceeded",
|
|
813
813
|
"verificationLimitExceeded",
|
|
814
814
|
"fraudRulesReject"
|
|
815
|
-
],
|
|
815
|
+
], en = ({ verificationService: e, errorIds: t }) => {
|
|
816
816
|
let n = t[0];
|
|
817
|
-
return /* @__PURE__ */ (0,
|
|
817
|
+
return /* @__PURE__ */ (0, F.jsx)(st, {
|
|
818
818
|
align: "center",
|
|
819
|
-
children: /* @__PURE__ */ (0,
|
|
819
|
+
children: /* @__PURE__ */ (0, F.jsx)("h1", { children: /* @__PURE__ */ (0, F.jsx)(N, { id: e?.messages[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title" }) })
|
|
820
820
|
});
|
|
821
|
-
},
|
|
821
|
+
}, tn = ({ errorIds: e, errorDetailId: t }) => {
|
|
822
822
|
let n = /* @__PURE__ */ new Map();
|
|
823
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0,
|
|
824
|
-
},
|
|
823
|
+
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, F.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(N, { id: t }, t)) }) : null;
|
|
824
|
+
}, nn = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
825
825
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
826
|
-
let t =
|
|
827
|
-
return t ? /* @__PURE__ */ (0,
|
|
826
|
+
let t = s(() => e.programTheme.config.brandInfo.faqUrl);
|
|
827
|
+
return t ? /* @__PURE__ */ (0, F.jsx)(xe, {
|
|
828
828
|
href: t,
|
|
829
|
-
onClick: () =>
|
|
829
|
+
onClick: () => u(i.error, t),
|
|
830
830
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
831
|
-
children: /* @__PURE__ */ (0,
|
|
831
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
832
832
|
}) : null;
|
|
833
833
|
}
|
|
834
834
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
835
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return
|
|
836
|
-
let
|
|
837
|
-
return e.messages?.[`step.error.errorId.${
|
|
835
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return b("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, F.jsx)(Qt, {});
|
|
836
|
+
let r = t[0];
|
|
837
|
+
return e.messages?.[`step.error.errorId.${r}.buttonText`] && n ? /* @__PURE__ */ (0, F.jsx)(xe, {
|
|
838
838
|
href: n,
|
|
839
|
-
onClick: () =>
|
|
839
|
+
onClick: () => u(i.error, n),
|
|
840
840
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
841
|
-
children: /* @__PURE__ */ (0,
|
|
842
|
-
}) : /* @__PURE__ */ (0,
|
|
843
|
-
},
|
|
844
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
841
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: `step.error.errorId.${r}.buttonText` })
|
|
842
|
+
}) : /* @__PURE__ */ (0, F.jsx)(Qt, {});
|
|
843
|
+
}, rn = ({ verificationService: e, errorId: t }) => {
|
|
844
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = tt("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
845
845
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
846
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
847
|
-
return /* @__PURE__ */ (0,
|
|
846
|
+
let s = Array.from(o), c = s.some((e) => $t.includes(e));
|
|
847
|
+
return /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
848
848
|
id: "sid-step-error",
|
|
849
849
|
className: "sid-error-container sid-l-container",
|
|
850
|
-
children: [/* @__PURE__ */ (0,
|
|
850
|
+
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
851
851
|
className: "sid-header sid-l-horz-center",
|
|
852
852
|
role: "banner",
|
|
853
853
|
children: [
|
|
854
|
-
/* @__PURE__ */ (0,
|
|
854
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
855
855
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
856
|
-
children: /* @__PURE__ */ (0,
|
|
856
|
+
children: /* @__PURE__ */ (0, F.jsx)(at, {
|
|
857
857
|
verificationService: e,
|
|
858
|
-
fallbackLogo: !a && /* @__PURE__ */ (0,
|
|
858
|
+
fallbackLogo: !a && /* @__PURE__ */ (0, F.jsx)("img", {
|
|
859
859
|
className: "sid-error-logo sid-l-lead-image",
|
|
860
860
|
alt: "",
|
|
861
861
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
862
862
|
})
|
|
863
863
|
})
|
|
864
864
|
}),
|
|
865
|
-
/* @__PURE__ */ (0,
|
|
865
|
+
/* @__PURE__ */ (0, F.jsx)(en, {
|
|
866
866
|
verificationService: e,
|
|
867
867
|
errorIds: s
|
|
868
868
|
}),
|
|
869
|
-
/* @__PURE__ */ (0,
|
|
869
|
+
/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
870
870
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
871
871
|
children: [
|
|
872
|
-
/* @__PURE__ */ (0,
|
|
872
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
873
873
|
className: "sid-error-msg sid-l-horz-center",
|
|
874
|
-
children: /* @__PURE__ */ (0,
|
|
874
|
+
children: /* @__PURE__ */ (0, F.jsx)(tn, {
|
|
875
875
|
errorIds: s,
|
|
876
876
|
errorDetailId: i
|
|
877
877
|
})
|
|
878
878
|
}),
|
|
879
|
-
c && /* @__PURE__ */ (0,
|
|
879
|
+
c && /* @__PURE__ */ (0, F.jsx)("p", {
|
|
880
880
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
881
|
-
children: /* @__PURE__ */ (0,
|
|
881
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "contactSupport" })
|
|
882
882
|
}),
|
|
883
|
-
/* @__PURE__ */ (0,
|
|
883
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
884
884
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
885
|
-
children: /* @__PURE__ */ (0,
|
|
885
|
+
children: /* @__PURE__ */ (0, F.jsx)(nn, {
|
|
886
886
|
verificationService: e,
|
|
887
887
|
errorIds: s,
|
|
888
888
|
redirectUrl: r
|
|
@@ -891,262 +891,266 @@ var ct = (e, t = { partial: !0 }) => {
|
|
|
891
891
|
]
|
|
892
892
|
})
|
|
893
893
|
]
|
|
894
|
-
}), /* @__PURE__ */ (0,
|
|
894
|
+
}), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
895
895
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
896
|
-
children: /* @__PURE__ */ (0,
|
|
896
|
+
children: /* @__PURE__ */ (0, F.jsx)(Dt, {
|
|
897
897
|
verificationService: e,
|
|
898
898
|
isCentered: !0,
|
|
899
899
|
hideFaqLink: c
|
|
900
900
|
})
|
|
901
901
|
})]
|
|
902
902
|
});
|
|
903
|
-
},
|
|
904
|
-
StepPendingComponent:
|
|
905
|
-
StepErrorComponent:
|
|
906
|
-
StepStudentPersonalInfoComponent:
|
|
907
|
-
StepOverrideComponent:
|
|
908
|
-
StepAgePersonalInfoComponent:
|
|
909
|
-
StepSeniorPersonalInfoComponent:
|
|
910
|
-
|
|
911
|
-
StepCollectMilitaryStatusComponent:
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
903
|
+
}, an = {
|
|
904
|
+
StepPendingComponent: Kt,
|
|
905
|
+
StepErrorComponent: rn,
|
|
906
|
+
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-DQMWaRSa.js")),
|
|
907
|
+
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-DOBT7C22.js")),
|
|
908
|
+
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-BOnOqXxm.js")),
|
|
909
|
+
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-BOnOqXxm.js")),
|
|
910
|
+
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js")),
|
|
911
|
+
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js")),
|
|
912
|
+
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js")),
|
|
913
|
+
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js")),
|
|
914
|
+
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-DcVZb5ke.js")),
|
|
915
|
+
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-CIb2V_Aj.js")),
|
|
916
|
+
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-CSGMgT02.js")),
|
|
917
|
+
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js")),
|
|
918
|
+
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js")),
|
|
919
|
+
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-DFhu-v9n.js")),
|
|
920
|
+
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-BHInsLPJ.js")),
|
|
921
|
+
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-oBDI4ML2.js")),
|
|
922
|
+
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-_x2wcVNS.js")),
|
|
923
|
+
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-CI9Q06Ic.js")),
|
|
924
|
+
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-C5ZHdmQ6.js")),
|
|
925
|
+
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload-BuH-EW5U.js")),
|
|
926
|
+
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-p3PjfBvc.js")),
|
|
927
|
+
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-ojWCBFjq.js").then((e) => e.n)),
|
|
928
|
+
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-CVT4pPa6.js")),
|
|
929
|
+
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-Wr-MrFaf.js")),
|
|
930
|
+
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-DepVz3V7.js")),
|
|
931
|
+
StepSSOComponent: P.lazy(() => import("./chunk/StepSSO-BGHCbduX.js")),
|
|
932
|
+
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-C3a0CPsE.js")),
|
|
933
|
+
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-DhOL3_0H.js")),
|
|
934
|
+
StepCompleteAuthentication: P.lazy(() => import("./chunk/StepCompleteAuthentication-D7NH3MFa.js")),
|
|
935
|
+
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-CtpUvhZs.js")),
|
|
936
|
+
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-BlAJbqgb.js")),
|
|
937
|
+
StepThirdPartyLoopComponent: P.lazy(() => import("./chunk/StepThirdPartyLoop-CbFTIlwP.js"))
|
|
938
|
+
}, R = (t) => (e.info("getComponent", t), wt(t) || an[t]), on = () => /* @__PURE__ */ (0, F.jsx)(mt, {}), sn = ({ stepToLoad: t, verificationService: n }) => {
|
|
939
|
+
e.info(`LoadStepComponent: rendering step: ${t}`);
|
|
940
|
+
let r;
|
|
941
|
+
switch ((0, P.useEffect)(() => {
|
|
941
942
|
try {
|
|
942
|
-
performance.mark(
|
|
943
|
+
performance.mark(m.INITIAL_STEP_LOAD);
|
|
943
944
|
} catch {}
|
|
944
|
-
}, []),
|
|
945
|
-
if (!["pending", "error"].includes(
|
|
946
|
-
performance.mark(
|
|
947
|
-
eventName:
|
|
948
|
-
params: { step:
|
|
945
|
+
}, []), P.useEffect(() => {
|
|
946
|
+
if (!["pending", "error"].includes(t)) try {
|
|
947
|
+
performance.mark(p.STEP_SEEN), D({
|
|
948
|
+
eventName: p.STEP_SEEN,
|
|
949
|
+
params: { step: t }
|
|
949
950
|
});
|
|
950
|
-
} catch (
|
|
951
|
-
|
|
951
|
+
} catch (t) {
|
|
952
|
+
e.error(t);
|
|
952
953
|
}
|
|
953
|
-
}, [
|
|
954
|
+
}, [t]), t) {
|
|
954
955
|
case "collectPersonalInfo":
|
|
955
|
-
|
|
956
|
+
r = R("StepCollectPersonalInfo");
|
|
956
957
|
break;
|
|
957
958
|
case "collectStudentPersonalInfo":
|
|
958
|
-
|
|
959
|
+
r = R("StepStudentPersonalInfoComponent");
|
|
959
960
|
break;
|
|
960
961
|
case "collectSeniorPersonalInfo":
|
|
961
|
-
|
|
962
|
+
r = R("StepSeniorPersonalInfoComponent");
|
|
962
963
|
break;
|
|
963
964
|
case "collectAgePersonalInfo":
|
|
964
|
-
|
|
965
|
+
r = R("StepAgePersonalInfoComponent");
|
|
965
966
|
break;
|
|
966
967
|
case "collectTeacherPersonalInfo":
|
|
967
|
-
|
|
968
|
+
r = R("StepTeacherPersonalInfoComponent");
|
|
968
969
|
break;
|
|
969
970
|
case "collectMemberPersonalInfo":
|
|
970
|
-
|
|
971
|
+
r = R("StepMemberPersonalInfoComponent");
|
|
971
972
|
break;
|
|
972
973
|
case "collectMilitaryStatus":
|
|
973
|
-
|
|
974
|
+
r = R("StepCollectMilitaryStatusComponent");
|
|
974
975
|
break;
|
|
975
976
|
case "collectActiveMilitaryPersonalInfo":
|
|
976
|
-
|
|
977
|
+
r = R("StepActiveMilitaryPersonalInfoComponent");
|
|
977
978
|
break;
|
|
978
979
|
case "collectInactiveMilitaryPersonalInfo":
|
|
979
|
-
|
|
980
|
+
r = R("StepInactiveMilitaryPersonalInfoComponent");
|
|
981
|
+
break;
|
|
982
|
+
case "collectMilitaryPersonalInfo":
|
|
983
|
+
r = R("StepCollectMilitaryPersonalInfoComponent");
|
|
980
984
|
break;
|
|
981
985
|
case "collectFirstResponderPersonalInfo":
|
|
982
|
-
|
|
986
|
+
r = R("StepFirstResponderPersonalInfoComponent");
|
|
983
987
|
break;
|
|
984
988
|
case "collectMedicalProfessionalPersonalInfo":
|
|
985
|
-
|
|
989
|
+
r = R("StepMedicalProfessionalPersonalInfoComponent");
|
|
986
990
|
break;
|
|
987
991
|
case "collectEmployeePersonalInfo":
|
|
988
|
-
|
|
992
|
+
r = R("StepEmploymentPersonalInfoComponent");
|
|
989
993
|
break;
|
|
990
994
|
case "collectDriverLicensePersonalInfo":
|
|
991
|
-
|
|
995
|
+
r = R("StepDriverLicensePersonalInfoComponent");
|
|
992
996
|
break;
|
|
993
997
|
case "collectGeneralIdentityPersonalInfo":
|
|
994
|
-
|
|
998
|
+
r = R("StepGeneralIdentityPersonalInfoComponent");
|
|
995
999
|
break;
|
|
996
1000
|
case "collectHybridIdentityPersonalInfo":
|
|
997
|
-
|
|
1001
|
+
r = R("StepHybridIdentityPersonalInfoComponent");
|
|
998
1002
|
break;
|
|
999
1003
|
case "collectLicensedProfessionalPersonalInfo":
|
|
1000
|
-
|
|
1004
|
+
r = R("StepLicensedProfessionalPersonalInfoComponent");
|
|
1001
1005
|
break;
|
|
1002
1006
|
case "collectMoverPersonalInfo":
|
|
1003
|
-
|
|
1007
|
+
r = R("StepMoverPersonalInfoComponent");
|
|
1004
1008
|
break;
|
|
1005
1009
|
case "collectLowIncomePersonalInfo":
|
|
1006
|
-
|
|
1010
|
+
r = R("StepLowIncomePersonalInfoComponent");
|
|
1007
1011
|
break;
|
|
1008
1012
|
case "collectSocialSecurityNumber":
|
|
1009
|
-
|
|
1013
|
+
r = R("StepSocialSecurity");
|
|
1010
1014
|
break;
|
|
1011
1015
|
case "success":
|
|
1012
|
-
|
|
1016
|
+
r = R("StepSuccessComponent");
|
|
1013
1017
|
break;
|
|
1014
1018
|
case "consolation":
|
|
1015
|
-
|
|
1019
|
+
r = R("StepConsolationComponent");
|
|
1016
1020
|
break;
|
|
1017
1021
|
case "override":
|
|
1018
|
-
|
|
1022
|
+
r = R("StepOverrideComponent");
|
|
1019
1023
|
break;
|
|
1020
1024
|
case "docUpload":
|
|
1021
|
-
|
|
1025
|
+
r = R("StepDocUploadComponent");
|
|
1022
1026
|
break;
|
|
1023
1027
|
case "pending":
|
|
1024
|
-
|
|
1028
|
+
r = R("StepPendingComponent");
|
|
1025
1029
|
break;
|
|
1026
1030
|
case "sso":
|
|
1027
|
-
|
|
1031
|
+
r = R("StepSSOComponent");
|
|
1028
1032
|
break;
|
|
1029
1033
|
case "thirdPartyLoop":
|
|
1030
|
-
|
|
1034
|
+
r = R("StepThirdPartyLoopComponent");
|
|
1031
1035
|
break;
|
|
1032
1036
|
case "smsLoop":
|
|
1033
|
-
|
|
1037
|
+
r = R("StepSMSLoopComponent");
|
|
1034
1038
|
break;
|
|
1035
1039
|
case "emailLoop":
|
|
1036
|
-
|
|
1040
|
+
r = R("StepEmailLoopComponent");
|
|
1037
1041
|
break;
|
|
1038
1042
|
case "idCheckLoop":
|
|
1039
|
-
|
|
1043
|
+
r = R("StepIDCheckLoopComponent");
|
|
1040
1044
|
break;
|
|
1041
1045
|
case "collectIdentifier":
|
|
1042
|
-
|
|
1046
|
+
r = R("StepCollectIdentifierComponent");
|
|
1043
1047
|
break;
|
|
1044
1048
|
case "completeAuthentication":
|
|
1045
|
-
|
|
1049
|
+
r = R("StepCompleteAuthentication");
|
|
1046
1050
|
break;
|
|
1047
|
-
case "missingRequiredMetadata": return
|
|
1048
|
-
verificationService:
|
|
1051
|
+
case "missingRequiredMetadata": return r = R("StepErrorComponent"), /* @__PURE__ */ (0, F.jsx)(r, {
|
|
1052
|
+
verificationService: n,
|
|
1049
1053
|
errorId: "missingRequiredMetadata"
|
|
1050
1054
|
});
|
|
1051
|
-
case "missingRequiredExternalId": return
|
|
1052
|
-
verificationService:
|
|
1055
|
+
case "missingRequiredExternalId": return r = R("StepErrorComponent"), /* @__PURE__ */ (0, F.jsx)(r, {
|
|
1056
|
+
verificationService: n,
|
|
1053
1057
|
errorId: "missingRequiredExternalId"
|
|
1054
1058
|
});
|
|
1055
1059
|
case "error":
|
|
1056
|
-
|
|
1060
|
+
r = R("StepErrorComponent");
|
|
1057
1061
|
break;
|
|
1058
1062
|
case "cancelDocUpload":
|
|
1059
1063
|
case "cancelEmailLoop":
|
|
1060
1064
|
case "cancelSocialSecurityNumber":
|
|
1061
1065
|
case "docReviewLimitExceeded":
|
|
1062
|
-
case "emailLoopCollectOrganizationEmail": return
|
|
1063
|
-
verificationService:
|
|
1066
|
+
case "emailLoopCollectOrganizationEmail": return e.error("Attempted to load unexpected step", t), /* @__PURE__ */ (0, F.jsx)(rn, {
|
|
1067
|
+
verificationService: n,
|
|
1064
1068
|
errorId: "invalidStep"
|
|
1065
1069
|
});
|
|
1066
|
-
default: return
|
|
1067
|
-
verificationService:
|
|
1070
|
+
default: return e.error("Unable to load step", t), /* @__PURE__ */ (0, F.jsx)(rn, {
|
|
1071
|
+
verificationService: n,
|
|
1068
1072
|
errorId: "invalidStep"
|
|
1069
1073
|
});
|
|
1070
1074
|
}
|
|
1071
|
-
return /* @__PURE__ */ (0,
|
|
1072
|
-
fallback:
|
|
1073
|
-
children: /* @__PURE__ */ (0,
|
|
1075
|
+
return /* @__PURE__ */ (0, F.jsx)(P.Suspense, {
|
|
1076
|
+
fallback: on(),
|
|
1077
|
+
children: /* @__PURE__ */ (0, F.jsx)(r, { verificationService: n })
|
|
1074
1078
|
});
|
|
1075
|
-
},
|
|
1079
|
+
}, cn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, F.jsx)("span", {
|
|
1076
1080
|
dangerouslySetInnerHTML: e,
|
|
1077
1081
|
...t
|
|
1078
|
-
}) : /* @__PURE__ */ (0,
|
|
1082
|
+
}) : /* @__PURE__ */ (0, F.jsx)(P.Fragment, { ...t }), ln = ({ verificationService: e }) => e.programTheme?.isTestMode ? /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
1079
1083
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1080
1084
|
role: "note",
|
|
1081
|
-
children: ["Test Mode", /* @__PURE__ */ (0,
|
|
1085
|
+
children: ["Test Mode", /* @__PURE__ */ (0, F.jsx)(xe, {
|
|
1082
1086
|
className: "sid-test-mode-flag__link",
|
|
1083
1087
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1084
1088
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1085
1089
|
children: "(learn more)"
|
|
1086
1090
|
})]
|
|
1087
|
-
}) : null,
|
|
1091
|
+
}) : null, un = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, F.jsxs)("header", {
|
|
1088
1092
|
className: "sid-header",
|
|
1089
1093
|
children: [
|
|
1090
|
-
/* @__PURE__ */ (0,
|
|
1094
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
1091
1095
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1092
|
-
children: /* @__PURE__ */ (0,
|
|
1096
|
+
children: /* @__PURE__ */ (0, F.jsx)(at, {
|
|
1093
1097
|
verificationService: e,
|
|
1094
1098
|
fallbackLogo: r
|
|
1095
1099
|
})
|
|
1096
1100
|
}),
|
|
1097
|
-
/* @__PURE__ */ (0,
|
|
1101
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
1098
1102
|
className: `sid-header__title sid-l-horz-center ${i ? `sid-${i}-header` : ""}`,
|
|
1099
|
-
children: /* @__PURE__ */ (0,
|
|
1103
|
+
children: /* @__PURE__ */ (0, F.jsx)("h1", { children: t })
|
|
1100
1104
|
}),
|
|
1101
1105
|
n
|
|
1102
1106
|
]
|
|
1103
1107
|
});
|
|
1104
1108
|
typeof window < "u" && window.document && window.document.createElement;
|
|
1105
|
-
function
|
|
1109
|
+
function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1106
1110
|
return function(r) {
|
|
1107
1111
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
1108
1112
|
};
|
|
1109
1113
|
}
|
|
1110
1114
|
//#endregion
|
|
1111
1115
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1112
|
-
function
|
|
1116
|
+
function dn(e, t) {
|
|
1113
1117
|
if (typeof e == "function") return e(t);
|
|
1114
1118
|
e != null && (e.current = t);
|
|
1115
1119
|
}
|
|
1116
|
-
function
|
|
1120
|
+
function fn(...e) {
|
|
1117
1121
|
return (t) => {
|
|
1118
1122
|
let n = !1, r = e.map((e) => {
|
|
1119
|
-
let r =
|
|
1123
|
+
let r = dn(e, t);
|
|
1120
1124
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1121
1125
|
});
|
|
1122
1126
|
if (n) return () => {
|
|
1123
1127
|
for (let t = 0; t < r.length; t++) {
|
|
1124
1128
|
let n = r[t];
|
|
1125
|
-
typeof n == "function" ? n() :
|
|
1129
|
+
typeof n == "function" ? n() : dn(e[t], null);
|
|
1126
1130
|
}
|
|
1127
1131
|
};
|
|
1128
1132
|
};
|
|
1129
1133
|
}
|
|
1130
|
-
function
|
|
1131
|
-
return
|
|
1134
|
+
function B(...e) {
|
|
1135
|
+
return P.useCallback(fn(...e), e);
|
|
1132
1136
|
}
|
|
1133
1137
|
//#endregion
|
|
1134
1138
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1135
|
-
function
|
|
1139
|
+
function pn(e, t = []) {
|
|
1136
1140
|
let n = [];
|
|
1137
1141
|
function r(t, r) {
|
|
1138
|
-
let i =
|
|
1142
|
+
let i = P.createContext(r), a = n.length;
|
|
1139
1143
|
n = [...n, r];
|
|
1140
1144
|
let o = (t) => {
|
|
1141
|
-
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c =
|
|
1142
|
-
return /* @__PURE__ */ (0,
|
|
1145
|
+
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = P.useMemo(() => o, Object.values(o));
|
|
1146
|
+
return /* @__PURE__ */ (0, F.jsx)(s.Provider, {
|
|
1143
1147
|
value: c,
|
|
1144
1148
|
children: r
|
|
1145
1149
|
});
|
|
1146
1150
|
};
|
|
1147
1151
|
o.displayName = t + "Provider";
|
|
1148
1152
|
function s(n, o) {
|
|
1149
|
-
let s = o?.[e]?.[a] || i, c =
|
|
1153
|
+
let s = o?.[e]?.[a] || i, c = P.useContext(s);
|
|
1150
1154
|
if (c) return c;
|
|
1151
1155
|
if (r !== void 0) return r;
|
|
1152
1156
|
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
@@ -1154,18 +1158,18 @@ function fn(e, t = []) {
|
|
|
1154
1158
|
return [o, s];
|
|
1155
1159
|
}
|
|
1156
1160
|
let i = () => {
|
|
1157
|
-
let t = n.map((e) =>
|
|
1161
|
+
let t = n.map((e) => P.createContext(e));
|
|
1158
1162
|
return function(n) {
|
|
1159
1163
|
let r = n?.[e] || t;
|
|
1160
|
-
return
|
|
1164
|
+
return P.useMemo(() => ({ [`__scope${e}`]: {
|
|
1161
1165
|
...n,
|
|
1162
1166
|
[e]: r
|
|
1163
1167
|
} }), [n, r]);
|
|
1164
1168
|
};
|
|
1165
1169
|
};
|
|
1166
|
-
return i.scopeName = e, [r,
|
|
1170
|
+
return i.scopeName = e, [r, mn(i, ...t)];
|
|
1167
1171
|
}
|
|
1168
|
-
function
|
|
1172
|
+
function mn(...e) {
|
|
1169
1173
|
let t = e[0];
|
|
1170
1174
|
if (e.length === 1) return t;
|
|
1171
1175
|
let n = () => {
|
|
@@ -1181,7 +1185,7 @@ function pn(...e) {
|
|
|
1181
1185
|
...i
|
|
1182
1186
|
};
|
|
1183
1187
|
}, {});
|
|
1184
|
-
return
|
|
1188
|
+
return P.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
1185
1189
|
};
|
|
1186
1190
|
};
|
|
1187
1191
|
return n.scopeName = t.scopeName, n;
|
|
@@ -1189,18 +1193,18 @@ function pn(...e) {
|
|
|
1189
1193
|
//#endregion
|
|
1190
1194
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1191
1195
|
// @__NO_SIDE_EFFECTS__
|
|
1192
|
-
function
|
|
1193
|
-
let t = /* @__PURE__ */
|
|
1194
|
-
let { children: r, ...i } = e, a =
|
|
1196
|
+
function hn(e) {
|
|
1197
|
+
let t = /* @__PURE__ */ gn(e), n = P.forwardRef((e, n) => {
|
|
1198
|
+
let { children: r, ...i } = e, a = P.Children.toArray(r), o = a.find(vn);
|
|
1195
1199
|
if (o) {
|
|
1196
|
-
let e = o.props.children, r = a.map((t) => t === o ?
|
|
1197
|
-
return /* @__PURE__ */ (0,
|
|
1200
|
+
let e = o.props.children, r = a.map((t) => t === o ? P.Children.count(e) > 1 ? P.Children.only(null) : P.isValidElement(e) ? e.props.children : null : t);
|
|
1201
|
+
return /* @__PURE__ */ (0, F.jsx)(t, {
|
|
1198
1202
|
...i,
|
|
1199
1203
|
ref: n,
|
|
1200
|
-
children:
|
|
1204
|
+
children: P.isValidElement(e) ? P.cloneElement(e, void 0, r) : null
|
|
1201
1205
|
});
|
|
1202
1206
|
}
|
|
1203
|
-
return /* @__PURE__ */ (0,
|
|
1207
|
+
return /* @__PURE__ */ (0, F.jsx)(t, {
|
|
1204
1208
|
...i,
|
|
1205
1209
|
ref: n,
|
|
1206
1210
|
children: r
|
|
@@ -1209,22 +1213,22 @@ function mn(e) {
|
|
|
1209
1213
|
return n.displayName = `${e}.Slot`, n;
|
|
1210
1214
|
}
|
|
1211
1215
|
// @__NO_SIDE_EFFECTS__
|
|
1212
|
-
function
|
|
1213
|
-
let t =
|
|
1216
|
+
function gn(e) {
|
|
1217
|
+
let t = P.forwardRef((e, t) => {
|
|
1214
1218
|
let { children: n, ...r } = e;
|
|
1215
|
-
if (
|
|
1216
|
-
let e =
|
|
1217
|
-
return n.type !==
|
|
1219
|
+
if (P.isValidElement(n)) {
|
|
1220
|
+
let e = bn(n), i = yn(r, n.props);
|
|
1221
|
+
return n.type !== P.Fragment && (i.ref = t ? fn(t, e) : e), P.cloneElement(n, i);
|
|
1218
1222
|
}
|
|
1219
|
-
return
|
|
1223
|
+
return P.Children.count(n) > 1 ? P.Children.only(null) : null;
|
|
1220
1224
|
});
|
|
1221
1225
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1222
1226
|
}
|
|
1223
|
-
var
|
|
1224
|
-
function
|
|
1225
|
-
return
|
|
1227
|
+
var _n = Symbol("radix.slottable");
|
|
1228
|
+
function vn(e) {
|
|
1229
|
+
return P.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === _n;
|
|
1226
1230
|
}
|
|
1227
|
-
function
|
|
1231
|
+
function yn(e, t) {
|
|
1228
1232
|
let n = { ...t };
|
|
1229
1233
|
for (let r in t) {
|
|
1230
1234
|
let i = e[r], a = t[r];
|
|
@@ -1241,13 +1245,13 @@ function vn(e, t) {
|
|
|
1241
1245
|
...n
|
|
1242
1246
|
};
|
|
1243
1247
|
}
|
|
1244
|
-
function
|
|
1248
|
+
function bn(e) {
|
|
1245
1249
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1246
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);
|
|
1247
1251
|
}
|
|
1248
1252
|
//#endregion
|
|
1249
1253
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
1250
|
-
var
|
|
1254
|
+
var V = [
|
|
1251
1255
|
"a",
|
|
1252
1256
|
"button",
|
|
1253
1257
|
"div",
|
|
@@ -1266,9 +1270,9 @@ var H = [
|
|
|
1266
1270
|
"svg",
|
|
1267
1271
|
"ul"
|
|
1268
1272
|
].reduce((e, t) => {
|
|
1269
|
-
let n = /* @__PURE__ */
|
|
1273
|
+
let n = /* @__PURE__ */ hn(`Primitive.${t}`), r = P.forwardRef((e, r) => {
|
|
1270
1274
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1271
|
-
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, F.jsx)(o, {
|
|
1272
1276
|
...a,
|
|
1273
1277
|
ref: r
|
|
1274
1278
|
});
|
|
@@ -1278,22 +1282,22 @@ var H = [
|
|
|
1278
1282
|
[t]: r
|
|
1279
1283
|
};
|
|
1280
1284
|
}, {});
|
|
1281
|
-
function
|
|
1282
|
-
e &&
|
|
1285
|
+
function xn(e, t) {
|
|
1286
|
+
e && dt.flushSync(() => e.dispatchEvent(t));
|
|
1283
1287
|
}
|
|
1284
1288
|
//#endregion
|
|
1285
1289
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1286
|
-
function
|
|
1287
|
-
let t =
|
|
1288
|
-
return
|
|
1290
|
+
function Sn(e) {
|
|
1291
|
+
let t = P.useRef(e);
|
|
1292
|
+
return P.useEffect(() => {
|
|
1289
1293
|
t.current = e;
|
|
1290
|
-
}),
|
|
1294
|
+
}), P.useMemo(() => (...e) => t.current?.(...e), []);
|
|
1291
1295
|
}
|
|
1292
1296
|
//#endregion
|
|
1293
1297
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1294
|
-
function
|
|
1295
|
-
let n =
|
|
1296
|
-
|
|
1298
|
+
function Cn(e, t = globalThis?.document) {
|
|
1299
|
+
let n = Sn(e);
|
|
1300
|
+
P.useEffect(() => {
|
|
1297
1301
|
let e = (e) => {
|
|
1298
1302
|
e.key === "Escape" && n(e);
|
|
1299
1303
|
};
|
|
@@ -1302,67 +1306,67 @@ function Sn(e, t = globalThis?.document) {
|
|
|
1302
1306
|
}
|
|
1303
1307
|
//#endregion
|
|
1304
1308
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1305
|
-
var
|
|
1309
|
+
var wn = "DismissableLayer", Tn = "dismissableLayer.update", En = "dismissableLayer.pointerDownOutside", Dn = "dismissableLayer.focusOutside", On, kn = P.createContext({
|
|
1306
1310
|
layers: /* @__PURE__ */ new Set(),
|
|
1307
1311
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1308
1312
|
branches: /* @__PURE__ */ new Set()
|
|
1309
|
-
}),
|
|
1310
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l =
|
|
1313
|
+
}), An = P.forwardRef((e, t) => {
|
|
1314
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = P.useContext(kn), [u, d] = P.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = P.useState({}), m = B(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 = Nn((e) => {
|
|
1311
1315
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1312
1316
|
!b || n || (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1313
|
-
}, f), S =
|
|
1317
|
+
}, f), S = Pn((e) => {
|
|
1314
1318
|
let t = e.target;
|
|
1315
1319
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1316
1320
|
}, f);
|
|
1317
|
-
return
|
|
1321
|
+
return Cn((e) => {
|
|
1318
1322
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1319
|
-
}, f),
|
|
1320
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1321
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1323
|
+
}, f), P.useEffect(() => {
|
|
1324
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (On = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Fn(), () => {
|
|
1325
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = On);
|
|
1322
1326
|
};
|
|
1323
1327
|
}, [
|
|
1324
1328
|
u,
|
|
1325
1329
|
f,
|
|
1326
1330
|
n,
|
|
1327
1331
|
l
|
|
1328
|
-
]),
|
|
1329
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1330
|
-
}, [u, l]),
|
|
1332
|
+
]), P.useEffect(() => () => {
|
|
1333
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Fn());
|
|
1334
|
+
}, [u, l]), P.useEffect(() => {
|
|
1331
1335
|
let e = () => p({});
|
|
1332
|
-
return document.addEventListener(
|
|
1333
|
-
}, []), /* @__PURE__ */ (0,
|
|
1336
|
+
return document.addEventListener(Tn, e), () => document.removeEventListener(Tn, e);
|
|
1337
|
+
}, []), /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
1334
1338
|
...c,
|
|
1335
1339
|
ref: m,
|
|
1336
1340
|
style: {
|
|
1337
1341
|
pointerEvents: y ? b ? "auto" : "none" : void 0,
|
|
1338
1342
|
...e.style
|
|
1339
1343
|
},
|
|
1340
|
-
onFocusCapture:
|
|
1341
|
-
onBlurCapture:
|
|
1342
|
-
onPointerDownCapture:
|
|
1344
|
+
onFocusCapture: z(e.onFocusCapture, S.onFocusCapture),
|
|
1345
|
+
onBlurCapture: z(e.onBlurCapture, S.onBlurCapture),
|
|
1346
|
+
onPointerDownCapture: z(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1343
1347
|
});
|
|
1344
1348
|
});
|
|
1345
|
-
|
|
1346
|
-
var
|
|
1347
|
-
let n =
|
|
1348
|
-
return
|
|
1349
|
+
An.displayName = wn;
|
|
1350
|
+
var jn = "DismissableLayerBranch", Mn = P.forwardRef((e, t) => {
|
|
1351
|
+
let n = P.useContext(kn), r = P.useRef(null), i = B(t, r);
|
|
1352
|
+
return P.useEffect(() => {
|
|
1349
1353
|
let e = r.current;
|
|
1350
1354
|
if (e) return n.branches.add(e), () => {
|
|
1351
1355
|
n.branches.delete(e);
|
|
1352
1356
|
};
|
|
1353
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
1357
|
+
}, [n.branches]), /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
1354
1358
|
...e,
|
|
1355
1359
|
ref: i
|
|
1356
1360
|
});
|
|
1357
1361
|
});
|
|
1358
|
-
|
|
1359
|
-
function
|
|
1360
|
-
let n =
|
|
1361
|
-
return
|
|
1362
|
+
Mn.displayName = jn;
|
|
1363
|
+
function Nn(e, t = globalThis?.document) {
|
|
1364
|
+
let n = Sn(e), r = P.useRef(!1), i = P.useRef(() => {});
|
|
1365
|
+
return P.useEffect(() => {
|
|
1362
1366
|
let e = (e) => {
|
|
1363
1367
|
if (e.target && !r.current) {
|
|
1364
1368
|
let r = function() {
|
|
1365
|
-
|
|
1369
|
+
In(En, n, a, { discrete: !0 });
|
|
1366
1370
|
}, a = { originalEvent: e };
|
|
1367
1371
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1368
1372
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1375,11 +1379,11 @@ function Mn(e, t = globalThis?.document) {
|
|
|
1375
1379
|
};
|
|
1376
1380
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1377
1381
|
}
|
|
1378
|
-
function
|
|
1379
|
-
let n =
|
|
1380
|
-
return
|
|
1382
|
+
function Pn(e, t = globalThis?.document) {
|
|
1383
|
+
let n = Sn(e), r = P.useRef(!1);
|
|
1384
|
+
return P.useEffect(() => {
|
|
1381
1385
|
let e = (e) => {
|
|
1382
|
-
e.target && !r.current &&
|
|
1386
|
+
e.target && !r.current && In(Dn, n, { originalEvent: e }, { discrete: !1 });
|
|
1383
1387
|
};
|
|
1384
1388
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1385
1389
|
}, [t, n]), {
|
|
@@ -1387,40 +1391,40 @@ function Nn(e, t = globalThis?.document) {
|
|
|
1387
1391
|
onBlurCapture: () => r.current = !1
|
|
1388
1392
|
};
|
|
1389
1393
|
}
|
|
1390
|
-
function
|
|
1391
|
-
let e = new CustomEvent(
|
|
1394
|
+
function Fn() {
|
|
1395
|
+
let e = new CustomEvent(Tn);
|
|
1392
1396
|
document.dispatchEvent(e);
|
|
1393
1397
|
}
|
|
1394
|
-
function
|
|
1398
|
+
function In(e, t, n, { discrete: r }) {
|
|
1395
1399
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1396
1400
|
bubbles: !1,
|
|
1397
1401
|
cancelable: !0,
|
|
1398
1402
|
detail: n
|
|
1399
1403
|
});
|
|
1400
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1404
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? xn(i, a) : i.dispatchEvent(a);
|
|
1401
1405
|
}
|
|
1402
1406
|
//#endregion
|
|
1403
1407
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1404
|
-
var
|
|
1405
|
-
function
|
|
1406
|
-
|
|
1408
|
+
var Ln = 0;
|
|
1409
|
+
function Rn() {
|
|
1410
|
+
P.useEffect(() => {
|
|
1407
1411
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1408
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1409
|
-
|
|
1412
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? zn()), document.body.insertAdjacentElement("beforeend", e[1] ?? zn()), Ln++, () => {
|
|
1413
|
+
Ln === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Ln--;
|
|
1410
1414
|
};
|
|
1411
1415
|
}, []);
|
|
1412
1416
|
}
|
|
1413
|
-
function
|
|
1417
|
+
function zn() {
|
|
1414
1418
|
let e = document.createElement("span");
|
|
1415
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;
|
|
1416
1420
|
}
|
|
1417
1421
|
//#endregion
|
|
1418
1422
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1419
|
-
var
|
|
1423
|
+
var Bn = "focusScope.autoFocusOnMount", Vn = "focusScope.autoFocusOnUnmount", Hn = {
|
|
1420
1424
|
bubbles: !1,
|
|
1421
1425
|
cancelable: !0
|
|
1422
|
-
},
|
|
1423
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] =
|
|
1426
|
+
}, Un = "FocusScope", Wn = P.forwardRef((e, t) => {
|
|
1427
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = P.useState(null), l = Sn(i), u = Sn(a), d = P.useRef(null), f = B(t, (e) => c(e)), p = P.useRef({
|
|
1424
1428
|
paused: !1,
|
|
1425
1429
|
pause() {
|
|
1426
1430
|
this.paused = !0;
|
|
@@ -1429,18 +1433,18 @@ var zn = "focusScope.autoFocusOnMount", Bn = "focusScope.autoFocusOnUnmount", Vn
|
|
|
1429
1433
|
this.paused = !1;
|
|
1430
1434
|
}
|
|
1431
1435
|
}).current;
|
|
1432
|
-
|
|
1436
|
+
P.useEffect(() => {
|
|
1433
1437
|
if (r) {
|
|
1434
1438
|
let e = function(e) {
|
|
1435
1439
|
if (p.paused || !s) return;
|
|
1436
1440
|
let t = e.target;
|
|
1437
|
-
s.contains(t) ? d.current = t :
|
|
1441
|
+
s.contains(t) ? d.current = t : Zn(d.current, { select: !0 });
|
|
1438
1442
|
}, t = function(e) {
|
|
1439
1443
|
if (p.paused || !s) return;
|
|
1440
1444
|
let t = e.relatedTarget;
|
|
1441
|
-
t !== null && (s.contains(t) ||
|
|
1445
|
+
t !== null && (s.contains(t) || Zn(d.current, { select: !0 }));
|
|
1442
1446
|
}, n = function(e) {
|
|
1443
|
-
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 && Zn(s);
|
|
1444
1448
|
};
|
|
1445
1449
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1446
1450
|
let r = new MutationObserver(n);
|
|
@@ -1455,18 +1459,18 @@ var zn = "focusScope.autoFocusOnMount", Bn = "focusScope.autoFocusOnUnmount", Vn
|
|
|
1455
1459
|
r,
|
|
1456
1460
|
s,
|
|
1457
1461
|
p.paused
|
|
1458
|
-
]),
|
|
1462
|
+
]), P.useEffect(() => {
|
|
1459
1463
|
if (s) {
|
|
1460
|
-
|
|
1464
|
+
Qn.add(p);
|
|
1461
1465
|
let e = document.activeElement;
|
|
1462
1466
|
if (!s.contains(e)) {
|
|
1463
|
-
let t = new CustomEvent(
|
|
1464
|
-
s.addEventListener(
|
|
1467
|
+
let t = new CustomEvent(Bn, Hn);
|
|
1468
|
+
s.addEventListener(Bn, l), s.dispatchEvent(t), t.defaultPrevented || (Gn(tr(qn(s)), { select: !0 }), document.activeElement === e && Zn(s));
|
|
1465
1469
|
}
|
|
1466
1470
|
return () => {
|
|
1467
|
-
s.removeEventListener(
|
|
1468
|
-
let t = new CustomEvent(
|
|
1469
|
-
s.addEventListener(
|
|
1471
|
+
s.removeEventListener(Bn, l), setTimeout(() => {
|
|
1472
|
+
let t = new CustomEvent(Vn, Hn);
|
|
1473
|
+
s.addEventListener(Vn, u), s.dispatchEvent(t), t.defaultPrevented || Zn(e ?? document.body, { select: !0 }), s.removeEventListener(Vn, u), Qn.remove(p);
|
|
1470
1474
|
}, 0);
|
|
1471
1475
|
};
|
|
1472
1476
|
}
|
|
@@ -1476,35 +1480,35 @@ var zn = "focusScope.autoFocusOnMount", Bn = "focusScope.autoFocusOnUnmount", Vn
|
|
|
1476
1480
|
u,
|
|
1477
1481
|
p
|
|
1478
1482
|
]);
|
|
1479
|
-
let m =
|
|
1483
|
+
let m = P.useCallback((e) => {
|
|
1480
1484
|
if (!n && !r || p.paused) return;
|
|
1481
1485
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1482
1486
|
if (t && i) {
|
|
1483
|
-
let t = e.currentTarget, [r, a] =
|
|
1484
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1487
|
+
let t = e.currentTarget, [r, a] = Kn(t);
|
|
1488
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && Zn(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && Zn(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1485
1489
|
}
|
|
1486
1490
|
}, [
|
|
1487
1491
|
n,
|
|
1488
1492
|
r,
|
|
1489
1493
|
p.paused
|
|
1490
1494
|
]);
|
|
1491
|
-
return /* @__PURE__ */ (0,
|
|
1495
|
+
return /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
1492
1496
|
tabIndex: -1,
|
|
1493
1497
|
...o,
|
|
1494
1498
|
ref: f,
|
|
1495
1499
|
onKeyDown: m
|
|
1496
1500
|
});
|
|
1497
1501
|
});
|
|
1498
|
-
|
|
1499
|
-
function
|
|
1502
|
+
Wn.displayName = Un;
|
|
1503
|
+
function Gn(e, { select: t = !1 } = {}) {
|
|
1500
1504
|
let n = document.activeElement;
|
|
1501
|
-
for (let r of e) if (
|
|
1502
|
-
}
|
|
1503
|
-
function Gn(e) {
|
|
1504
|
-
let t = Kn(e);
|
|
1505
|
-
return [qn(t, e), qn(t.reverse(), e)];
|
|
1505
|
+
for (let r of e) if (Zn(r, { select: t }), document.activeElement !== n) return;
|
|
1506
1506
|
}
|
|
1507
1507
|
function Kn(e) {
|
|
1508
|
+
let t = qn(e);
|
|
1509
|
+
return [Jn(t, e), Jn(t.reverse(), e)];
|
|
1510
|
+
}
|
|
1511
|
+
function qn(e) {
|
|
1508
1512
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1509
1513
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1510
1514
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1512,10 +1516,10 @@ function Kn(e) {
|
|
|
1512
1516
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1513
1517
|
return t;
|
|
1514
1518
|
}
|
|
1515
|
-
function
|
|
1516
|
-
for (let n of e) if (!
|
|
1519
|
+
function Jn(e, t) {
|
|
1520
|
+
for (let n of e) if (!Yn(n, { upTo: t })) return n;
|
|
1517
1521
|
}
|
|
1518
|
-
function
|
|
1522
|
+
function Yn(e, { upTo: t }) {
|
|
1519
1523
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1520
1524
|
for (; e;) {
|
|
1521
1525
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1524,41 +1528,41 @@ function Jn(e, { upTo: t }) {
|
|
|
1524
1528
|
}
|
|
1525
1529
|
return !1;
|
|
1526
1530
|
}
|
|
1527
|
-
function
|
|
1531
|
+
function Xn(e) {
|
|
1528
1532
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1529
1533
|
}
|
|
1530
|
-
function
|
|
1534
|
+
function Zn(e, { select: t = !1 } = {}) {
|
|
1531
1535
|
if (e && e.focus) {
|
|
1532
1536
|
let n = document.activeElement;
|
|
1533
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1537
|
+
e.focus({ preventScroll: !0 }), e !== n && Xn(e) && t && e.select();
|
|
1534
1538
|
}
|
|
1535
1539
|
}
|
|
1536
|
-
var
|
|
1537
|
-
function
|
|
1540
|
+
var Qn = $n();
|
|
1541
|
+
function $n() {
|
|
1538
1542
|
let e = [];
|
|
1539
1543
|
return {
|
|
1540
1544
|
add(t) {
|
|
1541
1545
|
let n = e[0];
|
|
1542
|
-
t !== n && n?.pause(), e =
|
|
1546
|
+
t !== n && n?.pause(), e = er(e, t), e.unshift(t);
|
|
1543
1547
|
},
|
|
1544
1548
|
remove(t) {
|
|
1545
|
-
e =
|
|
1549
|
+
e = er(e, t), e[0]?.resume();
|
|
1546
1550
|
}
|
|
1547
1551
|
};
|
|
1548
1552
|
}
|
|
1549
|
-
function
|
|
1553
|
+
function er(e, t) {
|
|
1550
1554
|
let n = [...e], r = n.indexOf(t);
|
|
1551
1555
|
return r !== -1 && n.splice(r, 1), n;
|
|
1552
1556
|
}
|
|
1553
|
-
function
|
|
1557
|
+
function tr(e) {
|
|
1554
1558
|
return e.filter((e) => e.tagName !== "A");
|
|
1555
1559
|
}
|
|
1556
1560
|
//#endregion
|
|
1557
1561
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1558
|
-
var
|
|
1562
|
+
var H = globalThis?.document ? P.useLayoutEffect : () => {}, nr = P.useId || (() => void 0), rr = 0;
|
|
1559
1563
|
function ir(e) {
|
|
1560
|
-
let [t, n] =
|
|
1561
|
-
return
|
|
1564
|
+
let [t, n] = P.useState(nr());
|
|
1565
|
+
return H(() => {
|
|
1562
1566
|
e || n((e) => e ?? String(rr++));
|
|
1563
1567
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1564
1568
|
}
|
|
@@ -1792,15 +1796,15 @@ var Ar = 50, jr = async (e, t, n) => {
|
|
|
1792
1796
|
y: r
|
|
1793
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;
|
|
1794
1798
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1795
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1,
|
|
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, ne = ur(E, O, D), k = !c.arrow && dr(i) != null && O !== ne && a.reference[m] / 2 - (O < E ? ee : te) - h[m] / 2 < 0, A = k ? O < E ? O - E : O - D : 0;
|
|
1796
1800
|
return {
|
|
1797
|
-
[p]: f[p] +
|
|
1801
|
+
[p]: f[p] + A,
|
|
1798
1802
|
data: {
|
|
1799
|
-
[p]:
|
|
1800
|
-
centerOffset:
|
|
1801
|
-
...
|
|
1803
|
+
[p]: ne,
|
|
1804
|
+
centerOffset: O - ne - A,
|
|
1805
|
+
...k && { alignmentOffset: A }
|
|
1802
1806
|
},
|
|
1803
|
-
reset:
|
|
1807
|
+
reset: k
|
|
1804
1808
|
};
|
|
1805
1809
|
}
|
|
1806
1810
|
}), Nr = function(e) {
|
|
@@ -2443,7 +2447,7 @@ var zi = zr, Bi = Br, Vi = Nr, Hi = Hr, Ui = Ir, Wi = Mr, Gi = Vr, Ki = (e, t, n
|
|
|
2443
2447
|
...i,
|
|
2444
2448
|
platform: a
|
|
2445
2449
|
});
|
|
2446
|
-
}, qi = typeof document < "u" ?
|
|
2450
|
+
}, qi = typeof document < "u" ? P.useLayoutEffect : function() {};
|
|
2447
2451
|
function Ji(e, t) {
|
|
2448
2452
|
if (e === t) return !0;
|
|
2449
2453
|
if (typeof e != typeof t) return !1;
|
|
@@ -2473,39 +2477,39 @@ function Xi(e, t) {
|
|
|
2473
2477
|
return Math.round(t * n) / n;
|
|
2474
2478
|
}
|
|
2475
2479
|
function Zi(e) {
|
|
2476
|
-
let t =
|
|
2480
|
+
let t = P.useRef(e);
|
|
2477
2481
|
return qi(() => {
|
|
2478
2482
|
t.current = e;
|
|
2479
2483
|
}), t;
|
|
2480
2484
|
}
|
|
2481
2485
|
function Qi(e) {
|
|
2482
2486
|
e === void 0 && (e = {});
|
|
2483
|
-
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] = P.useState({
|
|
2484
2488
|
x: 0,
|
|
2485
2489
|
y: 0,
|
|
2486
2490
|
strategy: n,
|
|
2487
2491
|
placement: t,
|
|
2488
2492
|
middlewareData: {},
|
|
2489
2493
|
isPositioned: !1
|
|
2490
|
-
}), [f, p] =
|
|
2494
|
+
}), [f, p] = P.useState(r);
|
|
2491
2495
|
Ji(f, r) || p(r);
|
|
2492
|
-
let [m, h] =
|
|
2496
|
+
let [m, h] = P.useState(null), [g, _] = P.useState(null), v = P.useCallback((e) => {
|
|
2493
2497
|
e !== S.current && (S.current = e, h(e));
|
|
2494
|
-
}, []), y =
|
|
2498
|
+
}, []), y = P.useCallback((e) => {
|
|
2495
2499
|
e !== C.current && (C.current = e, _(e));
|
|
2496
|
-
}, []), b = a || m, x = o || g, S =
|
|
2500
|
+
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null, ee = Zi(c), te = Zi(i), E = Zi(l), D = P.useCallback(() => {
|
|
2497
2501
|
if (!S.current || !C.current) return;
|
|
2498
2502
|
let e = {
|
|
2499
2503
|
placement: t,
|
|
2500
2504
|
strategy: n,
|
|
2501
2505
|
middleware: f
|
|
2502
2506
|
};
|
|
2503
|
-
|
|
2507
|
+
te.current && (e.platform = te.current), Ki(S.current, C.current, e).then((e) => {
|
|
2504
2508
|
let t = {
|
|
2505
2509
|
...e,
|
|
2506
|
-
isPositioned:
|
|
2510
|
+
isPositioned: E.current !== !1
|
|
2507
2511
|
};
|
|
2508
|
-
|
|
2512
|
+
O.current && !Ji(w.current, t) && (w.current = t, dt.flushSync(() => {
|
|
2509
2513
|
d(t);
|
|
2510
2514
|
}));
|
|
2511
2515
|
});
|
|
@@ -2513,8 +2517,8 @@ function Qi(e) {
|
|
|
2513
2517
|
f,
|
|
2514
2518
|
t,
|
|
2515
2519
|
n,
|
|
2516
|
-
|
|
2517
|
-
|
|
2520
|
+
te,
|
|
2521
|
+
E
|
|
2518
2522
|
]);
|
|
2519
2523
|
qi(() => {
|
|
2520
2524
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
@@ -2522,41 +2526,41 @@ function Qi(e) {
|
|
|
2522
2526
|
isPositioned: !1
|
|
2523
2527
|
})));
|
|
2524
2528
|
}, [l]);
|
|
2525
|
-
let
|
|
2526
|
-
qi(() => (
|
|
2527
|
-
|
|
2529
|
+
let O = P.useRef(!1);
|
|
2530
|
+
qi(() => (O.current = !0, () => {
|
|
2531
|
+
O.current = !1;
|
|
2528
2532
|
}), []), qi(() => {
|
|
2529
2533
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2530
|
-
if (
|
|
2531
|
-
|
|
2534
|
+
if (ee.current) return ee.current(b, x, D);
|
|
2535
|
+
D();
|
|
2532
2536
|
}
|
|
2533
2537
|
}, [
|
|
2534
2538
|
b,
|
|
2535
2539
|
x,
|
|
2536
|
-
|
|
2537
|
-
|
|
2540
|
+
D,
|
|
2541
|
+
ee,
|
|
2538
2542
|
T
|
|
2539
2543
|
]);
|
|
2540
|
-
let
|
|
2544
|
+
let ne = P.useMemo(() => ({
|
|
2541
2545
|
reference: S,
|
|
2542
2546
|
floating: C,
|
|
2543
2547
|
setReference: v,
|
|
2544
2548
|
setFloating: y
|
|
2545
|
-
}), [v, y]),
|
|
2549
|
+
}), [v, y]), k = P.useMemo(() => ({
|
|
2546
2550
|
reference: b,
|
|
2547
2551
|
floating: x
|
|
2548
|
-
}), [b, x]),
|
|
2552
|
+
}), [b, x]), A = P.useMemo(() => {
|
|
2549
2553
|
let e = {
|
|
2550
2554
|
position: n,
|
|
2551
2555
|
left: 0,
|
|
2552
2556
|
top: 0
|
|
2553
2557
|
};
|
|
2554
|
-
if (!
|
|
2555
|
-
let t = Xi(
|
|
2558
|
+
if (!k.floating) return e;
|
|
2559
|
+
let t = Xi(k.floating, u.x), r = Xi(k.floating, u.y);
|
|
2556
2560
|
return s ? {
|
|
2557
2561
|
...e,
|
|
2558
2562
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2559
|
-
...Yi(
|
|
2563
|
+
...Yi(k.floating) >= 1.5 && { willChange: "transform" }
|
|
2560
2564
|
} : {
|
|
2561
2565
|
position: n,
|
|
2562
2566
|
left: t,
|
|
@@ -2565,22 +2569,22 @@ function Qi(e) {
|
|
|
2565
2569
|
}, [
|
|
2566
2570
|
n,
|
|
2567
2571
|
s,
|
|
2568
|
-
|
|
2572
|
+
k.floating,
|
|
2569
2573
|
u.x,
|
|
2570
2574
|
u.y
|
|
2571
2575
|
]);
|
|
2572
|
-
return
|
|
2576
|
+
return P.useMemo(() => ({
|
|
2573
2577
|
...u,
|
|
2574
|
-
update:
|
|
2575
|
-
refs:
|
|
2576
|
-
elements:
|
|
2577
|
-
floatingStyles:
|
|
2578
|
+
update: D,
|
|
2579
|
+
refs: ne,
|
|
2580
|
+
elements: k,
|
|
2581
|
+
floatingStyles: A
|
|
2578
2582
|
}), [
|
|
2579
2583
|
u,
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
+
D,
|
|
2585
|
+
ne,
|
|
2586
|
+
k,
|
|
2587
|
+
A
|
|
2584
2588
|
]);
|
|
2585
2589
|
}
|
|
2586
2590
|
var $i = (e) => {
|
|
@@ -2646,16 +2650,16 @@ var $i = (e) => {
|
|
|
2646
2650
|
fn: n.fn,
|
|
2647
2651
|
options: [e, t]
|
|
2648
2652
|
};
|
|
2649
|
-
}, sa = "Arrow", ca =
|
|
2653
|
+
}, sa = "Arrow", ca = P.forwardRef((e, t) => {
|
|
2650
2654
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2651
|
-
return /* @__PURE__ */ (0,
|
|
2655
|
+
return /* @__PURE__ */ (0, F.jsx)(V.svg, {
|
|
2652
2656
|
...a,
|
|
2653
2657
|
ref: t,
|
|
2654
2658
|
width: r,
|
|
2655
2659
|
height: i,
|
|
2656
2660
|
viewBox: "0 0 30 10",
|
|
2657
2661
|
preserveAspectRatio: "none",
|
|
2658
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
2662
|
+
children: e.asChild ? n : /* @__PURE__ */ (0, F.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2659
2663
|
});
|
|
2660
2664
|
});
|
|
2661
2665
|
ca.displayName = sa;
|
|
@@ -2663,8 +2667,8 @@ var la = ca;
|
|
|
2663
2667
|
//#endregion
|
|
2664
2668
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2665
2669
|
function ua(e) {
|
|
2666
|
-
let [t, n] =
|
|
2667
|
-
return
|
|
2670
|
+
let [t, n] = P.useState(void 0);
|
|
2671
|
+
return H(() => {
|
|
2668
2672
|
if (e) {
|
|
2669
2673
|
n({
|
|
2670
2674
|
width: e.offsetWidth,
|
|
@@ -2688,9 +2692,9 @@ function ua(e) {
|
|
|
2688
2692
|
}
|
|
2689
2693
|
//#endregion
|
|
2690
2694
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2691
|
-
var da = "Popper", [fa, pa] =
|
|
2692
|
-
let { __scopePopper: t, children: n } = e, [r, i] =
|
|
2693
|
-
return /* @__PURE__ */ (0,
|
|
2695
|
+
var da = "Popper", [fa, pa] = pn(da), [ma, ha] = fa(da), ga = (e) => {
|
|
2696
|
+
let { __scopePopper: t, children: n } = e, [r, i] = P.useState(null);
|
|
2697
|
+
return /* @__PURE__ */ (0, F.jsx)(ma, {
|
|
2694
2698
|
scope: t,
|
|
2695
2699
|
anchor: r,
|
|
2696
2700
|
onAnchorChange: i,
|
|
@@ -2698,29 +2702,29 @@ var da = "Popper", [fa, pa] = fn(da), [ma, ha] = fa(da), ga = (e) => {
|
|
|
2698
2702
|
});
|
|
2699
2703
|
};
|
|
2700
2704
|
ga.displayName = da;
|
|
2701
|
-
var _a = "PopperAnchor", va =
|
|
2702
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a = ha(_a, n), o =
|
|
2703
|
-
return
|
|
2705
|
+
var _a = "PopperAnchor", va = P.forwardRef((e, t) => {
|
|
2706
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = ha(_a, n), o = P.useRef(null), s = B(t, o), c = P.useRef(null);
|
|
2707
|
+
return P.useEffect(() => {
|
|
2704
2708
|
let e = c.current;
|
|
2705
2709
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
2706
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
2710
|
+
}), r ? null : /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2707
2711
|
...i,
|
|
2708
2712
|
ref: s
|
|
2709
2713
|
});
|
|
2710
2714
|
});
|
|
2711
2715
|
va.displayName = _a;
|
|
2712
|
-
var ya = "PopperContent", [ba, xa] = fa(ya), Sa =
|
|
2713
|
-
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 = P.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] = P.useState(null), y = B(t, (e) => v(e)), [b, x] = P.useState(null), S = ua(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2714
2718
|
top: 0,
|
|
2715
2719
|
right: 0,
|
|
2716
2720
|
bottom: 0,
|
|
2717
2721
|
left: 0,
|
|
2718
2722
|
...u
|
|
2719
|
-
},
|
|
2720
|
-
padding:
|
|
2721
|
-
boundary:
|
|
2722
|
-
altBoundary:
|
|
2723
|
-
}, { refs:
|
|
2723
|
+
}, te = Array.isArray(l) ? l : [l], E = te.length > 0, D = {
|
|
2724
|
+
padding: ee,
|
|
2725
|
+
boundary: te.filter(Ea),
|
|
2726
|
+
altBoundary: E
|
|
2727
|
+
}, { refs: O, floatingStyles: ne, placement: k, isPositioned: A, middlewareData: j } = Qi({
|
|
2724
2728
|
strategy: "fixed",
|
|
2725
2729
|
placement: T,
|
|
2726
2730
|
whileElementsMounted: (...e) => Ri(...e, { animationFrame: p === "always" }),
|
|
@@ -2734,11 +2738,11 @@ var ya = "PopperContent", [ba, xa] = fa(ya), Sa = F.forwardRef((e, t) => {
|
|
|
2734
2738
|
mainAxis: !0,
|
|
2735
2739
|
crossAxis: !1,
|
|
2736
2740
|
limiter: d === "partial" ? na() : void 0,
|
|
2737
|
-
...
|
|
2741
|
+
...D
|
|
2738
2742
|
}),
|
|
2739
|
-
c && ra({ ...
|
|
2743
|
+
c && ra({ ...D }),
|
|
2740
2744
|
ia({
|
|
2741
|
-
...
|
|
2745
|
+
...D,
|
|
2742
2746
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2743
2747
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2744
2748
|
o.setProperty("--radix-popper-available-width", `${n}px`), o.setProperty("--radix-popper-available-height", `${r}px`), o.setProperty("--radix-popper-anchor-width", `${i}px`), o.setProperty("--radix-popper-anchor-height", `${a}px`);
|
|
@@ -2754,46 +2758,46 @@ var ya = "PopperContent", [ba, xa] = fa(ya), Sa = F.forwardRef((e, t) => {
|
|
|
2754
2758
|
}),
|
|
2755
2759
|
f && aa({
|
|
2756
2760
|
strategy: "referenceHidden",
|
|
2757
|
-
...
|
|
2761
|
+
...D
|
|
2758
2762
|
})
|
|
2759
2763
|
]
|
|
2760
|
-
}), [
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
}, [
|
|
2764
|
-
let
|
|
2765
|
-
return
|
|
2766
|
-
_ &&
|
|
2767
|
-
}, [_]), /* @__PURE__ */ (0,
|
|
2768
|
-
ref:
|
|
2764
|
+
}), [re, ie] = Oa(k), ae = Sn(m);
|
|
2765
|
+
H(() => {
|
|
2766
|
+
A && ae?.();
|
|
2767
|
+
}, [A, ae]);
|
|
2768
|
+
let M = j.arrow?.x, oe = j.arrow?.y, se = j.arrow?.centerOffset !== 0, [ce, le] = P.useState();
|
|
2769
|
+
return H(() => {
|
|
2770
|
+
_ && le(window.getComputedStyle(_).zIndex);
|
|
2771
|
+
}, [_]), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
2772
|
+
ref: O.setFloating,
|
|
2769
2773
|
"data-radix-popper-content-wrapper": "",
|
|
2770
2774
|
style: {
|
|
2771
|
-
...
|
|
2772
|
-
transform:
|
|
2775
|
+
...ne,
|
|
2776
|
+
transform: A ? ne.transform : "translate(0, -200%)",
|
|
2773
2777
|
minWidth: "max-content",
|
|
2774
|
-
zIndex:
|
|
2775
|
-
"--radix-popper-transform-origin": [
|
|
2776
|
-
...
|
|
2778
|
+
zIndex: ce,
|
|
2779
|
+
"--radix-popper-transform-origin": [j.transformOrigin?.x, j.transformOrigin?.y].join(" "),
|
|
2780
|
+
...j.hide?.referenceHidden && {
|
|
2777
2781
|
visibility: "hidden",
|
|
2778
2782
|
pointerEvents: "none"
|
|
2779
2783
|
}
|
|
2780
2784
|
},
|
|
2781
2785
|
dir: e.dir,
|
|
2782
|
-
children: /* @__PURE__ */ (0,
|
|
2786
|
+
children: /* @__PURE__ */ (0, F.jsx)(ba, {
|
|
2783
2787
|
scope: n,
|
|
2784
|
-
placedSide:
|
|
2788
|
+
placedSide: re,
|
|
2785
2789
|
onArrowChange: x,
|
|
2786
|
-
arrowX:
|
|
2787
|
-
arrowY:
|
|
2788
|
-
shouldHideArrow:
|
|
2789
|
-
children: /* @__PURE__ */ (0,
|
|
2790
|
-
"data-side":
|
|
2791
|
-
"data-align":
|
|
2790
|
+
arrowX: M,
|
|
2791
|
+
arrowY: oe,
|
|
2792
|
+
shouldHideArrow: se,
|
|
2793
|
+
children: /* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2794
|
+
"data-side": re,
|
|
2795
|
+
"data-align": ie,
|
|
2792
2796
|
...h,
|
|
2793
2797
|
ref: y,
|
|
2794
2798
|
style: {
|
|
2795
2799
|
...h.style,
|
|
2796
|
-
animation:
|
|
2800
|
+
animation: A ? void 0 : "none"
|
|
2797
2801
|
}
|
|
2798
2802
|
})
|
|
2799
2803
|
})
|
|
@@ -2805,9 +2809,9 @@ var Ca = "PopperArrow", wa = {
|
|
|
2805
2809
|
right: "left",
|
|
2806
2810
|
bottom: "top",
|
|
2807
2811
|
left: "right"
|
|
2808
|
-
}, Ta =
|
|
2812
|
+
}, Ta = P.forwardRef(function(e, t) {
|
|
2809
2813
|
let { __scopePopper: n, ...r } = e, i = xa(Ca, n), a = wa[i.placedSide];
|
|
2810
|
-
return /* @__PURE__ */ (0,
|
|
2814
|
+
return /* @__PURE__ */ (0, F.jsx)("span", {
|
|
2811
2815
|
ref: i.onArrowChange,
|
|
2812
2816
|
style: {
|
|
2813
2817
|
position: "absolute",
|
|
@@ -2828,7 +2832,7 @@ var Ca = "PopperArrow", wa = {
|
|
|
2828
2832
|
}[i.placedSide],
|
|
2829
2833
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2830
2834
|
},
|
|
2831
|
-
children: /* @__PURE__ */ (0,
|
|
2835
|
+
children: /* @__PURE__ */ (0, F.jsx)(la, {
|
|
2832
2836
|
...r,
|
|
2833
2837
|
ref: t,
|
|
2834
2838
|
style: {
|
|
@@ -2861,11 +2865,11 @@ function Oa(e) {
|
|
|
2861
2865
|
let [t, n = "center"] = e.split("-");
|
|
2862
2866
|
return [t, n];
|
|
2863
2867
|
}
|
|
2864
|
-
var ka = ga, Aa = va, ja = Sa, Ma = Ta, Na = "Portal", Pa =
|
|
2865
|
-
let { container: n, ...r } = e, [i, a] =
|
|
2866
|
-
|
|
2868
|
+
var ka = ga, Aa = va, ja = Sa, Ma = Ta, Na = "Portal", Pa = P.forwardRef((e, t) => {
|
|
2869
|
+
let { container: n, ...r } = e, [i, a] = P.useState(!1);
|
|
2870
|
+
H(() => a(!0), []);
|
|
2867
2871
|
let o = n || i && globalThis?.document?.body;
|
|
2868
|
-
return o ?
|
|
2872
|
+
return o ? dt.createPortal(/* @__PURE__ */ (0, F.jsx)(V.div, {
|
|
2869
2873
|
...r,
|
|
2870
2874
|
ref: t
|
|
2871
2875
|
}), o) : null;
|
|
@@ -2874,15 +2878,15 @@ Pa.displayName = Na;
|
|
|
2874
2878
|
//#endregion
|
|
2875
2879
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2876
2880
|
function Fa(e, t) {
|
|
2877
|
-
return
|
|
2881
|
+
return P.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2878
2882
|
}
|
|
2879
2883
|
var Ia = (e) => {
|
|
2880
|
-
let { present: t, children: n } = e, r = La(t), i = typeof n == "function" ? n({ present: r.isPresent }) :
|
|
2881
|
-
return typeof n == "function" || r.isPresent ?
|
|
2884
|
+
let { present: t, children: n } = e, r = La(t), i = typeof n == "function" ? n({ present: r.isPresent }) : P.Children.only(n), a = B(r.ref, za(i));
|
|
2885
|
+
return typeof n == "function" || r.isPresent ? P.cloneElement(i, { ref: a }) : null;
|
|
2882
2886
|
};
|
|
2883
2887
|
Ia.displayName = "Presence";
|
|
2884
2888
|
function La(e) {
|
|
2885
|
-
let [t, n] =
|
|
2889
|
+
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] = Fa(e ? "mounted" : "unmounted", {
|
|
2886
2890
|
mounted: {
|
|
2887
2891
|
UNMOUNT: "unmounted",
|
|
2888
2892
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2893,16 +2897,16 @@ function La(e) {
|
|
|
2893
2897
|
},
|
|
2894
2898
|
unmounted: { MOUNT: "mounted" }
|
|
2895
2899
|
});
|
|
2896
|
-
return
|
|
2900
|
+
return P.useEffect(() => {
|
|
2897
2901
|
let e = Ra(r.current);
|
|
2898
2902
|
a.current = o === "mounted" ? e : "none";
|
|
2899
|
-
}, [o]),
|
|
2903
|
+
}, [o]), H(() => {
|
|
2900
2904
|
let t = r.current, n = i.current;
|
|
2901
2905
|
if (n !== e) {
|
|
2902
2906
|
let r = a.current, o = Ra(t);
|
|
2903
2907
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2904
2908
|
}
|
|
2905
|
-
}, [e, s]),
|
|
2909
|
+
}, [e, s]), H(() => {
|
|
2906
2910
|
if (t) {
|
|
2907
2911
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2908
2912
|
let o = Ra(r.current).includes(CSS.escape(a.animationName));
|
|
@@ -2921,7 +2925,7 @@ function La(e) {
|
|
|
2921
2925
|
} else s("ANIMATION_END");
|
|
2922
2926
|
}, [t, s]), {
|
|
2923
2927
|
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
2924
|
-
ref:
|
|
2928
|
+
ref: P.useCallback((e) => {
|
|
2925
2929
|
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
2926
2930
|
}, [])
|
|
2927
2931
|
};
|
|
@@ -2935,20 +2939,20 @@ function za(e) {
|
|
|
2935
2939
|
}
|
|
2936
2940
|
//#endregion
|
|
2937
2941
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2938
|
-
var Ba =
|
|
2942
|
+
var Ba = P.useInsertionEffect || H;
|
|
2939
2943
|
function Va({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2940
2944
|
let [i, a, o] = Ha({
|
|
2941
2945
|
defaultProp: t,
|
|
2942
2946
|
onChange: n
|
|
2943
2947
|
}), s = e !== void 0, c = s ? e : i;
|
|
2944
2948
|
{
|
|
2945
|
-
let t =
|
|
2946
|
-
|
|
2949
|
+
let t = P.useRef(e !== void 0);
|
|
2950
|
+
P.useEffect(() => {
|
|
2947
2951
|
let e = t.current;
|
|
2948
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;
|
|
2949
2953
|
}, [s, r]);
|
|
2950
2954
|
}
|
|
2951
|
-
return [c,
|
|
2955
|
+
return [c, P.useCallback((t) => {
|
|
2952
2956
|
if (s) {
|
|
2953
2957
|
let n = Ua(t) ? t(e) : t;
|
|
2954
2958
|
n !== e && o.current?.(n);
|
|
@@ -2961,10 +2965,10 @@ function Va({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2961
2965
|
])];
|
|
2962
2966
|
}
|
|
2963
2967
|
function Ha({ defaultProp: e, onChange: t }) {
|
|
2964
|
-
let [n, r] =
|
|
2968
|
+
let [n, r] = P.useState(e), i = P.useRef(n), a = P.useRef(t);
|
|
2965
2969
|
return Ba(() => {
|
|
2966
2970
|
a.current = t;
|
|
2967
|
-
}, [t]),
|
|
2971
|
+
}, [t]), P.useEffect(() => {
|
|
2968
2972
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
2969
2973
|
}, [n, i]), [
|
|
2970
2974
|
n,
|
|
@@ -3164,7 +3168,7 @@ function lo(e, t) {
|
|
|
3164
3168
|
//#endregion
|
|
3165
3169
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3166
3170
|
function uo(e, t) {
|
|
3167
|
-
var n = (0,
|
|
3171
|
+
var n = (0, P.useState)(function() {
|
|
3168
3172
|
return {
|
|
3169
3173
|
value: e,
|
|
3170
3174
|
callback: t,
|
|
@@ -3183,7 +3187,7 @@ function uo(e, t) {
|
|
|
3183
3187
|
}
|
|
3184
3188
|
//#endregion
|
|
3185
3189
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3186
|
-
var fo = typeof window < "u" ?
|
|
3190
|
+
var fo = typeof window < "u" ? P.useLayoutEffect : P.useEffect, po = /* @__PURE__ */ new WeakMap();
|
|
3187
3191
|
function mo(e, t) {
|
|
3188
3192
|
var n = uo(t || null, function(t) {
|
|
3189
3193
|
return e.forEach(function(e) {
|
|
@@ -3277,7 +3281,7 @@ var vo = function(e) {
|
|
|
3277
3281
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3278
3282
|
var r = t.read();
|
|
3279
3283
|
if (!r) throw Error("Sidecar medium not found");
|
|
3280
|
-
return
|
|
3284
|
+
return P.createElement(r, $({}, n));
|
|
3281
3285
|
};
|
|
3282
3286
|
vo.isSideCarExport = !0;
|
|
3283
3287
|
function yo(e, t) {
|
|
@@ -3285,8 +3289,8 @@ function yo(e, t) {
|
|
|
3285
3289
|
}
|
|
3286
3290
|
//#endregion
|
|
3287
3291
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3288
|
-
var bo = _o(), xo = function() {}, So =
|
|
3289
|
-
var n =
|
|
3292
|
+
var bo = _o(), xo = function() {}, So = P.forwardRef(function(e, t) {
|
|
3293
|
+
var n = P.useRef(null), r = P.useState({
|
|
3290
3294
|
onScrollCapture: xo,
|
|
3291
3295
|
onWheelCapture: xo,
|
|
3292
3296
|
onTouchMoveCapture: xo
|
|
@@ -3305,7 +3309,7 @@ var bo = _o(), xo = function() {}, So = F.forwardRef(function(e, t) {
|
|
|
3305
3309
|
"as",
|
|
3306
3310
|
"gapMode"
|
|
3307
3311
|
]), x = f, S = mo([n, t]), C = $($({}, b), i);
|
|
3308
|
-
return
|
|
3312
|
+
return P.createElement(P.Fragment, null, u && P.createElement(x, {
|
|
3309
3313
|
sideCar: bo,
|
|
3310
3314
|
removeScrollBar: l,
|
|
3311
3315
|
shards: d,
|
|
@@ -3316,7 +3320,7 @@ var bo = _o(), xo = function() {}, So = F.forwardRef(function(e, t) {
|
|
|
3316
3320
|
allowPinchZoom: !!g,
|
|
3317
3321
|
lockRef: n,
|
|
3318
3322
|
gapMode: y
|
|
3319
|
-
}), o ?
|
|
3323
|
+
}), o ? P.cloneElement(P.Children.only(s), $($({}, C), { ref: S })) : P.createElement(v, $({}, C, {
|
|
3320
3324
|
className: c,
|
|
3321
3325
|
ref: S
|
|
3322
3326
|
}), s));
|
|
@@ -3363,7 +3367,7 @@ var Oo = function() {
|
|
|
3363
3367
|
}, ko = function() {
|
|
3364
3368
|
var e = Oo();
|
|
3365
3369
|
return function(t, n) {
|
|
3366
|
-
|
|
3370
|
+
P.useEffect(function() {
|
|
3367
3371
|
return e.add(t), function() {
|
|
3368
3372
|
e.remove();
|
|
3369
3373
|
};
|
|
@@ -3446,7 +3450,7 @@ var Oo = function() {
|
|
|
3446
3450
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3447
3451
|
return isFinite(e) ? e : 0;
|
|
3448
3452
|
}, zo = function() {
|
|
3449
|
-
|
|
3453
|
+
P.useEffect(function() {
|
|
3450
3454
|
return document.body.setAttribute(Io, (Ro() + 1).toString()), function() {
|
|
3451
3455
|
var e = Ro() - 1;
|
|
3452
3456
|
e <= 0 ? document.body.removeAttribute(Io) : document.body.setAttribute(Io, e.toString());
|
|
@@ -3455,10 +3459,10 @@ var Oo = function() {
|
|
|
3455
3459
|
}, Bo = function(e) {
|
|
3456
3460
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3457
3461
|
zo();
|
|
3458
|
-
var a =
|
|
3462
|
+
var a = P.useMemo(function() {
|
|
3459
3463
|
return Po(i);
|
|
3460
3464
|
}, [i]);
|
|
3461
|
-
return
|
|
3465
|
+
return P.createElement(Fo, { styles: Lo(a, !t, i, n ? "" : "!important") });
|
|
3462
3466
|
}, Vo = !1;
|
|
3463
3467
|
if (typeof window < "u") try {
|
|
3464
3468
|
var Ho = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -3531,10 +3535,10 @@ var Uo = Vo ? { passive: !1 } : !1, Wo = function(e) {
|
|
|
3531
3535
|
`;
|
|
3532
3536
|
}, os = 0, ss = [];
|
|
3533
3537
|
function cs(e) {
|
|
3534
|
-
var t =
|
|
3535
|
-
|
|
3538
|
+
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(os++)[0], a = P.useState(Ao)[0], o = P.useRef(e);
|
|
3539
|
+
P.useEffect(function() {
|
|
3536
3540
|
o.current = e;
|
|
3537
|
-
}, [e]),
|
|
3541
|
+
}, [e]), P.useEffect(function() {
|
|
3538
3542
|
if (e.inert) {
|
|
3539
3543
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3540
3544
|
var t = io([e.lockRef.current], (e.shards || []).map(rs), !0).filter(Boolean);
|
|
@@ -3551,7 +3555,7 @@ function cs(e) {
|
|
|
3551
3555
|
e.lockRef.current,
|
|
3552
3556
|
e.shards
|
|
3553
3557
|
]);
|
|
3554
|
-
var s =
|
|
3558
|
+
var s = P.useCallback(function(e, t) {
|
|
3555
3559
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3556
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";
|
|
3557
3561
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
@@ -3563,7 +3567,7 @@ function cs(e) {
|
|
|
3563
3567
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3564
3568
|
var h = r.current || l;
|
|
3565
3569
|
return es(h, t, e, h === "h" ? s : c, !0);
|
|
3566
|
-
}, []), c =
|
|
3570
|
+
}, []), c = P.useCallback(function(e) {
|
|
3567
3571
|
var n = e;
|
|
3568
3572
|
if (!(!ss.length || ss[ss.length - 1] !== a)) {
|
|
3569
3573
|
var r = "deltaY" in n ? ns(n) : ts(n), i = t.current.filter(function(e) {
|
|
@@ -3580,7 +3584,7 @@ function cs(e) {
|
|
|
3580
3584
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
3581
3585
|
}
|
|
3582
3586
|
}
|
|
3583
|
-
}, []), l =
|
|
3587
|
+
}, []), l = P.useCallback(function(e, n, r, i) {
|
|
3584
3588
|
var a = {
|
|
3585
3589
|
name: e,
|
|
3586
3590
|
delta: n,
|
|
@@ -3593,14 +3597,14 @@ function cs(e) {
|
|
|
3593
3597
|
return e !== a;
|
|
3594
3598
|
});
|
|
3595
3599
|
}, 1);
|
|
3596
|
-
}, []), u =
|
|
3600
|
+
}, []), u = P.useCallback(function(e) {
|
|
3597
3601
|
n.current = ts(e), r.current = void 0;
|
|
3598
|
-
}, []), d =
|
|
3602
|
+
}, []), d = P.useCallback(function(t) {
|
|
3599
3603
|
l(t.type, ns(t), t.target, s(t, e.lockRef.current));
|
|
3600
|
-
}, []), f =
|
|
3604
|
+
}, []), f = P.useCallback(function(t) {
|
|
3601
3605
|
l(t.type, ts(t), t.target, s(t, e.lockRef.current));
|
|
3602
3606
|
}, []);
|
|
3603
|
-
|
|
3607
|
+
P.useEffect(function() {
|
|
3604
3608
|
return ss.push(a), e.setCallbacks({
|
|
3605
3609
|
onScrollCapture: d,
|
|
3606
3610
|
onWheelCapture: d,
|
|
@@ -3612,7 +3616,7 @@ function cs(e) {
|
|
|
3612
3616
|
};
|
|
3613
3617
|
}, []);
|
|
3614
3618
|
var p = e.removeScrollBar, m = e.inert;
|
|
3615
|
-
return
|
|
3619
|
+
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles: as(i) }) : null, p ? P.createElement(Bo, {
|
|
3616
3620
|
noRelative: e.noRelative,
|
|
3617
3621
|
gapMode: e.gapMode
|
|
3618
3622
|
}) : null);
|
|
@@ -3623,8 +3627,8 @@ function ls(e) {
|
|
|
3623
3627
|
}
|
|
3624
3628
|
//#endregion
|
|
3625
3629
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3626
|
-
var us = yo(bo, cs), ds =
|
|
3627
|
-
return
|
|
3630
|
+
var us = yo(bo, cs), ds = P.forwardRef(function(e, t) {
|
|
3631
|
+
return P.createElement(So, $({}, e, {
|
|
3628
3632
|
ref: t,
|
|
3629
3633
|
sideCar: us
|
|
3630
3634
|
}));
|
|
@@ -3632,42 +3636,42 @@ var us = yo(bo, cs), ds = F.forwardRef(function(e, t) {
|
|
|
3632
3636
|
ds.classNames = So.classNames;
|
|
3633
3637
|
//#endregion
|
|
3634
3638
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3635
|
-
var fs = "Popover", [ps, ms] =
|
|
3636
|
-
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] = pn(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 = P.useRef(null), [l, u] = P.useState(!1), [d, f] = Va({
|
|
3637
3641
|
prop: r,
|
|
3638
3642
|
defaultProp: i ?? !1,
|
|
3639
3643
|
onChange: a,
|
|
3640
3644
|
caller: fs
|
|
3641
3645
|
});
|
|
3642
|
-
return /* @__PURE__ */ (0,
|
|
3646
|
+
return /* @__PURE__ */ (0, F.jsx)(ka, {
|
|
3643
3647
|
...s,
|
|
3644
|
-
children: /* @__PURE__ */ (0,
|
|
3648
|
+
children: /* @__PURE__ */ (0, F.jsx)(gs, {
|
|
3645
3649
|
scope: t,
|
|
3646
3650
|
contentId: ir(),
|
|
3647
3651
|
triggerRef: c,
|
|
3648
3652
|
open: d,
|
|
3649
3653
|
onOpenChange: f,
|
|
3650
|
-
onOpenToggle:
|
|
3654
|
+
onOpenToggle: P.useCallback(() => f((e) => !e), [f]),
|
|
3651
3655
|
hasCustomAnchor: l,
|
|
3652
|
-
onCustomAnchorAdd:
|
|
3653
|
-
onCustomAnchorRemove:
|
|
3656
|
+
onCustomAnchorAdd: P.useCallback(() => u(!0), []),
|
|
3657
|
+
onCustomAnchorRemove: P.useCallback(() => u(!1), []),
|
|
3654
3658
|
modal: o,
|
|
3655
3659
|
children: n
|
|
3656
3660
|
})
|
|
3657
3661
|
});
|
|
3658
3662
|
};
|
|
3659
3663
|
vs.displayName = fs;
|
|
3660
|
-
var ys = "PopoverAnchor", bs =
|
|
3664
|
+
var ys = "PopoverAnchor", bs = P.forwardRef((e, t) => {
|
|
3661
3665
|
let { __scopePopover: n, ...r } = e, i = _s(ys, n), a = hs(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3662
|
-
return
|
|
3666
|
+
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, F.jsx)(Aa, {
|
|
3663
3667
|
...a,
|
|
3664
3668
|
...r,
|
|
3665
3669
|
ref: t
|
|
3666
3670
|
});
|
|
3667
3671
|
});
|
|
3668
3672
|
bs.displayName = ys;
|
|
3669
|
-
var xs = "PopoverTrigger", Ss =
|
|
3670
|
-
let { __scopePopover: n, ...r } = e, i = _s(xs, n), a = hs(n), o =
|
|
3673
|
+
var xs = "PopoverTrigger", Ss = P.forwardRef((e, t) => {
|
|
3674
|
+
let { __scopePopover: n, ...r } = e, i = _s(xs, n), a = hs(n), o = B(t, i.triggerRef), s = /* @__PURE__ */ (0, F.jsx)(V.button, {
|
|
3671
3675
|
type: "button",
|
|
3672
3676
|
"aria-haspopup": "dialog",
|
|
3673
3677
|
"aria-expanded": i.open,
|
|
@@ -3675,9 +3679,9 @@ var xs = "PopoverTrigger", Ss = F.forwardRef((e, t) => {
|
|
|
3675
3679
|
"data-state": Ls(i.open),
|
|
3676
3680
|
...r,
|
|
3677
3681
|
ref: o,
|
|
3678
|
-
onClick:
|
|
3682
|
+
onClick: z(e.onClick, i.onOpenToggle)
|
|
3679
3683
|
});
|
|
3680
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0,
|
|
3684
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, F.jsx)(Aa, {
|
|
3681
3685
|
asChild: !0,
|
|
3682
3686
|
...a,
|
|
3683
3687
|
children: s
|
|
@@ -3686,12 +3690,12 @@ var xs = "PopoverTrigger", Ss = F.forwardRef((e, t) => {
|
|
|
3686
3690
|
Ss.displayName = xs;
|
|
3687
3691
|
var Cs = "PopoverPortal", [ws, Ts] = ps(Cs, { forceMount: void 0 }), Es = (e) => {
|
|
3688
3692
|
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = _s(Cs, t);
|
|
3689
|
-
return /* @__PURE__ */ (0,
|
|
3693
|
+
return /* @__PURE__ */ (0, F.jsx)(ws, {
|
|
3690
3694
|
scope: t,
|
|
3691
3695
|
forceMount: n,
|
|
3692
|
-
children: /* @__PURE__ */ (0,
|
|
3696
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ia, {
|
|
3693
3697
|
present: n || a.open,
|
|
3694
|
-
children: /* @__PURE__ */ (0,
|
|
3698
|
+
children: /* @__PURE__ */ (0, F.jsx)(Pa, {
|
|
3695
3699
|
asChild: !0,
|
|
3696
3700
|
container: i,
|
|
3697
3701
|
children: r
|
|
@@ -3700,46 +3704,46 @@ var Cs = "PopoverPortal", [ws, Ts] = ps(Cs, { forceMount: void 0 }), Es = (e) =>
|
|
|
3700
3704
|
});
|
|
3701
3705
|
};
|
|
3702
3706
|
Es.displayName = Cs;
|
|
3703
|
-
var Ds = "PopoverContent", Os =
|
|
3707
|
+
var Ds = "PopoverContent", Os = P.forwardRef((e, t) => {
|
|
3704
3708
|
let n = Ts(Ds, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = _s(Ds, e.__scopePopover);
|
|
3705
|
-
return /* @__PURE__ */ (0,
|
|
3709
|
+
return /* @__PURE__ */ (0, F.jsx)(Ia, {
|
|
3706
3710
|
present: r || a.open,
|
|
3707
|
-
children: a.modal ? /* @__PURE__ */ (0,
|
|
3711
|
+
children: a.modal ? /* @__PURE__ */ (0, F.jsx)(As, {
|
|
3708
3712
|
...i,
|
|
3709
3713
|
ref: t
|
|
3710
|
-
}) : /* @__PURE__ */ (0,
|
|
3714
|
+
}) : /* @__PURE__ */ (0, F.jsx)(js, {
|
|
3711
3715
|
...i,
|
|
3712
3716
|
ref: t
|
|
3713
3717
|
})
|
|
3714
3718
|
});
|
|
3715
3719
|
});
|
|
3716
3720
|
Os.displayName = Ds;
|
|
3717
|
-
var ks = /* @__PURE__ */
|
|
3718
|
-
let n = _s(Ds, e.__scopePopover), r =
|
|
3719
|
-
return
|
|
3721
|
+
var ks = /* @__PURE__ */ hn("PopoverContent.RemoveScroll"), As = P.forwardRef((e, t) => {
|
|
3722
|
+
let n = _s(Ds, e.__scopePopover), r = P.useRef(null), i = B(t, r), a = P.useRef(!1);
|
|
3723
|
+
return P.useEffect(() => {
|
|
3720
3724
|
let e = r.current;
|
|
3721
3725
|
if (e) return Qa(e);
|
|
3722
|
-
}, []), /* @__PURE__ */ (0,
|
|
3726
|
+
}, []), /* @__PURE__ */ (0, F.jsx)(ds, {
|
|
3723
3727
|
as: ks,
|
|
3724
3728
|
allowPinchZoom: !0,
|
|
3725
|
-
children: /* @__PURE__ */ (0,
|
|
3729
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ms, {
|
|
3726
3730
|
...e,
|
|
3727
3731
|
ref: i,
|
|
3728
3732
|
trapFocus: n.open,
|
|
3729
3733
|
disableOutsidePointerEvents: !0,
|
|
3730
|
-
onCloseAutoFocus:
|
|
3734
|
+
onCloseAutoFocus: z(e.onCloseAutoFocus, (e) => {
|
|
3731
3735
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
3732
3736
|
}),
|
|
3733
|
-
onPointerDownOutside:
|
|
3737
|
+
onPointerDownOutside: z(e.onPointerDownOutside, (e) => {
|
|
3734
3738
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
3735
3739
|
a.current = t.button === 2 || n;
|
|
3736
3740
|
}, { checkForDefaultPrevented: !1 }),
|
|
3737
|
-
onFocusOutside:
|
|
3741
|
+
onFocusOutside: z(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3738
3742
|
})
|
|
3739
3743
|
});
|
|
3740
|
-
}), js =
|
|
3741
|
-
let n = _s(Ds, e.__scopePopover), r =
|
|
3742
|
-
return /* @__PURE__ */ (0,
|
|
3744
|
+
}), js = P.forwardRef((e, t) => {
|
|
3745
|
+
let n = _s(Ds, e.__scopePopover), r = P.useRef(!1), i = P.useRef(!1);
|
|
3746
|
+
return /* @__PURE__ */ (0, F.jsx)(Ms, {
|
|
3743
3747
|
...e,
|
|
3744
3748
|
ref: t,
|
|
3745
3749
|
trapFocus: !1,
|
|
@@ -3753,15 +3757,15 @@ var ks = /* @__PURE__ */ mn("PopoverContent.RemoveScroll"), As = F.forwardRef((e
|
|
|
3753
3757
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3754
3758
|
}
|
|
3755
3759
|
});
|
|
3756
|
-
}), Ms =
|
|
3760
|
+
}), Ms = P.forwardRef((e, t) => {
|
|
3757
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);
|
|
3758
|
-
return
|
|
3762
|
+
return Rn(), /* @__PURE__ */ (0, F.jsx)(Wn, {
|
|
3759
3763
|
asChild: !0,
|
|
3760
3764
|
loop: !0,
|
|
3761
3765
|
trapped: r,
|
|
3762
3766
|
onMountAutoFocus: i,
|
|
3763
3767
|
onUnmountAutoFocus: a,
|
|
3764
|
-
children: /* @__PURE__ */ (0,
|
|
3768
|
+
children: /* @__PURE__ */ (0, F.jsx)(An, {
|
|
3765
3769
|
asChild: !0,
|
|
3766
3770
|
disableOutsidePointerEvents: o,
|
|
3767
3771
|
onInteractOutside: u,
|
|
@@ -3769,7 +3773,7 @@ var ks = /* @__PURE__ */ mn("PopoverContent.RemoveScroll"), As = F.forwardRef((e
|
|
|
3769
3773
|
onPointerDownOutside: c,
|
|
3770
3774
|
onFocusOutside: l,
|
|
3771
3775
|
onDismiss: () => f.onOpenChange(!1),
|
|
3772
|
-
children: /* @__PURE__ */ (0,
|
|
3776
|
+
children: /* @__PURE__ */ (0, F.jsx)(ja, {
|
|
3773
3777
|
"data-state": Ls(f.open),
|
|
3774
3778
|
role: "dialog",
|
|
3775
3779
|
id: f.contentId,
|
|
@@ -3787,19 +3791,19 @@ var ks = /* @__PURE__ */ mn("PopoverContent.RemoveScroll"), As = F.forwardRef((e
|
|
|
3787
3791
|
})
|
|
3788
3792
|
})
|
|
3789
3793
|
});
|
|
3790
|
-
}), Ns = "PopoverClose", Ps =
|
|
3794
|
+
}), Ns = "PopoverClose", Ps = P.forwardRef((e, t) => {
|
|
3791
3795
|
let { __scopePopover: n, ...r } = e, i = _s(Ns, n);
|
|
3792
|
-
return /* @__PURE__ */ (0,
|
|
3796
|
+
return /* @__PURE__ */ (0, F.jsx)(V.button, {
|
|
3793
3797
|
type: "button",
|
|
3794
3798
|
...r,
|
|
3795
3799
|
ref: t,
|
|
3796
|
-
onClick:
|
|
3800
|
+
onClick: z(e.onClick, () => i.onOpenChange(!1))
|
|
3797
3801
|
});
|
|
3798
3802
|
});
|
|
3799
3803
|
Ps.displayName = Ns;
|
|
3800
|
-
var Fs = "PopoverArrow", Is =
|
|
3804
|
+
var Fs = "PopoverArrow", Is = P.forwardRef((e, t) => {
|
|
3801
3805
|
let { __scopePopover: n, ...r } = e, i = hs(n);
|
|
3802
|
-
return /* @__PURE__ */ (0,
|
|
3806
|
+
return /* @__PURE__ */ (0, F.jsx)(Ma, {
|
|
3803
3807
|
...i,
|
|
3804
3808
|
...r,
|
|
3805
3809
|
ref: t
|
|
@@ -3809,175 +3813,175 @@ Is.displayName = Fs;
|
|
|
3809
3813
|
function Ls(e) {
|
|
3810
3814
|
return e ? "open" : "closed";
|
|
3811
3815
|
}
|
|
3812
|
-
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, F.jsxs)(Rs, {
|
|
3813
3817
|
defaultOpen: n,
|
|
3814
|
-
children: [/* @__PURE__ */ (0,
|
|
3818
|
+
children: [/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3815
3819
|
className: "flex justify-center",
|
|
3816
|
-
children: /* @__PURE__ */ (0,
|
|
3820
|
+
children: /* @__PURE__ */ (0, F.jsx)(zs, {
|
|
3817
3821
|
asChild: !0,
|
|
3818
3822
|
children: t
|
|
3819
3823
|
})
|
|
3820
|
-
}), /* @__PURE__ */ (0,
|
|
3824
|
+
}), /* @__PURE__ */ (0, F.jsxs)(Bs, {
|
|
3821
3825
|
className: "sid-popover__container",
|
|
3822
3826
|
sideOffset: 10,
|
|
3823
3827
|
side: "bottom",
|
|
3824
|
-
children: [e, /* @__PURE__ */ (0,
|
|
3828
|
+
children: [e, /* @__PURE__ */ (0, F.jsx)(Vs, { className: "sid-popover__caret" })]
|
|
3825
3829
|
})]
|
|
3826
3830
|
}), Us = ({ verificationService: e, initialVisibility: t = !1 }) => {
|
|
3827
|
-
let n =
|
|
3828
|
-
return /* @__PURE__ */ (0,
|
|
3831
|
+
let n = Oe();
|
|
3832
|
+
return /* @__PURE__ */ (0, F.jsx)(Hs, {
|
|
3829
3833
|
initialVisibility: t,
|
|
3830
|
-
trigger: /* @__PURE__ */ (0,
|
|
3834
|
+
trigger: /* @__PURE__ */ (0, F.jsx)("button", {
|
|
3831
3835
|
type: "button",
|
|
3832
3836
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3833
|
-
children: /* @__PURE__ */ (0,
|
|
3837
|
+
children: /* @__PURE__ */ (0, F.jsx)(N, { id: "howDoesVerifyingWork" })
|
|
3834
3838
|
}),
|
|
3835
|
-
message: /* @__PURE__ */ (0,
|
|
3836
|
-
/* @__PURE__ */ (0,
|
|
3839
|
+
message: /* @__PURE__ */ (0, F.jsxs)("div", { children: [
|
|
3840
|
+
/* @__PURE__ */ (0, F.jsx)(N, {
|
|
3837
3841
|
id: "step.personalInfo.howDoesVerifyingWorkDetails",
|
|
3838
3842
|
context: n
|
|
3839
3843
|
}),
|
|
3840
3844
|
"\xA0",
|
|
3841
|
-
/* @__PURE__ */ (0,
|
|
3845
|
+
/* @__PURE__ */ (0, F.jsx)(Tt, { verificationService: e })
|
|
3842
3846
|
] })
|
|
3843
3847
|
});
|
|
3844
3848
|
}, Ws = ({ verificationService: e }) => {
|
|
3845
|
-
let t =
|
|
3846
|
-
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0,
|
|
3849
|
+
let t = s(() => e.programTheme.remainingRewardCodes, null);
|
|
3850
|
+
return typeof t == "number" && t > 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
3847
3851
|
className: "sid-rewards-remaining",
|
|
3848
3852
|
role: "note",
|
|
3849
3853
|
children: [
|
|
3850
|
-
/* @__PURE__ */ (0,
|
|
3851
|
-
/* @__PURE__ */ (0,
|
|
3854
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3855
|
+
/* @__PURE__ */ (0, F.jsx)(M, {
|
|
3852
3856
|
id: "lowRewardPool",
|
|
3853
3857
|
defaultMessage: e.messages.lowRewardPool,
|
|
3854
3858
|
values: { offersRemaining: t }
|
|
3855
3859
|
}),
|
|
3856
|
-
/* @__PURE__ */ (0,
|
|
3860
|
+
/* @__PURE__ */ (0, F.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3857
3861
|
]
|
|
3858
3862
|
}) : null;
|
|
3859
3863
|
}, Gs = (e) => e !== void 0, Ks = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3860
|
-
let { verificationResponse: n } = e, r = Gs(n) ?
|
|
3861
|
-
return /* @__PURE__ */ (0,
|
|
3864
|
+
let { verificationResponse: n } = e, r = Gs(n) ? he(n) : !1, i = r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title", a = r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle";
|
|
3865
|
+
return /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3862
3866
|
className: "sid-personal-info-header",
|
|
3863
|
-
children: /* @__PURE__ */ (0,
|
|
3867
|
+
children: /* @__PURE__ */ (0, F.jsxs)(un, {
|
|
3864
3868
|
verificationService: e,
|
|
3865
|
-
title: /* @__PURE__ */ (0,
|
|
3869
|
+
title: /* @__PURE__ */ (0, F.jsx)(N, {
|
|
3866
3870
|
id: i,
|
|
3867
3871
|
context: n.segment
|
|
3868
3872
|
}),
|
|
3869
3873
|
classNameIdentifier: t,
|
|
3870
3874
|
children: [
|
|
3871
|
-
/* @__PURE__ */ (0,
|
|
3875
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3872
3876
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3873
|
-
children: /* @__PURE__ */ (0,
|
|
3877
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, { id: a })
|
|
3874
3878
|
}),
|
|
3875
|
-
/* @__PURE__ */ (0,
|
|
3879
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3876
3880
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3877
|
-
children: !r && /* @__PURE__ */ (0,
|
|
3881
|
+
children: !r && /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Us, { verificationService: e }), /* @__PURE__ */ (0, F.jsx)(Ws, { verificationService: e })] })
|
|
3878
3882
|
}),
|
|
3879
|
-
/* @__PURE__ */ (0,
|
|
3883
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
3880
3884
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3881
|
-
children: /* @__PURE__ */ (0,
|
|
3885
|
+
children: /* @__PURE__ */ (0, F.jsx)(M, { id: "requiredFields" })
|
|
3882
3886
|
})
|
|
3883
3887
|
]
|
|
3884
3888
|
})
|
|
3885
3889
|
});
|
|
3886
|
-
}, qs = () => ({ isEmbedded: !!
|
|
3890
|
+
}, qs = () => ({ isEmbedded: !!x("verificationIframeUid") }), Js = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3887
3891
|
let { isEmbedded: i } = qs();
|
|
3888
|
-
return !r || i ? /* @__PURE__ */ (0,
|
|
3892
|
+
return !r || i ? /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: t }) : /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3889
3893
|
className: `sid-layout sid-layout--${e}`,
|
|
3890
|
-
children: /* @__PURE__ */ (0,
|
|
3894
|
+
children: /* @__PURE__ */ (0, F.jsxs)("div", {
|
|
3891
3895
|
className: "sid-layout__container",
|
|
3892
|
-
children: [e === "fullRight" && /* @__PURE__ */ (0,
|
|
3896
|
+
children: [e === "fullRight" && /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3893
3897
|
className: "sid-layout__content",
|
|
3894
|
-
children: /* @__PURE__ */ (0,
|
|
3898
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ks, {
|
|
3895
3899
|
verificationService: n,
|
|
3896
3900
|
classNameIdentifier: "landing"
|
|
3897
3901
|
})
|
|
3898
|
-
}), /* @__PURE__ */ (0,
|
|
3902
|
+
}), /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3899
3903
|
className: "sid-layout__form-container",
|
|
3900
|
-
children: /* @__PURE__ */ (0,
|
|
3904
|
+
children: /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3901
3905
|
className: "sid-layout__form",
|
|
3902
3906
|
children: t
|
|
3903
3907
|
})
|
|
3904
3908
|
})]
|
|
3905
3909
|
})
|
|
3906
3910
|
});
|
|
3907
|
-
}, Ys = ({ children: e }) => /* @__PURE__ */ (0,
|
|
3911
|
+
}, Ys = ({ children: e }) => /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3908
3912
|
className: "sid sid-form-wrapper",
|
|
3909
3913
|
children: e
|
|
3910
|
-
}), Xs = ({ locale:
|
|
3911
|
-
let
|
|
3912
|
-
...
|
|
3913
|
-
...
|
|
3914
|
-
} :
|
|
3915
|
-
...
|
|
3916
|
-
programTheme:
|
|
3917
|
-
verificationResponse:
|
|
3918
|
-
formValidationOptions:
|
|
3914
|
+
}), Xs = ({ locale: n, messages: r, programTheme: i, verificationService: a, programId: o }) => {
|
|
3915
|
+
let s = Ze(), c = T(), l = Ce() ?? i, u = we(Ee, me), d = (0, P.useMemo)(() => u ? {
|
|
3916
|
+
...a.verificationResponse,
|
|
3917
|
+
...u
|
|
3918
|
+
} : a.verificationResponse, [u, a.verificationResponse]), f = (0, P.useMemo)(() => ({
|
|
3919
|
+
...a,
|
|
3920
|
+
programTheme: l,
|
|
3921
|
+
verificationResponse: d,
|
|
3922
|
+
formValidationOptions: St(l, d, a.viewModel)
|
|
3919
3923
|
}), [
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
]), p =
|
|
3924
|
-
|
|
3924
|
+
a,
|
|
3925
|
+
l,
|
|
3926
|
+
d
|
|
3927
|
+
]), p = l.themeChoices?.landingPage.layout || "center", { renderAs: m } = c, g = $e();
|
|
3928
|
+
P.useEffect(() => {
|
|
3925
3929
|
try {
|
|
3926
|
-
if (
|
|
3927
|
-
let e = (0,
|
|
3928
|
-
|
|
3929
|
-
let t =
|
|
3930
|
+
if (g && f && f.viewModel) {
|
|
3931
|
+
let e = (0, _t.default)(g);
|
|
3932
|
+
E(v.flags, e);
|
|
3933
|
+
let t = S(f.viewModel.metadata || {}, (t) => {
|
|
3930
3934
|
t.flags = e;
|
|
3931
|
-
}), n =
|
|
3935
|
+
}), n = S(f.viewModel, (e) => {
|
|
3932
3936
|
e.metadata = t;
|
|
3933
3937
|
});
|
|
3934
3938
|
f.updateViewModel(n);
|
|
3935
3939
|
}
|
|
3936
|
-
} catch (
|
|
3937
|
-
|
|
3940
|
+
} catch (t) {
|
|
3941
|
+
e.error(t);
|
|
3938
3942
|
}
|
|
3939
|
-
}, []),
|
|
3940
|
-
if (f.verificationResponse.verificationId &&
|
|
3943
|
+
}, []), P.useEffect(() => {
|
|
3944
|
+
if (f.verificationResponse.verificationId && c._launchDarklyUserTargeting && s) {
|
|
3941
3945
|
let e = {
|
|
3942
3946
|
kind: "multi",
|
|
3943
3947
|
user: {
|
|
3944
3948
|
key: f.verificationResponse.verificationId,
|
|
3945
3949
|
locale: f.verificationResponse.locale,
|
|
3946
3950
|
segment: f.verificationResponse.segment,
|
|
3947
|
-
installType:
|
|
3951
|
+
installType: j()
|
|
3948
3952
|
},
|
|
3949
|
-
program: { key:
|
|
3953
|
+
program: { key: o }
|
|
3950
3954
|
};
|
|
3951
|
-
|
|
3955
|
+
l.accountId && (e.account = { key: l.accountId }), s.identify(e);
|
|
3952
3956
|
}
|
|
3953
|
-
}, [f.verificationResponse.verificationId,
|
|
3957
|
+
}, [f.verificationResponse.verificationId, s]), P.useEffect(() => {
|
|
3954
3958
|
try {
|
|
3955
|
-
|
|
3959
|
+
T()._launchDarklyFlagCb(g);
|
|
3956
3960
|
} catch {}
|
|
3957
|
-
}, [
|
|
3958
|
-
let
|
|
3959
|
-
return /* @__PURE__ */ (0,
|
|
3961
|
+
}, [g]);
|
|
3962
|
+
let _ = we(Ee, pe);
|
|
3963
|
+
return /* @__PURE__ */ (0, F.jsx)(ae, {
|
|
3960
3964
|
locale: "en",
|
|
3961
3965
|
messages: {
|
|
3962
|
-
...
|
|
3963
|
-
...(0,
|
|
3964
|
-
...(0,
|
|
3966
|
+
...r,
|
|
3967
|
+
...(0, ut.default)(w(n)),
|
|
3968
|
+
...(0, ut.default)(_?.[n] ?? {})
|
|
3965
3969
|
},
|
|
3966
|
-
textComponent:
|
|
3967
|
-
children: /* @__PURE__ */ (0,
|
|
3968
|
-
themeChoices:
|
|
3969
|
-
customCssFromOptions:
|
|
3970
|
-
children: /* @__PURE__ */ (0,
|
|
3971
|
-
className: `${
|
|
3972
|
-
children: /* @__PURE__ */ (0,
|
|
3970
|
+
textComponent: cn,
|
|
3971
|
+
children: /* @__PURE__ */ (0, F.jsx)(xt, {
|
|
3972
|
+
themeChoices: l.themeChoices,
|
|
3973
|
+
customCssFromOptions: T().customCss,
|
|
3974
|
+
children: /* @__PURE__ */ (0, F.jsx)("div", {
|
|
3975
|
+
className: `${vt.default.isRtlLang(h(n)) ? "sid-rtl" : "sid-ltr"} sid-locale-${n}`,
|
|
3976
|
+
children: /* @__PURE__ */ (0, F.jsx)(Ys, { children: /* @__PURE__ */ (0, F.jsx)(Js, {
|
|
3973
3977
|
layout: p,
|
|
3974
3978
|
verificationService: f,
|
|
3975
3979
|
renderAsLandingPage: m === "landingPage",
|
|
3976
|
-
children: /* @__PURE__ */ (0,
|
|
3977
|
-
fallback: /* @__PURE__ */ (0,
|
|
3978
|
-
children: /* @__PURE__ */ (0,
|
|
3979
|
-
i18n:
|
|
3980
|
-
children: f.isLoading ? /* @__PURE__ */ (0,
|
|
3980
|
+
children: /* @__PURE__ */ (0, F.jsx)(P.Suspense, {
|
|
3981
|
+
fallback: /* @__PURE__ */ (0, F.jsx)(mt, { step: f.loadingStep }),
|
|
3982
|
+
children: /* @__PURE__ */ (0, F.jsx)(ct, {
|
|
3983
|
+
i18n: t,
|
|
3984
|
+
children: f.isLoading ? /* @__PURE__ */ (0, F.jsx)(mt, { step: f.loadingStep }) : /* @__PURE__ */ (0, F.jsxs)("div", { children: [!T().hideTestModeFlag && /* @__PURE__ */ (0, F.jsx)(ln, { verificationService: f }), /* @__PURE__ */ (0, F.jsx)(sn, {
|
|
3981
3985
|
stepToLoad: f.overrideStep || f.verificationResponse.currentStep,
|
|
3982
3986
|
verificationService: f
|
|
3983
3987
|
})] })
|
|
@@ -3986,19 +3990,19 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
3986
3990
|
}) })
|
|
3987
3991
|
})
|
|
3988
3992
|
})
|
|
3989
|
-
},
|
|
3993
|
+
}, n);
|
|
3990
3994
|
}, Zs = () => {
|
|
3991
3995
|
let e = null;
|
|
3992
3996
|
document.addEventListener("keydown", (t) => {
|
|
3993
3997
|
if (t.key !== "Tab") return;
|
|
3994
3998
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3995
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
3999
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (_e({
|
|
3996
4000
|
type: "focus",
|
|
3997
4001
|
focusOn: "firstElement"
|
|
3998
4002
|
}), t.preventDefault());
|
|
3999
4003
|
}), window.addEventListener("message", (t) => {
|
|
4000
4004
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
4001
|
-
}),
|
|
4005
|
+
}), _e({
|
|
4002
4006
|
type: "focus",
|
|
4003
4007
|
focusOn: "firstElement"
|
|
4004
4008
|
});
|
|
@@ -4006,71 +4010,71 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
4006
4010
|
window.addEventListener("message", (e) => {
|
|
4007
4011
|
e.data.isInLightBox === "true" && Zs();
|
|
4008
4012
|
});
|
|
4009
|
-
}, $s = class extends
|
|
4013
|
+
}, $s = class extends P.Component {
|
|
4010
4014
|
verificationService;
|
|
4011
|
-
constructor(
|
|
4012
|
-
super(
|
|
4015
|
+
constructor(t) {
|
|
4016
|
+
super(t), e.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? e.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : e.info("No trackingId to associate with the verification request");
|
|
4013
4017
|
}
|
|
4014
4018
|
componentDidMount() {
|
|
4015
|
-
if (
|
|
4019
|
+
if (f(), Qs(), Be((e) => {
|
|
4016
4020
|
switch (e.data.action) {
|
|
4017
4021
|
case "setViewModel":
|
|
4018
|
-
|
|
4022
|
+
ke(e.data.viewModel, {
|
|
4019
4023
|
partial: !0,
|
|
4020
4024
|
metadataCheck: !0,
|
|
4021
4025
|
externalUserIdCheck: !0
|
|
4022
4026
|
});
|
|
4023
4027
|
break;
|
|
4024
4028
|
case "setOptions":
|
|
4025
|
-
|
|
4029
|
+
_(e.data.options);
|
|
4026
4030
|
break;
|
|
4027
4031
|
default:
|
|
4028
4032
|
}
|
|
4029
|
-
}),
|
|
4033
|
+
}), Je()) e.info("Mocking loading screen. Not fetching new verification request.");
|
|
4030
4034
|
else {
|
|
4031
|
-
|
|
4032
|
-
let
|
|
4033
|
-
this.props.verificationService.fetchNewVerificationRequest(this.props.programId,
|
|
4035
|
+
e.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4036
|
+
let t = s(() => this.props.verificationService.verificationResponse.segment);
|
|
4037
|
+
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, t, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4034
4038
|
}
|
|
4035
4039
|
}
|
|
4036
4040
|
render() {
|
|
4037
|
-
let { viewModel:
|
|
4038
|
-
this.props.messages && (
|
|
4039
|
-
let
|
|
4040
|
-
...
|
|
4041
|
-
...(0,
|
|
4041
|
+
let { viewModel: t } = this.props.verificationService, n = ee(t), r;
|
|
4042
|
+
this.props.messages && (r = this.props.messages);
|
|
4043
|
+
let i = {
|
|
4044
|
+
...r,
|
|
4045
|
+
...(0, ut.default)(w(n))
|
|
4042
4046
|
};
|
|
4043
|
-
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return
|
|
4047
|
+
if (this.props.verificationService.isLoading && !this.props.verificationService.loadingStep) return e.info("NewVerificationComponent: VerificationService is loading"), /* @__PURE__ */ (0, F.jsx)(ae, {
|
|
4044
4048
|
locale: "en",
|
|
4049
|
+
messages: i,
|
|
4050
|
+
textComponent: cn,
|
|
4051
|
+
children: /* @__PURE__ */ (0, F.jsx)(mt, {})
|
|
4052
|
+
}, n);
|
|
4053
|
+
let { programTheme: a } = this.props.verificationService, { verificationResponse: o } = this.props.verificationService;
|
|
4054
|
+
return e.info("NewVerificationComponent: verificationResponse, viewModel", o, t), e.info(`NewVerificationComponent: locale: ${n}, currentStep: ${o.currentStep}, messages: `, r), /* @__PURE__ */ (0, F.jsx)(Xs, {
|
|
4055
|
+
locale: n,
|
|
4045
4056
|
messages: r,
|
|
4046
|
-
|
|
4047
|
-
children: /* @__PURE__ */ (0, I.jsx)(pt, {})
|
|
4048
|
-
}, t);
|
|
4049
|
-
let { programTheme: i } = this.props.verificationService, { verificationResponse: a } = this.props.verificationService;
|
|
4050
|
-
return d.info("NewVerificationComponent: verificationResponse, viewModel", a, e), d.info(`NewVerificationComponent: locale: ${t}, currentStep: ${a.currentStep}, messages: `, n), /* @__PURE__ */ (0, I.jsx)(Xs, {
|
|
4051
|
-
locale: t,
|
|
4052
|
-
messages: n,
|
|
4053
|
-
programTheme: i,
|
|
4057
|
+
programTheme: a,
|
|
4054
4058
|
verificationService: this.props.verificationService,
|
|
4055
4059
|
programId: this.props.programId
|
|
4056
4060
|
});
|
|
4057
4061
|
}
|
|
4058
|
-
}, ec =
|
|
4062
|
+
}, ec = je((e, t) => ({ ...e }), (e, t) => ({
|
|
4059
4063
|
dispatch: e,
|
|
4060
|
-
fetchNewVerificationRequest:
|
|
4061
|
-
fetchExistingVerificationRequest:
|
|
4062
|
-
updateViewModel:
|
|
4063
|
-
updateLocale:
|
|
4064
|
-
updateProgramTheme:
|
|
4065
|
-
updateFieldValidationErrors:
|
|
4066
|
-
resetState:
|
|
4064
|
+
fetchNewVerificationRequest: Le(e),
|
|
4065
|
+
fetchExistingVerificationRequest: Se(e),
|
|
4066
|
+
updateViewModel: le(e),
|
|
4067
|
+
updateLocale: ye(e, t.programId),
|
|
4068
|
+
updateProgramTheme: ue(e),
|
|
4069
|
+
updateFieldValidationErrors: Ie(e),
|
|
4070
|
+
resetState: ve(e)
|
|
4067
4071
|
}), (e, t, n) => {
|
|
4068
4072
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4069
4073
|
return {
|
|
4070
4074
|
verificationService: {
|
|
4071
4075
|
...e,
|
|
4072
4076
|
...i,
|
|
4073
|
-
submitStep:
|
|
4077
|
+
submitStep: ce(r, a)
|
|
4074
4078
|
},
|
|
4075
4079
|
messages: e.messages,
|
|
4076
4080
|
...n
|
|
@@ -4078,48 +4082,48 @@ var Rs = vs, zs = Ss, Bs = Os, Vs = Is, Hs = ({ message: e, trigger: t, initialV
|
|
|
4078
4082
|
})($s), tc = (e) => ({
|
|
4079
4083
|
kind: "program",
|
|
4080
4084
|
key: e
|
|
4081
|
-
}), nc = ({ programId: e, children: t }) => /* @__PURE__ */ (0,
|
|
4085
|
+
}), nc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, F.jsx)(Qe, {
|
|
4082
4086
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4083
4087
|
context: tc(e),
|
|
4084
|
-
flags:
|
|
4088
|
+
flags: et,
|
|
4085
4089
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4086
4090
|
options: { streaming: !1 },
|
|
4087
4091
|
children: t
|
|
4088
|
-
}), rc =
|
|
4089
|
-
|
|
4090
|
-
var ic =
|
|
4092
|
+
}), rc = Fe();
|
|
4093
|
+
E(v.jslibVersionActual, s(() => re(), "?")), E(v.clientVersion, s(() => re(), "?"));
|
|
4094
|
+
var ic = P.forwardRef(({ programId: t, trackingId: n = void 0 }, r) => {
|
|
4091
4095
|
try {
|
|
4092
|
-
|
|
4093
|
-
} catch (
|
|
4094
|
-
|
|
4096
|
+
fe();
|
|
4097
|
+
} catch (t) {
|
|
4098
|
+
e.warn("Failed to add predefined hooks", t);
|
|
4095
4099
|
}
|
|
4096
|
-
return (0,
|
|
4097
|
-
|
|
4100
|
+
return (0, P.useEffect)(() => {
|
|
4101
|
+
te();
|
|
4098
4102
|
}), rc.dispatch({
|
|
4099
|
-
programId:
|
|
4103
|
+
programId: t,
|
|
4100
4104
|
type: "PROGRAM_ID"
|
|
4101
|
-
}),
|
|
4102
|
-
refresh:
|
|
4103
|
-
reset:
|
|
4104
|
-
}), /* @__PURE__ */ (0,
|
|
4105
|
+
}), r && (r.current = {
|
|
4106
|
+
refresh: P.useCallback(() => rc.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4107
|
+
reset: P.useCallback(() => rc.dispatch({ type: "RESET_STATE" }), [])
|
|
4108
|
+
}), /* @__PURE__ */ (0, F.jsx)(Te, {
|
|
4105
4109
|
store: rc,
|
|
4106
|
-
children: /* @__PURE__ */ (0,
|
|
4107
|
-
programId:
|
|
4108
|
-
children: /* @__PURE__ */ (0,
|
|
4109
|
-
programId:
|
|
4110
|
-
trackingId:
|
|
4110
|
+
children: /* @__PURE__ */ (0, F.jsx)(nc, {
|
|
4111
|
+
programId: t,
|
|
4112
|
+
children: /* @__PURE__ */ (0, F.jsx)(ec, {
|
|
4113
|
+
programId: t,
|
|
4114
|
+
trackingId: n
|
|
4111
4115
|
})
|
|
4112
4116
|
})
|
|
4113
4117
|
});
|
|
4114
|
-
}), ac = class
|
|
4118
|
+
}), ac = class t {
|
|
4115
4119
|
element;
|
|
4116
4120
|
programId;
|
|
4117
4121
|
trackingId;
|
|
4118
4122
|
viewModel;
|
|
4119
4123
|
ref;
|
|
4120
|
-
constructor(
|
|
4121
|
-
if (!(this instanceof
|
|
4122
|
-
|
|
4124
|
+
constructor(n, r, i) {
|
|
4125
|
+
if (!(this instanceof t)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4126
|
+
e.info(`Constructing VerificationFormEs5 ${r}`), C(n), this.element = n, this.programId = r, this.trackingId = i, this.ref = P.createRef(), this.render();
|
|
4123
4127
|
}
|
|
4124
4128
|
refresh() {
|
|
4125
4129
|
this.ref.current.refresh();
|
|
@@ -4128,35 +4132,35 @@ var ic = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4128
4132
|
this.ref.current.reset();
|
|
4129
4133
|
}
|
|
4130
4134
|
render() {
|
|
4131
|
-
|
|
4135
|
+
dt.render(/* @__PURE__ */ (0, F.jsx)(ic, {
|
|
4132
4136
|
programId: this.programId,
|
|
4133
4137
|
trackingId: this.trackingId,
|
|
4134
4138
|
ref: this.ref
|
|
4135
4139
|
}), this.element);
|
|
4136
4140
|
}
|
|
4137
4141
|
unmount() {
|
|
4138
|
-
|
|
4142
|
+
dt.unmountComponentAtNode(this.element);
|
|
4139
4143
|
}
|
|
4140
4144
|
};
|
|
4141
4145
|
//#endregion
|
|
4142
4146
|
//#region src/lib/state/previewMessages.ts
|
|
4143
|
-
function oc(e,
|
|
4144
|
-
|
|
4145
|
-
...
|
|
4147
|
+
function oc(e, t) {
|
|
4148
|
+
Ee.set((n) => ({
|
|
4149
|
+
...n,
|
|
4146
4150
|
overrides: {
|
|
4147
|
-
...
|
|
4151
|
+
...n.overrides,
|
|
4148
4152
|
messages: {
|
|
4149
|
-
...
|
|
4153
|
+
...n.overrides.messages,
|
|
4150
4154
|
[e]: {
|
|
4151
|
-
...
|
|
4152
|
-
...
|
|
4155
|
+
...n.overrides.messages?.[e],
|
|
4156
|
+
...t
|
|
4153
4157
|
}
|
|
4154
4158
|
}
|
|
4155
4159
|
}
|
|
4156
|
-
})),
|
|
4160
|
+
})), n({ [e]: t });
|
|
4157
4161
|
}
|
|
4158
|
-
function sc(
|
|
4159
|
-
|
|
4162
|
+
function sc(e) {
|
|
4163
|
+
e.forEach((e) => t.removeResourceBundle(e, c.OPTIONS)), n(T().messagesWithLocale);
|
|
4160
4164
|
}
|
|
4161
4165
|
//#endregion
|
|
4162
4166
|
//#region src/lib/state/previewResponse.ts
|
|
@@ -4179,9 +4183,9 @@ async function lc(e) {
|
|
|
4179
4183
|
Object.keys(e).forEach((n) => {
|
|
4180
4184
|
let r = cc[n];
|
|
4181
4185
|
r && (t[r] = e[n]);
|
|
4182
|
-
}),
|
|
4183
|
-
let n = e.step ??
|
|
4184
|
-
|
|
4186
|
+
}), _(t);
|
|
4187
|
+
let n = e.step ?? Ee.get().overrides.mock?.step, r = n ? await Ke(n, Fe().getState().verificationResponse) : void 0;
|
|
4188
|
+
Ee.set((t) => ({
|
|
4185
4189
|
...t,
|
|
4186
4190
|
overrides: {
|
|
4187
4191
|
...t.overrides,
|
|
@@ -4196,42 +4200,42 @@ async function lc(e) {
|
|
|
4196
4200
|
//#endregion
|
|
4197
4201
|
//#region src/lib/state/previewApi.ts
|
|
4198
4202
|
function uc(e) {
|
|
4199
|
-
|
|
4203
|
+
ge({ programTheme: e });
|
|
4200
4204
|
}
|
|
4201
4205
|
function dc(e) {
|
|
4202
|
-
|
|
4206
|
+
ge({ programTheme: e });
|
|
4203
4207
|
}
|
|
4204
4208
|
function fc(e) {
|
|
4205
|
-
|
|
4209
|
+
ge({ response: e });
|
|
4206
4210
|
}
|
|
4207
4211
|
function pc(e) {
|
|
4208
|
-
let t =
|
|
4209
|
-
return
|
|
4212
|
+
let t = Fe(), { programId: n, verificationResponse: r } = t.getState();
|
|
4213
|
+
return ye(t.dispatch, n)(e, r?.segment);
|
|
4210
4214
|
}
|
|
4211
4215
|
function mc() {
|
|
4212
|
-
let e = Object.keys(
|
|
4213
|
-
|
|
4216
|
+
let e = Object.keys(Ee.get().overrides.messages ?? {});
|
|
4217
|
+
De(), sc(e);
|
|
4214
4218
|
}
|
|
4215
4219
|
//#endregion
|
|
4216
4220
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4217
|
-
|
|
4221
|
+
A(k.programBuilderPreview);
|
|
4218
4222
|
function hc(e, t) {
|
|
4219
4223
|
return new ac(e, t);
|
|
4220
4224
|
}
|
|
4221
4225
|
function gc(e) {
|
|
4222
|
-
|
|
4226
|
+
lt(e);
|
|
4223
4227
|
}
|
|
4224
4228
|
function _c(e) {
|
|
4225
|
-
|
|
4229
|
+
Re(), _(e);
|
|
4226
4230
|
}
|
|
4227
4231
|
function vc() {
|
|
4228
|
-
|
|
4232
|
+
d();
|
|
4229
4233
|
}
|
|
4230
4234
|
function yc(e) {
|
|
4231
|
-
|
|
4235
|
+
_({ _launchDarklyFlagCb: e });
|
|
4232
4236
|
}
|
|
4233
4237
|
function bc(e, t, n) {
|
|
4234
|
-
return
|
|
4238
|
+
return y(e, t, n);
|
|
4235
4239
|
}
|
|
4236
4240
|
var xc = {
|
|
4237
4241
|
loadInElement: hc,
|
|
@@ -4249,4 +4253,4 @@ var xc = {
|
|
|
4249
4253
|
clearPreview: mc
|
|
4250
4254
|
};
|
|
4251
4255
|
//#endregion
|
|
4252
|
-
export {
|
|
4256
|
+
export { Ot as A, hn as C, z as D, B as E, yt as M, mt as N, Bt as O, ft as P, xn as S, fn as T, Wn as _, to as a, Sn 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, Tt as j, Ft 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, Rn as v, pn as w, V as x, An as y };
|