@sheerid/jslib 2.310.0 → 2.312.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 +1310 -1258
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-CA5Jlokr.js → AddressComponent-BoIXEkQ1.js} +6 -6
- package/chunk/{AddressComponent-CA5Jlokr.js.map → AddressComponent-BoIXEkQ1.js.map} +1 -1
- package/chunk/{AddressComponent-CDrwwuUJ.js → AddressComponent-DeEEaX9k.js} +6 -6
- package/chunk/{AddressComponent-CDrwwuUJ.js.map → AddressComponent-DeEEaX9k.js.map} +1 -1
- package/chunk/AnnouncingHeader-CM01vEpF.js +4 -4
- package/chunk/AnnouncingHeader-CSh0UW8I.js +4 -4
- package/chunk/{BirthDateComponent-yEKEOgR4.js → BirthDateComponent-D7BbQdeu.js} +6 -6
- package/chunk/{BirthDateComponent-BC0V70wK.js.map → BirthDateComponent-D7BbQdeu.js.map} +1 -1
- package/chunk/{BirthDateComponent-BC0V70wK.js → BirthDateComponent-Dwfl6tYR.js} +6 -6
- package/chunk/{BirthDateComponent-yEKEOgR4.js.map → BirthDateComponent-Dwfl6tYR.js.map} +1 -1
- package/chunk/{CaptchaComponent-DllbmDK0.js → CaptchaComponent-BbQTpmWe.js} +10 -10
- package/chunk/{CaptchaComponent-DllbmDK0.js.map → CaptchaComponent-BbQTpmWe.js.map} +1 -1
- package/chunk/{CaptchaComponent-DD3afqj9.js → CaptchaComponent-DMFt9cDO.js} +17 -17
- package/chunk/{CaptchaComponent-DD3afqj9.js.map → CaptchaComponent-DMFt9cDO.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CZIXysUs.js → ChangeLocaleComponent-AKQ7gIkP.js} +8 -8
- package/chunk/{ChangeLocaleComponent-CZIXysUs.js.map → ChangeLocaleComponent-AKQ7gIkP.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DPFet-3o.js → ChangeLocaleComponent-BOFrHFyG.js} +8 -8
- package/chunk/{ChangeLocaleComponent-DPFet-3o.js.map → ChangeLocaleComponent-BOFrHFyG.js.map} +1 -1
- package/chunk/{City-vvOBoUFQ.js → City-D4to8D65.js} +6 -6
- package/chunk/{City-BmHGcOfW.js.map → City-D4to8D65.js.map} +1 -1
- package/chunk/{City-BmHGcOfW.js → City-D6VlEIOj.js} +6 -6
- package/chunk/{City-vvOBoUFQ.js.map → City-D6VlEIOj.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DJOrJnLR.js → CollegeNameComponent-882Xs3gD.js} +9 -9
- package/chunk/{CollegeNameComponent-DJOrJnLR.js.map → CollegeNameComponent-882Xs3gD.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C9nkGO5e.js → CollegeNameComponent-kUPYCkq1.js} +9 -9
- package/chunk/{CollegeNameComponent-C9nkGO5e.js.map → CollegeNameComponent-kUPYCkq1.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-BN9qCovT.js +4 -4
- package/chunk/CopyToClipboardComponent-Dag4rxf8.js +4 -4
- package/chunk/{CountryComponentWrapper-DOF9-DPR.js → CountryComponentWrapper-DN99F8hI.js} +11 -11
- package/chunk/{CountryComponentWrapper-DOF9-DPR.js.map → CountryComponentWrapper-DN99F8hI.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-nEV1lfX2.js → CountryComponentWrapper-DNNtLmuf.js} +11 -11
- package/chunk/{CountryComponentWrapper-nEV1lfX2.js.map → CountryComponentWrapper-DNNtLmuf.js.map} +1 -1
- package/chunk/{DischargeDateComponent-ksjLguz4.js → DischargeDateComponent-CbU9Hmdp.js} +10 -10
- package/chunk/{DischargeDateComponent-ksjLguz4.js.map → DischargeDateComponent-CbU9Hmdp.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DYvLJwpw.js → DischargeDateComponent-DON4nxw_.js} +10 -10
- package/chunk/{DischargeDateComponent-DYvLJwpw.js.map → DischargeDateComponent-DON4nxw_.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DGpqJpL5.js → DriverLicenseNumberComponent-DRiQa6Ga.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-CRhCxL68.js.map → DriverLicenseNumberComponent-DRiQa6Ga.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-CRhCxL68.js → DriverLicenseNumberComponent-DhfLaFR5.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-DGpqJpL5.js.map → DriverLicenseNumberComponent-DhfLaFR5.js.map} +1 -1
- package/chunk/{EmailLoopPending-DT9iYVy1.js → EmailLoopPending-DDfDm16i.js} +8 -8
- package/chunk/{EmailLoopPending-DT9iYVy1.js.map → EmailLoopPending-DDfDm16i.js.map} +1 -1
- package/chunk/{EmailLoopPending-LIPLNEou.js → EmailLoopPending-DXsNsJrc.js} +8 -8
- package/chunk/{EmailLoopPending-LIPLNEou.js.map → EmailLoopPending-DXsNsJrc.js.map} +1 -1
- package/chunk/{ExtraMessage-D7iqKQh4.js → ExtraMessage-CYfaHVd1.js} +5 -5
- package/chunk/{ExtraMessage-CreEN83x.js.map → ExtraMessage-CYfaHVd1.js.map} +1 -1
- package/chunk/{ExtraMessage-CreEN83x.js → ExtraMessage-DeGK3KwO.js} +5 -5
- package/chunk/{ExtraMessage-D7iqKQh4.js.map → ExtraMessage-DeGK3KwO.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CO5Rbiyg.js → FirstResponderOrganizationComponent-CEJ4sBZm.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-CO5Rbiyg.js.map → FirstResponderOrganizationComponent-CEJ4sBZm.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-D7APONNn.js → FirstResponderOrganizationComponent-GbRQ8ejW.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-D7APONNn.js.map → FirstResponderOrganizationComponent-GbRQ8ejW.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Cmb-cNuJ.js → FormFieldInputSelect-7FX3KIMN.js} +5 -5
- package/chunk/{FormFieldInputSelect-C5eFGFHW.js.map → FormFieldInputSelect-7FX3KIMN.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-C5eFGFHW.js → FormFieldInputSelect-CmGuSZoU.js} +5 -5
- package/chunk/{FormFieldInputSelect-Cmb-cNuJ.js.map → FormFieldInputSelect-CmGuSZoU.js.map} +1 -1
- package/chunk/FormFieldLayout-KJilu-sR.js +4 -4
- package/chunk/FormFieldLayout-UCIBwDRH.js +4 -4
- package/chunk/FormFieldText-B_2IOFED.js +4 -4
- package/chunk/FormFieldText-CkPmuIPf.js +4 -4
- package/chunk/{FormFieldTypeahead-BQPF0pJC.js → FormFieldTypeahead-0YtLKYp9.js} +88 -86
- package/chunk/{FormFieldTypeahead-BQPF0pJC.js.map → FormFieldTypeahead-0YtLKYp9.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-m1BQ6dRR.js → FormFieldTypeahead-Bn4oW-PC.js} +93 -91
- package/chunk/{FormFieldTypeahead-m1BQ6dRR.js.map → FormFieldTypeahead-Bn4oW-PC.js.map} +1 -1
- package/chunk/{FormFooterComponent-CHMM9xXM.js → FormFooterComponent-Brab2xcp.js} +331 -331
- package/chunk/{FormFooterComponent-CHMM9xXM.js.map → FormFooterComponent-Brab2xcp.js.map} +1 -1
- package/chunk/{FormFooterComponent-BaO1YAjx.js → FormFooterComponent-he4l6p39.js} +104 -104
- package/chunk/{FormFooterComponent-BaO1YAjx.js.map → FormFooterComponent-he4l6p39.js.map} +1 -1
- package/chunk/{FormSelectChoice-Cj8dBkIe.js → FormSelectChoice-CSGgtlv8.js} +6 -6
- package/chunk/{FormSelectChoice-Cj8dBkIe.js.map → FormSelectChoice-CSGgtlv8.js.map} +1 -1
- package/chunk/{FormSelectChoice-CHdts_po.js → FormSelectChoice-D5wZk7cJ.js} +6 -6
- package/chunk/{FormSelectChoice-CHdts_po.js.map → FormSelectChoice-D5wZk7cJ.js.map} +1 -1
- package/chunk/InputText-Bvj815Th.js +4 -4
- package/chunk/InputText-C2qEtF0t.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-CvEYI4fg.js → LicensedProfessionalOrganizationComponent-CCx7V-Xr.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-CvEYI4fg.js.map → LicensedProfessionalOrganizationComponent-CCx7V-Xr.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Ii7qB1KH.js → LicensedProfessionalOrganizationComponent-Dja--YUF.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-Ii7qB1KH.js.map → LicensedProfessionalOrganizationComponent-Dja--YUF.js.map} +1 -1
- package/chunk/{LogoComponent-COor2zpj.js → LogoComponent-C4UN1JY9.js} +5 -5
- package/chunk/{LogoComponent-CFElMGvH.js.map → LogoComponent-C4UN1JY9.js.map} +1 -1
- package/chunk/{LogoComponent-CFElMGvH.js → LogoComponent-C9UuIyxD.js} +5 -5
- package/chunk/{LogoComponent-COor2zpj.js.map → LogoComponent-C9UuIyxD.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CkCiLDt0.js → LowIncomeOrganizationComponent-BCi1j6_X.js} +10 -10
- package/chunk/{LowIncomeOrganizationComponent-CkCiLDt0.js.map → LowIncomeOrganizationComponent-BCi1j6_X.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BUUFcO8z.js → LowIncomeOrganizationComponent-CX8q3MDL.js} +10 -10
- package/chunk/{LowIncomeOrganizationComponent-BUUFcO8z.js.map → LowIncomeOrganizationComponent-CX8q3MDL.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-fHnvPaDU.js → MedicalProfessionalOrganizationComponent-CVig_7kH.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-fHnvPaDU.js.map → MedicalProfessionalOrganizationComponent-CVig_7kH.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CImYz1vZ.js → MedicalProfessionalOrganizationComponent-go1qSqrP.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-CImYz1vZ.js.map → MedicalProfessionalOrganizationComponent-go1qSqrP.js.map} +1 -1
- package/chunk/{MemberIdComponent-DkCrb8sm.js → MemberIdComponent-BABnLSRG.js} +6 -6
- package/chunk/{MemberIdComponent-CiyaUSIN.js.map → MemberIdComponent-BABnLSRG.js.map} +1 -1
- package/chunk/{MemberIdComponent-CiyaUSIN.js → MemberIdComponent-CDJ_XPc-.js} +6 -6
- package/chunk/{MemberIdComponent-DkCrb8sm.js.map → MemberIdComponent-CDJ_XPc-.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Dh39caqm.js → MembershipOrganizationComponent-BX7n9J08.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-Dh39caqm.js.map → MembershipOrganizationComponent-BX7n9J08.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-G9l5YJAV.js → MembershipOrganizationComponent-Dm6IXak0.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-G9l5YJAV.js.map → MembershipOrganizationComponent-Dm6IXak0.js.map} +1 -1
- package/chunk/{Message-B_RKEVv2.js → Message-C6bKPcuM.js} +408 -394
- package/chunk/Message-C6bKPcuM.js.map +1 -0
- package/chunk/{Message-jhvpcui8.js → Message-D2kP5FCJ.js} +390 -376
- package/chunk/Message-D2kP5FCJ.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-CzetrMl4.js → PersonalInfoStepSubmitButton-Cz5Ik4p9.js} +8 -8
- package/chunk/{PersonalInfoStepSubmitButton-CzetrMl4.js.map → PersonalInfoStepSubmitButton-Cz5Ik4p9.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-XKbJpeBB.js → PersonalInfoStepSubmitButton-DJ7FqfAK.js} +8 -8
- package/chunk/{PersonalInfoStepSubmitButton-XKbJpeBB.js.map → PersonalInfoStepSubmitButton-DJ7FqfAK.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-Cnse8JAf.js → PersonalInfoStepWrapper-C4g9QHwO.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-Cnse8JAf.js.map → PersonalInfoStepWrapper-C4g9QHwO.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-C72GphtU.js → PersonalInfoStepWrapper-Fjv1zouY.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-C72GphtU.js.map → PersonalInfoStepWrapper-Fjv1zouY.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DzKFsVmZ.js → PostalCodeComponent-B1MM4Jgt.js} +6 -6
- package/chunk/{PostalCodeComponent-Bhq1Okl6.js.map → PostalCodeComponent-B1MM4Jgt.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Bhq1Okl6.js → PostalCodeComponent-BrHnEVhq.js} +6 -6
- package/chunk/{PostalCodeComponent-DzKFsVmZ.js.map → PostalCodeComponent-BrHnEVhq.js.map} +1 -1
- package/chunk/{SSN-B2n_Gvf5.js → SSN-CgB4E28t.js} +6 -6
- package/chunk/{SSN-B2n_Gvf5.js.map → SSN-CgB4E28t.js.map} +1 -1
- package/chunk/{SSN-DwwJu9GH.js → SSN-DkEJjIbj.js} +6 -6
- package/chunk/{SSN-DwwJu9GH.js.map → SSN-DkEJjIbj.js.map} +1 -1
- package/chunk/{StateSelectComponent-D6kAZHc6.js → StateSelectComponent-CQqOuxkD.js} +6 -6
- package/chunk/{StateSelectComponent-D6kAZHc6.js.map → StateSelectComponent-CQqOuxkD.js.map} +1 -1
- package/chunk/{StateSelectComponent-2j4YT_bB.js → StateSelectComponent-DtQwQzeh.js} +6 -6
- package/chunk/{StateSelectComponent-2j4YT_bB.js.map → StateSelectComponent-DtQwQzeh.js.map} +1 -1
- package/chunk/{StatusComponent-DdTGrsZl.js → StatusComponent-9j39XhzT.js} +7 -7
- package/chunk/{StatusComponent-CK6ZFKRm.js.map → StatusComponent-9j39XhzT.js.map} +1 -1
- package/chunk/{StatusComponent-CK6ZFKRm.js → StatusComponent-rLMrqvfx.js} +7 -7
- package/chunk/{StatusComponent-DdTGrsZl.js.map → StatusComponent-rLMrqvfx.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CwM7MLuH.js → StepAgePersonalInfo-3pMQ5xmu.js} +18 -18
- package/chunk/{StepAgePersonalInfo-CwM7MLuH.js.map → StepAgePersonalInfo-3pMQ5xmu.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BHilnYDQ.js → StepAgePersonalInfo-BpWfNhEv.js} +19 -19
- package/chunk/{StepAgePersonalInfo-BHilnYDQ.js.map → StepAgePersonalInfo-BpWfNhEv.js.map} +1 -1
- package/chunk/StepCard-BEucy3JJ.js +4 -4
- package/chunk/StepCard-Blp7ZcI-.js +4 -4
- package/chunk/{StepCollectIdentifier-BPOXGTRD.js → StepCollectIdentifier-D3JteRRF.js} +7 -7
- package/chunk/{StepCollectIdentifier-BPOXGTRD.js.map → StepCollectIdentifier-D3JteRRF.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-B8oHm4pY.js → StepCollectIdentifier-Df1zQTCd.js} +7 -7
- package/chunk/{StepCollectIdentifier-B8oHm4pY.js.map → StepCollectIdentifier-Df1zQTCd.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CRvS_5S3.js → StepCollectMilitaryPersonalInfoComponent-CB3PLlYb.js} +23 -23
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CRvS_5S3.js.map → StepCollectMilitaryPersonalInfoComponent-CB3PLlYb.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-GnvZysih.js → StepCollectMilitaryPersonalInfoComponent-D5fEULP8.js} +23 -23
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-GnvZysih.js.map → StepCollectMilitaryPersonalInfoComponent-D5fEULP8.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-BwD7UzHh.js → StepCollectPersonalInfo-CX8h-lLL.js} +32 -32
- package/chunk/{StepCollectPersonalInfo-BwD7UzHh.js.map → StepCollectPersonalInfo-CX8h-lLL.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-Bv-SCda7.js → StepCollectPersonalInfo-Dht8LiHk.js} +35 -35
- package/chunk/{StepCollectPersonalInfo-Bv-SCda7.js.map → StepCollectPersonalInfo-Dht8LiHk.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BBeoOSVF.js → StepCompleteAuthentication-B_0EZ3mH.js} +6 -6
- package/chunk/{StepCompleteAuthentication-BBeoOSVF.js.map → StepCompleteAuthentication-B_0EZ3mH.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BMe7s_qR.js → StepCompleteAuthentication-Ds3ieihr.js} +6 -6
- package/chunk/{StepCompleteAuthentication-BMe7s_qR.js.map → StepCompleteAuthentication-Ds3ieihr.js.map} +1 -1
- package/chunk/{StepConsolation-Caze5btr.js → StepConsolation-C0N1GRlI.js} +6 -6
- package/chunk/{StepConsolation-Caze5btr.js.map → StepConsolation-C0N1GRlI.js.map} +1 -1
- package/chunk/{StepConsolation-BGOrLbzH.js → StepConsolation-wLDs-0mg.js} +6 -6
- package/chunk/{StepConsolation-BGOrLbzH.js.map → StepConsolation-wLDs-0mg.js.map} +1 -1
- package/chunk/{StepDocUpload-D0IxmE0P.js → StepDocUpload-BGvgOCT5.js} +11 -11
- package/chunk/{StepDocUpload-D0IxmE0P.js.map → StepDocUpload-BGvgOCT5.js.map} +1 -1
- package/chunk/{StepDocUpload-nT8znx0P.js → StepDocUpload-DssMCn-U.js} +11 -11
- package/chunk/{StepDocUpload-nT8znx0P.js.map → StepDocUpload-DssMCn-U.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CM5IRlqu.js → StepDriverLicensePersonalInfoComponent-5h_59-g_.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-CM5IRlqu.js.map → StepDriverLicensePersonalInfoComponent-5h_59-g_.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-wvW59Tge.js → StepDriverLicensePersonalInfoComponent-CedsuuPs.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-wvW59Tge.js.map → StepDriverLicensePersonalInfoComponent-CedsuuPs.js.map} +1 -1
- package/chunk/{StepEmailLoop-DidYd6Jn.js → StepEmailLoop-BgyTBu-u.js} +9 -9
- package/chunk/{StepEmailLoop-DidYd6Jn.js.map → StepEmailLoop-BgyTBu-u.js.map} +1 -1
- package/chunk/{StepEmailLoop-Do1RGSWH.js → StepEmailLoop-pva3laoI.js} +9 -9
- package/chunk/{StepEmailLoop-Do1RGSWH.js.map → StepEmailLoop-pva3laoI.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-ePSayAaT.js → StepEmploymentPersonalInfo-DZA-WCNB.js} +19 -19
- package/chunk/{StepEmploymentPersonalInfo-ePSayAaT.js.map → StepEmploymentPersonalInfo-DZA-WCNB.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-B-8A3qdb.js → StepEmploymentPersonalInfo-Dfp9QW8-.js} +19 -19
- package/chunk/{StepEmploymentPersonalInfo-B-8A3qdb.js.map → StepEmploymentPersonalInfo-Dfp9QW8-.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-DcFARvoh.js → StepFirstResponderPersonalInfo-BnZfWlpa.js} +21 -21
- package/chunk/{StepFirstResponderPersonalInfo-DcFARvoh.js.map → StepFirstResponderPersonalInfo-BnZfWlpa.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-DFuqzNs3.js → StepFirstResponderPersonalInfo-DlDcx7Yv.js} +21 -21
- package/chunk/{StepFirstResponderPersonalInfo-DFuqzNs3.js.map → StepFirstResponderPersonalInfo-DlDcx7Yv.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DOTlWwFp.js → StepGeneralIdentityPersonalInfoComponent-Bv8tMoOR.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-DOTlWwFp.js.map → StepGeneralIdentityPersonalInfoComponent-Bv8tMoOR.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CxiV3C3o.js → StepGeneralIdentityPersonalInfoComponent-SCTgUH4L.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CxiV3C3o.js.map → StepGeneralIdentityPersonalInfoComponent-SCTgUH4L.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-e9EsweLX.js → StepHybridIdentityPersonalInfoComponent-C7pMYvY6.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-e9EsweLX.js.map → StepHybridIdentityPersonalInfoComponent-C7pMYvY6.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BFEiAsZN.js → StepHybridIdentityPersonalInfoComponent-Cxl0Wslc.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BFEiAsZN.js.map → StepHybridIdentityPersonalInfoComponent-Cxl0Wslc.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CXeoR-Ja.js → StepIDCheckLoop-CLO_MLrV.js} +6 -6
- package/chunk/{StepIDCheckLoop-CXeoR-Ja.js.map → StepIDCheckLoop-CLO_MLrV.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-Dxs0LQVC.js → StepIDCheckLoop-DXEqOxvC.js} +6 -6
- package/chunk/{StepIDCheckLoop-Dxs0LQVC.js.map → StepIDCheckLoop-DXEqOxvC.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DQGqtIzk.js → StepIDCheckLoopOnfido-ZLbrVHIN.js} +8 -8
- package/chunk/{StepIDCheckLoopOnfido-DQGqtIzk.js.map → StepIDCheckLoopOnfido-ZLbrVHIN.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CBXReFo-.js → StepIDCheckLoopOnfido-yilH13Ng.js} +8 -8
- package/chunk/{StepIDCheckLoopOnfido-CBXReFo-.js.map → StepIDCheckLoopOnfido-yilH13Ng.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BhCTKXX5.js → StepIDCheckLoopRegula-CFVUDpKU.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-BhCTKXX5.js.map → StepIDCheckLoopRegula-CFVUDpKU.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B_ChARZG.js → StepIDCheckLoopRegula-hP3n4GeO.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-B_ChARZG.js.map → StepIDCheckLoopRegula-hP3n4GeO.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-7X6Ug5e6.js → StepLicensedProfessionalPersonalInfo-LYFcQDpP.js} +20 -20
- package/chunk/{StepLicensedProfessionalPersonalInfo-7X6Ug5e6.js.map → StepLicensedProfessionalPersonalInfo-LYFcQDpP.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DWFV8fJX.js → StepLicensedProfessionalPersonalInfo-oemUzTIe.js} +20 -20
- package/chunk/{StepLicensedProfessionalPersonalInfo-DWFV8fJX.js.map → StepLicensedProfessionalPersonalInfo-oemUzTIe.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-lxsM0k2r.js → StepLowIncomePersonalInfo-B-DGFkrI.js} +23 -23
- package/chunk/{StepLowIncomePersonalInfo-lxsM0k2r.js.map → StepLowIncomePersonalInfo-B-DGFkrI.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-7M5oYf-0.js → StepLowIncomePersonalInfo-SmoWqnNE.js} +26 -26
- package/chunk/{StepLowIncomePersonalInfo-7M5oYf-0.js.map → StepLowIncomePersonalInfo-SmoWqnNE.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-Bxd0ubJR.js → StepMedicalProfessionalPersonalInfo-DKA5np85.js} +21 -21
- package/chunk/{StepMedicalProfessionalPersonalInfo-Bxd0ubJR.js.map → StepMedicalProfessionalPersonalInfo-DKA5np85.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BRAHgo2q.js → StepMedicalProfessionalPersonalInfo-Dom3M0nW.js} +21 -21
- package/chunk/{StepMedicalProfessionalPersonalInfo-BRAHgo2q.js.map → StepMedicalProfessionalPersonalInfo-Dom3M0nW.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-VDTyExYV.js → StepMemberPersonalInfo-CvATZvNo.js} +16 -16
- package/chunk/{StepMemberPersonalInfo-VDTyExYV.js.map → StepMemberPersonalInfo-CvATZvNo.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-kcXiXhpq.js → StepMemberPersonalInfo-DNhZGs2f.js} +16 -16
- package/chunk/{StepMemberPersonalInfo-kcXiXhpq.js.map → StepMemberPersonalInfo-DNhZGs2f.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DmIFOPh5.js → StepMoverPersonalInfo-BLqEaySL.js} +14 -14
- package/chunk/{StepMoverPersonalInfo-DmIFOPh5.js.map → StepMoverPersonalInfo-BLqEaySL.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-l87LesOl.js → StepMoverPersonalInfo-DbSAn1aA.js} +14 -14
- package/chunk/{StepMoverPersonalInfo-l87LesOl.js.map → StepMoverPersonalInfo-DbSAn1aA.js.map} +1 -1
- package/chunk/{StepOverrideComponent-z1Ikjz0f.js → StepOverrideComponent-C9h9fP27.js} +8 -8
- package/chunk/{StepOverrideComponent-z1Ikjz0f.js.map → StepOverrideComponent-C9h9fP27.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CW4VkCwi.js → StepOverrideComponent-ghp8yoRN.js} +8 -8
- package/chunk/{StepOverrideComponent-CW4VkCwi.js.map → StepOverrideComponent-ghp8yoRN.js.map} +1 -1
- package/chunk/{StepSMSLoop-Dyl0Ff91.js → StepSMSLoop-CDRG7-3o.js} +5 -5
- package/chunk/{StepSMSLoop-Dyl0Ff91.js.map → StepSMSLoop-CDRG7-3o.js.map} +1 -1
- package/chunk/{StepSMSLoop-C0JrQqS1.js → StepSMSLoop-wiA0rt4U.js} +5 -5
- package/chunk/{StepSMSLoop-C0JrQqS1.js.map → StepSMSLoop-wiA0rt4U.js.map} +1 -1
- package/chunk/StepSSO-Bx1gQq5b.js +4 -4
- package/chunk/StepSSO-Cy9ViRyN.js +4 -4
- package/chunk/{StepSocialSecurityNumber-CUSbn9ky.js → StepSocialSecurityNumber-CGZhAqYm.js} +9 -9
- package/chunk/{StepSocialSecurityNumber-CUSbn9ky.js.map → StepSocialSecurityNumber-CGZhAqYm.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-O5fPKiI9.js → StepSocialSecurityNumber-ZJ1ZNHjg.js} +9 -9
- package/chunk/{StepSocialSecurityNumber-O5fPKiI9.js.map → StepSocialSecurityNumber-ZJ1ZNHjg.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BAQArfCf.js → StepStudentPersonalInfo-B8QwLWUK.js} +20 -20
- package/chunk/{StepStudentPersonalInfo-BAQArfCf.js.map → StepStudentPersonalInfo-B8QwLWUK.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-Bamp_lx6.js → StepStudentPersonalInfo-BXWQv_JA.js} +20 -20
- package/chunk/{StepStudentPersonalInfo-Bamp_lx6.js.map → StepStudentPersonalInfo-BXWQv_JA.js.map} +1 -1
- package/chunk/{StepSuccess-DKEVbl6y.js → StepSuccess-DZ-fwvIw.js} +9 -9
- package/chunk/{StepSuccess-DKEVbl6y.js.map → StepSuccess-DZ-fwvIw.js.map} +1 -1
- package/chunk/{StepSuccess-CyJo0wX0.js → StepSuccess-DmWCexUW.js} +9 -9
- package/chunk/{StepSuccess-CyJo0wX0.js.map → StepSuccess-DmWCexUW.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-B0HB_FxE.js → StepTeacherPersonalInfo-BRTHwZ0Z.js} +17 -17
- package/chunk/{StepTeacherPersonalInfo-B0HB_FxE.js.map → StepTeacherPersonalInfo-BRTHwZ0Z.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BEucyFHS.js → StepTeacherPersonalInfo-BcCWpqUN.js} +17 -17
- package/chunk/{StepTeacherPersonalInfo-BEucyFHS.js.map → StepTeacherPersonalInfo-BcCWpqUN.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BFizJiyZ.js +4 -4
- package/chunk/StepThirdPartyLoop-C9d7QWS3.js +4 -4
- package/chunk/{TeacherSchoolComponent-BMr7mVpV.js → TeacherSchoolComponent-DLxAYJLl.js} +9 -9
- package/chunk/{TeacherSchoolComponent-BMr7mVpV.js.map → TeacherSchoolComponent-DLxAYJLl.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-V4lovHE4.js → TeacherSchoolComponent-aOI2VcI5.js} +9 -9
- package/chunk/{TeacherSchoolComponent-V4lovHE4.js.map → TeacherSchoolComponent-aOI2VcI5.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-CuWxA5IP.js → TestingRouteOverrides-DXjtFZZd.js} +5 -5
- package/chunk/{TestingRouteOverrides-CuWxA5IP.js.map → TestingRouteOverrides-DXjtFZZd.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-CeN5B954.js → TestingRouteOverrides-fnlJLg1Z.js} +5 -5
- package/chunk/{TestingRouteOverrides-CeN5B954.js.map → TestingRouteOverrides-fnlJLg1Z.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-DC8twM4t.js +4 -4
- package/chunk/countryUtils-D1471i0b.js +12 -0
- package/chunk/{countryUtils-C_UVEq-E.js.map → countryUtils-D1471i0b.js.map} +1 -1
- package/chunk/{countryUtils-y0ivUOdj.js → countryUtils-KL2KBMOv.js} +5 -5
- package/chunk/{countryUtils-y0ivUOdj.js.map → countryUtils-KL2KBMOv.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-DLWkU0ic.js → downshift.esm-3XGVdV4K.js} +121 -121
- package/chunk/{downshift.esm-DLWkU0ic.js.map → downshift.esm-3XGVdV4K.js.map} +1 -1
- package/chunk/{downshift.esm-YF8KQ2l_.js → downshift.esm-DmlDHS_b.js} +5 -5
- package/chunk/{downshift.esm-YF8KQ2l_.js.map → downshift.esm-DmlDHS_b.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-CIHgi5OO.js → empties-BBKd53_B.js} +12 -5
- package/chunk/empties-BBKd53_B.js.map +1 -0
- package/chunk/{empties-CT4nwqif.js → empties-DcQjcgEV.js} +12 -5
- package/chunk/empties-DcQjcgEV.js.map +1 -0
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/getInstallType-BRxisNNY.js +4 -4
- package/chunk/getInstallType-DlS_DNKt.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-CzvMG3Q7.js → hooks-B7aeAwHn.js} +6 -6
- package/chunk/hooks-B7aeAwHn.js.map +1 -0
- package/chunk/{hooks-Dc2ICkLE.js → hooks-D0X_qdc-.js} +6 -6
- package/chunk/hooks-D0X_qdc-.js.map +1 -0
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/i18next-iyVj5hRL.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/intl-BK4prEGw.js +4 -4
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/jsx-runtime-BUMIo32n.js +4 -4
- package/chunk/jsx-runtime-DwmrsRqi.js +4 -4
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramBranding-C9Ysu3Mp.js +26 -0
- package/chunk/mockProgramBranding-C9Ysu3Mp.js.map +1 -0
- package/chunk/mockProgramConfiguration-YBQMVL51.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramTheme-Cfk2dzF3.js +4 -4
- package/chunk/mockProgramTheme-Cfk2dzF3.js.map +1 -1
- package/chunk/{mocks-aAiSx13N.js → mocks-DV23paUj.js} +5 -5
- package/chunk/{mocks-aAiSx13N.js.map → mocks-DV23paUj.js.map} +1 -1
- package/chunk/{mocks-Dbbpa-PB.js → mocks-R-p7VtJz.js} +5 -5
- package/chunk/{mocks-Dbbpa-PB.js.map → mocks-R-p7VtJz.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-r4JxFjsB.js → programThemeGetters-C8JS1yEr.js} +1707 -1700
- package/chunk/programThemeGetters-C8JS1yEr.js.map +1 -0
- package/chunk/{programThemeGetters-CGPGlO7Q.js → programThemeGetters-DXn-alcY.js} +77 -58
- package/chunk/programThemeGetters-DXn-alcY.js.map +1 -0
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-CeJt7-iZ.js → stepComponentHelpers-CyqXTDdj.js} +6 -6
- package/chunk/{stepComponentHelpers-CeJt7-iZ.js.map → stepComponentHelpers-CyqXTDdj.js.map} +1 -1
- package/chunk/{stepComponentHelpers-Djs_ph7X.js → stepComponentHelpers-Dztw-HNP.js} +6 -6
- package/chunk/{stepComponentHelpers-Djs_ph7X.js.map → stepComponentHelpers-Dztw-HNP.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-NVMDQMeW.js → useCollectFieldsEndpoint-84_Wz8sd.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-NVMDQMeW.js.map → useCollectFieldsEndpoint-84_Wz8sd.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-6IQu9HGj.js → useCollectFieldsEndpoint-CXmPHndq.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-6IQu9HGj.js.map → useCollectFieldsEndpoint-CXmPHndq.js.map} +1 -1
- package/chunk/{useMetrics-CWz02hZz.js → useMetrics-C13Ap129.js} +5 -5
- package/chunk/{useMetrics-CWz02hZz.js.map → useMetrics-C13Ap129.js.map} +1 -1
- package/chunk/{useMetrics-D-HTNFpy.js → useMetrics-O66_lNx5.js} +5 -5
- package/chunk/{useMetrics-D-HTNFpy.js.map → useMetrics-O66_lNx5.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.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 +896 -885
- package/sheerid.js.map +1 -1
- package/chunk/Message-B_RKEVv2.js.map +0 -1
- package/chunk/Message-jhvpcui8.js.map +0 -1
- package/chunk/countryUtils-C_UVEq-E.js +0 -12
- package/chunk/empties-CIHgi5OO.js.map +0 -1
- package/chunk/empties-CT4nwqif.js.map +0 -1
- package/chunk/hooks-CzvMG3Q7.js.map +0 -1
- package/chunk/hooks-Dc2ICkLE.js.map +0 -1
- package/chunk/programThemeGetters-CGPGlO7Q.js.map +0 -1
- package/chunk/programThemeGetters-r4JxFjsB.js.map +0 -1
package/_mysheerid-preview.js
CHANGED
|
@@ -4,49 +4,50 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.312.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1793657708319
|
|
9
|
+
* BUILD_DATE: Mon Nov 02 2026 22:15:08 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: d28d18cf826fdda5ef438b299140b7946082d830
|
|
11
11
|
*/
|
|
12
|
-
import { A as e, At as t, D as n, Dt as r, E as i, Et as a, O as o, Ot as s, T as c, at as l, b as u, c as d, ct as f, f as p, ft as m, g as h, gt as g, h as _, i as v, l as y, m as b, n as x, o as S, p as C, r as w, s as T, t as
|
|
13
|
-
import { S as
|
|
14
|
-
import { n as
|
|
15
|
-
import { i as
|
|
16
|
-
import { _ as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { a as
|
|
21
|
-
import { i as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
12
|
+
import { A as e, At as t, D as n, Dt as r, E as i, Et as a, O as o, Ot as s, T as c, at as l, b as u, c as d, ct as f, f as p, ft as m, g as h, gt as g, h as _, i as v, l as y, m as b, n as x, o as S, p as C, r as w, s as T, t as ee, v as te, w as E, x as D, y as O } from "./chunk/intl-BK4prEGw.js";
|
|
13
|
+
import { S as k, b as A, h as j, o as ne, x as re } from "./chunk/runtimeTypes-B2AGNJMT.js";
|
|
14
|
+
import { n as ie, r as ae, t as oe } from "./chunk/getInstallType-BRxisNNY.js";
|
|
15
|
+
import { i as se, n as M, s as ce, t as le } from "./chunk/jsx-runtime-BUMIo32n.js";
|
|
16
|
+
import { _ as ue, d as de, f as fe, g as pe, h as me, i as he, l as ge, m as _e, r as ve, t as N, y as ye } from "./chunk/Message-D2kP5FCJ.js";
|
|
17
|
+
import { B as be, D as xe, E as Se, H as Ce, L as we, M as Te, N as Ee, R as De, T as Oe, V as ke, W as Ae, _ as je, a as Me, b as Ne, c as Pe, d as Fe, f as Ie, g as Le, h as Re, i as ze, l as Be, m as Ve, o as He, rt as Ue, s as We, t as Ge, v as Ke, y as qe, z as Je } from "./chunk/programThemeGetters-DXn-alcY.js";
|
|
18
|
+
import { c as Ye } from "./chunk/empties-DcQjcgEV.js";
|
|
19
|
+
import { a as Xe, i as Ze, n as Qe, r as $e, t as et } from "./chunk/TestingRouteOverrides-DXjtFZZd.js";
|
|
20
|
+
import { D as tt, E as nt, T as rt, a as it, c as at, d as ot, f as st, h as ct, i as lt, l as ut, m as dt, n as ft, o as pt, p as mt, r as ht, s as gt, t as _t, u as vt, w as yt } from "./chunk/FormFooterComponent-Brab2xcp.js";
|
|
21
|
+
import { a as bt, i as xt, n as St, r as Ct, t as wt } from "./chunk/hooks-B7aeAwHn.js";
|
|
22
|
+
import { i as Tt, s as Et, t as Dt } from "./chunk/refs-Mq0rtW9K.js";
|
|
23
|
+
import { t as Ot } from "./chunk/LogoComponent-C4UN1JY9.js";
|
|
24
|
+
import { t as kt } from "./chunk/strings-DWLVdUcm.js";
|
|
25
|
+
import { t as At } from "./chunk/AnnouncingHeader-CSh0UW8I.js";
|
|
25
26
|
//#region ../node_modules/react-i18next/dist/es/I18nextProvider.js
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
let r = (0,
|
|
27
|
+
var P = /* @__PURE__ */ t(ce());
|
|
28
|
+
function jt({ i18n: e, defaultNS: t, children: n }) {
|
|
29
|
+
let r = (0, P.useMemo)(() => ({
|
|
29
30
|
i18n: e,
|
|
30
31
|
defaultNS: t
|
|
31
32
|
}), [e, t]);
|
|
32
|
-
return (0,
|
|
33
|
+
return (0, P.createElement)(ye.Provider, { value: r }, n);
|
|
33
34
|
}
|
|
34
35
|
//#endregion
|
|
35
36
|
//#region src/lib/VerificationService/ProgramTheme/ProgramTheme.ts
|
|
36
|
-
var
|
|
37
|
-
e.locale && e.messages && n(e),
|
|
38
|
-
},
|
|
39
|
-
let r =
|
|
40
|
-
let { programTheme: i, programConfiguration: a, programI18n: o } =
|
|
41
|
-
|
|
37
|
+
var Mt = (e, t) => {
|
|
38
|
+
e.locale && e.messages && n(e), Ee(e, t);
|
|
39
|
+
}, Nt = (t, n = { partial: !0 }) => {
|
|
40
|
+
let r = ht(), i = r.getState(), a = () => {
|
|
41
|
+
let { programTheme: i, programConfiguration: a, programI18n: o } = me(e(t));
|
|
42
|
+
k.info("Setting programTheme", i), o && Mt(o, n.partial), a && xe(a, n.partial), ot(r.dispatch)(i, n.partial), De(i, n.partial);
|
|
42
43
|
};
|
|
43
|
-
i.isLoading ?
|
|
44
|
+
i.isLoading ? yt({
|
|
44
45
|
name: "ON_VERIFICATION_READY",
|
|
45
46
|
callback: () => {
|
|
46
47
|
a();
|
|
47
48
|
}
|
|
48
49
|
}) : a();
|
|
49
|
-
},
|
|
50
|
+
}, Pt = /* @__PURE__ */ s(((e, t) => {
|
|
50
51
|
var n, r = n = {
|
|
51
52
|
_regexEscape: /([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,
|
|
52
53
|
_regexParseLocale: /^([a-zA-Z]*)([_\-a-zA-Z]*)$/,
|
|
@@ -113,13 +114,13 @@ var xt = (e, t) => {
|
|
|
113
114
|
enumerable: !0,
|
|
114
115
|
configurable: !1
|
|
115
116
|
}), t.exports = r;
|
|
116
|
-
})),
|
|
117
|
-
var n =
|
|
117
|
+
})), Ft = /* @__PURE__ */ s(((e, t) => {
|
|
118
|
+
var n = Pt();
|
|
118
119
|
t.exports = {
|
|
119
120
|
isRtlLang: n.isRtlLang,
|
|
120
121
|
getLangDir: n.getLangDir
|
|
121
122
|
};
|
|
122
|
-
})),
|
|
123
|
+
})), It = /* @__PURE__ */ t(r(), 1), Lt = /* @__PURE__ */ t(_e(), 1), Rt = /* @__PURE__ */ t(Oe(), 1), zt = /* @__PURE__ */ t(Ft(), 1), F = {
|
|
123
124
|
landingBackgroundColor: "#fff",
|
|
124
125
|
landingPrimaryFontColor: "#000",
|
|
125
126
|
landingBackgroundImage: "none",
|
|
@@ -133,7 +134,7 @@ var xt = (e, t) => {
|
|
|
133
134
|
formFont: "var(--sheerid-font-family-sans)",
|
|
134
135
|
cssVariables: null,
|
|
135
136
|
customStyles: null
|
|
136
|
-
},
|
|
137
|
+
}, Bt = P.createContext(F), I = le(), L = {
|
|
137
138
|
landingBackgroundColor: "--sheerid-landing-background-color",
|
|
138
139
|
landingPrimaryFontColor: "--sheerid-landing-primary-font-color",
|
|
139
140
|
landingBackgroundImage: "--sheerid-landing-background-image-url",
|
|
@@ -147,7 +148,7 @@ var xt = (e, t) => {
|
|
|
147
148
|
formFont: "--sheerid-font-family-body",
|
|
148
149
|
cssVariables: null,
|
|
149
150
|
customStyles: null
|
|
150
|
-
},
|
|
151
|
+
}, Vt = {
|
|
151
152
|
"--sheerid-color-fg-05": {
|
|
152
153
|
from: "--sheerid-color-bg",
|
|
153
154
|
to: "--sheerid-color-fg",
|
|
@@ -258,25 +259,25 @@ var xt = (e, t) => {
|
|
|
258
259
|
to: "--sheerid-color-fg",
|
|
259
260
|
percentage: 3
|
|
260
261
|
}
|
|
261
|
-
},
|
|
262
|
-
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 ||
|
|
263
|
-
[
|
|
264
|
-
[
|
|
265
|
-
[
|
|
266
|
-
[
|
|
267
|
-
[
|
|
268
|
-
[
|
|
269
|
-
[
|
|
270
|
-
[
|
|
271
|
-
[
|
|
272
|
-
[
|
|
273
|
-
[
|
|
274
|
-
...Object.entries(
|
|
262
|
+
}, Ht = ({ themeChoices: e, customCssFromOptions: t, children: n }) => {
|
|
263
|
+
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 || F.landingBackgroundColor, c = o?.primaryFontColor || F.landingPrimaryFontColor, l = o?.backgroundImageUrl || F.landingBackgroundImage, u = e?.backgroundColor || F.formBackgroundColor, d = e?.primaryFontColor || F.formPrimaryFontColor, f = e?.buttonColor || F.formButtonColor, p = e?.buttonFontColor || F.formButtonFontColor, m = e?.linkColor || F.formLinkColor, h = e?.h1FontColor || F.formH1FontColor, g = e?.helperFontColor || F.formHelperFontColor, _ = e?.font || F.formFont, v = {
|
|
264
|
+
[L.landingBackgroundColor]: s,
|
|
265
|
+
[L.landingPrimaryFontColor]: c,
|
|
266
|
+
[L.landingBackgroundImage]: l === F.landingBackgroundImage ? F.landingBackgroundImage : `url(${l})`,
|
|
267
|
+
[L.formBackgroundColor]: u,
|
|
268
|
+
[L.formPrimaryFontColor]: d,
|
|
269
|
+
[L.formButtonColor]: f,
|
|
270
|
+
[L.formButtonFontColor]: p,
|
|
271
|
+
[L.formLinkColor]: m,
|
|
272
|
+
[L.formH1FontColor]: h,
|
|
273
|
+
[L.formHelperFontColor]: g,
|
|
274
|
+
[L.formFont]: _ === F.formFont ? F.formFont : `${_}, var(--sheerid-font-family-sans)`,
|
|
275
|
+
...Object.entries(Vt).reduce((e, [t, n]) => {
|
|
275
276
|
let r = n.from.startsWith("--") ? `var(${n.from})` : n.from, i = n.to.startsWith("--") ? `var(${n.to})` : n.to;
|
|
276
277
|
return e[t] = `color-mix(in oklab, ${r} ${100 - n.percentage}%, ${i} ${n.percentage}%)`, e;
|
|
277
278
|
}, {})
|
|
278
|
-
}, y =
|
|
279
|
-
return /* @__PURE__ */ (0,
|
|
279
|
+
}, y = P.useRef(null), b = ie() === oe.cdnInlineIframe, x = ie() === oe.cdnModalIframe;
|
|
280
|
+
return /* @__PURE__ */ (0, I.jsx)(Bt.Provider, {
|
|
280
281
|
value: {
|
|
281
282
|
landingBackgroundColor: s,
|
|
282
283
|
landingPrimaryFontColor: c,
|
|
@@ -292,15 +293,15 @@ var xt = (e, t) => {
|
|
|
292
293
|
cssVariables: v,
|
|
293
294
|
customStyles: a
|
|
294
295
|
},
|
|
295
|
-
children: /* @__PURE__ */ (0,
|
|
296
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
296
297
|
style: v,
|
|
297
298
|
ref: y,
|
|
298
299
|
"data-in-iframe": b,
|
|
299
300
|
"data-in-modal": x,
|
|
300
|
-
children: [a && /* @__PURE__ */ (0,
|
|
301
|
+
children: [a && /* @__PURE__ */ (0, I.jsx)("style", { children: a }), n]
|
|
301
302
|
})
|
|
302
303
|
});
|
|
303
|
-
},
|
|
304
|
+
}, Ut = (e, t, n) => ({
|
|
304
305
|
minAge: t?.minAge || e?.minAge,
|
|
305
306
|
maxAge: t?.maxAge || e?.maxAge,
|
|
306
307
|
smsLoopEnabled: e?.smsLoopEnabled,
|
|
@@ -308,160 +309,160 @@ var xt = (e, t) => {
|
|
|
308
309
|
transitionalMilitaryValidityDays: e?.transitionalMilitaryValidityDays,
|
|
309
310
|
currentStep: t?.currentStep,
|
|
310
311
|
viewModel: n
|
|
311
|
-
}),
|
|
312
|
+
}), Wt = {}, Gt = (e) => Wt[e] ? (k.log(`getOverridenComponent returning ${e}`), Wt[e]) : null, Kt = () => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
312
313
|
className: "sid-spinner",
|
|
313
314
|
"data-testid": "sid-spinner",
|
|
314
315
|
children: [
|
|
315
|
-
/* @__PURE__ */ (0,
|
|
316
|
-
/* @__PURE__ */ (0,
|
|
317
|
-
/* @__PURE__ */ (0,
|
|
318
|
-
/* @__PURE__ */ (0,
|
|
316
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
317
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
318
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" }),
|
|
319
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-spinner__frame" })
|
|
319
320
|
]
|
|
320
|
-
}),
|
|
321
|
+
}), qt = ({ step: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
321
322
|
className: "sid-loading-screen__message",
|
|
322
|
-
children: [
|
|
323
|
+
children: [re(e) && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
323
324
|
className: "sid-loading-screen__message-header",
|
|
324
325
|
role: "alert",
|
|
325
|
-
children: /* @__PURE__ */ (0,
|
|
326
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
326
327
|
id: "step.personalInfo.verifyingTitle",
|
|
327
328
|
defaultMessage: "Verifying your status"
|
|
328
329
|
})
|
|
329
|
-
}), /* @__PURE__ */ (0,
|
|
330
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
330
331
|
className: "sid-loading-screen__message-subhead",
|
|
331
|
-
children: /* @__PURE__ */ (0,
|
|
332
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
332
333
|
id: "step.personalInfo.verifyingSubtitle",
|
|
333
334
|
defaultMessage: "This should only take a minute"
|
|
334
335
|
})
|
|
335
336
|
})]
|
|
336
|
-
}),
|
|
337
|
+
}), Jt = ({ step: e = et() }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
337
338
|
className: "sid-loading-screen",
|
|
338
|
-
children: [/* @__PURE__ */ (0,
|
|
339
|
-
}),
|
|
339
|
+
children: [/* @__PURE__ */ (0, I.jsx)(Kt, {}), e && /* @__PURE__ */ (0, I.jsx)(qt, { step: e })]
|
|
340
|
+
}), Yt = ({ verificationService: e, linkText: t }) => {
|
|
340
341
|
let { segment: n } = e.verificationResponse, { programId: r, programTheme: i } = e;
|
|
341
342
|
if (n) {
|
|
342
|
-
let a =
|
|
343
|
-
return /* @__PURE__ */ (0,
|
|
343
|
+
let a = Ge(i, n, r, ee(e.viewModel), e.verificationResponse);
|
|
344
|
+
return /* @__PURE__ */ (0, I.jsx)(ve, {
|
|
344
345
|
className: "sid-faq sid-link",
|
|
345
346
|
href: a,
|
|
346
|
-
children: t || /* @__PURE__ */ (0,
|
|
347
|
+
children: t || /* @__PURE__ */ (0, I.jsx)(M, {
|
|
347
348
|
id: "getHelp",
|
|
348
349
|
defaultMessage: "Get help"
|
|
349
350
|
})
|
|
350
351
|
});
|
|
351
352
|
}
|
|
352
353
|
return null;
|
|
353
|
-
},
|
|
354
|
+
}, Xt = /* @__PURE__ */ (0, I.jsx)(M, {
|
|
354
355
|
id: "poweredBy",
|
|
355
356
|
defaultMessage: "Verification services powered by SheerID."
|
|
356
|
-
}),
|
|
357
|
+
}), Zt = ({ verificationService: e, isCentered: t, variant: n = "default", hideFaqLink: r = !1 }) => {
|
|
357
358
|
switch (n) {
|
|
358
|
-
case "poweredby": return /* @__PURE__ */ (0,
|
|
359
|
+
case "poweredby": return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
359
360
|
className: "sid-footer__powered-by-container-experiment",
|
|
360
|
-
children: [/* @__PURE__ */ (0,
|
|
361
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
361
362
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
362
|
-
children:
|
|
363
|
-
}), !r && /* @__PURE__ */ (0,
|
|
363
|
+
children: Xt
|
|
364
|
+
}), !r && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
364
365
|
className: "sid-footer__powered-by_powerby-experiment",
|
|
365
|
-
children: /* @__PURE__ */ (0,
|
|
366
|
+
children: /* @__PURE__ */ (0, I.jsx)(Yt, { verificationService: e })
|
|
366
367
|
})]
|
|
367
368
|
});
|
|
368
|
-
case "verificationby": return /* @__PURE__ */ (0,
|
|
369
|
+
case "verificationby": return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
369
370
|
className: "sid-footer__powered-by-container--stacked sid-l-horz-center sid-footer__powered-by-experiment",
|
|
370
|
-
children: /* @__PURE__ */ (0,
|
|
371
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
371
372
|
className: "sid-footer__powered-by-verificationby-experiment",
|
|
372
|
-
children: [/* @__PURE__ */ (0,
|
|
373
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
373
374
|
className: "sid-footer__powered-by-icon-experiment",
|
|
374
|
-
children: /* @__PURE__ */ (0,
|
|
375
|
+
children: /* @__PURE__ */ (0, I.jsx)("img", {
|
|
375
376
|
alt: "",
|
|
376
377
|
src: "https://com-sheerid-resources.s3.us-east-1.amazonaws.com/common/images/2018/icons/sheerid_logo.svg"
|
|
377
378
|
})
|
|
378
|
-
}),
|
|
379
|
+
}), Xt]
|
|
379
380
|
})
|
|
380
381
|
});
|
|
381
|
-
default: return /* @__PURE__ */ (0,
|
|
382
|
+
default: return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
382
383
|
className: t ? "sid-footer__powered-by-container--stacked sid-l-horz-center" : "sid-footer__powered-by-container",
|
|
383
|
-
children: [/* @__PURE__ */ (0,
|
|
384
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
384
385
|
className: t ? "sid-footer__powered-by--stacked sid-l-horz-center" : "sid-footer__powered-by",
|
|
385
|
-
children:
|
|
386
|
-
}), !r && /* @__PURE__ */ (0,
|
|
386
|
+
children: Xt
|
|
387
|
+
}), !r && /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
387
388
|
className: t ? "sid-l-space-top-sm" : "",
|
|
388
|
-
children: ["\xA0", /* @__PURE__ */ (0,
|
|
389
|
+
children: ["\xA0", /* @__PURE__ */ (0, I.jsx)(Yt, { verificationService: e })]
|
|
389
390
|
})]
|
|
390
391
|
});
|
|
391
392
|
}
|
|
392
|
-
},
|
|
393
|
-
let n =
|
|
393
|
+
}, Qt = (e, t) => {
|
|
394
|
+
let n = P.useRef(null);
|
|
394
395
|
function r() {
|
|
395
396
|
clearInterval(n.current);
|
|
396
397
|
}
|
|
397
|
-
return
|
|
398
|
-
},
|
|
399
|
-
let a =
|
|
400
|
-
return /* @__PURE__ */ (0,
|
|
398
|
+
return P.useEffect(() => (n.current = setInterval(e, t), () => r()), [e, t]), r;
|
|
399
|
+
}, $t = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = nn.PRIMARY }) => {
|
|
400
|
+
let a = kt(e);
|
|
401
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
401
402
|
className: "sid-header sid-l-horz-center",
|
|
402
403
|
children: [
|
|
403
|
-
/* @__PURE__ */ (0,
|
|
404
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
404
405
|
className: "sid-pending-logo-container sid-l-horz-center",
|
|
405
406
|
children: n
|
|
406
407
|
}),
|
|
407
|
-
/* @__PURE__ */ (0,
|
|
408
|
+
/* @__PURE__ */ (0, I.jsx)(At, {
|
|
408
409
|
align: "center",
|
|
409
410
|
children: t.title
|
|
410
411
|
}),
|
|
411
|
-
/* @__PURE__ */ (0,
|
|
412
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
412
413
|
className: "sid-header__subtitle-one",
|
|
413
414
|
children: t.subtitle
|
|
414
415
|
}),
|
|
415
|
-
t?.subtitle2 && /* @__PURE__ */ (0,
|
|
416
|
-
/* @__PURE__ */ (0,
|
|
416
|
+
t?.subtitle2 && /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }),
|
|
417
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
417
418
|
className: "sid-header__subtitle-two sid-h-small-text sid-l-space-top-md",
|
|
418
|
-
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0,
|
|
419
|
+
children: [t?.subtitle2 && t.subtitle2, /* @__PURE__ */ (0, I.jsx)("div", {
|
|
419
420
|
className: `sid-form-region sid-${a}-pending-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
420
|
-
children: /* @__PURE__ */ (0,
|
|
421
|
+
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
421
422
|
onClick: r,
|
|
422
423
|
type: "submit",
|
|
423
|
-
className: `sid-btn sid-${a}-pending-submit-btn ${i ===
|
|
424
|
+
className: `sid-btn sid-${a}-pending-submit-btn ${i === nn.SECONDARY ? "sid-btn-light" : "sid-btn--dark"} sid-l-full-width`,
|
|
424
425
|
"aria-label": "submit",
|
|
425
426
|
children: t.cancel
|
|
426
427
|
})
|
|
427
428
|
})]
|
|
428
429
|
}),
|
|
429
|
-
t?.subtitle2 ? /* @__PURE__ */ (0,
|
|
430
|
+
t?.subtitle2 ? /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" }) : /* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
430
431
|
]
|
|
431
432
|
});
|
|
432
|
-
},
|
|
433
|
+
}, en = ({ stepName: e, messages: t, logo: n, cancelSingleSignOn: r, cancelButtonType: i = nn.PRIMARY }) => /* @__PURE__ */ (0, I.jsx)($t, {
|
|
433
434
|
messages: t,
|
|
434
435
|
stepName: e,
|
|
435
436
|
logo: n,
|
|
436
437
|
cancelSingleSignOn: r,
|
|
437
438
|
cancelButtonType: i
|
|
438
|
-
}),
|
|
439
|
-
let i =
|
|
440
|
-
return /* @__PURE__ */ (0,
|
|
439
|
+
}), tn = ({ messages: e, verificationService: t, updateViewModelAndOpenLoginTab: n, dashedStepName: r }) => {
|
|
440
|
+
let i = wt("hc-my-sheer-id-theme-builder");
|
|
441
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
441
442
|
className: "sid-header sid-l-horz-center",
|
|
442
443
|
children: [
|
|
443
|
-
/* @__PURE__ */ (0,
|
|
444
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
444
445
|
className: `sid-${r}-logo-container sid-l-horz-center`,
|
|
445
|
-
children: /* @__PURE__ */ (0,
|
|
446
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ot, {
|
|
446
447
|
verificationService: t,
|
|
447
|
-
fallbackLogo: !i && /* @__PURE__ */ (0,
|
|
448
|
+
fallbackLogo: !i && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
448
449
|
className: `sid-${r}-logo-default sid-l-lead-image`,
|
|
449
450
|
alt: "",
|
|
450
451
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"
|
|
451
452
|
})
|
|
452
453
|
})
|
|
453
454
|
}),
|
|
454
|
-
/* @__PURE__ */ (0,
|
|
455
|
+
/* @__PURE__ */ (0, I.jsx)(At, {
|
|
455
456
|
align: "center",
|
|
456
457
|
children: e.title
|
|
457
458
|
}),
|
|
458
|
-
/* @__PURE__ */ (0,
|
|
459
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
459
460
|
className: "sid-header__subtitle-one",
|
|
460
461
|
children: e.subtitle
|
|
461
462
|
}),
|
|
462
|
-
/* @__PURE__ */ (0,
|
|
463
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
463
464
|
className: `sid-form-region sid-${r}-submit sid-submit-wrapper sid-l-space-top-md`,
|
|
464
|
-
children: /* @__PURE__ */ (0,
|
|
465
|
+
children: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
465
466
|
id: `sid-submit-btn-${r}`,
|
|
466
467
|
onClick: () => n("isSingleSignOnActive", !0),
|
|
467
468
|
type: "submit",
|
|
@@ -469,15 +470,15 @@ var xt = (e, t) => {
|
|
|
469
470
|
children: e.login
|
|
470
471
|
})
|
|
471
472
|
}),
|
|
472
|
-
/* @__PURE__ */ (0,
|
|
473
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-lg" })
|
|
473
474
|
]
|
|
474
475
|
});
|
|
475
|
-
},
|
|
476
|
+
}, nn = /* @__PURE__ */ function(e) {
|
|
476
477
|
return e.PRIMARY = "primary", e.SECONDARY = "secondary", e;
|
|
477
|
-
}({}),
|
|
478
|
-
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: l, locale: u } = e.verificationResponse, d =
|
|
478
|
+
}({}), rn = ({ verificationService: e, stepName: t, messages: n, cancelButtonType: r = "primary" }) => {
|
|
479
|
+
let { programId: i } = e, a = e.viewModel, o = e.previousViewModel || void 0, s = e.verificationResponse, c = e.previousVerificationResponse || void 0, { verificationId: l, locale: u } = e.verificationResponse, d = Xe(), f = kt(t), p = wt("hc-my-sheer-id-theme-builder"), g, _ = /* @__PURE__ */ (0, I.jsx)(Ot, {
|
|
479
480
|
verificationService: e,
|
|
480
|
-
fallbackLogo: !p && /* @__PURE__ */ (0,
|
|
481
|
+
fallbackLogo: !p && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
481
482
|
className: `sid-${f}-logo-default sid-l-lead-image`,
|
|
482
483
|
alt: "",
|
|
483
484
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
@@ -490,179 +491,179 @@ var xt = (e, t) => {
|
|
|
490
491
|
});
|
|
491
492
|
e.updateViewModel(r);
|
|
492
493
|
}, b = () => {
|
|
493
|
-
|
|
494
|
+
O(h.SSO_CANCEL_CLICKED, {
|
|
494
495
|
programId: i,
|
|
495
496
|
locale: u,
|
|
496
497
|
verificationId: l
|
|
497
|
-
}),
|
|
498
|
+
}), Dt();
|
|
498
499
|
let n = C(a, () => {});
|
|
499
|
-
|
|
500
|
+
k.info("SingleSignOnComponent submitting cancel request"), clearTimeout(g), e.submitStep(t, n, e.verificationResponse);
|
|
500
501
|
}, x = (e, t) => {
|
|
501
|
-
|
|
502
|
+
O(h.SSO_SIGN_IN_CLICKED, {
|
|
502
503
|
programId: i,
|
|
503
504
|
locale: u,
|
|
504
505
|
verificationId: l
|
|
505
506
|
}), y(e, t), S();
|
|
506
507
|
}, S = () => {
|
|
507
|
-
let e = t ===
|
|
508
|
-
m(e) ? (
|
|
508
|
+
let e = t === A.sso ? ge(s.loginUrl) : s.loginUrl;
|
|
509
|
+
m(e) ? (Et(window.open(e, "_blank")), Tt().focus()) : k.error("Invalid loginUrl - must be an absolute http(s) URL. Not opening the login tab.", "sso loginUrl");
|
|
509
510
|
};
|
|
510
|
-
return a.isSingleSignOnActive && !d && (g = v()), !a.countryChoice && o && o.countryChoice && y("countryChoice", o.countryChoice), /* @__PURE__ */ (0,
|
|
511
|
+
return a.isSingleSignOnActive && !d && (g = v()), !a.countryChoice && o && o.countryChoice && y("countryChoice", o.countryChoice), /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
511
512
|
id: `sid-step-${f}`,
|
|
512
513
|
className: `sid-${f}-container sid-l-container`,
|
|
513
514
|
"data-testid": `sid-step-${f}`,
|
|
514
|
-
children: [/* @__PURE__ */ (0,
|
|
515
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
515
516
|
role: "main",
|
|
516
|
-
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0,
|
|
517
|
+
children: a.isSingleSignOnActive ? /* @__PURE__ */ (0, I.jsx)(en, {
|
|
517
518
|
stepName: t,
|
|
518
519
|
messages: n,
|
|
519
520
|
logo: _,
|
|
520
521
|
cancelSingleSignOn: b,
|
|
521
522
|
cancelButtonType: r
|
|
522
|
-
}) : /* @__PURE__ */ (0,
|
|
523
|
+
}) : /* @__PURE__ */ (0, I.jsx)(tn, {
|
|
523
524
|
verificationService: e,
|
|
524
525
|
messages: n,
|
|
525
526
|
updateViewModelAndOpenLoginTab: x,
|
|
526
527
|
dashedStepName: f
|
|
527
528
|
})
|
|
528
|
-
}), /* @__PURE__ */ (0,
|
|
529
|
+
}), /* @__PURE__ */ (0, I.jsx)(_t, { verificationService: e })]
|
|
529
530
|
});
|
|
530
|
-
},
|
|
531
|
-
title: /* @__PURE__ */ (0,
|
|
531
|
+
}, an = {
|
|
532
|
+
title: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
532
533
|
id: "step.sso.title",
|
|
533
534
|
defaultMessage: "Verify using your school credentials",
|
|
534
535
|
tagName: "h1"
|
|
535
536
|
}),
|
|
536
|
-
subtitle: /* @__PURE__ */ (0,
|
|
537
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
537
538
|
id: "step.sso.subtitle",
|
|
538
539
|
defaultMessage: "Please sign in to your school's web portal. It will open in a new tab."
|
|
539
540
|
}),
|
|
540
|
-
login: /* @__PURE__ */ (0,
|
|
541
|
+
login: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
541
542
|
id: "step.sso.login",
|
|
542
543
|
defaultMessage: "Sign in to my school"
|
|
543
544
|
}),
|
|
544
|
-
cancel: /* @__PURE__ */ (0,
|
|
545
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
545
546
|
id: "step.sso.cancel",
|
|
546
547
|
defaultMessage: "Upload Proof of Enrollment"
|
|
547
548
|
}),
|
|
548
|
-
subtitle2: /* @__PURE__ */ (0,
|
|
549
|
+
subtitle2: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
549
550
|
id: "step.sso.subtitle2",
|
|
550
551
|
defaultMessage: "Can't sign in to your school?"
|
|
551
552
|
})
|
|
552
|
-
},
|
|
553
|
+
}, on = ({ verificationService: e }) => /* @__PURE__ */ (0, I.jsx)(rn, {
|
|
553
554
|
verificationService: e,
|
|
554
|
-
stepName:
|
|
555
|
-
messages:
|
|
556
|
-
}),
|
|
555
|
+
stepName: A.sso,
|
|
556
|
+
messages: an
|
|
557
|
+
}), sn = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
557
558
|
className: "sid-header sid-l-horz-center",
|
|
558
559
|
"data-testid": "sid-review-pending",
|
|
559
560
|
children: [
|
|
560
|
-
/* @__PURE__ */ (0,
|
|
561
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
561
562
|
className: "sid-l-horz-center",
|
|
562
563
|
children: e
|
|
563
564
|
}),
|
|
564
|
-
/* @__PURE__ */ (0,
|
|
565
|
+
/* @__PURE__ */ (0, I.jsx)(At, {
|
|
565
566
|
align: "center",
|
|
566
|
-
children: /* @__PURE__ */ (0,
|
|
567
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
567
568
|
id: "step.pending.titleReview",
|
|
568
569
|
defaultMessage: "Reviewing",
|
|
569
570
|
tagName: "h1"
|
|
570
571
|
})
|
|
571
572
|
}),
|
|
572
|
-
/* @__PURE__ */ (0,
|
|
573
|
+
/* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
573
574
|
id: "step.pending.uploadedDocument",
|
|
574
575
|
defaultMessage: "Your document was uploaded successfully and is being reviewed."
|
|
575
576
|
}) }),
|
|
576
|
-
/* @__PURE__ */ (0,
|
|
577
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
577
578
|
className: "sid-header__subtitle-one sid-l-space-top-md",
|
|
578
|
-
children: /* @__PURE__ */ (0,
|
|
579
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "step.pending.turnaroundTime" })
|
|
579
580
|
}),
|
|
580
|
-
/* @__PURE__ */ (0,
|
|
581
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
581
582
|
className: "sid-header__subtitle-two sid-l-space-top-md",
|
|
582
|
-
children: /* @__PURE__ */ (0,
|
|
583
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
583
584
|
id: "step.pending.subtitle2",
|
|
584
585
|
defaultMessage: "Wait here or let us notify you of the outcome."
|
|
585
586
|
})
|
|
586
587
|
}),
|
|
587
|
-
/* @__PURE__ */ (0,
|
|
588
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
588
589
|
className: "sid-header__subtitle-three sid-l-space-top-md",
|
|
589
|
-
children: /* @__PURE__ */ (0,
|
|
590
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
590
591
|
id: "step.pending.subtitle3",
|
|
591
592
|
defaultMessage: "You will be contacted via email."
|
|
592
593
|
})
|
|
593
594
|
}),
|
|
594
|
-
/* @__PURE__ */ (0,
|
|
595
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
595
596
|
]
|
|
596
|
-
}),
|
|
597
|
+
}), cn = ({ logo: e }) => /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
597
598
|
className: "sid-header sid-l-horz-center",
|
|
598
599
|
"data-testid": "sid-review-pending",
|
|
599
600
|
children: [
|
|
600
|
-
/* @__PURE__ */ (0,
|
|
601
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
601
602
|
className: "sid-l-horz-center",
|
|
602
603
|
children: e
|
|
603
604
|
}),
|
|
604
|
-
/* @__PURE__ */ (0,
|
|
605
|
+
/* @__PURE__ */ (0, I.jsx)(At, {
|
|
605
606
|
align: "center",
|
|
606
|
-
children: /* @__PURE__ */ (0,
|
|
607
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
607
608
|
id: "step.pending.idCheckLoop.title",
|
|
608
609
|
defaultMessage: "We're reviewing your documents",
|
|
609
610
|
tagName: "h1"
|
|
610
611
|
})
|
|
611
612
|
}),
|
|
612
|
-
/* @__PURE__ */ (0,
|
|
613
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
613
614
|
className: "sid-header__subtitle-one",
|
|
614
|
-
children: /* @__PURE__ */ (0,
|
|
615
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
615
616
|
id: "step.pending.idCheckLoop.subtitle",
|
|
616
617
|
defaultMessage: "Hold tight, turnaround time is typically a few minutes or less."
|
|
617
618
|
})
|
|
618
619
|
}),
|
|
619
|
-
/* @__PURE__ */ (0,
|
|
620
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
620
621
|
className: "sid-header__subtitle-two sid-l-space-top-md sid-h-bold-text",
|
|
621
|
-
children: /* @__PURE__ */ (0,
|
|
622
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
622
623
|
id: "step.pending.idCheckLoop.subtitle2",
|
|
623
624
|
defaultMessage: "We'll send you an email when we're finished reviewing."
|
|
624
625
|
})
|
|
625
626
|
}),
|
|
626
|
-
/* @__PURE__ */ (0,
|
|
627
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-xl" })
|
|
627
628
|
]
|
|
628
|
-
}),
|
|
629
|
-
title: /* @__PURE__ */ (0,
|
|
629
|
+
}), ln = { [j.SIGNZY]: {
|
|
630
|
+
title: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
630
631
|
id: "step.thirdPartyLoop.signzy.title",
|
|
631
632
|
tagName: "h1",
|
|
632
633
|
defaultMessage: "Verify using DigiLocker"
|
|
633
634
|
}),
|
|
634
|
-
subtitle: /* @__PURE__ */ (0,
|
|
635
|
+
subtitle: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
635
636
|
id: "step.thirdPartyLoop.signzy.subtitle",
|
|
636
637
|
defaultMessage: "Verify using your DigiLocker login information"
|
|
637
638
|
}),
|
|
638
|
-
login: /* @__PURE__ */ (0,
|
|
639
|
+
login: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
639
640
|
id: "step.thirdPartyLoop.signzy.login",
|
|
640
641
|
defaultMessage: "Sign in to DigiLocker"
|
|
641
642
|
}),
|
|
642
|
-
cancel: /* @__PURE__ */ (0,
|
|
643
|
+
cancel: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
643
644
|
id: "step.thirdPartyLoop.signzy.cancel",
|
|
644
645
|
defaultMessage: "Upload Proof of Identity"
|
|
645
646
|
})
|
|
646
|
-
} },
|
|
647
|
-
let n = /* @__PURE__ */ (0,
|
|
647
|
+
} }, un = ({ logo: e, isStepRoot: t = !1 }) => {
|
|
648
|
+
let n = /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
648
649
|
className: "sid-header sid-l-horz-center",
|
|
649
650
|
children: [
|
|
650
|
-
/* @__PURE__ */ (0,
|
|
651
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
651
652
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
652
653
|
children: e
|
|
653
654
|
}),
|
|
654
|
-
/* @__PURE__ */ (0,
|
|
655
|
+
/* @__PURE__ */ (0, I.jsx)(At, {
|
|
655
656
|
align: "center",
|
|
656
|
-
children: /* @__PURE__ */ (0,
|
|
657
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
657
658
|
id: "error",
|
|
658
659
|
tagName: "h1"
|
|
659
660
|
})
|
|
660
661
|
}),
|
|
661
|
-
/* @__PURE__ */ (0,
|
|
662
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
662
663
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
663
|
-
children: /* @__PURE__ */ (0,
|
|
664
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
664
665
|
className: "sid-error-msg sid-l-horz-center",
|
|
665
|
-
children: /* @__PURE__ */ (0,
|
|
666
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, {
|
|
666
667
|
id: "step.thirdPartyLoop.error",
|
|
667
668
|
defaultMessage: "Provider not supported"
|
|
668
669
|
})
|
|
@@ -670,230 +671,230 @@ var xt = (e, t) => {
|
|
|
670
671
|
})
|
|
671
672
|
]
|
|
672
673
|
});
|
|
673
|
-
return /* @__PURE__ */ (0,
|
|
674
|
+
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
674
675
|
id: "sid-step-third-party-loop",
|
|
675
676
|
className: "sid-step-third-party-loop-container sid-l-container",
|
|
676
677
|
"data-testid": "sid-step-third-party-loop-error",
|
|
677
|
-
children: t ? /* @__PURE__ */ (0,
|
|
678
|
+
children: t ? /* @__PURE__ */ (0, I.jsx)("div", {
|
|
678
679
|
role: "main",
|
|
679
680
|
children: n
|
|
680
681
|
}) : n
|
|
681
682
|
});
|
|
682
|
-
},
|
|
683
|
-
let t =
|
|
684
|
-
return t ? /* @__PURE__ */ (0,
|
|
683
|
+
}, dn = ({ verificationService: e }) => {
|
|
684
|
+
let t = ln[e.verificationResponse.thirdPartyLoopProvider] || void 0, n = wt("hc-my-sheer-id-theme-builder");
|
|
685
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(rn, {
|
|
685
686
|
verificationService: e,
|
|
686
|
-
stepName:
|
|
687
|
+
stepName: A.thirdPartyLoop,
|
|
687
688
|
messages: t,
|
|
688
|
-
cancelButtonType:
|
|
689
|
-
}) : /* @__PURE__ */ (0,
|
|
689
|
+
cancelButtonType: nn.SECONDARY
|
|
690
|
+
}) : /* @__PURE__ */ (0, I.jsx)(un, {
|
|
690
691
|
isStepRoot: !0,
|
|
691
|
-
logo: /* @__PURE__ */ (0,
|
|
692
|
+
logo: /* @__PURE__ */ (0, I.jsx)(Ot, {
|
|
692
693
|
verificationService: e,
|
|
693
|
-
fallbackLogo: !n && /* @__PURE__ */ (0,
|
|
694
|
+
fallbackLogo: !n && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
694
695
|
className: "sid-error-logo sid-l-lead-image",
|
|
695
696
|
alt: "",
|
|
696
697
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
697
698
|
})
|
|
698
699
|
})
|
|
699
700
|
});
|
|
700
|
-
},
|
|
701
|
-
let i =
|
|
702
|
-
return i ? /* @__PURE__ */ (0,
|
|
703
|
-
stepName:
|
|
701
|
+
}, fn = ({ logo: e, verificationLastResponse: t, cancelThirdPartyLoop: n, isMockingPreviousStepThirdPartyLoop: r }) => {
|
|
702
|
+
let i = ln[r ? Ze(l) : t?.thirdPartyLoopProvider] || void 0;
|
|
703
|
+
return i ? /* @__PURE__ */ (0, I.jsx)(en, {
|
|
704
|
+
stepName: A.thirdPartyLoop,
|
|
704
705
|
messages: i,
|
|
705
706
|
logo: e,
|
|
706
707
|
cancelSingleSignOn: n,
|
|
707
|
-
cancelButtonType:
|
|
708
|
-
}) : /* @__PURE__ */ (0,
|
|
709
|
-
},
|
|
710
|
-
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o =
|
|
711
|
-
|
|
708
|
+
cancelButtonType: nn.SECONDARY
|
|
709
|
+
}) : /* @__PURE__ */ (0, I.jsx)(un, { logo: e });
|
|
710
|
+
}, pn = 5e3, mn = 2e4, hn = 2e4, gn = 2e3, _n = ({ verificationService: e }) => {
|
|
711
|
+
let { programId: t } = e, { viewModel: n } = e, r = e.previousViewModel || void 0, i = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: a } = e.verificationResponse, o = Xe(), s = $e() && $e() === A.sso, c = $e() && $e() === A.thirdPartyLoop, l = $e() && $e() === A.idCheckLoop, u = wt("hc-my-sheer-id-theme-builder"), d = () => i?.currentStep === A.sso, f = () => i?.currentStep === A.thirdPartyLoop, p = () => i?.currentStep === A.idCheckLoop, m = d() || f() || s || c, h = p() || l, g = !m && !h, [_, v] = P.useState(() => m ? gn : h ? hn : pn);
|
|
712
|
+
P.useEffect(() => {
|
|
712
713
|
if (!g) return;
|
|
713
|
-
let e = setTimeout(() => v(
|
|
714
|
+
let e = setTimeout(() => v(hn), mn);
|
|
714
715
|
return () => clearTimeout(e);
|
|
715
716
|
}, [g]);
|
|
716
|
-
let y = !o &&
|
|
717
|
+
let y = !o && Qt(() => {
|
|
717
718
|
e.fetchExistingVerificationRequest(t, a, i, r, !1);
|
|
718
719
|
}, _), b = (t) => {
|
|
719
720
|
let r = C(n, () => {});
|
|
720
|
-
|
|
721
|
-
}, x = /* @__PURE__ */ (0,
|
|
721
|
+
k.info("StepSingleSignOnComponent submitting cancel request, step:", t), y(), Dt(), e.submitStep(t, r, i);
|
|
722
|
+
}, x = /* @__PURE__ */ (0, I.jsx)(Ot, {
|
|
722
723
|
verificationService: e,
|
|
723
|
-
fallbackLogo: !u && /* @__PURE__ */ (0,
|
|
724
|
+
fallbackLogo: !u && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
724
725
|
className: "sid-l-lead-image",
|
|
725
726
|
alt: "",
|
|
726
727
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"
|
|
727
728
|
})
|
|
728
729
|
});
|
|
729
|
-
return /* @__PURE__ */ (0,
|
|
730
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
730
731
|
id: "sid-step-pending",
|
|
731
732
|
className: "sid-l-container",
|
|
732
|
-
children: [/* @__PURE__ */ (0,
|
|
733
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
733
734
|
role: "main",
|
|
734
735
|
children: (() => {
|
|
735
736
|
let e = d() || s, t = f() || c, n = p() || l;
|
|
736
|
-
return e ? /* @__PURE__ */ (0,
|
|
737
|
-
stepName:
|
|
738
|
-
messages:
|
|
737
|
+
return e ? /* @__PURE__ */ (0, I.jsx)(en, {
|
|
738
|
+
stepName: A.sso,
|
|
739
|
+
messages: an,
|
|
739
740
|
logo: x,
|
|
740
|
-
cancelSingleSignOn: () => b(
|
|
741
|
-
}) : t ? /* @__PURE__ */ (0,
|
|
741
|
+
cancelSingleSignOn: () => b(A.sso)
|
|
742
|
+
}) : t ? /* @__PURE__ */ (0, I.jsx)(fn, {
|
|
742
743
|
logo: x,
|
|
743
|
-
cancelThirdPartyLoop: () => b(
|
|
744
|
+
cancelThirdPartyLoop: () => b(A.thirdPartyLoop),
|
|
744
745
|
verificationLastResponse: i,
|
|
745
746
|
isMockingPreviousStepThirdPartyLoop: c
|
|
746
|
-
}) : n ? /* @__PURE__ */ (0,
|
|
747
|
+
}) : n ? /* @__PURE__ */ (0, I.jsx)(cn, { logo: x }) : /* @__PURE__ */ (0, I.jsx)(sn, { logo: x });
|
|
747
748
|
})()
|
|
748
|
-
}), h ? /* @__PURE__ */ (0,
|
|
749
|
+
}), h ? /* @__PURE__ */ (0, I.jsx)(Zt, {
|
|
749
750
|
verificationService: e,
|
|
750
751
|
isCentered: !0
|
|
751
|
-
}) : /* @__PURE__ */ (0,
|
|
752
|
+
}) : /* @__PURE__ */ (0, I.jsxs)(_t, {
|
|
752
753
|
verificationService: e,
|
|
753
|
-
children: [/* @__PURE__ */ (0,
|
|
754
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {}), " "]
|
|
754
755
|
})]
|
|
755
756
|
});
|
|
756
|
-
},
|
|
757
|
-
let e =
|
|
757
|
+
}, vn = () => {
|
|
758
|
+
let e = ze(), t = We(), n = Ie(), r = a(() => n.segment), i = P.useCallback(() => {
|
|
758
759
|
if (window.self !== window.top) {
|
|
759
760
|
let e = new URL(window.location.href);
|
|
760
761
|
e.searchParams.delete("verificationId"), window.location.replace(e);
|
|
761
762
|
} else (async () => {
|
|
762
|
-
|
|
763
|
+
gt(e)(), await pt(e)(t, r, void 0, void 0, !0);
|
|
763
764
|
})();
|
|
764
765
|
}, [
|
|
765
766
|
e,
|
|
766
767
|
t,
|
|
767
768
|
r
|
|
768
769
|
]);
|
|
769
|
-
return /* @__PURE__ */ (0,
|
|
770
|
+
return /* @__PURE__ */ (0, I.jsx)("button", {
|
|
770
771
|
type: "button",
|
|
771
772
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
772
773
|
onClick: i,
|
|
773
774
|
onKeyPress: i,
|
|
774
|
-
children: /* @__PURE__ */ (0,
|
|
775
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "tryAgain" })
|
|
775
776
|
});
|
|
776
|
-
},
|
|
777
|
+
}, yn = {
|
|
777
778
|
NONE: "none",
|
|
778
779
|
RESET: "reset",
|
|
779
780
|
POSTMESSAGE: "postMessage",
|
|
780
781
|
REDIRECT: "redirect"
|
|
781
|
-
},
|
|
782
|
-
let e =
|
|
782
|
+
}, bn = () => {
|
|
783
|
+
let e = Ie(), t = () => fe({
|
|
783
784
|
action: "tryAgain",
|
|
784
785
|
verificationResponse: e
|
|
785
786
|
});
|
|
786
|
-
return /* @__PURE__ */ (0,
|
|
787
|
+
return /* @__PURE__ */ (0, I.jsx)("button", {
|
|
787
788
|
type: "button",
|
|
788
789
|
className: "sid-btn sid-btn-light sid-btn__try-again",
|
|
789
790
|
onClick: t,
|
|
790
791
|
onKeyPress: t,
|
|
791
|
-
children: /* @__PURE__ */ (0,
|
|
792
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "tryAgain" })
|
|
792
793
|
});
|
|
793
|
-
},
|
|
794
|
+
}, xn = ({ redirectUrl: e, target: t = "_blank" }) => /* @__PURE__ */ (0, I.jsx)(ve, {
|
|
794
795
|
target: t,
|
|
795
796
|
href: e.toString(),
|
|
796
797
|
className: "sid-btn sid-btn--dark",
|
|
797
|
-
children: /* @__PURE__ */ (0,
|
|
798
|
-
}),
|
|
799
|
-
if (!(typeof e == "object" && "type" in e && Object.values(
|
|
800
|
-
},
|
|
798
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "seeOtherOffers" })
|
|
799
|
+
}), Sn = (e) => {
|
|
800
|
+
if (!(typeof e == "object" && "type" in e && Object.values(yn).includes(e.type))) throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
801
|
+
}, Cn = () => {
|
|
801
802
|
let e = S("tryAgainAction");
|
|
802
803
|
try {
|
|
803
|
-
switch (
|
|
804
|
-
case
|
|
805
|
-
case
|
|
806
|
-
case
|
|
804
|
+
switch (Sn(e), e.type) {
|
|
805
|
+
case yn.NONE: return null;
|
|
806
|
+
case yn.POSTMESSAGE: return window.self === window.top ? (k.error(`Invalid tryAgainAction option type "${e.type}" - page must be embedded in an iframe.`), null) : /* @__PURE__ */ (0, I.jsx)(bn, {});
|
|
807
|
+
case yn.REDIRECT:
|
|
807
808
|
if (!m(e.url)) throw RangeError("Invalid tryAgainAction redirect url - must be an absolute http(s) URL. Using default TryAgainButton.");
|
|
808
|
-
return /* @__PURE__ */ (0,
|
|
809
|
+
return /* @__PURE__ */ (0, I.jsx)(xn, {
|
|
809
810
|
redirectUrl: e.url,
|
|
810
811
|
target: e.target
|
|
811
812
|
});
|
|
812
|
-
case
|
|
813
|
+
case yn.RESET: return /* @__PURE__ */ (0, I.jsx)(vn, {});
|
|
813
814
|
default: throw RangeError("Invalid tryAgainAction option type - using default TryAgainButton.");
|
|
814
815
|
}
|
|
815
816
|
} catch (e) {
|
|
816
|
-
return
|
|
817
|
+
return k.error(e.message), /* @__PURE__ */ (0, I.jsx)(vn, {});
|
|
817
818
|
}
|
|
818
|
-
},
|
|
819
|
+
}, wn = [
|
|
819
820
|
"docReviewLimitExceeded",
|
|
820
821
|
"verificationLimitExceeded",
|
|
821
822
|
"fraudRulesReject"
|
|
822
|
-
],
|
|
823
|
-
let t =
|
|
824
|
-
return /* @__PURE__ */ (0,
|
|
823
|
+
], Tn = ({ errorIds: e }) => {
|
|
824
|
+
let t = Pe(), n = e[0], r = t?.[`step.error.errorId.${n}.title`] ? `step.error.errorId.${n}.title` : "step.error.title";
|
|
825
|
+
return /* @__PURE__ */ (0, I.jsx)(At, {
|
|
825
826
|
align: "center",
|
|
826
|
-
children: /* @__PURE__ */ (0,
|
|
827
|
+
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: /* @__PURE__ */ (0, I.jsx)(N, { id: r }) })
|
|
827
828
|
});
|
|
828
|
-
},
|
|
829
|
+
}, En = ({ errorIds: e, errorDetailId: t }) => {
|
|
829
830
|
let n = /* @__PURE__ */ new Map();
|
|
830
|
-
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0,
|
|
831
|
-
},
|
|
832
|
-
let t =
|
|
833
|
-
return t?.[n] ? /* @__PURE__ */ (0,
|
|
831
|
+
return t ? n.set(t, `errorDetailId.${t}`) : e?.forEach((e) => n.set(e, `errorId.${e}`)), n.size > 0 ? /* @__PURE__ */ (0, I.jsx)("p", { children: Array.from(n).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(N, { id: t }, t)) }) : null;
|
|
832
|
+
}, Dn = ({ errorIds: e }) => {
|
|
833
|
+
let t = Pe(), n = `step.error.errorId.${e[0]}.note`;
|
|
834
|
+
return t?.[n] ? /* @__PURE__ */ (0, I.jsx)("p", {
|
|
834
835
|
className: "sid-error-note sid-h-small-text",
|
|
835
|
-
children: /* @__PURE__ */ (0,
|
|
836
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: n })
|
|
836
837
|
}) : null;
|
|
837
|
-
},
|
|
838
|
-
let r =
|
|
838
|
+
}, On = ({ verificationService: e, errorIds: t, redirectUrl: n }) => {
|
|
839
|
+
let r = Pe();
|
|
839
840
|
if (t.includes("unauthorizedAccountStatus")) {
|
|
840
841
|
let t = a(() => e.programTheme.config.brandInfo.faqUrl);
|
|
841
|
-
return t ? /* @__PURE__ */ (0,
|
|
842
|
+
return t ? /* @__PURE__ */ (0, I.jsx)(ve, {
|
|
842
843
|
href: t,
|
|
843
|
-
onClick: () => u(
|
|
844
|
+
onClick: () => u(A.error, t),
|
|
844
845
|
className: "sid-btn sid-faq-btn sid-btn-light",
|
|
845
|
-
children: /* @__PURE__ */ (0,
|
|
846
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "step.error.errorId.unauthorizedAccountStatus.buttonText" })
|
|
846
847
|
}) : null;
|
|
847
848
|
}
|
|
848
849
|
if (t.includes("verificationLimitExceeded")) return null;
|
|
849
|
-
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return S("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0,
|
|
850
|
+
if (t.includes("missingRequiredMetadata") || t.includes("missingRequiredExternalId")) return S("tryAgainAction").type === "reset" ? null : /* @__PURE__ */ (0, I.jsx)(Cn, {});
|
|
850
851
|
let i = t[0];
|
|
851
|
-
return r?.[`step.error.errorId.${i}.buttonText`] && m(n) ? /* @__PURE__ */ (0,
|
|
852
|
+
return r?.[`step.error.errorId.${i}.buttonText`] && m(n) ? /* @__PURE__ */ (0, I.jsx)(ve, {
|
|
852
853
|
href: n,
|
|
853
|
-
onClick: () => u(
|
|
854
|
+
onClick: () => u(A.error, n),
|
|
854
855
|
className: "sid-btn sid-error-btn sid-btn-light",
|
|
855
|
-
children: /* @__PURE__ */ (0,
|
|
856
|
-
}) : /* @__PURE__ */ (0,
|
|
857
|
-
},
|
|
858
|
-
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a =
|
|
856
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: `step.error.errorId.${i}.buttonText` })
|
|
857
|
+
}) : /* @__PURE__ */ (0, I.jsx)(Cn, {});
|
|
858
|
+
}, kn = ({ verificationService: e, errorId: t }) => {
|
|
859
|
+
let { errorIds: n, redirectUrl: r, errorDetailId: i } = e.verificationResponse, a = wt("hc-my-sheer-id-theme-builder"), o = /* @__PURE__ */ new Set();
|
|
859
860
|
t && o.add(t), Array.isArray(n) && n.forEach((e) => o.add(e));
|
|
860
|
-
let s = Array.from(o), c = s.some((e) =>
|
|
861
|
-
return /* @__PURE__ */ (0,
|
|
861
|
+
let s = Array.from(o), c = s.some((e) => wn.includes(e));
|
|
862
|
+
return /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
862
863
|
id: "sid-step-error",
|
|
863
864
|
className: "sid-error-container sid-l-container",
|
|
864
|
-
children: [/* @__PURE__ */ (0,
|
|
865
|
+
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
865
866
|
className: "sid-header sid-l-horz-center",
|
|
866
867
|
role: "banner",
|
|
867
868
|
children: [
|
|
868
|
-
/* @__PURE__ */ (0,
|
|
869
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
869
870
|
className: "sid-error-logo-container sid-l-horz-center",
|
|
870
|
-
children: /* @__PURE__ */ (0,
|
|
871
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ot, {
|
|
871
872
|
verificationService: e,
|
|
872
|
-
fallbackLogo: !a && /* @__PURE__ */ (0,
|
|
873
|
+
fallbackLogo: !a && /* @__PURE__ */ (0, I.jsx)("img", {
|
|
873
874
|
className: "sid-error-logo sid-l-lead-image",
|
|
874
875
|
alt: "",
|
|
875
876
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"
|
|
876
877
|
})
|
|
877
878
|
})
|
|
878
879
|
}),
|
|
879
|
-
/* @__PURE__ */ (0,
|
|
880
|
-
/* @__PURE__ */ (0,
|
|
880
|
+
/* @__PURE__ */ (0, I.jsx)(Tn, { errorIds: s }),
|
|
881
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
881
882
|
className: "sid-header__subtitle sid-l-horz-center sid-l-space-top-md",
|
|
882
883
|
children: [
|
|
883
|
-
/* @__PURE__ */ (0,
|
|
884
|
+
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
884
885
|
className: "sid-error-msg sid-l-horz-center",
|
|
885
|
-
children: [/* @__PURE__ */ (0,
|
|
886
|
+
children: [/* @__PURE__ */ (0, I.jsx)(En, {
|
|
886
887
|
errorIds: s,
|
|
887
888
|
errorDetailId: i
|
|
888
|
-
}), /* @__PURE__ */ (0,
|
|
889
|
+
}), /* @__PURE__ */ (0, I.jsx)(Dn, { errorIds: s })]
|
|
889
890
|
}),
|
|
890
|
-
c && /* @__PURE__ */ (0,
|
|
891
|
+
c && /* @__PURE__ */ (0, I.jsx)("p", {
|
|
891
892
|
className: "sid-error-contact-support sid-l-space-top-md",
|
|
892
|
-
children: /* @__PURE__ */ (0,
|
|
893
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "contactSupport" })
|
|
893
894
|
}),
|
|
894
|
-
/* @__PURE__ */ (0,
|
|
895
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
895
896
|
className: "sid-l-space-top-lg sid-error-button-container sid-l-horz-center",
|
|
896
|
-
children: /* @__PURE__ */ (0,
|
|
897
|
+
children: /* @__PURE__ */ (0, I.jsx)(On, {
|
|
897
898
|
verificationService: e,
|
|
898
899
|
errorIds: s,
|
|
899
900
|
redirectUrl: r
|
|
@@ -902,266 +903,266 @@ var xt = (e, t) => {
|
|
|
902
903
|
]
|
|
903
904
|
})
|
|
904
905
|
]
|
|
905
|
-
}), /* @__PURE__ */ (0,
|
|
906
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
906
907
|
className: "sid-footer sid-powered-by-container sid-l-horz-center sid-l-space-top-xl sid-h-small-text",
|
|
907
|
-
children: /* @__PURE__ */ (0,
|
|
908
|
+
children: /* @__PURE__ */ (0, I.jsx)(Zt, {
|
|
908
909
|
verificationService: e,
|
|
909
910
|
isCentered: !0,
|
|
910
911
|
hideFaqLink: c
|
|
911
912
|
})
|
|
912
913
|
})]
|
|
913
914
|
});
|
|
914
|
-
},
|
|
915
|
-
StepPendingComponent:
|
|
916
|
-
StepErrorComponent:
|
|
917
|
-
StepStudentPersonalInfoComponent:
|
|
918
|
-
StepOverrideComponent:
|
|
919
|
-
StepAgePersonalInfoComponent:
|
|
920
|
-
StepSeniorPersonalInfoComponent:
|
|
921
|
-
StepCollectMilitaryPersonalInfoComponent:
|
|
922
|
-
StepCollectMilitaryStatusComponent:
|
|
923
|
-
StepActiveMilitaryPersonalInfoComponent:
|
|
924
|
-
StepInactiveMilitaryPersonalInfoComponent:
|
|
925
|
-
StepDriverLicensePersonalInfoComponent:
|
|
926
|
-
StepEmploymentPersonalInfoComponent:
|
|
927
|
-
StepFirstResponderPersonalInfoComponent:
|
|
928
|
-
StepGeneralIdentityPersonalInfoComponent:
|
|
929
|
-
StepHybridIdentityPersonalInfoComponent:
|
|
930
|
-
StepIDCheckLoopComponent:
|
|
931
|
-
StepLicensedProfessionalPersonalInfoComponent:
|
|
932
|
-
StepLowIncomePersonalInfoComponent:
|
|
933
|
-
StepMedicalProfessionalPersonalInfoComponent:
|
|
934
|
-
StepMemberPersonalInfoComponent:
|
|
935
|
-
StepConsolationComponent:
|
|
936
|
-
StepDocUploadComponent:
|
|
937
|
-
StepEmailLoopComponent:
|
|
938
|
-
StepPendingEmailLoopComponent:
|
|
939
|
-
StepMoverPersonalInfoComponent:
|
|
940
|
-
StepSMSLoopComponent:
|
|
941
|
-
StepSocialSecurity:
|
|
942
|
-
StepSSOComponent:
|
|
943
|
-
StepSuccessComponent:
|
|
944
|
-
StepTeacherPersonalInfoComponent:
|
|
945
|
-
StepCompleteAuthentication:
|
|
946
|
-
StepCollectIdentifierComponent:
|
|
947
|
-
StepCollectPersonalInfo:
|
|
948
|
-
StepThirdPartyLoopComponent:
|
|
949
|
-
},
|
|
950
|
-
|
|
915
|
+
}, An = {
|
|
916
|
+
StepPendingComponent: _n,
|
|
917
|
+
StepErrorComponent: kn,
|
|
918
|
+
StepStudentPersonalInfoComponent: P.lazy(() => import("./chunk/StepStudentPersonalInfo-BXWQv_JA.js")),
|
|
919
|
+
StepOverrideComponent: P.lazy(() => import("./chunk/StepOverrideComponent-ghp8yoRN.js")),
|
|
920
|
+
StepAgePersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-BpWfNhEv.js")),
|
|
921
|
+
StepSeniorPersonalInfoComponent: P.lazy(() => import("./chunk/StepAgePersonalInfo-BpWfNhEv.js")),
|
|
922
|
+
StepCollectMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CB3PLlYb.js")),
|
|
923
|
+
StepCollectMilitaryStatusComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CB3PLlYb.js")),
|
|
924
|
+
StepActiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CB3PLlYb.js")),
|
|
925
|
+
StepInactiveMilitaryPersonalInfoComponent: P.lazy(() => import("./chunk/StepCollectMilitaryPersonalInfoComponent-CB3PLlYb.js")),
|
|
926
|
+
StepDriverLicensePersonalInfoComponent: P.lazy(() => import("./chunk/StepDriverLicensePersonalInfoComponent-5h_59-g_.js")),
|
|
927
|
+
StepEmploymentPersonalInfoComponent: P.lazy(() => import("./chunk/StepEmploymentPersonalInfo-DZA-WCNB.js")),
|
|
928
|
+
StepFirstResponderPersonalInfoComponent: P.lazy(() => import("./chunk/StepFirstResponderPersonalInfo-DlDcx7Yv.js")),
|
|
929
|
+
StepGeneralIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepGeneralIdentityPersonalInfoComponent-Bv8tMoOR.js")),
|
|
930
|
+
StepHybridIdentityPersonalInfoComponent: P.lazy(() => import("./chunk/StepHybridIdentityPersonalInfoComponent-C7pMYvY6.js")),
|
|
931
|
+
StepIDCheckLoopComponent: P.lazy(() => import("./chunk/StepIDCheckLoop-DXEqOxvC.js")),
|
|
932
|
+
StepLicensedProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepLicensedProfessionalPersonalInfo-LYFcQDpP.js")),
|
|
933
|
+
StepLowIncomePersonalInfoComponent: P.lazy(() => import("./chunk/StepLowIncomePersonalInfo-SmoWqnNE.js")),
|
|
934
|
+
StepMedicalProfessionalPersonalInfoComponent: P.lazy(() => import("./chunk/StepMedicalProfessionalPersonalInfo-Dom3M0nW.js")),
|
|
935
|
+
StepMemberPersonalInfoComponent: P.lazy(() => import("./chunk/StepMemberPersonalInfo-DNhZGs2f.js")),
|
|
936
|
+
StepConsolationComponent: P.lazy(() => import("./chunk/StepConsolation-C0N1GRlI.js")),
|
|
937
|
+
StepDocUploadComponent: P.lazy(() => import("./chunk/StepDocUpload-BGvgOCT5.js")),
|
|
938
|
+
StepEmailLoopComponent: P.lazy(() => import("./chunk/StepEmailLoop-pva3laoI.js")),
|
|
939
|
+
StepPendingEmailLoopComponent: P.lazy(() => import("./chunk/EmailLoopPending-DXsNsJrc.js").then((e) => e.n)),
|
|
940
|
+
StepMoverPersonalInfoComponent: P.lazy(() => import("./chunk/StepMoverPersonalInfo-BLqEaySL.js")),
|
|
941
|
+
StepSMSLoopComponent: P.lazy(() => import("./chunk/StepSMSLoop-CDRG7-3o.js")),
|
|
942
|
+
StepSocialSecurity: P.lazy(() => import("./chunk/StepSocialSecurityNumber-ZJ1ZNHjg.js")),
|
|
943
|
+
StepSSOComponent: P.lazy(() => import("./chunk/StepSSO-Cy9ViRyN.js")),
|
|
944
|
+
StepSuccessComponent: P.lazy(() => import("./chunk/StepSuccess-DmWCexUW.js")),
|
|
945
|
+
StepTeacherPersonalInfoComponent: P.lazy(() => import("./chunk/StepTeacherPersonalInfo-BcCWpqUN.js")),
|
|
946
|
+
StepCompleteAuthentication: P.lazy(() => import("./chunk/StepCompleteAuthentication-B_0EZ3mH.js")),
|
|
947
|
+
StepCollectIdentifierComponent: P.lazy(() => import("./chunk/StepCollectIdentifier-D3JteRRF.js")),
|
|
948
|
+
StepCollectPersonalInfo: P.lazy(() => import("./chunk/StepCollectPersonalInfo-Dht8LiHk.js")),
|
|
949
|
+
StepThirdPartyLoopComponent: P.lazy(() => import("./chunk/StepThirdPartyLoop-C9d7QWS3.js"))
|
|
950
|
+
}, R = (e) => (k.info("getComponent", e), Gt(e) || An[e]), jn = () => /* @__PURE__ */ (0, I.jsx)(Jt, {}), Mn = ({ stepToLoad: e, verificationService: t }) => {
|
|
951
|
+
k.info(`LoadStepComponent: rendering step: ${e}`);
|
|
951
952
|
let n;
|
|
952
|
-
switch ((0,
|
|
953
|
+
switch ((0, P.useEffect)(() => {
|
|
953
954
|
try {
|
|
954
955
|
performance.mark(_.INITIAL_STEP_LOAD);
|
|
955
956
|
} catch {}
|
|
956
|
-
}, []),
|
|
957
|
+
}, []), P.useEffect(() => {
|
|
957
958
|
if (!["pending", "error"].includes(e)) try {
|
|
958
|
-
performance.mark(h.STEP_SEEN),
|
|
959
|
+
performance.mark(h.STEP_SEEN), D({
|
|
959
960
|
eventName: h.STEP_SEEN,
|
|
960
961
|
params: { step: e }
|
|
961
962
|
});
|
|
962
963
|
} catch (e) {
|
|
963
|
-
|
|
964
|
+
k.error(e);
|
|
964
965
|
}
|
|
965
966
|
}, [e]), e) {
|
|
966
967
|
case "collectPersonalInfo":
|
|
967
|
-
n =
|
|
968
|
+
n = R("StepCollectPersonalInfo");
|
|
968
969
|
break;
|
|
969
970
|
case "collectStudentPersonalInfo":
|
|
970
|
-
n =
|
|
971
|
+
n = R("StepStudentPersonalInfoComponent");
|
|
971
972
|
break;
|
|
972
973
|
case "collectSeniorPersonalInfo":
|
|
973
|
-
n =
|
|
974
|
+
n = R("StepSeniorPersonalInfoComponent");
|
|
974
975
|
break;
|
|
975
976
|
case "collectAgePersonalInfo":
|
|
976
|
-
n =
|
|
977
|
+
n = R("StepAgePersonalInfoComponent");
|
|
977
978
|
break;
|
|
978
979
|
case "collectTeacherPersonalInfo":
|
|
979
|
-
n =
|
|
980
|
+
n = R("StepTeacherPersonalInfoComponent");
|
|
980
981
|
break;
|
|
981
982
|
case "collectMemberPersonalInfo":
|
|
982
|
-
n =
|
|
983
|
+
n = R("StepMemberPersonalInfoComponent");
|
|
983
984
|
break;
|
|
984
985
|
case "collectMilitaryStatus":
|
|
985
|
-
n =
|
|
986
|
+
n = R("StepCollectMilitaryStatusComponent");
|
|
986
987
|
break;
|
|
987
988
|
case "collectActiveMilitaryPersonalInfo":
|
|
988
|
-
n =
|
|
989
|
+
n = R("StepActiveMilitaryPersonalInfoComponent");
|
|
989
990
|
break;
|
|
990
991
|
case "collectInactiveMilitaryPersonalInfo":
|
|
991
|
-
n =
|
|
992
|
+
n = R("StepInactiveMilitaryPersonalInfoComponent");
|
|
992
993
|
break;
|
|
993
994
|
case "collectMilitaryPersonalInfo":
|
|
994
|
-
n =
|
|
995
|
+
n = R("StepCollectMilitaryPersonalInfoComponent");
|
|
995
996
|
break;
|
|
996
997
|
case "collectFirstResponderPersonalInfo":
|
|
997
|
-
n =
|
|
998
|
+
n = R("StepFirstResponderPersonalInfoComponent");
|
|
998
999
|
break;
|
|
999
1000
|
case "collectMedicalProfessionalPersonalInfo":
|
|
1000
|
-
n =
|
|
1001
|
+
n = R("StepMedicalProfessionalPersonalInfoComponent");
|
|
1001
1002
|
break;
|
|
1002
1003
|
case "collectEmployeePersonalInfo":
|
|
1003
|
-
n =
|
|
1004
|
+
n = R("StepEmploymentPersonalInfoComponent");
|
|
1004
1005
|
break;
|
|
1005
1006
|
case "collectDriverLicensePersonalInfo":
|
|
1006
|
-
n =
|
|
1007
|
+
n = R("StepDriverLicensePersonalInfoComponent");
|
|
1007
1008
|
break;
|
|
1008
1009
|
case "collectGeneralIdentityPersonalInfo":
|
|
1009
|
-
n =
|
|
1010
|
+
n = R("StepGeneralIdentityPersonalInfoComponent");
|
|
1010
1011
|
break;
|
|
1011
1012
|
case "collectHybridIdentityPersonalInfo":
|
|
1012
|
-
n =
|
|
1013
|
+
n = R("StepHybridIdentityPersonalInfoComponent");
|
|
1013
1014
|
break;
|
|
1014
1015
|
case "collectLicensedProfessionalPersonalInfo":
|
|
1015
|
-
n =
|
|
1016
|
+
n = R("StepLicensedProfessionalPersonalInfoComponent");
|
|
1016
1017
|
break;
|
|
1017
1018
|
case "collectMoverPersonalInfo":
|
|
1018
|
-
n =
|
|
1019
|
+
n = R("StepMoverPersonalInfoComponent");
|
|
1019
1020
|
break;
|
|
1020
1021
|
case "collectLowIncomePersonalInfo":
|
|
1021
|
-
n =
|
|
1022
|
+
n = R("StepLowIncomePersonalInfoComponent");
|
|
1022
1023
|
break;
|
|
1023
1024
|
case "collectSocialSecurityNumber":
|
|
1024
|
-
n =
|
|
1025
|
+
n = R("StepSocialSecurity");
|
|
1025
1026
|
break;
|
|
1026
1027
|
case "success":
|
|
1027
|
-
n =
|
|
1028
|
+
n = R("StepSuccessComponent");
|
|
1028
1029
|
break;
|
|
1029
1030
|
case "consolation":
|
|
1030
|
-
n =
|
|
1031
|
+
n = R("StepConsolationComponent");
|
|
1031
1032
|
break;
|
|
1032
1033
|
case "override":
|
|
1033
|
-
n =
|
|
1034
|
+
n = R("StepOverrideComponent");
|
|
1034
1035
|
break;
|
|
1035
1036
|
case "docUpload":
|
|
1036
|
-
n =
|
|
1037
|
+
n = R("StepDocUploadComponent");
|
|
1037
1038
|
break;
|
|
1038
1039
|
case "pending":
|
|
1039
|
-
n =
|
|
1040
|
+
n = R("StepPendingComponent");
|
|
1040
1041
|
break;
|
|
1041
1042
|
case "sso":
|
|
1042
|
-
n =
|
|
1043
|
+
n = R("StepSSOComponent");
|
|
1043
1044
|
break;
|
|
1044
1045
|
case "thirdPartyLoop":
|
|
1045
|
-
n =
|
|
1046
|
+
n = R("StepThirdPartyLoopComponent");
|
|
1046
1047
|
break;
|
|
1047
1048
|
case "smsLoop":
|
|
1048
|
-
n =
|
|
1049
|
+
n = R("StepSMSLoopComponent");
|
|
1049
1050
|
break;
|
|
1050
1051
|
case "emailLoop":
|
|
1051
|
-
n =
|
|
1052
|
+
n = R("StepEmailLoopComponent");
|
|
1052
1053
|
break;
|
|
1053
1054
|
case "idCheckLoop":
|
|
1054
|
-
n =
|
|
1055
|
+
n = R("StepIDCheckLoopComponent");
|
|
1055
1056
|
break;
|
|
1056
1057
|
case "collectIdentifier":
|
|
1057
|
-
n =
|
|
1058
|
+
n = R("StepCollectIdentifierComponent");
|
|
1058
1059
|
break;
|
|
1059
1060
|
case "completeAuthentication":
|
|
1060
|
-
n =
|
|
1061
|
+
n = R("StepCompleteAuthentication");
|
|
1061
1062
|
break;
|
|
1062
|
-
case "missingRequiredMetadata": return n =
|
|
1063
|
+
case "missingRequiredMetadata": return n = R("StepErrorComponent"), /* @__PURE__ */ (0, I.jsx)(n, {
|
|
1063
1064
|
verificationService: t,
|
|
1064
1065
|
errorId: "missingRequiredMetadata"
|
|
1065
1066
|
});
|
|
1066
|
-
case "missingRequiredExternalId": return n =
|
|
1067
|
+
case "missingRequiredExternalId": return n = R("StepErrorComponent"), /* @__PURE__ */ (0, I.jsx)(n, {
|
|
1067
1068
|
verificationService: t,
|
|
1068
1069
|
errorId: "missingRequiredExternalId"
|
|
1069
1070
|
});
|
|
1070
1071
|
case "error":
|
|
1071
|
-
n =
|
|
1072
|
+
n = R("StepErrorComponent");
|
|
1072
1073
|
break;
|
|
1073
1074
|
case "cancelDocUpload":
|
|
1074
1075
|
case "cancelEmailLoop":
|
|
1075
1076
|
case "cancelSocialSecurityNumber":
|
|
1076
1077
|
case "docReviewLimitExceeded":
|
|
1077
|
-
case "emailLoopCollectOrganizationEmail": return
|
|
1078
|
+
case "emailLoopCollectOrganizationEmail": return k.error("Attempted to load unexpected step", e), /* @__PURE__ */ (0, I.jsx)(kn, {
|
|
1078
1079
|
verificationService: t,
|
|
1079
1080
|
errorId: "invalidStep"
|
|
1080
1081
|
});
|
|
1081
|
-
default: return
|
|
1082
|
+
default: return k.error("Unable to load step", e), /* @__PURE__ */ (0, I.jsx)(kn, {
|
|
1082
1083
|
verificationService: t,
|
|
1083
1084
|
errorId: "invalidStep"
|
|
1084
1085
|
});
|
|
1085
1086
|
}
|
|
1086
|
-
return /* @__PURE__ */ (0,
|
|
1087
|
-
fallback:
|
|
1088
|
-
children: /* @__PURE__ */ (0,
|
|
1087
|
+
return /* @__PURE__ */ (0, I.jsx)(P.Suspense, {
|
|
1088
|
+
fallback: jn(),
|
|
1089
|
+
children: /* @__PURE__ */ (0, I.jsx)(n, { verificationService: t })
|
|
1089
1090
|
});
|
|
1090
|
-
},
|
|
1091
|
+
}, Nn = ({ dangerouslySetInnerHTML: e, ...t }) => e ? /* @__PURE__ */ (0, I.jsx)("span", {
|
|
1091
1092
|
dangerouslySetInnerHTML: e,
|
|
1092
1093
|
...t
|
|
1093
|
-
}) : /* @__PURE__ */ (0,
|
|
1094
|
+
}) : /* @__PURE__ */ (0, I.jsx)(P.Fragment, { ...t }), Pn = (e) => He()?.isTestMode ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
1094
1095
|
className: "sid-test-mode-flag sid-l-container sid-l-horz-center",
|
|
1095
1096
|
role: "note",
|
|
1096
|
-
children: ["Test Mode", /* @__PURE__ */ (0,
|
|
1097
|
+
children: ["Test Mode", /* @__PURE__ */ (0, I.jsx)(ve, {
|
|
1097
1098
|
className: "sid-test-mode-flag__link",
|
|
1098
1099
|
href: "https://developer.sheerid.com/getting-started#test-program",
|
|
1099
1100
|
"aria-label": "learn more about a sheerid test mode program",
|
|
1100
1101
|
children: "(learn more)"
|
|
1101
1102
|
})]
|
|
1102
|
-
}) : null,
|
|
1103
|
+
}) : null, Fn = ({ verificationService: e, title: t, children: n, fallbackLogo: r, classNameIdentifier: i = void 0 }) => /* @__PURE__ */ (0, I.jsxs)("header", {
|
|
1103
1104
|
className: "sid-header",
|
|
1104
1105
|
children: [
|
|
1105
|
-
/* @__PURE__ */ (0,
|
|
1106
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1106
1107
|
className: `sid-logo-container sid-l-horz-center ${i ? `sid-${i}-logo-container` : ""}`,
|
|
1107
|
-
children: /* @__PURE__ */ (0,
|
|
1108
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ot, {
|
|
1108
1109
|
verificationService: e,
|
|
1109
1110
|
fallbackLogo: r
|
|
1110
1111
|
})
|
|
1111
1112
|
}),
|
|
1112
|
-
/* @__PURE__ */ (0,
|
|
1113
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
1113
1114
|
className: `sid-header__title sid-l-horz-center ${i ? `sid-${i}-header` : ""}`,
|
|
1114
|
-
children: /* @__PURE__ */ (0,
|
|
1115
|
+
children: /* @__PURE__ */ (0, I.jsx)("h1", { children: t })
|
|
1115
1116
|
}),
|
|
1116
1117
|
n
|
|
1117
1118
|
]
|
|
1118
1119
|
});
|
|
1119
1120
|
typeof window < "u" && window.document && window.document.createElement;
|
|
1120
|
-
function
|
|
1121
|
+
function z(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
1121
1122
|
return function(r) {
|
|
1122
1123
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
1123
1124
|
};
|
|
1124
1125
|
}
|
|
1125
1126
|
//#endregion
|
|
1126
1127
|
//#region ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
1127
|
-
function
|
|
1128
|
+
function In(e, t) {
|
|
1128
1129
|
if (typeof e == "function") return e(t);
|
|
1129
1130
|
e != null && (e.current = t);
|
|
1130
1131
|
}
|
|
1131
|
-
function
|
|
1132
|
+
function Ln(...e) {
|
|
1132
1133
|
return (t) => {
|
|
1133
1134
|
let n = !1, r = e.map((e) => {
|
|
1134
|
-
let r =
|
|
1135
|
+
let r = In(e, t);
|
|
1135
1136
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1136
1137
|
});
|
|
1137
1138
|
if (n) return () => {
|
|
1138
1139
|
for (let t = 0; t < r.length; t++) {
|
|
1139
1140
|
let n = r[t];
|
|
1140
|
-
typeof n == "function" ? n() :
|
|
1141
|
+
typeof n == "function" ? n() : In(e[t], null);
|
|
1141
1142
|
}
|
|
1142
1143
|
};
|
|
1143
1144
|
};
|
|
1144
1145
|
}
|
|
1145
|
-
function
|
|
1146
|
-
return
|
|
1146
|
+
function B(...e) {
|
|
1147
|
+
return P.useCallback(Ln(...e), e);
|
|
1147
1148
|
}
|
|
1148
1149
|
//#endregion
|
|
1149
1150
|
//#region ../node_modules/@radix-ui/react-context/dist/index.mjs
|
|
1150
|
-
function
|
|
1151
|
+
function Rn(e, t = []) {
|
|
1151
1152
|
let n = [];
|
|
1152
1153
|
function r(t, r) {
|
|
1153
|
-
let i =
|
|
1154
|
+
let i = P.createContext(r), a = n.length;
|
|
1154
1155
|
n = [...n, r];
|
|
1155
1156
|
let o = (t) => {
|
|
1156
|
-
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c =
|
|
1157
|
-
return /* @__PURE__ */ (0,
|
|
1157
|
+
let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = P.useMemo(() => o, Object.values(o));
|
|
1158
|
+
return /* @__PURE__ */ (0, I.jsx)(s.Provider, {
|
|
1158
1159
|
value: c,
|
|
1159
1160
|
children: r
|
|
1160
1161
|
});
|
|
1161
1162
|
};
|
|
1162
1163
|
o.displayName = t + "Provider";
|
|
1163
1164
|
function s(n, o) {
|
|
1164
|
-
let s = o?.[e]?.[a] || i, c =
|
|
1165
|
+
let s = o?.[e]?.[a] || i, c = P.useContext(s);
|
|
1165
1166
|
if (c) return c;
|
|
1166
1167
|
if (r !== void 0) return r;
|
|
1167
1168
|
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
@@ -1169,18 +1170,18 @@ function Dn(e, t = []) {
|
|
|
1169
1170
|
return [o, s];
|
|
1170
1171
|
}
|
|
1171
1172
|
let i = () => {
|
|
1172
|
-
let t = n.map((e) =>
|
|
1173
|
+
let t = n.map((e) => P.createContext(e));
|
|
1173
1174
|
return function(n) {
|
|
1174
1175
|
let r = n?.[e] || t;
|
|
1175
|
-
return
|
|
1176
|
+
return P.useMemo(() => ({ [`__scope${e}`]: {
|
|
1176
1177
|
...n,
|
|
1177
1178
|
[e]: r
|
|
1178
1179
|
} }), [n, r]);
|
|
1179
1180
|
};
|
|
1180
1181
|
};
|
|
1181
|
-
return i.scopeName = e, [r,
|
|
1182
|
+
return i.scopeName = e, [r, zn(i, ...t)];
|
|
1182
1183
|
}
|
|
1183
|
-
function
|
|
1184
|
+
function zn(...e) {
|
|
1184
1185
|
let t = e[0];
|
|
1185
1186
|
if (e.length === 1) return t;
|
|
1186
1187
|
let n = () => {
|
|
@@ -1196,7 +1197,7 @@ function On(...e) {
|
|
|
1196
1197
|
...i
|
|
1197
1198
|
};
|
|
1198
1199
|
}, {});
|
|
1199
|
-
return
|
|
1200
|
+
return P.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
1200
1201
|
};
|
|
1201
1202
|
};
|
|
1202
1203
|
return n.scopeName = t.scopeName, n;
|
|
@@ -1204,18 +1205,18 @@ function On(...e) {
|
|
|
1204
1205
|
//#endregion
|
|
1205
1206
|
//#region ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1206
1207
|
// @__NO_SIDE_EFFECTS__
|
|
1207
|
-
function
|
|
1208
|
-
let t = /* @__PURE__ */
|
|
1209
|
-
let { children: r, ...i } = e, a =
|
|
1208
|
+
function Bn(e) {
|
|
1209
|
+
let t = /* @__PURE__ */ Vn(e), n = P.forwardRef((e, n) => {
|
|
1210
|
+
let { children: r, ...i } = e, a = P.Children.toArray(r), o = a.find(Un);
|
|
1210
1211
|
if (o) {
|
|
1211
|
-
let e = o.props.children, r = a.map((t) => t === o ?
|
|
1212
|
-
return /* @__PURE__ */ (0,
|
|
1212
|
+
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);
|
|
1213
|
+
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
1213
1214
|
...i,
|
|
1214
1215
|
ref: n,
|
|
1215
|
-
children:
|
|
1216
|
+
children: P.isValidElement(e) ? P.cloneElement(e, void 0, r) : null
|
|
1216
1217
|
});
|
|
1217
1218
|
}
|
|
1218
|
-
return /* @__PURE__ */ (0,
|
|
1219
|
+
return /* @__PURE__ */ (0, I.jsx)(t, {
|
|
1219
1220
|
...i,
|
|
1220
1221
|
ref: n,
|
|
1221
1222
|
children: r
|
|
@@ -1224,22 +1225,22 @@ function kn(e) {
|
|
|
1224
1225
|
return n.displayName = `${e}.Slot`, n;
|
|
1225
1226
|
}
|
|
1226
1227
|
// @__NO_SIDE_EFFECTS__
|
|
1227
|
-
function
|
|
1228
|
-
let t =
|
|
1228
|
+
function Vn(e) {
|
|
1229
|
+
let t = P.forwardRef((e, t) => {
|
|
1229
1230
|
let { children: n, ...r } = e;
|
|
1230
|
-
if (
|
|
1231
|
-
let e =
|
|
1232
|
-
return n.type !==
|
|
1231
|
+
if (P.isValidElement(n)) {
|
|
1232
|
+
let e = Gn(n), i = Wn(r, n.props);
|
|
1233
|
+
return n.type !== P.Fragment && (i.ref = t ? Ln(t, e) : e), P.cloneElement(n, i);
|
|
1233
1234
|
}
|
|
1234
|
-
return
|
|
1235
|
+
return P.Children.count(n) > 1 ? P.Children.only(null) : null;
|
|
1235
1236
|
});
|
|
1236
1237
|
return t.displayName = `${e}.SlotClone`, t;
|
|
1237
1238
|
}
|
|
1238
|
-
var
|
|
1239
|
-
function
|
|
1240
|
-
return
|
|
1239
|
+
var Hn = Symbol("radix.slottable");
|
|
1240
|
+
function Un(e) {
|
|
1241
|
+
return P.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Hn;
|
|
1241
1242
|
}
|
|
1242
|
-
function
|
|
1243
|
+
function Wn(e, t) {
|
|
1243
1244
|
let n = { ...t };
|
|
1244
1245
|
for (let r in t) {
|
|
1245
1246
|
let i = e[r], a = t[r];
|
|
@@ -1256,13 +1257,13 @@ function Nn(e, t) {
|
|
|
1256
1257
|
...n
|
|
1257
1258
|
};
|
|
1258
1259
|
}
|
|
1259
|
-
function
|
|
1260
|
+
function Gn(e) {
|
|
1260
1261
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1261
1262
|
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);
|
|
1262
1263
|
}
|
|
1263
1264
|
//#endregion
|
|
1264
1265
|
//#region ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
1265
|
-
var
|
|
1266
|
+
var V = [
|
|
1266
1267
|
"a",
|
|
1267
1268
|
"button",
|
|
1268
1269
|
"div",
|
|
@@ -1281,9 +1282,9 @@ var H = [
|
|
|
1281
1282
|
"svg",
|
|
1282
1283
|
"ul"
|
|
1283
1284
|
].reduce((e, t) => {
|
|
1284
|
-
let n = /* @__PURE__ */
|
|
1285
|
+
let n = /* @__PURE__ */ Bn(`Primitive.${t}`), r = P.forwardRef((e, r) => {
|
|
1285
1286
|
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
1286
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0,
|
|
1287
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, I.jsx)(o, {
|
|
1287
1288
|
...a,
|
|
1288
1289
|
ref: r
|
|
1289
1290
|
});
|
|
@@ -1293,22 +1294,22 @@ var H = [
|
|
|
1293
1294
|
[t]: r
|
|
1294
1295
|
};
|
|
1295
1296
|
}, {});
|
|
1296
|
-
function
|
|
1297
|
-
e &&
|
|
1297
|
+
function Kn(e, t) {
|
|
1298
|
+
e && Rt.flushSync(() => e.dispatchEvent(t));
|
|
1298
1299
|
}
|
|
1299
1300
|
//#endregion
|
|
1300
1301
|
//#region ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
1301
|
-
function
|
|
1302
|
-
let t =
|
|
1303
|
-
return
|
|
1302
|
+
function qn(e) {
|
|
1303
|
+
let t = P.useRef(e);
|
|
1304
|
+
return P.useEffect(() => {
|
|
1304
1305
|
t.current = e;
|
|
1305
|
-
}),
|
|
1306
|
+
}), P.useMemo(() => (...e) => t.current?.(...e), []);
|
|
1306
1307
|
}
|
|
1307
1308
|
//#endregion
|
|
1308
1309
|
//#region ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
1309
|
-
function
|
|
1310
|
-
let n =
|
|
1311
|
-
|
|
1310
|
+
function Jn(e, t = globalThis?.document) {
|
|
1311
|
+
let n = qn(e);
|
|
1312
|
+
P.useEffect(() => {
|
|
1312
1313
|
let e = (e) => {
|
|
1313
1314
|
e.key === "Escape" && n(e);
|
|
1314
1315
|
};
|
|
@@ -1317,67 +1318,67 @@ function Ln(e, t = globalThis?.document) {
|
|
|
1317
1318
|
}
|
|
1318
1319
|
//#endregion
|
|
1319
1320
|
//#region ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
1320
|
-
var
|
|
1321
|
+
var Yn = "DismissableLayer", Xn = "dismissableLayer.update", Zn = "dismissableLayer.pointerDownOutside", Qn = "dismissableLayer.focusOutside", $n, er = P.createContext({
|
|
1321
1322
|
layers: /* @__PURE__ */ new Set(),
|
|
1322
1323
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1323
1324
|
branches: /* @__PURE__ */ new Set()
|
|
1324
|
-
}),
|
|
1325
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l =
|
|
1325
|
+
}), tr = P.forwardRef((e, t) => {
|
|
1326
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = P.useContext(er), [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 = ir((e) => {
|
|
1326
1327
|
let t = e.target, n = [...l.branches].some((e) => e.contains(t));
|
|
1327
1328
|
b && !n && (i?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1328
|
-
}, f), S =
|
|
1329
|
+
}, f), S = ar((e) => {
|
|
1329
1330
|
let t = e.target;
|
|
1330
1331
|
[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
|
|
1331
1332
|
}, f);
|
|
1332
|
-
return
|
|
1333
|
+
return Jn((e) => {
|
|
1333
1334
|
v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
|
|
1334
|
-
}, f),
|
|
1335
|
-
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
1336
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents =
|
|
1335
|
+
}, f), P.useEffect(() => {
|
|
1336
|
+
if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && ($n = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), or(), () => {
|
|
1337
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = $n);
|
|
1337
1338
|
};
|
|
1338
1339
|
}, [
|
|
1339
1340
|
u,
|
|
1340
1341
|
f,
|
|
1341
1342
|
n,
|
|
1342
1343
|
l
|
|
1343
|
-
]),
|
|
1344
|
-
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
1345
|
-
}, [u, l]),
|
|
1344
|
+
]), P.useEffect(() => () => {
|
|
1345
|
+
u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), or());
|
|
1346
|
+
}, [u, l]), P.useEffect(() => {
|
|
1346
1347
|
let e = () => p({});
|
|
1347
|
-
return document.addEventListener(
|
|
1348
|
-
}, []), /* @__PURE__ */ (0,
|
|
1348
|
+
return document.addEventListener(Xn, e), () => document.removeEventListener(Xn, e);
|
|
1349
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
1349
1350
|
...c,
|
|
1350
1351
|
ref: m,
|
|
1351
1352
|
style: {
|
|
1352
1353
|
pointerEvents: y ? b ? "auto" : "none" : void 0,
|
|
1353
1354
|
...e.style
|
|
1354
1355
|
},
|
|
1355
|
-
onFocusCapture:
|
|
1356
|
-
onBlurCapture:
|
|
1357
|
-
onPointerDownCapture:
|
|
1356
|
+
onFocusCapture: z(e.onFocusCapture, S.onFocusCapture),
|
|
1357
|
+
onBlurCapture: z(e.onBlurCapture, S.onBlurCapture),
|
|
1358
|
+
onPointerDownCapture: z(e.onPointerDownCapture, x.onPointerDownCapture)
|
|
1358
1359
|
});
|
|
1359
1360
|
});
|
|
1360
|
-
|
|
1361
|
-
var
|
|
1362
|
-
let n =
|
|
1363
|
-
return
|
|
1361
|
+
tr.displayName = Yn;
|
|
1362
|
+
var nr = "DismissableLayerBranch", rr = P.forwardRef((e, t) => {
|
|
1363
|
+
let n = P.useContext(er), r = P.useRef(null), i = B(t, r);
|
|
1364
|
+
return P.useEffect(() => {
|
|
1364
1365
|
let e = r.current;
|
|
1365
1366
|
if (e) return n.branches.add(e), () => {
|
|
1366
1367
|
n.branches.delete(e);
|
|
1367
1368
|
};
|
|
1368
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
1369
|
+
}, [n.branches]), /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
1369
1370
|
...e,
|
|
1370
1371
|
ref: i
|
|
1371
1372
|
});
|
|
1372
1373
|
});
|
|
1373
|
-
|
|
1374
|
-
function
|
|
1375
|
-
let n =
|
|
1376
|
-
return
|
|
1374
|
+
rr.displayName = nr;
|
|
1375
|
+
function ir(e, t = globalThis?.document) {
|
|
1376
|
+
let n = qn(e), r = P.useRef(!1), i = P.useRef(() => {});
|
|
1377
|
+
return P.useEffect(() => {
|
|
1377
1378
|
let e = (e) => {
|
|
1378
1379
|
if (e.target && !r.current) {
|
|
1379
1380
|
let r = function() {
|
|
1380
|
-
|
|
1381
|
+
sr(Zn, n, a, { discrete: !0 });
|
|
1381
1382
|
}, a = { originalEvent: e };
|
|
1382
1383
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
1383
1384
|
} else t.removeEventListener("click", i.current);
|
|
@@ -1390,11 +1391,11 @@ function qn(e, t = globalThis?.document) {
|
|
|
1390
1391
|
};
|
|
1391
1392
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
1392
1393
|
}
|
|
1393
|
-
function
|
|
1394
|
-
let n =
|
|
1395
|
-
return
|
|
1394
|
+
function ar(e, t = globalThis?.document) {
|
|
1395
|
+
let n = qn(e), r = P.useRef(!1);
|
|
1396
|
+
return P.useEffect(() => {
|
|
1396
1397
|
let e = (e) => {
|
|
1397
|
-
e.target && !r.current &&
|
|
1398
|
+
e.target && !r.current && sr(Qn, n, { originalEvent: e }, { discrete: !1 });
|
|
1398
1399
|
};
|
|
1399
1400
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
1400
1401
|
}, [t, n]), {
|
|
@@ -1402,40 +1403,40 @@ function Jn(e, t = globalThis?.document) {
|
|
|
1402
1403
|
onBlurCapture: () => r.current = !1
|
|
1403
1404
|
};
|
|
1404
1405
|
}
|
|
1405
|
-
function
|
|
1406
|
-
let e = new CustomEvent(
|
|
1406
|
+
function or() {
|
|
1407
|
+
let e = new CustomEvent(Xn);
|
|
1407
1408
|
document.dispatchEvent(e);
|
|
1408
1409
|
}
|
|
1409
|
-
function
|
|
1410
|
+
function sr(e, t, n, { discrete: r }) {
|
|
1410
1411
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
1411
1412
|
bubbles: !1,
|
|
1412
1413
|
cancelable: !0,
|
|
1413
1414
|
detail: n
|
|
1414
1415
|
});
|
|
1415
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
1416
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? Kn(i, a) : i.dispatchEvent(a);
|
|
1416
1417
|
}
|
|
1417
1418
|
//#endregion
|
|
1418
1419
|
//#region ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
1419
|
-
var
|
|
1420
|
-
function
|
|
1421
|
-
|
|
1420
|
+
var cr = 0;
|
|
1421
|
+
function lr() {
|
|
1422
|
+
P.useEffect(() => {
|
|
1422
1423
|
let e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1423
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
1424
|
-
|
|
1424
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? ur()), document.body.insertAdjacentElement("beforeend", e[1] ?? ur()), cr++, () => {
|
|
1425
|
+
cr === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), cr--;
|
|
1425
1426
|
};
|
|
1426
1427
|
}, []);
|
|
1427
1428
|
}
|
|
1428
|
-
function
|
|
1429
|
+
function ur() {
|
|
1429
1430
|
let e = document.createElement("span");
|
|
1430
1431
|
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;
|
|
1431
1432
|
}
|
|
1432
1433
|
//#endregion
|
|
1433
1434
|
//#region ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
1434
|
-
var
|
|
1435
|
+
var dr = "focusScope.autoFocusOnMount", fr = "focusScope.autoFocusOnUnmount", pr = {
|
|
1435
1436
|
bubbles: !1,
|
|
1436
1437
|
cancelable: !0
|
|
1437
|
-
},
|
|
1438
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] =
|
|
1438
|
+
}, mr = "FocusScope", hr = P.forwardRef((e, t) => {
|
|
1439
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = P.useState(null), l = qn(i), u = qn(a), d = P.useRef(null), f = B(t, (e) => c(e)), p = P.useRef({
|
|
1439
1440
|
paused: !1,
|
|
1440
1441
|
pause() {
|
|
1441
1442
|
this.paused = !0;
|
|
@@ -1444,18 +1445,18 @@ var er = "focusScope.autoFocusOnMount", tr = "focusScope.autoFocusOnUnmount", nr
|
|
|
1444
1445
|
this.paused = !1;
|
|
1445
1446
|
}
|
|
1446
1447
|
}).current;
|
|
1447
|
-
|
|
1448
|
+
P.useEffect(() => {
|
|
1448
1449
|
if (r) {
|
|
1449
1450
|
let e = function(e) {
|
|
1450
1451
|
if (p.paused || !s) return;
|
|
1451
1452
|
let t = e.target;
|
|
1452
|
-
s.contains(t) ? d.current = t :
|
|
1453
|
+
s.contains(t) ? d.current = t : H(d.current, { select: !0 });
|
|
1453
1454
|
}, t = function(e) {
|
|
1454
1455
|
if (p.paused || !s) return;
|
|
1455
1456
|
let t = e.relatedTarget;
|
|
1456
|
-
t !== null && (s.contains(t) ||
|
|
1457
|
+
t !== null && (s.contains(t) || H(d.current, { select: !0 }));
|
|
1457
1458
|
}, n = function(e) {
|
|
1458
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
1459
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && H(s);
|
|
1459
1460
|
};
|
|
1460
1461
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
1461
1462
|
let r = new MutationObserver(n);
|
|
@@ -1470,18 +1471,18 @@ var er = "focusScope.autoFocusOnMount", tr = "focusScope.autoFocusOnUnmount", nr
|
|
|
1470
1471
|
r,
|
|
1471
1472
|
s,
|
|
1472
1473
|
p.paused
|
|
1473
|
-
]),
|
|
1474
|
+
]), P.useEffect(() => {
|
|
1474
1475
|
if (s) {
|
|
1475
|
-
|
|
1476
|
+
Sr.add(p);
|
|
1476
1477
|
let e = document.activeElement;
|
|
1477
1478
|
if (!s.contains(e)) {
|
|
1478
|
-
let t = new CustomEvent(
|
|
1479
|
-
s.addEventListener(
|
|
1479
|
+
let t = new CustomEvent(dr, pr);
|
|
1480
|
+
s.addEventListener(dr, l), s.dispatchEvent(t), t.defaultPrevented || (gr(Tr(vr(s)), { select: !0 }), document.activeElement === e && H(s));
|
|
1480
1481
|
}
|
|
1481
1482
|
return () => {
|
|
1482
|
-
s.removeEventListener(
|
|
1483
|
-
let t = new CustomEvent(
|
|
1484
|
-
s.addEventListener(
|
|
1483
|
+
s.removeEventListener(dr, l), setTimeout(() => {
|
|
1484
|
+
let t = new CustomEvent(fr, pr);
|
|
1485
|
+
s.addEventListener(fr, u), s.dispatchEvent(t), t.defaultPrevented || H(e ?? document.body, { select: !0 }), s.removeEventListener(fr, u), Sr.remove(p);
|
|
1485
1486
|
}, 0);
|
|
1486
1487
|
};
|
|
1487
1488
|
}
|
|
@@ -1491,35 +1492,35 @@ var er = "focusScope.autoFocusOnMount", tr = "focusScope.autoFocusOnUnmount", nr
|
|
|
1491
1492
|
u,
|
|
1492
1493
|
p
|
|
1493
1494
|
]);
|
|
1494
|
-
let m =
|
|
1495
|
+
let m = P.useCallback((e) => {
|
|
1495
1496
|
if (!n && !r || p.paused) return;
|
|
1496
1497
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
1497
1498
|
if (t && i) {
|
|
1498
|
-
let t = e.currentTarget, [r, a] =
|
|
1499
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
1499
|
+
let t = e.currentTarget, [r, a] = _r(t);
|
|
1500
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && H(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && H(a, { select: !0 })) : i === t && e.preventDefault();
|
|
1500
1501
|
}
|
|
1501
1502
|
}, [
|
|
1502
1503
|
n,
|
|
1503
1504
|
r,
|
|
1504
1505
|
p.paused
|
|
1505
1506
|
]);
|
|
1506
|
-
return /* @__PURE__ */ (0,
|
|
1507
|
+
return /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
1507
1508
|
tabIndex: -1,
|
|
1508
1509
|
...o,
|
|
1509
1510
|
ref: f,
|
|
1510
1511
|
onKeyDown: m
|
|
1511
1512
|
});
|
|
1512
1513
|
});
|
|
1513
|
-
|
|
1514
|
-
function
|
|
1514
|
+
hr.displayName = mr;
|
|
1515
|
+
function gr(e, { select: t = !1 } = {}) {
|
|
1515
1516
|
let n = document.activeElement;
|
|
1516
|
-
for (let r of e) if (
|
|
1517
|
+
for (let r of e) if (H(r, { select: t }), document.activeElement !== n) return;
|
|
1517
1518
|
}
|
|
1518
|
-
function
|
|
1519
|
-
let t =
|
|
1520
|
-
return [
|
|
1519
|
+
function _r(e) {
|
|
1520
|
+
let t = vr(e);
|
|
1521
|
+
return [yr(t, e), yr(t.reverse(), e)];
|
|
1521
1522
|
}
|
|
1522
|
-
function
|
|
1523
|
+
function vr(e) {
|
|
1523
1524
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
1524
1525
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
1525
1526
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -1527,10 +1528,10 @@ function sr(e) {
|
|
|
1527
1528
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
1528
1529
|
return t;
|
|
1529
1530
|
}
|
|
1530
|
-
function
|
|
1531
|
-
for (let n of e) if (!
|
|
1531
|
+
function yr(e, t) {
|
|
1532
|
+
for (let n of e) if (!br(n, { upTo: t })) return n;
|
|
1532
1533
|
}
|
|
1533
|
-
function
|
|
1534
|
+
function br(e, { upTo: t }) {
|
|
1534
1535
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
1535
1536
|
for (; e;) {
|
|
1536
1537
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -1539,62 +1540,62 @@ function lr(e, { upTo: t }) {
|
|
|
1539
1540
|
}
|
|
1540
1541
|
return !1;
|
|
1541
1542
|
}
|
|
1542
|
-
function
|
|
1543
|
+
function xr(e) {
|
|
1543
1544
|
return e instanceof HTMLInputElement && "select" in e;
|
|
1544
1545
|
}
|
|
1545
|
-
function
|
|
1546
|
+
function H(e, { select: t = !1 } = {}) {
|
|
1546
1547
|
if (e && e.focus) {
|
|
1547
1548
|
let n = document.activeElement;
|
|
1548
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
1549
|
+
e.focus({ preventScroll: !0 }), e !== n && xr(e) && t && e.select();
|
|
1549
1550
|
}
|
|
1550
1551
|
}
|
|
1551
|
-
var
|
|
1552
|
-
function
|
|
1552
|
+
var Sr = Cr();
|
|
1553
|
+
function Cr() {
|
|
1553
1554
|
let e = [];
|
|
1554
1555
|
return {
|
|
1555
1556
|
add(t) {
|
|
1556
1557
|
let n = e[0];
|
|
1557
|
-
t !== n && n?.pause(), e =
|
|
1558
|
+
t !== n && n?.pause(), e = wr(e, t), e.unshift(t);
|
|
1558
1559
|
},
|
|
1559
1560
|
remove(t) {
|
|
1560
|
-
e =
|
|
1561
|
+
e = wr(e, t), e[0]?.resume();
|
|
1561
1562
|
}
|
|
1562
1563
|
};
|
|
1563
1564
|
}
|
|
1564
|
-
function
|
|
1565
|
+
function wr(e, t) {
|
|
1565
1566
|
let n = [...e], r = n.indexOf(t);
|
|
1566
1567
|
return r !== -1 && n.splice(r, 1), n;
|
|
1567
1568
|
}
|
|
1568
|
-
function
|
|
1569
|
+
function Tr(e) {
|
|
1569
1570
|
return e.filter((e) => e.tagName !== "A");
|
|
1570
1571
|
}
|
|
1571
1572
|
//#endregion
|
|
1572
1573
|
//#region ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
1573
|
-
var
|
|
1574
|
-
function
|
|
1575
|
-
let [t, n] =
|
|
1576
|
-
return
|
|
1577
|
-
e || n((e) => e ?? String(
|
|
1574
|
+
var Er = globalThis?.document ? P.useLayoutEffect : () => {}, Dr = P.useId || (() => void 0), Or = 0;
|
|
1575
|
+
function kr(e) {
|
|
1576
|
+
let [t, n] = P.useState(Dr());
|
|
1577
|
+
return Er(() => {
|
|
1578
|
+
e || n((e) => e ?? String(Or++));
|
|
1578
1579
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
1579
1580
|
}
|
|
1580
1581
|
//#endregion
|
|
1581
1582
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
1582
|
-
var
|
|
1583
|
+
var Ar = [
|
|
1583
1584
|
"top",
|
|
1584
1585
|
"right",
|
|
1585
1586
|
"bottom",
|
|
1586
1587
|
"left"
|
|
1587
|
-
],
|
|
1588
|
+
], jr = Math.min, U = Math.max, Mr = Math.round, Nr = Math.floor, W = (e) => ({
|
|
1588
1589
|
x: e,
|
|
1589
1590
|
y: e
|
|
1590
|
-
}),
|
|
1591
|
+
}), Pr = {
|
|
1591
1592
|
left: "right",
|
|
1592
1593
|
right: "left",
|
|
1593
1594
|
bottom: "top",
|
|
1594
1595
|
top: "bottom"
|
|
1595
1596
|
};
|
|
1596
|
-
function
|
|
1597
|
-
return U(e,
|
|
1597
|
+
function Fr(e, t, n) {
|
|
1598
|
+
return U(e, jr(t, n));
|
|
1598
1599
|
}
|
|
1599
1600
|
function G(e, t) {
|
|
1600
1601
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -1602,57 +1603,57 @@ function G(e, t) {
|
|
|
1602
1603
|
function K(e) {
|
|
1603
1604
|
return e.split("-")[0];
|
|
1604
1605
|
}
|
|
1605
|
-
function
|
|
1606
|
+
function Ir(e) {
|
|
1606
1607
|
return e.split("-")[1];
|
|
1607
1608
|
}
|
|
1608
|
-
function
|
|
1609
|
+
function Lr(e) {
|
|
1609
1610
|
return e === "x" ? "y" : "x";
|
|
1610
1611
|
}
|
|
1611
|
-
function
|
|
1612
|
+
function Rr(e) {
|
|
1612
1613
|
return e === "y" ? "height" : "width";
|
|
1613
1614
|
}
|
|
1614
1615
|
function q(e) {
|
|
1615
1616
|
let t = e[0];
|
|
1616
1617
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1617
1618
|
}
|
|
1618
|
-
function
|
|
1619
|
-
return
|
|
1619
|
+
function zr(e) {
|
|
1620
|
+
return Lr(q(e));
|
|
1620
1621
|
}
|
|
1621
|
-
function
|
|
1622
|
+
function Br(e, t, n) {
|
|
1622
1623
|
n === void 0 && (n = !1);
|
|
1623
|
-
let r =
|
|
1624
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1624
|
+
let r = Ir(e), i = zr(e), a = Rr(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1625
|
+
return t.reference[a] > t.floating[a] && (o = Yr(o)), [o, Yr(o)];
|
|
1625
1626
|
}
|
|
1626
|
-
function
|
|
1627
|
-
let t =
|
|
1627
|
+
function Vr(e) {
|
|
1628
|
+
let t = Yr(e);
|
|
1628
1629
|
return [
|
|
1629
|
-
|
|
1630
|
+
Hr(e),
|
|
1630
1631
|
t,
|
|
1631
|
-
|
|
1632
|
+
Hr(t)
|
|
1632
1633
|
];
|
|
1633
1634
|
}
|
|
1634
|
-
function
|
|
1635
|
+
function Hr(e) {
|
|
1635
1636
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1636
1637
|
}
|
|
1637
|
-
var
|
|
1638
|
-
function
|
|
1638
|
+
var Ur = ["left", "right"], Wr = ["right", "left"], Gr = ["top", "bottom"], Kr = ["bottom", "top"];
|
|
1639
|
+
function qr(e, t, n) {
|
|
1639
1640
|
switch (e) {
|
|
1640
1641
|
case "top":
|
|
1641
|
-
case "bottom": return n ? t ?
|
|
1642
|
+
case "bottom": return n ? t ? Wr : Ur : t ? Ur : Wr;
|
|
1642
1643
|
case "left":
|
|
1643
|
-
case "right": return t ?
|
|
1644
|
+
case "right": return t ? Gr : Kr;
|
|
1644
1645
|
default: return [];
|
|
1645
1646
|
}
|
|
1646
1647
|
}
|
|
1647
|
-
function
|
|
1648
|
-
let i =
|
|
1649
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1648
|
+
function Jr(e, t, n, r) {
|
|
1649
|
+
let i = Ir(e), a = qr(K(e), n === "start", r);
|
|
1650
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Hr)))), a;
|
|
1650
1651
|
}
|
|
1651
|
-
function
|
|
1652
|
+
function Yr(e) {
|
|
1652
1653
|
let t = K(e);
|
|
1653
|
-
return
|
|
1654
|
+
return Pr[t] + e.slice(t.length);
|
|
1654
1655
|
}
|
|
1655
|
-
function
|
|
1656
|
+
function Xr(e) {
|
|
1656
1657
|
return {
|
|
1657
1658
|
top: 0,
|
|
1658
1659
|
right: 0,
|
|
@@ -1661,15 +1662,15 @@ function Br(e) {
|
|
|
1661
1662
|
...e
|
|
1662
1663
|
};
|
|
1663
1664
|
}
|
|
1664
|
-
function
|
|
1665
|
+
function Zr(e) {
|
|
1665
1666
|
return typeof e == "number" ? {
|
|
1666
1667
|
top: e,
|
|
1667
1668
|
right: e,
|
|
1668
1669
|
bottom: e,
|
|
1669
1670
|
left: e
|
|
1670
|
-
} :
|
|
1671
|
+
} : Xr(e);
|
|
1671
1672
|
}
|
|
1672
|
-
function
|
|
1673
|
+
function Qr(e) {
|
|
1673
1674
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1674
1675
|
return {
|
|
1675
1676
|
width: r,
|
|
@@ -1684,8 +1685,8 @@ function Hr(e) {
|
|
|
1684
1685
|
}
|
|
1685
1686
|
//#endregion
|
|
1686
1687
|
//#region ../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1687
|
-
function
|
|
1688
|
-
let { reference: r, floating: i } = e, a = q(t), o =
|
|
1688
|
+
function $r(e, t, n) {
|
|
1689
|
+
let { reference: r, floating: i } = e, a = q(t), o = zr(t), s = Rr(o), c = K(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
1689
1690
|
switch (c) {
|
|
1690
1691
|
case "top":
|
|
1691
1692
|
p = {
|
|
@@ -1716,7 +1717,7 @@ function Ur(e, t, n) {
|
|
|
1716
1717
|
y: r.y
|
|
1717
1718
|
};
|
|
1718
1719
|
}
|
|
1719
|
-
switch (
|
|
1720
|
+
switch (Ir(t)) {
|
|
1720
1721
|
case "start":
|
|
1721
1722
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1722
1723
|
break;
|
|
@@ -1724,9 +1725,9 @@ function Ur(e, t, n) {
|
|
|
1724
1725
|
}
|
|
1725
1726
|
return p;
|
|
1726
1727
|
}
|
|
1727
|
-
async function
|
|
1728
|
+
async function ei(e, t) {
|
|
1728
1729
|
t === void 0 && (t = {});
|
|
1729
|
-
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = G(t, e), p =
|
|
1730
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = G(t, e), p = Zr(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Qr(await i.getClippingRect({
|
|
1730
1731
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
1731
1732
|
boundary: c,
|
|
1732
1733
|
rootBoundary: l,
|
|
@@ -1739,7 +1740,7 @@ async function Wr(e, t) {
|
|
|
1739
1740
|
} : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
|
|
1740
1741
|
x: 1,
|
|
1741
1742
|
y: 1
|
|
1742
|
-
}, y =
|
|
1743
|
+
}, y = Qr(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1743
1744
|
elements: o,
|
|
1744
1745
|
rect: g,
|
|
1745
1746
|
offsetParent: _,
|
|
@@ -1752,15 +1753,15 @@ async function Wr(e, t) {
|
|
|
1752
1753
|
right: (y.right - h.right + p.right) / v.x
|
|
1753
1754
|
};
|
|
1754
1755
|
}
|
|
1755
|
-
var
|
|
1756
|
+
var ti = 50, ni = async (e, t, n) => {
|
|
1756
1757
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1757
1758
|
...o,
|
|
1758
|
-
detectOverflow:
|
|
1759
|
+
detectOverflow: ei
|
|
1759
1760
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1760
1761
|
reference: e,
|
|
1761
1762
|
floating: t,
|
|
1762
1763
|
strategy: i
|
|
1763
|
-
}), { x: u, y: d } =
|
|
1764
|
+
}), { x: u, y: d } = $r(l, r, c), f = r, p = 0, m = {};
|
|
1764
1765
|
for (let n = 0; n < a.length; n++) {
|
|
1765
1766
|
let h = a[n];
|
|
1766
1767
|
if (!h) continue;
|
|
@@ -1781,11 +1782,11 @@ var Gr = 50, Kr = async (e, t, n) => {
|
|
|
1781
1782
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
1782
1783
|
...m[g],
|
|
1783
1784
|
...b
|
|
1784
|
-
}, x && p <
|
|
1785
|
+
}, x && p < ti && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1785
1786
|
reference: e,
|
|
1786
1787
|
floating: t,
|
|
1787
1788
|
strategy: i
|
|
1788
|
-
}) : x.rects), {x: u, y: d} =
|
|
1789
|
+
}) : x.rects), {x: u, y: d} = $r(l, f, c)), n = -1);
|
|
1789
1790
|
}
|
|
1790
1791
|
return {
|
|
1791
1792
|
x: u,
|
|
@@ -1794,29 +1795,29 @@ var Gr = 50, Kr = async (e, t, n) => {
|
|
|
1794
1795
|
strategy: i,
|
|
1795
1796
|
middlewareData: m
|
|
1796
1797
|
};
|
|
1797
|
-
},
|
|
1798
|
+
}, ri = (e) => ({
|
|
1798
1799
|
name: "arrow",
|
|
1799
1800
|
options: e,
|
|
1800
1801
|
async fn(t) {
|
|
1801
1802
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = G(e, t) || {};
|
|
1802
1803
|
if (l == null) return {};
|
|
1803
|
-
let d =
|
|
1804
|
+
let d = Zr(u), f = {
|
|
1804
1805
|
x: n,
|
|
1805
1806
|
y: r
|
|
1806
|
-
}, p =
|
|
1807
|
+
}, p = zr(i), m = Rr(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;
|
|
1807
1808
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1808
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1,
|
|
1809
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = jr(d[_], T), te = jr(d[v], T), E = ee, D = C - h[m] - te, O = C / 2 - h[m] / 2 + w, k = Fr(E, O, D), A = !c.arrow && Ir(i) != null && O !== k && a.reference[m] / 2 - (O < E ? ee : te) - h[m] / 2 < 0, j = A ? O < E ? O - E : O - D : 0;
|
|
1809
1810
|
return {
|
|
1810
|
-
[p]: f[p] +
|
|
1811
|
+
[p]: f[p] + j,
|
|
1811
1812
|
data: {
|
|
1812
|
-
[p]:
|
|
1813
|
-
centerOffset:
|
|
1814
|
-
...
|
|
1813
|
+
[p]: k,
|
|
1814
|
+
centerOffset: O - k - j,
|
|
1815
|
+
...A && { alignmentOffset: j }
|
|
1815
1816
|
},
|
|
1816
|
-
reset:
|
|
1817
|
+
reset: A
|
|
1817
1818
|
};
|
|
1818
1819
|
}
|
|
1819
|
-
}),
|
|
1820
|
+
}), ii = function(e) {
|
|
1820
1821
|
return e === void 0 && (e = {}), {
|
|
1821
1822
|
name: "flip",
|
|
1822
1823
|
options: e,
|
|
@@ -1824,11 +1825,11 @@ var Gr = 50, Kr = async (e, t, n) => {
|
|
|
1824
1825
|
var n;
|
|
1825
1826
|
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = G(e, t);
|
|
1826
1827
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
1827
|
-
let g = K(r), _ = q(o), v = K(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [
|
|
1828
|
-
!d && x && b.push(...
|
|
1828
|
+
let g = K(r), _ = q(o), v = K(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Yr(o)] : Vr(o)), x = p !== "none";
|
|
1829
|
+
!d && x && b.push(...Jr(o, m, p, y));
|
|
1829
1830
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
1830
1831
|
if (l && w.push(C[g]), u) {
|
|
1831
|
-
let e =
|
|
1832
|
+
let e = Br(r, a, y);
|
|
1832
1833
|
w.push(C[e[0]], C[e[1]]);
|
|
1833
1834
|
}
|
|
1834
1835
|
if (T = [...T, {
|
|
@@ -1864,7 +1865,7 @@ var Gr = 50, Kr = async (e, t, n) => {
|
|
|
1864
1865
|
}
|
|
1865
1866
|
};
|
|
1866
1867
|
};
|
|
1867
|
-
function
|
|
1868
|
+
function ai(e, t) {
|
|
1868
1869
|
return {
|
|
1869
1870
|
top: e.top - t.height,
|
|
1870
1871
|
right: e.right - t.width,
|
|
@@ -1872,10 +1873,10 @@ function Yr(e, t) {
|
|
|
1872
1873
|
left: e.left - t.width
|
|
1873
1874
|
};
|
|
1874
1875
|
}
|
|
1875
|
-
function
|
|
1876
|
-
return
|
|
1876
|
+
function oi(e) {
|
|
1877
|
+
return Ar.some((t) => e[t] >= 0);
|
|
1877
1878
|
}
|
|
1878
|
-
var
|
|
1879
|
+
var si = function(e) {
|
|
1879
1880
|
return e === void 0 && (e = {}), {
|
|
1880
1881
|
name: "hide",
|
|
1881
1882
|
options: e,
|
|
@@ -1883,32 +1884,32 @@ var Zr = function(e) {
|
|
|
1883
1884
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = G(e, t);
|
|
1884
1885
|
switch (i) {
|
|
1885
1886
|
case "referenceHidden": {
|
|
1886
|
-
let e =
|
|
1887
|
+
let e = ai(await r.detectOverflow(t, {
|
|
1887
1888
|
...a,
|
|
1888
1889
|
elementContext: "reference"
|
|
1889
1890
|
}), n.reference);
|
|
1890
1891
|
return { data: {
|
|
1891
1892
|
referenceHiddenOffsets: e,
|
|
1892
|
-
referenceHidden:
|
|
1893
|
+
referenceHidden: oi(e)
|
|
1893
1894
|
} };
|
|
1894
1895
|
}
|
|
1895
1896
|
case "escaped": {
|
|
1896
|
-
let e =
|
|
1897
|
+
let e = ai(await r.detectOverflow(t, {
|
|
1897
1898
|
...a,
|
|
1898
1899
|
altBoundary: !0
|
|
1899
1900
|
}), n.floating);
|
|
1900
1901
|
return { data: {
|
|
1901
1902
|
escapedOffsets: e,
|
|
1902
|
-
escaped:
|
|
1903
|
+
escaped: oi(e)
|
|
1903
1904
|
} };
|
|
1904
1905
|
}
|
|
1905
1906
|
default: return {};
|
|
1906
1907
|
}
|
|
1907
1908
|
}
|
|
1908
1909
|
};
|
|
1909
|
-
},
|
|
1910
|
-
async function
|
|
1911
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s =
|
|
1910
|
+
}, ci = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1911
|
+
async function li(e, t) {
|
|
1912
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = K(n), s = Ir(n), c = q(n) === "y", l = ci.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = G(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1912
1913
|
mainAxis: d,
|
|
1913
1914
|
crossAxis: 0,
|
|
1914
1915
|
alignmentAxis: null
|
|
@@ -1925,13 +1926,13 @@ async function $r(e, t) {
|
|
|
1925
1926
|
y: p * u
|
|
1926
1927
|
};
|
|
1927
1928
|
}
|
|
1928
|
-
var
|
|
1929
|
+
var ui = function(e) {
|
|
1929
1930
|
return e === void 0 && (e = 0), {
|
|
1930
1931
|
name: "offset",
|
|
1931
1932
|
options: e,
|
|
1932
1933
|
async fn(t) {
|
|
1933
1934
|
var n;
|
|
1934
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
1935
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await li(t, e);
|
|
1935
1936
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
1936
1937
|
x: r + s.x,
|
|
1937
1938
|
y: i + s.y,
|
|
@@ -1942,7 +1943,7 @@ var ei = function(e) {
|
|
|
1942
1943
|
};
|
|
1943
1944
|
}
|
|
1944
1945
|
};
|
|
1945
|
-
},
|
|
1946
|
+
}, di = function(e) {
|
|
1946
1947
|
return e === void 0 && (e = {}), {
|
|
1947
1948
|
name: "shift",
|
|
1948
1949
|
options: e,
|
|
@@ -1956,14 +1957,14 @@ var ei = function(e) {
|
|
|
1956
1957
|
} }, ...l } = G(e, t), u = {
|
|
1957
1958
|
x: n,
|
|
1958
1959
|
y: r
|
|
1959
|
-
}, d = await a.detectOverflow(t, l), f = q(K(i)), p =
|
|
1960
|
+
}, d = await a.detectOverflow(t, l), f = q(K(i)), p = Lr(f), m = u[p], h = u[f];
|
|
1960
1961
|
if (o) {
|
|
1961
1962
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1962
|
-
m =
|
|
1963
|
+
m = Fr(n, m, r);
|
|
1963
1964
|
}
|
|
1964
1965
|
if (s) {
|
|
1965
1966
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1966
|
-
h =
|
|
1967
|
+
h = Fr(n, h, r);
|
|
1967
1968
|
}
|
|
1968
1969
|
let g = c.fn({
|
|
1969
1970
|
...t,
|
|
@@ -1983,14 +1984,14 @@ var ei = function(e) {
|
|
|
1983
1984
|
};
|
|
1984
1985
|
}
|
|
1985
1986
|
};
|
|
1986
|
-
},
|
|
1987
|
+
}, fi = function(e) {
|
|
1987
1988
|
return e === void 0 && (e = {}), {
|
|
1988
1989
|
options: e,
|
|
1989
1990
|
fn(t) {
|
|
1990
1991
|
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = G(e, t), u = {
|
|
1991
1992
|
x: n,
|
|
1992
1993
|
y: r
|
|
1993
|
-
}, d = q(i), f =
|
|
1994
|
+
}, d = q(i), f = Lr(d), p = u[f], m = u[d], h = G(s, t), g = typeof h == "number" ? {
|
|
1994
1995
|
mainAxis: h,
|
|
1995
1996
|
crossAxis: 0
|
|
1996
1997
|
} : {
|
|
@@ -2003,7 +2004,7 @@ var ei = function(e) {
|
|
|
2003
2004
|
p < t ? p = t : p > n && (p = n);
|
|
2004
2005
|
}
|
|
2005
2006
|
if (l) {
|
|
2006
|
-
let e = f === "y" ? "width" : "height", t =
|
|
2007
|
+
let e = f === "y" ? "width" : "height", t = ci.has(K(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
|
|
2007
2008
|
m < n ? m = n : m > r && (m = r);
|
|
2008
2009
|
}
|
|
2009
2010
|
return {
|
|
@@ -2012,15 +2013,15 @@ var ei = function(e) {
|
|
|
2012
2013
|
};
|
|
2013
2014
|
}
|
|
2014
2015
|
};
|
|
2015
|
-
},
|
|
2016
|
+
}, pi = function(e) {
|
|
2016
2017
|
return e === void 0 && (e = {}), {
|
|
2017
2018
|
name: "size",
|
|
2018
2019
|
options: e,
|
|
2019
2020
|
async fn(t) {
|
|
2020
2021
|
var n, r;
|
|
2021
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = G(e, t), u = await o.detectOverflow(t, l), d = K(i), f =
|
|
2022
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = G(e, t), u = await o.detectOverflow(t, l), d = K(i), f = Ir(i), p = q(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
2022
2023
|
d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
|
|
2023
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
2024
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = jr(h - u[g], v), x = jr(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
2024
2025
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
2025
2026
|
let e = U(u.left, 0), t = U(u.right, 0), n = U(u.top, 0), r = U(u.bottom, 0);
|
|
2026
2027
|
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : U(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : U(u.top, u.bottom));
|
|
@@ -2037,39 +2038,39 @@ var ei = function(e) {
|
|
|
2037
2038
|
};
|
|
2038
2039
|
//#endregion
|
|
2039
2040
|
//#region ../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2040
|
-
function
|
|
2041
|
+
function mi() {
|
|
2041
2042
|
return typeof window < "u";
|
|
2042
2043
|
}
|
|
2043
|
-
function
|
|
2044
|
-
return
|
|
2044
|
+
function hi(e) {
|
|
2045
|
+
return gi(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2045
2046
|
}
|
|
2046
2047
|
function J(e) {
|
|
2047
2048
|
var t;
|
|
2048
2049
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2049
2050
|
}
|
|
2050
2051
|
function Y(e) {
|
|
2051
|
-
return ((
|
|
2052
|
+
return ((gi(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
2052
2053
|
}
|
|
2053
|
-
function
|
|
2054
|
-
return
|
|
2054
|
+
function gi(e) {
|
|
2055
|
+
return mi() ? e instanceof Node || e instanceof J(e).Node : !1;
|
|
2055
2056
|
}
|
|
2056
2057
|
function X(e) {
|
|
2057
|
-
return
|
|
2058
|
+
return mi() ? e instanceof Element || e instanceof J(e).Element : !1;
|
|
2058
2059
|
}
|
|
2059
2060
|
function Z(e) {
|
|
2060
|
-
return
|
|
2061
|
+
return mi() ? e instanceof HTMLElement || e instanceof J(e).HTMLElement : !1;
|
|
2061
2062
|
}
|
|
2062
|
-
function
|
|
2063
|
-
return !
|
|
2063
|
+
function _i(e) {
|
|
2064
|
+
return !mi() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof J(e).ShadowRoot;
|
|
2064
2065
|
}
|
|
2065
|
-
function
|
|
2066
|
+
function vi(e) {
|
|
2066
2067
|
let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
|
|
2067
2068
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
2068
2069
|
}
|
|
2069
|
-
function
|
|
2070
|
-
return /^(table|td|th)$/.test(
|
|
2070
|
+
function yi(e) {
|
|
2071
|
+
return /^(table|td|th)$/.test(hi(e));
|
|
2071
2072
|
}
|
|
2072
|
-
function
|
|
2073
|
+
function bi(e) {
|
|
2073
2074
|
try {
|
|
2074
2075
|
if (e.matches(":popover-open")) return !0;
|
|
2075
2076
|
} catch {}
|
|
@@ -2079,30 +2080,30 @@ function ui(e) {
|
|
|
2079
2080
|
return !1;
|
|
2080
2081
|
}
|
|
2081
2082
|
}
|
|
2082
|
-
var
|
|
2083
|
-
function
|
|
2083
|
+
var xi = /transform|translate|scale|rotate|perspective|filter/, Si = /paint|layout|strict|content/, Ci = (e) => !!e && e !== "none", wi;
|
|
2084
|
+
function Ti(e) {
|
|
2084
2085
|
let t = X(e) ? Q(e) : e;
|
|
2085
|
-
return
|
|
2086
|
+
return Ci(t.transform) || Ci(t.translate) || Ci(t.scale) || Ci(t.rotate) || Ci(t.perspective) || !Di() && (Ci(t.backdropFilter) || Ci(t.filter)) || xi.test(t.willChange || "") || Si.test(t.contain || "");
|
|
2086
2087
|
}
|
|
2087
|
-
function
|
|
2088
|
-
let t =
|
|
2089
|
-
for (; Z(t) && !
|
|
2090
|
-
if (
|
|
2091
|
-
if (
|
|
2092
|
-
t =
|
|
2088
|
+
function Ei(e) {
|
|
2089
|
+
let t = Ai(e);
|
|
2090
|
+
for (; Z(t) && !Oi(t);) {
|
|
2091
|
+
if (Ti(t)) return t;
|
|
2092
|
+
if (bi(t)) return null;
|
|
2093
|
+
t = Ai(t);
|
|
2093
2094
|
}
|
|
2094
2095
|
return null;
|
|
2095
2096
|
}
|
|
2096
|
-
function
|
|
2097
|
-
return
|
|
2097
|
+
function Di() {
|
|
2098
|
+
return wi ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), wi;
|
|
2098
2099
|
}
|
|
2099
|
-
function
|
|
2100
|
-
return /^(html|body|#document)$/.test(
|
|
2100
|
+
function Oi(e) {
|
|
2101
|
+
return /^(html|body|#document)$/.test(hi(e));
|
|
2101
2102
|
}
|
|
2102
2103
|
function Q(e) {
|
|
2103
2104
|
return J(e).getComputedStyle(e);
|
|
2104
2105
|
}
|
|
2105
|
-
function
|
|
2106
|
+
function ki(e) {
|
|
2106
2107
|
return X(e) ? {
|
|
2107
2108
|
scrollLeft: e.scrollLeft,
|
|
2108
2109
|
scrollTop: e.scrollTop
|
|
@@ -2111,102 +2112,102 @@ function yi(e) {
|
|
|
2111
2112
|
scrollTop: e.scrollY
|
|
2112
2113
|
};
|
|
2113
2114
|
}
|
|
2114
|
-
function
|
|
2115
|
-
if (
|
|
2116
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
2117
|
-
return
|
|
2115
|
+
function Ai(e) {
|
|
2116
|
+
if (hi(e) === "html") return e;
|
|
2117
|
+
let t = e.assignedSlot || e.parentNode || _i(e) && e.host || Y(e);
|
|
2118
|
+
return _i(t) ? t.host : t;
|
|
2118
2119
|
}
|
|
2119
|
-
function
|
|
2120
|
-
let t =
|
|
2121
|
-
return
|
|
2120
|
+
function ji(e) {
|
|
2121
|
+
let t = Ai(e);
|
|
2122
|
+
return Oi(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Z(t) && vi(t) ? t : ji(t);
|
|
2122
2123
|
}
|
|
2123
|
-
function
|
|
2124
|
+
function Mi(e, t, n) {
|
|
2124
2125
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2125
|
-
let r =
|
|
2126
|
+
let r = ji(e), i = r === e.ownerDocument?.body, a = J(r);
|
|
2126
2127
|
if (i) {
|
|
2127
|
-
let e =
|
|
2128
|
-
return t.concat(a, a.visualViewport || [],
|
|
2128
|
+
let e = Ni(a);
|
|
2129
|
+
return t.concat(a, a.visualViewport || [], vi(r) ? r : [], e && n ? Mi(e) : []);
|
|
2129
2130
|
}
|
|
2130
|
-
return t.concat(r,
|
|
2131
|
+
return t.concat(r, Mi(r, [], n));
|
|
2131
2132
|
}
|
|
2132
|
-
function
|
|
2133
|
+
function Ni(e) {
|
|
2133
2134
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
2134
2135
|
}
|
|
2135
2136
|
//#endregion
|
|
2136
2137
|
//#region ../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
2137
|
-
function
|
|
2138
|
-
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s =
|
|
2138
|
+
function Pi(e) {
|
|
2139
|
+
let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Z(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Mr(n) !== a || Mr(r) !== o;
|
|
2139
2140
|
return s && (n = a, r = o), {
|
|
2140
2141
|
width: n,
|
|
2141
2142
|
height: r,
|
|
2142
2143
|
$: s
|
|
2143
2144
|
};
|
|
2144
2145
|
}
|
|
2145
|
-
function
|
|
2146
|
+
function Fi(e) {
|
|
2146
2147
|
return X(e) ? e : e.contextElement;
|
|
2147
2148
|
}
|
|
2148
|
-
function
|
|
2149
|
-
let t =
|
|
2149
|
+
function Ii(e) {
|
|
2150
|
+
let t = Fi(e);
|
|
2150
2151
|
if (!Z(t)) return W(1);
|
|
2151
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
2152
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Pi(t), o = (a ? Mr(n.width) : n.width) / r, s = (a ? Mr(n.height) : n.height) / i;
|
|
2152
2153
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
2153
2154
|
x: o,
|
|
2154
2155
|
y: s
|
|
2155
2156
|
};
|
|
2156
2157
|
}
|
|
2157
|
-
var
|
|
2158
|
-
function
|
|
2158
|
+
var Li = /*#__PURE__*/ W(0);
|
|
2159
|
+
function Ri(e) {
|
|
2159
2160
|
let t = J(e);
|
|
2160
|
-
return !
|
|
2161
|
+
return !Di() || !t.visualViewport ? Li : {
|
|
2161
2162
|
x: t.visualViewport.offsetLeft,
|
|
2162
2163
|
y: t.visualViewport.offsetTop
|
|
2163
2164
|
};
|
|
2164
2165
|
}
|
|
2165
|
-
function
|
|
2166
|
+
function zi(e, t, n) {
|
|
2166
2167
|
return t === void 0 && (t = !1), !n || t && n !== J(e) ? !1 : t;
|
|
2167
2168
|
}
|
|
2168
|
-
function
|
|
2169
|
+
function Bi(e, t, n, r) {
|
|
2169
2170
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2170
|
-
let i = e.getBoundingClientRect(), a =
|
|
2171
|
-
t && (r ? X(r) && (o =
|
|
2172
|
-
let s =
|
|
2171
|
+
let i = e.getBoundingClientRect(), a = Fi(e), o = W(1);
|
|
2172
|
+
t && (r ? X(r) && (o = Ii(r)) : o = Ii(e));
|
|
2173
|
+
let s = zi(a, n, r) ? Ri(a) : W(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
2173
2174
|
if (a) {
|
|
2174
|
-
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i =
|
|
2175
|
+
let e = J(a), t = r && X(r) ? J(r) : r, n = e, i = Ni(n);
|
|
2175
2176
|
for (; i && r && t !== n;) {
|
|
2176
|
-
let e =
|
|
2177
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i =
|
|
2177
|
+
let e = Ii(i), t = i.getBoundingClientRect(), r = Q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
2178
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = J(i), i = Ni(n);
|
|
2178
2179
|
}
|
|
2179
2180
|
}
|
|
2180
|
-
return
|
|
2181
|
+
return Qr({
|
|
2181
2182
|
width: u,
|
|
2182
2183
|
height: d,
|
|
2183
2184
|
x: c,
|
|
2184
2185
|
y: l
|
|
2185
2186
|
});
|
|
2186
2187
|
}
|
|
2187
|
-
function
|
|
2188
|
-
let n =
|
|
2189
|
-
return t ? t.left + n :
|
|
2188
|
+
function Vi(e, t) {
|
|
2189
|
+
let n = ki(e).scrollLeft;
|
|
2190
|
+
return t ? t.left + n : Bi(Y(e)).left + n;
|
|
2190
2191
|
}
|
|
2191
|
-
function
|
|
2192
|
+
function Hi(e, t) {
|
|
2192
2193
|
let n = e.getBoundingClientRect();
|
|
2193
2194
|
return {
|
|
2194
|
-
x: n.left + t.scrollLeft -
|
|
2195
|
+
x: n.left + t.scrollLeft - Vi(e, n),
|
|
2195
2196
|
y: n.top + t.scrollTop
|
|
2196
2197
|
};
|
|
2197
2198
|
}
|
|
2198
|
-
function
|
|
2199
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ?
|
|
2199
|
+
function Ui(e) {
|
|
2200
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Y(r), s = t ? bi(t.floating) : !1;
|
|
2200
2201
|
if (r === o || s && a) return n;
|
|
2201
2202
|
let c = {
|
|
2202
2203
|
scrollLeft: 0,
|
|
2203
2204
|
scrollTop: 0
|
|
2204
2205
|
}, l = W(1), u = W(0), d = Z(r);
|
|
2205
|
-
if ((d || !d && !a) && ((
|
|
2206
|
-
let e =
|
|
2207
|
-
l =
|
|
2206
|
+
if ((d || !d && !a) && ((hi(r) !== "body" || vi(o)) && (c = ki(r)), d)) {
|
|
2207
|
+
let e = Bi(r);
|
|
2208
|
+
l = Ii(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
2208
2209
|
}
|
|
2209
|
-
let f = o && !d && !a ?
|
|
2210
|
+
let f = o && !d && !a ? Hi(o, c) : W(0);
|
|
2210
2211
|
return {
|
|
2211
2212
|
width: n.width * l.x,
|
|
2212
2213
|
height: n.height * l.y,
|
|
@@ -2214,11 +2215,11 @@ function Ni(e) {
|
|
|
2214
2215
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
2215
2216
|
};
|
|
2216
2217
|
}
|
|
2217
|
-
function
|
|
2218
|
+
function Wi(e) {
|
|
2218
2219
|
return Array.from(e.getClientRects());
|
|
2219
2220
|
}
|
|
2220
|
-
function
|
|
2221
|
-
let t = Y(e), n =
|
|
2221
|
+
function Gi(e) {
|
|
2222
|
+
let t = Y(e), n = ki(e), r = e.ownerDocument.body, i = U(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = U(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Vi(e), s = -n.scrollTop;
|
|
2222
2223
|
return Q(r).direction === "rtl" && (o += U(t.clientWidth, r.clientWidth) - i), {
|
|
2223
2224
|
width: i,
|
|
2224
2225
|
height: a,
|
|
@@ -2226,19 +2227,19 @@ function Fi(e) {
|
|
|
2226
2227
|
y: s
|
|
2227
2228
|
};
|
|
2228
2229
|
}
|
|
2229
|
-
var
|
|
2230
|
-
function
|
|
2230
|
+
var Ki = 25;
|
|
2231
|
+
function qi(e, t) {
|
|
2231
2232
|
let n = J(e), r = Y(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
2232
2233
|
if (i) {
|
|
2233
2234
|
a = i.width, o = i.height;
|
|
2234
|
-
let e =
|
|
2235
|
+
let e = Di();
|
|
2235
2236
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
2236
2237
|
}
|
|
2237
|
-
let l =
|
|
2238
|
+
let l = Vi(r);
|
|
2238
2239
|
if (l <= 0) {
|
|
2239
2240
|
let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
|
|
2240
|
-
o <=
|
|
2241
|
-
} else l <=
|
|
2241
|
+
o <= Ki && (a -= o);
|
|
2242
|
+
} else l <= Ki && (a += l);
|
|
2242
2243
|
return {
|
|
2243
2244
|
width: a,
|
|
2244
2245
|
height: o,
|
|
@@ -2246,8 +2247,8 @@ function Li(e, t) {
|
|
|
2246
2247
|
y: c
|
|
2247
2248
|
};
|
|
2248
2249
|
}
|
|
2249
|
-
function
|
|
2250
|
-
let n =
|
|
2250
|
+
function Ji(e, t) {
|
|
2251
|
+
let n = Bi(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Z(e) ? Ii(e) : W(1);
|
|
2251
2252
|
return {
|
|
2252
2253
|
width: e.clientWidth * a.x,
|
|
2253
2254
|
height: e.clientHeight * a.y,
|
|
@@ -2255,13 +2256,13 @@ function Ri(e, t) {
|
|
|
2255
2256
|
y: r * a.y
|
|
2256
2257
|
};
|
|
2257
2258
|
}
|
|
2258
|
-
function
|
|
2259
|
+
function Yi(e, t, n) {
|
|
2259
2260
|
let r;
|
|
2260
|
-
if (t === "viewport") r =
|
|
2261
|
-
else if (t === "document") r =
|
|
2262
|
-
else if (X(t)) r =
|
|
2261
|
+
if (t === "viewport") r = qi(e, n);
|
|
2262
|
+
else if (t === "document") r = Gi(Y(e));
|
|
2263
|
+
else if (X(t)) r = Ji(t, n);
|
|
2263
2264
|
else {
|
|
2264
|
-
let n =
|
|
2265
|
+
let n = Ri(e);
|
|
2265
2266
|
r = {
|
|
2266
2267
|
x: t.x - n.x,
|
|
2267
2268
|
y: t.y - n.y,
|
|
@@ -2269,27 +2270,27 @@ function zi(e, t, n) {
|
|
|
2269
2270
|
height: t.height
|
|
2270
2271
|
};
|
|
2271
2272
|
}
|
|
2272
|
-
return
|
|
2273
|
+
return Qr(r);
|
|
2273
2274
|
}
|
|
2274
|
-
function
|
|
2275
|
-
let n =
|
|
2276
|
-
return n === t || !X(n) ||
|
|
2275
|
+
function Xi(e, t) {
|
|
2276
|
+
let n = Ai(e);
|
|
2277
|
+
return n === t || !X(n) || Oi(n) ? !1 : Q(n).position === "fixed" || Xi(n, t);
|
|
2277
2278
|
}
|
|
2278
|
-
function
|
|
2279
|
+
function Zi(e, t) {
|
|
2279
2280
|
let n = t.get(e);
|
|
2280
2281
|
if (n) return n;
|
|
2281
|
-
let r =
|
|
2282
|
-
for (; X(o) && !
|
|
2283
|
-
let t = Q(o), n =
|
|
2284
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
2282
|
+
let r = Mi(e, [], !1).filter((e) => X(e) && hi(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? Ai(e) : e;
|
|
2283
|
+
for (; X(o) && !Oi(o);) {
|
|
2284
|
+
let t = Q(o), n = Ti(o);
|
|
2285
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || vi(o) && !n && Xi(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Ai(o);
|
|
2285
2286
|
}
|
|
2286
2287
|
return t.set(e, r), r;
|
|
2287
2288
|
}
|
|
2288
|
-
function
|
|
2289
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
2289
|
+
function Qi(e) {
|
|
2290
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? bi(t) ? [] : Zi(t, this._c) : [].concat(n), r], o = Yi(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
2290
2291
|
for (let e = 1; e < a.length; e++) {
|
|
2291
|
-
let n =
|
|
2292
|
-
s = U(n.top, s), c =
|
|
2292
|
+
let n = Yi(t, a[e], i);
|
|
2293
|
+
s = U(n.top, s), c = jr(n.right, c), l = jr(n.bottom, l), u = U(n.left, u);
|
|
2293
2294
|
}
|
|
2294
2295
|
return {
|
|
2295
2296
|
width: c - u,
|
|
@@ -2298,29 +2299,29 @@ function Hi(e) {
|
|
|
2298
2299
|
y: s
|
|
2299
2300
|
};
|
|
2300
2301
|
}
|
|
2301
|
-
function
|
|
2302
|
-
let { width: t, height: n } =
|
|
2302
|
+
function $i(e) {
|
|
2303
|
+
let { width: t, height: n } = Pi(e);
|
|
2303
2304
|
return {
|
|
2304
2305
|
width: t,
|
|
2305
2306
|
height: n
|
|
2306
2307
|
};
|
|
2307
2308
|
}
|
|
2308
|
-
function
|
|
2309
|
-
let r = Z(t), i = Y(t), a = n === "fixed", o =
|
|
2309
|
+
function ea(e, t, n) {
|
|
2310
|
+
let r = Z(t), i = Y(t), a = n === "fixed", o = Bi(e, !0, a, t), s = {
|
|
2310
2311
|
scrollLeft: 0,
|
|
2311
2312
|
scrollTop: 0
|
|
2312
2313
|
}, c = W(0);
|
|
2313
2314
|
function l() {
|
|
2314
|
-
c.x =
|
|
2315
|
+
c.x = Vi(i);
|
|
2315
2316
|
}
|
|
2316
2317
|
if (r || !r && !a) {
|
|
2317
|
-
if ((
|
|
2318
|
-
let e =
|
|
2318
|
+
if ((hi(t) !== "body" || vi(i)) && (s = ki(t)), r) {
|
|
2319
|
+
let e = Bi(t, !0, a, t);
|
|
2319
2320
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
2320
2321
|
} else i && l();
|
|
2321
2322
|
}
|
|
2322
2323
|
a && !r && i && l();
|
|
2323
|
-
let u = i && !r && !a ?
|
|
2324
|
+
let u = i && !r && !a ? Hi(i, s) : W(0);
|
|
2324
2325
|
return {
|
|
2325
2326
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
2326
2327
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -2328,34 +2329,34 @@ function Wi(e, t, n) {
|
|
|
2328
2329
|
height: o.height
|
|
2329
2330
|
};
|
|
2330
2331
|
}
|
|
2331
|
-
function
|
|
2332
|
+
function ta(e) {
|
|
2332
2333
|
return Q(e).position === "static";
|
|
2333
2334
|
}
|
|
2334
|
-
function
|
|
2335
|
+
function na(e, t) {
|
|
2335
2336
|
if (!Z(e) || Q(e).position === "fixed") return null;
|
|
2336
2337
|
if (t) return t(e);
|
|
2337
2338
|
let n = e.offsetParent;
|
|
2338
2339
|
return Y(e) === n && (n = n.ownerDocument.body), n;
|
|
2339
2340
|
}
|
|
2340
|
-
function
|
|
2341
|
+
function ra(e, t) {
|
|
2341
2342
|
let n = J(e);
|
|
2342
|
-
if (
|
|
2343
|
+
if (bi(e)) return n;
|
|
2343
2344
|
if (!Z(e)) {
|
|
2344
|
-
let t =
|
|
2345
|
-
for (; t && !
|
|
2346
|
-
if (X(t) && !
|
|
2347
|
-
t =
|
|
2345
|
+
let t = Ai(e);
|
|
2346
|
+
for (; t && !Oi(t);) {
|
|
2347
|
+
if (X(t) && !ta(t)) return t;
|
|
2348
|
+
t = Ai(t);
|
|
2348
2349
|
}
|
|
2349
2350
|
return n;
|
|
2350
2351
|
}
|
|
2351
|
-
let r =
|
|
2352
|
-
for (; r &&
|
|
2353
|
-
return r &&
|
|
2352
|
+
let r = na(e, t);
|
|
2353
|
+
for (; r && yi(r) && ta(r);) r = na(r, t);
|
|
2354
|
+
return r && Oi(r) && ta(r) && !Ti(r) ? n : r || Ei(e) || n;
|
|
2354
2355
|
}
|
|
2355
|
-
var
|
|
2356
|
-
let t = this.getOffsetParent ||
|
|
2356
|
+
var ia = async function(e) {
|
|
2357
|
+
let t = this.getOffsetParent || ra, n = this.getDimensions, r = await n(e.floating);
|
|
2357
2358
|
return {
|
|
2358
|
-
reference:
|
|
2359
|
+
reference: ea(e.reference, await t(e.floating), e.strategy),
|
|
2359
2360
|
floating: {
|
|
2360
2361
|
x: 0,
|
|
2361
2362
|
y: 0,
|
|
@@ -2364,25 +2365,25 @@ var Ji = async function(e) {
|
|
|
2364
2365
|
}
|
|
2365
2366
|
};
|
|
2366
2367
|
};
|
|
2367
|
-
function
|
|
2368
|
+
function aa(e) {
|
|
2368
2369
|
return Q(e).direction === "rtl";
|
|
2369
2370
|
}
|
|
2370
|
-
var
|
|
2371
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
2371
|
+
var oa = {
|
|
2372
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Ui,
|
|
2372
2373
|
getDocumentElement: Y,
|
|
2373
|
-
getClippingRect:
|
|
2374
|
-
getOffsetParent:
|
|
2375
|
-
getElementRects:
|
|
2376
|
-
getClientRects:
|
|
2377
|
-
getDimensions:
|
|
2378
|
-
getScale:
|
|
2374
|
+
getClippingRect: Qi,
|
|
2375
|
+
getOffsetParent: ra,
|
|
2376
|
+
getElementRects: ia,
|
|
2377
|
+
getClientRects: Wi,
|
|
2378
|
+
getDimensions: $i,
|
|
2379
|
+
getScale: Ii,
|
|
2379
2380
|
isElement: X,
|
|
2380
|
-
isRTL:
|
|
2381
|
+
isRTL: aa
|
|
2381
2382
|
};
|
|
2382
|
-
function
|
|
2383
|
+
function sa(e, t) {
|
|
2383
2384
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
2384
2385
|
}
|
|
2385
|
-
function
|
|
2386
|
+
function ca(e, t) {
|
|
2386
2387
|
let n = null, r, i = Y(e);
|
|
2387
2388
|
function a() {
|
|
2388
2389
|
var e;
|
|
@@ -2392,9 +2393,9 @@ function Qi(e, t) {
|
|
|
2392
2393
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
2393
2394
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
2394
2395
|
if (s || t(), !f || !p) return;
|
|
2395
|
-
let m =
|
|
2396
|
+
let m = Nr(d), h = Nr(i.clientWidth - (u + f)), g = Nr(i.clientHeight - (d + p)), _ = Nr(u), v = {
|
|
2396
2397
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
2397
|
-
threshold: U(0,
|
|
2398
|
+
threshold: U(0, jr(1, c)) || 1
|
|
2398
2399
|
}, y = !0;
|
|
2399
2400
|
function b(t) {
|
|
2400
2401
|
let n = t[0].intersectionRatio;
|
|
@@ -2404,7 +2405,7 @@ function Qi(e, t) {
|
|
|
2404
2405
|
o(!1, 1e-7);
|
|
2405
2406
|
}, 1e3);
|
|
2406
2407
|
}
|
|
2407
|
-
n === 1 && !
|
|
2408
|
+
n === 1 && !sa(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
2408
2409
|
}
|
|
2409
2410
|
try {
|
|
2410
2411
|
n = new IntersectionObserver(b, {
|
|
@@ -2418,13 +2419,13 @@ function Qi(e, t) {
|
|
|
2418
2419
|
}
|
|
2419
2420
|
return o(!0), a;
|
|
2420
2421
|
}
|
|
2421
|
-
function
|
|
2422
|
+
function la(e, t, n, r) {
|
|
2422
2423
|
r === void 0 && (r = {});
|
|
2423
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
2424
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Fi(e), u = i || a ? [...l ? Mi(l) : [], ...t ? Mi(t) : []] : [];
|
|
2424
2425
|
u.forEach((e) => {
|
|
2425
2426
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
2426
2427
|
});
|
|
2427
|
-
let d = l && s ?
|
|
2428
|
+
let d = l && s ? ca(l, n) : null, f = -1, p = null;
|
|
2428
2429
|
o && (p = new ResizeObserver((e) => {
|
|
2429
2430
|
let [r] = e;
|
|
2430
2431
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -2432,11 +2433,11 @@ function $i(e, t, n, r) {
|
|
|
2432
2433
|
(e = p) == null || e.observe(t);
|
|
2433
2434
|
})), n();
|
|
2434
2435
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
2435
|
-
let m, h = c ?
|
|
2436
|
+
let m, h = c ? Bi(e) : null;
|
|
2436
2437
|
c && g();
|
|
2437
2438
|
function g() {
|
|
2438
|
-
let t =
|
|
2439
|
-
h && !
|
|
2439
|
+
let t = Bi(e);
|
|
2440
|
+
h && !sa(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
2440
2441
|
}
|
|
2441
2442
|
return n(), () => {
|
|
2442
2443
|
var e;
|
|
@@ -2445,20 +2446,20 @@ function $i(e, t, n, r) {
|
|
|
2445
2446
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
2446
2447
|
};
|
|
2447
2448
|
}
|
|
2448
|
-
var
|
|
2449
|
+
var ua = ui, da = di, fa = ii, pa = pi, ma = si, ha = ri, ga = fi, _a = (e, t, n) => {
|
|
2449
2450
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
2450
|
-
platform:
|
|
2451
|
+
platform: oa,
|
|
2451
2452
|
...n
|
|
2452
2453
|
}, a = {
|
|
2453
2454
|
...i.platform,
|
|
2454
2455
|
_c: r
|
|
2455
2456
|
};
|
|
2456
|
-
return
|
|
2457
|
+
return ni(e, t, {
|
|
2457
2458
|
...i,
|
|
2458
2459
|
platform: a
|
|
2459
2460
|
});
|
|
2460
|
-
},
|
|
2461
|
-
function
|
|
2461
|
+
}, va = typeof document < "u" ? P.useLayoutEffect : function() {};
|
|
2462
|
+
function ya(e, t) {
|
|
2462
2463
|
if (e === t) return !0;
|
|
2463
2464
|
if (typeof e != typeof t) return !1;
|
|
2464
2465
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -2466,60 +2467,60 @@ function la(e, t) {
|
|
|
2466
2467
|
if (e && t && typeof e == "object") {
|
|
2467
2468
|
if (Array.isArray(e)) {
|
|
2468
2469
|
if (n = e.length, n !== t.length) return !1;
|
|
2469
|
-
for (r = n; r-- !== 0;) if (!
|
|
2470
|
+
for (r = n; r-- !== 0;) if (!ya(e[r], t[r])) return !1;
|
|
2470
2471
|
return !0;
|
|
2471
2472
|
}
|
|
2472
2473
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
2473
2474
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
2474
2475
|
for (r = n; r-- !== 0;) {
|
|
2475
2476
|
let n = i[r];
|
|
2476
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
2477
|
+
if (!(n === "_owner" && e.$$typeof) && !ya(e[n], t[n])) return !1;
|
|
2477
2478
|
}
|
|
2478
2479
|
return !0;
|
|
2479
2480
|
}
|
|
2480
2481
|
return e !== e && t !== t;
|
|
2481
2482
|
}
|
|
2482
|
-
function
|
|
2483
|
+
function ba(e) {
|
|
2483
2484
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
2484
2485
|
}
|
|
2485
|
-
function
|
|
2486
|
-
let n =
|
|
2486
|
+
function xa(e, t) {
|
|
2487
|
+
let n = ba(e);
|
|
2487
2488
|
return Math.round(t * n) / n;
|
|
2488
2489
|
}
|
|
2489
|
-
function
|
|
2490
|
-
let t =
|
|
2491
|
-
return
|
|
2490
|
+
function Sa(e) {
|
|
2491
|
+
let t = P.useRef(e);
|
|
2492
|
+
return va(() => {
|
|
2492
2493
|
t.current = e;
|
|
2493
2494
|
}), t;
|
|
2494
2495
|
}
|
|
2495
|
-
function
|
|
2496
|
+
function Ca(e) {
|
|
2496
2497
|
e === void 0 && (e = {});
|
|
2497
|
-
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] =
|
|
2498
|
+
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({
|
|
2498
2499
|
x: 0,
|
|
2499
2500
|
y: 0,
|
|
2500
2501
|
strategy: n,
|
|
2501
2502
|
placement: t,
|
|
2502
2503
|
middlewareData: {},
|
|
2503
2504
|
isPositioned: !1
|
|
2504
|
-
}), [f, p] =
|
|
2505
|
-
|
|
2506
|
-
let [m, h] =
|
|
2505
|
+
}), [f, p] = P.useState(r);
|
|
2506
|
+
ya(f, r) || p(r);
|
|
2507
|
+
let [m, h] = P.useState(null), [g, _] = P.useState(null), v = P.useCallback((e) => {
|
|
2507
2508
|
e !== S.current && (S.current = e, h(e));
|
|
2508
|
-
}, []), y =
|
|
2509
|
+
}, []), y = P.useCallback((e) => {
|
|
2509
2510
|
e !== C.current && (C.current = e, _(e));
|
|
2510
|
-
}, []), b = a || m, x = o || g, S =
|
|
2511
|
+
}, []), b = a || m, x = o || g, S = P.useRef(null), C = P.useRef(null), w = P.useRef(u), T = c != null, ee = Sa(c), te = Sa(i), E = Sa(l), D = P.useCallback(() => {
|
|
2511
2512
|
if (!S.current || !C.current) return;
|
|
2512
2513
|
let e = {
|
|
2513
2514
|
placement: t,
|
|
2514
2515
|
strategy: n,
|
|
2515
2516
|
middleware: f
|
|
2516
2517
|
};
|
|
2517
|
-
|
|
2518
|
+
te.current && (e.platform = te.current), _a(S.current, C.current, e).then((e) => {
|
|
2518
2519
|
let t = {
|
|
2519
2520
|
...e,
|
|
2520
|
-
isPositioned:
|
|
2521
|
+
isPositioned: E.current !== !1
|
|
2521
2522
|
};
|
|
2522
|
-
|
|
2523
|
+
O.current && !ya(w.current, t) && (w.current = t, Rt.flushSync(() => {
|
|
2523
2524
|
d(t);
|
|
2524
2525
|
}));
|
|
2525
2526
|
});
|
|
@@ -2527,50 +2528,50 @@ function pa(e) {
|
|
|
2527
2528
|
f,
|
|
2528
2529
|
t,
|
|
2529
2530
|
n,
|
|
2530
|
-
|
|
2531
|
-
|
|
2531
|
+
te,
|
|
2532
|
+
E
|
|
2532
2533
|
]);
|
|
2533
|
-
|
|
2534
|
+
va(() => {
|
|
2534
2535
|
l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
|
|
2535
2536
|
...e,
|
|
2536
2537
|
isPositioned: !1
|
|
2537
2538
|
})));
|
|
2538
2539
|
}, [l]);
|
|
2539
|
-
let
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
}), []),
|
|
2540
|
+
let O = P.useRef(!1);
|
|
2541
|
+
va(() => (O.current = !0, () => {
|
|
2542
|
+
O.current = !1;
|
|
2543
|
+
}), []), va(() => {
|
|
2543
2544
|
if (b && (S.current = b), x && (C.current = x), b && x) {
|
|
2544
|
-
if (
|
|
2545
|
-
|
|
2545
|
+
if (ee.current) return ee.current(b, x, D);
|
|
2546
|
+
D();
|
|
2546
2547
|
}
|
|
2547
2548
|
}, [
|
|
2548
2549
|
b,
|
|
2549
2550
|
x,
|
|
2550
|
-
|
|
2551
|
-
|
|
2551
|
+
D,
|
|
2552
|
+
ee,
|
|
2552
2553
|
T
|
|
2553
2554
|
]);
|
|
2554
|
-
let
|
|
2555
|
+
let k = P.useMemo(() => ({
|
|
2555
2556
|
reference: S,
|
|
2556
2557
|
floating: C,
|
|
2557
2558
|
setReference: v,
|
|
2558
2559
|
setFloating: y
|
|
2559
|
-
}), [v, y]),
|
|
2560
|
+
}), [v, y]), A = P.useMemo(() => ({
|
|
2560
2561
|
reference: b,
|
|
2561
2562
|
floating: x
|
|
2562
|
-
}), [b, x]),
|
|
2563
|
+
}), [b, x]), j = P.useMemo(() => {
|
|
2563
2564
|
let e = {
|
|
2564
2565
|
position: n,
|
|
2565
2566
|
left: 0,
|
|
2566
2567
|
top: 0
|
|
2567
2568
|
};
|
|
2568
|
-
if (!
|
|
2569
|
-
let t =
|
|
2569
|
+
if (!A.floating) return e;
|
|
2570
|
+
let t = xa(A.floating, u.x), r = xa(A.floating, u.y);
|
|
2570
2571
|
return s ? {
|
|
2571
2572
|
...e,
|
|
2572
2573
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
2573
|
-
...
|
|
2574
|
+
...ba(A.floating) >= 1.5 && { willChange: "transform" }
|
|
2574
2575
|
} : {
|
|
2575
2576
|
position: n,
|
|
2576
2577
|
left: t,
|
|
@@ -2579,25 +2580,25 @@ function pa(e) {
|
|
|
2579
2580
|
}, [
|
|
2580
2581
|
n,
|
|
2581
2582
|
s,
|
|
2582
|
-
|
|
2583
|
+
A.floating,
|
|
2583
2584
|
u.x,
|
|
2584
2585
|
u.y
|
|
2585
2586
|
]);
|
|
2586
|
-
return
|
|
2587
|
+
return P.useMemo(() => ({
|
|
2587
2588
|
...u,
|
|
2588
|
-
update:
|
|
2589
|
-
refs:
|
|
2590
|
-
elements:
|
|
2591
|
-
floatingStyles:
|
|
2589
|
+
update: D,
|
|
2590
|
+
refs: k,
|
|
2591
|
+
elements: A,
|
|
2592
|
+
floatingStyles: j
|
|
2592
2593
|
}), [
|
|
2593
2594
|
u,
|
|
2594
|
-
|
|
2595
|
+
D,
|
|
2596
|
+
k,
|
|
2595
2597
|
A,
|
|
2596
|
-
j
|
|
2597
|
-
M
|
|
2598
|
+
j
|
|
2598
2599
|
]);
|
|
2599
2600
|
}
|
|
2600
|
-
var
|
|
2601
|
+
var wa = (e) => {
|
|
2601
2602
|
function t(e) {
|
|
2602
2603
|
return {}.hasOwnProperty.call(e, "current");
|
|
2603
2604
|
}
|
|
@@ -2606,79 +2607,79 @@ var ma = (e) => {
|
|
|
2606
2607
|
options: e,
|
|
2607
2608
|
fn(n) {
|
|
2608
2609
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2609
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2610
|
+
return r && t(r) ? r.current == null ? {} : ha({
|
|
2610
2611
|
element: r.current,
|
|
2611
2612
|
padding: i
|
|
2612
|
-
}).fn(n) : r ?
|
|
2613
|
+
}).fn(n) : r ? ha({
|
|
2613
2614
|
element: r,
|
|
2614
2615
|
padding: i
|
|
2615
2616
|
}).fn(n) : {};
|
|
2616
2617
|
}
|
|
2617
2618
|
};
|
|
2618
|
-
},
|
|
2619
|
-
let n =
|
|
2619
|
+
}, Ta = (e, t) => {
|
|
2620
|
+
let n = ua(e);
|
|
2620
2621
|
return {
|
|
2621
2622
|
name: n.name,
|
|
2622
2623
|
fn: n.fn,
|
|
2623
2624
|
options: [e, t]
|
|
2624
2625
|
};
|
|
2625
|
-
},
|
|
2626
|
-
let n =
|
|
2626
|
+
}, Ea = (e, t) => {
|
|
2627
|
+
let n = da(e);
|
|
2627
2628
|
return {
|
|
2628
2629
|
name: n.name,
|
|
2629
2630
|
fn: n.fn,
|
|
2630
2631
|
options: [e, t]
|
|
2631
2632
|
};
|
|
2632
|
-
},
|
|
2633
|
-
fn:
|
|
2633
|
+
}, Da = (e, t) => ({
|
|
2634
|
+
fn: ga(e).fn,
|
|
2634
2635
|
options: [e, t]
|
|
2635
|
-
}),
|
|
2636
|
-
let n =
|
|
2636
|
+
}), Oa = (e, t) => {
|
|
2637
|
+
let n = fa(e);
|
|
2637
2638
|
return {
|
|
2638
2639
|
name: n.name,
|
|
2639
2640
|
fn: n.fn,
|
|
2640
2641
|
options: [e, t]
|
|
2641
2642
|
};
|
|
2642
|
-
},
|
|
2643
|
-
let n =
|
|
2643
|
+
}, ka = (e, t) => {
|
|
2644
|
+
let n = pa(e);
|
|
2644
2645
|
return {
|
|
2645
2646
|
name: n.name,
|
|
2646
2647
|
fn: n.fn,
|
|
2647
2648
|
options: [e, t]
|
|
2648
2649
|
};
|
|
2649
|
-
},
|
|
2650
|
-
let n =
|
|
2650
|
+
}, Aa = (e, t) => {
|
|
2651
|
+
let n = ma(e);
|
|
2651
2652
|
return {
|
|
2652
2653
|
name: n.name,
|
|
2653
2654
|
fn: n.fn,
|
|
2654
2655
|
options: [e, t]
|
|
2655
2656
|
};
|
|
2656
|
-
},
|
|
2657
|
-
let n =
|
|
2657
|
+
}, ja = (e, t) => {
|
|
2658
|
+
let n = wa(e);
|
|
2658
2659
|
return {
|
|
2659
2660
|
name: n.name,
|
|
2660
2661
|
fn: n.fn,
|
|
2661
2662
|
options: [e, t]
|
|
2662
2663
|
};
|
|
2663
|
-
},
|
|
2664
|
+
}, Ma = "Arrow", Na = P.forwardRef((e, t) => {
|
|
2664
2665
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2665
|
-
return /* @__PURE__ */ (0,
|
|
2666
|
+
return /* @__PURE__ */ (0, I.jsx)(V.svg, {
|
|
2666
2667
|
...a,
|
|
2667
2668
|
ref: t,
|
|
2668
2669
|
width: r,
|
|
2669
2670
|
height: i,
|
|
2670
2671
|
viewBox: "0 0 30 10",
|
|
2671
2672
|
preserveAspectRatio: "none",
|
|
2672
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
2673
|
+
children: e.asChild ? n : /* @__PURE__ */ (0, I.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2673
2674
|
});
|
|
2674
2675
|
});
|
|
2675
|
-
|
|
2676
|
-
var
|
|
2676
|
+
Na.displayName = Ma;
|
|
2677
|
+
var Pa = Na;
|
|
2677
2678
|
//#endregion
|
|
2678
2679
|
//#region ../node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
2679
|
-
function
|
|
2680
|
-
let [t, n] =
|
|
2681
|
-
return
|
|
2680
|
+
function Fa(e) {
|
|
2681
|
+
let [t, n] = P.useState(void 0);
|
|
2682
|
+
return Er(() => {
|
|
2682
2683
|
if (e) {
|
|
2683
2684
|
n({
|
|
2684
2685
|
width: e.offsetWidth,
|
|
@@ -2703,126 +2704,126 @@ function Ta(e) {
|
|
|
2703
2704
|
}
|
|
2704
2705
|
//#endregion
|
|
2705
2706
|
//#region ../node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
2706
|
-
var
|
|
2707
|
-
let { __scopePopper: t, children: n } = e, [r, i] =
|
|
2708
|
-
return /* @__PURE__ */ (0,
|
|
2707
|
+
var Ia = "Popper", [La, Ra] = Rn(Ia), [za, Ba] = La(Ia), Va = (e) => {
|
|
2708
|
+
let { __scopePopper: t, children: n } = e, [r, i] = P.useState(null);
|
|
2709
|
+
return /* @__PURE__ */ (0, I.jsx)(za, {
|
|
2709
2710
|
scope: t,
|
|
2710
2711
|
anchor: r,
|
|
2711
2712
|
onAnchorChange: i,
|
|
2712
2713
|
children: n
|
|
2713
2714
|
});
|
|
2714
2715
|
};
|
|
2715
|
-
|
|
2716
|
-
var
|
|
2717
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2718
|
-
return
|
|
2716
|
+
Va.displayName = Ia;
|
|
2717
|
+
var Ha = "PopperAnchor", Ua = P.forwardRef((e, t) => {
|
|
2718
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Ba(Ha, n), o = P.useRef(null), s = B(t, o), c = P.useRef(null);
|
|
2719
|
+
return P.useEffect(() => {
|
|
2719
2720
|
let e = c.current;
|
|
2720
2721
|
c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
|
|
2721
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
2722
|
+
}), r ? null : /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
2722
2723
|
...i,
|
|
2723
2724
|
ref: s
|
|
2724
2725
|
});
|
|
2725
2726
|
});
|
|
2726
|
-
|
|
2727
|
-
var
|
|
2728
|
-
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 =
|
|
2727
|
+
Ua.displayName = Ha;
|
|
2728
|
+
var Wa = "PopperContent", [Ga, Ka] = La(Wa), qa = P.forwardRef((e, t) => {
|
|
2729
|
+
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 = Ba(Wa, n), [_, v] = P.useState(null), y = B(t, (e) => v(e)), [b, x] = P.useState(null), S = Fa(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), ee = typeof u == "number" ? u : {
|
|
2729
2730
|
top: 0,
|
|
2730
2731
|
right: 0,
|
|
2731
2732
|
bottom: 0,
|
|
2732
2733
|
left: 0,
|
|
2733
2734
|
...u
|
|
2734
|
-
},
|
|
2735
|
-
padding:
|
|
2736
|
-
boundary:
|
|
2737
|
-
altBoundary:
|
|
2738
|
-
}, { refs:
|
|
2735
|
+
}, te = Array.isArray(l) ? l : [l], E = te.length > 0, D = {
|
|
2736
|
+
padding: ee,
|
|
2737
|
+
boundary: te.filter(Za),
|
|
2738
|
+
altBoundary: E
|
|
2739
|
+
}, { refs: O, floatingStyles: k, placement: A, isPositioned: j, middlewareData: ne } = Ca({
|
|
2739
2740
|
strategy: "fixed",
|
|
2740
2741
|
placement: T,
|
|
2741
|
-
whileElementsMounted: (...e) =>
|
|
2742
|
+
whileElementsMounted: (...e) => la(...e, { animationFrame: p === "always" }),
|
|
2742
2743
|
elements: { reference: g.anchor },
|
|
2743
2744
|
middleware: [
|
|
2744
|
-
|
|
2745
|
+
Ta({
|
|
2745
2746
|
mainAxis: i + w,
|
|
2746
2747
|
alignmentAxis: o
|
|
2747
2748
|
}),
|
|
2748
|
-
c &&
|
|
2749
|
+
c && Ea({
|
|
2749
2750
|
mainAxis: !0,
|
|
2750
2751
|
crossAxis: !1,
|
|
2751
|
-
limiter: d === "partial" ?
|
|
2752
|
-
...
|
|
2752
|
+
limiter: d === "partial" ? Da() : void 0,
|
|
2753
|
+
...D
|
|
2753
2754
|
}),
|
|
2754
|
-
c &&
|
|
2755
|
-
|
|
2756
|
-
...
|
|
2755
|
+
c && Oa({ ...D }),
|
|
2756
|
+
ka({
|
|
2757
|
+
...D,
|
|
2757
2758
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2758
2759
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2759
2760
|
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`);
|
|
2760
2761
|
}
|
|
2761
2762
|
}),
|
|
2762
|
-
b &&
|
|
2763
|
+
b && ja({
|
|
2763
2764
|
element: b,
|
|
2764
2765
|
padding: s
|
|
2765
2766
|
}),
|
|
2766
|
-
|
|
2767
|
+
Qa({
|
|
2767
2768
|
arrowWidth: C,
|
|
2768
2769
|
arrowHeight: w
|
|
2769
2770
|
}),
|
|
2770
|
-
f &&
|
|
2771
|
+
f && Aa({
|
|
2771
2772
|
strategy: "referenceHidden",
|
|
2772
|
-
...
|
|
2773
|
+
...D
|
|
2773
2774
|
})
|
|
2774
2775
|
]
|
|
2775
|
-
}), [
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
}, [
|
|
2779
|
-
let
|
|
2780
|
-
return
|
|
2781
|
-
_ &&
|
|
2782
|
-
}, [_]), /* @__PURE__ */ (0,
|
|
2783
|
-
ref:
|
|
2776
|
+
}), [re, ie] = $a(A), ae = qn(m);
|
|
2777
|
+
Er(() => {
|
|
2778
|
+
j && ae?.();
|
|
2779
|
+
}, [j, ae]);
|
|
2780
|
+
let oe = ne.arrow?.x, se = ne.arrow?.y, M = ne.arrow?.centerOffset !== 0, [ce, le] = P.useState();
|
|
2781
|
+
return Er(() => {
|
|
2782
|
+
_ && le(window.getComputedStyle(_).zIndex);
|
|
2783
|
+
}, [_]), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
2784
|
+
ref: O.setFloating,
|
|
2784
2785
|
"data-radix-popper-content-wrapper": "",
|
|
2785
2786
|
style: {
|
|
2786
|
-
...
|
|
2787
|
-
transform:
|
|
2787
|
+
...k,
|
|
2788
|
+
transform: j ? k.transform : "translate(0, -200%)",
|
|
2788
2789
|
minWidth: "max-content",
|
|
2789
|
-
zIndex:
|
|
2790
|
-
"--radix-popper-transform-origin": [
|
|
2791
|
-
...
|
|
2790
|
+
zIndex: ce,
|
|
2791
|
+
"--radix-popper-transform-origin": [ne.transformOrigin?.x, ne.transformOrigin?.y].join(" "),
|
|
2792
|
+
...ne.hide?.referenceHidden && {
|
|
2792
2793
|
visibility: "hidden",
|
|
2793
2794
|
pointerEvents: "none"
|
|
2794
2795
|
}
|
|
2795
2796
|
},
|
|
2796
2797
|
dir: e.dir,
|
|
2797
|
-
children: /* @__PURE__ */ (0,
|
|
2798
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ga, {
|
|
2798
2799
|
scope: n,
|
|
2799
|
-
placedSide:
|
|
2800
|
+
placedSide: re,
|
|
2800
2801
|
onArrowChange: x,
|
|
2801
|
-
arrowX:
|
|
2802
|
-
arrowY:
|
|
2803
|
-
shouldHideArrow:
|
|
2804
|
-
children: /* @__PURE__ */ (0,
|
|
2805
|
-
"data-side":
|
|
2806
|
-
"data-align":
|
|
2802
|
+
arrowX: oe,
|
|
2803
|
+
arrowY: se,
|
|
2804
|
+
shouldHideArrow: M,
|
|
2805
|
+
children: /* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
2806
|
+
"data-side": re,
|
|
2807
|
+
"data-align": ie,
|
|
2807
2808
|
...h,
|
|
2808
2809
|
ref: y,
|
|
2809
2810
|
style: {
|
|
2810
2811
|
...h.style,
|
|
2811
|
-
animation:
|
|
2812
|
+
animation: j ? void 0 : "none"
|
|
2812
2813
|
}
|
|
2813
2814
|
})
|
|
2814
2815
|
})
|
|
2815
2816
|
});
|
|
2816
2817
|
});
|
|
2817
|
-
|
|
2818
|
-
var
|
|
2818
|
+
qa.displayName = Wa;
|
|
2819
|
+
var Ja = "PopperArrow", Ya = {
|
|
2819
2820
|
top: "bottom",
|
|
2820
2821
|
right: "left",
|
|
2821
2822
|
bottom: "top",
|
|
2822
2823
|
left: "right"
|
|
2823
|
-
},
|
|
2824
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2825
|
-
return /* @__PURE__ */ (0,
|
|
2824
|
+
}, Xa = P.forwardRef(function(e, t) {
|
|
2825
|
+
let { __scopePopper: n, ...r } = e, i = Ka(Ja, n), a = Ya[i.placedSide];
|
|
2826
|
+
return /* @__PURE__ */ (0, I.jsx)("span", {
|
|
2826
2827
|
ref: i.onArrowChange,
|
|
2827
2828
|
style: {
|
|
2828
2829
|
position: "absolute",
|
|
@@ -2843,7 +2844,7 @@ var Ra = "PopperArrow", za = {
|
|
|
2843
2844
|
}[i.placedSide],
|
|
2844
2845
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2845
2846
|
},
|
|
2846
|
-
children: /* @__PURE__ */ (0,
|
|
2847
|
+
children: /* @__PURE__ */ (0, I.jsx)(Pa, {
|
|
2847
2848
|
...r,
|
|
2848
2849
|
ref: t,
|
|
2849
2850
|
style: {
|
|
@@ -2853,15 +2854,15 @@ var Ra = "PopperArrow", za = {
|
|
|
2853
2854
|
})
|
|
2854
2855
|
});
|
|
2855
2856
|
});
|
|
2856
|
-
|
|
2857
|
-
function
|
|
2857
|
+
Xa.displayName = Ja;
|
|
2858
|
+
function Za(e) {
|
|
2858
2859
|
return e !== null;
|
|
2859
2860
|
}
|
|
2860
|
-
var
|
|
2861
|
+
var Qa = (e) => ({
|
|
2861
2862
|
name: "transformOrigin",
|
|
2862
2863
|
options: e,
|
|
2863
2864
|
fn(t) {
|
|
2864
|
-
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] =
|
|
2865
|
+
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] = $a(n), u = {
|
|
2865
2866
|
start: "0%",
|
|
2866
2867
|
center: "50%",
|
|
2867
2868
|
end: "100%"
|
|
@@ -2872,32 +2873,32 @@ var Ha = (e) => ({
|
|
|
2872
2873
|
} };
|
|
2873
2874
|
}
|
|
2874
2875
|
});
|
|
2875
|
-
function
|
|
2876
|
+
function $a(e) {
|
|
2876
2877
|
let [t, n = "center"] = e.split("-");
|
|
2877
2878
|
return [t, n];
|
|
2878
2879
|
}
|
|
2879
|
-
var
|
|
2880
|
-
let { container: n, ...r } = e, [i, a] =
|
|
2881
|
-
|
|
2880
|
+
var eo = Va, to = Ua, no = qa, ro = Xa, io = "Portal", ao = P.forwardRef((e, t) => {
|
|
2881
|
+
let { container: n, ...r } = e, [i, a] = P.useState(!1);
|
|
2882
|
+
Er(() => a(!0), []);
|
|
2882
2883
|
let o = n || i && globalThis?.document?.body;
|
|
2883
|
-
return o ?
|
|
2884
|
+
return o ? Rt.createPortal(/* @__PURE__ */ (0, I.jsx)(V.div, {
|
|
2884
2885
|
...r,
|
|
2885
2886
|
ref: t
|
|
2886
2887
|
}), o) : null;
|
|
2887
2888
|
});
|
|
2888
|
-
|
|
2889
|
+
ao.displayName = io;
|
|
2889
2890
|
//#endregion
|
|
2890
2891
|
//#region ../node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2891
|
-
function
|
|
2892
|
-
return
|
|
2892
|
+
function oo(e, t) {
|
|
2893
|
+
return P.useReducer((e, n) => t[e][n] ?? e, e);
|
|
2893
2894
|
}
|
|
2894
|
-
var
|
|
2895
|
-
let { present: t, children: n } = e, r =
|
|
2896
|
-
return typeof n == "function" || r.isPresent ?
|
|
2895
|
+
var so = (e) => {
|
|
2896
|
+
let { present: t, children: n } = e, r = co(t), i = typeof n == "function" ? n({ present: r.isPresent }) : P.Children.only(n), a = B(r.ref, uo(i));
|
|
2897
|
+
return typeof n == "function" || r.isPresent ? P.cloneElement(i, { ref: a }) : null;
|
|
2897
2898
|
};
|
|
2898
|
-
|
|
2899
|
-
function
|
|
2900
|
-
let [t, n] =
|
|
2899
|
+
so.displayName = "Presence";
|
|
2900
|
+
function co(e) {
|
|
2901
|
+
let [t, n] = P.useState(), r = P.useRef(null), i = P.useRef(e), a = P.useRef("none"), [o, s] = oo(e ? "mounted" : "unmounted", {
|
|
2901
2902
|
mounted: {
|
|
2902
2903
|
UNMOUNT: "unmounted",
|
|
2903
2904
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -2908,19 +2909,19 @@ function Qa(e) {
|
|
|
2908
2909
|
},
|
|
2909
2910
|
unmounted: { MOUNT: "mounted" }
|
|
2910
2911
|
});
|
|
2911
|
-
return
|
|
2912
|
-
let e =
|
|
2912
|
+
return P.useEffect(() => {
|
|
2913
|
+
let e = lo(r.current);
|
|
2913
2914
|
a.current = o === "mounted" ? e : "none";
|
|
2914
|
-
}, [o]),
|
|
2915
|
+
}, [o]), Er(() => {
|
|
2915
2916
|
let t = r.current, n = i.current;
|
|
2916
2917
|
if (n !== e) {
|
|
2917
|
-
let r = a.current, o =
|
|
2918
|
+
let r = a.current, o = lo(t);
|
|
2918
2919
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
2919
2920
|
}
|
|
2920
|
-
}, [e, s]),
|
|
2921
|
+
}, [e, s]), Er(() => {
|
|
2921
2922
|
if (t) {
|
|
2922
2923
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
2923
|
-
let o =
|
|
2924
|
+
let o = lo(r.current).includes(CSS.escape(a.animationName));
|
|
2924
2925
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
2925
2926
|
let r = t.style.animationFillMode;
|
|
2926
2927
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -2928,7 +2929,7 @@ function Qa(e) {
|
|
|
2928
2929
|
});
|
|
2929
2930
|
}
|
|
2930
2931
|
}, c = (e) => {
|
|
2931
|
-
e.target === t && (a.current =
|
|
2932
|
+
e.target === t && (a.current = lo(r.current));
|
|
2932
2933
|
};
|
|
2933
2934
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
2934
2935
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -2937,36 +2938,36 @@ function Qa(e) {
|
|
|
2937
2938
|
s("ANIMATION_END");
|
|
2938
2939
|
}, [t, s]), {
|
|
2939
2940
|
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
2940
|
-
ref:
|
|
2941
|
+
ref: P.useCallback((e) => {
|
|
2941
2942
|
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
2942
2943
|
}, [])
|
|
2943
2944
|
};
|
|
2944
2945
|
}
|
|
2945
|
-
function
|
|
2946
|
+
function lo(e) {
|
|
2946
2947
|
return e?.animationName || "none";
|
|
2947
2948
|
}
|
|
2948
|
-
function
|
|
2949
|
+
function uo(e) {
|
|
2949
2950
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
2950
2951
|
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);
|
|
2951
2952
|
}
|
|
2952
2953
|
//#endregion
|
|
2953
2954
|
//#region ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
2954
|
-
var
|
|
2955
|
-
function
|
|
2956
|
-
let [i, a, o] =
|
|
2955
|
+
var fo = P.useInsertionEffect || Er;
|
|
2956
|
+
function po({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
2957
|
+
let [i, a, o] = mo({
|
|
2957
2958
|
defaultProp: t,
|
|
2958
2959
|
onChange: n
|
|
2959
2960
|
}), s = e !== void 0, c = s ? e : i;
|
|
2960
2961
|
{
|
|
2961
|
-
let t =
|
|
2962
|
-
|
|
2962
|
+
let t = P.useRef(e !== void 0);
|
|
2963
|
+
P.useEffect(() => {
|
|
2963
2964
|
let e = t.current;
|
|
2964
2965
|
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;
|
|
2965
2966
|
}, [s, r]);
|
|
2966
2967
|
}
|
|
2967
|
-
return [c,
|
|
2968
|
+
return [c, P.useCallback((t) => {
|
|
2968
2969
|
if (s) {
|
|
2969
|
-
let n =
|
|
2970
|
+
let n = ho(t) ? t(e) : t;
|
|
2970
2971
|
n !== e && o.current?.(n);
|
|
2971
2972
|
} else a(t);
|
|
2972
2973
|
}, [
|
|
@@ -2976,11 +2977,11 @@ function no({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
2976
2977
|
o
|
|
2977
2978
|
])];
|
|
2978
2979
|
}
|
|
2979
|
-
function
|
|
2980
|
-
let [n, r] =
|
|
2981
|
-
return
|
|
2980
|
+
function mo({ defaultProp: e, onChange: t }) {
|
|
2981
|
+
let [n, r] = P.useState(e), i = P.useRef(n), a = P.useRef(t);
|
|
2982
|
+
return fo(() => {
|
|
2982
2983
|
a.current = t;
|
|
2983
|
-
}, [t]),
|
|
2984
|
+
}, [t]), P.useEffect(() => {
|
|
2984
2985
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
2985
2986
|
}, [n, i]), [
|
|
2986
2987
|
n,
|
|
@@ -2988,27 +2989,27 @@ function ro({ defaultProp: e, onChange: t }) {
|
|
|
2988
2989
|
a
|
|
2989
2990
|
];
|
|
2990
2991
|
}
|
|
2991
|
-
function
|
|
2992
|
+
function ho(e) {
|
|
2992
2993
|
return typeof e == "function";
|
|
2993
2994
|
}
|
|
2994
2995
|
//#endregion
|
|
2995
2996
|
//#region ../node_modules/aria-hidden/dist/es2015/index.js
|
|
2996
|
-
var
|
|
2997
|
+
var go = function(e) {
|
|
2997
2998
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
2998
|
-
},
|
|
2999
|
-
return e && (e.host ||
|
|
3000
|
-
},
|
|
2999
|
+
}, _o = /* @__PURE__ */ new WeakMap(), vo = /* @__PURE__ */ new WeakMap(), yo = {}, bo = 0, xo = function(e) {
|
|
3000
|
+
return e && (e.host || xo(e.parentNode));
|
|
3001
|
+
}, So = function(e, t) {
|
|
3001
3002
|
return t.map(function(t) {
|
|
3002
3003
|
if (e.contains(t)) return t;
|
|
3003
|
-
var n =
|
|
3004
|
+
var n = xo(t);
|
|
3004
3005
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
3005
3006
|
}).filter(function(e) {
|
|
3006
3007
|
return !!e;
|
|
3007
3008
|
});
|
|
3008
|
-
},
|
|
3009
|
-
var i =
|
|
3010
|
-
|
|
3011
|
-
var a =
|
|
3009
|
+
}, Co = function(e, t, n, r) {
|
|
3010
|
+
var i = So(t, Array.isArray(e) ? e : [e]);
|
|
3011
|
+
yo[n] || (yo[n] = /* @__PURE__ */ new WeakMap());
|
|
3012
|
+
var a = yo[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
3012
3013
|
e && !s.has(e) && (s.add(e), l(e.parentNode));
|
|
3013
3014
|
};
|
|
3014
3015
|
i.forEach(l);
|
|
@@ -3016,23 +3017,23 @@ var ao = function(e) {
|
|
|
3016
3017
|
e && !c.has(e) && Array.prototype.forEach.call(e.children, function(e) {
|
|
3017
3018
|
if (s.has(e)) u(e);
|
|
3018
3019
|
else try {
|
|
3019
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
3020
|
-
|
|
3020
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (_o.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
3021
|
+
_o.set(e, c), a.set(e, l), o.push(e), c === 1 && i && vo.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
3021
3022
|
} catch (t) {
|
|
3022
3023
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
3023
3024
|
}
|
|
3024
3025
|
});
|
|
3025
3026
|
};
|
|
3026
|
-
return u(t), s.clear(),
|
|
3027
|
+
return u(t), s.clear(), bo++, function() {
|
|
3027
3028
|
o.forEach(function(e) {
|
|
3028
|
-
var t =
|
|
3029
|
-
|
|
3030
|
-
}),
|
|
3029
|
+
var t = _o.get(e) - 1, i = a.get(e) - 1;
|
|
3030
|
+
_o.set(e, t), a.set(e, i), t || (vo.has(e) || e.removeAttribute(r), vo.delete(e)), i || e.removeAttribute(n);
|
|
3031
|
+
}), bo--, bo || (_o = /* @__PURE__ */ new WeakMap(), _o = /* @__PURE__ */ new WeakMap(), vo = /* @__PURE__ */ new WeakMap(), yo = {});
|
|
3031
3032
|
};
|
|
3032
|
-
},
|
|
3033
|
+
}, wo = function(e, t, n) {
|
|
3033
3034
|
n === void 0 && (n = "data-aria-hidden");
|
|
3034
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
3035
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
3035
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || go(e);
|
|
3036
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), Co(r, i, n, "aria-hidden")) : function() {
|
|
3036
3037
|
return null;
|
|
3037
3038
|
};
|
|
3038
3039
|
}, $ = function() {
|
|
@@ -3041,13 +3042,13 @@ var ao = function(e) {
|
|
|
3041
3042
|
return e;
|
|
3042
3043
|
}, $.apply(this, arguments);
|
|
3043
3044
|
};
|
|
3044
|
-
function
|
|
3045
|
+
function To(e, t) {
|
|
3045
3046
|
var n = {};
|
|
3046
3047
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3047
3048
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
3048
3049
|
return n;
|
|
3049
3050
|
}
|
|
3050
|
-
function
|
|
3051
|
+
function Eo(e, t, n, r) {
|
|
3051
3052
|
function i(e) {
|
|
3052
3053
|
return e instanceof n ? e : new n(function(t) {
|
|
3053
3054
|
t(e);
|
|
@@ -3074,7 +3075,7 @@ function go(e, t, n, r) {
|
|
|
3074
3075
|
c((r = r.apply(e, t || [])).next());
|
|
3075
3076
|
});
|
|
3076
3077
|
}
|
|
3077
|
-
function
|
|
3078
|
+
function Do(e, t) {
|
|
3078
3079
|
var n = {
|
|
3079
3080
|
label: 0,
|
|
3080
3081
|
sent: function() {
|
|
@@ -3144,7 +3145,7 @@ function _o(e, t) {
|
|
|
3144
3145
|
};
|
|
3145
3146
|
}
|
|
3146
3147
|
}
|
|
3147
|
-
function
|
|
3148
|
+
function Oo(e, t) {
|
|
3148
3149
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3149
3150
|
if (!n) return e;
|
|
3150
3151
|
var r = n.call(e), i, a = [], o;
|
|
@@ -3161,26 +3162,26 @@ function vo(e, t) {
|
|
|
3161
3162
|
}
|
|
3162
3163
|
return a;
|
|
3163
3164
|
}
|
|
3164
|
-
function
|
|
3165
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
3165
|
+
function ko() {
|
|
3166
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(Oo(arguments[t]));
|
|
3166
3167
|
return e;
|
|
3167
3168
|
}
|
|
3168
|
-
function
|
|
3169
|
+
function Ao(e, t, n) {
|
|
3169
3170
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
3170
3171
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3171
3172
|
}
|
|
3172
3173
|
//#endregion
|
|
3173
3174
|
//#region ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
3174
|
-
var
|
|
3175
|
+
var jo = "right-scroll-bar-position", Mo = "width-before-scroll-bar", No = "with-scroll-bars-hidden", Po = "--removed-body-scroll-bar-size";
|
|
3175
3176
|
//#endregion
|
|
3176
3177
|
//#region ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
3177
|
-
function
|
|
3178
|
+
function Fo(e, t) {
|
|
3178
3179
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3179
3180
|
}
|
|
3180
3181
|
//#endregion
|
|
3181
3182
|
//#region ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
3182
|
-
function
|
|
3183
|
-
var n = (0,
|
|
3183
|
+
function Io(e, t) {
|
|
3184
|
+
var n = (0, P.useState)(function() {
|
|
3184
3185
|
return {
|
|
3185
3186
|
value: e,
|
|
3186
3187
|
callback: t,
|
|
@@ -3199,33 +3200,33 @@ function Eo(e, t) {
|
|
|
3199
3200
|
}
|
|
3200
3201
|
//#endregion
|
|
3201
3202
|
//#region ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
3202
|
-
var
|
|
3203
|
-
function
|
|
3204
|
-
var n =
|
|
3203
|
+
var Lo = typeof window < "u" ? P.useLayoutEffect : P.useEffect, Ro = /* @__PURE__ */ new WeakMap();
|
|
3204
|
+
function zo(e, t) {
|
|
3205
|
+
var n = Io(t || null, function(t) {
|
|
3205
3206
|
return e.forEach(function(e) {
|
|
3206
|
-
return
|
|
3207
|
+
return Fo(e, t);
|
|
3207
3208
|
});
|
|
3208
3209
|
});
|
|
3209
|
-
return
|
|
3210
|
-
var t =
|
|
3210
|
+
return Lo(function() {
|
|
3211
|
+
var t = Ro.get(n);
|
|
3211
3212
|
if (t) {
|
|
3212
3213
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
3213
3214
|
r.forEach(function(e) {
|
|
3214
|
-
i.has(e) ||
|
|
3215
|
+
i.has(e) || Fo(e, null);
|
|
3215
3216
|
}), i.forEach(function(e) {
|
|
3216
|
-
r.has(e) ||
|
|
3217
|
+
r.has(e) || Fo(e, a);
|
|
3217
3218
|
});
|
|
3218
3219
|
}
|
|
3219
|
-
|
|
3220
|
+
Ro.set(n, e);
|
|
3220
3221
|
}, [e]), n;
|
|
3221
3222
|
}
|
|
3222
3223
|
//#endregion
|
|
3223
3224
|
//#region ../node_modules/use-sidecar/dist/es2015/medium.js
|
|
3224
|
-
function
|
|
3225
|
+
function Bo(e) {
|
|
3225
3226
|
return e;
|
|
3226
3227
|
}
|
|
3227
|
-
function
|
|
3228
|
-
t === void 0 && (t =
|
|
3228
|
+
function Vo(e, t) {
|
|
3229
|
+
t === void 0 && (t = Bo);
|
|
3229
3230
|
var n = [], r = !1;
|
|
3230
3231
|
return {
|
|
3231
3232
|
read: function() {
|
|
@@ -3278,9 +3279,9 @@ function jo(e, t) {
|
|
|
3278
3279
|
}
|
|
3279
3280
|
};
|
|
3280
3281
|
}
|
|
3281
|
-
function
|
|
3282
|
+
function Ho(e) {
|
|
3282
3283
|
e === void 0 && (e = {});
|
|
3283
|
-
var t =
|
|
3284
|
+
var t = Vo(null);
|
|
3284
3285
|
return t.options = $({
|
|
3285
3286
|
async: !0,
|
|
3286
3287
|
ssr: !1
|
|
@@ -3288,25 +3289,25 @@ function Mo(e) {
|
|
|
3288
3289
|
}
|
|
3289
3290
|
//#endregion
|
|
3290
3291
|
//#region ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
3291
|
-
var
|
|
3292
|
-
var t = e.sideCar, n =
|
|
3292
|
+
var Uo = function(e) {
|
|
3293
|
+
var t = e.sideCar, n = To(e, ["sideCar"]);
|
|
3293
3294
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3294
3295
|
var r = t.read();
|
|
3295
3296
|
if (!r) throw Error("Sidecar medium not found");
|
|
3296
|
-
return
|
|
3297
|
+
return P.createElement(r, $({}, n));
|
|
3297
3298
|
};
|
|
3298
|
-
|
|
3299
|
-
function
|
|
3300
|
-
return e.useMedium(t),
|
|
3299
|
+
Uo.isSideCarExport = !0;
|
|
3300
|
+
function Wo(e, t) {
|
|
3301
|
+
return e.useMedium(t), Uo;
|
|
3301
3302
|
}
|
|
3302
3303
|
//#endregion
|
|
3303
3304
|
//#region ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
3304
|
-
var
|
|
3305
|
-
var n =
|
|
3306
|
-
onScrollCapture:
|
|
3307
|
-
onWheelCapture:
|
|
3308
|
-
onTouchMoveCapture:
|
|
3309
|
-
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b =
|
|
3305
|
+
var Go = Ho(), Ko = function() {}, qo = P.forwardRef(function(e, t) {
|
|
3306
|
+
var n = P.useRef(null), r = P.useState({
|
|
3307
|
+
onScrollCapture: Ko,
|
|
3308
|
+
onWheelCapture: Ko,
|
|
3309
|
+
onTouchMoveCapture: Ko
|
|
3310
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = To(e, [
|
|
3310
3311
|
"forwardProps",
|
|
3311
3312
|
"children",
|
|
3312
3313
|
"className",
|
|
@@ -3320,9 +3321,9 @@ var Fo = Mo(), Io = function() {}, Lo = F.forwardRef(function(e, t) {
|
|
|
3320
3321
|
"allowPinchZoom",
|
|
3321
3322
|
"as",
|
|
3322
3323
|
"gapMode"
|
|
3323
|
-
]), x = f, S =
|
|
3324
|
-
return
|
|
3325
|
-
sideCar:
|
|
3324
|
+
]), x = f, S = zo([n, t]), C = $($({}, b), i);
|
|
3325
|
+
return P.createElement(P.Fragment, null, u && P.createElement(x, {
|
|
3326
|
+
sideCar: Go,
|
|
3326
3327
|
removeScrollBar: l,
|
|
3327
3328
|
shards: d,
|
|
3328
3329
|
noRelative: p,
|
|
@@ -3332,95 +3333,95 @@ var Fo = Mo(), Io = function() {}, Lo = F.forwardRef(function(e, t) {
|
|
|
3332
3333
|
allowPinchZoom: !!g,
|
|
3333
3334
|
lockRef: n,
|
|
3334
3335
|
gapMode: y
|
|
3335
|
-
}), o ?
|
|
3336
|
+
}), o ? P.cloneElement(P.Children.only(s), $($({}, C), { ref: S })) : P.createElement(v, $({}, C, {
|
|
3336
3337
|
className: c,
|
|
3337
3338
|
ref: S
|
|
3338
3339
|
}), s));
|
|
3339
3340
|
});
|
|
3340
|
-
|
|
3341
|
+
qo.defaultProps = {
|
|
3341
3342
|
enabled: !0,
|
|
3342
3343
|
removeScrollBar: !0,
|
|
3343
3344
|
inert: !1
|
|
3344
|
-
},
|
|
3345
|
-
fullWidth:
|
|
3346
|
-
zeroRight:
|
|
3345
|
+
}, qo.classNames = {
|
|
3346
|
+
fullWidth: Mo,
|
|
3347
|
+
zeroRight: jo
|
|
3347
3348
|
};
|
|
3348
3349
|
//#endregion
|
|
3349
3350
|
//#region ../node_modules/get-nonce/dist/es2015/index.js
|
|
3350
|
-
var
|
|
3351
|
+
var Jo = function() {
|
|
3351
3352
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
3352
3353
|
};
|
|
3353
3354
|
//#endregion
|
|
3354
3355
|
//#region ../node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
3355
|
-
function
|
|
3356
|
+
function Yo() {
|
|
3356
3357
|
if (!document) return null;
|
|
3357
3358
|
var e = document.createElement("style");
|
|
3358
3359
|
e.type = "text/css";
|
|
3359
|
-
var t =
|
|
3360
|
+
var t = Jo();
|
|
3360
3361
|
return t && e.setAttribute("nonce", t), e;
|
|
3361
3362
|
}
|
|
3362
|
-
function
|
|
3363
|
+
function Xo(e, t) {
|
|
3363
3364
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
3364
3365
|
}
|
|
3365
|
-
function
|
|
3366
|
+
function Zo(e) {
|
|
3366
3367
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
3367
3368
|
}
|
|
3368
|
-
var
|
|
3369
|
+
var Qo = function() {
|
|
3369
3370
|
var e = 0, t = null;
|
|
3370
3371
|
return {
|
|
3371
3372
|
add: function(n) {
|
|
3372
|
-
e == 0 && (t =
|
|
3373
|
+
e == 0 && (t = Yo()) && (Xo(t, n), Zo(t)), e++;
|
|
3373
3374
|
},
|
|
3374
3375
|
remove: function() {
|
|
3375
3376
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
3376
3377
|
}
|
|
3377
3378
|
};
|
|
3378
|
-
},
|
|
3379
|
-
var e =
|
|
3379
|
+
}, $o = function() {
|
|
3380
|
+
var e = Qo();
|
|
3380
3381
|
return function(t, n) {
|
|
3381
|
-
|
|
3382
|
+
P.useEffect(function() {
|
|
3382
3383
|
return e.add(t), function() {
|
|
3383
3384
|
e.remove();
|
|
3384
3385
|
};
|
|
3385
3386
|
}, [t && n]);
|
|
3386
3387
|
};
|
|
3387
|
-
},
|
|
3388
|
-
var e =
|
|
3388
|
+
}, es = function() {
|
|
3389
|
+
var e = $o();
|
|
3389
3390
|
return function(t) {
|
|
3390
3391
|
var n = t.styles, r = t.dynamic;
|
|
3391
3392
|
return e(n, r), null;
|
|
3392
3393
|
};
|
|
3393
|
-
},
|
|
3394
|
+
}, ts = {
|
|
3394
3395
|
left: 0,
|
|
3395
3396
|
top: 0,
|
|
3396
3397
|
right: 0,
|
|
3397
3398
|
gap: 0
|
|
3398
|
-
},
|
|
3399
|
+
}, ns = function(e) {
|
|
3399
3400
|
return parseInt(e || "", 10) || 0;
|
|
3400
|
-
},
|
|
3401
|
+
}, rs = function(e) {
|
|
3401
3402
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
3402
3403
|
return [
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3404
|
+
ns(n),
|
|
3405
|
+
ns(r),
|
|
3406
|
+
ns(i)
|
|
3406
3407
|
];
|
|
3407
|
-
},
|
|
3408
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
3409
|
-
var t =
|
|
3408
|
+
}, is = function(e) {
|
|
3409
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return ts;
|
|
3410
|
+
var t = rs(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
3410
3411
|
return {
|
|
3411
3412
|
left: t[0],
|
|
3412
3413
|
top: t[1],
|
|
3413
3414
|
right: t[2],
|
|
3414
3415
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3415
3416
|
};
|
|
3416
|
-
},
|
|
3417
|
+
}, as = es(), os = "data-scroll-locked", ss = function(e, t, n, r) {
|
|
3417
3418
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
3418
3419
|
return n === void 0 && (n = "margin"), `
|
|
3419
|
-
.${
|
|
3420
|
+
.${No} {
|
|
3420
3421
|
overflow: hidden ${r};
|
|
3421
3422
|
padding-right: ${s}px ${r};
|
|
3422
3423
|
}
|
|
3423
|
-
body[${
|
|
3424
|
+
body[${os}] {
|
|
3424
3425
|
overflow: hidden ${r};
|
|
3425
3426
|
overscroll-behavior: contain;
|
|
3426
3427
|
${[
|
|
@@ -3437,122 +3438,122 @@ var Ho = function() {
|
|
|
3437
3438
|
].filter(Boolean).join("")}
|
|
3438
3439
|
}
|
|
3439
3440
|
|
|
3440
|
-
.${
|
|
3441
|
+
.${jo} {
|
|
3441
3442
|
right: ${s}px ${r};
|
|
3442
3443
|
}
|
|
3443
3444
|
|
|
3444
|
-
.${
|
|
3445
|
+
.${Mo} {
|
|
3445
3446
|
margin-right: ${s}px ${r};
|
|
3446
3447
|
}
|
|
3447
3448
|
|
|
3448
|
-
.${
|
|
3449
|
+
.${jo} .${jo} {
|
|
3449
3450
|
right: 0 ${r};
|
|
3450
3451
|
}
|
|
3451
3452
|
|
|
3452
|
-
.${
|
|
3453
|
+
.${Mo} .${Mo} {
|
|
3453
3454
|
margin-right: 0 ${r};
|
|
3454
3455
|
}
|
|
3455
3456
|
|
|
3456
|
-
body[${
|
|
3457
|
-
${
|
|
3457
|
+
body[${os}] {
|
|
3458
|
+
${Po}: ${s}px;
|
|
3458
3459
|
}
|
|
3459
3460
|
`;
|
|
3460
|
-
},
|
|
3461
|
+
}, cs = function() {
|
|
3461
3462
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
3462
3463
|
return isFinite(e) ? e : 0;
|
|
3463
|
-
},
|
|
3464
|
-
|
|
3465
|
-
return document.body.setAttribute(
|
|
3466
|
-
var e =
|
|
3467
|
-
e <= 0 ? document.body.removeAttribute(
|
|
3464
|
+
}, ls = function() {
|
|
3465
|
+
P.useEffect(function() {
|
|
3466
|
+
return document.body.setAttribute(os, (cs() + 1).toString()), function() {
|
|
3467
|
+
var e = cs() - 1;
|
|
3468
|
+
e <= 0 ? document.body.removeAttribute(os) : document.body.setAttribute(os, e.toString());
|
|
3468
3469
|
};
|
|
3469
3470
|
}, []);
|
|
3470
|
-
},
|
|
3471
|
+
}, us = function(e) {
|
|
3471
3472
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
3472
|
-
|
|
3473
|
-
var a =
|
|
3474
|
-
return
|
|
3473
|
+
ls();
|
|
3474
|
+
var a = P.useMemo(function() {
|
|
3475
|
+
return is(i);
|
|
3475
3476
|
}, [i]);
|
|
3476
|
-
return
|
|
3477
|
-
},
|
|
3477
|
+
return P.createElement(as, { styles: ss(a, !t, i, n ? "" : "!important") });
|
|
3478
|
+
}, ds = !1;
|
|
3478
3479
|
if (typeof window < "u") try {
|
|
3479
|
-
var
|
|
3480
|
-
return
|
|
3480
|
+
var fs = Object.defineProperty({}, "passive", { get: function() {
|
|
3481
|
+
return ds = !0, !0;
|
|
3481
3482
|
} });
|
|
3482
|
-
window.addEventListener("test",
|
|
3483
|
+
window.addEventListener("test", fs, fs), window.removeEventListener("test", fs, fs);
|
|
3483
3484
|
} catch {
|
|
3484
|
-
|
|
3485
|
+
ds = !1;
|
|
3485
3486
|
}
|
|
3486
|
-
var
|
|
3487
|
+
var ps = ds ? { passive: !1 } : !1, ms = function(e) {
|
|
3487
3488
|
return e.tagName === "TEXTAREA";
|
|
3488
|
-
},
|
|
3489
|
+
}, hs = function(e, t) {
|
|
3489
3490
|
if (!(e instanceof Element)) return !1;
|
|
3490
3491
|
var n = window.getComputedStyle(e);
|
|
3491
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
3492
|
-
},
|
|
3493
|
-
return
|
|
3494
|
-
},
|
|
3495
|
-
return
|
|
3496
|
-
},
|
|
3492
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !ms(e) && n[t] === "visible");
|
|
3493
|
+
}, gs = function(e) {
|
|
3494
|
+
return hs(e, "overflowY");
|
|
3495
|
+
}, _s = function(e) {
|
|
3496
|
+
return hs(e, "overflowX");
|
|
3497
|
+
}, vs = function(e, t) {
|
|
3497
3498
|
var n = t.ownerDocument, r = t;
|
|
3498
3499
|
do {
|
|
3499
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
3500
|
-
var i =
|
|
3500
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), xs(e, r)) {
|
|
3501
|
+
var i = Ss(e, r);
|
|
3501
3502
|
if (i[1] > i[2]) return !0;
|
|
3502
3503
|
}
|
|
3503
3504
|
r = r.parentNode;
|
|
3504
3505
|
} while (r && r !== n.body);
|
|
3505
3506
|
return !1;
|
|
3506
|
-
},
|
|
3507
|
+
}, ys = function(e) {
|
|
3507
3508
|
return [
|
|
3508
3509
|
e.scrollTop,
|
|
3509
3510
|
e.scrollHeight,
|
|
3510
3511
|
e.clientHeight
|
|
3511
3512
|
];
|
|
3512
|
-
},
|
|
3513
|
+
}, bs = function(e) {
|
|
3513
3514
|
return [
|
|
3514
3515
|
e.scrollLeft,
|
|
3515
3516
|
e.scrollWidth,
|
|
3516
3517
|
e.clientWidth
|
|
3517
3518
|
];
|
|
3518
|
-
},
|
|
3519
|
-
return e === "v" ?
|
|
3520
|
-
},
|
|
3521
|
-
return e === "v" ?
|
|
3522
|
-
},
|
|
3519
|
+
}, xs = function(e, t) {
|
|
3520
|
+
return e === "v" ? gs(t) : _s(t);
|
|
3521
|
+
}, Ss = function(e, t) {
|
|
3522
|
+
return e === "v" ? ys(t) : bs(t);
|
|
3523
|
+
}, Cs = function(e, t) {
|
|
3523
3524
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
3524
|
-
},
|
|
3525
|
-
var a =
|
|
3525
|
+
}, ws = function(e, t, n, r, i) {
|
|
3526
|
+
var a = Cs(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
3526
3527
|
do {
|
|
3527
3528
|
if (!s) break;
|
|
3528
|
-
var p =
|
|
3529
|
-
(m || h) &&
|
|
3529
|
+
var p = Ss(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
3530
|
+
(m || h) && xs(e, s) && (d += h, f += m);
|
|
3530
3531
|
var g = s.parentNode;
|
|
3531
3532
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
3532
3533
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
3533
3534
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
3534
|
-
},
|
|
3535
|
+
}, Ts = function(e) {
|
|
3535
3536
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3536
|
-
},
|
|
3537
|
+
}, Es = function(e) {
|
|
3537
3538
|
return [e.deltaX, e.deltaY];
|
|
3538
|
-
},
|
|
3539
|
+
}, Ds = function(e) {
|
|
3539
3540
|
return e && "current" in e ? e.current : e;
|
|
3540
|
-
},
|
|
3541
|
+
}, Os = function(e, t) {
|
|
3541
3542
|
return e[0] === t[0] && e[1] === t[1];
|
|
3542
|
-
},
|
|
3543
|
+
}, ks = function(e) {
|
|
3543
3544
|
return `
|
|
3544
3545
|
.block-interactivity-${e} {pointer-events: none;}
|
|
3545
3546
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
3546
3547
|
`;
|
|
3547
|
-
},
|
|
3548
|
-
function
|
|
3549
|
-
var t =
|
|
3550
|
-
|
|
3548
|
+
}, As = 0, js = [];
|
|
3549
|
+
function Ms(e) {
|
|
3550
|
+
var t = P.useRef([]), n = P.useRef([0, 0]), r = P.useRef(), i = P.useState(As++)[0], a = P.useState(es)[0], o = P.useRef(e);
|
|
3551
|
+
P.useEffect(function() {
|
|
3551
3552
|
o.current = e;
|
|
3552
|
-
}, [e]),
|
|
3553
|
+
}, [e]), P.useEffect(function() {
|
|
3553
3554
|
if (e.inert) {
|
|
3554
3555
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
3555
|
-
var t =
|
|
3556
|
+
var t = Ao([e.lockRef.current], (e.shards || []).map(Ds), !0).filter(Boolean);
|
|
3556
3557
|
return t.forEach(function(e) {
|
|
3557
3558
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
3558
3559
|
}), function() {
|
|
@@ -3566,176 +3567,176 @@ function Ss(e) {
|
|
|
3566
3567
|
e.lockRef.current,
|
|
3567
3568
|
e.shards
|
|
3568
3569
|
]);
|
|
3569
|
-
var s =
|
|
3570
|
+
var s = P.useCallback(function(e, t) {
|
|
3570
3571
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
3571
|
-
var i =
|
|
3572
|
+
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";
|
|
3572
3573
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
3573
3574
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
3574
3575
|
if (p && (p === u || p.contains(u))) return !1;
|
|
3575
|
-
var m =
|
|
3576
|
+
var m = vs(d, u);
|
|
3576
3577
|
if (!m) return !0;
|
|
3577
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
3578
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = vs(d, u)), !m) return !1;
|
|
3578
3579
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
3579
3580
|
var h = r.current || l;
|
|
3580
|
-
return
|
|
3581
|
-
}, []), c =
|
|
3581
|
+
return ws(h, t, e, h === "h" ? s : c, !0);
|
|
3582
|
+
}, []), c = P.useCallback(function(e) {
|
|
3582
3583
|
var n = e;
|
|
3583
|
-
if (
|
|
3584
|
-
var r = "deltaY" in n ?
|
|
3585
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
3584
|
+
if (js.length && js[js.length - 1] === a) {
|
|
3585
|
+
var r = "deltaY" in n ? Es(n) : Ts(n), i = t.current.filter(function(e) {
|
|
3586
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && Os(e.delta, r);
|
|
3586
3587
|
})[0];
|
|
3587
3588
|
if (i && i.should) n.cancelable && n.preventDefault();
|
|
3588
3589
|
else if (!i) {
|
|
3589
|
-
var c = (o.current.shards || []).map(
|
|
3590
|
+
var c = (o.current.shards || []).map(Ds).filter(Boolean).filter(function(e) {
|
|
3590
3591
|
return e.contains(n.target);
|
|
3591
3592
|
});
|
|
3592
3593
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
3593
3594
|
}
|
|
3594
3595
|
}
|
|
3595
|
-
}, []), l =
|
|
3596
|
+
}, []), l = P.useCallback(function(e, n, r, i) {
|
|
3596
3597
|
var a = {
|
|
3597
3598
|
name: e,
|
|
3598
3599
|
delta: n,
|
|
3599
3600
|
target: r,
|
|
3600
3601
|
should: i,
|
|
3601
|
-
shadowParent:
|
|
3602
|
+
shadowParent: Ns(r)
|
|
3602
3603
|
};
|
|
3603
3604
|
t.current.push(a), setTimeout(function() {
|
|
3604
3605
|
t.current = t.current.filter(function(e) {
|
|
3605
3606
|
return e !== a;
|
|
3606
3607
|
});
|
|
3607
3608
|
}, 1);
|
|
3608
|
-
}, []), u =
|
|
3609
|
-
n.current =
|
|
3610
|
-
}, []), d =
|
|
3611
|
-
l(t.type,
|
|
3612
|
-
}, []), f =
|
|
3613
|
-
l(t.type,
|
|
3609
|
+
}, []), u = P.useCallback(function(e) {
|
|
3610
|
+
n.current = Ts(e), r.current = void 0;
|
|
3611
|
+
}, []), d = P.useCallback(function(t) {
|
|
3612
|
+
l(t.type, Es(t), t.target, s(t, e.lockRef.current));
|
|
3613
|
+
}, []), f = P.useCallback(function(t) {
|
|
3614
|
+
l(t.type, Ts(t), t.target, s(t, e.lockRef.current));
|
|
3614
3615
|
}, []);
|
|
3615
|
-
|
|
3616
|
-
return
|
|
3616
|
+
P.useEffect(function() {
|
|
3617
|
+
return js.push(a), e.setCallbacks({
|
|
3617
3618
|
onScrollCapture: d,
|
|
3618
3619
|
onWheelCapture: d,
|
|
3619
3620
|
onTouchMoveCapture: f
|
|
3620
|
-
}), document.addEventListener("wheel", c,
|
|
3621
|
-
|
|
3621
|
+
}), document.addEventListener("wheel", c, ps), document.addEventListener("touchmove", c, ps), document.addEventListener("touchstart", u, ps), function() {
|
|
3622
|
+
js = js.filter(function(e) {
|
|
3622
3623
|
return e !== a;
|
|
3623
|
-
}), document.removeEventListener("wheel", c,
|
|
3624
|
+
}), document.removeEventListener("wheel", c, ps), document.removeEventListener("touchmove", c, ps), document.removeEventListener("touchstart", u, ps);
|
|
3624
3625
|
};
|
|
3625
3626
|
}, []);
|
|
3626
3627
|
var p = e.removeScrollBar, m = e.inert;
|
|
3627
|
-
return
|
|
3628
|
+
return P.createElement(P.Fragment, null, m ? P.createElement(a, { styles: ks(i) }) : null, p ? P.createElement(us, {
|
|
3628
3629
|
noRelative: e.noRelative,
|
|
3629
3630
|
gapMode: e.gapMode
|
|
3630
3631
|
}) : null);
|
|
3631
3632
|
}
|
|
3632
|
-
function
|
|
3633
|
+
function Ns(e) {
|
|
3633
3634
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3634
3635
|
return t;
|
|
3635
3636
|
}
|
|
3636
3637
|
//#endregion
|
|
3637
3638
|
//#region ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
3638
|
-
var
|
|
3639
|
-
return
|
|
3639
|
+
var Ps = Wo(Go, Ms), Fs = P.forwardRef(function(e, t) {
|
|
3640
|
+
return P.createElement(qo, $({}, e, {
|
|
3640
3641
|
ref: t,
|
|
3641
|
-
sideCar:
|
|
3642
|
+
sideCar: Ps
|
|
3642
3643
|
}));
|
|
3643
3644
|
});
|
|
3644
|
-
|
|
3645
|
+
Fs.classNames = qo.classNames;
|
|
3645
3646
|
//#endregion
|
|
3646
3647
|
//#region ../node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
3647
|
-
var
|
|
3648
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s =
|
|
3648
|
+
var Is = "Popover", [Ls, Rs] = Rn(Is, [Ra]), zs = Ra(), [Bs, Vs] = Ls(Is), Hs = (e) => {
|
|
3649
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = zs(t), c = P.useRef(null), [l, u] = P.useState(!1), [d, f] = po({
|
|
3649
3650
|
prop: r,
|
|
3650
3651
|
defaultProp: i ?? !1,
|
|
3651
3652
|
onChange: a,
|
|
3652
|
-
caller:
|
|
3653
|
+
caller: Is
|
|
3653
3654
|
});
|
|
3654
|
-
return /* @__PURE__ */ (0,
|
|
3655
|
+
return /* @__PURE__ */ (0, I.jsx)(eo, {
|
|
3655
3656
|
...s,
|
|
3656
|
-
children: /* @__PURE__ */ (0,
|
|
3657
|
+
children: /* @__PURE__ */ (0, I.jsx)(Bs, {
|
|
3657
3658
|
scope: t,
|
|
3658
|
-
contentId:
|
|
3659
|
+
contentId: kr(),
|
|
3659
3660
|
triggerRef: c,
|
|
3660
3661
|
open: d,
|
|
3661
3662
|
onOpenChange: f,
|
|
3662
|
-
onOpenToggle:
|
|
3663
|
+
onOpenToggle: P.useCallback(() => f((e) => !e), [f]),
|
|
3663
3664
|
hasCustomAnchor: l,
|
|
3664
|
-
onCustomAnchorAdd:
|
|
3665
|
-
onCustomAnchorRemove:
|
|
3665
|
+
onCustomAnchorAdd: P.useCallback(() => u(!0), []),
|
|
3666
|
+
onCustomAnchorRemove: P.useCallback(() => u(!1), []),
|
|
3666
3667
|
modal: o,
|
|
3667
3668
|
children: n
|
|
3668
3669
|
})
|
|
3669
3670
|
});
|
|
3670
3671
|
};
|
|
3671
|
-
|
|
3672
|
-
var
|
|
3673
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3674
|
-
return
|
|
3672
|
+
Hs.displayName = Is;
|
|
3673
|
+
var Us = "PopoverAnchor", Ws = P.forwardRef((e, t) => {
|
|
3674
|
+
let { __scopePopover: n, ...r } = e, i = Vs(Us, n), a = zs(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
3675
|
+
return P.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ (0, I.jsx)(to, {
|
|
3675
3676
|
...a,
|
|
3676
3677
|
...r,
|
|
3677
3678
|
ref: t
|
|
3678
3679
|
});
|
|
3679
3680
|
});
|
|
3680
|
-
|
|
3681
|
-
var
|
|
3682
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3681
|
+
Ws.displayName = Us;
|
|
3682
|
+
var Gs = "PopoverTrigger", Ks = P.forwardRef((e, t) => {
|
|
3683
|
+
let { __scopePopover: n, ...r } = e, i = Vs(Gs, n), a = zs(n), o = B(t, i.triggerRef), s = /* @__PURE__ */ (0, I.jsx)(V.button, {
|
|
3683
3684
|
type: "button",
|
|
3684
3685
|
"aria-haspopup": "dialog",
|
|
3685
3686
|
"aria-expanded": i.open,
|
|
3686
3687
|
"aria-controls": i.contentId,
|
|
3687
|
-
"data-state":
|
|
3688
|
+
"data-state": ac(i.open),
|
|
3688
3689
|
...r,
|
|
3689
3690
|
ref: o,
|
|
3690
|
-
onClick:
|
|
3691
|
+
onClick: z(e.onClick, i.onOpenToggle)
|
|
3691
3692
|
});
|
|
3692
|
-
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0,
|
|
3693
|
+
return i.hasCustomAnchor ? s : /* @__PURE__ */ (0, I.jsx)(to, {
|
|
3693
3694
|
asChild: !0,
|
|
3694
3695
|
...a,
|
|
3695
3696
|
children: s
|
|
3696
3697
|
});
|
|
3697
3698
|
});
|
|
3698
|
-
|
|
3699
|
-
var [
|
|
3700
|
-
let n =
|
|
3701
|
-
return /* @__PURE__ */ (0,
|
|
3699
|
+
Ks.displayName = Gs;
|
|
3700
|
+
var [qs, Js] = Ls("PopoverPortal", { forceMount: void 0 }), Ys = "PopoverContent", Xs = P.forwardRef((e, t) => {
|
|
3701
|
+
let n = Js(Ys, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = Vs(Ys, e.__scopePopover);
|
|
3702
|
+
return /* @__PURE__ */ (0, I.jsx)(so, {
|
|
3702
3703
|
present: r || a.open,
|
|
3703
|
-
children: a.modal ? /* @__PURE__ */ (0,
|
|
3704
|
+
children: a.modal ? /* @__PURE__ */ (0, I.jsx)(Qs, {
|
|
3704
3705
|
...i,
|
|
3705
3706
|
ref: t
|
|
3706
|
-
}) : /* @__PURE__ */ (0,
|
|
3707
|
+
}) : /* @__PURE__ */ (0, I.jsx)($s, {
|
|
3707
3708
|
...i,
|
|
3708
3709
|
ref: t
|
|
3709
3710
|
})
|
|
3710
3711
|
});
|
|
3711
3712
|
});
|
|
3712
|
-
|
|
3713
|
-
var
|
|
3714
|
-
let n =
|
|
3715
|
-
return
|
|
3713
|
+
Xs.displayName = Ys;
|
|
3714
|
+
var Zs = /* @__PURE__ */ Bn("PopoverContent.RemoveScroll"), Qs = P.forwardRef((e, t) => {
|
|
3715
|
+
let n = Vs(Ys, e.__scopePopover), r = P.useRef(null), i = B(t, r), a = P.useRef(!1);
|
|
3716
|
+
return P.useEffect(() => {
|
|
3716
3717
|
let e = r.current;
|
|
3717
|
-
if (e) return
|
|
3718
|
-
}, []), /* @__PURE__ */ (0,
|
|
3719
|
-
as:
|
|
3718
|
+
if (e) return wo(e);
|
|
3719
|
+
}, []), /* @__PURE__ */ (0, I.jsx)(Fs, {
|
|
3720
|
+
as: Zs,
|
|
3720
3721
|
allowPinchZoom: !0,
|
|
3721
|
-
children: /* @__PURE__ */ (0,
|
|
3722
|
+
children: /* @__PURE__ */ (0, I.jsx)(ec, {
|
|
3722
3723
|
...e,
|
|
3723
3724
|
ref: i,
|
|
3724
3725
|
trapFocus: n.open,
|
|
3725
3726
|
disableOutsidePointerEvents: !0,
|
|
3726
|
-
onCloseAutoFocus:
|
|
3727
|
+
onCloseAutoFocus: z(e.onCloseAutoFocus, (e) => {
|
|
3727
3728
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
3728
3729
|
}),
|
|
3729
|
-
onPointerDownOutside:
|
|
3730
|
+
onPointerDownOutside: z(e.onPointerDownOutside, (e) => {
|
|
3730
3731
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
|
|
3731
3732
|
a.current = r;
|
|
3732
3733
|
}, { checkForDefaultPrevented: !1 }),
|
|
3733
|
-
onFocusOutside:
|
|
3734
|
+
onFocusOutside: z(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
3734
3735
|
})
|
|
3735
3736
|
});
|
|
3736
|
-
}),
|
|
3737
|
-
let n =
|
|
3738
|
-
return /* @__PURE__ */ (0,
|
|
3737
|
+
}), $s = P.forwardRef((e, t) => {
|
|
3738
|
+
let n = Vs(Ys, e.__scopePopover), r = P.useRef(!1), i = P.useRef(!1);
|
|
3739
|
+
return /* @__PURE__ */ (0, I.jsx)(ec, {
|
|
3739
3740
|
...e,
|
|
3740
3741
|
ref: t,
|
|
3741
3742
|
trapFocus: !1,
|
|
@@ -3749,15 +3750,15 @@ var Vs = /* @__PURE__ */ kn("PopoverContent.RemoveScroll"), Hs = F.forwardRef((e
|
|
|
3749
3750
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
3750
3751
|
}
|
|
3751
3752
|
});
|
|
3752
|
-
}),
|
|
3753
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f =
|
|
3754
|
-
return
|
|
3753
|
+
}), ec = P.forwardRef((e, t) => {
|
|
3754
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: l, onInteractOutside: u, ...d } = e, f = Vs(Ys, n), p = zs(n);
|
|
3755
|
+
return lr(), /* @__PURE__ */ (0, I.jsx)(hr, {
|
|
3755
3756
|
asChild: !0,
|
|
3756
3757
|
loop: !0,
|
|
3757
3758
|
trapped: r,
|
|
3758
3759
|
onMountAutoFocus: i,
|
|
3759
3760
|
onUnmountAutoFocus: a,
|
|
3760
|
-
children: /* @__PURE__ */ (0,
|
|
3761
|
+
children: /* @__PURE__ */ (0, I.jsx)(tr, {
|
|
3761
3762
|
asChild: !0,
|
|
3762
3763
|
disableOutsidePointerEvents: o,
|
|
3763
3764
|
onInteractOutside: u,
|
|
@@ -3765,8 +3766,8 @@ var Vs = /* @__PURE__ */ kn("PopoverContent.RemoveScroll"), Hs = F.forwardRef((e
|
|
|
3765
3766
|
onPointerDownOutside: c,
|
|
3766
3767
|
onFocusOutside: l,
|
|
3767
3768
|
onDismiss: () => f.onOpenChange(!1),
|
|
3768
|
-
children: /* @__PURE__ */ (0,
|
|
3769
|
-
"data-state":
|
|
3769
|
+
children: /* @__PURE__ */ (0, I.jsx)(no, {
|
|
3770
|
+
"data-state": ac(f.open),
|
|
3770
3771
|
role: "dialog",
|
|
3771
3772
|
id: f.contentId,
|
|
3772
3773
|
...p,
|
|
@@ -3783,137 +3784,137 @@ var Vs = /* @__PURE__ */ kn("PopoverContent.RemoveScroll"), Hs = F.forwardRef((e
|
|
|
3783
3784
|
})
|
|
3784
3785
|
})
|
|
3785
3786
|
});
|
|
3786
|
-
}),
|
|
3787
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3788
|
-
return /* @__PURE__ */ (0,
|
|
3787
|
+
}), tc = "PopoverClose", nc = P.forwardRef((e, t) => {
|
|
3788
|
+
let { __scopePopover: n, ...r } = e, i = Vs(tc, n);
|
|
3789
|
+
return /* @__PURE__ */ (0, I.jsx)(V.button, {
|
|
3789
3790
|
type: "button",
|
|
3790
3791
|
...r,
|
|
3791
3792
|
ref: t,
|
|
3792
|
-
onClick:
|
|
3793
|
+
onClick: z(e.onClick, () => i.onOpenChange(!1))
|
|
3793
3794
|
});
|
|
3794
3795
|
});
|
|
3795
|
-
|
|
3796
|
-
var
|
|
3797
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
3798
|
-
return /* @__PURE__ */ (0,
|
|
3796
|
+
nc.displayName = tc;
|
|
3797
|
+
var rc = "PopoverArrow", ic = P.forwardRef((e, t) => {
|
|
3798
|
+
let { __scopePopover: n, ...r } = e, i = zs(n);
|
|
3799
|
+
return /* @__PURE__ */ (0, I.jsx)(ro, {
|
|
3799
3800
|
...i,
|
|
3800
3801
|
...r,
|
|
3801
3802
|
ref: t
|
|
3802
3803
|
});
|
|
3803
3804
|
});
|
|
3804
|
-
|
|
3805
|
-
function
|
|
3805
|
+
ic.displayName = rc;
|
|
3806
|
+
function ac(e) {
|
|
3806
3807
|
return e ? "open" : "closed";
|
|
3807
3808
|
}
|
|
3808
|
-
var
|
|
3809
|
+
var oc = Hs, sc = Ks, cc = Xs, lc = ic, uc = ({ message: e, trigger: t, initialVisibility: n = !1 }) => /* @__PURE__ */ (0, I.jsxs)(oc, {
|
|
3809
3810
|
defaultOpen: n,
|
|
3810
|
-
children: [/* @__PURE__ */ (0,
|
|
3811
|
+
children: [/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3811
3812
|
className: "flex justify-center",
|
|
3812
|
-
children: /* @__PURE__ */ (0,
|
|
3813
|
+
children: /* @__PURE__ */ (0, I.jsx)(sc, {
|
|
3813
3814
|
asChild: !0,
|
|
3814
3815
|
children: t
|
|
3815
3816
|
})
|
|
3816
|
-
}), /* @__PURE__ */ (0,
|
|
3817
|
+
}), /* @__PURE__ */ (0, I.jsxs)(cc, {
|
|
3817
3818
|
className: "sid-popover__container",
|
|
3818
3819
|
sideOffset: 10,
|
|
3819
3820
|
side: "bottom",
|
|
3820
|
-
children: [e, /* @__PURE__ */ (0,
|
|
3821
|
+
children: [e, /* @__PURE__ */ (0, I.jsx)(lc, { className: "sid-popover__caret" })]
|
|
3821
3822
|
})]
|
|
3822
|
-
}),
|
|
3823
|
+
}), dc = ({ verificationService: e, initialVisibility: t = !1 }) => /* @__PURE__ */ (0, I.jsx)(uc, {
|
|
3823
3824
|
initialVisibility: t,
|
|
3824
|
-
trigger: /* @__PURE__ */ (0,
|
|
3825
|
+
trigger: /* @__PURE__ */ (0, I.jsx)("button", {
|
|
3825
3826
|
type: "button",
|
|
3826
3827
|
className: "sid-h-btn-link-like sid-link sid-how-does-verifying-work-hoverable",
|
|
3827
|
-
children: /* @__PURE__ */ (0,
|
|
3828
|
+
children: /* @__PURE__ */ (0, I.jsx)(N, { id: "howDoesVerifyingWork" })
|
|
3828
3829
|
}),
|
|
3829
|
-
message: /* @__PURE__ */ (0,
|
|
3830
|
-
/* @__PURE__ */ (0,
|
|
3830
|
+
message: /* @__PURE__ */ (0, I.jsxs)("div", { children: [
|
|
3831
|
+
/* @__PURE__ */ (0, I.jsx)(N, { id: "step.personalInfo.howDoesVerifyingWorkDetails" }),
|
|
3831
3832
|
"\xA0",
|
|
3832
|
-
/* @__PURE__ */ (0,
|
|
3833
|
+
/* @__PURE__ */ (0, I.jsx)(Yt, { verificationService: e })
|
|
3833
3834
|
] })
|
|
3834
|
-
}),
|
|
3835
|
-
let t =
|
|
3836
|
-
return typeof r == "number" && r > 0 ? /* @__PURE__ */ (0,
|
|
3835
|
+
}), fc = (e) => {
|
|
3836
|
+
let t = Pe(), n = He(), r = a(() => n.remainingRewardCodes, null);
|
|
3837
|
+
return typeof r == "number" && r > 0 ? /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3837
3838
|
className: "sid-rewards-remaining",
|
|
3838
3839
|
role: "note",
|
|
3839
3840
|
children: [
|
|
3840
|
-
/* @__PURE__ */ (0,
|
|
3841
|
-
/* @__PURE__ */ (0,
|
|
3841
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-md" }),
|
|
3842
|
+
/* @__PURE__ */ (0, I.jsx)(M, {
|
|
3842
3843
|
id: "lowRewardPool",
|
|
3843
3844
|
defaultMessage: t?.lowRewardPool,
|
|
3844
3845
|
values: { offersRemaining: r }
|
|
3845
3846
|
}),
|
|
3846
|
-
/* @__PURE__ */ (0,
|
|
3847
|
+
/* @__PURE__ */ (0, I.jsx)("div", { className: "sid-l-space-top-sm" })
|
|
3847
3848
|
]
|
|
3848
3849
|
}) : null;
|
|
3849
|
-
},
|
|
3850
|
-
let { verificationResponse: n } = e, r =
|
|
3851
|
-
return /* @__PURE__ */ (0,
|
|
3850
|
+
}, pc = (e) => e !== void 0, mc = ({ verificationService: e, classNameIdentifier: t = void 0 }) => {
|
|
3851
|
+
let { verificationResponse: n } = e, r = pc(n) ? dt(n) : !1;
|
|
3852
|
+
return /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3852
3853
|
className: "sid-personal-info-header",
|
|
3853
|
-
children: /* @__PURE__ */ (0,
|
|
3854
|
+
children: /* @__PURE__ */ (0, I.jsxs)(Fn, {
|
|
3854
3855
|
verificationService: e,
|
|
3855
|
-
title: /* @__PURE__ */ (0,
|
|
3856
|
+
title: /* @__PURE__ */ (0, I.jsx)(N, { id: r ? "step.personalInfo.tryAgain.title" : "step.personalInfo.title" }),
|
|
3856
3857
|
classNameIdentifier: t,
|
|
3857
3858
|
children: [
|
|
3858
|
-
/* @__PURE__ */ (0,
|
|
3859
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3859
3860
|
className: `sid-header__subtitle sid-l-horz-center ${r ? "sid-header__subtitle--error" : ""}`,
|
|
3860
|
-
children: /* @__PURE__ */ (0,
|
|
3861
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: r ? "step.personalInfo.tryAgain.subtitle" : "step.personalInfo.subtitle" })
|
|
3861
3862
|
}),
|
|
3862
|
-
/* @__PURE__ */ (0,
|
|
3863
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3863
3864
|
className: "sid-header__how-verifying-works sid-l-horz-center",
|
|
3864
|
-
children: !r && /* @__PURE__ */ (0,
|
|
3865
|
+
children: !r && /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(dc, { verificationService: e }), /* @__PURE__ */ (0, I.jsx)(fc, { verificationService: e })] })
|
|
3865
3866
|
}),
|
|
3866
|
-
/* @__PURE__ */ (0,
|
|
3867
|
+
/* @__PURE__ */ (0, I.jsx)("div", {
|
|
3867
3868
|
className: "sid-h-medium-text sid-l-space-btm-sm sid-l-space-top-sm",
|
|
3868
|
-
children: /* @__PURE__ */ (0,
|
|
3869
|
+
children: /* @__PURE__ */ (0, I.jsx)(M, { id: "requiredFields" })
|
|
3869
3870
|
})
|
|
3870
3871
|
]
|
|
3871
3872
|
})
|
|
3872
3873
|
});
|
|
3873
|
-
},
|
|
3874
|
-
let { isEmbedded: i } =
|
|
3875
|
-
return !r || i ? /* @__PURE__ */ (0,
|
|
3874
|
+
}, hc = () => ({ isEmbedded: !!f("verificationIframeUid") }), gc = ({ layout: e, children: t, verificationService: n, renderAsLandingPage: r }) => {
|
|
3875
|
+
let { isEmbedded: i } = hc();
|
|
3876
|
+
return !r || i ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: t }) : /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3876
3877
|
className: `sid-layout sid-layout--${e}`,
|
|
3877
|
-
children: /* @__PURE__ */ (0,
|
|
3878
|
+
children: /* @__PURE__ */ (0, I.jsxs)("div", {
|
|
3878
3879
|
className: "sid-layout__container",
|
|
3879
|
-
children: [e === "fullRight" && /* @__PURE__ */ (0,
|
|
3880
|
+
children: [e === "fullRight" && /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3880
3881
|
className: "sid-layout__content",
|
|
3881
|
-
children: /* @__PURE__ */ (0,
|
|
3882
|
+
children: /* @__PURE__ */ (0, I.jsx)(mc, {
|
|
3882
3883
|
verificationService: n,
|
|
3883
3884
|
classNameIdentifier: "landing"
|
|
3884
3885
|
})
|
|
3885
|
-
}), /* @__PURE__ */ (0,
|
|
3886
|
+
}), /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3886
3887
|
className: "sid-layout__form-container",
|
|
3887
|
-
children: /* @__PURE__ */ (0,
|
|
3888
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3888
3889
|
className: "sid-layout__form",
|
|
3889
3890
|
children: t
|
|
3890
3891
|
})
|
|
3891
3892
|
})]
|
|
3892
3893
|
})
|
|
3893
3894
|
});
|
|
3894
|
-
},
|
|
3895
|
+
}, _c = ({ children: e }) => /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3895
3896
|
className: "sid sid-form-wrapper",
|
|
3896
3897
|
children: e
|
|
3897
|
-
}),
|
|
3898
|
-
let i =
|
|
3898
|
+
}), vc = ({ locale: e, programTheme: t, verificationService: n, programId: r }) => {
|
|
3899
|
+
let i = bt(), { renderAs: a, _launchDarklyUserTargeting: s } = T(), c = Be() ?? t, l = He(), u = Fe(), { isLoading: d, loadingStep: f } = Me(), p = Ke(Je, ke), m = (0, P.useMemo)(() => p ? {
|
|
3899
3900
|
...n.verificationResponse,
|
|
3900
3901
|
...p
|
|
3901
|
-
} : n.verificationResponse, [p, n.verificationResponse]), h = (0,
|
|
3902
|
+
} : n.verificationResponse, [p, n.verificationResponse]), h = (0, P.useMemo)(() => ({
|
|
3902
3903
|
...n,
|
|
3903
3904
|
programTheme: c,
|
|
3904
3905
|
verificationResponse: m,
|
|
3905
|
-
formValidationOptions:
|
|
3906
|
+
formValidationOptions: Ut(l, m, n.viewModel)
|
|
3906
3907
|
}), [
|
|
3907
3908
|
n,
|
|
3908
3909
|
c,
|
|
3909
3910
|
l,
|
|
3910
3911
|
m
|
|
3911
|
-
]), g = c?.themeChoices?.landingPage?.layout || "center", _ =
|
|
3912
|
-
|
|
3912
|
+
]), g = c?.themeChoices?.landingPage?.layout || "center", _ = St();
|
|
3913
|
+
P.useEffect(() => {
|
|
3913
3914
|
try {
|
|
3914
3915
|
if (_ && h && h.viewModel) {
|
|
3915
|
-
let e = (0,
|
|
3916
|
-
|
|
3916
|
+
let e = (0, Lt.default)(_);
|
|
3917
|
+
E(b.flags, e);
|
|
3917
3918
|
let t = h.viewModel.metadata || {}, n = C(t, (t) => {
|
|
3918
3919
|
t.flags = e;
|
|
3919
3920
|
}), r = C(h.viewModel, (e) => {
|
|
@@ -3922,9 +3923,9 @@ var Xs = Ms, Zs = Is, Qs = Bs, $s = Js, ec = ({ message: e, trigger: t, initialV
|
|
|
3922
3923
|
h.updateViewModel(r);
|
|
3923
3924
|
}
|
|
3924
3925
|
} catch (e) {
|
|
3925
|
-
|
|
3926
|
+
k.error(e);
|
|
3926
3927
|
}
|
|
3927
|
-
}, []),
|
|
3928
|
+
}, []), P.useEffect(() => {
|
|
3928
3929
|
if (u && s && i) {
|
|
3929
3930
|
let e = {
|
|
3930
3931
|
kind: "multi",
|
|
@@ -3932,40 +3933,40 @@ var Xs = Ms, Zs = Is, Qs = Bs, $s = Js, ec = ({ message: e, trigger: t, initialV
|
|
|
3932
3933
|
key: u,
|
|
3933
3934
|
locale: h.verificationResponse.locale,
|
|
3934
3935
|
segment: h.verificationResponse.segment,
|
|
3935
|
-
installType:
|
|
3936
|
+
installType: ie()
|
|
3936
3937
|
},
|
|
3937
3938
|
program: { key: r }
|
|
3938
3939
|
};
|
|
3939
3940
|
i.identify(e);
|
|
3940
3941
|
}
|
|
3941
|
-
}, [u, i]),
|
|
3942
|
+
}, [u, i]), P.useEffect(() => {
|
|
3942
3943
|
try {
|
|
3943
3944
|
T()._launchDarklyFlagCb(_);
|
|
3944
3945
|
} catch {}
|
|
3945
3946
|
}, [_]);
|
|
3946
|
-
let y =
|
|
3947
|
+
let y = Pe(), x = Ke(Je, be), S = {
|
|
3947
3948
|
...y,
|
|
3948
|
-
...(0,
|
|
3949
|
-
...(0,
|
|
3949
|
+
...(0, It.default)(w(e)),
|
|
3950
|
+
...(0, It.default)(x?.[e] ?? {})
|
|
3950
3951
|
};
|
|
3951
|
-
return /* @__PURE__ */ (0,
|
|
3952
|
+
return /* @__PURE__ */ (0, I.jsx)(se, {
|
|
3952
3953
|
locale: "en",
|
|
3953
3954
|
messages: S,
|
|
3954
|
-
textComponent:
|
|
3955
|
-
children: /* @__PURE__ */ (0,
|
|
3955
|
+
textComponent: Nn,
|
|
3956
|
+
children: /* @__PURE__ */ (0, I.jsx)(Ht, {
|
|
3956
3957
|
themeChoices: c?.themeChoices,
|
|
3957
3958
|
customCssFromOptions: T().customCss,
|
|
3958
|
-
children: /* @__PURE__ */ (0,
|
|
3959
|
-
className: `${
|
|
3960
|
-
children: /* @__PURE__ */ (0,
|
|
3959
|
+
children: /* @__PURE__ */ (0, I.jsx)("div", {
|
|
3960
|
+
className: `${zt.default.isRtlLang(v(e)) ? "sid-rtl" : "sid-ltr"} sid-locale-${e}`,
|
|
3961
|
+
children: /* @__PURE__ */ (0, I.jsx)(_c, { children: /* @__PURE__ */ (0, I.jsx)(gc, {
|
|
3961
3962
|
layout: g,
|
|
3962
3963
|
verificationService: h,
|
|
3963
3964
|
renderAsLandingPage: a === "landingPage",
|
|
3964
|
-
children: /* @__PURE__ */ (0,
|
|
3965
|
+
children: /* @__PURE__ */ (0, I.jsx)(jt, {
|
|
3965
3966
|
i18n: o,
|
|
3966
|
-
children: /* @__PURE__ */ (0,
|
|
3967
|
-
fallback: /* @__PURE__ */ (0,
|
|
3968
|
-
children: d ||
|
|
3967
|
+
children: /* @__PURE__ */ (0, I.jsx)(P.Suspense, {
|
|
3968
|
+
fallback: /* @__PURE__ */ (0, I.jsx)(Jt, { step: f }),
|
|
3969
|
+
children: d || Ze("mockStep") === ne.loading ? /* @__PURE__ */ (0, I.jsx)(Jt, { step: f }) : /* @__PURE__ */ (0, I.jsxs)("div", { children: [!T().hideTestModeFlag && /* @__PURE__ */ (0, I.jsx)(Pn, { verificationService: h }), /* @__PURE__ */ (0, I.jsx)(Mn, {
|
|
3969
3970
|
stepToLoad: h.overrideStep || h.verificationResponse?.currentStep,
|
|
3970
3971
|
verificationService: h
|
|
3971
3972
|
})] })
|
|
@@ -3975,35 +3976,35 @@ var Xs = Ms, Zs = Is, Qs = Bs, $s = Js, ec = ({ message: e, trigger: t, initialV
|
|
|
3975
3976
|
})
|
|
3976
3977
|
})
|
|
3977
3978
|
}, e);
|
|
3978
|
-
},
|
|
3979
|
+
}, yc = () => {
|
|
3979
3980
|
let e = null;
|
|
3980
3981
|
document.addEventListener("keydown", (t) => {
|
|
3981
3982
|
if (t.key !== "Tab") return;
|
|
3982
3983
|
let n = document.querySelectorAll("button, .sid-link, input, select, textarea, [tabindex]:not([tabindex=\"-1\"]");
|
|
3983
|
-
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (
|
|
3984
|
+
e = n[n.length - 1], e && !t.shiftKey && document.activeElement === e && (tt({
|
|
3984
3985
|
type: "focus",
|
|
3985
3986
|
focusOn: "firstElement"
|
|
3986
3987
|
}), t.preventDefault());
|
|
3987
3988
|
}), window.addEventListener("message", (t) => {
|
|
3988
3989
|
t.data.focusOn === "lastElement" && e && e.focus();
|
|
3989
|
-
}),
|
|
3990
|
+
}), tt({
|
|
3990
3991
|
type: "focus",
|
|
3991
3992
|
focusOn: "firstElement"
|
|
3992
3993
|
});
|
|
3993
|
-
},
|
|
3994
|
+
}, bc = () => {
|
|
3994
3995
|
window.addEventListener("message", (e) => {
|
|
3995
|
-
e.data.isInLightBox === "true" &&
|
|
3996
|
+
e.data.isInLightBox === "true" && yc();
|
|
3996
3997
|
});
|
|
3997
|
-
},
|
|
3998
|
+
}, xc = class extends P.Component {
|
|
3998
3999
|
verificationService;
|
|
3999
4000
|
constructor(e) {
|
|
4000
|
-
super(e),
|
|
4001
|
+
super(e), k.info("NewVerificationComponent: constructing"), this.props.trackingId && this.props.trackingId.length ? k.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`) : k.info("No trackingId to associate with the verification request");
|
|
4001
4002
|
}
|
|
4002
4003
|
componentDidMount() {
|
|
4003
|
-
p(),
|
|
4004
|
+
p(), bc(), de((e) => {
|
|
4004
4005
|
switch (e.data.action) {
|
|
4005
4006
|
case "setViewModel":
|
|
4006
|
-
|
|
4007
|
+
ft(e.data.viewModel, {
|
|
4007
4008
|
partial: !0,
|
|
4008
4009
|
metadataCheck: !0,
|
|
4009
4010
|
externalUserIdCheck: !0
|
|
@@ -4011,75 +4012,86 @@ var Xs = Ms, Zs = Is, Qs = Bs, $s = Js, ec = ({ message: e, trigger: t, initialV
|
|
|
4011
4012
|
break;
|
|
4012
4013
|
case "setOptions": y(e.data.options);
|
|
4013
4014
|
}
|
|
4014
|
-
}),
|
|
4015
|
+
}), k.info("NewVerificationComponent: fetchNewVerificationRequest");
|
|
4015
4016
|
let e = a(() => this.props.verificationService.verificationResponse.segment);
|
|
4016
4017
|
this.props.verificationService.fetchNewVerificationRequest(this.props.programId, e, this.props.verificationService.previousViewModel, this.props.trackingId);
|
|
4017
4018
|
}
|
|
4018
4019
|
render() {
|
|
4019
|
-
let { viewModel: e } = this.props.verificationService, t =
|
|
4020
|
-
return
|
|
4020
|
+
let { viewModel: e } = this.props.verificationService, t = ee(e), { programTheme: n } = this.props.verificationService, { verificationResponse: r } = this.props.verificationService;
|
|
4021
|
+
return k.info("NewVerificationComponent: verificationResponse, viewModel", r, e), k.info(`NewVerificationComponent: locale: ${t}, currentStep: ${r?.currentStep}`), /* @__PURE__ */ (0, I.jsx)(vc, {
|
|
4021
4022
|
locale: t,
|
|
4022
4023
|
programTheme: n,
|
|
4023
4024
|
verificationService: this.props.verificationService,
|
|
4024
4025
|
programId: this.props.programId
|
|
4025
4026
|
});
|
|
4026
4027
|
}
|
|
4027
|
-
},
|
|
4028
|
+
}, Sc = Ne((e, t) => ({ ...e }), (e, t) => ({
|
|
4028
4029
|
dispatch: e,
|
|
4029
|
-
fetchNewVerificationRequest:
|
|
4030
|
-
fetchExistingVerificationRequest:
|
|
4031
|
-
updateViewModel:
|
|
4032
|
-
updateLocale:
|
|
4033
|
-
updateProgramTheme:
|
|
4034
|
-
updateFieldValidationErrors:
|
|
4035
|
-
resetState:
|
|
4030
|
+
fetchNewVerificationRequest: pt(e),
|
|
4031
|
+
fetchExistingVerificationRequest: it(e),
|
|
4032
|
+
updateViewModel: st(e),
|
|
4033
|
+
updateLocale: vt(e, t.programId),
|
|
4034
|
+
updateProgramTheme: ot(e),
|
|
4035
|
+
updateFieldValidationErrors: ut(e),
|
|
4036
|
+
resetState: gt(e)
|
|
4036
4037
|
}), (e, t, n) => {
|
|
4037
4038
|
let { dispatch: r, ...i } = t, { programTheme: a } = e;
|
|
4038
4039
|
return {
|
|
4039
4040
|
verificationService: {
|
|
4040
4041
|
...e,
|
|
4041
4042
|
...i,
|
|
4042
|
-
submitStep:
|
|
4043
|
+
submitStep: at(r, a)
|
|
4043
4044
|
},
|
|
4044
4045
|
...n
|
|
4045
4046
|
};
|
|
4046
|
-
})(
|
|
4047
|
+
})(xc), Cc = (e) => ({
|
|
4047
4048
|
kind: "program",
|
|
4048
4049
|
key: e
|
|
4049
|
-
}),
|
|
4050
|
+
}), wc = ({ programId: e, children: t }) => /* @__PURE__ */ (0, I.jsx)(xt, {
|
|
4050
4051
|
clientSideID: "6530161f9ff41712a2eef741",
|
|
4051
|
-
context:
|
|
4052
|
-
flags:
|
|
4052
|
+
context: Cc(e),
|
|
4053
|
+
flags: Ct,
|
|
4053
4054
|
reactOptions: { useCamelCaseFlagKeys: !1 },
|
|
4054
4055
|
options: { streaming: !1 },
|
|
4055
4056
|
children: t
|
|
4056
|
-
}),
|
|
4057
|
-
|
|
4058
|
-
|
|
4057
|
+
}), Tc = ({ programId: e }) => {
|
|
4058
|
+
let t = wt("hc-my-sheer-id-theme-builder") === !0;
|
|
4059
|
+
return (0, P.useEffect)(() => {
|
|
4060
|
+
if (!t || !e) return;
|
|
4061
|
+
let n = !0;
|
|
4062
|
+
return he.fetchProgramBranding(e).then((e) => {
|
|
4063
|
+
n && Le(e);
|
|
4064
|
+
}).catch(() => void 0), () => {
|
|
4065
|
+
n = !1, Re();
|
|
4066
|
+
};
|
|
4067
|
+
}, [t, e]), null;
|
|
4068
|
+
}, Ec = ht();
|
|
4069
|
+
E(b.jslibVersionActual, a(() => Ue(), "?")), E(b.clientVersion, a(() => Ue(), "?"));
|
|
4070
|
+
var Dc = P.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
4059
4071
|
try {
|
|
4060
|
-
|
|
4072
|
+
rt();
|
|
4061
4073
|
} catch (e) {
|
|
4062
|
-
|
|
4074
|
+
k.warn("Failed to add predefined hooks", e);
|
|
4063
4075
|
}
|
|
4064
|
-
return (0,
|
|
4065
|
-
|
|
4066
|
-
}),
|
|
4076
|
+
return (0, P.useEffect)(() => {
|
|
4077
|
+
te();
|
|
4078
|
+
}), Ec.dispatch({
|
|
4067
4079
|
programId: e,
|
|
4068
4080
|
type: "PROGRAM_ID"
|
|
4069
4081
|
}), n && (n.current = {
|
|
4070
|
-
refresh:
|
|
4071
|
-
reset:
|
|
4072
|
-
}), /* @__PURE__ */ (0,
|
|
4073
|
-
store:
|
|
4074
|
-
children: /* @__PURE__ */ (0,
|
|
4082
|
+
refresh: P.useCallback(() => Ec.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
4083
|
+
reset: P.useCallback(() => Ec.dispatch({ type: "RESET_STATE" }), [])
|
|
4084
|
+
}), /* @__PURE__ */ (0, I.jsx)(qe, {
|
|
4085
|
+
store: Ec,
|
|
4086
|
+
children: /* @__PURE__ */ (0, I.jsxs)(wc, {
|
|
4075
4087
|
programId: e,
|
|
4076
|
-
children: /* @__PURE__ */ (0,
|
|
4088
|
+
children: [/* @__PURE__ */ (0, I.jsx)(Tc, { programId: e }), /* @__PURE__ */ (0, I.jsx)(Sc, {
|
|
4077
4089
|
programId: e,
|
|
4078
4090
|
trackingId: t
|
|
4079
|
-
})
|
|
4091
|
+
})]
|
|
4080
4092
|
})
|
|
4081
4093
|
});
|
|
4082
|
-
}),
|
|
4094
|
+
}), Oc = class e {
|
|
4083
4095
|
element;
|
|
4084
4096
|
programId;
|
|
4085
4097
|
trackingId;
|
|
@@ -4087,7 +4099,7 @@ var gc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4087
4099
|
ref;
|
|
4088
4100
|
constructor(t, n, r) {
|
|
4089
4101
|
if (!(this instanceof e)) throw Error("Method \"render\" not found. Did you use the \"new\" keyword when instantiating VerificationForm?");
|
|
4090
|
-
|
|
4102
|
+
k.info(`Constructing VerificationFormEs5 ${n}`), g(t), this.element = t, this.programId = n, this.trackingId = r, this.ref = P.createRef(), this.render();
|
|
4091
4103
|
}
|
|
4092
4104
|
refresh() {
|
|
4093
4105
|
this.ref.current.refresh();
|
|
@@ -4096,20 +4108,57 @@ var gc = F.forwardRef(({ programId: e, trackingId: t = void 0 }, n) => {
|
|
|
4096
4108
|
this.ref.current.reset();
|
|
4097
4109
|
}
|
|
4098
4110
|
render() {
|
|
4099
|
-
|
|
4111
|
+
Rt.render(/* @__PURE__ */ (0, I.jsx)(Dc, {
|
|
4100
4112
|
programId: this.programId,
|
|
4101
4113
|
trackingId: this.trackingId,
|
|
4102
4114
|
ref: this.ref
|
|
4103
4115
|
}), this.element);
|
|
4104
4116
|
}
|
|
4105
4117
|
unmount() {
|
|
4106
|
-
|
|
4118
|
+
Rt.unmountComponentAtNode(this.element);
|
|
4119
|
+
}
|
|
4120
|
+
}, kc = Ae({ formState: void 0 }), Ac = { collectStudentPersonalInfo: {
|
|
4121
|
+
firstName: "Jane",
|
|
4122
|
+
lastName: "Doe",
|
|
4123
|
+
email: "jane.doe@example.edu",
|
|
4124
|
+
phoneNumber: "555-555-0100",
|
|
4125
|
+
birthDate: "2000-05-15",
|
|
4126
|
+
organization: {
|
|
4127
|
+
id: 1,
|
|
4128
|
+
name: "Example University"
|
|
4107
4129
|
}
|
|
4130
|
+
} }, jc = () => {
|
|
4131
|
+
let e = Ye();
|
|
4132
|
+
return mt.forEach((t, n) => {
|
|
4133
|
+
e[t] = n;
|
|
4134
|
+
}), e.marketConsentValue = "marketConsentRequired", e;
|
|
4135
|
+
}, Mc = (e) => {
|
|
4136
|
+
let t = e ? Ac[e] : void 0;
|
|
4137
|
+
if (!t) return;
|
|
4138
|
+
let { formState: n } = kc.get();
|
|
4139
|
+
if (n === "filled") ft(t);
|
|
4140
|
+
else {
|
|
4141
|
+
let n = ct(e);
|
|
4142
|
+
ft(Object.fromEntries(Object.keys(t).map((e) => [e, n[e]])));
|
|
4143
|
+
}
|
|
4144
|
+
ut(ht().dispatch)(n === "errors" ? jc() : Ye());
|
|
4145
|
+
}, Nc = (e) => {
|
|
4146
|
+
let { isLoading: t, verificationResponse: n } = ht().getState();
|
|
4147
|
+
t ? nt.once("ON_VERIFICATION_READY", (t) => e(t?.currentStep)) : e(n?.currentStep);
|
|
4108
4148
|
};
|
|
4149
|
+
function Pc(e) {
|
|
4150
|
+
kc.set((t) => t.formState === e ? t : { formState: e }), Nc(Mc);
|
|
4151
|
+
}
|
|
4152
|
+
function Fc() {
|
|
4153
|
+
kc.get().formState !== void 0 && (kc.set({ formState: void 0 }), Nc(Mc));
|
|
4154
|
+
}
|
|
4155
|
+
function Ic() {
|
|
4156
|
+
kc.get().formState !== void 0 && Nc(Mc);
|
|
4157
|
+
}
|
|
4109
4158
|
//#endregion
|
|
4110
4159
|
//#region src/lib/state/previewMessages.ts
|
|
4111
|
-
function
|
|
4112
|
-
|
|
4160
|
+
function Lc(e, t) {
|
|
4161
|
+
Je.set((n) => ({
|
|
4113
4162
|
...n,
|
|
4114
4163
|
overrides: {
|
|
4115
4164
|
...n.overrides,
|
|
@@ -4123,12 +4172,12 @@ function vc(e, t) {
|
|
|
4123
4172
|
}
|
|
4124
4173
|
})), i({ [e]: t });
|
|
4125
4174
|
}
|
|
4126
|
-
function
|
|
4175
|
+
function Rc(e) {
|
|
4127
4176
|
e.forEach((e) => o.removeResourceBundle(e, c.OPTIONS)), i(T().messagesWithLocale);
|
|
4128
4177
|
}
|
|
4129
4178
|
//#endregion
|
|
4130
4179
|
//#region src/lib/state/previewResponse.ts
|
|
4131
|
-
var
|
|
4180
|
+
var zc = {
|
|
4132
4181
|
step: "mockStep",
|
|
4133
4182
|
previousStep: "mockPreviousStep",
|
|
4134
4183
|
segment: "mockSegment",
|
|
@@ -4142,14 +4191,14 @@ var bc = {
|
|
|
4142
4191
|
idCheckLoopServiceType: "mockIdCheckLoopServiceType",
|
|
4143
4192
|
docSelected: "mockDocSelected"
|
|
4144
4193
|
};
|
|
4145
|
-
async function
|
|
4194
|
+
async function Bc(e) {
|
|
4146
4195
|
let t = {};
|
|
4147
4196
|
Object.keys(e).forEach((n) => {
|
|
4148
|
-
let r =
|
|
4197
|
+
let r = zc[n];
|
|
4149
4198
|
r && (t[r] = e[n]);
|
|
4150
4199
|
}), y(t);
|
|
4151
|
-
let n = e.step ??
|
|
4152
|
-
|
|
4200
|
+
let n = e.step ?? Je.get().overrides.mock?.step, r = n ? await Qe(n, ht().getState().verificationResponse) : void 0;
|
|
4201
|
+
Je.set((t) => ({
|
|
4153
4202
|
...t,
|
|
4154
4203
|
overrides: {
|
|
4155
4204
|
...t.overrides,
|
|
@@ -4163,65 +4212,68 @@ async function xc(e) {
|
|
|
4163
4212
|
}
|
|
4164
4213
|
//#endregion
|
|
4165
4214
|
//#region src/lib/state/previewApi.ts
|
|
4166
|
-
function
|
|
4167
|
-
|
|
4215
|
+
function Vc(e) {
|
|
4216
|
+
je(e);
|
|
4168
4217
|
}
|
|
4169
|
-
function
|
|
4170
|
-
|
|
4218
|
+
function Hc(e) {
|
|
4219
|
+
Te(e);
|
|
4171
4220
|
}
|
|
4172
|
-
function
|
|
4173
|
-
|
|
4221
|
+
function Uc(e) {
|
|
4222
|
+
Ce({ response: e });
|
|
4174
4223
|
}
|
|
4175
|
-
function
|
|
4176
|
-
let t =
|
|
4177
|
-
return
|
|
4224
|
+
function Wc(e) {
|
|
4225
|
+
let t = ht(), { programId: n, verificationResponse: r } = t.getState();
|
|
4226
|
+
return vt(t.dispatch, n)(e, r?.segment);
|
|
4178
4227
|
}
|
|
4179
|
-
function
|
|
4180
|
-
let e = Object.keys(
|
|
4181
|
-
Se(),
|
|
4228
|
+
function Gc() {
|
|
4229
|
+
let e = Object.keys(Je.get().overrides.messages ?? {});
|
|
4230
|
+
we(), Se(), Ve(), Rc(e), Fc(), pe();
|
|
4182
4231
|
}
|
|
4183
4232
|
//#endregion
|
|
4184
4233
|
//#region src/lib/installScript/_mysheerid-preview.ts
|
|
4185
|
-
|
|
4186
|
-
function
|
|
4187
|
-
return new
|
|
4234
|
+
ae(oe.programBuilderPreview);
|
|
4235
|
+
function Kc(e, t) {
|
|
4236
|
+
return new Oc(e, t);
|
|
4188
4237
|
}
|
|
4189
|
-
function
|
|
4190
|
-
|
|
4238
|
+
function qc(e, t) {
|
|
4239
|
+
ue(), y({
|
|
4191
4240
|
mockStep: t.step,
|
|
4192
4241
|
mockSegment: "student"
|
|
4193
|
-
})
|
|
4242
|
+
});
|
|
4243
|
+
let n = new Oc(e, void 0);
|
|
4244
|
+
return Ic(), n;
|
|
4194
4245
|
}
|
|
4195
|
-
function
|
|
4196
|
-
|
|
4246
|
+
function Jc(e) {
|
|
4247
|
+
Nt(e);
|
|
4197
4248
|
}
|
|
4198
|
-
function
|
|
4199
|
-
|
|
4249
|
+
function Yc(e) {
|
|
4250
|
+
lt(), y(e);
|
|
4200
4251
|
}
|
|
4201
|
-
function
|
|
4252
|
+
function Xc() {
|
|
4202
4253
|
d();
|
|
4203
4254
|
}
|
|
4204
|
-
function
|
|
4255
|
+
function Zc(e) {
|
|
4205
4256
|
y({ _launchDarklyFlagCb: e });
|
|
4206
4257
|
}
|
|
4207
|
-
function
|
|
4258
|
+
function Qc(e, t, n) {
|
|
4208
4259
|
return x(e, t, n);
|
|
4209
4260
|
}
|
|
4210
|
-
var
|
|
4211
|
-
loadInElement:
|
|
4212
|
-
renderMockProgram:
|
|
4213
|
-
getProgramMessages:
|
|
4214
|
-
getFeatureFlags:
|
|
4215
|
-
setProgramThemeChoices:
|
|
4216
|
-
setProgramOptions:
|
|
4217
|
-
resetProgramOptions:
|
|
4218
|
-
setPreviewBranding:
|
|
4219
|
-
setPreviewConfiguration:
|
|
4220
|
-
setPreviewMessages:
|
|
4221
|
-
setPreviewResponse:
|
|
4222
|
-
setPreviewMock:
|
|
4223
|
-
setPreviewLocale:
|
|
4224
|
-
|
|
4261
|
+
var $c = {
|
|
4262
|
+
loadInElement: Kc,
|
|
4263
|
+
renderMockProgram: qc,
|
|
4264
|
+
getProgramMessages: Qc,
|
|
4265
|
+
getFeatureFlags: Zc,
|
|
4266
|
+
setProgramThemeChoices: Jc,
|
|
4267
|
+
setProgramOptions: Yc,
|
|
4268
|
+
resetProgramOptions: Xc,
|
|
4269
|
+
setPreviewBranding: Vc,
|
|
4270
|
+
setPreviewConfiguration: Hc,
|
|
4271
|
+
setPreviewMessages: Lc,
|
|
4272
|
+
setPreviewResponse: Uc,
|
|
4273
|
+
setPreviewMock: Bc,
|
|
4274
|
+
setPreviewLocale: Wc,
|
|
4275
|
+
setPreviewFormState: Pc,
|
|
4276
|
+
clearPreview: Gc
|
|
4225
4277
|
};
|
|
4226
4278
|
//#endregion
|
|
4227
|
-
export {
|
|
4279
|
+
export { Qt as A, Bn as C, z as D, B as E, Jt as M, Kt as N, dn as O, Bt as P, Kn as S, Ln as T, hr as _, Do as a, qn as b, po as c, Gc as clearPreview, to as d, $c as default, ro as f, kr as g, Zc as getFeatureFlags, Qc as getProgramMessages, Ra as h, Eo as i, Yt as j, on as k, so as l, Kc as loadInElement, eo as m, fc as n, ko as o, no as p, Fs as r, qc as renderMockProgram, Xc as resetProgramOptions, wo as s, Vc as setPreviewBranding, Hc as setPreviewConfiguration, Pc as setPreviewFormState, Wc as setPreviewLocale, Lc as setPreviewMessages, Bc as setPreviewMock, Uc as setPreviewResponse, Yc as setProgramOptions, Jc as setProgramThemeChoices, mc as t, ao as u, lr as v, Rn as w, V as x, tr as y };
|